consul/ui/packages/consul-ui/app/components/pill/layout.scss

24 lines
373 B
SCSS

%pill {
display: inline-flex;
position: relative;
align-items: center;
white-space: nowrap;
}
%pill::before {
margin-right: 4px;
width: 0.75rem !important; /* 12px */
height: 0.75rem !important; /* 12px */
}
%pill-200 {
@extend %pill;
padding: 0 8px;
}
%pill-500 {
@extend %pill;
padding: 1px 5px;
}
%pill-700 {
@extend %pill;
padding: 4px 8px;
}