debian-mirror-gitlab/app/assets/stylesheets/framework/issue_box.scss

37 lines
605 B
SCSS
Raw Normal View History

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 {
@include border-radius(3px);
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 {
background-color: $green-light;
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
}
}