149bb4d57b7cd0f11b2aa11b3f439d12dc9a7abe
[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     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: 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 .BRtwoPagePopUp {
350     padding: 6px;
351     position: absolute;
352     font-family: Arial, sans-serif;
353     font-size: 11px;
354     color: white;
355     background-color: #939598;
356     opacity: 0.85,
357     -webkit-border-radius: 4px;
358     -moz-border-radius: 4px;
359     border-radius: 4px;
360     white-space: nowrap;
361 }
362
363 /* COLORBOX POP-UP */
364
365 #colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999;}
366 #cboxOverlay{position:fixed; width:100%; height:100%;background:#000;opacity:0.75;filter:Alpha(Opacity=75);}
367 #cboxMiddleLeft, #cboxBottomLeft{clear:left;}
368 #cboxContent{position:relative;}
369 #cboxLoadedContent{overflow:visible!important;}
370 #cboxLoadedContent iframe{display:block;border:0;}
371 #cboxTitle{margin:0;display:none!important;}
372 #cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:25px; left:25px; width:100%;}
373 #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
374 #cboxClose{display:none!important;}
375
376 #colorBox{}
377     #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;}
378         #cboxLoadedContent{background:#fff;margin:0;}
379         #cboxLoadingOverlay{background:transparent;}
380         /* XXXmang where is icon_close? */
381         #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;}
382         #cboxClose:hover{background-position:0 -32px;}
383
384 div#BRnav {
385     position: fixed;
386     bottom: 0;
387     left: 0;
388     width: 100%;
389     height: 50px;
390     overflow: visible;
391     z-index: 100;
392     background-color: #e2dcc5;    
393 }
394 div#BRnavpos {
395     position: relative;
396     width: 100%;
397     height: 50px;
398 }
399 div#BRnavline {
400     position: relative;
401     margin: 0 20px;
402     height: 2px;
403     width: auto;
404     background-color: #000;
405     top: 24px;
406 }
407 div.chapter {
408     position: absolute;
409     top: 0;
410     width: 18px;
411     height: 27px;
412     background: transparent url(images/marker_chap.png) no-repeat;
413     cursor: pointer;
414 }
415 div.chapter div.title {
416     display: none;
417 }
418 div.title span {
419     color: #666;
420     padding: 0 5px;
421 }
422 div.search {
423     position: absolute;
424     top: 0;
425     width: 18px;
426     height: 27px;
427     background-color: transparent;
428     background-image: url(images/marker_srch-off.png);
429     background-repeat: no-repeat;
430     cursor: pointer;
431 }
432 div.search.front {
433     background: transparent url(images/marker_srch-on.png) no-repeat;
434 }
435 div.search div.query,div.searchChap div.query {
436     display: none;
437 }
438 div.query {
439     position: relative;
440 }
441 div.query strong {
442     color: #000;
443     font-weight: 700;
444 }
445 div.query span {
446     font-size: 10px;
447     color: #666;
448     font-style: italic;
449 }
450 div.query div.queryChap {
451     position: absolute;
452     top: -40px;
453     left: -13px;
454     width: 256px;
455     overflow: hidden;
456     text-align: center;
457     background: #000;
458     padding: 5px 10px;
459     color: #fff;
460     font-weight: 700;
461     font-size: 11px;
462 }
463 div.query div.queryChap span {
464     color: #666;
465     padding: 0 5px;
466     font-style: normal;
467 }
468 div.search div.pointer {
469     position: absolute;
470     left: 121px;
471     bottom: -14px;
472     width: 18px;
473     height: 27px;
474     background: transparent url(images/marker_srch-on.png) no-repeat;
475 }
476 div.searchChap {
477     position: absolute;
478     top: 0;
479     width: 18px;
480     height: 27px;
481     background-color: transparent;
482     background-image: url(images/marker_srchchap-off.png);
483     background-repeat: no-repeat;
484     cursor: pointer;
485 }
486 div.searchChap.front {
487     background-image: url(images/marker_srchchap-on.png);
488 }
489 #BRnav .front {
490     z-index: 10001;
491 }
492 div#pager {
493     position: absolute;
494     top: 11px;
495     left: 5px;
496     width: 30px;
497     height: 30px;
498     background: transparent url(images/focus_chap.png) no-repeat 0 0;
499     cursor: e-resize;
500 }