style(context_menu): improve submenu bg on mobile

This commit is contained in:
Elian Doran 2025-11-29 17:35:37 +02:00
parent 8c1a04c4b2
commit a5b84406be
No known key found for this signature in database
2 changed files with 3 additions and 1 deletions

View File

@ -98,6 +98,7 @@
--menu-item-delimiter-color: #ffffff1c;
--menu-item-group-header-color: #ffffff91;
--menu-section-background-color: #fefefe08;
--menu-submenu-mobile-background-color: rgba(0, 0, 0, 0.15);
--modal-backdrop-color: #000;
--modal-shadow-color: rgba(0, 0, 0, .5);

View File

@ -62,6 +62,7 @@
--menu-padding-size: 8px;
--menu-item-icon-vert-offset: -2px;
--menu-submenu-mobile-background-color: rgba(255, 255, 255, 0.15);
--more-accented-background-color: var(--card-background-hover-color);
@ -376,7 +377,7 @@ body.mobile .dropdown-menu {
}
.dropdown-menu {
--menu-background-color: rgba(0, 0, 0, 0.15);
--menu-background-color: --menu-submenu-mobile-background-color;
border-radius: 0;
max-height: 0;
transition: max-height 100ms ease-in;