895d2b3ab4b3e68eeec1d8d5e956e871e75bc6a0
[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#BRnavline {
465     position: relative;
466     height: 2px;
467     width: auto;
468     background-color: #000;
469     top: -29px;
470     margin: 0 10px;
471 }
472 .BRnavend {
473     position: absolute;
474     top: -2px;
475     width: 1px;
476     height: 6px;
477     background-color: #000;
478 }
479 #BRnavleft {
480     left: 0;
481 }
482 #BRnavright {
483     right: 0;
484 }
485 div.chapter {
486     position: absolute;
487     top: -13px;
488     width: 18px;
489     height: 27px;
490     background: transparent url(images/marker_chap.png) no-repeat;
491     cursor: pointer;
492 }
493 div.chapter div.title {
494     display: none;
495 }
496 div.title span {
497     color: #666;
498     padding: 0 5px;
499 }
500 div.search {
501     position: absolute;
502     top: -13px;
503     width: 18px;
504     height: 27px;
505     background-color: transparent;
506     background-image: url(images/marker_srch-off.png);
507     background-repeat: no-repeat;
508     cursor: pointer;
509 }
510 div.search.front {
511     background: transparent url(images/marker_srch-on.png) no-repeat;
512 }
513 div.search div.query,div.searchChap div.query {
514     display: none;
515 }
516 div.query {
517     position: relative;
518 }
519 div.query strong {
520     color: #000;
521     font-weight: 700;
522 }
523 div.query span {
524     font-size: 10px;
525     color: #666;
526     font-style: italic;
527 }
528 div.query div.queryChap {
529     position: absolute;
530     top: -40px;
531     left: -13px;
532     width: 256px;
533     overflow: hidden;
534     text-align: center;
535     background: #000;
536     padding: 5px 10px;
537     color: #fff;
538     font-weight: 700;
539     font-size: 11px;
540 }
541 div.query div.queryChap span {
542     color: #666;
543     padding: 0 5px;
544     font-style: normal;
545 }
546 div.search div.pointer {
547     position: absolute;
548     left: 121px;
549     bottom: -14px;
550     width: 18px;
551     height: 27px;
552     background: transparent url(images/marker_srch-on.png) no-repeat;
553 }
554 div.searchChap {
555     position: absolute;
556     top: -13px;
557     width: 18px;
558     height: 27px;
559     background-color: transparent;
560     background-image: url(images/marker_srchchap-off.png);
561     background-repeat: no-repeat;
562     cursor: pointer;
563 }
564 div.searchChap.front {
565     background-image: url(images/marker_srchchap-on.png);
566 }
567 #BRnav .front {
568     z-index: 10001;
569 }
570 div#BRzoomer {
571     position: fixed;
572     bottom: 40px;
573     right: 0;
574     width: 26px;
575     height: 190px;
576     z-index: 100;
577 }
578 div#BRzoompos {
579     position: relative;
580     width: 26px;
581     height: 190px;
582     top: 0;
583     left: 0;
584 }
585 div#BRzoomer button {
586     position: absolute;
587     left: 0;
588     background-color: #e2dcc5;
589     width: 26px;
590 }
591 div#BRzoomer button:hover {
592     background-color: #000;
593 }
594 div#BRzoomer .zoom_out {
595     top: 0;
596     -webkit-border-top-left-radius: 6px;
597     -webkit-border-bottom-left-radius: 6px;
598     -moz-border-radius-topleft: 6px;
599     -moz-border-radius-bottomleft: 6px;
600     border-top-left-radius: 6px;
601     border-bottom-left-radius: 6px;
602     -webkit-box-shadow: 2px 2px 2px #333;
603     -moz-box-shadow: 2px 2px 2px #333;
604     box-shadow: 2px 2px 2px #333;
605 }
606 div#BRzoomer .zoom_in {
607     bottom: 0;
608     -webkit-border-top-left-radius: 6px;
609     -moz-border-radius-topleft: 6px;
610     border-top-left-radius: 6px;
611 }
612 div#BRzoomcontrol {
613     position: relative;
614     top: 40px;
615     left:3px;
616     width: 23px;
617     height: 110px;    
618 }
619 div#BRzoomstrip {
620     position: absolute;
621     top: 0;
622     left: 0;
623     width: 23px;
624     height: 110px;
625     background-color: #000;
626     opacity: .1;
627 }
628 div#BRzoombtn {
629     position: absolute;
630     width: 23px;
631     height: 23px;
632     top: 0;
633     left: 0;
634     background: url("images/icon_zoomer.png");
635 }
636