open-consul/ui-v2/app/styles/base/components/pill/layout.scss

41 lines
683 B
SCSS
Raw Normal View History

%pill {
display: inline-flex;
align-items: center;
padding: 1px 5px;
position: relative;
}
%pill button {
padding: 0;
width: 9px;
height: 9px;
margin-right: 4px;
font-size: 0;
}
%increased-pill {
@extend %pill;
padding: 5px 10px;
min-width: 87px;
}
%reduced-pill {
background-color: $gray-100;
padding: 0 8px;
border-radius: $decor-radius-100;
display: inline-block;
}
%reduced-pill > span {
font-size: 14px;
font-weight: normal;
position: relative;
color: $gray-500;
}
%reduced-pill::before {
width: 14px;
height: 14px;
margin-right: 2px;
margin-top: 1px;
position: relative;
}
%reduced-pill.leader::before {
margin-right: 4px;
}