1
1
mirror of https://github.com/primer/css.git synced 2024-12-26 07:35:04 +03:00
css/scss/_states.scss

33 lines
710 B
SCSS
Raw Normal View History

2015-03-24 00:07:59 +03: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: bold;
line-height: 20px;
color: #fff;
text-align: center;
border-radius: 3px;
background-color: #999;
}
.state-open,
.state-proposed,
.state-reopened {
background-color: $status-open;
}
.state-merged { background-color: $status-merged; }
.state-closed { background-color: $status-closed; }
.state-renamed { background-color: $status-renamed; }