mirror of
https://github.com/status-im/consul.git
synced 2025-01-22 03:29:43 +00:00
1507dd8ab3
* Create mock-api endpoints for auth-methods * Implement auth-method endpoints and model with tests * Create route and tab for auth-methods * Create auth-method list and type components with styles * Add JWT and OIDC svg logos to codebase * Add brand translations * Add SearchBar to Auth Methods * Add acceptance test for Auth Methods UI * Skip auth method repo test * Changes from review notes * Fixup auth-method modela and mock-data * Update SearhBar with rebased changes * Add filterBy source and sortBy max token ttl * Update to SortBy MethodName * Update UI acceptance tests * Update mock data DisplayNames * Skip repo test * Fix to breaking serializer test * Implement auth-method endpoints and model with tests * Add acceptance test for Auth Methods UI * Update SearhBar with rebased changes * Add filterBy source and sortBy max token ttl * Update to SortBy MethodName * Update UI acceptance tests * Update mock data DisplayNames * Fix to breaking serializer test * Update class for search * Add auth-methods link to sidebar * Fixup PR review notes * Fixup review notes * Only show OIDC filter with enterprise * Update conditionals for MaxTokenTTL & TokenLocality * Refactor
67 lines
1.7 KiB
SCSS
67 lines
1.7 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 .jwt button::before {
|
|
@extend %with-jwt-logo-icon, %as-pseudo;
|
|
}
|
|
%popover-select .oidc button::before {
|
|
@extend %with-oidc-logo-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;
|
|
}
|