replace --lwt-toolbar-field-border-color with --toolbar-field-border-color

This commit is contained in:
MrOtherGuy 2021-08-26 09:24:21 +03:00
parent 568c1cd86b
commit cea26c1564
7 changed files with 9 additions and 9 deletions

View file

@ -34,11 +34,11 @@ See the above repository for updates as well as full license text. */
.findbar-button, .findbar-button,
#navigator-toolbox > toolbar .chromeclass-toolbar-additional > .toolbarbutton-1 > .toolbarbutton-icon, #navigator-toolbox > toolbar .chromeclass-toolbar-additional > .toolbarbutton-1 > .toolbarbutton-icon,
#navigator-toolbox > toolbar .chromeclass-toolbar-additional > .toolbarbutton-icon{ #navigator-toolbox > toolbar .chromeclass-toolbar-additional > .toolbarbutton-icon{
border: 1px solid var(--lwt-toolbar-field-border-color, hsla(240,5%,5%,.55)); border: 1px solid var(--toolbar-field-border-color, hsla(240,5%,5%,.55));
} }
/* stacks use box-shadow as a border to prevent size from changing */ /* stacks use box-shadow as a border to prevent size from changing */
#navigator-toolbox > toolbar .chromeclass-toolbar-additional > stack{ box-shadow: inset 0 0 0 1px var(--lwt-toolbar-field-border-color, hsla(240,5%,5%,.55)) } #navigator-toolbox > toolbar .chromeclass-toolbar-additional > stack{ box-shadow: inset 0 0 0 1px var(--toolbar-field-border-color, hsla(240,5%,5%,.55)) }
/* modify paddings within buttons */ /* modify paddings within buttons */
#back-button > .toolbarbutton-icon, #back-button > .toolbarbutton-icon,
@ -56,7 +56,7 @@ See the above repository for updates as well as full license text. */
#back-button > .toolbarbutton-icon{ #back-button > .toolbarbutton-icon{
border-radius: var(--toolbarbutton-border-radius) !important; border-radius: var(--toolbarbutton-border-radius) !important;
border: 1px solid var(--lwt-toolbar-field-border-color, hsla(240,5%,5%,.25)) !important; border: 1px solid var(--toolbar-field-border-color, hsla(240,5%,5%,.25)) !important;
} }
/* Buttons in bookmarks toolbar also require some extra styling rules */ /* Buttons in bookmarks toolbar also require some extra styling rules */

View file

@ -20,7 +20,7 @@ See the above repository for updates as well as full license text. */
/* urlbar */ /* urlbar */
--lwt-toolbar-field-background-color: olive !important; --lwt-toolbar-field-background-color: olive !important;
--lwt-toolbar-field-focus: grey !important; --lwt-toolbar-field-focus: grey !important;
--lwt-toolbar-field-border-color: green !important; --toolbar-field-border-color: green !important;
--toolbar-field-focus-border-color: pink !important; --toolbar-field-focus-border-color: pink !important;
--lwt-toolbar-field-color: red !important; --lwt-toolbar-field-color: red !important;
--lwt-toolbar-field-focus-color: white !important; --lwt-toolbar-field-focus-color: white !important;

View file

@ -9,7 +9,7 @@ See the above repository for updates as well as full license text. */
display: -moz-box !important; display: -moz-box !important;
position: relative !important; position: relative !important;
background-color: var(--lwt-toolbar-field-background-color, hsla(0,0%,100%,.8)); background-color: var(--lwt-toolbar-field-background-color, hsla(0,0%,100%,.8));
border: 1px solid var(--lwt-toolbar-field-border-color, hsla(240,5%,5%,.25)); border: 1px solid var(--toolbar-field-border-color, hsla(240,5%,5%,.25));
top: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important; top: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important;
bottom: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important; bottom: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important;
margin-inline-start: 0px !important; margin-inline-start: 0px !important;

View file

@ -3,7 +3,7 @@ See the above repository for updates as well as full license text. */
:root:not([customizing]){ :root:not([customizing]){
--lwt-toolbar-field-background-color: transparent !important; --lwt-toolbar-field-background-color: transparent !important;
--lwt-toolbar-field-border-color: transparent !important; --toolbar-field-border-color: transparent !important;
} }
#urlbar[open]{ background-color: var(--toolbar-bgcolor) !important; } #urlbar[open]{ background-color: var(--toolbar-bgcolor) !important; }

View file

@ -13,7 +13,7 @@ See the above repository for updates as well as full license text. */
#urlbar, #urlbar,
#nav-bar-customization-target > .chromeclass-toolbar-additional[overflows="false"]:not(#downloads-button){ #nav-bar-customization-target > .chromeclass-toolbar-additional[overflows="false"]:not(#downloads-button){
border-color: var(--lwt-toolbar-field-border-color, hsla(240,5%,5%,.25)); border-color: var(--toolbar-field-border-color, hsla(240,5%,5%,.25));
} }
#nav-bar-customization-target > .chromeclass-toolbar-additional[overflows="false"]:not(#downloads-button){ #nav-bar-customization-target > .chromeclass-toolbar-additional[overflows="false"]:not(#downloads-button){

View file

@ -9,7 +9,7 @@ See the above repository for updates as well as full license text. */
/* Override some default variables - stylesheet compatibility */ /* Override some default variables - stylesheet compatibility */
:root{ :root{
--lwt-toolbar-field-background-color: var(--uc-dark-bkgnd-color) !important; --lwt-toolbar-field-background-color: var(--uc-dark-bkgnd-color) !important;
--lwt-toolbar-field-border-color: transparent !important; --toolbar-field-border-color: transparent !important;
--toolbar-bgcolor: var(--uc-light-bkgnd-color) !important; --toolbar-bgcolor: var(--uc-light-bkgnd-color) !important;
} }
#nav-bar{--uc-ext-active-color: var(--uc-active-color);} #nav-bar{--uc-ext-active-color: var(--uc-active-color);}

View file

@ -16,7 +16,7 @@ See the above repository for updates as well as full license text. */
#urlbar{ #urlbar{
height: auto !important; height: auto !important;
width: auto !important; width: auto !important;
box-shadow: inset 0 0 0 1px var(--lwt-toolbar-field-border-color, hsla(240,5%,5%,.25)); box-shadow: inset 0 0 0 1px var(--toolbar-field-border-color, hsla(240,5%,5%,.25));
background-color: var(--lwt-toolbar-field-background-color, hsla(0,0%,100%,.8)); background-color: var(--lwt-toolbar-field-background-color, hsla(0,0%,100%,.8));
border-radius: var(--toolbarbutton-border-radius); border-radius: var(--toolbarbutton-border-radius);
--uc-urlbar-min-width: none; /* navbar_tabs_oneliner.css compatibility */ --uc-urlbar-min-width: none; /* navbar_tabs_oneliner.css compatibility */