some devtools improvements
[themes.git] / EarlyBlue / communicator / bookmarks / bookmarksToolbar.css
... / ...
CommitLineData
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/. */
4
5/* ===== bookmarksToolbar.css ===========================================
6 == Styles specific to bookmark items in a toolbar.
7 ======================================================================= */
8
9@import url(chrome://communicator/skin/bookmarks/bookmarks.css);
10
11@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
12
13/* ::::: bookmark toolbar buttons ::::: */
14
15toolbarbutton.bookmark-item {
16 cursor: pointer;
17 min-width: 0px;
18 max-width: 13em;
19 min-height: 20px;
20}
21
22toolbarbutton.bookmark-item[container="true"] {
23 cursor: default;
24}
25
26toolbarbutton.bookmark-item > .toolbarbutton-menu-dropmarker {
27 display: none;
28}
29
30.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
31 max-width: 16px;
32 max-height: 16px;
33}
34
35.bookmark-group {
36 list-style-image: url(chrome://communicator/skin/bookmarks/bookmark-group.gif) !important;
37}
38
39toolbarbutton.bookmark-item[disabled="true"],
40toolbarbutton.bookmark-item[disabled="true"]:hover,
41toolbarbutton.bookmark-item[disabled="true"]:hover:active {
42 color: #999999;
43 text-decoration: none;
44 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item-disabled.gif");
45 cursor: default;
46}
47
48toolbarbutton.bookmark-item[disabled="true"][container="true"],
49toolbarbutton.bookmark-item[disabled="true"][container="true"]:hover,
50toolbarbutton.bookmark-item[disabled="true"][container="true"]:hover:active {
51 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-disabled.gif");
52}
53
54.menuitem-iconic.bookmark-item[disabled="true"] {
55 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item-disabled.gif");
56}
57
58.menu-iconic.bookmark-item[disabled="true"][container="true"] {
59 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-disabled.gif");
60}
61
62/* Prevent [mode="icons"] from hiding the label */
63.bookmark-item > .toolbarbutton-text {
64 display: -moz-box !important;
65}
66
67/* ::::: drag and drop styles ::::: */
68
69#PlacesToolbarDropIndicator {
70 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
71}
72
73toolbarbutton.bookmark-item[dragover="true"][open="true"] {
74 background-color: #336699 !important;
75 color: #FFFFFF !important;
76}
77
78/* ::::: bookmark menus ::::: */
79
80menu.bookmark-item,
81menuitem.bookmark-item {
82 border-top: 1px solid transparent !important;
83 border-bottom: 1px solid transparent !important;
84 padding: 0px 2px;
85}
86
87.menuitem-iconic.bookmark-item[disabled="true"] {
88 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item-disabled.gif");
89}
90
91.menu-iconic.bookmark-item[disabled="true"][container="true"] {
92 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-disabled.gif");
93}
94
95/* ..... drag and drop styles ..... */
96
97/* rules for menupopup drop indicators */
98.menupopup-drop-indicator-bar {
99 position: relative;
100 /* these two margins must together compensate the indicator's height */
101 margin-top: -1px;
102 margin-bottom: -1px;
103}
104
105.menupopup-drop-indicator {
106 list-style-image: none;
107 height: 2px;
108 -moz-margin-end: -4em;
109 background-color: #336699;
110}