Skip to content

Commit

Permalink
Merged branch master into 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Irmscher committed Feb 1, 2017
2 parents cde437f + 2b4ee8e commit 14dfbe1
Show file tree
Hide file tree
Showing 8 changed files with 67 additions and 38 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
A Neos CMS package with a Swiper node type

## Packages
- Swiper 3.3.1
- Swiper 3.4.1

## Installation
Add the package in your site package composer.json
Expand Down
11 changes: 6 additions & 5 deletions Resources/Private/Assets/JavaScript/swiper.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions Resources/Private/Assets/Styles/swiper.min.scss

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Resources/Public/JavaScript/backend.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 20 additions & 19 deletions Resources/Public/JavaScript/main.js

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions Resources/Public/JavaScript/main.min.js

Large diffs are not rendered by default.

32 changes: 29 additions & 3 deletions Resources/Public/Styles/main.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Swiper 3.3.1
* Swiper 3.4.1
* Most modern mobile touch slider and framework with hardware accelerated transitions
*
* http://www.idangero.us/swiper/
Expand All @@ -10,10 +10,11 @@
*
* Licensed under MIT
*
* Released on: February 7, 2016
* Released on: December 13, 2016
*/
.swiper-container {
margin: 0 auto;
margin-left: auto;
margin-right: auto;
position: relative;
overflow: hidden;
z-index: 1; }
Expand Down Expand Up @@ -395,6 +396,31 @@ button.swiper-pagination-bullet {
.swiper-container-fade .swiper-slide-active, .swiper-container-fade .swiper-slide-active .swiper-slide-active {
pointer-events: auto; }

.swiper-zoom-container {
width: 100%;
height: 100%;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-moz-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-moz-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
text-align: center; }

.swiper-zoom-container > canvas, .swiper-zoom-container > img, .swiper-zoom-container > svg {
max-width: 100%;
max-height: 100%;
object-fit: contain; }

.swiper-scrollbar {
border-radius: 10px;
position: relative;
Expand Down
4 changes: 2 additions & 2 deletions Resources/Public/Styles/main.min.css

Large diffs are not rendered by default.

0 comments on commit 14dfbe1

Please sign in to comment.