BigW Consortium Gitlab

status.scss 1.19 KB
Newer Older
1 2 3 4 5
.ci-status {
  padding: 2px 7px 4px;
  border: 1px solid $gray-darker;
  white-space: nowrap;
  border-radius: 4px;
6

7 8 9 10
  &:hover,
  &:focus {
    text-decoration: none;
  }
11

12 13 14 15 16 17 18
  svg {
    height: 13px;
    width: 13px;
    position: relative;
    top: 2px;
    overflow: visible;
  }
19

20
  &.ci-failed {
21
    @include status-color($red-100, $red-500, $red-600);
22
  }
23

24
  &.ci-success {
25
    @include green-status-color;
26
  }
27

28 29 30 31 32
  &.ci-canceled,
  &.ci-disabled,
  &.ci-manual {
    color: $gl-text-color;
    border-color: $gl-text-color;
33

34 35
    &:not(span):hover {
      background-color: rgba($gl-text-color, .07);
36
    }
37
  }
38

39 40 41
  &.ci-pending,
  &.ci-failed_with_warnings,
  &.ci-success_with_warnings {
42
    @include status-color($orange-100, $orange-500, $orange-700);
43
  }
44

45 46
  &.ci-info,
  &.ci-running {
47
    @include status-color($blue-100, $blue-500, $blue-600);
48
  }
49

50 51 52 53
  &.ci-created,
  &.ci-skipped {
    color: $gl-text-color-secondary;
    border-color: $gl-text-color-secondary;
54

55 56
    &:not(span):hover {
      background-color: rgba($gl-text-color-secondary, .07);
57
    }
58
  }
59
}
60 61 62 63 64 65 66 67

.visible-xs-inline {
  .ci-status-link {
    position: relative;
    top: 2px;
    left: 5px;
  }
}
68 69 70 71 72 73

.ci-status-link {
  svg {
    overflow: visible;
  }
}