projects
/
themes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3cf61ce
)
test different rules for mac detection
author
Robert Kaiser
<kairo@kairo.at>
Sun, 31 Aug 2014 19:14:52 +0000
(21:14 +0200)
committer
Robert Kaiser
<kairo@kairo.at>
Sun, 31 Aug 2014 19:14:52 +0000
(21:14 +0200)
LCARStrek/global/global.css
patch
|
blob
|
blame
|
history
diff --git
a/LCARStrek/global/global.css
b/LCARStrek/global/global.css
index 78e9f175dca3c3f10b6b6b0fd8fae964edd637f0..fb53947fdd0fdf845d8fe85a04e6d18b77d8772a 100644
(file)
--- a/
LCARStrek/global/global.css
+++ b/
LCARStrek/global/global.css
@@
-58,21
+58,14
@@
toolbaritem > menubar {
/* HACK TEST ONLY: try several mac supports rules! */
/* 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) {
+@media (not -moz-mac-graphite-theme) and (not -moz-mac-lion-theme) and (not -moz-mac-yosemite-theme) {
/* this is a usable workaround to detect we're on Mac OS */
toolbox {
border: 1px solid blue !important;
}
}
/* 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) {
+@media not all and (-moz-mac-graphite-theme)
and (-moz-mac-lion-theme)
and (-moz-mac-yosemite-theme) {
/* this is a usable workaround to detect we're on Mac OS */
tab {
background-color: lightblue !important;
/* this is a usable workaround to detect we're on Mac OS */
tab {
background-color: lightblue !important;