-@supports ( -moz-appearance: -moz-mac-unified-toolbar ) {
- /* this is a usable workaround to detect we're on Mac OS */
- #main-window[sizemode="normal"] > #titlebar {
- margin-top: 4px;
- margin-bottom: 0;
+@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
+ /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
+ #main-window[sizemode="normal"] > #titlebar,
+ #main-window[sizemode="maximized"] > #titlebar {
+ margin-top: 19px;
+ /* There is a margin-bottom set to -23 by code. */