gitlab-org--gitlab-foss/app/assets/stylesheets/framework/issue_box.scss

47 lines
905 B
SCSS
Raw Normal View History

/**
* Issue box for showing Open/Closed state:
* Used for Issue#show page, MergeRequest#show page etc
*
*/
.status-box {
/* 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-09-09 12:59:36 -04:00
border-radius: 3px;
display: block;
float: left;
margin-right: 10px;
2016-11-30 08:25:25 -05:00
color: $white-light;
font-size: $gl-font-size;
line-height: 25px;
&.status-box-closed {
2015-03-06 22:02:12 -05:00
background-color: $gl-danger;
}
&.status-box-merged {
2015-03-06 22:02:12 -05:00
background-color: $gl-primary;
}
&.status-box-open {
2015-12-23 10:25:42 -05:00
background-color: $green-light;
}
&.status-box-expired {
2016-11-30 08:25:25 -05:00
background-color: $issue-status-expired;
}
2016-11-15 12:48:30 -05:00
&.status-box-upcoming {
2016-12-12 16:49:12 -05:00
background: $gl-gray-light;
2016-11-15 12:48:30 -05:00
}
}