1 | |
---|
2 | @import "menubar.css"; |
---|
3 | @import "content.css"; |
---|
4 | @import "image.css"; |
---|
5 | @import "popuphelp.css"; |
---|
6 | |
---|
7 | /* $Id: default-layout.css 878 2005-09-26 21:17:17Z plg $ */ |
---|
8 | |
---|
9 | /* * { padding: 0 !important; margin: 0 !important; } */ |
---|
10 | |
---|
11 | BODY { |
---|
12 | margin: 5px; |
---|
13 | padding: 0; |
---|
14 | font-size: 100%; |
---|
15 | font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif; |
---|
16 | text-align: center; /* be nice to IE5 */ |
---|
17 | } |
---|
18 | |
---|
19 | #the_page { |
---|
20 | /* Just in case another template needs an inner frame */ |
---|
21 | } |
---|
22 | |
---|
23 | H1 { |
---|
24 | text-align: center; |
---|
25 | font-size: 150%; |
---|
26 | font-weight: bold; |
---|
27 | padding: 0; margin: 1ex 0 2ex 0; |
---|
28 | } |
---|
29 | |
---|
30 | H2 { |
---|
31 | margin: 0; |
---|
32 | padding: 5px; |
---|
33 | text-align: left; |
---|
34 | font-size: 120%; |
---|
35 | } |
---|
36 | |
---|
37 | A { |
---|
38 | text-decoration:none; |
---|
39 | border-bottom: 1px dotted #005e89; |
---|
40 | } |
---|
41 | A:hover { |
---|
42 | border-bottom: 1px solid #858460; |
---|
43 | } |
---|
44 | |
---|
45 | IMG { |
---|
46 | border: none; |
---|
47 | } |
---|
48 | |
---|
49 | HR.separation { |
---|
50 | visibility: hidden; |
---|
51 | clear: both; |
---|
52 | } |
---|
53 | |
---|
54 | #copyright { |
---|
55 | clear: both; |
---|
56 | font-size: 83%; |
---|
57 | text-align: center; |
---|
58 | margin: 0 0 10px 0; |
---|
59 | } |
---|
60 | |
---|
61 | /** General defaults **/ |
---|
62 | ul, dl, li { text-align: left;} |
---|
63 | /* for debugging purpose */ |
---|
64 | pre { text-align:left; } |
---|
65 | |
---|
66 | /** forms **/ |
---|
67 | |
---|
68 | form { padding: 0em; } |
---|
69 | |
---|
70 | /* form row are dl instead of table rows */ |
---|
71 | form dl { |
---|
72 | text-align: left; /* must set it there otherwise IE render dl.biglabel dt incorectly */ |
---|
73 | margin-top: 0; |
---|
74 | margin-bottom: 0; |
---|
75 | font-size: 100%; /* TO DO : alignement pb in Opera !!!*/ |
---|
76 | } |
---|
77 | form dt { |
---|
78 | float: left; |
---|
79 | /*text-align: left;*/ |
---|
80 | width: 60%; |
---|
81 | margin-top: 0.25em; |
---|
82 | margin-bottom: 0.25em; |
---|
83 | } |
---|
84 | form dd { |
---|
85 | /*text-align: left;*/ |
---|
86 | /*margin-top: 0.5em;*/ |
---|
87 | margin:0; |
---|
88 | padding:0; |
---|
89 | margin-top: 0.25em; |
---|
90 | margin-bottom: 0.25em; |
---|
91 | } |
---|
92 | /* we must use one dl.biglabel per <dt><dl> because of positionning */ |
---|
93 | form dl.biglabel { |
---|
94 | position: relative; /* to allow position: absolute in dd*/ |
---|
95 | } |
---|
96 | form dl.biglabel dt { |
---|
97 | float: none; |
---|
98 | } |
---|
99 | |
---|
100 | form dl.biglabel dd { |
---|
101 | /*float: right; do not whant to float ????*/ |
---|
102 | /*width: 60%;*/ |
---|
103 | position: absolute; |
---|
104 | top: 0; |
---|
105 | left: 60%; /* same as form dt width */ |
---|
106 | } |
---|
107 | form dl.biglabel dd { padding-left:2px;} /* IE */ |
---|
108 | form dl.biglabel>dd { padding-left:0;} /* other browsers */ |
---|
109 | |
---|
110 | form p { |
---|
111 | text-align: center; |
---|
112 | margin-top: 2em; |
---|
113 | margin-bottom: 2em; |
---|
114 | } |
---|
115 | .small { |
---|
116 | font-size: 80%; |
---|
117 | } |
---|
118 | |
---|
119 | textarea.description { |
---|
120 | height: 100px; |
---|
121 | width: 500px; |
---|
122 | overflow: auto; |
---|
123 | } |
---|
124 | select.categoryList { |
---|
125 | width: 100%; |
---|
126 | } |
---|
127 | |
---|
128 | /** go to an admin.css ? **/ |
---|
129 | |
---|
130 | .table2 { |
---|
131 | border: 1px solid black; |
---|
132 | margin: 1em auto; |
---|
133 | padding: 0; |
---|
134 | } |
---|
135 | |
---|
136 | .table2 TD, .table2 TH { |
---|
137 | padding: 0 1em; |
---|
138 | } |
---|
139 | |
---|
140 | form#add_virtual p { text-align: left; } |
---|
141 | form#categoryOrdering p { |
---|
142 | text-align: left; |
---|
143 | margin-top: 1em; |
---|
144 | margin-bottom: 1em; |
---|
145 | } |
---|
146 | form#categoryOrdering>ul { |
---|
147 | list-style: none; |
---|
148 | padding: 0; |
---|
149 | margin: 0; |
---|
150 | } |
---|
151 | |
---|
152 | form#categoryOrdering>ul>li { |
---|
153 | border: 1px solid grey; |
---|
154 | padding: 0px 5px; |
---|
155 | margin-bottom: 5px; |
---|
156 | } |
---|
157 | |
---|
158 | form#categoryOrdering ul.categoryActions { |
---|
159 | float: right; |
---|
160 | margin-top: 5px; |
---|
161 | } |
---|
162 | |
---|
163 | form#cat_modify table { width: auto; } |
---|
164 | |
---|
165 | /** |
---|
166 | * Filter forms are displayed label by label with the input (or select...) |
---|
167 | * below the label |
---|
168 | */ |
---|
169 | FIELDSET { |
---|
170 | padding: 1em; |
---|
171 | margin: 1em; |
---|
172 | } |
---|
173 | |
---|
174 | FORM.filter FIELDSET LABEL { |
---|
175 | display: block; |
---|
176 | float: left; |
---|
177 | width: auto; |
---|
178 | margin-right: 10px; |
---|
179 | padding: 0; |
---|
180 | } |
---|
181 | |
---|
182 | FORM.filter FIELDSET LABEL INPUT, FORM.filter FIELDSET LABEL SELECT { |
---|
183 | display: block; |
---|
184 | margin: 0.5em 0; |
---|
185 | } |
---|
186 | |
---|
187 | FORM.filter FIELDSET P, FORM.filter FIELDSET INPUT { |
---|
188 | clear: left; |
---|
189 | display: block; |
---|
190 | } |
---|
191 | |
---|
192 | FORM.filter INPUT[type="submit"] { |
---|
193 | margin-top: 1em; |
---|
194 | } |
---|
195 | |
---|
196 | FORM.properties UL { |
---|
197 | list-style-type: none; |
---|
198 | margin: 0; |
---|
199 | padding: 0; |
---|
200 | } |
---|
201 | |
---|
202 | FORM.properties LI { |
---|
203 | margin-bottom: 0.5em; |
---|
204 | padding: 0; |
---|
205 | line-height: 1.8em; |
---|
206 | } |
---|
207 | |
---|
208 | FORM.properties LABEL { |
---|
209 | float: left; |
---|
210 | width: 50%; |
---|
211 | text-align: right; |
---|
212 | margin: 0; |
---|
213 | padding: 0 0.5em 0 0; |
---|
214 | } |
---|
215 | |
---|
216 | FORM.properties LABEL.mandatory { |
---|
217 | font-weight: bold; |
---|
218 | } |
---|
219 | |
---|
220 | FORM.properties .focus { |
---|
221 | background-color: whitesmoke; |
---|
222 | } |
---|
223 | |
---|
224 | FORM.properties .nofocus { |
---|
225 | background-color: lightgrey; /* must be the same as input background-color */ |
---|
226 | } |
---|
227 | |
---|
228 | FIELDSET.elementEdit A { |
---|
229 | display: block; |
---|
230 | float: right; |
---|
231 | } |
---|
232 | |
---|
233 | TABLE.doubleSelect { |
---|
234 | text-align: center; |
---|
235 | margin: 0 auto; |
---|
236 | width: 100%; |
---|
237 | } |
---|
238 | |
---|
239 | TABLE.doubleSelect TD { |
---|
240 | padding: 0 5px; |
---|
241 | width: 50%; |
---|
242 | } |
---|
243 | |
---|
244 | FORM#categoryPermissions LI { |
---|
245 | display:inline; |
---|
246 | white-space: nowrap; |
---|
247 | } |
---|
248 | |
---|
249 | #theHeader { |
---|
250 | } |
---|
251 | |
---|
252 | #theHeader H1 { |
---|
253 | margin-bottom: 0.5em; |
---|
254 | } |
---|
255 | |
---|
256 | #theHeader P { |
---|
257 | margin-top: 0; |
---|
258 | padding: 0; |
---|
259 | } |
---|
260 | |
---|
261 | BODY#theAdminPage #theHeader P { |
---|
262 | display: none; |
---|
263 | } |
---|
264 | |
---|
265 | BODY#thePopuphelpPage #copyright { |
---|
266 | color: green; |
---|
267 | display: none; |
---|
268 | } |
---|