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

54 lines
1 KiB
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 {
2015-09-25 12:07:36 +05:30
2016-06-02 11:05:42 +05:30
/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */
padding: 5px 11px;
margin-top: 4px;
/* Small devices (tablets, 768px and up) */
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(sm) {
2016-06-02 11:05:42 +05:30
padding: 0 $gl-btn-padding;
margin-top: 5px;
}
2016-11-03 12:29:30 +05:30
border-radius: 3px;
2015-12-23 02:04:40 +05:30
display: block;
float: left;
2015-09-25 12:07:36 +05:30
margin-right: 10px;
2017-08-17 22:00:37 +05:30
color: $white-light;
2015-09-25 12:07:36 +05:30
font-size: $gl-font-size;
2016-06-02 11:05:42 +05:30
line-height: 25px;
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,
&.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
}
2018-11-08 19:23:39 +05:30
&.status-box-milestone {
color: $gl-text-color;
background: $gray-darker;
}
2014-09-02 18:07:02 +05:30
}