cinny/src/app/atoms/chip/Chip.scss

31 lines
580 B
SCSS
Raw Normal View History

@use '../../partials/dir';
2021-09-20 18:02:15 +02:00
.chip {
2021-09-23 13:10:52 +02:00
padding: var(--sp-ultra-tight) var(--sp-extra-tight);
display: inline-flex;
2021-09-20 18:02:15 +02:00
flex-direction: row;
align-items: center;
2021-09-23 13:10:52 +02:00
background: var(--bg-surface-low);
2021-09-20 18:02:15 +02:00
border-radius: var(--bo-radius);
box-shadow: var(--bs-surface-border);
cursor: pointer;
@media (hover: hover) {
&:hover {
background-color: var(--bg-surface-hover);
}
}
& > .text {
flex: 1;
color: var(--tc-surface-high);
}
2021-09-20 18:02:15 +02:00
2021-09-23 13:10:52 +02:00
& > .ic-raw {
width: 16px;
height: 16px;
@include dir.side(margin, 0, var(--sp-ultra-tight));
2021-09-20 18:02:15 +02:00
}
}