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

49 lines
969 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) */
2018-04-09 11:26:28 -04:00
@include media-breakpoint-up(sm) {
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: $gl-line-height-24;
&.status-box-closed,
&.status-box-mr-closed {
background-color: $red-500;
}
&.status-box-issue-closed,
&.status-box-mr-merged {
background-color: $blue-500;
}
&.status-box-open {
background-color: $green-500;
}
&.status-box-expired {
background-color: $orange-500;
}
2016-11-15 12:48:30 -05:00
&.status-box-upcoming {
2016-12-30 15:18:27 -05:00
background: $gl-text-color-secondary;
2016-11-15 12:48:30 -05:00
}
}