Bug 431887 – Search icon on "Get add-ons" window doesn't change if I hover it with mouse. r=dao

This commit is contained in:
Ehsan Akhgari 2008-07-12 09:15:16 +02:00
parent 1db015858c
commit f7de2171cb
10 changed files with 22 additions and 5 deletions

View File

@ -43,8 +43,10 @@
<!DOCTYPE bindings [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
<!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
<!ENTITY % extensionsDTD SYSTEM "chrome://mozapps/locale/extensions/extensions.dtd" >
%brandDTD;
%globalDTD;
%extensionsDTD;
]>
@ -885,7 +887,7 @@
<content align="center">
<xul:textbox class="plain"
xbl:inherits="emptytext,onfocus,onblur,spellcheck,value,maxlength,disabled,size,readonly,tabindex,accesskey"/>
<xul:button class="searchbox-search" xbl:inherits="disabled" oncommand="this.parentNode.startSearch()"/>
<xul:button class="searchbox-search" xbl:inherits="disabled" oncommand="this.parentNode.startSearch()" chromedir="&locale.dir;"/>
<xul:button class="searchbox-cancel" xbl:inherits="disabled" hidden="true" oncommand="this.parentNode.clearSearch()"/>
</content>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -130,6 +130,8 @@ classic.jar:
skin/classic/global/icons/questionGhosted-64.png (icons/questionGhosted-64.png)
skin/classic/global/icons/Restore.gif (icons/Restore.gif)
skin/classic/global/icons/Search-close.png (icons/Search-close.png)
skin/classic/global/icons/Search-glass.png (icons/Search-glass.png)
skin/classic/global/icons/Search-glass-rtl.png (icons/Search-glass-rtl.png)
skin/classic/global/icons/sslWarning.png (icons/sslWarning.png)
skin/classic/global/icons/Warning.png (icons/Warning.png)
skin/classic/global/icons/warning-large.png (icons/warning-large.png)
@ -291,6 +293,8 @@ classic.jar:
skin/classic/aero/global/icons/questionGhosted-64.png (icons/questionGhosted-64-aero.png)
skin/classic/aero/global/icons/Restore.gif (icons/Restore.gif)
skin/classic/aero/global/icons/Search-close.png (icons/Search-close-aero.png)
skin/classic/aero/global/icons/Search-glass.png (icons/Search-glass-aero.png)
skin/classic/aero/global/icons/Search-glass-rtl.png (icons/Search-glass-rtl-aero.png)
skin/classic/aero/global/icons/sslWarning.png (icons/sslWarning-aero.png)
skin/classic/aero/global/icons/Warning.png (icons/Warning-aero.png)
skin/classic/aero/global/icons/warning-large.png (icons/warning-large-aero.png)

View File

@ -334,7 +334,8 @@ vbox[typeName="status"][type="header-recommended"] {
padding: 2px;
}
.searchbox-search, .searchbox-cancel {
.searchbox-search,
.searchbox-cancel {
-moz-appearance: none;
cursor: default;
margin: 0;
@ -347,10 +348,22 @@ vbox[typeName="status"][type="header-recommended"] {
}
.searchbox-search {
list-style-image: url("chrome://mozapps/skin/extensions/searchIcons.png");
list-style-image: url("chrome://global/skin/icons/Search-glass.png");
-moz-image-region: rect(0px 16px 16px 0px);
}
.searchbox-search[chromedir="rtl"] {
list-style-image: url("chrome://global/skin/icons/Search-glass-rtl.png");
}
.searchbox-search:hover {
-moz-image-region: rect(0px 32px 16px 16px);
}
.searchbox-search:hover:active {
-moz-image-region: rect(0px 48px 16px 32px);
}
.searchbox-cancel {
list-style-image: url("chrome://global/skin/icons/Search-close.png");
-moz-image-region: rect(0px 16px 16px 0px);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 878 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 812 B

View File

@ -17,7 +17,6 @@ classic.jar:
skin/classic/mozapps/extensions/viewButtons.png (extensions/viewButtons.png)
skin/classic/mozapps/extensions/ratings.png (extensions/ratings.png)
skin/classic/mozapps/extensions/extensionIcons.png (extensions/extensionIcons.png)
skin/classic/mozapps/extensions/searchIcons.png (extensions/searchIcons.png)
skin/classic/mozapps/extensions/eula.css (extensions/eula.css)
skin/classic/mozapps/handling/handling.css (handling/handling.css)
skin/classic/mozapps/passwordmgr/key.png (passwordmgr/key.png)
@ -61,7 +60,6 @@ classic.jar:
skin/classic/aero/mozapps/extensions/viewButtons.png (extensions/viewButtons-aero.png)
skin/classic/aero/mozapps/extensions/ratings.png (extensions/ratings-aero.png)
skin/classic/aero/mozapps/extensions/extensionIcons.png (extensions/extensionIcons-aero.png)
skin/classic/aero/mozapps/extensions/searchIcons.png (extensions/searchIcons-aero.png)
skin/classic/aero/mozapps/extensions/eula.css (extensions/eula.css)
skin/classic/aero/mozapps/handling/handling.css (handling/handling.css)
skin/classic/aero/mozapps/passwordmgr/key.png (passwordmgr/key-aero.png)