説明なし
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

glightbox.css 17KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939
  1. .glightbox-container {
  2. width: 100%;
  3. height: 100%;
  4. position: fixed;
  5. top: 0;
  6. left: 0;
  7. z-index: 999999 !important;
  8. overflow: hidden;
  9. -ms-touch-action: none;
  10. touch-action: none;
  11. -webkit-text-size-adjust: 100%;
  12. -moz-text-size-adjust: 100%;
  13. -ms-text-size-adjust: 100%;
  14. text-size-adjust: 100%;
  15. -webkit-backface-visibility: hidden;
  16. backface-visibility: hidden;
  17. outline: none;
  18. }
  19. .glightbox-container.inactive {
  20. display: none;
  21. }
  22. .glightbox-container .gcontainer {
  23. position: relative;
  24. width: 100%;
  25. height: 100%;
  26. z-index: 9999;
  27. overflow: hidden;
  28. }
  29. .glightbox-container .gslider {
  30. -webkit-transition: -webkit-transform 0.4s ease;
  31. transition: -webkit-transform 0.4s ease;
  32. transition: transform 0.4s ease;
  33. transition: transform 0.4s ease, -webkit-transform 0.4s ease;
  34. height: 100%;
  35. left: 0;
  36. top: 0;
  37. width: 100%;
  38. position: relative;
  39. overflow: hidden;
  40. display: -webkit-box !important;
  41. display: -ms-flexbox !important;
  42. display: flex !important;
  43. -webkit-box-pack: center;
  44. -ms-flex-pack: center;
  45. justify-content: center;
  46. -webkit-box-align: center;
  47. -ms-flex-align: center;
  48. align-items: center;
  49. -webkit-transform: translate3d(0, 0, 0);
  50. transform: translate3d(0, 0, 0);
  51. }
  52. .glightbox-container .gslide {
  53. width: 100%;
  54. position: absolute;
  55. -webkit-user-select: none;
  56. -moz-user-select: none;
  57. -ms-user-select: none;
  58. user-select: none;
  59. display: -webkit-box;
  60. display: -ms-flexbox;
  61. display: flex;
  62. -webkit-box-align: center;
  63. -ms-flex-align: center;
  64. align-items: center;
  65. -webkit-box-pack: center;
  66. -ms-flex-pack: center;
  67. justify-content: center;
  68. opacity: 0;
  69. }
  70. .glightbox-container .gslide.current {
  71. opacity: 1;
  72. z-index: 99999;
  73. position: relative;
  74. }
  75. .glightbox-container .gslide.prev {
  76. opacity: 1;
  77. z-index: 9999;
  78. }
  79. .glightbox-container .gslide-inner-content {
  80. width: 100%;
  81. }
  82. .glightbox-container .ginner-container {
  83. position: relative;
  84. width: 100%;
  85. display: -webkit-box;
  86. display: -ms-flexbox;
  87. display: flex;
  88. -webkit-box-pack: center;
  89. -ms-flex-pack: center;
  90. justify-content: center;
  91. -webkit-box-orient: vertical;
  92. -webkit-box-direction: normal;
  93. -ms-flex-direction: column;
  94. flex-direction: column;
  95. max-width: 100%;
  96. margin: auto;
  97. height: 100vh;
  98. }
  99. .glightbox-container .ginner-container.gvideo-container {
  100. width: 100%;
  101. }
  102. .glightbox-container .ginner-container.desc-bottom,
  103. .glightbox-container .ginner-container.desc-top {
  104. -webkit-box-orient: vertical;
  105. -webkit-box-direction: normal;
  106. -ms-flex-direction: column;
  107. flex-direction: column;
  108. }
  109. .glightbox-container .ginner-container.desc-left,
  110. .glightbox-container .ginner-container.desc-right {
  111. max-width: 100% !important;
  112. }
  113. .gslide iframe,
  114. .gslide video {
  115. outline: none !important;
  116. border: none;
  117. min-height: 165px;
  118. -webkit-overflow-scrolling: touch;
  119. -ms-touch-action: auto;
  120. touch-action: auto;
  121. }
  122. .gslide:not(.current) {
  123. pointer-events: none;
  124. }
  125. .gslide-image {
  126. -webkit-box-align: center;
  127. -ms-flex-align: center;
  128. align-items: center;
  129. }
  130. .gslide-image img {
  131. max-height: 100vh;
  132. display: block;
  133. padding: 0;
  134. float: none;
  135. outline: none;
  136. border: none;
  137. -webkit-user-select: none;
  138. -moz-user-select: none;
  139. -ms-user-select: none;
  140. user-select: none;
  141. max-width: 100vw;
  142. width: auto;
  143. height: auto;
  144. -o-object-fit: cover;
  145. object-fit: cover;
  146. -ms-touch-action: none;
  147. touch-action: none;
  148. margin: auto;
  149. min-width: 200px;
  150. }
  151. .desc-top .gslide-image img,
  152. .desc-bottom .gslide-image img {
  153. width: auto;
  154. }
  155. .desc-left .gslide-image img,
  156. .desc-right .gslide-image img {
  157. width: auto;
  158. max-width: 100%;
  159. }
  160. .gslide-image img.zoomable {
  161. position: relative;
  162. }
  163. .gslide-image img.dragging {
  164. cursor: -webkit-grabbing !important;
  165. cursor: grabbing !important;
  166. -webkit-transition: none;
  167. transition: none;
  168. }
  169. .gslide-video {
  170. position: relative;
  171. max-width: 100vh;
  172. width: 100% !important;
  173. }
  174. .gslide-video .plyr__poster-enabled.plyr--loading .plyr__poster {
  175. display: none;
  176. }
  177. .gslide-video .gvideo-wrapper {
  178. width: 100%;
  179. /* max-width: 160vmin; */
  180. margin: auto;
  181. }
  182. .gslide-video::before {
  183. content: '';
  184. position: absolute;
  185. width: 100%;
  186. height: 100%;
  187. background: rgba(255, 0, 0, 0.34);
  188. display: none;
  189. }
  190. .gslide-video.playing::before {
  191. display: none;
  192. }
  193. .gslide-video.fullscreen {
  194. max-width: 100% !important;
  195. min-width: 100%;
  196. height: 75vh;
  197. }
  198. .gslide-video.fullscreen video {
  199. max-width: 100% !important;
  200. width: 100% !important;
  201. }
  202. .gslide-inline {
  203. background: #fff;
  204. text-align: left;
  205. max-height: calc(100vh - 40px);
  206. overflow: auto;
  207. max-width: 100%;
  208. margin: auto;
  209. }
  210. .gslide-inline .ginlined-content {
  211. padding: 20px;
  212. width: 100%;
  213. }
  214. .gslide-inline .dragging {
  215. cursor: -webkit-grabbing !important;
  216. cursor: grabbing !important;
  217. -webkit-transition: none;
  218. transition: none;
  219. }
  220. .ginlined-content {
  221. overflow: auto;
  222. display: block !important;
  223. opacity: 1;
  224. }
  225. .gslide-external {
  226. display: -webkit-box;
  227. display: -ms-flexbox;
  228. display: flex;
  229. width: 100%;
  230. min-width: 100%;
  231. background: #fff;
  232. padding: 0;
  233. overflow: auto;
  234. max-height: 75vh;
  235. height: 100%;
  236. }
  237. .gslide-media {
  238. display: -webkit-box;
  239. display: -ms-flexbox;
  240. display: flex;
  241. width: auto;
  242. }
  243. .zoomed .gslide-media {
  244. -webkit-box-shadow: none !important;
  245. box-shadow: none !important;
  246. }
  247. .desc-top .gslide-media,
  248. .desc-bottom .gslide-media {
  249. margin: 0 auto;
  250. -webkit-box-orient: vertical;
  251. -webkit-box-direction: normal;
  252. -ms-flex-direction: column;
  253. flex-direction: column;
  254. }
  255. .gslide-description {
  256. position: relative;
  257. -webkit-box-flex: 1;
  258. -ms-flex: 1 0 100%;
  259. flex: 1 0 100%;
  260. }
  261. .gslide-description.description-left,
  262. .gslide-description.description-right {
  263. max-width: 100%;
  264. }
  265. .gslide-description.description-bottom,
  266. .gslide-description.description-top {
  267. margin: 0 auto;
  268. width: 100%;
  269. }
  270. .gslide-description p {
  271. margin-bottom: 12px;
  272. }
  273. .gslide-description p:last-child {
  274. margin-bottom: 0;
  275. }
  276. .zoomed .gslide-description {
  277. display: none;
  278. }
  279. .glightbox-button-hidden {
  280. display: none;
  281. }
  282. /*
  283. * Description for mobiles
  284. * something like facebook does the description
  285. * for the photos
  286. */
  287. .glightbox-mobile .glightbox-container .gslide-description {
  288. height: auto !important;
  289. width: 100%;
  290. position: absolute;
  291. bottom: 0;
  292. padding: 19px 11px;
  293. max-width: 100vw !important;
  294. -webkit-box-ordinal-group: 3 !important;
  295. -ms-flex-order: 2 !important;
  296. order: 2 !important;
  297. max-height: 78vh;
  298. overflow: auto !important;
  299. background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.75)));
  300. background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 100%);
  301. -webkit-transition: opacity 0.3s linear;
  302. transition: opacity 0.3s linear;
  303. padding-bottom: 50px;
  304. }
  305. .glightbox-mobile .glightbox-container .gslide-title {
  306. color: #fff;
  307. font-size: 1em;
  308. }
  309. .glightbox-mobile .glightbox-container .gslide-desc {
  310. color: #a1a1a1;
  311. }
  312. .glightbox-mobile .glightbox-container .gslide-desc a {
  313. color: #fff;
  314. font-weight: bold;
  315. }
  316. .glightbox-mobile .glightbox-container .gslide-desc * {
  317. color: inherit;
  318. }
  319. .glightbox-mobile .glightbox-container .gslide-desc .desc-more {
  320. color: #fff;
  321. opacity: 0.4;
  322. }
  323. .gdesc-open .gslide-media {
  324. -webkit-transition: opacity 0.5s ease;
  325. transition: opacity 0.5s ease;
  326. opacity: 0.4;
  327. }
  328. .gdesc-open .gdesc-inner {
  329. padding-bottom: 30px;
  330. }
  331. .gdesc-closed .gslide-media {
  332. -webkit-transition: opacity 0.5s ease;
  333. transition: opacity 0.5s ease;
  334. opacity: 1;
  335. }
  336. .greset {
  337. -webkit-transition: all 0.3s ease;
  338. transition: all 0.3s ease;
  339. }
  340. .gabsolute {
  341. position: absolute;
  342. }
  343. .grelative {
  344. position: relative;
  345. }
  346. .glightbox-desc {
  347. display: none !important;
  348. }
  349. .glightbox-open {
  350. overflow: hidden;
  351. }
  352. .gloader {
  353. height: 25px;
  354. width: 25px;
  355. -webkit-animation: lightboxLoader 0.8s infinite linear;
  356. animation: lightboxLoader 0.8s infinite linear;
  357. border: 2px solid #fff;
  358. border-right-color: transparent;
  359. border-radius: 50%;
  360. position: absolute;
  361. display: block;
  362. z-index: 9999;
  363. left: 0;
  364. right: 0;
  365. margin: 0 auto;
  366. top: 47%;
  367. }
  368. .goverlay {
  369. width: 100%;
  370. height: calc(100vh + 1px);
  371. position: fixed;
  372. top: -1px;
  373. left: 0;
  374. background: #000;
  375. will-change: opacity;
  376. }
  377. .glightbox-mobile .goverlay {
  378. background: #000;
  379. }
  380. .gprev,
  381. .gnext,
  382. .gclose {
  383. z-index: 99999;
  384. cursor: pointer;
  385. width: 26px;
  386. height: 44px;
  387. border: none;
  388. display: -webkit-box;
  389. display: -ms-flexbox;
  390. display: flex;
  391. -webkit-box-pack: center;
  392. -ms-flex-pack: center;
  393. justify-content: center;
  394. -webkit-box-align: center;
  395. -ms-flex-align: center;
  396. align-items: center;
  397. -webkit-box-orient: vertical;
  398. -webkit-box-direction: normal;
  399. -ms-flex-direction: column;
  400. flex-direction: column;
  401. }
  402. .gprev svg,
  403. .gnext svg,
  404. .gclose svg {
  405. display: block;
  406. width: 25px;
  407. height: auto;
  408. margin: 0;
  409. padding: 0;
  410. }
  411. .gprev.disabled,
  412. .gnext.disabled,
  413. .gclose.disabled {
  414. opacity: 0.1;
  415. }
  416. .gprev .garrow,
  417. .gnext .garrow,
  418. .gclose .garrow {
  419. stroke: #fff;
  420. }
  421. .gbtn.focused {
  422. outline: 2px solid #0f3d81;
  423. }
  424. iframe.wait-autoplay {
  425. opacity: 0;
  426. }
  427. .glightbox-closing .gnext,
  428. .glightbox-closing .gprev,
  429. .glightbox-closing .gclose {
  430. opacity: 0 !important;
  431. }
  432. /*Skin */
  433. .glightbox-clean .gslide-description {
  434. background: #fff;
  435. }
  436. .glightbox-clean .gdesc-inner {
  437. padding: 22px 20px;
  438. }
  439. .glightbox-clean .gslide-title {
  440. font-size: 1em;
  441. font-weight: normal;
  442. font-family: arial;
  443. color: #000;
  444. margin-bottom: 19px;
  445. line-height: 1.4em;
  446. }
  447. .glightbox-clean .gslide-desc {
  448. font-size: 0.86em;
  449. margin-bottom: 0;
  450. font-family: arial;
  451. line-height: 1.4em;
  452. }
  453. .glightbox-clean .gslide-video {
  454. background: #000;
  455. }
  456. .glightbox-clean .gprev,
  457. .glightbox-clean .gnext,
  458. .glightbox-clean .gclose {
  459. background-color: rgba(0, 0, 0, 0.75);
  460. border-radius: 4px;
  461. }
  462. .glightbox-clean .gprev path,
  463. .glightbox-clean .gnext path,
  464. .glightbox-clean .gclose path {
  465. fill: #fff;
  466. }
  467. .glightbox-clean .gprev {
  468. position: absolute;
  469. top: -100%;
  470. left: 30px;
  471. width: 40px;
  472. height: 50px;
  473. }
  474. .glightbox-clean .gnext {
  475. position: absolute;
  476. top: -100%;
  477. right: 30px;
  478. width: 40px;
  479. height: 50px;
  480. }
  481. .glightbox-clean .gclose {
  482. width: 35px;
  483. height: 35px;
  484. top: 15px;
  485. right: 10px;
  486. position: absolute;
  487. }
  488. .glightbox-clean .gclose svg {
  489. width: 18px;
  490. height: auto;
  491. }
  492. .glightbox-clean .gclose:hover {
  493. opacity: 1;
  494. }
  495. /*CSS Animations*/
  496. .gfadeIn {
  497. -webkit-animation: gfadeIn 0.5s ease;
  498. animation: gfadeIn 0.5s ease;
  499. }
  500. .gfadeOut {
  501. -webkit-animation: gfadeOut 0.5s ease;
  502. animation: gfadeOut 0.5s ease;
  503. }
  504. .gslideOutLeft {
  505. -webkit-animation: gslideOutLeft 0.3s ease;
  506. animation: gslideOutLeft 0.3s ease;
  507. }
  508. .gslideInLeft {
  509. -webkit-animation: gslideInLeft 0.3s ease;
  510. animation: gslideInLeft 0.3s ease;
  511. }
  512. .gslideOutRight {
  513. -webkit-animation: gslideOutRight 0.3s ease;
  514. animation: gslideOutRight 0.3s ease;
  515. }
  516. .gslideInRight {
  517. -webkit-animation: gslideInRight 0.3s ease;
  518. animation: gslideInRight 0.3s ease;
  519. }
  520. .gzoomIn {
  521. -webkit-animation: gzoomIn 0.5s ease;
  522. animation: gzoomIn 0.5s ease;
  523. }
  524. .gzoomOut {
  525. -webkit-animation: gzoomOut 0.5s ease;
  526. animation: gzoomOut 0.5s ease;
  527. }
  528. @-webkit-keyframes lightboxLoader {
  529. 0% {
  530. -webkit-transform: rotate(0deg);
  531. transform: rotate(0deg);
  532. }
  533. 100% {
  534. -webkit-transform: rotate(360deg);
  535. transform: rotate(360deg);
  536. }
  537. }
  538. @keyframes lightboxLoader {
  539. 0% {
  540. -webkit-transform: rotate(0deg);
  541. transform: rotate(0deg);
  542. }
  543. 100% {
  544. -webkit-transform: rotate(360deg);
  545. transform: rotate(360deg);
  546. }
  547. }
  548. @-webkit-keyframes gfadeIn {
  549. from {
  550. opacity: 0;
  551. }
  552. to {
  553. opacity: 1;
  554. }
  555. }
  556. @keyframes gfadeIn {
  557. from {
  558. opacity: 0;
  559. }
  560. to {
  561. opacity: 1;
  562. }
  563. }
  564. @-webkit-keyframes gfadeOut {
  565. from {
  566. opacity: 1;
  567. }
  568. to {
  569. opacity: 0;
  570. }
  571. }
  572. @keyframes gfadeOut {
  573. from {
  574. opacity: 1;
  575. }
  576. to {
  577. opacity: 0;
  578. }
  579. }
  580. @-webkit-keyframes gslideInLeft {
  581. from {
  582. opacity: 0;
  583. -webkit-transform: translate3d(-60%, 0, 0);
  584. transform: translate3d(-60%, 0, 0);
  585. }
  586. to {
  587. visibility: visible;
  588. -webkit-transform: translate3d(0, 0, 0);
  589. transform: translate3d(0, 0, 0);
  590. opacity: 1;
  591. }
  592. }
  593. @keyframes gslideInLeft {
  594. from {
  595. opacity: 0;
  596. -webkit-transform: translate3d(-60%, 0, 0);
  597. transform: translate3d(-60%, 0, 0);
  598. }
  599. to {
  600. visibility: visible;
  601. -webkit-transform: translate3d(0, 0, 0);
  602. transform: translate3d(0, 0, 0);
  603. opacity: 1;
  604. }
  605. }
  606. @-webkit-keyframes gslideOutLeft {
  607. from {
  608. opacity: 1;
  609. visibility: visible;
  610. -webkit-transform: translate3d(0, 0, 0);
  611. transform: translate3d(0, 0, 0);
  612. }
  613. to {
  614. -webkit-transform: translate3d(-60%, 0, 0);
  615. transform: translate3d(-60%, 0, 0);
  616. opacity: 0;
  617. visibility: hidden;
  618. }
  619. }
  620. @keyframes gslideOutLeft {
  621. from {
  622. opacity: 1;
  623. visibility: visible;
  624. -webkit-transform: translate3d(0, 0, 0);
  625. transform: translate3d(0, 0, 0);
  626. }
  627. to {
  628. -webkit-transform: translate3d(-60%, 0, 0);
  629. transform: translate3d(-60%, 0, 0);
  630. opacity: 0;
  631. visibility: hidden;
  632. }
  633. }
  634. @-webkit-keyframes gslideInRight {
  635. from {
  636. opacity: 0;
  637. visibility: visible;
  638. -webkit-transform: translate3d(60%, 0, 0);
  639. transform: translate3d(60%, 0, 0);
  640. }
  641. to {
  642. -webkit-transform: translate3d(0, 0, 0);
  643. transform: translate3d(0, 0, 0);
  644. opacity: 1;
  645. }
  646. }
  647. @keyframes gslideInRight {
  648. from {
  649. opacity: 0;
  650. visibility: visible;
  651. -webkit-transform: translate3d(60%, 0, 0);
  652. transform: translate3d(60%, 0, 0);
  653. }
  654. to {
  655. -webkit-transform: translate3d(0, 0, 0);
  656. transform: translate3d(0, 0, 0);
  657. opacity: 1;
  658. }
  659. }
  660. @-webkit-keyframes gslideOutRight {
  661. from {
  662. opacity: 1;
  663. visibility: visible;
  664. -webkit-transform: translate3d(0, 0, 0);
  665. transform: translate3d(0, 0, 0);
  666. }
  667. to {
  668. -webkit-transform: translate3d(60%, 0, 0);
  669. transform: translate3d(60%, 0, 0);
  670. opacity: 0;
  671. }
  672. }
  673. @keyframes gslideOutRight {
  674. from {
  675. opacity: 1;
  676. visibility: visible;
  677. -webkit-transform: translate3d(0, 0, 0);
  678. transform: translate3d(0, 0, 0);
  679. }
  680. to {
  681. -webkit-transform: translate3d(60%, 0, 0);
  682. transform: translate3d(60%, 0, 0);
  683. opacity: 0;
  684. }
  685. }
  686. @-webkit-keyframes gzoomIn {
  687. from {
  688. opacity: 0;
  689. -webkit-transform: scale3d(0.3, 0.3, 0.3);
  690. transform: scale3d(0.3, 0.3, 0.3);
  691. }
  692. to {
  693. opacity: 1;
  694. }
  695. }
  696. @keyframes gzoomIn {
  697. from {
  698. opacity: 0;
  699. -webkit-transform: scale3d(0.3, 0.3, 0.3);
  700. transform: scale3d(0.3, 0.3, 0.3);
  701. }
  702. to {
  703. opacity: 1;
  704. }
  705. }
  706. @-webkit-keyframes gzoomOut {
  707. from {
  708. opacity: 1;
  709. }
  710. 50% {
  711. opacity: 0;
  712. -webkit-transform: scale3d(0.3, 0.3, 0.3);
  713. transform: scale3d(0.3, 0.3, 0.3);
  714. }
  715. to {
  716. opacity: 0;
  717. }
  718. }
  719. @keyframes gzoomOut {
  720. from {
  721. opacity: 1;
  722. }
  723. 50% {
  724. opacity: 0;
  725. -webkit-transform: scale3d(0.3, 0.3, 0.3);
  726. transform: scale3d(0.3, 0.3, 0.3);
  727. }
  728. to {
  729. opacity: 0;
  730. }
  731. }
  732. @media (min-width: 769px) {
  733. .glightbox-container .ginner-container {
  734. width: auto;
  735. height: auto;
  736. -webkit-box-orient: horizontal;
  737. -webkit-box-direction: normal;
  738. -ms-flex-direction: row;
  739. flex-direction: row;
  740. }
  741. .glightbox-container .ginner-container.desc-top .gslide-description {
  742. -webkit-box-ordinal-group: 1;
  743. -ms-flex-order: 0;
  744. order: 0;
  745. }
  746. .glightbox-container .ginner-container.desc-top .gslide-image,
  747. .glightbox-container .ginner-container.desc-top .gslide-image img {
  748. -webkit-box-ordinal-group: 2;
  749. -ms-flex-order: 1;
  750. order: 1;
  751. }
  752. .glightbox-container .ginner-container.desc-left .gslide-description {
  753. -webkit-box-ordinal-group: 1;
  754. -ms-flex-order: 0;
  755. order: 0;
  756. }
  757. .glightbox-container .ginner-container.desc-left .gslide-image {
  758. -webkit-box-ordinal-group: 2;
  759. -ms-flex-order: 1;
  760. order: 1;
  761. }
  762. .gslide-image img {
  763. max-height: 97vh;
  764. max-width: 100%;
  765. }
  766. .gslide-image img.zoomable {
  767. cursor: -webkit-zoom-in;
  768. cursor: zoom-in;
  769. }
  770. .zoomed .gslide-image img.zoomable {
  771. cursor: -webkit-grab;
  772. cursor: grab;
  773. }
  774. .gslide-inline {
  775. max-height: 95vh;
  776. }
  777. .gslide-external {
  778. max-height: 100vh;
  779. }
  780. .gslide-description.description-left,
  781. .gslide-description.description-right {
  782. max-width: 275px;
  783. }
  784. .glightbox-open {
  785. height: auto;
  786. }
  787. .goverlay {
  788. background: rgba(0, 0, 0, 0.92);
  789. }
  790. .glightbox-clean .gslide-media {
  791. -webkit-box-shadow: 1px 2px 9px 0px rgba(0, 0, 0, 0.65);
  792. box-shadow: 1px 2px 9px 0px rgba(0, 0, 0, 0.65);
  793. }
  794. .glightbox-clean .description-left .gdesc-inner,
  795. .glightbox-clean .description-right .gdesc-inner {
  796. position: absolute;
  797. height: 100%;
  798. overflow-y: auto;
  799. }
  800. .glightbox-clean .gprev,
  801. .glightbox-clean .gnext,
  802. .glightbox-clean .gclose {
  803. background-color: rgba(0, 0, 0, 0.32);
  804. }
  805. .glightbox-clean .gprev:hover,
  806. .glightbox-clean .gnext:hover,
  807. .glightbox-clean .gclose:hover {
  808. background-color: rgba(0, 0, 0, 0.7);
  809. }
  810. .glightbox-clean .gprev {
  811. top: 45%;
  812. }
  813. .glightbox-clean .gnext {
  814. top: 45%;
  815. }
  816. }
  817. @media (min-width: 992px) {
  818. .glightbox-clean .gclose {
  819. opacity: 0.7;
  820. right: 20px;
  821. }
  822. }
  823. @media screen and (max-height: 420px) {
  824. .goverlay {
  825. background: #000;
  826. }
  827. }