Show navigation toolbar on OS X without custom background, for Australis
This commit is contained in:
parent
5135650d3f
commit
507a5a2bdf
@ -34,6 +34,7 @@ skin treestyletab-group classic/1.0 skin/classic/treestyletab-group-basic/
|
||||
skin treestyletab-group classic/1.0 skin/classic/treestyletab-group-aero/ os=WINNT osversion>=6
|
||||
|
||||
override chrome://treestyletab/skin/platform-base.css chrome://treestyletab/skin/dummy.css os=Darwin
|
||||
override chrome://treestyletab/skin/platform-base.css chrome://treestyletab/skin/Darwin-base.css os=Darwin appversion>=28.0a1
|
||||
override chrome://treestyletab/skin/platform-base.css chrome://treestyletab/skin/Linux-base.css os=Linux
|
||||
override chrome://treestyletab/skin/platform-base.css chrome://treestyletab/skin/dummy.css os=WINNT
|
||||
override chrome://treestyletab/skin/platform-styled.css chrome://treestyletab/skin/Darwin-styled.css os=Darwin
|
||||
|
28
skin/classic/treestyletab/Darwin-base.css
Normal file
28
skin/classic/treestyletab/Darwin-base.css
Normal file
@ -0,0 +1,28 @@
|
||||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||
|
||||
/**
|
||||
* Cancel "tabs on top" appearance on Australis.
|
||||
* This is possibly moved to /skin/base.css for all platforms.
|
||||
*/
|
||||
:root:not([treestyletab-tabbar-position="top"])
|
||||
#nav-bar:not(:-moz-lwtheme),
|
||||
:root:not([treestyletab-tabbar-position="top"])
|
||||
#nav-bar:not(:-moz-lwtheme):-moz-window-inactive {
|
||||
background: transparent;
|
||||
border-top: none;
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* With Australis, the "back" button in the navigation toolbar is
|
||||
* unexpectedly overwrapped on the border of the expanded titlebar.
|
||||
* This negative margin solves the overwrapping.
|
||||
*/
|
||||
:root:not([treestyletab-tabbar-position="top"])
|
||||
#nav-bar:not(:-moz-lwtheme),
|
||||
:root:not([treestyletab-tabbar-position="top"])
|
||||
#nav-bar:not(:-moz-lwtheme):-moz-window-inactive {
|
||||
margin-top: -4px;
|
||||
}
|
Loading…
Reference in New Issue
Block a user