PluginProbe
Embed Plus for YouTube Gallery, Livestream and Lazy Loading with Facades / 11.4
Embed Plus for YouTube Gallery, Livestream and Lazy Loading with Facades v11.4
trunk 1.0 1.1 10.0 10.1 10.2 10.3 10.4 10.5 10.6 10.7 10.8 10.9 11.0 11.0.1 11.1 11.2 11.3 11.3.1 11.4 11.5 11.6 11.7 11.7.1 11.8 All 143 releases
youtube-embed-plus / scripts / lity.css

lity.css in Embed Plus for YouTube Gallery, Livestream and Lazy Loading with Facades 11.4, at scripts/lity.css

195 lines 3.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /*! Lity - v1.6.6 - 2016-04-22
2 * http://sorgalla.com/lity/
3 * Copyright (c) 2016 Jan Sorgalla; Licensed MIT */
4 .lity {
5 z-index: 9990;
6 position: fixed;
7 top: 0;
8 right: 0;
9 bottom: 0;
10 left: 0;
11 white-space: nowrap;
12 background: #0b0b0b;
13 background: rgba(0, 0, 0, 0.9);
14 outline: none !important;
15 opacity: 0;
16 -webkit-transition: opacity 0.3s ease;
17 -o-transition: opacity 0.3s ease;
18 transition: opacity 0.3s ease;
19 }
20 .lity.lity-opened {
21 opacity: 1;
22 }
23 .lity.lity-closed {
24 opacity: 0;
25 }
26 .lity * {
27 -webkit-box-sizing: border-box;
28 -moz-box-sizing: border-box;
29 box-sizing: border-box;
30 }
31 .lity-wrap {
32 z-index: 9990;
33 position: fixed;
34 top: 0;
35 right: 0;
36 bottom: 0;
37 left: 0;
38 text-align: center;
39 outline: none !important;
40 }
41 .lity-wrap:before {
42 content: '';
43 display: inline-block;
44 height: 100%;
45 vertical-align: middle;
46 margin-right: -0.25em;
47 }
48 .lity-loader {
49 z-index: 9991;
50 color: #fff;
51 position: absolute;
52 top: 50%;
53 margin-top: -0.8em;
54 width: 100%;
55 text-align: center;
56 font-size: 14px;
57 font-family: Arial, Helvetica, sans-serif;
58 opacity: 0;
59 -webkit-transition: opacity 0.3s ease;
60 -o-transition: opacity 0.3s ease;
61 transition: opacity 0.3s ease;
62 }
63 .lity-loading .lity-loader {
64 opacity: 1;
65 }
66 .lity-container {
67 z-index: 9992;
68 position: relative;
69 text-align: left;
70 vertical-align: middle;
71 display: inline-block;
72 white-space: normal;
73 max-width: 100%;
74 max-height: 100%;
75 outline: none !important;
76 }
77 .lity-content {
78 z-index: 9993;
79 width: 100%;
80 -webkit-transform: scale(1);
81 -ms-transform: scale(1);
82 -o-transform: scale(1);
83 transform: scale(1);
84 -webkit-transition: -webkit-transform 0.3s ease;
85 -o-transition: -o-transform 0.3s ease;
86 transition: transform 0.3s ease;
87 }
88 .lity-loading .lity-content,
89 .lity-closed .lity-content {
90 -webkit-transform: scale(0.8);
91 -ms-transform: scale(0.8);
92 -o-transform: scale(0.8);
93 transform: scale(0.8);
94 }
95 .lity-content:after {
96 content: '';
97 position: absolute;
98 left: 0;
99 top: 0;
100 bottom: 0;
101 display: block;
102 right: 0;
103 width: auto;
104 height: auto;
105 z-index: -1;
106 -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
107 box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
108 }
109 .lity-close {
110 z-index: 9994;
111 width: 35px;
112 height: 35px;
113 position: fixed;
114 right: 0;
115 top: 0;
116 -webkit-appearance: none;
117 cursor: pointer;
118 text-decoration: none;
119 text-align: center;
120 padding: 0;
121 color: #fff;
122 font-style: normal;
123 font-size: 35px;
124 font-family: Arial, Baskerville, monospace;
125 line-height: 35px;
126 text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
127 border: 0;
128 background: none;
129 outline: none;
130 -webkit-box-shadow: none;
131 box-shadow: none;
132 }
133 .lity-close::-moz-focus-inner {
134 border: 0;
135 padding: 0;
136 }
137 .lity-close:hover,
138 .lity-close:focus,
139 .lity-close:active,
140 .lity-close:visited {
141 text-decoration: none;
142 text-align: center;
143 padding: 0;
144 color: #fff;
145 font-style: normal;
146 font-size: 35px;
147 font-family: Arial, Baskerville, monospace;
148 line-height: 35px;
149 text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
150 border: 0;
151 background: none;
152 outline: none;
153 -webkit-box-shadow: none;
154 box-shadow: none;
155 }
156 .lity-close:active {
157 top: 1px;
158 }
159 /* Image */
160 .lity-image img {
161 max-width: 100%;
162 display: block;
163 line-height: 0;
164 border: 0;
165 }
166 /* iFrame */
167 .lity-iframe .lity-container {
168 width: 100%;
169 max-width: 964px;
170 }
171 .lity-iframe-container {
172 width: 100%;
173 height: 0;
174 padding-top: 56.25%;
175 overflow: auto;
176 pointer-events: auto;
177 -webkit-transform: translateZ(0);
178 transform: translateZ(0);
179 -webkit-overflow-scrolling: touch;
180 }
181 .lity-iframe-container iframe {
182 position: absolute;
183 display: block;
184 top: 0;
185 left: 0;
186 width: 100%;
187 height: 100%;
188 -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
189 box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
190 background: #000;
191 }
192 .lity-hide {
193 display: none;
194 }
195