Welcome to mirror list, hosted at ThFree Co, Russian Federation.

todos.scss « page_bundles « stylesheets « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3eacf98688ea7456ad8d3751bf1841e0a45734a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
@import 'mixins_and_variables_and_functions';

/**
 * Dashboard Todos
 *
 */

.todos-list > .todo {
  // workaround because we cannot use border-collapse
  border-top: 1px solid transparent;

  // overwrite border style of .content-list
  &:last-child {
    border-bottom: 1px solid transparent;

    &:hover {
      border-color: var(--blue-200, $blue-200);
    }
  }

  &.todo-pending.done-reversible {
    &:hover {
      border-top: 1px solid transparent;

      .todo-avatar,
      .todo-item {
        opacity: 0.6;
      }
    }

    .todo-avatar,
    .todo-item {
      opacity: 0.2;
    }
  }
}

.todo-item {
  @include transition(opacity);

  .todo-label,
  .todo-project {
    a {
      color: var(--blue-600, $blue-600);
    }
  }

  .todo-body {
    p {
      color: var(--gl-text-color, $gl-text-color);
    }

    .gl-label-scoped {
      --label-inset-border: inset 0 0 0 1px currentColor;
    }

    @include media-breakpoint-down(sm) {
      border-left: 2px solid var(--border-color, $border-color);
      padding-left: 10px;
    }
  }
}