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

@@ -6,6 +6,10 @@ See the above repository for updates as well as full license text. */
/* By default, menubar will stay on top with two options to select it's behavior - see below */
@-moz-document url(chrome://browser/content/browser.xhtml){
/* Dummy variable to support versions 94-96, can be removed when 96 lands */
:root{ --lwt-frame: var(--lwt-accent-color) }
#titlebar{ -moz-appearance: none !important; }
@media (-moz-os-version: windows-win10){
@@ -56,7 +60,7 @@ See the above repository for updates as well as full license text. */
/* These three rules exist for compatibility with autohide_toolbox.css */
#navigator-toolbox{ bottom: 0px; transform-origin: bottom }
#main-window > body > box{ margin-top: 0 !important; }
#toolbar-menubar{ z-index: 1; background-color: var(--lwt-accent-color,black); }
#toolbar-menubar{ z-index: 1; background-color: var(--lwt-frame,black); }
/**************
Menubar options - By default, menubar is overlayed on top of web-content