99784ed0bb58cfd440a46b87cead7f8397f3a98e
[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 /* search sidebar */
143 #BookReaderSearch {
144     border:1px solid black;
145     position:absolute;
146     background-color: #E6E4E1;
147     font-family: arial, sans-serif;
148 }
149
150 #BookReaderSearchResults {
151     background-color: #FCFCFC;
152     top: 25px;
153     bottom: 0px;
154     overflow:auto;    
155     position: absolute;
156     left: 0px;
157     right: 0px;    
158     font-family: arial, san-serif;
159     font-size: 0.85em; 
160     padding: 2px;
161 }
162
163 .BookReaderSearchHilite {
164     opacity: 0.20; 
165     filter: alpha(opacity = 20);
166     background-color: #00f;
167     position:absolute;
168 }
169
170 .hidden {
171   display: none;
172 }
173
174 .BRpageform {
175     display: inline; 
176 }
177 #BRpagenum {
178     border: none;
179     background-color: #939598;
180     color: #ccc;
181     font-family: arial, sans-serif;
182     font-size: 12px;
183     font-weight: 700;
184 }
185 #BRreturn {
186     /* display: block; */
187     /* float: left; */
188     /* margin: 0 10px 0 5px; */
189     font-family: "Lucida Grande","Arial",sans-serif;
190     color: #333;
191     height: 20px;
192 }
193 #BRreturn span {
194     font-size: 11px;
195     display: block;
196     height: 12px;
197     padding-top: 3px;
198 }
199 #BRreturn a {
200     font-size: 14px;
201     display: block;
202     color: #036daa;
203     height: 18px;
204     overflow: hidden;
205 }
206 .BRicon {
207     display: block;
208     float: left;
209     width: 40px;
210     height: 40px;
211     padding: 0;
212     margin: 0;
213     vertical-align: middle;
214     border: none;
215     cursor: pointer;
216     background-color: transparent;
217     background-image: url(images/BRicons.png);
218     background-repeat: no-repeat;
219 }
220
221 .BRicon.logo {background-position:0 0;}
222 .BRicon.info {background-position:-40px 0;}
223 .BRicon.info:hover {background-position:-80px 0;}
224 .BRicon.share {background-position:-120px 0;}
225 .BRicon.share:hover {background-position:-160px 0;}
226 .BRicon.read {background-position:-200px 0;}
227 .BRicon.read:hover {background-position:-240px 0;}
228 .BRicon.unread {background-position:-280px 0;}
229 .BRicon.unread:hover {background-position:-320px 0;}
230 .BRicon.full {background-position:-360px 0;}
231 .BRicon.full:hover {background-position:-400px 0;}
232 .BRicon.book_left {background-position:-440px 0;}
233 .BRicon.book_left:hover {background-position:-480px 0;}
234 .BRicon.book_right {background-position:-520px 0;}
235 .BRicon.book_right:hover {background-position:-560px 0;}
236 .BRicon.zoom_out {background-position:-600px 0;}
237 .BRicon.zoom_out:hover {background-position:-640px 0;}
238 .BRicon.zoom_in {background-position:-680px 0;}
239 .BRicon.zoom_in:hover {background-position:-720px 0;}
240 .BRicon.play {background-position:-760px 0;}
241 .BRicon.play:hover {background-position:-800px 0;}
242 .BRicon.pause {background-position:-840px 0;}
243 .BRicon.pause:hover {background-position:-880px 0;}
244 .BRicon.twopg {background-position:-920px 0;}
245 .BRicon.twopg:hover {background-position:-960px 0;}
246 .BRicon.onepg {background-position:-1000px 0;}
247 .BRicon.onepg:hover {background-position:-1040px 0;}
248 .BRicon.thumb {background-position:-1080px 0;}
249 .BRicon.thumb:hover {background-position:-1120px 0;}
250 .BRicon.fit {background-position:-1160px 0;}
251 .BRicon.fit:hover {background-position:-1200px 0;}
252
253
254 a.logo {
255     display: block;
256     float: left;
257     width: 40px;
258     height: 40px;
259     margin: 0 5px;
260     background: transparent url(images/icon_home.png) no-repeat 0 0;
261 }
262 a.popOff {
263     position: absolute;
264     top: 5px;
265     right: 5px;
266     width: 24px;
267     height: 24px;
268     background-image: url(images/BRicons.png);
269     background-color: transparent;
270     background-repeat: no-repeat;
271     background-position: -1050px 0;
272 }
273 a.popOff:hover {
274     background-position: -1100px 0;
275 }
276 a.popOff span {
277     position: absolute;
278     left: -10000px;
279 }
280
281 form#booksearch {
282     float: left;
283     margin-right: 10px;
284 }
285 form#booksearch input[type=search] {
286     width: 280px;
287     height: 22px;
288     line-height: 22px;
289     font-family: "Arial", sans-serif;
290     font-size: 13px;
291     -webkit-appearance: textfield;
292     -moz-appearance: textfield;
293     appearance: field;
294     margin: 9px 0 0 0;
295     padding: 0;
296     border: 1px inset #ccc;
297 }
298 form#booksearch button {
299     width: 30px;
300     height: 24px;
301     line-height: 24px;
302     border: none;
303     background-color: #000;
304     text-align: center;
305     color: #fff;
306     font-family: "News Gothic MT","Trebuchet MS",Geneva,Helvetica,sans-serif;
307     font-weight: 700;
308     font-size: 11px;
309     text-transform: uppercase;
310     margin: 10px 0 0 5px;
311     -webkit-border-radius: 3px;
312     -moz-border-radius: 3px;
313     border-radius: 3px;
314 }
315
316 .BRlogotype {
317     float:left;
318     font-weight: bold; 
319     height: 25px; 
320     line-height: 25px; 
321     vertical-align: middle; 
322 }
323
324 a.BRwhite               { color: #fff }
325 a.BRwhite:hover         { text-decoration: none; }
326 a.BRwhite:visited       { color: #fff }
327
328 a.BRblack           { color: #000; }
329 a.BRblack:hover     { text-decoration: none; }
330 a.BRblack:visited   { color: #000; }
331
332 a.BRgrey           { color: #999; }
333 a.BRgrey:hover     { text-decoration: none; }
334 a.BRgrey:visited   { color: #666; }
335
336 .BRnavlinks {
337     float:right; 
338     padding: 0 20px 0 0; 
339     margin: 0; 
340     height: 25px; 
341     line-height: 25px; 
342     vertical-align: middle;
343 }
344
345 /* thumnbail view, from Rebecca's demo */
346 .BRpdstatus-footer {
347     position:absolute;
348     height: 65px;
349     bottom: 25px;
350     width: 100%;
351     background-color: #222;
352     text-align: right; 
353     padding: 0px 0px 0px 0px; 
354 }
355
356 .BRwidgetlabel { 
357     color: #919070; 
358     padding: 8px 8px 4px 8px; 
359     font-family: verdana, arial, helvetica, sans-serif; 
360     font-size: 10px; 
361     float: left; 
362 }
363
364 .BRfliparea {
365     background-image: url(images/transparent.png); # Required to capture mouse on IE
366 }
367
368 .BRtwoPagePopUp {
369     padding: 6px;
370     position: absolute;
371     font-family: Arial, sans-serif;
372     font-size: 11px;
373     color: white;
374     background-color: #939598;
375     opacity: 0.85,
376     -webkit-border-radius: 4px;
377     -moz-border-radius: 4px;
378     border-radius: 4px;
379     white-space: nowrap;
380 }
381
382 /* COLORBOX POP-UP */
383
384 #colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999;}
385 #cboxOverlay{position:fixed; width:100%; height:100%;background:#000;opacity:0.75;filter:Alpha(Opacity=75);}
386 #cboxMiddleLeft, #cboxBottomLeft{clear:left;}
387 #cboxContent{position:relative;}
388 #cboxLoadedContent{overflow:visible!important;}
389 #cboxLoadedContent iframe{display:block;border:0;}
390 #cboxTitle{margin:0;display:none!important;}
391 #cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:25px; left:25px; width:100%;}
392 #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
393 #cboxClose{display:none!important;}
394
395 #colorBox{}
396     #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;}
397         #cboxLoadedContent{background:#fff;margin:0;}
398         #cboxLoadingOverlay{background:transparent;}
399         /* XXXmang where is icon_close? */
400         #cboxClose{position:absolute;top:20px;right:20px;display:block;width:32px;height:32px;background-image:url(/images/icons/icon_close-pop.png);background-position:0 0;background-repeat:no-repeat;}
401         #cboxClose:hover{background-position:0 -32px;}
402
403 div#BRpage {
404     float: right;
405     width: 320px;
406     padding-left:12px;
407     text-align: right;
408 }
409 div#BRnav {
410     position: fixed;
411     bottom: 0;
412     left: 0;
413     width: 100%;
414     height: 40px;
415     overflow: visible;
416     z-index: 100;
417     background-color: #e2dcc5;    
418 }
419 div#BRnavpos {
420     position: relative;
421     margin-right: 320px;
422     height: 40px;
423 }
424 div#BRpager {
425     position: relative;
426     /* Account for padding around nav line */
427     margin-left: 10px;
428     margin-right: 10px;
429     height: 40px;
430 }
431 div#BRslider {
432     position: absolute;
433     top: 13px;
434     height: 27px;
435 }
436
437 /* XXXmang verify correct use of handle class */
438 #BRpager .ui-slider-handle {
439     position: absolute;
440     width: 23px;
441     height: 27px;
442     top: 13px;
443     margin-left: -12px; /* Center icon */
444     background: url(images/slider.png);
445     z-index: 103;
446 }
447 #BRpager a {
448     text-decoration: none;
449 }
450  /*   
451   width: 8px;
452   height: 14px;
453   position: absolute;
454   top: -4px;
455   background: #478AFF;
456   border: solid 1px black;
457 }
458 */
459
460 div#BRfiller {
461     position: absolute;
462     height: 40px;
463     width: 10px;
464     background-color: #e2dcc5;
465     top: 0;
466     left: 0;
467     z-index: 102;
468 }
469 div#slider {
470     position: absolute;
471     width: 2500px;
472     height: 27px;
473     top: 0;
474     left: -2478px;
475     background-color: #000;
476     opacity: .1;
477     z-index: 101;
478 }
479 div#pager {
480     position: absolute;
481     width: 23px;
482     height: 27px;
483     top: 0;
484     left: 8px;
485     background: url(images/slider.png);
486     z-index: 103;
487 }
488 div#pagenum {
489     display: none;
490     position: absolute;
491     left: 24px;
492     top: 4px;
493     color: #999;
494     font-size: 11px;
495     line-height: 19px;
496     font-weight: 700;
497     padding: 0 5px;
498     width: 80px;
499     text-align: right;
500     background-color: #000;
501     font-family: "Lucida Grande", "Arial", sans-serif;
502 }
503 div#pagenum span {
504     color: #ffa337;
505     font-style: italic;
506 }
507 div#BRnavline {
508     position: relative;
509     height: 2px;
510     width: auto;
511     background-color: #000;
512     top: -29px;
513     margin: 0 10px;
514 }
515 .BRnavend {
516     position: absolute;
517     top: -2px;
518     width: 1px;
519     height: 6px;
520     background-color: #000;
521 }
522 #BRnavleft {
523     left: 0;
524 }
525 #BRnavright {
526     right: 0;
527 }
528 div.chapter {
529     position: absolute;
530     top: -24px; /* Relative to nav line */
531     width: 18px;
532     margin-left: -9px; /* Center marker triangle */
533     height: 27px;
534     background: transparent url(images/marker_chap-off.png) no-repeat;
535     cursor: pointer;
536 }
537 div.chapter.front {
538     background: transparent url(images/marker_chap-on.png) no-repeat;
539 }
540 div.chapter div.title {
541     display: none;
542 }
543 div.title span {
544     color: #666;
545     padding: 0 5px;
546 }
547 div.search {
548     position: absolute;
549     width: 18px;
550     margin-left: -9px; /* Center icon */
551     height: 27px;
552     bottom: 0;  /* Relative to nav line */
553     background-color: transparent;
554     background-image: url(images/marker_srch-off.png);
555     background-repeat: no-repeat;
556     cursor: pointer;
557 }
558 div.search.front {
559     background: transparent url(images/marker_srch-on.png) no-repeat;
560 }
561 div.search div.query,div.searchChap div.query {
562     display: none;
563 }
564 div.query {
565     position: relative;
566 }
567 div.query strong {
568     color: #000;
569     font-weight: 700;
570 }
571 div.query span {
572     font-size: 10px;
573     color: #666;
574     font-style: italic;
575 }
576 div.query div.queryChap {
577     position: absolute;
578     top: -40px;
579     left: -13px;
580     width: 256px;
581     overflow: hidden;
582     text-align: center;
583     background: #000;
584     padding: 5px 10px;
585     color: #fff;
586     font-weight: 700;
587     font-size: 11px;
588 }
589 div.query div.queryChap span {
590     color: #666;
591     padding: 0 5px;
592     font-style: normal;
593 }
594 div.search div.pointer {
595     position: absolute;
596     left: 121px;
597     bottom: -14px;
598     width: 18px;
599     height: 27px;
600     background: transparent url(images/marker_srch-on.png) no-repeat;
601 }
602 div.searchChap {
603     position: absolute;
604     top: -13px;
605     width: 18px;
606     height: 27px;
607     background-color: transparent;
608     background-image: url(images/marker_srchchap-off.png);
609     background-repeat: no-repeat;
610     cursor: pointer;
611 }
612 div.searchChap.front {
613     background-image: url(images/marker_srchchap-on.png);
614 }
615 #BRnav .front {
616     z-index: 10001;
617 }
618 div#BRzoomer {
619     position: fixed;
620     bottom: 40px;
621     right: 0;
622     width: 26px;
623     height: 190px;
624     z-index: 100;
625 }
626 div#BRzoompos {
627     position: relative;
628     width: 26px;
629     height: 190px;
630     top: 0;
631     left: 0;
632 }
633 div#BRzoomer button {
634     position: absolute;
635     left: 0;
636     background-color: #e2dcc5;
637     width: 26px;
638 }
639 div#BRzoomer button:hover {
640     background-color: #000;
641 }
642 div#BRzoomer .zoom_out {
643     top: 0;
644     -webkit-border-top-left-radius: 6px;
645     -webkit-border-bottom-left-radius: 6px;
646     -moz-border-radius-topleft: 6px;
647     -moz-border-radius-bottomleft: 6px;
648     border-top-left-radius: 6px;
649     border-bottom-left-radius: 6px;
650     -webkit-box-shadow: 2px 2px 2px #333;
651     -moz-box-shadow: 2px 2px 2px #333;
652     box-shadow: 2px 2px 2px #333;
653 }
654 div#BRzoomer .zoom_in {
655     bottom: 0;
656     -webkit-border-top-left-radius: 6px;
657     -moz-border-radius-topleft: 6px;
658     border-top-left-radius: 6px;
659 }
660 div#BRzoomcontrol {
661     position: relative;
662     top: 40px;
663     left:3px;
664     width: 23px;
665     height: 110px;    
666 }
667 div#BRzoomstrip {
668     position: absolute;
669     top: 0;
670     left: 0;
671     width: 23px;
672     height: 110px;
673     background-color: #000;
674     opacity: .1;
675 }
676 div#BRzoombtn {
677     position: absolute;
678     width: 23px;
679     height: 23px;
680     top: 0;
681     left: 0;
682     background: url("images/icon_zoomer.png");
683 }
684
685 .BRttsPopUp {
686     position: absolute;
687     background-color: #E6E4E1;
688     background-image: url(images/progressbar.gif);
689     background-repeat:no-repeat;
690     font-size: 0.8em; 
691     z-index: 3;    
692 }
693 .BRnavCntl {
694     background-color: #e2dcc5;
695     position: absolute;
696     right: 20px;
697     width: 40px;
698     height: 30px;
699     cursor: pointer;
700 }
701 #BRnavCntlBtm {
702     bottom: 40px;
703     -moz-border-radius-topright: 8px;
704     -webkit-border-top-right-radius: 8px;
705     -moz-border-radius-topleft: 8px;
706     -webkit-border-top-left-radius: 8px;
707 }
708 .BRup {
709     background-image: url("images/nav_control-up.png");
710     background-position: 8px 4px;
711     background-repeat: no-repeat;
712 }
713 .BRdn {
714     background-image: url("images/nav_control-dn.png");
715     background-position: 8px 4px;
716     background-repeat: no-repeat;
717 }