PluginProbe
Automatic YouTube Gallery – Embed Auto-Updating YouTube Video Galleries, Feeds, Playlists & Channels / 2.9.1
Automatic YouTube Gallery – Embed Auto-Updating YouTube Video Galleries, Feeds, Playlists & Channels v2.9.1
2.9.1 2.9.0 trunk 1.0.0 1.1.0 1.2.0 1.3.0 1.4.0 1.5.0 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 2.0.0 2.1.0 2.2.0 2.3.2 2.3.3 2.3.5 2.3.6 2.3.8 2.3.9 2.4.3 All 37 releases
automatic-youtube-gallery / public / assets / css / public.css

public.css in Automatic YouTube Gallery – Embed Auto-Updating YouTube Video Galleries, Feeds, Playlists & Channels 2.9.1, at public/assets/css/public.css

437 lines 9.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /*----------------------------------------------------------------------------------------------
2 *
3 * Base
4 *
5 *--------------------------------------------------------------------------------------------*/
6 .ayg {
7 box-sizing: border-box;
8 margin-bottom: 1em;
9 line-height: 1.5;
10 }
11
12 .ayg *,
13 .ayg *:before,
14 .ayg *:after {
15 box-sizing: inherit;
16 }
17
18 /*----------------------------------------------------------------------------------------------
19 *
20 * Spinner
21 *
22 *--------------------------------------------------------------------------------------------*/
23 @keyframes ayg-wait {
24 12.5% {
25 background-position-x: -4px, -4px, -4px, -4px, -4px, -4px, -4px, -4px, -4px, -4px, 0, 0;
26 }
27
28 25% {
29 background-position-x: -4px, -4px, -4px, -4px, -4px, -4px, -4px, -4px, 0, 0, 6px, 6px;
30 }
31
32 37.5% {
33 background-position-x: -4px, -4px, -4px, -4px, -4px, -4px, 0, 0, 6px, 6px, 12px, 12px;
34 }
35
36 50% {
37 background-position-x: -4px, -4px, -4px, -4px, 0, 0, 6px, 6px, 12px, 12px, -4px, -4px;
38 }
39
40 62.5% {
41 background-position-x: -4px, -4px, 0, 0, 6px, 6px, 12px, 12px, -4px, -4px, -4px, -4px;
42 }
43
44 75% {
45 background-position-x: 0, 0, 6px, 6px, 12px, 12px, -4px, -4px, -4px, -4px, -4px, -4px;
46 }
47
48 87.5% {
49 background-position-x: 6px, 6px, 12px, 12px, -4px, -4px, -4px, -4px, -4px, -4px, -4px, -4px;
50 }
51
52 100% {
53 background-position-x: 12px, 12px, -4px, -4px, -4px, -4px, -4px, -4px, -4px, -4px, -4px, -4px;
54 }
55 }
56
57 .ayg-loading {
58 background:
59 linear-gradient(0deg, #f4f5fa 1px, transparent 0, transparent 8px, #f4f5fa 8px), /* 6 */
60 linear-gradient(90deg, #f4f5fa 1px, #f6f9fb 0, #f6f9fb 3px, #f4f5fa 3px),
61
62 linear-gradient(0deg, #ececf5 1px, transparent 0, transparent 8px, #ececf5 8px), /* 5 */
63 linear-gradient(90deg, #ececf5 1px, #f2f3f9 0, #f2f3f9 3px, #ececf5 3px),
64
65 linear-gradient(0deg, #e7eaf4 1px, transparent 0, transparent 8px, #e7eaf4 8px), /* 4 */
66 linear-gradient(90deg, #e7eaf4 1px, #eef1f8 0, #eef1f8 3px, #e7eaf4 3px),
67
68 linear-gradient(0deg, #b9bedd 1px, transparent 0, transparent 10px, #b9bedd 10px), /* 3 */
69 linear-gradient(90deg, #b9bedd 1px, #d0d5e8 0, #d0d5e8 3px, #b9bedd 3px),
70
71 linear-gradient(0deg, #9fa6d2 1px, transparent 0, transparent 15px, #9fa6d2 15px), /* 2 */
72 linear-gradient(90deg, #9fa6d2 1px, #c0c5e1 0, #c0c5e1 3px, #9fa6d2 3px),
73
74 linear-gradient(0deg, #8490c6 1px, transparent 0, transparent 15px, #8490c6 15px), /* 1 */
75 linear-gradient(90deg, #8490c6 1px, #aeb5da 0, #aeb5da 3px, #8490c6 3px);
76
77 background-position-x: -4px; /* Hide All */
78 background-position-y: 3px, 3px, 3px, 3px, 3px, 3px, 2px, 2px, 0, 0, 0, 0;
79
80 background-repeat: no-repeat;
81
82 background-size:
83 4px 9px, /* 6 */
84 4px 9px,
85
86 4px 9px, /* 5 */
87 4px 9px,
88
89 4px 9px, /* 4 */
90 4px 9px,
91
92 4px 11px, /* 3 */
93 4px 11px,
94
95 4px 16px, /* 2 */
96 4px 16px,
97
98 4px 16px, /* 1 */
99 4px 16px;
100
101 zoom: 1; /* Increase this for a bigger symbol*/
102 width: 16px;
103 min-width: 16px;
104 height: 16px;
105 min-height: 16px;
106
107 animation: ayg-wait .80s steps(1, start) infinite;
108 }
109
110 /*----------------------------------------------------------------------------------------------
111 *
112 * Search Form
113 *
114 *--------------------------------------------------------------------------------------------*/
115 ayg-search-form {
116 display: flex;
117 flex-direction: column;
118 gap: 0.5em;
119 margin-bottom: 1.5em;
120 }
121
122 ayg-search-form form {
123 display: flex;
124 position: relative;
125 }
126
127 ayg-search-form form input {
128 flex-grow: 1;
129 }
130
131 ayg-search-form form button {
132 position: absolute;
133 top: 0;
134 right: 0;
135 bottom: 0;
136 }
137
138 ayg-search-form form button,
139 ayg-search-form form button:hover,
140 ayg-search-form form button:focus {
141 margin: 0;
142 border: 0;
143 box-shadow: none;
144 background: transparent;
145 background-color: transparent;
146 background-image: none;
147 padding: 0;
148 width: 2em;
149 height: 100%;
150 line-height: 1;
151 color: inherit;
152 }
153
154 ayg-search-form form .ayg-loading {
155 display: flex;
156 }
157
158 ayg-search-form .ayg-status-message {
159 display: flex;
160 align-items: center;
161 gap: 0.35em;
162 color: #008000;
163 font-size: small;
164 }
165
166 ayg-search-form .ayg-status-message.ayg-error {
167 color: #FF4500;
168 }
169
170 /*----------------------------------------------------------------------------------------------
171 *
172 * Player
173 *
174 *--------------------------------------------------------------------------------------------*/
175 /* Custom Element */
176 ayg-player {
177 border-radius: 3px;
178 background: #000 url( '../../../public/assets/images/spinner-dark.gif' ) center center no-repeat;
179 }
180
181 /* Theme Integration */
182 .ayg-player {
183 display: flex;
184 flex-direction: column;
185 gap: 1.5em;
186 }
187
188 .ayg-player-container {
189 width: 100%;
190 margin: auto;
191 }
192
193 .ayg-player-caption {
194 display: flex;
195 flex-direction: column;
196 gap: 1em;
197 }
198
199 .ayg-player-caption .ayg-player-title {
200 margin: 0;
201 padding: 0;
202 }
203
204 .ayg-player-description-more {
205 display: none;
206 }
207
208 .ayg-player-description-toggle-btn {
209 display: inline;
210 padding-left: 0.5em;
211 }
212
213 /*----------------------------------------------------------------------------------------------
214 *
215 * Responsive Grid
216 *
217 *--------------------------------------------------------------------------------------------*/
218 .ayg-row {
219 display: flex;
220 flex-wrap: wrap;
221 margin: 0 -0.75em;
222 }
223
224 .ayg-col {
225 width: 100%;
226 }
227
228 @media only screen and (min-width: 420px) {
229 .ayg-col-xs-2 {
230 width: 50%;
231 }
232 }
233
234 @media only screen and (min-width: 600px) {
235 .ayg-col-sm-3 {
236 width: 33.33%;
237 }
238 }
239
240 @media only screen and (min-width: 768px) {
241 .ayg-col-2 {
242 width: 50%;
243 }
244
245 .ayg-col-3 {
246 width: 33.33%;
247 }
248
249 .ayg-col-4 {
250 width: 25%;
251 }
252
253 .ayg-col-5 {
254 width: 20%;
255 }
256
257 .ayg-col-6 {
258 width: 16.66%;
259 }
260
261 .ayg-col-7 {
262 width: 14.28%;
263 }
264
265 .ayg-col-8 {
266 width: 12.5%;
267 }
268
269 .ayg-col-9 {
270 width: 11.11%;
271 }
272
273 .ayg-col-10 {
274 width: 10%;
275 }
276
277 .ayg-col-11 {
278 width: 9.09%;
279 }
280
281 .ayg-col-12 {
282 width: 8.33%;
283 }
284 }
285
286 /*----------------------------------------------------------------------------------------------
287 *
288 * Thumbnail
289 *
290 *--------------------------------------------------------------------------------------------*/
291 .ayg-thumbnail {
292 display: flex;
293 flex-direction: column;
294 gap: 0.75em;
295 margin: 0.75em;
296 cursor: pointer;
297 }
298
299 .ayg-thumbnail p,
300 .ayg-thumbnail br {
301 display: none;
302 }
303
304 .ayg-thumbnail .ayg-thumbnail-media {
305 position: relative;
306 aspect-ratio: var(--ayg-image-ratio, 16 / 9);
307 border-radius: 3px;
308 overflow: hidden;
309 }
310
311 .ayg-thumbnail .ayg-thumbnail-image {
312 display: block;
313 width: 100%;
314 max-width: 100%;
315 height: 100%;
316 object-fit: cover;
317 }
318
319 .ayg-thumbnail .ayg-thumbnail-now-playing {
320 pointer-events: none;
321 display: none;
322 position: absolute;
323 right: 5px;
324 bottom: 5px;
325 z-index: 3;
326 border-radius: 2px;
327 background-color: rgba( 0, 0, 0, 0.8 );
328 padding: 0.35em 0.5em;
329 line-height: 1;
330 color: #fff;
331 font-size: 0.85em;
332 }
333
334 .ayg-thumbnail .ayg-thumbnail-icon-play {
335 pointer-events: none;
336 display: inline-block;
337 position: absolute;
338 top: 50%;
339 left: 50%;
340 transform: translate( -50%, -50% );
341 width: 30%;
342 height: 30%;
343 min-width: 36px;
344 min-height: 36px;
345 max-width: 64px;
346 max-height: 64px;
347 vertical-align: middle;
348 z-index: 3;
349 }
350
351 .ayg-thumbnail .ayg-thumbnail-caption {
352 display: flex;
353 flex-direction: column;
354 gap: 0.35em;
355 word-wrap: break-word;
356 }
357
358 .ayg-thumbnail .ayg-thumbnail-title {
359 line-height: 1.5;
360 font-weight: 600;
361 }
362
363 .ayg-active .ayg-thumbnail-icon-play {
364 display: none !important;
365 }
366
367 .ayg-active .ayg-thumbnail-now-playing {
368 display: inline-block !important;
369 }
370
371 /*----------------------------------------------------------------------------------------------
372 *
373 * Pagination
374 *
375 *--------------------------------------------------------------------------------------------*/
376 .ayg-pagination {
377 display: flex;
378 align-items: center;
379 justify-content: center;
380 gap: 1em;
381 margin-bottom: 1em;
382 }
383
384 .ayg-pagination .ayg-btn {
385 cursor: pointer;
386 }
387
388 .ayg-pagination-info {
389 display: flex;
390 align-items: center;
391 gap: 4px;
392 }
393
394 .ayg-pagination-info,
395 .ayg-pagination-info * {
396 line-height: 1;
397 }
398
399 .ayg-pagination.ayg-loading {
400 margin-left: auto;
401 margin-right: auto;
402 }
403
404 .ayg-pagination.ayg-loading * {
405 display: none;
406 }
407
408 /*----------------------------------------------------------------------------------------------
409 *
410 * Block Editor
411 *
412 *--------------------------------------------------------------------------------------------*/
413 .wp-block-automatic-youtube-gallery-block .components-spinner {
414 display: flex;
415 align-items: center;
416 width: 100%;
417 }
418
419 .wp-block-automatic-youtube-gallery-block .components-placeholder {
420 display: none;
421 }
422
423 .is-loading .wp-block-automatic-youtube-gallery-block {
424 opacity: 0.5;
425 }
426
427 /*----------------------------------------------------------------------------------------------
428 *
429 * Theme
430 *
431 *--------------------------------------------------------------------------------------------*/
432 .ayg-theme {
433 display: flex;
434 flex-direction: column;
435 gap: 1.5em;
436 }
437