Add the functionality of a thumbnail view
[bookreader.git] / GnuBook / GnuBook.css
1 #GnuBook {
2  border:1px solid black;
3  position:absolute;
4  font-family: arial, sans-serif;
5 }
6
7 #GBtoolbar {
8     height:25px;
9     width:100%;
10     background-color: #E6E4E1;
11 }
12
13 #GBtoolbar .label {
14     font-size: 0.9em;
15 }
16
17 #GBcontainer {
18     /*height:95%;*/
19     top:25px;
20     bottom:0px;
21     width:100%;
22     overflow-x:auto;
23     overflow-y:scroll;    
24     /*text-align: center;*/
25     background-color: #FCFCFC;
26     position:absolute;
27 }
28
29 #GBpageview {
30     background-color: #FCFCFC;
31 }
32
33 .GBpagediv1up {
34     background-color: #FFFFEE;
35     overflow:hidden;
36     border-right: 2px solid #717171;
37     border-bottom: 2px solid #717171;
38     border-left: 1px solid #909090;
39     border-top: 1px solid #909090;
40     cursor: move;
41 }
42
43 .GBpagedivthumb {
44     background-color: #FFFFEE;
45     overflow:hidden;
46     border: 1px solid #909090;
47 }
48
49 .GBpagedivthumb_highlight {
50     background-color: #FFFFEE;
51     overflow:hidden;
52     border: 1px solid #000000;
53 }
54
55 .GBpagediv2up {
56     background-color: rgb(234, 226, 205);
57     overflow:hidden;
58 }
59
60 /* search sidebar */
61 #GnuBookSearch {
62     border:1px solid black;
63     position:absolute;
64     background-color: #E6E4E1;
65     font-family: arial, sans-serif;
66 }
67
68 #GnuBookSearchResults {
69     background-color: #FCFCFC;
70     top: 25px;
71     bottom: 0px;
72     overflow:auto;    
73     position: absolute;
74     left: 0px;
75     right: 0px;    
76     font-family: arial, san-serif;
77     font-size: 0.85em; 
78     padding: 2px;
79 }
80
81 .GnuBookSearchHilite {
82     opacity: 0.20; 
83     filter: alpha(opacity = 20);
84     background-color: #00f;
85     position:absolute;
86 }
87
88 .GBpageform {
89     display: inline; 
90 }
91
92 .GBicon {
93     width: 24px;
94     height: 24px;
95     padding: 0px;
96     vertical-align: middle;
97     border: none;
98 }
99
100 /* Absolute path used since the html might be generated at /stream/id or elsewhere */
101 .GBicon.logo { background: url(images/logo_icon.png) no-repeat; }
102 .GBicon.zoom_out { background: url(images/zoom_out_icon.png) no-repeat; }
103 .GBicon.zoom_in { background: url(images/zoom_in_icon.png) no-repeat; }
104 .GBicon.one_page_mode { background: url(images/one_page_mode_icon.png) no-repeat; }
105 .GBicon.two_page_mode { background: url(images/two_page_mode_icon.png) no-repeat; }
106 .GBicon.thumbnail_mode { background: url(images/thumbnail_mode_icon.png) no-repeat; }
107 .GBicon.embed { background: url(images/embed_icon.png) no-repeat; }
108 .GBicon.book_left { background: url(images/book_left_icon.png) no-repeat; }
109 .GBicon.book_right { background: url(images/book_right_icon.png) no-repeat; }
110 .GBicon.book_up { background: url(images/book_up_icon.png) no-repeat; }
111 .GBicon.book_down { background: url(images/book_down_icon.png) no-repeat; }
112 .GBicon.book_leftmost { background: url(images/book_leftmost_icon.png) no-repeat; }
113 .GBicon.book_rightmost { background: url(images/book_rightmost_icon.png) no-repeat; }
114 .GBicon.book_top { background: url(images/book_top_icon.png) no-repeat; }
115 .GBicon.book_bottom { background: url(images/book_bottom_icon.png) no-repeat; }
116
117
118 .GBicon.play { background: url(images/control_play_icon.png) no-repeat; }
119 .GBicon.pause { background: url(images/control_pause_icon.png) no-repeat; }
120
121 /* Icons with this class should have a 48x24 image which contains
122    the regular and hover images side-by-side */
123 .GBicon.rollover:hover { background-position: -24px 0; }
124
125 /* Special logic for the logo, which is an actual link */
126 a.GBicon {
127     display: block;
128     text-decoration: none;
129     border: none;
130     float: left;
131 }
132
133 /* footer stuff, from Rebecca's demo */
134 #GBfooter { 
135     position:absolute;
136     bottom: 1px;        /* ensure no vertical scroll bar in FF */
137     left: 0px;
138     /*width: 100%;*/    /* this causes horizontal scroll bar in FF */
139     right: 0px;
140     clear: both; 
141     color: #000000; 
142     padding: 0px 0px 0px 10px; 
143     background: #CCCCCC; 
144     height: 2em; 
145     line-height: 25px; 
146     vertical-align: middle; 
147     font-family: arial, sans-serif;
148     font-size: 12px;
149 }
150
151 .GBlogotype {
152     float:left;
153     font-weight: bold; 
154     height: 25px; 
155     line-height: 25px; 
156     vertical-align: middle; 
157 }
158
159 a.GBwhite                       { color: #fff }
160 a.GBwhite:hover                 { text-decoration: none; }
161 a.GBwhite:visited               { color: #fff }
162
163 a.GBblack           { color: #000000 }
164 a.GBblack:hover     { text-decoration: none; }
165 a.GBblack:visited   { color: #000000 }
166
167 .GBnavlinks {
168     float:right; 
169     padding: 0px 20px 0px 0px; 
170     margin: 0px; 
171     height: 25px; 
172     line-height: 25px; 
173     vertical-align: middle;
174 }
175
176 /* thumnbail view, from Rebecca's demo */
177 .GBpdstatus-footer {
178     position:absolute;
179     height: 65px;
180     bottom: 25px;
181     width: 100%;
182     background-color: #f8f8f8;
183     border-top: 1px solid #ccc; 
184     text-align: right; 
185     padding: 0px 0px 0px 0px; 
186 }
187
188 .GBwidgetlabel { 
189     color: #919070; 
190     padding: 8px 8px 4px 8px; 
191     font-family: verdana, arial, helvetica, sans-serif; 
192     font-size: 10px; 
193     float: left; 
194 }
195
196 .GBfliparea {
197     background-image: url(images/transparent.png); # Required to capture mouse on IE
198 }