зеркало из https://github.com/mozilla/pjs.git
Bug 488006 - cocoa-size="small" should be a platform-independent class instead. r=enn
This commit is contained in:
Родитель
7d1da3b618
Коммит
94b4de096d
|
@ -243,10 +243,10 @@
|
|||
<hbox>
|
||||
<label value="Search History:" accesskey="S"
|
||||
control="search-box"/>
|
||||
<textbox id="search-box" flex="1" type="search" cocoa-size="small"
|
||||
<textbox id="search-box" flex="1" type="search"
|
||||
results="historyTree"/>
|
||||
</hbox>
|
||||
<textbox id="searchfield" emptytext="Search all add-ons"
|
||||
type="search" searchbutton="true" cocoa-size="small"/>
|
||||
type="search" searchbutton="true"/>
|
||||
</vbox>
|
||||
</window>
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
|
||||
<hbox align="center">
|
||||
<label value="&search.label;" accesskey="&search.accesskey;" control="search-box"/>
|
||||
<textbox id="search-box" flex="1" type="search" cocoa-size="small"
|
||||
<textbox id="search-box" flex="1" type="search" class="compact"
|
||||
aria-controls="bookmarks-view"
|
||||
oncommand="searchBookmarks(this.value);"/>
|
||||
</hbox>
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
<hbox align="center">
|
||||
<label value="&find.label;" accesskey="&find.accesskey;"
|
||||
control="search-box"/>
|
||||
<textbox id="search-box" flex="1" type="search" cocoa-size="small"
|
||||
<textbox id="search-box" flex="1" type="search" class="compact"
|
||||
aria-controls="historyTree"
|
||||
oncommand="searchHistory(this.value);"/>
|
||||
<button id="viewButton" style="min-width:0px !important;" type="menu"
|
||||
|
|
|
@ -100,7 +100,7 @@
|
|||
<vbox flex="1">
|
||||
<hbox id="filterRow" align="center">
|
||||
<label value="&filterPrefs.label;" accesskey="&filterPrefs.accesskey;" control="textbox"/>
|
||||
<textbox id="textbox" flex="1" type="search" cocoa-size="small"
|
||||
<textbox id="textbox" flex="1" type="search" class="compact"
|
||||
aria-controls="configTree"
|
||||
oncommand="FilterPrefs();"/>
|
||||
</hbox>
|
||||
|
|
|
@ -189,7 +189,7 @@
|
|||
accesskey="&cmd.clearList.accesskey;"
|
||||
tooltiptext="&cmd.clearList.tooltip;"/>
|
||||
<spacer flex="1"/>
|
||||
<textbox type="search" id="searchbox" cocoa-size="small"
|
||||
<textbox type="search" id="searchbox" class="compact"
|
||||
aria-controls="downloadView"
|
||||
oncommand="buildDownloadList();" emptytext="&searchBox.label;"/>
|
||||
</windowdragbox>
|
||||
|
|
|
@ -189,7 +189,7 @@
|
|||
<vbox id="extensionsBox" flex="1">
|
||||
<hbox id="searchPanel" align="center">
|
||||
<textbox id="searchfield" emptytext="&searchAddons.label;"
|
||||
type="search" searchbutton="true" cocoa-size="small"
|
||||
type="search" searchbutton="true" class="compact"
|
||||
oncommand="retrieveRepositoryAddons(this.value);"/>
|
||||
<spacer flex="1"/>
|
||||
<label id="browseAddons" class="text-link" value="&browseAddons.label;"
|
||||
|
|
|
@ -135,17 +135,17 @@ textbox[type="search"] {
|
|||
-moz-image-region: rect(0, 28px, 14px, 14px);
|
||||
}
|
||||
|
||||
textbox[type="search"][cocoa-size="small"] {
|
||||
textbox[type="search"].compact {
|
||||
padding: 1px 1px 0 15px;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
textbox[type="search"][cocoa-size="small"] > .textbox-input-box > .textbox-search-icons > .textbox-search-clear {
|
||||
textbox[type="search"].compact > .textbox-input-box > .textbox-search-icons > .textbox-search-clear {
|
||||
list-style-image: url(chrome://global/skin/icons/searchfield-small-cancel.png);
|
||||
-moz-image-region: rect(0, 11px, 11px, 0);
|
||||
}
|
||||
|
||||
textbox[type="search"][cocoa-size="small"] > .textbox-input-box > .textbox-search-icons > .textbox-search-clear:active:hover {
|
||||
textbox[type="search"].compact > .textbox-input-box > .textbox-search-icons > .textbox-search-clear:active:hover {
|
||||
-moz-image-region: rect(0, 22px, 11px, 11px);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче