Bug 387740 move the toolbar items in the organizer to an "Organize" menu in the search bar (r=mano, a=beltzner)

This commit is contained in:
dietrich@mozilla.com 2007-11-06 21:09:40 -08:00
parent ac1fca2056
commit d38796a21f
3 changed files with 47 additions and 137 deletions

View File

@ -31,6 +31,7 @@ classic.jar:
skin/classic/browser/setDesktopBackground.css
skin/classic/browser/monitor.png
skin/classic/browser/monitor_16-10.png
skin/classic/browser/wrench.png
skin/classic/browser/feeds/feedIcon.png (feeds/feedIcon.png)
skin/classic/browser/feeds/feedIcon16.png (feeds/feedIcon16.png)
skin/classic/browser/feeds/subscribe.css (feeds/subscribe.css)

View File

@ -1,12 +1,52 @@
/* Toolbar */
#placesToolbar {
border: none;
}
/* back button */
#back-button {
list-style-image: url("chrome://browser/skin/Toolbar.png");
-moz-image-region: rect(0px, 24px, 24px, 0px);
}
#back-button[disabled="true"] {
-moz-image-region: rect(48px, 24px, 72px, 0px) !important;
}
/* forward button */
#forward-button {
list-style-image: url("chrome://browser/skin/Toolbar.png");
-moz-image-region: rect(0px, 48px, 24px, 24px);
}
#forward-button[disabled="true"] {
-moz-image-region: rect(48px, 48px, 72px, 24px) !important;
}
/* organize button */
#organizeButton {
list-style-image: url("chrome://browser/skin/wrench.png");
}
/* view button */
#viewMenu {
list-style-image: url("chrome://browser/skin/wrench.png");
}
/* maintenance button */
#maintenanceButton {
list-style-image: url("chrome://browser/skin/wrench.png");
}
/* Root View */
#placesView {
border-top: 1px solid ThreeDDarkShadow;
background-color: Window;
}
#splitter {
border: 0px;
width: 3px;
background-color: transparent;
}
/* Place List, Place Content */
@ -15,9 +55,10 @@
}
#placesList {
-moz-appearance: listbox;
margin: 6px 0px 7px 6px;
width: 160px;
-moz-appearance: none;
margin: 0px;
border: none;
padding: 0;
}
#placeContent {
@ -26,8 +67,6 @@
}
#contentView {
margin: 6px 6px 7px 0px;
-moz-appearance: listbox;
}
treechildren::-moz-tree-image(title) {
@ -65,29 +104,12 @@ treechildren::-moz-tree-cell-text(date, session-continue) {
color: -moz-Field;
}
/* Command Bar */
.commands {
padding-bottom: 5px;
}
.commandGroupButton {
margin-left: 0px;
margin-top: 0px;
}
.commandGroupButton.first {
margin-right: -10px;
}
.commandGroupButton.last {
margin-left: 20px;
}
/* Title Bar */
#titlebar {
background-color: -moz-Dialog;
border-bottom: 2px solid;
-moz-border-bottom-colors: ThreeDHighlight ThreeDShadow;
padding: 0;
}
#showingPrefix {
@ -257,116 +279,3 @@ treechildren::-moz-tree-cell-text(date, session-continue) {
border-top: 2px solid;
-moz-border-top-colors: ThreeDShadow ThreeDHighlight;
}
/**
* mainToolbar
* style rules are (mostly) copied over from bookmarkManager.css.
*/
#mainToolbar toolbarbutton {
list-style-image: url("chrome://browser/skin/places/organizer-toolbar.png");
-moz-box-orient: vertical;
min-width: 57px;
padding: 5px;
}
#mainToolbar toolbarbutton > .toolbarbutton-icon {
-moz-margin-end: 0px;
}
/* new bookmark */
#newbookmark {
-moz-image-region: rect(0px 24px 24px 0px);
}
#newbookmark:not([disabled="true"]):hover {
-moz-image-region: rect(24px 24px 48px 0px);
}
#newbookmark[disabled="true"] {
-moz-image-region: rect(72px 24px 96px 0px);
}
#newbookmark:not([disabled="true"]):hover:active {
-moz-image-region: rect(48px 24px 72px 0px);
}
/* new folder */
#newfolder {
-moz-image-region: rect(0px 48px 24px 24px);
}
#newfolder:not([disabled="true"]):hover {
-moz-image-region: rect(24px 48px 48px 24px);
}
#newfolder[disabled="true"] {
-moz-image-region: rect(72px 48px 96px 24px);
}
#newfolder:not([disabled="true"]):hover:active {
-moz-image-region: rect(48px 48px 72px 24px);
}
/* new separator */
#newseparator {
-moz-image-region: rect(0px 72px 24px 48px);
}
#newseparator:not([disabled="true"]):hover {
-moz-image-region: rect(24px 72px 48px 48px);
}
#newseparator[disabled="true"] {
-moz-image-region: rect(72px 72px 96px 48px);
}
#newseparator:not([disabled="true"]):hover:active {
-moz-image-region: rect(48px 72px 72px 48px);
}
/* move bookmark */
#moveBookmark {
-moz-image-region: rect(0px 96px 24px 72px);
}
#moveBookmark:not([disabled="true"]):hover {
-moz-image-region: rect(24px 96px 48px 72px);
}
#moveBookmark[disabled="true"] {
-moz-image-region: rect(72px 96px 96px 72px);
}
#moveBookmark:not([disabled="true"]):hover:active {
-moz-image-region: rect(48px 96px 72px 72px);
}
/* properties */
#properties {
-moz-image-region: rect(0px 120px 24px 96px);
}
#properties:not([disabled="true"]):hover {
-moz-image-region: rect(24px 120px 48px 96px);
}
#properties[disabled="true"] {
-moz-image-region: rect(72px 120px 96px 96px);
}
#properties:not([disabled="true"]):hover:active {
-moz-image-region: rect(48px 120px 72px 96px);
}
/* rename */
#rename {
-moz-image-region: rect(0px 144px 24px 120px);
}
#rename:not([disabled="true"]):hover {
-moz-image-region: rect(24px 144px 48px 120px);
}
#rename[disabled="true"] {
-moz-image-region: rect(72px 144px 96px 120px);
}
#rename:not([disabled="true"]):hover:active {
-moz-image-region: rect(48px 144px 72px 120px);
}
/* delete */
#delete {
-moz-image-region: rect(0px 168px 24px 144px);
}
#delete:not([disabled="true"]):hover {
-moz-image-region: rect(24px 168px 48px 144px);
}
#delete[disabled="true"] {
-moz-image-region: rect(72px 168px 96px 144px);
}
#delete:not([disabled="true"]):hover:active {
-moz-image-region: rect(48px 168px 72px 144px);
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 610 B