Remove special styles for "tabs on bottom" on Australis

This commit is contained in:
Piro / YUKI Hiroshi 2013-12-01 00:38:56 +09:00
parent 50a6c399b8
commit bb840848bf
2 changed files with 0 additions and 57 deletions

View File

@ -1,21 +1 @@
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/**
* Apply "tabs on bottom" appearance on Australis.
*/
: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.
*/
margin-top: -4px;
}

View File

@ -1,42 +1,5 @@
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@media (-moz-windows-compositor) {
/**
* Apply "tabs on bottom" appearance on Australis.
*/
#main-window:not([treestyletab-tabbar-position="top"])
#browser-panel
> #navigator-toolbox
> #nav-bar:not(:-moz-lwtheme),
#main-window:not([treestyletab-tabbar-position="top"])
#browser-panel
> #navigator-toolbox
> #nav-bar:not(:-moz-lwtheme):-moz-window-inactive {
background: transparent;
border-top: none !important;
border-left: none;
border-right: none;
box-shadow: none;
padding-top: 0;
padding-left: 0;
padding-right: 0;
-moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar-drag");
}
#main-window:not([sizemode="fullscreen"]):not([treestyletab-tabbar-position="top"])
#browser-panel
> #navigator-toolbox
> #nav-bar:not(:-moz-lwtheme),
#main-window:not([sizemode="fullscreen"]):not([treestyletab-tabbar-position="top"])
#browser-panel
> #navigator-toolbox
> #nav-bar:not(:-moz-lwtheme):-moz-window-inactive {
position: relative;
margin-top: -5px;
}
}
/* indicator for private window on Australis */ /* indicator for private window on Australis */
#main-window[privatebrowsingmode="temporary"]:not([treestyletab-tabbar-position="top"]) #main-window[privatebrowsingmode="temporary"]:not([treestyletab-tabbar-position="top"])