source: WAeUP_SRP/trunk/skins/waeup_custom/default.css.dtml @ 2128

Last change on this file since 2128 was 2098, checked in by joachim, 17 years ago

first version of apply_pume, without passport and ugly layout.

File size: 16.7 KB
Line 
1<dtml-comment>
2CSS directives conforming to the CSS 2.1 spec.
3Those CSS directives are suppported by user agents such as Mozilla/Firefox, MSIE6, MSIE5.x, etc.
4$Id: default.css.dtml 47552 2006-07-28 17:33:14Z gracinet $
5</dtml-comment>
6
7<dtml-let last_modified="_.DateTime()-14" expires="_.DateTime()+1" >
8<dtml-call "REQUEST.RESPONSE.setHeader( 'Content-Type', 'text/css' )">
9<dtml-call "REQUEST.RESPONSE.setHeader( 'Last-Modified', last_modified.toZone('GMT').rfc822() )">
10<dtml-call "REQUEST.RESPONSE.setHeader( 'Cache-Control', 'max-age=36000, must-revalidate' )">
11<dtml-call "REQUEST.RESPONSE.setHeader( 'Expires', expires.toZone('GMT').rfc822() )" >
12</dtml-let>
13
14<dtml-with stylesheet_properties>
15
16<dtml-comment>
17BASIC ELEMENTS ------------------------------
18</dtml-comment>
19
20body {
21font: <dtml-var mainFont>;
22background: <dtml-var mainBackground>;
23color: <dtml-var mainFontColor>;
24margin: 0;
25padding: 0;
26}
27
28body .popup {
29font: <dtml-var mainFont>;
30}
31
32a {
33text-decoration: none;
34color: <dtml-var mainLinkColor>;
35background-color: transparent;
36}
37
38a.strong {
39font-weight: bold;
40}
41
42img {
43border: 0;
44vertical-align: middle;
45}
46
47p {
48margin: 0.5em 0 1em 0;
49line-height: 133%;
50}
51p a {
52text-decoration: underline;
53}
54p a:visited {
55color: <dtml-var contentLinkVisitedColor>;
56background-color: transparent;
57}
58p a:active {
59color: <dtml-var contentLinkActiveColor>;
60background-color: transparent;
61}
62a:hover {
63text-decoration: none;
64}
65p img {
66border: <dtml-var contentImageBorder>;
67margin: 0;
68}
69
70h1, h2, h3, h4, h5, h6 {
71color: <dtml-var headingFontColor>;
72background-color: transparent;
73font: <dtml-var headingFont>;
74font-weight: bold;
75margin: 0;
76padding-top: 0.5em;
77}
78h1 {
79font-size: <dtml-var headingSize1>;
80margin-top: 0.5em;
81margin-bottom: 0.5em;
82}
83h2 {
84font-size: <dtml-var headingSize2>;
85margin-bottom: 1em;
86}
87h3 {
88font-size: <dtml-var headingSize3>;
89}
90h4 {
91font-size: <dtml-var headingSize4>;
92}
93h5 {
94font-size: <dtml-var headingSize5>;
95}
96h6 {
97font-size: <dtml-var headingSize6>;
98}
99
100ol, ul {
101padding: 0;
102margin: 0;
103line-height: 133%;
104}
105ul a, ol a {
106text-decoration: underline;
107}
108
109dt {
110font-weight: bold;
111margin: 0.5em 0em 0.5em 0em;
112}
113dt a {
114text-decoration: none;
115}
116
117dd {
118line-height: 133%;
119margin-bottom: 1em;
120}
121
122legend {
123background: <dtml-var mainBackground>;
124padding: 0.5em 0em 0.5em 0em;
125}
126
127textarea {
128color: <dtml-var mainFontColor>;
129background-color: white;
130font: <dtml-var inputFont>;
131}
132input {
133font: <dtml-var inputFont>;
134color: <dtml-var mainFontColor>;
135background-color: white;
136vertical-align: middle;
137}
138select {
139font: <dtml-var inputFont>;
140vertical-align: top;
141}
142abbr, acronym, .explain {
143color: <dtml-var mainFontColor>;
144background-color: transparent;
145}
146q, blockquote {
147font-style: italic;
148font-size: 100%;
149}
150code {
151font-size: 100%;
152color: <dtml-var mainFontColor>;
153background-color: <dtml-var preBackground>;
154}
155pre {
156font-size: 100%;
157padding: 1em;
158border: <dtml-var preBorder>;
159color: <dtml-var mainFontColor>;
160background-color: <dtml-var preBackground>;
161overflow: auto;
162}
163
164<dtml-comment>
165Classes ------------------------------
166</dtml-comment>
167
168#idioma p {
169margin-top: 0;
170}
171
172.logo {
173margin: <dtml-var logoMargin>;
174padding: <dtml-var logoPadding>;
175}
176
177.note {
178font-size: smaller;
179}
180
181.even {
182background-color: <dtml-var boxEvenBackground>;
183}
184
185.odd {
186background-color: <dtml-var boxOddBackground>;
187}
188
189.pending {
190font-weight: bold;
191color: #ffa500;
192}
193
194.work {
195font-weight: bold;
196color: blue;
197}
198
199.draft {
200font-weight: bold;
201color: #5555ff;
202}
203
204.published {
205font-weight: bold;
206color: #22a522;
207}
208
209.deferred {
210font-weight: bold;
211color: #ff6600;
212}
213
214.expired {
215font-weight: bold;
216color: #ff0033;
217}
218
219.locked {
220border: 1px solid #ff6600;
221color: #ff6600;
222padding-left: 0.2em;
223padding-right: 0.2em;
224}
225
226.url {
227color: <dtml-var urlFontColor>
228}
229
230input.standalone, button.standalone {
231background: <dtml-var standaloneButtonBackground>;
232background-image: none;
233color: <dtml-var standaloneButtonFontColor>;
234border: <dtml-var standaloneButtonBorder>;
235}
236
237input.context {
238background: <dtml-var contextButtonBackground>;
239background-image: none;
240color: <dtml-var contextButtonFontColor>;
241}
242
243input.destructive {
244background: <dtml-var destructiveButtonBackground>;
245background-image: none;
246color: <dtml-var destructiveButtonFontColor>;
247}
248
249button {
250font: <dtml-var inputFont>;
251background: <dtml-var standaloneButtonBackground>;
252color: <dtml-var standaloneButtonFontColor>;
253background-image: none;
254vertical-align: middle;
255}
256
257<dtml-comment>
258DIVs ------------------------------
259</dtml-comment>
260
261div.batchLayout {
262text-align: right;
263background-color: <dtml-var boxEvenBackground>;
264}
265
266div.pageNavigationLayout {
267text-align: center;
268background-color: <dtml-var boxEvenBackground>;
269}
270
271.contact {
272text-align: center;
273margin: 0;
274padding: 1px 0px 1px 0px;
275}
276
277div.message {
278background: <dtml-var messageBackground>;
279color: <dtml-var mainFontColor>;
280font: <dtml-var messageFont>;
281margin: 1em 0;
282padding: 0.5em 1em;
283vertical-align: middle;
284}
285
286div.message a {
287background: <dtml-var messageBackground>;
288color: <dtml-var mainFontColor>;
289text-decoration: underline;
290}
291
292div.description {
293font: <dtml-var descriptionFont>;
294display: block;
295margin-bottom: 0.5em;
296line-height: 133%;
297}
298
299div.documentActions {
300float: right;
301margin-top: 1em;
302}
303
304div.documentActions li {
305display: inline;
306}
307
308div.searchBox {
309float: right;
310text-align: right;
311padding: <dtml-var searchPadding>;
312margin: <dtml-var searchMargin>;
313clear: right;
314background-color: transparent;
315color: <dtml-var searchFontColor>;
316text-transform: <dtml-var textTransform>;
317width: 40%;
318}
319
320div.headerActions {
321float: right;
322text-align: right;
323margin-top: 1em;
324margin-right: 1em;
325margin-bottom: 4px;
326}
327
328div.headerActions li {
329display: inline;
330}
331
332div.pathBar {
333padding: 1px 1em 1px 1em;
334text-transform: <dtml-var textTransform>;
335}
336
337div.row {
338clear: both;
339}
340
341div.label {
342padding-right: 2em;
343font-weight: bold;
344float: left;
345}
346
347div.field {
348padding: 0px 0px 0px 0px;
349float: left;
350text-align: left;
351}
352
353span.legend {
354font-weight: bold;
355}
356
357div.popupImg {
358padding: 10px;
359text-align: center;
360}
361
362.hidden {
363display: none;
364}
365
366.hiddenItem {
367background-color: <dtml-var boxEvenBackground>;
368}
369
370<dtml-comment>
371Documents language selection
372</dtml-comment>
373
374span.selectedLang {
375background: #003a6b;
376color: #ffffff;
377font-weight: bold;
378padding-left: 0.5em;
379padding-right: 0.5em;
380}
381a.availableLang {
382text-decoration: underline;
383}
384a.availableLang:hover {
385text-decoration: none;
386}
387
388<dtml-comment>
389Accessibility statement and usage
390</dtml-comment>
391
392div.accesskeys, div.accesskeysUsage {
393border: 1px solid #999999;
394background-color: #dddddd;
395padding: 1em;
396margin: 0.5em 0 2em 0;
397}
398
399<dtml-comment>
400Contact info and conformance statement
401</dtml-comment>
402
403.contactInfo li {
404display: inline;
405margin: 1em;
406}
407
408.conformanceStatement {
409text-align: center;
410}
411
412.conformanceStatement li {
413display: inline;
414}
415
416.conformanceStatement img {
417margin: 1em;
418}
419
420<dtml-comment>
421CMF Calendar
422</dtml-comment>
423
424.CalendarArrow {
425font-weight: bold;
426text-decoration: none;
427color: #000000;
428}
429
430.CalendarTitle {
431font-weight: bold;
432text-decoration: none;
433text-align: center;
434color: #000000;
435}
436
437p.help {
438font-style: italic;
439}
440
441table.calendar td {
442white-space: nowrap;
443background-color: white;
444width: 1.5em;
445}
446
447table.calendar a {
448text-decoration: none;
449color: black;
450}
451
452table.calendar td.event {
453background-color: <dtml-var boxEvenBackground>;
454text-decoration: none;
455}
456
457table.calendar td.todayevent {
458background-color: <dtml-var boxEvenBackground>;
459}
460
461table.calendar td.weekdays {
462background-color: <dtml-var boxEvenBackground>;
463}
464
465table.calendar th {
466background-color: <dtml-var boxEvenBackground>;
467white-space: nowrap;
468}
469
470table.localRoleForm th {
471text-align: left;
472}
473
474span.highlightedSearchTerm {
475background-color: #ffff00;
476}
477
478span.searchFor {
479font-weight: bold;
480}
481
482/* hack for IE6 bugs */
483/* Hides from IE5-mac \*/
484* html .group {height: 1%}
485* html div.box {height: 1%}
486* html div.box .content {height: 1%}
487* html div.document {height: 1%}
488/* End hide from IE-mac */
489
490.netscape4 {
491display: none;
492}
493
494table {
495font-size: 100%;
496}
497
498hr {
499height: 1px;
500color: <dtml-var mainTabBorderColorSelected>;
501background-color: transparent;
502}
503
504h1, h2 {
505border-bottom: 1px solid <dtml-var mainTabBorderColor>;
506}
507
508form {
509border: none;
510}
511
512textarea {
513border: <dtml-var inputBorder>;
514padding: 0.1em;
515}
516input {
517border: <dtml-var inputBorder>;
518margin-bottom: 1px; /* IE bug fix */
519padding: 0.1em;
520}
521select {
522font: <dtml-var inputFont>;
523border: <dtml-var inputBorder>;
524vertical-align: top;
525}
526
527abbr, acronym, .explain {
528border-bottom: 1px dotted <dtml-var mainFontColor>;
529cursor: help;
530}
531
532ol, ul {
533padding-left: 3em;
534margin: 0px;
535}
536
537.content li, #content li {
538padding: 0em 0em 0.4em 0em;
539}
540
541ul.fileChoice {
542padding-left: 0;
543list-style-type: None;
544}
545
546button {
547background: <dtml-var buttonBackground>;
548border: <dtml-var buttonBorder>;
549margin: 0.2em;
550padding: 0.1em;
551font: <dtml-var inputFont>;
552}
553
554button:hover {
555background: <dtml-var buttonBackgroundHover>;
556}
557
558input.standalone, button.standalone {
559background: <dtml-var standaloneButtonBackground>;
560cursor: pointer;
561font: <dtml-var inputFont>;
562font-weight: <dtml-var buttonWeight>;
563padding: <dtml-var standaloneButtonPadding>;
564text-transform: <dtml-var textTransform>;
565}
566
567input.standalone:hover, button.standalone:hover {
568background: <dtml-var standaloneButtonBackgroundHover>;
569}
570
571input.context {
572background: <dtml-var contextButtonBackground>;
573cursor: pointer;
574font: <dtml-var inputFont>;
575font-weight: <dtml-var buttonWeight>;
576padding: <dtml-var contextButtonPadding>;
577text-transform: <dtml-var textTransform>;
578border: <dtml-var contextButtonBorder>;
579}
580
581input.context:hover {
582background: <dtml-var contextButtonBackgroundHover>;
583}
584
585input.destructive {
586background: <dtml-var destructiveButtonBackground>;
587border: <dtml-var destructiveButtonBorder>;
588cursor: pointer;
589font: <dtml-var inputFont>;
590font-weight: <dtml-var buttonWeight>;
591padding: <dtml-var destructiveButtonPadding>;
592text-transform: <dtml-var textTransform>;
593}
594
595input.destructive:hover {
596background: <dtml-var destructiveButtonBackgroundHover>;
597border: <dtml-var destructiveButtonBorderHover>;
598}
599
600input.noborder {
601background: transparent;
602border: <dtml-var noBorder>;
603margin: 0;
604}
605
606input.searchButton {
607font-size: 100% ! important;
608margin-bottom: 1px ! important;
609}
610
611input.moveUp {
612background: <dtml-var moveUpButtonBackground>;
613}
614input.moveDown {
615background: <dtml-var moveDownButtonBackground>;
616}
617input.moveTop {
618background: <dtml-var moveTopButtonBackground>;
619}
620input.moveBottom {
621background: <dtml-var moveBottomButtonBackground>;
622}
623
624<dtml-comment>
625Forms ------------------------------
626</dtml-comment>
627
628form {
629margin: 0px;
630}
631
632form.workflow {
633padding:0px 0px 10px 0px;
634}
635
636form.workflow dl {
637font-weight: bold;
638}
639
640form.workflow dd {
641margin-left: 0px;
642}
643
644<dtml-comment>
645Generic table definitions
646</dtml-comment>
647
648table.columns td.left {
649background: <dtml-var columnsLeftBackground>;
650}
651table.columns td.right {
652background: <dtml-var columnsRightBackground>;
653}
654
655table.listing {
656width: 100%;
657}
658
659table.listing caption {
660font-weight: bold;
661}
662
663table.listing td {
664padding: 0.4em;
665}
666
667table.listing thead tr th {
668text-align: center;
669}
670
671table.listing thead td {
672background-color: <dtml-var listingHeaderBackground>;
673color: <dtml-var listingHeaderColor>;
674text-align: center;
675font-weight: bold;
676}
677
678table.listing tbody td {
679background-color: <dtml-var listingCellBackground>;
680color: <dtml-var listingCellColor>;
681}
682
683table.listing tbody tr.odd td {
684background-color: <dtml-var listingCellOddBackground>;
685color: <dtml-var listingCellOddColor>;
686}
687
688table.listing tbody tr.even td {
689background-color: <dtml-var listingCellEvenBackground>;
690color: <dtml-var listingCellEvenColor>;
691}
692
693table.listing .action {
694font-weight: bold;
695text-align: left;
696}
697
698<dtml-comment>
699Specific table definitions
700</dtml-comment>
701
702form#loginForm {
703padding-top:20px;
704padding-bottom:20px;
705width: 30em;
706}
707table#login th {
708width: 12em;
709}
710
711table#portalConfiguration th {
712width: 18em;
713padding-bottom: 1em;
714}
715table#portalConfiguration td {
716width: 18em;
717padding-bottom: 1em;
718}
719
720table#subscriptions td {
721text-align: center;
722}
723
724table#subscriptions .action {
725text-align: left;
726}
727
728table.localRolesAssignment {
729width: 100%;
730padding: 0;
731margin: 0.4em;
732margin-bottom: 2em;
733border: 0.1em solid black;
734}
735
736table.localRolesAssignment td.assignedRole {
737text-align: center;
738}
739
740table.localRolesAssignment td.inheritedRole {
741text-align: center;
742background: <dtml-var inheritedRole>;
743}
744
745span.inheritedRole {
746background: <dtml-var inheritedRole>;
747}
748
749table.localRolesAssignment td.inheritedBlockedRole {
750text-align: center;
751background: <dtml-var inheritedBlockedRole>;
752}
753
754span.inheritedBlockedRole {
755background: <dtml-var inheritedBlockedRole>;
756}
757
758<dtml-comment>
759DIVs ------------------------------
760</dtml-comment>
761
762div.top {
763background: <dtml-var topBackground>;
764margin: <dtml-var topMargin>;
765padding: <dtml-var topPadding>;
766width: 100%;
767}
768
769.contact {
770background: <dtml-var footerBackground>;
771border-top: <dtml-var footerBorder>;
772border-bottom: <dtml-var footerBorder>;
773width: 100%;
774}
775
776div.document {
777font: <dtml-var contentFont>;
778background: <dtml-var contentBackground>;
779}
780
781div.message {
782border: <dtml-var messageBorder>;
783}
784
785div.pathBar {
786border-bottom-color: <dtml-var mainTabBorderColorSelected>;
787border-bottom-style: solid;
788border-bottom-width: 1px;
789}
790
791div.row {
792margin: 0em 0em 0.5em 0em;
793position:relative;
794}
795
796.required {
797padding-right: 0.5em;
798background: <dtml-var requiredField>;
799}
800
801.error {
802background: <dtml-var messageBackground>;
803border: <dtml-var messageBorder>;
804padding: 1em;
805margin: 0em;
806}
807
808span.legend {
809background: <dtml-var contentBackground>;
810font-size: <dtml-var legendFontSize>;
811padding: 0.5em 0em 0.5em 0em;
812position : relative;
813top: -0.8em;
814left: 0;
815}
816
817<dtml-comment>
818The "group" class is used to group together the HTML fields of a form.
819</dtml-comment>
820.group {
821margin: 0em;
822padding:10px 0px 20px 0px;
823}
824
825.comment_box {
826border: 1px solid #bcbcbc;
827margin: 1em 0 1em 1em;
828padding: 5px 10px 10px 20px;
829}
830
831.user_roles {
832margin: 1em 0 1em 0;
833padding: 0.7em 0em 0.7em 0em;
834}
835
836.header_roles {
837font-weight: bold;
838background: #b1acb2;
839}
840
841.assign_roles {
842padding-top: 0.7em;
843}
844
845table.calendar {
846border: <dtml-var boxBorder>;
847text-align: right;
848}
849
850table.calendar a:hover {
851text-decoration: none;
852}
853
854table.calendar th {
855border: none;
856font-weight: bold;
857text-align: center;
858}
859
860table.calendar td {
861width: 1.5em;
862}
863
864table.calendar td.weekdays {
865border: <dtml-var boxBorder>;
866border-style: solid none;
867text-align: center;
868}
869
870table.calendar td.event {
871font-weight: bold;
872}
873
874table.calendar td.todayevent {
875border: <dtml-var boxHighlight>;
876font-weight: bold;
877}
878
879table.calendar td.todaynoevent {
880border-collapse: collapse;
881border: <dtml-var boxHighlight>;
882}
883
884<dtml-comment>
885Tooltips
886</dtml-comment>
887
888.tooltipControl {
889color: #000000;
890background: #ffffe1;
891border: 1px solid #000000;
892
893margin-left: 1em;
894}
895
896.tooltipControl:hover {
897background: #ffffb8;
898}
899
900.tooltipArea {
901color: #000000;
902background: #ffffe1;
903border: 1px solid #000000;
904padding: 0.8em;
905font-weight: normal;
906font-size: 80%;
907text-align: left;
908
909position: inherit;
910left: -15em;
911top: 1.5em;
912width: 20em;
913
914visibility: hidden;
915display: none;
916z-index: 1000;
917}
918
919<dtml-comment>
920XXX: CPSMailBoxer definitions that should not be here but in a dedicated file
921</dtml-comment>
922
923div.mailboxerNoArchive {
924border-top: solid;
925border-width: 1px;
926}
927
928td.mailboxerMonth {
929background-color: <dtml-var boxEvenBackground>;
930text-align: center;
931}
932
933<dtml-comment>
934Books
935</dtml-comment>
936
937div.bookSummary {
938width: 100%;
939border: 1px solid black;
940padding: 0.5em;
941}
942
943div.bookSummaryNav {
944text-align: center;
945width: 100%;
946background-color: <dtml-var boxEvenBackground>;
947}
948
949li.summaryEntries {
950margin: 0.5em;
951}
952
953div.bookPageHeader {
954border-bottom: 1px solid black;
955}
956
957div.bookPageNavigation {
958}
959
960div.bookPageInfo {
961float: right;
962}
963
964<dtml-comment>
965Hide stuff by id and make it available in source
966</dtml-comment>
967
968#bylineFolder {
969clear: both;
970text-align: left;
971}
972
973#byline {
974clear: both;
975text-align: right;
976margin-top: 2em;
977}
978
979<dtml-comment>
980javascript use for block toggle
981</dtml-comment>
982
983div.hidden {
984visibility: hidden;
985display: none;
986}
987
988div.visible {
989visibility: visible;
990display: block;
991}
992
993<dtml-comment>
994Advanced search form
995</dtml-comment>
996
997#advancedSearchForm {
998font-size: 90%;
999}
1000
1001#advancedSearchZCText {
1002text-align: right;
1003}
1004
1005p.advancedSearchButton {
1006text-align: right;
1007}
1008
1009#advancedSearchForm fieldset {
1010border: none;
1011border-left: <dtml-var boxBorder>;
1012border-bottom: <dtml-var boxBorder>;
1013padding: 0.5em 0em 0.5em 0em;
1014margin: 0.5em;
1015}
1016
1017span.advancedSearchColumn {
1018padding-left: 1em;
1019float:left;
1020width:12em;
1021}
1022
1023div.drophover {
1024border-bottom: 3px solid black;
1025}
1026
1027div.drophover-in {
1028background: #ffe68f;
1029border: 1px solid black;
1030}
1031
1032#ajax_psm {
1033background: #ffac0b;
1034color: white;
1035padding: 8px;
1036border: 1px solid black;
1037float: right;
1038font-weight: bold;
1039position: absolute;
1040<dtml-if "isUserAgentGecko(REQUEST)">
1041-moz-border-radius: 4px;
1042</dtml-if>
1043}
1044
1045div.draggable:hover {
1046background: #efefef;
1047}
1048
1049div.more_block {
1050padding-left: 10px;
1051}
1052
1053div.batchLayout, div.pageNavigationLayout {
1054color: #666666;
1055margin: 0px 2px 0px 2px;
1056padding: 3px 20px 3px 0px;
1057}
1058
1059table.folderButtons {
1060padding-top: 1.2em;
1061}
1062
1063</dtml-with>
Note: See TracBrowser for help on using the repository browser.