make bookmarks for fine for FF4 (except organizer-specifics)
[themes.git] / LCARStrek / browser / places / editBookmarkOverlay.css
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   margin: 0;
59   -moz-margin-end: 4px;
60 }
61
62 .expander-up > .button-box,
63 .expander-down > .button-box {
64   padding: 0;
65 }
66
67 .expander-up {
68   list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
69 }
70
71 .expander-down {
72   list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
73 }
74
75 .expander-down:hover:active {
76   list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
77 }
78
79 .expander-up:hover:active {
80   list-style-image: url("chrome://global/skin/arrow/arrow-up-hover.gif");
81 }
82
83 #editBookmarkPanelContent {
84   min-width: 23em;
85 }
86
87 #editBMPanel_folderTree {
88   margin-top: 2px;
89   margin-bottom: 2px;
90 }
91
92 /**** name picker ****/
93
94 /* Make the microsummary picker look like a regular textbox instead of 
95  * an editable menulist when no microsummaries are available.
96  */
97 #editBMPanel_namePicker[droppable="false"] {
98   /* These rules come from the textbox element in textbox.css. */
99   border-radius: 3px;
100   -moz-outline-radius: 5px;
101   cursor: text;
102   margin: 1px 2px;
103   border: 1px solid #9C9CFF;
104   padding: 1px 0px;
105   -moz-padding-start: 2px;
106   background-color: #000000;
107   color: #E7ADE7;
108   min-height: 19px;
109 }
110
111 #editBMPanel_namePicker[droppable="false"] > .menulist-editable-box {
112   padding: 0;
113 }
114
115 #editBMPanel_namePicker[droppable="false"] > .menulist-dropmarker,
116 #editBMPanel_namePicker[droppable="false"] > menupopup {
117   display: none;
118 }
119
120 /* Hide the value column of the tag autocomplete popup
121  * leaving only the comment column visible. This is
122  * so that only the tag being edited is shown in the
123  * popup.
124  */
125 #editBMPanel_tagsField #treecolAutoCompleteValue {
126   visibility: collapse;
127 }
128
129
130 /* ::::: bookmark panel dropdown icons ::::: */
131
132 #editBMPanel_folderMenuList[selectedIndex="0"],
133 #editBMPanel_toolbarFolderItem {
134   list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important;
135   -moz-image-region: auto !important;
136 }
137
138 #editBMPanel_folderMenuList[selectedIndex="1"],
139 #editBMPanel_bmRootItem {
140   list-style-image: url("chrome://browser/skin/places/bookmarksMenu.png") !important;
141   -moz-image-region: auto !important;
142 }
143
144 #editBMPanel_folderMenuList[selectedIndex="2"],
145 #editBMPanel_unfiledRootItem {
146   list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png") !important;
147   -moz-image-region: auto !important;
148 }