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