PluginProbe ʕ •ᴥ•ʔ
Jetpack – WP Security, Backup, Speed, & Growth / 15.1.2
Jetpack – WP Security, Backup, Speed, & Growth v15.1.2
12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 14.1.1 14.2.2 14.3.1 14.4.2 14.5.1 14.6.1 14.7.1 14.8.1 14.9.2 15.0.3 15.1.2 15.2.1 15.3.2 15.4.1 15.5.1 15.6.1 15.7.2 15.8.1 15.9.2 16.0.2 16.1.3 16.2-a.5 16.2-a.3 16.1.2 16.2-a.1 16.1.1 16.1 16.1-beta 16.1-beta.2 16.1-beta.3 16.1-a.5 16.1-a.3 16.0.1 16.1-a.1 16.0 16.0-beta 16.0-a.7 16.0-a.5 15.9.1 16.0-a.3 16.0-a.1 15.9 15.9-beta 15.9-a.7 15.9-a.5 15.9-a.3 15.9-a.1 15.8 15.8-beta 15.8-a.7 15.8-a.5 5.2.5 5.3.4 5.4.4 5.5.5 5.6.5 5.7.5 5.8.4 5.9.4 6.0.4 6.1 6.1.1 6.1.2 6.1.3 6.1.4 6.1.5 6.2 6.2.1 6.2.2 6.2.3 6.2.4 6.2.5 6.3 6.3.1 6.3.2 6.3.3 6.3.4 6.3.5 6.3.6 6.3.7 6.4 6.4.1 6.4.2 6.4.3 6.4.4 6.4.5 6.4.6 6.5 6.5.1 6.5.2 6.5.3 6.5.4 6.6 6.6.1 6.6.2 6.6.3 6.6.4 6.6.5 6.7 6.7.1 6.7.2 6.7.3 6.7.4 6.8 6.8.1 6.8.2 6.8.3 6.8.4 6.8.5 6.9 6.9.1 6.9.2 6.9.3 6.9.4 7.0 7.0.1 7.0.2 7.0.3 7.0.4 7.0.5 7.1 7.1.1 7.1.2 7.1.3 7.1.4 7.1.5 7.2 7.2.1 7.2.1.1 7.2.2 7.2.3 7.2.4 7.2.5 7.3 7.3.0.1 7.3.1 7.3.1.1 7.3.2 7.3.3 7.3.4 7.3.5 7.4 7.4.1 7.4.2 7.4.3 7.4.4 7.4.5 7.5 7.5.0.1 7.5.1 7.5.2 7.5.3 7.5.4 7.5.5 7.5.6 7.5.7 7.6 7.6.1 7.6.2 7.6.3 7.6.4 7.7 7.7.1 7.7.2 7.7.3 7.7.4 7.7.5 7.7.6 7.8 7.8.1 7.8.2 7.8.3 7.8.4 7.9 7.9.1 7.9.2 7.9.3 7.9.4 8.0 8.0.1 8.0.2 8.0.3 8.1 8.1.1 8.1.2 8.1.3 8.1.4 8.2 8.2.0.1 8.2.1 8.2.2 8.2.3 8.2.4 8.2.5 8.2.6 8.3 8.3.1 8.3.2 8.3.3 8.4 8.4.1 8.4.2 8.4.3 8.4.4 8.4.5 8.5 8.5.1 8.5.2 8.5.3 8.6 8.6.1 8.6.2 8.6.3 8.6.4 8.7 8.7.0.1 8.7.1 8.7.2 8.7.3 8.7.4 8.8 8.8.1 8.8.2 8.8.3 8.8.4 8.8.5 8.9 8.9.1 8.9.2 8.9.3 8.9.4 9.0 9.0.1 9.0.2 9.0.3 9.0.4 9.0.5 9.1 9.1.1 9.1.2 9.1.3 9.2 9.2.1 9.2.2 9.2.3 9.2.4 9.3 9.3.1 9.3.2 9.3.3 9.3.4 9.3.5 9.4 9.4.1 9.4.2 9.4.3 9.4.4 9.5 9.5.1 9.5.2 9.5.3 9.5.4 9.5.5 9.6 9.6.1 9.6.2 9.6.3 9.6.4 9.7 9.7.1 9.7.2 15.7-beta.2 9.7.3 15.7.1 9.8 15.8-a.1 9.8.1 15.8-a.3 9.8.2 2.0.9 9.8.3 2.1.7 9.9 2.2.10 9.9.1 2.3.10 9.9.2 2.4.7 9.9.3 2.5.5 2.6.6 2.7.5 2.8.5 2.9.6 3.0.6 3.1.5 3.2.5 3.3.6 3.4.6 3.5.6 3.6.4 3.7.5 3.8.5 3.9.10 4.0.7 4.1.4 4.2.5 4.3.5 4.4.5 4.5.3 4.6.3 4.7.4 4.8.5 4.9.3 5.0.3 5.1.4 trunk 10.0 10.0.1 10.0.2 10.1 10.1.1 10.1.2 10.2 10.2.1 10.2.2 10.2.3 10.3 10.3.1 10.3.2 10.4 10.4.1 10.4.2 10.5 10.5.1 10.5.2 10.5.3 10.6 10.6.1 10.6.2 10.7 10.7.1 10.7.2 10.8 10.8.1 10.8.2 10.9 10.9.1 10.9.2 10.9.3 11.0 11.0.1 11.0.2 11.1 11.1.1 11.1.2 11.1.3 11.1.4 11.2 11.2.1 11.2.2 11.3 11.3.1 11.3.2 11.3.3 11.3.4 11.4 11.4.1 11.4.2 11.5 11.5.1 11.5.2 11.5.3 11.6 11.6.1 11.6.2 11.7 11.7.1 11.7.2 11.7.3 11.8 11.8.3 11.8.4 11.8.5 11.8.6 11.9 11.9.1 11.9.2 11.9.3 12.0 12.0.1 12.0.2 12.1 12.1.1 12.1.2 12.2 12.2.1 12.2.2 12.3 12.3.1 12.4 12.4.1 12.5 12.5.1 12.6 12.6.1 12.6.2 12.6.3 12.7 12.7.1 12.7.2 12.8 12.8.1 12.8.2 12.9 12.9.1 12.9.2 12.9.3 12.9.4 13.0 13.0.1 13.1 13.1.1 13.1.2 13.1.3 13.1.4 13.2 13.2.1 13.2.2 13.2.3 13.3 13.3.1 13.3.2 13.4 13.4.1 13.4.2 13.4.3 13.4.4 13.5 13.5.1 13.6 13.6.1 13.7 13.7.1 13.8 13.8.1 13.8.2 13.9 13.9.1 14.0 14.1 14.2 14.2.1 14.3 14.4 14.4.1 14.5 14.6 14.7 14.8 14.9 14.9.1 15.0 15.0.1 15.0.2 15.1 15.1.1 15.2 15.3 15.3.1 15.4 15.5 15.6 15.7 15.7-a.1 15.7-a.3 15.7-a.5 15.7-a.7 15.7-beta
jetpack / modules / carousel / jetpack-carousel.css
jetpack / modules / carousel Last commit date
jetpack-carousel-rtl.css 1 year ago jetpack-carousel.css 1 year ago jetpack-carousel.js 1 year ago jetpack-carousel.php 1 year ago readme.md 5 years ago
jetpack-carousel.css
1014 lines
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 }
8
9 :root .jp-carousel-light {
10 --jp-carousel-primary-color: #000;
11 --jp-carousel-primary-subtle-color: #646970;
12 --jp-carousel-bg-color: #fff;
13 --jp-carousel-bg-faded-color: #fbfbfb;
14 --jp-carousel-border-color: #dcdcde;
15 }
16
17 .jp-carousel-overlay .swiper-button-prev,
18 .jp-carousel-overlay .swiper-rtl .swiper-button-next,
19 .jp-carousel-overlay .swiper-button-next,
20 .jp-carousel-overlay .swiper-rtl .swiper-button-prev {
21 background-image: none;
22 }
23
24 /* end of temporary fix */
25
26 [data-carousel-extra]:not(.jp-carousel-wrap) img,
27 [data-carousel-extra]:not(.jp-carousel-wrap) img + figcaption {
28 cursor: pointer;
29 }
30
31 .jp-carousel-wrap * {
32 line-height: inherit;
33 }
34
35 .jp-carousel-wrap.swiper {
36 height: auto;
37 width: 100vw;
38 }
39
40 .jp-carousel-overlay .swiper-zoom-container {
41 background-size: 200%;
42 background-repeat: no-repeat;
43 background-position: center;
44 }
45
46 /*
47 To prevent flash of prev/next image scale transition after pinch zoom we need
48 to hide them. Swiper does not add a class of `swiper-slide-zoomed` to slides
49 on pinch and zoom so we have to target all affected elements in touch devices.
50 */
51 .jp-carousel-overlay .swiper-slide.swiper-slide-prev .swiper-zoom-container img,
52 .jp-carousel-overlay .swiper-slide.swiper-slide-next .swiper-zoom-container img {
53 transition: none !important;
54 }
55
56 .jp-carousel-overlay .swiper-button-prev,
57 .jp-carousel-overlay .swiper-button-next {
58 opacity: 0.5;
59 transition: 0.5s opacity ease-out;
60 height: initial;
61 width: initial;
62 padding: 20px 40px;
63 background-image: none;
64 }
65
66 .jp-carousel-overlay .swiper-button-prev:hover,
67 .jp-carousel-overlay .swiper-button-next:hover {
68 opacity: 1;
69 }
70
71 .jp-carousel-overlay .swiper-button-next::after,
72 .jp-carousel-overlay .swiper-rtl .swiper-button-next::after,
73 .jp-carousel-overlay .swiper-button-prev::after,
74 .jp-carousel-overlay .swiper-rtl .swiper-button-prev::after {
75 content: none;
76 }
77
78 .jp-carousel-overlay .swiper-button-prev svg,
79 .jp-carousel-overlay .swiper-button-next svg {
80 height: 30px;
81 width: 28px;
82 background: var(--jp-carousel-bg-color);
83 border-radius: 4px;
84 }
85
86 .jp-carousel-overlay .swiper-button-prev svg:hover,
87 .jp-carousel-overlay .swiper-button-next svg:hover {
88 background: var(--jp-carousel-primary-subtle-color);
89 }
90
91 .jp-carousel-overlay {
92 font-family: "Helvetica Neue", sans-serif !important;
93 z-index: 2147483647;
94 overflow-x: hidden;
95 overflow-y: auto;
96 direction: ltr;
97 position: fixed;
98 top: 0;
99 right: 0;
100 bottom: 0;
101 left: 0;
102 background: var(--jp-carousel-bg-color);
103 }
104
105 .jp-carousel-overlay * {
106 box-sizing: border-box;
107 }
108
109 /* Fix for Twenty Nineteen theme compatibility */
110 .jp-carousel-overlay h1::before,
111 .jp-carousel-overlay h2::before,
112 .jp-carousel-overlay h3::before {
113 content: none;
114 display: none;
115 }
116
117 .jp-carousel-overlay .swiper .swiper-button-prev {
118 left: 0;
119 right: auto;
120 }
121
122 .jp-carousel-overlay .swiper .swiper-button-next {
123 right: 0;
124 left: auto;
125 }
126
127 .jp-carousel-overlay .swiper.swiper-rtl .swiper-button-prev,
128 .jp-carousel-overlay .swiper.swiper-rtl .swiper-button-next {
129 transform: scaleX(-1);
130 }
131
132 .jp-carousel-container {
133 display: grid;
134 grid-template-rows: 1fr 64px; /* 1. main carousel, 2. info area as footer */
135 height: 100%;
136 }
137
138 .jp-carousel-hide-controls .jp-carousel-container {
139 grid-template-rows: 1fr;
140 }
141
142 .jp-carousel-hide-controls .swiper-wrapper {
143 margin-top: -32px; /* Compensate for the remove of the height of the info bar. */
144 }
145
146
147 .jp-carousel-hide-controls .jp-swiper-button-next,
148 .jp-carousel-hide-controls .jp-swiper-button-prev {
149 margin-top: -54px; /* The height of the info bar plus any top padding on the nav button itself. */
150 }
151
152 .jp-carousel-msg {
153 font-family: "Open Sans", sans-serif;
154 font-style: normal;
155 display: inline-block;
156 line-height: 19px;
157 padding: 11px 15px;
158 font-size: 14px;
159 text-align: center;
160 margin: 25px 20px 0 2px;
161 background-color: var(--jp-carousel-primary-color);
162 border-left: 4px solid #ffba00;
163 box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
164 }
165
166 .jp-carousel-info {
167 display: flex;
168 flex-direction: column;
169 text-align: left !important;
170 -webkit-font-smoothing: subpixel-antialiased !important;
171 z-index: 100;
172 background-color: var(--jp-carousel-bg-color);
173 transition: opacity 200ms ease-out;
174 opacity: 1;
175 }
176
177 .jp-carousel-hide-controls .jp-carousel-info {
178 visibility: hidden;
179 height: 0;
180 overflow: hidden;
181 }
182
183 .jp-carousel-info-footer {
184 position: relative;
185 background-color: var(--jp-carousel-bg-color);
186 height: 64px;
187 display: flex;
188 align-items: center;
189 justify-content: space-between;
190 width: 100vw;
191 }
192
193 .jp-carousel-info-extra {
194 display: none;
195 background-color: var(--jp-carousel-bg-color);
196 padding: 35px;
197 width: 100vw;
198 border-top: 1px solid var(--jp-carousel-bg-faded-color);
199 }
200
201 .jp-carousel-title-and-caption {
202 margin-bottom: 15px;
203 }
204
205 .jp-carousel-info-extra.jp-carousel-show {
206 display: block;
207 }
208
209 .jp-carousel-info ::selection {
210 background: var(--jp-carousel-primary-color); /* Safari */
211 color: var(--jp-carousel-primary-color);
212 }
213
214 .jp-carousel-info ::-moz-selection {
215 background: var(--jp-carousel-primary-color); /* Firefox */
216 color: var(--jp-carousel-primary-color);
217 }
218
219 .jp-carousel-photo-info {
220 left: 0 !important;
221 width: 100% !important;
222 }
223
224 .jp-carousel-comments-wrapper {
225 padding: 0;
226 width: 100% !important;
227 display: none;
228 }
229
230 .jp-carousel-comments-wrapper.jp-carousel-show {
231 display: block;
232 }
233
234 .jp-carousel-comments-wrapper > .jp-carousel-photo-info {
235 display: none;
236 }
237
238 .jp-carousel-transitions .jp-carousel-photo-info {
239 transition: 400ms ease-out;
240 }
241
242 .jp-carousel-buttons {
243 margin: -18px -20px 15px;
244 padding: 8px 10px;
245 border-bottom: 1px solid #222;
246 background: #222;
247 text-align: center;
248 }
249
250 div.jp-carousel-buttons a {
251 border: none !important;
252 color: var(--jp-carousel-primary-subtle-color);
253 font: 400 11px/1.2em "Helvetica Neue", sans-serif !important;
254 letter-spacing: 0 !important;
255 padding: 5px 2px 5px 0;
256 text-decoration: none !important;
257 text-shadow: none !important;
258 vertical-align: middle;
259 -webkit-font-smoothing: subpixel-antialiased;
260 }
261
262 div.jp-carousel-buttons a:hover {
263 color: var(--jp-carousel-primary-color);
264 border: none !important;
265 }
266
267 .jp-carousel-transitions div.jp-carousel-buttons a:hover {
268 transition: none !important;
269 }
270
271 .jp-carousel-slide,
272 .jp-carousel-slide img {
273 transform: translate3d(0, 0, 0);
274 }
275
276 .jp-carousel-close-hint {
277 letter-spacing: 0 !important;
278 position: fixed;
279 top: 20px;
280 right: 30px;
281 padding: 10px;
282 text-align: right;
283 width: 45px;
284 height: 45px;
285 z-index: 15;
286 color: var(--jp-carousel-primary-color);
287 cursor: pointer;
288 transition: opacity 200ms ease-out;
289 }
290
291 .jp-carousel-transitions .jp-carousel-close-hint {
292 transition: color 200ms linear;
293 }
294
295 .jp-carousel-close-hint svg {
296 padding: 3px 2px;
297 background: var(--jp-carousel-bg-color);
298 border-radius: 4px;
299 }
300
301 .jp-carousel-close-hint svg:hover {
302 background: var(--jp-carousel-primary-subtle-color);
303 }
304
305 .jp-carousel-close-hint:hover {
306 color: var(--jp-carousel-primary-color);
307 }
308
309 .jp-carousel-close-hint:hover span {
310 border-color: var(--jp-carousel-primary-color);
311 }
312
313 /** Pagination Start **/
314 .jp-carousel-pagination-container {
315 flex: 1;
316 margin: 0 15px 0 35px;
317 }
318
319 .jp-swiper-pagination,
320 .jp-carousel-pagination {
321 color: var(--jp-carousel-primary-color);
322 font-size: 15px; /* same as .jp-carousel-info-footer .jp-carousel-photo-title */
323 font-weight: 400;
324 white-space: nowrap;
325 display: none;
326 position: static !important;
327 }
328
329 .jp-carousel-pagination-container .swiper-pagination {
330 text-align: left;
331 line-height: 8px;
332 }
333
334 .jp-carousel-pagination {
335 padding-left: 5px;
336 }
337
338 .jp-swiper-pagination .swiper-pagination-bullet {
339 background: var(--jp-carousel-primary-subtle-color);
340 margin: 0 4px;
341 }
342
343 .jp-swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
344 background: var(--jp-carousel-primary-color);
345 }
346
347 .jp-swiper-pagination .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) {
348 background: var(--jp-carousel-primary-color);
349 opacity: 0.5;
350 }
351
352 /** Pagination End **/
353
354 /** Title and Desc Start **/
355 .jp-carousel-info-footer .jp-carousel-photo-title-container {
356 flex: 4;
357 justify-content: center;
358 overflow: hidden;
359 margin: 0;
360 }
361
362 .jp-carousel-photo-title,
363 .jp-carousel-photo-caption {
364 background: none !important;
365 border: none !important;
366 display: inline-block;
367 font: 400 20px/1.3em "Helvetica Neue", sans-serif;
368 line-height: normal;
369 letter-spacing: 0 !important;
370 margin: 0 0 10px 0;
371 padding: 0;
372 overflow: hidden;
373 text-shadow: none !important;
374 text-transform: none !important;
375 color: var(--jp-carousel-primary-color);
376 }
377
378 .jp-carousel-info-footer .jp-carousel-photo-caption {
379 text-align: center;
380 font-size: 15px; /* same as .jp-carousel-pagination */
381 white-space: nowrap;
382 color: var(--jp-carousel-primary-subtle-color);
383 cursor: pointer;
384 margin: 0;
385 text-overflow: ellipsis;
386 }
387
388 .jp-carousel-info-footer .jp-carousel-photo-caption p {
389 margin: 0;
390 }
391
392 .jp-carousel-photo-title {
393 font-size: 32px;
394 margin-bottom: 2px;
395 }
396
397 .jp-carousel-photo-description {
398 color: var(--jp-carousel-primary-subtle-color);
399 font-size: 16px;
400 margin: 25px 0;
401 width: 100%;
402 overflow: hidden;
403 overflow-wrap: break-word;
404 }
405
406 .jp-carousel-photo-description p {
407 color: var(--jp-carousel-primary-subtle-color);
408 line-height: 1.4;
409 margin-bottom: 0;
410 }
411
412 .jp-carousel-photo-description p a,
413 .jp-carousel-comments p a,
414 .jp-carousel-info h2 a {
415 color: var(--jp-carousel-primary-color) !important;
416 border: none !important;
417 text-decoration: underline !important;
418 font-weight: 400 !important;
419 font-style: normal !important;
420 }
421
422 .jp-carousel-photo-description p strong,
423 .jp-carousel-photo-description p b {
424 font-weight: 700;
425 color: var(--jp-carousel-primary-subtle-color);
426 }
427
428 .jp-carousel-photo-description p em,
429 .jp-carousel-photo-description p i {
430 font-style: italic;
431 color: var(--jp-carousel-primary-subtle-color);
432 }
433
434 .jp-carousel-photo-description p a:hover,
435 .jp-carousel-comments p a:hover,
436 .jp-carousel-info h2 a:hover {
437 color: var(--jp-carousel-primary-subtle-color) !important;
438 }
439
440 .jp-carousel-photo-description p:empty {
441 display: none;
442 }
443
444 .jp-carousel-photo-info h1::before,
445 .jp-carousel-photo-info h1::after,
446 .jp-carousel-comments-wrapper h1::before,
447 .jp-carousel-comments-wrapper h1::after {
448 content: none !important;
449 }
450
451 .jp-carousel-caption {
452 font-size: 14px;
453 font-weight: 400;
454 margin: 0;
455 }
456
457 /** Title and Desc End **/
458
459 /** Meta Box Start **/
460 .jp-carousel-image-meta {
461 color: var(--jp-carousel-primary-color);
462 font: 12px/1.4 "Helvetica Neue", sans-serif !important;
463 width: 100%;
464 display: none;
465 }
466
467 .jp-carousel-image-meta.jp-carousel-show {
468 display: block;
469 }
470
471 .jp-carousel-image-meta li,
472 .jp-carousel-image-meta h5 {
473 font-family: "Helvetica Neue", sans-serif !important;
474 position: inherit !important;
475 top: auto !important;
476 right: auto !important;
477 left: auto !important;
478 bottom: auto !important;
479 background: none !important;
480 border: none !important;
481 font-weight: 400 !important;
482 /* 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 */
483 line-height: 1.3em !important;
484 }
485
486 .jp-carousel-image-meta ul {
487 margin: 0 !important;
488 padding: 0 !important;
489 list-style: none !important;
490 }
491
492 .jp-carousel-image-meta li {
493 width: 48% !important;
494 display: inline-block !important;
495 vertical-align: top !important;
496 margin: 0 2% 15px 0 !important;
497 color: var(--jp-carousel-primary-color) !important;
498 font-size: 13px !important;
499 }
500
501 .jp-carousel-image-meta h5 {
502 color: var(--jp-carousel-primary-subtle-color) !important;
503 text-transform: uppercase !important;
504 font-size: 10px !important;
505 margin: 0 0 2px !important;
506 letter-spacing: 0.1em !important;
507 }
508
509 a.jp-carousel-image-download {
510 display: inline-block;
511 clear: both;
512 color: var(--jp-carousel-primary-subtle-color);
513 line-height: 1;
514 font-weight: 400;
515 font-size: 14px;
516 text-decoration: none;
517 }
518
519 a.jp-carousel-image-download svg {
520 display: inline-block;
521 vertical-align: middle;
522 margin: 0 3px;
523 padding-bottom: 2px;
524 }
525
526 a.jp-carousel-image-download span.photo-size {
527 font-size: 11px;
528 border-radius: 1em;
529 margin-left: 2px;
530 display: inline-block;
531 }
532
533 a.jp-carousel-image-download span.photo-size-times {
534 padding: 0 1px 0 2px;
535 }
536
537 /** Meta Box End **/
538
539 /** Comments Start **/
540 .jp-carousel-comments {
541 font: 15px/1.7 "Helvetica Neue", sans-serif !important;
542 font-weight: 400;
543 background: none transparent;
544 width: 100%;
545 bottom: 10px;
546 margin-top: 20px;
547 }
548
549 .jp-carousel-comments p a:hover,
550 .jp-carousel-comments p a:focus,
551 .jp-carousel-comments p a:active {
552 color: var(--jp-carousel-primary-color) !important;
553 }
554
555 .jp-carousel-comment {
556 background: none transparent;
557 color: var(--jp-carousel-primary-subtle-color);
558 overflow: auto;
559 width: 100%;
560 display: flex;
561 }
562
563 .jp-carousel-comment + .jp-carousel-comment {
564 margin-top: 20px;
565 }
566
567 .jp-carousel-comment:last-of-type {
568 margin-bottom: 20px;
569 }
570
571 .jp-carousel-comment p {
572 color: var(--jp-carousel-primary-subtle-color) !important;
573 }
574
575 .jp-carousel-comment .comment-author {
576 font-size: 15px;
577 font-weight: 500;
578 padding: 0;
579 width: auto;
580 display: inline;
581 float: none;
582 border: none;
583 margin: 0;
584 }
585
586 .jp-carousel-comment .comment-author a {
587 color: var(--jp-carousel-primary-color);
588 }
589
590 .jp-carousel-comment .comment-gravatar {
591 float: none;
592 margin-right: 10px;
593 }
594
595 .jp-carousel-comment .comment-content {
596 border: none;
597 padding: 0;
598 }
599
600 .jp-carousel-comment .avatar {
601 margin: 0;
602 border-radius: 4px;
603 border: none !important;
604 padding: 0 !important;
605 background-color: transparent !important;
606 min-width: 64px;
607 min-height: 64px;
608 width: 64px;
609 height: 64px;
610 }
611
612 .jp-carousel-comment .comment-date {
613 color: var(--jp-carousel-primary-subtle-color);
614 font-size: 11px;
615 border-bottom: 1px solid var(--jp-carousel-bg-faded-color);
616 margin-bottom: 6px;
617 }
618
619 #jp-carousel-comment-form {
620 margin: 0 0 10px !important;
621 width: 100%;
622 }
623
624 #jp-carousel-comment-form.jp-carousel-is-disabled {
625 opacity: 0.5;
626 pointer-events: none;
627 }
628
629 textarea#jp-carousel-comment-form-comment-field {
630 background: var(--jp-carousel-bg-faded-color);
631 border: 1px solid var(--jp-carousel-border-color);
632 color: var(--jp-carousel-primary-subtle-color);
633 font: 16px/1.4 "Helvetica Neue", sans-serif !important;
634 width: 100%;
635 padding: 10px 10px 5px;
636 margin: 0;
637 float: none;
638 height: 147px;
639 box-shadow: inset 2px 2px 2px rgba(0, 0, 0, 0.1);
640 border-radius: 3px;
641 overflow: hidden;
642 box-sizing: border-box;
643 }
644
645 textarea#jp-carousel-comment-form-comment-field::-webkit-input-placeholder {
646 color: #555;
647 }
648
649 textarea#jp-carousel-comment-form-comment-field:focus {
650 background: var(--jp-carousel-bg-faded-color);
651 color: var(--jp-carousel-primary-subtle-color);
652 }
653
654 textarea#jp-carousel-comment-form-comment-field:focus::-webkit-input-placeholder {
655 color: var(--jp-carousel-primary-subtle-color);
656 }
657
658 #jp-carousel-loading-overlay {
659 display: none;
660 position: fixed;
661 top: 0;
662 bottom: 0;
663 left: 0;
664 right: 0;
665 }
666
667 #jp-carousel-loading-wrapper {
668 display: flex;
669 align-items: center;
670 justify-content: center;
671 height: 100vh;
672 width: 100vw;
673 }
674
675 #jp-carousel-library-loading,
676 #jp-carousel-library-loading::after {
677 border-radius: 50%;
678 width: 40px;
679 height: 40px;
680 }
681
682 #jp-carousel-library-loading {
683 float: left;
684 margin: 22px 0 0 10px;
685 font-size: 10px;
686 position: relative;
687 text-indent: -9999em;
688 border-top: 8px solid rgba(255, 255, 255, 0.2);
689 border-right: 8px solid rgba(255, 255, 255, 0.2);
690 border-bottom: 8px solid rgba(255, 255, 255, 0.2);
691 border-left: 8px solid var(--jp-carousel-primary-color);
692 transform: translateZ(0);
693 animation: load8 1.1s infinite linear;
694 }
695
696 #jp-carousel-comment-form-spinner,
697 #jp-carousel-comment-form-spinner::after {
698 border-radius: 50%;
699 width: 20px;
700 height: 20px;
701 }
702
703 #jp-carousel-comment-form-spinner {
704 display: none;
705 float: left;
706 font-size: 10px;
707 position: absolute; /* relative to .jp-carousel-comment-form-container */
708 text-indent: -9999em;
709 border-top: 4px solid rgba(255, 255, 255, 0.2);
710 border-right: 4px solid rgba(255, 255, 255, 0.2);
711 border-bottom: 4px solid rgba(255, 255, 255, 0.2);
712 border-left: 4px solid var(--jp-carousel-primary-color);
713 transform: translateZ(0);
714 animation: load8 1.1s infinite linear;
715 margin: 0 auto;
716 top: calc(50% - 15px);
717 left: 0;
718 bottom: 0;
719 right: 0;
720 }
721
722 @keyframes load8 {
723
724 0% {
725 transform: rotate(0deg);
726 }
727
728 100% {
729 transform: rotate(360deg);
730 }
731 }
732
733 .jp-carousel-info-content-wrapper {
734 max-width: 800px;
735 margin: auto;
736 }
737
738 #jp-carousel-comment-form-submit-and-info-wrapper {
739 display: none;
740 overflow: hidden;
741 width: 100%;
742 }
743
744 #jp-carousel-comment-form-commenting-as input {
745 background: var(--jp-carousel-bg-color);
746 border: 1px solid var(--jp-carousel-border-color);
747 color: var(--jp-carousel-primary-subtle-color);
748 font: 16px/1.4 "Helvetica Neue", sans-serif !important;
749 padding: 10px;
750 float: left;
751 box-shadow: inset 2px 2px 2px rgba(0, 0, 0, 0.2);
752 border-radius: 2px;
753 width: 285px;
754 }
755
756 #jp-carousel-comment-form-commenting-as input:focus {
757 background: var(--jp-carousel-bg-faded-color);
758 color: var(--jp-carousel-primary-subtle-color);
759 }
760
761 #jp-carousel-comment-form-commenting-as p {
762 font: 400 13px/1.7 "Helvetica Neue", sans-serif !important;
763 margin: 22px 0 0;
764 float: left;
765 }
766
767 #jp-carousel-comment-form-commenting-as fieldset {
768 float: left;
769 border: none;
770 margin: 20px 0 0 0;
771 padding: 0;
772 clear: both;
773 }
774
775 #jp-carousel-comment-form-commenting-as label {
776 font: 400 13px/1.7 "Helvetica Neue", sans-serif !important;
777 margin: 0 20px 3px 0;
778 float: left;
779 width: 100px;
780 }
781
782 #jp-carousel-comment-form-button-submit {
783 margin-top: 20px;
784 margin-left: auto;
785 display: block;
786 border: solid 1px var(--jp-carousel-primary-color);
787 background: var(--jp-carousel-bg-color);
788 border-radius: 3px;
789 padding: 8px 16px;
790 font-size: 14px;
791 color: var(--jp-carousel-primary-color);
792 }
793
794 #jp-carousel-comment-form-button-submit:active,
795 #jp-carousel-comment-form-button-submit:focus {
796 background: var(--jp-carousel-primary-color);
797 color: var(--jp-carousel-bg-color);
798 }
799
800 #jp-carousel-comment-form-container {
801 margin-bottom: 15px;
802 width: 100%;
803 margin-top: 20px;
804 color: var(--jp-carousel-primary-subtle-color);
805 position: relative;
806 overflow: hidden;
807 }
808
809 #jp-carousel-comment-post-results {
810 display: none;
811 overflow: auto;
812 width: 100%;
813 }
814
815 #jp-carousel-comment-post-results span {
816 display: block;
817 text-align: center;
818 margin-top: 20px;
819 width: 100%;
820 overflow: auto;
821 padding: 1em 0;
822 box-sizing: border-box;
823 border-radius: 2px;
824 font: 13px/1.4 "Helvetica Neue", sans-serif !important;
825 border: 1px solid var(--jp-carousel-border-color);
826 box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.2);
827 }
828
829 .jp-carousel-comment-post-error {
830 color: #df4926;
831 }
832
833 #jp-carousel-comments-closed {
834 display: none;
835 color: var(--jp-carousel-primary-subtle-color);
836 }
837
838 #jp-carousel-comments-loading {
839 font: 400 15px/1.7 "Helvetica Neue", sans-serif !important;
840 display: none;
841 color: var(--jp-carousel-primary-subtle-color);
842 text-align: left;
843 margin-bottom: 20px;
844 width: 100%;
845 bottom: 10px;
846 margin-top: 20px;
847 }
848
849 /** Icons Start **/
850 .jp-carousel-photo-icons-container {
851 flex: 1;
852 display: block;
853 text-align: right;
854 margin: 0 20px 0 30px;
855 white-space: nowrap;
856 }
857
858 .jp-carousel-icon-btn {
859 padding: 16px;
860 text-decoration: none;
861 border: none;
862 background: none;
863 display: inline-block;
864 height: 64px;
865 }
866
867 .jp-carousel-icon {
868 border: none;
869 display: inline-block;
870 line-height: 0;
871 font-weight: 400;
872 font-style: normal;
873 border-radius: 4px;
874 width: 31px; /* Prevent comments indicator from changing icon width */
875 padding: 4px 3px 3px;
876 }
877
878 .jp-carousel-icon:hover {
879 background: var(--jp-carousel-primary-subtle-color);
880 }
881
882 .jp-carousel-icon svg {
883 display: inline-block;
884 }
885
886 .jp-carousel-overlay rect {
887 fill: var(--jp-carousel-primary-color);
888 }
889
890 .jp-carousel-selected .jp-carousel-icon {
891 background: var(--jp-carousel-primary-color);
892 }
893
894 .jp-carousel-selected rect {
895 fill: var(--jp-carousel-bg-color);
896 }
897
898 .jp-carousel-icon-comments.jp-carousel-show {
899 display: inline-block;
900 }
901
902 .jp-carousel-icon .jp-carousel-has-comments-indicator {
903 display: none;
904 font-size: 12px;
905 vertical-align: top;
906 margin-left: -16px;
907 line-height: 1;
908 padding: 2px 4px;
909 border-radius: 4px;
910 background: var(--jp-carousel-primary-color);
911 color: var(--jp-carousel-bg-color);
912 font-weight: 400;
913 font-family: "Helvetica Neue", sans-serif !important;
914 position: relative;
915 }
916
917 .jp-carousel-selected .jp-carousel-icon .jp-carousel-has-comments-indicator {
918 background: var(--jp-carousel-bg-color);
919 color: var(--jp-carousel-primary-color);
920 }
921
922 .jp-carousel-has-comments-indicator.jp-carousel-show {
923 display: inline-block;
924 }
925
926 /** Icons End **/
927
928 /* Small screens */
929 @media only screen and ( max-width: 760px ) {
930
931 .jp-carousel-overlay .swiper .swiper-button-next,
932 .jp-carousel-overlay .swiper .swiper-button-prev {
933 display: none !important;
934 }
935
936 .jp-carousel-buttons {
937 display: none !important;
938 }
939
940 .jp-carousel-image-meta {
941 float: none !important;
942 width: 100% !important;
943 box-sizing: border-box;
944 margin-left: 0;
945 }
946
947 .jp-carousel-close-hint {
948 font-size: 26px !important;
949 position: fixed !important;
950 top: 10px;
951 right: 10px;
952 }
953
954 /* The admin bar is fixed at top: 0*/
955 .admin-bar .jp-carousel-close-hint {
956 top: 40px;
957 }
958
959 .jp-carousel-slide img {
960 opacity: 1;
961 }
962
963 .jp-carousel-wrap {
964 background-color: var(--jp-carousel-bg-color);
965 }
966
967 .jp-carousel-fadeaway {
968 display: none;
969 }
970
971 .jp-carousel-info > .jp-carousel-photo-info {
972 display: none;
973 }
974
975 .jp-carousel-comments-wrapper > .jp-carousel-photo-info {
976 display: block;
977 }
978
979 .jp-carousel-caption {
980 overflow: visible !important;
981 }
982
983 .jp-carousel-info-footer .jp-carousel-photo-title-container {
984 display: none;
985 }
986
987 .jp-carousel-photo-icons-container {
988 margin: 0 10px 0 0;
989 white-space: nowrap;
990 }
991
992 .jp-carousel-icon-btn {
993 padding-left: 20px;
994 }
995
996 .jp-carousel-pagination {
997 padding-left: 5px;
998 }
999
1000 .jp-carousel-pagination-container {
1001 margin-left: 25px;
1002 }
1003
1004 .jp-carousel-comment .avatar {
1005 min-width: 48px;
1006 }
1007
1008 #jp-carousel-comment-form-commenting-as fieldset,
1009 #jp-carousel-comment-form-commenting-as input {
1010 width: 100%;
1011 float: none;
1012 }
1013 }
1014