52 lines
936 B
SCSS
52 lines
936 B
SCSS
@import "../common/PredefinedMixins.scss";
|
|
@import "./partial.scss";
|
|
@import "./Variables.scss";
|
|
|
|
.chips {
|
|
@include partial-row-center;
|
|
margin: 10px;
|
|
overflow: hidden;
|
|
border-radius: 12px;
|
|
font-family: Roboto;
|
|
color: $chips_fg;
|
|
|
|
&.outlined {
|
|
border: $chips_border;
|
|
}
|
|
|
|
.content {
|
|
@include partial-row-center;
|
|
height: 24px;
|
|
width: 100%;
|
|
font-size: 12px;
|
|
font-weight: 300;
|
|
line-height: 16px;
|
|
padding: 4px 12px;
|
|
background-color: transparent;
|
|
box-sizing: border-box;
|
|
|
|
.text {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: block;
|
|
}
|
|
|
|
.icon {
|
|
@include partial-row-center;
|
|
|
|
svg {
|
|
width: 12px;
|
|
height: 12px;
|
|
margin-right: 8px;
|
|
shape-rendering: geometricprecision;
|
|
|
|
path {
|
|
fill: $chips_icon;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |