first commit

This commit is contained in:
2024-10-28 22:14:22 +01:00
commit b65352c452
40581 changed files with 5712079 additions and 0 deletions

View File

@@ -0,0 +1,284 @@
.an_homeslider-loader {
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 1;
pointer-events: none;
display: -ms-flexbox;
display: flex;
justify-content: center;
align-items: center;
transition: 0.75s ease 0.75s;
}
.an_homeslider-loader-image {
width: 250px;
height: 250px;
content: url("../img/loading.svg");
}
.an_homeslider-block.initialized .an_homeslider-loader {
opacity: 0;
}
.an_homeslider-item-noimg .an_homeslider-desc {
position: static;
padding-top: 60px;
padding-bottom: 60px;
}
.an_homeslider-block {
position: relative;
margin-bottom: 45px;
}
.an_homeslider:not(.owl-carousel) {
display: flex!important;
min-height: 380px;
opacity: 0;
overflow: hidden;
}
.an_homeslider {
text-align: center;
}
.an_homeslider .owl-stage-outer {
width: 100%;
}
.an_homeslider.owl-carousel.owl-drag .owl-item .an_homeslider-item {
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: flex;
-ms-align-items: center;
align-items: center;
justify-content: center;
-webkit-flex-direction: column;
-moz-flex-direction: column;
-ms-flex-direction: column;
-o-flex-direction: column;
flex-direction: column;
overflow: hidden;
}
.an_homeslider.owl-carousel.owl-drag .owl-item .an_homeslider-item img:not(.owl-lazy),
.an_homeslider.owl-carousel.owl-drag .owl-item .an_homeslider-item img.anhs-img-loaded {
width: auto!important;
transform-style: flat!important;
-moz-transform-style: flat;
}
.an_homeslider.owl-carousel.owl-drag .owl-item .an_homeslider-item img.owl-lazy:not(.anhs-img-loaded) {
/*height: 0!important;*/
}
.an_homeslider.owl-carousel.owl-drag.an_homeslider-responsive .owl-item .an_homeslider-item img {
width: 100%!important;
height: auto;
}
.an_homeslider-desc {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
text-align: center;
margin: auto;
}
.an_homeslider .an_homeslider-desc>.container {
position: relative;
height: 100%;
padding: 0 15px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.an_homeslider .an_homeslider-desc .h2 {
margin-bottom: 32px;
line-height: 60px;
font-weight: 300;
text-transform: none;
}
.an_homeslider .an_homeslider-desc p {
max-width: 450px;
margin-right: auto;
margin-left: auto;
margin-bottom: 76px;
font-weight: 300;
line-height: 26px;
}
.an_homeslider-desc .btn-primary {
margin-bottom: 30px;
}
.an_homeslider-block .owl-nav {
position: absolute;
top: 50%;
left: 0;
right: 0;
}
.an_homeslider-block .owl-nav .container {
position: relative;
}
.an_homeslider .owl-prev,
.an_homeslider .owl-next {
position: absolute;
top: calc(50% - 15px);
z-index: 2;
cursor: pointer;
}
.an_homeslider .owl-prev {
left: 10px;
}
.an_homeslider .owl-next {
right: 10px;
}
.an_homeslider .owl-stage-outer.disabled .owl-prev,
.an_homeslider .owl-stage-outer.disabled .owl-next {
display: none;
}
.an_homeslider .owl-prev,
.an_homeslider .owl-next {
position: absolute;
top: calc(50% - 0px);
z-index: 2;
cursor: pointer;
-webkit-transform: translate(0, -50%);
-ms-transform: translate(0, -50%);
-o-transform: translate(0, -50%);
transform: translate(0, -50%);
border: 0;
display: flex;
align-items: center;
justify-content: center;
transition: all .3s;
}
.an_homeslider .owl-prev i,
.an_homeslider .owl-next i {
font-size: 55px;
color: #d4d5d9;
}
.an_homeslider .owl-prev:hover i,
.an_homeslider .owl-next:hover i {
color: #000;
}
.an_homeslider .owl-dots {
-webkit-tap-highlight-color: transparent;
position: absolute;
bottom: 30px;
left: 50%;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
}
.an_homeslider .owl-dots {
text-align: center;
}
.an_homeslider .owl-dots .owl-dot {
display: inline-block;
zoom: 1;
*display: inline;
}
.an_homeslider .owl-dots .owl-dot span {
width: 10px;
height: 10px;
margin: 5px 7px;
background: #D6D6D6;
display: block;
-webkit-backface-visibility: visible;
transition: all 200ms ease;
border-radius: 50%;
}
.an_homeslider .owl-dots .owl-dot.active span,
.an_homeslider .owl-dots .owl-dot:hover span {
background: #000;
}
@media (min-width: 768px) {
.an_homeslider-hide-desktop,
.an_homeslider-hide-desktop-content .an_homeslider-desc {
display: none;
}
}
@media (max-width: 1600px) {
.an_homeslider.an_homeslider-responsive .an_homeslider-desc .h2,
.an_homeslider.an_homeslider-responsive .an_homeslider-desc p {
margin-bottom: 20px;
}
}
@media (max-width: 1400px) {
.an_homeslider.an_homeslider-responsive .an_homeslider-desc .h2 {
font-size: 30px;
}
.an_homeslider.an_homeslider-responsive .an_homeslider-desc>.container {
padding: 30px 60px;
}
}
@media (max-width: 1200px) {
.an_homeslider .an_homeslider-desc .h2 {
font-size: 30px;
}
.an_homeslider.an_homeslider-responsive .an_homeslider-desc p {
margin-bottom: 20px;
}
.an_homeslider .an_homeslider-desc>.container {
padding: 0 50px;
}
}
@media (max-width: 991px) {
.an_homeslider .owl-next,
.an_homeslider .owl-prev {
display: none;
}
.an_homeslider-responsive .an_homeslider-desc .h2 {
margin-bottom: 10px;
}
.an_homeslider.an_homeslider-responsive .an_homeslider-desc>.container {
padding: 15px;
}
.an_homeslider.an_homeslider-responsive .owl-dots {
bottom: 5px;
}
.an_homeslider-responsive .an_homeslider-desc .btn-primary {
display: none;
}
/*
.an_homeslider.owl-carousel.owl-drag.an_homeslider-responsive .owl-item .an_homeslider-item img {
width: auto!important;
height: 330px;
}
*/
}
@media (max-width: 767px) {
.an_homeslider .owl-prev i,
.an_homeslider .owl-next i {
font-size: 40px;
}
.an_homeslider-hide-mobile {
display: none!important;
}
.an_homeslider-hide-mobile-content .an_homeslider-desc p,
.an_homeslider-hide-mobile-content .an_homeslider-desc .btn-primary {
display: none!important;
}
.an_homeslider .an_homeslider-desc p {
max-width: 100%;
margin-bottom: 30px;
}
}
@media (max-width: 580px) {
.an_homeslider-responsive.an_homeslider-block .owl-nav {
display: none;
}
.an_homeslider-responsive .an_homeslider-desc .h2 {
margin-bottom: 10px;
}
.an_homeslider .owl-prev {
left: 0px;
}
.an_homeslider .owl-next {
right: 0px;
}
.an_homeslider .an_homeslider-desc>.container {
padding: 0 30px;
}
}

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="margin: auto; background-image: none; display: block; shape-rendering: auto; animation-play-state: running; animation-delay: 0s; background-position: initial initial; background-repeat: initial initial;" width="254px" height="254px" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"><path fill="none" stroke="#1d0e0b" stroke-width="3" stroke-dasharray="42.76482137044271 42.76482137044271" d="M24.3 30C11.4 30 5 43.3 5 50s6.4 20 19.3 20c19.3 0 32.1-40 51.4-40 C88.6 30 95 43.3 95 50s-6.4 20-19.3 20C56.4 70 43.6 30 24.3 30z" stroke-linecap="round" style="transform: scale(0.22); transform-origin: 50px 50px; animation-play-state: running; animation-delay: 0s;"> <animate attributeName="stroke-dashoffset" repeatCount="indefinite" dur="1s" keyTimes="0;1" values="0;256.58892822265625" style="animation-play-state: running; animation-delay: 0s;"></animate></path></svg>

After

Width:  |  Height:  |  Size: 960 B

View File

@@ -0,0 +1,45 @@
/**
* 2022 Anvanto
*
* NOTICE OF LICENSE
*
* This file is not open source! Each license that you purchased is only available for 1 wesite only.
* If you want to use this file on more websites (or projects), you need to purchase additional licenses.
* You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
*
* @author Anvanto <anvantoco@gmail.com>
* @copyright 2022 Anvanto
* @license Valid for 1 website (or project) for each purchase of license
* International Registered Trademark & Property of Anvanto
*/
(function ($, window, undefined) {
'use strict';
$(document).ready(function(){
$('.an_homeslider').addClass('owl-carousel');
$('.an_homeslider').each(function(i, val) {
var anhs_id = '#'+$(this).attr('id');
$(anhs_id).owlCarouselAnBS({
items: 1,
loop: $(anhs_id).data('loop'),
nav: $(anhs_id).data('nav'),
autoplay: $(anhs_id).data('autoplay'),
navText: ['<i class="material-icons">&#xE314;</i>','<i class="material-icons">&#xE315;</i>'],
autoplayTimeout: $(anhs_id).data('autoplaytimeout'),
smartSpeed: $(anhs_id).data('smartspeed'),
dots: $(anhs_id).data('dots'),
dotsClass: 'owl-dots container',
lazyLoad: $(anhs_id).data('lazy'),
onInitialize: callFixAuto,
});
function callFixAuto() {
if ($(anhs_id).data('autoplay')) {
setTimeout(function(){$(anhs_id).addClass('slide-next');}, $(anhs_id).data('autoplaytimeout'));
}
}
$(this).parent('.an_homeslider-block').addClass('initialized');
});
});
})(jQuery, window);

View File

@@ -0,0 +1,129 @@
{*
* 2022 Anvanto
*
* NOTICE OF LICENSE
*
* This file is not open source! Each license that you purchased is only available for 1 wesite only.
* If you want to use this file on more websites (or projects), you need to purchase additional licenses.
* You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
*
* @author Anvanto <anvantoco@gmail.com>
* @copyright 2022 Anvanto
* @license Valid for 1 website (or project) for each purchase of license
* International Registered Trademark & Property of Anvanto
*}
{foreach from=$widget item=slider}
<div class="an_homeslider-block {if $slider.responsive_image}an_homeslider-responsive{/if} {if $slider.show_on == '1'}an_homeslider-hide-mobile{/if} {if $slider.show_on == '2'}an_homeslider-hide-desktop{/if} {if $slider.show_content_on == '1'}an_homeslider-hide-mobile-content{/if} {if $slider.show_content_on == '2'}an_homeslider-hide-desktop-content{/if}">
<div class="an_homeslider {if $slider.responsive_image}an_homeslider-responsive{/if}" id="an_homeslider_{$slider.id_slider}" data-lazy="{$slider.lazy_load}" data-nav="{$slider.nav}" data-dots="{$slider.dots}" data-loop="{$slider.loop}" data-autoplay="{$slider.autoplay}" data-autoplaytimeout="{$slider.autoplay_timeout}" data-smartspeed="{$slider.smartspeed}">
{foreach from=$slider.slides item=slide}
{if $slide.link != ''}
<a href="{$slide.link}" class="an_homeslider-item {if $slide.image == ''}an_homeslider-item-noimg{/if}">
{else}
<div class="an_homeslider-item {if $slide.image == ''}an_homeslider-item-noimg{/if}">
{/if}
{if $slide.image != ''}
<img
{if $slider.lazy_load}
class="owl-lazy" data-src="{$slide.image}"
{else}
src="{$slide.image}"
{/if}
width="{$slide.width|intval}" height="{$slide.height|intval}" alt="{$slide.title|escape:'htmlall':'UTF-8'} image"
>
{/if}
{if ($slide.title != '') or ($slide.text != '') or $slide.show_button}
<div class="an_homeslider-desc">
<div class="container">
{if $slide.title}
<div class="h2">{$slide.title|escape:'htmlall':'UTF-8'}</div>
{/if}
{$slide.text nofilter}
{if ($slide.show_button == 1) and ($slide.text_of_button != '')}
<button class="btn btn-primary">{$slide.text_of_button}</button>
{/if}
</div>
</div>
{/if}
{if $slide.link != ''}
</a>
{else}
</div>
{/if}
{/foreach}
</div>
{if $slider.preloader}
<div class="an_homeslider-loader">
<div class="an_homeslider-loader-image"></div>
</div>
<style>
{if $slider.preloader_height_1920}
.an_homeslider-block:not(.initialized),
.an_homeslider-loader {
height: {$slider.preloader_height_1920}px;
}
{/if}
{if $slider.preloader_height_1600}
@media (max-width: 1600px) {
.an_homeslider-block:not(.initialized),
.an_homeslider-loader {
height: {$slider.preloader_height_1600}px;
}
}
{/if}
{if $slider.preloader_height_1366}
@media (max-width: 1366px) {
.an_homeslider-block:not(.initialized),
.an_homeslider-loader {
height: {$slider.preloader_height_1366}px;
}
}
{/if}
{if $slider.preloader_height_991}
@media (max-width: 991px) {
.an_homeslider-block:not(.initialized),
.an_homeslider-loader {
height: {$slider.preloader_height_991}px;
}
}
{/if}
{if $slider.preloader_height_767}
@media (max-width: 767px) {
.an_homeslider-block:not(.initialized),
.an_homeslider-loader {
height: {$slider.preloader_height_767}px;
}
}
{/if}
{if $slider.preloader_mobile_height_580}
@media (max-width: 580px) {
.an_homeslider-block:not(.initialized),
.an_homeslider-loader {
height: {$slider.preloader_mobile_height_580}px;
}
}
{/if}
{if $slider.preloader_mobile_height_440}
@media (max-width: 440px) {
.an_homeslider-block:not(.initialized),
.an_homeslider-loader {
height: {$slider.preloader_mobile_height_440}px;
}
}
{/if}
{if $slider.preloader_mobile_height_320}
@media (max-width: 320px) {
.an_homeslider-block:not(.initialized),
.an_homeslider-loader {
height: {$slider.preloader_mobile_height_320}px;
}
}
{/if}
</style>
{/if}
</div>
{/foreach}