open-consul/ui-v2/app/styles/base/components/pill/layout.scss
Kenia 6a581de3cb
ui: Refactor composite rows to use description lists and add Tooltips (#8175)
* Update Consul Service List composite rows with Tooltips and description lists

* Update Consul Service Instance List composite rows with Tooltips and description lists

* Removed line height in reduced pill to match the description lists in the composite rows
2020-06-24 09:54:16 -04:00

32 lines
533 B
SCSS

%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;
}
%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;
position: relative;
}