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