1 /* |
|
2 * :organization: Logilab |
|
3 * :copyright: 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
|
4 * :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
|
5 */ |
|
6 |
|
7 /***************************************/ |
|
8 /* xhtml tags */ |
|
9 /***************************************/ |
|
10 * { |
|
11 margin: 0px; |
|
12 padding: 0px; |
|
13 } |
|
14 |
|
15 html, body { |
|
16 background: #e2e2e2; |
|
17 } |
|
18 |
|
19 body { |
|
20 font-size: 69%; |
|
21 font-weight: normal; |
|
22 font-family: Verdana, sans-serif; |
|
23 } |
|
24 |
|
25 h1, |
|
26 .vtitle { |
|
27 font-size: %(h1FontSize)s; |
|
28 margin: 0.2em 0px 0.5em; |
|
29 border-bottom: 1px solid #000; |
|
30 } |
|
31 |
|
32 h2, h3 { |
|
33 margin-top: 0.2em; |
|
34 margin-bottom: 0.5em; |
|
35 } |
|
36 |
|
37 h2 { |
|
38 font-size: %(h2FontSize)s; |
|
39 } |
|
40 |
|
41 h3 { |
|
42 font-size: %(h3FontSize)s; |
|
43 } |
|
44 |
|
45 h4 { |
|
46 font-size: %(h4FontSize)s; |
|
47 margin: 0.2em 0px; |
|
48 } |
|
49 |
|
50 h5 { |
|
51 font-size:110%; |
|
52 } |
|
53 |
|
54 h6{ |
|
55 font-size:105%; |
|
56 } |
|
57 |
|
58 /* more specific selectors to override jQueryUI's braindamaged CSS rules */ |
|
59 #pageContent .ui-tabs-panel a, |
|
60 #pageContent .ui-tabs-panel a:active, |
|
61 #pageContent .ui-tabs-panel a:visited, |
|
62 #pageContent .ui-tabs-panel a:link, |
|
63 a, a:active, a:visited, a:link { |
|
64 color: %(aColor)s; |
|
65 text-decoration: none; |
|
66 } |
|
67 |
|
68 a:hover{ |
|
69 text-decoration: underline; |
|
70 } |
|
71 |
|
72 a img{ |
|
73 text-align: center; |
|
74 } |
|
75 |
|
76 img{ |
|
77 border: none; |
|
78 } |
|
79 |
|
80 img.prevnext { |
|
81 width: 22px; |
|
82 height: 22px; |
|
83 } |
|
84 |
|
85 img.prevnext_nogo { |
|
86 width: 22px; |
|
87 height: 22px; |
|
88 filter:alpha(opacity=25); /* IE */ |
|
89 opacity:.25; |
|
90 } |
|
91 |
|
92 p { |
|
93 margin: 0em 0px 0.5em; |
|
94 padding-top: 2px; |
|
95 } |
|
96 |
|
97 table, td, input, select{ |
|
98 font-size: 100%; |
|
99 } |
|
100 |
|
101 table { |
|
102 border-collapse: collapse; |
|
103 border: none; |
|
104 } |
|
105 |
|
106 table th, table td { |
|
107 vertical-align: top; |
|
108 } |
|
109 |
|
110 table td img { |
|
111 vertical-align: middle; |
|
112 margin-right: 10px; |
|
113 } |
|
114 |
|
115 ol { |
|
116 margin: 1px 0px 1px 16px; |
|
117 } |
|
118 |
|
119 ul{ |
|
120 margin: 1px 0px 1px 4px; |
|
121 list-style-type: none; |
|
122 } |
|
123 |
|
124 ul > li { |
|
125 margin-top: 2px; |
|
126 padding: 0px 0px 2px 8px; |
|
127 background: url("bullet_orange.png") 0% 6px no-repeat; |
|
128 } |
|
129 |
|
130 dt { |
|
131 font-size:1.17em; |
|
132 font-weight:600; |
|
133 } |
|
134 |
|
135 dd { |
|
136 margin: 0.6em 0 1.5em 2em; |
|
137 } |
|
138 |
|
139 fieldset { |
|
140 border: none; |
|
141 } |
|
142 |
|
143 legend { |
|
144 padding: 0px 2px; |
|
145 font: bold 1em Verdana, sans-serif; |
|
146 } |
|
147 |
|
148 input, textarea { |
|
149 padding: 0.2em; |
|
150 vertical-align: middle; |
|
151 border: 1px solid #ccc; |
|
152 } |
|
153 |
|
154 input:focus { |
|
155 border: 1px inset #ff7700; |
|
156 } |
|
157 |
|
158 label, .label { |
|
159 font-weight: bold; |
|
160 } |
|
161 |
|
162 iframe { |
|
163 border: 0px; |
|
164 } |
|
165 |
|
166 pre { |
|
167 font-family: Courier, "Courier New", Monaco, monospace; |
|
168 font-size: 100%; |
|
169 color: #000; |
|
170 background-color: #f2f2f2; |
|
171 border: 1px solid #ccc; |
|
172 margin: 10px 0; |
|
173 padding-bottom: 12px; |
|
174 padding-left: 5px; |
|
175 } |
|
176 |
|
177 code { |
|
178 font-size: 120%; |
|
179 color: #000; |
|
180 background-color: #f2f2f2; |
|
181 border: 1px solid #ccc; |
|
182 } |
|
183 |
|
184 blockquote { |
|
185 font-family: Courier, "Courier New", serif; |
|
186 font-size: 120%; |
|
187 margin: 5px 0px; |
|
188 padding: 0.8em; |
|
189 background-color: #f2f2f2; |
|
190 border: 1px solid #ccc; |
|
191 } |
|
192 |
|
193 /***************************************/ |
|
194 /* generic classes */ |
|
195 /***************************************/ |
|
196 |
|
197 .odd { |
|
198 background-color: #f7f6f1; |
|
199 } |
|
200 |
|
201 .even { |
|
202 background-color: transparent; |
|
203 } |
|
204 |
|
205 .hr { |
|
206 border-bottom: 1px dotted #ccc; |
|
207 margin: 1em 0px; |
|
208 } |
|
209 |
|
210 .left { |
|
211 float: left; |
|
212 } |
|
213 |
|
214 .right { |
|
215 float: right; |
|
216 } |
|
217 |
|
218 .clear { |
|
219 clear: both; |
|
220 } |
|
221 |
|
222 .hidden { |
|
223 display: none; |
|
224 visibility: hidden; |
|
225 } |
|
226 |
|
227 /* copied verbatim from bootstrap 3.0 */ |
|
228 .invisible { |
|
229 visibility: hidden; |
|
230 } |
|
231 |
|
232 /* copied verbatim from bootstrap 3.0 */ |
|
233 .list-unstyled { |
|
234 padding-left: 0; |
|
235 list-style: none; |
|
236 } |
|
237 |
|
238 .caption { |
|
239 font-weight: bold; |
|
240 } |
|
241 |
|
242 .legend{ |
|
243 font-style: italic; |
|
244 } |
|
245 |
|
246 /* rest related image classes generated with align: directive */ |
|
247 |
|
248 img.align-right { |
|
249 margin-left: auto; |
|
250 display:block; |
|
251 } |
|
252 |
|
253 img.align-left { |
|
254 margin-right: auto; |
|
255 display:block; |
|
256 } |
|
257 |
|
258 img.align-center{ |
|
259 text-align: center; |
|
260 margin-left: auto; |
|
261 margin-right: auto; |
|
262 display:block; |
|
263 } |
|
264 |
|
265 |
|
266 /***************************************/ |
|
267 /* LAYOUT */ |
|
268 /***************************************/ |
|
269 |
|
270 /* header */ |
|
271 |
|
272 table#header { |
|
273 background-image: linear-gradient(white, #e2e2e2); |
|
274 width: 100%; |
|
275 border-bottom: 1px solid #bbb; |
|
276 text-shadow: 1px 1px 0 #f5f5f5; |
|
277 } |
|
278 |
|
279 table#header td { |
|
280 vertical-align: middle; |
|
281 } |
|
282 |
|
283 table#header, table#header a { |
|
284 color: #444; |
|
285 } |
|
286 |
|
287 table#header td#headtext { |
|
288 white-space: nowrap; |
|
289 padding: 0 10px; |
|
290 width: 10%; |
|
291 } |
|
292 |
|
293 #logo{ |
|
294 width: 150px; |
|
295 height: 42px; |
|
296 background-image: url(logo-cubicweb.svg); |
|
297 background-repeat: no-repeat; |
|
298 background-position: center center; |
|
299 background-size: contain; |
|
300 float: left; |
|
301 } |
|
302 |
|
303 table#header td#header-right { |
|
304 white-space: nowrap; |
|
305 width: 10%; |
|
306 } |
|
307 table#header td#header-center{ |
|
308 border-bottom-left-radius: 10px; |
|
309 border-top-left-radius: 10px; |
|
310 padding-left: 1em; |
|
311 } |
|
312 |
|
313 span#appliName { |
|
314 font-weight: bold; |
|
315 white-space: nowrap; |
|
316 } |
|
317 |
|
318 /* FIXME appear with 4px width in IE6 */ |
|
319 div#stateheader{ |
|
320 min-width: 66%; |
|
321 } |
|
322 |
|
323 /* Popup on login box and userActionBox */ |
|
324 |
|
325 .popupWrapper{ |
|
326 position:relative; |
|
327 } |
|
328 |
|
329 div.popup { |
|
330 position: absolute; |
|
331 background: #fff; |
|
332 border: 1px solid black; |
|
333 text-align: left; |
|
334 z-index: 400; |
|
335 } |
|
336 |
|
337 div.popup ul li a { |
|
338 text-decoration: none; |
|
339 color: black; |
|
340 } |
|
341 |
|
342 /* main zone */ |
|
343 |
|
344 div#page { |
|
345 background: #e2e2e2; |
|
346 position: relative; |
|
347 min-height: 800px; |
|
348 } |
|
349 |
|
350 table#mainLayout{ |
|
351 padding: 0px 3px; |
|
352 } |
|
353 |
|
354 table#mainLayout td#contentColumn { |
|
355 padding: 8px 10px 5px; |
|
356 } |
|
357 |
|
358 table#mainLayout td#navColumnLeft, |
|
359 table#mainLayout td#navColumnRight { |
|
360 width: 150px; |
|
361 } |
|
362 |
|
363 #contentheader { |
|
364 margin: 0px; |
|
365 padding: 0.2em 0.5em 0.5em 0.5em; |
|
366 } |
|
367 |
|
368 #contentheader a { |
|
369 color: #000; |
|
370 } |
|
371 |
|
372 div#pageContent { |
|
373 clear: both; |
|
374 padding: 10px 1em 2em; |
|
375 background: #ffffff; |
|
376 border-radius: 3px; |
|
377 border: 1px solid #ccc; |
|
378 } |
|
379 |
|
380 /* rql bar */ |
|
381 |
|
382 div#rqlinput { |
|
383 border: 1px solid #cfceb7; |
|
384 margin-bottom: 8px; |
|
385 padding: 1px; |
|
386 background: #cfceb7; |
|
387 width: 100%; |
|
388 } |
|
389 |
|
390 input#rql { |
|
391 width: 99%; |
|
392 } |
|
393 |
|
394 input.rqlsubmit{ |
|
395 display: block; |
|
396 width: 20px; |
|
397 height: 20px; |
|
398 background: %(buttonBgColor)s url("go.png") 50% 50% no-repeat; |
|
399 vertical-align: bottom; |
|
400 } |
|
401 /* old boxes, deprecated */ |
|
402 |
|
403 div.boxFrame { |
|
404 width: 100%; |
|
405 } |
|
406 |
|
407 div.boxTitle { |
|
408 padding-top: 0px; |
|
409 padding-bottom: 0.2em; |
|
410 color: #fff; |
|
411 background: #ff9900 url("search.png") left bottom repeat-x; |
|
412 } |
|
413 |
|
414 div.boxTitle span, |
|
415 div.sideBoxTitle span { |
|
416 padding: 0px 5px; |
|
417 white-space: nowrap; |
|
418 } |
|
419 |
|
420 div.sideBoxTitle span { |
|
421 color: #222211; |
|
422 } |
|
423 |
|
424 .boxFrame a { |
|
425 color: #000; |
|
426 } |
|
427 |
|
428 div.boxContent { |
|
429 padding: 3px 0px; |
|
430 background: #fff; |
|
431 border-top: none; |
|
432 } |
|
433 |
|
434 div.shadow{ |
|
435 height: 14px; |
|
436 } |
|
437 |
|
438 div.sideBoxTitle { |
|
439 background: #cfceb7; |
|
440 display: block; |
|
441 font: bold 100% Georgia; |
|
442 border-top-left-radius: 6px; |
|
443 border-top-right-radius: 6px; |
|
444 } |
|
445 |
|
446 #navColumnLeft div.boxTitle { |
|
447 border-top-left-radius: 0px; |
|
448 } |
|
449 |
|
450 div.sideBox { |
|
451 padding: 0 0 0.2em; |
|
452 margin-bottom: 0.5em; |
|
453 } |
|
454 |
|
455 ul.sideBox li { |
|
456 list-style: none; |
|
457 background: none; |
|
458 padding: 0px 0px 1px 1px; |
|
459 } |
|
460 |
|
461 div.sideBoxBody { |
|
462 padding: 0.2em 5px; |
|
463 background: #eeedd9; |
|
464 border-bottom-left-radius: 6px; |
|
465 border-bottom-right-radius: 6px; |
|
466 } |
|
467 |
|
468 div.sideBoxBody a { |
|
469 color:#555544; |
|
470 } |
|
471 |
|
472 div.sideBoxBody a:hover { |
|
473 text-decoration: underline; |
|
474 } |
|
475 |
|
476 div.sideBox table td { |
|
477 padding-right: 1em; |
|
478 } |
|
479 |
|
480 /* boxes */ |
|
481 |
|
482 div.navboxes { |
|
483 padding-top: 8px; |
|
484 } |
|
485 |
|
486 div.boxTitle { |
|
487 overflow: hidden; |
|
488 font-weight: bold; |
|
489 border-top-left-radius: 6px; |
|
490 border-top-right-radius: 6px; |
|
491 } |
|
492 |
|
493 div.boxTitle span { |
|
494 padding: 0px 0.5em; |
|
495 white-space: nowrap; |
|
496 } |
|
497 |
|
498 div.boxBody { |
|
499 padding: 3px 3px; |
|
500 border-top: none; |
|
501 background-color: %(leftrightBoxBodyBgColor)s; |
|
502 border-bottom-left-radius: 2px; |
|
503 border-bottom-right-radius: 2px; |
|
504 } |
|
505 |
|
506 div.boxBody a { |
|
507 color: %(leftrightBoxBodyColor)s; |
|
508 } |
|
509 |
|
510 div.boxBody a:hover { |
|
511 text-decoration: none; |
|
512 cursor: pointer; |
|
513 background-color: %(leftrightBoxBodyHoverBgColor)s; |
|
514 } |
|
515 |
|
516 hr.boxSeparator { |
|
517 margin-top: 0.5em; |
|
518 margin-bottom: 0.5em; |
|
519 } |
|
520 |
|
521 /* boxes contextual customization */ |
|
522 |
|
523 .contextFreeBox div.boxTitle { |
|
524 background: %(contextFreeBoxTitleBg)s; |
|
525 color: %(contextFreeBoxTitleColor)s; |
|
526 } |
|
527 .contextFreeBox div.boxTitle span { |
|
528 text-shadow: 0px 1px 0 #ccc; |
|
529 } |
|
530 |
|
531 .contextualBox div.boxTitle { |
|
532 background: %(contextualBoxTitleBg)s; |
|
533 color: %(contextualBoxTitleColor)s; |
|
534 } |
|
535 |
|
536 .primaryRight div.boxTitle { |
|
537 background: %(incontextBoxTitleBg)s; |
|
538 color: %(incontextBoxTitleColor)s; |
|
539 } |
|
540 |
|
541 .primaryRight div.boxBody { |
|
542 padding: 0.2em 5px; |
|
543 background: %(incontextBoxBodyBgColor)s; |
|
544 } |
|
545 |
|
546 .primaryRight div.boxBody a { |
|
547 color: %(incontextBoxBodyColor)s; |
|
548 } |
|
549 |
|
550 .primaryRight div.boxBody a:hover { |
|
551 background-color: %(incontextBoxBodyHoverBgColor)s; |
|
552 } |
|
553 |
|
554 .primaryRight div.boxFooter { |
|
555 margin-bottom: 1em; |
|
556 } |
|
557 |
|
558 #navColumnLeft div.boxFooter, #navColumnRight div.boxFooter{ |
|
559 height: 14px; |
|
560 } |
|
561 |
|
562 .navboxes { |
|
563 padding: 0px; |
|
564 } |
|
565 |
|
566 .boxBody, .boxTitle, #appMsg { |
|
567 box-shadow: 1px 1px 3px Gray; |
|
568 } |
|
569 |
|
570 /* boxes lists and menus */ |
|
571 |
|
572 ul.boxListing { |
|
573 margin: 0; |
|
574 padding: 0; |
|
575 } |
|
576 |
|
577 ul.boxListing ul { |
|
578 padding: 1px 3px; |
|
579 } |
|
580 |
|
581 ul.boxListing a { |
|
582 color: %(defaultColor)s; |
|
583 padding: 1px 3px; |
|
584 display: block; /* necessary to get links across all width available (see on mouse over) */ |
|
585 } |
|
586 |
|
587 ul.boxListing a.action { |
|
588 padding: 0; |
|
589 display: inline; |
|
590 } |
|
591 |
|
592 ul.boxListing a.action + a{ |
|
593 display: inline; |
|
594 } |
|
595 |
|
596 ul.boxListing li { |
|
597 margin: 0px; |
|
598 padding: 0px; |
|
599 background-image: none; |
|
600 } |
|
601 |
|
602 ul.boxListing ul li { |
|
603 margin: 0px; |
|
604 padding-left: 1em; |
|
605 } |
|
606 |
|
607 ul.boxListing ul li a { |
|
608 padding-left: 10px; |
|
609 background-image: url("bullet_orange.png"); |
|
610 background-repeat: no-repeat; |
|
611 background-position: 0 6px; |
|
612 } |
|
613 |
|
614 ul.boxListing .selected { |
|
615 color: %(aColor)s; |
|
616 font-weight: bold; |
|
617 } |
|
618 |
|
619 ul.boxListing a.boxMenu:hover { |
|
620 border-top: medium none; |
|
621 background: %(leftrightBoxBodyHoverBgColor)s; |
|
622 } |
|
623 |
|
624 a.boxMenu, |
|
625 ul.boxListing a.boxMenu { |
|
626 display: block; |
|
627 padding: 1px 3px; |
|
628 background: transparent %(bulletDownImg)s; |
|
629 } |
|
630 |
|
631 ul.boxListing a.boxMenu:hover { |
|
632 border-top: medium none; |
|
633 background: %(leftrightBoxBodyHoverBgColor)s %(bulletDownImg)s; |
|
634 } |
|
635 |
|
636 a.boxMenu:hover { |
|
637 cursor: pointer; |
|
638 } |
|
639 |
|
640 a.popupMenu { |
|
641 background: transparent url("puce_down_black.png") 2% 6px no-repeat; |
|
642 padding-left: 2em; |
|
643 } |
|
644 |
|
645 |
|
646 /* custom boxes */ |
|
647 |
|
648 .search_box div.boxBody { |
|
649 padding: 4px 4px 3px; |
|
650 background: #f0eff0 url("gradient-grey-up.png") left top repeat-x; |
|
651 } |
|
652 |
|
653 .bookmarks_box ul.boxListing div { |
|
654 padding-bottom: 0.3em; |
|
655 } |
|
656 |
|
657 .download_box div.boxTitle { |
|
658 background : #8fbc8f !important; |
|
659 } |
|
660 |
|
661 .download_box div.boxBody { |
|
662 background : #eefed9; |
|
663 vertical-align: center; |
|
664 } |
|
665 |
|
666 /* user actions menu */ |
|
667 a.logout, a.logout:visited, a.logout:hover{ |
|
668 color: #fff; |
|
669 text-decoration: none; |
|
670 } |
|
671 |
|
672 div#userActionsBox { |
|
673 width: 14em; |
|
674 text-align: right; |
|
675 display: inline-block; |
|
676 padding-right: 10px; |
|
677 } |
|
678 |
|
679 div#userActionsBox a.popupMenu { |
|
680 color: black; |
|
681 text-decoration: underline; |
|
682 padding-right: 2em; |
|
683 } |
|
684 |
|
685 /**************/ |
|
686 /* navigation */ |
|
687 /**************/ |
|
688 div#etyperestriction { |
|
689 margin-bottom: 1ex; |
|
690 border-bottom: 1px solid #ccc; |
|
691 } |
|
692 |
|
693 div.pagination{ |
|
694 margin: 0.5em 0; |
|
695 } |
|
696 |
|
697 span.slice a:visited, |
|
698 span.slice a:hover{ |
|
699 color: #555544; |
|
700 } |
|
701 |
|
702 span.selectedSlice a:visited, |
|
703 span.selectedSlice a { |
|
704 background-color: #EBE8D9; |
|
705 } |
|
706 |
|
707 /* FIXME should be moved to cubes/folder */ |
|
708 div.navigation a { |
|
709 text-align: center; |
|
710 text-decoration: none; |
|
711 } |
|
712 |
|
713 div.prevnext { |
|
714 width: 100%; |
|
715 margin-bottom: 1em; |
|
716 } |
|
717 |
|
718 div.prevnext a { |
|
719 color: #000; |
|
720 } |
|
721 |
|
722 /***************************************/ |
|
723 /* entity views */ |
|
724 /***************************************/ |
|
725 |
|
726 .mainInfo { |
|
727 margin-right: 1em; |
|
728 padding: 0.2em; |
|
729 } |
|
730 |
|
731 |
|
732 div.mainRelated { |
|
733 border: none; |
|
734 margin-right: 1em; |
|
735 padding: 0.5em 0.2em 0.2em; |
|
736 } |
|
737 |
|
738 div.primaryRight{ |
|
739 } |
|
740 |
|
741 div.metadata { |
|
742 font-size: 90%; |
|
743 margin: 5px 0px 3px; |
|
744 color: #666; |
|
745 font-style: italic; |
|
746 text-align: right; |
|
747 } |
|
748 |
|
749 div.section { |
|
750 margin-top: 0.5em; |
|
751 width:100%; |
|
752 } |
|
753 |
|
754 div.section a:hover { |
|
755 text-decoration: none; |
|
756 } |
|
757 |
|
758 /* basic entity view */ |
|
759 |
|
760 tr.entityfield th { |
|
761 text-align: left; |
|
762 padding-right: 0.5em; |
|
763 } |
|
764 |
|
765 div.field { |
|
766 display: inline; |
|
767 } |
|
768 |
|
769 div.ctxtoolbar { |
|
770 float: right; |
|
771 padding-left: 24px; |
|
772 position: relative; |
|
773 } |
|
774 div.toolbarButton { |
|
775 display: inline; |
|
776 } |
|
777 |
|
778 /***************************************/ |
|
779 /* messages */ |
|
780 /***************************************/ |
|
781 |
|
782 .warning, |
|
783 .message, |
|
784 .errorMessage , |
|
785 .searchMessage{ |
|
786 padding: 0.3em 0.3em 0.3em 1em; |
|
787 font-weight: bold; |
|
788 } |
|
789 |
|
790 .loginMessage { |
|
791 margin: 4px 0px; |
|
792 font-weight: bold; |
|
793 color: #ff7700; |
|
794 } |
|
795 |
|
796 div#appMsg, div.appMsg{ |
|
797 border: 1px solid #cfceb7; |
|
798 margin-bottom: 8px; |
|
799 padding: 3px; |
|
800 background: #f8f8ee; |
|
801 } |
|
802 |
|
803 .message { |
|
804 margin: 0px; |
|
805 background: #f8f8ee url("information.png") 5px center no-repeat; |
|
806 padding-left: 15px; |
|
807 } |
|
808 |
|
809 .errorMessage { |
|
810 margin: 10px 0px; |
|
811 padding-left: 25px; |
|
812 background: #f7f6f1 url("critical.png") 2px center no-repeat; |
|
813 color: #ed0d0d; |
|
814 border: 1px solid #cfceb7; |
|
815 } |
|
816 |
|
817 .searchMessage { |
|
818 margin-top: 0.5em; |
|
819 border-top: 1px solid #cfceb7; |
|
820 background: #eeedd9 url("information.png") 0% 50% no-repeat; /*dcdbc7*/ |
|
821 } |
|
822 |
|
823 .stateMessage { |
|
824 border: 1px solid #ccc; |
|
825 background: #f8f8ee url("information.png") 10px 50% no-repeat; |
|
826 padding:4px 0px 4px 20px; |
|
827 border-width: 1px 0px 1px 0px; |
|
828 } |
|
829 |
|
830 /* warning messages like "There are too many results ..." */ |
|
831 .warning { |
|
832 padding-left: 25px; |
|
833 background: #f2f2f2 url("critical.png") 3px 50% no-repeat; |
|
834 } |
|
835 |
|
836 /* label shown in the top-right hand corner during form validation */ |
|
837 div#progress { |
|
838 position: fixed; |
|
839 right: 5px; |
|
840 top: 0px; |
|
841 background: #222211; |
|
842 color: white; |
|
843 font-weight: bold; |
|
844 display: none; |
|
845 } |
|
846 |
|
847 /***************************************/ |
|
848 /* listing table */ |
|
849 /***************************************/ |
|
850 |
|
851 table.listing { |
|
852 padding: 10px 0em; |
|
853 color: #000; |
|
854 width: 100%; |
|
855 border-right: 1px solid #dfdfdf; |
|
856 } |
|
857 |
|
858 |
|
859 table.listing thead th.over { |
|
860 background-color: #746B6B; |
|
861 cursor: pointer; |
|
862 } |
|
863 |
|
864 table.listing tr th { |
|
865 border: 1px solid #dfdfdf; |
|
866 border-right:none; |
|
867 font-size: 8pt; |
|
868 padding: 4px; |
|
869 } |
|
870 |
|
871 table.listing tr .header { |
|
872 border-right: 1px solid #dfdfdf; |
|
873 cursor: pointer; |
|
874 } |
|
875 |
|
876 table.listing td { |
|
877 color: #3D3D3D; |
|
878 padding: 4px; |
|
879 background-color: #FFF; |
|
880 vertical-align: top; |
|
881 } |
|
882 |
|
883 table.listing th, |
|
884 table.listing td { |
|
885 padding: 3px 0px 3px 5px; |
|
886 border: 1px solid #dfdfdf; |
|
887 border-right: none; |
|
888 } |
|
889 |
|
890 table.listing th { |
|
891 font-weight: bold; |
|
892 background: %(listingHeaderBgColor)s; |
|
893 } |
|
894 |
|
895 table.listing td a, |
|
896 table.listing td a:visited { |
|
897 color: #666; |
|
898 } |
|
899 |
|
900 table.listing a:hover, |
|
901 table.listing tr.highlighted td a { |
|
902 color:#000; |
|
903 } |
|
904 |
|
905 table.listing td.top { |
|
906 border: 1px solid white; |
|
907 border-bottom: none; |
|
908 text-align: right ! important; |
|
909 /* insane IE row bug workaround */ |
|
910 position: relative; |
|
911 left: -1px; |
|
912 top: -1px; |
|
913 } |
|
914 |
|
915 table.htableForm label, table.oneRowTableForm label { |
|
916 vertical-align: middle; |
|
917 } |
|
918 table.htableForm td { |
|
919 padding-left: 1em; |
|
920 padding-top: 0.5em; |
|
921 } |
|
922 table.htableForm th { |
|
923 padding-left: 1em; |
|
924 } |
|
925 table.htableForm .validateButton { |
|
926 margin-right: 0.2em; |
|
927 margin-bottom: 0.2em; |
|
928 } |
|
929 |
|
930 table.oneRowTableForm td { |
|
931 padding-left: 0.5em; |
|
932 } |
|
933 table.oneRowTableForm th { |
|
934 padding-left: 1em; |
|
935 } |
|
936 table.oneRowTableForm .validateButton { |
|
937 margin: 0 0 0 1em ; |
|
938 } |
|
939 |
|
940 table.ajaxEditRelationTable{ |
|
941 margin-bottom: 0.5em; |
|
942 } |
|
943 table.ajaxEditRelationTable td.entity{ |
|
944 padding-left: 0.5em; |
|
945 } |
|
946 |
|
947 /***************************************/ |
|
948 /* error view (views/management.py) */ |
|
949 /***************************************/ |
|
950 |
|
951 div.pycontext { /* html traceback */ |
|
952 font-family: Verdana, sans-serif; |
|
953 font-size: 80%; |
|
954 padding: 1em; |
|
955 margin: 10px 0px 5px 20px; |
|
956 background-color: #dee7ec; |
|
957 } |
|
958 |
|
959 div.pycontext span.name { |
|
960 color: #ff0000; |
|
961 } |
|
962 |
|
963 |
|
964 /***************************************/ |
|
965 /* addcombobox */ |
|
966 /***************************************/ |
|
967 |
|
968 input#newopt{ |
|
969 width:120px ; |
|
970 display:block; |
|
971 float:left; |
|
972 } |
|
973 |
|
974 div#newvalue{ |
|
975 margin-top:2px; |
|
976 } |
|
977 |
|
978 #add_newopt{ |
|
979 background: #fffff8 url("go.png") 50% 50% no-repeat; |
|
980 width: 20px; |
|
981 line-height: 20px; |
|
982 display:block; |
|
983 float:left; |
|
984 } |
|
985 |
|
986 /***************************************/ |
|
987 /* buttons */ |
|
988 /***************************************/ |
|
989 |
|
990 input.button{ |
|
991 margin: 1em 1em 0px 0px; |
|
992 border: 1px solid #edecd2; |
|
993 border-color:#edecd2 #cfceb7 #cfceb7 #edecd2; |
|
994 background: #fffff8 url("button.png") bottom left repeat-x; |
|
995 } |
|
996 |
|
997 /* FileItemInnerView jquery.treeview.css */ |
|
998 .folder { |
|
999 /* disable odd/even under folder class */ |
|
1000 background-color: transparent; |
|
1001 } |
|
1002 |
|
1003 a.addButton { |
|
1004 margin-left: 0.5em; |
|
1005 padding-left: 16px; |
|
1006 background: transparent url("add_button.png") 0% 50% no-repeat; |
|
1007 } |
|
1008 |
|
1009 /***************************************/ |
|
1010 /* footer */ |
|
1011 /***************************************/ |
|
1012 |
|
1013 div#footer { |
|
1014 text-align: center; |
|
1015 } |
|
1016 div#footer a { |
|
1017 color: #000; |
|
1018 text-decoration: none; |
|
1019 } |
|
1020 |
|
1021 |
|
1022 /****************************************/ |
|
1023 /* FIXME must by managed by cubes */ |
|
1024 /****************************************/ |
|
1025 .needsvalidation { |
|
1026 font-style: italic; |
|
1027 color: gray; |
|
1028 } |
|
1029 |
|
1030 |
|
1031 /***************************************/ |
|
1032 /* FIXME : Deprecated ? entity view ? */ |
|
1033 /***************************************/ |
|
1034 .title { |
|
1035 text-align: left; |
|
1036 font-size: large; |
|
1037 font-weight: bold; |
|
1038 } |
|
1039 |
|
1040 .validateButton { |
|
1041 margin: 1em 1em 0px 0px; |
|
1042 border: 1px solid #edecd2; |
|
1043 border-color:#edecd2 #cfceb7 #cfceb7 #edecd2; |
|
1044 background: #fffff8 url("button.png") bottom left repeat-x; |
|
1045 } |
|
1046 |
|
1047 /********************************/ |
|
1048 /* placement of alt. view icons */ |
|
1049 /********************************/ |
|
1050 |
|
1051 .otherView { |
|
1052 float: right; |
|
1053 } |
|
1054 |
|
1055 |
|
1056 /******************************/ |
|
1057 /* reledit */ |
|
1058 /******************************/ |
|
1059 |
|
1060 .releditField { |
|
1061 display: inline; |
|
1062 } |
|
1063 |
|
1064 .releditForm { |
|
1065 display:none; |
|
1066 } |
|
1067 |
|
1068 /********************************/ |
|
1069 /* overwite other css here */ |
|
1070 /********************************/ |
|
1071 |
|
1072 .ui-menu li.ui-menu-item { |
|
1073 /* remove background image (orange bullet) for autocomplete suggestions */ |
|
1074 background-image: none; |
|
1075 } |
|
1076 |
|
1077 div.ui-tabs.ui-widget-content { |
|
1078 background:none; |
|
1079 border:none; |
|
1080 color:inherit; |
|
1081 } |
|
1082 |
|
1083 div.ui-tabs ul.ui-tabs-nav { |
|
1084 padding-left: 0.5em; |
|
1085 } |
|
1086 |
|
1087 div.ui-tabs ul.ui-tabs-nav a { |
|
1088 color:#27537A; |
|
1089 padding: 0.3em 0.6em; |
|
1090 outline:0; |
|
1091 } |
|
1092 |
|
1093 div.ui-tabs ul.ui-tabs-nav li.ui-tabs-selected a { |
|
1094 color:black; |
|
1095 } |
|
1096 |
|
1097 div.ui-tabs ul.ui-tabs-nav li.ui-state-hover, div.ui-tabs ul.ui-tabs-nav li.ui-state-focus { |
|
1098 background:white; |
|
1099 } |
|
1100 |
|
1101 div.ui-tabs .ui-widget-header { |
|
1102 background:none; |
|
1103 border:none; |
|
1104 } |
|
1105 |
|
1106 div.ui-tabs .ui-widget-header li { |
|
1107 border-color:#333333; |
|
1108 } |
|
1109 |
|
1110 div.ui-tabs .ui-tabs-panel { |
|
1111 border-top:1px solid #97A5B0; |
|
1112 padding-left:0.5em; |
|
1113 padding-right: 2px; |
|
1114 color:inherit; |
|
1115 } |
|
1116 |
|
1117 /* cubicweb.views.undohistory uses : |
|
1118 * - span.undo around undo link |
|
1119 * - ul.undo-transactions to list transaction |
|
1120 * - ol.undo-actions to list actions in a transaction |
|
1121 */ |
|
1122 |
|
1123 span.undo { |
|
1124 border: 1pt; |
|
1125 } |
|
1126 |
|
1127 ol.undo-actions > li { |
|
1128 margin-left: 2em; |
|
1129 margin-top: 2px; |
|
1130 padding: 0px 0px 2px 0px; |
|
1131 background-image: none; |
|
1132 } |
|
1133 |
|