33 lines
728 B
SCSS
33 lines
728 B
SCSS
// 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; }
|