| @@ -3,10 +3,26 @@ | ||
| 3 | 3 | --jp-carousel-primary-subtle-color: #999; |
| 4 | 4 | --jp-carousel-bg-color: #000; |
| 5 | 5 | --jp-carousel-bg-faded-color: #222; |
| 6 | 6 | --jp-carousel-border-color: #3a3a3a; |
| 7 | + --jp-carousel-fade-duration: 100ms; | |
| 7 | 8 | } |
| 8 | 9 | |
| 10 | +/* | |
| 11 | +Every opacity fade in the module runs through this class, so it stays on the | |
| 12 | +compositor and JS only has to flip the target value. | |
| 13 | +*/ | |
| 14 | +.jp-carousel-fade { | |
| 15 | + transition: opacity var(--jp-carousel-fade-duration) ease-out; | |
| 16 | +} | |
| 17 | + | |
| 18 | +@media ( prefers-reduced-motion: reduce ) { | |
| 19 | + | |
| 20 | + .jp-carousel-fade { | |
| 21 | + transition-duration: 0s; | |
| 22 | + } | |
| 23 | +} | |
| 24 | + | |
| 9 | 25 | :root .jp-carousel-light { |
| 10 | 26 | --jp-carousel-primary-color: #000; |
| 11 | 27 | --jp-carousel-primary-subtle-color: #646970; |
| 12 | 28 | --jp-carousel-bg-color: #fff; |
| @@ -14,16 +30,18 @@ | ||
| 14 | 30 | --jp-carousel-border-color: #dcdcde; |
| 15 | 31 | } |
| 16 | 32 | |
| 17 | 33 | .jp-carousel-overlay .swiper-button-prev, |
| 18 | -.jp-carousel-overlay .swiper-container-rtl .swiper-button-next, | |
| 34 | +.jp-carousel-overlay .swiper-rtl .swiper-button-next, | |
| 19 | 35 | .jp-carousel-overlay .swiper-button-next, |
| 20 | -.jp-carousel-overlay .swiper-container-rtl .swiper-button-prev { | |
| 36 | +.jp-carousel-overlay .swiper-rtl .swiper-button-prev { | |
| 21 | 37 | background-image: none; |
| 22 | 38 | } |
| 39 | + | |
| 23 | 40 | /* end of temporary fix */ |
| 24 | 41 | |
| 25 | -[data-carousel-extra]:not( .jp-carousel-wrap ) img, [data-carousel-extra]:not( .jp-carousel-wrap ) img + figcaption { | |
| 42 | +[data-carousel-extra]:not(.jp-carousel-wrap) img, | |
| 43 | +[data-carousel-extra]:not(.jp-carousel-wrap) img + figcaption { | |
| 26 | 44 | cursor: pointer; |
| 27 | 45 | } |
| 28 | 46 | |
| 29 | 47 | .jp-carousel-wrap * { |
| @@ -29,9 +47,9 @@ | ||
| 29 | 47 | .jp-carousel-wrap * { |
| 30 | 48 | line-height: inherit; |
| 31 | 49 | } |
| 32 | 50 | |
| 33 | -.jp-carousel-wrap.swiper-container { | |
| 51 | +.jp-carousel-wrap.swiper { | |
| 34 | 52 | height: auto; |
| 35 | 53 | width: 100vw; |
| 36 | 54 | } |
| 37 | 55 | |
| @@ -41,11 +59,11 @@ | ||
| 41 | 59 | background-position: center; |
| 42 | 60 | } |
| 43 | 61 | |
| 44 | 62 | /* |
| 45 | -To prevent flash of prev/next image scale transition after pinch zoom we need to hide them. | |
| 46 | -Swiper does not add a class of `swiper-slide-zoomed` to slides on pinch and zoom | |
| 47 | -so we have to target all affected elements in touch devices. | |
| 63 | +To prevent flash of prev/next image scale transition after pinch zoom we need | |
| 64 | +to hide them. Swiper does not add a class of `swiper-slide-zoomed` to slides | |
| 65 | +on pinch and zoom so we have to target all affected elements in touch devices. | |
| 48 | 66 | */ |
| 49 | 67 | .jp-carousel-overlay .swiper-slide.swiper-slide-prev .swiper-zoom-container img, |
| 50 | 68 | .jp-carousel-overlay .swiper-slide.swiper-slide-next .swiper-zoom-container img { |
| 51 | 69 | transition: none !important; |
| @@ -65,12 +83,12 @@ | ||
| 65 | 83 | .jp-carousel-overlay .swiper-button-next:hover { |
| 66 | 84 | opacity: 1; |
| 67 | 85 | } |
| 68 | 86 | |
| 69 | -.jp-carousel-overlay .swiper-button-next:after, | |
| 70 | -.jp-carousel-overlay .swiper-container-rtl .swiper-button-next:after, | |
| 71 | -.jp-carousel-overlay .swiper-button-prev:after, | |
| 72 | -.jp-carousel-overlay .swiper-container-rtl .swiper-button-prev:after { | |
| 87 | +.jp-carousel-overlay .swiper-button-next::after, | |
| 88 | +.jp-carousel-overlay .swiper-rtl .swiper-button-next::after, | |
| 89 | +.jp-carousel-overlay .swiper-button-prev::after, | |
| 90 | +.jp-carousel-overlay .swiper-rtl .swiper-button-prev::after { | |
| 73 | 91 | content: none; |
| 74 | 92 | } |
| 75 | 93 | |
| 76 | 94 | .jp-carousel-overlay .swiper-button-prev svg, |
| @@ -86,9 +104,9 @@ | ||
| 86 | 104 | background: var(--jp-carousel-primary-subtle-color); |
| 87 | 105 | } |
| 88 | 106 | |
| 89 | 107 | .jp-carousel-overlay { |
| 90 | - font-family: 'Helvetica Neue', sans-serif !important; | |
| 108 | + font-family: "Helvetica Neue", sans-serif !important; | |
| 91 | 109 | z-index: 2147483647; |
| 92 | 110 | overflow-x: hidden; |
| 93 | 111 | overflow-y: auto; |
| 94 | 112 | direction: ltr; |
| @@ -104,28 +122,28 @@ | ||
| 104 | 122 | box-sizing: border-box; |
| 105 | 123 | } |
| 106 | 124 | |
| 107 | 125 | /* Fix for Twenty Nineteen theme compatibility */ |
| 108 | -.jp-carousel-overlay h1:before, | |
| 109 | -.jp-carousel-overlay h2:before, | |
| 110 | -.jp-carousel-overlay h3:before { | |
| 126 | +.jp-carousel-overlay h1::before, | |
| 127 | +.jp-carousel-overlay h2::before, | |
| 128 | +.jp-carousel-overlay h3::before { | |
| 111 | 129 | content: none; |
| 112 | 130 | display: none; |
| 113 | 131 | } |
| 114 | 132 | |
| 115 | -.jp-carousel-overlay .swiper-container .swiper-button-prev { | |
| 133 | +.jp-carousel-overlay .swiper .swiper-button-prev { | |
| 116 | 134 | left: 0; |
| 117 | 135 | right: auto; |
| 118 | 136 | } |
| 119 | 137 | |
| 120 | -.jp-carousel-overlay .swiper-container .swiper-button-next { | |
| 138 | +.jp-carousel-overlay .swiper .swiper-button-next { | |
| 121 | 139 | right: 0; |
| 122 | 140 | left: auto; |
| 123 | 141 | } |
| 124 | 142 | |
| 125 | -.jp-carousel-overlay .swiper-container.swiper-container-rtl .swiper-button-prev, | |
| 126 | -.jp-carousel-overlay .swiper-container.swiper-container-rtl .swiper-button-next { | |
| 127 | - transform: scaleX( -1 ); | |
| 143 | +.jp-carousel-overlay .swiper.swiper-rtl .swiper-button-prev, | |
| 144 | +.jp-carousel-overlay .swiper.swiper-rtl .swiper-button-next { | |
| 145 | + transform: scaleX(-1); | |
| 128 | 146 | } |
| 129 | 147 | |
| 130 | 148 | .jp-carousel-container { |
| 131 | 149 | display: grid; |
| @@ -147,9 +165,9 @@ | ||
| 147 | 165 | margin-top: -54px; /* The height of the info bar plus any top padding on the nav button itself. */ |
| 148 | 166 | } |
| 149 | 167 | |
| 150 | 168 | .jp-carousel-msg { |
| 151 | - font-family: 'Open Sans', sans-serif; | |
| 169 | + font-family: "Open Sans", sans-serif; | |
| 152 | 170 | font-style: normal; |
| 153 | 171 | display: inline-block; |
| 154 | 172 | line-height: 19px; |
| 155 | 173 | padding: 11px 15px; |
| @@ -157,10 +175,9 @@ | ||
| 157 | 175 | text-align: center; |
| 158 | 176 | margin: 25px 20px 0 2px; |
| 159 | 177 | background-color: var(--jp-carousel-primary-color); |
| 160 | 178 | border-left: 4px solid #ffba00; |
| 161 | - -webkit-box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 ); | |
| 162 | - box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 ); | |
| 179 | + box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); | |
| 163 | 180 | } |
| 164 | 181 | |
| 165 | 182 | .jp-carousel-info { |
| 166 | 183 | display: flex; |
| @@ -234,11 +251,8 @@ | ||
| 234 | 251 | display: none; |
| 235 | 252 | } |
| 236 | 253 | |
| 237 | 254 | .jp-carousel-transitions .jp-carousel-photo-info { |
| 238 | - -webkit-transition: 400ms ease-out; | |
| 239 | - -moz-transition: 400ms ease-out; | |
| 240 | - -o-transition: 400ms ease-out; | |
| 241 | 255 | transition: 400ms ease-out; |
| 242 | 256 | } |
| 243 | 257 | |
| 244 | 258 | .jp-carousel-buttons { |
| @@ -251,9 +265,9 @@ | ||
| 251 | 265 | |
| 252 | 266 | div.jp-carousel-buttons a { |
| 253 | 267 | border: none !important; |
| 254 | 268 | color: var(--jp-carousel-primary-subtle-color); |
| 255 | - font: normal 11px/1.2em 'Helvetica Neue', sans-serif !important; | |
| 269 | + font: 400 11px/1.2em "Helvetica Neue", sans-serif !important; | |
| 256 | 270 | letter-spacing: 0 !important; |
| 257 | 271 | padding: 5px 2px 5px 0; |
| 258 | 272 | text-decoration: none !important; |
| 259 | 273 | text-shadow: none !important; |
| @@ -266,25 +280,17 @@ | ||
| 266 | 280 | border: none !important; |
| 267 | 281 | } |
| 268 | 282 | |
| 269 | 283 | .jp-carousel-transitions div.jp-carousel-buttons a:hover { |
| 270 | - -webkit-transition: none !important; | |
| 271 | - -moz-transition: none !important; | |
| 272 | - -o-transition: none !important; | |
| 273 | 284 | transition: none !important; |
| 274 | 285 | } |
| 275 | 286 | |
| 276 | 287 | .jp-carousel-slide, |
| 277 | 288 | .jp-carousel-slide img { |
| 278 | - -webkit-transform: translate3d( 0, 0, 0 ); | |
| 279 | - -moz-transform: translate3d( 0, 0, 0 ); | |
| 280 | - -o-transform: translate3d( 0, 0, 0 ); | |
| 281 | - -ms-transform: translate3d( 0, 0, 0 ); | |
| 282 | - transform: translate3d( 0, 0, 0 ); | |
| 289 | + transform: translate3d(0, 0, 0); | |
| 283 | 290 | } |
| 284 | 291 | |
| 285 | 292 | .jp-carousel-close-hint { |
| 286 | - cursor: default; | |
| 287 | 293 | letter-spacing: 0 !important; |
| 288 | 294 | position: fixed; |
| 289 | 295 | top: 20px; |
| 290 | 296 | right: 30px; |
| @@ -298,11 +304,8 @@ | ||
| 298 | 304 | transition: opacity 200ms ease-out; |
| 299 | 305 | } |
| 300 | 306 | |
| 301 | 307 | .jp-carousel-transitions .jp-carousel-close-hint { |
| 302 | - -webkit-transition: color 200ms linear; | |
| 303 | - -moz-transition: color 200ms linear; | |
| 304 | - -o-transition: color 200ms linear; | |
| 305 | 308 | transition: color 200ms linear; |
| 306 | 309 | } |
| 307 | 310 | |
| 308 | 311 | .jp-carousel-close-hint svg { |
| @@ -332,9 +335,9 @@ | ||
| 332 | 335 | .jp-swiper-pagination, |
| 333 | 336 | .jp-carousel-pagination { |
| 334 | 337 | color: var(--jp-carousel-primary-color); |
| 335 | 338 | font-size: 15px; /* same as .jp-carousel-info-footer .jp-carousel-photo-title */ |
| 336 | - font-weight: normal; | |
| 339 | + font-weight: 400; | |
| 337 | 340 | white-space: nowrap; |
| 338 | 341 | display: none; |
| 339 | 342 | position: static !important; |
| 340 | 343 | } |
| @@ -356,17 +359,17 @@ | ||
| 356 | 359 | .jp-swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active { |
| 357 | 360 | background: var(--jp-carousel-primary-color); |
| 358 | 361 | } |
| 359 | 362 | |
| 360 | -.jp-swiper-pagination .swiper-pagination-bullet:not( .swiper-pagination-bullet-active ) { | |
| 363 | +.jp-swiper-pagination .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) { | |
| 361 | 364 | background: var(--jp-carousel-primary-color); |
| 362 | 365 | opacity: 0.5; |
| 363 | 366 | } |
| 367 | + | |
| 364 | 368 | /** Pagination End **/ |
| 365 | 369 | |
| 366 | 370 | /** Title and Desc Start **/ |
| 367 | 371 | .jp-carousel-info-footer .jp-carousel-photo-title-container { |
| 368 | - flex-basis: 50vw; | |
| 369 | 372 | flex: 4; |
| 370 | 373 | justify-content: center; |
| 371 | 374 | overflow: hidden; |
| 372 | 375 | margin: 0; |
| @@ -376,9 +379,9 @@ | ||
| 376 | 379 | .jp-carousel-photo-caption { |
| 377 | 380 | background: none !important; |
| 378 | 381 | border: none !important; |
| 379 | 382 | display: inline-block; |
| 380 | - font: normal 20px/1.3em 'Helvetica Neue', sans-serif; | |
| 383 | + font: 400 20px/1.3em "Helvetica Neue", sans-serif; | |
| 381 | 384 | line-height: normal; |
| 382 | 385 | letter-spacing: 0 !important; |
| 383 | 386 | margin: 0 0 10px 0; |
| 384 | 387 | padding: 0; |
| @@ -411,11 +414,8 @@ | ||
| 411 | 414 | color: var(--jp-carousel-primary-subtle-color); |
| 412 | 415 | font-size: 16px; |
| 413 | 416 | margin: 25px 0; |
| 414 | 417 | width: 100%; |
| 415 | -} | |
| 416 | - | |
| 417 | -.jp-carousel-photo-description { | |
| 418 | 418 | overflow: hidden; |
| 419 | 419 | overflow-wrap: break-word; |
| 420 | 420 | } |
| 421 | 421 | |
| @@ -426,19 +426,20 @@ | ||
| 426 | 426 | } |
| 427 | 427 | |
| 428 | 428 | .jp-carousel-photo-description p a, |
| 429 | 429 | .jp-carousel-comments p a, |
| 430 | -.jp-carousel-info h2 a { | |
| 430 | +.jp-carousel-info .jp-carousel-photo-caption a, | |
| 431 | +.jp-carousel-info .jp-carousel-caption a { | |
| 431 | 432 | color: var(--jp-carousel-primary-color) !important; |
| 432 | 433 | border: none !important; |
| 433 | 434 | text-decoration: underline !important; |
| 434 | - font-weight: normal !important; | |
| 435 | + font-weight: 400 !important; | |
| 435 | 436 | font-style: normal !important; |
| 436 | 437 | } |
| 437 | 438 | |
| 438 | 439 | .jp-carousel-photo-description p strong, |
| 439 | 440 | .jp-carousel-photo-description p b { |
| 440 | - font-weight: bold; | |
| 441 | + font-weight: 700; | |
| 441 | 442 | color: var(--jp-carousel-primary-subtle-color); |
| 442 | 443 | } |
| 443 | 444 | |
| 444 | 445 | .jp-carousel-photo-description p em, |
| @@ -448,9 +449,10 @@ | ||
| 448 | 449 | } |
| 449 | 450 | |
| 450 | 451 | .jp-carousel-photo-description p a:hover, |
| 451 | 452 | .jp-carousel-comments p a:hover, |
| 452 | -.jp-carousel-info h2 a:hover { | |
| 453 | +.jp-carousel-info .jp-carousel-photo-caption a:hover, | |
| 454 | +.jp-carousel-info .jp-carousel-caption a:hover { | |
| 453 | 455 | color: var(--jp-carousel-primary-subtle-color) !important; |
| 454 | 456 | } |
| 455 | 457 | |
| 456 | 458 | .jp-carousel-photo-description p:empty { |
| @@ -456,18 +458,18 @@ | ||
| 456 | 458 | .jp-carousel-photo-description p:empty { |
| 457 | 459 | display: none; |
| 458 | 460 | } |
| 459 | 461 | |
| 460 | -.jp-carousel-photo-info h1:before, | |
| 461 | -.jp-carousel-photo-info h1:after, | |
| 462 | -.jp-carousel-comments-wrapper h1:before, | |
| 463 | -.jp-carousel-comments-wrapper h1:after { | |
| 462 | +.jp-carousel-photo-info h1::before, | |
| 463 | +.jp-carousel-photo-info h1::after, | |
| 464 | +.jp-carousel-comments-wrapper h1::before, | |
| 465 | +.jp-carousel-comments-wrapper h1::after { | |
| 464 | 466 | content: none !important; |
| 465 | 467 | } |
| 466 | 468 | |
| 467 | 469 | .jp-carousel-caption { |
| 468 | 470 | font-size: 14px; |
| 469 | - font-weight: normal; | |
| 471 | + font-weight: 400; | |
| 470 | 472 | margin: 0; |
| 471 | 473 | } |
| 472 | 474 | |
| 473 | 475 | /** Title and Desc End **/ |
| @@ -474,10 +476,9 @@ | ||
| 474 | 476 | |
| 475 | 477 | /** Meta Box Start **/ |
| 476 | 478 | .jp-carousel-image-meta { |
| 477 | 479 | color: var(--jp-carousel-primary-color); |
| 478 | - font-size: 13px; | |
| 479 | - font: 12px/1.4 'Helvetica Neue', sans-serif !important; | |
| 480 | + font: 12px/1.4 "Helvetica Neue", sans-serif !important; | |
| 480 | 481 | width: 100%; |
| 481 | 482 | display: none; |
| 482 | 483 | } |
| 483 | 484 | |
| @@ -486,9 +487,9 @@ | ||
| 486 | 487 | } |
| 487 | 488 | |
| 488 | 489 | .jp-carousel-image-meta li, |
| 489 | 490 | .jp-carousel-image-meta h5 { |
| 490 | - font-family: 'Helvetica Neue', sans-serif !important; | |
| 491 | + font-family: "Helvetica Neue", sans-serif !important; | |
| 491 | 492 | position: inherit !important; |
| 492 | 493 | top: auto !important; |
| 493 | 494 | right: auto !important; |
| 494 | 495 | left: auto !important; |
| @@ -495,8 +496,9 @@ | ||
| 495 | 496 | bottom: auto !important; |
| 496 | 497 | background: none !important; |
| 497 | 498 | border: none !important; |
| 498 | 499 | font-weight: 400 !important; |
| 500 | + /* stylelint-disable-next-line declaration-property-unit-allowed-list -- this should be changed to a unitless value: https://developer.wordpress.org/coding-standards/wordpress-coding-standards/css/#values */ | |
| 499 | 501 | line-height: 1.3em !important; |
| 500 | 502 | } |
| 501 | 503 | |
| 502 | 504 | .jp-carousel-image-meta ul { |
| @@ -553,9 +555,9 @@ | ||
| 553 | 555 | /** Meta Box End **/ |
| 554 | 556 | |
| 555 | 557 | /** Comments Start **/ |
| 556 | 558 | .jp-carousel-comments { |
| 557 | - font: 15px/1.7 'Helvetica Neue', sans-serif !important; | |
| 559 | + font: 15px/1.7 "Helvetica Neue", sans-serif !important; | |
| 558 | 560 | font-weight: 400; |
| 559 | 561 | background: none transparent; |
| 560 | 562 | width: 100%; |
| 561 | 563 | bottom: 10px; |
| @@ -614,10 +616,8 @@ | ||
| 614 | 616 | } |
| 615 | 617 | |
| 616 | 618 | .jp-carousel-comment .avatar { |
| 617 | 619 | margin: 0; |
| 618 | - -moz-border-radius: 4px; | |
| 619 | - -webkit-border-radius: 4px; | |
| 620 | 620 | border-radius: 4px; |
| 621 | 621 | border: none !important; |
| 622 | 622 | padding: 0 !important; |
| 623 | 623 | background-color: transparent !important; |
| @@ -647,22 +647,17 @@ | ||
| 647 | 647 | textarea#jp-carousel-comment-form-comment-field { |
| 648 | 648 | background: var(--jp-carousel-bg-faded-color); |
| 649 | 649 | border: 1px solid var(--jp-carousel-border-color); |
| 650 | 650 | color: var(--jp-carousel-primary-subtle-color); |
| 651 | - font: 16px/1.4 'Helvetica Neue', sans-serif !important; | |
| 651 | + font: 16px/1.4 "Helvetica Neue", sans-serif !important; | |
| 652 | 652 | width: 100%; |
| 653 | 653 | padding: 10px 10px 5px; |
| 654 | 654 | margin: 0; |
| 655 | 655 | float: none; |
| 656 | 656 | height: 147px; |
| 657 | - -webkit-box-shadow: inset 2px 2px 2px rgba( 0, 0, 0, 0.1 ); | |
| 658 | - box-shadow: inset 2px 2px 2px rgba( 0, 0, 0, 0.1 ); | |
| 659 | - -moz-border-radius: 3px; | |
| 660 | - -webkit-border-radius: 3px; | |
| 657 | + box-shadow: inset 2px 2px 2px rgba(0, 0, 0, 0.1); | |
| 661 | 658 | border-radius: 3px; |
| 662 | 659 | overflow: hidden; |
| 663 | - -webkit-box-sizing: border-box; | |
| 664 | - -moz-box-sizing: border-box; | |
| 665 | 660 | box-sizing: border-box; |
| 666 | 661 | } |
| 667 | 662 | |
| 668 | 663 | textarea#jp-carousel-comment-form-comment-field::-webkit-input-placeholder { |
| @@ -694,82 +689,24 @@ | ||
| 694 | 689 | height: 100vh; |
| 695 | 690 | width: 100vw; |
| 696 | 691 | } |
| 697 | 692 | |
| 698 | -#jp-carousel-library-loading, | |
| 699 | -#jp-carousel-library-loading:after { | |
| 700 | - border-radius: 50%; | |
| 701 | - width: 40px; | |
| 702 | - height: 40px; | |
| 703 | -} | |
| 704 | - | |
| 705 | 693 | #jp-carousel-library-loading { |
| 706 | - float: left; | |
| 707 | - margin: 22px 0 0 10px; | |
| 708 | - font-size: 10px; | |
| 709 | - position: relative; | |
| 710 | - text-indent: -9999em; | |
| 711 | - border-top: 8px solid rgba( 255, 255, 255, 0.2 ); | |
| 712 | - border-right: 8px solid rgba( 255, 255, 255, 0.2 ); | |
| 713 | - border-bottom: 8px solid rgba( 255, 255, 255, 0.2 ); | |
| 714 | - border-left: 8px solid var(--jp-carousel-primary-color); | |
| 715 | - -webkit-transform: translateZ( 0 ); | |
| 716 | - -ms-transform: translateZ( 0 ); | |
| 717 | - transform: translateZ( 0 ); | |
| 718 | - -webkit-animation: load8 1.1s infinite linear; | |
| 719 | - animation: load8 1.1s infinite linear; | |
| 694 | + color: var(--jp-carousel-primary-color); | |
| 720 | 695 | } |
| 721 | 696 | |
| 722 | -#jp-carousel-comment-form-spinner, | |
| 723 | -#jp-carousel-comment-form-spinner:after { | |
| 724 | - border-radius: 50%; | |
| 725 | - width: 20px; | |
| 726 | - height: 20px; | |
| 727 | -} | |
| 728 | 697 | #jp-carousel-comment-form-spinner { |
| 729 | 698 | display: none; |
| 730 | - float: left; | |
| 731 | - margin: 22px 0 0 10px; | |
| 732 | - font-size: 10px; | |
| 733 | - position: absolute; /* relative to .jp-carousel-comment-form-container */ | |
| 734 | - text-indent: -9999em; | |
| 735 | - border-top: 4px solid rgba( 255, 255, 255, 0.2 ); | |
| 736 | - border-right: 4px solid rgba( 255, 255, 255, 0.2 ); | |
| 737 | - border-bottom: 4px solid rgba( 255, 255, 255, 0.2 ); | |
| 738 | - border-left: 4px solid var(--jp-carousel-primary-color); | |
| 739 | - -webkit-transform: translateZ( 0 ); | |
| 740 | - -ms-transform: translateZ( 0 ); | |
| 741 | - transform: translateZ( 0 ); | |
| 742 | - -webkit-animation: load8 1.1s infinite linear; | |
| 743 | - animation: load8 1.1s infinite linear; | |
| 699 | + position: absolute; | |
| 744 | 700 | margin: 0 auto; |
| 745 | - top: calc( 50% - 15px ); | |
| 701 | + top: calc(50% - 10px); | |
| 746 | 702 | left: 0; |
| 747 | 703 | bottom: 0; |
| 748 | 704 | right: 0; |
| 705 | + color: var(--jp-carousel-primary-color); | |
| 706 | + text-align: center; | |
| 749 | 707 | } |
| 750 | 708 | |
| 751 | -@-webkit-keyframes load8 { | |
| 752 | - 0% { | |
| 753 | - -webkit-transform: rotate( 0deg ); | |
| 754 | - transform: rotate( 0deg ); | |
| 755 | - } | |
| 756 | - 100% { | |
| 757 | - -webkit-transform: rotate( 360deg ); | |
| 758 | - transform: rotate( 360deg ); | |
| 759 | - } | |
| 760 | -} | |
| 761 | -@keyframes load8 { | |
| 762 | - 0% { | |
| 763 | - -webkit-transform: rotate( 0deg ); | |
| 764 | - transform: rotate( 0deg ); | |
| 765 | - } | |
| 766 | - 100% { | |
| 767 | - -webkit-transform: rotate( 360deg ); | |
| 768 | - transform: rotate( 360deg ); | |
| 769 | - } | |
| 770 | -} | |
| 771 | - | |
| 772 | 709 | .jp-carousel-info-content-wrapper { |
| 773 | 710 | max-width: 800px; |
| 774 | 711 | margin: auto; |
| 775 | 712 | } |
| @@ -783,15 +720,12 @@ | ||
| 783 | 720 | #jp-carousel-comment-form-commenting-as input { |
| 784 | 721 | background: var(--jp-carousel-bg-color); |
| 785 | 722 | border: 1px solid var(--jp-carousel-border-color); |
| 786 | 723 | color: var(--jp-carousel-primary-subtle-color); |
| 787 | - font: 16px/1.4 'Helvetica Neue', sans-serif !important; | |
| 724 | + font: 16px/1.4 "Helvetica Neue", sans-serif !important; | |
| 788 | 725 | padding: 10px; |
| 789 | 726 | float: left; |
| 790 | - -webkit-box-shadow: inset 2px 2px 2px rgba( 0, 0, 0, 0.2 ); | |
| 791 | - box-shadow: inset 2px 2px 2px rgba( 0, 0, 0, 0.2 ); | |
| 792 | - -moz-border-radius: 2px; | |
| 793 | - -webkit-border-radius: 2px; | |
| 727 | + box-shadow: inset 2px 2px 2px rgba(0, 0, 0, 0.2); | |
| 794 | 728 | border-radius: 2px; |
| 795 | 729 | width: 285px; |
| 796 | 730 | } |
| 797 | 731 | |
| @@ -800,9 +734,9 @@ | ||
| 800 | 734 | color: var(--jp-carousel-primary-subtle-color); |
| 801 | 735 | } |
| 802 | 736 | |
| 803 | 737 | #jp-carousel-comment-form-commenting-as p { |
| 804 | - font: 400 13px/1.7 'Helvetica Neue', sans-serif !important; | |
| 738 | + font: 400 13px/1.7 "Helvetica Neue", sans-serif !important; | |
| 805 | 739 | margin: 22px 0 0; |
| 806 | 740 | float: left; |
| 807 | 741 | } |
| 808 | 742 | |
| @@ -814,9 +748,9 @@ | ||
| 814 | 748 | clear: both; |
| 815 | 749 | } |
| 816 | 750 | |
| 817 | 751 | #jp-carousel-comment-form-commenting-as label { |
| 818 | - font: 400 13px/1.7 'Helvetica Neue', sans-serif !important; | |
| 752 | + font: 400 13px/1.7 "Helvetica Neue", sans-serif !important; | |
| 819 | 753 | margin: 0 20px 3px 0; |
| 820 | 754 | float: left; |
| 821 | 755 | width: 100px; |
| 822 | 756 | } |
| @@ -862,12 +796,11 @@ | ||
| 862 | 796 | overflow: auto; |
| 863 | 797 | padding: 1em 0; |
| 864 | 798 | box-sizing: border-box; |
| 865 | 799 | border-radius: 2px; |
| 866 | - font: 13px/1.4 'Helvetica Neue', sans-serif !important; | |
| 800 | + font: 13px/1.4 "Helvetica Neue", sans-serif !important; | |
| 867 | 801 | border: 1px solid var(--jp-carousel-border-color); |
| 868 | - -webkit-box-shadow: inset 0px 0px 5px 0px rgba( 0, 0, 0, 0.2 ); | |
| 869 | - box-shadow: inset 0px 0px 5px 0px rgba( 0, 0, 0, 0.2 ); | |
| 802 | + box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.2); | |
| 870 | 803 | } |
| 871 | 804 | |
| 872 | 805 | .jp-carousel-comment-post-error { |
| 873 | 806 | color: #df4926; |
| @@ -878,9 +811,9 @@ | ||
| 878 | 811 | color: var(--jp-carousel-primary-subtle-color); |
| 879 | 812 | } |
| 880 | 813 | |
| 881 | 814 | #jp-carousel-comments-loading { |
| 882 | - font: 400 15px/1.7 'Helvetica Neue', sans-serif !important; | |
| 815 | + font: 400 15px/1.7 "Helvetica Neue", sans-serif !important; | |
| 883 | 816 | display: none; |
| 884 | 817 | color: var(--jp-carousel-primary-subtle-color); |
| 885 | 818 | text-align: left; |
| 886 | 819 | margin-bottom: 20px; |
| @@ -932,8 +865,9 @@ | ||
| 932 | 865 | |
| 933 | 866 | .jp-carousel-selected .jp-carousel-icon { |
| 934 | 867 | background: var(--jp-carousel-primary-color); |
| 935 | 868 | } |
| 869 | + | |
| 936 | 870 | .jp-carousel-selected rect { |
| 937 | 871 | fill: var(--jp-carousel-bg-color); |
| 938 | 872 | } |
| 939 | 873 | |
| @@ -950,10 +884,10 @@ | ||
| 950 | 884 | padding: 2px 4px; |
| 951 | 885 | border-radius: 4px; |
| 952 | 886 | background: var(--jp-carousel-primary-color); |
| 953 | 887 | color: var(--jp-carousel-bg-color); |
| 954 | - font-weight: normal; | |
| 955 | - font-family: 'Helvetica Neue', sans-serif !important; | |
| 888 | + font-weight: 400; | |
| 889 | + font-family: "Helvetica Neue", sans-serif !important; | |
| 956 | 890 | position: relative; |
| 957 | 891 | } |
| 958 | 892 | |
| 959 | 893 | .jp-carousel-selected .jp-carousel-icon .jp-carousel-has-comments-indicator { |
| @@ -968,10 +902,11 @@ | ||
| 968 | 902 | /** Icons End **/ |
| 969 | 903 | |
| 970 | 904 | /* Small screens */ |
| 971 | 905 | @media only screen and ( max-width: 760px ) { |
| 972 | - .jp-carousel-overlay .swiper-container .swiper-button-next, | |
| 973 | - .jp-carousel-overlay .swiper-container .swiper-button-prev { | |
| 906 | + | |
| 907 | + .jp-carousel-overlay .swiper .swiper-button-next, | |
| 908 | + .jp-carousel-overlay .swiper .swiper-button-prev { | |
| 974 | 909 | display: none !important; |
| 975 | 910 | } |
| 976 | 911 | |
| 977 | 912 | .jp-carousel-buttons { |
| @@ -980,10 +915,8 @@ | ||
| 980 | 915 | |
| 981 | 916 | .jp-carousel-image-meta { |
| 982 | 917 | float: none !important; |
| 983 | 918 | width: 100% !important; |
| 984 | - -moz-box-sizing: border-box; | |
| 985 | - -webkit-box-sizing: border-box; | |
| 986 | 919 | box-sizing: border-box; |
| 987 | 920 | margin-left: 0; |
| 988 | 921 | } |
| 989 | 922 | |