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