* Style rules for generic bookmarks items.
*/
-treechildren::-moz-tree-image(Name) {
+treechildren::-moz-tree-image(Name),
+treechildren::-moz-tree-image(title) {
-moz-padding-end: 2px;
}
.bookmark-item,
-treechildren::-moz-tree-image(Name) {
+treechildren::-moz-tree-image(Name),
+treechildren::-moz-tree-image(title) {
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
}
.bookmark-item[container="true"],
-treechildren::-moz-tree-image(Name, container) {
+treechildren::-moz-tree-image(Name, container),
+treechildren::-moz-tree-image(title, container) {
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
}
.bookmark-item[open="true"],
-treechildren::-moz-tree-image(Name, open) {
+treechildren::-moz-tree-image(Name, open),
+treechildren::-moz-tree-image(title, open) {
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
}
list-style-image: url("chrome://global/skin/icons/loading.gif") !important;
}
-.bookmark-item[status="new"],
-treechildren::-moz-tree-image(Name, new) {
- list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item-updated.gif") !important;
-}
-
.bookmark-item > .menu-iconic-left {
height: 16px;
}
max-width: 16px;
}
-treechildren::-moz-tree-twisty(group, hidetwisty) {
- list-style-image: none;
-}
-
-treechildren::-moz-tree-image(Name, container, group) {
- list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-group.gif");
-}
-
/* calendar icon for folders grouping items by day */
treechildren::-moz-tree-image(Name, query, dayContainer) {
list-style-image: url("chrome://communicator/skin/history/calendar.png");
}
-treechildren::-moz-tree-image(Name, separator) {
+.bookmark-item[container][livemark],
+treechildren::-moz-tree-image(title, container, livemark) {
+ list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
+ -moz-image-region: auto;
+}
+
+.bookmark-item[container][livemark] .bookmark-item,
+treechildren::-moz-tree-image(title, livemarkItem) {
+ list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
+}
+
+treechildren::-moz-tree-image(container, OrganizerQuery_AllBookmarks) {
+ list-style-image: url("chrome://communicator/skin/bookmarks/allBookmarks.png");
+ -moz-image-region: auto;
+}
+
+#bookmarksToolbarFolderMenu,
+#BMB_bookmarksToolbarFolderMenu,
+treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksToolbar) {
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
+ -moz-image-region: auto;
+}
+
+treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksMenu) {
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksMenu.png");
+ -moz-image-region: auto;
+}
+
+#unsortedBookmarksFolderMenu,
+treechildren::-moz-tree-image(container, OrganizerQuery_UnfiledBookmarks) {
+ list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
+ -moz-image-region: auto;
+}
+
+/* query-nodes should be styled even if they're not expandable */
+.bookmark-item[container][query],
+treechildren::-moz-tree-image(title, query) {
+ list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
+ -moz-image-region: auto;
+}
+
+.bookmark-item[query][tagContainer],
+treechildren::-moz-tree-image(title, query, tagContainer),
+treechildren::-moz-tree-image(query, OrganizerQuery_Tags) {
+ list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
+ -moz-image-region: auto;
+}
+
+treechildren::-moz-tree-image(Name, separator),
+treechildren::-moz-tree-image(title, separator) {
list-style-image: none;
}
-treechildren::-moz-tree-cell-text(Name, separator) {
+treechildren::-moz-tree-cell-text(Name, separator),
+treechildren::-moz-tree-cell-text(title, separator) {
color: #808080;
margin: 0px 5px;
}
-treechildren::-moz-tree-cell-text(Name, separator, selected, focus) {
+treechildren::-moz-tree-cell-text(Name, separator, selected, focus),
+treechildren::-moz-tree-cell-text(title, separator, selected, focus) {
color: #FFFFFF;
}
--- /dev/null
+
+/* Info box */
+#detailsDeck {
+ margin: 5px;
+}
+
+#infoBoxExpanderLabel {
+ -moz-padding-start: 2px;
+}
+
+#organizerScopeBar {
+ padding: 2px 0;
+ -moz-padding-end: 3px;
+}
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-disabled.gif");
}
-/* ::::: drag and drop styles ::::: */
-
-toolbarbutton.bookmark-item[dragover-left="true"] {
- border-left-color: #336699;
+/* Prevent [mode="icons"] from hiding the label */
+.bookmark-item > .toolbarbutton-text {
+ display: -moz-box !important;
}
-toolbarbutton.bookmark-item[dragover-right="true"] {
- border-right-color: #336699;
+/* ::::: drag and drop styles ::::: */
+
+#PlacesToolbarDropIndicator {
+ list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
}
-toolbarbutton.bookmark-item[dragover-top="true"] {
- border-color: #336699;
+toolbarbutton.bookmark-item[dragover="true"][open="true"] {
+ background-color: #336699 !important;
+ color: #FFFFFF !important;
}
/* ::::: bookmark menus ::::: */
/* ..... drag and drop styles ..... */
-menu.bookmark-item[dragover-top="true"],
-menuitem.bookmark-item[dragover-top="true"] {
- border-top: 1px solid #336699 !important;
-}
-
-menu.bookmark-item[dragover-bottom="true"],
-menuitem.bookmark-item[dragover-bottom="true"] {
- border-bottom: 1px solid #336699 !important;
+/* rules for menupopup drop indicators */
+.menupopup-drop-indicator-bar {
+ position: relative;
+ /* these two margins must together compensate the indicator's height */
+ margin-top: -1px;
+ margin-bottom: -1px;
}
-menu.bookmark-item[dragover="true"] {
- background-color: #336699 !important;
- color: #FFFFFF !important;
+.menupopup-drop-indicator {
+ list-style-image: none;
+ height: 2px;
+ -moz-margin-end: -4em;
+ background-color: #336699;
}
+++ /dev/null
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: NPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Netscape Public License
- * Version 1.1 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- * http://www.mozilla.org/NPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is mozilla.org code.
- *
- * The Initial Developer of the Original Code is
- * Netscape Communications Corporation.
- * Portions created by the Initial Developer are Copyright (C) 1998
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Ben Goodger <ben@netscape.com>
- * Josh Soref <timeless@mac.com>
- * Robert Kaiser <KaiRo@KaiRo.at>
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the NPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the NPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-@import url("chrome://communicator/skin/bookmarks/bookmarks.css");
-
-@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-
-#status-bar {
- height: 1em;
-}
-
-#panel-bar,
-#search-bar {
- border-top: 1px outset #CCD0DD;
- border-bottom: 1px outset #CCD0DD;
-}
-
-#bookmarks-tree.inset {
- margin: 0px;
- border: none;
-}
--- /dev/null
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Firefox.
+ *
+ * The Initial Developer of the Original Code is Mozilla.
+ * Portions created by the Initial Developer are Copyright (C) 2006
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * Myk Melez <myk@mozilla.org>
+ * Asaf Romano <mano@mozilla.com>
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+ * in which case the provisions of the GPL or the LGPL are applicable instead
+ * of those above. If you wish to allow use of your version of this file only
+ * under the terms of either the GPL or the LGPL, and not to allow others to
+ * use your version of this file under the terms of the MPL, indicate your
+ * decision by deleting the provisions above and replace them with the notice
+ * and other provisions required by the GPL or the LGPL. If you do not delete
+ * the provisions above, a recipient may use your version of this file under
+ * the terms of any one of the MPL, the GPL or the LGPL.
+ *
+ * ***** END LICENSE BLOCK ***** */
+
+/**** folder menulist ****/
+.folder-icon > .menulist-label-box > .menulist-icon {
+ width: 16px;
+ height: 16px;
+}
+
+.folder-icon > .menu-iconic-left {
+ display: -moz-box;
+}
+
+.folder-icon {
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif") !important;
+}
+
+
+/**** expanders ****/
+
+.expander-up,
+.expander-down {
+ min-width: 0;
+ padding: 2px 0;
+ -moz-padding-start: 2px;
+}
+
+.expander-up {
+ list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
+}
+
+.expander-down {
+ list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
+}
+
+#editBookmarkPanelContent {
+ min-width: 23em;
+}
+
+#editBMPanel_folderTree {
+ margin-top: 2px;
+ margin-bottom: 2px;
+}
+
+
+/**** name picker ****/
+
+/* Make the microsummary picker look like a regular textbox instead of
+ * an editable menulist when no microsummaries are available.
+ */
+#editBMPanel_namePicker[droppable="false"] {
+ /* These rules come from the textbox element in textbox.css. */
+ cursor: text;
+ margin: 2px 3px;
+ border: 1px inset #CCD0DD;
+ padding: 1px 0px;
+ -moz-padding-start: 2px;
+ background-color: #FFFFFF;
+ color: #000000;
+ min-height: 19px;
+}
+
+#editBMPanel_namePicker[droppable="false"] > .menulist-editable-box {
+ padding: 0;
+}
+
+#editBMPanel_namePicker[droppable="false"] > .menulist-dropmarker,
+#editBMPanel_namePicker[droppable="false"] > menupopup {
+ display: none;
+}
+
+/* Hide the value column of the tag autocomplete popup
+ * leaving only the comment column visible. This is
+ * so that only the tag being edited is shown in the
+ * popup.
+ */
+#editBMPanel_tagsField #treecolAutoCompleteValue {
+ visibility: collapse;
+}
+
+
+/* ::::: bookmark panel dropdown icons ::::: */
+
+#editBMPanel_folderMenuList[selectedIndex="0"],
+#editBMPanel_toolbarFolderItem {
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
+ -moz-image-region: auto !important;
+}
+
+#editBMPanel_folderMenuList[selectedIndex="1"],
+#editBMPanel_bmRootItem {
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksMenu.png") !important;
+ -moz-image-region: auto !important;
+}
+
+#editBMPanel_folderMenuList[selectedIndex="2"],
+#editBMPanel_unfiledRootItem {
+ list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png") !important;
+ -moz-image-region: auto !important;
+}
/* ::::: primary toolbar buttons ::::: */
#button-newcard {
- list-style-image:url("chrome://messenger/skin/addressbook/icons/newcard.gif");
+ list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
+ -moz-image-region: rect(42px 25px 63px 0px);
}
#button-newcard[disabled="true"] {
- list-style-image: url("chrome://messenger/skin/addressbook/icons/newcard-disabled.gif") !important;
+ -moz-image-region: rect(42px 50px 63px 25px);
}
#button-newlist {
- list-style-image: url("chrome://messenger/skin/addressbook/icons/newlist.gif");
+ list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
+ -moz-image-region: rect(63px 25px 84px 0px);
}
#button-newlist[disabled="true"] {
- list-style-image: url("chrome://messenger/skin/addressbook/icons/newlist-disabled.gif") !important;
+ -moz-image-region: rect(63px 50px 84px 25px);
}
#button-editcard {
- list-style-image:url("chrome://messenger/skin/addressbook/icons/person.gif");
+ list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
+ -moz-image-region: rect(21px 25px 42px 0px);
}
#button-editcard[disabled="true"] {
- list-style-image: url("chrome://messenger/skin/addressbook/icons/person-disabled.gif") !important;
+ -moz-image-region: rect(21px 50px 42px 25px);
}
#button-newmessage {
- list-style-image:url("chrome://messenger/skin/addressbook/icons/newmsg.gif");
+ list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+ -moz-image-region: rect(105px 25px 126px 0px);
}
#button-newmessage[disabled="true"] {
- list-style-image: url("chrome://messenger/skin/addressbook/icons/newmsg-disabled.gif") !important;
+ -moz-image-region: rect(105px 50px 126px 25px);
}
#button-newim {
- list-style-image:url("chrome://messenger/skin/addressbook/icons/im.gif");
+ list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
+ -moz-image-region: rect(84px 25px 105px 0px);
}
#button-newim[disabled="true"] {
- list-style-image: url("chrome://messenger/skin/addressbook/icons/im-disabled.gif") !important;
+ -moz-image-region: rect(84px 25px 105px 0px);
}
-#button-delete {
- list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+#button-abdelete {
+ list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
-moz-image-region: rect(0px 25px 21px 0px);
}
-#button-delete[disabled="true"] {
+#button-abdelete[disabled="true"] {
-moz-image-region: rect(0px 50px 21px 25px);
}
* Style rules for generic bookmarks items.
*/
-treechildren::-moz-tree-image(Name) {
+treechildren::-moz-tree-image(Name),
+treechildren::-moz-tree-image(title) {
-moz-padding-end: 2px;
}
.bookmark-item,
-treechildren::-moz-tree-image(Name) {
+treechildren::-moz-tree-image(Name),
+treechildren::-moz-tree-image(title) {
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
}
.bookmark-item[container="true"],
-treechildren::-moz-tree-image(Name, container) {
+treechildren::-moz-tree-image(Name, container),
+treechildren::-moz-tree-image(title, container) {
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
}
.bookmark-item[open="true"],
-treechildren::-moz-tree-image(Name, open) {
+treechildren::-moz-tree-image(Name, open),
+treechildren::-moz-tree-image(title, open) {
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
}
list-style-image: url("chrome://global/skin/icons/loading.gif") !important;
}
-.bookmark-item[status="new"],
-treechildren::-moz-tree-image(Name, new) {
- list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item-updated.gif") !important;
-}
-
.bookmark-item > .menu-iconic-left {
height: 16px;
}
max-width: 16px;
}
-treechildren::-moz-tree-twisty(group, hidetwisty) {
- list-style-image: none;
-}
-
-treechildren::-moz-tree-image(Name, container, group) {
- list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-group.gif");
-}
-
/* calendar icon for folders grouping items by day */
treechildren::-moz-tree-image(Name, query, dayContainer) {
list-style-image: url("chrome://communicator/skin/history/calendar.png");
}
-treechildren::-moz-tree-image(Name, separator) {
+.bookmark-item[container][livemark],
+treechildren::-moz-tree-image(title, container, livemark) {
+ list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
+ -moz-image-region: auto;
+}
+
+.bookmark-item[container][livemark] .bookmark-item,
+treechildren::-moz-tree-image(title, livemarkItem) {
+ list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
+}
+
+treechildren::-moz-tree-image(container, OrganizerQuery_AllBookmarks) {
+ list-style-image: url("chrome://communicator/skin/bookmarks/allBookmarks.png");
+ -moz-image-region: auto;
+}
+
+#bookmarksToolbarFolderMenu,
+#BMB_bookmarksToolbarFolderMenu,
+treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksToolbar) {
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
+ -moz-image-region: auto;
+}
+
+treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksMenu) {
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksMenu.png");
+ -moz-image-region: auto;
+}
+
+#unsortedBookmarksFolderMenu,
+treechildren::-moz-tree-image(container, OrganizerQuery_UnfiledBookmarks) {
+ list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
+ -moz-image-region: auto;
+}
+
+/* query-nodes should be styled even if they're not expandable */
+.bookmark-item[container][query],
+treechildren::-moz-tree-image(title, query) {
+ list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
+ -moz-image-region: auto;
+}
+
+.bookmark-item[query][tagContainer],
+treechildren::-moz-tree-image(title, query, tagContainer),
+treechildren::-moz-tree-image(query, OrganizerQuery_Tags) {
+ list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
+ -moz-image-region: auto;
+}
+
+treechildren::-moz-tree-image(Name, separator),
+treechildren::-moz-tree-image(title, separator) {
list-style-image: none;
}
-treechildren::-moz-tree-cell-text(Name, separator) {
+treechildren::-moz-tree-cell-text(Name, separator),
+treechildren::-moz-tree-cell-text(title, separator) {
color: #E7ADE7;
margin: 0px 5px;
}
-treechildren::-moz-tree-cell-text(Name, separator, selected, focus) {
+treechildren::-moz-tree-cell-text(Name, separator, selected, focus),
+treechildren::-moz-tree-cell-text(title, separator, selected, focus) {
/* color: #FFCF00; */
}
--- /dev/null
+
+/* Info box */
+#detailsDeck {
+ margin: 5px;
+}
+
+#infoBoxExpanderLabel {
+ -moz-padding-start: 2px;
+}
+
+#organizerScopeBar {
+ padding: 2px 0;
+ -moz-padding-end: 3px;
+}
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-disabled.gif");
}
-/* ::::: drag and drop styles ::::: */
-
-toolbarbutton.bookmark-item[dragover-left="true"] {
- border-left: 2px solid #008484;
+/* Prevent [mode="icons"] from hiding the label */
+.bookmark-item > .toolbarbutton-text {
+ display: -moz-box !important;
}
-toolbarbutton.bookmark-item[dragover-right="true"] {
- border-right: 2px solid #008484;
+/* ::::: drag and drop styles ::::: */
+
+#PlacesToolbarDropIndicator {
+ list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
}
-toolbarbutton.bookmark-item[dragover-top="true"] {
- background-color: #008484;
- color: #FFCF00;
+toolbarbutton.bookmark-item[dragover="true"][open="true"] {
+ background-color: #008484 !important;
+ color: #FFCF00 !important;
}
/* ::::: bookmark menus ::::: */
/* ..... drag and drop styles ..... */
-menu.bookmark-item[dragover-top="true"],
-menuitem.bookmark-item[dragover-top="true"] {
- border-top: 1px solid #008484 !important;
-}
-
-menu.bookmark-item[dragover-bottom="true"],
-menuitem.bookmark-item[dragover-bottom="true"] {
- border-bottom: 1px solid #008484 !important;
+/* rules for menupopup drop indicators */
+.menupopup-drop-indicator-bar {
+ position: relative;
+ /* these two margins must together compensate the indicator's height */
+ margin-top: -1px;
+ margin-bottom: -1px;
}
-menu.bookmark-item[dragover="true"] {
- background-color: #008484 !important;
- color: #FFCF00 !important;
+.menupopup-drop-indicator {
+ list-style-image: none;
+ height: 2px;
+ -moz-margin-end: -4em;
+ background-color: #008484;
}
+++ /dev/null
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: NPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Netscape Public License
- * Version 1.1 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- * http://www.mozilla.org/NPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is mozilla.org code.
- *
- * The Initial Developer of the Original Code is
- * Netscape Communications Corporation.
- * Portions created by the Initial Developer are Copyright (C) 1998
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Ben Goodger <ben@netscape.com>
- * Josh Soref <timeless@mac.com>
- * Robert Kaiser <KaiRo@KaiRo.at>
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the NPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the NPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-@import url("chrome://communicator/skin/bookmarks/bookmarks.css");
-
-@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-
-#status-bar {
- height: 1em;
-}
-
-#panel-bar,
-#search-bar {
- border-top: 1px solid #9C9CFF;
- border-bottom: 1px solid #9C9CFF;
-}
-
-bookmarks-tree.inset {
- margin: 0px;
- border: 1px solid #9C9CFF;
-}
--- /dev/null
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Firefox.
+ *
+ * The Initial Developer of the Original Code is Mozilla.
+ * Portions created by the Initial Developer are Copyright (C) 2006
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * Myk Melez <myk@mozilla.org>
+ * Asaf Romano <mano@mozilla.com>
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+ * in which case the provisions of the GPL or the LGPL are applicable instead
+ * of those above. If you wish to allow use of your version of this file only
+ * under the terms of either the GPL or the LGPL, and not to allow others to
+ * use your version of this file under the terms of the MPL, indicate your
+ * decision by deleting the provisions above and replace them with the notice
+ * and other provisions required by the GPL or the LGPL. If you do not delete
+ * the provisions above, a recipient may use your version of this file under
+ * the terms of any one of the MPL, the GPL or the LGPL.
+ *
+ * ***** END LICENSE BLOCK ***** */
+
+/**** folder menulist ****/
+.folder-icon > .menulist-label-box > .menulist-icon {
+ width: 16px;
+ height: 16px;
+}
+
+.folder-icon > .menu-iconic-left {
+ display: -moz-box;
+}
+
+.folder-icon {
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif") !important;
+}
+
+
+/**** expanders ****/
+
+.expander-up,
+.expander-down {
+ min-width: 0;
+ padding: 2px 0;
+ -moz-padding-start: 2px;
+}
+
+.expander-up {
+ list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
+}
+
+.expander-down {
+ list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
+}
+
+.expander-down:hover:active {
+ list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
+}
+
+.expander-up:hover:active {
+ list-style-image: url("chrome://global/skin/arrow/arrow-up-hover.gif");
+}
+
+#editBookmarkPanelContent {
+ min-width: 23em;
+}
+
+#editBMPanel_folderTree {
+ margin-top: 2px;
+ margin-bottom: 2px;
+}
+
+
+/**** name picker ****/
+
+/* Make the microsummary picker look like a regular textbox instead of
+ * an editable menulist when no microsummaries are available.
+ */
+#editBMPanel_namePicker[droppable="false"] {
+ /* These rules come from the textbox element in textbox.css. */
+ -moz-border-radius: 3px;
+ -moz-outline-radius: 5px;
+ cursor: text;
+ margin: 1px 2px;
+ border: 1px solid #9C9CFF;
+ padding: 1px 0px;
+ -moz-padding-start: 2px;
+ background-color: #000000;
+ color: #E7ADE7;
+ min-height: 19px;
+}
+
+#editBMPanel_namePicker[droppable="false"] > .menulist-editable-box {
+ padding: 0;
+}
+
+#editBMPanel_namePicker[droppable="false"] > .menulist-dropmarker,
+#editBMPanel_namePicker[droppable="false"] > menupopup {
+ display: none;
+}
+
+/* Hide the value column of the tag autocomplete popup
+ * leaving only the comment column visible. This is
+ * so that only the tag being edited is shown in the
+ * popup.
+ */
+#editBMPanel_tagsField #treecolAutoCompleteValue {
+ visibility: collapse;
+}
+
+
+/* ::::: bookmark panel dropdown icons ::::: */
+
+#editBMPanel_folderMenuList[selectedIndex="0"],
+#editBMPanel_toolbarFolderItem {
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
+ -moz-image-region: auto !important;
+}
+
+#editBMPanel_folderMenuList[selectedIndex="1"],
+#editBMPanel_bmRootItem {
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksMenu.png") !important;
+ -moz-image-region: auto !important;
+}
+
+#editBMPanel_folderMenuList[selectedIndex="2"],
+#editBMPanel_unfiledRootItem {
+ list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png") !important;
+ -moz-image-region: auto !important;
+}
/* ::::: primary toolbar buttons ::::: */
#button-newcard {
- list-style-image:url("chrome://messenger/skin/addressbook/icons/newcard.gif");
-}
-
-#button-newcard:hover,
-#button-newcard:hover:active {
- list-style-image: url("chrome://messenger/skin/addressbook/icons/newcard-hover.gif");
+ list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
+ -moz-image-region: rect(42px 25px 63px 0px);
}
#button-newcard[disabled="true"] {
- list-style-image: url("chrome://messenger/skin/addressbook/icons/newcard-disabled.gif") !important;
+ -moz-image-region: rect(42px 50px 63px 25px);
}
+#button-newcard:not([disabled="true"]):hover,
+#button-newcard:not([disabled="true"]):hover:active {
+ -moz-image-region: rect(42px 75px 63px 50px);
+}
+
#button-newlist {
- list-style-image: url("chrome://messenger/skin/addressbook/icons/newlist.gif");
+ list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
+ -moz-image-region: rect(63px 25px 84px 0px);
}
-#button-newlist:hover,
-#button-newlist:hover:active {
- list-style-image: url("chrome://messenger/skin/addressbook/icons/newlist-hover.gif");
+#button-newlist[disabled="true"] {
+ -moz-image-region: rect(63px 50px 84px 25px);
}
-#button-newlist[disabled="true"] {
- list-style-image: url("chrome://messenger/skin/addressbook/icons/newlist-disabled.gif") !important;
+#button-newlist:not([disabled="true"]):hover,
+#button-newlist:not([disabled="true"]):hover:active {
+ -moz-image-region: rect(63px 75px 84px 50px);
}
#button-editcard {
- list-style-image:url("chrome://messenger/skin/addressbook/icons/person.gif");
+ list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
+ -moz-image-region: rect(21px 25px 42px 0px);
}
-#button-editcard:hover,
-#button-editcard:hover:active {
- list-style-image: url("chrome://messenger/skin/addressbook/icons/person-hover.gif");
+#button-editcard[disabled="true"] {
+ -moz-image-region: rect(21px 50px 42px 25px);
}
-#button-editcard[disabled="true"] {
- list-style-image: url("chrome://messenger/skin/addressbook/icons/person-disabled.gif") !important;
+#button-editcard:not([disabled="true"]):hover,
+#button-editcard:not([disabled="true"]):hover:active {
+ -moz-image-region: rect(21px 75px 42px 50px);
}
#button-newmessage {
- list-style-image:url("chrome://messenger/skin/addressbook/icons/newmsg.gif");
+ list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+ -moz-image-region: rect(105px 25px 126px 0px);
}
-#button-newmessage:hover,
-#button-newmessage:hover:active {
- list-style-image: url("chrome://messenger/skin/addressbook/icons/newmsg-hover.gif");
+#button-newmessage[disabled="true"] {
+ -moz-image-region: rect(105px 50px 126px 25px);
}
-#button-newmessage[disabled="true"] {
- list-style-image: url("chrome://messenger/skin/addressbook/icons/newmsg-disabled.gif") !important;
+#button-newmessage:not([disabled="true"]):hover,
+#button-newmessage:not([disabled="true"]):hover:active {
+ -moz-image-region: rect(105px 75px 126px 50px);
}
#button-newim {
- list-style-image:url("chrome://messenger/skin/addressbook/icons/im.gif");
+ list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
+ -moz-image-region: rect(84px 25px 105px 0px);
}
-#button-newim:hover,
-#button-newim:hover:active {
- list-style-image: url("chrome://messenger/skin/addressbook/icons/im-hover.gif");
+#button-newim[disabled="true"] {
+ -moz-image-region: rect(84px 25px 105px 0px);
}
-#button-newim[disabled="true"] {
- list-style-image: url("chrome://messenger/skin/addressbook/icons/im-disabled.gif") !important;
+#button-newim:not([disabled="true"]):hover,
+#button-newim:not([disabled="true"]):hover:active {
+ -moz-image-region: rect(84px 25px 105px 0px);
}
-#button-delete {
- list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+#button-abdelete {
+ list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
-moz-image-region: rect(0px 25px 21px 0px);
}
-#button-delete[disabled="true"] {
+#button-abdelete[disabled="true"] {
-moz-image-region: rect(0px 50px 21px 25px);
}
-#button-delete:not([disabled="true"]):hover,
-#button-delete:not([disabled="true"]):hover:active {
+#button-abdelete:not([disabled="true"]):hover,
+#button-abdelete:not([disabled="true"]):hover:active {
-moz-image-region: rect(0px 75px 21px 50px);
}