open-bounty/resources/scss/primer-css/primer-states/lib/states.scss

33 lines
728 B
SCSS
Raw Normal View History

2016-09-19 20:27:24 +00:00
// A rounded corner box containing a label "open" or "closed"
// Without a state it is grey.
//
// open - $green background
// reopened - $green background
// closed - $red background
// merged - $purple background
// renamed - $orange background
//
// No styleguide reference
.state {
display: inline-block;
padding: 4px 8px;
font-weight: $font-weight-bold;
line-height: 20px;
color: $text-white;
text-align: center;
background-color: $gray-light;
border-radius: 3px;
}
.state-open,
.state-proposed,
.state-reopened {
background-color: $bg-green;
}
.state-merged { background-color: $bg-purple; }
.state-closed { background-color: $bg-red; }
.state-renamed { background-color: $status-renamed; }