36 lines
561 B
SCSS
36 lines
561 B
SCSS
.Segment {
|
|
color: $grey-50;
|
|
cursor: pointer;
|
|
font-size: 1.4rem;
|
|
font-weight: $normal;
|
|
min-width: 100px;
|
|
|
|
&:hover label {
|
|
background: $grey-90;
|
|
color: $grey-40;
|
|
}
|
|
|
|
& input {
|
|
display: none;
|
|
|
|
&:checked + label {
|
|
background: $grey-90;
|
|
color: $grey-00;
|
|
}
|
|
}
|
|
|
|
& label {
|
|
border-radius: $unit * 3;
|
|
display: block;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
padding: 8px 12px;
|
|
text-overflow: ellipsis;
|
|
cursor: pointer;
|
|
|
|
&:before {
|
|
background: #fff;
|
|
}
|
|
}
|
|
}
|