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

41 lines
755 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 {
2021-06-08 01:23:25 +05:30
padding: 0 $gl-btn-padding;
2016-06-02 11:05:42 +05:30
2019-09-04 21:01:54 +05:30
border-radius: $border-radius-default;
2015-12-23 02:04:40 +05:30
display: block;
float: left;
2019-09-04 21:01:54 +05:30
margin-right: $gl-padding-8;
2020-04-22 19:07:51 +05:30
color: $white;
2015-09-25 12:07:36 +05:30
font-size: $gl-font-size;
2019-02-15 15:39:39 +05:30
line-height: $gl-line-height-24;
2014-09-02 18:07:02 +05:30
2018-03-17 18:26:18 +05:30
&.status-box-closed,
&.status-box-mr-closed {
2018-11-20 20:47:30 +05:30
background-color: $red-500;
2014-09-02 18:07:02 +05:30
}
2018-03-17 18:26:18 +05:30
&.status-box-issue-closed,
2020-07-28 23:09:34 +05:30
&.status-box-alert-resolved,
2018-03-17 18:26:18 +05:30
&.status-box-mr-merged {
2018-11-20 20:47:30 +05:30
background-color: $blue-500;
2014-09-02 18:07:02 +05:30
}
2015-12-23 02:04:40 +05:30
&.status-box-open {
2017-08-17 22:00:37 +05:30
background-color: $green-500;
2014-09-02 18:07:02 +05:30
}
2015-12-23 02:04:40 +05:30
&.status-box-expired {
2018-11-20 20:47:30 +05:30
background-color: $orange-500;
2017-08-17 22:00:37 +05:30
}
&.status-box-upcoming {
background: $gl-text-color-secondary;
2014-09-02 18:07:02 +05:30
}
}