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

36 lines
590 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-10-24 18:46:33 +05:30
@include border-radius(2px);
2015-09-25 12:07:36 +05:30
2015-04-26 12:48:37 +05:30
display: inline-block;
2015-09-25 12:07:36 +05:30
padding: 10px $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
&.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-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
}
&.issue-box-expired {
2015-04-26 12:48:37 +05:30
background: #cea61b;
color: #FFF;
2014-09-02 18:07:02 +05:30
}
}