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