X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fbrowser.css;h=98f50ad4860d994053af8bda0d97a960bdc4025c;hp=8d384a7772c03b66ca3b78ce60d93c79f4ffecb4;hb=96b206febe5aaa2fc76ffa3088e4fdb0ef570fc7;hpb=2299146f21ac8201bf43ec817baf9ec62a2e2aa3 diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index 8d384a77..98f50ad4 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -17,6 +17,13 @@ toolbar[customizable="true"] { -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-browsercustom"); } +@supports ( -moz-appearance: -moz-mac-unified-toolbar ) { + /* this is a usable workaround to detect we're on Mac OS */ + toolbar[customizable="true"]:not([nowindowdrag="true"]) { + -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom"); + } +} + toolbar[type="menubar"][autohide="true"] { -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide"); } @@ -96,11 +103,6 @@ menubar { #navigator-toolbox > toolbar:not(:-moz-lwtheme) { } -@supports ( -moz-appearance:-moz-mac-unified-toolbar ){ - #navigator-toolbox { - background-color: rebeccapurple; - } -} /* indent due to non-applicable aero rule */ #toolbar-menubar { background-color: transparent !important;