summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/status.scss
blob: 6f777d11641883d45b7a247bcd6ae8c7c9986e64 (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
.ci-status {
  padding: 2px 7px;
  margin-right: 5px;
  border: 1px solid #eee;
  white-space: nowrap;
  @include border-radius(4px);

  &:hover {
    text-decoration: none;
  }

  &.ci-failed {
    color: $gl-danger;
    border-color: $gl-danger;
  }

  &.ci-success {
    color: $gl-success;
    border-color: $gl-success;
  }

  &.ci-info {
    color: $gl-info;
    border-color: $gl-info;
  }

  &.ci-disabled {
    color: $gl-gray;
    border-color: $gl-gray;
  }

  &.ci-pending,
  &.ci-running {
    color: $gl-warning;
    border-color: $gl-warning;
  }
}

.ci-status-icon-success {
  @extend .cgreen;
}
.ci-status-icon-failed {
  @extend .cred;
}
.ci-status-icon-running,
.ci-status-icon-pending {
  // These are standard text color
}
.ci-status-icon-canceled,
.ci-status-icon-disabled,
.ci-status-icon-not-found,
.ci-status-icon-skipped {
  @extend .cgray;
}