test different rules for mac detection
[themes.git] / LCARStrek / 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@import url(chrome://communicator/skin/bookmarks/bookmarks.css);
6
7@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
8
9/* ===== bookmarksToolbar.css ===========================================
10 == Styles specific to bookmark items in a toolbar.
11 ======================================================================= */
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 color: #E7ADE7;
24 cursor: default;
25}
26
27toolbarbutton.bookmark-item[container="true"]:hover,
28toolbarbutton.bookmark-item[container="true"]:hover:active,
29toolbarbutton.bookmark-item[container="true"][open="true"] {
30 color: #000000;
31}
32
33toolbarbutton.bookmark-item > .toolbarbutton-menu-dropmarker {
34 display: none;
35}
36
37.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
38 max-width: 16px;
39 max-height: 16px;
40}
41
42.bookmark-group {
43 list-style-image: url(chrome://communicator/skin/bookmarks/bookmark-group.gif) !important;
44}
45
46toolbarbutton.bookmark-item[disabled="true"],
47toolbarbutton.bookmark-item[disabled="true"]:hover,
48toolbarbutton.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;
53}
54
55toolbarbutton.bookmark-item[disabled="true"][container="true"],
56toolbarbutton.bookmark-item[disabled="true"][container="true"]:hover,
57toolbarbutton.bookmark-item[disabled="true"][container="true"]:hover:active {
58 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-disabled.gif");
59}
60
61.menuitem-iconic.bookmark-item[disabled="true"] {
62 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item-disabled.gif");
63}
64
65.menu-iconic.bookmark-item[disabled="true"][container="true"] {
66 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-disabled.gif");
67}
68
69/* Prevent [mode="icons"] from hiding the label */
70.bookmark-item > .toolbarbutton-text {
71 display: -moz-box !important;
72}
73
74/* ::::: drag and drop styles ::::: */
75
76#PlacesToolbarDropIndicator {
77 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
78}
79
80toolbarbutton.bookmark-item[dragover="true"][open="true"] {
81 background-color: #008484 !important;
82 color: #FFCF00 !important;
83}
84
85/* ::::: bookmark menus ::::: */
86
87menu.bookmark-item,
88menuitem.bookmark-item {
89 border-top: 1px solid transparent !important;
90 border-bottom: 1px solid transparent !important;
91 padding: 0px 2px;
92}
93
94.menuitem-iconic.bookmark-item[disabled="true"] {
95 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item-disabled.gif");
96}
97
98.menu-iconic.bookmark-item[disabled="true"][container="true"] {
99 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-disabled.gif");
100}
101
102/* ..... drag and drop styles ..... */
103
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;
110}
111
112.menupopup-drop-indicator {
113 list-style-image: none;
114 height: 2px;
115 -moz-margin-end: -4em;
116 background-color: #008484;
117}