summaryrefslogtreecommitdiffstats
path: root/toolkit/themes/osx
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-08-21 00:03:07 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-08-21 00:03:07 +0200
commite91682563ce7b58a8a59e600a74e3c55fb45eb98 (patch)
tree422d30acd471f9cc916fdfdbf30893a71c5bd0bc /toolkit/themes/osx
parentcb9a69ec2e1bb9378f17c6031fe6be958bddfdb8 (diff)
downloadUXP-e91682563ce7b58a8a59e600a74e3c55fb45eb98.tar
UXP-e91682563ce7b58a8a59e600a74e3c55fb45eb98.tar.gz
UXP-e91682563ce7b58a8a59e600a74e3c55fb45eb98.tar.lz
UXP-e91682563ce7b58a8a59e600a74e3c55fb45eb98.tar.xz
UXP-e91682563ce7b58a8a59e600a74e3c55fb45eb98.zip
Fix toolbar styling in non-Australis toolkit themes
This resolves #713
Diffstat (limited to 'toolkit/themes/osx')
-rw-r--r--toolkit/themes/osx/global/toolbar.css9
1 files changed, 9 insertions, 0 deletions
diff --git a/toolkit/themes/osx/global/toolbar.css b/toolkit/themes/osx/global/toolbar.css
index 820436f14..f07332d2f 100644
--- a/toolkit/themes/osx/global/toolbar.css
+++ b/toolkit/themes/osx/global/toolbar.css
@@ -16,12 +16,21 @@ toolbar {
-moz-appearance: toolbar;
}
+%ifdef MOZ_AUSTRALIS
menubar:-moz-lwtheme,
toolbar:-moz-lwtheme {
-moz-appearance: none;
background: none;
border-color: transparent;
}
+%else
+menubar:-moz-lwtheme,
+toolbar:-moz-lwtheme {
+ -moz-appearance: none;
+ background: none;
+ border-style: none;
+}
+%endif
menubar {
-moz-appearance: dialog; /* For content menubars, "toolbar" is too dark, so we use "dialog". */