| @@ -1,0 +1,989 @@ | ||
| 1 | +:root { | |
| 2 | + --jp-carousel-primary-color: #fff; | |
| 3 | + --jp-carousel-primary-subtle-color: #999; | |
| 4 | + --jp-carousel-bg-color: #000; | |
| 5 | + --jp-carousel-bg-faded-color: #222; | |
| 6 | + --jp-carousel-border-color: #3a3a3a; | |
| 7 | + --jp-carousel-fade-duration: 100ms; | |
| 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 | + | |
| 25 | +:root .jp-carousel-light { | |
| 26 | + --jp-carousel-primary-color: #000; | |
| 27 | + --jp-carousel-primary-subtle-color: #646970; | |
| 28 | + --jp-carousel-bg-color: #fff; | |
| 29 | + --jp-carousel-bg-faded-color: #fbfbfb; | |
| 30 | + --jp-carousel-border-color: #dcdcde; | |
| 31 | +} | |
| 32 | + | |
| 33 | +.jp-carousel-overlay .swiper-button-prev, | |
| 34 | +.jp-carousel-overlay .swiper-rtl .swiper-button-next, | |
| 35 | +.jp-carousel-overlay .swiper-button-next, | |
| 36 | +.jp-carousel-overlay .swiper-rtl .swiper-button-prev { | |
| 37 | + background-image: none; | |
| 38 | +} | |
| 39 | + | |
| 40 | +/* end of temporary fix */ | |
| 41 | + | |
| 42 | +[data-carousel-extra]:not(.jp-carousel-wrap) img, | |
| 43 | +[data-carousel-extra]:not(.jp-carousel-wrap) img + figcaption { | |
| 44 | + cursor: pointer; | |
| 45 | +} | |
| 46 | + | |
| 47 | +.jp-carousel-wrap * { | |
| 48 | + line-height: inherit; | |
| 49 | +} | |
| 50 | + | |
| 51 | +.jp-carousel-wrap.swiper { | |
| 52 | + height: auto; | |
| 53 | + width: 100vw; | |
| 54 | +} | |
| 55 | + | |
| 56 | +.jp-carousel-overlay .swiper-zoom-container { | |
| 57 | + background-size: 200%; | |
| 58 | + background-repeat: no-repeat; | |
| 59 | + background-position: center; | |
| 60 | +} | |
| 61 | + | |
| 62 | +/* | |
| 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. | |
| 66 | +*/ | |
| 67 | +.jp-carousel-overlay .swiper-slide.swiper-slide-prev .swiper-zoom-container img, | |
| 68 | +.jp-carousel-overlay .swiper-slide.swiper-slide-next .swiper-zoom-container img { | |
| 69 | + transition: none !important; | |
| 70 | +} | |
| 71 | + | |
| 72 | +.jp-carousel-overlay .swiper-button-prev, | |
| 73 | +.jp-carousel-overlay .swiper-button-next { | |
| 74 | + opacity: 0.5; | |
| 75 | + transition: 0.5s opacity ease-out; | |
| 76 | + height: initial; | |
| 77 | + width: initial; | |
| 78 | + padding: 20px 40px; | |
| 79 | + background-image: none; | |
| 80 | +} | |
| 81 | + | |
| 82 | +.jp-carousel-overlay .swiper-button-prev:hover, | |
| 83 | +.jp-carousel-overlay .swiper-button-next:hover { | |
| 84 | + opacity: 1; | |
| 85 | +} | |
| 86 | + | |
| 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 { | |
| 91 | + content: none; | |
| 92 | +} | |
| 93 | + | |
| 94 | +.jp-carousel-overlay .swiper-button-prev svg, | |
| 95 | +.jp-carousel-overlay .swiper-button-next svg { | |
| 96 | + height: 30px; | |
| 97 | + width: 28px; | |
| 98 | + background: var(--jp-carousel-bg-color); | |
| 99 | + border-radius: 4px; | |
| 100 | +} | |
| 101 | + | |
| 102 | +.jp-carousel-overlay .swiper-button-prev svg:hover, | |
| 103 | +.jp-carousel-overlay .swiper-button-next svg:hover { | |
| 104 | + background: var(--jp-carousel-primary-subtle-color); | |
| 105 | +} | |
| 106 | + | |
| 107 | +.jp-carousel-overlay { | |
| 108 | + font-family: "Helvetica Neue", sans-serif !important; | |
| 109 | + z-index: 2147483647; | |
| 110 | + overflow-x: hidden; | |
| 111 | + overflow-y: auto; | |
| 112 | + direction: ltr; | |
| 113 | + position: fixed; | |
| 114 | + top: 0; | |
| 115 | + right: 0; | |
| 116 | + bottom: 0; | |
| 117 | + left: 0; | |
| 118 | + background: var(--jp-carousel-bg-color); | |
| 119 | +} | |
| 120 | + | |
| 121 | +.jp-carousel-overlay * { | |
| 122 | + box-sizing: border-box; | |
| 123 | +} | |
| 124 | + | |
| 125 | +/* Fix for Twenty Nineteen theme compatibility */ | |
| 126 | +.jp-carousel-overlay h1::before, | |
| 127 | +.jp-carousel-overlay h2::before, | |
| 128 | +.jp-carousel-overlay h3::before { | |
| 129 | + content: none; | |
| 130 | + display: none; | |
| 131 | +} | |
| 132 | + | |
| 133 | +.jp-carousel-overlay .swiper .swiper-button-prev { | |
| 134 | + left: 0; | |
| 135 | + right: auto; | |
| 136 | +} | |
| 137 | + | |
| 138 | +.jp-carousel-overlay .swiper .swiper-button-next { | |
| 139 | + right: 0; | |
| 140 | + left: auto; | |
| 141 | +} | |
| 142 | + | |
| 143 | +.jp-carousel-overlay .swiper.swiper-rtl .swiper-button-prev, | |
| 144 | +.jp-carousel-overlay .swiper.swiper-rtl .swiper-button-next { | |
| 145 | + transform: scaleX(-1); | |
| 146 | +} | |
| 147 | + | |
| 148 | +.jp-carousel-container { | |
| 149 | + display: grid; | |
| 150 | + grid-template-rows: 1fr 64px; /* 1. main carousel, 2. info area as footer */ | |
| 151 | + height: 100%; | |
| 152 | +} | |
| 153 | + | |
| 154 | +.jp-carousel-hide-controls .jp-carousel-container { | |
| 155 | + grid-template-rows: 1fr; | |
| 156 | +} | |
| 157 | + | |
| 158 | +.jp-carousel-hide-controls .swiper-wrapper { | |
| 159 | + margin-top: -32px; /* Compensate for the remove of the height of the info bar. */ | |
| 160 | +} | |
| 161 | + | |
| 162 | + | |
| 163 | +.jp-carousel-hide-controls .jp-swiper-button-next, | |
| 164 | +.jp-carousel-hide-controls .jp-swiper-button-prev { | |
| 165 | + margin-top: -54px; /* The height of the info bar plus any top padding on the nav button itself. */ | |
| 166 | +} | |
| 167 | + | |
| 168 | +.jp-carousel-msg { | |
| 169 | + font-family: "Open Sans", sans-serif; | |
| 170 | + font-style: normal; | |
| 171 | + display: inline-block; | |
| 172 | + line-height: 19px; | |
| 173 | + padding: 11px 15px; | |
| 174 | + font-size: 14px; | |
| 175 | + text-align: center; | |
| 176 | + margin: 25px 20px 0 2px; | |
| 177 | + background-color: var(--jp-carousel-primary-color); | |
| 178 | + border-left: 4px solid #ffba00; | |
| 179 | + box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); | |
| 180 | +} | |
| 181 | + | |
| 182 | +.jp-carousel-info { | |
| 183 | + display: flex; | |
| 184 | + flex-direction: column; | |
| 185 | + text-align: left !important; | |
| 186 | + -webkit-font-smoothing: subpixel-antialiased !important; | |
| 187 | + z-index: 100; | |
| 188 | + background-color: var(--jp-carousel-bg-color); | |
| 189 | + transition: opacity 200ms ease-out; | |
| 190 | + opacity: 1; | |
| 191 | +} | |
| 192 | + | |
| 193 | +.jp-carousel-hide-controls .jp-carousel-info { | |
| 194 | + visibility: hidden; | |
| 195 | + height: 0; | |
| 196 | + overflow: hidden; | |
| 197 | +} | |
| 198 | + | |
| 199 | +.jp-carousel-info-footer { | |
| 200 | + position: relative; | |
| 201 | + background-color: var(--jp-carousel-bg-color); | |
| 202 | + height: 64px; | |
| 203 | + display: flex; | |
| 204 | + align-items: center; | |
| 205 | + justify-content: space-between; | |
| 206 | + width: 100vw; | |
| 207 | +} | |
| 208 | + | |
| 209 | +.jp-carousel-info-extra { | |
| 210 | + display: none; | |
| 211 | + background-color: var(--jp-carousel-bg-color); | |
| 212 | + padding: 35px; | |
| 213 | + width: 100vw; | |
| 214 | + border-top: 1px solid var(--jp-carousel-bg-faded-color); | |
| 215 | +} | |
| 216 | + | |
| 217 | +.jp-carousel-title-and-caption { | |
| 218 | + margin-bottom: 15px; | |
| 219 | +} | |
| 220 | + | |
| 221 | +.jp-carousel-info-extra.jp-carousel-show { | |
| 222 | + display: block; | |
| 223 | +} | |
| 224 | + | |
| 225 | +.jp-carousel-info ::selection { | |
| 226 | + background: var(--jp-carousel-primary-color); /* Safari */ | |
| 227 | + color: var(--jp-carousel-primary-color); | |
| 228 | +} | |
| 229 | + | |
| 230 | +.jp-carousel-info ::-moz-selection { | |
| 231 | + background: var(--jp-carousel-primary-color); /* Firefox */ | |
| 232 | + color: var(--jp-carousel-primary-color); | |
| 233 | +} | |
| 234 | + | |
| 235 | +.jp-carousel-photo-info { | |
| 236 | + left: 0 !important; | |
| 237 | + width: 100% !important; | |
| 238 | +} | |
| 239 | + | |
| 240 | +.jp-carousel-comments-wrapper { | |
| 241 | + padding: 0; | |
| 242 | + width: 100% !important; | |
| 243 | + display: none; | |
| 244 | +} | |
| 245 | + | |
| 246 | +.jp-carousel-comments-wrapper.jp-carousel-show { | |
| 247 | + display: block; | |
| 248 | +} | |
| 249 | + | |
| 250 | +.jp-carousel-comments-wrapper > .jp-carousel-photo-info { | |
| 251 | + display: none; | |
| 252 | +} | |
| 253 | + | |
| 254 | +.jp-carousel-transitions .jp-carousel-photo-info { | |
| 255 | + transition: 400ms ease-out; | |
| 256 | +} | |
| 257 | + | |
| 258 | +.jp-carousel-buttons { | |
| 259 | + margin: -18px -20px 15px; | |
| 260 | + padding: 8px 10px; | |
| 261 | + border-bottom: 1px solid #222; | |
| 262 | + background: #222; | |
| 263 | + text-align: center; | |
| 264 | +} | |
| 265 | + | |
| 266 | +div.jp-carousel-buttons a { | |
| 267 | + border: none !important; | |
| 268 | + color: var(--jp-carousel-primary-subtle-color); | |
| 269 | + font: 400 11px/1.2em "Helvetica Neue", sans-serif !important; | |
| 270 | + letter-spacing: 0 !important; | |
| 271 | + padding: 5px 2px 5px 0; | |
| 272 | + text-decoration: none !important; | |
| 273 | + text-shadow: none !important; | |
| 274 | + vertical-align: middle; | |
| 275 | + -webkit-font-smoothing: subpixel-antialiased; | |
| 276 | +} | |
| 277 | + | |
| 278 | +div.jp-carousel-buttons a:hover { | |
| 279 | + color: var(--jp-carousel-primary-color); | |
| 280 | + border: none !important; | |
| 281 | +} | |
| 282 | + | |
| 283 | +.jp-carousel-transitions div.jp-carousel-buttons a:hover { | |
| 284 | + transition: none !important; | |
| 285 | +} | |
| 286 | + | |
| 287 | +.jp-carousel-slide, | |
| 288 | +.jp-carousel-slide img { | |
| 289 | + transform: translate3d(0, 0, 0); | |
| 290 | +} | |
| 291 | + | |
| 292 | +.jp-carousel-close-hint { | |
| 293 | + letter-spacing: 0 !important; | |
| 294 | + position: fixed; | |
| 295 | + top: 20px; | |
| 296 | + right: 30px; | |
| 297 | + padding: 10px; | |
| 298 | + text-align: right; | |
| 299 | + width: 45px; | |
| 300 | + height: 45px; | |
| 301 | + z-index: 15; | |
| 302 | + color: var(--jp-carousel-primary-color); | |
| 303 | + cursor: pointer; | |
| 304 | + transition: opacity 200ms ease-out; | |
| 305 | +} | |
| 306 | + | |
| 307 | +.jp-carousel-transitions .jp-carousel-close-hint { | |
| 308 | + transition: color 200ms linear; | |
| 309 | +} | |
| 310 | + | |
| 311 | +.jp-carousel-close-hint svg { | |
| 312 | + padding: 3px 2px; | |
| 313 | + background: var(--jp-carousel-bg-color); | |
| 314 | + border-radius: 4px; | |
| 315 | +} | |
| 316 | + | |
| 317 | +.jp-carousel-close-hint svg:hover { | |
| 318 | + background: var(--jp-carousel-primary-subtle-color); | |
| 319 | +} | |
| 320 | + | |
| 321 | +.jp-carousel-close-hint:hover { | |
| 322 | + color: var(--jp-carousel-primary-color); | |
| 323 | +} | |
| 324 | + | |
| 325 | +.jp-carousel-close-hint:hover span { | |
| 326 | + border-color: var(--jp-carousel-primary-color); | |
| 327 | +} | |
| 328 | + | |
| 329 | +/** Pagination Start **/ | |
| 330 | +.jp-carousel-pagination-container { | |
| 331 | + flex: 1; | |
| 332 | + margin: 0 15px 0 35px; | |
| 333 | +} | |
| 334 | + | |
| 335 | +.jp-swiper-pagination, | |
| 336 | +.jp-carousel-pagination { | |
| 337 | + color: var(--jp-carousel-primary-color); | |
| 338 | + font-size: 15px; /* same as .jp-carousel-info-footer .jp-carousel-photo-title */ | |
| 339 | + font-weight: 400; | |
| 340 | + white-space: nowrap; | |
| 341 | + display: none; | |
| 342 | + position: static !important; | |
| 343 | +} | |
| 344 | + | |
| 345 | +.jp-carousel-pagination-container .swiper-pagination { | |
| 346 | + text-align: left; | |
| 347 | + line-height: 8px; | |
| 348 | +} | |
| 349 | + | |
| 350 | +.jp-carousel-pagination { | |
| 351 | + padding-left: 5px; | |
| 352 | +} | |
| 353 | + | |
| 354 | +.jp-swiper-pagination .swiper-pagination-bullet { | |
| 355 | + background: var(--jp-carousel-primary-subtle-color); | |
| 356 | + margin: 0 4px; | |
| 357 | +} | |
| 358 | + | |
| 359 | +.jp-swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active { | |
| 360 | + background: var(--jp-carousel-primary-color); | |
| 361 | +} | |
| 362 | + | |
| 363 | +.jp-swiper-pagination .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) { | |
| 364 | + background: var(--jp-carousel-primary-color); | |
| 365 | + opacity: 0.5; | |
| 366 | +} | |
| 367 | + | |
| 368 | +/** Pagination End **/ | |
| 369 | + | |
| 370 | +/** Title and Desc Start **/ | |
| 371 | +.jp-carousel-info-footer .jp-carousel-photo-title-container { | |
| 372 | + flex: 4; | |
| 373 | + justify-content: center; | |
| 374 | + overflow: hidden; | |
| 375 | + margin: 0; | |
| 376 | +} | |
| 377 | + | |
| 378 | +.jp-carousel-photo-title, | |
| 379 | +.jp-carousel-photo-caption { | |
| 380 | + background: none !important; | |
| 381 | + border: none !important; | |
| 382 | + display: inline-block; | |
| 383 | + font: 400 20px/1.3em "Helvetica Neue", sans-serif; | |
| 384 | + line-height: normal; | |
| 385 | + letter-spacing: 0 !important; | |
| 386 | + margin: 0 0 10px 0; | |
| 387 | + padding: 0; | |
| 388 | + overflow: hidden; | |
| 389 | + text-shadow: none !important; | |
| 390 | + text-transform: none !important; | |
| 391 | + color: var(--jp-carousel-primary-color); | |
| 392 | +} | |
| 393 | + | |
| 394 | +.jp-carousel-info-footer .jp-carousel-photo-caption { | |
| 395 | + text-align: center; | |
| 396 | + font-size: 15px; /* same as .jp-carousel-pagination */ | |
| 397 | + white-space: nowrap; | |
| 398 | + color: var(--jp-carousel-primary-subtle-color); | |
| 399 | + cursor: pointer; | |
| 400 | + margin: 0; | |
| 401 | + text-overflow: ellipsis; | |
| 402 | +} | |
| 403 | + | |
| 404 | +.jp-carousel-info-footer .jp-carousel-photo-caption p { | |
| 405 | + margin: 0; | |
| 406 | +} | |
| 407 | + | |
| 408 | +.jp-carousel-photo-title { | |
| 409 | + font-size: 32px; | |
| 410 | + margin-bottom: 2px; | |
| 411 | +} | |
| 412 | + | |
| 413 | +.jp-carousel-photo-description { | |
| 414 | + color: var(--jp-carousel-primary-subtle-color); | |
| 415 | + font-size: 16px; | |
| 416 | + margin: 25px 0; | |
| 417 | + width: 100%; | |
| 418 | + overflow: hidden; | |
| 419 | + overflow-wrap: break-word; | |
| 420 | +} | |
| 421 | + | |
| 422 | +.jp-carousel-photo-description p { | |
| 423 | + color: var(--jp-carousel-primary-subtle-color); | |
| 424 | + line-height: 1.4; | |
| 425 | + margin-bottom: 0; | |
| 426 | +} | |
| 427 | + | |
| 428 | +.jp-carousel-photo-description p a, | |
| 429 | +.jp-carousel-comments p a, | |
| 430 | +.jp-carousel-info .jp-carousel-photo-caption a, | |
| 431 | +.jp-carousel-info .jp-carousel-caption a { | |
| 432 | + color: var(--jp-carousel-primary-color) !important; | |
| 433 | + border: none !important; | |
| 434 | + text-decoration: underline !important; | |
| 435 | + font-weight: 400 !important; | |
| 436 | + font-style: normal !important; | |
| 437 | +} | |
| 438 | + | |
| 439 | +.jp-carousel-photo-description p strong, | |
| 440 | +.jp-carousel-photo-description p b { | |
| 441 | + font-weight: 700; | |
| 442 | + color: var(--jp-carousel-primary-subtle-color); | |
| 443 | +} | |
| 444 | + | |
| 445 | +.jp-carousel-photo-description p em, | |
| 446 | +.jp-carousel-photo-description p i { | |
| 447 | + font-style: italic; | |
| 448 | + color: var(--jp-carousel-primary-subtle-color); | |
| 449 | +} | |
| 450 | + | |
| 451 | +.jp-carousel-photo-description p a:hover, | |
| 452 | +.jp-carousel-comments p a:hover, | |
| 453 | +.jp-carousel-info .jp-carousel-photo-caption a:hover, | |
| 454 | +.jp-carousel-info .jp-carousel-caption a:hover { | |
| 455 | + color: var(--jp-carousel-primary-subtle-color) !important; | |
| 456 | +} | |
| 457 | + | |
| 458 | +.jp-carousel-photo-description p:empty { | |
| 459 | + display: none; | |
| 460 | +} | |
| 461 | + | |
| 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 { | |
| 466 | + content: none !important; | |
| 467 | +} | |
| 468 | + | |
| 469 | +.jp-carousel-caption { | |
| 470 | + font-size: 14px; | |
| 471 | + font-weight: 400; | |
| 472 | + margin: 0; | |
| 473 | +} | |
| 474 | + | |
| 475 | +/** Title and Desc End **/ | |
| 476 | + | |
| 477 | +/** Meta Box Start **/ | |
| 478 | +.jp-carousel-image-meta { | |
| 479 | + color: var(--jp-carousel-primary-color); | |
| 480 | + font: 12px/1.4 "Helvetica Neue", sans-serif !important; | |
| 481 | + width: 100%; | |
| 482 | + display: none; | |
| 483 | +} | |
| 484 | + | |
| 485 | +.jp-carousel-image-meta.jp-carousel-show { | |
| 486 | + display: block; | |
| 487 | +} | |
| 488 | + | |
| 489 | +.jp-carousel-image-meta li, | |
| 490 | +.jp-carousel-image-meta h5 { | |
| 491 | + font-family: "Helvetica Neue", sans-serif !important; | |
| 492 | + position: inherit !important; | |
| 493 | + top: auto !important; | |
| 494 | + right: auto !important; | |
| 495 | + left: auto !important; | |
| 496 | + bottom: auto !important; | |
| 497 | + background: none !important; | |
| 498 | + border: none !important; | |
| 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 */ | |
| 501 | + line-height: 1.3em !important; | |
| 502 | +} | |
| 503 | + | |
| 504 | +.jp-carousel-image-meta ul { | |
| 505 | + margin: 0 !important; | |
| 506 | + padding: 0 !important; | |
| 507 | + list-style: none !important; | |
| 508 | +} | |
| 509 | + | |
| 510 | +.jp-carousel-image-meta li { | |
| 511 | + width: 48% !important; | |
| 512 | + display: inline-block !important; | |
| 513 | + vertical-align: top !important; | |
| 514 | + margin: 0 2% 15px 0 !important; | |
| 515 | + color: var(--jp-carousel-primary-color) !important; | |
| 516 | + font-size: 13px !important; | |
| 517 | +} | |
| 518 | + | |
| 519 | +.jp-carousel-image-meta h5 { | |
| 520 | + color: var(--jp-carousel-primary-subtle-color) !important; | |
| 521 | + text-transform: uppercase !important; | |
| 522 | + font-size: 10px !important; | |
| 523 | + margin: 0 0 2px !important; | |
| 524 | + letter-spacing: 0.1em !important; | |
| 525 | +} | |
| 526 | + | |
| 527 | +a.jp-carousel-image-download { | |
| 528 | + display: inline-block; | |
| 529 | + clear: both; | |
| 530 | + color: var(--jp-carousel-primary-subtle-color); | |
| 531 | + line-height: 1; | |
| 532 | + font-weight: 400; | |
| 533 | + font-size: 14px; | |
| 534 | + text-decoration: none; | |
| 535 | +} | |
| 536 | + | |
| 537 | +a.jp-carousel-image-download svg { | |
| 538 | + display: inline-block; | |
| 539 | + vertical-align: middle; | |
| 540 | + margin: 0 3px; | |
| 541 | + padding-bottom: 2px; | |
| 542 | +} | |
| 543 | + | |
| 544 | +a.jp-carousel-image-download span.photo-size { | |
| 545 | + font-size: 11px; | |
| 546 | + border-radius: 1em; | |
| 547 | + margin-left: 2px; | |
| 548 | + display: inline-block; | |
| 549 | +} | |
| 550 | + | |
| 551 | +a.jp-carousel-image-download span.photo-size-times { | |
| 552 | + padding: 0 1px 0 2px; | |
| 553 | +} | |
| 554 | + | |
| 555 | +/** Meta Box End **/ | |
| 556 | + | |
| 557 | +/** Comments Start **/ | |
| 558 | +.jp-carousel-comments { | |
| 559 | + font: 15px/1.7 "Helvetica Neue", sans-serif !important; | |
| 560 | + font-weight: 400; | |
| 561 | + background: none transparent; | |
| 562 | + width: 100%; | |
| 563 | + bottom: 10px; | |
| 564 | + margin-top: 20px; | |
| 565 | +} | |
| 566 | + | |
| 567 | +.jp-carousel-comments p a:hover, | |
| 568 | +.jp-carousel-comments p a:focus, | |
| 569 | +.jp-carousel-comments p a:active { | |
| 570 | + color: var(--jp-carousel-primary-color) !important; | |
| 571 | +} | |
| 572 | + | |
| 573 | +.jp-carousel-comment { | |
| 574 | + background: none transparent; | |
| 575 | + color: var(--jp-carousel-primary-subtle-color); | |
| 576 | + overflow: auto; | |
| 577 | + width: 100%; | |
| 578 | + display: flex; | |
| 579 | +} | |
| 580 | + | |
| 581 | +.jp-carousel-comment + .jp-carousel-comment { | |
| 582 | + margin-top: 20px; | |
| 583 | +} | |
| 584 | + | |
| 585 | +.jp-carousel-comment:last-of-type { | |
| 586 | + margin-bottom: 20px; | |
| 587 | +} | |
| 588 | + | |
| 589 | +.jp-carousel-comment p { | |
| 590 | + color: var(--jp-carousel-primary-subtle-color) !important; | |
| 591 | +} | |
| 592 | + | |
| 593 | +.jp-carousel-comment .comment-author { | |
| 594 | + font-size: 15px; | |
| 595 | + font-weight: 500; | |
| 596 | + padding: 0; | |
| 597 | + width: auto; | |
| 598 | + display: inline; | |
| 599 | + float: none; | |
| 600 | + border: none; | |
| 601 | + margin: 0; | |
| 602 | +} | |
| 603 | + | |
| 604 | +.jp-carousel-comment .comment-author a { | |
| 605 | + color: var(--jp-carousel-primary-color); | |
| 606 | +} | |
| 607 | + | |
| 608 | +.jp-carousel-comment .comment-gravatar { | |
| 609 | + float: none; | |
| 610 | + margin-right: 10px; | |
| 611 | +} | |
| 612 | + | |
| 613 | +.jp-carousel-comment .comment-content { | |
| 614 | + border: none; | |
| 615 | + padding: 0; | |
| 616 | +} | |
| 617 | + | |
| 618 | +.jp-carousel-comment .avatar { | |
| 619 | + margin: 0; | |
| 620 | + border-radius: 4px; | |
| 621 | + border: none !important; | |
| 622 | + padding: 0 !important; | |
| 623 | + background-color: transparent !important; | |
| 624 | + min-width: 64px; | |
| 625 | + min-height: 64px; | |
| 626 | + width: 64px; | |
| 627 | + height: 64px; | |
| 628 | +} | |
| 629 | + | |
| 630 | +.jp-carousel-comment .comment-date { | |
| 631 | + color: var(--jp-carousel-primary-subtle-color); | |
| 632 | + font-size: 11px; | |
| 633 | + border-bottom: 1px solid var(--jp-carousel-bg-faded-color); | |
| 634 | + margin-bottom: 6px; | |
| 635 | +} | |
| 636 | + | |
| 637 | +#jp-carousel-comment-form { | |
| 638 | + margin: 0 0 10px !important; | |
| 639 | + width: 100%; | |
| 640 | +} | |
| 641 | + | |
| 642 | +#jp-carousel-comment-form.jp-carousel-is-disabled { | |
| 643 | + opacity: 0.5; | |
| 644 | + pointer-events: none; | |
| 645 | +} | |
| 646 | + | |
| 647 | +textarea#jp-carousel-comment-form-comment-field { | |
| 648 | + background: var(--jp-carousel-bg-faded-color); | |
| 649 | + border: 1px solid var(--jp-carousel-border-color); | |
| 650 | + color: var(--jp-carousel-primary-subtle-color); | |
| 651 | + font: 16px/1.4 "Helvetica Neue", sans-serif !important; | |
| 652 | + width: 100%; | |
| 653 | + padding: 10px 10px 5px; | |
| 654 | + margin: 0; | |
| 655 | + float: none; | |
| 656 | + height: 147px; | |
| 657 | + box-shadow: inset 2px 2px 2px rgba(0, 0, 0, 0.1); | |
| 658 | + border-radius: 3px; | |
| 659 | + overflow: hidden; | |
| 660 | + box-sizing: border-box; | |
| 661 | +} | |
| 662 | + | |
| 663 | +textarea#jp-carousel-comment-form-comment-field::-webkit-input-placeholder { | |
| 664 | + color: #555; | |
| 665 | +} | |
| 666 | + | |
| 667 | +textarea#jp-carousel-comment-form-comment-field:focus { | |
| 668 | + background: var(--jp-carousel-bg-faded-color); | |
| 669 | + color: var(--jp-carousel-primary-subtle-color); | |
| 670 | +} | |
| 671 | + | |
| 672 | +textarea#jp-carousel-comment-form-comment-field:focus::-webkit-input-placeholder { | |
| 673 | + color: var(--jp-carousel-primary-subtle-color); | |
| 674 | +} | |
| 675 | + | |
| 676 | +#jp-carousel-loading-overlay { | |
| 677 | + display: none; | |
| 678 | + position: fixed; | |
| 679 | + top: 0; | |
| 680 | + bottom: 0; | |
| 681 | + left: 0; | |
| 682 | + right: 0; | |
| 683 | +} | |
| 684 | + | |
| 685 | +#jp-carousel-loading-wrapper { | |
| 686 | + display: flex; | |
| 687 | + align-items: center; | |
| 688 | + justify-content: center; | |
| 689 | + height: 100vh; | |
| 690 | + width: 100vw; | |
| 691 | +} | |
| 692 | + | |
| 693 | +#jp-carousel-library-loading { | |
| 694 | + color: var(--jp-carousel-primary-color); | |
| 695 | +} | |
| 696 | + | |
| 697 | +#jp-carousel-comment-form-spinner { | |
| 698 | + display: none; | |
| 699 | + position: absolute; | |
| 700 | + margin: 0 auto; | |
| 701 | + top: calc(50% - 10px); | |
| 702 | + left: 0; | |
| 703 | + bottom: 0; | |
| 704 | + right: 0; | |
| 705 | + color: var(--jp-carousel-primary-color); | |
| 706 | + text-align: center; | |
| 707 | +} | |
| 708 | + | |
| 709 | +.jp-carousel-info-content-wrapper { | |
| 710 | + max-width: 800px; | |
| 711 | + margin: auto; | |
| 712 | +} | |
| 713 | + | |
| 714 | +#jp-carousel-comment-form-submit-and-info-wrapper { | |
| 715 | + display: none; | |
| 716 | + overflow: hidden; | |
| 717 | + width: 100%; | |
| 718 | +} | |
| 719 | + | |
| 720 | +#jp-carousel-comment-form-commenting-as input { | |
| 721 | + background: var(--jp-carousel-bg-color); | |
| 722 | + border: 1px solid var(--jp-carousel-border-color); | |
| 723 | + color: var(--jp-carousel-primary-subtle-color); | |
| 724 | + font: 16px/1.4 "Helvetica Neue", sans-serif !important; | |
| 725 | + padding: 10px; | |
| 726 | + float: left; | |
| 727 | + box-shadow: inset 2px 2px 2px rgba(0, 0, 0, 0.2); | |
| 728 | + border-radius: 2px; | |
| 729 | + width: 285px; | |
| 730 | +} | |
| 731 | + | |
| 732 | +#jp-carousel-comment-form-commenting-as input:focus { | |
| 733 | + background: var(--jp-carousel-bg-faded-color); | |
| 734 | + color: var(--jp-carousel-primary-subtle-color); | |
| 735 | +} | |
| 736 | + | |
| 737 | +#jp-carousel-comment-form-commenting-as p { | |
| 738 | + font: 400 13px/1.7 "Helvetica Neue", sans-serif !important; | |
| 739 | + margin: 22px 0 0; | |
| 740 | + float: left; | |
| 741 | +} | |
| 742 | + | |
| 743 | +#jp-carousel-comment-form-commenting-as fieldset { | |
| 744 | + float: left; | |
| 745 | + border: none; | |
| 746 | + margin: 20px 0 0 0; | |
| 747 | + padding: 0; | |
| 748 | + clear: both; | |
| 749 | +} | |
| 750 | + | |
| 751 | +#jp-carousel-comment-form-commenting-as label { | |
| 752 | + font: 400 13px/1.7 "Helvetica Neue", sans-serif !important; | |
| 753 | + margin: 0 20px 3px 0; | |
| 754 | + float: left; | |
| 755 | + width: 100px; | |
| 756 | +} | |
| 757 | + | |
| 758 | +#jp-carousel-comment-form-button-submit { | |
| 759 | + margin-top: 20px; | |
| 760 | + margin-left: auto; | |
| 761 | + display: block; | |
| 762 | + border: solid 1px var(--jp-carousel-primary-color); | |
| 763 | + background: var(--jp-carousel-bg-color); | |
| 764 | + border-radius: 3px; | |
| 765 | + padding: 8px 16px; | |
| 766 | + font-size: 14px; | |
| 767 | + color: var(--jp-carousel-primary-color); | |
| 768 | +} | |
| 769 | + | |
| 770 | +#jp-carousel-comment-form-button-submit:active, | |
| 771 | +#jp-carousel-comment-form-button-submit:focus { | |
| 772 | + background: var(--jp-carousel-primary-color); | |
| 773 | + color: var(--jp-carousel-bg-color); | |
| 774 | +} | |
| 775 | + | |
| 776 | +#jp-carousel-comment-form-container { | |
| 777 | + margin-bottom: 15px; | |
| 778 | + width: 100%; | |
| 779 | + margin-top: 20px; | |
| 780 | + color: var(--jp-carousel-primary-subtle-color); | |
| 781 | + position: relative; | |
| 782 | + overflow: hidden; | |
| 783 | +} | |
| 784 | + | |
| 785 | +#jp-carousel-comment-post-results { | |
| 786 | + display: none; | |
| 787 | + overflow: auto; | |
| 788 | + width: 100%; | |
| 789 | +} | |
| 790 | + | |
| 791 | +#jp-carousel-comment-post-results span { | |
| 792 | + display: block; | |
| 793 | + text-align: center; | |
| 794 | + margin-top: 20px; | |
| 795 | + width: 100%; | |
| 796 | + overflow: auto; | |
| 797 | + padding: 1em 0; | |
| 798 | + box-sizing: border-box; | |
| 799 | + border-radius: 2px; | |
| 800 | + font: 13px/1.4 "Helvetica Neue", sans-serif !important; | |
| 801 | + border: 1px solid var(--jp-carousel-border-color); | |
| 802 | + box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.2); | |
| 803 | +} | |
| 804 | + | |
| 805 | +.jp-carousel-comment-post-error { | |
| 806 | + color: #df4926; | |
| 807 | +} | |
| 808 | + | |
| 809 | +#jp-carousel-comments-closed { | |
| 810 | + display: none; | |
| 811 | + color: var(--jp-carousel-primary-subtle-color); | |
| 812 | +} | |
| 813 | + | |
| 814 | +#jp-carousel-comments-loading { | |
| 815 | + font: 400 15px/1.7 "Helvetica Neue", sans-serif !important; | |
| 816 | + display: none; | |
| 817 | + color: var(--jp-carousel-primary-subtle-color); | |
| 818 | + text-align: left; | |
| 819 | + margin-bottom: 20px; | |
| 820 | + width: 100%; | |
| 821 | + bottom: 10px; | |
| 822 | + margin-top: 20px; | |
| 823 | +} | |
| 824 | + | |
| 825 | +/** Icons Start **/ | |
| 826 | +.jp-carousel-photo-icons-container { | |
| 827 | + flex: 1; | |
| 828 | + display: block; | |
| 829 | + text-align: right; | |
| 830 | + margin: 0 20px 0 30px; | |
| 831 | + white-space: nowrap; | |
| 832 | +} | |
| 833 | + | |
| 834 | +.jp-carousel-icon-btn { | |
| 835 | + padding: 16px; | |
| 836 | + text-decoration: none; | |
| 837 | + border: none; | |
| 838 | + background: none; | |
| 839 | + display: inline-block; | |
| 840 | + height: 64px; | |
| 841 | +} | |
| 842 | + | |
| 843 | +.jp-carousel-icon { | |
| 844 | + border: none; | |
| 845 | + display: inline-block; | |
| 846 | + line-height: 0; | |
| 847 | + font-weight: 400; | |
| 848 | + font-style: normal; | |
| 849 | + border-radius: 4px; | |
| 850 | + width: 31px; /* Prevent comments indicator from changing icon width */ | |
| 851 | + padding: 4px 3px 3px; | |
| 852 | +} | |
| 853 | + | |
| 854 | +.jp-carousel-icon:hover { | |
| 855 | + background: var(--jp-carousel-primary-subtle-color); | |
| 856 | +} | |
| 857 | + | |
| 858 | +.jp-carousel-icon svg { | |
| 859 | + display: inline-block; | |
| 860 | +} | |
| 861 | + | |
| 862 | +.jp-carousel-overlay rect { | |
| 863 | + fill: var(--jp-carousel-primary-color); | |
| 864 | +} | |
| 865 | + | |
| 866 | +.jp-carousel-selected .jp-carousel-icon { | |
| 867 | + background: var(--jp-carousel-primary-color); | |
| 868 | +} | |
| 869 | + | |
| 870 | +.jp-carousel-selected rect { | |
| 871 | + fill: var(--jp-carousel-bg-color); | |
| 872 | +} | |
| 873 | + | |
| 874 | +.jp-carousel-icon-comments.jp-carousel-show { | |
| 875 | + display: inline-block; | |
| 876 | +} | |
| 877 | + | |
| 878 | +.jp-carousel-icon .jp-carousel-has-comments-indicator { | |
| 879 | + display: none; | |
| 880 | + font-size: 12px; | |
| 881 | + vertical-align: top; | |
| 882 | + margin-left: -16px; | |
| 883 | + line-height: 1; | |
| 884 | + padding: 2px 4px; | |
| 885 | + border-radius: 4px; | |
| 886 | + background: var(--jp-carousel-primary-color); | |
| 887 | + color: var(--jp-carousel-bg-color); | |
| 888 | + font-weight: 400; | |
| 889 | + font-family: "Helvetica Neue", sans-serif !important; | |
| 890 | + position: relative; | |
| 891 | +} | |
| 892 | + | |
| 893 | +.jp-carousel-selected .jp-carousel-icon .jp-carousel-has-comments-indicator { | |
| 894 | + background: var(--jp-carousel-bg-color); | |
| 895 | + color: var(--jp-carousel-primary-color); | |
| 896 | +} | |
| 897 | + | |
| 898 | +.jp-carousel-has-comments-indicator.jp-carousel-show { | |
| 899 | + display: inline-block; | |
| 900 | +} | |
| 901 | + | |
| 902 | +/** Icons End **/ | |
| 903 | + | |
| 904 | +/* Small screens */ | |
| 905 | +@media only screen and ( max-width: 760px ) { | |
| 906 | + | |
| 907 | + .jp-carousel-overlay .swiper .swiper-button-next, | |
| 908 | + .jp-carousel-overlay .swiper .swiper-button-prev { | |
| 909 | + display: none !important; | |
| 910 | + } | |
| 911 | + | |
| 912 | + .jp-carousel-buttons { | |
| 913 | + display: none !important; | |
| 914 | + } | |
| 915 | + | |
| 916 | + .jp-carousel-image-meta { | |
| 917 | + float: none !important; | |
| 918 | + width: 100% !important; | |
| 919 | + box-sizing: border-box; | |
| 920 | + margin-left: 0; | |
| 921 | + } | |
| 922 | + | |
| 923 | + .jp-carousel-close-hint { | |
| 924 | + font-size: 26px !important; | |
| 925 | + position: fixed !important; | |
| 926 | + top: 10px; | |
| 927 | + right: 10px; | |
| 928 | + } | |
| 929 | + | |
| 930 | + /* The admin bar is fixed at top: 0*/ | |
| 931 | + .admin-bar .jp-carousel-close-hint { | |
| 932 | + top: 40px; | |
| 933 | + } | |
| 934 | + | |
| 935 | + .jp-carousel-slide img { | |
| 936 | + opacity: 1; | |
| 937 | + } | |
| 938 | + | |
| 939 | + .jp-carousel-wrap { | |
| 940 | + background-color: var(--jp-carousel-bg-color); | |
| 941 | + } | |
| 942 | + | |
| 943 | + .jp-carousel-fadeaway { | |
| 944 | + display: none; | |
| 945 | + } | |
| 946 | + | |
| 947 | + .jp-carousel-info > .jp-carousel-photo-info { | |
| 948 | + display: none; | |
| 949 | + } | |
| 950 | + | |
| 951 | + .jp-carousel-comments-wrapper > .jp-carousel-photo-info { | |
| 952 | + display: block; | |
| 953 | + } | |
| 954 | + | |
| 955 | + .jp-carousel-caption { | |
| 956 | + overflow: visible !important; | |
| 957 | + } | |
| 958 | + | |
| 959 | + .jp-carousel-info-footer .jp-carousel-photo-title-container { | |
| 960 | + display: none; | |
| 961 | + } | |
| 962 | + | |
| 963 | + .jp-carousel-photo-icons-container { | |
| 964 | + margin: 0 10px 0 0; | |
| 965 | + white-space: nowrap; | |
| 966 | + } | |
| 967 | + | |
| 968 | + .jp-carousel-icon-btn { | |
| 969 | + padding-left: 20px; | |
| 970 | + } | |
| 971 | + | |
| 972 | + .jp-carousel-pagination { | |
| 973 | + padding-left: 5px; | |
| 974 | + } | |
| 975 | + | |
| 976 | + .jp-carousel-pagination-container { | |
| 977 | + margin-left: 25px; | |
| 978 | + } | |
| 979 | + | |
| 980 | + .jp-carousel-comment .avatar { | |
| 981 | + min-width: 48px; | |
| 982 | + } | |
| 983 | + | |
| 984 | + #jp-carousel-comment-form-commenting-as fieldset, | |
| 985 | + #jp-carousel-comment-form-commenting-as input { | |
| 986 | + width: 100%; | |
| 987 | + float: none; | |
| 988 | + } | |
| 989 | +} | |