1f98a8b2b2e296378fa5e5a240291cdeaf6e316f
[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: 50px;
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     backgroundImage: url(images/back_pages.png);
90     /* -moz-border-radius: 6px; */
91     -moz-box-shadow: 0 0 2px #000;
92     /* -webkit-border-radius: 6px; */
93     -webkit-box-shadow: 0 0 2px #000;
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: 50px;
184     height: 50px;
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.fit {background-position:-50px 0;}
197 .BRicon.fit:hover {background-position:-100px 0;}
198 .BRicon.glass {background-position:-150px 0;cursor:default;}
199 /*.BRicon.glass:hover {background-position:-200px 0;}*/
200 .BRicon.bookmark {background-position:-250px 0;}
201 .BRicon.bookmark:hover {background-position:-300px 0;}
202 .BRicon.print {background-position:-350px 0;}
203 .BRicon.print:hover {background-position:-400px 0;}
204 .BRicon.link {background-position:-450px 0;}
205 .BRicon.link:hover {background-position:-500px 0;}
206 .BRicon.embed {background-position:-550px;}
207 .BRicon.embed:hover {background-position:-600px 0;}
208 .BRicon.read {background-position:-650px 0;}
209 .BRicon.read:hover {background-position:-700px 0;}
210 .BRicon.full {background-position:-750px 0;}
211 .BRicon.full:hover {background-position:-800px 0;}
212 .BRicon.thumb {background-position:-850px 0;}
213 .BRicon.thumb:hover {background-position:-900px 0;}
214 .BRicon.twopg {background-position:-950px 0;display:none;}
215 .BRicon.twopg:hover {background-position:-1000px 0;}
216
217 /* NOT CURRENTLY IN USE
218 .BRicon.zoom_out {background-position:;}
219 .BRicon.zoom_out:hover {background-position:;}
220 .BRicon.zoom_in {background-position:;}
221 .BRicon.zoom_in:hover {background-position:;}
222 .BRicon.one_page_mode {background-position:;}
223 .BRicon.two_page_mode {background-position:;}
224 .BRicon.thumbnail_mode {background-position:;}
225 .BRicon.book_left {background-position:;}
226 .BRicon.book_right {background-position:;}
227 .BRicon.book_up {background-position:;}
228 .BRicon.book_down {background-position:;}
229 .BRicon.book_leftmost {background-position:;}
230 .BRicon.book_rightmost {background-position:;}
231 .BRicon.book_top {background-position:;}
232 .BRicon.book_bottom {background-position:;}
233 .BRicon.play {background-position:;}
234 .BRicon.pause {background-position:;}
235 */
236 a.logo {
237     display: block;
238     float: left;
239     width: 57px;
240     height: 46px;
241     background: transparent url(images/icon_home.png) no-repeat 0 0;
242     margin: 12px 10px 0 10px;
243 }
244 a.popOff {
245     position: absolute;
246     top: 5px;
247     right: 5px;
248     width: 24px;
249     height: 24px;
250     background-image: url(images/BRicons.png);
251     background-color: transparent;
252     background-repeat: no-repeat;
253     background-position: -1050px 0;
254     outline: none;
255 }
256 a.popOff:hover {
257     background-position: -1100px 0;
258 }
259 a.popOff span {
260     position: absolute;
261     left: -10000px;
262 }
263
264 form#booksearch {
265     float: left;
266     margin-right: 40px;
267 }
268 form#booksearch input[type=search] {
269     width: 216px;
270     height: 24px;
271     line-height: 24px;
272     font-family: "Arial", sans-serif;
273     font-size: 12px;
274     -webkit-appearance: textfield;
275     -moz-appearance: textfield;
276     appearance: field;
277     margin-top: 13px;
278 }
279 form#booksearch button {
280     width: 30px;
281     height: 24px;
282     line-height: 24px;
283     border: none;
284     background-color: #000;
285     text-align: center;
286     color: #fff;
287     font-family: "News Gothic MT","Trebuchet MS",Geneva,Helvetica,sans-serif;
288     font-weight: 700;
289     font-size: 11px;
290     text-transform: uppercase;
291     margin: 10px 0 0 5px;
292     -webkit-border-radius: 3px;
293     -moz-border-radius: 3px;
294     border-radius: 3px;
295 }
296
297 .BRlogotype {
298     float:left;
299     font-weight: bold; 
300     height: 25px; 
301     line-height: 25px; 
302     vertical-align: middle; 
303 }
304
305 a.BRwhite               { color: #fff }
306 a.BRwhite:hover         { text-decoration: none; }
307 a.BRwhite:visited       { color: #fff }
308
309 a.BRblack           { color: #000; }
310 a.BRblack:hover     { text-decoration: none; }
311 a.BRblack:visited   { color: #000; }
312
313 a.BRgrey           { color: #999; }
314 a.BRgrey:hover     { text-decoration: none; }
315 a.BRgrey:visited   { color: #666; }
316
317 .BRnavlinks {
318     float:right; 
319     padding: 0 20px 0 0; 
320     margin: 0; 
321     height: 25px; 
322     line-height: 25px; 
323     vertical-align: middle;
324 }
325
326 /* thumnbail view, from Rebecca's demo */
327 .BRpdstatus-footer {
328     position:absolute;
329     height: 65px;
330     bottom: 25px;
331     width: 100%;
332     background-color: #222;
333     text-align: right; 
334     padding: 0px 0px 0px 0px; 
335 }
336
337 .BRwidgetlabel { 
338     color: #919070; 
339     padding: 8px 8px 4px 8px; 
340     font-family: verdana, arial, helvetica, sans-serif; 
341     font-size: 10px; 
342     float: left; 
343 }
344
345 .BRfliparea {
346     background-image: url(images/transparent.png); # Required to capture mouse on IE
347 }
348
349 /* XXXmang still needed? */
350 .BRtwoPagePopUp {
351     border: 1px solid black;
352     padding: 2px 6px;
353     position: absolute;
354     font-family: sans-serif;
355     font-size: 14px;
356     background-color: rgb(255, 255, 238);
357     opacity: 0.85;
358 }
359
360 /* COLORBOX POP-UP */
361
362 #colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999;}
363 #cboxOverlay{position:fixed; width:100%; height:100%;background:#000;opacity:0.75;filter:Alpha(Opacity=75);}
364 #cboxMiddleLeft, #cboxBottomLeft{clear:left;}
365 #cboxContent{position:relative;}
366 #cboxLoadedContent{overflow:visible!important;}
367 #cboxLoadedContent iframe{display:block;border:0;}
368 #cboxTitle{margin:0;display:none!important;}
369 #cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:25px; left:25px; width:100%;}
370 #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
371 #cboxClose{display:none!important;}
372
373 #colorBox{}
374     #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;}
375         #cboxLoadedContent{background:#fff;margin:0;}
376         #cboxLoadingOverlay{background:transparent;}
377         /* XXXmang where is icon_close? */
378         #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;}
379         #cboxClose:hover{background-position:0 -32px;}
380
381 div#BRnav {
382     position: fixed;
383     bottom: 0;
384     left: 0;
385     width: 100%;
386     height: 50px;
387     overflow: visible;
388     z-index: 100;
389     background-color: #e2dcc5;    
390 }
391 div#BRnavpos {
392     position: relative;
393     width: 100%;
394     height: 50px;
395 }
396 div#BRnavline {
397     position: relative;
398     margin: 0 20px;
399     height: 2px;
400     width: auto;
401     background-color: #000;
402     top: 24px;
403 }
404 div.chapter {
405     position: absolute;
406     top: 0;
407     width: 18px;
408     height: 27px;
409     background: transparent url(images/marker_chap.png) no-repeat;
410     cursor: pointer;
411 }
412 div.chapter div.title {
413     display: none;
414 }
415 div.title span {
416     color: #666;
417     padding: 0 5px;
418 }
419 div.search {
420     position: absolute;
421     top: 0;
422     width: 18px;
423     height: 27px;
424     background-color: transparent;
425     background-image: url(images/marker_srch-off.png);
426     background-repeat: no-repeat;
427     cursor: pointer;
428 }
429 div.search.front {
430     background: transparent url(images/marker_srch-on.png) no-repeat;
431 }
432 div.search div.query,div.searchChap div.query {
433     display: none;
434 }
435 div.query {
436     position: relative;
437 }
438 div.query strong {
439     color: #000;
440     font-weight: 700;
441 }
442 div.query span {
443     font-size: 10px;
444     color: #666;
445     font-style: italic;
446 }
447 div.query div.queryChap {
448     position: absolute;
449     top: -40px;
450     left: -13px;
451     width: 256px;
452     overflow: hidden;
453     text-align: center;
454     background: #000;
455     padding: 5px 10px;
456     color: #fff;
457     font-weight: 700;
458     font-size: 11px;
459 }
460 div.query div.queryChap span {
461     color: #666;
462     padding: 0 5px;
463     font-style: normal;
464 }
465 div.search div.pointer {
466     position: absolute;
467     left: 121px;
468     bottom: -14px;
469     width: 18px;
470     height: 27px;
471     background: transparent url(images/marker_srch-on.png) no-repeat;
472 }
473 div.searchChap {
474     position: absolute;
475     top: 0;
476     width: 18px;
477     height: 27px;
478     background-color: transparent;
479     background-image: url(images/marker_srchchap-off.png);
480     background-repeat: no-repeat;
481     cursor: pointer;
482 }
483 div.searchChap.front {
484     background-image: url(images/marker_srchchap-on.png);
485 }
486 #BRnav .front {
487     z-index: 10001;
488 }
489 div#pager {
490     position: absolute;
491     top: 11px;
492     left: 5px;
493     width: 30px;
494     height: 30px;
495     background: transparent url(images/focus_chap.png) no-repeat 0 0;
496     cursor: e-resize;
497 }