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