Commit | Line | Data |
---|---|---|
1d7eeb22 RK |
1 | /* ***** BEGIN LICENSE BLOCK ***** |
2 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | |
3 | * | |
4 | * The contents of this file are subject to the Mozilla Public License Version | |
5 | * 1.1 (the "License"); you may not use this file except in compliance with | |
6 | * the License. You may obtain a copy of the License at | |
7 | * http://www.mozilla.org/MPL/ | |
8 | * | |
9 | * Software distributed under the License is distributed on an "AS IS" basis, | |
10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License | |
11 | * for the specific language governing rights and limitations under the | |
12 | * License. | |
13 | * | |
14 | * The Original Code is Firefox. | |
15 | * | |
16 | * The Initial Developer of the Original Code is Mozilla. | |
17 | * Portions created by the Initial Developer are Copyright (C) 2006 | |
18 | * the Initial Developer. All Rights Reserved. | |
19 | * | |
20 | * Contributor(s): | |
21 | * Myk Melez <myk@mozilla.org> | |
22 | * Asaf Romano <mano@mozilla.com> | |
23 | * | |
24 | * Alternatively, the contents of this file may be used under the terms of | |
25 | * either the GNU General Public License Version 2 or later (the "GPL"), or | |
26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), | |
27 | * in which case the provisions of the GPL or the LGPL are applicable instead | |
28 | * of those above. If you wish to allow use of your version of this file only | |
29 | * under the terms of either the GPL or the LGPL, and not to allow others to | |
30 | * use your version of this file under the terms of the MPL, indicate your | |
31 | * decision by deleting the provisions above and replace them with the notice | |
32 | * and other provisions required by the GPL or the LGPL. If you do not delete | |
33 | * the provisions above, a recipient may use your version of this file under | |
34 | * the terms of any one of the MPL, the GPL or the LGPL. | |
35 | * | |
36 | * ***** END LICENSE BLOCK ***** */ | |
37 | ||
38 | /**** folder menulist ****/ | |
39 | .folder-icon > .menulist-label-box > .menulist-icon { | |
40 | width: 16px; | |
41 | height: 16px; | |
42 | } | |
43 | ||
44 | .folder-icon > .menu-iconic-left { | |
45 | display: -moz-box; | |
46 | } | |
47 | ||
48 | .folder-icon { | |
49 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif") !important; | |
50 | } | |
51 | ||
52 | ||
53 | /**** expanders ****/ | |
54 | ||
55 | .expander-up, | |
56 | .expander-down { | |
57 | min-width: 0; | |
58 | padding: 2px 0; | |
59 | -moz-padding-start: 2px; | |
60 | } | |
61 | ||
62 | .expander-up { | |
63 | list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); | |
64 | } | |
65 | ||
66 | .expander-down { | |
67 | list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); | |
68 | } | |
69 | ||
70 | .expander-down:hover:active { | |
71 | list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); | |
72 | } | |
73 | ||
74 | .expander-up:hover:active { | |
75 | list-style-image: url("chrome://global/skin/arrow/arrow-up-hover.gif"); | |
76 | } | |
77 | ||
78 | #editBookmarkPanelContent { | |
79 | min-width: 23em; | |
fb2b5761 | 80 | /* width: 32em; */ |
1d7eeb22 RK |
81 | } |
82 | ||
83 | #editBMPanel_folderTree { | |
84 | margin-top: 2px; | |
85 | margin-bottom: 2px; | |
86 | } | |
87 | ||
88 | ||
89 | /**** name picker ****/ | |
90 | ||
91 | /* Make the microsummary picker look like a regular textbox instead of | |
92 | * an editable menulist when no microsummaries are available. | |
93 | */ | |
94 | #editBMPanel_namePicker[droppable="false"] { | |
95 | /* These rules come from the textbox element in textbox.css. */ | |
569543b3 | 96 | border-radius: 3px; |
1d7eeb22 RK |
97 | -moz-outline-radius: 5px; |
98 | cursor: text; | |
99 | margin: 1px 2px; | |
100 | border: 1px solid #9C9CFF; | |
101 | padding: 1px 0px; | |
102 | -moz-padding-start: 2px; | |
103 | background-color: #000000; | |
104 | color: #E7ADE7; | |
105 | min-height: 19px; | |
106 | } | |
107 | ||
108 | #editBMPanel_namePicker[droppable="false"] > .menulist-editable-box { | |
109 | padding: 0; | |
110 | } | |
111 | ||
112 | #editBMPanel_namePicker[droppable="false"] > .menulist-dropmarker, | |
113 | #editBMPanel_namePicker[droppable="false"] > menupopup { | |
114 | display: none; | |
115 | } | |
116 | ||
117 | /* Hide the value column of the tag autocomplete popup | |
118 | * leaving only the comment column visible. This is | |
119 | * so that only the tag being edited is shown in the | |
120 | * popup. | |
121 | */ | |
122 | #editBMPanel_tagsField #treecolAutoCompleteValue { | |
123 | visibility: collapse; | |
124 | } | |
125 | ||
126 | ||
127 | /* ::::: bookmark panel dropdown icons ::::: */ | |
128 | ||
129 | #editBMPanel_folderMenuList[selectedIndex="0"], | |
130 | #editBMPanel_toolbarFolderItem { | |
131 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important; | |
132 | -moz-image-region: auto !important; | |
133 | } | |
134 | ||
135 | #editBMPanel_folderMenuList[selectedIndex="1"], | |
136 | #editBMPanel_bmRootItem { | |
137 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksMenu.png") !important; | |
138 | -moz-image-region: auto !important; | |
139 | } | |
140 | ||
141 | #editBMPanel_folderMenuList[selectedIndex="2"], | |
142 | #editBMPanel_unfiledRootItem { | |
143 | list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png") !important; | |
144 | -moz-image-region: auto !important; | |
145 | } |