first part of sync for both themes for toolkit winstripe changes in Mozilla 16 cycle
[themes.git] / LCARStrek / global / textbox.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/* ===== textbox.css ==================================================
6 == Styles used by the XUL textbox element.
7 ======================================================================= */
8
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
12/* ::::: textbox ::::: */
13
14textbox {
15 border-radius: 3px;
16 -moz-outline-radius: 5px;
17 cursor: text;
18 margin: 1px 2px;
19 border: 1px solid #9C9CFF;
20 padding: 1px 0px;
21 -moz-padding-start: 2px;
22 background-color: #000000;
23 color: #E7ADE7;
24 min-height: 19px;
25}
26
27html|*.textbox-input,
28html|*.textbox-textarea {
29 border-radius: 3px;
30 margin: 0px !important;
31 border: none !important;
32 padding: 0px !important;
33 background-color: inherit;
34 color: inherit;
35 font: inherit;
36}
37
38html|*.textbox-input:-moz-placeholder,
39html|*.textbox-textarea:-moz-placeholder {
40 color: #6000CF;
41}
42
43.textbox-input-box menupopup {
44 cursor: default;
45}
46
47/* ..... readonly state ..... */
48
49textbox[readonly="true"] {
50 border: 1px solid #8050B0;
51 color: #8050B0;
52}
53
54/* ..... disabled state ..... */
55
56textbox[disabled="true"] {
57 border: 1px solid #8050B0;
58 cursor: default;
59 color: #8050B0;
60}
61
62/* ..... focused state ..... */
63
64textbox[focused="true"] {
65 border: 1px solid #008484;
66 outline: 1px solid #008484;
67}
68
69textbox[focused="true"][readonly="true"] {
70 border: 1px solid #8050B0;
71 outline: none;
72}
73
74/* ::::: plain textbox ::::: */
75
76textbox.plain {
77 padding: 0px !important;
78 margin: 0px !important;
79 border: none !important;
80 outline: none !important;
81 background-color: transparent;
82 color: inherit !important;
83 min-height: 0px;
84}
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
93.textbox-search-icon:-moz-locale-dir(rtl) {
94 -moz-transform: scaleX(-1);
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");
103 -moz-image-region: rect(16px, 16px, 32px, 0);
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}