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. */ | |
9383ac27 EM |
30 | #crm-container tr, |
31 | #crm-container tr td { | |
6a488035 TO |
32 | font-size: 1em; |
33 | } | |
34 | ||
35 | /* Added in CiviCRM 2.1 to overwrite tiny font in TinyMCE editor. */ | |
36 | #crm-container #content table.mceLayout td { | |
37 | font-size: 0em; | |
38 | } | |
39 | ||
40 | th { | |
41 | text-align: left; | |
42 | padding-right: 1em; | |
43 | border-bottom: 3px solid #ccc; | |
44 | white-space: nowrap; | |
45 | } | |
46 | th.active img { | |
47 | display: inline; | |
48 | } | |
9383ac27 EM |
49 | tr.dark, |
50 | tr.light { | |
6a488035 TO |
51 | background-color: #eee; |
52 | border-bottom: 1px solid #ccc; | |
53 | padding: 0.1em 0.6em; | |
54 | } | |
55 | ||
56 | td.active { | |
57 | background-color: #ddd; | |
58 | } | |
59 | ||
706f4998 KJ |
60 | td.label { |
61 | background: none; | |
2c0ff826 DC |
62 | color: #3e3e3e; |
63 | display: table-cell; | |
706f4998 KJ |
64 | } |
65 | ||
6a488035 TO |
66 | /* |
67 | ** Other common styles | |
68 | */ | |
69 | .breadcrumb { | |
70 | padding-bottom: .5em | |
71 | } | |
72 | .block ul { | |
73 | margin: 0; | |
74 | padding: 0 0 0.25em 1em; | |
75 | } | |
76 | br.clear { | |
77 | clear: both; | |
78 | height: 0px; | |
79 | } | |
80 | .container-inline div { | |
81 | display: inline; | |
82 | } | |
97e557d7 | 83 | .container-inline .crm-form-submit { |
6a488035 TO |
84 | margin: 0; |
85 | } | |
86 | .item-list .icon { | |
87 | color: #555; | |
88 | float: right; | |
89 | padding-left: 0.25em; | |
90 | clear: right; | |
91 | } | |
92 | .item-list .icon a { | |
93 | color: #000; | |
94 | text-decoration: none; | |
95 | } | |
96 | .item-list .icon a:hover { | |
97 | color: #000; | |
98 | text-decoration: none; | |
99 | } | |
100 | .item-list .title { | |
101 | font-weight: bold; | |
102 | } | |
103 | .item-list ul { | |
104 | margin: 0 0 0.75em 0; | |
105 | padding: 0; | |
106 | } | |
107 | .item-list ul li { | |
108 | margin: 0 0 0.25em 1.5em; | |
109 | padding: 0; | |
110 | list-style: disc; | |
111 | } | |
6a488035 | 112 | /* Override .9em field help size from civicrm.css - CiviCRM 2.0 */ |
9383ac27 EM |
113 | #crm-container div.description, |
114 | #crm-container span.description, | |
115 | #crm-container dd.description { | |
6a488035 TO |
116 | font-size: 1em; |
117 | } | |
9383ac27 EM |
118 | #crm-container div.description, |
119 | #crm-container span.description { | |
42d98d3f CW |
120 | margin: 2px 0 15px 0; |
121 | display: block; | |
6a488035 TO |
122 | } |
123 | .form-item label { | |
124 | font-weight: bold; | |
125 | } | |
126 | .form-item label.option { | |
127 | font-weight: normal; | |
128 | } | |
97e557d7 | 129 | .crm-form-submit { |
6a488035 TO |
130 | margin: 0.5em 0; |
131 | } | |
9383ac27 EM |
132 | .marker, |
133 | .form-required { | |
6a488035 TO |
134 | color: #f00; |
135 | } | |
136 | .more-link { | |
137 | text-align: right; | |
138 | } | |
139 | #pager { | |
140 | clear: both; | |
141 | text-align: center; | |
142 | } | |
143 | #pager div { | |
144 | padding: 0.5em; | |
145 | } | |
146 | .tips { | |
147 | margin-top: 0; | |
148 | margin-bottom: 0; | |
149 | padding-top: 0; | |
150 | padding-bottom: 0; | |
151 | font-size: 0.9em; | |
152 | } | |
153 | .more-help-link { | |
154 | font-size: 0.85em; | |
155 | text-align: right; | |
156 | } | |
157 | ||
6a488035 TO |
158 | /* |
159 | ** Page layout blocks / IDs | |
160 | */ | |
9383ac27 EM |
161 | #header, |
162 | #content { | |
6a488035 TO |
163 | width: 100%; |
164 | } | |
6a488035 TO |
165 | #logo { |
166 | vertical-align: middle; | |
167 | border: 0; | |
168 | } | |
169 | #logo img { | |
170 | float: left; | |
171 | padding: 0em 1.0em 0em 1em; | |
172 | border: 0; | |
173 | } | |
174 | #menu { | |
175 | padding: 0 0 0 0; | |
176 | vertical-align: middle; | |
177 | } | |
178 | #primary { | |
179 | font-size: 1.0em; | |
180 | padding: 0em 0.8em 0.5em 0; | |
181 | color: #9cf; | |
182 | } | |
183 | #primary a { | |
184 | font-weight: bold; | |
185 | color: #fff; | |
186 | } | |
187 | #secondary { | |
188 | padding: 0 1em 0.5em 0; | |
189 | font-size: 0.8em; | |
190 | color: #9cf; | |
191 | } | |
192 | #secondary a { | |
193 | font-weight: bold; | |
194 | color: #9cf; | |
195 | } | |
9383ac27 EM |
196 | #search .form-text, |
197 | #search .crm-form-submit { | |
6a488035 TO |
198 | border: 1px solid #369; |
199 | font-size: 1.1em; | |
200 | } | |
201 | #search .form-text { | |
202 | width: 8em; | |
203 | height: 1.4em; | |
204 | padding: 0 0.5em 0 0.5em; | |
205 | margin: 0 0 0.5em 0; | |
206 | } | |
97e557d7 | 207 | #search .crm-form-submit { |
6a488035 TO |
208 | height: 1.5em; |
209 | } | |
210 | #main { | |
211 | /* padding in px not ex because IE messes up 100% width tables otherwise */ | |
212 | padding: 10px; | |
213 | } | |
214 | #help { | |
215 | font-size: 1em; | |
216 | margin-bottom: 1em; | |
217 | } | |
218 | .breadcrumb { | |
219 | margin-bottom: .5em; | |
220 | } | |
221 | .messages { | |
222 | background-color: #eee; | |
223 | border: 1px solid #ccc; | |
224 | padding: 0.3em; | |
225 | margin-bottom: 1em; | |
226 | } | |
227 | .error { | |
228 | border-color: red; | |
229 | color: red; | |
230 | } | |
9383ac27 EM |
231 | #sidebar-left, |
232 | #sidebar-right { | |
6a488035 TO |
233 | background-color: #ddd; |
234 | width: 16em; | |
235 | /* padding in px not ex because IE messes up 100% width tables otherwise */ | |
6ada1cee | 236 | padding: 20px; |
6a488035 TO |
237 | vertical-align: top; |
238 | } | |
239 | ||
240 | #content-right { | |
9383ac27 | 241 | background-color: #ffffff; |
6a488035 TO |
242 | } |
243 | ||
244 | #footer { | |
245 | padding: 1em; | |
246 | font-size: 0.8em; | |
247 | } | |
248 | ||
249 | /* | |
250 | ** Common declarations for child classes of node, comment, block, box, etc. | |
251 | ** If you want any of them styled differently for a specific parent, add | |
252 | ** additional rules /with only the differing properties!/ to .parent .class. | |
253 | ** See .comment .title for an example. | |
254 | */ | |
9383ac27 EM |
255 | .title, |
256 | .title a { | |
6a488035 TO |
257 | font-weight: normal; |
258 | font-size: 1.6em; | |
259 | color: #666; | |
260 | margin: 0 auto 0 auto; /* decrease default margins for h<x>.title */ | |
261 | } | |
9383ac27 EM |
262 | .block-civicrm #recently-viewed .crm-icon, |
263 | .crm-icon { | |
6a488035 TO |
264 | margin-top: 0 !important; |
265 | } | |
266 | .submitted { | |
267 | color: #999; | |
268 | font-size: 0.8em; | |
269 | } | |
270 | .links { | |
271 | color: #999; | |
272 | } | |
273 | .links a { | |
274 | font-weight: bold; | |
275 | } | |
9383ac27 EM |
276 | .block, |
277 | .box { | |
6a488035 TO |
278 | padding: 0 0 1.5em 0; |
279 | } | |
280 | .block { | |
281 | min-height: 25px; | |
282 | border-bottom: 1px solid #bbb; | |
283 | padding-bottom: 0.75em; | |
284 | margin-bottom: 1.5em; | |
285 | } | |
286 | .block .title { | |
287 | margin-bottom: .25em; | |
288 | } | |
289 | .box .title { | |
290 | font-size: 1.1em; | |
291 | } | |
292 | ||
9383ac27 EM |
293 | #module-status, |
294 | .version { | |
295 | font-size: 11px; | |
6a488035 TO |
296 | } |
297 | #module-status a { | |
298 | font-weight: normal; | |
299 | } | |
300 | .main { | |
9383ac27 | 301 | text-align: left; |
6a488035 TO |
302 | } |
303 | ||
304 | /* Joomla Admin Menu alterations */ | |
305 | /* Moved from civicrm.css in v3.2 */ | |
306 | ||
6a488035 TO |
307 | |
308 | div#toolbar-box div.m { | |
42d98d3f | 309 | padding: 0px !important; |
6a488035 TO |
310 | min-height: 0; |
311 | border: 0; | |
312 | margin-top: 8px; | |
313 | } | |
314 | ||
9383ac27 EM |
315 | div#toolbar-box, |
316 | div#toolbar-box div.m { | |
42d98d3f | 317 | height: auto; |
6a488035 TO |
318 | } |
319 | ||
6a488035 TO |
320 | .crm-tab-button, |
321 | .ui-tabs .ui-tabs-nav li { | |
322 | border: 1px; | |
323 | font-size: 110%; | |
324 | } | |
325 | .ui-tabs .ui-tabs-nav { | |
326 | padding: 0.2em 3px 1px; | |
327 | } | |
328 | #mainTabContainer li.crm-tab-button { | |
9383ac27 EM |
329 | margin: 0 3px 3px 0; |
330 | border: 1px solid #f5f6f1 !important; | |
6a488035 TO |
331 | } |
332 | #mainTabContainer li.crm-tab-button.ui-tabs-selected { | |
333 | padding-bottom: 0; | |
334 | border: 1px solid #999 !important; | |
335 | } | |
9cce0639 BS |
336 | #crm-container { |
337 | font-size: 11px; | |
338 | } | |
6a488035 TO |
339 | #crm-container .col1 { |
340 | margin: 0; | |
341 | } | |
342 | #crm-container .footer { | |
343 | font-size: 1em; | |
344 | } | |
345 | .ac_results .ac_odd { | |
346 | background-color: #444; | |
347 | } | |
348 | ||
349 | #crm-notification-container { | |
350 | top: 100px; | |
351 | } | |
9cce0639 | 352 | |
42d98d3f CW |
353 | .crm-container textarea, |
354 | .crm-container input, | |
355 | .crm-container select { | |
9cce0639 | 356 | font-size: 12px; |
9cce0639 BS |
357 | margin-bottom: auto; |
358 | margin-right: 4px; | |
359 | width: auto; | |
360 | padding: 2px 4px; | |
361 | } | |
65b86482 CW |
362 | .crm-container .select2-search input { |
363 | width: 100%; | |
364 | } | |
42d98d3f CW |
365 | .crm-container textarea, |
366 | .crm-container input { | |
155b699d | 367 | height: auto; |
9cce0639 | 368 | } |
f563a06b | 369 | .crm-container button[type=submit] { |
9cce0639 BS |
370 | height: auto; |
371 | } | |
65b86482 | 372 | |
a6f3e563 CW |
373 | .crm-container .disabled { |
374 | font-weight: normal; | |
375 | } | |
3cc8b70b | 376 | |
6cc22adc AF |
377 | #crm-container .form-layout td.label, |
378 | .crm-container .form-layout td.label { | |
3cc8b70b AF |
379 | width: inherit; |
380 | } | |
381 | ||
0682acad | 382 | #crm-container .crm-event-form-fee-block .label { |
3cc8b70b AF |
383 | background-color: inherit; |
384 | width: inherit; | |
385 | display: block; | |
386 | } | |
6ada1cee | 387 | |
ddf4f835 SL |
388 | /* dev/core#874 the width:auto styling above causes the menubar colour picker to be squeezed */ |
389 | .crm-container input.crm-form-color { | |
390 | width: 3.6em; | |
391 | } | |
392 | ||
6ada1cee | 393 | /* Remove Joomla subhead toolbar & whitespace border */ |
f563a06b | 394 | |
6ada1cee | 395 | body.admin.com_civicrm .subhead-collapse { |
9383ac27 | 396 | display: none; |
6ada1cee N |
397 | } |
398 | body.admin.com_civicrm .container-fluid.container-main { | |
9383ac27 EM |
399 | padding: 0; |
400 | border-top: 1px solid #787878; | |
6ada1cee | 401 | } |
85e801ec | 402 | body.admin.com_civicrm.task-civicrmupgrade .container-fluid.container-main { |
9383ac27 | 403 | padding: 10px 25px 25px; |
85e801ec | 404 | } |
6ada1cee | 405 | body.admin.com_civicrm #crm-nav-menu-container { |
9383ac27 | 406 | padding-bottom: 0 !important; |
6ada1cee N |
407 | } |
408 | body.admin.com_civicrm #content-right { | |
9383ac27 | 409 | padding: 12px; |
6ada1cee | 410 | } |
b02b8e4d CW |
411 | |
412 | /* Make footer admin bar hide behind popup windows (CRM-15723) */ | |
413 | body.ui-dialog-open #status { | |
414 | z-index: 100 !important; | |
415 | } | |
604d7c85 N |
416 | |
417 | /* Joomla 4 */ | |
418 | ||
9b210183 | 419 | body.admin.com_civicrm.layout-default #content { |
9383ac27 | 420 | padding: 0; |
604d7c85 | 421 | } |
d0bc77c0 | 422 | |
9b210183 | 423 | body.admin.com_civicrm.layout-default #subhead-container { |
9383ac27 | 424 | display: none; |
604d7c85 | 425 | } |
d0bc77c0 N |
426 | |
427 | body.admin.com_civicrm.layout-default .crm-container .crm-dashlet { | |
9383ac27 | 428 | max-width: 50vw; /* fixes over-wide news dashlet */ |
d0bc77c0 | 429 | } |
854ea646 | 430 | |
9b210183 | 431 | body.admin.com_civicrm.layout-default .crm-container .content { |
9383ac27 | 432 | padding: inherit; /* overrides J4 duplicated padding */ |
9b210183 N |
433 | } |
434 | ||
854ea646 N |
435 | /* J4 Modals */ |
436 | ||
437 | body.admin.com_civicrm.layout-default .crm-container.ui-dialog.ui-resizable { | |
9383ac27 | 438 | z-index: 1021; |
854ea646 N |
439 | } |
440 | ||
441 | body.admin.com_civicrm.layout-default .ui-widget-overlay { | |
9383ac27 | 442 | z-index: 1; |
854ea646 N |
443 | } |
444 | ||
445 | body.admin.com_civicrm.layout-default .crm-container .modal-dialog { | |
9383ac27 EM |
446 | max-width: inherit; |
447 | padding: 0; | |
448 | margin: 0; | |
449 | overflow: scroll; | |
450 | pointer-events: all; | |
854ea646 | 451 | } |