Your IP : 216.73.216.50


Current Path : /proc/1908984/root/proc/self/root/proc/self/root/proc/2411249/cwd/
Upload File :
Current File : //proc/1908984/root/proc/self/root/proc/self/root/proc/2411249/cwd/carousel.tar

css/carousel.css000064400000060146152351647340007704 0ustar00/* 
 *  Default theme - Owl Carousel CSS File
 */
.su-carousel-slides .owl-dots {
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.su-carousel .owl-item {
  -webkit-transform: translateZ(0);
}

.su-carousel-slides .owl-nav [class*='owl-']:hover {
  background: #869791;
  color: white;
  text-decoration: none;
}
.su-carousel-slides .owl-nav .disabled {
  opacity: 0.5;
  cursor: default;
}
.su-carousel-slides .owl-dots .owl-dot {
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.su-carousel-slides .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  margin: 20px 5px 5px 5px;
  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;
}
.su-carousel-slides .owl-dots .owl-dot.active span, .su-carousel-slides .owl-dots .owl-dot:hover span {
  background: #707070;
}


div.su-carousel-slide a.su-carousel-item-link {position: relative;display: block;}
div.su-carousel-slide a.su-carousel-item-link:before {content: '';position: absolute;height: 100%;width: 100%;left: 0;opacity: 0;-webkit-transition: all .25s ease-in-out;-moz-transition: all .25s ease-in-out;-ms-transition: all .25s ease-in-out;-o-transition: all .25s ease-in-out;transition: all .25s ease-in-out;right: 0;background: rgba(0,0,0,0.4);z-index: 1;}
div.su-carousel-slide a.su-carousel-item-link:after {font-family: FontAwesome;content: "\f067";position: absolute;bottom: 45%;left: 50%;margin-bottom: -15px;margin-left: -15px;background: rgba(255, 255, 255, 0.3);padding: 12px 15px;line-height: normal;display: inline-block;color: #FFF;opacity: 0;border-radius: 3px;z-index: 11;-webkit-transition: all 400ms ease-in-out;-moz-transition: all 400ms ease-in-out;-ms-transition: all 400ms ease-in-out;-o-transition: all 400ms ease-in-out;transition: all 400ms ease-in-out;}
div.su-carousel-slide span.su-carousel-slide-title { position: absolute;left: 0;right: 0;padding: 8px 13px;background: #444;color: #fff; bottom: 0;z-index: 1;}
.su-carousel-title-hover div.su-carousel-slide span.su-carousel-slide-title {bottom: -36px; opacity: 0;-webkit-transition: all .3s ease-in-out;-moz-transition: all .3s ease-in-out;transition: all .3s ease-in-out;color: #fff;}
.su-carousel-title-hover div.su-carousel-slide:hover span.su-carousel-slide-title {opacity: 1;bottom: 0;}
div.su-carousel-slide:hover a.su-carousel-item-link:before {opacity: 1;}
div.su-carousel-slide:hover a.su-carousel-item-link:after {opacity: 1;bottom: 50%;}
.su-carousel.arrow-default .owl-nav {
  position: absolute;
  left: auto;
  opacity: 0.5;
  width: 100%;
  top: calc(50% - 40px);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.su-carousel-slides .owl-nav:hover {
  opacity: 1;
}
/* L/R arrows */
.su-carousel .su-carousel-slides .owl-nav [class*='owl-'] {
  color: white;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: inline-block;
  text-align: center;
  font-size: 24px;
  font-family: FontAwesome;
  line-height: 38px;
  -webkit-font-smoothing: antialiased;
  padding: 0;
  margin: 0 0 0 5px;
  border-radius: 50%;
  background: rgba(0,0,0,0.3);
}
.su-carousel.arrow-default .su-carousel-slides .owl-nav .owl-prev,
.su-carousel.arrow-default .su-carousel-slides .owl-nav .owl-next {
  position: absolute;
  margin: 0;
}
.su-carousel.arrow-default .su-carousel-slides .owl-nav .owl-prev {
  left: 20px;
  right: auto;
  text-indent: -2px;
}
.su-carousel.arrow-default .su-carousel-slides .owl-nav .owl-next {
  right: 20px;
  left: auto;
  text-indent: 2px;
}
.su-carousel-slides .owl-prev { right: 33px; }
.su-carousel-slides .owl-next { right: 0; }
.su-carousel.arrow-bottom-right .owl-nav {
	bottom: 50px;
	right: 15px;	
	top: auto;
	left: auto;
}
.su-carousel.arrow-top-left .owl-nav {
	bottom: auto;
	right: auto;	
	top: 15px;
	left: 15px;
}
.su-carousel.arrow-top-right .owl-nav {
	bottom: auto;
	left: auto;
	right: 15px;	
	top: 15px;
}
.su-carousel.arrow-bottom-left .owl-nav {
	bottom: 50px;
	right: auto;	
	top: auto;
	left: 15px;
}
.su-carousel-slides .owl-nav [class*='owl-']:hover  {
	background: rgba(100,100,100,0.5);
}
.su-carousel-slides .owl-prev:before {content: "\f104";}
.su-carousel-slides .owl-next:before {content: "\f105";}
.su-carousel-image {position: relative;}
.carousel-link {
    background: rgba(200,200,200,0.6);
    position: absolute;
    z-index: 1;
    color: #fff;
    left: 50%;
    top: 50%;
    text-align: center;
    width: 46px;
    height: 46px;
    line-height: 46px;
    margin-top: -23px;
    margin-left: -23px;
    opacity: 0;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}


.carousel-link:hover {
  color: #FFF;
 background: rgba(100,100,100,0.5); 
}
.su-carousel-image:hover .carousel-link {
  opacity: 1;
}

/*zoom and link design*/
.su-carousel-style-1 .suc-link-wrap, 
.su-carousel-style-3 .suc-link-wrap, 
.su-carousel-style-4 .suc-link-wrap, 
.su-carousel-style-6 .suc-link-wrap {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.su-carousel-style-1 .suc-link-center, 
.su-carousel-style-3 .suc-link-center, 
.su-carousel-style-4 .suc-link-center, 
.su-carousel-style-6 .suc-link-center {
    display: table;
    width: 100%;
    height: 100%;
}
.su-carousel-style-1 .suc-link-inner, 
.su-carousel-style-3 .suc-link-inner, 
.su-carousel-style-4 .suc-link-inner, 
.su-carousel-style-6 .suc-link-inner {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
.suc-link-wrap .suc-link, 
.suc-link-wrap .suc-zoom {
    font-size: 14px;
    line-height: normal;
    outline: none;
    text-decoration: none !important;
    margin: 0 3px;
}
.suc-link:after, .suc-zoom:after {
    font-family: FontAwesome;
    -webkit-transition: all .25s ease;
    transition: all .25s ease;
}
.suc-zoom:after {
    content: "\f002";
}
.suc-link:after {
    content: "\f0c1";
}

/*=======================
    Caption style
=======================*/
.su-carousel-caption {
    padding: 25px 0 8px 0px;
}
.su-carousel-item-text {
  margin-top: 10px;
}
.su-carousel-slide-title {
    line-height: 1.2;
    margin: 0;
    font-weight: 600;
    font-size: 16px;
    -webkit-transition: all .2s linear;
    transition: all .4s linear;
}

.su-carousel-slide-title a {
    text-decoration: none !important;
    color: #7f7f7f;
}
.su-carousel-slide-title a:hover {color:#444;}
.su-ccategory, .su-cdate {
  position: relative;
  display: inline-block;
  font-size: 12px;
  color: #999;
}
.su-carousel-caption .su-cmeta {margin-top: 5px;}
.su-carousel-caption .su-cmeta > div:nth-child(2) {margin-left: 6px;padding-left: 6px;}
.su-carousel-caption .su-cmeta > div:nth-child(2)::after { position: absolute;content: '';height: 8px;width: 1px;background-color: #ddd;left: 0;bottom: 6px;}
/*=====================
    Style 1
====================*/
.su-carousel-style-1:not(.su-carousel-media) .su-carousel-slide {
    background: #fefefe;
    padding: 20px;
    text-align: center;
}
.su-carousel-style-1 .su-carousel-image:after {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    -webkit-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}
.su-carousel-style-1 .su-carousel-slide:hover .su-carousel-image::after {
    opacity: 1;
}
.su-carousel-style-1 .suc-link-wrap a {
    z-index: 1;
    padding: 10px 12px;
    border-radius: 2px;
    background-color: rgba(0, 0, 0, 0.2); 
    color: rgba(255, 255, 255, 0.75);
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    display: inline-block;
    opacity: 0;   
}
.su-carousel-style-1 .suc-link-wrap a:hover {
    background: rgba(0,0,0,.4);
    color: #FFFFFF;
}
.su-carousel-style-1 .suc-link-wrap a.suc-zoom {
    -webkit-transform: translateX(-50px);
    transform: translateX(-50px);
}
.su-carousel-style-1 .suc-link-wrap a.suc-link {
    -webkit-transform: translateX(50px);
    transform: translateX(50px);
}
.su-carousel-style-1 .su-carousel-slide:hover .suc-link-wrap a {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
    opacity: 1;
}
.su-carousel-style-1.su-carousel-media .su-carousel-slide .suc-link-wrap a {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
}
.su-carousel-style-1.su-carousel-media .su-carousel-slide:hover .suc-link-wrap a {
     -webkit-transform: translateY(0px);
    transform: translateY(0px);
}

/*======================
    Style 2
====================*/
.su-carousel-style-2 .suc-link-wrap a {
    position: absolute;
    top: 0;
    width: 0;
    z-index: 1;
    height: 100%;
    background-color: rgba(0,0,0,0.3);  
    color: rgba(255, 255, 255, 0.75);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    font-size: 24px;
    margin: 0;
}

.su-carousel-style-2 .su-carousel-slide:hover .suc-link-wrap a {
    width: 50%;
    opacity: 1;
}
.su-carousel-style-2 .su-carousel-slide .suc-link-wrap a:hover {
    background-color: rgba(200,200,200,0.5);
}
.su-carousel-style-2 .suc-link-wrap a.suc-zoom {
    left: 0;
}
.su-carousel-style-2 .suc-link-wrap a.suc-link {
    right: 0;
}
.su-carousel-style-2.su-carousel-media .su-carousel-slide:hover .suc-link-wrap a {
    width: 100%;
}
.su-carousel-style-2 .suc-link-wrap a:after {
    position: absolute;
    top: 50%;
    font-size: 24px;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}
.su-carousel-style-2 .owl-dots .owl-dot span {
    position: relative;
    border-radius: 50%;
    background-color: transparent;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: -webkit-transform 0.3s ease, opacity 0.3s ease;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.su-carousel-style-2 .owl-dots .owl-dot span:before, .su-carousel-style-2 .owl-dots .owl-dot span:after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background-color: #d6d6d6;
	content: '';
	text-indent: 0;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.su-carousel-style-2 .owl-dots .owl-dot span:after {
	background-color: #707070;
	-webkit-transform: rotateY(180deg);
	transform: rotateY(180deg);
}
.su-carousel-style-2 .owl-dots .active span {
	-webkit-transform: rotateY(180deg);
	transform: rotateY(180deg);
}
.su-carousel-style-2 .owl-dots .owl-dot:hover span, .su-carousel-style-4 .owl-dots .owl-dot:hover span {
	background: none;
}

/*===============
    Style 3
=================*/

.su-carousel-style-3 .su-carousel-slide .su-carousel-image {
	overflow: hidden;	
}
.su-carousel-style-3 .su-carousel-image:after {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    -webkit-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}
.su-carousel-style-3 .su-carousel-slide:hover .su-carousel-image::after {
    opacity: 1;
}
.su-carousel-style-3 .su-carousel-slide .su-carousel-image img {
   width: 100%;
   height: auto;
   vertical-align: middle;
   -webkit-transition: all 0.6s;
   -moz-transition: all 0.6s;
   transition: all 0.6s;
}
.su-carousel-style-3 .su-carousel-slide:hover .su-carousel-image img {
   -webkit-transform: scale(1.2) rotate(-10deg);
    transform: scale(1.2) rotate(-10deg);
}
.su-carousel-style-3 .su-carousel-slide .suc-link-wrap a {
    z-index: 1;
    height: 46px;
    width: 46px;
    border-radius: 50%;
    text-align: center;
    color: #ffffff;
    line-height: 46px;
    opacity: 0;
	border: 2px solid #ffffff;
	-webkit-border-radius: 50%;
	border-radius: 50%;
    margin: 6px;
    display: inline-block;
   -webkit-transition: all .4s cubic-bezier(0, 0, 0, .2);
    transition: all .4s cubic-bezier(0, 0, 0, .2);
}
.su-carousel-style-3 .suc-link-wrap a.suc-zoom {
    -webkit-transform: translateY(-80px);
    transform: translateY(-80px);
}
.su-carousel-style-3 .suc-link-wrap a.suc-link {
    -webkit-transform: translateY(-40px);
    transform: translateY(-40px);
}
.su-carousel-style-3 .su-carousel-slide:hover .suc-link-wrap a {
    opacity: 1;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
}
.su-carousel-style-3 .su-carousel-slide .suc-link-wrap a:hover  {
    border-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.5);
}
.su-carousel-style-3 .su-carousel-caption {
	position: relative;
}
.su-carousel-style-3 .su-carousel-caption:after {
	content: '';
	position: absolute;
	top: -27px;
	left: 50%;
	margin-left: -14px;
	border: 14px solid transparent;
	border-bottom-color: #FFF;
}
.su-carousel-style-3 .owl-dots .owl-dot span {
	height: 8px;
	width: 8px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-webkit-transition: all .3s ease-in-out;
	 transition: all .3s ease-in-out;
}
.su-carousel-style-3 .owl-dots .active span{
	background-color: #444;
	width: 25px;
}

/*=================
    style 4
==================*/
.su-carousel-style-4 .su-carousel-slide {
    position: relative;
}
.su-carousel-style-4 .suc-link-wrap a {
    z-index: 1;
    height: 46px;
    width: 46px;
    border-radius: 50%;
    text-align: center;
    color: #ffffff;
    line-height: 46px;
    opacity: 0;
    display: inline-block;
    position: relative;
    margin: 0 6px;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}
.su-carousel-style-4 .suc-link-wrap a:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: -2px;
    top: -2px;
    border-radius: 50%;
    -webkit-transition: opacity 0s ease,-webkit-transform 0s ease,border 0s ease;
    transition: opacity 0s ease,transform 0s ease,border 0s ease;
    border: 2px solid rgba(255,255,255,0.38);
    opacity: 1;
    visibility: hidden;
}
.su-carousel-style-4 .suc-link-wrap a:hover::before {
    visibility: visible;
    opacity: 0;
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
    -webkit-transition-duration: .5s;
    transition-duration: .5s;
}
.su-carousel-style-4 .suc-link-wrap a.suc-zoom {
    background-color: rgba(255, 255, 255, 0.5);
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
}
.su-carousel-style-4 .suc-link-wrap a.suc-link {
    background-color: rgba(0, 0, 0, 0.3); 
    -webkit-transform: translateY(70px);
    transform: translateY(70px);
}
.su-carousel-style-4 .su-carousel-slide:hover .suc-link-wrap a {
   opacity: 1;
   -webkit-transform: translateY(0);
    transform: translateY(0);
}
.su-carousel-style-4.su-carousel-media .suc-link-wrap a.suc-zoom {-webkit-transition: all 500ms ease-in-out; transition: all 500ms ease-in-out;}

.su-carousel-style-4 .owl-stage div.owl-item .su-carousel-image:after {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    height: 10px;
    width: 100%;
    -webkit-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}

.su-carousel-style-4 .owl-stage div.owl-item .su-carousel-slide:hover .su-carousel-image:after {
   opacity: 1;
   height: 100%;
}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(1) .su-carousel-image:after {background: rgba(143, 76, 200, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(2) .su-carousel-image:after {background: rgba(243, 100, 118, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(3) .su-carousel-image:after {background: rgba(250, 112, 72, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(4) .su-carousel-image:after {background: rgba(250, 213, 89, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(5) .su-carousel-image:after {background: rgba(27, 168, 192, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(6) .su-carousel-image:after {background: rgba(153, 199, 88, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(7) .su-carousel-image:after {background: rgba(130, 144, 151, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(8) .su-carousel-image:after {background: rgba(75, 135, 225, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(9) .su-carousel-image:after {background: rgba(190, 46, 64, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(10) .su-carousel-image:after {background: rgba(49, 59, 64, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(11) .su-carousel-image:after {background: rgba(153, 199, 88, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(12) .su-carousel-image:after {background: rgba(143, 76, 200, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(13) .su-carousel-image:after {background: rgba(250, 213, 89, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(14) .su-carousel-image:after {background: rgba(243, 100, 118, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(15) .su-carousel-image:after {background: rgba(153, 199, 88, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(16) .su-carousel-image:after {background: rgba(75, 135, 225, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(17) .su-carousel-image:after {background: rgba(130, 144, 151, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(18) .su-carousel-image:after {background: rgba(27, 168, 192, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(19) .su-carousel-image:after {background: rgba(250, 213, 89, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(20) .su-carousel-image:after {background: rgba(250, 112, 72, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(21) .su-carousel-image:after {background: rgba(243, 100, 118, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(22) .su-carousel-image:after {background: rgba(143, 76, 200, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(23) .su-carousel-image:after {background: rgba(153, 199, 88, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(24) .su-carousel-image:after {background: rgba(130, 144, 151, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(25) .su-carousel-image:after {background: rgba(75, 135, 225, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(26) .su-carousel-image:after {background: rgba(190, 46, 64, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(27) .su-carousel-image:after {background: rgba(49, 59, 64, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(28) .su-carousel-image:after {background: rgba(153, 199, 88, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(29) .su-carousel-image:after {background: rgba(250, 213, 89, 0.74902);}
.su-carousel-style-4 .owl-stage div.owl-item:nth-child(30) .su-carousel-image:after {background: rgba(143, 76, 200, 0.74902);}

.su-carousel-style-4 .su-carousel-slide, .su-carousel-style-3 .su-carousel-slide, .su-carousel-style-2 .su-carousel-slide {background-color: #FFFFFF;}
.su-carousel-style-4 .su-carousel-caption, .su-carousel-style-3 .su-carousel-caption, .su-carousel-style-2 .su-carousel-caption {padding: 15px 20px;}

.su-carousel-style-4 .owl-dots .owl-dot span {
	position: relative;
	overflow: hidden;
	border-radius: 50%;
	background: transparent;
	box-shadow: inset 0 0 0 2px #d6d6d6;
	-webkit-transition: background 0.3s ease;
	transition: background 0.3s ease;
}


.su-carousel-style-4 .owl-dots .owl-dot span:after {
	content: '';
	position: absolute;
	bottom: 0;
	height: 0;
	left: 0;
	width: 100%;
	background: #d6d6d6;
	box-shadow: 0 0 1px #d6d6d6;
	-webkit-transition: height 0.3s ease;
	transition: height 0.3s ease;
}
.su-carousel-style-4 .owl-dots .active span:after {
	height: 100%;
}


/*=================
    Style 5
==================*/
.su-carousel-style-5 .su-carousel-image:after {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.1);
    opacity: 0;
    -webkit-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}
.su-carousel-style-5 .su-carousel-slide:hover .su-carousel-image::after {
    opacity: 1;
}
.su-carousel-style-5 .suc-link-wrap a {
    position: absolute;
    bottom: 0;
    z-index: 1;
    height: 0;
    width: 50%;
    color: #FFFFFF;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    opacity: 0;
    margin: 0;
    line-height: 70px;
    text-align: center;
    font-size: 26px;
}
.su-carousel-style-5 .su-carousel-slide:hover .suc-link-wrap a {
    height: 70px;
    opacity: 1;
}
.su-carousel-style-5 .su-carousel-slide .suc-link-wrap a:hover {
    background-color: rgba(200, 200, 200, 0.5);
}
.su-carousel-style-5 .suc-link-wrap a.suc-zoom {
    left: 0;
}
.su-carousel-style-5 .suc-link-wrap a.suc-link { 
    right: 0;
}
.su-carousel-style-5.su-carousel-media .suc-link-wrap a {
    width: 100%;
}

/*Style6*/
.su-carousel-style-6 .su-carousel-image:after {
    position: absolute;
    content: '';
    left: 50%;
    top: 0;
    height: 100%;
    width: 0;
    background: rgba(0, 0, 0, 0.3);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-transition: all .3s cubic-bezier(0, 0, 0, 0.2);
    transition: all .3s cubic-bezier(0, 0, 0, 0.2);
}
.su-carousel-style-6 .su-carousel-slide:hover .su-carousel-image::after {
    width: 100%;
}
.su-carousel-style-6 .su-carousel-slide .suc-link-wrap a {
    z-index: 1;
    height: 36px;
    width: 36px;
    text-align: center;
    color: #ffffff;
    line-height: 36px;
    opacity: 0;
    border: 1px solid #ffffff;
    margin: 12px;
    display: inline-block;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: all .3s cubic-bezier(0, 0, 0, 0.3);
    transition: all .3s cubic-bezier(0, 0, 0, 0.3);
}
.su-carousel-style-6 .suc-link-wrap a:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    position: relative;
    display: inline-block;
}
.su-carousel-style-6 .su-carousel-slide:hover .suc-link-wrap a {
    opacity: 1;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.su-carousel-style-6 .su-carousel-slide .suc-link-wrap a:hover  {
    border-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.5);
}
.su-carousel-style-6 .su-carousel-caption {
    padding: 20px;
    border-width: 0 1px 1px 1px;
    border-style: solid;
    border-color: #e5e5e5;
    background: #fff;
    position: relative;
    overflow: hidden;
}
.su-carousel-style-6 .su-carousel-caption:after {
    content: '';
    position: absolute;
    height: 45px;
    width: 30px;
    background: rgba(0,0,0,0.05);
    bottom: -20px;
    right: -20px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.su-carousel-style-6 .su-carousel-slide-title {
    text-transform: uppercase;
}
body .su-carousel-style-6 .su-carousel-slides .owl-nav [class*='owl-'] {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    border-radius: 0;
}
.su-carousel-style-6 .owl-nav [class*='owl-']:before {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    display: inline-block;
}
.su-carousel-style-6 .owl-dots .owl-dot span {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    border-radius: 0;
    height: 8px;
    width: 8px;  
}css/index.html000064400000000032152351647340007336 0ustar00<html><body></body></html>js/index.html000064400000000032152351647340007162 0ustar00<html><body></body></html>config.php000064400000037617152351647340006552 0ustar00<?php 

/**
* @package   Shortcode Ultimate
* @author    BdThemes http://www.bdthemes.com
* @copyright Copyright (C) BdThemes Ltd
* @license   http://www.gnu.org/licenses/gpl.html GNU/GPL
*/

defined( '_JEXEC' ) or die( 'Restricted access' );

class Su_Shortcode_carousel_config extends Su_Data {

    function __construct() {
        parent::__construct();
    }
    static function get_config() {

        return array(
            'name'  => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CAROUSEL'),
            'desc'  => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CAROUSEL_DESC'),
            'icon'  => 'picture-o',
            'type'  => 'single',
            'group' => 'gallery',
            'badge' => 'UPDATE',
            'atts'  => array(
                'style' => array(
                    'type'   => 'select',
                    'values' => array(
                        '1' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_STYLE1'),
                        '2' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_STYLE2'),
                        '3' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_STYLE3'),
                        '4' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_STYLE4')
                    ),
                    'default' => 1,
                    'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_STYLE'),
                    'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_STYLE_DESC')
                ),
                'source' => array(
                    'type'    => 'source',
                    'default' => 'none',
                    'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SOURCE'),
                    'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CAROUSEL_SOURCE_DESC')
                ),
                'limit' => array(
                    'type'    => 'slider',
                    'min'     => 1,
                    'max'     => 100,
                    'step'    => 1,
                    'default' => 5,
                    'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_LIMIT'),
                    'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CAROUSEL_LIMIT_DESC')
                ),
                'order' => array(
                        'type'     => 'select',
                        'values'   => array(
                        'created'  => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CREATED_DATE'),
                        'title'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TITLE'),
                        'hits'     => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_HITS'),
                        'ordering' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ORDERING')
                     ),
                     'default' => 'created',
                     'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ORDER'),
                     'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ORDER_DESCR'),
                     'child'   => array(
                             'order_by' => array(
                                    'type'   => 'select',
                                    'values' => array(
                                    'asc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ASC'),
                                    'desc'   => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DESC')
                                 ),
                                 'default' => 'desc',
                                 'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ORDER_TYPE'),
                                 'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ORDER_TYPE_DESC')
                             )
                     )
                ),
                'items' => array(
                    'type'    => 'slider',
                    'min'     => 1,
                    'max'     => 10,
                    'step'    => 1,
                    'default' => 5,
                    'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ITEMS'),
                    'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ITEMS_DESC'),

                    'child'   => array(
                        'medium' => array(
                            'type'    => 'slider',
                            'min'     => 1,
                            'max'     => 5,
                            'step'    => 1,
                            'default' => 3,
                            'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_MEDIUM_DEVICE_ITEM'),
                            'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_MEDIUM_DEVICE_ITEM_DESC')
                        ),
                        'small' => array(
                            'type'    => 'slider',
                            'min'     => 1,
                            'max'     => 5,
                            'step'    => 1,
                            'default' => 1,
                            'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SMALL_DEVICE_ITEM'),
                            'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SMALL_DEVICE_ITEM_DESC')
                        )
                    )
                ),
                'image' => array(
                    'type'    => 'bool',
                    'default' => 'yes',
                    'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_IMAGE'),
                    'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_IMAGE_DESC'),
                    'child'  => array(                        
                        'image_height' => array(
                            'type'    => 'slider',
                            'min'     => 10,
                            'max'     => 640,
                            'step'    => 10,
                            'default' => 320,
                            'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_IMAGE_HEIGHT'), 
                            'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_IMAGE_HEIGHT_DESC')
                        ),
                        'image_width' => array(
                            'type'    => 'slider',
                            'min'     => 10,
                            'max'     => 640,
                            'step'    => 10,
                            'default' => 360,
                            'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_IMAGE_WIDTH'), 
                            'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_IMAGE_WIDTH_DESC')
                        ),
                        'thumb_resize' => array(
                            'type'    => 'bool',
                            'default' => 'no',
                            'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_THUMB_RESIZE'), 
                            'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_THUMB_RESIZE_DESC')
                        )
                    )
                ),
                'title' => array(
                    'type'    => 'bool',
                    'default' => 'yes',
                    'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TITLE'),
                    'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CAROULES_TITLE_DESC'),
                    'child'  => array(
                        'title_link' => array(
                            'type'    => 'bool',
                            'default' => 'yes',
                            'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TITLE_LINK'),
                            'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TITLE_LINK_DESC')
                        ),
                        'title_limit' => array(
                            'default' => '',
                            'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TITLE_LIMIT'),
                            'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TITLE_LIMIT_DESC')
                        )
                    )
                ),
                'intro_text' => array(
                    'type'    => 'bool',
                    'default' => 'yes',
                    'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CAROULES_TEXT'),
                    'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CAROULES_TEXT_DESC'),
                    'child'  => array(                        
                        'intro_text_limit' => array(
                            'default' => '60',
                            'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TEXT_LIMIT'),
                            'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TEXT_LIMIT_DESC')
                        )
                    )
                ),
                'category' => array(
                    'type'    => 'bool',
                    'default' => 'no',
                    'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CATEGORY'),
                    'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_BOOL_CATEGORY_DESC'),
                    'child'  => array(                        
                        'date' => array(
                            'type'    => 'bool',
                            'default' => 'no',
                            'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DATE'),
                            'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DATE_DESC'),
                        )
                    )
                ),
                'color' => array(
                    'type'    => 'color',
                    'values'  => array( ),
                    'default' => '#FFFFFF',
                    'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_COLOR'),
                    'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_COLOR_DESC'),
                    'child' => array(
                        'background' => array(
                            'type'    => 'color',
                            'values'  => array( ),
                            'default' => '#2D89EF',
                            'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_BACKGROUND'), 
                            'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_BACKGROUND_DESC')
                        ),
                        'title_color' => array(
                            'type'    => 'color',
                            'values'  => array( ),
                            'default' => '#2D89EF',
                            'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TITLE_COLOR'), 
                            'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TITLE_COLOR_DESC')
                        )
                    )
                ),
                'margin' => array(
                    'type'    => 'slider',
                    'min'     => 0,
                    'max'     => 80,
                    'step'    => 5,
                    'default' => 10,
                    'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_MARGIN'),
                    'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CAROUSEL_MARGIN_DESC')
                ),
                'arrows' => array(
                    'type'    => 'bool',
                    'default' => 'no',
                    'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ARROWS'),
                    'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ARROWS_DESC'),
                    'child'  => array(                        
                        'arrow_position' => array(
                            'type'   => 'select',
                            'values' => array(
                                'default'      => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DEFAULT'),
                                'top-left'     => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TOP_LEFT'),
                                'top-right'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TOP_RIGHT'),
                                'bottom-left'  => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_BOTTOM_LEFT'),
                                'bottom-right' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_BOTTOM_RIGHT'),
                            ),
                            'default' => 'default',
                            'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ARROW_POSITION'),
                            'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ARROW_POSITION_DESC')
                        ),
                        'pagination' => array(
                            'type'    => 'bool',
                            'default' => 'yes',
                            'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PAGINATION'),
                            'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PAGINATION_DESC')
                        )
                    )
                ),
                'autoplay' => array(
                    'type'    => 'bool',
                    'default' => 'yes',
                    'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_AUTOPLAY'),
                    'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_AUTOPLAY_DESC'),
                    'child'  => array(                        
                        'hoverpause' => array(
                            'type'    => 'bool',
                            'default' => 'yes',
                            'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_HOVERPAUSE'),
                            'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_HOVERPAUSE_DESC')
                        ),
                        'lazyload' => array(
                            'type'    => 'bool',
                            'default' => 'no',
                            'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_LAZYLOAD'),
                            'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_LAZYLOAD_DESC')
                        ),
                        'loop' => array(
                            'type'    => 'bool',
                            'default' => 'no',
                            'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_LOOP'),
                            'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_LOOP_DESC')
                        )
                    )
                ),                
                'delay' => array(
                    'type'    => 'slider',
                    'min'     => 1,
                    'max'     => 10,
                    'step'    => 0.5,
                    'default' => 4,
                    'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DELAY'), 
                    'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DELAY_DESC'),
                    'child'  => array(                        
                        'speed' => array(
                            'type'    => 'slider',
                            'min'     => 0.1,
                            'max'     => 15,
                            'step'    => 0.2,
                            'default' => 0.35,
                            'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SPEED'), 
                            'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SPEED_DESC')
                        )
                    )
                ),
                'scroll_reveal' => array(
                    'default' => '',
                    'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SCROLL_REVEAL'),
                    'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SCROLL_REVEAL_DESC')
                ),
                'class' => array(
                    'default' => '',
                    'name'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CLASS'),
                    'desc'    => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CLASS_DESC')
                )
            )
        );
    }

}
shortcode.php000064400000021653152351647340007270 0ustar00<?php

/**
* @package   Shortcode Ultimate
* @author    BdThemes http://www.bdthemes.com
* @copyright Copyright (C) BdThemes Ltd
* @license   http://www.gnu.org/licenses/gpl.html GNU/GPL
*/

defined( '_JEXEC' ) or die( 'Restricted access' );

class Su_Shortcode_carousel extends Su_Shortcodes {

    function __construct() {
        parent::__construct();
    }

    public static function carousel($atts = null, $content = null) {
        $atts = su_shortcode_atts(array(
            'style'            => '1',
            'source'           => '',
            'limit'            => 5,
            'order'            => 'created',
            'order_by'         => 'desc',
            'items'            => 4, // will be predicated in next version.
            'large'            => 4,
            'medium'           => 3,
            'small'            => 1,
            'image'            => 'yes',
            'title'            => 'yes',
            'title_link'       => 'yes',
            'title_limit'      => '',
            'intro_text'       => 'yes',
            'intro_text_limit' => '60',
            'background'       => '',
            'color'            => '',
            'title_color'      => '',
            'date'             => 'no',
            'category'         => 'no',
            'image_width'      => 360,
            'image_height'     => 320,
            'thumb_resize'     => 'yes',
            'quality'          => 95,
            'show_link'        => 'yes',
            'show_zoom'        => 'yes',
            'margin'           => 10,
            'scroll'           => 1,
            'arrows'           => 'no',
            'arrow_position'   => 'default',
            'pagination'       => 'yes',
            'autoplay'         => 'yes',
            'delay'            => 4,
            'speed'            => 0.35,
            'hoverpause'       => 'no',
            'lazyload'         => 'no',
            'loop'             => 'yes',
            'scroll_reveal'    => '',
            'class'            => ''
        ), $atts, 'carousel');

        $id             = uniqid('suc');
        $output         = [];
        $title          = "";
        $image          = "";
        $intro_text     = '';
        $css            = [];
        $background     = '';
        $color          = '';
        $date           = '';
        $category       = '';
        $lang           = JFactory::getLanguage();
        $lang           = ($lang->isRTL()) ? 'true' : 'false';
        $slides         = (array) Su_Tools::get_slides($atts);
        $zoom_link_icon = '';
        $atts['items']  = ($atts['large'] != 4) ? $atts['large'] : $atts['items'];

        $css[] = '#'.$id.'.su-carousel-style-3 .su-carousel-caption:after {border-bottom-color: '.$atts['background'].';}';
        
        if (($atts['background']) or ($atts['color'])) {
            $background = ($atts['background']) ? 'background-color:'.$atts['background'].';' : '';
            $color      = ($atts['color']) ? 'color:'.$atts['color'].';' : '';
            $css[]      = '#'.$id.' .su-carousel-slide {' . $background . $color .'}';            
        }

        $thumb_resize_check = ($atts['thumb_resize'] === 'yes') ? true : false;

        if ($atts['title_color']) {
            $css[] = '#'.$id.' .su-carousel-slide .su-carousel-slide-title a {color: '.$atts['title_color'].';}';
            $css[] = '#'.$id.' .su-carousel-slide .su-carousel-slide-title a:hover {color: '.su_color::lighten($atts['title_color'],'10%').';}';
        }

        if (count($slides) and ($atts['title'] == 'yes' or $atts['image']  == 'yes' or  $atts['intro_text'] === 'yes')) {

            
            $source = explode(":", $atts['source']);

            if ($source[0] == 'media'){
                $atts['class'] .= ' su-carousel-media';
            }

            $output[] = '<div id="' . $id . '"'.su_scroll_reveal($atts).' class="su-carousel su-carousel-style-'.$atts['style'].' su-carousel-title-' . $atts['title'] .' arrow-'. $atts['arrow_position'].' '. su_ecssc($atts). '" data-autoplay="' . $atts['autoplay'] .'" data-delay="' . $atts['delay'] . '" data-speed="' . $atts['speed'] . '" data-arrows="' . $atts['arrows'] .'" data-pagination="' . $atts['pagination'] . '" data-lazyload="' . $atts['lazyload'] . '" data-hoverpause="' . $atts['hoverpause'] . '" data-items="' . $atts['items'] . '" data-medium="' . $atts['medium'] . '" data-small="' . $atts['small'] . '" data-margin="' . $atts['margin'] . '" data-scroll="' . $atts['scroll'] . '" data-loop="' . $atts['loop'] . '" data-rtl="' . $lang . '" >';
            $output[] = '<div class="owl-carousel su-carousel-slides">';
            $limit = 1;

            foreach ((array) $slides as $slide) {

                $image_url = su_image_resize($slide['image'], $atts['image_width'], $atts['image_height'], $thumb_resize_check, $atts['quality']);
                
                if($atts['title'] == 'yes' && $slide['title'] ) {

                    $title = stripslashes($slide['title']);

                    if ($atts['title_limit']) {
                        $title = su_char_limit($title, $atts['title_limit']);
                    }

                    if ($atts['title_link'] == "yes") {
                        $title = '<a href="'.$slide['link'].'">'.$title.'</a>';
                    }
                    $title = '<h3 class="su-carousel-slide-title">' . $title . '</h3>';
                }

                if ($atts['show_zoom']==='yes' or $atts['show_link']==='yes') {
                    $zoom_link_icon = '<div class="suc-link-wrap">';
                        $zoom_link_icon .= '<div class="suc-link-center">';
                            $zoom_link_icon .= '<div class="suc-link-inner">';
                                if ($atts['show_zoom']==='yes') {
                                    $zoom_link_icon .= '<a href="'.image_media($slide['image']).'" class="su-lightbox-item suc-zoom" title="'. $slide['title'].'"></a>';
                                }
                                if ($atts['show_link']==='yes' and $source[0] !== 'media' and $source[0] !== 'directory') {
                                    $zoom_link_icon .= '<a href="'.$slide['link'].'" class="suc-link" title="'. $slide['title'] .'"></a>';
                                }
                            $zoom_link_icon .= '</div>';
                        $zoom_link_icon .= '</div>';
                    $zoom_link_icon .= '</div>';
                }


                if($atts['date'] === 'yes') {
                    $date = JHTML::_('date', $slide['created'], JText::_('DATE_FORMAT_LC3'));
                    $date = '<div class="su-cdate">'.$date.'</div>';
                }

                if($atts['category'] === 'yes') {
                    $category = '<div class="su-ccategory">'.$slide['category'].'</div>';
                }           

                if ($atts['intro_text'] === 'yes' and isset($slide['introtext'])) {

                    $intro_text = $slide['introtext'];

                    if ($atts['intro_text_limit']) {
                        $intro_text = su_char_limit($intro_text, $atts['intro_text_limit']);
                    }

                    $intro_text =  '<div class="su-carousel-item-text">'.su_do_shortcode($intro_text).'</div>';
                }
                
                $output[] = '<div class="su-carousel-slide">';

                    if (isset($image_url) && $atts['image']  == 'yes') {
                        $output[] = '<div class="su-carousel-image">';

                            if (isset($image_url)) {
                                $output[] = $zoom_link_icon;
                            }

                            $output[] = '<img src="' . image_media($image_url['url']) . '" alt="' . strip_tags($title) . '" />';

                        $output[] = '</div>';
                    }

                    if (($title) or ($intro_text)) {
                        $output[] = '<div class="su-carousel-caption">'.$title .'<div class="su-cmeta">' . $date. $category. '</div>' .$intro_text.'</div>';
                    }
                $output[] = '</div>';
                if ($limit++ == $atts['limit']) break;
            }
            $output[] = '</div>';
            $output[] = '</div>';
            suAsset::addString('css', implode("\n", $css));
            suAsset::addFile('css', 'magnific-popup.css');
            suAsset::addFile('js', 'magnific-popup.js');
            suAsset::addFile('css', 'owl.carousel.css');
            suAsset::addFile('js', 'owl.carousel.min.js');
            suAsset::addFile('css', 'carousel.css', __FUNCTION__);
            suAsset::addFile('js', 'carousel.js', __FUNCTION__);
        }
        else {
            return su_alert_box(JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CAROUSEL_INF'), 'warning');
        }
        return implode("", $output);
    }
}
js/carousel.js000064400000005150152434133260007337 0ustar00jQuery(document).ready(function ($) {
// Enable carousels
	jQuery('.su-carousel').each(function () {
		// Prepare data
		var $carousel = $(this),
			$slides = $carousel.find('.su-carousel-slides'),
			$slide = $carousel.find('.su-carousel-slide'),
			data = $carousel.data();

		// Apply to carousel
		var $owlCarousel = $slides.owlCarousel({
			responsiveClass: true,
			mouseDrag: true,
			autoplayTimeout: data.delay * 1000,
			smartSpeed: data.speed * 1000,
			lazyLoad: (data.lazyload == 'yes') ? true : false,
			autoplay: (data.autoplay == 'yes') ? true : false,
			autoplayHoverPause: (data.hoverpause == 'yes') ? true : false,
			center: (data.center == 'yes') ? true : false,
			loop: (data.loop == 'yes') ? true : false,
			margin: data.margin,
			navText: ['',''],
			rtl: data.rtl,
			responsive:{
		        0:{
		            items: $carousel.data('small'),
		            margin: 0,
		            dots: (data.pagination == 'yes') ? true : false,
            		nav: (data.arrows == 'yes') ? true : false
		        },
		        768:{
		            items:$carousel.data('medium'),
		            dots: (data.pagination == 'yes') ? true : false,
            		nav: (data.arrows == 'yes') ? true : false
		        },
		        1000:{
		            items: $carousel.data('items'),
		            dots: (data.pagination == 'yes') ? true : false,
            		nav: (data.arrows == 'yes') ? true : false
		        }
		    }
		});

		// Lightbox for galleries (slider, carousel, custom_gallery)
		$(this).find('.su-lightbox-item').magnificPopup({
			type: 'image',
			mainClass: 'mfp-zoom-in mfp-img-mobile',
			tLoading: '', // remove text from preloader
			removalDelay: 400, //delay removal by X to allow out-animation
			gallery: {
				enabled: true,
				navigateByImgClick: true,
				preload: [0, 1] // Will preload 0 - before current, and 1 after the current image
			},
			callbacks: {
				open: function() {
					//overwrite default prev + next function. Add timeout for css3 crossfade animation
					$.magnificPopup.instance.next = function() {
						var self = this;
						self.wrap.removeClass('mfp-image-loaded');
						setTimeout(function() { $.magnificPopup.proto.next.call(self); }, 120);
					}
					$.magnificPopup.instance.prev = function() {
						var self = this;
						self.wrap.removeClass('mfp-image-loaded');
						setTimeout(function() { $.magnificPopup.proto.prev.call(self); }, 120);
					}
				},
				imageLoadComplete: function() {
					var self = this;
					setTimeout(function() { self.wrap.addClass('mfp-image-loaded'); }, 16);
				}
			}
		});

	});
});index.html000064400000000032152434133530006537 0ustar00<html><body></body></html>