Beginning some design changes to the OPAC: put login info at the top, move cart and...
[koha.git] / koha-tmpl / opac-tmpl / prog / en / css / opac.css
1 @import url("../../en/lib/yui/reset-fonts-grids.css");
2
3 a {
4         font-weight : bold;
5 }
6
7 a, a:visited {
8         color : #006699;
9 }
10
11 a:hover {
12         color : #990033;
13 }
14
15 body {
16         background-color : white;
17         text-align : left;
18 }
19
20 caption {
21         font-size : 140%;
22         text-align : left;
23         font-weight : bold;
24 }
25
26 fieldset {
27         border : 2px solid #EEEEEE;
28         margin : 1em 1em 1em 0;
29         padding : 1em;
30 }
31
32 fieldset.rows {  
33 border-width : 1px;
34 border-bottom : 1px solid black;
35 float : left;
36 font-size : 90%;
37 clear : left;
38 margin: .9em 0 0 0;  
39 padding: 0;
40 width: 100%; 
41 }
42
43 fieldset.rows legend {  
44         margin-left: 1em;
45         font-weight: bold;
46         font-size : 110%;
47 }
48
49 fieldset.rows label, fieldset.rows span.label {  
50         float: left;  
51         font-weight : bold;
52         width: 9em;  
53         margin-right: 1em;  
54         text-align: right;
55 }
56
57 fieldset.rows fieldset {
58         border-width : 1px;
59         margin : 0;
60         padding : .3em;
61 }
62
63 fieldset.rows ol {  
64 padding: 1em 1em 0 1em;  
65 list-style-type: none;
66 }
67
68 fieldset.rows li {  
69 float : left;
70 clear : left;
71 padding-bottom: 1em;
72 list-style-type: none;
73 width: 100%; 
74 }
75
76 fieldset.rows.left li {
77         padding-bottom : .4em;
78 }
79
80 fieldset.rows li.radio {
81         padding-left: 9em;
82         width : auto;
83 }
84
85 fieldset.rows li.radio label {
86         float : none;
87         width : auto;
88         margin : 0 0 0 1em;
89 }
90
91 fieldset.rows ol.radio label {
92         width : auto;
93         float : none;
94         margin-right : 0;
95 }
96
97 fieldset.rows ol.radio label.radio {
98         float : left;
99         width : 12em;
100         margin-right : 1em;
101 }
102
103 fieldset.rows table {
104         clear : both;
105         margin-left : 1em;
106 }
107
108 fieldset.rows td label {
109         float : none;
110         font-weight : normal;
111         width : auto;
112 }
113
114 fieldset.action {
115         clear : both;
116         float : none;
117         border : none;
118         margin : 0;
119         padding : 1em 0 .3em 0;
120         width : auto;
121 }
122
123 form {
124         display : inline;
125         margin : 0;
126         padding : 0;
127 }
128
129 h1 {
130         font-size : 138.5%;
131 }
132
133 h1#libraryname {
134         font-size : 50%
135         font-weight : normal;
136         margin : .2em 0 .2em .5em;
137 }
138
139 h1#library {
140         font-size : 100%
141         font-weight : normal;
142         margin : .2em 0 .2em .5em;
143
144
145 h1#libraryname a {
146         text-decoration : none;
147         color : #006699;
148 }
149
150 h1#libraryname a:hover {
151         color : #000066;
152 }
153
154 h1,h2,h3,h4,h5,h6 {
155         font-weight : bold;
156         margin : .5em 0;
157 }
158
159 h2 {
160         font-size : 131%;
161 }
162
163 h2.author {
164         text-indent : .5em;
165 }
166
167 h3 {
168         font-size : 123.1%;
169 }
170
171 h4 {
172         font-size : 116%;
173 }
174
175 h5 {
176         font-size : 108%;
177 }
178
179 h6 {
180         font-size : 100%;
181 }
182
183 input[type=submit], input[type=button], input[type=reset] {
184         background-color : #6BA037;
185         border:1px outset #666666;
186         color : #FFFFFF;
187         font-size : 93%;
188         font-weight : bold;
189         padding : 2px;
190 }
191
192 input[type=submit]:active, input[type=button], input[type=reset] {
193         border: 1px inset #666666;
194 }
195
196 p.searchresults {
197         background-color : #EFF1DC;
198 }
199
200 table {
201         border-collapse : collapse;
202         margin : 1em 0;
203         border-right : 1px solid #dddddd;
204         border-top : 1px solid #dddddd;
205 }
206
207 td,th {
208         border-left : 1px solid #dddddd;
209         border-bottom : 1px solid #dddddd;
210         padding : 3px 5px;
211 }
212
213 th {
214         background-color:#EFF1DC;
215         font-weight : bold;
216         padding : 2px 4px;
217 }
218
219 th.sum {
220         text-align: right;
221 }
222
223 td.sum {
224         background-color: #FFC;
225         font-weight: bold;
226 }
227
228 th[scope=row] {
229         text-align : right;
230 }
231
232 tr.highlight td, tr.highlight th {
233         background-color : #F3F3F3;
234         border : 1px solid #DDDDDD;
235         border-right : 1px solid #DDDDDD;
236 }
237
238 ul {
239         list-style : disc;
240         padding-left : 1em;
241 }
242
243 li {
244         list-style : disc;
245 }
246
247 p.availability {
248         font-size : 87%;
249 }
250
251 .available {
252         color : #006600;
253 }
254
255 .inwait {
256         background-color : #33CC99;
257 }
258
259 /* css styles for reserves color alerts */
260 .onloan {
261         background-color : #FFED3D;
262 }
263
264 .other {
265         background-color : #FF0000;
266 }
267
268 /* "problem" enhancement */
269 .problem {
270         color : white;
271         background-color : red;
272 }
273
274 .reserved {
275         background-color : #8EBAFF;
276 }
277
278 /* style for search terms in catalogsearch */
279 .term {
280         background-color : #ffffe0;
281         color : #990033;
282 }
283
284 a .term {
285         text-decoration : underline;
286 }
287
288 .transfered {
289         background-color : #F9FF9A;
290 }
291
292 /* action buttons */
293 #action {
294         margin-top : .5em;
295 }
296
297 #action li {
298         list-style : none;
299 }
300
301 #action a {
302         background-color : #F3F3F3;
303         border : 1px solid #E8E8E8;
304         display : block;
305         margin : .2em;
306         padding : .5em;
307         text-decoration : none;
308 }
309
310 /* the itemtype list in advanced search */
311 #advsearch-itemtype table {
312         border-collapse : separate;
313         border-spacing : 3px;
314         border : 0px;
315         margin : 0px;
316         background-color : white;
317         border : 0px solid #D8DEB8;
318 }
319
320 #advsearch-itemtype table tr td {
321         background-color : #F8F8EB;
322         border : 0px;
323         margin : 0px;
324         width : 700px;
325 }
326
327 #advsearch-itemtype td {
328         font-size : 0.8em;
329         background-color : #F8F8EB;
330 }
331
332 #auth {
333         float : left;
334 }
335
336 #facets {
337         
338 }
339
340 /* the footer */
341 #footer {
342         margin-top : 30px;
343         margin-left : 30%;
344         margin-right : 20%;
345         border-top : 1px solid #384b73;
346         color : #384b73;
347         font-size : 1em;
348         text-align : center;
349 }
350
351 /* facets bloc */
352 /* the USER information block */
353 #librarian_information {
354         float : right;
355         font-size : 10pt;
356 }
357
358 #members {
359         font-size : 85%;
360         padding : 4px 0 4px 0;
361         color : #000066;
362 }
363
364 #members a {
365         text-decoration : none;
366 }
367
368 #members a.logout {
369         color : #cc3333;
370         font-weight : bold;
371         padding : 0 .3em 0 .3em;
372         text-decoration : none;
373 }
374
375 #members li:first-child {
376         border-right : 1px solid black;
377 }
378
379 #members li {
380         display : inline;
381         list-style : none;
382         margin : 0;
383         padding : 0 .5em;
384 }
385
386 #members ul {
387         margin : 0;
388         padding : 0;
389         text-align : right;
390 }
391
392 #opac-main-search {
393         background-image : url( ../../images/menu-background.gif);
394         background-repeat : repeat-x;
395         background-color : #6699CC;
396         border-top : 1px solid #335599;
397         border-bottom : 1px solid #335599;
398         padding : .7em 0 .4em .5em;
399         color : #FFFFCC;
400         font-size : 108%;
401         line-height : 116%;
402 }
403
404 #opac-main-search a, #opac-main-search a, #opac-main-search a:visited {
405         color : #FFFFCC;
406 }
407
408 #opac-main-search a:hover {
409         color : #FFFFFF;
410 }
411
412 #opac-main-search form {
413         display : inline;
414         padding-right : 1em;
415 }
416
417 #opac-main-search label {
418         font-weight : bold;
419 }
420
421 /***********************************************************/
422 /* the user menu, for user option (and biblio detail view) */
423 /***********************************************************/
424
425 .suggestion {
426         background-color : #EEEEEB;
427         border : 1px solid #DDDED3;
428         margin : 10px auto;
429         padding : 4px;
430         width : 35%;
431 }
432
433 #facets ul {
434         margin : 0;
435         padding : 0;
436 }
437
438 #facets ul li {
439         font-weight : bold;
440         text-align : left;
441         list-style : none;
442 }
443
444 #facets ul ul li {
445         border : 0;
446         font-size : 85%;
447         font-weight : normal;
448         padding : 2px;
449         text-align : left;
450 }
451
452 #facets ul ul li a {
453         font-weight : normal;
454         text-decoration : underline;
455 }
456
457 #facets h4 {
458         font-size : 93%;
459         padding:3px;
460         text-align:center;
461         background-color:#E7E7CA;
462         line-height:1.8em;
463         margin-left:-1px;
464         margin-right:-1px;
465         margin-top:-1px;
466 }
467
468 #breadcrumbs {
469         padding : .7em;
470 }
471
472 strong {
473         font-weight : bold;
474 }
475
476 em {
477         font-style : italic;
478 }
479
480 #catalogue_detail_biblio p span.label {  
481         font-weight : bold;
482 }
483
484 #catalogue_detail_biblio p {  
485         padding-bottom: .6em;
486 }
487
488 .toptabs {
489         margin-top : 1em;
490 }
491
492 .toptabs .tabs-nav a, .toptabs .tabs-nav span.a {
493     top: 0;
494  }
495
496 .toptabs .tabs-nav li {
497         margin-right : .5em;
498 }
499
500 .toptabs .tabs-nav li a, .toptabs .tabs-nav li span.a {
501         background-color : #F3F3F3;
502         border-top : 1px solid #E8E8E8;
503         border-left : 1px solid #E8E8E8;
504         border-right : 1px solid #E8E8E8;
505         border-bottom : 0;
506         text-align : center;
507         text-decoration : none;
508 }
509
510 .toptabs .tabs-nav li.tabs-selected  {
511         background-color : #FFF;
512 }
513
514 .toptabs .tabs-nav li.tabs-selected a, .toptabs .tabs-nav li.tabs-selected span.a {
515         background-color : #FFF;
516         border-top : 1px solid #E8E8E8;
517         border-left : 1px solid #E8E8E8;
518         border-right : 1px solid #E8E8E8;
519         border-bottom : 1px solid #FFF;
520         margin-bottom : -5px;
521         padding-bottom : 5px;
522         text-align : center;
523 }
524
525 .toptabs.numbered .tabs-nav li {
526         min-width : 3em;
527 }
528
529 .toptabs .tabs-container {
530         border : 1px solid #E8E8E8;
531         padding : 1em;
532 }
533
534 .tabs-container {
535     border-top: 0;
536     padding : inherit;
537     background: #fff; /* declare background color for container to avoid distorted fonts in IE while fading */
538 }
539
540 #bookcover {
541         float : left;
542         margin : 0;
543         padding : 0;
544 }
545
546 #bookcover img {
547         margin : 0 1em 1em 0;   
548 }
549
550 fieldset.brief {
551         border : 1px solid #E8E8E8;
552 }
553
554 fieldset.brief legend {
555         font-weight : bold;
556         font-size : 100%;
557 }
558
559 fieldset.brief label {
560         display : block;
561         font-weight : bold;
562         padding : .3em 0;
563 }
564
565 fieldset.brief ol, fieldset.brief li {
566         list-style-type : none;
567 }
568
569 fieldset.brief div.hint, fieldset.rows div.hint {
570         color : #666666;
571         font-size : 100%;
572         margin : .4em;
573 }
574
575 #menu {
576         margin-top: 1em;
577 }
578
579 h2 span.hint {
580         font-size: 76%;
581         font-weight : normal;
582 }
583 .thumbnail {
584         border : 0;
585         float : left;
586         margin : 0pt 5px 5px 0pt;
587 }
588 a.cancel {
589         padding-left : 1em;
590 }
591
592 #usermenu {
593         margin-top : 1em;
594 }
595
596 #toolbar ul {
597         margin : 1em 0 0 0;
598         padding : 0;
599 }
600
601 #toolbar ul li {
602         display : inline;
603         list-style : none;
604 }
605
606 #toolbar ul li a {
607         border : 1px solid #afbccf;
608         padding : .3em;
609         text-decoration : none;
610         margin-right : .1em;
611 }
612
613 .searchresults input, .searchresults label, .searchresults select {
614         font-size: 90%;
615 }
616
617 .searchresults label {
618         float : right;
619         margin-top : 5px;
620 }
621
622 .searchresults p {
623         margin: 0;
624         padding: 0;
625         padding-top : .6em;
626 }
627
628 .searchresults p img {
629         vertical-align: middle;
630 }
631
632 .searchresults table td {
633         vertical-align: top;
634 }
635
636 p.searchresults {
637         background-color : #EFF1DC;
638         margin-top : -5px;
639         vertical-align : middle;
640         padding : 3px 3px 5px 5px;
641 }
642
643 .searchresults table {
644         margin : 0;
645 }
646
647 .searchresults td, .searchresults th, .searchresults table {
648         border: 0;
649 }
650
651 .searchresults tr {
652         border-bottom : 1px solid #CCCCCC;
653 }
654
655 .searchresults tr:first-child {
656         border : 0;
657 }
658
659 .searchresults table {
660         border-top : 0px solid #CCCCCC;
661 }
662
663 .searchresults a.reserve, .searchresults a.reserve:visited {
664         background-position:left top;
665         background-repeat:no-repeat;
666         float:right;
667         padding:2px 3px 2px 26px;
668 }
669
670 .searchresults a.reserve {
671         background-color:transparent;
672         color:#006699;
673 }
674
675 input.reserve, a.reserve {
676         background-image:url(../../images/placereserve.gif);
677 }
678
679 a.reserve {
680         background-color:#006699;
681         color:White;
682 }
683 .unavailable {
684         color: #990033;
685 }
686
687 #libraryname {
688         float : left;
689         line-height : 2em;
690 }
691
692 #corner {
693         float : right;
694         line-height : 2em;
695 }
696
697 #opac-main-search a.cart {
698         background : #FFC url(../../images/cart-small.gif) 7px center no-repeat;
699         border : 1px solid white;
700         color : #6699cc;
701         padding : 5px;
702         padding-left : 25px;
703         text-decoration: none;
704 }
705
706 #opac-main-search a.lists {
707         background : #FFC;
708         border : 1px solid white;
709         color : #6699cc;
710         padding : 5px;
711         text-decoration: none;  
712 }
713
714 .pages {
715         line-height : 1.8em;
716         text-align: center;
717 }
718 a:link.current {
719         background-color: transparent;
720         color: #3366CC;
721         font-weight: bold;
722         padding: 1px 5px 1px 5px;
723         text-decoration: none;
724 }
725 a:visited.current {
726         background-color: transparent;
727         color: #3366CC;
728         font-weight: bold;
729         padding: 1px 5px 1px 5px;
730         text-decoration: none;
731 }
732
733 a:hover.current {
734         background-color: #CCFF00;
735         color: #CC3333;
736         font-weight: bold;
737         padding: 1px 5px 1px 5px;
738         text-decoration: none;
739 }
740
741 a:active.current {
742         background-color: #99CC00;
743         color: #FFFF99;
744         font-weight: bold;
745         padding: 1px 5px 1px 5px;
746         text-decoration: none;
747 }
748
749 .current {
750         background-color: #FFFFFF;
751         color: #3366CC;
752         font-weight: bold;
753         padding: 1px 5px 1px 5px;
754         text-decoration: none;
755 }
756
757 a:link.nav {
758         background-color: #EFF1DC;
759         border: 1px solid #CCCC99;
760         color: #3366CC;
761         font-weight: bold;
762         padding: 1px 5px 1px 5px;
763         text-decoration: none;
764 }
765
766 a:visited.nav {
767         background-color: #EFF1DC;
768         border: 1px solid #CCCC99;
769         color: #3366CC;
770         font-weight: bold;
771         padding: 1px 5px 1px 5px;
772         text-decoration: none;
773 }
774
775 a:hover.nav {
776         background-color: #FFFFCC;
777         border: 1px solid #CCCC99;
778         color: #CC3333;
779         font-weight: bold;
780         padding: 1px 5px 1px 5px;
781         text-decoration: none;
782 }
783
784 a:active.nav {
785         background-color: #FFFFCC;
786         border: 1px solid #CCCC99;
787         color: #D25500;
788         font-weight: bold;
789         padding: 1px 5px 1px 5px;
790         text-decoration: none;
791 }
792
793 input.icon {
794         background-position: left;
795         background-repeat: no-repeat;
796         font-size : 96%;
797         font-weight: bold;
798         padding: 2px 2px 2px 22px;
799         background-color: #6699CC;
800         border: 1px outset #666666;
801         color: #FFFFCC;
802 }
803
804 input.shelf, a.shelf {
805         background-image: url(../../images/addtobasket.gif);
806 }
807
808 input.clearall, a.clearall {
809         background-image: url(../../images/clearbasket.gif);
810 }
811
812 /* Tabs */
813 ul.link-tabs {
814         list-style-type: none;
815         margin: 9px 0 -2px 5px;
816         padding: 0;
817 }
818
819 ul.link-tabs li {
820         display: inline;
821         padding: 0px;
822 }
823
824 ul.link-tabs li a {
825         font-weight: bold;
826         padding: 2px 4px 2px 4px;
827         text-decoration: none;
828         border-top: 1px solid #DDDDDD;
829         border-left : 1px solid #DDDDDD;
830         border-right : 1px solid #666666;
831 }
832
833 ul.link-tabs li#power_formButton a, ul.link-tabs li#proximity_formButton a {
834         padding: 2px 4px 3px 4px;
835 }
836
837 ul.link-tabs li.off a {
838         background-color: #EEEEEB;
839         border-bottom: 1px solid #DDDDDD;
840 }
841
842 ul.link-tabs li.off a:hover {
843         padding: 2px 3px 2px 4px;
844         background-color: #FFFFEC;
845         border-top: 1px solid #BEBF84;
846         border-left : 1px solid #BEBF84;
847         border-right : 2px solid #333333;
848 }
849
850 ul.link-tabs li.on a {
851         background-color: #FFFFFF;
852         border-bottom: 1px solid #FFFFFF;
853 }
854
855 ul.link-tabs li a.debit {
856         background-color : #FFFF99;
857         color : #990033;
858 }
859
860 div.tab-container {
861         border : 1px solid #DDDDDD;     
862         margin-top : 4px;
863         padding : .7em;
864         width : 90%;
865 }
866
867 #catalogue_detail_biblio table, #catalogue_detail_biblio td, #catalogue_detail_biblio th {
868         background-color : transparent;
869         border : 0;
870 }
871
872 tr.overdue td {
873         background-color : #ffcccc;
874         font-weight : bold;
875 }
876
877 tr.highlight.overdue td {
878         background-color : #ffaeae;
879         font-weight : bold;
880 }
881
882 td.overdue {
883         color : #cc3333;
884 }
885
886 .renewals {
887         display:block;
888         font-size:0.8em;
889         padding:0.5em;
890 }
891
892 h1#libraryname {
893         border: 0;
894         margin:0;
895         padding:0;
896         width:120px;
897 }
898 h1#libraryname {
899         background:transparent url(../../images/koha-logo.gif) no-repeat scroll 0%;
900         border: 0;
901         padding:0;
902 }
903
904 h1#libraryname a {
905         border:0;
906         cursor:pointer;
907         display:block;
908         height:0px !important;
909         margin:0;
910         overflow:hidden;
911         padding:40px 0 0;
912         text-decoration:none;
913         width:120px;
914 }
915
916 table#marc, table#marc td, table#marc th {
917         border : 0;
918 }
919
920 table#marc th {
921         background-color : transparent;
922 }
923
924 table#marc td:first-child {
925         text-indent : 2em;
926 }
927 #masthead {
928 float: left;
929 width: 120px;
930 }
931
932 #fluid {
933 float: right;
934 width: 100%;
935 margin-left: -120px;
936 }
937
938 #fluid-offset {
939 margin-left: 119px;
940 margin-top : .4em;
941 }
942
943 #fluid-content-1 {
944 margin : .3em -1px 0 2%;
945 display: inline /* fix IE6 */;
946 line-height : 15px;
947 }
948
949 .clearfix:after {
950     content: "."; 
951     display: block; 
952     height: 0; 
953     clear: both; 
954     visibility: hidden;
955 }
956
957 /* Hides from IE-mac \*/
958 * html .clearfix {height: 1%;}
959 /* End hide from IE-mac */
960
961 .searchhighlightblob {
962     font-size:75%;
963         font-style : italic;
964 }
965
966
967 .dialog {
968   border: 1px solid #bcbcbc;
969         padding : .5em;
970         margin : 1em auto;
971   width: 65%;
972   }
973   
974 .dialog  h2, .dialog h3, .dialog h4 {
975         margin : auto;
976         text-align : center;
977   }
978  
979 div.alert {
980   background : #FFC url(../../images/alert-bg.gif) repeat-x left 0;
981   text-align : center;
982 }
983
984 div.alert strong {
985         color : #900;
986 }
987
988 div.message {
989         background : white url("../../images/message-bg.gif") repeat-x left 0;
990    border : 1px solid #bcbcbc;
991         width : 55%;
992 }
993
994 #moresearches {
995         color : #000099;
996         font-size : 90%;
997         line-height : 110%;
998         margin : .6em 0 .3em 2%;
999 }
1000
1001 #moresearches a:link, #moresearches a:visited {
1002         color : #e5ebff;
1003         font-weight : normal;
1004         text-decoration : none;
1005 }