Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | /* joomla.css: Joomla-specific css directives for CiviCRM. */ |
2 | ||
3 | /* | |
4 | ** HTML elements | |
5 | */ | |
6 | div#toolbar-box .icon-48-generic { | |
7 | display: none; | |
8 | } | |
9 | ||
10 | div#toolbar-box { | |
11 | height: 26px; | |
12 | } | |
13 | ||
14 | fieldset { | |
15 | margin-bottom: 1em; | |
16 | padding: .5em; | |
17 | } | |
18 | form { | |
19 | margin: 0; | |
20 | padding: 0; | |
21 | } | |
22 | hr { | |
23 | height: 1px; | |
24 | border: 1px solid gray; | |
25 | } | |
26 | img { | |
27 | border: 0; | |
28 | } | |
29 | /* Added in CiviCRM 2.0 to alleviate tiny font issues. */ | |
30 | #crm-container tr, #crm-container tr td { | |
31 | font-size: 1em; | |
32 | } | |
33 | ||
34 | /* Added in CiviCRM 2.1 to overwrite tiny font in TinyMCE editor. */ | |
35 | #crm-container #content table.mceLayout td { | |
36 | font-size: 0em; | |
37 | } | |
38 | ||
39 | th { | |
40 | text-align: left; | |
41 | padding-right: 1em; | |
42 | border-bottom: 3px solid #ccc; | |
43 | white-space: nowrap; | |
44 | } | |
45 | th.active img { | |
46 | display: inline; | |
47 | } | |
48 | tr.dark, tr.light { | |
49 | background-color: #eee; | |
50 | border-bottom: 1px solid #ccc; | |
51 | padding: 0.1em 0.6em; | |
52 | } | |
53 | ||
54 | td.active { | |
55 | background-color: #ddd; | |
56 | } | |
57 | ||
58 | /* | |
59 | ** Menu styles | |
60 | */ | |
61 | #crm-container .menu { | |
62 | padding: 0 0 0 0.5em; | |
63 | margin: 0 0 0 2em; | |
64 | } | |
65 | #crm-container .menu ul { | |
66 | list-style: none; | |
67 | border: none; | |
68 | text-align:left; | |
69 | } | |
70 | #crm-container .menu li a { | |
71 | width: 100%; | |
72 | text-decoration: none; | |
73 | } | |
74 | #crm-container li.expanded { | |
75 | list-style-type: circle; | |
76 | list-style-image: url(menu-expanded.png); | |
77 | padding: 0.2em 0.5em 0 0; | |
78 | margin: 0; | |
79 | } | |
80 | #crm-container li.collapsed { | |
81 | list-style-type: disc; | |
82 | list-style-image: url(menu-collapsed.png); | |
83 | padding: 0.2em 0.5em 0 0; | |
84 | margin: 0; | |
85 | } | |
86 | #crm-container li a.active { | |
87 | color: #000; | |
88 | } | |
89 | #crm-container td.menu-disabled { | |
90 | background: #ccc; | |
91 | } | |
92 | ||
93 | /* Tab navigation */ | |
94 | #crm-container .tabs { | |
95 | margin: 0 0 0.5em 0.5em; | |
96 | } | |
97 | #crm-container ul.primary { | |
98 | border-collapse: collapse; | |
99 | padding: 0 0 0 1em; | |
100 | white-space: nowrap; | |
101 | list-style: none; | |
102 | margin: 5px; | |
103 | height: auto; | |
104 | line-height: normal; | |
105 | border-bottom: 1px solid #bbb; | |
106 | } | |
107 | #crm-container ul.primary li { | |
108 | display: inline; | |
109 | } | |
110 | #crm-container ul.primary li a { | |
111 | background-color: #ddd; | |
112 | border-color: #bbb; | |
113 | border-width: 1px; | |
114 | border-style: solid solid none solid; | |
115 | height: auto; | |
116 | margin-right: 0.5em; | |
117 | padding: 0 1em; | |
118 | text-decoration: none; | |
119 | } | |
120 | #crm-container ul.primary li.active a { | |
121 | background-color: #fff; | |
122 | border: 1px solid #bbb; | |
123 | border-bottom: #fff 1px solid; | |
124 | } | |
125 | #crm-container ul.primary li a:hover { | |
126 | background-color: #eee; | |
127 | border-color: #ccc; | |
128 | border-bottom-color: #eee; | |
129 | } | |
130 | #crm-container ul.secondary { | |
131 | border-bottom: 1px solid #bbb; | |
132 | padding: 0.5em 1em 0.5em 1em; | |
133 | margin: 5px; | |
134 | } | |
135 | #crm-container ul.secondary li { | |
136 | display: inline; | |
137 | padding: 0 1em; | |
138 | border-right: 1px solid #ccc; | |
139 | } | |
140 | #crm-container ul.secondary a { | |
141 | padding: 0; | |
142 | text-decoration: none; | |
143 | } | |
144 | #crm-container ul.secondary a.active { | |
145 | border-bottom: 4px solid #999; | |
146 | } | |
147 | ||
148 | /* | |
149 | ** Other common styles | |
150 | */ | |
151 | .breadcrumb { | |
152 | padding-bottom: .5em | |
153 | } | |
154 | .block ul { | |
155 | margin: 0; | |
156 | padding: 0 0 0.25em 1em; | |
157 | } | |
158 | br.clear { | |
159 | clear: both; | |
160 | height: 0px; | |
161 | } | |
162 | .container-inline div { | |
163 | display: inline; | |
164 | } | |
165 | .container-inline .form-submit { | |
166 | margin: 0; | |
167 | } | |
168 | .item-list .icon { | |
169 | color: #555; | |
170 | float: right; | |
171 | padding-left: 0.25em; | |
172 | clear: right; | |
173 | } | |
174 | .item-list .icon a { | |
175 | color: #000; | |
176 | text-decoration: none; | |
177 | } | |
178 | .item-list .icon a:hover { | |
179 | color: #000; | |
180 | text-decoration: none; | |
181 | } | |
182 | .item-list .title { | |
183 | font-weight: bold; | |
184 | } | |
185 | .item-list ul { | |
186 | margin: 0 0 0.75em 0; | |
187 | padding: 0; | |
188 | } | |
189 | .item-list ul li { | |
190 | margin: 0 0 0.25em 1.5em; | |
191 | padding: 0; | |
192 | list-style: disc; | |
193 | } | |
194 | .form-item { | |
195 | margin-top: 1em; | |
196 | margin-bottom: 1em; | |
197 | } | |
198 | tr.light .form-item, tr.dark .form-item { | |
199 | margin-top: 0; | |
200 | margin-bottom: 0; | |
201 | white-space: nowrap; | |
202 | } | |
203 | .form-item input.error, .form-item textarea.error { | |
204 | border: 2px solid red; | |
205 | } | |
206 | /* Override .9em field help size from civicrm.css - CiviCRM 2.0 */ | |
207 | #crm-container div.description, #crm-container span.description, #crm-container dd.description { | |
208 | font-size: 1em; | |
209 | } | |
210 | #crm-container div.description, #crm-container span.description { | |
211 | margin: 2px 0 15px 0; | |
212 | display: block; | |
213 | } | |
214 | .form-item label { | |
215 | font-weight: bold; | |
216 | } | |
217 | .form-item label.option { | |
218 | font-weight: normal; | |
219 | } | |
220 | .form-submit { | |
221 | margin: 0.5em 0; | |
222 | } | |
223 | .marker, .form-required { | |
224 | color: #f00; | |
225 | } | |
226 | .more-link { | |
227 | text-align: right; | |
228 | } | |
229 | #pager { | |
230 | clear: both; | |
231 | text-align: center; | |
232 | } | |
233 | #pager div { | |
234 | padding: 0.5em; | |
235 | } | |
236 | .tips { | |
237 | margin-top: 0; | |
238 | margin-bottom: 0; | |
239 | padding-top: 0; | |
240 | padding-bottom: 0; | |
241 | font-size: 0.9em; | |
242 | } | |
243 | .more-help-link { | |
244 | font-size: 0.85em; | |
245 | text-align: right; | |
246 | } | |
247 | ||
248 | ||
249 | /* Stylesheet elements ported from Drupal Bluemarine them */ | |
250 | /* | |
251 | ** HTML elements | |
252 | */ | |
253 | body { | |
254 | padding: 0; | |
255 | color: #000; | |
256 | background-color: #fff; | |
257 | font: 76%; | |
258 | } | |
259 | tr.dark td, tr.light td { | |
260 | padding: 0.3em; | |
261 | } | |
262 | h1, h2, h3, h4, h5, h6 { | |
263 | margin-bottom: 0.5em; | |
264 | } | |
265 | h1 { | |
266 | font-size: 1.3em; | |
267 | } | |
268 | h2 { | |
269 | font-size: 1.2em; | |
270 | } | |
271 | h3, h4, h5, h6 { | |
272 | font-size: 1.1em; | |
273 | } | |
274 | p { | |
275 | margin-top: 0.5em; | |
276 | margin-bottom: 0.9em; | |
277 | } | |
278 | a { | |
279 | text-decoration: none; | |
280 | } | |
281 | a:link { | |
282 | color: #39c; | |
283 | } | |
284 | a:visited { | |
285 | color: #369; | |
286 | } | |
287 | a:hover { | |
288 | color: #39c; | |
289 | text-decoration: underline; | |
290 | } | |
291 | fieldset { | |
292 | border: 1px solid #ccc; | |
293 | } | |
294 | pre { | |
295 | background-color: #eee; | |
296 | padding: 0.75em 1.5em; | |
297 | font-size: 12px; | |
298 | border: 1px solid #ddd; | |
299 | } | |
300 | table { | |
301 | /* make <td> sizes relative to body size! */ | |
302 | font-size: 1em; | |
303 | } | |
304 | .form-item label { | |
305 | font-size: 1em; | |
306 | color: #222; | |
307 | } | |
308 | .item-list .title { | |
309 | font-size: 1em; | |
310 | color: #222; | |
311 | } | |
312 | .links { | |
313 | margin-bottom: 0em; | |
314 | } | |
315 | .comment .links { | |
316 | margin-bottom: 0em; | |
317 | } | |
318 | ||
319 | /* | |
320 | ** Page layout blocks / IDs | |
321 | */ | |
322 | #header, #content { | |
323 | width: 100%; | |
324 | } | |
325 | #header { | |
326 | background-color: #69c; | |
327 | } | |
328 | #logo { | |
329 | vertical-align: middle; | |
330 | border: 0; | |
331 | } | |
332 | #logo img { | |
333 | float: left; | |
334 | padding: 0em 1.0em 0em 1em; | |
335 | border: 0; | |
336 | } | |
337 | #menu { | |
338 | padding: 0 0 0 0; | |
339 | vertical-align: middle; | |
340 | } | |
341 | #primary { | |
342 | font-size: 1.0em; | |
343 | padding: 0em 0.8em 0.5em 0; | |
344 | color: #9cf; | |
345 | } | |
346 | #primary a { | |
347 | font-weight: bold; | |
348 | color: #fff; | |
349 | } | |
350 | #secondary { | |
351 | padding: 0 1em 0.5em 0; | |
352 | font-size: 0.8em; | |
353 | color: #9cf; | |
354 | } | |
355 | #secondary a { | |
356 | font-weight: bold; | |
357 | color: #9cf; | |
358 | } | |
359 | #search .form-text, #search .form-submit { | |
360 | border: 1px solid #369; | |
361 | font-size: 1.1em; | |
362 | } | |
363 | #search .form-text { | |
364 | width: 8em; | |
365 | height: 1.4em; | |
366 | padding: 0 0.5em 0 0.5em; | |
367 | margin: 0 0 0.5em 0; | |
368 | } | |
369 | #search .form-submit { | |
370 | height: 1.5em; | |
371 | } | |
372 | #main { | |
373 | /* padding in px not ex because IE messes up 100% width tables otherwise */ | |
374 | padding: 10px; | |
375 | } | |
376 | #help { | |
377 | font-size: 1em; | |
378 | margin-bottom: 1em; | |
379 | } | |
380 | .breadcrumb { | |
381 | margin-bottom: .5em; | |
382 | } | |
383 | .messages { | |
384 | background-color: #eee; | |
385 | border: 1px solid #ccc; | |
386 | padding: 0.3em; | |
387 | margin-bottom: 1em; | |
388 | } | |
389 | .error { | |
390 | border-color: red; | |
391 | color: red; | |
392 | } | |
393 | #sidebar-left, #sidebar-right { | |
394 | background-color: #ddd; | |
395 | width: 16em; | |
396 | /* padding in px not ex because IE messes up 100% width tables otherwise */ | |
397 | padding: 10px; | |
398 | vertical-align: top; | |
399 | } | |
400 | ||
401 | #content-right { | |
402 | background-color: #FFFFFF; | |
403 | } | |
404 | ||
405 | #footer { | |
406 | padding: 1em; | |
407 | font-size: 0.8em; | |
408 | } | |
409 | ||
410 | /* | |
411 | ** Common declarations for child classes of node, comment, block, box, etc. | |
412 | ** If you want any of them styled differently for a specific parent, add | |
413 | ** additional rules /with only the differing properties!/ to .parent .class. | |
414 | ** See .comment .title for an example. | |
415 | */ | |
416 | .title, .title a { | |
417 | font-weight: normal; | |
418 | font-size: 1.6em; | |
419 | color: #666; | |
420 | margin: 0 auto 0 auto; /* decrease default margins for h<x>.title */ | |
421 | } | |
422 | .block-civicrm #recently-viewed .crm-icon, .crm-icon { | |
423 | margin-top: 0 !important; | |
424 | } | |
425 | .submitted { | |
426 | color: #999; | |
427 | font-size: 0.8em; | |
428 | } | |
429 | .links { | |
430 | color: #999; | |
431 | } | |
432 | .links a { | |
433 | font-weight: bold; | |
434 | } | |
435 | .block, .box { | |
436 | padding: 0 0 1.5em 0; | |
437 | } | |
438 | .block { | |
439 | min-height: 25px; | |
440 | border-bottom: 1px solid #bbb; | |
441 | padding-bottom: 0.75em; | |
442 | margin-bottom: 1.5em; | |
443 | } | |
444 | .block .title { | |
445 | margin-bottom: .25em; | |
446 | } | |
447 | .box .title { | |
448 | font-size: 1.1em; | |
449 | } | |
450 | ||
451 | #module-status, .version { | |
452 | font-size:11px; | |
453 | } | |
454 | #module-status a { | |
455 | font-weight: normal; | |
456 | } | |
457 | .main { | |
458 | text-align:left; | |
459 | } | |
460 | ||
461 | /* Joomla Admin Menu alterations */ | |
462 | /* Moved from civicrm.css in v3.2 */ | |
463 | ||
464 | ul#civicrm-menu { | |
465 | z-index: 1; | |
466 | position:relative; | |
467 | border: none; | |
468 | left:0px; | |
469 | height:0px; | |
470 | padding: 2px 0px 22px 2px !important; | |
471 | padding-bottom:22px !important; /*moz bottom */ | |
472 | padding-bottom:2px; /*ie bottom */ | |
473 | } | |
474 | ||
475 | div#toolbar-box div.m { | |
476 | padding: 0px !important; | |
477 | min-height: 0; | |
478 | border: 0; | |
479 | margin-top: 8px; | |
480 | } | |
481 | ||
482 | div#toolbar-box, div#toolbar-box div.m{ | |
483 | height: auto; | |
484 | } | |
485 | ||
486 | ul#civicrm-menu li#crm-qsearch { | |
487 | height:0px; | |
488 | } | |
489 | .crm-tab-button, | |
490 | .ui-tabs .ui-tabs-nav li { | |
491 | border: 1px; | |
492 | font-size: 110%; | |
493 | } | |
494 | .ui-tabs .ui-tabs-nav { | |
495 | padding: 0.2em 3px 1px; | |
496 | } | |
497 | #mainTabContainer li.crm-tab-button { | |
498 | margin:0 3px 3px 0; | |
499 | border: 1px solid #F5F6F1 !important; | |
500 | } | |
501 | #mainTabContainer li.crm-tab-button.ui-tabs-selected { | |
502 | padding-bottom: 0; | |
503 | border: 1px solid #999 !important; | |
504 | } | |
505 | #crm-container .col1 { | |
506 | margin: 0; | |
507 | } | |
508 | #crm-container .footer { | |
509 | font-size: 1em; | |
510 | } | |
511 | .ac_results .ac_odd { | |
512 | background-color: #444; | |
513 | } | |
514 | ||
515 | #crm-notification-container { | |
516 | top: 100px; | |
517 | } |