Commit | Line | Data |
---|---|---|
9099c61d RK |
1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this | |
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
351107c9 | 4 | |
5 | @import url(chrome://communicator/skin/bookmarks/bookmarks.css); | |
6 | ||
7 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
8 | ||
b1eaa419 | 9 | /* ===== bookmarksToolbar.css =========================================== |
10 | == Styles specific to bookmark items in a toolbar. | |
11 | ======================================================================= */ | |
12 | ||
13 | /* ::::: bookmark toolbar buttons ::::: */ | |
a12570b9 | 14 | |
351107c9 | 15 | toolbarbutton.bookmark-item { |
b1eaa419 | 16 | cursor: pointer; |
17 | min-width: 0px; | |
18 | max-width: 13em; | |
19 | min-height: 20px; | |
351107c9 | 20 | } |
21 | ||
22 | toolbarbutton.bookmark-item[container="true"] { | |
b1eaa419 | 23 | color: #E7ADE7; |
24 | cursor: default; | |
351107c9 | 25 | } |
26 | ||
27 | toolbarbutton.bookmark-item[container="true"]:hover, | |
28 | toolbarbutton.bookmark-item[container="true"]:hover:active, | |
29 | toolbarbutton.bookmark-item[container="true"][open="true"] { | |
b1eaa419 | 30 | color: #000000; |
351107c9 | 31 | } |
32 | ||
b1eaa419 | 33 | toolbarbutton.bookmark-item > .toolbarbutton-menu-dropmarker { |
34 | display: none; | |
351107c9 | 35 | } |
36 | ||
a12570b9 | 37 | .bookmark-item > .menu-iconic-left > .menu-iconic-icon { |
c79d2bbe RK |
38 | max-width: 16px; |
39 | max-height: 16px; | |
a12570b9 | 40 | } |
41 | ||
2b722888 | 42 | .bookmark-group { |
43 | list-style-image: url(chrome://communicator/skin/bookmarks/bookmark-group.gif) !important; | |
44 | } | |
45 | ||
351107c9 | 46 | toolbarbutton.bookmark-item[disabled="true"], |
47 | toolbarbutton.bookmark-item[disabled="true"]:hover, | |
b1eaa419 | 48 | toolbarbutton.bookmark-item[disabled="true"]:hover:active { |
49 | color: #8050B0; | |
50 | text-decoration: none; | |
51 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item-disabled.gif"); | |
52 | cursor: default; | |
351107c9 | 53 | } |
54 | ||
55 | toolbarbutton.bookmark-item[disabled="true"][container="true"], | |
56 | toolbarbutton.bookmark-item[disabled="true"][container="true"]:hover, | |
b1eaa419 | 57 | toolbarbutton.bookmark-item[disabled="true"][container="true"]:hover:active { |
58 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-disabled.gif"); | |
351107c9 | 59 | } |
60 | ||
b1eaa419 | 61 | .menuitem-iconic.bookmark-item[disabled="true"] { |
62 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item-disabled.gif"); | |
351107c9 | 63 | } |
64 | ||
b1eaa419 | 65 | .menu-iconic.bookmark-item[disabled="true"][container="true"] { |
66 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-disabled.gif"); | |
351107c9 | 67 | } |
68 | ||
1d7eeb22 RK |
69 | /* Prevent [mode="icons"] from hiding the label */ |
70 | .bookmark-item > .toolbarbutton-text { | |
71 | display: -moz-box !important; | |
351107c9 | 72 | } |
c79d2bbe | 73 | |
1d7eeb22 RK |
74 | /* ::::: drag and drop styles ::::: */ |
75 | ||
76 | #PlacesToolbarDropIndicator { | |
77 | list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png"); | |
351107c9 | 78 | } |
79 | ||
1d7eeb22 RK |
80 | toolbarbutton.bookmark-item[dragover="true"][open="true"] { |
81 | background-color: #008484 !important; | |
82 | color: #FFCF00 !important; | |
2b722888 | 83 | } |
84 | ||
b1eaa419 | 85 | /* ::::: bookmark menus ::::: */ |
351107c9 | 86 | |
b1eaa419 | 87 | menu.bookmark-item, |
88 | menuitem.bookmark-item { | |
89 | border-top: 1px solid transparent !important; | |
90 | border-bottom: 1px solid transparent !important; | |
f1d07a65 | 91 | padding: 0px 2px; |
351107c9 | 92 | } |
93 | ||
b1eaa419 | 94 | .menuitem-iconic.bookmark-item[disabled="true"] { |
95 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item-disabled.gif"); | |
c79d2bbe | 96 | } |
351107c9 | 97 | |
b1eaa419 | 98 | .menu-iconic.bookmark-item[disabled="true"][container="true"] { |
99 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-disabled.gif"); | |
351107c9 | 100 | } |
351107c9 | 101 | |
b1eaa419 | 102 | /* ..... drag and drop styles ..... */ |
103 | ||
1d7eeb22 RK |
104 | /* rules for menupopup drop indicators */ |
105 | .menupopup-drop-indicator-bar { | |
106 | position: relative; | |
107 | /* these two margins must together compensate the indicator's height */ | |
108 | margin-top: -1px; | |
109 | margin-bottom: -1px; | |
351107c9 | 110 | } |
111 | ||
1d7eeb22 RK |
112 | .menupopup-drop-indicator { |
113 | list-style-image: none; | |
114 | height: 2px; | |
115 | -moz-margin-end: -4em; | |
116 | background-color: #008484; | |
351107c9 | 117 | } |