This repository has been archived by the owner on Nov 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
225 additions
and
36 deletions.
There are no files selected for viewing
26 changes: 13 additions & 13 deletions
26
src/components/ItaliaTheme/Blocks/Listing/PhotogalleryTemplate.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 13 additions & 13 deletions
26
src/components/ItaliaTheme/Blocks/Listing/SliderTemplate.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,190 @@ | ||
@charset 'UTF-8'; | ||
/* Slider */ | ||
.slick-loading .slick-list | ||
{ | ||
background: #fff url('./ajax-loader.gif') center center no-repeat; | ||
} | ||
|
||
/* Arrows */ | ||
.slick-prev, | ||
.slick-next | ||
{ | ||
font-size: 0; | ||
line-height: 0; | ||
|
||
position: absolute; | ||
top: 50%; | ||
|
||
display: block; | ||
|
||
width: 20px; | ||
height: 20px; | ||
padding: 0; | ||
-webkit-transform: translate(0, -50%); | ||
-ms-transform: translate(0, -50%); | ||
transform: translate(0, -50%); | ||
|
||
cursor: pointer; | ||
|
||
color: transparent; | ||
border: none; | ||
outline: none; | ||
background: transparent; | ||
} | ||
.slick-prev:hover, | ||
.slick-prev:focus, | ||
.slick-next:hover, | ||
.slick-next:focus | ||
{ | ||
color: transparent; | ||
outline: none; | ||
background: transparent; | ||
} | ||
.slick-prev:hover:before, | ||
.slick-prev:focus:before, | ||
.slick-next:hover:before, | ||
.slick-next:focus:before | ||
{ | ||
opacity: 1; | ||
} | ||
.slick-prev.slick-disabled:before, | ||
.slick-next.slick-disabled:before | ||
{ | ||
opacity: .25; | ||
} | ||
|
||
.slick-prev:before, | ||
.slick-next:before | ||
{ | ||
font-size: 20px; | ||
line-height: 1; | ||
|
||
opacity: .75; | ||
color: white; | ||
|
||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
} | ||
|
||
.slick-prev | ||
{ | ||
left: -25px; | ||
} | ||
[dir='rtl'] .slick-prev | ||
{ | ||
right: -25px; | ||
left: auto; | ||
} | ||
.slick-prev:before | ||
{ | ||
content: '←'; | ||
} | ||
[dir='rtl'] .slick-prev:before | ||
{ | ||
content: '→'; | ||
} | ||
|
||
.slick-next | ||
{ | ||
right: -25px; | ||
} | ||
[dir='rtl'] .slick-next | ||
{ | ||
right: auto; | ||
left: -25px; | ||
} | ||
.slick-next:before | ||
{ | ||
content: '→'; | ||
} | ||
[dir='rtl'] .slick-next:before | ||
{ | ||
content: '←'; | ||
} | ||
|
||
/* Dots */ | ||
.slick-dotted.slick-slider | ||
{ | ||
margin-bottom: 30px; | ||
} | ||
|
||
.slick-dots | ||
{ | ||
position: absolute; | ||
bottom: -25px; | ||
|
||
display: block; | ||
|
||
width: 100%; | ||
padding: 0; | ||
margin: 0; | ||
|
||
list-style: none; | ||
|
||
text-align: center; | ||
} | ||
.slick-dots li | ||
{ | ||
position: relative; | ||
|
||
display: inline-block; | ||
|
||
width: 20px; | ||
height: 20px; | ||
margin: 0 5px; | ||
padding: 0; | ||
|
||
cursor: pointer; | ||
} | ||
.slick-dots li button | ||
{ | ||
font-size: 0; | ||
line-height: 0; | ||
|
||
display: block; | ||
|
||
width: 20px; | ||
height: 20px; | ||
padding: 5px; | ||
|
||
cursor: pointer; | ||
|
||
color: transparent; | ||
border: 0; | ||
outline: none; | ||
background: transparent; | ||
} | ||
.slick-dots li button:hover, | ||
.slick-dots li button:focus | ||
{ | ||
outline: none; | ||
} | ||
.slick-dots li button:hover:before, | ||
.slick-dots li button:focus:before | ||
{ | ||
opacity: 1; | ||
} | ||
.slick-dots li button:before | ||
{ | ||
line-height: 20px; | ||
|
||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
|
||
width: 20px; | ||
height: 20px; | ||
|
||
content: ''; | ||
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512z"/></svg>'); | ||
background-size: 6px; | ||
background-repeat: no-repeat; | ||
|
||
opacity: .25; | ||
color: black; | ||
} | ||
.slick-dots li.slick-active button:before | ||
{ | ||
opacity: .75; | ||
color: black; | ||
} |