Code: Select all
@media all and (-moz-windows-theme-generic),
all and (-moz-windows-theme:royale),
all and (-moz-windows-theme:zune),
all and (-moz-windows-classic),
all and (-moz-windows-default-theme) {
/* code for Windows */
}
According to mcdavis's tests here: http://home.comcast.net/~username54321/ ... 110216.txt
So we can setup a situation where our "normal" code is applied to Linux and OSX, and then the media queried code is applied to Windows. But I'm wondering if there is a way to detect OSX, perhaps with non-traditional methods? For instance, I know that OSX does not use the XUL menu.... but is the menu toolbar element present? If the menu toolbar element is NOT present on OSX then it would be pretty simple to setup a logic chain like this:
Code: Select all
toolbar #back-button {
/* code for OSX */
}
#toolbar-menubar ~ toolbar #back-button {
/* code for Linux */
}
@media all and (-moz-windows-theme-generic),
all and (-moz-windows-theme:royale),
all and (-moz-windows-theme:zune),
all and (-moz-windows-classic),
all and (-moz-windows-default-theme) {
toolbar #back-button {
/*code for Windows */
}
}
Thoughts?