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

43 lines
823 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) */
@media (min-width: $screen-sm-min) {
padding: 0 $gl-btn-padding;
margin-top: 5px;
}
@include 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;
2016-06-02 11:05:42 +05:30
color: #fff;
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
2015-12-23 02:04:40 +05:30
&.status-box-closed {
2015-04-26 12:48:37 +05:30
background-color: $gl-danger;
2014-09-02 18:07:02 +05:30
}
2015-12-23 02:04:40 +05:30
&.status-box-merged {
2015-04-26 12:48:37 +05:30
background-color: $gl-primary;
2014-09-02 18:07:02 +05:30
}
2015-12-23 02:04:40 +05:30
&.status-box-open {
background-color: $green-light;
2014-09-02 18:07:02 +05:30
}
2015-12-23 02:04:40 +05:30
&.status-box-expired {
2015-04-26 12:48:37 +05:30
background: #cea61b;
2014-09-02 18:07:02 +05:30
}
}