summaryrefslogtreecommitdiffstats
path: root/browser/themes/shared/toolbarbutton-icons.css
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
commitda4c7e7ed675c3bf405668739c3012d140856109 (patch)
treecdd868dba063fecba609a1d819de271f0d51b23e /browser/themes/shared/toolbarbutton-icons.css
parentAdding upstream version 125.0.3. (diff)
downloadfirefox-da4c7e7ed675c3bf405668739c3012d140856109.tar.xz
firefox-da4c7e7ed675c3bf405668739c3012d140856109.zip
Adding upstream version 126.0.upstream/126.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/themes/shared/toolbarbutton-icons.css')
-rw-r--r--browser/themes/shared/toolbarbutton-icons.css19
1 files changed, 7 insertions, 12 deletions
diff --git a/browser/themes/shared/toolbarbutton-icons.css b/browser/themes/shared/toolbarbutton-icons.css
index 3879689f12..5700814351 100644
--- a/browser/themes/shared/toolbarbutton-icons.css
+++ b/browser/themes/shared/toolbarbutton-icons.css
@@ -6,14 +6,13 @@
--toolbarbutton-icon-fill-attention: AccentColor;
--toolbarbutton-icon-fill-attention-text: AccentColorText;
--warning-icon-bgcolor: light-dark(#FFA436, #FFBD4F);
-}
-
-:root:-moz-lwtheme {
- --toolbarbutton-icon-fill-attention: var(--lwt-toolbarbutton-icon-fill-attention, light-dark(rgb(0, 97, 224), rgb(0, 221, 255)));
- /* FIXME(emilio): This could have poor contrast on some themes, maybe use
- * contrast-color() once that's available, or compute a new variable in
- * LightWeightThemeConsumer */
- --toolbarbutton-icon-fill-attention-text: var(--toolbar-field-background-color);
+ &[lwtheme] {
+ --toolbarbutton-icon-fill-attention: var(--lwt-toolbarbutton-icon-fill-attention, light-dark(rgb(0, 97, 224), rgb(0, 221, 255)));
+ /* FIXME(emilio): This could have poor contrast on some themes, maybe use
+ * contrast-color() once that's available, or compute a new variable in
+ * LightWeightThemeConsumer */
+ --toolbarbutton-icon-fill-attention-text: var(--toolbar-field-background-color);
+ }
}
.toolbarbutton-animatable-box,
@@ -452,10 +451,6 @@ toolbarbutton.bookmark-item {
list-style-image: url("chrome://global/skin/icons/folder.svg");
}
-#whats-new-menu-button {
- list-style-image: url("chrome://global/skin/icons/whatsnew.svg");
-}
-
#ion-button {
list-style-image: url("chrome://browser/skin/ion.svg");
}