jekyll-theme-artsy 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/css/bootstrap.min.css +8143 -0
- data/css/galleries.css +150 -0
- data/css/home.css +151 -0
- data/css/journal.css +235 -0
- data/css/magnificpopup.css +352 -0
- data/css/main.css +856 -0
- data/css/selena.css +50 -0
- data/css/super-search.css +110 -0
- data/css/tags-wrap.css +35 -0
- data/img/404.jpg +0 -0
- data/img/about-bg.jpg +0 -0
- data/img/add-to-cart.png +0 -0
- data/img/archive-bg.jpg +0 -0
- data/img/avatar.png +0 -0
- data/img/bookbutton.png +0 -0
- data/img/cart-empty.png +0 -0
- data/img/cart-full.png +0 -0
- data/img/donate.png +0 -0
- data/img/gallery-bg.jpg +0 -0
- data/img/journal/post01.jpg +0 -0
- data/img/journal/post02.jpg +0 -0
- data/img/journal/post03.jpg +0 -0
- data/img/left-arrow.svg +36 -0
- data/img/lightbox/close.png +0 -0
- data/img/lightbox/loading.gif +0 -0
- data/img/lightbox/next.png +0 -0
- data/img/lightbox/prev.png +0 -0
- data/img/loading.gif +0 -0
- data/img/logo.png +0 -0
- data/img/misc-bg.jpg +0 -0
- data/img/postcover/pc001.jpg +0 -0
- data/img/postcover/pc002.jpg +0 -0
- data/img/postcover/pc003.jpg +0 -0
- data/img/postcover/pc004.jpg +0 -0
- data/img/postcover/pc005.jpg +0 -0
- data/img/postcover/pc006.jpg +0 -0
- data/img/postcover/pc007.jpg +0 -0
- data/img/postcover/pc008.jpg +0 -0
- data/img/right-arrow.svg +36 -0
- data/img/siteicon.png +0 -0
- data/img/watermark-1900x1900-alt.png +0 -0
- data/img/watermark-1900x1900.png +0 -0
- data/img/watermark-800x800.png +0 -0
- data/img/writing-bg.jpg +0 -0
- data/js/dripload.js +37 -0
- data/js/fullcart.js +22 -0
- data/js/isotope.pkgd.min.js +8 -0
- data/js/jquery.cycle.min.js +1 -0
- data/js/jquery.isotope.min.js +13 -0
- data/js/jquery.lazylinepainter.min.js +17 -0
- data/js/jquery.magnific-popup.js +1861 -0
- data/js/jquery.mousewheel.min.js +8 -0
- data/js/jquery.tinycarousel.min.js +7 -0
- data/js/kenburns.min.js +6 -0
- data/js/main.min.js +588 -0
- data/js/modernizr.js +2 -0
- data/js/owlcarousel/.gitattributes +5 -0
- data/js/owlcarousel/.gitignore +18 -0
- data/js/owlcarousel/.travis.yml +14 -0
- data/js/owlcarousel/CONTRIBUTING.md +88 -0
- data/js/owlcarousel/Gruntfile.js +320 -0
- data/js/owlcarousel/ISSUE_TEMPLATE.md +14 -0
- data/js/owlcarousel/LICENSE +23 -0
- data/js/owlcarousel/README.md +122 -0
- data/js/owlcarousel/ROADMAP.md +57 -0
- data/js/owlcarousel/_config.json +30 -0
- data/js/owlcarousel/bower.json +13 -0
- data/js/owlcarousel/dist/LICENSE +23 -0
- data/js/owlcarousel/dist/README.md +122 -0
- data/js/owlcarousel/dist/assets/ajax-loader.gif +0 -0
- data/js/owlcarousel/dist/assets/owl.carousel.css +186 -0
- data/js/owlcarousel/dist/assets/owl.carousel.min.css +6 -0
- data/js/owlcarousel/dist/assets/owl.theme.default.css +50 -0
- data/js/owlcarousel/dist/assets/owl.theme.default.min.css +6 -0
- data/js/owlcarousel/dist/assets/owl.theme.green.css +50 -0
- data/js/owlcarousel/dist/assets/owl.theme.green.min.css +6 -0
- data/js/owlcarousel/dist/assets/owl.video.play.png +0 -0
- data/js/owlcarousel/dist/owl.carousel.js +3448 -0
- data/js/owlcarousel/dist/owl.carousel.min.js +7 -0
- data/js/owlcarousel/docs/assets/css/animate.css +3303 -0
- data/js/owlcarousel/docs/assets/css/docs.theme.min.css +1 -0
- data/js/owlcarousel/docs/assets/img/bird_blue_32.png +0 -0
- data/js/owlcarousel/docs/assets/img/download.png +0 -0
- data/js/owlcarousel/docs/assets/img/feature-drag.png +0 -0
- data/js/owlcarousel/docs/assets/img/feature-modern.png +0 -0
- data/js/owlcarousel/docs/assets/img/feature-module.png +0 -0
- data/js/owlcarousel/docs/assets/img/feature-options.png +0 -0
- data/js/owlcarousel/docs/assets/img/feature-responsive.png +0 -0
- data/js/owlcarousel/docs/assets/img/feature-zombie.png +0 -0
- data/js/owlcarousel/docs/assets/img/owl-logo.png +0 -0
- data/js/owlcarousel/docs/assets/img/twitter_25.png +0 -0
- data/js/owlcarousel/docs/assets/js/app.js +32 -0
- data/js/owlcarousel/docs/assets/js/foundation.min.js +3 -0
- data/js/owlcarousel/docs/assets/owlcarousel/README.md +122 -0
- data/js/owlcarousel/docs/assets/owlcarousel/assets/ajax-loader.gif +0 -0
- data/js/owlcarousel/docs/assets/owlcarousel/assets/owl.carousel.css +186 -0
- data/js/owlcarousel/docs/assets/owlcarousel/assets/owl.carousel.min.css +6 -0
- data/js/owlcarousel/docs/assets/owlcarousel/assets/owl.theme.default.css +50 -0
- data/js/owlcarousel/docs/assets/owlcarousel/assets/owl.theme.default.min.css +6 -0
- data/js/owlcarousel/docs/assets/owlcarousel/assets/owl.theme.green.css +50 -0
- data/js/owlcarousel/docs/assets/owlcarousel/assets/owl.theme.green.min.css +6 -0
- data/js/owlcarousel/docs/assets/owlcarousel/assets/owl.video.play.png +0 -0
- data/js/owlcarousel/docs/assets/owlcarousel/owl.carousel.js +3448 -0
- data/js/owlcarousel/docs/assets/owlcarousel/owl.carousel.min.js +7 -0
- data/js/owlcarousel/docs/assets/vendors/foundation.min.js +3 -0
- data/js/owlcarousel/docs/assets/vendors/highlight.js +1 -0
- data/js/owlcarousel/docs/assets/vendors/jquery.min.js +2 -0
- data/js/owlcarousel/docs/assets/vendors/jquery.min.map +1 -0
- data/js/owlcarousel/docs/assets/vendors/jquery.mousewheel.min.js +8 -0
- data/js/owlcarousel/docs/demos/animate.html +272 -0
- data/js/owlcarousel/docs/demos/autoheight.html +165 -0
- data/js/owlcarousel/docs/demos/autoplay.html +186 -0
- data/js/owlcarousel/docs/demos/autowidth.html +185 -0
- data/js/owlcarousel/docs/demos/basic.html +199 -0
- data/js/owlcarousel/docs/demos/center.html +239 -0
- data/js/owlcarousel/docs/demos/demos.html +198 -0
- data/js/owlcarousel/docs/demos/events.html +207 -0
- data/js/owlcarousel/docs/demos/lazyLoad.html +165 -0
- data/js/owlcarousel/docs/demos/merge.html +202 -0
- data/js/owlcarousel/docs/demos/mousewheel.html +209 -0
- data/js/owlcarousel/docs/demos/responsive.html +297 -0
- data/js/owlcarousel/docs/demos/rtl.html +202 -0
- data/js/owlcarousel/docs/demos/stagepadding.html +202 -0
- data/js/owlcarousel/docs/demos/test.html +144 -0
- data/js/owlcarousel/docs/demos/urlhashnav.html +190 -0
- data/js/owlcarousel/docs/demos/video.html +189 -0
- data/js/owlcarousel/docs/docs/api-classes.html +227 -0
- data/js/owlcarousel/docs/docs/api-events.html +358 -0
- data/js/owlcarousel/docs/docs/api-options.html +395 -0
- data/js/owlcarousel/docs/docs/dev-buildin-plugins.html +157 -0
- data/js/owlcarousel/docs/docs/dev-external.html +151 -0
- data/js/owlcarousel/docs/docs/dev-plugin-api.html +160 -0
- data/js/owlcarousel/docs/docs/dev-styles.html +171 -0
- data/js/owlcarousel/docs/docs/started-faq.html +162 -0
- data/js/owlcarousel/docs/docs/started-installation.html +173 -0
- data/js/owlcarousel/docs/docs/started-welcome.html +196 -0
- data/js/owlcarousel/docs/docs/support-changelog.html +169 -0
- data/js/owlcarousel/docs/docs/support-contact.html +140 -0
- data/js/owlcarousel/docs/docs/support-contributing.html +162 -0
- data/js/owlcarousel/docs/index.html +239 -0
- data/js/owlcarousel/package-lock.json +6169 -0
- data/js/owlcarousel/package.json +57 -0
- data/js/owlcarousel/src/img/ajax-loader.gif +0 -0
- data/js/owlcarousel/src/img/owl.video.play.png +0 -0
- data/js/owlcarousel/src/js/.jscsrc +47 -0
- data/js/owlcarousel/src/js/.jshintrc +13 -0
- data/js/owlcarousel/src/js/owl.animate.js +121 -0
- data/js/owlcarousel/src/js/owl.autoheight.js +132 -0
- data/js/owlcarousel/src/js/owl.autoplay.js +233 -0
- data/js/owlcarousel/src/js/owl.autorefresh.js +111 -0
- data/js/owlcarousel/src/js/owl.carousel.js +1750 -0
- data/js/owlcarousel/src/js/owl.hash.js +122 -0
- data/js/owlcarousel/src/js/owl.lazyload.js +149 -0
- data/js/owlcarousel/src/js/owl.navigation.js +406 -0
- data/js/owlcarousel/src/js/owl.support.js +83 -0
- data/js/owlcarousel/src/js/owl.support.modernizr.js +66 -0
- data/js/owlcarousel/src/js/owl.video.js +327 -0
- data/js/owlcarousel/src/scss/_animate.scss +28 -0
- data/js/owlcarousel/src/scss/_autoheight.scss +7 -0
- data/js/owlcarousel/src/scss/_core.scss +126 -0
- data/js/owlcarousel/src/scss/_lazyload.scss +25 -0
- data/js/owlcarousel/src/scss/_theme.default.scss +30 -0
- data/js/owlcarousel/src/scss/_theme.green.scss +30 -0
- data/js/owlcarousel/src/scss/_theme.scss +64 -0
- data/js/owlcarousel/src/scss/_video.scss +53 -0
- data/js/owlcarousel/src/scss/owl.carousel.scss +5 -0
- data/js/owlcarousel/src/scss/owl.theme.default.scss +1 -0
- data/js/owlcarousel/src/scss/owl.theme.green.scss +1 -0
- data/js/owlcarousel/test/index.html +32 -0
- data/js/owlcarousel/test/unit/autoplay.js +86 -0
- data/js/owlcarousel/test/unit/core.js +140 -0
- data/js/retina.min.js +10 -0
- data/js/scripts.js +204 -0
- data/js/super-search.js +136 -0
- data/js/zepto.min.js +2 -0
- metadata +176 -1
@@ -0,0 +1,28 @@
|
|
1
|
+
/*
|
2
|
+
* Owl Carousel - Animate Plugin
|
3
|
+
*/
|
4
|
+
.owl-carousel{
|
5
|
+
.animated {
|
6
|
+
animation-duration: 1000ms;
|
7
|
+
animation-fill-mode: both;
|
8
|
+
}
|
9
|
+
.owl-animated-in {
|
10
|
+
z-index: 0;
|
11
|
+
}
|
12
|
+
.owl-animated-out {
|
13
|
+
z-index: 1;
|
14
|
+
}
|
15
|
+
.fadeOut {
|
16
|
+
animation-name: fadeOut;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
@keyframes fadeOut {
|
21
|
+
0% {
|
22
|
+
opacity: 1;
|
23
|
+
}
|
24
|
+
|
25
|
+
100% {
|
26
|
+
opacity: 0;
|
27
|
+
}
|
28
|
+
}
|
@@ -0,0 +1,126 @@
|
|
1
|
+
/*
|
2
|
+
* Owl Carousel - Core
|
3
|
+
*/
|
4
|
+
.owl-carousel {
|
5
|
+
display: none;
|
6
|
+
width: 100%;
|
7
|
+
-webkit-tap-highlight-color: transparent;
|
8
|
+
/* position relative and z-index fix webkit rendering fonts issue */
|
9
|
+
position: relative;
|
10
|
+
z-index: 1;
|
11
|
+
|
12
|
+
.owl-stage {
|
13
|
+
position: relative;
|
14
|
+
-ms-touch-action: pan-Y;
|
15
|
+
touch-action: manipulation;
|
16
|
+
-moz-backface-visibility: hidden; /* fix firefox animation glitch */
|
17
|
+
}
|
18
|
+
|
19
|
+
.owl-stage:after {
|
20
|
+
content: ".";
|
21
|
+
display: block;
|
22
|
+
clear: both;
|
23
|
+
visibility: hidden;
|
24
|
+
line-height: 0;
|
25
|
+
height: 0;
|
26
|
+
}
|
27
|
+
|
28
|
+
.owl-stage-outer {
|
29
|
+
position: relative;
|
30
|
+
overflow: hidden;
|
31
|
+
/* fix for flashing background */
|
32
|
+
-webkit-transform: translate3d(0px, 0px, 0px);
|
33
|
+
}
|
34
|
+
|
35
|
+
.owl-wrapper,
|
36
|
+
.owl-item{
|
37
|
+
-webkit-backface-visibility: hidden;
|
38
|
+
-moz-backface-visibility: hidden;
|
39
|
+
-ms-backface-visibility: hidden;
|
40
|
+
-webkit-transform: translate3d(0,0,0);
|
41
|
+
-moz-transform: translate3d(0,0,0);
|
42
|
+
-ms-transform: translate3d(0,0,0);
|
43
|
+
}
|
44
|
+
|
45
|
+
.owl-item {
|
46
|
+
position: relative;
|
47
|
+
min-height: 1px;
|
48
|
+
float: left;
|
49
|
+
-webkit-backface-visibility: hidden;
|
50
|
+
-webkit-tap-highlight-color: transparent;
|
51
|
+
-webkit-touch-callout: none;
|
52
|
+
}
|
53
|
+
.owl-item img {
|
54
|
+
display: block;
|
55
|
+
width: 100%;
|
56
|
+
}
|
57
|
+
|
58
|
+
.owl-nav.disabled,
|
59
|
+
.owl-dots.disabled {
|
60
|
+
display: none;
|
61
|
+
}
|
62
|
+
|
63
|
+
.owl-nav .owl-prev,
|
64
|
+
.owl-nav .owl-next,
|
65
|
+
.owl-dot {
|
66
|
+
cursor: pointer;
|
67
|
+
-webkit-user-select: none;
|
68
|
+
-khtml-user-select: none;
|
69
|
+
-moz-user-select: none;
|
70
|
+
-ms-user-select: none;
|
71
|
+
user-select: none;
|
72
|
+
}
|
73
|
+
|
74
|
+
.owl-nav button.owl-prev,
|
75
|
+
.owl-nav button.owl-next,
|
76
|
+
button.owl-dot {
|
77
|
+
background: none;
|
78
|
+
color: inherit;
|
79
|
+
border: none;
|
80
|
+
padding:0!important;
|
81
|
+
font: inherit;
|
82
|
+
}
|
83
|
+
|
84
|
+
&.owl-loaded {
|
85
|
+
display: block;
|
86
|
+
}
|
87
|
+
|
88
|
+
&.owl-loading {
|
89
|
+
opacity: 0;
|
90
|
+
display: block;
|
91
|
+
}
|
92
|
+
|
93
|
+
&.owl-hidden {
|
94
|
+
opacity: 0;
|
95
|
+
}
|
96
|
+
|
97
|
+
&.owl-refresh .owl-item {
|
98
|
+
visibility: hidden;
|
99
|
+
}
|
100
|
+
|
101
|
+
&.owl-drag .owl-item {
|
102
|
+
touch-action: pan-y;
|
103
|
+
-webkit-user-select: none;
|
104
|
+
-moz-user-select: none;
|
105
|
+
-ms-user-select: none;
|
106
|
+
user-select: none;
|
107
|
+
}
|
108
|
+
|
109
|
+
&.owl-grab {
|
110
|
+
cursor: move;
|
111
|
+
cursor: grab;
|
112
|
+
}
|
113
|
+
|
114
|
+
&.owl-rtl {
|
115
|
+
direction: rtl;
|
116
|
+
}
|
117
|
+
|
118
|
+
&.owl-rtl .owl-item {
|
119
|
+
float: right;
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
/* No Js */
|
124
|
+
.no-js .owl-carousel {
|
125
|
+
display: block;
|
126
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
/*
|
2
|
+
* Owl Carousel - Lazy Load Plugin
|
3
|
+
*/
|
4
|
+
|
5
|
+
.owl-carousel {
|
6
|
+
.owl-item {
|
7
|
+
.owl-lazy {
|
8
|
+
opacity: 0;
|
9
|
+
transition: opacity 400ms ease;
|
10
|
+
}
|
11
|
+
|
12
|
+
/**
|
13
|
+
This is introduced due to a bug in IE11 where lazy loading combined with autoheight plugin causes a wrong
|
14
|
+
calculation of the height of the owl-item that breaks page layouts
|
15
|
+
*/
|
16
|
+
.owl-lazy[src^=""], .owl-lazy:not([src]) {
|
17
|
+
max-height: 0;
|
18
|
+
}
|
19
|
+
|
20
|
+
img.owl-lazy {
|
21
|
+
transform-style: preserve-3d;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
/*
|
2
|
+
* Default theme - Owl Carousel CSS File
|
3
|
+
*/
|
4
|
+
|
5
|
+
$color-base: #869791 !default;
|
6
|
+
$color-white: #FFF !default;
|
7
|
+
$color-gray: #D6D6D6 !default;
|
8
|
+
|
9
|
+
//nav
|
10
|
+
|
11
|
+
$nav-color: $color-white !default;
|
12
|
+
$nav-color-hover: $color-white !default;
|
13
|
+
$nav-font-size: 14px !default;
|
14
|
+
$nav-rounded: 3px !default;
|
15
|
+
$nav-margin: 5px !default;
|
16
|
+
$nav-padding: 4px 7px !default;
|
17
|
+
$nav-background: $color-gray !default;
|
18
|
+
$nav-background-hover: $color-base !default;
|
19
|
+
$nav-disabled-opacity: 0.5 !default;
|
20
|
+
|
21
|
+
//dots
|
22
|
+
|
23
|
+
$dot-width: 10px !default;
|
24
|
+
$dot-height: 10px !default;
|
25
|
+
$dot-rounded: 30px !default;
|
26
|
+
$dot-margin: 5px 7px !default;
|
27
|
+
$dot-background: $color-gray !default;
|
28
|
+
$dot-background-active: $color-base !default;
|
29
|
+
|
30
|
+
@import 'theme';
|
@@ -0,0 +1,30 @@
|
|
1
|
+
/*
|
2
|
+
* Green theme - Owl Carousel CSS File
|
3
|
+
*/
|
4
|
+
|
5
|
+
$color-base: #4DC7A0 !default;
|
6
|
+
$color-white: #FFF !default;
|
7
|
+
$color-gray: #D6D6D6 !default;
|
8
|
+
|
9
|
+
//nav
|
10
|
+
|
11
|
+
$nav-color: $color-white !default;
|
12
|
+
$nav-color-hover: $color-white !default;
|
13
|
+
$nav-font-size: 14px !default;
|
14
|
+
$nav-rounded: 3px !default;
|
15
|
+
$nav-margin: 5px !default;
|
16
|
+
$nav-padding: 4px 7px !default;
|
17
|
+
$nav-background: $color-gray !default;
|
18
|
+
$nav-background-hover: $color-base !default;
|
19
|
+
$nav-disabled-opacity: 0.5 !default;
|
20
|
+
|
21
|
+
//dots
|
22
|
+
|
23
|
+
$dot-width: 10px !default;
|
24
|
+
$dot-height: 10px !default;
|
25
|
+
$dot-rounded: 30px !default;
|
26
|
+
$dot-margin: 5px 7px !default;
|
27
|
+
$dot-background: $color-gray !default;
|
28
|
+
$dot-background-active: $color-base !default;
|
29
|
+
|
30
|
+
@import 'theme';
|
@@ -0,0 +1,64 @@
|
|
1
|
+
|
2
|
+
.owl-theme {
|
3
|
+
// Styling Next and Prev buttons
|
4
|
+
.owl-nav {
|
5
|
+
margin-top: 10px;
|
6
|
+
text-align: center;
|
7
|
+
-webkit-tap-highlight-color: transparent;
|
8
|
+
|
9
|
+
[class*='owl-'] {
|
10
|
+
color: $nav-color;
|
11
|
+
font-size: $nav-font-size;
|
12
|
+
margin: $nav-margin;
|
13
|
+
padding: $nav-padding;
|
14
|
+
background: $nav-background;
|
15
|
+
display: inline-block;
|
16
|
+
cursor: pointer;
|
17
|
+
border-radius: 3px;
|
18
|
+
|
19
|
+
&:hover {
|
20
|
+
background: $nav-background-hover;
|
21
|
+
color:$nav-color-hover;
|
22
|
+
text-decoration: none;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
.disabled {
|
26
|
+
opacity: $nav-disabled-opacity;
|
27
|
+
cursor: default;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
// Styling dots
|
32
|
+
.owl-nav.disabled + .owl-dots {
|
33
|
+
margin-top: 10px;
|
34
|
+
}
|
35
|
+
|
36
|
+
.owl-dots {
|
37
|
+
text-align: center;
|
38
|
+
-webkit-tap-highlight-color: transparent;
|
39
|
+
|
40
|
+
.owl-dot {
|
41
|
+
display: inline-block;
|
42
|
+
zoom: 1;
|
43
|
+
*display: inline;
|
44
|
+
|
45
|
+
span {
|
46
|
+
width: $dot-width;
|
47
|
+
height: $dot-height;
|
48
|
+
margin: $dot-margin;
|
49
|
+
background: $dot-background;
|
50
|
+
display: block;
|
51
|
+
-webkit-backface-visibility: visible;
|
52
|
+
transition: opacity 200ms ease;
|
53
|
+
border-radius: $dot-rounded;
|
54
|
+
}
|
55
|
+
|
56
|
+
&.active,
|
57
|
+
&:hover {
|
58
|
+
span {
|
59
|
+
background: $dot-background-active;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
$owl-image-path: "" !default;
|
2
|
+
|
3
|
+
/*
|
4
|
+
* Owl Carousel - Video Plugin
|
5
|
+
*/
|
6
|
+
|
7
|
+
.owl-carousel{
|
8
|
+
.owl-video-wrapper {
|
9
|
+
position: relative;
|
10
|
+
height: 100%;
|
11
|
+
background: #000;
|
12
|
+
}
|
13
|
+
|
14
|
+
.owl-video-play-icon {
|
15
|
+
position: absolute;
|
16
|
+
height: 80px;
|
17
|
+
width: 80px;
|
18
|
+
left: 50%;
|
19
|
+
top: 50%;
|
20
|
+
margin-left: -40px;
|
21
|
+
margin-top: -40px;
|
22
|
+
background: url("#{$owl-image-path}owl.video.play.png") no-repeat;
|
23
|
+
cursor: pointer;
|
24
|
+
z-index: 1;
|
25
|
+
-webkit-backface-visibility: hidden;
|
26
|
+
transition: transform 100ms ease;
|
27
|
+
}
|
28
|
+
|
29
|
+
.owl-video-play-icon:hover {
|
30
|
+
transform: scale(1.3, 1.3);
|
31
|
+
}
|
32
|
+
|
33
|
+
.owl-video-playing .owl-video-tn,
|
34
|
+
.owl-video-playing .owl-video-play-icon {
|
35
|
+
display: none;
|
36
|
+
}
|
37
|
+
|
38
|
+
.owl-video-tn {
|
39
|
+
opacity: 0;
|
40
|
+
height: 100%;
|
41
|
+
background-position: center center;
|
42
|
+
background-repeat: no-repeat;
|
43
|
+
background-size: contain;
|
44
|
+
transition: opacity 400ms ease;
|
45
|
+
}
|
46
|
+
|
47
|
+
.owl-video-frame {
|
48
|
+
position: relative;
|
49
|
+
z-index: 1;
|
50
|
+
height: 100%;
|
51
|
+
width: 100%;
|
52
|
+
}
|
53
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "theme.default";
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "theme.green";
|
@@ -0,0 +1,32 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8" />
|
5
|
+
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
7
|
+
|
8
|
+
<title>Owl Carousel 2</title>
|
9
|
+
|
10
|
+
<link rel="stylesheet" href="../node_modules/qunitjs/qunit/qunit.css" />
|
11
|
+
|
12
|
+
<script src="../node_modules/jquery/dist/jquery.js"></script>
|
13
|
+
<script src="../node_modules/qunitjs/qunit/qunit.js"></script>
|
14
|
+
<script src="../src/js/owl.carousel.js" data-cover></script>
|
15
|
+
<script src="../src/js/owl.support.js" data-cover></script>
|
16
|
+
<script src="../src/js/owl.autoplay.js" data-cover></script>
|
17
|
+
<script src="unit/core.js" defer></script>
|
18
|
+
<script src="unit/autoplay.js" defer></script>
|
19
|
+
</head>
|
20
|
+
<body>
|
21
|
+
<div id="qunit"></div>
|
22
|
+
<div id="qunit-fixture">
|
23
|
+
|
24
|
+
<ul id="simple" class="owl-carousel">
|
25
|
+
<li>1</li>
|
26
|
+
<li>2</li>
|
27
|
+
<li>3</li>
|
28
|
+
</ul>
|
29
|
+
|
30
|
+
</div>
|
31
|
+
</body>
|
32
|
+
</html>
|
@@ -0,0 +1,86 @@
|
|
1
|
+
module('Autoplay tests');
|
2
|
+
|
3
|
+
function FakeClock() {
|
4
|
+
// Instantiate a new controllable clock which overrides the built in Date
|
5
|
+
// class on construction.
|
6
|
+
var value = 1;
|
7
|
+
|
8
|
+
this.tick = function(duration) {
|
9
|
+
value += duration;
|
10
|
+
};
|
11
|
+
// TODO: This is broken and has to be fixed in the near future
|
12
|
+
this.Date = function() {
|
13
|
+
this.getTime = function() {
|
14
|
+
return value;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
function change_timeout(autoplay, first, second, wait) {
|
20
|
+
var clock = new FakeClock();
|
21
|
+
|
22
|
+
// This is a helper function to test multiple consecutive play calls with
|
23
|
+
// different timeout values. Four steps will be completed by this function:
|
24
|
+
|
25
|
+
// 1. The autoplay will be played in a stopped state with the first timeout.
|
26
|
+
autoplay.stop();
|
27
|
+
autoplay.play(first);
|
28
|
+
|
29
|
+
// 2. Time will be forwarded a given wait time.
|
30
|
+
clock.tick(wait);
|
31
|
+
|
32
|
+
// 3. The autoplay will be paused.
|
33
|
+
autoplay.pause();
|
34
|
+
|
35
|
+
// 4. The autoplay will be played with the second timeout.
|
36
|
+
autoplay.play(second);
|
37
|
+
}
|
38
|
+
|
39
|
+
// test('stopping the autoplay timer', function() {
|
40
|
+
// expect(2);
|
41
|
+
//
|
42
|
+
// var clock = new FakeClock();
|
43
|
+
//
|
44
|
+
// var carousel = $('#simple').owlCarousel().data('owl.carousel');
|
45
|
+
// var autoplay = carousel._plugins.autoplay;
|
46
|
+
//
|
47
|
+
// clock.tick(1);
|
48
|
+
//
|
49
|
+
// autoplay.stop();
|
50
|
+
// autoplay.play();
|
51
|
+
//
|
52
|
+
// equal(autoplay.read(), 0);
|
53
|
+
//
|
54
|
+
// autoplay.pause();
|
55
|
+
// autoplay.play();
|
56
|
+
//
|
57
|
+
// equal(autoplay.read(), 0);
|
58
|
+
// });
|
59
|
+
// TODO: See todo above, seems to be broken since a while as we are trying to assign the global const Date to a new function
|
60
|
+
// test('changing autoplay timeout values', function() {
|
61
|
+
// expect(4);
|
62
|
+
//
|
63
|
+
// var carousel = $('#simple').owlCarousel().data('owl.carousel');
|
64
|
+
// var autoplay = carousel._plugins.autoplay;
|
65
|
+
//
|
66
|
+
// // Changing the timeout from 2000 to 3000 after 3000 ticks should maintain
|
67
|
+
// // the elapsed time (1000) since the last transition.
|
68
|
+
// change_timeout(autoplay, 2000, 3000, 3000);
|
69
|
+
// equal(autoplay.read() % 3000, 1000);
|
70
|
+
//
|
71
|
+
// // Changing the timeout from 4000 to 5000 after 12000 ticks should maintain
|
72
|
+
// // the elapsed time (0) since the last transition.
|
73
|
+
// change_timeout(autoplay, 4000, 5000, 12000);
|
74
|
+
// equal(autoplay.read() % 5000, 0);
|
75
|
+
//
|
76
|
+
// // Changing the timeout from 5000 to 4000 after 12000 ticks should maintain
|
77
|
+
// // the elapsed time (2000) since the last transition.
|
78
|
+
// change_timeout(autoplay, 5000, 4000, 12000);
|
79
|
+
// equal(autoplay.read() % 4000, 2000);
|
80
|
+
//
|
81
|
+
// // Changing the timeout from 11000 to 6000 after 19000 ticks should reset
|
82
|
+
// // the elapsed timer value (7000) since the last transition to 0, because
|
83
|
+
// // it is larger than the timeout value.
|
84
|
+
// change_timeout(autoplay, 11000, 6000, 19000);
|
85
|
+
// equal(autoplay.read() % 6000, 0);
|
86
|
+
// });
|