Bug 401279 - Use stock icons for 'folder' icons in bookmarks menu. Patch by Michael Ventnor <ventnor.bugzilla@yahoo.com.au>, r=me a=mconnor

This commit is contained in:
rflint%ryanflint.com 2007-11-27 23:48:42 +00:00
Родитель 87dfd11d0d
Коммит 75711cff65
3 изменённых файлов: 11 добавлений и 31 удалений

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

@ -199,17 +199,13 @@ menuitem.bookmark-item {
} }
/* Bookmark items */ /* Bookmark items */
.bookmark-item { .bookmark-item:not([container]) {
list-style-image: url("chrome://global/skin/icons/folder-item.png"); list-style-image: url("chrome://global/skin/icons/folder-item.png");
-moz-image-region: rect(0px, 16px, 16px, 0px) -moz-image-region: rect(0px, 16px, 16px, 0px)
} }
.bookmark-item[container] { .bookmark-item[container] {
-moz-image-region: rect(0px, 32px, 16px, 16px); list-style-image: url("moz-icon://stock/gtk-directory?size=menu");
}
.bookmark-item[container][open] {
-moz-image-region: rect(16px, 32px, 32px, 16px);
} }
/* livemarks have the same layout as folder-item, but in the browser-only livemark-item.png */ /* livemarks have the same layout as folder-item, but in the browser-only livemark-item.png */

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

@ -7,36 +7,34 @@
/* back button */ /* back button */
#back-button { #back-button {
list-style-image: url("chrome://browser/skin/Toolbar.png"); list-style-image: url("moz-icon://stock/gtk-go-back?size=toolbar");
-moz-image-region: rect(0px, 24px, 24px, 0px);
} }
#back-button[disabled="true"] { #back-button[disabled="true"] {
-moz-image-region: rect(48px, 24px, 72px, 0px) !important; list-style-image: url("moz-icon://stock/gtk-go-back?size=toolbar&state=disabled");
} }
/* forward button */ /* forward button */
#forward-button { #forward-button {
list-style-image: url("chrome://browser/skin/Toolbar.png"); list-style-image: url("moz-icon://stock/gtk-go-forward?size=toolbar");
-moz-image-region: rect(0px, 48px, 24px, 24px);
} }
#forward-button[disabled="true"] { #forward-button[disabled="true"] {
-moz-image-region: rect(48px, 48px, 72px, 24px) !important; list-style-image: url("moz-icon://stock/gtk-go-forward?size=toolbar&state=disabled");
} }
/* organize button */ /* organize button */
#organizeButton { #organizeButton {
list-style-image: url("chrome://browser/skin/wrench.png"); list-style-image: url("moz-icon://stock/gtk-properties?size=button");
} }
/* view button */ /* view button */
#viewMenu { #viewMenu {
list-style-image: url("chrome://browser/skin/wrench.png"); list-style-image: url("moz-icon://stock/gtk-sort-ascending?size=button");
} }
/* maintenance button */ /* maintenance button */
#maintenanceButton { #maintenanceButton {
list-style-image: url("chrome://browser/skin/wrench.png"); list-style-image: url("moz-icon://stock/gtk-revert-to-saved?size=button");
} }
/* Root View */ /* Root View */
@ -79,8 +77,7 @@
background-color: transparent; background-color: transparent;
border: none; border: none;
padding: 0 !important; padding: 0 !important;
list-style-image: url("chrome://global/skin/icons/close.png"); list-style-image: url("moz-icon://stock/gtk-clear?size=menu");
-moz-image-region: rect(0px 16px 16px 0px);
width: 16px; width: 16px;
height: 16px; height: 16px;
cursor: default; cursor: default;
@ -92,14 +89,6 @@
border: 0; border: 0;
} }
.textbox-input-closebutton:hover {
-moz-image-region: rect(0px 32px 16px 16px);
}
.textbox-input-closebutton:hover:active {
-moz-image-region: rect(0px 48px 16px 32px);
}
.small, .small[disabled="true"] { .small, .small[disabled="true"] {
font-size: x-small; font-size: x-small;
min-width: 0px; min-width: 0px;

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

@ -34,12 +34,7 @@ treechildren::-moz-tree-image(title, separator) {
} }
treechildren::-moz-tree-image(title, container) { treechildren::-moz-tree-image(title, container) {
list-style-image: url("chrome://global/skin/icons/folder-item.png"); list-style-image: url("moz-icon://stock/gtk-directory?size=menu");
-moz-image-region: rect(0px, 32px, 16px, 16px);
}
treechildren::-moz-tree-image(title, open) {
-moz-image-region: rect(16px, 32px, 32px, 16px);
} }
treechildren::-moz-tree-image(title, container, livemark) { treechildren::-moz-tree-image(title, container, livemark) {