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

33 lines
525 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
*
*/
.issue-box {
2015-04-26 12:48:37 +05:30
display: inline-block;
padding: 7px 13px;
font-weight: normal;
margin-right: 5px;
2014-09-02 18:07:02 +05:30
&.issue-box-closed {
2015-04-26 12:48:37 +05:30
background-color: $gl-danger;
color: #FFF;
2014-09-02 18:07:02 +05:30
}
&.issue-box-merged {
2015-04-26 12:48:37 +05:30
background-color: $gl-primary;
color: #FFF;
2014-09-02 18:07:02 +05:30
}
&.issue-box-open {
2015-04-26 12:48:37 +05:30
background-color: $gl-success;
color: #FFF;
2014-09-02 18:07:02 +05:30
}
&.issue-box-expired {
2015-04-26 12:48:37 +05:30
background: #cea61b;
color: #FFF;
2014-09-02 18:07:02 +05:30
}
}