56a6d5f4c96fb26617c7e78c1fa989d322747e4b
[bookreader.git] / BookReader / BookReader.css
1 body {
2  background-color: #939598;
3  font-size: 67.5%;
4  margin: 0;
5  padding: 0;
6 }
7 h3 {
8   font-size: 20px;
9   font-family:  "News Gothic MT","Trebuchet MS",Geneva,Helvetica,sans-serif;
10   font-weight: 700;
11   color: #dedede;
12 }
13 a {
14     outline: none;
15 }
16 #BookReader {
17  position:absolute;
18  font-family: arial, sans-serif;
19  left:0;
20  right:0; 
21  top:0; 
22  bottom:0;
23 }
24 #BRtoolbar {
25     position: relative;
26     top: 0;
27     left: 0;
28     height: 40px;
29     padding: 0;
30     width: 100%;
31     z-index: 100;
32     background-color: #e2dcc5;
33     overflow: hidden;
34 }
35 #BRtoolbar .label {
36     font-size: 1.1em;
37     color: #999;
38 }
39 #BRtoolbar a {
40     color: #ccc;
41     text-decoration: underline;
42 }
43 #BRtoolbarbuttons {
44     float: right;
45 }
46 #BRcontainer {
47     top:5px;
48     bottom:5px;
49     width:100%;
50     z-index: 1;
51     overflow-x:auto;
52     overflow-y:scroll;    
53     position:absolute;
54     background-color: #939598;
55 }
56
57 #BRpageview {
58     background-color: #939598;
59 }
60
61 .BRpagediv1up {
62     background-color: #939598;
63     overflow:hidden;
64     cursor: move;
65 }
66
67 .BRpagedivthumb {
68     background-color: #939598;
69     overflow:hidden;
70 }
71
72 .BRpagedivthumb a {
73     border: 0;
74 }
75
76 .BRpagedivthumb img {
77     border: 0;
78 }
79
80 /* Must come after .BRpagedivthumb rules in order to override them */
81 .BRpagedivthumb_highlight {
82     background-color: #939598;
83     overflow:hidden;
84 }
85
86 .BRpagediv2up {
87     background-color: rgb(234, 226, 205);
88     overflow:hidden;
89 }
90
91 #BRbookcover {
92     /* border: 1px solid rgb(68, 25, 17); */
93     /* background-color: #663929; */
94     position: absolute;
95     background-image: url(images/back_pages.png);
96     -moz-box-shadow: 1px 0 3px #000;
97     -webkit-box-shadow: 1px 0 3px #000;
98     /* -moz-border-radius: 6px; */
99     /* -webkit-border-radius: 6px; */
100 }
101
102 .BRpageimage {
103     background-color: rgb(234, 226, 205);
104 }
105
106 .BRleafEdgeR {
107     /*
108     border-style: solid solid solid none;
109     border-color: rgb(51, 51, 34);
110     border-width: 1px 1px 1px 0px;
111     */
112     background: transparent url(images/back_pages.png) repeat scroll 0% 0%;
113     position: absolute;
114 }
115
116 .BRleafEdgeL {
117     /*
118     border-style: solid none solid solid;
119     border-color: rgb(51, 51, 34);
120     border-width: 1px 0px 1px 1px;
121     */
122     /* background: transparent url(images/left_edges.png) repeat scroll 0% 0%; */
123     background: transparent url(images/back_pages.png) repeat scroll 0% 0%; /* XXXmang replace file */
124     position: absolute;
125 }
126
127 .BRleafEdgeTmp {
128     border-style: solid none solid solid;
129     border-color: rgb(51, 51, 34);
130     border-width: 1px 0px 1px 1px;
131     /* background: transparent url(images/left_edges.png) repeat scroll 0% 0%; */
132     background: transparent url(images/back_pages.png) repeat scroll 0% 0%; /* XXXmang replace file */
133     position: absolute;
134 }
135
136 #BRbookspine {    
137     /* border: 1px solid rgb(68, 25, 17); */
138     background-color: rgb(68, 25, 17);
139     position: absolute;
140 }
141
142 .hidden {
143   display: none;
144 }
145
146 .BRpageform {
147     display: inline; 
148 }
149 #BRpagenum {
150     border: none;
151     background-color: #939598;
152     color: #ccc;
153     font-family: arial, sans-serif;
154     font-size: 12px;
155     font-weight: 700;
156 }
157 #BRreturn {
158     /* display: block; */
159     /* float: left; */
160     /* margin: 0 10px 0 5px; */
161     font-family: "Lucida Grande","Arial",sans-serif;
162     color: #333;
163     height: 20px;
164 }
165 #BRreturn span {
166     font-size: 11px;
167     display: block;
168     height: 12px;
169     padding-top: 3px;
170 }
171 #BRreturn a {
172     font-size: 14px;
173     display: block;
174     color: #036daa;
175     height: 18px;
176     overflow: hidden;
177 }
178 .BRicon {
179     display: block;
180     float: left;
181     width: 40px;
182     height: 40px;
183     padding: 0;
184     margin: 0;
185     vertical-align: middle;
186     border: none;
187     cursor: pointer;
188     background-color: transparent;
189     background-image: url(images/BRicons.png);
190     background-repeat: no-repeat;
191 }
192
193 .BRicon.logo {background-position:0 0;}
194 .BRicon.info {background-position:-40px 0;}
195 .BRicon.info:hover {background-position:-80px 0;}
196 .BRicon.share {background-position:-120px 0;}
197 .BRicon.share:hover {background-position:-160px 0;}
198 .BRicon.read {background-position:-200px 0;}
199 .BRicon.read:hover {background-position:-240px 0;}
200 .BRicon.unread {background-position:-280px 0;}
201 .BRicon.unread:hover {background-position:-320px 0;}
202 .BRicon.full {background-position:-360px 0;}
203 .BRicon.full:hover {background-position:-400px 0;}
204 .BRicon.book_left {background-position:-440px 0;}
205 .BRicon.book_left:hover {background-position:-480px 0;}
206 .BRicon.book_right {background-position:-520px 0;}
207 .BRicon.book_right:hover {background-position:-560px 0;}
208 .BRicon.zoom_out {background-position:-600px 0;}
209 .BRicon.zoom_out:hover {background-position:-640px 0;}
210 .BRicon.zoom_in {background-position:-680px 0;}
211 .BRicon.zoom_in:hover {background-position:-720px 0;}
212 .BRicon.play {background-position:-760px 0;}
213 .BRicon.play:hover {background-position:-800px 0;}
214 .BRicon.pause {background-position:-840px 0;}
215 .BRicon.pause:hover {background-position:-880px 0;}
216 .BRicon.twopg {background-position:-920px 0;}
217 .BRicon.twopg:hover {background-position:-960px 0;}
218 .BRicon.onepg {background-position:-1000px 0;}
219 .BRicon.onepg:hover {background-position:-1040px 0;}
220 .BRicon.thumb {background-position:-1080px 0;}
221 .BRicon.thumb:hover {background-position:-1120px 0;}
222 .BRicon.fit {background-position:-1160px 0;}
223 .BRicon.fit:hover {background-position:-1200px 0;}
224
225
226 a.logo {
227     display: block;
228     float: left;
229     width: 40px;
230     height: 40px;
231     margin: 0 5px;
232     background: transparent url(images/icon_home.png) no-repeat 0 0;
233 }
234 a.popOff {
235     position: absolute;
236     top: 5px;
237     right: 5px;
238     width: 24px;
239     height: 24px;
240     background-image: url(images/BRicons.png);
241     background-color: transparent;
242     background-repeat: no-repeat;
243     background-position: -1050px 0;
244 }
245 a.popOff:hover {
246     background-position: -1100px 0;
247 }
248 a.popOff span {
249     position: absolute;
250     left: -10000px;
251 }
252
253 form#booksearch {
254     float: left;
255     margin-right: 10px;
256 }
257 form#booksearch input[type=search] {
258     min-width: 80px;
259     height: 22px;
260     line-height: 22px;
261     font-family: "Arial", sans-serif;
262     font-size: 13px;
263     -webkit-appearance: textfield;
264     -moz-appearance: textfield;
265     appearance: field;
266     margin: 9px 0 0 0;
267     padding: 0;
268     border: 1px inset #ccc;
269     outline: none;
270 }
271 form#booksearch button {
272     width: 30px;
273     height: 24px;
274     line-height: 24px;
275     border: none;
276     background-color: #000;
277     text-align: center;
278     color: #fff;
279     font-family: "News Gothic MT","Trebuchet MS",Geneva,Helvetica,sans-serif;
280     font-weight: 700;
281     font-size: 11px;
282     text-transform: uppercase;
283     margin: 10px 0 0 5px;
284     -webkit-border-radius: 3px;
285     -moz-border-radius: 3px;
286     border-radius: 3px;
287 }
288
289 .BRlogotype {
290     float:left;
291     font-weight: bold; 
292     height: 25px; 
293     line-height: 25px; 
294     vertical-align: middle; 
295 }
296
297 a.BRwhite               { color: #fff }
298 a.BRwhite:hover         { text-decoration: none; }
299 a.BRwhite:visited       { color: #fff }
300
301 a.BRblack           { color: #000; }
302 a.BRblack:hover     { text-decoration: none; }
303 a.BRblack:visited   { color: #000; }
304
305 a.BRgrey           { color: #999; }
306 a.BRgrey:hover     { text-decoration: none; }
307 a.BRgrey:visited   { color: #666; }
308
309 .BRnavlinks {
310     float:right; 
311     padding: 0 20px 0 0; 
312     margin: 0; 
313     height: 25px; 
314     line-height: 25px; 
315     vertical-align: middle;
316 }
317
318 /* thumnbail view, from Rebecca's demo */
319 .BRpdstatus-footer {
320     position:absolute;
321     height: 65px;
322     bottom: 25px;
323     width: 100%;
324     background-color: #222;
325     text-align: right; 
326     padding: 0px 0px 0px 0px; 
327 }
328
329 .BRwidgetlabel { 
330     color: #919070; 
331     padding: 8px 8px 4px 8px; 
332     font-family: verdana, arial, helvetica, sans-serif; 
333     font-size: 10px; 
334     float: left; 
335 }
336
337 .BRfliparea {
338     background-image: url(images/transparent.png); # Required to capture mouse on IE
339 }
340
341 .BRtwoPagePopUp {
342     padding: 6px;
343     position: absolute;
344     font-family: Arial, sans-serif;
345     font-size: 11px;
346     color: white;
347     background-color: #939598;
348     opacity: 0.85,
349     -webkit-border-radius: 4px;
350     -moz-border-radius: 4px;
351     border-radius: 4px;
352     white-space: nowrap;
353 }
354
355 /* COLORBOX POP-UP */
356
357 #colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999;}
358 #cboxOverlay{position:fixed; width:100%; height:100%;background:#000;opacity:0.75;filter:Alpha(Opacity=75);}
359 #cboxMiddleLeft, #cboxBottomLeft{clear:left;}
360 #cboxContent{position:relative;}
361 #cboxLoadedContent{overflow:visible!important;}
362 #cboxLoadedContent iframe{display:block;border:0;}
363 #cboxTitle{margin:0;display:none!important;}
364 #cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:25px; left:25px; width:100%;}
365 #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
366 #cboxClose{display:none!important;}
367
368 #colorBox{}
369     #cboxContent{background:#fff;padding:0;border:10px solid #615132;-webkit-border-radius:12px;-moz-border-radius:12px;border-radius:12px;-moz-box-shadow: 1px 3px 10px #000;-webkit-box-shadow: 1px 3px 10px #000;box-shadow: 1px 3px 10px #000;}
370         #cboxLoadedContent{background:#fff;margin:0;}
371         #cboxLoadingOverlay{background:transparent;}
372 .BRfloat * {
373     margin: 0;
374     padding: 0;
375 }
376 .BRfloat {
377     position: relative;
378     background: #fff;
379     text-align: left;
380     min-width: 600px;
381     font-family: "Lucida Grande", "Verdana", "Arial", sans-serif;
382     color: #000;
383 }
384 .BRfloat a {
385     color: #036daa;
386 }
387 .BRfloat a:hover {
388     color: #35672e;
389 }
390 .BRfloat a.title {
391     color: #000;
392     text-decoration: none;
393 }
394 .BRfloat a.title:hover {
395     color: #036daa;
396     text-decoration: underline;
397 }
398 .BRfloatHead {
399     background-color: #615132;
400     height: 32px;
401     line-height: 32px;
402     padding: 0 10px 10px 0;
403     font-family: "News Gothic MT","Trebuchet MS",Geneva,Helvetica,sans-serif;
404     font-size: 3em;
405     font-weight: 700;
406     color: #fff;
407 }
408 .BRfloat a.floatShut {position:absolute;top:0;right:0;display:block;width:32px;height:32px;background-image:url("images/icon_close-pop.png");background-position:0 0;background-repeat:no-repeat;}
409 .BRfloat a.floatShut:hover {background-position:0 -32px;}
410 .BRfloat fieldset {
411     margin-top: 20px;
412     padding: 10px 20px;
413     border: none;
414 }
415 .BRfloat fieldset.sub {
416     margin-top: 0px;
417     padding: 10px;
418 }
419 .BRfloat fieldset.center {
420     text-align: center;
421     padding: 10px 20px 30px;
422 }
423 .BRfloat label {
424     display: block;
425     font-weight: 700;
426     font-size: 1.6em;
427     margin: 5px 0;
428 }
429 .BRfloat label.sub {
430     display: inline;
431     padding: 10px 30px 10px 0;
432     font-weight: normal;
433     font-size: 1.4em;
434     color: #666;
435 }
436 .BRfloat input[type=text],
437 .BRfloat textarea {
438     display: block;
439     margin-top: 10px;
440     width: 570px;
441     padding: 3px;
442     border: 2px inset;
443     font-family: "Lucida Grande", "Verdana", "Arial", sans-serif;
444     font-size: 1.4em;
445     line-height: 1.5em;
446     font-weight: normal;
447 }
448 .BRfloat textarea {
449     height: 85px;
450 }
451 .BRfloat button[type=button] {
452     font-size: 2em;
453     padding: 5px;
454     margin: 0 auto;
455 }
456 .BRfloat p {
457     width: 575px;
458     font-size: 1.6em;
459     margin: 20px 20px 0;
460 }
461 .BRfloat p.meta {
462     font-size: 1.1em;
463     color: #748d36;
464     margin: 10px 0 0;
465 }
466 .shift{
467     position:absolute!important;
468     left:-10000px!important;
469 }
470 .BRfloatBody {
471     float: left;
472     width: 570px;
473     padding: 30px;
474     color: #333;
475 }
476 .BRfloatCover {
477     float: left;
478     padding: 0 20px 80px 0;
479 }
480 .BRfloatTitle {
481     font-size: 1.2em;
482 }
483 .BRfloatTitle h2 {
484     display: inline;
485     font-size: 1.3em;
486 }
487 .BRfloatMeta p {
488     margin: 0;
489     padding: 0;
490     font-size: 1.1em;
491     line-height: 1.5em;
492 }
493 .BRfloatMeta p.moreInfo {
494     line-height: 15px;
495     margin-top: 30px;
496 }
497 .BRfloatMeta p.moreInfo span {
498     background: url("images/icon_OL-logo-xs.png") no-repeat;
499     display: block;
500     float: left;
501     width: 26px;
502     height: 15px;
503 }
504 .BRfloatMeta h3 {
505     font-size: 1.1em;
506     font-weight: 700;
507     line-height: 1.5em;
508     margin-top: 30px;
509     color: #333;
510 }
511 .BRfloatMeta ul.links {
512     float: left;
513     clear: right;
514 }
515 .BRfloatMeta ul.links li {
516     list-style-type: none;
517     display: block;
518     float: left;
519     font-size: 1.1em;
520     line-height: 1.5em;
521 }
522 .BRfloatMeta ul.links li span {
523     padding: 0 10px;
524 }
525 .BRfloatFoot a, .BRfloatFoot span {
526     display: block;
527     float: left;
528     line-height: 16px;
529     margin: 0 0 10px 10px;
530 }
531 .BRfloatFoot a.problem {
532     background: url("images/icon_alert-xs.png") no-repeat;
533     padding-left: 20px;
534 }
535 div#BRpage {
536     float: right;
537     width: 320px;
538     padding-left:12px;
539     text-align: right;
540 }
541 div#BRnav {
542     position: fixed;
543     bottom: 0;
544     left: 0;
545     width: 100%;
546     height: 40px;
547     overflow: visible;
548     z-index: 100;
549     background-color: #e2dcc5;    
550 }
551 div#BRnavpos {
552     position: relative;
553     margin-right: 320px;
554     height: 40px;
555 }
556 div#BRpager {
557     position: relative;
558     /* Account for padding around nav line */
559     margin-left: 10px;
560     margin-right: 10px;
561     height: 40px;
562 }
563 div#BRslider {
564     position: absolute;
565     top: 13px;
566     height: 27px;
567 }
568
569 /* XXXmang verify correct use of handle class */
570 #BRpager .ui-slider-handle {
571     position: absolute;
572     width: 23px;
573     height: 27px;
574     top: 13px;
575     margin-left: -12px; /* Center icon */
576     background: url(images/slider.png);
577     z-index: 103;
578 }
579 #BRpager a {
580     text-decoration: none;
581 }
582  /*   
583   width: 8px;
584   height: 14px;
585   position: absolute;
586   top: -4px;
587   background: #478AFF;
588   border: solid 1px black;
589 }
590 */
591
592 div#BRfiller {
593     position: absolute;
594     height: 40px;
595     width: 10px;
596     background-color: #e2dcc5;
597     top: 0;
598     left: 0;
599     z-index: 102;
600 }
601 div#slider {
602     position: absolute;
603     width: 2500px;
604     height: 27px;
605     top: 0;
606     left: -2478px;
607     background-color: #000;
608     opacity: .1;
609     z-index: 101;
610 }
611 div#pager {
612     position: absolute;
613     width: 23px;
614     height: 27px;
615     top: 0;
616     left: 8px;
617     background: url(images/slider.png);
618     z-index: 103;
619 }
620 div#pagenum {
621     display: none;
622     position: absolute;
623     left: 24px;
624     top: 4px;
625     color: #999;
626     font-size: 11px;
627     line-height: 19px;
628     font-weight: 700;
629     padding: 0 5px;
630     width: 80px;
631     text-align: right;
632     background-color: #000;
633     font-family: "Lucida Grande", "Arial", sans-serif;
634 }
635 div#pagenum span {
636     color: #ffa337;
637     font-style: italic;
638 }
639 div#BRnavline {
640     position: relative;
641     height: 2px;
642     width: auto;
643     background-color: #000;
644     top: -29px;
645     margin: 0 10px;
646 }
647 .BRnavend {
648     position: absolute;
649     top: -2px;
650     width: 1px;
651     height: 6px;
652     background-color: #000;
653 }
654 #BRnavleft {
655     left: 0;
656 }
657 #BRnavright {
658     right: 0;
659 }
660 div.chapter {
661     position: absolute;
662     top: -24px; /* Relative to nav line */
663     width: 18px;
664     margin-left: -9px; /* Center marker triangle */
665     height: 27px;
666     background: transparent url(images/marker_chap-off.png) no-repeat;
667     cursor: pointer;
668 }
669 div.chapter.front {
670     background: transparent url(images/marker_chap-on.png) no-repeat;
671 }
672 div.chapter div.title {
673     display: none;
674 }
675 div.title span {
676     color: #666;
677     padding: 0 5px;
678 }
679 div.search {
680     position: absolute;
681     width: 18px;
682     margin-left: -9px; /* Center icon */
683     height: 27px;
684     bottom: 0;  /* Relative to nav line */
685     background-color: transparent;
686     background-image: url(images/marker_srch-off.png);
687     background-repeat: no-repeat;
688     cursor: pointer;
689 }
690 div.search.front {
691     background: transparent url(images/marker_srch-on.png) no-repeat;
692 }
693 div.search div.query,div.searchChap div.query {
694     display: none;
695 }
696 div.query {
697     position: relative;
698 }
699 div.query strong {
700     color: #000;
701     font-weight: 700;
702 }
703 div.query span {
704     font-size: 10px;
705     color: #666;
706     font-style: italic;
707 }
708 div.query div.queryChap {
709     position: absolute;
710     top: -40px;
711     left: -13px;
712     width: 256px;
713     overflow: hidden;
714     text-align: center;
715     background: #000;
716     padding: 5px 10px;
717     color: #fff;
718     font-weight: 700;
719     font-size: 11px;
720 }
721 div.query div.queryChap span {
722     color: #666;
723     padding: 0 5px;
724     font-style: normal;
725 }
726 div.search div.pointer {
727     position: absolute;
728     left: 121px;
729     bottom: -14px;
730     width: 18px;
731     height: 27px;
732     background: transparent url(images/marker_srch-on.png) no-repeat;
733 }
734 div.searchChap {
735     position: absolute;
736     top: -13px;
737     width: 18px;
738     height: 27px;
739     background-color: transparent;
740     background-image: url(images/marker_srchchap-off.png);
741     background-repeat: no-repeat;
742     cursor: pointer;
743 }
744 div.searchChap.front {
745     background-image: url(images/marker_srchchap-on.png);
746 }
747 #BRnav .front {
748     z-index: 10001;
749 }
750 div#BRzoomer {
751     position: fixed;
752     bottom: 40px;
753     right: 0;
754     width: 26px;
755     height: 190px;
756     z-index: 100;
757 }
758 div#BRzoompos {
759     position: relative;
760     width: 26px;
761     height: 190px;
762     top: 0;
763     left: 0;
764 }
765 div#BRzoomer button {
766     position: absolute;
767     left: 0;
768     background-color: #e2dcc5;
769     width: 26px;
770 }
771 div#BRzoomer button:hover {
772     background-color: #000;
773 }
774 div#BRzoomer .zoom_out {
775     top: 0;
776     -webkit-border-top-left-radius: 6px;
777     -webkit-border-bottom-left-radius: 6px;
778     -moz-border-radius-topleft: 6px;
779     -moz-border-radius-bottomleft: 6px;
780     border-top-left-radius: 6px;
781     border-bottom-left-radius: 6px;
782     -webkit-box-shadow: 2px 2px 2px #333;
783     -moz-box-shadow: 2px 2px 2px #333;
784     box-shadow: 2px 2px 2px #333;
785 }
786 div#BRzoomer .zoom_in {
787     bottom: 0;
788     -webkit-border-top-left-radius: 6px;
789     -moz-border-radius-topleft: 6px;
790     border-top-left-radius: 6px;
791 }
792 div#BRzoomcontrol {
793     position: relative;
794     top: 40px;
795     left:3px;
796     width: 23px;
797     height: 110px;    
798 }
799 div#BRzoomstrip {
800     position: absolute;
801     top: 0;
802     left: 0;
803     width: 23px;
804     height: 110px;
805     background-color: #000;
806     opacity: .1;
807 }
808 div#BRzoombtn {
809     position: absolute;
810     width: 23px;
811     height: 23px;
812     top: 0;
813     left: 0;
814     background: url("images/icon_zoomer.png");
815 }
816
817 .BRprogresspopup {
818     position: absolute;
819     background-color: #E6E4E1;
820     background-image: url(images/progressbar.gif);
821     background-repeat:no-repeat;
822     font-size: 0.8em; 
823     z-index: 3;    
824 }
825 .BRnavCntl {
826     background-color: #e2dcc5;
827     position: absolute;
828     right: 20px;
829     width: 40px;
830     height: 30px;
831     cursor: pointer;
832 }
833 #BRnavCntlBtm {
834     bottom: 40px;
835     -moz-border-radius-topright: 8px;
836     -webkit-border-top-right-radius: 8px;
837     -moz-border-radius-topleft: 8px;
838     -webkit-border-top-left-radius: 8px;
839 }
840 .BRup {
841     background-image: url("images/nav_control-up.png");
842     background-position: 8px 4px;
843     background-repeat: no-repeat;
844 }
845 .BRdn {
846     background-image: url("images/nav_control-dn.png");
847     background-position: 8px 4px;
848     background-repeat: no-repeat;
849 }