icons.scss 1.42 KB
Newer Older
1 2
.ci-status-icon-success,
.ci-status-icon-passed {
3 4
  svg {
    fill: $green-500;
5
  }
6 7 8 9

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

.ci-status-icon-failed {
13
  svg {
14
    fill: $red-500;
15
  }
16 17 18 19

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

.ci-status-icon-pending,
23 24
.ci-status-icon-failed-with-warnings,
.ci-status-icon-success-with-warnings {
25 26
  svg {
    fill: $orange-500;
27
  }
28 29 30 31

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

34
.ci-status-icon-preparing,
35
.ci-status-icon-running {
36 37
  svg {
    fill: $blue-400;
38
  }
39 40 41 42

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

.ci-status-icon-canceled,
46
.ci-status-icon-disabled {
47 48
  svg {
    fill: $gl-text-color;
49
  }
50 51 52 53

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

56
.ci-status-icon-created,
57 58
.ci-status-icon-skipped,
.ci-status-icon-notfound {
59 60
  svg {
    fill: $gray-darkest;
61
  }
62 63 64 65

  &.add-border {
    @include borderless-status-icon($gray-darkest);
  }
66
}
Filipa Lacerda's avatar
Filipa Lacerda committed
67

68
.ci-status-icon-scheduled,
Filipa Lacerda's avatar
Filipa Lacerda committed
69
.ci-status-icon-manual {
70 71
  svg {
    fill: $gl-text-color;
72
  }
Filipa Lacerda's avatar
Filipa Lacerda committed
73
}
74 75 76 77 78 79

.icon-link {
  &:hover {
    text-decoration: none;
  }
}
80 81 82 83

.user-avatar-link {
  text-decoration: none;
}
84 85 86 87 88 89 90

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

  display: flex;
  align-items: center;
  justify-content: center;
91
  border: $border-size solid $gray-400;
92 93
  border-radius: 50%;
  padding: $gl-padding-8 - $border-size;
94
  color: $gray-700;
95
}