_extends.less 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. // /**
  2. // * Copyright © Magento, Inc. All rights reserved.
  3. // * See COPYING.txt for license details.
  4. // */
  5. .fotorama-stretch {
  6. bottom: 0;
  7. height: 100%;
  8. left: 0;
  9. position: absolute;
  10. right: 0;
  11. top: 0;
  12. width: 100%;
  13. }
  14. .fotorama-grab-cursor {
  15. cursor: move;
  16. cursor: -webkit-grab;
  17. cursor: -moz-grab;
  18. cursor: -o-grab;
  19. cursor: -ms-grab;
  20. cursor: grab;
  21. }
  22. .fotorama-grabbing-cursor {
  23. cursor: move;
  24. cursor: -webkit-grabbing;
  25. cursor: -moz-grabbing;
  26. cursor: -o-grabbing;
  27. cursor: -ms-grabbing;
  28. cursor: grabbing;
  29. }
  30. .fotorama-gpu {
  31. transform: translateZ(0);
  32. }
  33. .fotorama-focus {
  34. outline: 0;
  35. }
  36. .fotorama-focus-overlay {
  37. &:after {
  38. &:extend(.fotorama-stretch);
  39. background-color: @theme__color__primary-alt;
  40. border-radius: inherit;
  41. content: '';
  42. }
  43. }
  44. .fotorama-transform-disabled {
  45. transform: none !important;
  46. }
  47. .fotorama-transition-for-slide {
  48. transition-duration: 0ms;
  49. transition-property: transform, width;
  50. transition-timing-function: cubic-bezier(0.1, 0, 0.25, 1);
  51. }
  52. .fotorama-no-select {
  53. user-select: none;
  54. }
  55. .fotorama-select {
  56. user-select: text;
  57. }
  58. .fotorama-empty-bg {
  59. background: url(data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=);
  60. }
  61. .fotorama-auto-margin {
  62. margin: auto;
  63. padding: 0;
  64. }
  65. .fotorama-inline-block {
  66. .fotorama-inline-block();
  67. }
  68. .fotorama-content-box {
  69. box-sizing: content-box;
  70. }
  71. .fotorama-border-box {
  72. box-sizing: border-box;
  73. }
  74. .fotorama-hidden {
  75. left: -99999px;
  76. position: absolute;
  77. top: -99999px;
  78. z-index: -@z-index-10;
  79. }
  80. .fotorama-visible {
  81. left: auto;
  82. opacity: 1;
  83. position: relative;
  84. top: auto;
  85. z-index: auto;
  86. }
  87. .fotorama-no-tap {
  88. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  89. }
  90. .transitionDuration {
  91. transition-duration: 333ms;
  92. }
  93. .transitionDurationZero {
  94. transition-duration: 0ms;
  95. }
  96. .fotorama-sprite {
  97. &:extend(.fotorama-print-background);
  98. background-image: url('gallery.png');
  99. background-repeat: no-repeat;
  100. }
  101. .fotorama-print-background {
  102. @media print {
  103. background: none !important;
  104. }
  105. }