Updates!
[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         /* XXXmang where is icon_close? */
373         #cboxClose{position:absolute;top:20px;right:20px;display:block;width:32px;height:32px;background-image:url(/images/icon_close-pop.png);background-position:0 0;background-repeat:no-repeat;}
374         #cboxClose:hover{background-position:0 -32px;}
375 .BRfloat * {
376     margin: 0;
377     padding: 0;
378 }
379 .BRfloat {
380     position: relative;
381     background: #fff;
382     text-align: left;
383     min-width: 600px;
384     font-family: "Lucida Grande", "Verdana", "Arial", sans-serif;
385     color: #000;
386 }
387 .BRfloatHead {
388     background-color: #615132;
389     height: 32px;
390     line-height: 32px;
391     padding: 0 10px 10px 0;
392     font-family: "News Gothic MT","Trebuchet MS",Geneva,Helvetica,sans-serif;
393     font-size: 3em;
394     font-weight: 700;
395     color: #fff;
396 }
397 .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;}
398 .BRfloat a.floatShut:hover {background-position:0 -32px;}
399 .BRfloat fieldset {
400     margin-top: 20px;
401     padding: 10px 20px;
402     border: none;
403 }
404 .BRfloat fieldset.sub {
405     margin-top: 0px;
406     padding: 10px;
407 }
408 .BRfloat fieldset.center {
409     text-align: center;
410     padding: 10px 20px 30px;
411 }
412 .BRfloat label {
413     display: block;
414     font-weight: 700;
415     font-size: 1.6em;
416     margin: 5px 0;
417 }
418 .BRfloat label.sub {
419     display: inline;
420     padding: 10px 30px 10px 0;
421     font-weight: normal;
422     font-size: 1.4em;
423     color: #666;
424 }
425 .BRfloat input[type=text],
426 .BRfloat textarea {
427     display: block;
428     margin-top: 10px;
429     width: 570px;
430     padding: 3px;
431     border: 2px inset;
432     font-family: "Lucida Grande", "Verdana", "Arial", sans-serif;
433     font-size: 1.4em;
434     line-height: 1.5em;
435     font-weight: normal;
436 }
437 .BRfloat textarea {
438     height: 85px;
439 }
440 .BRfloat button[type=button] {
441     font-size: 2em;
442     padding: 5px;
443     margin: 0 auto;
444 }
445 .BRfloat p {
446     width: 575px;
447     font-size: 1.6em;
448     margin: 20px 20px 0;
449 }
450 .BRfloat p.meta {
451     font-size: 1.1em;
452     color: #748d36;
453     margin: 10px 0 0;
454 }
455 .shift{
456     position:absolute!important;
457     left:-10000px!important;
458 }
459 div#BRpage {
460     float: right;
461     width: 320px;
462     padding-left:12px;
463     text-align: right;
464 }
465 div#BRnav {
466     position: fixed;
467     bottom: 0;
468     left: 0;
469     width: 100%;
470     height: 40px;
471     overflow: visible;
472     z-index: 100;
473     background-color: #e2dcc5;    
474 }
475 div#BRnavpos {
476     position: relative;
477     margin-right: 320px;
478     height: 40px;
479 }
480 div#BRpager {
481     position: relative;
482     /* Account for padding around nav line */
483     margin-left: 10px;
484     margin-right: 10px;
485     height: 40px;
486 }
487 div#BRslider {
488     position: absolute;
489     top: 13px;
490     height: 27px;
491 }
492
493 /* XXXmang verify correct use of handle class */
494 #BRpager .ui-slider-handle {
495     position: absolute;
496     width: 23px;
497     height: 27px;
498     top: 13px;
499     margin-left: -12px; /* Center icon */
500     background: url(images/slider.png);
501     z-index: 103;
502 }
503 #BRpager a {
504     text-decoration: none;
505 }
506  /*   
507   width: 8px;
508   height: 14px;
509   position: absolute;
510   top: -4px;
511   background: #478AFF;
512   border: solid 1px black;
513 }
514 */
515
516 div#BRfiller {
517     position: absolute;
518     height: 40px;
519     width: 10px;
520     background-color: #e2dcc5;
521     top: 0;
522     left: 0;
523     z-index: 102;
524 }
525 div#slider {
526     position: absolute;
527     width: 2500px;
528     height: 27px;
529     top: 0;
530     left: -2478px;
531     background-color: #000;
532     opacity: .1;
533     z-index: 101;
534 }
535 div#pager {
536     position: absolute;
537     width: 23px;
538     height: 27px;
539     top: 0;
540     left: 8px;
541     background: url(images/slider.png);
542     z-index: 103;
543 }
544 div#pagenum {
545     display: none;
546     position: absolute;
547     left: 24px;
548     top: 4px;
549     color: #999;
550     font-size: 11px;
551     line-height: 19px;
552     font-weight: 700;
553     padding: 0 5px;
554     width: 80px;
555     text-align: right;
556     background-color: #000;
557     font-family: "Lucida Grande", "Arial", sans-serif;
558 }
559 div#pagenum span {
560     color: #ffa337;
561     font-style: italic;
562 }
563 div#BRnavline {
564     position: relative;
565     height: 2px;
566     width: auto;
567     background-color: #000;
568     top: -29px;
569     margin: 0 10px;
570 }
571 .BRnavend {
572     position: absolute;
573     top: -2px;
574     width: 1px;
575     height: 6px;
576     background-color: #000;
577 }
578 #BRnavleft {
579     left: 0;
580 }
581 #BRnavright {
582     right: 0;
583 }
584 div.chapter {
585     position: absolute;
586     top: -24px; /* Relative to nav line */
587     width: 18px;
588     margin-left: -9px; /* Center marker triangle */
589     height: 27px;
590     background: transparent url(images/marker_chap-off.png) no-repeat;
591     cursor: pointer;
592 }
593 div.chapter.front {
594     background: transparent url(images/marker_chap-on.png) no-repeat;
595 }
596 div.chapter div.title {
597     display: none;
598 }
599 div.title span {
600     color: #666;
601     padding: 0 5px;
602 }
603 div.search {
604     position: absolute;
605     width: 18px;
606     margin-left: -9px; /* Center icon */
607     height: 27px;
608     bottom: 0;  /* Relative to nav line */
609     background-color: transparent;
610     background-image: url(images/marker_srch-off.png);
611     background-repeat: no-repeat;
612     cursor: pointer;
613 }
614 div.search.front {
615     background: transparent url(images/marker_srch-on.png) no-repeat;
616 }
617 div.search div.query,div.searchChap div.query {
618     display: none;
619 }
620 div.query {
621     position: relative;
622 }
623 div.query strong {
624     color: #000;
625     font-weight: 700;
626 }
627 div.query span {
628     font-size: 10px;
629     color: #666;
630     font-style: italic;
631 }
632 div.query div.queryChap {
633     position: absolute;
634     top: -40px;
635     left: -13px;
636     width: 256px;
637     overflow: hidden;
638     text-align: center;
639     background: #000;
640     padding: 5px 10px;
641     color: #fff;
642     font-weight: 700;
643     font-size: 11px;
644 }
645 div.query div.queryChap span {
646     color: #666;
647     padding: 0 5px;
648     font-style: normal;
649 }
650 div.search div.pointer {
651     position: absolute;
652     left: 121px;
653     bottom: -14px;
654     width: 18px;
655     height: 27px;
656     background: transparent url(images/marker_srch-on.png) no-repeat;
657 }
658 div.searchChap {
659     position: absolute;
660     top: -13px;
661     width: 18px;
662     height: 27px;
663     background-color: transparent;
664     background-image: url(images/marker_srchchap-off.png);
665     background-repeat: no-repeat;
666     cursor: pointer;
667 }
668 div.searchChap.front {
669     background-image: url(images/marker_srchchap-on.png);
670 }
671 #BRnav .front {
672     z-index: 10001;
673 }
674 div#BRzoomer {
675     position: fixed;
676     bottom: 40px;
677     right: 0;
678     width: 26px;
679     height: 190px;
680     z-index: 100;
681 }
682 div#BRzoompos {
683     position: relative;
684     width: 26px;
685     height: 190px;
686     top: 0;
687     left: 0;
688 }
689 div#BRzoomer button {
690     position: absolute;
691     left: 0;
692     background-color: #e2dcc5;
693     width: 26px;
694 }
695 div#BRzoomer button:hover {
696     background-color: #000;
697 }
698 div#BRzoomer .zoom_out {
699     top: 0;
700     -webkit-border-top-left-radius: 6px;
701     -webkit-border-bottom-left-radius: 6px;
702     -moz-border-radius-topleft: 6px;
703     -moz-border-radius-bottomleft: 6px;
704     border-top-left-radius: 6px;
705     border-bottom-left-radius: 6px;
706     -webkit-box-shadow: 2px 2px 2px #333;
707     -moz-box-shadow: 2px 2px 2px #333;
708     box-shadow: 2px 2px 2px #333;
709 }
710 div#BRzoomer .zoom_in {
711     bottom: 0;
712     -webkit-border-top-left-radius: 6px;
713     -moz-border-radius-topleft: 6px;
714     border-top-left-radius: 6px;
715 }
716 div#BRzoomcontrol {
717     position: relative;
718     top: 40px;
719     left:3px;
720     width: 23px;
721     height: 110px;    
722 }
723 div#BRzoomstrip {
724     position: absolute;
725     top: 0;
726     left: 0;
727     width: 23px;
728     height: 110px;
729     background-color: #000;
730     opacity: .1;
731 }
732 div#BRzoombtn {
733     position: absolute;
734     width: 23px;
735     height: 23px;
736     top: 0;
737     left: 0;
738     background: url("images/icon_zoomer.png");
739 }
740
741 .BRttsPopUp {
742     position: absolute;
743     background-color: #E6E4E1;
744     background-image: url(images/progressbar.gif);
745     background-repeat:no-repeat;
746     font-size: 0.8em; 
747     z-index: 3;    
748 }
749 .BRnavCntl {
750     background-color: #e2dcc5;
751     position: absolute;
752     right: 20px;
753     width: 40px;
754     height: 30px;
755     cursor: pointer;
756 }
757 #BRnavCntlBtm {
758     bottom: 40px;
759     -moz-border-radius-topright: 8px;
760     -webkit-border-top-right-radius: 8px;
761     -moz-border-radius-topleft: 8px;
762     -webkit-border-top-left-radius: 8px;
763 }
764 .BRup {
765     background-image: url("images/nav_control-up.png");
766     background-position: 8px 4px;
767     background-repeat: no-repeat;
768 }
769 .BRdn {
770     background-image: url("images/nav_control-dn.png");
771     background-position: 8px 4px;
772     background-repeat: no-repeat;
773 }