1 | /* lightview.css
|
---|
2 | http://www.nickstakenburg.com/projects/lightview
|
---|
3 | */
|
---|
4 |
|
---|
5 | #lightview {
|
---|
6 | position: absolute;
|
---|
7 | top: 50%;
|
---|
8 | left: 50%;
|
---|
9 | height: 150px;
|
---|
10 | width: 150px;
|
---|
11 | margin: -75px 0 0 -75px;
|
---|
12 | padding: 0;
|
---|
13 | }
|
---|
14 |
|
---|
15 | /* The container that holds everything */
|
---|
16 | .lv_Container {
|
---|
17 | position: relative;
|
---|
18 | width: 100%;
|
---|
19 | height: 100%;
|
---|
20 | background: none;
|
---|
21 | padding: 0;
|
---|
22 | margin: 0;
|
---|
23 | }
|
---|
24 |
|
---|
25 | .lv_Button {
|
---|
26 | cursor: pointer;
|
---|
27 | text-decoration: none;
|
---|
28 | border: none;
|
---|
29 | background: none;
|
---|
30 | margin: 0;
|
---|
31 | padding: 0;
|
---|
32 | }
|
---|
33 |
|
---|
34 | /* The buttons on the side when you view a gallery */
|
---|
35 | .lv_Sides {
|
---|
36 | position: absolute;
|
---|
37 | top: 50%;
|
---|
38 | left: 0;
|
---|
39 | clear: both;
|
---|
40 | width: 100%;
|
---|
41 | padding: 0;
|
---|
42 | margin: 0;
|
---|
43 | }
|
---|
44 | .lv_Sides * { padding: 0; margin: 0; }
|
---|
45 | .lv_Sides li {
|
---|
46 | list-style-type: none;
|
---|
47 | position: relative;
|
---|
48 | }
|
---|
49 |
|
---|
50 | .lv_PrevSide { float: left; }
|
---|
51 | .lv_NextSide { float: right; }
|
---|
52 | .lv_Sides .lv_Wrapper {
|
---|
53 | width: 100%;
|
---|
54 | height: 100%;
|
---|
55 | cursor: pointer;
|
---|
56 | }
|
---|
57 | .lv_Sides .lv_Button {
|
---|
58 | float: left;
|
---|
59 | background: none;
|
---|
60 | }
|
---|
61 |
|
---|
62 | /* The frames above and below the center, that hold the corners.
|
---|
63 | It's recommended not to change anything here, a lot is done in
|
---|
64 | javascript to build further upon this based on your settings.
|
---|
65 | */
|
---|
66 | .lv_Frames {
|
---|
67 | width: 100%;
|
---|
68 | height: 100%;
|
---|
69 | position: relative;
|
---|
70 | padding: 0;
|
---|
71 | margin: 0;
|
---|
72 | }
|
---|
73 | .lv_Frames li {
|
---|
74 | list-style-type: none;
|
---|
75 | margin: 0;
|
---|
76 | padding: 0;
|
---|
77 | }
|
---|
78 | .lv_Frame {
|
---|
79 | width: 100%;
|
---|
80 | display: block;
|
---|
81 | }
|
---|
82 | .lv_Frame * { padding: 0; margin: 0; }
|
---|
83 | .lv_FrameTop {
|
---|
84 | position: absolute;
|
---|
85 | left: 0;
|
---|
86 | width: 100%;
|
---|
87 | display: block;
|
---|
88 | }
|
---|
89 | .lv_FrameBottom {
|
---|
90 | position: relative;
|
---|
91 | float: left;
|
---|
92 | clear: both;
|
---|
93 | }
|
---|
94 |
|
---|
95 | .lv_Liquid {
|
---|
96 | position: relative;
|
---|
97 | float: left;
|
---|
98 | width: 100%;
|
---|
99 | overflow: hidden;
|
---|
100 | clear: both;
|
---|
101 | }
|
---|
102 | .lv_Liquid .lv_Filler {
|
---|
103 | position: absolute;
|
---|
104 | height: 100%;
|
---|
105 | width: 2px;
|
---|
106 | top: 0;
|
---|
107 | left: 50%;
|
---|
108 | }
|
---|
109 |
|
---|
110 | .lv_Half {
|
---|
111 | display: block;
|
---|
112 | height: 100%;
|
---|
113 | clear: both;
|
---|
114 | line-height: 0px;
|
---|
115 | }
|
---|
116 | .lv_Half li { list-style-type: none; }
|
---|
117 | .lv_Corner {
|
---|
118 | float: left;
|
---|
119 | position: relative;
|
---|
120 | }
|
---|
121 | .lv_CornerTr, .lv_CornerBr { float: right; }
|
---|
122 |
|
---|
123 | .lv_Fill {
|
---|
124 | position: absolute;
|
---|
125 | top: 0;
|
---|
126 | width: 100%;
|
---|
127 | height: 100%;
|
---|
128 | }
|
---|
129 |
|
---|
130 | .lv_Half .lv_CornerWrapper {
|
---|
131 | float: left;
|
---|
132 | position: relative;
|
---|
133 | width: 50%;
|
---|
134 | height: 100%;
|
---|
135 | overflow: hidden;
|
---|
136 | }
|
---|
137 | .lv_HalfRight .lv_CornerWrapper { float: right; }
|
---|
138 |
|
---|
139 | .lv_Corner { position: relative; }
|
---|
140 | .lv_Corner canvas { position: relative; }
|
---|
141 | .lv_HalfLeft .lv_Corner { float: left; }
|
---|
142 | .lv_HalfRight .lv_Corner {
|
---|
143 | position: relative;
|
---|
144 | float: right;
|
---|
145 | }
|
---|
146 |
|
---|
147 | /* To position content correctly in the center with correct
|
---|
148 | rounded corner display we need a few wrappers.
|
---|
149 | This is to get it right on all browsers.
|
---|
150 | */
|
---|
151 | .lv_Center {
|
---|
152 | position: relative;
|
---|
153 | clear: both;
|
---|
154 | height: 100%;
|
---|
155 | overflow: hidden;
|
---|
156 | background: none;
|
---|
157 | padding: 0;
|
---|
158 | margin: 0;
|
---|
159 | }
|
---|
160 | .lv_WrapUp {
|
---|
161 | position: absolute;
|
---|
162 | left: 0;
|
---|
163 | height: 100%;
|
---|
164 | width: 100%;
|
---|
165 | overflow: hidden;
|
---|
166 | padding: 0;
|
---|
167 | margin: 0;
|
---|
168 | }
|
---|
169 | .lv_WrapDown {
|
---|
170 | position: relative;
|
---|
171 | height: 100%;
|
---|
172 | width: 100%;
|
---|
173 | overflow: hidden;
|
---|
174 | padding: 0;
|
---|
175 | margin: 0;
|
---|
176 | }
|
---|
177 | .lv_WrapCenter {
|
---|
178 | position: relative;
|
---|
179 | padding: 0;
|
---|
180 | margin: 0;
|
---|
181 | }
|
---|
182 |
|
---|
183 | /* The loading indicator */
|
---|
184 | .lv_Loading {
|
---|
185 | position: absolute;
|
---|
186 | top: 50%;
|
---|
187 | left: 50%;
|
---|
188 | }
|
---|
189 | .lv_Loading .lv_Button {
|
---|
190 | float: left;
|
---|
191 | height: 100%;
|
---|
192 | width: 100%;
|
---|
193 | }
|
---|
194 |
|
---|
195 | .lv_MediaWrapper {
|
---|
196 | position: relative;
|
---|
197 | width: 100%;
|
---|
198 | display: block;
|
---|
199 | overflow: hidden;
|
---|
200 | clear: both;
|
---|
201 | padding: 0;
|
---|
202 | margin: 0;
|
---|
203 | }
|
---|
204 | .lv_MediaWrapper img {
|
---|
205 | position: relative;
|
---|
206 | float: left;
|
---|
207 | padding: 0;
|
---|
208 | margin: 0;
|
---|
209 | }
|
---|
210 |
|
---|
211 | /* The overlays on top of images that toggle the previous/next buttons */
|
---|
212 | .lv_PrevNext {
|
---|
213 | position: absolute;
|
---|
214 | top: 0;
|
---|
215 | left: 0;
|
---|
216 | width: 100%;
|
---|
217 | height: 100%;
|
---|
218 | padding: 0;
|
---|
219 | margin: 0;
|
---|
220 | }
|
---|
221 | .lv_PrevNext * { padding: 0; margin: 0; }
|
---|
222 | .lv_PrevNext .lv_Button {
|
---|
223 | position: relative;
|
---|
224 | height: 100%;
|
---|
225 | }
|
---|
226 | .lv_PrevButton { float: left; }
|
---|
227 | .lv_NextButton { float: right; }
|
---|
228 |
|
---|
229 | /* The bar that holds title, caption, imagenumber, slideshow and closebutton */
|
---|
230 | .lv_MenuBar {
|
---|
231 | clear: both;
|
---|
232 | position: relative;
|
---|
233 | width: 100%;
|
---|
234 | float: left;
|
---|
235 | font: 11px Arial, Helvetica, sans-serif;
|
---|
236 | color: #808080;
|
---|
237 | padding: 0;
|
---|
238 | margin: 0;
|
---|
239 | text-align:left;
|
---|
240 | }
|
---|
241 | .lv_MenuBar * { padding: 0; margin: 0; }
|
---|
242 |
|
---|
243 | /* When the Menubar is at the top, on (ajax/iframe/inline) content,
|
---|
244 | it will also have this style.
|
---|
245 | The margins are removed here for better alignment, and since it's
|
---|
246 | at the top we switch the inner margins to the other side.
|
---|
247 | */
|
---|
248 | .lv_MenuTop .lv_DataText div,
|
---|
249 | .lv_MenuTop .lv_ImgNumber div { margin: 0; padding: 0; }
|
---|
250 | #lightview .lv_MenuTop .lv_Close,
|
---|
251 | #lightview .lv_MenuTop .lv_Data { margin: 0 0 6px 0; }
|
---|
252 |
|
---|
253 | .lv_Close, .lv_Data { margin: 6px 0 0 0; }
|
---|
254 | .lv_Close {
|
---|
255 | position: relative;
|
---|
256 | float: right;
|
---|
257 | overflow: hidden;
|
---|
258 | width: 100%;
|
---|
259 | height: 100%;
|
---|
260 | }
|
---|
261 |
|
---|
262 | .lv_Data {
|
---|
263 | position: relative;
|
---|
264 | float: left;
|
---|
265 | padding-bottom: 3px;
|
---|
266 | line-height: 13px;
|
---|
267 | }
|
---|
268 |
|
---|
269 | /* simulates padding-left inside .lv_Data */
|
---|
270 | .lv_DataText div, .lv_ImgNumber div { margin-left: 3px; }
|
---|
271 |
|
---|
272 | .lv_Data li {
|
---|
273 | list-style-type: none;
|
---|
274 | float: left;
|
---|
275 | margin-top: 3px;
|
---|
276 | }
|
---|
277 | .lv_DataText { width: 100%; }
|
---|
278 | .lv_DataText .lv_Title {
|
---|
279 | font-weight: bold;
|
---|
280 | margin-bottom: 2px;
|
---|
281 | }
|
---|
282 | .lv_DataText .lv_Caption { clear: both; }
|
---|
283 | .lv_Data .lv_ImgNumber {
|
---|
284 | color: #b8b8b8;
|
---|
285 | margin-right: 5px;
|
---|
286 | margin-top: 5px;
|
---|
287 | }
|
---|
288 |
|
---|
289 | .lv_Data .lv_innerPrevNext,
|
---|
290 | .lv_Data .lv_Slideshow {
|
---|
291 | position: relative;
|
---|
292 | border-left: 1px solid #efefef;
|
---|
293 | padding: 0 5px;
|
---|
294 | margin-top: 5px;
|
---|
295 | vertical-align: middle;
|
---|
296 | }
|
---|
297 | .lv_Data .lv_Slideshow { padding-right: 0px; }
|
---|
298 |
|
---|
299 | .lv_Data .lv_innerPrevNext .lv_Button,
|
---|
300 | .lv_Data .lv_Slideshow .lv_Button { /* play and stop */
|
---|
301 | float: left;
|
---|
302 | background-position: center left;
|
---|
303 | background-repeat: no-repeat;
|
---|
304 | }
|
---|
305 |
|
---|
306 | /* the boxes that hold media or external content */
|
---|
307 | .lv_Media,
|
---|
308 | .lv_External {
|
---|
309 | position: relative;
|
---|
310 | float: left;
|
---|
311 | margin: 0;
|
---|
312 | padding: 0;
|
---|
313 | }
|
---|
314 |
|
---|
315 | #lightview iframe {
|
---|
316 | border: 0;
|
---|
317 | clear: both;
|
---|
318 | padding: 0;
|
---|
319 | margin: 0;
|
---|
320 | background: none;
|
---|
321 | }
|
---|
322 |
|
---|
323 | /* The container that hold buttons above the view, currently only topclose */
|
---|
324 | .lv_topButtons {
|
---|
325 | position: absolute;
|
---|
326 | left: 0;
|
---|
327 | width: 100%;
|
---|
328 | overflow: hidden;
|
---|
329 | margin: 0;
|
---|
330 | padding: 0;
|
---|
331 | }
|
---|
332 | .lv_topcloseButtonImage { cursor: pointer; }
|
---|
333 |
|
---|
334 |
|
---|
335 | /* The error/warning/download message that will appear when
|
---|
336 | a required plugin is not installed.
|
---|
337 | */
|
---|
338 | #lightviewError p { padding: 0 0 10px 0; }
|
---|
339 | #lightviewError div {
|
---|
340 | padding: 6px;
|
---|
341 | font: 11px Arial, Helvetica, sans-serif;
|
---|
342 | }
|
---|
343 | #lightviewError .message {
|
---|
344 | background: #fcb5b5;
|
---|
345 | color: #dd1f1f;
|
---|
346 | margin-bottom: 3px;
|
---|
347 | }
|
---|
348 | #lightviewError .type { font-weight: bold; }
|
---|
349 | #lightviewError .pluginspage {
|
---|
350 | background: #b5fcbd;
|
---|
351 | color: #21be30;
|
---|
352 | }
|
---|
353 | #lightviewError a,
|
---|
354 | #lightviewError a:hover,
|
---|
355 | #lightviewError a:visited {
|
---|
356 | color: #21be30;
|
---|
357 | text-decoration: none;
|
---|
358 | background: none;
|
---|
359 | font-weight: bold;
|
---|
360 | border-bottom: 1px solid #7de689;
|
---|
361 | }
|
---|
362 | #lightviewError p {
|
---|
363 | margin-left: 0;
|
---|
364 | padding: 0;
|
---|
365 | }
|
---|
366 |
|
---|
367 | #overlay {
|
---|
368 | position: absolute; /* Opera will use fixed */
|
---|
369 | top: 0;
|
---|
370 | left: 0;
|
---|
371 | height: 100%;
|
---|
372 | width: 100%;
|
---|
373 | }
|
---|
374 |
|
---|
375 | * html #lightview { /* IE6 */
|
---|
376 | position: absolute;
|
---|
377 | margin-top: expression( (-1 * this.offsetHeight / 2 + (document.documentElement ? document.documentElement.scrollTop : 0) + (Lightview.navbarHeight || 0)) + 'px');
|
---|
378 | margin-left: expression( -1 * this.offsetWidth / 2 + (document.documentElement ? document.documentElement.scrollLeft : 0) + 'px');
|
---|
379 | }
|
---|
380 |
|
---|
381 | /* Always cover 100% of the screen in IE6 */
|
---|
382 | html #overlay {
|
---|
383 | position: absolute;
|
---|
384 | height: expression(((window.Enumerable && window.Enumerable.max) ? [document.body.scrollHeight, document.documentElement.scrollHeight, document.body.offsetHeight, document.documentElement.clientHeight].max() : document.documentElement.scrollHeight) + 'px' );
|
---|
385 | width: expression(((window.Enumerable && window.Enumerable.max) ? [document.body.scrollWidth, document.documentElement.scrollWidth, document.body.offsetWidth, document.documentElement.clientHeight].max() : document.documentElement.scrollWidth) + 'px' );
|
---|
386 | } |
---|