update both themes for the changes in the Mozilla 18 cycle
[themes.git] / LCARStrek / global / textbox.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/* ===== textbox.css ==================================================
6 == Styles used by the XUL textbox 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/* ::::: textbox ::::: */
13
14textbox {
569543b3 15 border-radius: 3px;
d0646e4a 16 -moz-outline-radius: 5px;
b1eaa419 17 cursor: text;
d15efd04 18 margin: 1px 2px;
f98e9249 19 border: 1px solid #9C9CFF;
cfae8c74
RK
20 padding: 1px 0px;
21 -moz-padding-start: 2px;
b1eaa419 22 background-color: #000000;
23 color: #E7ADE7;
b1e5c9b1 24 min-height: 19px;
b1eaa419 25}
26
f98e9249 27html|*.textbox-input,
b1eaa419 28html|*.textbox-textarea {
569543b3 29 border-radius: 3px;
b1eaa419 30 margin: 0px !important;
31 border: none !important;
32 padding: 0px !important;
33 background-color: inherit;
34 color: inherit;
35 font: inherit;
36}
37
706c344c
RK
38html|*.textbox-input:-moz-placeholder,
39html|*.textbox-textarea:-moz-placeholder {
40 color: #6000CF;
41}
42
f98e9249
RK
43.textbox-input-box menupopup {
44 cursor: default;
45}
46
b1eaa419 47/* ..... readonly state ..... */
48
49textbox[readonly="true"] {
50 border: 1px solid #8050B0;
51 color: #8050B0;
52}
53
54/* ..... disabled state ..... */
351107c9 55
b1eaa419 56textbox[disabled="true"] {
f98e9249 57 border: 1px solid #8050B0;
b1eaa419 58 cursor: default;
59 color: #8050B0;
a12570b9 60}
351107c9 61
b1eaa419 62/* ..... focused state ..... */
351107c9 63
b1eaa419 64textbox[focused="true"] {
f98e9249
RK
65 border: 1px solid #008484;
66 outline: 1px solid #008484;
b1eaa419 67}
351107c9 68
b1eaa419 69textbox[focused="true"][readonly="true"] {
f98e9249
RK
70 border: 1px solid #8050B0;
71 outline: none;
b1eaa419 72}
351107c9 73
b1eaa419 74/* ::::: plain textbox ::::: */
351107c9 75
b1eaa419 76textbox.plain {
77 padding: 0px !important;
78 margin: 0px !important;
79 border: none !important;
f98e9249 80 outline: none !important;
cfae8c74 81 background-color: transparent;
a12570b9 82 color: inherit !important;
b1e5c9b1 83 min-height: 0px;
0c7f928d 84}
f98e9249
RK
85
86/* ::::: search textbox ::::: */
87
88.textbox-search-icon {
89 list-style-image: url("chrome://global/skin/icons/search.png");
90 -moz-image-region: rect(0, 16px, 16px, 0);
91}
92
18f5421a 93.textbox-search-icon:-moz-locale-dir(rtl) {
71a617ff 94 transform: scaleX(-1);
f98e9249
RK
95}
96
97.textbox-search-icon[searchbutton]:not([disabled]) {
98 cursor: pointer;
99}
100
101.textbox-search-clear {
102 list-style-image: url("chrome://global/skin/icons/search.png");
18f5421a 103 -moz-image-region: rect(16px, 16px, 32px, 0);
f98e9249
RK
104}
105
106.textbox-search-clear:not([disabled]) {
107 cursor: default;
108}
109
110/* ::::: textboxes inside toolbarpaletteitems ::::: */
111
112toolbarpaletteitem > toolbaritem > textbox > .textbox-input-box > html|*.textbox-input {
113 visibility: hidden;
114}