2013-12-24 04:45:28 -05:00
|
|
|
/**
|
2014-12-18 10:22:10 -05:00
|
|
|
* Issue box for showing Open/Closed state:
|
2013-12-24 04:45:28 -05:00
|
|
|
* Used for Issue#show page, MergeRequest#show page etc
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2015-12-16 10:13:22 -05:00
|
|
|
.status-box {
|
2021-05-04 11:10:36 -04:00
|
|
|
padding: 0 $gl-btn-padding;
|
2016-03-04 08:53:02 -05:00
|
|
|
|
2019-06-10 07:58:54 -04:00
|
|
|
border-radius: $border-radius-default;
|
2015-12-02 08:46:55 -05:00
|
|
|
display: block;
|
|
|
|
float: left;
|
2019-06-10 07:58:54 -04:00
|
|
|
margin-right: $gl-padding-8;
|
2020-03-30 20:08:09 -04:00
|
|
|
color: $white;
|
2015-09-07 16:04:23 -04:00
|
|
|
font-size: $gl-font-size;
|
2018-11-20 18:36:14 -05:00
|
|
|
line-height: $gl-line-height-24;
|
2013-12-24 04:45:28 -05:00
|
|
|
|
2018-01-17 09:09:59 -05:00
|
|
|
&.status-box-closed,
|
2017-12-12 22:44:59 -05:00
|
|
|
&.status-box-mr-closed {
|
2018-08-21 13:52:31 -04:00
|
|
|
background-color: $red-500;
|
2014-02-27 14:04:44 -05:00
|
|
|
}
|
|
|
|
|
2018-01-17 09:09:59 -05:00
|
|
|
&.status-box-issue-closed,
|
2020-07-07 08:09:16 -04:00
|
|
|
&.status-box-alert-resolved,
|
2018-01-17 09:09:59 -05:00
|
|
|
&.status-box-mr-merged {
|
2018-08-21 13:52:31 -04:00
|
|
|
background-color: $blue-500;
|
2014-02-27 14:04:44 -05:00
|
|
|
}
|
|
|
|
|
2015-12-16 10:13:22 -05:00
|
|
|
&.status-box-open {
|
2017-03-23 12:04:25 -04:00
|
|
|
background-color: $green-500;
|
2014-02-27 14:04:44 -05:00
|
|
|
}
|
|
|
|
|
2015-12-16 10:13:22 -05:00
|
|
|
&.status-box-expired {
|
2018-08-16 15:31:53 -04:00
|
|
|
background-color: $orange-500;
|
2014-02-20 06:51:22 -05:00
|
|
|
}
|
2016-11-15 12:48:30 -05:00
|
|
|
|
|
|
|
&.status-box-upcoming {
|
2016-12-30 15:18:27 -05:00
|
|
|
background: $gl-text-color-secondary;
|
2016-11-15 12:48:30 -05:00
|
|
|
}
|
2013-12-24 04:45:28 -05:00
|
|
|
}
|