making attachment pane size correctly
[themes.git] / LCARStrek / global / skin / textfield.css
CommitLineData
c9990331 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
40 {
41 -moz-border-radius : 3px;
42 margin : 0px;
43 padding : 1px 2px 1px 2px;
44 cursor : text;
45 border : none;
46 background-color : inherit;
47 color : inherit;
48 }
49
50 textbox[disabled="true"] > .textbox-internal-box
51 {
52 border : none;
53 }
54
55 .textarea-internal-box
56 {
57 padding : 0px 0px 0px 2px;
58 }
59
60/* internal text widget */
61 .textbox-input, .textbox-textarea
62 {
63 color : inherit;
64 border : none !important;
65 margin : 0px;
66 font : inherit;
67 background-color : inherit;
68 }
69
70 textbox[disabled="true"]
71 {
72 cursor : default ! important;
73 }
74
75/** plain atomic textfields, class="plain" **/
76 textbox.plain,
77 textbox.plain > .textbox-internal-box,
78 textbox.plain > .textarea-internal-box
79 {
80 padding : 0px !important;
81 margin : 0px !important;
82 border : none !important;
83 }
84
85 .scrollfield
86 {
87 border : none !important;
88 margin : 0px;
89 margin-top : 1px;
90 padding : 0px !important;
91 background : inherit;
92 }
93
94 .scrollfield > .textbox-internal-box
95 {
96 border : none !important;
97 margin : 0px !important;
98 padding : 0px !important;
99 }
100
101
102