add temporary dummy variables to support for window frame color

In 96 the old --lwt-accent-color is renamed to --lwt-frame so add some
compatibility rules for now.
This commit is contained in:
MrOtherGuy 2021-11-21 08:03:05 +02:00
parent d35ebf1943
commit d64e9e129e
10 changed files with 39 additions and 17 deletions

View file

@ -7,6 +7,9 @@ See the above repository for updates as well as full license text. */
* Does NOT support toolbar buttons/items in menubar when in disabled mode.
*/
/* Dummy variable to support versions 94-96, can be removed when 96 lands */
:root{ --lwt-frame: var(--lwt-accent-color) }
#toolbar-menubar{
--uc-menubaritem-height: 28px;
--uc-menubaritem-width: 40px;
@ -20,7 +23,7 @@ menubar:hover > menu,
display: block;
position: fixed;
z-index: 10;
background-color: var(--lwt-accent-color);
background-color: var(--lwt-frame);
inset-inline-start: 0;
}
menubar{ -moz-box-orient: vertical; }