Adding in play/pause icons
[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 .BRicon.play {background-position:-760px 0;}
232 .BRicon.play:hover {background-position:-800px 0;}
233 .BRicon.pause {background-position:-840px 0;}
234 .BRicon.pause:hover {background-position:-880px 0;}
235
236
237 /* NOT CURRENTLY IN USE
238 .BRicon.embed {background-position:-440px;}
239 .BRicon.embed:hover {background-position:-480px 0;}
240 .BRicon.read {background-position:-520px 0;}
241 .BRicon.read:hover {background-position:-560px 0;}
242 .BRicon.full {background-position:-600px 0;}
243 .BRicon.full:hover {background-position:-640px 0;}
244 .BRicon.thumb {background-position:-680px 0;}
245 .BRicon.thumb:hover {background-position:-720px 0;}
246 .BRicon.twopg {background-position:-760px 0;display:none;}
247 .BRicon.twopg:hover {background-position:-800px 0;}
248 .BRicon.one_page_mode {background-position:;}
249 .BRicon.two_page_mode {background-position:;}
250 .BRicon.thumbnail_mode {background-position:;}
251 .BRicon.book_up {background-position:;}
252 .BRicon.book_down {background-position:;}
253 .BRicon.book_leftmost {background-position:;}
254 .BRicon.book_rightmost {background-position:;}
255 .BRicon.book_top {background-position:;}
256 .BRicon.book_bottom {background-position:;}
257 */
258 a.logo {
259     display: block;
260     float: left;
261     width: 40px;
262     height: 40px;
263     margin-right: 10px;
264     background: transparent url(images/icon_home.png) no-repeat 0 0;
265 }
266 a.popOff {
267     position: absolute;
268     top: 5px;
269     right: 5px;
270     width: 24px;
271     height: 24px;
272     background-image: url(images/BRicons.png);
273     background-color: transparent;
274     background-repeat: no-repeat;
275     background-position: -1050px 0;
276     outline: none;
277 }
278 a.popOff:hover {
279     background-position: -1100px 0;
280 }
281 a.popOff span {
282     position: absolute;
283     left: -10000px;
284 }
285
286 form#booksearch {
287     float: left;
288     margin-right: 10px;
289 }
290 form#booksearch input[type=search] {
291     width: 280px;
292     height: 22px;
293     line-height: 22px;
294     font-family: "Arial", sans-serif;
295     font-size: 13px;
296     -webkit-appearance: textfield;
297     -moz-appearance: textfield;
298     appearance: field;
299     margin: 9px 0 0 0;
300     padding: 0;
301     border: 1px inset #ccc;
302 }
303 form#booksearch button {
304     width: 30px;
305     height: 24px;
306     line-height: 24px;
307     border: none;
308     background-color: #000;
309     text-align: center;
310     color: #fff;
311     font-family: "News Gothic MT","Trebuchet MS",Geneva,Helvetica,sans-serif;
312     font-weight: 700;
313     font-size: 11px;
314     text-transform: uppercase;
315     margin: 10px 0 0 5px;
316     -webkit-border-radius: 3px;
317     -moz-border-radius: 3px;
318     border-radius: 3px;
319 }
320
321 .BRlogotype {
322     float:left;
323     font-weight: bold; 
324     height: 25px; 
325     line-height: 25px; 
326     vertical-align: middle; 
327 }
328
329 a.BRwhite               { color: #fff }
330 a.BRwhite:hover         { text-decoration: none; }
331 a.BRwhite:visited       { color: #fff }
332
333 a.BRblack           { color: #000; }
334 a.BRblack:hover     { text-decoration: none; }
335 a.BRblack:visited   { color: #000; }
336
337 a.BRgrey           { color: #999; }
338 a.BRgrey:hover     { text-decoration: none; }
339 a.BRgrey:visited   { color: #666; }
340
341 .BRnavlinks {
342     float:right; 
343     padding: 0 20px 0 0; 
344     margin: 0; 
345     height: 25px; 
346     line-height: 25px; 
347     vertical-align: middle;
348 }
349
350 /* thumnbail view, from Rebecca's demo */
351 .BRpdstatus-footer {
352     position:absolute;
353     height: 65px;
354     bottom: 25px;
355     width: 100%;
356     background-color: #222;
357     text-align: right; 
358     padding: 0px 0px 0px 0px; 
359 }
360
361 .BRwidgetlabel { 
362     color: #919070; 
363     padding: 8px 8px 4px 8px; 
364     font-family: verdana, arial, helvetica, sans-serif; 
365     font-size: 10px; 
366     float: left; 
367 }
368
369 .BRfliparea {
370     background-image: url(images/transparent.png); # Required to capture mouse on IE
371 }
372
373 .BRtwoPagePopUp {
374     padding: 6px;
375     position: absolute;
376     font-family: Arial, sans-serif;
377     font-size: 11px;
378     color: white;
379     background-color: #939598;
380     opacity: 0.85,
381     -webkit-border-radius: 4px;
382     -moz-border-radius: 4px;
383     border-radius: 4px;
384     white-space: nowrap;
385 }
386
387 /* COLORBOX POP-UP */
388
389 #colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999;}
390 #cboxOverlay{position:fixed; width:100%; height:100%;background:#000;opacity:0.75;filter:Alpha(Opacity=75);}
391 #cboxMiddleLeft, #cboxBottomLeft{clear:left;}
392 #cboxContent{position:relative;}
393 #cboxLoadedContent{overflow:visible!important;}
394 #cboxLoadedContent iframe{display:block;border:0;}
395 #cboxTitle{margin:0;display:none!important;}
396 #cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:25px; left:25px; width:100%;}
397 #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
398 #cboxClose{display:none!important;}
399
400 #colorBox{}
401     #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;}
402         #cboxLoadedContent{background:#fff;margin:0;}
403         #cboxLoadingOverlay{background:transparent;}
404         /* XXXmang where is icon_close? */
405         #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;}
406         #cboxClose:hover{background-position:0 -32px;}
407
408 div#BRpage {
409     float: right;
410     width: 80px;
411     padding-left:12px;
412     text-align: right;
413 }
414 div#BRnav {
415     position: fixed;
416     bottom: 0;
417     left: 0;
418     width: 100%;
419     height: 40px;
420     overflow: visible;
421     z-index: 100;
422     background-color: #e2dcc5;    
423 }
424 div#BRnavpos {
425     position: relative;
426     margin-right: 80px;
427     height: 40px;
428 }
429 div#BRpager {
430     position: relative;
431     margin-left: -10px;
432     height: 40px;
433 }
434 div#BRslider {
435     position: absolute;
436     top: 13px;
437     height: 27px;
438 }
439 div#BRfiller {
440     position: absolute;
441     height: 40px;
442     width: 10px;
443     background-color: #e2dcc5;
444     top: 0;
445     left: 0;
446     z-index: 102;
447 }
448 div#slider {
449     position: absolute;
450     width: 2500px;
451     height: 27px;
452     top: 0;
453     left: -2478px;
454     background-color: #000;
455     opacity: .1;
456     z-index: 101;
457 }
458 div#pager {
459     position: absolute;
460     width: 23px;
461     height: 27px;
462     top: 0;
463     left: 8px;
464     background: url(images/slider.png);
465     z-index: 103;
466 }
467 div#pagenum {
468     display: none;
469     position: absolute;
470     left: 24px;
471     top: 4px;
472     color: #999;
473     font-size: 11px;
474     line-height: 19px;
475     font-weight: 700;
476     padding: 0 5px;
477     width: 80px;
478     text-align: right;
479     background-color: #000;
480     font-family: "Lucida Grande", "Arial", sans-serif;
481 }
482 div#pagenum span {
483     color: #ffa337;
484     font-style: italic;
485 }
486 div#BRnavline {
487     position: relative;
488     height: 2px;
489     width: auto;
490     background-color: #000;
491     top: -29px;
492     margin: 0 10px;
493 }
494 .BRnavend {
495     position: absolute;
496     top: -2px;
497     width: 1px;
498     height: 6px;
499     background-color: #000;
500 }
501 #BRnavleft {
502     left: 0;
503 }
504 #BRnavright {
505     right: 0;
506 }
507 div.chapter {
508     position: absolute;
509     top: -13px;
510     width: 18px;
511     height: 27px;
512     background: transparent url(images/marker_chap.png) no-repeat;
513     cursor: pointer;
514 }
515 div.chapter div.title {
516     display: none;
517 }
518 div.title span {
519     color: #666;
520     padding: 0 5px;
521 }
522 div.search {
523     position: absolute;
524     top: -13px;
525     width: 18px;
526     height: 27px;
527     background-color: transparent;
528     background-image: url(images/marker_srch-off.png);
529     background-repeat: no-repeat;
530     cursor: pointer;
531 }
532 div.search.front {
533     background: transparent url(images/marker_srch-on.png) no-repeat;
534 }
535 div.search div.query,div.searchChap div.query {
536     display: none;
537 }
538 div.query {
539     position: relative;
540 }
541 div.query strong {
542     color: #000;
543     font-weight: 700;
544 }
545 div.query span {
546     font-size: 10px;
547     color: #666;
548     font-style: italic;
549 }
550 div.query div.queryChap {
551     position: absolute;
552     top: -40px;
553     left: -13px;
554     width: 256px;
555     overflow: hidden;
556     text-align: center;
557     background: #000;
558     padding: 5px 10px;
559     color: #fff;
560     font-weight: 700;
561     font-size: 11px;
562 }
563 div.query div.queryChap span {
564     color: #666;
565     padding: 0 5px;
566     font-style: normal;
567 }
568 div.search div.pointer {
569     position: absolute;
570     left: 121px;
571     bottom: -14px;
572     width: 18px;
573     height: 27px;
574     background: transparent url(images/marker_srch-on.png) no-repeat;
575 }
576 div.searchChap {
577     position: absolute;
578     top: -13px;
579     width: 18px;
580     height: 27px;
581     background-color: transparent;
582     background-image: url(images/marker_srchchap-off.png);
583     background-repeat: no-repeat;
584     cursor: pointer;
585 }
586 div.searchChap.front {
587     background-image: url(images/marker_srchchap-on.png);
588 }
589 #BRnav .front {
590     z-index: 10001;
591 }
592 div#BRzoomer {
593     position: fixed;
594     bottom: 40px;
595     right: 0;
596     width: 26px;
597     height: 190px;
598     z-index: 100;
599 }
600 div#BRzoompos {
601     position: relative;
602     width: 26px;
603     height: 190px;
604     top: 0;
605     left: 0;
606 }
607 div#BRzoomer button {
608     position: absolute;
609     left: 0;
610     background-color: #e2dcc5;
611     width: 26px;
612 }
613 div#BRzoomer button:hover {
614     background-color: #000;
615 }
616 div#BRzoomer .zoom_out {
617     top: 0;
618     -webkit-border-top-left-radius: 6px;
619     -webkit-border-bottom-left-radius: 6px;
620     -moz-border-radius-topleft: 6px;
621     -moz-border-radius-bottomleft: 6px;
622     border-top-left-radius: 6px;
623     border-bottom-left-radius: 6px;
624     -webkit-box-shadow: 2px 2px 2px #333;
625     -moz-box-shadow: 2px 2px 2px #333;
626     box-shadow: 2px 2px 2px #333;
627 }
628 div#BRzoomer .zoom_in {
629     bottom: 0;
630     -webkit-border-top-left-radius: 6px;
631     -moz-border-radius-topleft: 6px;
632     border-top-left-radius: 6px;
633 }
634 div#BRzoomcontrol {
635     position: relative;
636     top: 40px;
637     left:3px;
638     width: 23px;
639     height: 110px;    
640 }
641 div#BRzoomstrip {
642     position: absolute;
643     top: 0;
644     left: 0;
645     width: 23px;
646     height: 110px;
647     background-color: #000;
648     opacity: .1;
649 }
650 div#BRzoombtn {
651     position: absolute;
652     width: 23px;
653     height: 23px;
654     top: 0;
655     left: 0;
656     background: url("images/icon_zoomer.png");
657 }
658