consul/ui/packages/consul-ui/app/styles/components/popover-select.scss

61 lines
1.5 KiB
SCSS

.popover-select {
@extend %popover-select;
}
%popover-select label {
height: 100%;
}
%popover-select label > * {
@extend %button;
padding: 0 8px !important;
height: 100% !important;
justify-content: space-between !important;
min-width: auto !important;
}
%popover-select label > *::after {
margin-left: 6px;
}
%popover-select.type-sort label > * {
@extend %sort-button;
}
%popover-select button::before {
margin-right: 10px;
}
%popover-select .value-passing button::before {
@extend %with-check-circle-fill-mask, %as-pseudo;
color: $green-500;
}
%popover-select .value-warning button::before {
@extend %with-alert-triangle-mask, %as-pseudo;
color: $orange-500;
}
%popover-select .value-critical button::before {
@extend %with-cancel-square-fill-mask, %as-pseudo;
color: $red-500;
}
%popover-select .value-empty button::before {
@extend %with-minus-square-fill-mask, %as-pseudo;
color: $gray-400;
}
%popover-select.type-source li button {
text-transform: capitalize;
}
%popover-select.type-source li.aws button {
text-transform: uppercase;
}
%popover-select .aws button::before {
@extend %with-logo-aws-color-icon, %as-pseudo;
}
%popover-select .kubernetes button::before {
@extend %with-logo-kubernetes-color-icon, %as-pseudo;
}
%popover-select .consul button::before {
@extend %with-logo-consul-color-icon, %as-pseudo;
}
%popover-select .nomad button::before {
@extend %with-logo-nomad-color-icon, %as-pseudo;
}
%popover-select .terraform button::before {
@extend %with-logo-terraform-color-icon, %as-pseudo;
}