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,9 @@ See the above repository for updates as well as full license text. */
/* Constant animation WILL increase CPU usage */
/* Dummy variable to support versions 94-96, can be removed when 96 lands */
:root{ --lwt-frame: var(--lwt-accent-color) }
/*
Thanks to /u/skenera on reddit for suggesting animating background position and using steps() function to reduce cpu load
*/
@@ -31,7 +34,7 @@ Thanks to /u/skenera on reddit for suggesting animating background position and
content: "";
display: -moz-box;
-moz-box-flex: 1 !important;
background-color: var(--lwt-accent-color);
background-color: var(--lwt-frame);
margin-bottom: 2px;
}
@@ -42,7 +45,7 @@ Thanks to /u/skenera on reddit for suggesting animating background position and
#tabbrowser-tabs .scrollbutton-up,
#tabbrowser-tabs .scrollbutton-down,
#tabbrowser-tabs ~ toolbarbutton{
background-color: var(--lwt-accent-color) !important;
background-color: var(--lwt-frame) !important;
margin-bottom: 2px !important;
opacity: 1 !important;
}