2019-06-14 17:27:37 +00:00
|
|
|
@import '../base/components/pill/index';
|
2020-04-08 17:09:36 +00:00
|
|
|
td strong {
|
2018-08-29 11:11:58 +00:00
|
|
|
@extend %pill;
|
2019-05-01 18:09:29 +00:00
|
|
|
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.policy-service-identity::before {
|
|
|
|
@extend %with-service-identity-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
|
|
|
|
|
|
|
|
td.policy-service-identity a::after {
|
|
|
|
@extend %with-service-identity-icon, %as-pseudo;
|
|
|
|
margin-left: 3px;
|
|
|
|
}
|
|
|
|
td.policy-management a::after {
|
|
|
|
@extend %with-star-icon, %as-pseudo;
|
|
|
|
margin-left: 3px;
|
2018-08-29 11:11:58 +00:00
|
|
|
}
|
2020-05-05 16:29:51 +00:00
|
|
|
|
|
|
|
.consul-external-source,
|
|
|
|
.consul-kind {
|
|
|
|
@extend %reduced-pill;
|
|
|
|
}
|