PluginProbe
Powerkit – Supercharge your WordPress Site / 2.2.9
Powerkit – Supercharge your WordPress Site v2.2.9
3.1.1 3.1.0 3.0.9 3.0.8 trunk 2.2.6 2.2.7 2.2.8 2.2.9 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.3.9 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 All 87 releases
powerkit / modules / lightbox / public / css / public-powerkit-lightbox.css

public-powerkit-lightbox.css in Powerkit – Supercharge your WordPress Site 2.2.9, at modules/lightbox/public/css/public-powerkit-lightbox.css

508 lines 8.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * All of the CSS for your public-facing functionality should be
3 * included in this file.
4 */
5 /**
6 * Environment for all styles (variables, additions, etc).
7 */
8 /*--------------------------------------------------------------*/
9 /*--------------------------------------------------------------*/
10 .mfp-bg,
11 .mfp-wrap {
12 --pk-mfp-overlay-opacity: 1.0;
13 --pk-mfp-overlay-color: #FFFFFF;
14 --pk-mfp-shadow: none;
15 --pk-mfp-controls-color: #000;
16 --pk-mfp-controls-border-color: #FFFFFF;
17 --pk-mfp-inner-close-icon-color: #E0E0E0;
18 --pk-mfp-controls-text-color: #3D3D3D;
19 --pk-mfp-controls-text-color-hover: #000000;
20 --pk-mfp-iframe-background: #FFFFFF;
21 --pk-mfp-image-background: #E6E6E6;
22 --pk-mfp-caption-title-color: #000000;
23 --pk-mfp-caption-subtitle-color: #434343;
24 }
25
26 .pk-zoom-icon-popup {
27 --pk-zoom-icon-popup-color: white;
28 --pk-zoom-icon-popup-background: rgba(0, 0, 0, 0.6);
29 --pk-zoom-icon-popup-font-size: 16px;
30 }
31
32 /*--------------------------------------------------------------*/
33 /* Magnific Popup CSS */
34 .mfp-bg {
35 top: 0;
36 left: 0;
37 width: 100%;
38 height: 100%;
39 z-index: 1042;
40 overflow: hidden;
41 position: fixed;
42 background: var(--pk-mfp-overlay-color);
43 opacity: var(--pk-mfp-overlay-opacity);
44 }
45
46 .mfp-wrap {
47 top: 0;
48 left: 0;
49 width: 100%;
50 height: 100%;
51 z-index: 1043;
52 position: fixed;
53 outline: none !important;
54 -webkit-backface-visibility: hidden;
55 }
56
57 .mfp-container {
58 text-align: center;
59 position: absolute;
60 width: 100%;
61 height: 100%;
62 left: 0;
63 top: 0;
64 padding: 0 8px;
65 -webkit-box-sizing: border-box;
66 box-sizing: border-box;
67 }
68
69 .mfp-container:before {
70 content: '';
71 display: inline-block;
72 height: 100%;
73 vertical-align: middle;
74 }
75
76 .mfp-align-top .mfp-container:before {
77 display: none;
78 }
79
80 .mfp-content {
81 position: relative;
82 display: inline-block;
83 vertical-align: middle;
84 margin: 0 auto;
85 text-align: left;
86 z-index: 1045;
87 }
88
89 .mfp-inline-holder .mfp-content,
90 .mfp-ajax-holder .mfp-content {
91 width: 100%;
92 cursor: auto;
93 }
94
95 .mfp-ajax-cur {
96 cursor: progress;
97 }
98
99 .mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
100 cursor: -webkit-zoom-out;
101 cursor: zoom-out;
102 }
103
104 .mfp-zoom {
105 cursor: pointer;
106 cursor: -webkit-zoom-in;
107 cursor: zoom-in;
108 }
109
110 .mfp-auto-cursor .mfp-content {
111 cursor: auto;
112 }
113
114 .mfp-close,
115 .mfp-arrow,
116 .mfp-preloader,
117 .mfp-counter {
118 -webkit-user-select: none;
119 -moz-user-select: none;
120 -ms-user-select: none;
121 user-select: none;
122 }
123
124 .mfp-loading.mfp-figure {
125 display: none;
126 }
127
128 .mfp-hide {
129 display: none !important;
130 }
131
132 .mfp-preloader {
133 color: var(--pk-mfp-controls-text-color);
134 position: absolute;
135 top: 50%;
136 width: auto;
137 text-align: center;
138 margin-top: -0.8em;
139 left: 8px;
140 right: 8px;
141 z-index: 1044;
142 }
143
144 .mfp-preloader a {
145 color: var(--pk-mfp-controls-text-color);
146 }
147
148 .mfp-preloader a:hover {
149 color: var(--pk-mfp-controls-text-color-hover);
150 }
151
152 .mfp-s-ready .mfp-preloader {
153 display: none;
154 }
155
156 .mfp-s-error .mfp-content {
157 display: none;
158 }
159
160 button.mfp-close, button.mfp-arrow {
161 overflow: visible;
162 cursor: pointer;
163 background: transparent;
164 border: 0;
165 -webkit-appearance: none;
166 display: block;
167 outline: none;
168 padding: 0;
169 z-index: 1046;
170 -webkit-box-shadow: none;
171 box-shadow: none;
172 -ms-touch-action: manipulation;
173 touch-action: manipulation;
174 }
175
176 button::-moz-focus-inner {
177 padding: 0;
178 border: 0;
179 }
180
181 .mfp-close {
182 width: 44px;
183 height: 44px;
184 line-height: 44px;
185 position: absolute;
186 right: 0;
187 top: 0;
188 text-decoration: none;
189 text-align: center;
190 opacity: 0.65;
191 padding: 0 0 18px 10px;
192 color: var(--pk-mfp-controls-color);
193 font-style: normal;
194 font-size: 28px;
195 font-family: Arial, Baskerville, monospace;
196 }
197
198 .mfp-close:hover, .mfp-close:focus {
199 opacity: 1;
200 }
201
202 .mfp-close:active {
203 top: 1px;
204 }
205
206 .mfp-close-btn-in .mfp-close {
207 color: var(--pk-mfp-inner-close-icon-color);
208 }
209
210 .mfp-image-holder .mfp-close,
211 .mfp-iframe-holder .mfp-close {
212 color: var(--pk-mfp-controls-color);
213 right: -6px;
214 text-align: right;
215 padding-right: 6px;
216 width: 100%;
217 }
218
219 .mfp-counter {
220 position: absolute;
221 top: 0;
222 right: 0;
223 color: var(--pk-mfp-controls-text-color);
224 font-size: 12px;
225 line-height: 18px;
226 white-space: nowrap;
227 }
228
229 .mfp-arrow {
230 position: absolute;
231 opacity: 0.65;
232 margin: 0;
233 top: 50%;
234 margin-top: -55px;
235 padding: 0;
236 width: 90px;
237 height: 110px;
238 -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
239 }
240
241 .mfp-arrow:active {
242 margin-top: -54px;
243 }
244
245 .mfp-arrow:hover, .mfp-arrow:focus {
246 opacity: 1;
247 }
248
249 .mfp-arrow:before, .mfp-arrow:after {
250 content: '';
251 display: block;
252 width: 0;
253 height: 0;
254 position: absolute;
255 left: 0;
256 top: 0;
257 margin-top: 35px;
258 margin-left: 35px;
259 border: medium inset transparent;
260 }
261
262 .mfp-arrow:after {
263 border-top-width: 13px;
264 border-bottom-width: 13px;
265 top: 8px;
266 }
267
268 .mfp-arrow:before {
269 border-top-width: 21px;
270 border-bottom-width: 21px;
271 opacity: 0.7;
272 }
273
274 .mfp-arrow-left {
275 left: 0;
276 }
277
278 .mfp-arrow-left:after {
279 border-right: 17px solid var(--pk-mfp-controls-color);
280 margin-left: 31px;
281 }
282
283 .mfp-arrow-left:before {
284 margin-left: 25px;
285 border-right: 27px solid var(--pk-mfp-controls-border-color);
286 }
287
288 .mfp-arrow-right {
289 right: 0;
290 }
291
292 .mfp-arrow-right:after {
293 border-left: 17px solid var(--pk-mfp-controls-color);
294 margin-left: 39px;
295 }
296
297 .mfp-arrow-right:before {
298 border-left: 27px solid var(--pk-mfp-controls-border-color);
299 }
300
301 .mfp-iframe-holder {
302 padding-top: 40px;
303 padding-bottom: 40px;
304 }
305
306 .mfp-iframe-holder .mfp-content {
307 line-height: 0;
308 width: 100%;
309 max-width: 900px;
310 }
311
312 .mfp-iframe-holder .mfp-close {
313 top: -40px;
314 }
315
316 .mfp-iframe-scaler {
317 width: 100%;
318 height: 0;
319 overflow: hidden;
320 padding-top: 56.25%;
321 }
322
323 .mfp-iframe-scaler iframe {
324 position: absolute;
325 display: block;
326 top: 0;
327 left: 0;
328 width: 100%;
329 height: 100%;
330 -webkit-box-shadow: var(--pk-mfp-shadow);
331 box-shadow: var(--pk-mfp-shadow);
332 background: var(--pk-mfp-iframe-background);
333 }
334
335 /* Main image in popup */
336 img.mfp-img {
337 width: auto;
338 max-width: 100%;
339 height: auto;
340 display: block;
341 line-height: 0;
342 -webkit-box-sizing: border-box;
343 box-sizing: border-box;
344 padding: 40px 0 40px;
345 margin: 0 auto;
346 }
347
348 /* The shadow behind the image */
349 .mfp-figure {
350 line-height: 0;
351 }
352
353 .mfp-figure:after {
354 content: '';
355 position: absolute;
356 left: 0;
357 top: 40px;
358 bottom: 40px;
359 display: block;
360 right: 0;
361 width: auto;
362 height: auto;
363 z-index: -1;
364 -webkit-box-shadow: var(--pk-mfp-shadow);
365 box-shadow: var(--pk-mfp-shadow);
366 background: var(--pk-mfp-image-background);
367 }
368
369 .mfp-figure small {
370 color: var(--pk-mfp-caption-subtitle-color);
371 display: block;
372 font-size: 12px;
373 line-height: 14px;
374 }
375
376 .mfp-figure figure {
377 margin: 0;
378 }
379
380 .mfp-bottom-bar {
381 margin-top: -36px;
382 position: absolute;
383 top: 100%;
384 left: 0;
385 width: 100%;
386 cursor: auto;
387 }
388
389 .mfp-title {
390 text-align: left;
391 line-height: 18px;
392 color: var(--pk-mfp-caption-title-color);
393 word-wrap: break-word;
394 padding-right: 36px;
395 }
396
397 .mfp-image-holder .mfp-content {
398 max-width: 100%;
399 }
400
401 .mfp-gallery .mfp-image-holder .mfp-figure {
402 cursor: pointer;
403 }
404
405 @media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
406 /**
407 * Remove all paddings around the image on small screen
408 */
409 .mfp-img-mobile .mfp-image-holder {
410 padding-left: 0;
411 padding-right: 0;
412 }
413 .mfp-img-mobile img.mfp-img {
414 padding: 0;
415 }
416 .mfp-img-mobile .mfp-figure:after {
417 top: 0;
418 bottom: 0;
419 }
420 .mfp-img-mobile .mfp-figure small {
421 display: inline;
422 margin-left: 5px;
423 }
424 .mfp-img-mobile .mfp-bottom-bar {
425 background: rgba(0, 0, 0, 0.6);
426 bottom: 0;
427 margin: 0;
428 top: auto;
429 padding: 3px 5px;
430 position: fixed;
431 -webkit-box-sizing: border-box;
432 box-sizing: border-box;
433 }
434 .mfp-img-mobile .mfp-bottom-bar:empty {
435 padding: 0;
436 }
437 .mfp-img-mobile .mfp-counter {
438 right: 5px;
439 top: 3px;
440 }
441 .mfp-img-mobile .mfp-close {
442 top: 0;
443 right: 0;
444 width: 35px;
445 height: 35px;
446 line-height: 35px;
447 background: rgba(0, 0, 0, 0.6);
448 position: fixed;
449 text-align: center;
450 padding: 0;
451 }
452 }
453
454 @media all and (max-width: 900px) {
455 .mfp-arrow {
456 -webkit-transform: scale(0.75);
457 transform: scale(0.75);
458 }
459 .mfp-arrow-left {
460 -webkit-transform-origin: 0;
461 transform-origin: 0;
462 }
463 .mfp-arrow-right {
464 -webkit-transform-origin: 100%;
465 transform-origin: 100%;
466 }
467 .mfp-container {
468 padding-left: 6px;
469 padding-right: 6px;
470 }
471 }
472
473 .pk-lightbox-container {
474 position: relative;
475 max-width: 100%;
476 }
477
478 .pk-zoom-icon-popup {
479 display: block;
480 }
481
482 .pk-zoom-icon-popup:after {
483 display: block;
484 position: absolute;
485 top: 1rem;
486 right: 1rem;
487 width: 2.5rem;
488 height: 2.5rem;
489 line-height: 2.5rem;
490 text-align: center;
491 opacity: 0;
492 color: var(--pk-zoom-icon-popup-color);
493 background: var(--pk-zoom-icon-popup-background);
494 -webkit-transition: all 0.2s ease;
495 transition: all 0.2s ease;
496 font-family: 'powerkit-icons';
497 font-size: var(--pk-zoom-icon-popup-font-size);
498 content: "\e916";
499 }
500
501 .pk-zoom-icon-popup:hover:after {
502 opacity: 1;
503 }
504
505 .pk-zoom-icon-popup img {
506 min-width: 100%;
507 }
508