projects
/
themes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
96b206f
)
try more mac-specific toolbar adjustments
author
Robert Kaiser
<kairo@kairo.at>
Thu, 21 Aug 2014 21:21:44 +0000
(23:21 +0200)
committer
Robert Kaiser
<kairo@kairo.at>
Thu, 21 Aug 2014 21:21:44 +0000
(23:21 +0200)
LCARStrek/browser/browser.css
patch
|
blob
|
blame
|
history
diff --git
a/LCARStrek/browser/browser.css
b/LCARStrek/browser/browser.css
index 98f50ad4860d994053af8bda0d97a960bdc4025c..617944a485b3e7d76eae541e9f28ff41cced6940 100644
(file)
--- a/
LCARStrek/browser/browser.css
+++ b/
LCARStrek/browser/browser.css
@@
-74,8
+74,11
@@
menubar {
/* margin-top: 15px;*/
}
/* margin-top: 15px;*/
}
-#toolbar-menubar:not([autohide="true"]) {
- -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
+@supports ( not(-moz-appearance: -moz-mac-unified-toolbar) ) {
+ /* this is a usable workaround to detect we're on Mac OS */
+ #toolbar-menubar:not([autohide="true"]) {
+ -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
+ }
}
#main-window[tabsintitlebar] #toolbar-menubar .toolbar-endcap {
}
#main-window[tabsintitlebar] #toolbar-menubar .toolbar-endcap {
@@
-103,7
+106,9
@@
menubar {
#navigator-toolbox > toolbar:not(:-moz-lwtheme) {
}
#navigator-toolbox > toolbar:not(:-moz-lwtheme) {
}
-/* indent due to non-applicable aero rule */
+@supports ( not(-moz-appearance: -moz-mac-unified-toolbar) ) {
+ /* this is a usable workaround to detect we're not on Mac OS */
+ /* indent also due to non-applicable aero rule */
#toolbar-menubar {
background-color: transparent !important;
}
#toolbar-menubar {
background-color: transparent !important;
}
@@
-137,6
+142,17
@@
menubar {
-moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
visibility: visible;
}
-moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
visibility: visible;
}
+}
+
+@supports ( -moz-appearance: -moz-mac-unified-toolbar ) {
+ /* this is a usable workaround to detect we're on Mac OS */
+ #titlebar-buttonbox > .titlebar-button {
+ display: none;
+ }
+ #titlebar-buttonbox {
+ margin-top: 1px;
+ }
+}
#nav-bar {
/* Position the toolbar above the bottom of background tabs */
#nav-bar {
/* Position the toolbar above the bottom of background tabs */