summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/issue_box.scss
blob: 8baf70da0c61b086c8aae578dfbee3e1e8aa40a0 (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
/**
 * Issue box for showing Open/Closed state:
 * Used for Issue#show page, MergeRequest#show page etc
 *
 */

.status-box {
  padding: 0 $gl-btn-padding;

  border-radius: $border-radius-default;
  display: block;
  float: left;
  margin-right: $gl-padding-8;
  color: $white;
  font-size: $gl-font-size;
  line-height: $gl-line-height-24;

  &.status-box-closed,
  &.status-box-mr-closed {
    background-color: $red-500;
  }

  &.status-box-issue-closed,
  &.status-box-alert-resolved,
  &.status-box-mr-merged {
    background-color: $blue-500;
  }

  &.status-box-open {
    background-color: $green-500;
  }

  &.status-box-expired {
    background-color: $orange-500;
  }

  &.status-box-upcoming {
    background: $gl-text-color-secondary;
  }
}