This commit is contained in:
vinceliuice 2022-12-04 12:36:22 +08:00
parent 029a1206a1
commit e0332f2f0a
5 changed files with 66 additions and 22 deletions

View file

@ -186,25 +186,6 @@ $popop_menuitem_radius: $wm_radius - 4px;
&:rtl { text-align: left; }
}
// separator
.popup-separator-menu-item {
background: none;
border: none;
padding-top: 0 !important;
padding-bottom: 0 !important;
.popup-separator-menu-item-separator {
height: 1px; //not really the whole box
margin: 0;
background-color: $borders_color;
.popup-sub-menu & { //submenu separators
margin: 0 32px 0 0;
height: 1px;
}
}
}
// desktop background menu
.background-menu {
-boxpointer-gap: $base_margin;

View file

@ -1,8 +1,8 @@
/* Scrollbars */
StScrollView {
&.vfade { -st-vfade-offset: 32px; }
&.hfade { -st-hfade-offset: 32px; }
&.vfade { -st-vfade-offset: 68px; }
&.hfade { -st-hfade-offset: 68px; }
}
StScrollBar {

View file

@ -4,6 +4,25 @@
&:rtl { padding-right: 0; padding-left: 1.5em; }
}
// separator
.popup-separator-menu-item {
background: none;
border: none;
padding-top: 0 !important;
padding-bottom: 0 !important;
.popup-separator-menu-item-separator {
height: 1px; //not really the whole box
margin: 0;
background-color: $borders_color;
.popup-sub-menu & { //submenu separators
margin: 0 32px 0 0;
height: 1px;
}
}
}
// system status popover menu
.aggregate-menu {
.popup-sub-menu .popup-menu-item > :first-child {

View file

@ -4,6 +4,25 @@
&:rtl { padding-right: 0; padding-left: 1.5em; }
}
// separator
.popup-separator-menu-item {
background: none;
border: none;
padding-top: 0 !important;
padding-bottom: 0 !important;
.popup-separator-menu-item-separator {
height: 1px; //not really the whole box
margin: 0;
background-color: $borders_color;
.popup-sub-menu & { //submenu separators
margin: 0 32px 0 0;
height: 1px;
}
}
}
// system status popover menu
.aggregate-menu {
.popup-sub-menu .popup-menu-item > :first-child {

View file

@ -6,7 +6,32 @@
// separator
.popup-separator-menu-item {
margin: 6px 32px;
border: none !important;
&:ltr { margin-right: $base_padding; }
&:rtl { margin-left: $base_padding; }
.popup-separator-menu-item-separator {
height: 1px; //not really the whole box
background-color: $borders_color;
}
.popup-menu-ornament {
width: 0 !important;
}
// separators in submenus
.popup-sub-menu & {
background-color: transparent;
// account for ornament
&:ltr { margin-right: 2.5em; }
&:rtl { margin-left: 2.5em; }
.popup-separator-menu-item-separator {
background-color: $borders_color;
}
}
}
// system status popover menu