2019-11-25 17:43:25 +00:00
|
|
|
@import './skin';
|
|
|
|
@import './layout';
|
2022-02-21 12:22:59 +00:00
|
|
|
@import './deprecated';
|
2019-11-25 17:43:25 +00:00
|
|
|
|
2021-06-23 08:19:35 +00:00
|
|
|
.menu-panel {
|
|
|
|
@extend %menu-panel;
|
|
|
|
}
|
2022-02-21 12:22:59 +00:00
|
|
|
.menu-panel-deprecated {
|
|
|
|
@extend %menu-panel-deprecated;
|
|
|
|
}
|
|
|
|
%menu-panel {
|
|
|
|
@extend %panel;
|
|
|
|
}
|
2020-01-22 12:08:29 +00:00
|
|
|
%menu-panel [role='separator'] {
|
2022-02-21 12:22:59 +00:00
|
|
|
@extend %panel-separator;
|
2020-01-22 12:08:29 +00:00
|
|
|
@extend %menu-panel-separator;
|
|
|
|
}
|
|
|
|
%menu-panel > div {
|
|
|
|
@extend %menu-panel-header;
|
|
|
|
}
|
2022-02-21 12:22:59 +00:00
|
|
|
%menu-panel > ul {
|
|
|
|
@extend %menu-panel-body;
|
|
|
|
}
|
|
|
|
%menu-panel-body > li {
|
|
|
|
@extend %menu-panel-item;
|
|
|
|
}
|
|
|
|
%menu-panel-body > [role='treeitem'],
|
|
|
|
%menu-panel-body > li > [role='menuitem'],
|
|
|
|
%menu-panel-body > li > [role='option'] {
|
|
|
|
@extend %menu-panel-button;
|
|
|
|
}
|
|
|
|
%menu-panel-button + * {
|
|
|
|
@extend %menu-panel-confirmation;
|
|
|
|
}
|
|
|
|
%menu-panel-item[aria-selected] > *,
|
|
|
|
%menu-panel-item[aria-checked] > *,
|
|
|
|
%menu-panel-item[aria-current] > *,
|
|
|
|
%menu-panel-item.is-active > * {
|
|
|
|
@extend %menu-panel-button-selected;
|
|
|
|
}
|
|
|
|
%menu-panel-button {
|
2019-11-25 17:43:25 +00:00
|
|
|
@extend %internal-button;
|
|
|
|
}
|
2022-02-21 12:22:59 +00:00
|
|
|
/* first-child is highly likely to be the button/or anchor*/
|
|
|
|
%menu-panel-item.dangerous > *:first-child {
|
2019-11-25 17:43:25 +00:00
|
|
|
@extend %internal-button-dangerous;
|
|
|
|
}
|