summaryrefslogtreecommitdiffstats
path: root/comm/suite/themes/classic/communicator/places/bookmarksToolbar.css
blob: 68c270b31b4d6212bf6cd6ee076cb3538536dcaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/* ===== bookmarksToolbar.css ===========================================
  == Styles specific to bookmark items in a toolbar.
  ======================================================================= */

@import url("chrome://communicator/skin/places/bookmarks.css");

/* ::::: bookmark toolbar buttons ::::: */

/* ..... bookmark items ..... */

toolbarbutton.bookmark-item {
  min-width: 0px;
  max-width: 13em;
}

toolbarbutton.bookmark-item:not([container="true"]) {
  -moz-appearance: none;
}

toolbarbutton.bookmark-item:not([container="true"]):not([disabled="true"]) {
  cursor: pointer;
}

toolbarbutton.bookmark-item:not([container="true"]):not([disabled="true"]):hover {
  text-decoration: underline;
  color: #0000FF;
}

toolbarbutton.bookmark-item[disabled="true"],
toolbarbutton.bookmark-item:not([container="true"]):hover,
toolbarbutton.bookmark-item:not([container="true"]):hover:active {
  border-top-color: transparent !important;
  border-right-color: transparent !important;
  border-bottom-color: transparent !important;
  border-left-color: transparent !important;
  background: transparent !important;
}

toolbarbutton.bookmark-item[disabled="true"] {
  list-style-image: url("chrome://communicator/skin/places/bookmark-item-dis.png") !important;
}

toolbarbutton.bookmark-item[disabled="true"][container="true"] {
  list-style-image: url("chrome://communicator/skin/places/bookmark-folder-dis.png") !important;
}

.bookmark-item > .toolbarbutton-icon {
  width: 16px;
  height: 16px;
}

.bookmark-item > .toolbarbutton-menu-dropmarker {
  display: none;
}

/* ..... drag and drop styles ..... */

#PlacesToolbarDropIndicator {
  list-style-image: url("chrome://communicator/skin/places/toolbarDropMarker.png");
}

toolbarbutton.bookmark-item[dragover="true"][open="true"] {
  background: Highlight !important;
  color: HighlightText !important;
}

/* ::::: bookmark menus ::::: */

menu.bookmark-item,
menuitem.bookmark-item {
  border-top: 1px solid transparent !important;
  border-bottom: 1px solid transparent !important;
}

.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
  width: 16px;
  height: 16px;
}

.menuitem-iconic.bookmark-item[disabled="true"] {
  list-style-image: url("chrome://communicator/skin/places/bookmark-item-dis.png");
}

.menu-iconic.bookmark-item[disabled="true"][container="true"] {
  list-style-image: url("chrome://communicator/skin/places/bookmark-folder-dis.png");
}

/* ..... drag and drop styles ..... */

/* rules for menupopup drop indicators */
.menupopup-drop-indicator-bar {
  position: relative;
  /* these two margins must together compensate the indicator's height */
  margin-top: -1px;
  margin-bottom: -1px;
}

.menupopup-drop-indicator {
  list-style-image: none;
  height: 2px;
  margin-inline-end: -4em;
  background-color: Highlight;
}