Bug 406894: Icons in the location bar and search bar need hover and depressed states (web feed, star, location bar, bookmarks), patch by Kai Liu <kliu.bugzilla.3c9f@mail.kailiu.com>, r=me, a=damon

This commit is contained in:
gavin%gavinsharp.com 2008-04-29 19:09:28 +00:00
Родитель 4814bfc294
Коммит e29df3f99a
6 изменённых файлов: 31 добавлений и 11 удалений

Просмотреть файл

@ -1154,7 +1154,8 @@ statusbarpanel#statusbar-display {
.ac-result-type-bookmark,
.autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
list-style-image: url("chrome://browser/skin/places/pageStarred.png");
list-style-image: url("chrome://browser/skin/places/editBookmark.png");
-moz-image-region: rect(0px 16px 16px 0px);
width: 16px;
height: 16px;
}
@ -1204,7 +1205,7 @@ statusbarpanel#statusbar-display {
/* ::::: go button ::::: */
#go-button {
padding: 3px 2px 2px 2px;
padding: 0 2px;
list-style-image: url("chrome://browser/skin/Go-arrow.png");
-moz-image-region: rect(0px 16px 16px 0px);
}
@ -1219,12 +1220,21 @@ statusbarpanel#statusbar-display {
/* star button */
#star-button {
padding: 1px;
list-style-image: url("chrome://browser/skin/places/starPage.png");
padding: 0 2px;
list-style-image: url("chrome://browser/skin/places/bookmark.png");
-moz-image-region: rect(0px 16px 16px 0px);
}
#star-button:hover {
-moz-image-region: rect(0px 32px 16px 16px);
}
#star-button:hover:active {
-moz-image-region: rect(0px 48px 16px 32px);
}
#star-button[starred="true"] {
list-style-image: url("chrome://browser/skin/places/pageStarred.png");
list-style-image: url("chrome://browser/skin/places/editBookmark.png");
}
/* bookmarking panel */
@ -1715,11 +1725,25 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-text {
-moz-binding: url("chrome://global/content/bindings/button.xml#menu");
-moz-appearance: none;
min-width: 0px;
margin-right: 1px !important;
padding: 0 2px !important;
}
#feed-button[feeds] {
list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
list-style-image: url("chrome://browser/skin/feeds/feed-icons-16.png");
-moz-image-region: rect(0px 16px 16px 0px);
}
#feed-button[feeds]:hover {
-moz-image-region: rect(0px 32px 16px 16px);
}
#feed-button[feeds][open="true"],
#feed-button[feeds]:hover:active {
-moz-image-region: rect(0px 48px 16px 32px);
}
#feed-button:not([feeds]) {
visibility: collapse;
}
/* ::::: About Popup Blocking dialog ::::: */

Просмотреть файл

@ -55,8 +55,6 @@ classic.jar:
skin/classic/browser/places/editBookmarkOverlay.css (places/editBookmarkOverlay.css)
skin/classic/browser/places/libraryNavigation.png (places/libraryNavigation.png)
skin/classic/browser/places/libraryToolbar.png (places/libraryToolbar.png)
skin/classic/browser/places/starPage.png (places/starPage.png)
skin/classic/browser/places/pageStarred.png (places/pageStarred.png)
skin/classic/browser/places/starred48.png (places/starred48.png)
skin/classic/browser/places/unstarred48.png (places/unstarred48.png)
skin/classic/browser/places/tag.png (places/tag.png)
@ -145,8 +143,6 @@ classic.jar:
skin/classic/aero/browser/places/editBookmarkOverlay.css (places/editBookmarkOverlay.css)
skin/classic/aero/browser/places/libraryNavigation.png (places/libraryNavigation-aero.png)
skin/classic/aero/browser/places/libraryToolbar.png (places/libraryToolbar-aero.png)
skin/classic/aero/browser/places/starPage.png (places/starPage-aero.png)
skin/classic/aero/browser/places/pageStarred.png (places/pageStarred-aero.png)
skin/classic/aero/browser/places/starred48.png (places/starred48-aero.png)
skin/classic/aero/browser/places/unstarred48.png (places/unstarred48.png)
skin/classic/aero/browser/places/tag.png (places/tag-aero.png)

Просмотреть файл

Просмотреть файл

Просмотреть файл

Просмотреть файл