summaryrefslogtreecommitdiffstats
path: root/browser/themes/windows/browser.css
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-02-17 16:28:03 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-17 16:28:03 +0100
commitc9b266dc20054bcafeee5e59c0b7f60adbf5cdf7 (patch)
treefeea8ffdcb555a96c423c4eab0794a82dd0cd4e6 /browser/themes/windows/browser.css
parent1da0e8a095d82dd6b9ad0c0a45a7ee3b9d80ded7 (diff)
downloadUXP-c9b266dc20054bcafeee5e59c0b7f60adbf5cdf7.tar
UXP-c9b266dc20054bcafeee5e59c0b7f60adbf5cdf7.tar.gz
UXP-c9b266dc20054bcafeee5e59c0b7f60adbf5cdf7.tar.lz
UXP-c9b266dc20054bcafeee5e59c0b7f60adbf5cdf7.tar.xz
UXP-c9b266dc20054bcafeee5e59c0b7f60adbf5cdf7.zip
Use windows 10 Accent colors.
Diffstat (limited to 'browser/themes/windows/browser.css')
-rw-r--r--browser/themes/windows/browser.css17
1 files changed, 11 insertions, 6 deletions
diff --git a/browser/themes/windows/browser.css b/browser/themes/windows/browser.css
index 2de5a6545..15e776da1 100644
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -16,6 +16,8 @@
%define conditionalForwardWithUrlbar window:not([chromehidden~="toolbar"]) #urlbar-wrapper
:root {
+ --titlebar-text-color: currentColor;
+
--space-above-tabbar: 15px;
--backbutton-urlbar-overlap: 6px;
@@ -187,19 +189,22 @@ toolbar:-moz-lwtheme {
transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear;
}
+#toolbar-menubar,
+#TabsToolbar {
+ color: var(--titlebar-text-color);
+}
+
@media not all and (-moz-windows-compositor),
not all and (-moz-windows-default-theme) {
/* Please keep the menu text colors in this media block in sync with
* devedition.css, minus the :not(:-moz-lwtheme) condition - see Bug 1165718.
*/
- #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme),
- #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) {
- color: CaptionText;
+ :root[tabsintitlebar]:not([inFullscreen]):not(:-moz-lwtheme) {
+ --titlebar-text-color: CaptionText;
}
- #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme):-moz-window-inactive,
- #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
- color: InactiveCaptionText;
+ :root[tabsintitlebar]:not([inFullscreen]):not(:-moz-lwtheme):-moz-window-inactive {
+ --titlebar-text-color: InactiveCaptionText;
}
}