19185fc8cf0eed44d936a85aa054e18c371f8bbc
[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 #BookReader {
14  position:absolute;
15  font-family: arial, sans-serif;
16  left:0;
17  right:0; 
18  top:0; 
19  bottom:0;
20 }
21 #BRtoolbar {
22     position: fixed;
23     top: 0;
24     left: 0;
25     height: 40px;
26     padding: 0;
27     width: 100%;
28     z-index: 100;
29     background-color: #e2dcc5;
30 }
31 #BRtoolbar .label {
32     font-size: 1.1em;
33     color: #999;
34 }
35 #BRtoolbar a {
36     color: #ccc;
37     text-decoration: underline;
38 }
39 #BRtoolbarbuttons {
40     float: right;
41 }
42 #BRcontainer {
43     top:5px;
44     bottom:5px;
45     width:100%;
46     z-index: 1;
47     overflow-x:auto;
48     overflow-y:scroll;    
49     position:absolute;
50     background-color: #939598;
51 }
52
53 #BRpageview {
54     background-color: #939598;
55 }
56
57 .BRpagediv1up {
58     background-color: #939598;
59     overflow:hidden;
60     cursor: move;
61 }
62
63 .BRpagedivthumb {
64     background-color: #939598;
65     overflow:hidden;
66 }
67
68 .BRpagedivthumb a {
69     border: 0;
70 }
71
72 .BRpagedivthumb img {
73     border: 0;
74 }
75
76 /* Must come after .BRpagedivthumb rules in order to override them */
77 .BRpagedivthumb_highlight {
78     background-color: #939598;
79     overflow:hidden;
80 }
81
82 .BRpagediv2up {
83     background-color: rgb(234, 226, 205);
84     overflow:hidden;
85 }
86
87 #BRbookcover {
88     /* border: 1px solid rgb(68, 25, 17); */
89     /* background-color: #663929; */
90     position: absolute;
91     background-image: url(images/back_pages.png);
92     -moz-box-shadow: 1px 0 3px #000;
93     -webkit-box-shadow: 1px 0 3px #000;
94     /* -moz-border-radius: 6px; */
95     /* -webkit-border-radius: 6px; */
96 }
97
98 .BRpageimage {
99     background-color: rgb(234, 226, 205);
100 }
101
102 .BRleafEdgeR {
103     /*
104     border-style: solid solid solid none;
105     border-color: rgb(51, 51, 34);
106     border-width: 1px 1px 1px 0px;
107     */
108     background: transparent url(images/back_pages.png) repeat scroll 0% 0%;
109     position: absolute;
110 }
111
112 .BRleafEdgeL {
113     /*
114     border-style: solid none solid solid;
115     border-color: rgb(51, 51, 34);
116     border-width: 1px 0px 1px 1px;
117     */
118     /* background: transparent url(images/left_edges.png) repeat scroll 0% 0%; */
119     background: transparent url(images/back_pages.png) repeat scroll 0% 0%; /* XXXmang replace file */
120     position: absolute;
121 }
122
123 .BRleafEdgeTmp {
124     border-style: solid none solid solid;
125     border-color: rgb(51, 51, 34);
126     border-width: 1px 0px 1px 1px;
127     /* background: transparent url(images/left_edges.png) repeat scroll 0% 0%; */
128     background: transparent url(images/back_pages.png) repeat scroll 0% 0%; /* XXXmang replace file */
129     position: absolute;
130 }
131
132 #BRbookspine {    
133     /* border: 1px solid rgb(68, 25, 17); */
134     background-color: rgb(68, 25, 17);
135     position: absolute;
136 }
137
138 /* search sidebar */
139 #BookReaderSearch {
140     border:1px solid black;
141     position:absolute;
142     background-color: #E6E4E1;
143     font-family: arial, sans-serif;
144 }
145
146 #BookReaderSearchResults {
147     background-color: #FCFCFC;
148     top: 25px;
149     bottom: 0px;
150     overflow:auto;    
151     position: absolute;
152     left: 0px;
153     right: 0px;    
154     font-family: arial, san-serif;
155     font-size: 0.85em; 
156     padding: 2px;
157 }
158
159 .BookReaderSearchHilite {
160     opacity: 0.20; 
161     filter: alpha(opacity = 20);
162     background-color: #00f;
163     position:absolute;
164 }
165
166 .hidden {
167   display: none;
168 }
169
170 .BRpageform {
171     display: inline; 
172 }
173 #BRpagenum {
174     border: none;
175     background-color: #939598;
176     color: #ccc;
177     font-family: arial, sans-serif;
178     font-size: 12px;
179     font-weight: 700;
180 }
181 #BRreturn {
182     display: block;
183     float: left;
184     margin: 5px 10px 0 5px;
185     font-family: "Lucida Grande","Arial",sans-serif;
186     color: #333;
187 }
188 #BRreturn span {
189     font-size: 10px;
190     display: block;
191 }
192 #BRreturn a {
193     font-size: 13px;
194     display: block;
195     color: #036daa;
196 }
197 .BRicon {
198     display: block;
199     float: left;
200     width: 40px;
201     height: 40px;
202     padding: 0;
203     margin: 0;
204     vertical-align: middle;
205     border: none;
206     cursor: pointer;
207     background-color: transparent;
208     background-image: url(images/BRicons.png);
209     background-repeat: no-repeat;
210 }
211
212 .BRicon.logo {background-position:0 0;}
213 .BRicon.info {background-position:-40px 0;}
214 .BRicon.info:hover {background-position:-80px 0;}
215 .BRicon.share {background-position:-120px 0;}
216 .BRicon.share:hover {background-position:-160px 0;}
217 .BRicon.read {background-position:-200px 0;}
218 .BRicon.read:hover {background-position:-240px 0;}
219 .BRicon.unread {background-position:-280px 0;}
220 .BRicon.unread:hover {background-position:-320px 0;}
221 .BRicon.full {background-position:-360px 0;}
222 .BRicon.full:hover {background-position:-400px 0;}
223 .BRicon.book_left {background-position:-440px 0;}
224 .BRicon.book_left:hover {background-position:-480px 0;}
225 .BRicon.book_right {background-position:-520px 0;}
226 .BRicon.book_right:hover {background-position:-560px 0;}
227 .BRicon.zoom_out {background-position:-606px 0;}
228 .BRicon.zoom_out:hover {background-position:-646px 0;}
229 .BRicon.zoom_in {background-position:-686px 0;}
230 .BRicon.zoom_in:hover {background-position:-726px 0;}
231
232
233 /* NOT CURRENTLY IN USE
234 .BRicon.embed {background-position:-440px;}
235 .BRicon.embed:hover {background-position:-480px 0;}
236 .BRicon.read {background-position:-520px 0;}
237 .BRicon.read:hover {background-position:-560px 0;}
238 .BRicon.full {background-position:-600px 0;}
239 .BRicon.full:hover {background-position:-640px 0;}
240 .BRicon.thumb {background-position:-680px 0;}
241 .BRicon.thumb:hover {background-position:-720px 0;}
242 .BRicon.twopg {background-position:-760px 0;display:none;}
243 .BRicon.twopg:hover {background-position:-800px 0;}
244 .BRicon.one_page_mode {background-position:;}
245 .BRicon.two_page_mode {background-position:;}
246 .BRicon.thumbnail_mode {background-position:;}
247 .BRicon.book_up {background-position:;}
248 .BRicon.book_down {background-position:;}
249 .BRicon.book_leftmost {background-position:;}
250 .BRicon.book_rightmost {background-position:;}
251 .BRicon.book_top {background-position:;}
252 .BRicon.book_bottom {background-position:;}
253 .BRicon.play {background-position:;}
254 .BRicon.pause {background-position:;}
255 */
256 a.logo {
257     display: block;
258     float: left;
259     width: 40px;
260     height: 40px;
261     background: transparent url(images/icon_home.png) no-repeat 0 0;
262 }
263 a.popOff {
264     position: absolute;
265     top: 5px;
266     right: 5px;
267     width: 24px;
268     height: 24px;
269     background-image: url(images/BRicons.png);
270     background-color: transparent;
271     background-repeat: no-repeat;
272     background-position: -1050px 0;
273     outline: none;
274 }
275 a.popOff:hover {
276     background-position: -1100px 0;
277 }
278 a.popOff span {
279     position: absolute;
280     left: -10000px;
281 }
282
283 form#booksearch {
284     float: left;
285     margin-right: 10px;
286 }
287 form#booksearch input[type=search] {
288     width: 280px;
289     height: 22px;
290     line-height: 22px;
291     font-family: "Arial", sans-serif;
292     font-size: 13px;
293     -webkit-appearance: textfield;
294     -moz-appearance: textfield;
295     appearance: field;
296     margin: 9px 0 0 0;
297     padding: 0;
298     border: 1px inset #ccc;
299 }
300 form#booksearch button {
301     width: 30px;
302     height: 24px;
303     line-height: 24px;
304     border: none;
305     background-color: #000;
306     text-align: center;
307     color: #fff;
308     font-family: "News Gothic MT","Trebuchet MS",Geneva,Helvetica,sans-serif;
309     font-weight: 700;
310     font-size: 11px;
311     text-transform: uppercase;
312     margin: 10px 0 0 5px;
313     -webkit-border-radius: 3px;
314     -moz-border-radius: 3px;
315     border-radius: 3px;
316 }
317
318 .BRlogotype {
319     float:left;
320     font-weight: bold; 
321     height: 25px; 
322     line-height: 25px; 
323     vertical-align: middle; 
324 }
325
326 a.BRwhite               { color: #fff }
327 a.BRwhite:hover         { text-decoration: none; }
328 a.BRwhite:visited       { color: #fff }
329
330 a.BRblack           { color: #000; }
331 a.BRblack:hover     { text-decoration: none; }
332 a.BRblack:visited   { color: #000; }
333
334 a.BRgrey           { color: #999; }
335 a.BRgrey:hover     { text-decoration: none; }
336 a.BRgrey:visited   { color: #666; }
337
338 .BRnavlinks {
339     float:right; 
340     padding: 0 20px 0 0; 
341     margin: 0; 
342     height: 25px; 
343     line-height: 25px; 
344     vertical-align: middle;
345 }
346
347 /* thumnbail view, from Rebecca's demo */
348 .BRpdstatus-footer {
349     position:absolute;
350     height: 65px;
351     bottom: 25px;
352     width: 100%;
353     background-color: #222;
354     text-align: right; 
355     padding: 0px 0px 0px 0px; 
356 }
357
358 .BRwidgetlabel { 
359     color: #919070; 
360     padding: 8px 8px 4px 8px; 
361     font-family: verdana, arial, helvetica, sans-serif; 
362     font-size: 10px; 
363     float: left; 
364 }
365
366 .BRfliparea {
367     background-image: url(images/transparent.png); # Required to capture mouse on IE
368 }
369
370 .BRtwoPagePopUp {
371     padding: 6px;
372     position: absolute;
373     font-family: Arial, sans-serif;
374     font-size: 11px;
375     color: white;
376     background-color: #939598;
377     opacity: 0.85,
378     -webkit-border-radius: 4px;
379     -moz-border-radius: 4px;
380     border-radius: 4px;
381     white-space: nowrap;
382 }
383
384 /* COLORBOX POP-UP */
385
386 #colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999;}
387 #cboxOverlay{position:fixed; width:100%; height:100%;background:#000;opacity:0.75;filter:Alpha(Opacity=75);}
388 #cboxMiddleLeft, #cboxBottomLeft{clear:left;}
389 #cboxContent{position:relative;}
390 #cboxLoadedContent{overflow:visible!important;}
391 #cboxLoadedContent iframe{display:block;border:0;}
392 #cboxTitle{margin:0;display:none!important;}
393 #cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:25px; left:25px; width:100%;}
394 #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
395 #cboxClose{display:none!important;}
396
397 #colorBox{}
398     #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;}
399         #cboxLoadedContent{background:#fff;margin:0;}
400         #cboxLoadingOverlay{background:transparent;}
401         /* XXXmang where is icon_close? */
402         #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;}
403         #cboxClose:hover{background-position:0 -32px;}
404
405 div#BRpage {
406     float: right;
407     width: 80px;
408     padding-left:12px;
409     text-align: right;
410 }
411 div#BRnav {
412     position: fixed;
413     bottom: 0;
414     left: 0;
415     width: 100%;
416     height: 40px;
417     overflow: visible;
418     z-index: 100;
419     background-color: #e2dcc5;    
420 }
421 div#BRnavpos {
422     position: relative;
423     margin-right: 80px;
424     height: 40px;
425 }
426 div#BRpager {
427     position: relative;
428     margin-left: -10px;
429     height: 40px;
430 }
431 div#BRslider {
432     position: absolute;
433     top: 13px;
434     height: 27px;
435 }
436 div#BRfiller {
437     position: absolute;
438     height: 40px;
439     width: 10px;
440     background-color: #e2dcc5;
441     top: 0;
442     left: 0;
443     z-index: 102;
444 }
445 div#slider {
446     position: absolute;
447     width: 2500px;
448     height: 27px;
449     top: 0;
450     left: -2478px;
451     background-color: #000;
452     opacity: .1;
453     z-index: 101;
454 }
455 div#pager {
456     position: absolute;
457     width: 23px;
458     height: 27px;
459     top: 0;
460     left: 8px;
461     background: url(images/slider.png);
462     z-index: 103;
463 }
464 div#pagenum {
465     display: none;
466     position: absolute;
467     left: 24px;
468     top: 4px;
469     color: #999;
470     font-size: 11px;
471     line-height: 19px;
472     font-weight: 700;
473     padding: 0 5px;
474     width: 80px;
475     text-align: right;
476     background-color: #000;
477     font-family: "Lucida Grande", "Arial", sans-serif;
478 }
479 div#pagenum span {
480     color: #ffa337;
481     font-style: italic;
482 }
483 div#BRnavline {
484     position: relative;
485     height: 2px;
486     width: auto;
487     background-color: #000;
488     top: -29px;
489     margin: 0 10px;
490 }
491 .BRnavend {
492     position: absolute;
493     top: -2px;
494     width: 1px;
495     height: 6px;
496     background-color: #000;
497 }
498 #BRnavleft {
499     left: 0;
500 }
501 #BRnavright {
502     right: 0;
503 }
504 div.chapter {
505     position: absolute;
506     top: -13px;
507     width: 18px;
508     height: 27px;
509     background: transparent url(images/marker_chap.png) no-repeat;
510     cursor: pointer;
511 }
512 div.chapter div.title {
513     display: none;
514 }
515 div.title span {
516     color: #666;
517     padding: 0 5px;
518 }
519 div.search {
520     position: absolute;
521     top: -13px;
522     width: 18px;
523     height: 27px;
524     background-color: transparent;
525     background-image: url(images/marker_srch-off.png);
526     background-repeat: no-repeat;
527     cursor: pointer;
528 }
529 div.search.front {
530     background: transparent url(images/marker_srch-on.png) no-repeat;
531 }
532 div.search div.query,div.searchChap div.query {
533     display: none;
534 }
535 div.query {
536     position: relative;
537 }
538 div.query strong {
539     color: #000;
540     font-weight: 700;
541 }
542 div.query span {
543     font-size: 10px;
544     color: #666;
545     font-style: italic;
546 }
547 div.query div.queryChap {
548     position: absolute;
549     top: -40px;
550     left: -13px;
551     width: 256px;
552     overflow: hidden;
553     text-align: center;
554     background: #000;
555     padding: 5px 10px;
556     color: #fff;
557     font-weight: 700;
558     font-size: 11px;
559 }
560 div.query div.queryChap span {
561     color: #666;
562     padding: 0 5px;
563     font-style: normal;
564 }
565 div.search div.pointer {
566     position: absolute;
567     left: 121px;
568     bottom: -14px;
569     width: 18px;
570     height: 27px;
571     background: transparent url(images/marker_srch-on.png) no-repeat;
572 }
573 div.searchChap {
574     position: absolute;
575     top: -13px;
576     width: 18px;
577     height: 27px;
578     background-color: transparent;
579     background-image: url(images/marker_srchchap-off.png);
580     background-repeat: no-repeat;
581     cursor: pointer;
582 }
583 div.searchChap.front {
584     background-image: url(images/marker_srchchap-on.png);
585 }
586 #BRnav .front {
587     z-index: 10001;
588 }
589 div#BRzoomer {
590     position: fixed;
591     bottom: 40px;
592     right: 0;
593     width: 26px;
594     height: 190px;
595     z-index: 100;
596 }
597 div#BRzoompos {
598     position: relative;
599     width: 26px;
600     height: 190px;
601     top: 0;
602     left: 0;
603 }
604 div#BRzoomer button {
605     position: absolute;
606     left: 0;
607     background-color: #e2dcc5;
608     width: 26px;
609 }
610 div#BRzoomer button:hover {
611     background-color: #000;
612 }
613 div#BRzoomer .zoom_out {
614     top: 0;
615     -webkit-border-top-left-radius: 6px;
616     -webkit-border-bottom-left-radius: 6px;
617     -moz-border-radius-topleft: 6px;
618     -moz-border-radius-bottomleft: 6px;
619     border-top-left-radius: 6px;
620     border-bottom-left-radius: 6px;
621     -webkit-box-shadow: 2px 2px 2px #333;
622     -moz-box-shadow: 2px 2px 2px #333;
623     box-shadow: 2px 2px 2px #333;
624 }
625 div#BRzoomer .zoom_in {
626     bottom: 0;
627     -webkit-border-top-left-radius: 6px;
628     -moz-border-radius-topleft: 6px;
629     border-top-left-radius: 6px;
630 }
631 div#BRzoomcontrol {
632     position: relative;
633     top: 40px;
634     left:3px;
635     width: 23px;
636     height: 110px;    
637 }
638 div#BRzoomstrip {
639     position: absolute;
640     top: 0;
641     left: 0;
642     width: 23px;
643     height: 110px;
644     background-color: #000;
645     opacity: .1;
646 }
647 div#BRzoombtn {
648     position: absolute;
649     width: 23px;
650     height: 23px;
651     top: 0;
652     left: 0;
653     background: url("images/icon_zoomer.png");
654 }
655