29c4873a |
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 | border : 1px inset #CCD0DD; |
29c4873a |
11 | color : #000000; |
12 | padding : 0px; |
13 | margin : 1px 3px 2px 4px; |
14 | background-color : #FFFFFF; |
15 | cursor : text; |
16 | } |
17 | |
18 | textbox[readonly="true"] |
19 | { |
20 | background-color : #CCCCCC; |
21 | } |
22 | |
23 | textbox[focused="true"] |
24 | { |
25 | border : 2px solid #6699cc; |
26 | margin : 0px 2px 1px 3px; |
27 | } |
28 | |
29 | textbox[focused="true"][readonly="true"] |
30 | { |
31 | border : 1px inset #CCCCCC; |
32 | margin : 1px 3px 2px 4px; |
33 | } |
34 | |
35 | /* internal frame */ |
d06746d5 |
36 | .textbox-internal-box, .textarea-internal-box |
29c4873a |
37 | { |
38 | margin : 0px; |
39 | padding : 1px 2px 1px 2px; |
29c4873a |
40 | border : none; |
41 | } |
42 | |
29c4873a |
43 | /* internal text widget */ |
44 | .textbox-input, .textbox-textarea |
45 | { |
46 | border : none !important; |
47 | margin : 0px; |
d06746d5 |
48 | padding : 0px; |
29c4873a |
49 | font : inherit; |
50 | background-color : inherit; |
d06746d5 |
51 | color : inherit; |
29c4873a |
52 | } |
53 | |
54 | textbox[disabled="true"] |
55 | { |
d06746d5 |
56 | cursor : default !important; |
57 | background-color : white; |
58 | color : #CCCCCC; |
29c4873a |
59 | } |
60 | |
d06746d5 |
61 | /** plain atomic textboxs, class="plain" **/ |
29c4873a |
62 | textbox.plain, |
63 | textbox.plain > .textbox-internal-box, |
64 | textbox.plain > .textarea-internal-box |
65 | { |
66 | padding : 0px !important; |
67 | margin : 0px !important; |
68 | border : none !important; |
69 | } |
70 | |
d06746d5 |
71 | /** inline edit textbox **/ |
72 | |
73 | .textbox-inline-edit |
74 | { |
75 | border : 1px solid #6699FF !important; |
76 | margin : 0px !important; |
77 | } |
78 | |
79 | .textbox-inline-edit > .textbox-internal-box > .textbox-input |
80 | { |
81 | border : none !important; |
82 | padding : 0px !important; |
83 | margin : 0px !important; |
84 | } |
85 | |
86 | .textbox-inline-edit > .textbox-internal-box |
87 | { |
88 | border : none !important; |
89 | padding : 1px !important; |
90 | margin : 0px !important; |
91 | } |
92 | |
93 | |
94 | |