Show navigation toolbar on OS X without custom background, for Australis

This commit is contained in:
YUKI Hiroshi 2013-11-20 20:36:33 +09:00
parent 5135650d3f
commit 507a5a2bdf
2 changed files with 29 additions and 0 deletions

View File

@ -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 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/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/Linux-base.css os=Linux
override chrome://treestyletab/skin/platform-base.css chrome://treestyletab/skin/dummy.css os=WINNT 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 override chrome://treestyletab/skin/platform-styled.css chrome://treestyletab/skin/Darwin-styled.css os=Darwin

View 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;
}