tweaks for making devtools look nicer
[themes.git] / LCARStrek / global / menulist.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/. */
351107c9 4
b1eaa419 5/* ===== menulist.css ===================================================
6 == Styles used by the XUL menulist element.
7 ======================================================================= */
8
f98e9249
RK
9@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
10@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
11
b1eaa419 12/* :::::::::: menulist :::::::::: */
13
14menulist {
569543b3 15 border-radius: 3px;
01d40f5a 16 margin: 1px 2px;
b1eaa419 17 border: 1px solid #9C9CFF;
18 background-color: #000000;
19 color: #E7ADE7;
a064a540 20 text-shadow: none;
b1eaa419 21}
22
23menulist[menuactive="true"],
24menulist:hover {
25 background-color: #FFCF00;
26 color: #000000;
27 border: 1px solid #9C9CFF;
28}
29
30menulist[open="true"] {
31 background-color: #FF9F00;
32 color: #000000;
33 border: 1px solid #FFCF00;
34}
35
36.menulist-label-box {
37 -moz-box-align: center;
38 -moz-box-pack: center;
39/* margin: 1px; */
b1eaa419 40 color: inherit;
41}
42
43.menulist-label {
44 margin: 1px 3px !important;
45}
46
3d6dd546 47.menulist-description {
48 font-style: italic;
a8df931f 49 color: #9C9CFF;
8caa872d 50 -moz-margin-start: 1ex !important;
3d6dd546 51}
52
024ec655 53menulist:focus:not(.menulist-compact) > .menulist-label-box {
f98e9249 54 background-color: #008484;
a8df931f 55 color: #FFCF00;
f98e9249
RK
56}
57
024ec655
RK
58menulist:-moz-focusring:not([open="true"]):not(.menulist-compact) > .menulist-label-box {
59/* border: 1px dotted #FFCF00; */
60}
61
f98e9249
RK
62menulist[disabled="true"] {
63 background-color: #000000;
64 color: #8050B0;
65 border: 1px solid #8050B0;
66}
67
b1eaa419 68/* ..... dropmarker ..... */
69
70.menulist-dropmarker {
569543b3 71 border-radius: 0px 3px 3px 0px;
b1eaa419 72 min-width: 15px;
95c949c5 73 border: none;
b1eaa419 74 border-left: 1px solid #9C9CFF;
b1eaa419 75}
76
77.menulist-dropmarker,
78menulist[disabled="true"]:hover:active > .menulist-dropmarker {
79 padding: 1px;
95c949c5 80 border: none;
81 border-left: 1px solid #9C9CFF;
b1eaa419 82}
83
b1eaa419 84menulist[menuactive="true"] > .menulist-dropmarker,
85menulist[open="true"] > .menulist-dropmarker,
86menulist:hover > .menulist-dropmarker,
87menulist:hover:active > .menulist-dropmarker {
88 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
89}
90
91menulist[menuactive="true"] > .menulist-dropmarker,
92menulist:hover > .menulist-dropmarker {
93 background-color: #FFCF00;
94}
95
f98e9249
RK
96menulist:hover:active > .menulist-dropmarker,
97menulist[open="true"] > .menulist-dropmarker {
02920d2b
RK
98 padding-top: 2px;
99 padding-bottom: 0;
100 -moz-padding-start: 2px;
101 -moz-padding-end: 0;
95c949c5 102 border: none;
b1eaa419 103 border-left: 1px solid #FFCF00;
104 background-color: #FF9F00;
105}
106
f98e9249 107/* ::::: editable menulists ::::: */
b1eaa419 108
f98e9249
RK
109menulist[editable="true"] {
110 color: #E7ADE7;
b1eaa419 111}
112
b1eaa419 113.menulist-editable-box {
114 background-color: #000000;
3d6dd546 115 padding: 2px;
b1eaa419 116}
117
118html|*.menulist-editable-input {
119 margin: 0px !important;
120 border: none !important;
121 padding: 0px !important;
0c5f9076
RK
122 background-color: inherit;
123 color: inherit;
b1eaa419 124 font: inherit;
125}
126
127/* ::::: compact menulists ::::: */
128
129.menulist-compact {
130 -moz-box-align: center;
131 -moz-box-pack: center;
132 margin: 0px;
f98e9249 133 color: #E7ADE7;
b1eaa419 134 border: 1px solid #9C9CFF;
6046f027 135 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
136}
137
6046f027 138.menulist-compact > .menulist-label-box > .menulist-label {
b1eaa419 139 margin: 0 3px !important;
17b8126a 140 text-align: end;
3d6dd546 141}
b1eaa419 142
6046f027 143.menulist-compact > .menulist-label-box > .menulist-icon {
f98e9249 144 -moz-margin-start: 2px;
6046f027 145}
146
b1eaa419 147.menulist-compact[open="true"] {
148 border: 1px solid #FFCF00;
149}
6046f027 150
151.menulist-compact:hover,
152.menulist-compact[open="true"] {
153 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
154}
155
156.menulist-compact[disabled="true"] {
157 list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif");
158}