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
fcbbd62f
Commit
fcbbd62f
authored
Mar 24, 2023
by
wd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化样式
parent
de029a0b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
13 deletions
+50
-13
app/design/frontend/Joshine/breeze/web/css/_custom.less
+49
-12
lib/web/fotorama/fotorama.js
+1
-1
No files found.
app/design/frontend/Joshine/breeze/web/css/_custom.less
View file @
fcbbd62f
...
...
@@ -3104,25 +3104,62 @@ strong#block-related-heading,strong#block-upsell-heading{ font-weight: 600; colo
top: 42%!important;
}
.fotorama__nav{
max-height:1000px;
}
@media (min-width: 1024px) {
.gallery-placeholder .fotorama__stage__shaft {
height: 1000px !important;
width: 800px !important;
max-width:none!important;
}
.gallery-placeholder .fotorama__stage{
max-height: 1000px;
max-width: 880px;
width: 880px!important;
height: 1000px!important;
}
#sparsh-mfp-quickview .fotorama__stage__shaft{
height: 645px !important;
width: 516px !important;
}
.gallery-placeholder .fotorama__nav {
max-height: 1000px!important;
height: 1000px!important;
}
.product,.media .fotorama__stage{
max-height: 1000px;
max-width: 800px
;
}
.fotorama__arr, .fotorama__thumb__arr{
background-color: rgba(255,255,255,0.8)
;
}
.fotorama__thumb-border{
border-color:
#0a0a0a
;
border-color:
rgba(0,0,0,0.3)
;
}
#sparsh-mfp-quickview .fotorama__nav{
max-height:645px;
#sparsh-mfp-quickview .fotorama__nav {
max-height: 645px!important;
height: 645px!important;
}
#sparsh-mfp-quickview .fotorama__stage {
max-height: 645px;
max-width: 600px;
}
#sparsh-mfp-quickview .fotorama__loaded--img.fotorama__stage__frame img{
opacity: 0!important;
}
#sparsh-mfp-quickview .fotorama__stage{
max-height: 700px;
max-width: 560px;
#sparsh-mfp-quickview .fotorama__loaded--img.fotorama__active.fotorama__stage__frame img{
opacity: 1!important;
}
@media (max-width: 769px){
#sparsh-mfp-quickview .fotorama__nav {
max-height: auto !important;
height: auto !important;
}
}
/*导入Joshine工具类*/
...
...
lib/web/fotorama/fotorama.js
View file @
fcbbd62f
...
...
@@ -2231,7 +2231,7 @@ fotoramaVersion = '4.6.4';
var
isVerticalDir
=
(
opts
.
navdir
===
'vertical'
);
var
param
=
isVerticalDir
?
$navShaft
.
height
()
:
$navShaft
.
width
();
var
mainParam
=
isVerticalDir
?
measures
.
h
:
measures
.
nw
;
navShaftTouchTail
.
min
=
Math
.
min
(
0
,
mainParam
-
param
);
navShaftTouchTail
.
min
=
Math
.
min
(
0
,
$
(
'.fotorama__nav-wrap'
).
height
()
-
param
);
navShaftTouchTail
.
max
=
0
;
navShaftTouchTail
.
direction
=
opts
.
navdir
;
$navShaft
.
toggleClass
(
grabClass
,
!
(
navShaftTouchTail
.
noMove
=
navShaftTouchTail
.
min
===
navShaftTouchTail
.
max
));
...
...
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