Bug 601603. Part 4 - Display clearing widget over caption buttons when Personas is used with Aero Glass theme. r=dao

This commit is contained in:
Felipe Gomes 2010-10-19 15:02:24 -02:00
parent 170e922159
commit 3764263709
3 changed files with 10 additions and 5 deletions

View File

@ -808,9 +808,9 @@
</hbox> </hbox>
<spacer id="titlebar-spacer" flex="1"/> <spacer id="titlebar-spacer" flex="1"/>
<hbox id="titlebar-buttonbox"> <hbox id="titlebar-buttonbox">
<toolbarbutton id="titlebar-min" oncommand="window.minimize();"/> <toolbarbutton class="titlebar-button" id="titlebar-min" oncommand="window.minimize();"/>
<toolbarbutton id="titlebar-max" oncommand="onTitlebarMaxClick();"/> <toolbarbutton class="titlebar-button" id="titlebar-max" oncommand="onTitlebarMaxClick();"/>
<toolbarbutton id="titlebar-close" command="cmd_closeWindow"/> <toolbarbutton class="titlebar-button" id="titlebar-close" command="cmd_closeWindow"/>
</hbox> </hbox>
</hbox> </hbox>
</vbox> </vbox>

View File

@ -67,10 +67,15 @@
@media all and (-moz-windows-compositor) { @media all and (-moz-windows-compositor) {
/* these should be hidden w/glass enabled. windows draws it's own buttons. */ /* these should be hidden w/glass enabled. windows draws it's own buttons. */
#titlebar-buttonbox { #titlebar-buttonbox:not(:-moz-lwtheme),
.titlebar-button {
display: none; display: none;
} }
#main-window[sizemode="maximized"] #titlebar-buttonbox {
-moz-margin-end: 2px;
}
#main-window { #main-window {
-moz-appearance: -moz-win-borderless-glass; -moz-appearance: -moz-win-borderless-glass;
background: transparent; background: transparent;

View File

@ -309,6 +309,7 @@
#titlebar-content { #titlebar-content {
margin-left: 15px; margin-left: 15px;
margin-right: 15px; margin-right: 15px;
-moz-box-align: start;
} }
@media all and (-moz-windows-classic) { @media all and (-moz-windows-classic) {
@ -319,7 +320,6 @@
#titlebar-buttonbox { #titlebar-buttonbox {
-moz-appearance: -moz-window-button-box; -moz-appearance: -moz-window-button-box;
-moz-box-align: start;
} }
#main-window[sizemode="maximized"] > #titlebar > #titlebar-content > #titlebar-buttonbox { #main-window[sizemode="maximized"] > #titlebar > #titlebar-content > #titlebar-buttonbox {