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

33 lines
625 B
SCSS
Raw Normal View History

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;
margin-right: var(--sp-ultra-tight);
2021-09-23 13:10:52 +02:00
[dir=rtl] & {
margin-right: 0;
margin-left: var(--sp-ultra-tight);
2021-09-23 13:10:52 +02:00
}
2021-09-20 18:02:15 +02:00
}
}