Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
 
 

1027 řádky
21 KiB

  1. // /**
  2. // * Copyright © Magento, Inc. All rights reserved.
  3. // * See COPYING.txt for license details.
  4. // */
  5. @import 'module/_variables.less'; //Default gallery variables
  6. @import '../../css/source/lib/_lib.less'; // Global lib
  7. @import '../../css/source/_theme.less'; // Theme overrides
  8. @import '../../css/source/_variables.less'; // Local theme variables
  9. @import 'module/_mixins.less'; //Mixins in gallery
  10. @import 'module/_extends.less';
  11. @import 'module/_focus.less';
  12. @import 'module/_fullscreen.less';
  13. .fotorama__zoom-in,
  14. .fotorama__zoom-out {
  15. display: none;
  16. }
  17. .fotorama {
  18. min-width: 1px;
  19. overflow: hidden;
  20. }
  21. .fotorama__wrap {
  22. &:extend(.fotorama-no-select);
  23. -webkit-text-size-adjust: 100%;
  24. direction: ltr;
  25. position: relative;
  26. z-index: 0;
  27. }
  28. .fotorama__wrap--rtl {
  29. .fotorama__stage__frame {
  30. direction: rtl;
  31. }
  32. }
  33. .fotorama__stage,
  34. .fotorama__nav {
  35. max-width: 100%;
  36. overflow: hidden;
  37. position: relative;
  38. }
  39. .fotorama__wrap--pan-y {
  40. -ms-touch-action: pan-y;
  41. }
  42. .fotorama__stage__shaft {
  43. &:extend(.fotorama-stretch);
  44. &:extend(.fotorama-no-tap);
  45. position: relative;
  46. }
  47. .fotorama__wrap {
  48. .fotorama__pointer {
  49. cursor: pointer;
  50. }
  51. .fotorama__grab {
  52. &:extend(.fotorama-grab-cursor);
  53. }
  54. }
  55. .fotorama__wrap--slide {
  56. .fotorama__stage__frame {
  57. opacity: 1 !important;
  58. }
  59. }
  60. .fotorama__grabbing * {
  61. &:extend(.fotorama-grabbing-cursor);
  62. }
  63. .fotorama__stage__frame {
  64. &:extend(.fotorama-no-tap);
  65. &:extend(.fotorama-stretch);
  66. overflow: hidden;
  67. &.fotorama__active {
  68. z-index: 8;
  69. }
  70. }
  71. .fotorama__wrap--fade {
  72. .fotorama__stage__frame {
  73. display: none;
  74. }
  75. .fotorama__stage__frame.fotorama__active,
  76. .fotorama__fade-front,
  77. .fotorama__fade-rear {
  78. display: block;
  79. left: 0;
  80. top: 0;
  81. }
  82. .fotorama__fade-front {
  83. z-index: 8;
  84. }
  85. .fotorama__fade-rear {
  86. z-index: 7;
  87. &.fotorama__active {
  88. z-index: 9;
  89. }
  90. }
  91. .fotorama__stage .fotorama__shadow {
  92. display: none;
  93. }
  94. }
  95. .fotorama__img {
  96. border: none !important;
  97. max-width: inherit;
  98. opacity: 0;
  99. .fotorama__loaded &,
  100. .fotorama__error & {
  101. opacity: 1;
  102. }
  103. }
  104. .fotorama__img--full {
  105. display: none;
  106. }
  107. .fotorama__html {
  108. &:extend(.fotorama-stretch);
  109. }
  110. .fotorama__nav {
  111. &:extend(.fotorama-auto-margin);
  112. &:extend(.fotorama-no-tap);
  113. display: none;
  114. font-size: 0;
  115. line-height: 0;
  116. white-space: nowrap;
  117. z-index: 5;
  118. }
  119. .fotorama__nav__shaft {
  120. &:extend(.fotorama-inline-block);
  121. &:extend(.fotorama-no-tap);
  122. left: 0;
  123. position: relative;
  124. text-align: left;
  125. top: 0;
  126. }
  127. .fotorama__nav__frame {
  128. &:extend(.fotorama-auto-margin);
  129. &:extend(.fotorama-content-box);
  130. &:extend(.fotorama-focus);
  131. &:extend(.fotorama-inline-block);
  132. &:extend(.fotorama-no-tap);
  133. position: relative;
  134. }
  135. .fotorama__nav--dots {
  136. display: block;
  137. text-align: center;
  138. .fotorama__nav__frame {
  139. height: 30px;
  140. width: 18px;
  141. }
  142. .fotorama__nav__frame--thumb,
  143. .fotorama__thumb-border {
  144. display: none;
  145. }
  146. }
  147. .fotorama__nav--thumbs {
  148. display: block;
  149. .fotorama__nav__frame {
  150. padding-left: 0 !important;
  151. &:last-child {
  152. padding-right: 0 !important;
  153. }
  154. }
  155. .fotorama__nav__frame--dot {
  156. display: none;
  157. }
  158. }
  159. .fotorama__active {
  160. .fotorama__dot {
  161. background-color: @active__color;
  162. border-color: @active__color;
  163. }
  164. }
  165. .fotorama__nav__frame {
  166. &.fotorama__active & {
  167. border-width: 3px;
  168. height: 0;
  169. width: 0;
  170. &:after {
  171. left: -3px;
  172. padding: 3px;
  173. top: -3px;
  174. }
  175. }
  176. }
  177. .fotorama__nav__frame:focus & {
  178. &:extend(.fotorama-focus-overlay);
  179. box-shadow: none;
  180. &:after {
  181. left: -1px;
  182. padding: 1px;
  183. top: -1px;
  184. }
  185. }
  186. .fotorama__dot {
  187. border-radius: 6px;
  188. border: 1px solid @color-gray52;
  189. display: block;
  190. height: 4px;
  191. left: 6px;
  192. position: relative;
  193. top: 12px;
  194. width: 4px;
  195. }
  196. .fotorama__thumb {
  197. background-color: @color-gray92;
  198. height: 100%;
  199. overflow: hidden;
  200. position: relative;
  201. width: 100%;
  202. .fotorama__nav__frame:focus & {
  203. &:extend(.fotorama-focus-overlay);
  204. z-index: 2;
  205. }
  206. }
  207. .fotorama__thumb-border {
  208. &:extend(.fotorama-border-box);
  209. &:extend(.fotorama-print-background);
  210. backface-visibility: hidden;
  211. background-image: linear-gradient(to bottom right, rgba(255, 255, 255, 0.25), rgba(64, 64, 64, 0.1));
  212. border: 1px solid @active__color;
  213. left: 0;
  214. position: absolute;
  215. top: 0;
  216. z-index: 9;
  217. }
  218. .fotorama__caption {
  219. &:extend(.fotorama-gpu);
  220. bottom: 0;
  221. color: @color-black;
  222. font-size: 14px;
  223. left: 0;
  224. line-height: 1.5;
  225. position: absolute;
  226. right: 0;
  227. z-index: 12;
  228. a {
  229. border-bottom: 1px solid;
  230. border-color: fade(@color-black, 0.5);
  231. color: @color-black;
  232. text-decoration: none;
  233. &:hover {
  234. border-color: fade(@color-black, 0.5);
  235. color: @color-black;
  236. }
  237. }
  238. .fotorama__wrap--rtl & {
  239. left: auto;
  240. right: 0;
  241. }
  242. .fotorama__wrap--video &,
  243. .fotorama__wrap--no-captions & {
  244. display: none;
  245. }
  246. }
  247. .fotorama__caption__wrap {
  248. &:extend(.fotorama-border-box);
  249. &:extend(.fotorama-inline-block);
  250. background-color: @color-white;
  251. padding: 5px 10px;
  252. }
  253. .fotorama--hidden {
  254. &:extend(.fotorama-hidden);
  255. }
  256. @keyframes spinner {
  257. 0% {
  258. transform: rotate(0deg);
  259. }
  260. 100% {
  261. transform: rotate(360deg);
  262. }
  263. }
  264. .fotorama__spinner {
  265. .fotorama-abs-center();
  266. }
  267. .fotorama__wrap--css3 {
  268. .fotorama__stage__shaft,
  269. .fotorama__nav__shaft,
  270. .fotorama__thumb-border {
  271. &:extend(.fotorama-transition-for-slide);
  272. }
  273. .fotorama__spinner {
  274. &:extend(.fotorama-gpu);
  275. animation: spinner 24s infinite linear;
  276. }
  277. .fotorama__stage,
  278. .fotorama__nav,
  279. .fotorama__stage__frame {
  280. &:extend(.fotorama-gpu);
  281. }
  282. .fotorama__html {
  283. &:extend(.fotorama-gpu);
  284. transition-duration: @fotorama-duration-time;
  285. transition-property: opacity;
  286. transition-timing-function: linear;
  287. }
  288. }
  289. .fotorama__wrap--video {
  290. .fotorama__stage__shaft,
  291. .fotorama__stage,
  292. .fotorama__stage__frame--video {
  293. &:extend(.fotorama-transform-disabled);
  294. }
  295. .fotorama__stage__frame--video {
  296. .fotorama__img,
  297. .fotorama__html {
  298. &:extend(.fotorama-transform-disabled);
  299. opacity: 0;
  300. }
  301. }
  302. }
  303. .fotorama__select {
  304. &:extend(.fotorama-select);
  305. cursor: auto;
  306. }
  307. .fotorama__no-select {
  308. &:extend(.fotorama-no-select);
  309. }
  310. .fotorama__load {
  311. &:extend(.fotorama-hidden);
  312. }
  313. .fotorama__video {
  314. bottom: 0;
  315. left: 0;
  316. position: absolute;
  317. right: 0;
  318. top: 32px;
  319. z-index: 10;
  320. iframe {
  321. &:extend(.fotorama-stretch);
  322. }
  323. }
  324. @-moz-document url-prefix() {
  325. .fotorama__active {
  326. box-shadow: 0 0 0 transparent;
  327. }
  328. }
  329. .fotorama__arr,
  330. .fotorama__fullscreen-icon,
  331. .fotorama__video-close {
  332. &:extend(.fotorama-no-select);
  333. &:extend(.fotorama-no-tap);
  334. cursor: pointer;
  335. position: absolute;
  336. }
  337. .fotorama__arr {
  338. z-index: @z-index-9;
  339. }
  340. .fotorama__fullscreen-icon,
  341. .fotorama__zoom-out,
  342. .fotorama__zoom-in,
  343. .fotorama__video-close {
  344. z-index: @z-index-10;
  345. }
  346. .fotorama__arr {
  347. &:extend(.fotorama-border-box);
  348. bottom: 0;
  349. position: absolute;
  350. top: 0;
  351. width: @fotorama-arw-size;
  352. ._block-content-loading & {
  353. opacity: 0;
  354. }
  355. .fotorama__arr__arr {
  356. &:extend(.fotorama-sprite);
  357. .fotorama-abs-center();
  358. height: @size-fotorama-block;
  359. width: @size-fotorama-block;
  360. }
  361. }
  362. .fotorama__arr--prev {
  363. left: 0;
  364. .fotorama__arr__arr {
  365. background-position: -@size-fotorama-block -@size-fotorama-block;
  366. }
  367. }
  368. .fotorama__arr--next {
  369. right: 0;
  370. .fotorama__arr__arr {
  371. background-position: (-@size-fotorama-block*2) (-@size-fotorama-block);
  372. }
  373. }
  374. .fotorama__arr--disabled {
  375. cursor: default;
  376. opacity: 0;
  377. pointer-events: none;
  378. }
  379. .fotorama__fullscreen-icon {
  380. &:extend(.fotorama-sprite);
  381. background-position: 0 0;
  382. display: none;
  383. height: @size-fotorama-block;
  384. right: 0;
  385. top: 0;
  386. width: @size-fotorama-block;
  387. z-index: @z-index-10;
  388. }
  389. .fotorama--fullscreen-icons {
  390. .fotorama__fullscreen-icon {
  391. display: none;
  392. }
  393. }
  394. .fotorama__fullscreen-icon,
  395. .fotorama__zoom-out,
  396. .fotorama__zoom-in {
  397. &:focus {
  398. &:extend(.fotorama-focus);
  399. }
  400. }
  401. .fotorama--fullscreen {
  402. .fotorama__fullscreen-icon {
  403. background-position: (-@size-fotorama-block) 0;
  404. display: inline-block;
  405. }
  406. }
  407. .fotorama__video-play {
  408. &:extend(.fotorama-sprite);
  409. .fotorama-abs-center();
  410. background-position: (-@size-fotorama-block) (-@size-fotorama-block*2);
  411. height: @size-fotorama-block * 2;
  412. width: @size-fotorama-block * 2;
  413. .fotorama__wrap--css2 &,
  414. .fotorama__wrap--video .fotorama__stage & {
  415. display: none;
  416. }
  417. .fotorama__loaded &,
  418. .fotorama__error &,
  419. .fotorama__nav__frame & {
  420. display: block;
  421. opacity: 1;
  422. }
  423. .fotorama__nav__frame & {
  424. background-position: 0 (-@size-fotorama-block*3);
  425. height: @size-fotorama-block;
  426. width: @size-fotorama-block;
  427. }
  428. }
  429. .fotorama__wrap--no-controls.fotorama__wrap--toggle-arrows {
  430. .fotorama__arr,
  431. .fotorama__fullscreen-icon {
  432. opacity: 0;
  433. &:focus {
  434. opacity: 1;
  435. }
  436. }
  437. }
  438. .fotorama__wrap--toggle-arrows {
  439. &:not(.fotorama__wrap--video) {
  440. .fotorama__video-close {
  441. display: none;
  442. }
  443. }
  444. }
  445. .fotorama__wrap--toggle-arrows {
  446. &.fotorama__wrap--video {
  447. .fotorama__video-close {
  448. opacity: 1;
  449. right: 93px;
  450. top: 97px;
  451. }
  452. }
  453. }
  454. .fotorama__wrap--toggle-arrows {
  455. &:not(.fotorama__wrap--video) {
  456. .fotorama__video-close {
  457. display: none;
  458. }
  459. }
  460. }
  461. .fotorama__wrap--toggle-arrows {
  462. &.fotorama__wrap--video {
  463. .fotorama__video-close {
  464. opacity: 1;
  465. right: 93px;
  466. top: 97px;
  467. }
  468. }
  469. }
  470. .fotorama__wrap--toggle-arrows {
  471. &:not(.fotorama__wrap--video) {
  472. .fotorama__video-close {
  473. display: none;
  474. }
  475. }
  476. }
  477. .fotorama__wrap--toggle-arrows {
  478. &.fotorama__wrap--video {
  479. .fotorama__video-close {
  480. opacity: 1;
  481. right: 93px;
  482. top: 97px;
  483. }
  484. }
  485. }
  486. .fotorama__wrap--video {
  487. .fotorama__arr,
  488. .fotorama__fullscreen-icon {
  489. opacity: 0 !important;
  490. }
  491. }
  492. .fotorama__wrap--css2 {
  493. &.fotorama__wrap--no-controls.fotorama__wrap--toggle-arrows {
  494. .fotorama__arr,
  495. .fotorama__fullscreen-icon {
  496. display: none;
  497. &:focus {
  498. display: block;
  499. }
  500. }
  501. }
  502. &.fotorama__wrap--video {
  503. .fotorama__arr,
  504. .fotorama__fullscreen-icon {
  505. display: none !important;
  506. }
  507. }
  508. }
  509. .fotorama__wrap--css3 {
  510. &.fotorama__wrap--no-controls.fotorama__wrap--slide.fotorama__wrap--toggle-arrows {
  511. .fotorama__fullscreen-icon:not(:focus) {
  512. .fotorama-translate3d(@fotorama-arw-size, -@fotorama-arw-size, 0);
  513. }
  514. .fotorama__arr--prev:not(:focus) {
  515. .fotorama-translate3d(-@fotorama-arw-size * 1.5, 0, 0);
  516. }
  517. .fotorama__arr--next:not(:focus) {
  518. .fotorama-translate3d(@fotorama-arw-size * 1.5, 0, 0);
  519. }
  520. }
  521. &.fotorama__wrap--video {
  522. .fotorama__fullscreen-icon {
  523. .fotorama-translate3d(@fotorama-arw-size, -@fotorama-arw-size, 0) !important;
  524. }
  525. .fotorama__arr--prev {
  526. .fotorama-translate3d(-@fotorama-arw-size * 1.5, 0, 0) !important;
  527. }
  528. .fotorama__arr--next {
  529. .fotorama-translate3d(@fotorama-arw-size * 1.5, 0, 0) !important;
  530. }
  531. }
  532. }
  533. .fotorama__wrap--css3 {
  534. .fotorama__arr:not(:focus),
  535. .fotorama__fullscreen-icon:not(:focus),
  536. .fotorama__video-play:not(:focus),
  537. .fotorama__video-close:not(:focus) {
  538. transition-duration: @fotorama-duration-time;
  539. transition-property: transform, opacity, background-color;
  540. }
  541. }
  542. .fotorama__stage,
  543. .fotorama__nav {
  544. &:before,
  545. &:after {
  546. &:extend(.fotorama-gpu);
  547. background-repeat: no-repeat;
  548. content: '';
  549. display: block;
  550. pointer-events: none;
  551. position: absolute;
  552. text-decoration: none;
  553. z-index: 10;
  554. }
  555. &:before {
  556. left: -10px;
  557. top: -10px;
  558. }
  559. &:after {
  560. right: -10px;
  561. bottom: -10px;
  562. }
  563. &.fotorama__shadows--left:before,
  564. &.fotorama__shadows--right:after {
  565. background-size: 1px 100%, 5px 100%;
  566. bottom: 0;
  567. height: auto;
  568. top: 0;
  569. width: 10px;
  570. }
  571. &.fotorama__shadows--top:before,
  572. &.fotorama__shadows--bottom:after {
  573. background-size: 100% 1px, 100% 5px ;
  574. height:10px;
  575. left: 0;
  576. right:0;
  577. width:auto;
  578. }
  579. &.fotorama__shadows--left:before {
  580. .fotorama-shadow-gradient(0, 50%);
  581. background-position: 0 0, 0 0;
  582. left: 0;
  583. }
  584. &.fotorama__shadows--right:after {
  585. .fotorama-shadow-gradient(100%, 50%);
  586. background-position: 100% 0, 100% 0;
  587. right: 0;
  588. }
  589. &.fotorama__shadows--top:before {
  590. .fotorama-shadow-gradient(50%, 0);
  591. background-position: 0 0, 0 0;
  592. top:0;
  593. }
  594. &.fotorama__shadows--bottom:after {
  595. .fotorama-shadow-gradient(50%, 100%);
  596. background-position: 0 100%, 0 100%;
  597. bottom:0;
  598. }
  599. }
  600. .fotorama--fullscreen .fotorama__stage,
  601. .fotorama--fullscreen .fotorama__nav,
  602. .fotorama__wrap--no-shadows .fotorama__stage,
  603. .fotorama__wrap--no-shadows .fotorama__nav,
  604. .fotorama__wrap--fade .fotorama__stage {
  605. &:before,
  606. &:after {
  607. display: none;
  608. }
  609. }
  610. .fotorama-abs-center() {
  611. .fotorama-translate3d(-50%, -50%, 0);
  612. left: 50%;
  613. position: absolute;
  614. top: 50%;
  615. }
  616. .fotorama__nav-wrap {
  617. .fotorama_vertical_ratio {
  618. .fotorama__img {
  619. .translateY(-50%);
  620. height: auto;
  621. position: absolute;
  622. top: 50%;
  623. width: 100%;
  624. }
  625. }
  626. .fotorama_horizontal_ratio {
  627. .fotorama__img {
  628. .translate(-50%, -50%);
  629. top: 50%;
  630. left: 50%;
  631. position: absolute;
  632. width: auto;
  633. }
  634. }
  635. }
  636. .magnifier-thumb-wrapper {
  637. display: block;
  638. left: 0;
  639. position: relative;
  640. top: 0;
  641. }
  642. .magnifier-lens {
  643. border: solid 1px @color-gray-light2;
  644. left: 0;
  645. overflow: hidden;
  646. position: absolute;
  647. top: 0;
  648. z-index: @z-index-8;
  649. }
  650. .magnify-lens {
  651. background: rgba(255, 255, 255, 0.5);
  652. border: solid 1px @color-gray-light2;
  653. color: @color-white;
  654. left: 0;
  655. position: absolute;
  656. text-align: center;
  657. top: 0;
  658. z-index: @z-index-10;
  659. overflow: hidden;
  660. .magnifier-large {
  661. width: auto;
  662. height: auto;
  663. max-height: none;
  664. max-width: none;
  665. border: none;
  666. position: absolute;
  667. z-index: @z-index-1;
  668. }
  669. }
  670. .magnifier-loader-text {
  671. margin-top: 10px;
  672. }
  673. .magnifier-preview {
  674. bottom: 0;
  675. left: 58%;
  676. overflow: hidden;
  677. padding: 0;
  678. position: absolute;
  679. z-index: 2;
  680. top: 215px;
  681. &:not(.hidden) {
  682. background-color: @color-white;
  683. }
  684. img {
  685. left: 0;
  686. max-width: inherit;
  687. max-height: inherit;
  688. position: absolute;
  689. top: 0;
  690. object-fit: scale-down;
  691. }
  692. }
  693. .fotorama__stage__frame {
  694. text-align: center;
  695. .fotorama__img {
  696. height: auto;
  697. left: 50%;
  698. max-height: 100%;
  699. max-width: 100%;
  700. position: absolute;
  701. top: 50%;
  702. @media all and (min-width: 768px) {
  703. top:49.5%;
  704. }
  705. .fotorama-translate3d(-50%, -50%, 0);
  706. transition-duration: @fotorama-fullscreen-zoom-time;
  707. transition-property: width, height, top, left;
  708. vertical-align: middle;
  709. width: auto;
  710. }
  711. }
  712. .magnify-opaque {
  713. opacity: .5;
  714. }
  715. .magnify-hidden {
  716. display: none;
  717. }
  718. .fotorama__nav-wrap--vertical {
  719. &.fotorama__nav-wrap {
  720. display: inline-block;
  721. left: 0;
  722. position: absolute;
  723. top: 0;
  724. }
  725. .fotorama__nav__shaft {
  726. background-color: white;
  727. width: 100%;
  728. .fotorama__nav__frame--thumb {
  729. display: block;
  730. padding-bottom: inherit !important;
  731. }
  732. }
  733. }
  734. .fotorama--fullscreen {
  735. .fotorama__stage__frame {
  736. .fotorama__img {
  737. display: none;
  738. }
  739. .fotorama__img,
  740. .fotorama__img--full {
  741. bottom: 0;
  742. left: 0;
  743. margin: auto;
  744. max-height: inherit;
  745. max-width: inherit;
  746. position: absolute;
  747. right: 0;
  748. top: 0;
  749. }
  750. .fotorama__img--full {
  751. cursor: default;
  752. display: block;
  753. height: auto;
  754. left: 0;
  755. margin: auto;
  756. max-height: 100%;
  757. max-width: 100%;
  758. top: 0;
  759. transition: @fotorama-fullscreen-zoom-time linear;
  760. vertical-align: middle;
  761. width: auto;
  762. &:extend(.fotorama-gpu);
  763. &.fotorama__img--zoommable {
  764. cursor: pointer;
  765. max-height: none;
  766. max-width: none;
  767. transition-property: width, height, bottom, right, top, left;
  768. }
  769. &.fotorama__img--draggable {
  770. cursor: move;
  771. transition-property: none;
  772. }
  773. }
  774. iframe {
  775. left: @fotorama-arw-size;
  776. width: calc(~'100% - @{fotorama-arw-size} * 2');
  777. }
  778. }
  779. }
  780. .fotorama__nav-wrap--horizontal {
  781. .fotorama__thumb__arr--left,
  782. .fotorama__thumb__arr--right {
  783. bottom: 0;
  784. cursor: pointer;
  785. position: absolute;
  786. top: 0;
  787. width: @fotorama-thumb-arrow;
  788. z-index: @z-index-10;
  789. .fotorama__thumb--icon {
  790. .fotorama-abs-center();
  791. width: 100%;
  792. }
  793. }
  794. .fotorama__thumb__arr--left {
  795. left: 0;
  796. }
  797. .fotorama__thumb__arr--right {
  798. right: 0;
  799. }
  800. }
  801. .fotorama__nav-wrap--vertical {
  802. .fotorama__thumb__arr--left,
  803. .fotorama__thumb__arr--right {
  804. cursor: pointer;
  805. height: @fotorama-thumb-arrow;
  806. left: 0;
  807. position: absolute;
  808. right: 0;
  809. z-index: @z-index-10;
  810. .fotorama__thumb--icon {
  811. .fotorama-rotate(90deg);
  812. margin: auto;
  813. width: @fotorama-thumb-arrow;
  814. }
  815. }
  816. .fotorama__thumb__arr--left {
  817. top: 0;
  818. }
  819. .fotorama__thumb__arr--right {
  820. bottom: 0;
  821. }
  822. }
  823. .fotorama__wrap--only-active {
  824. .fotorama__stage,
  825. .fotorama__nav {
  826. max-width: 99999px !important;
  827. }
  828. .fotorama__stage__frame {
  829. visibility: hidden;
  830. }
  831. .fotorama__stage__frame.fotorama__active {
  832. visibility: visible;
  833. }
  834. }
  835. .fotorama__thumb--icon {
  836. &:extend(.fotorama-sprite);
  837. font-size: 0.001px;
  838. padding-bottom: @fotorama-thumb-arrow;
  839. }
  840. .fotorama__thumb__arr--left {
  841. .fotorama__thumb--icon {
  842. background-position: -25px -265px;
  843. }
  844. }
  845. .fotorama__thumb__arr--right {
  846. .fotorama__thumb--icon {
  847. background-position: -25px -350px;
  848. }
  849. }
  850. .magnify-fullimage {
  851. display: none;
  852. }
  853. .fotorama__arr,
  854. .fotorama__thumb__arr {
  855. .fotorama-button-background();
  856. }
  857. .fotorama__wrap:not(.fotorama__wrap--toggle-arrows) {
  858. .fotorama__fullscreen-icon,
  859. .fotorama__zoom-out,
  860. .fotorama__zoom-in{
  861. .fotorama-button-background();
  862. }
  863. }
  864. .fotorama__video-close {
  865. &:extend(.fotorama-sprite);
  866. background-position: (-@fotorama_close_button) 0;
  867. height: @fotorama_close_button;
  868. opacity: 0;
  869. right: 0;
  870. top: 0;
  871. transform: translate3d((@fotorama_close_button), (-@fotorama_close_button), 0);
  872. transition: opacity 0.3s ease-in-out;
  873. width: @fotorama_close_button;
  874. @media all and (max-width: 768px) {
  875. background-position: -100px -20px;
  876. top: 10px;
  877. height: 40px;
  878. width: 40px;
  879. }
  880. &.fotorama-show-control {
  881. opacity: 1;
  882. transform: translate3d(0, -10px, 0);
  883. }
  884. }
  885. // While first time init
  886. .gallery-placeholder {
  887. &__image {
  888. display: block;
  889. margin: auto;
  890. }
  891. }
  892. // Styles for spinner in gallery.
  893. .fotorama__spinner {
  894. background-image: url('@{baseDir}../images/loader-1.gif');
  895. bottom: 0;
  896. display: none;
  897. height: @fotorama-spinner-size;
  898. left: 0;
  899. margin: auto;
  900. position: absolute;
  901. right: 0;
  902. top: 0;
  903. width: @fotorama-spinner-size;
  904. z-index: @z-index-1;
  905. &.fotorama__spinner--show {
  906. display: block;
  907. }
  908. }
  909. .fotorama__product-video--loaded {
  910. .fotorama__img, .fotorama__img--full {
  911. display: none !important;
  912. }
  913. }
  914. .fotorama__stage {
  915. .fotorama__arr--shown {
  916. display: block !important;
  917. }
  918. .fotorama__arr--hidden {
  919. display: none !important;
  920. }
  921. }