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 {
|
2016-04-01 06:55:26 -04:00
|
|
|
|
2016-03-04 08:53:02 -05:00
|
|
|
/* 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) */
|
2016-02-29 17:14:38 -05:00
|
|
|
@media (min-width: $screen-sm-min) {
|
|
|
|
padding: 0 $gl-btn-padding;
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
2016-03-04 08:53:02 -05:00
|
|
|
|
2015-12-23 09:46:13 -05:00
|
|
|
@include border-radius(3px);
|
2015-12-02 08:46:55 -05:00
|
|
|
display: block;
|
|
|
|
float: left;
|
2015-09-07 16:04:23 -04:00
|
|
|
margin-right: 10px;
|
2016-03-15 15:56:28 -04:00
|
|
|
color: #fff;
|
2015-09-07 16:04:23 -04:00
|
|
|
font-size: $gl-font-size;
|
2016-02-22 07:52:34 -05:00
|
|
|
line-height: 25px;
|
2013-12-24 04:45:28 -05:00
|
|
|
|
2015-12-16 10:13:22 -05:00
|
|
|
&.status-box-closed {
|
2015-03-06 22:02:12 -05:00
|
|
|
background-color: $gl-danger;
|
2014-02-27 14:04:44 -05:00
|
|
|
}
|
|
|
|
|
2015-12-16 10:13:22 -05:00
|
|
|
&.status-box-merged {
|
2015-03-06 22:02:12 -05:00
|
|
|
background-color: $gl-primary;
|
2014-02-27 14:04:44 -05:00
|
|
|
}
|
|
|
|
|
2015-12-16 10:13:22 -05:00
|
|
|
&.status-box-open {
|
2015-12-23 10:25:42 -05:00
|
|
|
background-color: $green-light;
|
2014-02-27 14:04:44 -05:00
|
|
|
}
|
|
|
|
|
2015-12-16 10:13:22 -05:00
|
|
|
&.status-box-expired {
|
2014-12-18 10:22:10 -05:00
|
|
|
background: #cea61b;
|
2014-02-20 06:51:22 -05:00
|
|
|
}
|
2013-12-24 04:45:28 -05:00
|
|
|
}
|