BigW Consortium Gitlab

issue_box.scss 913 Bytes
Newer Older
1
/**
2
 * Issue box for showing Open/Closed state:
3 4 5 6
 * Used for Issue#show page, MergeRequest#show page etc
 *
 */

7
.status-box {
8

9 10 11 12 13
  /* Extra small devices (phones, less than 768px) */
  /* No media query since this is the default in Bootstrap */
  padding: 5px 11px;
  margin-top: 4px;
  /* Small devices (tablets, 768px and up) */
14 15 16 17
  @media (min-width: $screen-sm-min) {
    padding: 0 $gl-btn-padding;
    margin-top: 5px;
  }
18

Clement Ho committed
19
  border-radius: 3px;
20 21
  display: block;
  float: left;
22
  margin-right: 10px;
23
  color: $white-light;
24
  font-size: $gl-font-size;
25
  line-height: 25px;
26

27
  &.status-box-closed {
28
    background-color: $gl-danger;
Dmitriy Zaporozhets committed
29 30
  }

31
  &.status-box-merged {
32
    background-color: $gl-primary;
Dmitriy Zaporozhets committed
33 34
  }

35
  &.status-box-open {
36
    background-color: $green-500;
Dmitriy Zaporozhets committed
37 38
  }

39
  &.status-box-expired {
40
    background-color: $issue-status-expired;
Dmitriy Zaporozhets committed
41
  }
42 43

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