2014-09-02 18:07:02 +05:30
|
|
|
/**
|
2015-04-26 12:48:37 +05:30
|
|
|
* Issue box for showing Open/Closed state:
|
2014-09-02 18:07:02 +05:30
|
|
|
* Used for Issue#show page, MergeRequest#show page etc
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2015-12-23 02:04:40 +05:30
|
|
|
.status-box {
|
2015-10-24 18:46:33 +05:30
|
|
|
@include border-radius(2px);
|
2015-09-25 12:07:36 +05:30
|
|
|
|
2015-12-23 02:04:40 +05:30
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
padding: 0 $gl-padding;
|
2015-04-26 12:48:37 +05:30
|
|
|
font-weight: normal;
|
2015-09-25 12:07:36 +05:30
|
|
|
margin-right: 10px;
|
|
|
|
font-size: $gl-font-size;
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2015-12-23 02:04:40 +05:30
|
|
|
&.status-box-closed {
|
2015-04-26 12:48:37 +05:30
|
|
|
background-color: $gl-danger;
|
|
|
|
color: #FFF;
|
2014-09-02 18:07:02 +05:30
|
|
|
}
|
|
|
|
|
2015-12-23 02:04:40 +05:30
|
|
|
&.status-box-merged {
|
2015-04-26 12:48:37 +05:30
|
|
|
background-color: $gl-primary;
|
|
|
|
color: #FFF;
|
2014-09-02 18:07:02 +05:30
|
|
|
}
|
|
|
|
|
2015-12-23 02:04:40 +05:30
|
|
|
&.status-box-open {
|
2015-09-25 12:07:36 +05:30
|
|
|
background-color: #019875;
|
2015-04-26 12:48:37 +05:30
|
|
|
color: #FFF;
|
2014-09-02 18:07:02 +05:30
|
|
|
}
|
|
|
|
|
2015-12-23 02:04:40 +05:30
|
|
|
&.status-box-expired {
|
2015-04-26 12:48:37 +05:30
|
|
|
background: #cea61b;
|
|
|
|
color: #FFF;
|
2014-09-02 18:07:02 +05:30
|
|
|
}
|
|
|
|
}
|