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

49 lines
997 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 {
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;
}
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;
2017-08-17 22:00:37 +05:30
color: $white-light;
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,
&.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
}
}