36 lines
751 B
CSS
36 lines
751 B
CSS
.chip {
|
|||
|
|
display: inline-flex;
|
||
|
|
align-items: center;
|
||
|
|
min-height: 36px;
|
||
|
|
padding: 0 14px;
|
||
|
|
border-radius: var(--radius-pill);
|
||
|
|
background: var(--color-accent-2-200);
|
||
|
|
color: var(--color-accent-2-900);
|
||
|
|
font-family: var(--font-body);
|
||
|
|
font-size: 14px;
|
||
|
|
font-weight: 700;
|
||
|
|
white-space: nowrap;
|
||
|
|
}
|
||
|
|
|
||
|
|
.removable {
|
||
|
|
padding-right: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 44 px hit box around a small cross; negative margins keep the chip 36 px
|
||
|
|
tall and the cross close to the label. */
|
||
|
|
.remove {
|
||
|
|
display: inline-flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
flex: none;
|
||
|
|
width: 44px;
|
||
|
|
height: 44px;
|
||
|
|
margin: -4px 0 -4px -14px;
|
||
|
|
padding: 0;
|
||
|
|
border: 0;
|
||
|
|
border-radius: var(--radius-pill);
|
||
|
|
background: transparent;
|
||
|
|
color: inherit;
|
||
|
|
cursor: pointer;
|
||
|
|
}
|