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

47 lines
913 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;
}
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
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 {
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 {
2017-08-17 22:00:37 +05:30
background-color: $issue-status-expired;
}
&.status-box-upcoming {
background: $gl-text-color-secondary;
2014-09-02 18:07:02 +05:30
}
}