Bug 872162 - Remove obsolete disablechrome CSS, r=dao

This commit is contained in:
Gijs Kruitbosch 2013-05-15 11:32:09 +02:00
parent 2ecb69a14f
commit c9eeb3a294
5 changed files with 5 additions and 25 deletions

View File

@ -162,10 +162,6 @@ toolbar[printpreview="true"] {
display: -moz-box;
}
#main-window[disablechrome] #navigator-toolbox[tabsontop="true"] > toolbar:not(#toolbar-menubar):not(#TabsToolbar) {
visibility: collapse;
}
#wrapper-urlbar-container #urlbar-container > #urlbar > toolbarbutton,
#urlbar-container:not([combined]) > #urlbar > toolbarbutton,
#urlbar-container[combined] + #reload-button + #stop-button,

View File

@ -33,7 +33,7 @@
border-top: none;
}
#main-window:not([disablechrome]) #navigator-toolbox[tabsontop=true] {
#navigator-toolbox[tabsontop=true] {
border-bottom: 1px solid ThreeDShadow;
}

View File

@ -26,8 +26,7 @@
height: 2px;
margin-top: -2px;
}
#navigator-toolbox[tabsontop=false]::after,
#main-window[disablechrome] #navigator-toolbox::after {
#navigator-toolbox[tabsontop=false]::after {
visibility: collapse;
}

View File

@ -167,22 +167,16 @@
}
/* Toolbar shadow behind tabs */
#nav-bar[tabsontop=true],
#main-window[disablechrome] #navigator-toolbox[tabsontop=true]::after {
#nav-bar[tabsontop=true] {
border-top: 1px solid @toolbarShadowColor@ !important;
background-clip: padding-box;
}
#main-window[disablechrome] #navigator-toolbox[tabsontop=true]::after {
visibility: visible;
}
/* This code is only needed for restored windows (i.e. sizemode=normal)
because of the border radius on the toolbar below the tab bar. */
#main-window[sizemode=normal] #nav-bar[tabsontop=true],
#main-window[sizemode=normal] #nav-bar[tabsontop=true][collapsed=true]:not([customizing]) + toolbar,
#main-window[sizemode=normal] #nav-bar[tabsontop=true][collapsed=true]:not([customizing]) + #customToolbars + #PersonalToolbar,
#main-window[sizemode=normal][disablechrome] #navigator-toolbox[tabsontop=true]::after {
#main-window[sizemode=normal] #nav-bar[tabsontop=true][collapsed=true]:not([customizing]) + #customToolbars + #PersonalToolbar {
border-top: 1px solid @toolbarShadowColor@;
border-top-left-radius: 2.5px;
border-top-right-radius: 2.5px;
@ -213,14 +207,6 @@
padding-right: 2px;
}
/* Rounded corners for when chrome is disabled */
#main-window[sizemode=normal][disablechrome] #navigator-toolbox[tabsontop=true]:not(:-moz-lwtheme)::after {
visibility: visible;
background-color: @customToolbarColor@;
background-image: linear-gradient(@toolbarHighlight@, @toolbarHighlight@);
height: 4px;
}
/* Make the window draggable by glassed toolbars (bug 555081) */
#toolbar-menubar:not([autohide="true"]),
#TabsToolbar[tabsontop="true"],

View File

@ -54,8 +54,7 @@
height: 1px;
background-color: ThreeDShadow;
}
#navigator-toolbox[tabsontop=false]::after,
#main-window[disablechrome] #navigator-toolbox::after {
#navigator-toolbox[tabsontop=false]::after {
visibility: collapse;
}