X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fglobal.css;h=78e9f175dca3c3f10b6b6b0fd8fae964edd637f0;hp=a13f52070ce940e0c65702b032ffa91f93ad5653;hb=3cf61cef370fcc721f27745ab8ffb3f5db53b9c6;hpb=54c9b95b1df63559b4928c617190509e4cd43bc2 diff --git a/LCARStrek/global/global.css b/LCARStrek/global/global.css index a13f5207..78e9f175 100644 --- a/LCARStrek/global/global.css +++ b/LCARStrek/global/global.css @@ -47,11 +47,45 @@ menubar { toolbaritem > menubar { -moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar"); } -/* -progressmeter[mode="undetermined"] { - -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined"); + +@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme), (-moz-mac-yosemite-theme) { + /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */ + toolbar.chromeclass-menubar { + -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar"); + border-bottom: none; + } +} + +/* HACK TEST ONLY: try several mac supports rules! */ + +@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme), (-moz-mac-yosemite-theme) { + /* this is a usable workaround to detect we're on Mac OS */ + window { + background-color:red !important; + } +} + +@media not (-moz-mac-graphite-theme), not (-moz-mac-lion-theme), not (-moz-mac-yosemite-theme) { + /* this is a usable workaround to detect we're on Mac OS */ + toolbox { + border: 1px solid blue !important; + } +} + +@media not all and (-moz-mac-graphite-theme), not all and (-moz-mac-lion-theme), not all and (-moz-mac-yosemite-theme) { + /* this is a usable workaround to detect we're on Mac OS */ + tab { + background-color: lightblue !important; + } +} + + +@media not (-moz-mac-graphite-theme, -moz-mac-lion-theme, -moz-mac-yosemite-theme) { + /* this is a usable workaround to detect we're on Mac OS */ + toolbar { + border: 1px solid green !important; + } } -*/ /* ::::: root elements ::::: */ @@ -310,11 +344,14 @@ description { } .text-link { - color: blue; - text-decoration: underline; + color: #3333FF; cursor: pointer; } +.text-link:hover { + text-decoration: underline; +} + .text-link:-moz-focusring { /* Don't specify the outline-color, we should always use initial value. */ outline: 1px dotted;