mirror of https://github.com/status-im/consul.git
46 lines
919 B
SCSS
46 lines
919 B
SCSS
td strong {
|
|
@extend %pill;
|
|
margin-right: 3px;
|
|
}
|
|
// For the moment pills with classes are iconed ones
|
|
%pill:not([class]) {
|
|
@extend %frame-gray-900;
|
|
}
|
|
%pill[class] {
|
|
padding-left: 0;
|
|
margin-right: 16px;
|
|
}
|
|
%pill[class]::before {
|
|
@extend %as-pseudo;
|
|
margin-right: 3px;
|
|
}
|
|
%pill.policy::before {
|
|
@extend %with-file-fill-icon;
|
|
opacity: 0.3;
|
|
}
|
|
%pill.policy-management::before {
|
|
@extend %with-star-icon;
|
|
}
|
|
%pill.role::before {
|
|
@extend %with-user-plain-icon;
|
|
opacity: 0.3;
|
|
}
|
|
|
|
// TODO: These are related to the pill icons, but also to the tables
|
|
// All of this icon assigning stuff should probably go in the eventual
|
|
// refactored /components/icons.scss file
|
|
|
|
span.policy-management a::after {
|
|
@extend %with-star-icon, %as-pseudo;
|
|
margin-left: 3px;
|
|
}
|
|
|
|
span.policy-service-identity,
|
|
.consul-external-source,
|
|
.consul-kind {
|
|
@extend %reduced-pill;
|
|
}
|
|
span.policy-service-identity::before {
|
|
width: 0;
|
|
}
|