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

.issue-box {
  @include border-radius(3px);

  display: inline-block;
  padding: 10px $gl-padding;
  font-weight: normal;
  margin-right: 10px;
  font-size: $gl-font-size;

  &.issue-box-closed {
    background-color: $gl-danger;
    color: #FFF;
  }

  &.issue-box-merged {
    background-color: $gl-primary;
    color: #FFF;
  }

  &.issue-box-open {
    background-color: #019875;
    color: #FFF;
  }

  &.issue-box-expired {
    background: #cea61b;
    color: #FFF;
  }
}