Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
joshine
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
joshine
Commits
c7275e6d
Commit
c7275e6d
authored
Mar 23, 2023
by
wd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
恢复商品详情页原始弹窗功能
parent
2522199a
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
1227 additions
and
308 deletions
+1227
-308
app/design/frontend/Joshine/breeze/Magento_Catalog/layout/catalog_product_view.xml
+4
-0
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/product/view/gallery.phtml
+0
-289
app/design/frontend/Joshine/breeze/Magento_Catalog/web/css/gallery.css
+1150
-0
app/design/frontend/Joshine/breeze/Magento_Theme/layout/breeze_default.xml
+0
-1
app/design/frontend/Joshine/breeze/etc/view.xml
+51
-5
app/design/frontend/Joshine/breeze/web/css/_custom.less
+17
-4
lib/web/fotorama/fotorama.js
+1
-1
lib/web/mage/gallery/gallery.js
+4
-4
vendor/swissup/theme-frontend-breeze-blank/web/mage/gallery/gallery.less
+0
-4
No files found.
app/design/frontend/Joshine/breeze/Magento_Catalog/layout/catalog_product_view.xml
View file @
c7275e6d
...
...
@@ -6,6 +6,10 @@
*/
-->
<page
layout=
"1column"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=
"urn:magento:framework:View/Layout/etc/page_configuration.xsd"
>
<head>
<remove
src=
"mage/gallery/gallery.css"
/>
<css
src=
"Magento_Catalog::css/gallery.css"
/>
</head>
<body>
<referenceBlock
name=
"product.info.description"
remove=
"true"
/>
<referenceBlock
name=
"product.attributes"
remove=
"true"
/>
...
...
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/product/view/gallery.phtml
deleted
100644 → 0
View file @
2522199a
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
/**
* Product media data template
*
* @var $block \Magento\Catalog\Block\Product\View\Gallery
*/
?>
<?php
$images
=
$block
->
getGalleryImages
()
->
getItems
();
$mainImage
=
null
;
if
(
!
empty
(
$images
)
&&
empty
(
$mainImage
))
{
$mainImage
=
$block
->
getGalleryImages
()
->
getFirstItem
();
}
$helper
=
$block
->
getData
(
'imageHelper'
);
$mainImageUrl
=
$mainImage
?
$mainImage
->
getData
(
'medium_image_url'
)
:
$helper
->
getDefaultPlaceholderUrl
(
'image'
);
$width
=
(
int
)
$block
->
getImageAttribute
(
'product_page_image_medium'
,
'width'
);
$height
=
(
int
)
$block
->
getImageAttribute
(
'product_page_image_medium'
,
'height'
);
$height
=
$height
?:
$width
;
$thumbWidth
=
50
;
$thumbHeight
=
66
;
$thumbHeight
=
$thumbHeight
?:
$thumbWidth
;
$navType
=
$block
->
getGalleryOptions
()
->
getVar
(
'gallery/nav'
);
$responsiveImageHelper
=
$this
->
helper
(
\Swissup\Breeze\Helper\Image
::
class
);
$srcset
=
$responsiveImageHelper
->
getSrcset
(
$block
->
getProduct
(),
'product_page_image_medium'
);
$sizes
=
$responsiveImageHelper
->
getSizes
(
'product_page_image_medium'
);
$thumbSizes
=
$responsiveImageHelper
->
getSizes
(
'product_page_image_small'
);
?>
<style>
@media
screen
and
(
min-width
:
1024px
)
and
(
max-width
:
1500px
)
{
.product-info-wrapper
.page-title-wrapper
,
.product-info-wrapper
.product-info-main
{
margin-left
:
1%
;
width
:
100%
;
}
.stage
{
min-width
:
700px
!important
;
min-height
:
800px
!important
;
}
}
@media
(
min-width
:
1024px
){
.main-image-wrapper
.mobile-pic
{
display
:
none
!important
;
}
.stage
{
min-width
:
800px
;
}
}
@media
(
max-width
:
1024px
){
.main-image-wrapper
>
img
{
display
:
none
;
}
.main-image-wrapper
.mobile-pic
{
display
:
block
!important
;
height
:
auto
;
overflow-x
:
auto
;
overflow-y
:
hidden
;
white-space
:
nowrap
;
}
.main-image-wrapper
.mobile-pic
>
a
{
width
:
400px
;
margin-left
:
2px
;
height
:
auto
;
}
.main-image-wrapper
.mobile-pic
>
a
>
img
{
max-width
:
80%
;
}
.breeze-gallery
.thumbnails
,
.breeze-gallery
.prev
,
.breeze-gallery
.next
{
display
:
none
;
}
}
@media
(
min-width
:
1280px
){
:root
{
--container-max-width
:
80%
;
}
}
@media
(
min-width
:
768px
)
{
.breadcrumbs
ul
{
width
:
80%
;
}
}
</style>
<div
class=
"breeze-gallery
<?=
$block
->
getGalleryOptions
()
->
getVar
(
'gallery/navdir'
)
?>
"
>
<div
class=
"stage
<?=
$mainImage
&&
$mainImage
->
getVideoUrl
()
?
'video'
:
''
?>
"
data-gallery-role=
"gallery-placeholder"
>
<div
class=
"main-image-wrapper"
>
<img
alt=
"
<?=
$mainImage
?
$mainImage
->
getLabel
()
:
''
?>
"
class=
"main-image"
src=
"
<?=
$mainImageUrl
?>
"
width=
"
<?=
$width
?>
"
height=
"
<?=
$height
?>
"
<?php
if
(
$srcset
)
:
?>
srcset=
"
<?=
$srcset
?>
"
sizes=
"
<?=
$sizes
?>
"
<?php
endif
?>
/>
<div
class=
"mobile-pic"
>
<?php
foreach
(
$images
as
$image
)
:
?>
<?php
$classes
=
array_filter
([
'item'
,
$block
->
isMainImage
(
$image
)
?
'active'
:
''
,
$image
->
getVideoUrl
()
?
'video'
:
''
]);
?>
<a
class=
"
<?=
implode
(
' '
,
$classes
)
?>
"
href=
"#"
name=
"
<?=
$image
->
getLargeImageUrl
()
?>
"
title=
"
<?=
$image
->
getLabel
()
?:
__
(
'View Image'
)
?>
"
class=
"js-smartPhoto"
data-caption=
"bear"
data-id=
"bear"
data-group=
"animal"
>
<img
alt=
"
<?=
$image
->
getLabel
()
?>
"
src=
"
<?=
$image
->
getData
(
'medium_image_url'
)
?>
"
/>
</a>
<?php
endforeach
?>
</div>
</div>
<?php
if
(
count
(
$images
)
>
1
)
:
?>
<a
href=
"#"
class=
"prev"
tabindex=
"-1"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
fill=
"none"
viewBox=
"0 0 24 24"
stroke=
"currentColor"
>
<path
stroke-linecap=
"round"
stroke-linejoin=
"round"
stroke-width=
"2"
d=
"M15 19l-7-7 7-7"
/>
</svg>
</a>
<a
href=
"#"
class=
"next"
tabindex=
"-1"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
fill=
"none"
viewBox=
"0 0 24 24"
stroke=
"currentColor"
>
<path
stroke-linecap=
"round"
stroke-linejoin=
"round"
stroke-width=
"2"
d=
"M9 5l7 7-7 7"
/>
</svg>
</a>
<?php
endif
?>
<div
class=
"controls"
>
<a
href=
"#"
class=
"zoom zoom-in"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
fill=
"none"
viewBox=
"0 0 24 24"
stroke=
"currentColor"
stroke-width=
"2"
>
<path
stroke-linecap=
"round"
stroke-linejoin=
"round"
d=
"M12 4v16m8-8H4"
/>
</svg>
</a>
<a
href=
"#"
class=
"zoom zoom-out"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
fill=
"none"
viewBox=
"0 0 24 24"
stroke=
"currentColor"
stroke-width=
"2"
>
<path
stroke-linecap=
"round"
stroke-linejoin=
"round"
d=
"M20 12H4"
/>
</svg>
</a>
</div>
<a
href=
"#"
class=
"close"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
fill=
"none"
viewBox=
"0 0 24 24"
stroke=
"currentColor"
>
<path
stroke-linecap=
"round"
stroke-linejoin=
"round"
stroke-width=
"2"
d=
"M6 18L18 6M6 6l12 12"
/>
</svg>
</a>
</div>
<div
class=
"thumbnails
<?php
echo
$navType
?
''
:
'hidden'
?>
"
>
<?php
if
(
count
(
$images
)
>
1
)
:
// empty parent wrapper may be used at configurable product page ?>
<?
php
foreach
(
$images
as
$image
)
:
?>
<?php
$classes
=
array_filter
([
'item'
,
$block
->
isMainImage
(
$image
)
?
'active'
:
''
,
$image
->
getVideoUrl
()
?
'video'
:
''
]);
$srcset
=
$responsiveImageHelper
->
getSrcset
(
$image
,
'product_page_image_small'
);
?>
<a
class=
"
<?=
implode
(
' '
,
$classes
)
?>
"
href=
"#"
name=
"
<?=
$image
->
getLargeImageUrl
()
?>
"
title=
"
<?=
$image
->
getLabel
()
?:
__
(
'View Image'
)
?>
"
>
<img
loading=
"lazy"
alt=
"
<?=
$image
->
getLabel
()
?>
"
src=
"
<?=
$image
->
getSmallImageUrl
()
?>
"
<?php
if
(
$srcset
)
:
?>
srcset=
"
<?=
$srcset
?>
"
sizes=
"
<?=
$thumbSizes
?>
"
<?php
endif
?>
width=
"
<?=
$thumbWidth
?>
"
height=
"
<?=
$thumbHeight
?>
"
/>
</a>
<?php
endforeach
?>
<?php
endif
?>
</div>
</div>
<script
type=
"text/x-magento-init"
>
{
"[data-gallery-role=gallery-placeholder]"
:
{
"mage/gallery/gallery"
:
{
"data"
:
<?=
/* @noEscape */
$block
->
getGalleryImagesJson
()
?>
,
"options"
:
<?=
/* @noEscape */
$block
->
getGalleryOptions
()
->
getOptionsJson
()
?>
}
}
}
</script>
<script
type=
"text/x-magento-template"
id=
"gallery-thumbnail"
>
<
a
class
=
"<%- classes %>"
href
=
"javasrcpit:void(0);"
name
=
"<%- full %>"
>
<
img
loading
=
"lazy"
alt
=
"<%- caption %>"
src
=
"<%- thumb %>"
srcset
=
"<%- srcset ? srcset.small : '' %>"
sizes
=
"
<?=
$thumbSizes
?>
"
width
=
"
<?=
$thumbWidth
?>
"
height
=
"
<?=
$thumbHeight
?>
"
/>
<
/a
>
</script>
<style>
.breeze-gallery
.prev
,
.breeze-gallery
.next
{
width
:
40px
;
height
:
40px
;
border-radius
:
50%
;
background-color
:
#fff
;
}
@media
(
max-width
:
768px
){
.breeze-gallery
{
display
:
flex
;
flex-direction
:
column
;
margin-top
:
-35px
;
}
}
@media
(
max-width
:
1024px
){
.breeze-gallery
.stage
{
min-height
:
auto
!important
;
}
.breeze-gallery
img
{
max-width
:
90%
!important
;
}
}
</style>
<script>
require
([
'jquery'
],
function
(
$
)
{
$
(
".thumbnails > a"
).
removeClass
(
"active"
);
$
(
".thumbnails > a:first"
).
addClass
(
"active"
);
$
(
".thumbnails > a"
).
mouseover
(
function
(
s
)
{
var
main_img
=
$
(
this
).
attr
(
"name"
);
$
(
".main-image"
).
attr
(
"src"
,
main_img
);
$
(
".main-image-wrapper > picture > source:first "
).
attr
(
"srcset"
,
main_img
);
$
(
".main-image-wrapper > picture > source:last "
).
attr
(
"srcset"
,
main_img
);
$
(
".thumbnails > a"
).
removeClass
(
"active"
);
$
(
this
).
addClass
(
"active"
);
});
$
(
"a.next "
).
on
(
'click'
,
function
()
{
var
s
=
$
(
".thumbnails"
).
find
(
"a.active"
);
$
(
".thumbnails > a"
).
removeClass
(
"active"
);
s
.
next
().
addClass
(
"active"
);
var
sd
=
$
(
".thumbnails > .item.active"
).
attr
(
'name'
);
if
(
typeof
(
sd
)
==
"undefined"
){
var
sd
=
$
(
".thumbnails > .item.active"
).
attr
(
'name'
);
$
(
".thumbnails > a"
).
removeClass
(
"active"
);
$
(
".thumbnails > a:first"
).
addClass
(
"active"
);
sd
=
$
(
".thumbnails > a:first"
).
attr
(
'name'
);
}
$
(
".main-image"
).
attr
(
"src"
,
sd
);
$
(
".main-image-wrapper > picture > source:first "
).
attr
(
"srcset"
,
sd
);
$
(
".main-image-wrapper > picture > source:last "
).
attr
(
"srcset"
,
sd
);
});
$
(
"a.prev "
).
on
(
'click'
,
function
()
{
var
s
=
$
(
".thumbnails"
).
find
(
"a.active"
);
$
(
".thumbnails > a"
).
removeClass
(
"active"
);
s
.
prev
().
addClass
(
"active"
);
var
sd
=
$
(
".thumbnails > .item.active"
).
attr
(
'name'
);
if
(
typeof
(
sd
)
==
"undefined"
){
var
sd
=
$
(
".thumbnails > .item.active"
).
attr
(
'name'
);
$
(
".thumbnails > a"
).
removeClass
(
"active"
);
$
(
".thumbnails > a:last"
).
addClass
(
"active"
);
sd
=
$
(
".thumbnails > a:last"
).
attr
(
'name'
);
}
$
(
".main-image"
).
attr
(
"src"
,
sd
);
$
(
".main-image-wrapper > picture > source:first "
).
attr
(
"srcset"
,
sd
);
$
(
".main-image-wrapper > picture > source:last "
).
attr
(
"srcset"
,
sd
);
});
});
</script>
app/design/frontend/Joshine/breeze/Magento_Catalog/web/css/gallery.css
0 → 100644
View file @
c7275e6d
.fotorama-stretch
,
.fotorama-focus-overlay
:after
,
.fotorama__stage__frame
,
.fotorama__html
,
.fotorama__video
iframe
{
bottom
:
0
;
height
:
100%
;
left
:
0
;
position
:
absolute
;
right
:
0
;
top
:
0
;
width
:
100%
}
.fotorama__stage__shaft
{
bottom
:
0
;
height
:
100%
;
position
:
absolute
;
right
:
0
;
top
:
0
;
width
:
100%
}
.fotorama-grab-cursor
,
.fotorama__wrap
.fotorama__grab
{
cursor
:
move
;
cursor
:
-webkit-grab
;
cursor
:
-moz-grab
;
cursor
:
-o-grab
;
cursor
:
-ms-grab
;
cursor
:
grab
}
.fotorama-grabbing-cursor
,
.fotorama__grabbing
*
{
cursor
:
move
;
cursor
:
-webkit-grabbing
;
cursor
:
-moz-grabbing
;
cursor
:
-o-grabbing
;
cursor
:
-ms-grabbing
;
cursor
:
grabbing
}
.fotorama-gpu
,
.fotorama--fullscreen
,
.fotorama__caption
,
.fotorama__wrap--css3
.fotorama__spinner
,
.fotorama__wrap--css3
.fotorama__stage
,
.fotorama__wrap--css3
.fotorama__nav
,
.fotorama__wrap--css3
.fotorama__stage__frame
,
.fotorama__wrap--css3
.fotorama__html
,
.fotorama__stage
:before
,
.fotorama__nav
:before
,
.fotorama__stage
:after
,
.fotorama__nav
:after
,
.fotorama--fullscreen
.fotorama__stage__frame
.fotorama__img--full
{
transform
:
translateZ
(
0
)
}
.fotorama-focus
,
.fotorama__nav__frame
,
.fotorama__fullscreen-icon
:focus
,
.fotorama__zoom-out
:focus
,
.fotorama__zoom-in
:focus
{
outline
:
0
}
.fotorama-focus-overlay
:after
{
background-color
:
#006bb4
;
border-radius
:
inherit
;
content
:
''
}
.fotorama-transform-disabled
,
.fotorama__wrap--video
.fotorama__stage__shaft
,
.fotorama__wrap--video
.fotorama__stage
,
.fotorama__wrap--video
.fotorama__stage__frame--video
,
.fotorama__wrap--video
.fotorama__stage__frame--video
.fotorama__img
,
.fotorama__wrap--video
.fotorama__stage__frame--video
.fotorama__html
{
transform
:
none
!important
}
.fotorama-transition-for-slide
,
.fotorama__wrap--css3
.fotorama__stage__shaft
,
.fotorama__wrap--css3
.fotorama__nav__shaft
,
.fotorama__wrap--css3
.fotorama__thumb-border
{
transition-duration
:
0ms
;
transition-property
:
transform
,
width
;
transition-timing-function
:
cubic-bezier
(
.1
,
0
,
.25
,
1
)
}
.fotorama-no-select
,
.fotorama__wrap
,
.fotorama__no-select
,
.fotorama__arr
,
.fotorama__fullscreen-icon
,
.fotorama__video-close
{
user-select
:
none
}
.fotorama-select
,
.fotorama__select
{
user-select
:
text
}
.fotorama-empty-bg
{
background
:
url(data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=)
}
.fotorama-auto-margin
,
.fotorama__nav
,
.fotorama__nav__frame
{
margin
:
auto
;
padding
:
0
}
.fotorama-inline-block
,
.fotorama__nav__shaft
,
.fotorama__nav__frame
,
.fotorama__caption__wrap
{
*
display
:
inline
;
*
zoom
:
1
;
-moz-box-orient
:
vertical
;
display
:
-moz-inline-box
;
display
:
inline-block
;
vertical-align
:
middle
}
.fotorama-content-box
,
.fotorama__nav__frame
{
box-sizing
:
content-box
}
.fotorama-border-box
,
.fotorama__thumb-border
,
.fotorama__caption__wrap
,
.fotorama__arr
{
box-sizing
:
border-box
}
.fotorama-hidden
,
.fotorama--hidden
,
.fotorama__load
{
left
:
-99999px
;
position
:
absolute
;
top
:
-99999px
;
z-index
:
-1000
}
.fotorama-visible
{
left
:
auto
;
opacity
:
1
;
position
:
relative
;
top
:
auto
;
z-index
:
auto
}
.fotorama-no-tap
,
.fotorama__stage__shaft
,
.fotorama__stage__frame
,
.fotorama__nav
,
.fotorama__nav__shaft
,
.fotorama__nav__frame
,
.fotorama__arr
,
.fotorama__fullscreen-icon
,
.fotorama__video-close
{
-webkit-tap-highlight-color
:
rgba
(
0
,
0
,
0
,
0
)
}
.transitionDuration
{
transition-duration
:
333ms
}
.transitionDurationZero
{
transition-duration
:
0ms
}
.fotorama-sprite
,
.fotorama__fullscreen
.fotorama__zoom-out
,
.fotorama__fullscreen
.fotorama__zoom-in
,
.fotorama__arr
.fotorama__arr__arr
,
.fotorama__fullscreen-icon
,
.fotorama__video-play
,
.fotorama__thumb--icon
,
.fotorama__video-close
{
background-image
:
url('/media/wysiwyg/catalog/gallery/gallery.png')
;
background-repeat
:
no-repeat
}
@media
print
{
.fotorama-print-background
,
.fotorama-sprite
,
.fotorama__thumb-border
,
.fotorama__fullscreen
.fotorama__zoom-out
,
.fotorama__fullscreen
.fotorama__zoom-in
,
.fotorama__arr
.fotorama__arr__arr
,
.fotorama__fullscreen-icon
,
.fotorama__video-play
,
.fotorama__thumb--icon
,
.fotorama__video-close
{
background
:
none
!important
}
}
.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
}
.fotorama__fullscreen-icon
:focus:after
,
.fotorama__zoom-out
:focus:after
,
.fotorama__zoom-in
:focus:after
,
.fotorama__arr
:focus:after
,
.fotorama__stage__shaft
:focus:after
,
.fotorama__nav__frame--thumb
:focus
.fotorama__thumb
:after
,
.fotorama__nav__frame--dot
:focus
.fotorama__dot
:after
{
border-radius
:
inherit
;
bottom
:
3px
;
box-shadow
:
0
0
0
1px
#008bdb
;
content
:
''
;
left
:
3px
;
position
:
absolute
;
right
:
3px
;
top
:
3px
;
z-index
:
1000
}
.fotorama__nav__frame--thumb
:focus
.fotorama__thumb
:after
,
.fotorama__nav__frame--dot
:focus
.fotorama__thumb
:after
,
.fotorama__nav__frame--thumb
:focus
.fotorama__dot
:after
,
.fotorama__nav__frame--dot
:focus
.fotorama__dot
:after
{
bottom
:
0
;
left
:
0
;
right
:
0
;
top
:
0
}
.fotorama__nav__frame--thumb
:focus
.fotorama__thumb.fotorama_vertical_ratio
:after
,
.fotorama__nav__frame--dot
:focus
.fotorama__thumb.fotorama_vertical_ratio
:after
{
left
:
2px
;
right
:
2px
}
.fotorama__nav__frame--thumb
:focus
.fotorama__thumb
,
.fotorama__nav__frame--dot
:focus
.fotorama__thumb
{
overflow
:
inherit
}
.fotorama__nav__frame
:nth-child
(
2
)
:focus
.fotorama__thumb
:after
{
left
:
1px
}
.fotorama__nav__frame
:nth-child
(
2
)
:focus
.fotorama__thumb.fotorama_vertical_ratio
:after
{
top
:
1px
}
.fotorama__nav__frame
:last-child:focus
.fotorama__thumb
:after
{
right
:
1px
}
.fotorama__nav__frame
:last-child:focus
.fotorama__thumb.fotorama_vertical_ratio
:after
{
bottom
:
1px
}
.fotorama__thumb__arr
{
box-shadow
:
none
}
.fotorama--fullscreen
{
background
:
#fff
;
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
:
1000
!important
}
.fotorama--fullscreen
.fotorama__wrap
{
max-width
:
100%
!important
}
.fotorama__fullscreen
{
overflow
:
hidden
;
position
:
relative
}
.fotorama__fullscreen
.fotorama__zoom-in
,
.fotorama__fullscreen
.fotorama__zoom-out
{
cursor
:
pointer
;
display
:
block
;
height
:
80px
;
overflow
:
hidden
;
position
:
absolute
;
width
:
80px
}
.fotorama__fullscreen
.fotorama__zoom-out
{
background-position
:
0
-80px
!important
;
top
:
80px
}
.fotorama__fullscreen
.fotorama__zoom-out.fotorama__zoom-out--disabled
{
display
:
none
}
.fotorama__fullscreen
.fotorama__zoom-in
{
background-position
:
0
0
!important
;
top
:
0
}
.fotorama__fullscreen
.fotorama__zoom-in.fotorama__zoom-in--disabled
{
display
:
none
}
.fotorama__fullscreen
.fotorama__video-close
{
display
:
none
}
.fotorama--fullscreen
.fotorama__loaded--full
.fotorama__img
{
display
:
none
}
.fotorama--fullscreen
.fotorama__loaded--full
.fotorama__img--full
{
display
:
block
}
.fotorama__zoom-in
,
.fotorama__zoom-out
{
display
:
none
}
.fotorama
{
min-width
:
1px
;
overflow
:
hidden
}
.fotorama__wrap
{
-webkit-text-size-adjust
:
100%
;
direction
:
ltr
;
position
:
relative
;
z-index
:
0
}
.fotorama__wrap--rtl
.fotorama__stage__frame
{
direction
:
rtl
}
.fotorama__stage
,
.fotorama__nav
{
max-width
:
100%
;
overflow
:
hidden
;
position
:
relative
}
.fotorama__wrap--pan-y
{
-ms-touch-action
:
pan-y
}
.fotorama__wrap
.fotorama__pointer
{
cursor
:
pointer
}
.fotorama__wrap--slide
.fotorama__stage__frame
{
opacity
:
1
!important
}
.fotorama__stage__frame
{
overflow
:
hidden
}
.fotorama__stage__frame.fotorama__active
{
z-index
:
8
}
.fotorama__wrap--fade
.fotorama__stage__frame
{
display
:
none
}
.fotorama__wrap--fade
.fotorama__stage__frame.fotorama__active
,
.fotorama__wrap--fade
.fotorama__fade-front
,
.fotorama__wrap--fade
.fotorama__fade-rear
{
display
:
block
;
left
:
0
;
top
:
0
}
.fotorama__wrap--fade
.fotorama__fade-front
{
z-index
:
8
}
.fotorama__wrap--fade
.fotorama__fade-rear
{
z-index
:
7
}
.fotorama__wrap--fade
.fotorama__fade-rear.fotorama__active
{
z-index
:
9
}
.fotorama__wrap--fade
.fotorama__stage
.fotorama__shadow
{
display
:
none
}
.fotorama__img
{
border
:
none
!important
;
max-width
:
inherit
;
opacity
:
0
}
.fotorama__loaded
.fotorama__img
,
.fotorama__error
.fotorama__img
{
opacity
:
1
}
.fotorama__img--full
{
display
:
none
}
.fotorama__nav
{
display
:
none
;
font-size
:
0
;
line-height
:
0
;
white-space
:
nowrap
;
z-index
:
5
}
.fotorama__nav__shaft
{
left
:
0
;
position
:
relative
;
text-align
:
left
;
top
:
0
}
.fotorama__nav__frame
{
position
:
relative
}
.fotorama__nav--dots
{
display
:
block
;
text-align
:
center
}
.fotorama__nav--dots
.fotorama__nav__frame
{
height
:
30px
;
width
:
18px
}
.fotorama__nav--dots
.fotorama__nav__frame--thumb
,
.fotorama__nav--dots
.fotorama__thumb-border
{
display
:
none
}
.fotorama__nav--thumbs
{
display
:
block
}
.fotorama__nav--thumbs
.fotorama__nav__frame
{
padding-left
:
0
!important
}
.fotorama__nav--thumbs
.fotorama__nav__frame
:last-child
{
padding-right
:
0
!important
}
.fotorama__nav--thumbs
.fotorama__nav__frame--dot
{
display
:
none
}
.fotorama__active
.fotorama__dot
{
background-color
:
#ff5501
;
border-color
:
#ff5501
}
.fotorama__nav__frame.fotorama__active
.fotorama__nav__frame
{
border-width
:
3px
;
height
:
0
;
width
:
0
}
.fotorama__nav__frame.fotorama__active
.fotorama__nav__frame
:after
{
left
:
-3px
;
padding
:
3px
;
top
:
-3px
}
.fotorama__nav__frame
:focus
{
box-shadow
:
none
}
.fotorama__nav__frame
:focus
:after
{
left
:
-1px
;
padding
:
1px
;
top
:
-1px
}
.fotorama__dot
{
border-radius
:
6px
;
border
:
1px
solid
#858585
;
display
:
block
;
height
:
4px
;
left
:
6px
;
position
:
relative
;
top
:
12px
;
width
:
4px
}
.fotorama__thumb
{
background-color
:
#ebebeb
;
height
:
100%
;
overflow
:
hidden
;
position
:
relative
;
width
:
100%
}
.fotorama__nav__frame
:focus
.fotorama__thumb
{
z-index
:
2
}
.fotorama__thumb-border
{
backface-visibility
:
hidden
;
background-image
:
linear-gradient
(
to
bottom
right
,
rgba
(
255
,
255
,
255
,
0.25
),
rgba
(
64
,
64
,
64
,
0.1
));
border
:
1px
solid
#ff5501
;
left
:
0
;
position
:
absolute
;
top
:
0
;
z-index
:
9
}
.fotorama__caption
{
bottom
:
0
;
color
:
#000
;
font-size
:
14px
;
left
:
0
;
line-height
:
1.5
;
position
:
absolute
;
right
:
0
;
z-index
:
12
}
.fotorama__caption
a
{
border-bottom
:
1px
solid
;
border-color
:
rgba
(
0
,
0
,
0
,
0.005
);
color
:
#000
;
text-decoration
:
none
}
.fotorama__caption
a
:hover
{
border-color
:
rgba
(
0
,
0
,
0
,
0.005
);
color
:
#000
}
.fotorama__wrap--rtl
.fotorama__caption
{
left
:
auto
;
right
:
0
}
.fotorama__wrap--video
.fotorama__caption
,
.fotorama__wrap--no-captions
.fotorama__caption
{
display
:
none
}
.fotorama__caption__wrap
{
background-color
:
#fff
;
padding
:
5px
10px
}
@keyframes
spinner
{
0
%
{
transform
:
rotate
(
0deg
)
}
100
%
{
transform
:
rotate
(
360deg
)
}
}
.fotorama__spinner
{
-webkit-transform
:
translate3d
(
-50%
,
-50%
,
0
);
-ms-transform
:
translate3d
(
-50%
,
-50%
,
0
);
-o-transform
:
translate3d
(
-50%
,
-50%
,
0
);
transform
:
translate3d
(
-50%
,
-50%
,
0
);
left
:
50%
;
position
:
absolute
;
top
:
50%
}
.fotorama__wrap--css3
.fotorama__spinner
{
animation
:
spinner
24s
infinite
linear
}
.fotorama__wrap--css3
.fotorama__html
{
transition-duration
:
.3s
;
transition-property
:
opacity
;
transition-timing-function
:
linear
}
.fotorama__wrap--video
.fotorama__stage__frame--video
.fotorama__img
,
.fotorama__wrap--video
.fotorama__stage__frame--video
.fotorama__html
{
opacity
:
0
}
.fotorama__select
{
cursor
:
auto
}
.fotorama__video
{
bottom
:
0
;
left
:
0
;
position
:
absolute
;
right
:
0
;
top
:
32px
;
z-index
:
10
}
@-moz-document
url-prefix
()
{
.fotorama__active
{
box-shadow
:
0
0
0
transparent
}
}
.fotorama__arr
,
.fotorama__fullscreen-icon
,
.fotorama__video-close
{
cursor
:
pointer
;
position
:
absolute
}
.fotorama__arr
{
z-index
:
900
}
.fotorama__fullscreen-icon
,
.fotorama__zoom-out
,
.fotorama__zoom-in
,
.fotorama__video-close
{
z-index
:
1000
}
.fotorama__arr
{
bottom
:
0
;
position
:
absolute
;
top
:
0
;
width
:
80px
}
._block-content-loading
.fotorama__arr
{
opacity
:
0
}
.fotorama__arr
.fotorama__arr__arr
{
-webkit-transform
:
translate3d
(
-50%
,
-50%
,
0
);
-ms-transform
:
translate3d
(
-50%
,
-50%
,
0
);
-o-transform
:
translate3d
(
-50%
,
-50%
,
0
);
transform
:
translate3d
(
-50%
,
-50%
,
0
);
left
:
50%
;
position
:
absolute
;
top
:
50%
;
height
:
80px
;
width
:
80px
}
.fotorama__arr--prev
{
left
:
80px
;
}
.fotorama__arr--prev
.fotorama__arr__arr
{
background-position
:
-80px
-80px
}
.fotorama__arr--next
{
right
:
2px
!important
;
}
.fotorama__arr--next
.fotorama__arr__arr
{
background-position
:
-160px
-80px
}
.fotorama__arr--disabled
{
cursor
:
default
;
opacity
:
0
;
pointer-events
:
none
}
.fotorama__fullscreen-icon
{
background-position
:
0
0
;
display
:
none
;
height
:
80px
;
right
:
0
;
top
:
0
;
width
:
80px
;
z-index
:
1000
}
.fotorama--fullscreen-icons
.fotorama__fullscreen-icon
{
display
:
none
}
.fotorama--fullscreen
.fotorama__fullscreen-icon
{
background-position
:
-80px
0
;
display
:
inline-block
}
.fotorama__video-play
{
-webkit-transform
:
translate3d
(
-50%
,
-50%
,
0
);
-ms-transform
:
translate3d
(
-50%
,
-50%
,
0
);
-o-transform
:
translate3d
(
-50%
,
-50%
,
0
);
transform
:
translate3d
(
-50%
,
-50%
,
0
);
left
:
50%
;
position
:
absolute
;
top
:
50%
;
background-position
:
-80px
-160px
;
height
:
160px
;
width
:
160px
}
.fotorama__wrap--css2
.fotorama__video-play
,
.fotorama__wrap--video
.fotorama__stage
.fotorama__video-play
{
display
:
none
}
.fotorama__loaded
.fotorama__video-play
,
.fotorama__error
.fotorama__video-play
,
.fotorama__nav__frame
.fotorama__video-play
{
display
:
block
;
opacity
:
1
}
.fotorama__nav__frame
.fotorama__video-play
{
background-position
:
0
-240px
;
height
:
80px
;
width
:
80px
}
.fotorama__wrap--no-controls.fotorama__wrap--toggle-arrows
.fotorama__arr
,
.fotorama__wrap--no-controls.fotorama__wrap--toggle-arrows
.fotorama__fullscreen-icon
{
opacity
:
0
}
.fotorama__wrap--no-controls.fotorama__wrap--toggle-arrows
.fotorama__arr
:focus
,
.fotorama__wrap--no-controls.fotorama__wrap--toggle-arrows
.fotorama__fullscreen-icon
:focus
{
opacity
:
1
}
.fotorama__wrap--toggle-arrows
:not
(
.fotorama__wrap--video
)
.fotorama__video-close
{
display
:
none
}
.fotorama__wrap--toggle-arrows.fotorama__wrap--video
.fotorama__video-close
{
opacity
:
1
;
right
:
93px
;
top
:
97px
}
.fotorama__wrap--toggle-arrows
:not
(
.fotorama__wrap--video
)
.fotorama__video-close
{
display
:
none
}
.fotorama__wrap--toggle-arrows.fotorama__wrap--video
.fotorama__video-close
{
opacity
:
1
;
right
:
93px
;
top
:
97px
}
.fotorama__wrap--toggle-arrows
:not
(
.fotorama__wrap--video
)
.fotorama__video-close
{
display
:
none
}
.fotorama__wrap--toggle-arrows.fotorama__wrap--video
.fotorama__video-close
{
opacity
:
1
;
right
:
93px
;
top
:
97px
}
.fotorama__wrap--video
.fotorama__arr
,
.fotorama__wrap--video
.fotorama__fullscreen-icon
{
opacity
:
0
!important
}
.fotorama__wrap--css2.fotorama__wrap--no-controls.fotorama__wrap--toggle-arrows
.fotorama__arr
,
.fotorama__wrap--css2.fotorama__wrap--no-controls.fotorama__wrap--toggle-arrows
.fotorama__fullscreen-icon
{
display
:
none
}
.fotorama__wrap--css2.fotorama__wrap--no-controls.fotorama__wrap--toggle-arrows
.fotorama__arr
:focus
,
.fotorama__wrap--css2.fotorama__wrap--no-controls.fotorama__wrap--toggle-arrows
.fotorama__fullscreen-icon
:focus
{
display
:
block
}
.fotorama__wrap--css2.fotorama__wrap--video
.fotorama__arr
,
.fotorama__wrap--css2.fotorama__wrap--video
.fotorama__fullscreen-icon
{
display
:
none
!important
}
.fotorama__wrap--css3.fotorama__wrap--no-controls.fotorama__wrap--slide.fotorama__wrap--toggle-arrows
.fotorama__fullscreen-icon
:not
(
:focus
)
{
-webkit-transform
:
translate3d
(
80px
,
-80px
,
0
);
-ms-transform
:
translate3d
(
80px
,
-80px
,
0
);
-o-transform
:
translate3d
(
80px
,
-80px
,
0
);
transform
:
translate3d
(
80px
,
-80px
,
0
)
}
.fotorama__wrap--css3.fotorama__wrap--no-controls.fotorama__wrap--slide.fotorama__wrap--toggle-arrows
.fotorama__arr--prev
:not
(
:focus
)
{
-webkit-transform
:
translate3d
(
-120px
,
0
,
0
);
-ms-transform
:
translate3d
(
-120px
,
0
,
0
);
-o-transform
:
translate3d
(
-120px
,
0
,
0
);
transform
:
translate3d
(
-120px
,
0
,
0
)
}
.fotorama__wrap--css3.fotorama__wrap--no-controls.fotorama__wrap--slide.fotorama__wrap--toggle-arrows
.fotorama__arr--next
:not
(
:focus
)
{
-webkit-transform
:
translate3d
(
120px
,
0
,
0
);
-ms-transform
:
translate3d
(
120px
,
0
,
0
);
-o-transform
:
translate3d
(
120px
,
0
,
0
);
transform
:
translate3d
(
120px
,
0
,
0
)
}
.fotorama__wrap--css3.fotorama__wrap--video
.fotorama__fullscreen-icon
{
-webkit-transform
:
translate3d
(
80px
,
-80px
,
0
)
!important
;
-ms-transform
:
translate3d
(
80px
,
-80px
,
0
)
!important
;
-o-transform
:
translate3d
(
80px
,
-80px
,
0
)
!important
;
transform
:
translate3d
(
80px
,
-80px
,
0
)
!important
}
.fotorama__wrap--css3.fotorama__wrap--video
.fotorama__arr--prev
{
-webkit-transform
:
translate3d
(
-120px
,
0
,
0
)
!important
;
-ms-transform
:
translate3d
(
-120px
,
0
,
0
)
!important
;
-o-transform
:
translate3d
(
-120px
,
0
,
0
)
!important
;
transform
:
translate3d
(
-120px
,
0
,
0
)
!important
}
.fotorama__wrap--css3.fotorama__wrap--video
.fotorama__arr--next
{
-webkit-transform
:
translate3d
(
120px
,
0
,
0
)
!important
;
-ms-transform
:
translate3d
(
120px
,
0
,
0
)
!important
;
-o-transform
:
translate3d
(
120px
,
0
,
0
)
!important
;
transform
:
translate3d
(
120px
,
0
,
0
)
!important
}
.fotorama__wrap--css3
.fotorama__arr
:not
(
:focus
),
.fotorama__wrap--css3
.fotorama__fullscreen-icon
:not
(
:focus
),
.fotorama__wrap--css3
.fotorama__video-play
:not
(
:focus
),
.fotorama__wrap--css3
.fotorama__video-close
:not
(
:focus
)
{
transition-duration
:
.3s
;
transition-property
:
transform
,
opacity
,
background-color
}
.fotorama__stage
:before
,
.fotorama__nav
:before
,
.fotorama__stage
:after
,
.fotorama__nav
:after
{
background-repeat
:
no-repeat
;
content
:
''
;
display
:
block
;
pointer-events
:
none
;
position
:
absolute
;
text-decoration
:
none
;
z-index
:
10
}
.fotorama__stage
:before
,
.fotorama__nav
:before
{
left
:
-10px
;
top
:
-10px
}
.fotorama__stage
:after
,
.fotorama__nav
:after
{
right
:
-10px
;
bottom
:
-10px
}
.fotorama__stage.fotorama__shadows--left
:before
,
.fotorama__nav.fotorama__shadows--left
:before
,
.fotorama__stage.fotorama__shadows--right
:after
,
.fotorama__nav.fotorama__shadows--right
:after
{
background-size
:
1px
100%
,
5px
100%
;
bottom
:
0
;
height
:
auto
;
top
:
0
;
width
:
10px
}
.fotorama__stage.fotorama__shadows--top
:before
,
.fotorama__nav.fotorama__shadows--top
:before
,
.fotorama__stage.fotorama__shadows--bottom
:after
,
.fotorama__nav.fotorama__shadows--bottom
:after
{
background-size
:
100%
1px
,
100%
5px
;
height
:
10px
;
left
:
0
;
right
:
0
;
width
:
auto
}
.fotorama__stage.fotorama__shadows--left
:before
,
.fotorama__nav.fotorama__shadows--left
:before
{
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
0
50%
,
rgba
(
0
,
0
,
0
,
0.4
),
transparent
);
background-position
:
0
0
,
0
0
;
left
:
0
}
.fotorama__stage.fotorama__shadows--right
:after
,
.fotorama__nav.fotorama__shadows--right
:after
{
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
100%
50%
,
rgba
(
0
,
0
,
0
,
0.4
),
transparent
);
background-position
:
100%
0
,
100%
0
;
right
:
0
}
.fotorama__stage.fotorama__shadows--top
:before
,
.fotorama__nav.fotorama__shadows--top
:before
{
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
50%
0
,
rgba
(
0
,
0
,
0
,
0.4
),
transparent
);
background-position
:
0
0
,
0
0
;
top
:
0
}
.fotorama__stage.fotorama__shadows--bottom
:after
,
.fotorama__nav.fotorama__shadows--bottom
:after
{
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
50%
100%
,
rgba
(
0
,
0
,
0
,
0.4
),
transparent
);
background-position
:
0
100%
,
0
100%
;
bottom
:
0
}
.fotorama--fullscreen
.fotorama__stage
:before
,
.fotorama--fullscreen
.fotorama__nav
:before
,
.fotorama__wrap--no-shadows
.fotorama__stage
:before
,
.fotorama__wrap--no-shadows
.fotorama__nav
:before
,
.fotorama__wrap--fade
.fotorama__stage
:before
,
.fotorama--fullscreen
.fotorama__stage
:after
,
.fotorama--fullscreen
.fotorama__nav
:after
,
.fotorama__wrap--no-shadows
.fotorama__stage
:after
,
.fotorama__wrap--no-shadows
.fotorama__nav
:after
,
.fotorama__wrap--fade
.fotorama__stage
:after
{
display
:
none
}
.fotorama__nav-wrap
.fotorama_vertical_ratio
.fotorama__img
{
-webkit-transform
:
translateY
(
-50%
);
-ms-transform
:
translateY
(
-50%
);
-o-transform
:
translateY
(
-50%
);
transform
:
translateY
(
-50%
);
height
:
auto
;
position
:
absolute
;
top
:
50%
;
width
:
100%
}
.fotorama__nav-wrap
.fotorama_horizontal_ratio
.fotorama__img
{
-webkit-transform
:
translate
(
-50%
,
-50%
);
-ms-transform
:
translateY
(
-50%
,
-50%
);
-o-transform
:
translateY
(
-50%
,
-50%
);
transform
:
translateY
(
-50%
,
-50%
);
top
:
50%
;
left
:
50%
;
position
:
absolute
;
width
:
auto
}
.magnifier-thumb-wrapper
{
display
:
block
;
left
:
0
;
position
:
relative
;
top
:
0
}
.magnifier-lens
{
border
:
solid
1px
#bbb
;
left
:
0
;
overflow
:
hidden
;
position
:
absolute
;
top
:
0
;
z-index
:
800
}
.magnify-lens
{
background
:
rgba
(
255
,
255
,
255
,
0.5
);
border
:
solid
1px
#bbb
;
color
:
#fff
;
left
:
0
;
position
:
absolute
;
text-align
:
center
;
top
:
0
;
z-index
:
1000
;
overflow
:
hidden
}
.magnify-lens
.magnifier-large
{
width
:
auto
;
height
:
auto
;
max-height
:
none
;
max-width
:
none
;
border
:
none
;
position
:
absolute
;
z-index
:
100
}
.magnifier-loader-text
{
margin-top
:
10px
}
.magnifier-preview
{
bottom
:
0
;
left
:
58%
;
overflow
:
hidden
;
padding
:
0
;
position
:
absolute
;
z-index
:
2
;
top
:
215px
}
.magnifier-preview
:not
(
.hidden
)
{
background-color
:
#fff
}
.magnifier-preview
img
{
left
:
0
;
max-width
:
inherit
;
max-height
:
inherit
;
position
:
absolute
;
top
:
0
;
object-fit
:
scale-down
}
.fotorama__stage__frame
{
text-align
:
center
}
.fotorama__stage__frame
.fotorama__img
{
height
:
auto
;
left
:
50%
;
max-height
:
100%
;
max-width
:
100%
;
position
:
absolute
;
top
:
45%
;
-webkit-transform
:
translate3d
(
-50%
,
-50%
,
0
);
-ms-transform
:
translate3d
(
-50%
,
-50%
,
0
);
-o-transform
:
translate3d
(
-50%
,
-50%
,
0
);
transform
:
translate3d
(
-50%
,
-50%
,
0
);
transition-duration
:
.3s
;
transition-property
:
width
,
height
,
top
,
left
;
vertical-align
:
middle
;
width
:
auto
}
.magnify-opaque
{
opacity
:
.5
}
.magnify-hidden
{
display
:
none
}
.fotorama__nav-wrap--vertical.fotorama__nav-wrap
{
position
:
absolute
;
top
:
0
}
.fotorama__nav-wrap--vertical
.fotorama__nav__shaft
{
background-color
:
white
;
width
:
100%
}
.fotorama__nav-wrap--vertical
.fotorama__nav__shaft
.fotorama__nav__frame--thumb
{
display
:
block
;
padding-bottom
:
inherit
!important
}
.fotorama--fullscreen
.fotorama__stage__frame
.fotorama__img
{
display
:
none
}
.fotorama--fullscreen
.fotorama__stage__frame
.fotorama__img
,
.fotorama--fullscreen
.fotorama__stage__frame
.fotorama__img--full
{
bottom
:
0
;
left
:
0
;
margin
:
auto
;
max-height
:
inherit
;
max-width
:
inherit
;
position
:
absolute
;
right
:
0
;
top
:
0
}
.fotorama--fullscreen
.fotorama__stage__frame
.fotorama__img--full
{
cursor
:
default
;
display
:
block
;
height
:
auto
;
left
:
0
;
margin
:
auto
;
max-height
:
100%
;
max-width
:
100%
;
top
:
0
;
transition
:
.3s
linear
;
vertical-align
:
middle
;
width
:
auto
}
.fotorama--fullscreen
.fotorama__stage__frame
.fotorama__img--full.fotorama__img--zoommable
{
cursor
:
pointer
;
max-height
:
none
;
max-width
:
none
;
transition-property
:
width
,
height
,
bottom
,
right
,
top
,
left
}
.fotorama--fullscreen
.fotorama__stage__frame
.fotorama__img--full.fotorama__img--draggable
{
cursor
:
move
;
transition-property
:
none
}
.fotorama--fullscreen
.fotorama__stage__frame
iframe
{
left
:
80px
;
width
:
calc
(
100%
-
80px
*
2
)
}
.fotorama__nav-wrap--horizontal
.fotorama__thumb__arr--left
,
.fotorama__nav-wrap--horizontal
.fotorama__thumb__arr--right
{
bottom
:
0
;
cursor
:
pointer
;
position
:
absolute
;
top
:
0
;
width
:
30px
;
z-index
:
1000
}
.fotorama__nav-wrap--horizontal
.fotorama__thumb__arr--left
.fotorama__thumb--icon
,
.fotorama__nav-wrap--horizontal
.fotorama__thumb__arr--right
.fotorama__thumb--icon
{
-webkit-transform
:
translate3d
(
-50%
,
-50%
,
0
);
-ms-transform
:
translate3d
(
-50%
,
-50%
,
0
);
-o-transform
:
translate3d
(
-50%
,
-50%
,
0
);
transform
:
translate3d
(
-50%
,
-50%
,
0
);
left
:
50%
;
position
:
absolute
;
top
:
50%
;
width
:
100%
}
.fotorama__nav-wrap--horizontal
.fotorama__thumb__arr--left
{
left
:
0
}
.fotorama__nav-wrap--horizontal
.fotorama__thumb__arr--right
{
right
:
0
}
.fotorama__nav-wrap--vertical
.fotorama__thumb__arr--left
,
.fotorama__nav-wrap--vertical
.fotorama__thumb__arr--right
{
cursor
:
pointer
;
height
:
30px
;
left
:
0
;
position
:
absolute
;
right
:
0
;
z-index
:
1000
}
.fotorama__nav-wrap--vertical
.fotorama__thumb__arr--left
.fotorama__thumb--icon
,
.fotorama__nav-wrap--vertical
.fotorama__thumb__arr--right
.fotorama__thumb--icon
{
-webkit-transform
:
rotate
(
90deg
);
-ms-transform
:
rotate
(
90deg
);
transform
:
rotate
(
90deg
);
margin
:
auto
;
width
:
30px
}
.fotorama__nav-wrap--vertical
.fotorama__thumb__arr--left
{
top
:
0
}
.fotorama__nav-wrap--vertical
.fotorama__thumb__arr--right
{
bottom
:
0
}
.fotorama__wrap--only-active
.fotorama__stage
,
.fotorama__wrap--only-active
.fotorama__nav
{
max-width
:
99999px
!important
}
.fotorama__wrap--only-active
.fotorama__stage__frame
{
visibility
:
hidden
}
.fotorama__wrap--only-active
.fotorama__stage__frame.fotorama__active
{
visibility
:
visible
}
.fotorama__thumb--icon
{
font-size
:
0.001px
;
padding-bottom
:
30px
}
.fotorama__thumb__arr--left
.fotorama__thumb--icon
{
background-position
:
-25px
-265px
}
.fotorama__thumb__arr--right
.fotorama__thumb--icon
{
background-position
:
-25px
-350px
}
.magnify-fullimage
{
display
:
none
}
.fotorama__arr
,
.fotorama__thumb__arr
{
background-color
:
rgba
(
255
,
255
,
255
,
0.3
);
transition
:
background-color
.3s
ease-in-out
}
.fotorama__arr
:hover
,
.fotorama__thumb__arr
:hover
{
background-color
:
rgba
(
255
,
255
,
255
,
0.5
)
}
.fotorama__arr
:active
,
.fotorama__thumb__arr
:active
{
background-color
:
rgba
(
213
,
213
,
213
,
0.5
)
}
.fotorama__wrap
:not
(
.fotorama__wrap--toggle-arrows
)
.fotorama__fullscreen-icon
,
.fotorama__wrap
:not
(
.fotorama__wrap--toggle-arrows
)
.fotorama__zoom-out
,
.fotorama__wrap
:not
(
.fotorama__wrap--toggle-arrows
)
.fotorama__zoom-in
{
background-color
:
rgba
(
255
,
255
,
255
,
0.3
);
transition
:
background-color
.3s
ease-in-out
}
.fotorama__wrap
:not
(
.fotorama__wrap--toggle-arrows
)
.fotorama__fullscreen-icon
:hover
,
.fotorama__wrap
:not
(
.fotorama__wrap--toggle-arrows
)
.fotorama__zoom-out
:hover
,
.fotorama__wrap
:not
(
.fotorama__wrap--toggle-arrows
)
.fotorama__zoom-in
:hover
{
background-color
:
rgba
(
255
,
255
,
255
,
0.5
)
}
.fotorama__wrap
:not
(
.fotorama__wrap--toggle-arrows
)
.fotorama__fullscreen-icon
:active
,
.fotorama__wrap
:not
(
.fotorama__wrap--toggle-arrows
)
.fotorama__zoom-out
:active
,
.fotorama__wrap
:not
(
.fotorama__wrap--toggle-arrows
)
.fotorama__zoom-in
:active
{
background-color
:
rgba
(
213
,
213
,
213
,
0.5
)
}
.fotorama__video-close
{
background-position
:
-80px
0
;
height
:
80px
;
opacity
:
0
;
right
:
0
;
top
:
0
;
transform
:
translate3d
(
80px
,
-80px
,
0
);
transition
:
opacity
.3s
ease-in-out
;
width
:
80px
}
@media
all
and
(
max-width
:
768px
)
{
.fotorama__video-close
{
background-position
:
-100px
-20px
;
top
:
10px
;
height
:
40px
;
width
:
40px
}
.fotorama__arr--prev
{
left
:
0
;
}
}
.fotorama__video-close.fotorama-show-control
{
opacity
:
1
;
transform
:
translate3d
(
0
,
-10px
,
0
)
}
.gallery-placeholder__image
{
display
:
block
;
margin
:
auto
}
.fotorama__spinner
{
background-image
:
url('/media/wysiwyg/catalog/gallery/loader-1.gif')
;
bottom
:
0
;
display
:
none
;
height
:
64px
;
left
:
0
;
margin
:
auto
;
position
:
absolute
;
right
:
0
;
top
:
0
;
width
:
64px
;
z-index
:
100
}
.fotorama__spinner.fotorama__spinner--show
{
display
:
block
}
.fotorama__product-video--loaded
.fotorama__img
,
.fotorama__product-video--loaded
.fotorama__img--full
{
display
:
none
!important
}
.fotorama__stage
.fotorama__arr--shown
{
display
:
block
!important
}
.fotorama__stage
.fotorama__arr--hidden
{
display
:
none
!important
}
app/design/frontend/Joshine/breeze/Magento_Theme/layout/breeze_default.xml
View file @
c7275e6d
...
...
@@ -3,7 +3,6 @@
xsi:noNamespaceSchemaLocation=
"urn:magento:framework:View/Layout/etc/page_configuration.xsd"
>
<head>
<remove
src=
"mage/calendar.css"
/>
<remove
src=
"mage/gallery/gallery.css"
/>
</head>
<body>
<referenceContainer
name=
"before.body.end"
>
...
...
app/design/frontend/Joshine/breeze/etc/view.xml
View file @
c7275e6d
...
...
@@ -208,12 +208,58 @@
</images>
</media>
<vars
module=
"Magento_Catalog"
>
<!-- Gallery and magnifier theme settings. Start -->
<var
name=
"gallery"
>
<var
name=
"allowfullscreen"
>
true
</var>
<var
name=
"keyboard"
>
true
</var>
<var
name=
"loop"
>
true
</var>
<var
name=
"nav"
>
true
</var>
<!-- true/false -->
<var
name=
"navdir"
>
vertical
</var>
<!-- horizontal/vertical -->
<var
name=
"nav"
>
thumbs
</var>
<!-- Gallery navigation style (false/thumbs/dots) -->
<var
name=
"loop"
>
true
</var>
<!-- Gallery navigation loop (true/false) -->
<var
name=
"keyboard"
>
true
</var>
<!-- Turn on/off keyboard arrows navigation (true/false) -->
<var
name=
"arrows"
>
true
</var>
<!-- Turn on/off arrows on the sides preview (true/false) -->
<var
name=
"caption"
>
false
</var>
<!-- Display alt text as image title (true/false) -->
<var
name=
"allowfullscreen"
>
true
</var>
<!-- Turn on/off fullscreen (true/false) -->
<var
name=
"navdir"
>
vertical
</var>
<!-- Sliding direction of thumbnails (horizontal/vertical) -->
<var
name=
"navarrows"
>
true
</var>
<!-- Turn on/off on the thumbs navigation sides arrows(true/false) -->
<var
name=
"navtype"
>
slides
</var>
<!-- Sliding type of thumbnails (slides/thumbs) -->
<var
name=
"transition"
>
<var
name=
"effect"
>
slide
</var>
<!-- Sets transition effect for slides changing (slide/crossfade/dissolve) -->
<var
name=
"duration"
>
500
</var>
<!-- Sets transition duration in ms -->
</var>
<var
name=
"fullscreen"
>
<var
name=
"nav"
>
thumbs
</var>
<!-- Fullscreen navigation style (false/thumbs/dots) -->
<var
name=
"loop"
>
true
</var>
<!-- Fullscreen navigation loop (true/false/null) -->
<var
name=
"arrows"
>
true
</var>
<!-- Turn on/off arrows on the sides preview in fullscreen (true/false/null) -->
<var
name=
"caption"
>
false
</var>
<!-- Display alt text as image title in fullscreen(true/false) -->
<var
name=
"navdir"
>
horizontal
</var>
<!--Sliding direction of thumbnails in fullscreen(horizontal/vertical) -->
<var
name=
"navarrows"
>
false
</var>
<!-- Turn on/off on the thumbs navigation sides arrows(true/false) -->
<var
name=
"navtype"
>
slides
</var>
<!-- Sliding type of thumbnails (slides/thumbs) -->
<var
name=
"transition"
>
<var
name=
"effect"
>
slide
</var>
<!-- Sets transition effect for slides changing (slide/crossfade/dissolve) -->
<var
name=
"duration"
>
500
</var>
<!-- Sets transition duration in ms -->
</var>
</var>
</var>
<var
name=
"magnifier"
>
<var
name=
"fullscreenzoom"
>
20
</var>
<!-- Zoom for fullscreen (integer)-->
<var
name=
"top"
></var>
<!-- Top position of magnifier -->
<var
name=
"left"
></var>
<!-- Left position of magnifier -->
<var
name=
"width"
></var>
<!-- Width of magnifier block -->
<var
name=
"height"
></var>
<!-- Height of magnifier block -->
<var
name=
"eventType"
>
hover
</var>
<!-- Action that atcivates zoom (hover/click) -->
<var
name=
"enabled"
>
false
</var>
<!-- Turn on/off magnifier (true/false) -->
<var
name=
"mode"
>
outside
</var>
<!-- Zoom type (outside/inside) -->
</var>
<var
name=
"breakpoints"
>
<var
name=
"mobile"
>
<var
name=
"conditions"
>
<var
name=
"max-width"
>
767px
</var>
</var>
<var
name=
"options"
>
<var
name=
"options"
>
<var
name=
"nav"
>
dots
</var>
</var>
</var>
</var>
</var>
</vars>
<vars
module=
"Magento_ConfigurableProduct"
>
...
...
app/design/frontend/Joshine/breeze/web/css/_custom.less
View file @
c7275e6d
// DO NOT EDIT THIS FILE - IT SHOULD REMAIN EMPTY
// DO NOT EDIT THIS FILE - IT SHOULD REMAIN EMPTY
.product.media .gallery-placeholder .fotorama__stage{ left: 0 !important; }
.product.media .gallery-placeholder .fotorama__nav-wrap--vertical.fotorama__nav-wrap{ right: 0; text-align: right;}
.product.media .gallery-placeholder .fotorama__nav--thumbs{float: right;}
.fotorama__stage__shaft.fotorama__grab {
margin-left: -120px !important;
}
.breeze-gallery .thumbnails .item img{
margin: 3px 1px;
}
...
...
@@ -3050,7 +3047,23 @@ strong#block-related-heading,strong#block-upsell-heading{ font-weight: 600; colo
}
}
.sparsh-mfp-wrap .fotorama__stage__shaft,fotorama__grab{
float: right;
}
.sparsh-mfp-wrap .fotorama__stage__frame .fotorama__img{
top: 40%;
}
.sparsh-mfp-wrap .fotorama__arr--prev{
left: 80px;
}
.sparsh-mfp-wrap .fotorama__arr--next{
right: 2px!important;
}
.sparsh-mfp-wrap .fotorama__arr .fotorama__arr__arr{
top: 42%!important;
}
/*导入Joshine工具类*/
@import "./_joshine_col";
...
...
lib/web/fotorama/fotorama.js
View file @
c7275e6d
...
...
@@ -1140,7 +1140,7 @@ fotoramaVersion = '4.6.4';
function
addEvent
(
el
,
e
,
fn
,
bool
)
{
if
(
!
e
)
return
;
el
.
addEventListener
?
el
.
addEventListener
(
e
,
fn
,
{
passive
:
tru
e
})
:
el
.
attachEvent
(
'on'
+
e
,
fn
);
el
.
addEventListener
?
el
.
addEventListener
(
e
,
fn
,
{
passive
:
fals
e
})
:
el
.
attachEvent
(
'on'
+
e
,
fn
);
}
/**
...
...
lib/web/mage/gallery/gallery.js
View file @
c7275e6d
...
...
@@ -186,7 +186,7 @@ define([
settings
.
focusableStart
=
this
.
settings
.
$element
.
find
(
'[data-gallery-role="fotorama__focusable-start"]'
);
settings
.
focusableEnd
=
this
.
settings
.
$element
.
find
(
'[data-gallery-role="fotorama__focusable-end"]'
);
settings
.
closeIcon
=
this
.
settings
.
$element
.
find
(
'[data-gallery-role="fotorama__fullscreen-icon"]'
);
//
settings.fullscreenConfig.swipe = true;
settings
.
fullscreenConfig
.
swipe
=
true
;
settings
.
$gallery
.
on
(
'fotorama:fullscreenenter'
,
function
()
{
settings
.
closeIcon
.
show
();
...
...
@@ -537,9 +537,9 @@ define([
returnCurrentImages
:
function
()
{
var
images
=
[];
//
_.each(this.fotorama.data, function (item) {
//
images.push(_.omit(item, '$navThumbFrame', '$navDotFrame', '$stageFrame', 'labelledby'));
//
});
_
.
each
(
this
.
fotorama
.
data
,
function
(
item
)
{
images
.
push
(
_
.
omit
(
item
,
'$navThumbFrame'
,
'$navDotFrame'
,
'$stageFrame'
,
'labelledby'
));
});
return
images
;
},
...
...
vendor/swissup/theme-frontend-breeze-blank/web/mage/gallery/gallery.less
deleted
100755 → 0
View file @
2522199a
// Fotorama is not supported in Breeze Theme
.breeze-disable-fotorama {
width: 1;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment