| 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 |
} |
| 152 |
|
| 153 |
ayg-search-form form .ayg-loading { |
| 154 |
display: flex; |
| 155 |
} |
| 156 |
|
| 157 |
ayg-search-form .ayg-status-message { |
| 158 |
display: flex; |
| 159 |
align-items: center; |
| 160 |
gap: 0.35em; |
| 161 |
color: #008000; |
| 162 |
font-size: small; |
| 163 |
} |
| 164 |
|
| 165 |
ayg-search-form .ayg-status-message.ayg-error { |
| 166 |
color: #FF4500; |
| 167 |
} |
| 168 |
|
| 169 |
/*---------------------------------------------------------------------------------------------- |
| 170 |
* |
| 171 |
* Player |
| 172 |
* |
| 173 |
*--------------------------------------------------------------------------------------------*/ |
| 174 |
/* Custom Element */ |
| 175 |
ayg-player { |
| 176 |
border-radius: 3px; |
| 177 |
background: #000 url( '../../../public/assets/images/spinner-dark.gif' ) center center no-repeat; |
| 178 |
} |
| 179 |
|
| 180 |
ayg-player .plyr { |
| 181 |
position: absolute; |
| 182 |
inset: 0; |
| 183 |
width: 100%; |
| 184 |
height: 100%; |
| 185 |
} |
| 186 |
|
| 187 |
ayg-player .plyr .plyr__control--overlaid, |
| 188 |
ayg-player .plyr .plyr__control--overlaid:hover, |
| 189 |
ayg-player .plyr .plyr__control--overlaid:focus { |
| 190 |
margin-top: 1px; |
| 191 |
margin-left: 2px; |
| 192 |
border-radius: 0; |
| 193 |
background: center/72px 48px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 48'%3E%3Cpath fill='%23f00' fill-opacity='.9' d='M66.5 7.7c-.8-2.9-2.5-5.4-5.4-6.2C55.8.1 34 0 34 0S12.2.1 6.9 1.6c-3 .7-4.6 3.2-5.4 6.1a89.6 89.6 0 000 32.5c.8 3 2.5 5.5 5.4 6.3C12.2 47.9 34 48 34 48s21.8-.1 27.1-1.6c3-.7 4.6-3.2 5.4-6.1C68 35 68 24 68 24s0-11-1.5-16.3z'/%3E%3Cpath fill='%23fff' d='M45 24L27 14v20'/%3E%3C/svg%3E"); |
| 194 |
width: 72px; |
| 195 |
height: 48px; |
| 196 |
filter: grayscale(1); |
| 197 |
} |
| 198 |
|
| 199 |
ayg-player .plyr .plyr__control--overlaid:hover, |
| 200 |
ayg-player .plyr .plyr__control--overlaid:focus { |
| 201 |
filter: none; |
| 202 |
} |
| 203 |
|
| 204 |
ayg-player .plyr .plyr__control--overlaid * { |
| 205 |
display: none; |
| 206 |
} |
| 207 |
|
| 208 |
ayg-player .plyr--initialized.plyr--no-controls .plyr__control--overlaid { |
| 209 |
display: none; |
| 210 |
} |
| 211 |
|
| 212 |
ayg-player .plyr--initialized iframe { |
| 213 |
pointer-events: none; |
| 214 |
} |
| 215 |
|
| 216 |
ayg-player.hide-youtube-logo .plyr iframe { |
| 217 |
top: -50%; |
| 218 |
height: 200%; |
| 219 |
} |
| 220 |
|
| 221 |
/* Theme Integration */ |
| 222 |
.ayg-player { |
| 223 |
display: flex; |
| 224 |
flex-direction: column; |
| 225 |
gap: 1.5em; |
| 226 |
} |
| 227 |
|
| 228 |
.ayg-player-container { |
| 229 |
width: 100%; |
| 230 |
margin: auto; |
| 231 |
} |
| 232 |
|
| 233 |
.ayg-player-caption { |
| 234 |
display: flex; |
| 235 |
flex-direction: column; |
| 236 |
gap: 1em; |
| 237 |
} |
| 238 |
|
| 239 |
.ayg-player-caption .ayg-player-title { |
| 240 |
margin: 0; |
| 241 |
padding: 0; |
| 242 |
} |
| 243 |
|
| 244 |
.ayg-player-description-more { |
| 245 |
display: none; |
| 246 |
} |
| 247 |
|
| 248 |
.ayg-player-description-toggle-btn { |
| 249 |
display: block; |
| 250 |
margin: 0.5em 0; |
| 251 |
font-weight: 600; |
| 252 |
} |
| 253 |
|
| 254 |
/*---------------------------------------------------------------------------------------------- |
| 255 |
* |
| 256 |
* Responsive Grid |
| 257 |
* |
| 258 |
*--------------------------------------------------------------------------------------------*/ |
| 259 |
.ayg-row { |
| 260 |
display: flex; |
| 261 |
flex-wrap: wrap; |
| 262 |
margin: 0 -0.75em; |
| 263 |
} |
| 264 |
|
| 265 |
.ayg-col { |
| 266 |
width: 100%; |
| 267 |
} |
| 268 |
|
| 269 |
@media only screen and (min-width: 420px) { |
| 270 |
.ayg-col-xs-2 { |
| 271 |
width: 50%; |
| 272 |
} |
| 273 |
} |
| 274 |
|
| 275 |
@media only screen and (min-width: 600px) { |
| 276 |
.ayg-col-sm-3 { |
| 277 |
width: 33.33%; |
| 278 |
} |
| 279 |
} |
| 280 |
|
| 281 |
@media only screen and (min-width: 768px) { |
| 282 |
.ayg-col-2 { |
| 283 |
width: 50%; |
| 284 |
} |
| 285 |
|
| 286 |
.ayg-col-3 { |
| 287 |
width: 33.33%; |
| 288 |
} |
| 289 |
|
| 290 |
.ayg-col-4 { |
| 291 |
width: 25%; |
| 292 |
} |
| 293 |
|
| 294 |
.ayg-col-5 { |
| 295 |
width: 20%; |
| 296 |
} |
| 297 |
|
| 298 |
.ayg-col-6 { |
| 299 |
width: 16.66%; |
| 300 |
} |
| 301 |
|
| 302 |
.ayg-col-7 { |
| 303 |
width: 14.28%; |
| 304 |
} |
| 305 |
|
| 306 |
.ayg-col-8 { |
| 307 |
width: 12.5%; |
| 308 |
} |
| 309 |
|
| 310 |
.ayg-col-9 { |
| 311 |
width: 11.11%; |
| 312 |
} |
| 313 |
|
| 314 |
.ayg-col-10 { |
| 315 |
width: 10%; |
| 316 |
} |
| 317 |
|
| 318 |
.ayg-col-11 { |
| 319 |
width: 9.09%; |
| 320 |
} |
| 321 |
|
| 322 |
.ayg-col-12 { |
| 323 |
width: 8.33%; |
| 324 |
} |
| 325 |
} |
| 326 |
|
| 327 |
/*---------------------------------------------------------------------------------------------- |
| 328 |
* |
| 329 |
* Thumbnail |
| 330 |
* |
| 331 |
*--------------------------------------------------------------------------------------------*/ |
| 332 |
.ayg-thumbnail { |
| 333 |
display: flex; |
| 334 |
flex-direction: column; |
| 335 |
gap: 0.75em; |
| 336 |
margin: 0.75em; |
| 337 |
cursor: pointer; |
| 338 |
} |
| 339 |
|
| 340 |
.ayg-thumbnail p, |
| 341 |
.ayg-thumbnail br { |
| 342 |
display: none; |
| 343 |
} |
| 344 |
|
| 345 |
.ayg-thumbnail-media { |
| 346 |
position: relative; |
| 347 |
} |
| 348 |
|
| 349 |
.ayg-thumbnail-image { |
| 350 |
display: block; |
| 351 |
border-radius: 3px; |
| 352 |
width: 100%; |
| 353 |
height: auto; |
| 354 |
} |
| 355 |
|
| 356 |
.ayg-thumbnail-icon-play { |
| 357 |
pointer-events: none; |
| 358 |
display: inline-block; |
| 359 |
position: absolute; |
| 360 |
top: 50%; |
| 361 |
left: 50%; |
| 362 |
transform: translate( -50%, -50% ); |
| 363 |
width: 30%; |
| 364 |
height: 30%; |
| 365 |
min-width: 36px; |
| 366 |
min-height: 36px; |
| 367 |
max-width: 64px; |
| 368 |
max-height: 64px; |
| 369 |
vertical-align: middle; |
| 370 |
z-index: 3; |
| 371 |
} |
| 372 |
|
| 373 |
.ayg-thumbnail-now-playing { |
| 374 |
pointer-events: none; |
| 375 |
display: none; |
| 376 |
position: absolute; |
| 377 |
right: 5px; |
| 378 |
bottom: 5px; |
| 379 |
z-index: 3; |
| 380 |
border-radius: 2px; |
| 381 |
background-color: rgba( 0, 0, 0, 0.8 ); |
| 382 |
padding: 0.35em 0.5em; |
| 383 |
line-height: 1; |
| 384 |
color: #fff; |
| 385 |
font-size: 0.85em; |
| 386 |
} |
| 387 |
|
| 388 |
.ayg-thumbnail-caption { |
| 389 |
display: flex; |
| 390 |
flex-direction: column; |
| 391 |
gap: 0.35em; |
| 392 |
word-wrap: break-word; |
| 393 |
} |
| 394 |
|
| 395 |
.ayg-thumbnail-title { |
| 396 |
line-height: 1.5; |
| 397 |
font-size: 1.1em; |
| 398 |
font-weight: 600; |
| 399 |
} |
| 400 |
|
| 401 |
.ayg-active .ayg-thumbnail-icon-play { |
| 402 |
display: none !important; |
| 403 |
} |
| 404 |
|
| 405 |
.ayg-active .ayg-thumbnail-now-playing { |
| 406 |
display: inline-block !important; |
| 407 |
} |
| 408 |
|
| 409 |
/*---------------------------------------------------------------------------------------------- |
| 410 |
* |
| 411 |
* Pagination |
| 412 |
* |
| 413 |
*--------------------------------------------------------------------------------------------*/ |
| 414 |
.ayg-pagination { |
| 415 |
display: flex; |
| 416 |
align-items: center; |
| 417 |
justify-content: center; |
| 418 |
gap: 1em; |
| 419 |
margin-bottom: 1em; |
| 420 |
} |
| 421 |
|
| 422 |
.ayg-pagination .ayg-btn { |
| 423 |
cursor: pointer; |
| 424 |
} |
| 425 |
|
| 426 |
.ayg-pagination-info { |
| 427 |
display: flex; |
| 428 |
align-items: center; |
| 429 |
gap: 4px; |
| 430 |
} |
| 431 |
|
| 432 |
.ayg-pagination-info, |
| 433 |
.ayg-pagination-info * { |
| 434 |
line-height: 1; |
| 435 |
} |
| 436 |
|
| 437 |
.ayg-pagination.ayg-loading { |
| 438 |
margin-left: auto; |
| 439 |
margin-right: auto; |
| 440 |
} |
| 441 |
|
| 442 |
.ayg-pagination.ayg-loading * { |
| 443 |
visibility: hidden; |
| 444 |
} |
| 445 |
|
| 446 |
/*---------------------------------------------------------------------------------------------- |
| 447 |
* |
| 448 |
* Theme |
| 449 |
* |
| 450 |
*--------------------------------------------------------------------------------------------*/ |
| 451 |
.ayg-theme { |
| 452 |
display: flex; |
| 453 |
flex-direction: column; |
| 454 |
gap: 1.5em; |
| 455 |
} |
| 456 |
|