css scoping, false dimensions of <tree>s and urlbar space
[themes.git] / LCARStrek / global / skin / textbox.css
... / ...
CommitLineData
1@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */
2@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */
3
4/** generic text fields (in dialogs)
5 **/
6
7/* outer frame */
8 textbox
9 {
10 -moz-border-radius : 3px;
11 border : 1px solid #9C9CFF;
12 font : inherit;
13 color : #E7ADE7;
14 padding : 0px;
15 margin : 1px 3px 2px 4px;
16 background-color : #000000;
17 cursor : text;
18 }
19
20 textbox[readonly="true"]
21 {
22 border : 1px solid #8050B0;
23 color : #8050B0;
24 }
25
26 textbox[focused="true"]
27 {
28 border : 2px solid #FFCF00;
29 margin : 0px 2px 1px 3px;
30 }
31
32 textbox[focused="true"][readonly="true"]
33 {
34 border : 1px solid #8050B0;
35 margin : 1px 3px 2px 4px;
36 }
37
38/* internal frame */
39 .textbox-internal-box, .textarea-internal-box
40 {
41 -moz-border-radius : 3px;
42 border : none;
43 margin : 0px;
44 padding : 1px 2px 1px 2px;
45 }
46
47 textbox[disabled="true"] > .textbox-internal-box
48 {
49 border : none;
50 }
51
52/* internal text widget */
53 .textbox-input, .textbox-textarea
54 {
55 border : none !important;
56 margin : 0px;
57 padding : 0px;
58 font : inherit;
59 background-color : inherit;
60 color : inherit;
61 }
62
63 textbox[disabled="true"]
64 {
65 cursor : default !important;
66 color : #8050B0;
67 }
68
69/** plain atomic textfields, class="plain" **/
70 textbox.plain,
71 textbox.plain > .textbox-internal-box,
72 textbox.plain > .textarea-internal-box
73 {
74 padding : 0px !important;
75 margin : 0px !important;
76 border : none !important;
77 }
78
79/** inline edit textbox **/
80
81.textbox-inline-edit
82 {
83 border : 1px solid #9C9CFF !important;
84 margin : 0px !important;
85 }
86
87.textbox-inline-edit > .textbox-internal-box > .textbox-input
88 {
89 border : none !important;
90 padding : 0px !important;
91 margin : 0px !important;
92 }
93
94.textbox-inline-edit > .textbox-internal-box
95 {
96 border : none !important;
97 padding : 1px !important;
98 margin : 0px !important;
99 }