Keine Beschreibung

jetpack-carousel.css 23KB

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