Recent changes
[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
228
229 /* NOT CURRENTLY IN USE
230 .BRicon.embed {background-position:-440px;}
231 .BRicon.embed:hover {background-position:-480px 0;}
232 .BRicon.read {background-position:-520px 0;}
233 .BRicon.read:hover {background-position:-560px 0;}
234 .BRicon.full {background-position:-600px 0;}
235 .BRicon.full:hover {background-position:-640px 0;}
236 .BRicon.thumb {background-position:-680px 0;}
237 .BRicon.thumb:hover {background-position:-720px 0;}
238 .BRicon.twopg {background-position:-760px 0;display:none;}
239 .BRicon.twopg:hover {background-position:-800px 0;}
240 .BRicon.zoom_out {background-position:;}
241 .BRicon.zoom_out:hover {background-position:;}
242 .BRicon.zoom_in {background-position:;}
243 .BRicon.zoom_in:hover {background-position:;}
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: 24px;
290     line-height: 24px;
291     font-family: "Arial", sans-serif;
292     font-size: 12px;
293     -webkit-appearance: textfield;
294     -moz-appearance: textfield;
295     appearance: field;
296     margin-top: 9px;
297 }
298 form#booksearch button {
299     width: 30px;
300     height: 24px;
301     line-height: 24px;
302     border: none;
303     background-color: #000;
304     text-align: center;
305     color: #fff;
306     font-family: "News Gothic MT","Trebuchet MS",Geneva,Helvetica,sans-serif;
307     font-weight: 700;
308     font-size: 11px;
309     text-transform: uppercase;
310     margin: 10px 0 0 5px;
311     -webkit-border-radius: 3px;
312     -moz-border-radius: 3px;
313     border-radius: 3px;
314 }
315
316 .BRlogotype {
317     float:left;
318     font-weight: bold; 
319     height: 25px; 
320     line-height: 25px; 
321     vertical-align: middle; 
322 }
323
324 a.BRwhite               { color: #fff }
325 a.BRwhite:hover         { text-decoration: none; }
326 a.BRwhite:visited       { color: #fff }
327
328 a.BRblack           { color: #000; }
329 a.BRblack:hover     { text-decoration: none; }
330 a.BRblack:visited   { color: #000; }
331
332 a.BRgrey           { color: #999; }
333 a.BRgrey:hover     { text-decoration: none; }
334 a.BRgrey:visited   { color: #666; }
335
336 .BRnavlinks {
337     float:right; 
338     padding: 0 20px 0 0; 
339     margin: 0; 
340     height: 25px; 
341     line-height: 25px; 
342     vertical-align: middle;
343 }
344
345 /* thumnbail view, from Rebecca's demo */
346 .BRpdstatus-footer {
347     position:absolute;
348     height: 65px;
349     bottom: 25px;
350     width: 100%;
351     background-color: #222;
352     text-align: right; 
353     padding: 0px 0px 0px 0px; 
354 }
355
356 .BRwidgetlabel { 
357     color: #919070; 
358     padding: 8px 8px 4px 8px; 
359     font-family: verdana, arial, helvetica, sans-serif; 
360     font-size: 10px; 
361     float: left; 
362 }
363
364 .BRfliparea {
365     background-image: url(images/transparent.png); # Required to capture mouse on IE
366 }
367
368 .BRtwoPagePopUp {
369     padding: 6px;
370     position: absolute;
371     font-family: Arial, sans-serif;
372     font-size: 11px;
373     color: white;
374     background-color: #939598;
375     opacity: 0.85,
376     -webkit-border-radius: 4px;
377     -moz-border-radius: 4px;
378     border-radius: 4px;
379     white-space: nowrap;
380 }
381
382 /* COLORBOX POP-UP */
383
384 #colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999;}
385 #cboxOverlay{position:fixed; width:100%; height:100%;background:#000;opacity:0.75;filter:Alpha(Opacity=75);}
386 #cboxMiddleLeft, #cboxBottomLeft{clear:left;}
387 #cboxContent{position:relative;}
388 #cboxLoadedContent{overflow:visible!important;}
389 #cboxLoadedContent iframe{display:block;border:0;}
390 #cboxTitle{margin:0;display:none!important;}
391 #cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:25px; left:25px; width:100%;}
392 #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
393 #cboxClose{display:none!important;}
394
395 #colorBox{}
396     #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;}
397         #cboxLoadedContent{background:#fff;margin:0;}
398         #cboxLoadingOverlay{background:transparent;}
399         /* XXXmang where is icon_close? */
400         #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;}
401         #cboxClose:hover{background-position:0 -32px;}
402
403 div#BRpage {
404     float: right;
405     width: 80px;
406     padding-left:12px;
407     text-align: right;
408     z-index: 1000000;
409 }
410 div#BRnav {
411     position: fixed;
412     bottom: 0;
413     left: 0;
414     width: 100%;
415     height: 40px;
416     overflow: visible;
417     z-index: 100;
418     background-color: #e2dcc5;    
419 }
420 div#BRnavpos {
421     position: relative;
422     margin-right: 80px;
423     height: 40px;
424 }
425 div#BRpager {
426     position: relative;
427     margin-left: -10px;
428     height: 40px;
429 }
430 div#BRslider {
431     position: absolute;
432     top: 13px;
433     height: 27px;
434 }
435 div#slider {
436     position: absolute;
437     width: 2500px;
438     height: 27px;
439     top: 0;
440     left: -2478px;
441     background-color: #000;
442     opacity: .1;
443 }
444 div#pager {
445     position: absolute;
446     width: 23px;
447     height: 27px;
448     top: 0;
449     left: 8px;
450     background: url(images/slider.png);
451 }
452 div#BRnavline {
453     position: relative;
454     height: 2px;
455     width: auto;
456     background-color: #000;
457     top: -29px;
458     margin: 0 10px;
459 }
460 .BRnavend {
461     position: absolute;
462     top: -2px;
463     width: 1px;
464     height: 6px;
465     background-color: #000;
466 }
467 #BRnavleft {
468     left: 0;
469 }
470 #BRnavright {
471     right: 0;
472 }
473 div.chapter {
474     position: absolute;
475     top: -13px;
476     width: 18px;
477     height: 27px;
478     background: transparent url(images/marker_chap.png) no-repeat;
479     cursor: pointer;
480 }
481 div.chapter div.title {
482     display: none;
483 }
484 div.title span {
485     color: #666;
486     padding: 0 5px;
487 }
488 div.search {
489     position: absolute;
490     top: -13px;
491     width: 18px;
492     height: 27px;
493     background-color: transparent;
494     background-image: url(images/marker_srch-off.png);
495     background-repeat: no-repeat;
496     cursor: pointer;
497 }
498 div.search.front {
499     background: transparent url(images/marker_srch-on.png) no-repeat;
500 }
501 div.search div.query,div.searchChap div.query {
502     display: none;
503 }
504 div.query {
505     position: relative;
506 }
507 div.query strong {
508     color: #000;
509     font-weight: 700;
510 }
511 div.query span {
512     font-size: 10px;
513     color: #666;
514     font-style: italic;
515 }
516 div.query div.queryChap {
517     position: absolute;
518     top: -40px;
519     left: -13px;
520     width: 256px;
521     overflow: hidden;
522     text-align: center;
523     background: #000;
524     padding: 5px 10px;
525     color: #fff;
526     font-weight: 700;
527     font-size: 11px;
528 }
529 div.query div.queryChap span {
530     color: #666;
531     padding: 0 5px;
532     font-style: normal;
533 }
534 div.search div.pointer {
535     position: absolute;
536     left: 121px;
537     bottom: -14px;
538     width: 18px;
539     height: 27px;
540     background: transparent url(images/marker_srch-on.png) no-repeat;
541 }
542 div.searchChap {
543     position: absolute;
544     top: -13px;
545     width: 18px;
546     height: 27px;
547     background-color: transparent;
548     background-image: url(images/marker_srchchap-off.png);
549     background-repeat: no-repeat;
550     cursor: pointer;
551 }
552 div.searchChap.front {
553     background-image: url(images/marker_srchchap-on.png);
554 }
555 #BRnav .front {
556     z-index: 10001;
557 }