init
This commit is contained in:
@@ -0,0 +1,127 @@
|
||||
// /**
|
||||
// * Copyright © Magento, Inc. All rights reserved.
|
||||
// * See COPYING.txt for license details.
|
||||
// */
|
||||
|
||||
.fotorama-stretch {
|
||||
bottom: 0;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.fotorama-grab-cursor {
|
||||
cursor: move;
|
||||
cursor: -webkit-grab;
|
||||
cursor: -moz-grab;
|
||||
cursor: -o-grab;
|
||||
cursor: -ms-grab;
|
||||
cursor: grab;
|
||||
}
|
||||
|
||||
.fotorama-grabbing-cursor {
|
||||
cursor: move;
|
||||
cursor: -webkit-grabbing;
|
||||
cursor: -moz-grabbing;
|
||||
cursor: -o-grabbing;
|
||||
cursor: -ms-grabbing;
|
||||
cursor: grabbing;
|
||||
}
|
||||
|
||||
.fotorama-gpu {
|
||||
transform: translateZ(0);
|
||||
}
|
||||
|
||||
.fotorama-focus {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.fotorama-focus-overlay {
|
||||
&:after {
|
||||
&:extend(.fotorama-stretch);
|
||||
background-color: @theme__color__primary-alt;
|
||||
border-radius: inherit;
|
||||
content: '';
|
||||
}
|
||||
}
|
||||
|
||||
.fotorama-transform-disabled {
|
||||
transform: none !important;
|
||||
}
|
||||
|
||||
.fotorama-transition-for-slide {
|
||||
transition-duration: 0ms;
|
||||
transition-property: transform, width;
|
||||
transition-timing-function: cubic-bezier(0.1, 0, 0.25, 1);
|
||||
}
|
||||
|
||||
.fotorama-no-select {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.fotorama-select {
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
.fotorama-empty-bg {
|
||||
background: url(data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=);
|
||||
}
|
||||
|
||||
.fotorama-auto-margin {
|
||||
margin: auto;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.fotorama-inline-block {
|
||||
.fotorama-inline-block();
|
||||
}
|
||||
|
||||
.fotorama-content-box {
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
.fotorama-border-box {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.fotorama-hidden {
|
||||
left: -99999px;
|
||||
position: absolute;
|
||||
top: -99999px;
|
||||
z-index: -@z-index-10;
|
||||
}
|
||||
|
||||
.fotorama-visible {
|
||||
left: auto;
|
||||
opacity: 1;
|
||||
position: relative;
|
||||
top: auto;
|
||||
z-index: auto;
|
||||
}
|
||||
|
||||
.fotorama-no-tap {
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
.transitionDuration {
|
||||
transition-duration: 333ms;
|
||||
}
|
||||
|
||||
.transitionDurationZero {
|
||||
transition-duration: 0ms;
|
||||
}
|
||||
|
||||
.fotorama-sprite {
|
||||
&:extend(.fotorama-print-background);
|
||||
background-image: url('gallery.png');
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.fotorama-print-background {
|
||||
@media print {
|
||||
background: none !important;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
// /**
|
||||
// * Copyright © Magento, Inc. All rights reserved.
|
||||
// * See COPYING.txt for license details.
|
||||
// */
|
||||
|
||||
.fotorama__fullscreen-icon:focus,
|
||||
.fotorama__zoom-out:focus,
|
||||
.fotorama__zoom-in:focus,
|
||||
.fotorama__arr:focus,
|
||||
.fotorama__stage__shaft:focus,
|
||||
.fotorama__nav__frame--thumb:focus .fotorama__thumb,
|
||||
.fotorama__nav__frame--dot:focus .fotorama__dot {
|
||||
box-shadow: none;
|
||||
&:after {
|
||||
border-radius: inherit;
|
||||
bottom: @fotorama-inner-box-shadow;
|
||||
box-shadow: @focus__box-shadow;
|
||||
content: '';
|
||||
left: @fotorama-inner-box-shadow;
|
||||
position: absolute;
|
||||
right: @fotorama-inner-box-shadow;
|
||||
top: @fotorama-inner-box-shadow;
|
||||
z-index: @z-index-10;
|
||||
}
|
||||
}
|
||||
|
||||
.fotorama__nav__frame--thumb:focus,
|
||||
.fotorama__nav__frame--dot:focus {
|
||||
.fotorama__thumb:after,
|
||||
.fotorama__dot:after{
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
.fotorama__thumb.fotorama_vertical_ratio:after {
|
||||
left: 2px;
|
||||
right: 2px;
|
||||
}
|
||||
.fotorama__thumb {
|
||||
overflow: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
.fotorama__nav__frame:nth-child(2):focus {
|
||||
.fotorama__thumb:after{
|
||||
left: 1px;
|
||||
}
|
||||
.fotorama__thumb.fotorama_vertical_ratio:after{
|
||||
top: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
.fotorama__nav__frame:last-child:focus {
|
||||
.fotorama__thumb:after{
|
||||
right: 1px;
|
||||
}
|
||||
.fotorama__thumb.fotorama_vertical_ratio:after{
|
||||
bottom: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
.fotorama__thumb__arr {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
// /**
|
||||
// * Copyright © Magento, Inc. All rights reserved.
|
||||
// * See COPYING.txt for license details.
|
||||
// */
|
||||
|
||||
.fotorama--fullscreen {
|
||||
background: @color-white;
|
||||
bottom: 0 !important;
|
||||
float: none !important;
|
||||
left: 0 !important;
|
||||
margin: 0 !important;
|
||||
position: fixed !important;
|
||||
right: 0 !important;
|
||||
top: 0 !important;
|
||||
width: 100% !important;
|
||||
z-index: @z-index-10 !important;
|
||||
&:extend(.fotorama-gpu);
|
||||
.fotorama__wrap {
|
||||
max-width: 100% !important;
|
||||
}
|
||||
}
|
||||
|
||||
.fotorama__fullscreen {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
.fotorama__zoom-in,
|
||||
.fotorama__zoom-out {
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
height: @size-fotorama-block;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
width: @size-fotorama-block;
|
||||
|
||||
}
|
||||
.fotorama__zoom-out {
|
||||
&:extend(.fotorama-sprite);
|
||||
background-position: 0 (-@size-fotorama-block) !important;
|
||||
top: 80px;
|
||||
&.fotorama__zoom-out--disabled {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.fotorama__zoom-in {
|
||||
&:extend(.fotorama-sprite);
|
||||
background-position: 0 0 !important;
|
||||
top: 0;
|
||||
&.fotorama__zoom-in--disabled {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.fotorama__video-close {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.fotorama--fullscreen .fotorama__loaded--full {
|
||||
.fotorama__img {
|
||||
display: none;
|
||||
}
|
||||
.fotorama__img--full {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
// /**
|
||||
// * Copyright © Magento, Inc. All rights reserved.
|
||||
// * See COPYING.txt for license details.
|
||||
// */
|
||||
|
||||
.fotorama-translate3d(@x; @y; @z) {
|
||||
-webkit-transform: translate3d(@x, @y, @z);
|
||||
-ms-transform: translate3d(@x, @y, @z);
|
||||
-o-transform: translate3d(@x, @y, @z);
|
||||
transform: translate3d(@x, @y, @z);
|
||||
}
|
||||
|
||||
.fotorama-rotate (@deg) {
|
||||
-webkit-transform: rotate(@deg);
|
||||
-ms-transform: rotate(@deg);
|
||||
transform: rotate(@deg);
|
||||
}
|
||||
|
||||
.translateX(@value) {
|
||||
-webkit-transform: translateX(@value);
|
||||
-ms-transform: translateX(@value);
|
||||
-o-transform: translateX(@value);
|
||||
transform: translateX(@value);
|
||||
}
|
||||
|
||||
.translateY(@value) {
|
||||
-webkit-transform: translateY(@value);
|
||||
-ms-transform: translateY(@value);
|
||||
-o-transform: translateY(@value);
|
||||
transform: translateY(@value);
|
||||
}
|
||||
|
||||
.translate(@x, @y) {
|
||||
-webkit-transform: translate(@x, @y);
|
||||
-ms-transform: translateY(@x, @y);
|
||||
-o-transform: translateY(@x, @y);
|
||||
transform: translateY(@x, @y);
|
||||
}
|
||||
|
||||
.fotorama-shadow-gradient(@x, @y) {
|
||||
background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.2) 25%, rgba(0, 0, 0, 0.3) 75%, transparent), radial-gradient(farthest-side at @x @y, rgba(0, 0, 0, 0.4), transparent);
|
||||
}
|
||||
|
||||
.fotorama-inline-block(@va: middle) {
|
||||
*display: inline;
|
||||
*zoom: 1;
|
||||
-moz-box-orient: vertical;
|
||||
display: -moz-inline-box;
|
||||
display: inline-block;
|
||||
vertical-align: @va;
|
||||
}
|
||||
|
||||
.fotorama-button-background() {
|
||||
background-color: rgba(255, 255, 255, 0.3);
|
||||
transition: background-color @fotorama-duration-time ease-in-out;
|
||||
&:hover {
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
&:active {
|
||||
background-color: rgba(213, 213, 213, 0.5);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
// * Copyright © Magento, Inc. All rights reserved.
|
||||
// * See COPYING.txt for license details.
|
||||
// */
|
||||
// /**
|
||||
@fotorama-arw-size: 80px;
|
||||
@fotorama-duration-time: 0.3s;
|
||||
@fotorama-fullscreen-zoom-time: 0.3s;
|
||||
@fotorama-inner-box-shadow: 3px;
|
||||
@fotorama-spinner-size: 64px;
|
||||
@fotorama-thumb-arrow: 30px;
|
||||
@fotorama_close_button: 80px;
|
||||
@size-fotorama-block: 80px;
|
||||
Reference in New Issue
Block a user