Update and recompile JS and SASS
This commit is contained in:
parent
d00859ed7b
commit
a3f3014954
184
css/theme.css
184
css/theme.css
|
@ -308,10 +308,10 @@ blockquote {
|
|||
margin: 0 0 1rem; }
|
||||
|
||||
a {
|
||||
color: #0CB4CE;
|
||||
color: #4d3873;
|
||||
text-decoration: none; }
|
||||
a:focus, a:hover {
|
||||
color: #087586;
|
||||
color: #2b1f40;
|
||||
text-decoration: underline; }
|
||||
a:focus {
|
||||
outline: thin dotted;
|
||||
|
@ -1689,35 +1689,35 @@ fieldset[disabled] a.btn {
|
|||
|
||||
.btn-primary {
|
||||
color: #fff;
|
||||
background-color: #0CB4CE;
|
||||
border-color: #0CB4CE; }
|
||||
background-color: #4d3873;
|
||||
border-color: #4d3873; }
|
||||
.btn-primary:hover {
|
||||
color: #fff;
|
||||
background-color: #098a9e;
|
||||
border-color: #098194; }
|
||||
background-color: #362751;
|
||||
border-color: #31244a; }
|
||||
.btn-primary:focus, .btn-primary.focus {
|
||||
color: #fff;
|
||||
background-color: #098a9e;
|
||||
border-color: #098194; }
|
||||
background-color: #362751;
|
||||
border-color: #31244a; }
|
||||
.btn-primary:active, .btn-primary.active,
|
||||
.open > .btn-primary.dropdown-toggle {
|
||||
color: #fff;
|
||||
background-color: #098a9e;
|
||||
border-color: #098194;
|
||||
background-color: #362751;
|
||||
border-color: #31244a;
|
||||
background-image: none; }
|
||||
.btn-primary:active:hover, .btn-primary:active:focus, .btn-primary:active.focus, .btn-primary.active:hover, .btn-primary.active:focus, .btn-primary.active.focus,
|
||||
.open > .btn-primary.dropdown-toggle:hover,
|
||||
.open > .btn-primary.dropdown-toggle:focus,
|
||||
.open > .btn-primary.dropdown-toggle.focus {
|
||||
color: #fff;
|
||||
background-color: #076c7c;
|
||||
border-color: #054b56; }
|
||||
background-color: #261c39;
|
||||
border-color: #140e1d; }
|
||||
.btn-primary.disabled:focus, .btn-primary.disabled.focus, .btn-primary:disabled:focus, .btn-primary:disabled.focus {
|
||||
background-color: #0CB4CE;
|
||||
border-color: #0CB4CE; }
|
||||
background-color: #4d3873;
|
||||
border-color: #4d3873; }
|
||||
.btn-primary.disabled:hover, .btn-primary:disabled:hover {
|
||||
background-color: #0CB4CE;
|
||||
border-color: #0CB4CE; }
|
||||
background-color: #4d3873;
|
||||
border-color: #4d3873; }
|
||||
|
||||
.btn-secondary {
|
||||
color: #373a3c;
|
||||
|
@ -1880,23 +1880,23 @@ fieldset[disabled] a.btn {
|
|||
border-color: #d9534f; }
|
||||
|
||||
.btn-primary-outline {
|
||||
color: #0CB4CE;
|
||||
color: #4d3873;
|
||||
background-image: none;
|
||||
background-color: transparent;
|
||||
border-color: #0CB4CE; }
|
||||
border-color: #4d3873; }
|
||||
.btn-primary-outline:focus, .btn-primary-outline.focus, .btn-primary-outline:active, .btn-primary-outline.active,
|
||||
.open > .btn-primary-outline.dropdown-toggle {
|
||||
color: #fff;
|
||||
background-color: #0CB4CE;
|
||||
border-color: #0CB4CE; }
|
||||
background-color: #4d3873;
|
||||
border-color: #4d3873; }
|
||||
.btn-primary-outline:hover {
|
||||
color: #fff;
|
||||
background-color: #0CB4CE;
|
||||
border-color: #0CB4CE; }
|
||||
background-color: #4d3873;
|
||||
border-color: #4d3873; }
|
||||
.btn-primary-outline.disabled:focus, .btn-primary-outline.disabled.focus, .btn-primary-outline:disabled:focus, .btn-primary-outline:disabled.focus {
|
||||
border-color: #4bdef5; }
|
||||
border-color: #7d60b1; }
|
||||
.btn-primary-outline.disabled:hover, .btn-primary-outline:disabled:hover {
|
||||
border-color: #4bdef5; }
|
||||
border-color: #7d60b1; }
|
||||
|
||||
.btn-secondary-outline {
|
||||
color: #ccc;
|
||||
|
@ -1995,7 +1995,7 @@ fieldset[disabled] a.btn {
|
|||
|
||||
.btn-link {
|
||||
font-weight: normal;
|
||||
color: #0CB4CE;
|
||||
color: #4d3873;
|
||||
border-radius: 0; }
|
||||
.btn-link, .btn-link:active, .btn-link.active, .btn-link:disabled {
|
||||
background-color: transparent; }
|
||||
|
@ -2004,7 +2004,7 @@ fieldset[disabled] a.btn {
|
|||
.btn-link:hover {
|
||||
border-color: transparent; }
|
||||
.btn-link:focus, .btn-link:hover {
|
||||
color: #087586;
|
||||
color: #2b1f40;
|
||||
text-decoration: underline;
|
||||
background-color: transparent; }
|
||||
.btn-link:disabled:focus, .btn-link:disabled:hover {
|
||||
|
@ -2121,7 +2121,7 @@ input[type="button"].btn-block {
|
|||
.dropdown-item.active, .dropdown-item.active:focus, .dropdown-item.active:hover {
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
background-color: #0CB4CE;
|
||||
background-color: #4d3873;
|
||||
outline: 0; }
|
||||
.dropdown-item.disabled, .dropdown-item.disabled:focus, .dropdown-item.disabled:hover {
|
||||
color: #818a91; }
|
||||
|
@ -2636,7 +2636,7 @@ input[type="button"].btn-block {
|
|||
.nav-pills .nav-item.open .nav-link:hover {
|
||||
color: #fff;
|
||||
cursor: default;
|
||||
background-color: #0CB4CE; }
|
||||
background-color: #4d3873; }
|
||||
|
||||
.nav-stacked .nav-item {
|
||||
display: block;
|
||||
|
@ -2854,8 +2854,8 @@ input[type="button"].btn-block {
|
|||
border-radius: 0 0 0.25rem 0.25rem; }
|
||||
|
||||
.card-primary {
|
||||
background-color: #0CB4CE;
|
||||
border-color: #0CB4CE; }
|
||||
background-color: #4d3873;
|
||||
border-color: #4d3873; }
|
||||
|
||||
.card-success {
|
||||
background-color: #5cb85c;
|
||||
|
@ -2875,7 +2875,7 @@ input[type="button"].btn-block {
|
|||
|
||||
.card-primary-outline {
|
||||
background-color: transparent;
|
||||
border-color: #0CB4CE; }
|
||||
border-color: #4d3873; }
|
||||
|
||||
.card-secondary-outline {
|
||||
background-color: transparent;
|
||||
|
@ -3029,8 +3029,8 @@ input[type="button"].btn-block {
|
|||
z-index: 2;
|
||||
color: #fff;
|
||||
cursor: default;
|
||||
background-color: #0CB4CE;
|
||||
border-color: #0CB4CE; }
|
||||
background-color: #4d3873;
|
||||
border-color: #4d3873; }
|
||||
.page-item.disabled .page-link, .page-item.disabled .page-link:focus, .page-item.disabled .page-link:hover {
|
||||
color: #818a91;
|
||||
cursor: not-allowed;
|
||||
|
@ -3043,12 +3043,12 @@ input[type="button"].btn-block {
|
|||
padding: 0.5rem 0.75rem;
|
||||
margin-left: -1px;
|
||||
line-height: 1.5;
|
||||
color: #0CB4CE;
|
||||
color: #4d3873;
|
||||
text-decoration: none;
|
||||
background-color: #fff;
|
||||
border: 1px solid #ddd; }
|
||||
.page-link:focus, .page-link:hover {
|
||||
color: #087586;
|
||||
color: #2b1f40;
|
||||
background-color: #eceeef;
|
||||
border-color: #ddd; }
|
||||
|
||||
|
@ -3151,9 +3151,9 @@ a.label:focus, a.label:hover {
|
|||
background-color: #687077; }
|
||||
|
||||
.label-primary {
|
||||
background-color: #0CB4CE; }
|
||||
background-color: #4d3873; }
|
||||
.label-primary[href]:focus, .label-primary[href]:hover {
|
||||
background-color: #098a9e; }
|
||||
background-color: #362751; }
|
||||
|
||||
.label-success {
|
||||
background-color: #5cb85c; }
|
||||
|
@ -3469,8 +3469,8 @@ button.list-group-item {
|
|||
.list-group-item.active, .list-group-item.active:focus, .list-group-item.active:hover {
|
||||
z-index: 2;
|
||||
color: #fff;
|
||||
background-color: #0CB4CE;
|
||||
border-color: #0CB4CE; }
|
||||
background-color: #4d3873;
|
||||
border-color: #4d3873; }
|
||||
.list-group-item.active .list-group-item-heading,
|
||||
.list-group-item.active .list-group-item-heading > small,
|
||||
.list-group-item.active .list-group-item-heading > .small, .list-group-item.active:focus .list-group-item-heading,
|
||||
|
@ -3480,7 +3480,7 @@ button.list-group-item {
|
|||
.list-group-item.active:hover .list-group-item-heading > .small {
|
||||
color: inherit; }
|
||||
.list-group-item.active .list-group-item-text, .list-group-item.active:focus .list-group-item-text, .list-group-item.active:hover .list-group-item-text {
|
||||
color: #acf0fa; }
|
||||
color: #b5a4d3; }
|
||||
|
||||
.list-group-item-success {
|
||||
color: #3c763d;
|
||||
|
@ -4233,10 +4233,10 @@ button.close {
|
|||
color: #818a91; }
|
||||
|
||||
.text-primary {
|
||||
color: #0CB4CE !important; }
|
||||
color: #4d3873 !important; }
|
||||
|
||||
a.text-primary:focus, a.text-primary:hover {
|
||||
color: #098a9e; }
|
||||
color: #362751; }
|
||||
|
||||
.text-success {
|
||||
color: #5cb85c !important; }
|
||||
|
@ -4271,10 +4271,10 @@ a.text-danger:focus, a.text-danger:hover {
|
|||
|
||||
.bg-primary {
|
||||
color: #fff !important;
|
||||
background-color: #0CB4CE !important; }
|
||||
background-color: #4d3873 !important; }
|
||||
|
||||
a.bg-primary:focus, a.bg-primary:hover {
|
||||
background-color: #098a9e; }
|
||||
background-color: #362751; }
|
||||
|
||||
.bg-success {
|
||||
color: #fff !important;
|
||||
|
@ -6726,8 +6726,8 @@ ul.nav.navbar-nav a {
|
|||
.fa-percent:before {
|
||||
content: ""; }
|
||||
|
||||
/*
|
||||
* Owl Carousel - Core
|
||||
/*
|
||||
* Core Owl Carousel CSS File
|
||||
*/
|
||||
.owl-carousel {
|
||||
display: none;
|
||||
|
@ -6791,6 +6791,9 @@ ul.nav.navbar-nav a {
|
|||
user-select: none; }
|
||||
.owl-carousel.owl-grab {
|
||||
cursor: move;
|
||||
cursor: -webkit-grab;
|
||||
cursor: -o-grab;
|
||||
cursor: -ms-grab;
|
||||
cursor: grab; }
|
||||
.owl-carousel.owl-rtl {
|
||||
direction: rtl; }
|
||||
|
@ -6801,87 +6804,6 @@ ul.nav.navbar-nav a {
|
|||
.no-js .owl-carousel {
|
||||
display: block; }
|
||||
|
||||
/*
|
||||
* Owl Carousel - Animate Plugin
|
||||
*/
|
||||
.owl-carousel .animated {
|
||||
animation-duration: 1000ms;
|
||||
animation-fill-mode: both; }
|
||||
|
||||
.owl-carousel .owl-animated-in {
|
||||
z-index: 0; }
|
||||
|
||||
.owl-carousel .owl-animated-out {
|
||||
z-index: 1; }
|
||||
|
||||
.owl-carousel .fadeOut {
|
||||
animation-name: fadeOut; }
|
||||
|
||||
@keyframes fadeOut {
|
||||
0% {
|
||||
opacity: 1; }
|
||||
100% {
|
||||
opacity: 0; } }
|
||||
|
||||
/*
|
||||
* Owl Carousel - Auto Height Plugin
|
||||
*/
|
||||
.owl-height {
|
||||
transition: height 500ms ease-in-out; }
|
||||
|
||||
/*
|
||||
* Owl Carousel - Lazy Load Plugin
|
||||
*/
|
||||
.owl-carousel .owl-item .owl-lazy {
|
||||
opacity: 0;
|
||||
transition: opacity 400ms ease; }
|
||||
|
||||
.owl-carousel .owl-item img.owl-lazy {
|
||||
transform-style: preserve-3d; }
|
||||
|
||||
/*
|
||||
* Owl Carousel - Video Plugin
|
||||
*/
|
||||
.owl-carousel .owl-video-wrapper {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
background: #000; }
|
||||
|
||||
.owl-carousel .owl-video-play-icon {
|
||||
position: absolute;
|
||||
height: 80px;
|
||||
width: 80px;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
margin-left: -40px;
|
||||
margin-top: -40px;
|
||||
background: url("owl.video.play.png") no-repeat;
|
||||
cursor: pointer;
|
||||
z-index: 1;
|
||||
-webkit-backface-visibility: hidden;
|
||||
transition: transform 100ms ease; }
|
||||
|
||||
.owl-carousel .owl-video-play-icon:hover {
|
||||
transform: scale(1.3, 1.3); }
|
||||
|
||||
.owl-carousel .owl-video-playing .owl-video-tn,
|
||||
.owl-carousel .owl-video-playing .owl-video-play-icon {
|
||||
display: none; }
|
||||
|
||||
.owl-carousel .owl-video-tn {
|
||||
opacity: 0;
|
||||
height: 100%;
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
transition: opacity 400ms ease; }
|
||||
|
||||
.owl-carousel .owl-video-frame {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
height: 100%;
|
||||
width: 100%; }
|
||||
|
||||
/*
|
||||
* Owl Carousel - Animate Plugin
|
||||
*/
|
||||
|
@ -7010,6 +6932,8 @@ ul.nav.navbar-nav a {
|
|||
background: #D6D6D6;
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px; }
|
||||
.owl-theme .owl-nav [class*='owl-']:hover {
|
||||
background: #869791;
|
||||
|
@ -7036,7 +6960,13 @@ ul.nav.navbar-nav a {
|
|||
background: #D6D6D6;
|
||||
display: block;
|
||||
-webkit-backface-visibility: visible;
|
||||
-webkit-transition: opacity 200ms ease;
|
||||
-moz-transition: opacity 200ms ease;
|
||||
-ms-transition: opacity 200ms ease;
|
||||
-o-transition: opacity 200ms ease;
|
||||
transition: opacity 200ms ease;
|
||||
-webkit-border-radius: 30px;
|
||||
-moz-border-radius: 30px;
|
||||
border-radius: 30px; }
|
||||
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
|
||||
background: #869791; }
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -5,7 +5,7 @@
|
|||
// Thats the ugly Bootstrap blue used for all the links, primary buttons etc.
|
||||
// Just add your color code here, compile the theme.scss file to change this color everywhere
|
||||
|
||||
$brand-primary: #0CB4CE; //#ff6d5a
|
||||
$brand-primary: #4d3873; //#ff6d5a
|
||||
|
||||
// Basics of a navbar
|
||||
$navbar-height: 60px;
|
||||
|
|
|
@ -1,10 +1,45 @@
|
|||
/**
|
||||
* Owl Carousel v2.1.1
|
||||
* Copyright 2013-2016 David Deutsch
|
||||
* Licensed under MIT (https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE)
|
||||
/*
|
||||
* Owl Carousel - Animate Plugin
|
||||
*/
|
||||
/*
|
||||
* Owl Carousel - Core
|
||||
.owl-carousel .animated {
|
||||
-webkit-animation-duration: 1000ms;
|
||||
animation-duration: 1000ms;
|
||||
-webkit-animation-fill-mode: both;
|
||||
animation-fill-mode: both; }
|
||||
.owl-carousel .owl-animated-in {
|
||||
z-index: 0; }
|
||||
.owl-carousel .owl-animated-out {
|
||||
z-index: 1; }
|
||||
.owl-carousel .fadeOut {
|
||||
-webkit-animation-name: fadeOut;
|
||||
animation-name: fadeOut; }
|
||||
|
||||
@-webkit-keyframes fadeOut {
|
||||
0% {
|
||||
opacity: 1; }
|
||||
|
||||
100% {
|
||||
opacity: 0; } }
|
||||
|
||||
@keyframes fadeOut {
|
||||
0% {
|
||||
opacity: 1; }
|
||||
|
||||
100% {
|
||||
opacity: 0; } }
|
||||
|
||||
/*
|
||||
* Owl Carousel - Auto Height Plugin
|
||||
*/
|
||||
.owl-height {
|
||||
-webkit-transition: height 500ms ease-in-out;
|
||||
-moz-transition: height 500ms ease-in-out;
|
||||
-ms-transition: height 500ms ease-in-out;
|
||||
-o-transition: height 500ms ease-in-out;
|
||||
transition: height 500ms ease-in-out; }
|
||||
|
||||
/*
|
||||
* Core Owl Carousel CSS File
|
||||
*/
|
||||
.owl-carousel {
|
||||
display: none;
|
||||
|
@ -39,12 +74,9 @@
|
|||
display: block;
|
||||
width: 100%;
|
||||
-webkit-transform-style: preserve-3d; }
|
||||
.owl-carousel .owl-nav.disabled,
|
||||
.owl-carousel .owl-dots.disabled {
|
||||
.owl-carousel .owl-nav.disabled, .owl-carousel .owl-dots.disabled {
|
||||
display: none; }
|
||||
.owl-carousel .owl-nav .owl-prev,
|
||||
.owl-carousel .owl-nav .owl-next,
|
||||
.owl-carousel .owl-dot {
|
||||
.owl-carousel .owl-nav .owl-prev, .owl-carousel .owl-nav .owl-next, .owl-carousel .owl-dot {
|
||||
cursor: pointer;
|
||||
cursor: hand;
|
||||
-webkit-user-select: none;
|
||||
|
@ -68,6 +100,9 @@
|
|||
user-select: none; }
|
||||
.owl-carousel.owl-grab {
|
||||
cursor: move;
|
||||
cursor: -webkit-grab;
|
||||
cursor: -o-grab;
|
||||
cursor: -ms-grab;
|
||||
cursor: grab; }
|
||||
.owl-carousel.owl-rtl {
|
||||
direction: rtl; }
|
||||
|
@ -78,62 +113,26 @@
|
|||
.no-js .owl-carousel {
|
||||
display: block; }
|
||||
|
||||
/*
|
||||
* Owl Carousel - Animate Plugin
|
||||
*/
|
||||
.owl-carousel .animated {
|
||||
-webkit-animation-duration: 1000ms;
|
||||
animation-duration: 1000ms;
|
||||
-webkit-animation-fill-mode: both;
|
||||
animation-fill-mode: both; }
|
||||
|
||||
.owl-carousel .owl-animated-in {
|
||||
z-index: 0; }
|
||||
|
||||
.owl-carousel .owl-animated-out {
|
||||
z-index: 1; }
|
||||
|
||||
.owl-carousel .fadeOut {
|
||||
-webkit-animation-name: fadeOut;
|
||||
animation-name: fadeOut; }
|
||||
|
||||
@-webkit-keyframes fadeOut {
|
||||
0% {
|
||||
opacity: 1; }
|
||||
100% {
|
||||
opacity: 0; } }
|
||||
|
||||
@keyframes fadeOut {
|
||||
0% {
|
||||
opacity: 1; }
|
||||
100% {
|
||||
opacity: 0; } }
|
||||
|
||||
/*
|
||||
* Owl Carousel - Auto Height Plugin
|
||||
*/
|
||||
.owl-height {
|
||||
transition: height 500ms ease-in-out; }
|
||||
|
||||
/*
|
||||
/*
|
||||
* Owl Carousel - Lazy Load Plugin
|
||||
*/
|
||||
.owl-carousel .owl-item .owl-lazy {
|
||||
opacity: 0;
|
||||
-webkit-transition: opacity 400ms ease;
|
||||
-moz-transition: opacity 400ms ease;
|
||||
-ms-transition: opacity 400ms ease;
|
||||
-o-transition: opacity 400ms ease;
|
||||
transition: opacity 400ms ease; }
|
||||
.owl-carousel .owl-item img {
|
||||
transform-style: preserve-3d; }
|
||||
|
||||
.owl-carousel .owl-item img.owl-lazy {
|
||||
-webkit-transform-style: preserve-3d;
|
||||
transform-style: preserve-3d; }
|
||||
|
||||
/*
|
||||
/*
|
||||
* Owl Carousel - Video Plugin
|
||||
*/
|
||||
.owl-carousel .owl-video-wrapper {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
background: #000; }
|
||||
|
||||
.owl-carousel .owl-video-play-icon {
|
||||
position: absolute;
|
||||
height: 80px;
|
||||
|
@ -146,26 +145,33 @@
|
|||
cursor: pointer;
|
||||
z-index: 1;
|
||||
-webkit-backface-visibility: hidden;
|
||||
transition: -webkit-transform 100ms ease;
|
||||
transition: transform 100ms ease; }
|
||||
|
||||
-webkit-transition: scale 100ms ease;
|
||||
-moz-transition: scale 100ms ease;
|
||||
-ms-transition: scale 100ms ease;
|
||||
-o-transition: scale 100ms ease;
|
||||
transition: scale 100ms ease; }
|
||||
.owl-carousel .owl-video-play-icon:hover {
|
||||
-webkit-transform: scale(1.3, 1.3);
|
||||
-ms-transform: scale(1.3, 1.3);
|
||||
transform: scale(1.3, 1.3); }
|
||||
|
||||
.owl-carousel .owl-video-playing .owl-video-tn,
|
||||
.owl-carousel .owl-video-playing .owl-video-play-icon {
|
||||
-webkit-transition: scale(1.3, 1.3);
|
||||
-moz-transition: scale(1.3, 1.3);
|
||||
-ms-transition: scale(1.3, 1.3);
|
||||
-o-transition: scale(1.3, 1.3);
|
||||
transition: scale(1.3, 1.3); }
|
||||
.owl-carousel .owl-video-playing .owl-video-tn, .owl-carousel .owl-video-playing .owl-video-play-icon {
|
||||
display: none; }
|
||||
|
||||
.owl-carousel .owl-video-tn {
|
||||
opacity: 0;
|
||||
height: 100%;
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
-webkit-background-size: contain;
|
||||
-moz-background-size: contain;
|
||||
-o-background-size: contain;
|
||||
background-size: contain;
|
||||
-webkit-transition: opacity 400ms ease;
|
||||
-moz-transition: opacity 400ms ease;
|
||||
-ms-transition: opacity 400ms ease;
|
||||
-o-transition: opacity 400ms ease;
|
||||
transition: opacity 400ms ease; }
|
||||
|
||||
.owl-carousel .owl-video-frame {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
|
|
|
@ -1,6 +1 @@
|
|||
/**
|
||||
* Owl Carousel v2.1.1
|
||||
* Copyright 2013-2016 David Deutsch
|
||||
* Licensed under MIT (https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE)
|
||||
*/
|
||||
.owl-carousel,.owl-carousel .owl-item{-webkit-tap-highlight-color:transparent;position:relative}.owl-carousel{display:none;width:100%;z-index:1}.owl-carousel .owl-stage{position:relative;-ms-touch-action:pan-Y}.owl-carousel .owl-stage:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.owl-carousel .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translate3d(0,0,0)}.owl-carousel .owl-item{min-height:1px;float:left;-webkit-backface-visibility:hidden;-webkit-touch-callout:none}.owl-carousel .owl-item img{display:block;width:100%;-webkit-transform-style:preserve-3d}.owl-carousel .owl-dots.disabled,.owl-carousel .owl-nav.disabled{display:none}.owl-carousel .owl-dot,.owl-carousel .owl-nav .owl-next,.owl-carousel .owl-nav .owl-prev{cursor:pointer;cursor:hand;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-loaded{display:block}.owl-carousel.owl-loading{opacity:0;display:block}.owl-carousel.owl-hidden{opacity:0}.owl-carousel.owl-refresh .owl-item{display:none}.owl-carousel.owl-drag .owl-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-grab{cursor:move;cursor:grab}.owl-carousel.owl-rtl{direction:rtl}.owl-carousel.owl-rtl .owl-item{float:right}.no-js .owl-carousel{display:block}.owl-carousel .animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.owl-carousel .owl-animated-in{z-index:0}.owl-carousel .owl-animated-out{z-index:1}.owl-carousel .fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.owl-height{transition:height .5s ease-in-out}.owl-carousel .owl-item .owl-lazy{opacity:0;transition:opacity .4s ease}.owl-carousel .owl-item img.owl-lazy{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.owl-carousel .owl-video-wrapper{position:relative;height:100%;background:#000}.owl-carousel .owl-video-play-icon{position:absolute;height:80px;width:80px;left:50%;top:50%;margin-left:-40px;margin-top:-40px;background:url(owl.video.play.png) no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;transition:-webkit-transform .1s ease;transition:transform .1s ease}.owl-carousel .owl-video-play-icon:hover{-webkit-transform:scale(1.3,1.3);-ms-transform:scale(1.3,1.3);transform:scale(1.3,1.3)}.owl-carousel .owl-video-playing .owl-video-play-icon,.owl-carousel .owl-video-playing .owl-video-tn{display:none}.owl-carousel .owl-video-tn{opacity:0;height:100%;background-position:center center;background-repeat:no-repeat;background-size:contain;transition:opacity .4s ease}.owl-carousel .owl-video-frame{position:relative;z-index:1;height:100%;width:100%}
|
||||
.owl-carousel .animated{-webkit-animation-duration:1000ms;animation-duration:1000ms;-webkit-animation-fill-mode:both;animation-fill-mode:both}.owl-carousel .owl-animated-in{z-index:0}.owl-carousel .owl-animated-out{z-index:1}.owl-carousel .fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.owl-height{-webkit-transition:height 500ms ease-in-out;-moz-transition:height 500ms ease-in-out;-ms-transition:height 500ms ease-in-out;-o-transition:height 500ms ease-in-out;transition:height 500ms ease-in-out}.owl-carousel{display:none;width:100%;-webkit-tap-highlight-color:transparent;position:relative;z-index:1}.owl-carousel .owl-stage{position:relative;-ms-touch-action:pan-Y}.owl-carousel .owl-stage:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.owl-carousel .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translate3d(0px,0,0)}.owl-carousel .owl-item{position:relative;min-height:1px;float:left;-webkit-backface-visibility:hidden;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}.owl-carousel .owl-item img{display:block;width:100%;-webkit-transform-style:preserve-3d}.owl-carousel .owl-dots.disabled,.owl-carousel .owl-nav.disabled{display:none}.owl-carousel .owl-dot,.owl-carousel .owl-nav .owl-next,.owl-carousel .owl-nav .owl-prev{cursor:pointer;cursor:hand;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-loaded{display:block}.owl-carousel.owl-loading{opacity:0;display:block}.owl-carousel.owl-hidden{opacity:0}.owl-carousel.owl-refresh .owl-item{display:none}.owl-carousel.owl-drag .owl-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-grab{cursor:move;cursor:-webkit-grab;cursor:-o-grab;cursor:-ms-grab;cursor:grab}.owl-carousel.owl-rtl{direction:rtl}.owl-carousel.owl-rtl .owl-item{float:right}.no-js .owl-carousel{display:block}.owl-carousel .owl-item .owl-lazy{opacity:0;-webkit-transition:opacity 400ms ease;-moz-transition:opacity 400ms ease;-ms-transition:opacity 400ms ease;-o-transition:opacity 400ms ease;transition:opacity 400ms ease}.owl-carousel .owl-item img{transform-style:preserve-3d}.owl-carousel .owl-video-wrapper{position:relative;height:100%;background:#000}.owl-carousel .owl-video-play-icon{position:absolute;height:80px;width:80px;left:50%;top:50%;margin-left:-40px;margin-top:-40px;background:url(owl.video.play.png) no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;-webkit-transition:scale 100ms ease;-moz-transition:scale 100ms ease;-ms-transition:scale 100ms ease;-o-transition:scale 100ms ease;transition:scale 100ms ease}.owl-carousel .owl-video-play-icon:hover{-webkit-transition:scale(1.3,1.3);-moz-transition:scale(1.3,1.3);-ms-transition:scale(1.3,1.3);-o-transition:scale(1.3,1.3);transition:scale(1.3,1.3)}.owl-carousel .owl-video-playing .owl-video-play-icon,.owl-carousel .owl-video-playing .owl-video-tn{display:none}.owl-carousel .owl-video-tn{opacity:0;height:100%;background-position:center center;background-repeat:no-repeat;-webkit-background-size:contain;-moz-background-size:contain;-o-background-size:contain;background-size:contain;-webkit-transition:opacity 400ms ease;-moz-transition:opacity 400ms ease;-ms-transition:opacity 400ms ease;-o-transition:opacity 400ms ease;transition:opacity 400ms ease}.owl-carousel .owl-video-frame{position:relative;z-index:1;height:100%;width:100%}
|
|
@ -1,5 +1 @@
|
|||
/**
|
||||
* Owl Carousel v2.1.1
|
||||
* Copyright 2013-2016 David Deutsch
|
||||
* Licensed under MIT (https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE)
|
||||
*/
|
||||
.owl-theme .owl-nav{margin-top:10px;text-align:center;-webkit-tap-highlight-color:transparent}.owl-theme .owl-nav [class*=owl-]{color:#FFF;font-size:14px;margin:5px;padding:4px 7px;background:#D6D6D6;display:inline-block;cursor:pointer;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.owl-theme .owl-nav [class*=owl-]:hover{background:#869791;color:#FFF;text-decoration:none}.owl-theme .owl-nav .disabled{opacity:.5;cursor:default}.owl-theme .owl-nav.disabled+.owl-dots{margin-top:10px}.owl-theme .owl-dots{text-align:center;-webkit-tap-highlight-color:transparent}.owl-theme .owl-dots .owl-dot{display:inline-block;zoom:1;*display:inline}.owl-theme .owl-dots .owl-dot span{width:10px;height:10px;margin:5px 7px;background:#D6D6D6;display:block;-webkit-backface-visibility:visible;-webkit-transition:opacity 200ms ease;-moz-transition:opacity 200ms ease;-ms-transition:opacity 200ms ease;-o-transition:opacity 200ms ease;transition:opacity 200ms ease;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px}.owl-theme .owl-dots .owl-dot.active span,.owl-theme .owl-dots .owl-dot:hover span{background:#869791}
|
|
@ -1,5 +1 @@
|
|||
/**
|
||||
* Owl Carousel v2.1.1
|
||||
* Copyright 2013-2016 David Deutsch
|
||||
* Licensed under MIT (https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE)
|
||||
*/
|
||||
.owl-theme .owl-nav{margin-top:10px;text-align:center;-webkit-tap-highlight-color:transparent}.owl-theme .owl-nav [class*=owl-]{color:#FFF;font-size:14px;margin:5px;padding:4px 7px;background:#D6D6D6;display:inline-block;cursor:pointer;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.owl-theme .owl-nav [class*=owl-]:hover{background:#4DC7A0;color:#FFF;text-decoration:none}.owl-theme .owl-nav .disabled{opacity:.5;cursor:default}.owl-theme .owl-nav.disabled+.owl-dots{margin-top:10px}.owl-theme .owl-dots{text-align:center;-webkit-tap-highlight-color:transparent}.owl-theme .owl-dots .owl-dot{display:inline-block;zoom:1;*display:inline}.owl-theme .owl-dots .owl-dot span{width:10px;height:10px;margin:5px 7px;background:#D6D6D6;display:block;-webkit-backface-visibility:visible;-webkit-transition:opacity 200ms ease;-moz-transition:opacity 200ms ease;-ms-transition:opacity 200ms ease;-o-transition:opacity 200ms ease;transition:opacity 200ms ease;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px}.owl-theme .owl-dots .owl-dot.active span,.owl-theme .owl-dots .owl-dot:hover span{background:#4DC7A0}
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* jQuery JavaScript Library v2.2.3
|
||||
* jQuery JavaScript Library v2.2.1
|
||||
* http://jquery.com/
|
||||
*
|
||||
* Includes Sizzle.js
|
||||
|
@ -9,7 +9,7 @@
|
|||
* Released under the MIT license
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* Date: 2016-04-05T19:26Z
|
||||
* Date: 2016-02-22T19:11Z
|
||||
*/
|
||||
|
||||
(function( global, factory ) {
|
||||
|
@ -65,7 +65,7 @@ var support = {};
|
|||
|
||||
|
||||
var
|
||||
version = "2.2.3",
|
||||
version = "2.2.1",
|
||||
|
||||
// Define a local copy of jQuery
|
||||
jQuery = function( selector, context ) {
|
||||
|
@ -276,7 +276,6 @@ jQuery.extend( {
|
|||
},
|
||||
|
||||
isPlainObject: function( obj ) {
|
||||
var key;
|
||||
|
||||
// Not plain objects:
|
||||
// - Any object or value whose internal [[Class]] property is not "[object Object]"
|
||||
|
@ -286,18 +285,14 @@ jQuery.extend( {
|
|||
return false;
|
||||
}
|
||||
|
||||
// Not own constructor property must be Object
|
||||
if ( obj.constructor &&
|
||||
!hasOwn.call( obj, "constructor" ) &&
|
||||
!hasOwn.call( obj.constructor.prototype || {}, "isPrototypeOf" ) ) {
|
||||
!hasOwn.call( obj.constructor.prototype, "isPrototypeOf" ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Own properties are enumerated firstly, so to speed up,
|
||||
// if last one is own, then all properties are own
|
||||
for ( key in obj ) {}
|
||||
|
||||
return key === undefined || hasOwn.call( obj, key );
|
||||
// If the function hasn't returned already, we're confident that
|
||||
// |obj| is a plain object, created by {} or constructed with new Object
|
||||
return true;
|
||||
},
|
||||
|
||||
isEmptyObject: function( obj ) {
|
||||
|
@ -7330,12 +7325,6 @@ jQuery.extend( {
|
|||
}
|
||||
} );
|
||||
|
||||
// Support: IE <=11 only
|
||||
// Accessing the selectedIndex property
|
||||
// forces the browser to respect setting selected
|
||||
// on the option
|
||||
// The getter ensures a default option is selected
|
||||
// when in an optgroup
|
||||
if ( !support.optSelected ) {
|
||||
jQuery.propHooks.selected = {
|
||||
get: function( elem ) {
|
||||
|
@ -7344,16 +7333,6 @@ if ( !support.optSelected ) {
|
|||
parent.parentNode.selectedIndex;
|
||||
}
|
||||
return null;
|
||||
},
|
||||
set: function( elem ) {
|
||||
var parent = elem.parentNode;
|
||||
if ( parent ) {
|
||||
parent.selectedIndex;
|
||||
|
||||
if ( parent.parentNode ) {
|
||||
parent.parentNode.selectedIndex;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
@ -7548,8 +7527,7 @@ jQuery.fn.extend( {
|
|||
|
||||
|
||||
|
||||
var rreturn = /\r/g,
|
||||
rspaces = /[\x20\t\r\n\f]+/g;
|
||||
var rreturn = /\r/g;
|
||||
|
||||
jQuery.fn.extend( {
|
||||
val: function( value ) {
|
||||
|
@ -7625,15 +7603,9 @@ jQuery.extend( {
|
|||
option: {
|
||||
get: function( elem ) {
|
||||
|
||||
var val = jQuery.find.attr( elem, "value" );
|
||||
return val != null ?
|
||||
val :
|
||||
|
||||
// Support: IE10-11+
|
||||
// option.text throws exceptions (#14686, #14858)
|
||||
// Strip and collapse whitespace
|
||||
// https://html.spec.whatwg.org/#strip-and-collapse-whitespace
|
||||
jQuery.trim( jQuery.text( elem ) ).replace( rspaces, " " );
|
||||
// Support: IE<11
|
||||
// option.value not trimmed (#14858)
|
||||
return jQuery.trim( elem.value );
|
||||
}
|
||||
},
|
||||
select: {
|
||||
|
@ -7686,7 +7658,7 @@ jQuery.extend( {
|
|||
while ( i-- ) {
|
||||
option = options[ i ];
|
||||
if ( option.selected =
|
||||
jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1
|
||||
jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1
|
||||
) {
|
||||
optionSet = true;
|
||||
}
|
||||
|
@ -9381,6 +9353,18 @@ jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) {
|
|||
|
||||
|
||||
|
||||
// Support: Safari 8+
|
||||
// In Safari 8 documents created via document.implementation.createHTMLDocument
|
||||
// collapse sibling forms: the second one becomes a child of the first one.
|
||||
// Because of that, this security measure has to be disabled in Safari 8.
|
||||
// https://bugs.webkit.org/show_bug.cgi?id=137337
|
||||
support.createHTMLDocument = ( function() {
|
||||
var body = document.implementation.createHTMLDocument( "" ).body;
|
||||
body.innerHTML = "<form></form><form></form>";
|
||||
return body.childNodes.length === 2;
|
||||
} )();
|
||||
|
||||
|
||||
// Argument "data" should be string of html
|
||||
// context (optional): If specified, the fragment will be created in this context,
|
||||
// defaults to document
|
||||
|
@ -9393,7 +9377,12 @@ jQuery.parseHTML = function( data, context, keepScripts ) {
|
|||
keepScripts = context;
|
||||
context = false;
|
||||
}
|
||||
context = context || document;
|
||||
|
||||
// Stop scripts or inline event handlers from being executed immediately
|
||||
// by using document.implementation
|
||||
context = context || ( support.createHTMLDocument ?
|
||||
document.implementation.createHTMLDocument( "" ) :
|
||||
document );
|
||||
|
||||
var parsed = rsingleTag.exec( data ),
|
||||
scripts = !keepScripts && [];
|
||||
|
@ -9475,7 +9464,7 @@ jQuery.fn.load = function( url, params, callback ) {
|
|||
// If it fails, this function gets "jqXHR", "status", "error"
|
||||
} ).always( callback && function( jqXHR, status ) {
|
||||
self.each( function() {
|
||||
callback.apply( this, response || [ jqXHR.responseText, status, jqXHR ] );
|
||||
callback.apply( self, response || [ jqXHR.responseText, status, jqXHR ] );
|
||||
} );
|
||||
} );
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,13 +1,7 @@
|
|||
/**
|
||||
* Owl Carousel v2.1.1
|
||||
* Copyright 2013-2016 David Deutsch
|
||||
* Licensed under MIT (https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE)
|
||||
*/
|
||||
/**
|
||||
* Owl carousel
|
||||
* @version 2.1.0
|
||||
* @version 2.0.0
|
||||
* @author Bartosz Wojciechowski
|
||||
* @author David Deutsch
|
||||
* @license The MIT License (MIT)
|
||||
* @todo Lazy Load Icon
|
||||
* @todo prevent animationend bubling
|
||||
|
@ -845,13 +839,8 @@
|
|||
if (!this.settings.freeDrag) {
|
||||
// check closest item
|
||||
$.each(coordinates, $.proxy(function(index, value) {
|
||||
// on a left pull, check on current index
|
||||
if (direction === 'left' && coordinate > value - pull && coordinate < value + pull) {
|
||||
if (coordinate > value - pull && coordinate < value + pull) {
|
||||
position = index;
|
||||
// on a right pull, check on previous index
|
||||
// to do so, subtract width from value and set position = index + 1
|
||||
} else if (direction === 'right' && coordinate > value - width - pull && coordinate < value - width + pull) {
|
||||
position = index + 1;
|
||||
} else if (this.op(coordinate, '<', value)
|
||||
&& this.op(coordinate, '>', coordinates[index + 1] || value - width)) {
|
||||
position = direction === 'left' ? index + 1 : index;
|
||||
|
@ -993,7 +982,7 @@
|
|||
var n = this._items.length,
|
||||
m = relative ? 0 : this._clones.length;
|
||||
|
||||
if (!this.isNumeric(position) || n < 1) {
|
||||
if (!$.isNumeric(position) || n < 1) {
|
||||
position = undefined;
|
||||
} else if (position < 0 || position >= n + m) {
|
||||
position = ((position - m / 2) % n + n) % n + m / 2;
|
||||
|
@ -1126,9 +1115,7 @@
|
|||
* @returns {Number|Array.<Number>} - The coordinate of the item in pixel or all coordinates.
|
||||
*/
|
||||
Owl.prototype.coordinates = function(position) {
|
||||
var multiplier = 1,
|
||||
newPosition = position - 1,
|
||||
coordinate;
|
||||
var coordinate = null;
|
||||
|
||||
if (position === undefined) {
|
||||
return $.map(this._coordinates, $.proxy(function(coordinate, index) {
|
||||
|
@ -1137,19 +1124,12 @@
|
|||
}
|
||||
|
||||
if (this.settings.center) {
|
||||
if (this.settings.rtl) {
|
||||
multiplier = -1;
|
||||
newPosition = position + 1;
|
||||
}
|
||||
|
||||
coordinate = this._coordinates[position];
|
||||
coordinate += (this.width() - coordinate + (this._coordinates[newPosition] || 0)) / 2 * multiplier;
|
||||
coordinate += (this.width() - coordinate + (this._coordinates[position - 1] || 0)) / 2 * (this.settings.rtl ? -1 : 1);
|
||||
} else {
|
||||
coordinate = this._coordinates[newPosition] || 0;
|
||||
coordinate = this._coordinates[position - 1] || 0;
|
||||
}
|
||||
|
||||
coordinate = Math.ceil(coordinate);
|
||||
|
||||
return coordinate;
|
||||
};
|
||||
|
||||
|
@ -1162,10 +1142,6 @@
|
|||
* @returns {Number} - The time in milliseconds for the translation.
|
||||
*/
|
||||
Owl.prototype.duration = function(from, to, factor) {
|
||||
if (factor === 0) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return Math.min(Math.max(Math.abs(to - from), 1), 6) * Math.abs((factor || this.settings.smartSpeed));
|
||||
};
|
||||
|
||||
|
@ -1298,7 +1274,7 @@
|
|||
this._mergers.push(item.find('[data-merge]').andSelf('[data-merge]').attr('data-merge') * 1 || 1);
|
||||
}, this));
|
||||
|
||||
this.reset(this.isNumeric(this.settings.startPosition) ? this.settings.startPosition : 0);
|
||||
this.reset($.isNumeric(this.settings.startPosition) ? this.settings.startPosition : 0);
|
||||
|
||||
this.invalidate('items');
|
||||
};
|
||||
|
@ -1618,16 +1594,6 @@
|
|||
return result;
|
||||
};
|
||||
|
||||
/**
|
||||
* Determines if the input is a Number or something that can be coerced to a Number
|
||||
* @protected
|
||||
* @param {Number|String|Object|Array|Boolean|RegExp|Function|Symbol} - The input to be tested
|
||||
* @returns {Boolean} - An indication if the input is a Number or can be coerced to a Number
|
||||
*/
|
||||
Owl.prototype.isNumeric = function(number) {
|
||||
return !isNaN(parseFloat(number));
|
||||
};
|
||||
|
||||
/**
|
||||
* Gets the difference of two vectors.
|
||||
* @todo #261
|
||||
|
@ -1689,9 +1655,8 @@
|
|||
|
||||
/**
|
||||
* AutoRefresh Plugin
|
||||
* @version 2.1.0
|
||||
* @version 2.0.0
|
||||
* @author Artus Kolanowski
|
||||
* @author David Deutsch
|
||||
* @license The MIT License (MIT)
|
||||
*/
|
||||
;(function($, window, document, undefined) {
|
||||
|
@ -1801,9 +1766,8 @@
|
|||
|
||||
/**
|
||||
* Lazy Plugin
|
||||
* @version 2.1.0
|
||||
* @version 2.0.0
|
||||
* @author Bartosz Wojciechowski
|
||||
* @author David Deutsch
|
||||
* @license The MIT License (MIT)
|
||||
*/
|
||||
;(function($, window, document, undefined) {
|
||||
|
@ -1835,7 +1799,7 @@
|
|||
* @type {Object}
|
||||
*/
|
||||
this._handlers = {
|
||||
'initialized.owl.carousel change.owl.carousel resized.owl.carousel': $.proxy(function(e) {
|
||||
'initialized.owl.carousel change.owl.carousel': $.proxy(function(e) {
|
||||
if (!e.namespace) {
|
||||
return;
|
||||
}
|
||||
|
@ -1848,7 +1812,7 @@
|
|||
var settings = this._core.settings,
|
||||
n = (settings.center && Math.ceil(settings.items / 2) || settings.items),
|
||||
i = ((settings.center && n * -1) || 0),
|
||||
position = (e.property && e.property.value !== undefined ? e.property.value : this._core.current()) + i,
|
||||
position = ((e.property && e.property.value) || this._core.current()) + i,
|
||||
clones = this._core.clones().length,
|
||||
load = $.proxy(function(i, v) { this.load(v) }, this);
|
||||
|
||||
|
@ -1866,7 +1830,7 @@
|
|||
|
||||
// register event handler
|
||||
this._core.$element.on(this._handlers);
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Default options.
|
||||
|
@ -1874,7 +1838,7 @@
|
|||
*/
|
||||
Lazy.Defaults = {
|
||||
lazyLoad: false
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads all resources of an item at the specified position.
|
||||
|
@ -1914,7 +1878,7 @@
|
|||
}, this));
|
||||
|
||||
this._loaded.push($item.get(0));
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Destroys the plugin.
|
||||
|
@ -1937,9 +1901,8 @@
|
|||
|
||||
/**
|
||||
* AutoHeight Plugin
|
||||
* @version 2.1.0
|
||||
* @version 2.0.0
|
||||
* @author Bartosz Wojciechowski
|
||||
* @author David Deutsch
|
||||
* @license The MIT License (MIT)
|
||||
*/
|
||||
;(function($, window, document, undefined) {
|
||||
|
@ -2003,7 +1966,7 @@
|
|||
AutoHeight.prototype.update = function() {
|
||||
var start = this._core._current,
|
||||
end = start + this._core.settings.items,
|
||||
visible = this._core.$stage.children().toArray().slice(start, end),
|
||||
visible = this._core.$stage.children().toArray().slice(start, end);
|
||||
heights = [],
|
||||
maxheight = 0;
|
||||
|
||||
|
@ -2035,9 +1998,8 @@
|
|||
|
||||
/**
|
||||
* Video Plugin
|
||||
* @version 2.1.0
|
||||
* @version 2.0.0
|
||||
* @author Bartosz Wojciechowski
|
||||
* @author David Deutsch
|
||||
* @license The MIT License (MIT)
|
||||
*/
|
||||
;(function($, window, document, undefined) {
|
||||
|
@ -2132,48 +2094,25 @@
|
|||
};
|
||||
|
||||
/**
|
||||
* Gets the video ID and the type (YouTube/Vimeo/vzaar only).
|
||||
* Gets the video ID and the type (YouTube/Vimeo only).
|
||||
* @protected
|
||||
* @param {jQuery} target - The target containing the video data.
|
||||
* @param {jQuery} item - The item containing the video.
|
||||
*/
|
||||
Video.prototype.fetch = function(target, item) {
|
||||
var type = (function() {
|
||||
if (target.attr('data-vimeo-id')) {
|
||||
return 'vimeo';
|
||||
} else if (target.attr('data-vzaar-id')) {
|
||||
return 'vzaar'
|
||||
} else {
|
||||
return 'youtube';
|
||||
}
|
||||
})(),
|
||||
id = target.attr('data-vimeo-id') || target.attr('data-youtube-id') || target.attr('data-vzaar-id'),
|
||||
width = target.attr('data-width') || this._core.settings.videoWidth,
|
||||
height = target.attr('data-height') || this._core.settings.videoHeight,
|
||||
url = target.attr('href');
|
||||
var type = target.attr('data-vimeo-id') ? 'vimeo' : 'youtube',
|
||||
id = target.attr('data-vimeo-id') || target.attr('data-youtube-id'),
|
||||
width = target.attr('data-width') || this._core.settings.videoWidth,
|
||||
height = target.attr('data-height') || this._core.settings.videoHeight,
|
||||
url = target.attr('href');
|
||||
|
||||
if (url) {
|
||||
|
||||
/*
|
||||
Parses the id's out of the following urls (and probably more):
|
||||
https://www.youtube.com/watch?v=:id
|
||||
https://youtu.be/:id
|
||||
https://vimeo.com/:id
|
||||
https://vimeo.com/channels/:channel/:id
|
||||
https://vimeo.com/groups/:group/videos/:id
|
||||
https://app.vzaar.com/videos/:id
|
||||
|
||||
Visual example: https://regexper.com/#(http%3A%7Chttps%3A%7C)%5C%2F%5C%2F(player.%7Cwww.%7Capp.)%3F(vimeo%5C.com%7Cyoutu(be%5C.com%7C%5C.be%7Cbe%5C.googleapis%5C.com)%7Cvzaar%5C.com)%5C%2F(video%5C%2F%7Cvideos%5C%2F%7Cembed%5C%2F%7Cchannels%5C%2F.%2B%5C%2F%7Cgroups%5C%2F.%2B%5C%2F%7Cwatch%5C%3Fv%3D%7Cv%5C%2F)%3F(%5BA-Za-z0-9._%25-%5D*)(%5C%26%5CS%2B)%3F
|
||||
*/
|
||||
|
||||
id = url.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/);
|
||||
id = url.match(/(http:|https:|)\/\/(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/);
|
||||
|
||||
if (id[3].indexOf('youtu') > -1) {
|
||||
type = 'youtube';
|
||||
} else if (id[3].indexOf('vimeo') > -1) {
|
||||
type = 'vimeo';
|
||||
} else if (id[3].indexOf('vzaar') > -1) {
|
||||
type = 'vzaar';
|
||||
} else {
|
||||
throw new Error('Video URL not supported.');
|
||||
}
|
||||
|
@ -2238,12 +2177,12 @@
|
|||
}
|
||||
|
||||
if (video.type === 'youtube') {
|
||||
path = "//img.youtube.com/vi/" + video.id + "/hqdefault.jpg";
|
||||
path = "http://img.youtube.com/vi/" + video.id + "/hqdefault.jpg";
|
||||
create(path);
|
||||
} else if (video.type === 'vimeo') {
|
||||
$.ajax({
|
||||
type: 'GET',
|
||||
url: '//vimeo.com/api/v2/video/' + video.id + '.json',
|
||||
url: 'http://vimeo.com/api/v2/video/' + video.id + '.json',
|
||||
jsonp: 'callback',
|
||||
dataType: 'jsonp',
|
||||
success: function(data) {
|
||||
|
@ -2251,17 +2190,6 @@
|
|||
create(path);
|
||||
}
|
||||
});
|
||||
} else if (video.type === 'vzaar') {
|
||||
$.ajax({
|
||||
type: 'GET',
|
||||
url: '//vzaar.com/api/videos/' + video.id + '.json',
|
||||
jsonp: 'callback',
|
||||
dataType: 'jsonp',
|
||||
success: function(data) {
|
||||
path = data.framegrab_url;
|
||||
create(path);
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -2303,16 +2231,12 @@
|
|||
this._core.reset(item.index());
|
||||
|
||||
if (video.type === 'youtube') {
|
||||
html = '<iframe width="' + width + '" height="' + height + '" src="//www.youtube.com/embed/' +
|
||||
html = '<iframe width="' + width + '" height="' + height + '" src="http://www.youtube.com/embed/' +
|
||||
video.id + '?autoplay=1&v=' + video.id + '" frameborder="0" allowfullscreen></iframe>';
|
||||
} else if (video.type === 'vimeo') {
|
||||
html = '<iframe src="//player.vimeo.com/video/' + video.id +
|
||||
html = '<iframe src="http://player.vimeo.com/video/' + video.id +
|
||||
'?autoplay=1" width="' + width + '" height="' + height +
|
||||
'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>';
|
||||
} else if (video.type === 'vzaar') {
|
||||
html = '<iframe frameborder="0"' + 'height="' + height + '"' + 'width="' + width +
|
||||
'" allowfullscreen mozallowfullscreen webkitAllowFullScreen ' +
|
||||
'src="//view.vzaar.com/' + video.id + '/player?autoplay=true"></iframe>';
|
||||
}
|
||||
|
||||
$('<div class="owl-video-frame">' + html + '</div>').insertAfter(item.find('.owl-video'));
|
||||
|
@ -2355,9 +2279,8 @@
|
|||
|
||||
/**
|
||||
* Animate Plugin
|
||||
* @version 2.1.0
|
||||
* @version 2.0.0
|
||||
* @author Bartosz Wojciechowski
|
||||
* @author David Deutsch
|
||||
* @license The MIT License (MIT)
|
||||
*/
|
||||
;(function($, window, document, undefined) {
|
||||
|
@ -2477,10 +2400,9 @@
|
|||
|
||||
/**
|
||||
* Autoplay Plugin
|
||||
* @version 2.1.0
|
||||
* @version 2.0.0
|
||||
* @author Bartosz Wojciechowski
|
||||
* @author Artus Kolanowski
|
||||
* @author David Deutsch
|
||||
* @license The MIT License (MIT)
|
||||
*/
|
||||
;(function($, window, document, undefined) {
|
||||
|
@ -2499,10 +2421,10 @@
|
|||
this._core = carousel;
|
||||
|
||||
/**
|
||||
* The autoplay timeout.
|
||||
* @type {Timeout}
|
||||
* The autoplay interval.
|
||||
* @type {Number}
|
||||
*/
|
||||
this._timeout = null;
|
||||
this._interval = null;
|
||||
|
||||
/**
|
||||
* Indicates whenever the autoplay is paused.
|
||||
|
@ -2523,11 +2445,6 @@
|
|||
} else {
|
||||
this.stop();
|
||||
}
|
||||
} else if (e.namespace && e.property.name === 'position') {
|
||||
//console.log('play?', e);
|
||||
if (this._core.settings.autoplay) {
|
||||
this._setAutoPlayInterval();
|
||||
}
|
||||
}
|
||||
}, this),
|
||||
'initialized.owl.carousel': $.proxy(function(e) {
|
||||
|
@ -2554,16 +2471,6 @@
|
|||
if (this._core.settings.autoplayHoverPause && this._core.is('rotating')) {
|
||||
this.play();
|
||||
}
|
||||
}, this),
|
||||
'touchstart.owl.core': $.proxy(function() {
|
||||
if (this._core.settings.autoplayHoverPause && this._core.is('rotating')) {
|
||||
this.pause();
|
||||
}
|
||||
}, this),
|
||||
'touchend.owl.core': $.proxy(function() {
|
||||
if (this._core.settings.autoplayHoverPause) {
|
||||
this.play();
|
||||
}
|
||||
}, this)
|
||||
};
|
||||
|
||||
|
@ -2600,21 +2507,7 @@
|
|||
|
||||
this._core.enter('rotating');
|
||||
|
||||
this._setAutoPlayInterval();
|
||||
};
|
||||
|
||||
/**
|
||||
* Gets a new timeout
|
||||
* @private
|
||||
* @param {Number} [timeout] - The interval before the next animation starts.
|
||||
* @param {Number} [speed] - The animation speed for the animations.
|
||||
* @return {Timeout}
|
||||
*/
|
||||
Autoplay.prototype._getNextTimeout = function(timeout, speed) {
|
||||
if ( this._timeout ) {
|
||||
window.clearTimeout(this._timeout);
|
||||
}
|
||||
return window.setTimeout($.proxy(function() {
|
||||
this._interval = window.setInterval($.proxy(function() {
|
||||
if (this._paused || this._core.is('busy') || this._core.is('interacting') || document.hidden) {
|
||||
return;
|
||||
}
|
||||
|
@ -2622,14 +2515,6 @@
|
|||
}, this), timeout || this._core.settings.autoplayTimeout);
|
||||
};
|
||||
|
||||
/**
|
||||
* Sets autoplay in motion.
|
||||
* @private
|
||||
*/
|
||||
Autoplay.prototype._setAutoPlayInterval = function() {
|
||||
this._timeout = this._getNextTimeout();
|
||||
};
|
||||
|
||||
/**
|
||||
* Stops the autoplay.
|
||||
* @public
|
||||
|
@ -2639,7 +2524,7 @@
|
|||
return;
|
||||
}
|
||||
|
||||
window.clearTimeout(this._timeout);
|
||||
window.clearInterval(this._interval);
|
||||
this._core.leave('rotating');
|
||||
};
|
||||
|
||||
|
@ -2677,9 +2562,8 @@
|
|||
|
||||
/**
|
||||
* Navigation Plugin
|
||||
* @version 2.1.0
|
||||
* @version 2.0.0
|
||||
* @author Artus Kolanowski
|
||||
* @author David Deutsch
|
||||
* @license The MIT License (MIT)
|
||||
*/
|
||||
;(function($, window, document, undefined) {
|
||||
|
@ -2752,7 +2636,7 @@
|
|||
'prepared.owl.carousel': $.proxy(function(e) {
|
||||
if (e.namespace && this._core.settings.dotsData) {
|
||||
this._templates.push('<div class="' + this._core.settings.dotClass + '">' +
|
||||
$(e.content).find('[data-dot]').addBack('[data-dot]').attr('data-dot') + '</div>');
|
||||
$(e.content).find('[data-dot]').andSelf('[data-dot]').attr('data-dot') + '</div>');
|
||||
}
|
||||
}, this),
|
||||
'added.owl.carousel': $.proxy(function(e) {
|
||||
|
@ -3046,7 +2930,7 @@
|
|||
Navigation.prototype.to = function(position, speed, standard) {
|
||||
var length;
|
||||
|
||||
if (!standard && this._pages.length) {
|
||||
if (!standard) {
|
||||
length = this._pages.length;
|
||||
$.proxy(this._overrides.to, this._core)(this._pages[((position % length) + length) % length].start, speed);
|
||||
} else {
|
||||
|
@ -3060,9 +2944,8 @@
|
|||
|
||||
/**
|
||||
* Hash Plugin
|
||||
* @version 2.1.0
|
||||
* @version 2.0.0
|
||||
* @author Artus Kolanowski
|
||||
* @author David Deutsch
|
||||
* @license The MIT License (MIT)
|
||||
*/
|
||||
;(function($, window, document, undefined) {
|
||||
|
@ -3107,7 +2990,7 @@
|
|||
}, this),
|
||||
'prepared.owl.carousel': $.proxy(function(e) {
|
||||
if (e.namespace) {
|
||||
var hash = $(e.content).find('[data-hash]').addBack('[data-hash]').attr('data-hash');
|
||||
var hash = $(e.content).find('[data-hash]').andSelf('[data-hash]').attr('data-hash');
|
||||
|
||||
if (!hash) {
|
||||
return;
|
||||
|
@ -3184,10 +3067,9 @@
|
|||
/**
|
||||
* Support Plugin
|
||||
*
|
||||
* @version 2.1.0
|
||||
* @version 2.0.0
|
||||
* @author Vivid Planet Software GmbH
|
||||
* @author Artus Kolanowski
|
||||
* @author David Deutsch
|
||||
* @license The MIT License (MIT)
|
||||
*/
|
||||
;(function($, window, document, undefined) {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -5,7 +5,7 @@
|
|||
margin-top: 10px;
|
||||
text-align: center;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
|
||||
|
||||
[class*='owl-'] {
|
||||
color: $nav-color;
|
||||
font-size: $nav-font-size;
|
||||
|
@ -14,7 +14,7 @@
|
|||
background: $nav-background;
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
border-radius: 3px;
|
||||
@include rounded($nav-rounded);
|
||||
|
||||
&:hover {
|
||||
background: $nav-background-hover;
|
||||
|
@ -32,11 +32,10 @@
|
|||
.owl-nav.disabled + .owl-dots {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.owl-dots {
|
||||
text-align: center;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
|
||||
|
||||
.owl-dot {
|
||||
display: inline-block;
|
||||
zoom: 1;
|
||||
|
@ -49,8 +48,8 @@
|
|||
background: $dot-background;
|
||||
display: block;
|
||||
-webkit-backface-visibility: visible;
|
||||
transition: opacity 200ms ease;
|
||||
border-radius: 30px;
|
||||
@include transition(opacity, 200ms, ease);
|
||||
@include rounded($dot-rounded);
|
||||
}
|
||||
|
||||
&.active,
|
||||
|
@ -61,4 +60,4 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,5 +1,108 @@
|
|||
@import 'core';
|
||||
@import 'animate';
|
||||
@import 'autoheight';
|
||||
@import 'lazyload';
|
||||
@import 'video';
|
||||
/*
|
||||
* Core Owl Carousel CSS File
|
||||
*/
|
||||
.owl-carousel {
|
||||
display: none;
|
||||
width: 100%;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
/* position relative and z-index fix webkit rendering fonts issue */
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
|
||||
.owl-stage {
|
||||
position: relative;
|
||||
-ms-touch-action: pan-Y;
|
||||
}
|
||||
|
||||
.owl-stage:after {
|
||||
content: ".";
|
||||
display: block;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
line-height: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.owl-stage-outer {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
/* fix for flashing background */
|
||||
-webkit-transform: translate3d(0px, 0px, 0px);
|
||||
}
|
||||
|
||||
.owl-item {
|
||||
position: relative;
|
||||
min-height: 1px;
|
||||
float: left;
|
||||
-webkit-backface-visibility: hidden;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
-webkit-touch-callout: none;
|
||||
}
|
||||
.owl-item img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
-webkit-transform-style: preserve-3d;
|
||||
}
|
||||
|
||||
.owl-nav.disabled,
|
||||
.owl-dots.disabled {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.owl-nav .owl-prev,
|
||||
.owl-nav .owl-next,
|
||||
.owl-dot {
|
||||
cursor: pointer;
|
||||
cursor: hand;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
&.owl-loaded {
|
||||
display: block;
|
||||
}
|
||||
|
||||
&.owl-loading {
|
||||
opacity: 0;
|
||||
display: block;
|
||||
}
|
||||
|
||||
&.owl-hidden {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
&.owl-refresh .owl-item {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&.owl-drag .owl-item {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
&.owl-grab {
|
||||
cursor: move;
|
||||
cursor: -webkit-grab;
|
||||
cursor: -o-grab;
|
||||
cursor: -ms-grab;
|
||||
cursor: grab;
|
||||
}
|
||||
|
||||
&.owl-rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
&.owl-rtl .owl-item {
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
|
||||
/* No Js */
|
||||
.no-js .owl-carousel {
|
||||
display: block;
|
||||
}
|
||||
|
|
Reference in New Issue