42 lines
768 B
SCSS
42 lines
768 B
SCSS
.Item {
|
|
align-items: center;
|
|
border-radius: calc($unit / 2);
|
|
color: var(--text-secondary);
|
|
font-size: $font-regular;
|
|
line-height: 1.2;
|
|
min-width: 100px;
|
|
position: relative;
|
|
padding: $unit;
|
|
padding-left: $unit * 3.5;
|
|
|
|
&:hover {
|
|
background: var(--button-contained-bg-hover);
|
|
color: var(--text-primary);
|
|
cursor: pointer;
|
|
}
|
|
|
|
&[data-state='checked'] {
|
|
background: var(--button-contained-bg-hover);
|
|
|
|
svg {
|
|
fill: var(--text-secondary);
|
|
}
|
|
}
|
|
|
|
.Indicator {
|
|
$diameter: 20px;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: absolute;
|
|
left: calc($unit / 2);
|
|
height: $diameter;
|
|
width: $diameter;
|
|
|
|
svg {
|
|
height: $diameter;
|
|
width: $diameter;
|
|
}
|
|
}
|
|
}
|