consul/ui/packages/consul-ui/app/components/menu-panel/skin.scss

37 lines
871 B
SCSS
Raw Normal View History

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
%menu-panel-button-selected::after {
@extend %with-check-plain-mask, %as-pseudo;
}
%menu-panel-header {
@extend %body-100-regular;
}
%menu-panel-header + ul {
border-top: var(--decor-border-100);
border-color: var(--token-form--base-border-color-default);
}
/* if the first item is a separator and it */
/* contains text don't add a line */
%menu-panel-separator:first-child:not(:empty) {
border: none;
}
%menu-panel-separator {
@extend %body-100-medium;
text-transform: uppercase;
color: var(--token-color-foreground-faint);
}
%menu-panel-item {
list-style-type: none;
}
%menu-panel-badge {
@extend %pill;
color: var(--token-color-surface-primary);
background-color: var(--token-color-foreground-faint);
}
%menu-panel-body .informed-action {
border: 0 !important;
}