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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
755 B
SCSS
Raw Normal View History

/**
* Issue box for showing Open/Closed state:
* Used for Issue#show page, MergeRequest#show page etc
*
*/
.status-box {
padding: 0 $gl-btn-padding;
border-radius: $border-radius-default;
display: block;
float: left;
margin-right: $gl-padding-8;
color: $white;
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-alert-resolved,
&.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
}
}