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