Bug 363125 - location bar is stretched vertically in Pinstripe. r=gavin.

This commit is contained in:
mozilla.mano%sent.com 2006-12-08 16:18:03 +00:00
parent d9f5634902
commit b1e8afbc08
4 changed files with 28 additions and 22 deletions

View File

@ -855,24 +855,6 @@
</binding>
<binding id="history-dropmarker" extends="chrome://global/content/bindings/general.xml#dropmarker">
<content>
<xul:stack class="history-dropmarker-stack">
<xul:vbox class="autocomplete-dropmarker-bkgnd-box">
<xul:image class="autocomplete-dropmarker-bkgnd-top autocomplete-dropmarker-bkgnd"/>
<xul:vbox flex="1" class="autocomplete-dropmarker-inner-box">
<xul:image flex="1" class="autocomplete-dropmarker-bkgnd-mid-top autocomplete-dropmarker-bkgnd"/>
<xul:image flex="1" class="autocomplete-dropmarker-bkgnd-mid-bottom autocomplete-dropmarker-bkgnd"/>
</xul:vbox>
<xul:image class="autocomplete-dropmarker-bkgnd-bottom autocomplete-dropmarker-bkgnd"/>
</xul:vbox>
<xul:hbox align="center" class="dropmarker-image-container">
<xul:image class="dropmarker-image"/>
</xul:hbox>
</xul:stack>
</content>
<implementation>
<method name="showPopup">
<body><![CDATA[

View File

@ -84,6 +84,10 @@ textbox.padded {
-moz-image-region: rect(0px, 16px, 20px, 0px) !important;
}
.autocomplete-history-dropmarker[enablehistory="true"] {
-moz-binding: url("chrome://global/skin/globalBindings.xml#history-dropmarker")
}
textbox[chromedir="rtl"] .autocomplete-history-dropmarker {
border-left: none !important;
border-right: 1px solid !important;

View File

@ -150,4 +150,24 @@
</xul:stack>
</content>
</binding>
<binding id="history-dropmarker"
extends="chrome://global/content/bindings/autocomplete.xml#history-dropmarker">
<content>
<xul:stack class="history-dropmarker-stack">
<xul:vbox class="autocomplete-dropmarker-bkgnd-box">
<xul:image class="autocomplete-dropmarker-bkgnd-top autocomplete-dropmarker-bkgnd"/>
<xul:vbox flex="1" class="autocomplete-dropmarker-inner-box">
<xul:image flex="1" class="autocomplete-dropmarker-bkgnd-mid-top autocomplete-dropmarker-bkgnd"/>
<xul:image flex="1" class="autocomplete-dropmarker-bkgnd-mid-bottom autocomplete-dropmarker-bkgnd"/>
</xul:vbox>
<xul:image class="autocomplete-dropmarker-bkgnd-bottom autocomplete-dropmarker-bkgnd"/>
</xul:vbox>
<xul:hbox align="center" class="dropmarker-image-container">
<xul:image class="dropmarker-image"/>
</xul:hbox>
</xul:stack>
</content>
</binding>
</bindings>

View File

@ -37,7 +37,7 @@
@import url("chrome://global/skin/");
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
toolbar toolbarbutton {
#HelpToolbar toolbarbutton {
-moz-box-orient: horizontal !important;
min-width: 0px;
list-style-image: url("chrome://help/skin/Toolbar.png");
@ -45,7 +45,7 @@ toolbar toolbarbutton {
padding: 4px 5px;
}
toolbar[chromedir="rtl"] toolbarbutton {
#HelpToolbar[chromedir="rtl"] toolbarbutton {
list-style-image: url("chrome://help/skin/Toolbar-rtl.png");
}
@ -100,7 +100,7 @@ toolbar[chromedir="rtl"] toolbarbutton {
-moz-image-region: rect(48px 48px 72px 24px);
}
#help-forward-button:not([disabled="true"]):active {
#help-forward-button:not([disabled="true"]):hover:active {
-moz-image-region: rect(72px 48px 96px 24px);
}
@ -143,5 +143,5 @@ toolbar[chromedir="rtl"] toolbarbutton {
/* ----- OTHER ----- */
#context-copy[disabled="true"] {
visibility: collapse;
display: none;
}