PluginProbe ʕ •ᴥ•ʔ
Responsive Lightbox & Gallery / 2.3.1
Responsive Lightbox & Gallery v2.3.1
2.7.8 trunk 1.0.0 1.0.1 1.0.1.1 1.0.2 1.0.3 1.0.4 1.1.0 1.1.1 1.1.2 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.4.0 1.4.0.1 1.4.1 1.4.11 1.4.12 1.4.13 1.4.14 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.6.0 1.6.1 1.6.10 1.6.11 1.6.12 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 2.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.1 2.2.0 2.2.1 2.2.2 2.2.3 2.2.3.1 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.4.7 2.4.8 2.4.9 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.6.0 2.6.1 2.7.0 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7
responsive-lightbox / assets / featherlight / featherlight.css
responsive-lightbox / assets / featherlight Last commit date
featherlight.css 5 years ago featherlight.gallery.css 5 years ago featherlight.gallery.js 5 years ago featherlight.gallery.min.css 5 years ago featherlight.gallery.min.js 5 years ago featherlight.js 5 years ago featherlight.min.css 5 years ago featherlight.min.js 5 years ago
featherlight.css
159 lines
1 /**
2 * Featherlight – ultra slim jQuery lightbox
3 * Version 1.7.13 - http://noelboss.github.io/featherlight/
4 *
5 * Copyright 2018, Noël Raoul Bossart (http://www.noelboss.com)
6 * MIT Licensed.
7 **/
8
9 html.with-featherlight {
10 /* disable global scrolling when featherlights are visible */
11 overflow: hidden;
12 }
13
14 .featherlight {
15 display: none;
16
17 /* dimensions: spanning the background from edge to edge */
18 position:fixed;
19 top: 0; right: 0; bottom: 0; left: 0;
20 z-index: 2147483647; /* z-index needs to be >= elements on the site. */
21
22 /* position: centering content */
23 text-align: center;
24
25 /* insures that the ::before pseudo element doesn't force wrap with fixed width content; */
26 white-space: nowrap;
27
28 /* styling */
29 cursor: pointer;
30 background: #333;
31 /* IE8 "hack" for nested featherlights */
32 background: rgba(0, 0, 0, 0);
33 }
34
35 /* support for nested featherlights. Does not work in IE8 (use JS to fix) */
36 .featherlight:last-of-type {
37 background: rgba(0, 0, 0, 0.8);
38 }
39
40 .featherlight:before {
41 /* position: trick to center content vertically */
42 content: '';
43 display: inline-block;
44 height: 100%;
45 vertical-align: middle;
46 }
47
48 .featherlight .featherlight-content {
49 /* make content container for positioned elements (close button) */
50 position: relative;
51
52 /* position: centering vertical and horizontal */
53 text-align: left;
54 vertical-align: middle;
55 display: inline-block;
56
57 /* dimensions: cut off images */
58 overflow: auto;
59 padding: 25px 25px 0;
60 border-bottom: 25px solid transparent;
61
62 /* dimensions: handling large content */
63 margin-left: 5%;
64 margin-right: 5%;
65 max-height: 95%;
66
67 /* styling */
68 background: #fff;
69 cursor: auto;
70
71 /* reset white-space wrapping */
72 white-space: normal;
73 }
74
75 /* contains the content */
76 .featherlight .featherlight-inner {
77 /* make sure its visible */
78 display: block;
79 }
80
81 /* don't show these though */
82 .featherlight script.featherlight-inner,
83 .featherlight link.featherlight-inner,
84 .featherlight style.featherlight-inner {
85 display: none;
86 }
87
88 .featherlight .featherlight-close-icon {
89 /* position: centering vertical and horizontal */
90 position: absolute;
91 z-index: 9999;
92 top: 0;
93 right: 0;
94
95 /* dimensions: 25px x 25px */
96 line-height: 25px;
97 width: 25px;
98
99 /* styling */
100 cursor: pointer;
101 text-align: center;
102 font-family: Arial, sans-serif;
103 background: #fff; /* Set the background in case it overlaps the content */
104 background: rgba(255, 255, 255, 0.3);
105 color: #000;
106 border: none;
107 padding: 0;
108 }
109
110 /* See http://stackoverflow.com/questions/16077341/how-to-reset-all-default-styles-of-the-html5-button-element */
111 .featherlight .featherlight-close-icon::-moz-focus-inner {
112 border: 0;
113 padding: 0;
114 }
115
116 .featherlight .featherlight-image {
117 /* styling */
118 width: 100%;
119 }
120
121
122 .featherlight-iframe .featherlight-content {
123 /* removed the border for image croping since iframe is edge to edge */
124 border-bottom: 0;
125 padding: 0;
126 -webkit-overflow-scrolling: touch;
127 }
128
129 .featherlight iframe {
130 /* styling */
131 border: none;
132 }
133
134 .featherlight * { /* See https://github.com/noelboss/featherlight/issues/42 */
135 -webkit-box-sizing: border-box;
136 -moz-box-sizing: border-box;
137 box-sizing: border-box;
138 }
139
140 /* handling phones and small screens */
141 @media only screen and (max-width: 1024px) {
142 .featherlight .featherlight-content {
143 /* dimensions: maximize lightbox with for small screens */
144 margin-left: 0;
145 margin-right: 0;
146 max-height: 98%;
147
148 padding: 10px 10px 0;
149 border-bottom: 10px solid transparent;
150 }
151 }
152
153 /* hide non featherlight items when printing */
154 @media print {
155 html.with-featherlight > * > :not(.featherlight) {
156 display: none;
157 }
158 }
159