summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/icons.scss
blob: 7332c4981d2ea65981efb7e62c00ac6fc5aef51d (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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
.ci-status-icon-success,
.ci-status-icon-passed {
  svg {
    fill: $green-500;
  }

  &.add-border {
    @include borderless-status-icon($green-500);
  }
}

.ci-status-icon-failed {
  svg {
    fill: $red-500;
  }

  &.add-border {
    @include borderless-status-icon($red-500);
  }
}

.ci-status-icon-pending,
.ci-status-icon-failed-with-warnings,
.ci-status-icon-success-with-warnings {
  svg {
    fill: $orange-500;
  }

  &.add-border {
    @include borderless-status-icon($orange-500);
  }
}

.ci-status-icon-preparing,
.ci-status-icon-running {
  svg {
    fill: $blue-400;
  }

  &.add-border {
    @include borderless-status-icon($blue-400);
  }
}

.ci-status-icon-canceled,
.ci-status-icon-disabled {
  svg {
    fill: $gl-text-color;
  }

  &.add-border {
    @include borderless-status-icon($gl-text-color);
  }
}

.ci-status-icon-created,
.ci-status-icon-skipped,
.ci-status-icon-notfound {
  svg {
    fill: $gray-darkest;
  }

  &.add-border {
    @include borderless-status-icon($gray-darkest);
  }
}

.ci-status-icon-scheduled,
.ci-status-icon-manual {
  svg {
    fill: $gl-text-color;
  }
}

.icon-link {
  &:hover {
    text-decoration: none;
  }
}

.user-avatar-link {
  text-decoration: none;
}

.circle-icon-container {
  $border-size: 1px;

  display: flex;
  align-items: center;
  justify-content: center;
  color: $gray-700;
}