From 623158263627e3c14dd067349ae60d61a4d5428f Mon Sep 17 00:00:00 2001 From: Zonnev Date: Fri, 6 Dec 2024 19:48:14 +0100 Subject: [PATCH] Fixed url bar in Firefox ESR not having shadows --- Private Mode Style/userChrome.css | 8 ++++---- Titlebar Enabled/userChrome.css | 16 ++++++++-------- base.css | 16 ++++++++-------- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/Private Mode Style/userChrome.css b/Private Mode Style/userChrome.css index eaabadd..fc1366c 100644 --- a/Private Mode Style/userChrome.css +++ b/Private Mode Style/userChrome.css @@ -1262,12 +1262,12 @@ textarea::selection { #urlbar[focused]:not([open]) { border: 1px solid rgba(0,0,0,0.4) !important; background: linear-gradient(to right, #8266C4, #A267A9) !important; - box-shadow: inset 0px 0.1px 0.5px 0.2px rgba(0,0,0,0.18), 0 0 0 2px var(--accentcolor-percentage) !important; + box-shadow: inset 0 0 1px 0 rgba(0,0,0,0.15), inset 0 1px 0 0 rgba(0,0,0,0.05), 0 0 0 2px var(--accentcolor-percentage) !important; } #searchbar:focus-within { border: 1px solid rgba(0,0,0,0.4) !important; background: #A267A9 !important; - box-shadow: inset 0px 0.1px 0.5px 0.2px rgba(0,0,0,0.18), 0 0 0 2px var(--accentcolor-percentage) !important; + box-shadow: inset 0 0 1px 0 rgba(0,0,0,0.15), inset 0 1px 0 0 rgba(0,0,0,0.05), 0 0 0 2px var(--accentcolor-percentage) !important; } #urlbar[focused][open], #urlbar[open]:not([focused]) { @@ -1281,12 +1281,12 @@ textarea::selection { #urlbar:not([focused]){ border: 1px solid rgba(0,0,0,0.4) !important; background: linear-gradient(to right, #8266C4, #A267A9) !important; - box-shadow: inset 0px 0.1px 0.5px 0.2px rgba(0,0,0,0.18), 0 1px 0 0 rgba(255,255,255,0.05) !important; + box-shadow: inset 0 0 1px 0 rgba(0,0,0,0.15), inset 0 1px 0 0 rgba(0,0,0,0.05), 0 1px 0 0 rgba(255,255,255,0.05) !important; } #searchbar:not(:focus-within) { border: 1px solid rgba(0,0,0,0.4) !important; background: #A267A9 !important; - box-shadow: inset 0px 0.1px 0.5px 0.2px rgba(0,0,0,0.18), 0 1px 0 0 rgba(255,255,255,0.05) !important; + box-shadow: inset 0 0 1px 0 rgba(0,0,0,0.15), inset 0 1px 0 0 rgba(0,0,0,0.05), 0 1px 0 0 rgba(255,255,255,0.05) !important; } .urlbarView-url, .urlbarView-title:not(:empty) ~ .urlbarView-action { diff --git a/Titlebar Enabled/userChrome.css b/Titlebar Enabled/userChrome.css index 8ab672b..9045d99 100644 --- a/Titlebar Enabled/userChrome.css +++ b/Titlebar Enabled/userChrome.css @@ -514,7 +514,7 @@ toolbar .toolbarbutton-1:not(#PanelUI-menu-button) > .toolbarbutton-badge-stack: border: 1px solid var(--accentcolor-main) !important; border-radius: 3px !important; background: #ffffff !important; - box-shadow: inset 0px 0.1px 0.5px 0.2px var(--accentcolor-percentage), 0 0 0 2px var(--accentcolor-percentage) !important; + box-shadow: inset 0 0 1px 0 rgba(0,0,0,0.15), inset 0 1px 0 0 rgba(0,0,0,0.05), 0 0 0 2px var(--accentcolor-percentage) !important; filter: saturate(150%) !important; } #urlbar[focused][open], @@ -532,7 +532,7 @@ toolbar .toolbarbutton-1:not(#PanelUI-menu-button) > .toolbarbutton-badge-stack: border: 1px solid #C8C8C8 !important; border-radius: 3px !important; background: #ffffff !important; - box-shadow: inset 0px 0.1px 0.5px 0.2px rgba(0,0,0,0.18), 0 1px 0 0 rgba(255,255,255,1) !important; + box-shadow: inset 0 0 1px 0 rgba(0,0,0,0.15), inset 0 1px 0 0 rgba(0,0,0,0.05), 0 1px 0 0 rgba(255,255,255,1) !important; } #urlbar-background { border: none !important; @@ -1579,7 +1579,7 @@ toolbarbutton.bookmark-item:not(.subviewbutton) { border: 1px solid #222222 !important; border-radius: 3px !important; background: #3A3A3A !important; - box-shadow: inset 0px 0.1px 0.5px 0.2px rgba(0,0,0,0.18), 0 0 0 2px var(--accentcolor-percentage) !important; + box-shadow: inset 0 0 1px 0 rgba(0,0,0,0.15), inset 0 1px 0 0 rgba(0,0,0,0.05), 0 0 0 2px var(--accentcolor-percentage) !important; } #urlbar[focused][open], #urlbar[open]:not([focused]) { @@ -1596,7 +1596,7 @@ toolbarbutton.bookmark-item:not(.subviewbutton) { border: 1px solid #222222 !important; border-radius: 3px !important; background: #3A3A3A !important; - box-shadow: inset 0px 0.1px 0.5px 0.2px rgba(0,0,0,0.18), 0 1px 0 0 rgba(255,255,255,0.05) !important; + box-shadow: inset 0 0 1px 0 rgba(0,0,0,0.15), inset 0 1px 0 0 rgba(0,0,0,0.05), 0 1px 0 0 rgba(255,255,255,0.05) !important; } #urlbar-background { border: none !important; @@ -1869,14 +1869,14 @@ private browsing border: 1px solid rgba(0,0,0,0.4) !important; border-radius: 3px !important; background: linear-gradient(to right, #8266C4, #A267A9) !important; - box-shadow: inset 0px 0.1px 0.5px 0.2px rgba(0,0,0,0.18), 0 0 0 2px var(--accentcolor-percentage) !important; + box-shadow: inset 0 0 1px 0 rgba(0,0,0,0.15), inset 0 1px 0 0 rgba(0,0,0,0.05), 0 0 0 2px var(--accentcolor-percentage) !important; filter: none !important; } #main-window[privatebrowsingmode="temporary"] #searchbar:focus-within { border: 1px solid rgba(0,0,0,0.4) !important; border-radius: 3px !important; background: #A267A9 !important; - box-shadow: inset 0px 0.1px 0.5px 0.2px rgba(0,0,0,0.18), 0 0 0 2px var(--accentcolor-percentage) !important; + box-shadow: inset 0 0 1px 0 rgba(0,0,0,0.15), inset 0 1px 0 0 rgba(0,0,0,0.05), 0 0 0 2px var(--accentcolor-percentage) !important; filter: none !important; } #main-window[privatebrowsingmode="temporary"] #urlbar[focused][open], @@ -1893,13 +1893,13 @@ private browsing border: 1px solid rgba(0,0,0,0.4) !important; border-radius: 3px !important; background: linear-gradient(to right, #8266C4, #A267A9) !important; - box-shadow: inset 0px 0.1px 0.5px 0.2px rgba(0,0,0,0.18), 0 1px 0 0 rgba(255,255,255,0.05) !important; + box-shadow: inset 0 0 1px 0 rgba(0,0,0,0.15), inset 0 1px 0 0 rgba(0,0,0,0.05), 0 1px 0 0 rgba(255,255,255,0.05) !important; } #main-window[privatebrowsingmode="temporary"] #searchbar:not(:focus-within) { border: 1px solid rgba(0,0,0,0.4) !important; border-radius: 3px !important; background: #A267A9 !important; - box-shadow: inset 0px 0.1px 0.5px 0.2px rgba(0,0,0,0.18), 0 1px 0 0 rgba(255,255,255,0.05) !important; + box-shadow: inset 0 0 1px 0 rgba(0,0,0,0.15), inset 0 1px 0 0 rgba(0,0,0,0.05), 0 1px 0 0 rgba(255,255,255,0.05) !important; } #main-window[privatebrowsingmode="temporary"] #PopupSearchAutoComplete .autocomplete-richlistitem[selected], #main-window[privatebrowsingmode="temporary"] .searchbar-engine-one-off-item[selected] { diff --git a/base.css b/base.css index 68cf638..556830a 100644 --- a/base.css +++ b/base.css @@ -507,7 +507,7 @@ toolbar .toolbarbutton-1:not(#PanelUI-menu-button) > .toolbarbutton-badge-stack: border: 1px solid var(--accentcolor-main) !important; border-radius: 3px !important; background: #ffffff !important; - box-shadow: inset 0px 0.1px 0.5px 0.2px var(--accentcolor-percentage), 0 0 0 2px var(--accentcolor-percentage) !important; + box-shadow: inset 0 0 1px 0 rgba(0,0,0,0.15), inset 0 1px 0 0 rgba(0,0,0,0.05), 0 0 0 2px var(--accentcolor-percentage) !important; filter: saturate(150%) !important; } #urlbar[focused][open], @@ -525,7 +525,7 @@ toolbar .toolbarbutton-1:not(#PanelUI-menu-button) > .toolbarbutton-badge-stack: border: 1px solid #C8C8C8 !important; border-radius: 3px !important; background: #ffffff !important; - box-shadow: inset 0px 0.1px 0.5px 0.2px rgba(0,0,0,0.18), 0 1px 0 0 rgba(255,255,255,1) !important; + box-shadow: inset 0 0 1px 0 rgba(0,0,0,0.15), inset 0 1px 0 0 rgba(0,0,0,0.05), 0 1px 0 0 rgba(255,255,255,1) !important; } #urlbar-background { border: none !important; @@ -1574,7 +1574,7 @@ toolbarbutton.bookmark-item:not(.subviewbutton) { border: 1px solid #222222 !important; border-radius: 3px !important; background: #3A3A3A !important; - box-shadow: inset 0px 0.1px 0.5px 0.2px rgba(0,0,0,0.18), 0 0 0 2px var(--accentcolor-percentage) !important; + box-shadow: inset 0 0 1px 0 rgba(0,0,0,0.15), inset 0 1px 0 0 rgba(0,0,0,0.05), 0 0 0 2px var(--accentcolor-percentage) !important; } #urlbar[focused][open], #urlbar[open]:not([focused]) { @@ -1591,7 +1591,7 @@ toolbarbutton.bookmark-item:not(.subviewbutton) { border: 1px solid #222222 !important; border-radius: 3px !important; background: #3A3A3A !important; - box-shadow: inset 0px 0.1px 0.5px 0.2px rgba(0,0,0,0.18), 0 1px 0 0 rgba(255,255,255,0.05) !important; + box-shadow: inset 0 0 1px 0 rgba(0,0,0,0.15), inset 0 1px 0 0 rgba(0,0,0,0.05), 0 1px 0 0 rgba(255,255,255,0.05) !important; } #urlbar-background { border: none !important; @@ -1873,14 +1873,14 @@ private browsing border: 1px solid rgba(0,0,0,0.4) !important; border-radius: 3px !important; background: linear-gradient(to right, #8266C4, #A267A9) !important; - box-shadow: inset 0px 0.1px 0.5px 0.2px rgba(0,0,0,0.18), 0 0 0 2px var(--accentcolor-percentage) !important; + box-shadow: inset 0 0 1px 0 rgba(0,0,0,0.15), inset 0 1px 0 0 rgba(0,0,0,0.05), 0 0 0 2px var(--accentcolor-percentage) !important; filter: none !important; } #main-window[privatebrowsingmode="temporary"] #searchbar:focus-within { border: 1px solid rgba(0,0,0,0.4) !important; border-radius: 3px !important; background: #A267A9 !important; - box-shadow: inset 0px 0.1px 0.5px 0.2px rgba(0,0,0,0.18), 0 0 0 2px var(--accentcolor-percentage) !important; + box-shadow: inset 0 0 1px 0 rgba(0,0,0,0.15), inset 0 1px 0 0 rgba(0,0,0,0.05), 0 0 0 2px var(--accentcolor-percentage) !important; filter: none !important; } #main-window[privatebrowsingmode="temporary"] #urlbar[focused][open], @@ -1897,13 +1897,13 @@ private browsing border: 1px solid rgba(0,0,0,0.4) !important; border-radius: 3px !important; background: linear-gradient(to right, #8266C4, #A267A9) !important; - box-shadow: inset 0px 0.1px 0.5px 0.2px rgba(0,0,0,0.18), 0 1px 0 0 rgba(255,255,255,0.05) !important; + box-shadow: inset 0 0 1px 0 rgba(0,0,0,0.15), inset 0 1px 0 0 rgba(0,0,0,0.05), 0 1px 0 0 rgba(255,255,255,0.05) !important; } #main-window[privatebrowsingmode="temporary"] #searchbar:not(:focus-within) { border: 1px solid rgba(0,0,0,0.4) !important; border-radius: 3px !important; background: #A267A9 !important; - box-shadow: inset 0px 0.1px 0.5px 0.2px rgba(0,0,0,0.18), 0 1px 0 0 rgba(255,255,255,0.05) !important; + box-shadow: inset 0 0 1px 0 rgba(0,0,0,0.15), inset 0 1px 0 0 rgba(0,0,0,0.05), 0 1px 0 0 rgba(255,255,255,0.05) !important; } #main-window[privatebrowsingmode="temporary"] #PopupSearchAutoComplete .autocomplete-richlistitem[selected], #main-window[privatebrowsingmode="temporary"] .searchbar-engine-one-off-item[selected] {