Version Description
- Added: Pieces Widget Added
- Added: Arrows padding, margin option added in Isolate Widget
- Added: Pagination typography option added in Flexure Widget
- Added: Background Image Custom Size Option added in Astoria, Blog, Dragon, Event Calendar, Flexure, Flogia, Fluent, General, Mount, Pagepiling, Paranoia, Reveal, Storker, Woocommerce, Woostand, Wooexpand Widgets
Download this release
Release Info
Developer | bdthemes |
Plugin | Prime Slider – Addons For Elementor (Revolution of a slider, Hero Slider, Media Slider, Drag Drop Slider, Video Slider, Product Slider, Ecommerce Slider) |
Version | 2.8.0 |
Comparing to | |
See all releases |
Code changes from version 2.7.1 to 2.8.0
- assets/css/prime-slider-font.css +1 -1
- assets/css/prime-slider-font.rtl.css +1 -1
- assets/css/ps-isolate.css +1 -1
- assets/css/ps-isolate.rtl.css +1 -1
- assets/css/ps-paranoia.css +1 -1
- assets/css/ps-paranoia.rtl.css +1 -1
- assets/css/ps-pieces.css +1 -0
- assets/css/ps-pieces.rtl.css +1 -0
- assets/fonts/prime-slider-font.svg +4 -0
- assets/fonts/prime-slider-font.ttf +0 -0
- assets/fonts/prime-slider-font.woff +0 -0
- assets/fonts/prime-slider-font.woff2 +0 -0
- assets/js/widgets/ps-pieces.js +337 -0
- assets/js/widgets/ps-pieces.min.js +1 -0
- assets/vendor/js/pieces.js +877 -0
- assets/vendor/js/pieces.min.js +1 -0
- bdthemes-prime-slider.php +3 -3
- changelog.txt +9 -0
- includes/admin-settings.php +12 -0
- includes/modules-manager.php +6 -0
- includes/prime-slider-filters.php +12 -0
- loader.php +382 -296
- modules/blog/widgets/blog.php +8 -93
- modules/dragon/widgets/dragon.php +6 -109
- modules/flogia/widgets/flogia.php +2 -108
- modules/general/widgets/general.php +9 -92
- modules/isolate/widgets/isolate.php +52 -5
- modules/mount/widgets/mount.php +31 -110
- modules/multiscroll/widgets/multiscroll.php +1 -1
- modules/pacific/widgets/pacific.php +13 -3
- modules/pagepiling/widgets/pagepiling.php +6 -109
- modules/paranoia/widgets/paranoia.php +7 -109
- modules/pieces/module.info.php +10 -0
- modules/pieces/module.php +21 -0
- modules/pieces/widgets/pieces.php +685 -0
- modules/reveal/widgets/reveal.php +6 -108
- modules/storker/widgets/storker.php +2 -108
- modules/woocommerce/widgets/woocommerce.php +2 -108
- readme.txt +77 -23
- traits/global-widget-controls.php +149 -0
assets/css/prime-slider-font.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
@font-face{font-family:'prime-slider-font';src:url('../fonts/prime-slider-font.woff2?
|
1 |
+
@font-face{font-family:'prime-slider-font';src:url('../fonts/prime-slider-font.woff2?7mjjdh') format('woff2'),url('../fonts/prime-slider-font.ttf?7mjjdh') format('truetype'),url('../fonts/prime-slider-font.woff?7mjjdh') format('woff'),url('../fonts/prime-slider-font.svg?7mjjdh#prime-slider-font') format('svg');font-weight:normal;font-style:normal;font-display:block}[class^="ps-wi-"],[class*=" ps-wi-"]{font-family:'prime-slider-font' !important;speak:never;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ps-wi-arrow-left-0:before{content:"\e96b"}.ps-wi-arrow-right-0:before{content:"\e96c"}.ps-wi-arrow-left-1:before{content:"\e919"}.ps-wi-arrow-right-1:before{content:"\e925"}.ps-wi-arrow-left-2:before{content:"\e91a"}.ps-wi-arrow-right-2:before{content:"\e926"}.ps-wi-arrow-left-3:before{content:"\e91b"}.ps-wi-arrow-right-3:before{content:"\e927"}.ps-wi-arrow-left-4:before{content:"\e91c"}.ps-wi-arrow-right-4:before{content:"\e928"}.ps-wi-arrow-left-5:before{content:"\e943"}.ps-wi-arrow-right-5:before{content:"\e944"}.ps-wi-arrow-left-6:before{content:"\e945"}.ps-wi-arrow-right-6:before{content:"\e946"}.ps-wi-arrow-left-7:before{content:"\e949"}.ps-wi-arrow-right-7:before{content:"\e94a"}.ps-wi-arrow-left-8:before{content:"\e91e"}.ps-wi-arrow-right-8:before{content:"\e92c"}.ps-wi-arrow-left-9:before{content:"\e91f"}.ps-wi-arrow-right-9:before{content:"\e92d"}.ps-wi-arrow-left-10:before{content:"\e920"}.ps-wi-arrow-right-10:before{content:"\e92e"}.ps-wi-arrow-left-11:before{content:"\e921"}.ps-wi-arrow-right-11:before{content:"\e92f"}.ps-wi-arrow-left-12:before{content:"\e94b"}.ps-wi-arrow-right-12:before{content:"\e94c"}.ps-wi-arrow-left-13:before{content:"\e922"}.ps-wi-arrow-right-13:before{content:"\e930"}.ps-wi-arrow-left-14:before{content:"\e91d"}.ps-wi-arrow-right-14:before{content:"\e92b"}.ps-wi-arrow-left-15:before{content:"\e923"}.ps-wi-arrow-right-15:before{content:"\e931"}.ps-wi-arrow-left-16:before{content:"\e924"}.ps-wi-arrow-right-16:before{content:"\e932"}.ps-wi-arrow-left-17:before{content:"\e929"}.ps-wi-arrow-right-17:before{content:"\e92a"}.ps-wi-arrow-left-18:before{content:"\e933"}.ps-wi-arrow-right-18:before{content:"\e934"}.ps-wi-arrow-up-1:before{content:"\e935"}.ps-wi-arrow-down-1:before{content:"\e936"}.ps-wi-arrow-up-2:before{content:"\e937"}.ps-wi-arrow-down-2:before{content:"\e938"}.ps-wi-arrow-up-3:before{content:"\e939"}.ps-wi-arrow-down-3:before{content:"\e93a"}.ps-wi-arrow-up-4:before{content:"\e93b"}.ps-wi-arrow-down-4:before{content:"\e93c"}.ps-wi-arrow-up-5:before{content:"\e93d"}.ps-wi-arrow-down-5:before{content:"\e93e"}.ps-wi-arrow-up-7:before{content:"\e93f"}.ps-wi-arrow-down-7:before{content:"\e940"}.ps-wi-arrow-up-8:before{content:"\e941"}.ps-wi-arrow-down-8:before{content:"\e947"}.ps-wi-arrow-left-circle-1:before{content:"\e942"}.ps-wi-arrow-right-circle-1:before{content:"\e948"}.ps-wi-arrow-left-circle-2:before{content:"\e94d"}.ps-wi-arrow-right-circle-2:before{content:"\e94e"}.ps-wi-arrow-left-circle-3:before{content:"\e94f"}.ps-wi-arrow-right-circle-3:before{content:"\e950"}.ps-wi-arrow-left-circle-4:before{content:"\e951"}.ps-wi-arrow-right-circle-4:before{content:"\e952"}.ps-wi-arrow-left-square-1:before{content:"\e953"}.ps-wi-arrow-right-square-1:before{content:"\e954"}.ps-wi-pieces:before{content:"\e96d"}.ps-wi-rasher:before{content:"\e972"}.ps-wi-foxico-slider:before{content:"\e968"}.ps-wi-woocircle:before{content:"\e969"}.ps-wi-diagonal:before{content:"\e96a"}.ps-wi-reveal:before{content:"\e967"}.ps-wi-pacific:before{content:"\e963"}.ps-wi-mash:before{content:"\e964"}.ps-wi-nixon:before{content:"\e965"}.ps-wi-paranoia:before{content:"\e966"}.ps-wi-crossroad:before{content:"\e960"}.ps-wi-rubix:before{content:"\e961"}.ps-wi-matrix:before{content:"\e962"}.ps-wi-astoria:before{content:"\e95f"}.ps-wi-vertex:before{content:"\e95e"}.ps-wi-mercury:before{content:"\e956"}.ps-wi-marble:before{content:"\e957"}.ps-wi-fiestar:before{content:"\e958"}.ps-wi-wooexpand:before{content:"\e959"}.ps-wi-knily1:before{content:"\e95a"}.ps-wi-storker1:before{content:"\e95b"}.ps-wi-knily:before{content:"\e95c"}.ps-wi-storker:before{content:"\e95d"}.ps-wi-prime-slider:before{content:"\e915"}.ps-wi-woolamp:before{content:"\e955"}.ps-wi-mount:before{content:"\e916"}.ps-wi-flexure:before{content:"\e917"}.ps-wi-monster:before{content:"\e918"}.ps-wi-sequester:before{content:"\e914"}.ps-wi-pagepiling:before{content:"\e913"}.ps-wi-dragon:before{content:"\e912"}.ps-wi-fluent:before{content:"\e911"}.ps-wi-event-calendar:before{content:"\e910"}.ps-wi-multiscroll:before{content:"\e90f"}.ps-wi-woostand:before{content:"\e90d"}.ps-wi-flogia:before{content:"\e90c"}.ps-wi-custom:before{content:"\e90b"}.ps-wi-isolate:before{content:"\e908"}.ps-wi-isolate_skin_locate:before{content:"\e909"}.ps-wi-isolate_skin_slice:before{content:"\e90a"}.ps-wi-woocommerce:before{content:"\e90e"}.ps-wi-blog:before{content:"\e900"}.ps-wi-blog_skin_coral:before{content:"\e901"}.ps-wi-blog_skin_folio:before{content:"\e902"}.ps-wi-blog_skin_zinest:before{content:"\e903"}.ps-wi-general:before{content:"\e904"}.ps-wi-general_skin_crelly:before{content:"\e905"}.ps-wi-general_skin_meteor:before{content:"\e906"}.ps-wi-general_skin_slide:before{content:"\e907"}.ps-wi-tutorial:before{content:"\e992"}.ps-wi-preview:before{content:"\ea75"}
|
assets/css/prime-slider-font.rtl.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
@font-face{font-family:'prime-slider-font';src:url('../fonts/prime-slider-font.woff2?
|
1 |
+
@font-face{font-family:'prime-slider-font';src:url('../fonts/prime-slider-font.woff2?7mjjdh') format('woff2'),url('../fonts/prime-slider-font.ttf?7mjjdh') format('truetype'),url('../fonts/prime-slider-font.woff?7mjjdh') format('woff'),url('../fonts/prime-slider-font.svg?7mjjdh#prime-slider-font') format('svg');font-weight:normal;font-style:normal;font-display:block}[class^="ps-wi-"],[class*=" ps-wi-"]{font-family:'prime-slider-font' !important;speak:never;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ps-wi-arrow-left-0:before{content:"\e96b"}.ps-wi-arrow-right-0:before{content:"\e96c"}.ps-wi-arrow-left-1:before{content:"\e919"}.ps-wi-arrow-right-1:before{content:"\e925"}.ps-wi-arrow-left-2:before{content:"\e91a"}.ps-wi-arrow-right-2:before{content:"\e926"}.ps-wi-arrow-left-3:before{content:"\e91b"}.ps-wi-arrow-right-3:before{content:"\e927"}.ps-wi-arrow-left-4:before{content:"\e91c"}.ps-wi-arrow-right-4:before{content:"\e928"}.ps-wi-arrow-left-5:before{content:"\e943"}.ps-wi-arrow-right-5:before{content:"\e944"}.ps-wi-arrow-left-6:before{content:"\e945"}.ps-wi-arrow-right-6:before{content:"\e946"}.ps-wi-arrow-left-7:before{content:"\e949"}.ps-wi-arrow-right-7:before{content:"\e94a"}.ps-wi-arrow-left-8:before{content:"\e91e"}.ps-wi-arrow-right-8:before{content:"\e92c"}.ps-wi-arrow-left-9:before{content:"\e91f"}.ps-wi-arrow-right-9:before{content:"\e92d"}.ps-wi-arrow-left-10:before{content:"\e920"}.ps-wi-arrow-right-10:before{content:"\e92e"}.ps-wi-arrow-left-11:before{content:"\e921"}.ps-wi-arrow-right-11:before{content:"\e92f"}.ps-wi-arrow-left-12:before{content:"\e94b"}.ps-wi-arrow-right-12:before{content:"\e94c"}.ps-wi-arrow-left-13:before{content:"\e922"}.ps-wi-arrow-right-13:before{content:"\e930"}.ps-wi-arrow-left-14:before{content:"\e91d"}.ps-wi-arrow-right-14:before{content:"\e92b"}.ps-wi-arrow-left-15:before{content:"\e923"}.ps-wi-arrow-right-15:before{content:"\e931"}.ps-wi-arrow-left-16:before{content:"\e924"}.ps-wi-arrow-right-16:before{content:"\e932"}.ps-wi-arrow-left-17:before{content:"\e929"}.ps-wi-arrow-right-17:before{content:"\e92a"}.ps-wi-arrow-left-18:before{content:"\e933"}.ps-wi-arrow-right-18:before{content:"\e934"}.ps-wi-arrow-up-1:before{content:"\e935"}.ps-wi-arrow-down-1:before{content:"\e936"}.ps-wi-arrow-up-2:before{content:"\e937"}.ps-wi-arrow-down-2:before{content:"\e938"}.ps-wi-arrow-up-3:before{content:"\e939"}.ps-wi-arrow-down-3:before{content:"\e93a"}.ps-wi-arrow-up-4:before{content:"\e93b"}.ps-wi-arrow-down-4:before{content:"\e93c"}.ps-wi-arrow-up-5:before{content:"\e93d"}.ps-wi-arrow-down-5:before{content:"\e93e"}.ps-wi-arrow-up-7:before{content:"\e93f"}.ps-wi-arrow-down-7:before{content:"\e940"}.ps-wi-arrow-up-8:before{content:"\e941"}.ps-wi-arrow-down-8:before{content:"\e947"}.ps-wi-arrow-left-circle-1:before{content:"\e942"}.ps-wi-arrow-right-circle-1:before{content:"\e948"}.ps-wi-arrow-left-circle-2:before{content:"\e94d"}.ps-wi-arrow-right-circle-2:before{content:"\e94e"}.ps-wi-arrow-left-circle-3:before{content:"\e94f"}.ps-wi-arrow-right-circle-3:before{content:"\e950"}.ps-wi-arrow-left-circle-4:before{content:"\e951"}.ps-wi-arrow-right-circle-4:before{content:"\e952"}.ps-wi-arrow-left-square-1:before{content:"\e953"}.ps-wi-arrow-right-square-1:before{content:"\e954"}.ps-wi-pieces:before{content:"\e96d"}.ps-wi-rasher:before{content:"\e972"}.ps-wi-foxico-slider:before{content:"\e968"}.ps-wi-woocircle:before{content:"\e969"}.ps-wi-diagonal:before{content:"\e96a"}.ps-wi-reveal:before{content:"\e967"}.ps-wi-pacific:before{content:"\e963"}.ps-wi-mash:before{content:"\e964"}.ps-wi-nixon:before{content:"\e965"}.ps-wi-paranoia:before{content:"\e966"}.ps-wi-crossroad:before{content:"\e960"}.ps-wi-rubix:before{content:"\e961"}.ps-wi-matrix:before{content:"\e962"}.ps-wi-astoria:before{content:"\e95f"}.ps-wi-vertex:before{content:"\e95e"}.ps-wi-mercury:before{content:"\e956"}.ps-wi-marble:before{content:"\e957"}.ps-wi-fiestar:before{content:"\e958"}.ps-wi-wooexpand:before{content:"\e959"}.ps-wi-knily1:before{content:"\e95a"}.ps-wi-storker1:before{content:"\e95b"}.ps-wi-knily:before{content:"\e95c"}.ps-wi-storker:before{content:"\e95d"}.ps-wi-prime-slider:before{content:"\e915"}.ps-wi-woolamp:before{content:"\e955"}.ps-wi-mount:before{content:"\e916"}.ps-wi-flexure:before{content:"\e917"}.ps-wi-monster:before{content:"\e918"}.ps-wi-sequester:before{content:"\e914"}.ps-wi-pagepiling:before{content:"\e913"}.ps-wi-dragon:before{content:"\e912"}.ps-wi-fluent:before{content:"\e911"}.ps-wi-event-calendar:before{content:"\e910"}.ps-wi-multiscroll:before{content:"\e90f"}.ps-wi-woostand:before{content:"\e90d"}.ps-wi-flogia:before{content:"\e90c"}.ps-wi-custom:before{content:"\e90b"}.ps-wi-isolate:before{content:"\e908"}.ps-wi-isolate_skin_locate:before{content:"\e909"}.ps-wi-isolate_skin_slice:before{content:"\e90a"}.ps-wi-woocommerce:before{content:"\e90e"}.ps-wi-blog:before{content:"\e900"}.ps-wi-blog_skin_coral:before{content:"\e901"}.ps-wi-blog_skin_folio:before{content:"\e902"}.ps-wi-blog_skin_zinest:before{content:"\e903"}.ps-wi-general:before{content:"\e904"}.ps-wi-general_skin_crelly:before{content:"\e905"}.ps-wi-general_skin_meteor:before{content:"\e906"}.ps-wi-general_skin_slide:before{content:"\e907"}.ps-wi-tutorial:before{content:"\e992"}.ps-wi-preview:before{content:"\ea75"}
|
assets/css/ps-isolate.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.bdt-prime-header-skin-locate .bdt-header-inner .bdt-prime-slider-logo .bdt-logo-inner{color:#fff}.bdt-prime-slider-skin-locate{position:relative}.bdt-prime-slider-skin-locate:before{content:'';position:absolute;width:48%;height:100%;background:#32374B;top:0;left:0}.bdt-prime-slider-skin-locate .bdt-slideshow-content-wrapper{position:absolute;top:50%;transform:translateY(-50%);left:10px}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc{position:relative;width:95%;padding:20px 20px 40px;background:#fff}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc .bdt-title-tag{font-size:28px;font-weight:700;color:#32374B;margin:0;padding-bottom:15px}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc h4{margin:0;font-size:14px;padding-bottom:8px;font-weight:500;color:rgba(50,55,75,0.3)}.bdt-prime-slider-skin-locate .bdt-slider-excerpt{padding-bottom:30px;color:#999;font-size:13px;max-width:400px}.bdt-prime-slider-skin-locate .bdt-slider-excerpt p{margin:0}.bdt-prime-slider-skin-locate .bdt-slide-btn{font-size:12px;font-weight:700;padding:8px 20px;position:relative;color:#fff;border:2px solid transparent;border-radius:60px;outline:none;background:#32374B;text-transform:uppercase;transition:all .3s ease}.bdt-prime-slider-skin-locate .bdt-slide-btn:hover{background-color:transparent;border-color:#32374B;color:#32374B}.bdt-prime-slider-skin-locate .bdt-slide-btn:hover .bdt-slide-btn-icon svg{transform:scale(1.1) translateX(5px)}.bdt-prime-slider-skin-locate .bdt-slide-btn:hover .bdt-slide-btn-icon svg *{stroke:#000}.bdt-prime-slider-skin-locate .bdt-slide-btn .bdt-slide-btn-icon{margin-left:15px}.bdt-prime-slider-skin-locate .bdt-slide-btn .bdt-slide-btn-icon svg{transition:all .3s ease}.bdt-prime-slider-skin-locate .bdt-slide-btn .bdt-slide-btn-icon svg *{stroke:#fff;transition:stroke .3s ease}.bdt-prime-slider-skin-locate .bdt-slideshow-item{margin:110px 30px 100px}.bdt-prime-slider-skin-locate .bdt-prime-slider-social-icon{position:absolute;top:50%;left:30px;z-index:999;transform:translateY(-50%);display:none}.bdt-prime-slider-skin-locate .bdt-prime-slider-social-icon a{display:flex;font-size:12px;padding:10px;margin:12px 0;background:rgba(255,255,255,0.1);border-radius:60px}.bdt-prime-slider-skin-locate .bdt-prime-slider-social-icon i,.bdt-prime-slider-skin-locate .bdt-prime-slider-social-icon svg{width:1em;height:1em;color:#fff}.bdt-prime-slider-skin-locate .bdt-scroll-down-wrapper{position:absolute;left:10%;bottom:35px;cursor:pointer}.bdt-prime-slider-skin-locate .bdt-scroll-down-wrapper .bdt-scroll-icon{display:flex;padding:2px;border:1px solid #ddd;border-radius:60px;animation:bounce 3s infinite;color:#777d96}@keyframes bounce{0%,20%,50%,80%,100%{transform:translateY(0)}40%{transform:translateY(-20px)}60%{transform:translateY(-10px)}}@keyframes shadow-pulse{0%{box-shadow:0 0 0 0 rgba(0,0,0,0.1)}100%{box-shadow:0 0 0 35px rgba(0,0,0,0)}}.bdt-prime-slider-skin-locate .bdt-ps-dotnav{bottom:32px;right:30px;margin:0}.bdt-prime-slider-skin-locate .bdt-ps-dotnav li{position:absolute;left:-40px;bottom:-2px;transition:opacity 400ms ease-out}.bdt-prime-slider-skin-locate .bdt-ps-dotnav li a{font-size:19px;color:#32374b}.bdt-prime-slider-skin-locate .bdt-ps-dotnav li:not(.bdt-active){opacity:0;display:none}.bdt-prime-slider-skin-locate .bdt-ps-dotnav span{color:#777d96}.bdt-prime-slider-skin-locate .bdt-ps-dotnav span:before{content:'';position:absolute;height:17px;width:2px;left:-12px;background:#777d96;bottom:3px;transform:rotate(15deg)}.bdt-prime-slider-skin-locate .bdt-navigation-arrows{position:absolute;bottom:35px;left:30%}.bdt-prime-slider-skin-locate .bdt-prime-slider-next,.bdt-prime-slider-skin-locate .bdt-prime-slider-previous{display:inline-flex;align-items:center;font-size:15px;color:#777d96;outline:none;padding:0;margin:0 2px;transition:color .3s ease}.bdt-prime-slider-skin-locate .bdt-prime-slider-next:hover,.bdt-prime-slider-skin-locate .bdt-prime-slider-previous:hover{color:#32374B}.bdt-prime-slider-skin-locate .bdt-prime-slider-next i,.bdt-prime-slider-skin-locate .bdt-prime-slider-previous i{transition:all .3s ease-out}.bdt-prime-slider-skin-locate .bdt-prime-slider-next span,.bdt-prime-slider-skin-locate .bdt-prime-slider-previous span{margin:0 10px}.bdt-prime-slider-skin-locate .bdt-prime-slider-next:hover i{transform:scale(1.2) translateX(2px)}.bdt-prime-slider-skin-locate .bdt-prime-slider-previous:hover i{transform:scale(1.2) translateX(-2px)}.bdt-prime-slider-skin-locate .bdt-slideshow-item.bdt-active .bdt-slide-overlay:before{content:'';width:0;position:absolute;height:100%;background-color:#fff;animation-name:skin-clump;animation-duration:1s;transition-timing-function:cubic-bezier(.15, .82, .54, .99);right:0;top:0;z-index:10}@keyframes skin-clump{0%{width:100%}100%{width:0}}@media (min-width:640px){.bdt-prime-slider-skin-locate:before{width:25%}.bdt-prime-slider-skin-locate .bdt-ps-dotnav li{left:-65px;bottom:-11px}.bdt-prime-slider-skin-locate .bdt-ps-dotnav li a{font-size:40px}.bdt-prime-slider-skin-locate .bdt-slideshow-item.bdt-flex-column{flex-direction:inherit}.bdt-prime-slider-skin-locate .bdt-slideshow-item{margin:110px 30px 100px 90px}.bdt-prime-slider-skin-locate .bdt-slideshow-content-wrapper{position:relative;transform:translateY(0);left:0}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc{width:100%;padding-left:50px;background:transparent !important}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc .bdt-title-tag{font-size:32px}.bdt-prime-slider-skin-locate .bdt-slider-excerpt{padding-bottom:40px;font-size:14px}.bdt-prime-slider-skin-locate .bdt-scroll-down-wrapper{left:60%}.bdt-prime-slider-skin-locate .bdt-prime-slider-social-icon{display:inherit}.bdt-prime-slider-skin-locate .bdt-scroll-down-wrapper .bdt-scroll-icon{padding:6px}}@media (min-width:768px){.bdt-prime-slider-skin-locate .bdt-prime-slider-desc .bdt-title-tag{font-size:42px}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc h4{font-size:18px;padding-bottom:10px}.bdt-prime-slider-skin-locate .bdt-slide-btn{font-size:14px;padding:12px 30px}}@media (min-width:1024px){.bdt-prime-header-skin-locate .bdt-prime-slider-container{padding:0 100px}.bdt-prime-slider-skin-locate .bdt-slideshow-item{margin:110px 100px 100px 200px}.bdt-prime-slider-skin-locate .bdt-ps-dotnav{right:100px}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc .bdt-title-tag{font-size:48px;padding-bottom:20px}.bdt-prime-slider-skin-locate .bdt-prime-slider-social-icon{left:100px}}@media (min-width:1200px){.bdt-prime-slider-skin-locate .bdt-prime-slider-desc{padding-left:100px}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc .bdt-title-tag{font-size:60px}}@media (min-width:1440px){.bdt-prime-slider-skin-locate .bdt-prime-slider-desc .bdt-title-tag{font-size:80px;padding-bottom:30px}}.bdt-prime-header-skin-slice .bdt-header-inner .bdt-prime-slider-navbar{display:flex;align-items:center}.bdt-prime-header-skin-slice .bdt-header-inner .bdt-navbar-nav>li{margin-right:30px;padding-right:35px}.bdt-prime-header-skin-slice .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button{transition:all .3s ease}.bdt-prime-header-skin-slice .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button:hover{color:#fe506c}.bdt-prime-header-skin-slice .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button .bdt-offcanvas-button-icon{color:#fff;font-size:16px;display:flex}@media (min-width:960px){.bdt-header-wrapper .bdt-header-inner .bdt-navbar-nav{display:inherit !important}}.bdt-prime-slider-skin-slice{position:relative;background:#545760}.bdt-prime-slider-skin-slice:before{content:'';position:absolute;width:35%;height:100%;background:#464952;top:0;left:50%;transform:translateX(-50%)}.bdt-prime-slider-skin-slice:after{content:'';position:absolute;width:33%;height:100%;background:#fc6a2a;top:0;right:0}.bdt-prime-slider-skin-slice .bdt-slideshow{z-index:1}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc{width:100%}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-main-title{padding-top:100px}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-main-title .bdt-title-tag{margin-left:80px}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-title-tag,.bdt-prime-slider-skin-slice .bdt-prime-slider-desc h4{font-size:32px;font-weight:100;color:#fff;margin:0;margin-left:50px;line-height:1.2}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-title-tag .frist-word,.bdt-prime-slider-skin-slice .bdt-prime-slider-desc h4 .frist-word{font-weight:700}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area{background:#fff;padding:15px 10px 0 20px;position:relative;width:100%;margin-bottom:40px;margin-left:-2px}.bdt-prime-slider-skin-slice .bdt-slider-excerpt{color:#666;font-size:13px;line-height:20px;max-height:80px;overflow:hidden}.bdt-prime-slider-skin-slice .bdt-slider-excerpt p{margin:0}.bdt-prime-slider-skin-slice .bdt-skin-slide-btn{padding-top:18px;margin-bottom:-10px;display:inline-block;transform:translateY(10px)}.bdt-prime-slider-skin-slice .bdt-slide-btn{font-size:13px;font-weight:700;padding:9px 28px;position:relative;color:#fff;transition:all .3s ease;outline:none;cursor:pointer;background:linear-gradient(to right, #fe506c 0, #fc6a2a 100%)}.bdt-prime-slider-skin-slice .bdt-slide-btn:hover{background:linear-gradient(to left, #fe506c 0, #fc6a2a 100%)}.bdt-prime-slider-skin-slice .bdt-slide-btn:hover .bdt-slide-btn-icon svg{transform:scale(1.1) translateX(5px)}.bdt-prime-slider-skin-slice .bdt-slide-btn .bdt-slide-btn-icon{margin-left:5px}.bdt-prime-slider-skin-slice .bdt-slide-btn .bdt-slide-btn-icon svg{transition:all .3s ease}.bdt-prime-slider-skin-slice .bdt-slide-btn .bdt-slide-btn-icon svg *{stroke:#fff;transition:stroke .3s ease}.bdt-prime-slider-skin-slice .bdt-slideshow-item .bdt-slide-overlay{margin-right:0}.bdt-prime-slider-skin-slice .bdt-slide-play-button{right:40px;bottom:40px}.bdt-prime-slider-skin-slice .bdt-slide-play-button .slice-play-btn:not(.bdt-active){opacity:0;display:none}.bdt-prime-slider-skin-slice .bdt-slide-play-button a{padding:20px;background:#fff;border:3px solid #fc6a2a;border-radius:80px;color:#000;outline:none;display:inline-flex;animation:shadow-pulse 2s infinite}.bdt-prime-slider-skin-slice .bdt-slide-play-button a svg{width:16px;height:16px;transition:transform .3s ease}.bdt-prime-slider-skin-slice .bdt-slide-play-button a:hover svg{transform:scale(1.2)}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area .bdt-slide-nav-arrows{transition:opacity 400ms ease-out}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area .bdt-slide-nav-arrows:not(.bdt-active){opacity:0;display:none}.bdt-prime-slider-skin-slice .bdt-slide-thumbnav-img{position:relative;overflow:hidden;width:150px;margin-bottom:20px;box-shadow:inset 0 0 20px rgba(0,0,0,0.1)}.bdt-prime-slider-skin-slice .bdt-slide-thumbnav-img li{transition:opacity 400ms ease-out}.bdt-prime-slider-skin-slice .bdt-slide-thumbnav-img li *{min-height:100%;min-width:100%}.bdt-prime-slider-skin-slice .bdt-slide-thumbnav-img li:not(.bdt-active){opacity:0;display:none}.bdt-prime-slider-skin-slice .bdt-slide-thumbnav-img img{position:absolute}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon{position:absolute;top:50%;right:0;z-index:1;transform:translateY(-50%);background:#fff;display:none}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon a{display:flex;font-size:16px;padding:18px;position:relative}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon a:before{content:'';position:absolute;height:2px;width:16px;background:#ddd;bottom:0}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon a:nth-last-child(1):before{display:none}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon a:hover i,.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon a:hover svg{color:#fe506c}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon i,.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon svg{width:1em;height:1em;color:#000;transition:color .3s ease}@keyframes shadow-pulse{0%{box-shadow:0 0 0 0 rgba(0,0,0,0.1)}100%{box-shadow:0 0 0 35px rgba(0,0,0,0)}}.bdt-prime-slider-skin-slice .bdt-ps-dotnav{position:absolute;right:-120px;bottom:0;margin:0;display:none}.bdt-prime-slider-skin-slice .bdt-ps-dotnav li{position:absolute;left:-90px;bottom:-3px;transition:opacity 400ms ease-out}.bdt-prime-slider-skin-slice .bdt-ps-dotnav li a{font-size:20px;color:#fff}.bdt-prime-slider-skin-slice .bdt-ps-dotnav li:not(.bdt-active){opacity:0;display:none}.bdt-prime-slider-skin-slice .bdt-ps-dotnav span{color:#ddd}.bdt-prime-slider-skin-slice .bdt-ps-dotnav span:before{content:'';position:absolute;height:1px;width:65px;left:-64px;background:#ddd;bottom:11px}.bdt-prime-slider-skin-slice .bdt-slidenav{position:relative;display:flex}.bdt-prime-slider-skin-slice .bdt-navigation-arrows{position:absolute;right:-60px;top:0}.bdt-prime-slider-skin-slice .bdt-prime-slider-next{margin-left:0}.bdt-prime-slider-skin-slice .bdt-prime-slider-next:hover{background:#fc6a2a}.bdt-prime-slider-skin-slice .bdt-prime-slider-next:hover i{transform:scale(1.2) translateX(3px)}.bdt-prime-slider-skin-slice .bdt-prime-slider-previous{margin-left:0}.bdt-prime-slider-skin-slice .bdt-prime-slider-previous:hover{background:#fe506c}.bdt-prime-slider-skin-slice .bdt-prime-slider-previous:hover i{transform:scale(1.2) translateX(-3px)}.bdt-prime-slider-skin-slice .bdt-prime-slider-next,.bdt-prime-slider-skin-slice .bdt-prime-slider-previous{display:inline-flex;background:#545760;padding:18px 26px;transition:all .3s ease}.bdt-prime-slider-skin-slice .bdt-prime-slider-next i,.bdt-prime-slider-skin-slice .bdt-prime-slider-previous i{color:#fff;width:8px;transition:all .3s ease-out}.bdt-prime-slider-skin-slice .bdt-prime-slider-next:hover i,.bdt-prime-slider-skin-slice .bdt-prime-slider-previous:hover i{color:#fff}@media (min-width:640px){.bdt-prime-slider-skin-slice .bdt-prime-slider-desc{padding-bottom:0}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-title-tag,.bdt-prime-slider-skin-slice .bdt-prime-slider-desc h4{font-size:42px}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-main-title{padding-top:0;padding-bottom:130px}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area{padding:20px 10px 0 20px;margin-bottom:50px}.bdt-prime-slider-skin-slice .bdt-skin-slide-btn{padding-top:30px}.bdt-prime-slider-skin-slice .bdt-slide-btn{font-size:14px;padding:12px 30px}.bdt-prime-slider-skin-slice .bdt-slide-btn .bdt-slide-btn-icon{margin-left:15px}.bdt-prime-slider-skin-slice .bdt-slider-excerpt{font-size:14px;line-height:24px;max-height:170px}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon{display:inherit}.bdt-prime-slider-skin-slice .bdt-slideshow-item.bdt-flex-column,.bdt-prime-slider-skin-slice .bdt-flex-column.bdt-navigation-arrows{flex-direction:inherit}.bdt-prime-slider-skin-slice .bdt-ps-dotnav{display:inherit}.bdt-prime-slider-skin-slice .bdt-slidenav{display:inline-flex}.bdt-prime-slider-skin-slice .bdt-navigation-arrows{right:-120px}.bdt-prime-slider-skin-slice .bdt-prime-slider-next{margin-left:-4px}.bdt-prime-slider-skin-slice .bdt-prime-slider-previous{left:1px}.bdt-prime-slider-skin-slice .bdt-slideshow-item .bdt-slide-overlay{margin-right:100px}}@media (min-width:768px){.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-title-tag,.bdt-prime-slider-skin-slice .bdt-prime-slider-desc h4{font-size:55px}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area{padding:20px 30px 0}}@media (min-width:1024px){.bdt-prime-header-skin-slice .bdt-prime-slider-container{padding:0 50px}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-title-tag,.bdt-prime-slider-skin-slice .bdt-prime-slider-desc h4{font-size:60px}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-main-title{padding-bottom:210px}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area{padding:40px 30px 0 50px;margin-bottom:60px}.bdt-prime-slider-skin-slice .bdt-slider-excerpt{font-size:16px;line-height:24px}.bdt-prime-slider-skin-slice .bdt-skin-slide-btn{padding-top:40px}}@media (min-width:1440px){.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-title-tag,.bdt-prime-slider-skin-slice .bdt-prime-slider-desc h4{font-size:90px}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-main-title{padding-bottom:240px}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area{padding:60px 90px 0 50px;margin-bottom:110px}.bdt-prime-slider-skin-slice .bdt-skin-slide-btn{padding-top:60px}.bdt-prime-slider-skin-slice .bdt-slider-excerpt{font-size:18px;line-height:28px}}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-prime-slider-logo .bdt-logo-inner,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-prime-slider-logo .bdt-logo-inner{color:#000}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-prime-slider-navbar,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-prime-slider-navbar{display:flex;align-items:center}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-navbar-nav>li,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-navbar-nav>li{margin-right:30px;padding-right:35px}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-navbar-nav>li>a,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-navbar-nav>li>a{color:#000}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-navbar-nav>li:hover>a,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-navbar-nav>li:hover>a{color:#444}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button{transition:all .3s ease;padding:0}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button:hover,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button:hover{color:#000}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button .bdt-offcanvas-button-icon,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button .bdt-offcanvas-button-icon{color:#000;font-size:16px;display:flex}@media (min-width:960px){.bdt-prime-slider .bdt-header-wrapper .bdt-header-inner .bdt-navbar-nav{display:inherit}}.bdt-prime-slider-skin-isolate{position:relative}.bdt-prime-slider-skin-isolate.content-position-column-reverse .bdt-prime-slider-desc{padding-top:30px}.bdt-prime-slider-skin-isolate .bdt-prime-slider-desc{position:relative;padding-bottom:30px;width:100%}.bdt-prime-slider-skin-isolate .bdt-prime-slider-desc .bdt-title-tag{font-size:32px;font-weight:700;color:#000;margin:0;padding-bottom:10px}.bdt-prime-slider-skin-isolate .bdt-slider-excerpt{padding-bottom:20px;color:#999;font-size:13px;max-width:400px}.bdt-prime-slider-skin-isolate .bdt-slider-excerpt p{margin:0}.bdt-prime-slider-skin-isolate .frist-word:before{content:'';position:absolute;background:rgba(254,80,108,0.1);height:25px;width:0;bottom:0;left:0;z-index:-1;transition:all .3s ease}.bdt-prime-slider-skin-isolate .frist-word{position:relative;display:inline-block}.bdt-prime-slider-skin-isolate .bdt-slideshow-item.bdt-transition-active .frist-word:before{width:100%}.bdt-prime-slider-skin-isolate .bdt-slide-btn{font-size:12px;font-weight:700;padding:8px 15px;position:relative;color:#000;border:2px solid #fe506c;transition:all .3s ease;outline:none;text-transform:uppercase}.bdt-prime-slider-skin-isolate .bdt-slide-btn:before{position:absolute;display:block;content:'';top:0;right:0;height:100%;width:0;z-index:1;background:#fe506c;transition:all .4s cubic-bezier(.42, 0, .58, 1)}.bdt-prime-slider-skin-isolate .bdt-slide-btn:after{content:"";position:absolute;height:0;left:50%;top:50%;width:100%;z-index:-1;-webkit-transition:all .75s ease 0s;-moz-transition:all .75s ease 0s;-o-transition:all .75s ease 0s;transition:all .75s ease 0s;transform:translate(-50%, -50%)}.bdt-prime-slider-skin-isolate .bdt-slide-btn:hover{background-color:transparent;border-color:#fe506c;color:#fff}.bdt-prime-slider-skin-isolate .bdt-slide-btn:hover:before{left:0;right:auto;width:100%}.bdt-prime-slider-skin-isolate .bdt-slide-btn:hover:after{height:100%}.bdt-prime-slider-skin-isolate .bdt-slide-btn:hover .bdt-slide-btn-icon svg{transform:scale(1.1) translateX(5px)}.bdt-prime-slider-skin-isolate .bdt-slide-btn:hover .bdt-slide-btn-icon svg *{stroke:#fff}.bdt-prime-slider-skin-isolate .bdt-slide-btn .bdt-slide-btn-icon{margin-left:8px}.bdt-prime-slider-skin-isolate .bdt-slide-btn .bdt-slide-btn-icon svg{transition:all .3s ease}.bdt-prime-slider-skin-isolate .bdt-slide-btn .bdt-slide-btn-icon svg *{stroke:#000;transition:stroke .3s ease}.bdt-prime-slider-skin-isolate .bdt-slide-btn .bdt-prime-slider-button-text{z-index:10;position:relative}.bdt-prime-slider-skin-isolate .bdt-slideshow-item{margin:100px 30px 50px}.bdt-prime-slider-skin-isolate .bdt-slideshow-item img{height:100%;width:100%;object-fit:cover}.bdt-prime-slider-skin-isolate .bdt-slideshow-item .bdt-slide-overlay{height:100%;overflow:hidden}.bdt-prime-slider-skin-isolate .bdt-slide-play-button{top:75%;z-index:10}.bdt-prime-slider-skin-isolate .bdt-slide-play-button a{font-size:10px;padding:15px;background:#fff;border:2px solid #fe506c;color:#000;outline:none}.bdt-prime-slider-skin-isolate .bdt-slide-play-button a i{transition:transform .3s ease}.bdt-prime-slider-skin-isolate .bdt-slide-play-button a:hover i{transform:scale(1.2)}.bdt-prime-slider-skin-isolate .bdt-slide-play-button.bdt-shadow-pulse a{animation:shadow-pulse 2s infinite;--box-shadow-color:rgba(129,138,145,0.1)}.bdt-prime-slider-skin-isolate .bdt-slide-play-button.bdt-line-bounce a{position:relative}.bdt-prime-slider-skin-isolate .bdt-slide-play-button.bdt-line-bounce a:before,.bdt-prime-slider-skin-isolate .bdt-slide-play-button.bdt-line-bounce a:after{content:'';display:block;position:absolute;border:1px solid #818a91;left:-30px;right:-30px;top:-30px;bottom:-30px;animation:line-bounce 1.5s linear infinite;opacity:0;backface-visibility:hidden}.bdt-prime-slider-skin-isolate .bdt-slide-play-button.bdt-line-bounce a:after{animation-delay:.5s}.bdt-prime-slider-skin-isolate .bdt-slide-play-button.bdt-multi-shadow a{animation:multi-shadow 2s infinite;--box-shadow-color:rgba(129,138,145,0.1)}.bdt-prime-slider-skin-isolate .bdt-scroll-down-wrapper{position:absolute;bottom:100px;cursor:pointer;display:none}.bdt-prime-slider-skin-isolate .bdt-scroll-down-wrapper .bdt-scroll-icon{display:flex;padding:6px;border:1px solid rgba(254,80,108,0.5);animation:bounce 3s infinite;color:#777d96;transition:all .3s ease}.bdt-prime-slider-skin-isolate .bdt-scroll-down-wrapper .bdt-scroll-icon svg{transition:all .3s ease}.bdt-prime-slider-skin-isolate .bdt-scroll-down-wrapper .bdt-scroll-icon:hover{color:#000}.bdt-prime-slider-skin-isolate .bdt-scroll-down-wrapper .bdt-scroll-icon:hover svg{transform:scale(1.1) translateY(3px)}.bdt-prime-slider-skin-isolate.content-position-inherit .bdt-scroll-down-wrapper{left:100px}.bdt-prime-slider-skin-isolate.content-position-row-reverse .bdt-scroll-down-wrapper{right:100px}.bdt-prime-slider-skin-isolate .bdt-flex-column-reverse .bdt-slide-play-button{top:25%}.bdt-text-stroke--yes .bdt-prime-slider .bdt-prime-slider-desc .bdt-main-title .bdt-title-tag,.bdt-text-stroke--yes .bdt-prime-slider .bdt-prime-slider-desc .bdt-main-title .frist-word,.bdt-text-stroke--yes .bdt-prime-slider .bdt-prime-slider-desc .bdt-main-title .bdt-title-tag a{color:transparent !important;-webkit-text-stroke:1px #fff}@keyframes bounce{0%,20%,50%,80%,100%{transform:translateY(0)}40%{transform:translateY(-20px)}60%{transform:translateY(-10px)}}@keyframes shadow-pulse{0%{box-shadow:0 0 0 0 var(--box-shadow-color)}70%{box-shadow:0 0 0 40px rgba(0,0,0,0)}100%{box-shadow:0 0 0 0 rgba(0,0,0,0)}}@keyframes line-bounce{0%{transform:scale(.5);opacity:0}50%{opacity:1}100%{transform:scale(1.2);opacity:0}}@keyframes multi-shadow{0%{box-shadow:0 0 0 10px var(--box-shadow-color),0 0 0 20px var(--box-shadow-color),0 0 0 30px var(--box-shadow-color)}50%{box-shadow:0 0 0 15px var(--box-shadow-color),0 0 0 30px var(--box-shadow-color),0 0 0 45px var(--box-shadow-color)}100%{box-shadow:0 0 0 10px var(--box-shadow-color),0 0 0 20px var(--box-shadow-color),0 0 0 30px var(--box-shadow-color)}}.bdt-prime-slider-skin-isolate .bdt-dotnav li{margin:5px 0;padding:10px;position:relative;cursor:pointer}.bdt-prime-slider-skin-isolate .bdt-dotnav li a{height:6px;width:6px;border-radius:0;transition:all .3s ease-in-out}.bdt-prime-slider-skin-isolate .bdt-dotnav li.bdt-active a{background-color:#000}.bdt-prime-slider-skin-isolate .bdt-dotnav li:before{content:'';position:absolute;border:1px solid rgba(254,80,108,0.5);left:50%;top:50%;height:24px;width:24px;transform:translate(-50%, -50%) scale(.4) rotate(45deg);transition:all .3s ease-in-out;opacity:0}.bdt-prime-slider-skin-isolate .bdt-dotnav li.bdt-active:before{transform:translate(-50%, -50%) scale(1) rotate(0deg);opacity:1}.bdt-prime-slider-skin-isolate .bdt-slidenav{position:relative}.bdt-prime-slider-skin-isolate .bdt-navigation-arrows{margin:-98px 30px 0;padding-bottom:50px}.bdt-prime-slider-skin-isolate .bdt-prime-slider-next{margin-left:-5px}.bdt-prime-slider-skin-isolate .bdt-prime-slider-next:hover svg{transform:scale(1.2) translateX(3px)}.bdt-prime-slider-skin-isolate .bdt-prime-slider-previous{margin-left:-1px}.bdt-prime-slider-skin-isolate .bdt-prime-slider-previous:hover svg{transform:scale(1.2) translateX(-3px)}.bdt-prime-slider-skin-isolate .bdt-prime-slider-next,.bdt-prime-slider-skin-isolate .bdt-prime-slider-previous{position:relative;background:#fff;padding:0;height:48px;width:48px;display:inline-flex;align-items:center;justify-content:center;transition:all .3s ease}.bdt-prime-slider-skin-isolate .bdt-prime-slider-next i,.bdt-prime-slider-skin-isolate .bdt-prime-slider-previous i{color:#000;width:8px;transition:all .3s ease-out}.bdt-prime-slider-skin-isolate .bdt-prime-slider-next:hover i,.bdt-prime-slider-skin-isolate .bdt-prime-slider-previous:hover i{color:#fe506c}.bdt-prime-slider-skin-isolate.content-position-column-reverse .bdt-navigation-arrows{margin:-48px 30px 0}.bdt-prime-slider-skin-isolate .bdt-slideshow-item.bdt-active .bdt-slide-overlay:before{content:'';width:0;position:absolute;height:100%;background-color:#fff;animation-name:skin-clump;animation-duration:1s;transition-timing-function:cubic-bezier(.15, .82, .54, .99);right:0;top:0;z-index:10}@keyframes skin-clump{0%{width:100%}100%{width:0}}@media (min-width:640px){.bdt-prime-slider-skin-isolate.content-position-inherit .bdt-slideshow-item.bdt-flex-column,.bdt-prime-slider-skin-isolate.content-position-inherit .bdt-slideshow-item.bdt-flex-column-reverse,.bdt-prime-slider-skin-isolate.content-position-inherit .bdt-flex-column.bdt-navigation-arrows{flex-direction:inherit}.bdt-prime-slider-skin-isolate.content-position-inherit .bdt-prime-slider-desc{padding-right:50px;padding-left:0}.bdt-prime-slider-skin-isolate.content-position-row-reverse .bdt-slideshow-item.bdt-flex-column,.bdt-prime-slider-skin-isolate.content-position-row-reverse .bdt-slideshow-item.bdt-flex-column-reverse,.bdt-prime-slider-skin-isolate.content-position-row-reverse .bdt-flex-column.bdt-navigation-arrows{flex-direction:row-reverse}.bdt-prime-slider-skin-isolate.content-position-row-reverse .bdt-prime-slider-desc{padding-left:80px;padding-right:0}.bdt-prime-slider-skin-isolate .bdt-navigation-arrows{margin:-110px 30px 0}.bdt-prime-slider-skin-isolate .bdt-prime-slider-next,.bdt-prime-slider-skin-isolate .bdt-prime-slider-previous{height:60px;width:60px}.bdt-prime-slider-skin-isolate .bdt-prime-slider-desc{padding-bottom:0}.bdt-prime-slider-skin-isolate .bdt-prime-slider-desc .bdt-title-tag{font-size:50px}.bdt-prime-slider-skin-isolate .bdt-slide-play-button{top:50%}.bdt-prime-slider-skin-isolate .bdt-slide-play-button a{font-size:20px;padding:20px}.bdt-prime-slider-skin-isolate .bdt-slider-excerpt{padding-bottom:40px;font-size:14px}.bdt-prime-slider-skin-isolate .bdt-slide-btn{font-size:14px;padding:12px 30px}.bdt-prime-slider-skin-isolate .bdt-slide-btn .bdt-slide-btn-icon{margin-left:15px}.bdt-prime-slider-skin-isolate.content-position-column-reverse .bdt-navigation-arrows{margin:-110px 30px 0}.bdt-prime-slider-skin-isolate.content-position-column-reverse .bdt-prime-slider-desc{padding-top:0}.bdt-prime-slider-skin-isolate .bdt-flex-column-reverse .bdt-slide-play-button{top:50%}}@media (min-width:960px){.bdt-prime-slider-skin-isolate .bdt-scroll-down-wrapper{display:inherit}}@media (min-width:1024px){.bdt-prime-header-skin-isolate .bdt-prime-slider-container{padding:0 100px}.bdt-prime-slider-skin-isolate .bdt-slideshow-item{margin:110px 100px 100px}.bdt-prime-slider-skin-isolate .bdt-navigation-arrows{margin:-160px 100px 0;padding-bottom:100px}.bdt-prime-slider-skin-isolate.content-position-column-reverse .bdt-navigation-arrows{margin:-160px 100px 0}.bdt-prime-slider-skin-isolate .bdt-prime-slider-desc .bdt-title-tag{font-size:70px;padding-bottom:20px;line-height:1}.bdt-prime-slider-skin-isolate .bdt-slide-play-button a{padding:30px}}@media (min-width:1025px){.bdt-image-match-height-desktop--yes .bdt-prime-slider .bdt-match-height{height:100%}}@media (min-width:1440px){.bdt-prime-slider-skin-isolate .bdt-prime-slider-desc .bdt-title-tag{font-size:80px;padding-bottom:30px}}@media screen and (max-width:1024px) and (min-width:768px){.bdt-image-match-height-tablet--yes .bdt-prime-slider .bdt-match-height{height:100%}}@media (max-width:767px){.bdt-image-match-height-mobile--yes .bdt-prime-slider .bdt-match-height{height:100%}}
|
1 |
+
.bdt-prime-header-skin-locate .bdt-header-inner .bdt-prime-slider-logo .bdt-logo-inner{color:#fff}.bdt-prime-slider-skin-locate{position:relative}.bdt-prime-slider-skin-locate:before{content:'';position:absolute;width:48%;height:100%;background:#32374B;top:0;left:0}.bdt-prime-slider-skin-locate .bdt-slideshow-content-wrapper{position:absolute;top:50%;transform:translateY(-50%);left:10px}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc{position:relative;width:95%;padding:20px 20px 40px;background:#fff}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc .bdt-title-tag{font-size:28px;font-weight:700;color:#32374B;margin:0;padding-bottom:15px}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc h4{margin:0;font-size:14px;padding-bottom:8px;font-weight:500;color:rgba(50,55,75,0.3)}.bdt-prime-slider-skin-locate .bdt-slider-excerpt{padding-bottom:30px;color:#999;font-size:13px;max-width:400px}.bdt-prime-slider-skin-locate .bdt-slider-excerpt p{margin:0}.bdt-prime-slider-skin-locate .bdt-slide-btn{font-size:12px;font-weight:700;padding:8px 20px;position:relative;color:#fff;border:2px solid transparent;border-radius:60px;outline:none;background:#32374B;text-transform:uppercase;transition:all .3s ease}.bdt-prime-slider-skin-locate .bdt-slide-btn:hover{background-color:transparent;border-color:#32374B;color:#32374B}.bdt-prime-slider-skin-locate .bdt-slide-btn:hover .bdt-slide-btn-icon svg{transform:scale(1.1) translateX(5px)}.bdt-prime-slider-skin-locate .bdt-slide-btn:hover .bdt-slide-btn-icon svg *{stroke:#000}.bdt-prime-slider-skin-locate .bdt-slide-btn .bdt-slide-btn-icon{margin-left:15px}.bdt-prime-slider-skin-locate .bdt-slide-btn .bdt-slide-btn-icon svg{transition:all .3s ease}.bdt-prime-slider-skin-locate .bdt-slide-btn .bdt-slide-btn-icon svg *{stroke:#fff;transition:stroke .3s ease}.bdt-prime-slider-skin-locate .bdt-slideshow-item{margin:110px 30px 100px}.bdt-prime-slider-skin-locate .bdt-prime-slider-social-icon{position:absolute;top:50%;left:30px;z-index:999;transform:translateY(-50%);display:none}.bdt-prime-slider-skin-locate .bdt-prime-slider-social-icon a{display:flex;font-size:12px;padding:10px;margin:12px 0;background:rgba(255,255,255,0.1);border-radius:60px}.bdt-prime-slider-skin-locate .bdt-prime-slider-social-icon i,.bdt-prime-slider-skin-locate .bdt-prime-slider-social-icon svg{width:1em;height:1em;color:#fff}.bdt-prime-slider-skin-locate .bdt-scroll-down-wrapper{position:absolute;left:10%;bottom:35px;cursor:pointer}.bdt-prime-slider-skin-locate .bdt-scroll-down-wrapper .bdt-scroll-icon{display:flex;padding:2px;border:1px solid #ddd;border-radius:60px;animation:bounce 3s infinite;color:#777d96}@keyframes bounce{0%,20%,50%,80%,100%{transform:translateY(0)}40%{transform:translateY(-20px)}60%{transform:translateY(-10px)}}@keyframes shadow-pulse{0%{box-shadow:0 0 0 0 rgba(0,0,0,0.1)}100%{box-shadow:0 0 0 35px rgba(0,0,0,0)}}.bdt-prime-slider-skin-locate .bdt-ps-dotnav{bottom:32px;right:30px;margin:0}.bdt-prime-slider-skin-locate .bdt-ps-dotnav li{position:absolute;left:-40px;bottom:-2px;transition:opacity 400ms ease-out}.bdt-prime-slider-skin-locate .bdt-ps-dotnav li a{font-size:19px;color:#32374b}.bdt-prime-slider-skin-locate .bdt-ps-dotnav li:not(.bdt-active){opacity:0;display:none}.bdt-prime-slider-skin-locate .bdt-ps-dotnav span{color:#777d96}.bdt-prime-slider-skin-locate .bdt-ps-dotnav span:before{content:'';position:absolute;height:17px;width:2px;left:-12px;background:#777d96;bottom:3px;transform:rotate(15deg)}.bdt-prime-slider-skin-locate .bdt-navigation-arrows{position:absolute;bottom:35px;left:30%}.bdt-prime-slider-skin-locate .bdt-prime-slider-next,.bdt-prime-slider-skin-locate .bdt-prime-slider-previous{display:inline-flex;align-items:center;font-size:15px;color:#777d96;outline:none;padding:0;margin:0 2px;transition:color .3s ease}.bdt-prime-slider-skin-locate .bdt-prime-slider-next:hover,.bdt-prime-slider-skin-locate .bdt-prime-slider-previous:hover{color:#32374B}.bdt-prime-slider-skin-locate .bdt-prime-slider-next i,.bdt-prime-slider-skin-locate .bdt-prime-slider-previous i{transition:all .3s ease-out}.bdt-prime-slider-skin-locate .bdt-prime-slider-next span,.bdt-prime-slider-skin-locate .bdt-prime-slider-previous span{margin:0 10px}.bdt-prime-slider-skin-locate .bdt-prime-slider-next:hover i{transform:scale(1.2) translateX(2px)}.bdt-prime-slider-skin-locate .bdt-prime-slider-previous:hover i{transform:scale(1.2) translateX(-2px)}.bdt-prime-slider-skin-locate .bdt-slideshow-item.bdt-active .bdt-slide-overlay:before{content:'';width:0;position:absolute;height:100%;background-color:#fff;animation-name:skin-clump;animation-duration:1s;transition-timing-function:cubic-bezier(.15, .82, .54, .99);right:0;top:0;z-index:10}@keyframes skin-clump{0%{width:100%}100%{width:0}}@media (min-width:640px){.bdt-prime-slider-skin-locate:before{width:25%}.bdt-prime-slider-skin-locate .bdt-ps-dotnav li{left:-65px;bottom:-11px}.bdt-prime-slider-skin-locate .bdt-ps-dotnav li a{font-size:40px}.bdt-prime-slider-skin-locate .bdt-slideshow-item.bdt-flex-column{flex-direction:inherit}.bdt-prime-slider-skin-locate .bdt-slideshow-item{margin:110px 30px 100px 90px}.bdt-prime-slider-skin-locate .bdt-slideshow-content-wrapper{position:relative;transform:translateY(0);left:0}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc{width:100%;padding-left:50px;background:transparent !important}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc .bdt-title-tag{font-size:32px}.bdt-prime-slider-skin-locate .bdt-slider-excerpt{padding-bottom:40px;font-size:14px}.bdt-prime-slider-skin-locate .bdt-scroll-down-wrapper{left:60%}.bdt-prime-slider-skin-locate .bdt-prime-slider-social-icon{display:inherit}.bdt-prime-slider-skin-locate .bdt-scroll-down-wrapper .bdt-scroll-icon{padding:6px}}@media (min-width:768px){.bdt-prime-slider-skin-locate .bdt-prime-slider-desc .bdt-title-tag{font-size:42px}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc h4{font-size:18px;padding-bottom:10px}.bdt-prime-slider-skin-locate .bdt-slide-btn{font-size:14px;padding:12px 30px}}@media (min-width:1024px){.bdt-prime-header-skin-locate .bdt-prime-slider-container{padding:0 100px}.bdt-prime-slider-skin-locate .bdt-slideshow-item{margin:110px 100px 100px 200px}.bdt-prime-slider-skin-locate .bdt-ps-dotnav{right:100px}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc .bdt-title-tag{font-size:48px;padding-bottom:20px}.bdt-prime-slider-skin-locate .bdt-prime-slider-social-icon{left:100px}}@media (min-width:1200px){.bdt-prime-slider-skin-locate .bdt-prime-slider-desc{padding-left:100px}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc .bdt-title-tag{font-size:60px}}@media (min-width:1440px){.bdt-prime-slider-skin-locate .bdt-prime-slider-desc .bdt-title-tag{font-size:80px;padding-bottom:30px}}.bdt-prime-header-skin-slice .bdt-header-inner .bdt-prime-slider-navbar{display:flex;align-items:center}.bdt-prime-header-skin-slice .bdt-header-inner .bdt-navbar-nav>li{margin-right:30px;padding-right:35px}.bdt-prime-header-skin-slice .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button{transition:all .3s ease}.bdt-prime-header-skin-slice .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button:hover{color:#fe506c}.bdt-prime-header-skin-slice .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button .bdt-offcanvas-button-icon{color:#fff;font-size:16px;display:flex}@media (min-width:960px){.bdt-header-wrapper .bdt-header-inner .bdt-navbar-nav{display:inherit !important}}.bdt-prime-slider-skin-slice{position:relative;background:#545760}.bdt-prime-slider-skin-slice:before{content:'';position:absolute;width:35%;height:100%;background:#464952;top:0;left:50%;transform:translateX(-50%)}.bdt-prime-slider-skin-slice:after{content:'';position:absolute;width:33%;height:100%;background:#fc6a2a;top:0;right:0}.bdt-prime-slider-skin-slice .bdt-slideshow{z-index:1}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc{width:100%}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-main-title{padding-top:100px}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-main-title .bdt-title-tag{margin-left:80px}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-title-tag,.bdt-prime-slider-skin-slice .bdt-prime-slider-desc h4{font-size:32px;font-weight:100;color:#fff;margin:0;margin-left:50px;line-height:1.2}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-title-tag .frist-word,.bdt-prime-slider-skin-slice .bdt-prime-slider-desc h4 .frist-word{font-weight:700}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area{background:#fff;padding:15px 10px 0 20px;position:relative;width:100%;margin-bottom:40px;margin-left:-2px}.bdt-prime-slider-skin-slice .bdt-slider-excerpt{color:#666;font-size:13px;line-height:20px;max-height:80px;overflow:hidden}.bdt-prime-slider-skin-slice .bdt-slider-excerpt p{margin:0}.bdt-prime-slider-skin-slice .bdt-skin-slide-btn{padding-top:18px;margin-bottom:-10px;display:inline-block;transform:translateY(10px)}.bdt-prime-slider-skin-slice .bdt-slide-btn{font-size:13px;font-weight:700;padding:9px 28px;position:relative;color:#fff;transition:all .3s ease;outline:none;cursor:pointer;background:linear-gradient(to right, #fe506c 0, #fc6a2a 100%)}.bdt-prime-slider-skin-slice .bdt-slide-btn:hover{background:linear-gradient(to left, #fe506c 0, #fc6a2a 100%)}.bdt-prime-slider-skin-slice .bdt-slide-btn:hover .bdt-slide-btn-icon svg{transform:scale(1.1) translateX(5px)}.bdt-prime-slider-skin-slice .bdt-slide-btn .bdt-slide-btn-icon{margin-left:5px}.bdt-prime-slider-skin-slice .bdt-slide-btn .bdt-slide-btn-icon svg{transition:all .3s ease}.bdt-prime-slider-skin-slice .bdt-slide-btn .bdt-slide-btn-icon svg *{stroke:#fff;transition:stroke .3s ease}.bdt-prime-slider-skin-slice .bdt-slideshow-item .bdt-slide-overlay{margin-right:0}.bdt-prime-slider-skin-slice .bdt-slide-play-button{right:40px;bottom:40px}.bdt-prime-slider-skin-slice .bdt-slide-play-button .slice-play-btn:not(.bdt-active){opacity:0;display:none}.bdt-prime-slider-skin-slice .bdt-slide-play-button a{padding:20px;background:#fff;border:3px solid #fc6a2a;border-radius:80px;color:#000;outline:none;display:inline-flex;animation:shadow-pulse 2s infinite}.bdt-prime-slider-skin-slice .bdt-slide-play-button a svg{width:16px;height:16px;transition:transform .3s ease}.bdt-prime-slider-skin-slice .bdt-slide-play-button a:hover svg{transform:scale(1.2)}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area .bdt-slide-nav-arrows{transition:opacity 400ms ease-out}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area .bdt-slide-nav-arrows:not(.bdt-active){opacity:0;display:none}.bdt-prime-slider-skin-slice .bdt-slide-thumbnav-img{position:relative;overflow:hidden;width:150px;margin-bottom:20px;box-shadow:inset 0 0 20px rgba(0,0,0,0.1)}.bdt-prime-slider-skin-slice .bdt-slide-thumbnav-img li{transition:opacity 400ms ease-out}.bdt-prime-slider-skin-slice .bdt-slide-thumbnav-img li *{min-height:100%;min-width:100%}.bdt-prime-slider-skin-slice .bdt-slide-thumbnav-img li:not(.bdt-active){opacity:0;display:none}.bdt-prime-slider-skin-slice .bdt-slide-thumbnav-img img{position:absolute}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon{position:absolute;top:50%;right:0;z-index:1;transform:translateY(-50%);background:#fff;display:none}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon a{display:flex;font-size:16px;padding:18px;position:relative}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon a:before{content:'';position:absolute;height:2px;width:16px;background:#ddd;bottom:0}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon a:nth-last-child(1):before{display:none}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon a:hover i,.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon a:hover svg{color:#fe506c}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon i,.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon svg{width:1em;height:1em;color:#000;transition:color .3s ease}@keyframes shadow-pulse{0%{box-shadow:0 0 0 0 rgba(0,0,0,0.1)}100%{box-shadow:0 0 0 35px rgba(0,0,0,0)}}.bdt-prime-slider-skin-slice .bdt-ps-dotnav{position:absolute;right:-120px;bottom:0;margin:0;display:none}.bdt-prime-slider-skin-slice .bdt-ps-dotnav li{position:absolute;left:-90px;bottom:-3px;transition:opacity 400ms ease-out}.bdt-prime-slider-skin-slice .bdt-ps-dotnav li a{font-size:20px;color:#fff}.bdt-prime-slider-skin-slice .bdt-ps-dotnav li:not(.bdt-active){opacity:0;display:none}.bdt-prime-slider-skin-slice .bdt-ps-dotnav span{color:#ddd}.bdt-prime-slider-skin-slice .bdt-ps-dotnav span:before{content:'';position:absolute;height:1px;width:65px;left:-64px;background:#ddd;bottom:11px}.bdt-prime-slider-skin-slice .bdt-slidenav{position:relative;display:flex}.bdt-prime-slider-skin-slice .bdt-navigation-arrows{position:absolute;right:-60px;top:0}.bdt-prime-slider-skin-slice .bdt-prime-slider-next{margin-left:0}.bdt-prime-slider-skin-slice .bdt-prime-slider-next:hover{background:#fc6a2a}.bdt-prime-slider-skin-slice .bdt-prime-slider-next:hover i{transform:scale(1.2) translateX(3px)}.bdt-prime-slider-skin-slice .bdt-prime-slider-previous{margin-left:0}.bdt-prime-slider-skin-slice .bdt-prime-slider-previous:hover{background:#fe506c}.bdt-prime-slider-skin-slice .bdt-prime-slider-previous:hover i{transform:scale(1.2) translateX(-3px)}.bdt-prime-slider-skin-slice .bdt-prime-slider-next,.bdt-prime-slider-skin-slice .bdt-prime-slider-previous{display:inline-flex;background:#545760;padding:18px 26px;transition:all .3s ease}.bdt-prime-slider-skin-slice .bdt-prime-slider-next i,.bdt-prime-slider-skin-slice .bdt-prime-slider-previous i{color:#fff;width:8px;transition:all .3s ease-out}.bdt-prime-slider-skin-slice .bdt-prime-slider-next:hover i,.bdt-prime-slider-skin-slice .bdt-prime-slider-previous:hover i{color:#fff}@media (min-width:640px){.bdt-prime-slider-skin-slice .bdt-prime-slider-desc{padding-bottom:0}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-title-tag,.bdt-prime-slider-skin-slice .bdt-prime-slider-desc h4{font-size:42px}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-main-title{padding-top:0;padding-bottom:130px}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area{padding:20px 10px 0 20px;margin-bottom:50px}.bdt-prime-slider-skin-slice .bdt-skin-slide-btn{padding-top:30px}.bdt-prime-slider-skin-slice .bdt-slide-btn{font-size:14px;padding:12px 30px}.bdt-prime-slider-skin-slice .bdt-slide-btn .bdt-slide-btn-icon{margin-left:15px}.bdt-prime-slider-skin-slice .bdt-slider-excerpt{font-size:14px;line-height:24px;max-height:170px}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon{display:inherit}.bdt-prime-slider-skin-slice .bdt-slideshow-item.bdt-flex-column,.bdt-prime-slider-skin-slice .bdt-flex-column.bdt-navigation-arrows{flex-direction:inherit}.bdt-prime-slider-skin-slice .bdt-ps-dotnav{display:inherit}.bdt-prime-slider-skin-slice .bdt-slidenav{display:inline-flex}.bdt-prime-slider-skin-slice .bdt-navigation-arrows{right:-120px}.bdt-prime-slider-skin-slice .bdt-prime-slider-next{margin-left:-4px}.bdt-prime-slider-skin-slice .bdt-prime-slider-previous{left:1px}.bdt-prime-slider-skin-slice .bdt-slideshow-item .bdt-slide-overlay{margin-right:100px}}@media (min-width:768px){.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-title-tag,.bdt-prime-slider-skin-slice .bdt-prime-slider-desc h4{font-size:55px}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area{padding:20px 30px 0}}@media (min-width:1024px){.bdt-prime-header-skin-slice .bdt-prime-slider-container{padding:0 50px}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-title-tag,.bdt-prime-slider-skin-slice .bdt-prime-slider-desc h4{font-size:60px}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-main-title{padding-bottom:210px}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area{padding:40px 30px 0 50px;margin-bottom:60px}.bdt-prime-slider-skin-slice .bdt-slider-excerpt{font-size:16px;line-height:24px}.bdt-prime-slider-skin-slice .bdt-skin-slide-btn{padding-top:40px}}@media (min-width:1440px){.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-title-tag,.bdt-prime-slider-skin-slice .bdt-prime-slider-desc h4{font-size:90px}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-main-title{padding-bottom:240px}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area{padding:60px 90px 0 50px;margin-bottom:110px}.bdt-prime-slider-skin-slice .bdt-skin-slide-btn{padding-top:60px}.bdt-prime-slider-skin-slice .bdt-slider-excerpt{font-size:18px;line-height:28px}}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-prime-slider-logo .bdt-logo-inner,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-prime-slider-logo .bdt-logo-inner{color:#000}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-prime-slider-navbar,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-prime-slider-navbar{display:flex;align-items:center}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-navbar-nav>li,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-navbar-nav>li{margin-right:30px;padding-right:35px}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-navbar-nav>li>a,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-navbar-nav>li>a{color:#000}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-navbar-nav>li:hover>a,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-navbar-nav>li:hover>a{color:#444}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button{transition:all .3s ease;padding:0}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button:hover,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button:hover{color:#000}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button .bdt-offcanvas-button-icon,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button .bdt-offcanvas-button-icon{color:#000;font-size:16px;display:flex}@media (min-width:960px){.bdt-prime-slider .bdt-header-wrapper .bdt-header-inner .bdt-navbar-nav{display:inherit}}.bdt-prime-slider-skin-isolate{position:relative}.bdt-prime-slider-skin-isolate.content-position-column-reverse .bdt-prime-slider-desc{padding-top:30px}.bdt-prime-slider-skin-isolate .bdt-prime-slider-desc{position:relative;padding-bottom:30px;width:100%}.bdt-prime-slider-skin-isolate .bdt-prime-slider-desc .bdt-title-tag{font-size:32px;font-weight:700;color:#000;margin:0;padding-bottom:10px}.bdt-prime-slider-skin-isolate .bdt-slider-excerpt{padding-bottom:20px;color:#999;font-size:13px;max-width:400px}.bdt-prime-slider-skin-isolate .bdt-slider-excerpt p{margin:0}.bdt-prime-slider-skin-isolate .frist-word:before{content:'';position:absolute;background:rgba(254,80,108,0.1);height:25px;width:0;bottom:0;left:0;z-index:-1;transition:all .3s ease}.bdt-prime-slider-skin-isolate .frist-word{position:relative;display:inline-block}.bdt-prime-slider-skin-isolate .bdt-slideshow-item.bdt-transition-active .frist-word:before{width:100%}.bdt-prime-slider-skin-isolate .bdt-slide-btn{font-size:12px;font-weight:700;padding:8px 15px;position:relative;color:#000;border:2px solid #fe506c;transition:all .3s ease;outline:none;text-transform:uppercase}.bdt-prime-slider-skin-isolate .bdt-slide-btn:before{position:absolute;display:block;content:'';top:0;right:0;height:100%;width:0;z-index:1;background:#fe506c;transition:all .4s cubic-bezier(.42, 0, .58, 1)}.bdt-prime-slider-skin-isolate .bdt-slide-btn:after{content:"";position:absolute;height:0;left:50%;top:50%;width:100%;z-index:-1;-webkit-transition:all .75s ease 0s;-moz-transition:all .75s ease 0s;-o-transition:all .75s ease 0s;transition:all .75s ease 0s;transform:translate(-50%, -50%)}.bdt-prime-slider-skin-isolate .bdt-slide-btn:hover{background-color:transparent;border-color:#fe506c;color:#fff}.bdt-prime-slider-skin-isolate .bdt-slide-btn:hover:before{left:0;right:auto;width:100%}.bdt-prime-slider-skin-isolate .bdt-slide-btn:hover:after{height:100%}.bdt-prime-slider-skin-isolate .bdt-slide-btn:hover .bdt-slide-btn-icon svg{transform:scale(1.1) translateX(5px)}.bdt-prime-slider-skin-isolate .bdt-slide-btn:hover .bdt-slide-btn-icon svg *{stroke:#fff}.bdt-prime-slider-skin-isolate .bdt-slide-btn .bdt-slide-btn-icon{margin-left:8px}.bdt-prime-slider-skin-isolate .bdt-slide-btn .bdt-slide-btn-icon svg{transition:all .3s ease}.bdt-prime-slider-skin-isolate .bdt-slide-btn .bdt-slide-btn-icon svg *{stroke:#000;transition:stroke .3s ease}.bdt-prime-slider-skin-isolate .bdt-slide-btn .bdt-prime-slider-button-text{z-index:10;position:relative}.bdt-prime-slider-skin-isolate .bdt-slideshow-item{margin:100px 30px 50px}.bdt-prime-slider-skin-isolate .bdt-slideshow-item img{height:100%;width:100%;object-fit:cover}.bdt-prime-slider-skin-isolate .bdt-slideshow-item .bdt-slide-overlay{height:100%;overflow:hidden}.bdt-prime-slider-skin-isolate .bdt-slide-play-button{top:75%;z-index:10}.bdt-prime-slider-skin-isolate .bdt-slide-play-button a{font-size:10px;padding:15px;background:#fff;border:2px solid #fe506c;color:#000;outline:none}.bdt-prime-slider-skin-isolate .bdt-slide-play-button a i{transition:transform .3s ease}.bdt-prime-slider-skin-isolate .bdt-slide-play-button a:hover i{transform:scale(1.2)}.bdt-prime-slider-skin-isolate .bdt-slide-play-button.bdt-shadow-pulse a{animation:shadow-pulse 2s infinite;--box-shadow-color:rgba(129,138,145,0.1)}.bdt-prime-slider-skin-isolate .bdt-slide-play-button.bdt-line-bounce a{position:relative}.bdt-prime-slider-skin-isolate .bdt-slide-play-button.bdt-line-bounce a:before,.bdt-prime-slider-skin-isolate .bdt-slide-play-button.bdt-line-bounce a:after{content:'';display:block;position:absolute;border:1px solid #818a91;left:-30px;right:-30px;top:-30px;bottom:-30px;animation:line-bounce 1.5s linear infinite;opacity:0;backface-visibility:hidden}.bdt-prime-slider-skin-isolate .bdt-slide-play-button.bdt-line-bounce a:after{animation-delay:.5s}.bdt-prime-slider-skin-isolate .bdt-slide-play-button.bdt-multi-shadow a{animation:multi-shadow 2s infinite;--box-shadow-color:rgba(129,138,145,0.1)}.bdt-prime-slider-skin-isolate .bdt-scroll-down-wrapper{position:absolute;bottom:100px;cursor:pointer;display:none}.bdt-prime-slider-skin-isolate .bdt-scroll-down-wrapper .bdt-scroll-icon{display:flex;padding:6px;border:1px solid rgba(254,80,108,0.5);animation:bounce 3s infinite;color:#777d96;transition:all .3s ease}.bdt-prime-slider-skin-isolate .bdt-scroll-down-wrapper .bdt-scroll-icon svg{transition:all .3s ease}.bdt-prime-slider-skin-isolate .bdt-scroll-down-wrapper .bdt-scroll-icon:hover{color:#000}.bdt-prime-slider-skin-isolate .bdt-scroll-down-wrapper .bdt-scroll-icon:hover svg{transform:scale(1.1) translateY(3px)}.bdt-prime-slider-skin-isolate.content-position-inherit .bdt-scroll-down-wrapper{left:100px}.bdt-prime-slider-skin-isolate.content-position-row-reverse .bdt-scroll-down-wrapper{right:100px}.bdt-prime-slider-skin-isolate .bdt-flex-column-reverse .bdt-slide-play-button{top:25%}.bdt-text-stroke--yes .bdt-prime-slider .bdt-prime-slider-desc .bdt-main-title .bdt-title-tag,.bdt-text-stroke--yes .bdt-prime-slider .bdt-prime-slider-desc .bdt-main-title .frist-word,.bdt-text-stroke--yes .bdt-prime-slider .bdt-prime-slider-desc .bdt-main-title .bdt-title-tag a{color:transparent !important;-webkit-text-stroke:1px #fff}@keyframes bounce{0%,20%,50%,80%,100%{transform:translateY(0)}40%{transform:translateY(-20px)}60%{transform:translateY(-10px)}}@keyframes shadow-pulse{0%{box-shadow:0 0 0 0 var(--box-shadow-color)}70%{box-shadow:0 0 0 40px rgba(0,0,0,0)}100%{box-shadow:0 0 0 0 rgba(0,0,0,0)}}@keyframes line-bounce{0%{transform:scale(.5);opacity:0}50%{opacity:1}100%{transform:scale(1.2);opacity:0}}@keyframes multi-shadow{0%{box-shadow:0 0 0 10px var(--box-shadow-color),0 0 0 20px var(--box-shadow-color),0 0 0 30px var(--box-shadow-color)}50%{box-shadow:0 0 0 15px var(--box-shadow-color),0 0 0 30px var(--box-shadow-color),0 0 0 45px var(--box-shadow-color)}100%{box-shadow:0 0 0 10px var(--box-shadow-color),0 0 0 20px var(--box-shadow-color),0 0 0 30px var(--box-shadow-color)}}.bdt-prime-slider-skin-isolate .bdt-dotnav li{margin:5px 0;padding:10px;position:relative;cursor:pointer}.bdt-prime-slider-skin-isolate .bdt-dotnav li a{height:6px;width:6px;border-radius:0;transition:all .3s ease-in-out}.bdt-prime-slider-skin-isolate .bdt-dotnav li.bdt-active a{background-color:#000}.bdt-prime-slider-skin-isolate .bdt-dotnav li:before{content:'';position:absolute;border:1px solid rgba(254,80,108,0.5);left:50%;top:50%;height:24px;width:24px;transform:translate(-50%, -50%) scale(.4) rotate(45deg);transition:all .3s ease-in-out;opacity:0}.bdt-prime-slider-skin-isolate .bdt-dotnav li.bdt-active:before{transform:translate(-50%, -50%) scale(1) rotate(0deg);opacity:1}.bdt-prime-slider-skin-isolate .bdt-slidenav{position:relative}.bdt-prime-slider-skin-isolate .bdt-navigation-arrows{margin:-98px 30px 0;padding-bottom:50px}.bdt-prime-slider-skin-isolate .bdt-prime-slider-next{margin-left:-5px}.bdt-prime-slider-skin-isolate .bdt-prime-slider-next:hover svg{transform:scale(1.2) translateX(3px)}.bdt-prime-slider-skin-isolate .bdt-prime-slider-previous{margin-left:-1px}.bdt-prime-slider-skin-isolate .bdt-prime-slider-previous:hover svg{transform:scale(1.2) translateX(-3px)}.bdt-prime-slider-skin-isolate .bdt-prime-slider-next,.bdt-prime-slider-skin-isolate .bdt-prime-slider-previous{position:relative;background:#fff;padding:0;height:48px;width:48px;display:inline-flex;align-items:center;justify-content:center;transition:all .3s ease}.bdt-prime-slider-skin-isolate .bdt-prime-slider-next i,.bdt-prime-slider-skin-isolate .bdt-prime-slider-previous i{color:#000;transition:all .3s ease-out}.bdt-prime-slider-skin-isolate .bdt-prime-slider-next:hover i,.bdt-prime-slider-skin-isolate .bdt-prime-slider-previous:hover i{color:#fe506c}.bdt-prime-slider-skin-isolate.content-position-column-reverse .bdt-navigation-arrows{margin:-48px 30px 0}.bdt-prime-slider-skin-isolate .bdt-slideshow-item.bdt-active .bdt-slide-overlay:before{content:'';width:0;position:absolute;height:100%;background-color:#fff;animation-name:skin-clump;animation-duration:1s;transition-timing-function:cubic-bezier(.15, .82, .54, .99);right:0;top:0;z-index:10}@keyframes skin-clump{0%{width:100%}100%{width:0}}@media (min-width:640px){.bdt-prime-slider-skin-isolate.content-position-inherit .bdt-slideshow-item.bdt-flex-column,.bdt-prime-slider-skin-isolate.content-position-inherit .bdt-slideshow-item.bdt-flex-column-reverse,.bdt-prime-slider-skin-isolate.content-position-inherit .bdt-flex-column.bdt-navigation-arrows{flex-direction:inherit}.bdt-prime-slider-skin-isolate.content-position-inherit .bdt-prime-slider-desc{padding-right:50px;padding-left:0}.bdt-prime-slider-skin-isolate.content-position-row-reverse .bdt-slideshow-item.bdt-flex-column,.bdt-prime-slider-skin-isolate.content-position-row-reverse .bdt-slideshow-item.bdt-flex-column-reverse,.bdt-prime-slider-skin-isolate.content-position-row-reverse .bdt-flex-column.bdt-navigation-arrows{flex-direction:row-reverse}.bdt-prime-slider-skin-isolate.content-position-row-reverse .bdt-prime-slider-desc{padding-left:80px;padding-right:0}.bdt-prime-slider-skin-isolate .bdt-navigation-arrows{margin:-110px 30px 0}.bdt-prime-slider-skin-isolate .bdt-prime-slider-next,.bdt-prime-slider-skin-isolate .bdt-prime-slider-previous{height:60px;width:60px}.bdt-prime-slider-skin-isolate .bdt-prime-slider-desc{padding-bottom:0}.bdt-prime-slider-skin-isolate .bdt-prime-slider-desc .bdt-title-tag{font-size:50px}.bdt-prime-slider-skin-isolate .bdt-slide-play-button{top:50%}.bdt-prime-slider-skin-isolate .bdt-slide-play-button a{font-size:20px;padding:20px}.bdt-prime-slider-skin-isolate .bdt-slider-excerpt{padding-bottom:40px;font-size:14px}.bdt-prime-slider-skin-isolate .bdt-slide-btn{font-size:14px;padding:12px 30px}.bdt-prime-slider-skin-isolate .bdt-slide-btn .bdt-slide-btn-icon{margin-left:15px}.bdt-prime-slider-skin-isolate.content-position-column-reverse .bdt-navigation-arrows{margin:-110px 30px 0}.bdt-prime-slider-skin-isolate.content-position-column-reverse .bdt-prime-slider-desc{padding-top:0}.bdt-prime-slider-skin-isolate .bdt-flex-column-reverse .bdt-slide-play-button{top:50%}}@media (min-width:960px){.bdt-prime-slider-skin-isolate .bdt-scroll-down-wrapper{display:inherit}}@media (min-width:1024px){.bdt-prime-header-skin-isolate .bdt-prime-slider-container{padding:0 100px}.bdt-prime-slider-skin-isolate .bdt-slideshow-item{margin:110px 100px 100px}.bdt-prime-slider-skin-isolate .bdt-navigation-arrows{margin:-160px 100px 0;padding-bottom:100px}.bdt-prime-slider-skin-isolate.content-position-column-reverse .bdt-navigation-arrows{margin:-160px 100px 0}.bdt-prime-slider-skin-isolate .bdt-prime-slider-desc .bdt-title-tag{font-size:70px;padding-bottom:20px;line-height:1}.bdt-prime-slider-skin-isolate .bdt-slide-play-button a{padding:30px}}@media (min-width:1025px){.bdt-image-match-height-desktop--yes .bdt-prime-slider .bdt-match-height{height:100%}}@media (min-width:1440px){.bdt-prime-slider-skin-isolate .bdt-prime-slider-desc .bdt-title-tag{font-size:80px;padding-bottom:30px}}@media screen and (max-width:1024px) and (min-width:768px){.bdt-image-match-height-tablet--yes .bdt-prime-slider .bdt-match-height{height:100%}}@media (max-width:767px){.bdt-image-match-height-mobile--yes .bdt-prime-slider .bdt-match-height{height:100%}}
|
assets/css/ps-isolate.rtl.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.bdt-prime-header-skin-locate .bdt-header-inner .bdt-prime-slider-logo .bdt-logo-inner{color:#fff}.bdt-prime-slider-skin-locate{position:relative}.bdt-prime-slider-skin-locate:before{content:'';position:absolute;width:48%;height:100%;background:#32374B;top:0;right:0}.bdt-prime-slider-skin-locate .bdt-slideshow-content-wrapper{position:absolute;top:50%;transform:translateY(-50%);right:10px}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc{position:relative;width:95%;padding:20px 20px 40px;background:#fff}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc .bdt-title-tag{font-size:28px;font-weight:700;color:#32374B;margin:0;padding-bottom:15px}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc h4{margin:0;font-size:14px;padding-bottom:8px;font-weight:500;color:rgba(50,55,75,0.3)}.bdt-prime-slider-skin-locate .bdt-slider-excerpt{padding-bottom:30px;color:#999;font-size:13px;max-width:400px}.bdt-prime-slider-skin-locate .bdt-slider-excerpt p{margin:0}.bdt-prime-slider-skin-locate .bdt-slide-btn{font-size:12px;font-weight:700;padding:8px 20px;position:relative;color:#fff;border:2px solid transparent;border-radius:60px;outline:none;background:#32374B;text-transform:uppercase;transition:all .3s ease}.bdt-prime-slider-skin-locate .bdt-slide-btn:hover{background-color:transparent;border-color:#32374B;color:#32374B}.bdt-prime-slider-skin-locate .bdt-slide-btn:hover .bdt-slide-btn-icon svg{transform:scale(1.1) translateX(-5px)}.bdt-prime-slider-skin-locate .bdt-slide-btn:hover .bdt-slide-btn-icon svg *{stroke:#000}.bdt-prime-slider-skin-locate .bdt-slide-btn .bdt-slide-btn-icon{margin-right:15px}.bdt-prime-slider-skin-locate .bdt-slide-btn .bdt-slide-btn-icon svg{transition:all .3s ease}.bdt-prime-slider-skin-locate .bdt-slide-btn .bdt-slide-btn-icon svg *{stroke:#fff;transition:stroke .3s ease}.bdt-prime-slider-skin-locate .bdt-slideshow-item{margin:110px 30px 100px}.bdt-prime-slider-skin-locate .bdt-prime-slider-social-icon{position:absolute;top:50%;right:30px;z-index:999;transform:translateY(-50%);display:none}.bdt-prime-slider-skin-locate .bdt-prime-slider-social-icon a{display:flex;font-size:12px;padding:10px;margin:12px 0;background:rgba(255,255,255,0.1);border-radius:60px}.bdt-prime-slider-skin-locate .bdt-prime-slider-social-icon i,.bdt-prime-slider-skin-locate .bdt-prime-slider-social-icon svg{width:1em;height:1em;color:#fff}.bdt-prime-slider-skin-locate .bdt-scroll-down-wrapper{position:absolute;right:10%;bottom:35px;cursor:pointer}.bdt-prime-slider-skin-locate .bdt-scroll-down-wrapper .bdt-scroll-icon{display:flex;padding:2px;border:1px solid #ddd;border-radius:60px;animation:bounce 3s infinite;color:#777d96}@keyframes bounce{0%,20%,50%,80%,100%{transform:translateY(0)}40%{transform:translateY(-20px)}60%{transform:translateY(-10px)}}@keyframes shadow-pulse{0%{box-shadow:0 0 0 0 rgba(0,0,0,0.1)}100%{box-shadow:0 0 0 35px rgba(0,0,0,0)}}.bdt-prime-slider-skin-locate .bdt-ps-dotnav{bottom:32px;left:30px;margin:0}.bdt-prime-slider-skin-locate .bdt-ps-dotnav li{position:absolute;right:-40px;bottom:-2px;transition:opacity 400ms ease-out}.bdt-prime-slider-skin-locate .bdt-ps-dotnav li a{font-size:19px;color:#32374b}.bdt-prime-slider-skin-locate .bdt-ps-dotnav li:not(.bdt-active){opacity:0;display:none}.bdt-prime-slider-skin-locate .bdt-ps-dotnav span{color:#777d96}.bdt-prime-slider-skin-locate .bdt-ps-dotnav span:before{content:'';position:absolute;height:17px;width:2px;right:-12px;background:#777d96;bottom:3px;transform:rotate(-15deg)}.bdt-prime-slider-skin-locate .bdt-navigation-arrows{position:absolute;bottom:35px;right:30%}.bdt-prime-slider-skin-locate .bdt-prime-slider-next,.bdt-prime-slider-skin-locate .bdt-prime-slider-previous{display:inline-flex;align-items:center;font-size:15px;color:#777d96;outline:none;padding:0;margin:0 2px;transition:color .3s ease}.bdt-prime-slider-skin-locate .bdt-prime-slider-next:hover,.bdt-prime-slider-skin-locate .bdt-prime-slider-previous:hover{color:#32374B}.bdt-prime-slider-skin-locate .bdt-prime-slider-next i,.bdt-prime-slider-skin-locate .bdt-prime-slider-previous i{transition:all .3s ease-out}.bdt-prime-slider-skin-locate .bdt-prime-slider-next span,.bdt-prime-slider-skin-locate .bdt-prime-slider-previous span{margin:0 10px}.bdt-prime-slider-skin-locate .bdt-prime-slider-next:hover i{transform:scale(1.2) translateX(-2px)}.bdt-prime-slider-skin-locate .bdt-prime-slider-previous:hover i{transform:scale(1.2) translateX(2px)}.bdt-prime-slider-skin-locate .bdt-slideshow-item.bdt-active .bdt-slide-overlay:before{content:'';width:0;position:absolute;height:100%;background-color:#fff;animation-name:skin-clump;animation-duration:1s;transition-timing-function:cubic-bezier(.15, .82, .54, .99);left:0;top:0;z-index:10}@keyframes skin-clump{0%{width:100%}100%{width:0}}@media (min-width:640px){.bdt-prime-slider-skin-locate:before{width:25%}.bdt-prime-slider-skin-locate .bdt-ps-dotnav li{right:-65px;bottom:-11px}.bdt-prime-slider-skin-locate .bdt-ps-dotnav li a{font-size:40px}.bdt-prime-slider-skin-locate .bdt-slideshow-item.bdt-flex-column{flex-direction:inherit}.bdt-prime-slider-skin-locate .bdt-slideshow-item{margin:110px 90px 100px 30px}.bdt-prime-slider-skin-locate .bdt-slideshow-content-wrapper{position:relative;transform:translateY(0);right:0}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc{width:100%;padding-right:50px;background:transparent !important}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc .bdt-title-tag{font-size:32px}.bdt-prime-slider-skin-locate .bdt-slider-excerpt{padding-bottom:40px;font-size:14px}.bdt-prime-slider-skin-locate .bdt-scroll-down-wrapper{right:60%}.bdt-prime-slider-skin-locate .bdt-prime-slider-social-icon{display:inherit}.bdt-prime-slider-skin-locate .bdt-scroll-down-wrapper .bdt-scroll-icon{padding:6px}}@media (min-width:768px){.bdt-prime-slider-skin-locate .bdt-prime-slider-desc .bdt-title-tag{font-size:42px}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc h4{font-size:18px;padding-bottom:10px}.bdt-prime-slider-skin-locate .bdt-slide-btn{font-size:14px;padding:12px 30px}}@media (min-width:1024px){.bdt-prime-header-skin-locate .bdt-prime-slider-container{padding:0 100px}.bdt-prime-slider-skin-locate .bdt-slideshow-item{margin:110px 200px 100px 100px}.bdt-prime-slider-skin-locate .bdt-ps-dotnav{left:100px}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc .bdt-title-tag{font-size:48px;padding-bottom:20px}.bdt-prime-slider-skin-locate .bdt-prime-slider-social-icon{right:100px}}@media (min-width:1200px){.bdt-prime-slider-skin-locate .bdt-prime-slider-desc{padding-right:100px}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc .bdt-title-tag{font-size:60px}}@media (min-width:1440px){.bdt-prime-slider-skin-locate .bdt-prime-slider-desc .bdt-title-tag{font-size:80px;padding-bottom:30px}}.bdt-prime-header-skin-slice .bdt-header-inner .bdt-prime-slider-navbar{display:flex;align-items:center}.bdt-prime-header-skin-slice .bdt-header-inner .bdt-navbar-nav>li{margin-left:30px;padding-left:35px}.bdt-prime-header-skin-slice .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button{transition:all .3s ease}.bdt-prime-header-skin-slice .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button:hover{color:#fe506c}.bdt-prime-header-skin-slice .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button .bdt-offcanvas-button-icon{color:#fff;font-size:16px;display:flex}@media (min-width:960px){.bdt-header-wrapper .bdt-header-inner .bdt-navbar-nav{display:inherit !important}}.bdt-prime-slider-skin-slice{position:relative;background:#545760}.bdt-prime-slider-skin-slice:before{content:'';position:absolute;width:35%;height:100%;background:#464952;top:0;right:50%;transform:translateX(50%)}.bdt-prime-slider-skin-slice:after{content:'';position:absolute;width:33%;height:100%;background:#fc6a2a;top:0;left:0}.bdt-prime-slider-skin-slice .bdt-slideshow{z-index:1}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc{width:100%}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-main-title{padding-top:100px}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-main-title .bdt-title-tag{margin-right:80px}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-title-tag,.bdt-prime-slider-skin-slice .bdt-prime-slider-desc h4{font-size:32px;font-weight:100;color:#fff;margin:0;margin-right:50px;line-height:1.2}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-title-tag .frist-word,.bdt-prime-slider-skin-slice .bdt-prime-slider-desc h4 .frist-word{font-weight:700}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area{background:#fff;padding:15px 20px 0 10px;position:relative;width:100%;margin-bottom:40px;margin-right:-2px}.bdt-prime-slider-skin-slice .bdt-slider-excerpt{color:#666;font-size:13px;line-height:20px;max-height:80px;overflow:hidden}.bdt-prime-slider-skin-slice .bdt-slider-excerpt p{margin:0}.bdt-prime-slider-skin-slice .bdt-skin-slide-btn{padding-top:18px;margin-bottom:-10px;display:inline-block;transform:translateY(10px)}.bdt-prime-slider-skin-slice .bdt-slide-btn{font-size:13px;font-weight:700;padding:9px 28px;position:relative;color:#fff;transition:all .3s ease;outline:none;cursor:pointer;background:linear-gradient(to left, #fe506c 0, #fc6a2a 100%)}.bdt-prime-slider-skin-slice .bdt-slide-btn:hover{background:linear-gradient(to right, #fe506c 0, #fc6a2a 100%)}.bdt-prime-slider-skin-slice .bdt-slide-btn:hover .bdt-slide-btn-icon svg{transform:scale(1.1) translateX(-5px)}.bdt-prime-slider-skin-slice .bdt-slide-btn .bdt-slide-btn-icon{margin-right:5px}.bdt-prime-slider-skin-slice .bdt-slide-btn .bdt-slide-btn-icon svg{transition:all .3s ease}.bdt-prime-slider-skin-slice .bdt-slide-btn .bdt-slide-btn-icon svg *{stroke:#fff;transition:stroke .3s ease}.bdt-prime-slider-skin-slice .bdt-slideshow-item .bdt-slide-overlay{margin-left:0}.bdt-prime-slider-skin-slice .bdt-slide-play-button{left:40px;bottom:40px}.bdt-prime-slider-skin-slice .bdt-slide-play-button .slice-play-btn:not(.bdt-active){opacity:0;display:none}.bdt-prime-slider-skin-slice .bdt-slide-play-button a{padding:20px;background:#fff;border:3px solid #fc6a2a;border-radius:80px;color:#000;outline:none;display:inline-flex;animation:shadow-pulse 2s infinite}.bdt-prime-slider-skin-slice .bdt-slide-play-button a svg{width:16px;height:16px;transition:transform .3s ease}.bdt-prime-slider-skin-slice .bdt-slide-play-button a:hover svg{transform:scale(1.2)}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area .bdt-slide-nav-arrows{transition:opacity 400ms ease-out}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area .bdt-slide-nav-arrows:not(.bdt-active){opacity:0;display:none}.bdt-prime-slider-skin-slice .bdt-slide-thumbnav-img{position:relative;overflow:hidden;width:150px;margin-bottom:20px;box-shadow:inset 0 0 20px rgba(0,0,0,0.1)}.bdt-prime-slider-skin-slice .bdt-slide-thumbnav-img li{transition:opacity 400ms ease-out}.bdt-prime-slider-skin-slice .bdt-slide-thumbnav-img li *{min-height:100%;min-width:100%}.bdt-prime-slider-skin-slice .bdt-slide-thumbnav-img li:not(.bdt-active){opacity:0;display:none}.bdt-prime-slider-skin-slice .bdt-slide-thumbnav-img img{position:absolute}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon{position:absolute;top:50%;left:0;z-index:1;transform:translateY(-50%);background:#fff;display:none}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon a{display:flex;font-size:16px;padding:18px;position:relative}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon a:before{content:'';position:absolute;height:2px;width:16px;background:#ddd;bottom:0}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon a:nth-last-child(1):before{display:none}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon a:hover i,.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon a:hover svg{color:#fe506c}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon i,.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon svg{width:1em;height:1em;color:#000;transition:color .3s ease}@keyframes shadow-pulse{0%{box-shadow:0 0 0 0 rgba(0,0,0,0.1)}100%{box-shadow:0 0 0 35px rgba(0,0,0,0)}}.bdt-prime-slider-skin-slice .bdt-ps-dotnav{position:absolute;left:-120px;bottom:0;margin:0;display:none}.bdt-prime-slider-skin-slice .bdt-ps-dotnav li{position:absolute;right:-90px;bottom:-3px;transition:opacity 400ms ease-out}.bdt-prime-slider-skin-slice .bdt-ps-dotnav li a{font-size:20px;color:#fff}.bdt-prime-slider-skin-slice .bdt-ps-dotnav li:not(.bdt-active){opacity:0;display:none}.bdt-prime-slider-skin-slice .bdt-ps-dotnav span{color:#ddd}.bdt-prime-slider-skin-slice .bdt-ps-dotnav span:before{content:'';position:absolute;height:1px;width:65px;right:-64px;background:#ddd;bottom:11px}.bdt-prime-slider-skin-slice .bdt-slidenav{position:relative;display:flex}.bdt-prime-slider-skin-slice .bdt-navigation-arrows{position:absolute;left:-60px;top:0}.bdt-prime-slider-skin-slice .bdt-prime-slider-next{margin-right:0}.bdt-prime-slider-skin-slice .bdt-prime-slider-next:hover{background:#fc6a2a}.bdt-prime-slider-skin-slice .bdt-prime-slider-next:hover i{transform:scale(1.2) translateX(-3px)}.bdt-prime-slider-skin-slice .bdt-prime-slider-previous{margin-right:0}.bdt-prime-slider-skin-slice .bdt-prime-slider-previous:hover{background:#fe506c}.bdt-prime-slider-skin-slice .bdt-prime-slider-previous:hover i{transform:scale(1.2) translateX(3px)}.bdt-prime-slider-skin-slice .bdt-prime-slider-next,.bdt-prime-slider-skin-slice .bdt-prime-slider-previous{display:inline-flex;background:#545760;padding:18px 26px;transition:all .3s ease}.bdt-prime-slider-skin-slice .bdt-prime-slider-next i,.bdt-prime-slider-skin-slice .bdt-prime-slider-previous i{color:#fff;width:8px;transition:all .3s ease-out}.bdt-prime-slider-skin-slice .bdt-prime-slider-next:hover i,.bdt-prime-slider-skin-slice .bdt-prime-slider-previous:hover i{color:#fff}@media (min-width:640px){.bdt-prime-slider-skin-slice .bdt-prime-slider-desc{padding-bottom:0}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-title-tag,.bdt-prime-slider-skin-slice .bdt-prime-slider-desc h4{font-size:42px}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-main-title{padding-top:0;padding-bottom:130px}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area{padding:20px 20px 0 10px;margin-bottom:50px}.bdt-prime-slider-skin-slice .bdt-skin-slide-btn{padding-top:30px}.bdt-prime-slider-skin-slice .bdt-slide-btn{font-size:14px;padding:12px 30px}.bdt-prime-slider-skin-slice .bdt-slide-btn .bdt-slide-btn-icon{margin-right:15px}.bdt-prime-slider-skin-slice .bdt-slider-excerpt{font-size:14px;line-height:24px;max-height:170px}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon{display:inherit}.bdt-prime-slider-skin-slice .bdt-slideshow-item.bdt-flex-column,.bdt-prime-slider-skin-slice .bdt-flex-column.bdt-navigation-arrows{flex-direction:inherit}.bdt-prime-slider-skin-slice .bdt-ps-dotnav{display:inherit}.bdt-prime-slider-skin-slice .bdt-slidenav{display:inline-flex}.bdt-prime-slider-skin-slice .bdt-navigation-arrows{left:-120px}.bdt-prime-slider-skin-slice .bdt-prime-slider-next{margin-right:-4px}.bdt-prime-slider-skin-slice .bdt-prime-slider-previous{right:1px}.bdt-prime-slider-skin-slice .bdt-slideshow-item .bdt-slide-overlay{margin-left:100px}}@media (min-width:768px){.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-title-tag,.bdt-prime-slider-skin-slice .bdt-prime-slider-desc h4{font-size:55px}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area{padding:20px 30px 0}}@media (min-width:1024px){.bdt-prime-header-skin-slice .bdt-prime-slider-container{padding:0 50px}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-title-tag,.bdt-prime-slider-skin-slice .bdt-prime-slider-desc h4{font-size:60px}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-main-title{padding-bottom:210px}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area{padding:40px 50px 0 30px;margin-bottom:60px}.bdt-prime-slider-skin-slice .bdt-slider-excerpt{font-size:16px;line-height:24px}.bdt-prime-slider-skin-slice .bdt-skin-slide-btn{padding-top:40px}}@media (min-width:1440px){.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-title-tag,.bdt-prime-slider-skin-slice .bdt-prime-slider-desc h4{font-size:90px}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-main-title{padding-bottom:240px}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area{padding:60px 50px 0 90px;margin-bottom:110px}.bdt-prime-slider-skin-slice .bdt-skin-slide-btn{padding-top:60px}.bdt-prime-slider-skin-slice .bdt-slider-excerpt{font-size:18px;line-height:28px}}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-prime-slider-logo .bdt-logo-inner,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-prime-slider-logo .bdt-logo-inner{color:#000}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-prime-slider-navbar,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-prime-slider-navbar{display:flex;align-items:center}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-navbar-nav>li,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-navbar-nav>li{margin-left:30px;padding-left:35px}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-navbar-nav>li>a,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-navbar-nav>li>a{color:#000}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-navbar-nav>li:hover>a,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-navbar-nav>li:hover>a{color:#444}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button{transition:all .3s ease;padding:0}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button:hover,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button:hover{color:#000}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button .bdt-offcanvas-button-icon,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button .bdt-offcanvas-button-icon{color:#000;font-size:16px;display:flex}@media (min-width:960px){.bdt-prime-slider .bdt-header-wrapper .bdt-header-inner .bdt-navbar-nav{display:inherit}}.bdt-prime-slider-skin-isolate{position:relative}.bdt-prime-slider-skin-isolate.content-position-column-reverse .bdt-prime-slider-desc{padding-top:30px}.bdt-prime-slider-skin-isolate .bdt-prime-slider-desc{position:relative;padding-bottom:30px;width:100%}.bdt-prime-slider-skin-isolate .bdt-prime-slider-desc .bdt-title-tag{font-size:32px;font-weight:700;color:#000;margin:0;padding-bottom:10px}.bdt-prime-slider-skin-isolate .bdt-slider-excerpt{padding-bottom:20px;color:#999;font-size:13px;max-width:400px}.bdt-prime-slider-skin-isolate .bdt-slider-excerpt p{margin:0}.bdt-prime-slider-skin-isolate .frist-word:before{content:'';position:absolute;background:rgba(254,80,108,0.1);height:25px;width:0;bottom:0;right:0;z-index:-1;transition:all .3s ease}.bdt-prime-slider-skin-isolate .frist-word{position:relative;display:inline-block}.bdt-prime-slider-skin-isolate .bdt-slideshow-item.bdt-transition-active .frist-word:before{width:100%}.bdt-prime-slider-skin-isolate .bdt-slide-btn{font-size:12px;font-weight:700;padding:8px 15px;position:relative;color:#000;border:2px solid #fe506c;transition:all .3s ease;outline:none;text-transform:uppercase}.bdt-prime-slider-skin-isolate .bdt-slide-btn:before{position:absolute;display:block;content:'';top:0;left:0;height:100%;width:0;z-index:1;background:#fe506c;transition:all .4s cubic-bezier(.42, 0, .58, 1)}.bdt-prime-slider-skin-isolate .bdt-slide-btn:after{content:"";position:absolute;height:0;right:50%;top:50%;width:100%;z-index:-1;-webkit-transition:all .75s ease 0s;-moz-transition:all .75s ease 0s;-o-transition:all .75s ease 0s;transition:all .75s ease 0s;transform:translate(50%, -50%)}.bdt-prime-slider-skin-isolate .bdt-slide-btn:hover{background-color:transparent;border-color:#fe506c;color:#fff}.bdt-prime-slider-skin-isolate .bdt-slide-btn:hover:before{right:0;left:auto;width:100%}.bdt-prime-slider-skin-isolate .bdt-slide-btn:hover:after{height:100%}.bdt-prime-slider-skin-isolate .bdt-slide-btn:hover .bdt-slide-btn-icon svg{transform:scale(1.1) translateX(-5px)}.bdt-prime-slider-skin-isolate .bdt-slide-btn:hover .bdt-slide-btn-icon svg *{stroke:#fff}.bdt-prime-slider-skin-isolate .bdt-slide-btn .bdt-slide-btn-icon{margin-right:8px}.bdt-prime-slider-skin-isolate .bdt-slide-btn .bdt-slide-btn-icon svg{transition:all .3s ease}.bdt-prime-slider-skin-isolate .bdt-slide-btn .bdt-slide-btn-icon svg *{stroke:#000;transition:stroke .3s ease}.bdt-prime-slider-skin-isolate .bdt-slide-btn .bdt-prime-slider-button-text{z-index:10;position:relative}.bdt-prime-slider-skin-isolate .bdt-slideshow-item{margin:100px 30px 50px}.bdt-prime-slider-skin-isolate .bdt-slideshow-item img{height:100%;width:100%;object-fit:cover}.bdt-prime-slider-skin-isolate .bdt-slideshow-item .bdt-slide-overlay{height:100%;overflow:hidden}.bdt-prime-slider-skin-isolate .bdt-slide-play-button{top:75%;z-index:10}.bdt-prime-slider-skin-isolate .bdt-slide-play-button a{font-size:10px;padding:15px;background:#fff;border:2px solid #fe506c;color:#000;outline:none}.bdt-prime-slider-skin-isolate .bdt-slide-play-button a i{transition:transform .3s ease}.bdt-prime-slider-skin-isolate .bdt-slide-play-button a:hover i{transform:scale(1.2)}.bdt-prime-slider-skin-isolate .bdt-slide-play-button.bdt-shadow-pulse a{animation:shadow-pulse 2s infinite;--box-shadow-color:rgba(129,138,145,0.1)}.bdt-prime-slider-skin-isolate .bdt-slide-play-button.bdt-line-bounce a{position:relative}.bdt-prime-slider-skin-isolate .bdt-slide-play-button.bdt-line-bounce a:before,.bdt-prime-slider-skin-isolate .bdt-slide-play-button.bdt-line-bounce a:after{content:'';display:block;position:absolute;border:1px solid #818a91;right:-30px;left:-30px;top:-30px;bottom:-30px;animation:line-bounce 1.5s linear infinite;opacity:0;backface-visibility:hidden}.bdt-prime-slider-skin-isolate .bdt-slide-play-button.bdt-line-bounce a:after{animation-delay:.5s}.bdt-prime-slider-skin-isolate .bdt-slide-play-button.bdt-multi-shadow a{animation:multi-shadow 2s infinite;--box-shadow-color:rgba(129,138,145,0.1)}.bdt-prime-slider-skin-isolate .bdt-scroll-down-wrapper{position:absolute;bottom:100px;cursor:pointer;display:none}.bdt-prime-slider-skin-isolate .bdt-scroll-down-wrapper .bdt-scroll-icon{display:flex;padding:6px;border:1px solid rgba(254,80,108,0.5);animation:bounce 3s infinite;color:#777d96;transition:all .3s ease}.bdt-prime-slider-skin-isolate .bdt-scroll-down-wrapper .bdt-scroll-icon svg{transition:all .3s ease}.bdt-prime-slider-skin-isolate .bdt-scroll-down-wrapper .bdt-scroll-icon:hover{color:#000}.bdt-prime-slider-skin-isolate .bdt-scroll-down-wrapper .bdt-scroll-icon:hover svg{transform:scale(1.1) translateY(3px)}.bdt-prime-slider-skin-isolate.content-position-inherit .bdt-scroll-down-wrapper{right:100px}.bdt-prime-slider-skin-isolate.content-position-row-reverse .bdt-scroll-down-wrapper{left:100px}.bdt-prime-slider-skin-isolate .bdt-flex-column-reverse .bdt-slide-play-button{top:25%}.bdt-text-stroke--yes .bdt-prime-slider .bdt-prime-slider-desc .bdt-main-title .bdt-title-tag,.bdt-text-stroke--yes .bdt-prime-slider .bdt-prime-slider-desc .bdt-main-title .frist-word,.bdt-text-stroke--yes .bdt-prime-slider .bdt-prime-slider-desc .bdt-main-title .bdt-title-tag a{color:transparent !important;-webkit-text-stroke:1px #fff}@keyframes bounce{0%,20%,50%,80%,100%{transform:translateY(0)}40%{transform:translateY(-20px)}60%{transform:translateY(-10px)}}@keyframes shadow-pulse{0%{box-shadow:0 0 0 0 var(--box-shadow-color)}70%{box-shadow:0 0 0 40px rgba(0,0,0,0)}100%{box-shadow:0 0 0 0 rgba(0,0,0,0)}}@keyframes line-bounce{0%{transform:scale(.5);opacity:0}50%{opacity:1}100%{transform:scale(1.2);opacity:0}}@keyframes multi-shadow{0%{box-shadow:0 0 0 10px var(--box-shadow-color),0 0 0 20px var(--box-shadow-color),0 0 0 30px var(--box-shadow-color)}50%{box-shadow:0 0 0 15px var(--box-shadow-color),0 0 0 30px var(--box-shadow-color),0 0 0 45px var(--box-shadow-color)}100%{box-shadow:0 0 0 10px var(--box-shadow-color),0 0 0 20px var(--box-shadow-color),0 0 0 30px var(--box-shadow-color)}}.bdt-prime-slider-skin-isolate .bdt-dotnav li{margin:5px 0;padding:10px;position:relative;cursor:pointer}.bdt-prime-slider-skin-isolate .bdt-dotnav li a{height:6px;width:6px;border-radius:0;transition:all .3s ease-in-out}.bdt-prime-slider-skin-isolate .bdt-dotnav li.bdt-active a{background-color:#000}.bdt-prime-slider-skin-isolate .bdt-dotnav li:before{content:'';position:absolute;border:1px solid rgba(254,80,108,0.5);right:50%;top:50%;height:24px;width:24px;transform:translate(50%, -50%) scale(.4) rotate(-45deg);transition:all .3s ease-in-out;opacity:0}.bdt-prime-slider-skin-isolate .bdt-dotnav li.bdt-active:before{transform:translate(50%, -50%) scale(1) rotate(0deg);opacity:1}.bdt-prime-slider-skin-isolate .bdt-slidenav{position:relative}.bdt-prime-slider-skin-isolate .bdt-navigation-arrows{margin:-98px 30px 0;padding-bottom:50px}.bdt-prime-slider-skin-isolate .bdt-prime-slider-next{margin-right:-5px}.bdt-prime-slider-skin-isolate .bdt-prime-slider-next:hover svg{transform:scale(1.2) translateX(-3px)}.bdt-prime-slider-skin-isolate .bdt-prime-slider-previous{margin-right:-1px}.bdt-prime-slider-skin-isolate .bdt-prime-slider-previous:hover svg{transform:scale(1.2) translateX(3px)}.bdt-prime-slider-skin-isolate .bdt-prime-slider-next,.bdt-prime-slider-skin-isolate .bdt-prime-slider-previous{position:relative;background:#fff;padding:0;height:48px;width:48px;display:inline-flex;align-items:center;justify-content:center;transition:all .3s ease}.bdt-prime-slider-skin-isolate .bdt-prime-slider-next i,.bdt-prime-slider-skin-isolate .bdt-prime-slider-previous i{color:#000;width:8px;transition:all .3s ease-out}.bdt-prime-slider-skin-isolate .bdt-prime-slider-next:hover i,.bdt-prime-slider-skin-isolate .bdt-prime-slider-previous:hover i{color:#fe506c}.bdt-prime-slider-skin-isolate.content-position-column-reverse .bdt-navigation-arrows{margin:-48px 30px 0}.bdt-prime-slider-skin-isolate .bdt-slideshow-item.bdt-active .bdt-slide-overlay:before{content:'';width:0;position:absolute;height:100%;background-color:#fff;animation-name:skin-clump;animation-duration:1s;transition-timing-function:cubic-bezier(.15, .82, .54, .99);left:0;top:0;z-index:10}@keyframes skin-clump{0%{width:100%}100%{width:0}}@media (min-width:640px){.bdt-prime-slider-skin-isolate.content-position-inherit .bdt-slideshow-item.bdt-flex-column,.bdt-prime-slider-skin-isolate.content-position-inherit .bdt-slideshow-item.bdt-flex-column-reverse,.bdt-prime-slider-skin-isolate.content-position-inherit .bdt-flex-column.bdt-navigation-arrows{flex-direction:inherit}.bdt-prime-slider-skin-isolate.content-position-inherit .bdt-prime-slider-desc{padding-left:50px;padding-right:0}.bdt-prime-slider-skin-isolate.content-position-row-reverse .bdt-slideshow-item.bdt-flex-column,.bdt-prime-slider-skin-isolate.content-position-row-reverse .bdt-slideshow-item.bdt-flex-column-reverse,.bdt-prime-slider-skin-isolate.content-position-row-reverse .bdt-flex-column.bdt-navigation-arrows{flex-direction:row-reverse}.bdt-prime-slider-skin-isolate.content-position-row-reverse .bdt-prime-slider-desc{padding-right:80px;padding-left:0}.bdt-prime-slider-skin-isolate .bdt-navigation-arrows{margin:-110px 30px 0}.bdt-prime-slider-skin-isolate .bdt-prime-slider-next,.bdt-prime-slider-skin-isolate .bdt-prime-slider-previous{height:60px;width:60px}.bdt-prime-slider-skin-isolate .bdt-prime-slider-desc{padding-bottom:0}.bdt-prime-slider-skin-isolate .bdt-prime-slider-desc .bdt-title-tag{font-size:50px}.bdt-prime-slider-skin-isolate .bdt-slide-play-button{top:50%}.bdt-prime-slider-skin-isolate .bdt-slide-play-button a{font-size:20px;padding:20px}.bdt-prime-slider-skin-isolate .bdt-slider-excerpt{padding-bottom:40px;font-size:14px}.bdt-prime-slider-skin-isolate .bdt-slide-btn{font-size:14px;padding:12px 30px}.bdt-prime-slider-skin-isolate .bdt-slide-btn .bdt-slide-btn-icon{margin-right:15px}.bdt-prime-slider-skin-isolate.content-position-column-reverse .bdt-navigation-arrows{margin:-110px 30px 0}.bdt-prime-slider-skin-isolate.content-position-column-reverse .bdt-prime-slider-desc{padding-top:0}.bdt-prime-slider-skin-isolate .bdt-flex-column-reverse .bdt-slide-play-button{top:50%}}@media (min-width:960px){.bdt-prime-slider-skin-isolate .bdt-scroll-down-wrapper{display:inherit}}@media (min-width:1024px){.bdt-prime-header-skin-isolate .bdt-prime-slider-container{padding:0 100px}.bdt-prime-slider-skin-isolate .bdt-slideshow-item{margin:110px 100px 100px}.bdt-prime-slider-skin-isolate .bdt-navigation-arrows{margin:-160px 100px 0;padding-bottom:100px}.bdt-prime-slider-skin-isolate.content-position-column-reverse .bdt-navigation-arrows{margin:-160px 100px 0}.bdt-prime-slider-skin-isolate .bdt-prime-slider-desc .bdt-title-tag{font-size:70px;padding-bottom:20px;line-height:1}.bdt-prime-slider-skin-isolate .bdt-slide-play-button a{padding:30px}}@media (min-width:1025px){.bdt-image-match-height-desktop--yes .bdt-prime-slider .bdt-match-height{height:100%}}@media (min-width:1440px){.bdt-prime-slider-skin-isolate .bdt-prime-slider-desc .bdt-title-tag{font-size:80px;padding-bottom:30px}}@media screen and (max-width:1024px) and (min-width:768px){.bdt-image-match-height-tablet--yes .bdt-prime-slider .bdt-match-height{height:100%}}@media (max-width:767px){.bdt-image-match-height-mobile--yes .bdt-prime-slider .bdt-match-height{height:100%}}
|
1 |
+
.bdt-prime-header-skin-locate .bdt-header-inner .bdt-prime-slider-logo .bdt-logo-inner{color:#fff}.bdt-prime-slider-skin-locate{position:relative}.bdt-prime-slider-skin-locate:before{content:'';position:absolute;width:48%;height:100%;background:#32374B;top:0;right:0}.bdt-prime-slider-skin-locate .bdt-slideshow-content-wrapper{position:absolute;top:50%;transform:translateY(-50%);right:10px}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc{position:relative;width:95%;padding:20px 20px 40px;background:#fff}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc .bdt-title-tag{font-size:28px;font-weight:700;color:#32374B;margin:0;padding-bottom:15px}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc h4{margin:0;font-size:14px;padding-bottom:8px;font-weight:500;color:rgba(50,55,75,0.3)}.bdt-prime-slider-skin-locate .bdt-slider-excerpt{padding-bottom:30px;color:#999;font-size:13px;max-width:400px}.bdt-prime-slider-skin-locate .bdt-slider-excerpt p{margin:0}.bdt-prime-slider-skin-locate .bdt-slide-btn{font-size:12px;font-weight:700;padding:8px 20px;position:relative;color:#fff;border:2px solid transparent;border-radius:60px;outline:none;background:#32374B;text-transform:uppercase;transition:all .3s ease}.bdt-prime-slider-skin-locate .bdt-slide-btn:hover{background-color:transparent;border-color:#32374B;color:#32374B}.bdt-prime-slider-skin-locate .bdt-slide-btn:hover .bdt-slide-btn-icon svg{transform:scale(1.1) translateX(-5px)}.bdt-prime-slider-skin-locate .bdt-slide-btn:hover .bdt-slide-btn-icon svg *{stroke:#000}.bdt-prime-slider-skin-locate .bdt-slide-btn .bdt-slide-btn-icon{margin-right:15px}.bdt-prime-slider-skin-locate .bdt-slide-btn .bdt-slide-btn-icon svg{transition:all .3s ease}.bdt-prime-slider-skin-locate .bdt-slide-btn .bdt-slide-btn-icon svg *{stroke:#fff;transition:stroke .3s ease}.bdt-prime-slider-skin-locate .bdt-slideshow-item{margin:110px 30px 100px}.bdt-prime-slider-skin-locate .bdt-prime-slider-social-icon{position:absolute;top:50%;right:30px;z-index:999;transform:translateY(-50%);display:none}.bdt-prime-slider-skin-locate .bdt-prime-slider-social-icon a{display:flex;font-size:12px;padding:10px;margin:12px 0;background:rgba(255,255,255,0.1);border-radius:60px}.bdt-prime-slider-skin-locate .bdt-prime-slider-social-icon i,.bdt-prime-slider-skin-locate .bdt-prime-slider-social-icon svg{width:1em;height:1em;color:#fff}.bdt-prime-slider-skin-locate .bdt-scroll-down-wrapper{position:absolute;right:10%;bottom:35px;cursor:pointer}.bdt-prime-slider-skin-locate .bdt-scroll-down-wrapper .bdt-scroll-icon{display:flex;padding:2px;border:1px solid #ddd;border-radius:60px;animation:bounce 3s infinite;color:#777d96}@keyframes bounce{0%,20%,50%,80%,100%{transform:translateY(0)}40%{transform:translateY(-20px)}60%{transform:translateY(-10px)}}@keyframes shadow-pulse{0%{box-shadow:0 0 0 0 rgba(0,0,0,0.1)}100%{box-shadow:0 0 0 35px rgba(0,0,0,0)}}.bdt-prime-slider-skin-locate .bdt-ps-dotnav{bottom:32px;left:30px;margin:0}.bdt-prime-slider-skin-locate .bdt-ps-dotnav li{position:absolute;right:-40px;bottom:-2px;transition:opacity 400ms ease-out}.bdt-prime-slider-skin-locate .bdt-ps-dotnav li a{font-size:19px;color:#32374b}.bdt-prime-slider-skin-locate .bdt-ps-dotnav li:not(.bdt-active){opacity:0;display:none}.bdt-prime-slider-skin-locate .bdt-ps-dotnav span{color:#777d96}.bdt-prime-slider-skin-locate .bdt-ps-dotnav span:before{content:'';position:absolute;height:17px;width:2px;right:-12px;background:#777d96;bottom:3px;transform:rotate(-15deg)}.bdt-prime-slider-skin-locate .bdt-navigation-arrows{position:absolute;bottom:35px;right:30%}.bdt-prime-slider-skin-locate .bdt-prime-slider-next,.bdt-prime-slider-skin-locate .bdt-prime-slider-previous{display:inline-flex;align-items:center;font-size:15px;color:#777d96;outline:none;padding:0;margin:0 2px;transition:color .3s ease}.bdt-prime-slider-skin-locate .bdt-prime-slider-next:hover,.bdt-prime-slider-skin-locate .bdt-prime-slider-previous:hover{color:#32374B}.bdt-prime-slider-skin-locate .bdt-prime-slider-next i,.bdt-prime-slider-skin-locate .bdt-prime-slider-previous i{transition:all .3s ease-out}.bdt-prime-slider-skin-locate .bdt-prime-slider-next span,.bdt-prime-slider-skin-locate .bdt-prime-slider-previous span{margin:0 10px}.bdt-prime-slider-skin-locate .bdt-prime-slider-next:hover i{transform:scale(1.2) translateX(-2px)}.bdt-prime-slider-skin-locate .bdt-prime-slider-previous:hover i{transform:scale(1.2) translateX(2px)}.bdt-prime-slider-skin-locate .bdt-slideshow-item.bdt-active .bdt-slide-overlay:before{content:'';width:0;position:absolute;height:100%;background-color:#fff;animation-name:skin-clump;animation-duration:1s;transition-timing-function:cubic-bezier(.15, .82, .54, .99);left:0;top:0;z-index:10}@keyframes skin-clump{0%{width:100%}100%{width:0}}@media (min-width:640px){.bdt-prime-slider-skin-locate:before{width:25%}.bdt-prime-slider-skin-locate .bdt-ps-dotnav li{right:-65px;bottom:-11px}.bdt-prime-slider-skin-locate .bdt-ps-dotnav li a{font-size:40px}.bdt-prime-slider-skin-locate .bdt-slideshow-item.bdt-flex-column{flex-direction:inherit}.bdt-prime-slider-skin-locate .bdt-slideshow-item{margin:110px 90px 100px 30px}.bdt-prime-slider-skin-locate .bdt-slideshow-content-wrapper{position:relative;transform:translateY(0);right:0}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc{width:100%;padding-right:50px;background:transparent !important}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc .bdt-title-tag{font-size:32px}.bdt-prime-slider-skin-locate .bdt-slider-excerpt{padding-bottom:40px;font-size:14px}.bdt-prime-slider-skin-locate .bdt-scroll-down-wrapper{right:60%}.bdt-prime-slider-skin-locate .bdt-prime-slider-social-icon{display:inherit}.bdt-prime-slider-skin-locate .bdt-scroll-down-wrapper .bdt-scroll-icon{padding:6px}}@media (min-width:768px){.bdt-prime-slider-skin-locate .bdt-prime-slider-desc .bdt-title-tag{font-size:42px}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc h4{font-size:18px;padding-bottom:10px}.bdt-prime-slider-skin-locate .bdt-slide-btn{font-size:14px;padding:12px 30px}}@media (min-width:1024px){.bdt-prime-header-skin-locate .bdt-prime-slider-container{padding:0 100px}.bdt-prime-slider-skin-locate .bdt-slideshow-item{margin:110px 200px 100px 100px}.bdt-prime-slider-skin-locate .bdt-ps-dotnav{left:100px}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc .bdt-title-tag{font-size:48px;padding-bottom:20px}.bdt-prime-slider-skin-locate .bdt-prime-slider-social-icon{right:100px}}@media (min-width:1200px){.bdt-prime-slider-skin-locate .bdt-prime-slider-desc{padding-right:100px}.bdt-prime-slider-skin-locate .bdt-prime-slider-desc .bdt-title-tag{font-size:60px}}@media (min-width:1440px){.bdt-prime-slider-skin-locate .bdt-prime-slider-desc .bdt-title-tag{font-size:80px;padding-bottom:30px}}.bdt-prime-header-skin-slice .bdt-header-inner .bdt-prime-slider-navbar{display:flex;align-items:center}.bdt-prime-header-skin-slice .bdt-header-inner .bdt-navbar-nav>li{margin-left:30px;padding-left:35px}.bdt-prime-header-skin-slice .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button{transition:all .3s ease}.bdt-prime-header-skin-slice .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button:hover{color:#fe506c}.bdt-prime-header-skin-slice .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button .bdt-offcanvas-button-icon{color:#fff;font-size:16px;display:flex}@media (min-width:960px){.bdt-header-wrapper .bdt-header-inner .bdt-navbar-nav{display:inherit !important}}.bdt-prime-slider-skin-slice{position:relative;background:#545760}.bdt-prime-slider-skin-slice:before{content:'';position:absolute;width:35%;height:100%;background:#464952;top:0;right:50%;transform:translateX(50%)}.bdt-prime-slider-skin-slice:after{content:'';position:absolute;width:33%;height:100%;background:#fc6a2a;top:0;left:0}.bdt-prime-slider-skin-slice .bdt-slideshow{z-index:1}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc{width:100%}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-main-title{padding-top:100px}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-main-title .bdt-title-tag{margin-right:80px}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-title-tag,.bdt-prime-slider-skin-slice .bdt-prime-slider-desc h4{font-size:32px;font-weight:100;color:#fff;margin:0;margin-right:50px;line-height:1.2}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-title-tag .frist-word,.bdt-prime-slider-skin-slice .bdt-prime-slider-desc h4 .frist-word{font-weight:700}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area{background:#fff;padding:15px 20px 0 10px;position:relative;width:100%;margin-bottom:40px;margin-right:-2px}.bdt-prime-slider-skin-slice .bdt-slider-excerpt{color:#666;font-size:13px;line-height:20px;max-height:80px;overflow:hidden}.bdt-prime-slider-skin-slice .bdt-slider-excerpt p{margin:0}.bdt-prime-slider-skin-slice .bdt-skin-slide-btn{padding-top:18px;margin-bottom:-10px;display:inline-block;transform:translateY(10px)}.bdt-prime-slider-skin-slice .bdt-slide-btn{font-size:13px;font-weight:700;padding:9px 28px;position:relative;color:#fff;transition:all .3s ease;outline:none;cursor:pointer;background:linear-gradient(to left, #fe506c 0, #fc6a2a 100%)}.bdt-prime-slider-skin-slice .bdt-slide-btn:hover{background:linear-gradient(to right, #fe506c 0, #fc6a2a 100%)}.bdt-prime-slider-skin-slice .bdt-slide-btn:hover .bdt-slide-btn-icon svg{transform:scale(1.1) translateX(-5px)}.bdt-prime-slider-skin-slice .bdt-slide-btn .bdt-slide-btn-icon{margin-right:5px}.bdt-prime-slider-skin-slice .bdt-slide-btn .bdt-slide-btn-icon svg{transition:all .3s ease}.bdt-prime-slider-skin-slice .bdt-slide-btn .bdt-slide-btn-icon svg *{stroke:#fff;transition:stroke .3s ease}.bdt-prime-slider-skin-slice .bdt-slideshow-item .bdt-slide-overlay{margin-left:0}.bdt-prime-slider-skin-slice .bdt-slide-play-button{left:40px;bottom:40px}.bdt-prime-slider-skin-slice .bdt-slide-play-button .slice-play-btn:not(.bdt-active){opacity:0;display:none}.bdt-prime-slider-skin-slice .bdt-slide-play-button a{padding:20px;background:#fff;border:3px solid #fc6a2a;border-radius:80px;color:#000;outline:none;display:inline-flex;animation:shadow-pulse 2s infinite}.bdt-prime-slider-skin-slice .bdt-slide-play-button a svg{width:16px;height:16px;transition:transform .3s ease}.bdt-prime-slider-skin-slice .bdt-slide-play-button a:hover svg{transform:scale(1.2)}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area .bdt-slide-nav-arrows{transition:opacity 400ms ease-out}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area .bdt-slide-nav-arrows:not(.bdt-active){opacity:0;display:none}.bdt-prime-slider-skin-slice .bdt-slide-thumbnav-img{position:relative;overflow:hidden;width:150px;margin-bottom:20px;box-shadow:inset 0 0 20px rgba(0,0,0,0.1)}.bdt-prime-slider-skin-slice .bdt-slide-thumbnav-img li{transition:opacity 400ms ease-out}.bdt-prime-slider-skin-slice .bdt-slide-thumbnav-img li *{min-height:100%;min-width:100%}.bdt-prime-slider-skin-slice .bdt-slide-thumbnav-img li:not(.bdt-active){opacity:0;display:none}.bdt-prime-slider-skin-slice .bdt-slide-thumbnav-img img{position:absolute}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon{position:absolute;top:50%;left:0;z-index:1;transform:translateY(-50%);background:#fff;display:none}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon a{display:flex;font-size:16px;padding:18px;position:relative}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon a:before{content:'';position:absolute;height:2px;width:16px;background:#ddd;bottom:0}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon a:nth-last-child(1):before{display:none}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon a:hover i,.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon a:hover svg{color:#fe506c}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon i,.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon svg{width:1em;height:1em;color:#000;transition:color .3s ease}@keyframes shadow-pulse{0%{box-shadow:0 0 0 0 rgba(0,0,0,0.1)}100%{box-shadow:0 0 0 35px rgba(0,0,0,0)}}.bdt-prime-slider-skin-slice .bdt-ps-dotnav{position:absolute;left:-120px;bottom:0;margin:0;display:none}.bdt-prime-slider-skin-slice .bdt-ps-dotnav li{position:absolute;right:-90px;bottom:-3px;transition:opacity 400ms ease-out}.bdt-prime-slider-skin-slice .bdt-ps-dotnav li a{font-size:20px;color:#fff}.bdt-prime-slider-skin-slice .bdt-ps-dotnav li:not(.bdt-active){opacity:0;display:none}.bdt-prime-slider-skin-slice .bdt-ps-dotnav span{color:#ddd}.bdt-prime-slider-skin-slice .bdt-ps-dotnav span:before{content:'';position:absolute;height:1px;width:65px;right:-64px;background:#ddd;bottom:11px}.bdt-prime-slider-skin-slice .bdt-slidenav{position:relative;display:flex}.bdt-prime-slider-skin-slice .bdt-navigation-arrows{position:absolute;left:-60px;top:0}.bdt-prime-slider-skin-slice .bdt-prime-slider-next{margin-right:0}.bdt-prime-slider-skin-slice .bdt-prime-slider-next:hover{background:#fc6a2a}.bdt-prime-slider-skin-slice .bdt-prime-slider-next:hover i{transform:scale(1.2) translateX(-3px)}.bdt-prime-slider-skin-slice .bdt-prime-slider-previous{margin-right:0}.bdt-prime-slider-skin-slice .bdt-prime-slider-previous:hover{background:#fe506c}.bdt-prime-slider-skin-slice .bdt-prime-slider-previous:hover i{transform:scale(1.2) translateX(3px)}.bdt-prime-slider-skin-slice .bdt-prime-slider-next,.bdt-prime-slider-skin-slice .bdt-prime-slider-previous{display:inline-flex;background:#545760;padding:18px 26px;transition:all .3s ease}.bdt-prime-slider-skin-slice .bdt-prime-slider-next i,.bdt-prime-slider-skin-slice .bdt-prime-slider-previous i{color:#fff;width:8px;transition:all .3s ease-out}.bdt-prime-slider-skin-slice .bdt-prime-slider-next:hover i,.bdt-prime-slider-skin-slice .bdt-prime-slider-previous:hover i{color:#fff}@media (min-width:640px){.bdt-prime-slider-skin-slice .bdt-prime-slider-desc{padding-bottom:0}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-title-tag,.bdt-prime-slider-skin-slice .bdt-prime-slider-desc h4{font-size:42px}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-main-title{padding-top:0;padding-bottom:130px}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area{padding:20px 20px 0 10px;margin-bottom:50px}.bdt-prime-slider-skin-slice .bdt-skin-slide-btn{padding-top:30px}.bdt-prime-slider-skin-slice .bdt-slide-btn{font-size:14px;padding:12px 30px}.bdt-prime-slider-skin-slice .bdt-slide-btn .bdt-slide-btn-icon{margin-right:15px}.bdt-prime-slider-skin-slice .bdt-slider-excerpt{font-size:14px;line-height:24px;max-height:170px}.bdt-prime-slider-skin-slice .bdt-prime-slider-social-icon{display:inherit}.bdt-prime-slider-skin-slice .bdt-slideshow-item.bdt-flex-column,.bdt-prime-slider-skin-slice .bdt-flex-column.bdt-navigation-arrows{flex-direction:inherit}.bdt-prime-slider-skin-slice .bdt-ps-dotnav{display:inherit}.bdt-prime-slider-skin-slice .bdt-slidenav{display:inline-flex}.bdt-prime-slider-skin-slice .bdt-navigation-arrows{left:-120px}.bdt-prime-slider-skin-slice .bdt-prime-slider-next{margin-right:-4px}.bdt-prime-slider-skin-slice .bdt-prime-slider-previous{right:1px}.bdt-prime-slider-skin-slice .bdt-slideshow-item .bdt-slide-overlay{margin-left:100px}}@media (min-width:768px){.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-title-tag,.bdt-prime-slider-skin-slice .bdt-prime-slider-desc h4{font-size:55px}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area{padding:20px 30px 0}}@media (min-width:1024px){.bdt-prime-header-skin-slice .bdt-prime-slider-container{padding:0 50px}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-title-tag,.bdt-prime-slider-skin-slice .bdt-prime-slider-desc h4{font-size:60px}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-main-title{padding-bottom:210px}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area{padding:40px 50px 0 30px;margin-bottom:60px}.bdt-prime-slider-skin-slice .bdt-slider-excerpt{font-size:16px;line-height:24px}.bdt-prime-slider-skin-slice .bdt-skin-slide-btn{padding-top:40px}}@media (min-width:1440px){.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-title-tag,.bdt-prime-slider-skin-slice .bdt-prime-slider-desc h4{font-size:90px}.bdt-prime-slider-skin-slice .bdt-prime-slider-desc .bdt-main-title{padding-bottom:240px}.bdt-prime-slider-skin-slice .bdt-slide-text-btn-area{padding:60px 50px 0 90px;margin-bottom:110px}.bdt-prime-slider-skin-slice .bdt-skin-slide-btn{padding-top:60px}.bdt-prime-slider-skin-slice .bdt-slider-excerpt{font-size:18px;line-height:28px}}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-prime-slider-logo .bdt-logo-inner,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-prime-slider-logo .bdt-logo-inner{color:#000}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-prime-slider-navbar,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-prime-slider-navbar{display:flex;align-items:center}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-navbar-nav>li,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-navbar-nav>li{margin-left:30px;padding-left:35px}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-navbar-nav>li>a,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-navbar-nav>li>a{color:#000}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-navbar-nav>li:hover>a,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-navbar-nav>li:hover>a{color:#444}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button{transition:all .3s ease;padding:0}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button:hover,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button:hover{color:#000}.bdt-prime-header-skin-locate .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button .bdt-offcanvas-button-icon,.bdt-prime-header-skin-isolate .bdt-header-inner .bdt-offcanvas-button-wrapper .bdt-offcanvas-button .bdt-offcanvas-button-icon{color:#000;font-size:16px;display:flex}@media (min-width:960px){.bdt-prime-slider .bdt-header-wrapper .bdt-header-inner .bdt-navbar-nav{display:inherit}}.bdt-prime-slider-skin-isolate{position:relative}.bdt-prime-slider-skin-isolate.content-position-column-reverse .bdt-prime-slider-desc{padding-top:30px}.bdt-prime-slider-skin-isolate .bdt-prime-slider-desc{position:relative;padding-bottom:30px;width:100%}.bdt-prime-slider-skin-isolate .bdt-prime-slider-desc .bdt-title-tag{font-size:32px;font-weight:700;color:#000;margin:0;padding-bottom:10px}.bdt-prime-slider-skin-isolate .bdt-slider-excerpt{padding-bottom:20px;color:#999;font-size:13px;max-width:400px}.bdt-prime-slider-skin-isolate .bdt-slider-excerpt p{margin:0}.bdt-prime-slider-skin-isolate .frist-word:before{content:'';position:absolute;background:rgba(254,80,108,0.1);height:25px;width:0;bottom:0;right:0;z-index:-1;transition:all .3s ease}.bdt-prime-slider-skin-isolate .frist-word{position:relative;display:inline-block}.bdt-prime-slider-skin-isolate .bdt-slideshow-item.bdt-transition-active .frist-word:before{width:100%}.bdt-prime-slider-skin-isolate .bdt-slide-btn{font-size:12px;font-weight:700;padding:8px 15px;position:relative;color:#000;border:2px solid #fe506c;transition:all .3s ease;outline:none;text-transform:uppercase}.bdt-prime-slider-skin-isolate .bdt-slide-btn:before{position:absolute;display:block;content:'';top:0;left:0;height:100%;width:0;z-index:1;background:#fe506c;transition:all .4s cubic-bezier(.42, 0, .58, 1)}.bdt-prime-slider-skin-isolate .bdt-slide-btn:after{content:"";position:absolute;height:0;right:50%;top:50%;width:100%;z-index:-1;-webkit-transition:all .75s ease 0s;-moz-transition:all .75s ease 0s;-o-transition:all .75s ease 0s;transition:all .75s ease 0s;transform:translate(50%, -50%)}.bdt-prime-slider-skin-isolate .bdt-slide-btn:hover{background-color:transparent;border-color:#fe506c;color:#fff}.bdt-prime-slider-skin-isolate .bdt-slide-btn:hover:before{right:0;left:auto;width:100%}.bdt-prime-slider-skin-isolate .bdt-slide-btn:hover:after{height:100%}.bdt-prime-slider-skin-isolate .bdt-slide-btn:hover .bdt-slide-btn-icon svg{transform:scale(1.1) translateX(-5px)}.bdt-prime-slider-skin-isolate .bdt-slide-btn:hover .bdt-slide-btn-icon svg *{stroke:#fff}.bdt-prime-slider-skin-isolate .bdt-slide-btn .bdt-slide-btn-icon{margin-right:8px}.bdt-prime-slider-skin-isolate .bdt-slide-btn .bdt-slide-btn-icon svg{transition:all .3s ease}.bdt-prime-slider-skin-isolate .bdt-slide-btn .bdt-slide-btn-icon svg *{stroke:#000;transition:stroke .3s ease}.bdt-prime-slider-skin-isolate .bdt-slide-btn .bdt-prime-slider-button-text{z-index:10;position:relative}.bdt-prime-slider-skin-isolate .bdt-slideshow-item{margin:100px 30px 50px}.bdt-prime-slider-skin-isolate .bdt-slideshow-item img{height:100%;width:100%;object-fit:cover}.bdt-prime-slider-skin-isolate .bdt-slideshow-item .bdt-slide-overlay{height:100%;overflow:hidden}.bdt-prime-slider-skin-isolate .bdt-slide-play-button{top:75%;z-index:10}.bdt-prime-slider-skin-isolate .bdt-slide-play-button a{font-size:10px;padding:15px;background:#fff;border:2px solid #fe506c;color:#000;outline:none}.bdt-prime-slider-skin-isolate .bdt-slide-play-button a i{transition:transform .3s ease}.bdt-prime-slider-skin-isolate .bdt-slide-play-button a:hover i{transform:scale(1.2)}.bdt-prime-slider-skin-isolate .bdt-slide-play-button.bdt-shadow-pulse a{animation:shadow-pulse 2s infinite;--box-shadow-color:rgba(129,138,145,0.1)}.bdt-prime-slider-skin-isolate .bdt-slide-play-button.bdt-line-bounce a{position:relative}.bdt-prime-slider-skin-isolate .bdt-slide-play-button.bdt-line-bounce a:before,.bdt-prime-slider-skin-isolate .bdt-slide-play-button.bdt-line-bounce a:after{content:'';display:block;position:absolute;border:1px solid #818a91;right:-30px;left:-30px;top:-30px;bottom:-30px;animation:line-bounce 1.5s linear infinite;opacity:0;backface-visibility:hidden}.bdt-prime-slider-skin-isolate .bdt-slide-play-button.bdt-line-bounce a:after{animation-delay:.5s}.bdt-prime-slider-skin-isolate .bdt-slide-play-button.bdt-multi-shadow a{animation:multi-shadow 2s infinite;--box-shadow-color:rgba(129,138,145,0.1)}.bdt-prime-slider-skin-isolate .bdt-scroll-down-wrapper{position:absolute;bottom:100px;cursor:pointer;display:none}.bdt-prime-slider-skin-isolate .bdt-scroll-down-wrapper .bdt-scroll-icon{display:flex;padding:6px;border:1px solid rgba(254,80,108,0.5);animation:bounce 3s infinite;color:#777d96;transition:all .3s ease}.bdt-prime-slider-skin-isolate .bdt-scroll-down-wrapper .bdt-scroll-icon svg{transition:all .3s ease}.bdt-prime-slider-skin-isolate .bdt-scroll-down-wrapper .bdt-scroll-icon:hover{color:#000}.bdt-prime-slider-skin-isolate .bdt-scroll-down-wrapper .bdt-scroll-icon:hover svg{transform:scale(1.1) translateY(3px)}.bdt-prime-slider-skin-isolate.content-position-inherit .bdt-scroll-down-wrapper{right:100px}.bdt-prime-slider-skin-isolate.content-position-row-reverse .bdt-scroll-down-wrapper{left:100px}.bdt-prime-slider-skin-isolate .bdt-flex-column-reverse .bdt-slide-play-button{top:25%}.bdt-text-stroke--yes .bdt-prime-slider .bdt-prime-slider-desc .bdt-main-title .bdt-title-tag,.bdt-text-stroke--yes .bdt-prime-slider .bdt-prime-slider-desc .bdt-main-title .frist-word,.bdt-text-stroke--yes .bdt-prime-slider .bdt-prime-slider-desc .bdt-main-title .bdt-title-tag a{color:transparent !important;-webkit-text-stroke:1px #fff}@keyframes bounce{0%,20%,50%,80%,100%{transform:translateY(0)}40%{transform:translateY(-20px)}60%{transform:translateY(-10px)}}@keyframes shadow-pulse{0%{box-shadow:0 0 0 0 var(--box-shadow-color)}70%{box-shadow:0 0 0 40px rgba(0,0,0,0)}100%{box-shadow:0 0 0 0 rgba(0,0,0,0)}}@keyframes line-bounce{0%{transform:scale(.5);opacity:0}50%{opacity:1}100%{transform:scale(1.2);opacity:0}}@keyframes multi-shadow{0%{box-shadow:0 0 0 10px var(--box-shadow-color),0 0 0 20px var(--box-shadow-color),0 0 0 30px var(--box-shadow-color)}50%{box-shadow:0 0 0 15px var(--box-shadow-color),0 0 0 30px var(--box-shadow-color),0 0 0 45px var(--box-shadow-color)}100%{box-shadow:0 0 0 10px var(--box-shadow-color),0 0 0 20px var(--box-shadow-color),0 0 0 30px var(--box-shadow-color)}}.bdt-prime-slider-skin-isolate .bdt-dotnav li{margin:5px 0;padding:10px;position:relative;cursor:pointer}.bdt-prime-slider-skin-isolate .bdt-dotnav li a{height:6px;width:6px;border-radius:0;transition:all .3s ease-in-out}.bdt-prime-slider-skin-isolate .bdt-dotnav li.bdt-active a{background-color:#000}.bdt-prime-slider-skin-isolate .bdt-dotnav li:before{content:'';position:absolute;border:1px solid rgba(254,80,108,0.5);right:50%;top:50%;height:24px;width:24px;transform:translate(50%, -50%) scale(.4) rotate(-45deg);transition:all .3s ease-in-out;opacity:0}.bdt-prime-slider-skin-isolate .bdt-dotnav li.bdt-active:before{transform:translate(50%, -50%) scale(1) rotate(0deg);opacity:1}.bdt-prime-slider-skin-isolate .bdt-slidenav{position:relative}.bdt-prime-slider-skin-isolate .bdt-navigation-arrows{margin:-98px 30px 0;padding-bottom:50px}.bdt-prime-slider-skin-isolate .bdt-prime-slider-next{margin-right:-5px}.bdt-prime-slider-skin-isolate .bdt-prime-slider-next:hover svg{transform:scale(1.2) translateX(-3px)}.bdt-prime-slider-skin-isolate .bdt-prime-slider-previous{margin-right:-1px}.bdt-prime-slider-skin-isolate .bdt-prime-slider-previous:hover svg{transform:scale(1.2) translateX(3px)}.bdt-prime-slider-skin-isolate .bdt-prime-slider-next,.bdt-prime-slider-skin-isolate .bdt-prime-slider-previous{position:relative;background:#fff;padding:0;height:48px;width:48px;display:inline-flex;align-items:center;justify-content:center;transition:all .3s ease}.bdt-prime-slider-skin-isolate .bdt-prime-slider-next i,.bdt-prime-slider-skin-isolate .bdt-prime-slider-previous i{color:#000;transition:all .3s ease-out}.bdt-prime-slider-skin-isolate .bdt-prime-slider-next:hover i,.bdt-prime-slider-skin-isolate .bdt-prime-slider-previous:hover i{color:#fe506c}.bdt-prime-slider-skin-isolate.content-position-column-reverse .bdt-navigation-arrows{margin:-48px 30px 0}.bdt-prime-slider-skin-isolate .bdt-slideshow-item.bdt-active .bdt-slide-overlay:before{content:'';width:0;position:absolute;height:100%;background-color:#fff;animation-name:skin-clump;animation-duration:1s;transition-timing-function:cubic-bezier(.15, .82, .54, .99);left:0;top:0;z-index:10}@keyframes skin-clump{0%{width:100%}100%{width:0}}@media (min-width:640px){.bdt-prime-slider-skin-isolate.content-position-inherit .bdt-slideshow-item.bdt-flex-column,.bdt-prime-slider-skin-isolate.content-position-inherit .bdt-slideshow-item.bdt-flex-column-reverse,.bdt-prime-slider-skin-isolate.content-position-inherit .bdt-flex-column.bdt-navigation-arrows{flex-direction:inherit}.bdt-prime-slider-skin-isolate.content-position-inherit .bdt-prime-slider-desc{padding-left:50px;padding-right:0}.bdt-prime-slider-skin-isolate.content-position-row-reverse .bdt-slideshow-item.bdt-flex-column,.bdt-prime-slider-skin-isolate.content-position-row-reverse .bdt-slideshow-item.bdt-flex-column-reverse,.bdt-prime-slider-skin-isolate.content-position-row-reverse .bdt-flex-column.bdt-navigation-arrows{flex-direction:row-reverse}.bdt-prime-slider-skin-isolate.content-position-row-reverse .bdt-prime-slider-desc{padding-right:80px;padding-left:0}.bdt-prime-slider-skin-isolate .bdt-navigation-arrows{margin:-110px 30px 0}.bdt-prime-slider-skin-isolate .bdt-prime-slider-next,.bdt-prime-slider-skin-isolate .bdt-prime-slider-previous{height:60px;width:60px}.bdt-prime-slider-skin-isolate .bdt-prime-slider-desc{padding-bottom:0}.bdt-prime-slider-skin-isolate .bdt-prime-slider-desc .bdt-title-tag{font-size:50px}.bdt-prime-slider-skin-isolate .bdt-slide-play-button{top:50%}.bdt-prime-slider-skin-isolate .bdt-slide-play-button a{font-size:20px;padding:20px}.bdt-prime-slider-skin-isolate .bdt-slider-excerpt{padding-bottom:40px;font-size:14px}.bdt-prime-slider-skin-isolate .bdt-slide-btn{font-size:14px;padding:12px 30px}.bdt-prime-slider-skin-isolate .bdt-slide-btn .bdt-slide-btn-icon{margin-right:15px}.bdt-prime-slider-skin-isolate.content-position-column-reverse .bdt-navigation-arrows{margin:-110px 30px 0}.bdt-prime-slider-skin-isolate.content-position-column-reverse .bdt-prime-slider-desc{padding-top:0}.bdt-prime-slider-skin-isolate .bdt-flex-column-reverse .bdt-slide-play-button{top:50%}}@media (min-width:960px){.bdt-prime-slider-skin-isolate .bdt-scroll-down-wrapper{display:inherit}}@media (min-width:1024px){.bdt-prime-header-skin-isolate .bdt-prime-slider-container{padding:0 100px}.bdt-prime-slider-skin-isolate .bdt-slideshow-item{margin:110px 100px 100px}.bdt-prime-slider-skin-isolate .bdt-navigation-arrows{margin:-160px 100px 0;padding-bottom:100px}.bdt-prime-slider-skin-isolate.content-position-column-reverse .bdt-navigation-arrows{margin:-160px 100px 0}.bdt-prime-slider-skin-isolate .bdt-prime-slider-desc .bdt-title-tag{font-size:70px;padding-bottom:20px;line-height:1}.bdt-prime-slider-skin-isolate .bdt-slide-play-button a{padding:30px}}@media (min-width:1025px){.bdt-image-match-height-desktop--yes .bdt-prime-slider .bdt-match-height{height:100%}}@media (min-width:1440px){.bdt-prime-slider-skin-isolate .bdt-prime-slider-desc .bdt-title-tag{font-size:80px;padding-bottom:30px}}@media screen and (max-width:1024px) and (min-width:768px){.bdt-image-match-height-tablet--yes .bdt-prime-slider .bdt-match-height{height:100%}}@media (max-width:767px){.bdt-image-match-height-mobile--yes .bdt-prime-slider .bdt-match-height{height:100%}}
|
assets/css/ps-paranoia.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
:root{--nav-width:60px;--nav-height:100px}.bdt-paranoia-slider{position:relative;overflow:hidden;height:100vh;width:100%;display:grid;grid-template-columns:20% 60% 20%;grid-template-rows:25% 1fr 29.5% 8.5%}.bdt-paranoia-slider .unbutton{background:none;border:0;padding:0;margin:0;font:inherit}.bdt-paranoia-slider .unbutton:focus{outline:none}.bdt-paranoia-slider .no-select{user-select:none}.bdt-paranoia-slider .bdt-slideshow{position:relative;height:100vh;display:grid;grid-template-areas:'... img ...' 'nav-prev img nav-next' '... img ...' 'title title title';grid-area:2 / 2 / 5 / 3;grid-template-columns:20% 100% 20%;grid-template-rows:38% 20% 42%;justify-content:center}.bdt-paranoia-slider .meta{position:absolute;top:0;left:0;right:0;text-align:center;z-index:1;height:100%;width:100%}.bdt-paranoia-slider .bdt-meta-content-wrap{display:grid;color:#fff;height:100%;width:100%}.bdt-paranoia-slider .bdt-meta-item-content{opacity:0;grid-area:1 / 1 / 2 / 2;will-change:opacity,transform;height:100%;width:100%}.bdt-paranoia-slider .bdt-sub-title{font-size:18px;margin-top:0;color:#2B2D42;text-transform:uppercase;margin-bottom:10px;font-weight:500;letter-spacing:10px}.bdt-paranoia-slider .bdt-main-title{margin:0;font-size:55px;text-transform:uppercase;color:#2B2D42}.bdt-paranoia-slider .bdt-inner-top-content{margin-top:20px;position:absolute;top:0;left:50%;transform:translateX(-50%)}.bdt-paranoia-slider .bdt-inner-bottom-content{position:absolute;bottom:40%;left:0;right:0;width:100%}.bdt-paranoia-slider .bdt-text{font-size:15px;color:#2B2D42;line-height:1.6;display:none}.bdt-paranoia-slider .bdt-text p{margin:0}.bdt-paranoia-slider .bdt-link-btn{position:relative;display:inline-block;color:#2B2D42;margin:auto;padding:10px 8px;font-size:13px;font-weight:600;text-decoration:none;transition:all .2s ease;z-index:111}.bdt-paranoia-slider .bdt-link-btn:before{content:"";position:absolute;top:50%;transform:translateY(-50%);left:0;border-radius:25px;background:#fe506c;width:40px;height:50px;transition:all .3s ease}.bdt-paranoia-slider .bdt-link-btn span{position:relative}.bdt-paranoia-slider .bdt-link-btn i{margin-left:10px;transform:translateX(-5px);transition:all .3s ease}.bdt-paranoia-slider .bdt-link-btn:hover{color:#f2f3f8}.bdt-paranoia-slider .bdt-link-btn:hover i{transform:translateX(0)}.bdt-paranoia-slider .bdt-link-btn:hover::before{width:100%;left:0}.bdt-paranoia-slider .bdt-link-btn:hover:active{transform:scale(.96)}.bdt-paranoia-slider .bdt-gallery-wrap{grid-area:img;width:100%;height:100%;overflow:hidden;position:relative;margin-top:auto;border-radius:35vw 35vw 0 0;justify-self:center;z-index:0}.bdt-paranoia-slider .bdt-gallery-img{overflow:hidden;position:absolute;opacity:0;pointer-events:none;width:100%;height:100%;will-change:opacity,transform}.bdt-paranoia-slider .bdt-gallery-img.bdt-slides-img::before{position:absolute;content:'';width:100%;height:100%;background:rgba(6,6,6,0.089);z-index:1}.bdt-paranoia-slider .no-js .bdt-gallery-img:first-child{opacity:1}.bdt-paranoia-slider .bdt-gallery-img-inner{width:100%;height:100%;background-size:cover;background-position:50% 50%;will-change:filter,transform}.bdt-paranoia-slider .nav{text-align:center;cursor:pointer;display:flex;flex-direction:column;align-self:center;position:relative}.bdt-paranoia-slider .nav .nav__text{opacity:0;transition:all .3s ease;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%) scale(0);z-index:1111}.bdt-paranoia-slider .nav:hover .nav__text{color:#2B2D42;opacity:1;transform:translate(-50%, -50%) scale(1)}.bdt-paranoia-slider .no-js .nav{display:none}.bdt-paranoia-slider .bdt-nav--prev{grid-area:nav-prev;align-items:center;margin-right:20px}.bdt-paranoia-slider .bdt-nav--next{grid-area:nav-next;align-items:center;margin-left:20px}.bdt-paranoia-slider .bdt-nav-imgwrap{width:40px;height:80px;border-radius:30px;overflow:hidden;position:relative;display:grid;grid-template-rows:100%;grid-template-columns:100% 100%}.bdt-paranoia-slider .bdt-nav-img{grid-area:1 / 1 / 2 / 2;position:relative;overflow:hidden;opacity:0;pointer-events:none;will-change:opacity,transform}.bdt-paranoia-slider .bdt-nav-img-inner{width:40px;height:80px;background-size:cover;will-change:filter,transform;position:relative}.bdt-paranoia-slider .nav__text{text-transform:uppercase;cursor:pointer;display:none;color:#f2f3f8;font-size:14px;font-weight:600;transition:all .3s ease}.bdt-paranoia-slider .bdt__slides__img--current{pointer-events:auto;opacity:1;z-index:1000}@media (min-width:768px){.bdt-paranoia-slider .bdt-main-title{font-size:145px}.bdt-paranoia-slider .bdt-sub-title{font-size:20px}.bdt-paranoia-slider .bdt-gallery-wrap{border-radius:25vw 25vw 0 0;width:100%}.bdt-paranoia-slider .bdt-inner-top-content{margin-top:-120px}.bdt-paranoia-slider .bdt-text{display:block;margin:0 50px 30px 50px}.bdt-paranoia-slider .bdt-link-btn{padding:15px 22px;font-size:16px}.bdt-paranoia-slider .nav{align-self:start}.bdt-paranoia-slider .nav__text{display:block}.bdt-paranoia-slider .bdt-nav-img-inner{width:var(--nav-width);height:var(--nav-height)}.bdt-paranoia-slider .bdt-nav-imgwrap{width:var(--nav-width);height:var(--nav-height)}.bdt-paranoia-slider .bdt-link-btn:before{width:50px;height:65px}}@media (min-width:1024px){.bdt-paranoia-slider .bdt-main-title{font-size:215px}.bdt-paranoia-slider .bdt-text{margin:0 70px 30px 70px}}
|
1 |
+
:root{--nav-width:60px;--nav-height:100px}.bdt-paranoia-slider{position:relative;overflow:hidden;height:100vh;width:100%;display:grid;grid-template-columns:20% 60% 20%;grid-template-rows:25% 1fr 29.5% 8.5%}.bdt-paranoia-slider .unbutton{background:none;border:0;padding:0;margin:0;font:inherit}.bdt-paranoia-slider .unbutton:focus{outline:none}.bdt-paranoia-slider .no-select{user-select:none}.bdt-paranoia-slider .bdt-slideshow{position:relative;height:100vh;display:grid;grid-template-areas:'... img ...' 'nav-prev img nav-next' '... img ...' 'title title title';grid-area:2 / 2 / 5 / 3;grid-template-columns:20% 100% 20%;grid-template-rows:38% 20% 42%;justify-content:center}.bdt-paranoia-slider .meta{position:absolute;top:0;left:0;right:0;text-align:center;z-index:1;height:100%;width:100%}.bdt-paranoia-slider .bdt-meta-content-wrap{display:grid;color:#fff;height:100%;width:100%}.bdt-paranoia-slider .bdt-meta-item-content{opacity:0;grid-area:1 / 1 / 2 / 2;will-change:opacity,transform;height:100%;width:100%}.bdt-paranoia-slider .bdt-sub-title{font-size:18px;margin-top:0;color:#2B2D42;text-transform:uppercase;margin-bottom:10px;font-weight:500;letter-spacing:10px}.bdt-paranoia-slider .bdt-main-title{margin:0;font-size:55px;text-transform:uppercase;color:#2B2D42}.bdt-paranoia-slider .bdt-inner-top-content{margin-top:20px;position:absolute;top:0;left:50%;transform:translateX(-50%)}.bdt-paranoia-slider .bdt-inner-bottom-content{position:absolute;bottom:40%;left:0;right:0;width:100%}.bdt-paranoia-slider .bdt-text{font-size:15px;color:#2B2D42;line-height:1.6;display:none}.bdt-paranoia-slider .bdt-text p{margin:0}.bdt-paranoia-slider .bdt-link-btn{position:relative;display:inline-block;color:#2B2D42;margin:auto;padding:10px 8px;font-size:13px;font-weight:600;text-decoration:none;transition:all .2s ease;z-index:111}.bdt-paranoia-slider .bdt-link-btn:hover{color:#fe506c}.bdt-paranoia-slider .bdt-link-btn:before{content:"";position:absolute;top:50%;transform:translateY(-50%);left:0;border-radius:25px;background:#fe506c;width:40px;height:50px;transition:all .3s ease}.bdt-paranoia-slider .bdt-link-btn span{position:relative}.bdt-paranoia-slider .bdt-link-btn i{margin-left:10px;transform:translateX(-5px);transition:all .3s ease}.bdt-paranoia-slider .bdt-link-btn:hover{color:#f2f3f8}.bdt-paranoia-slider .bdt-link-btn:hover i{transform:translateX(0)}.bdt-paranoia-slider .bdt-link-btn:hover::before{width:100%;left:0}.bdt-paranoia-slider .bdt-link-btn:hover:active{transform:scale(.96)}.bdt-paranoia-slider .bdt-gallery-wrap{grid-area:img;width:100%;height:100%;overflow:hidden;position:relative;margin-top:auto;border-radius:35vw 35vw 0 0;justify-self:center;z-index:0}.bdt-paranoia-slider .bdt-gallery-img{overflow:hidden;position:absolute;opacity:0;pointer-events:none;width:100%;height:100%;will-change:opacity,transform}.bdt-paranoia-slider .bdt-gallery-img.bdt-slides-img::before{position:absolute;content:'';width:100%;height:100%;background:rgba(6,6,6,0.089);z-index:1}.bdt-paranoia-slider .no-js .bdt-gallery-img:first-child{opacity:1}.bdt-paranoia-slider .bdt-gallery-img-inner{width:100%;height:100%;background-size:cover;background-position:50% 50%;will-change:filter,transform}.bdt-paranoia-slider .nav{text-align:center;cursor:pointer;display:flex;flex-direction:column;align-self:center;position:relative}.bdt-paranoia-slider .nav .nav__text{opacity:0;transition:all .3s ease;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%) scale(0);z-index:1111}.bdt-paranoia-slider .nav:hover .nav__text{color:#2B2D42;opacity:1;transform:translate(-50%, -50%) scale(1)}.bdt-paranoia-slider .no-js .nav{display:none}.bdt-paranoia-slider .bdt-nav--prev{grid-area:nav-prev;align-items:center;margin-right:20px}.bdt-paranoia-slider .bdt-nav--next{grid-area:nav-next;align-items:center;margin-left:20px}.bdt-paranoia-slider .bdt-nav-imgwrap{width:40px;height:80px;border-radius:30px;overflow:hidden;position:relative;display:grid;grid-template-rows:100%;grid-template-columns:100% 100%}.bdt-paranoia-slider .bdt-nav-img{grid-area:1 / 1 / 2 / 2;position:relative;overflow:hidden;opacity:0;pointer-events:none;will-change:opacity,transform}.bdt-paranoia-slider .bdt-nav-img-inner{width:40px;height:80px;background-size:cover;will-change:filter,transform;position:relative}.bdt-paranoia-slider .nav__text{text-transform:uppercase;cursor:pointer;display:none;color:#f2f3f8;font-size:14px;font-weight:600;transition:all .3s ease}.bdt-paranoia-slider .bdt__slides__img--current{pointer-events:auto;opacity:1;z-index:1000}@media (min-width:768px){.bdt-paranoia-slider .bdt-main-title{font-size:145px}.bdt-paranoia-slider .bdt-sub-title{font-size:20px}.bdt-paranoia-slider .bdt-gallery-wrap{border-radius:25vw 25vw 0 0;width:100%}.bdt-paranoia-slider .bdt-inner-top-content{margin-top:-120px}.bdt-paranoia-slider .bdt-text{display:block;margin:0 50px 30px 50px}.bdt-paranoia-slider .bdt-link-btn{padding:15px 22px;font-size:16px}.bdt-paranoia-slider .nav{align-self:start}.bdt-paranoia-slider .nav__text{display:block}.bdt-paranoia-slider .bdt-nav-img-inner{width:var(--nav-width);height:var(--nav-height)}.bdt-paranoia-slider .bdt-nav-imgwrap{width:var(--nav-width);height:var(--nav-height)}.bdt-paranoia-slider .bdt-link-btn:before{width:50px;height:65px}}@media (min-width:1024px){.bdt-paranoia-slider .bdt-main-title{font-size:215px}.bdt-paranoia-slider .bdt-text{margin:0 70px 30px 70px}}
|
assets/css/ps-paranoia.rtl.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
:root{--nav-width:60px;--nav-height:100px}.bdt-paranoia-slider{position:relative;overflow:hidden;height:100vh;width:100%;display:grid;grid-template-columns:20% 60% 20%;grid-template-rows:25% 1fr 29.5% 8.5%}.bdt-paranoia-slider .unbutton{background:none;border:0;padding:0;margin:0;font:inherit}.bdt-paranoia-slider .unbutton:focus{outline:none}.bdt-paranoia-slider .no-select{user-select:none}.bdt-paranoia-slider .bdt-slideshow{position:relative;height:100vh;display:grid;grid-template-areas:'... img ...' 'nav-prev img nav-next' '... img ...' 'title title title';grid-area:2 / 2 / 5 / 3;grid-template-columns:20% 100% 20%;grid-template-rows:38% 20% 42%;justify-content:center}.bdt-paranoia-slider .meta{position:absolute;top:0;right:0;left:0;text-align:center;z-index:1;height:100%;width:100%}.bdt-paranoia-slider .bdt-meta-content-wrap{display:grid;color:#fff;height:100%;width:100%}.bdt-paranoia-slider .bdt-meta-item-content{opacity:0;grid-area:1 / 1 / 2 / 2;will-change:opacity,transform;height:100%;width:100%}.bdt-paranoia-slider .bdt-sub-title{font-size:18px;margin-top:0;color:#2B2D42;text-transform:uppercase;margin-bottom:10px;font-weight:500;letter-spacing:10px}.bdt-paranoia-slider .bdt-main-title{margin:0;font-size:55px;text-transform:uppercase;color:#2B2D42}.bdt-paranoia-slider .bdt-inner-top-content{margin-top:20px;position:absolute;top:0;right:50%;transform:translateX(50%)}.bdt-paranoia-slider .bdt-inner-bottom-content{position:absolute;bottom:40%;right:0;left:0;width:100%}.bdt-paranoia-slider .bdt-text{font-size:15px;color:#2B2D42;line-height:1.6;display:none}.bdt-paranoia-slider .bdt-text p{margin:0}.bdt-paranoia-slider .bdt-link-btn{position:relative;display:inline-block;color:#2B2D42;margin:auto;padding:10px 8px;font-size:13px;font-weight:600;text-decoration:none;transition:all .2s ease;z-index:111}.bdt-paranoia-slider .bdt-link-btn:before{content:"";position:absolute;top:50%;transform:translateY(-50%);right:0;border-radius:25px;background:#fe506c;width:40px;height:50px;transition:all .3s ease}.bdt-paranoia-slider .bdt-link-btn span{position:relative}.bdt-paranoia-slider .bdt-link-btn i{margin-right:10px;transform:translateX(5px);transition:all .3s ease}.bdt-paranoia-slider .bdt-link-btn:hover{color:#f2f3f8}.bdt-paranoia-slider .bdt-link-btn:hover i{transform:translateX(0)}.bdt-paranoia-slider .bdt-link-btn:hover::before{width:100%;right:0}.bdt-paranoia-slider .bdt-link-btn:hover:active{transform:scale(.96)}.bdt-paranoia-slider .bdt-gallery-wrap{grid-area:img;width:100%;height:100%;overflow:hidden;position:relative;margin-top:auto;border-radius:35vw 35vw 0 0;justify-self:center;z-index:0}.bdt-paranoia-slider .bdt-gallery-img{overflow:hidden;position:absolute;opacity:0;pointer-events:none;width:100%;height:100%;will-change:opacity,transform}.bdt-paranoia-slider .bdt-gallery-img.bdt-slides-img::before{position:absolute;content:'';width:100%;height:100%;background:rgba(6,6,6,0.089);z-index:1}.bdt-paranoia-slider .no-js .bdt-gallery-img:first-child{opacity:1}.bdt-paranoia-slider .bdt-gallery-img-inner{width:100%;height:100%;background-size:cover;background-position:50% 50%;will-change:filter,transform}.bdt-paranoia-slider .nav{text-align:center;cursor:pointer;display:flex;flex-direction:column;align-self:center;position:relative}.bdt-paranoia-slider .nav .nav__text{opacity:0;transition:all .3s ease;position:absolute;top:50%;right:50%;transform:translate(50%, -50%) scale(0);z-index:1111}.bdt-paranoia-slider .nav:hover .nav__text{color:#2B2D42;opacity:1;transform:translate(50%, -50%) scale(1)}.bdt-paranoia-slider .no-js .nav{display:none}.bdt-paranoia-slider .bdt-nav--prev{grid-area:nav-prev;align-items:center;margin-left:20px}.bdt-paranoia-slider .bdt-nav--next{grid-area:nav-next;align-items:center;margin-right:20px}.bdt-paranoia-slider .bdt-nav-imgwrap{width:40px;height:80px;border-radius:30px;overflow:hidden;position:relative;display:grid;grid-template-rows:100%;grid-template-columns:100% 100%}.bdt-paranoia-slider .bdt-nav-img{grid-area:1 / 1 / 2 / 2;position:relative;overflow:hidden;opacity:0;pointer-events:none;will-change:opacity,transform}.bdt-paranoia-slider .bdt-nav-img-inner{width:40px;height:80px;background-size:cover;will-change:filter,transform;position:relative}.bdt-paranoia-slider .nav__text{text-transform:uppercase;cursor:pointer;display:none;color:#f2f3f8;font-size:14px;font-weight:600;transition:all .3s ease}.bdt-paranoia-slider .bdt__slides__img--current{pointer-events:auto;opacity:1;z-index:1000}@media (min-width:768px){.bdt-paranoia-slider .bdt-main-title{font-size:145px}.bdt-paranoia-slider .bdt-sub-title{font-size:20px}.bdt-paranoia-slider .bdt-gallery-wrap{border-radius:25vw 25vw 0 0;width:100%}.bdt-paranoia-slider .bdt-inner-top-content{margin-top:-120px}.bdt-paranoia-slider .bdt-text{display:block;margin:0 50px 30px 50px}.bdt-paranoia-slider .bdt-link-btn{padding:15px 22px;font-size:16px}.bdt-paranoia-slider .nav{align-self:start}.bdt-paranoia-slider .nav__text{display:block}.bdt-paranoia-slider .bdt-nav-img-inner{width:var(--nav-width);height:var(--nav-height)}.bdt-paranoia-slider .bdt-nav-imgwrap{width:var(--nav-width);height:var(--nav-height)}.bdt-paranoia-slider .bdt-link-btn:before{width:50px;height:65px}}@media (min-width:1024px){.bdt-paranoia-slider .bdt-main-title{font-size:215px}.bdt-paranoia-slider .bdt-text{margin:0 70px 30px 70px}}
|
1 |
+
:root{--nav-width:60px;--nav-height:100px}.bdt-paranoia-slider{position:relative;overflow:hidden;height:100vh;width:100%;display:grid;grid-template-columns:20% 60% 20%;grid-template-rows:25% 1fr 29.5% 8.5%}.bdt-paranoia-slider .unbutton{background:none;border:0;padding:0;margin:0;font:inherit}.bdt-paranoia-slider .unbutton:focus{outline:none}.bdt-paranoia-slider .no-select{user-select:none}.bdt-paranoia-slider .bdt-slideshow{position:relative;height:100vh;display:grid;grid-template-areas:'... img ...' 'nav-prev img nav-next' '... img ...' 'title title title';grid-area:2 / 2 / 5 / 3;grid-template-columns:20% 100% 20%;grid-template-rows:38% 20% 42%;justify-content:center}.bdt-paranoia-slider .meta{position:absolute;top:0;right:0;left:0;text-align:center;z-index:1;height:100%;width:100%}.bdt-paranoia-slider .bdt-meta-content-wrap{display:grid;color:#fff;height:100%;width:100%}.bdt-paranoia-slider .bdt-meta-item-content{opacity:0;grid-area:1 / 1 / 2 / 2;will-change:opacity,transform;height:100%;width:100%}.bdt-paranoia-slider .bdt-sub-title{font-size:18px;margin-top:0;color:#2B2D42;text-transform:uppercase;margin-bottom:10px;font-weight:500;letter-spacing:10px}.bdt-paranoia-slider .bdt-main-title{margin:0;font-size:55px;text-transform:uppercase;color:#2B2D42}.bdt-paranoia-slider .bdt-inner-top-content{margin-top:20px;position:absolute;top:0;right:50%;transform:translateX(50%)}.bdt-paranoia-slider .bdt-inner-bottom-content{position:absolute;bottom:40%;right:0;left:0;width:100%}.bdt-paranoia-slider .bdt-text{font-size:15px;color:#2B2D42;line-height:1.6;display:none}.bdt-paranoia-slider .bdt-text p{margin:0}.bdt-paranoia-slider .bdt-link-btn{position:relative;display:inline-block;color:#2B2D42;margin:auto;padding:10px 8px;font-size:13px;font-weight:600;text-decoration:none;transition:all .2s ease;z-index:111}.bdt-paranoia-slider .bdt-link-btn:hover{color:#fe506c}.bdt-paranoia-slider .bdt-link-btn:before{content:"";position:absolute;top:50%;transform:translateY(-50%);right:0;border-radius:25px;background:#fe506c;width:40px;height:50px;transition:all .3s ease}.bdt-paranoia-slider .bdt-link-btn span{position:relative}.bdt-paranoia-slider .bdt-link-btn i{margin-right:10px;transform:translateX(5px);transition:all .3s ease}.bdt-paranoia-slider .bdt-link-btn:hover{color:#f2f3f8}.bdt-paranoia-slider .bdt-link-btn:hover i{transform:translateX(0)}.bdt-paranoia-slider .bdt-link-btn:hover::before{width:100%;right:0}.bdt-paranoia-slider .bdt-link-btn:hover:active{transform:scale(.96)}.bdt-paranoia-slider .bdt-gallery-wrap{grid-area:img;width:100%;height:100%;overflow:hidden;position:relative;margin-top:auto;border-radius:35vw 35vw 0 0;justify-self:center;z-index:0}.bdt-paranoia-slider .bdt-gallery-img{overflow:hidden;position:absolute;opacity:0;pointer-events:none;width:100%;height:100%;will-change:opacity,transform}.bdt-paranoia-slider .bdt-gallery-img.bdt-slides-img::before{position:absolute;content:'';width:100%;height:100%;background:rgba(6,6,6,0.089);z-index:1}.bdt-paranoia-slider .no-js .bdt-gallery-img:first-child{opacity:1}.bdt-paranoia-slider .bdt-gallery-img-inner{width:100%;height:100%;background-size:cover;background-position:50% 50%;will-change:filter,transform}.bdt-paranoia-slider .nav{text-align:center;cursor:pointer;display:flex;flex-direction:column;align-self:center;position:relative}.bdt-paranoia-slider .nav .nav__text{opacity:0;transition:all .3s ease;position:absolute;top:50%;right:50%;transform:translate(50%, -50%) scale(0);z-index:1111}.bdt-paranoia-slider .nav:hover .nav__text{color:#2B2D42;opacity:1;transform:translate(50%, -50%) scale(1)}.bdt-paranoia-slider .no-js .nav{display:none}.bdt-paranoia-slider .bdt-nav--prev{grid-area:nav-prev;align-items:center;margin-left:20px}.bdt-paranoia-slider .bdt-nav--next{grid-area:nav-next;align-items:center;margin-right:20px}.bdt-paranoia-slider .bdt-nav-imgwrap{width:40px;height:80px;border-radius:30px;overflow:hidden;position:relative;display:grid;grid-template-rows:100%;grid-template-columns:100% 100%}.bdt-paranoia-slider .bdt-nav-img{grid-area:1 / 1 / 2 / 2;position:relative;overflow:hidden;opacity:0;pointer-events:none;will-change:opacity,transform}.bdt-paranoia-slider .bdt-nav-img-inner{width:40px;height:80px;background-size:cover;will-change:filter,transform;position:relative}.bdt-paranoia-slider .nav__text{text-transform:uppercase;cursor:pointer;display:none;color:#f2f3f8;font-size:14px;font-weight:600;transition:all .3s ease}.bdt-paranoia-slider .bdt__slides__img--current{pointer-events:auto;opacity:1;z-index:1000}@media (min-width:768px){.bdt-paranoia-slider .bdt-main-title{font-size:145px}.bdt-paranoia-slider .bdt-sub-title{font-size:20px}.bdt-paranoia-slider .bdt-gallery-wrap{border-radius:25vw 25vw 0 0;width:100%}.bdt-paranoia-slider .bdt-inner-top-content{margin-top:-120px}.bdt-paranoia-slider .bdt-text{display:block;margin:0 50px 30px 50px}.bdt-paranoia-slider .bdt-link-btn{padding:15px 22px;font-size:16px}.bdt-paranoia-slider .nav{align-self:start}.bdt-paranoia-slider .nav__text{display:block}.bdt-paranoia-slider .bdt-nav-img-inner{width:var(--nav-width);height:var(--nav-height)}.bdt-paranoia-slider .bdt-nav-imgwrap{width:var(--nav-width);height:var(--nav-height)}.bdt-paranoia-slider .bdt-link-btn:before{width:50px;height:65px}}@media (min-width:1024px){.bdt-paranoia-slider .bdt-main-title{font-size:215px}.bdt-paranoia-slider .bdt-text{margin:0 70px 30px 70px}}
|
assets/css/ps-pieces.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.bdt-pieces-slider{position:relative;text-align:center;min-height:60vh;overflow:hidden}.bdt-pieces-slider .pieces-slider__slide{position:absolute;right:100%}.bdt-pieces-slider .pieces-slider__image{max-width:600px;max-height:400px;visibility:hidden}.bdt-pieces-slider .pieces-slider__text{text-indent:-9999px}.bdt-pieces-slider .pieces-slider__canvas{position:relative;width:100%;height:70vh;transition:.2s opacity}.bdt-pieces-slider .pieces-slider__canvas--hidden{opacity:0;transition-duration:.3s}.bdt-pieces-slider .pieces-slider__button{position:absolute;left:0;top:50%;transform:translateY(-50%);font-size:13px;letter-spacing:5px;padding:18px;background-color:#556068;color:#fff;font-family:inherit;font-weight:bold;border:none;text-transform:uppercase;cursor:pointer;transition:.1s background-color}.bdt-pieces-slider .pieces-slider__button:hover{background:#495157}.bdt-pieces-slider .pieces-slider__button--next{left:auto;right:0}@media screen and (max-width:768px){.bdt-pieces-slider .pieces-slider__image{max-width:300px}.bdt-pieces-slider .bdt-pieces-slider{min-height:60vh}.bdt-pieces-slider .pieces-slider__canvas{height:80vh}.bdt-pieces-slider .pieces-slider__button{padding:10px 6px;font-size:9px;letter-spacing:1px}}
|
assets/css/ps-pieces.rtl.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.bdt-pieces-slider{position:relative;text-align:center;min-height:60vh;overflow:hidden}.bdt-pieces-slider .pieces-slider__slide{position:absolute;left:100%}.bdt-pieces-slider .pieces-slider__image{max-width:600px;max-height:400px;visibility:hidden}.bdt-pieces-slider .pieces-slider__text{text-indent:-9999px}.bdt-pieces-slider .pieces-slider__canvas{position:relative;width:100%;height:70vh;transition:.2s opacity}.bdt-pieces-slider .pieces-slider__canvas--hidden{opacity:0;transition-duration:.3s}.bdt-pieces-slider .pieces-slider__button{position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:13px;letter-spacing:5px;padding:18px;background-color:#556068;color:#fff;font-family:inherit;font-weight:bold;border:none;text-transform:uppercase;cursor:pointer;transition:.1s background-color}.bdt-pieces-slider .pieces-slider__button:hover{background:#495157}.bdt-pieces-slider .pieces-slider__button--next{right:auto;left:0}@media screen and (max-width:768px){.bdt-pieces-slider .pieces-slider__image{max-width:300px}.bdt-pieces-slider .bdt-pieces-slider{min-height:60vh}.bdt-pieces-slider .pieces-slider__canvas{height:80vh}.bdt-pieces-slider .pieces-slider__button{padding:10px 6px;font-size:9px;letter-spacing:1px}}
|
assets/fonts/prime-slider-font.svg
CHANGED
@@ -114,6 +114,10 @@
|
|
114 |
<glyph unicode="" glyph-name="foxico-slider" d="M278.528 314.88v0c-1.024 0-2.048 0-2.048 1.024v257.024c0 1.024 1.024 1.024 1.024 1.024v0c1.024 0 1.024-1.024 1.024-1.024v-257.024c1.024-1.024 1.024-1.024 0-1.024zM286.72 450.048c0-4.524-3.668-8.192-8.192-8.192s-8.192 3.668-8.192 8.192c0 4.524 3.668 8.192 8.192 8.192s8.192-3.668 8.192-8.192zM286.72 524.8c0-4.524-3.668-8.192-8.192-8.192s-8.192 3.668-8.192 8.192c0 4.524 3.668 8.192 8.192 8.192s8.192-3.668 8.192-8.192zM293.888 367.104c0-8.483-6.877-15.36-15.36-15.36s-15.36 6.877-15.36 15.36c0 8.483 6.877 15.36 15.36 15.36s15.36-6.877 15.36-15.36zM844.8 217.6h-666.624c-15.36 0-28.672 12.288-28.672 28.672v403.456c0 15.36 12.288 28.672 28.672 28.672h666.624c15.36 0 28.672-12.288 28.672-28.672v-404.48c0-15.36-13.312-27.648-28.672-27.648zM178.176 657.92c-4.096 0-8.192-3.072-8.192-8.192v-404.48c0-4.096 3.072-8.192 8.192-8.192h666.624c4.096 0 8.192 3.072 8.192 8.192v404.48c0 4.096-3.072 8.192-8.192 8.192h-666.624zM544.768 332.288h-128c-10.24 0-18.432 8.192-18.432 18.432v194.56c0 10.24 8.192 18.432 18.432 18.432h128c10.24 0 18.432-8.192 18.432-18.432v-194.56c0-11.264-8.192-18.432-18.432-18.432zM418.816 352.768h123.904v189.44h-123.904v-189.44zM415.744 393.728l-11.264 16.384 50.176 34.816c7.168 5.12 17.408 4.096 24.576-2.048l15.36-14.336 56.32 34.816 11.264-17.408-57.344-35.84c-7.168-5.12-17.408-4.096-23.552 2.048l-15.36 15.36-50.176-33.792zM492.544 470.528c-15.36 0-27.648 12.288-27.648 27.648s12.288 27.648 27.648 27.648 27.648-12.288 27.648-27.648-12.288-27.648-27.648-27.648zM492.544 506.368c-4.096 0-7.168-3.072-7.168-7.168s3.072-7.168 7.168-7.168 7.168 3.072 7.168 7.168c1.024 4.096-3.072 7.168-7.168 7.168zM711.68 352.768h-105.472c-8.192 0-14.336 6.144-14.336 14.336v159.744c0 8.192 6.144 14.336 14.336 14.336h105.472c8.192 0 14.336-6.144 14.336-14.336v-159.744c0-8.192-6.144-14.336-14.336-14.336zM608.256 369.152h101.376v155.648h-101.376v-155.648zM606.208 402.944l-10.24 14.336 40.96 28.672c6.144 4.096 14.336 3.072 19.456-1.024l12.288-11.264 46.080 28.672 9.216-14.336-46.080-30.72c-6.144-4.096-14.336-3.072-19.456 2.048l-12.288 11.264-39.936-27.648zM668.672 466.432c-12.288 0-22.528 10.24-22.528 22.528s10.24 22.528 22.528 22.528c12.288 0 22.528-10.24 22.528-22.528s-9.216-22.528-22.528-22.528zM668.672 496.128c-3.072 0-6.144-3.072-6.144-6.144s3.072-6.144 6.144-6.144c3.072 0 6.144 3.072 6.144 6.144s-3.072 6.144-6.144 6.144zM771.072 524.8h80.896v16.384h-82.944c-8.192 0-14.336-6.144-14.336-15.36v-159.744c0-8.192 6.144-15.36 14.336-15.36h82.944v17.408h-80.896v156.672zM852.992 444.928v-19.456l-11.264-8.192c-6.144-4.096-14.336-3.072-19.456 2.048l-12.288 11.264-40.96-27.648-9.216 14.336 40.96 28.672c6.144 4.096 14.336 4.096 19.456-1.024l12.288-11.264 20.48 11.264zM832.512 512.512c-12.288 0-22.528-10.24-22.528-22.528s10.24-22.528 22.528-22.528c9.216 0 16.384 5.12 20.48 12.288v21.504c-4.096 6.144-11.264 11.264-20.48 11.264zM832.512 482.816c-3.072 0-6.144 3.072-6.144 6.144s3.072 6.144 6.144 6.144c3.072 0 6.144-3.072 6.144-6.144s-3.072-6.144-6.144-6.144z" />
|
115 |
<glyph unicode="" glyph-name="woocircle" d="M516.096 676.352c-126.976 0-231.424-103.424-231.424-230.4s104.448-231.424 231.424-231.424c35.84 0 69.632 8.192 99.328 22.528 6.144 3.072 12.288 6.144 18.432 10.24-5.12 4.096-9.216 10.24-11.264 17.408-6.144-3.072-12.288-7.168-18.432-10.24-26.624-12.288-57.344-19.456-88.064-19.456-115.712 0-210.944 94.208-210.944 209.92s94.208 209.92 210.944 209.92c115.712 0 209.92-94.208 209.92-209.92 0-46.080-14.336-88.064-39.936-122.88-4.096-5.12-8.192-11.264-13.312-16.384 6.144-3.072 11.264-8.192 14.336-14.336 5.12 5.12 9.216 11.264 13.312 16.384 28.672 37.888 45.056 84.992 45.056 136.192 2.048 129.024-102.4 232.448-229.376 232.448zM252.928 176.64l-80.896 60.416h163.84v-20.48h-101.376l30.72-22.528zM771.072 764.416l80.896-59.392h-162.816v20.48h101.376l-31.744 22.528zM842.752 410.112c-3.072 0-5.12 1.024-7.168 3.072-4.096 4.096-3.072 10.24 1.024 14.336l18.432 17.408-20.48 20.48c-4.096 4.096-4.096 10.24 0 14.336s10.24 4.096 14.336 0l27.648-27.648c2.048-2.048 3.072-5.12 3.072-7.168 0-3.072-1.024-5.12-3.072-7.168l-26.624-24.576c-2.048-2.048-4.096-3.072-7.168-3.072zM187.392 413.184c-2.048 0-5.12 1.024-7.168 3.072l-26.624 24.576c-2.048 2.048-3.072 4.096-3.072 7.168s1.024 5.12 3.072 7.168l27.648 27.648c4.096 4.096 10.24 4.096 14.336 0s4.096-10.24 0-14.336l-20.48-20.48 18.432-17.408c4.096-4.096 4.096-10.24 1.024-14.336-1.024-2.048-4.096-3.072-7.168-3.072zM702.464 309.76c-4.096 5.12-9.216 10.24-15.36 14.336-8.192 5.12-18.432 8.192-29.696 8.192-30.72 0-56.32-25.6-56.32-56.32 0-7.168 1.024-14.336 4.096-20.48 2.048-6.144 6.144-12.288 11.264-17.408 10.24-11.264 25.6-18.432 41.984-18.432 30.72 0 56.32 25.6 56.32 56.32-1.024 12.288-5.12 23.552-12.288 33.792zM657.408 239.104c-8.192 0-16.384 3.072-22.528 8.192-5.12 4.096-9.216 10.24-11.264 17.408-1.024 3.072-2.048 7.168-2.048 10.24 0 19.456 16.384 35.84 35.84 35.84 6.144 0 11.264-1.024 16.384-4.096 6.144-3.072 11.264-8.192 14.336-14.336 3.072-5.12 4.096-11.264 4.096-17.408 1.024-19.456-15.36-35.84-34.816-35.84zM507.904 506.368c-26.624 0-48.128 21.504-48.128 48.128s21.504 48.128 48.128 48.128c26.624 0 48.128-21.504 48.128-48.128s-21.504-48.128-48.128-48.128zM507.904 582.144c-15.36 0-27.648-12.288-27.648-27.648s12.288-27.648 27.648-27.648 27.648 12.288 27.648 27.648-13.312 27.648-27.648 27.648zM315.392 350.72c-3.072 0-7.168 2.048-8.192 5.12-3.072 5.12-2.048 11.264 3.072 14.336l150.528 96.256c4.096 2.048 8.192 2.048 12.288-1.024l84.992-66.56 152.576 142.336c4.096 4.096 10.24 4.096 14.336 0s4.096-10.24 0-14.336l-159.744-148.48c-4.096-3.072-9.216-4.096-13.312-1.024l-86.016 67.584-145.408-93.184c-2.048-1.024-4.096-1.024-5.12-1.024zM676.864 280.064h-15.36v14.336c0 3.072-2.048 5.12-5.12 5.12s-5.12-2.048-5.12-5.12v-15.36h-15.36c-3.072 0-5.12-2.048-5.12-5.12s2.048-5.12 5.12-5.12h15.36v-15.36c0-3.072 2.048-5.12 5.12-5.12s5.12 2.048 5.12 5.12v15.36h15.36c3.072 0 5.12 2.048 5.12 5.12s-2.048 6.144-5.12 6.144zM605.184 139.776h-186.368c-6.144 0-10.24 4.096-10.24 10.24s4.096 10.24 10.24 10.24h186.368c6.144 0 10.24-4.096 10.24-10.24s-4.096-10.24-10.24-10.24zM544.768 92.672h-64.512c-6.144 0-10.24 4.096-10.24 10.24s4.096 10.24 10.24 10.24h64.512c6.144 0 10.24-4.096 10.24-10.24s-5.12-10.24-10.24-10.24z" />
|
116 |
<glyph unicode="" glyph-name="diagonal" d="M562.176 299.52h-134.144c-3.072 0-6.144 2.048-6.144 6.144v3.072c0 3.072 2.048 6.144 6.144 6.144h134.144c3.072 0 6.144-2.048 6.144-6.144v-3.072c-1.024-3.072-3.072-6.144-6.144-6.144zM468.992 271.872h-40.96c-3.072 0-6.144 2.048-6.144 6.144v3.072c0 3.072 2.048 6.144 6.144 6.144h40.96c3.072 0 6.144-2.048 6.144-6.144v-3.072c-1.024-4.096-3.072-6.144-6.144-6.144zM456.704 325.12h-28.672c-3.072 0-5.12 2.048-5.12 5.12v19.456c0 3.072 2.048 5.12 5.12 5.12h28.672c3.072 0 5.12-2.048 5.12-5.12v-19.456c1.024-3.072-2.048-5.12-5.12-5.12zM586.752 643.584h-185.344c-14.336 0-26.624-12.288-26.624-26.624v-350.208c0-14.336 12.288-26.624 26.624-26.624h185.344c14.336 0 26.624 12.288 26.624 26.624v350.208c0 14.336-12.288 26.624-26.624 26.624zM596.992 267.776c0-5.12-4.096-10.24-10.24-10.24h-185.344c-5.12 0-10.24 4.096-10.24 10.24v349.184c0 5.12 4.096 10.24 10.24 10.24h185.344c5.12 0 10.24-4.096 10.24-10.24v-349.184zM619.52 673.28h-185.344c-14.336 0-26.624-12.288-26.624-26.624v-19.456h16.384v19.456c0 5.12 4.096 10.24 10.24 10.24h185.344c5.12 0 10.24-4.096 10.24-10.24v-350.208c0-5.12-4.096-10.24-10.24-10.24h-22.528v-16.384h22.528c14.336 0 26.624 12.288 26.624 26.624v350.208c0 14.336-12.288 26.624-26.624 26.624zM510.976 474.624c-22.528 0-40.96 18.432-40.96 40.96s18.432 40.96 40.96 40.96c22.528 0 40.96-18.432 40.96-40.96 1.024-22.528-17.408-40.96-40.96-40.96zM510.976 544.256c-15.36 0-27.648-12.288-27.648-27.648s12.288-27.648 27.648-27.648c15.36 0 27.648 12.288 27.648 27.648s-12.288 27.648-27.648 27.648zM391.168 359.936c-3.072 0-5.12 1.024-7.168 3.072-3.072 4.096-2.048 9.216 2.048 11.264l98.304 69.632c3.072 2.048 8.192 2.048 10.24-1.024l24.576-23.552 79.872 68.608c3.072 3.072 9.216 3.072 12.288-1.024 3.072-3.072 3.072-9.216-1.024-12.288l-84.992-72.704c-3.072-3.072-8.192-3.072-11.264 0l-25.6 25.6-93.184-66.56c-1.024-1.024-3.072-1.024-4.096-1.024zM237.568 706.048c-14.336 0-25.6 11.264-25.6 25.6s11.264 25.6 25.6 25.6c14.336 0 25.6-11.264 25.6-25.6s-11.264-25.6-25.6-25.6zM237.568 749.056c-9.216 0-17.408-8.192-17.408-17.408s8.192-17.408 17.408-17.408 17.408 8.192 17.408 17.408-8.192 17.408-17.408 17.408zM282.624 556.544h-115.712c-9.216 0-16.384 7.168-16.384 16.384v220.16c0 9.216 7.168 16.384 16.384 16.384h116.736c9.216 0 16.384-7.168 16.384-16.384v-219.136c0-10.24-8.192-17.408-17.408-17.408zM166.912 799.232c-3.072 0-6.144-3.072-6.144-6.144v-219.136c0-3.072 3.072-6.144 6.144-6.144h116.736c3.072 0 6.144 3.072 6.144 6.144v219.136c0 3.072-3.072 6.144-6.144 6.144h-116.736zM159.744 631.296c-2.048 0-3.072 1.024-4.096 2.048-2.048 2.048-1.024 6.144 1.024 7.168l62.464 44.032c2.048 1.024 5.12 1.024 7.168 0l15.36-14.336 50.176 43.008c2.048 2.048 5.12 2.048 7.168-1.024 2.048-2.048 2.048-5.12-1.024-7.168l-53.248-46.080c-2.048-2.048-5.12-2.048-7.168 0l-16.384 14.336-58.368-40.96c-1.024-1.024-2.048-1.024-3.072-1.024zM812.032 235.008c-14.336 0-25.6 11.264-25.6 25.6s11.264 25.6 25.6 25.6c14.336 0 25.6-11.264 25.6-25.6 0-13.312-11.264-25.6-25.6-25.6zM812.032 279.040c-9.216 0-17.408-8.192-17.408-17.408s8.192-17.408 17.408-17.408 17.408 8.192 17.408 17.408-8.192 17.408-17.408 17.408zM858.112 85.504h-116.736c-9.216 0-16.384 7.168-16.384 16.384v220.16c0 9.216 7.168 16.384 16.384 16.384h116.736c9.216 0 16.384-7.168 16.384-16.384v-219.136c0-10.24-7.168-17.408-16.384-17.408zM741.376 328.192c-3.072 0-6.144-3.072-6.144-6.144v-219.136c0-3.072 3.072-6.144 6.144-6.144h116.736c3.072 0 6.144 3.072 6.144 6.144v219.136c0 3.072-3.072 6.144-6.144 6.144h-116.736zM734.208 160.256c-2.048 0-3.072 1.024-4.096 2.048-2.048 2.048-1.024 6.144 1.024 7.168l62.464 44.032c2.048 1.024 5.12 1.024 7.168 0l15.36-14.336 50.176 43.008c2.048 2.048 5.12 2.048 7.168-1.024 2.048-2.048 2.048-5.12-1.024-7.168l-53.248-46.080c-2.048-2.048-5.12-2.048-7.168 0l-16.384 14.336-58.368-40.96c-1.024-1.024-2.048-1.024-3.072-1.024zM402.432 764.416c3.072 0 5.12 2.048 5.12 5.12v19.456l78.848-62.464c2.048-2.048 6.144-1.024 7.168 1.024 2.048 2.048 1.024 6.144-1.024 7.168l-76.8 61.44h21.504c3.072 0 5.12 2.048 5.12 5.12s-2.048 5.12-5.12 5.12v0h-34.816c-3.072 0-5.12-2.048-5.12-5.12v-31.744c0-3.072 2.048-5.12 5.12-5.12zM611.328 128.512c-3.072 0-5.12-2.048-5.12-5.12v-19.456l-78.848 62.464c-2.048 2.048-6.144 1.024-7.168-1.024-2.048-2.048-1.024-6.144 1.024-7.168l76.8-61.44h-21.504c-3.072 0-5.12-2.048-5.12-5.12s2.048-5.12 5.12-5.12v0h34.816c3.072 0 5.12 2.048 5.12 5.12v31.744c0 2.048-2.048 5.12-5.12 5.12z" />
|
|
|
|
|
|
|
|
|
117 |
<glyph unicode="" glyph-name="tutorial" d="M384 608l320-192-320-192v384zM512-14.754c-9.674 0-18.83 4.376-24.904 11.906-37.65 46.66-144.478 98.848-231.096 98.848-83.564 0-159.858-30.212-199.096-78.848-8.52-10.558-22.77-14.596-35.558-10.078-12.792 4.518-21.346 16.61-21.346 30.174v672c0 7.312 2.504 14.404 7.096 20.094 51.094 63.322 146.468 102.658 248.904 102.658 93.278 0 197.908-46.594 256-97.208 58.094 50.614 162.724 97.208 256 97.208 102.436 0 197.804-39.336 248.9-102.658 4.592-5.69 7.1-12.782 7.1-20.094v-672c0-13.564-8.552-25.656-21.348-30.174-12.792-4.516-27.042-0.476-35.556 10.078-39.244 48.636-115.534 78.848-199.096 78.848-86.62 0-193.45-52.188-231.096-98.848-6.076-7.528-15.23-11.906-24.904-11.906zM256 160c93.278 0 197.908-46.594 256-97.208 58.092 50.614 162.722 97.208 256 97.208 71.714 0 139.972-19.286 192-52.578v589.898c-40.904 43.826-113.22 70.68-192 70.68-86.62 0-193.45-52.186-231.096-98.848-6.076-7.53-15.23-11.906-24.904-11.906s-18.83 4.376-24.904 11.906c-37.65 46.662-144.48 98.848-231.096 98.848-78.784 0-151.096-26.854-192-70.68v-589.898c52.022 33.292 120.282 52.578 192 52.578z" />
|
118 |
<glyph unicode="" glyph-name="preview" d="M96 488h570l-28 16h-542zM96 520h514l-28 16h-486zM96 552h458l-28 16h-430zM96 584h402l-28 16h-374zM96 456h626l-28 16h-598zM96 424h682l-28 16h-654zM96 392h738l-28 16h-710zM96 776h66l-28 16h-38zM96 376v-16h794l-28 16zM96 744h122l-28 16h-94zM96 712h178l-28 16h-150zM96 648h290l-28 16h-262zM96 680h234l-28 16h-206zM96 616h346l-28 16h-318zM0 896v-640h1024v640h-1024zM960 320h-896v512h896v-512zM672 192h-320l-32-128-64-64h512l-64 64z" />
|
119 |
</font></defs></svg>
|
114 |
<glyph unicode="" glyph-name="foxico-slider" d="M278.528 314.88v0c-1.024 0-2.048 0-2.048 1.024v257.024c0 1.024 1.024 1.024 1.024 1.024v0c1.024 0 1.024-1.024 1.024-1.024v-257.024c1.024-1.024 1.024-1.024 0-1.024zM286.72 450.048c0-4.524-3.668-8.192-8.192-8.192s-8.192 3.668-8.192 8.192c0 4.524 3.668 8.192 8.192 8.192s8.192-3.668 8.192-8.192zM286.72 524.8c0-4.524-3.668-8.192-8.192-8.192s-8.192 3.668-8.192 8.192c0 4.524 3.668 8.192 8.192 8.192s8.192-3.668 8.192-8.192zM293.888 367.104c0-8.483-6.877-15.36-15.36-15.36s-15.36 6.877-15.36 15.36c0 8.483 6.877 15.36 15.36 15.36s15.36-6.877 15.36-15.36zM844.8 217.6h-666.624c-15.36 0-28.672 12.288-28.672 28.672v403.456c0 15.36 12.288 28.672 28.672 28.672h666.624c15.36 0 28.672-12.288 28.672-28.672v-404.48c0-15.36-13.312-27.648-28.672-27.648zM178.176 657.92c-4.096 0-8.192-3.072-8.192-8.192v-404.48c0-4.096 3.072-8.192 8.192-8.192h666.624c4.096 0 8.192 3.072 8.192 8.192v404.48c0 4.096-3.072 8.192-8.192 8.192h-666.624zM544.768 332.288h-128c-10.24 0-18.432 8.192-18.432 18.432v194.56c0 10.24 8.192 18.432 18.432 18.432h128c10.24 0 18.432-8.192 18.432-18.432v-194.56c0-11.264-8.192-18.432-18.432-18.432zM418.816 352.768h123.904v189.44h-123.904v-189.44zM415.744 393.728l-11.264 16.384 50.176 34.816c7.168 5.12 17.408 4.096 24.576-2.048l15.36-14.336 56.32 34.816 11.264-17.408-57.344-35.84c-7.168-5.12-17.408-4.096-23.552 2.048l-15.36 15.36-50.176-33.792zM492.544 470.528c-15.36 0-27.648 12.288-27.648 27.648s12.288 27.648 27.648 27.648 27.648-12.288 27.648-27.648-12.288-27.648-27.648-27.648zM492.544 506.368c-4.096 0-7.168-3.072-7.168-7.168s3.072-7.168 7.168-7.168 7.168 3.072 7.168 7.168c1.024 4.096-3.072 7.168-7.168 7.168zM711.68 352.768h-105.472c-8.192 0-14.336 6.144-14.336 14.336v159.744c0 8.192 6.144 14.336 14.336 14.336h105.472c8.192 0 14.336-6.144 14.336-14.336v-159.744c0-8.192-6.144-14.336-14.336-14.336zM608.256 369.152h101.376v155.648h-101.376v-155.648zM606.208 402.944l-10.24 14.336 40.96 28.672c6.144 4.096 14.336 3.072 19.456-1.024l12.288-11.264 46.080 28.672 9.216-14.336-46.080-30.72c-6.144-4.096-14.336-3.072-19.456 2.048l-12.288 11.264-39.936-27.648zM668.672 466.432c-12.288 0-22.528 10.24-22.528 22.528s10.24 22.528 22.528 22.528c12.288 0 22.528-10.24 22.528-22.528s-9.216-22.528-22.528-22.528zM668.672 496.128c-3.072 0-6.144-3.072-6.144-6.144s3.072-6.144 6.144-6.144c3.072 0 6.144 3.072 6.144 6.144s-3.072 6.144-6.144 6.144zM771.072 524.8h80.896v16.384h-82.944c-8.192 0-14.336-6.144-14.336-15.36v-159.744c0-8.192 6.144-15.36 14.336-15.36h82.944v17.408h-80.896v156.672zM852.992 444.928v-19.456l-11.264-8.192c-6.144-4.096-14.336-3.072-19.456 2.048l-12.288 11.264-40.96-27.648-9.216 14.336 40.96 28.672c6.144 4.096 14.336 4.096 19.456-1.024l12.288-11.264 20.48 11.264zM832.512 512.512c-12.288 0-22.528-10.24-22.528-22.528s10.24-22.528 22.528-22.528c9.216 0 16.384 5.12 20.48 12.288v21.504c-4.096 6.144-11.264 11.264-20.48 11.264zM832.512 482.816c-3.072 0-6.144 3.072-6.144 6.144s3.072 6.144 6.144 6.144c3.072 0 6.144-3.072 6.144-6.144s-3.072-6.144-6.144-6.144z" />
|
115 |
<glyph unicode="" glyph-name="woocircle" d="M516.096 676.352c-126.976 0-231.424-103.424-231.424-230.4s104.448-231.424 231.424-231.424c35.84 0 69.632 8.192 99.328 22.528 6.144 3.072 12.288 6.144 18.432 10.24-5.12 4.096-9.216 10.24-11.264 17.408-6.144-3.072-12.288-7.168-18.432-10.24-26.624-12.288-57.344-19.456-88.064-19.456-115.712 0-210.944 94.208-210.944 209.92s94.208 209.92 210.944 209.92c115.712 0 209.92-94.208 209.92-209.92 0-46.080-14.336-88.064-39.936-122.88-4.096-5.12-8.192-11.264-13.312-16.384 6.144-3.072 11.264-8.192 14.336-14.336 5.12 5.12 9.216 11.264 13.312 16.384 28.672 37.888 45.056 84.992 45.056 136.192 2.048 129.024-102.4 232.448-229.376 232.448zM252.928 176.64l-80.896 60.416h163.84v-20.48h-101.376l30.72-22.528zM771.072 764.416l80.896-59.392h-162.816v20.48h101.376l-31.744 22.528zM842.752 410.112c-3.072 0-5.12 1.024-7.168 3.072-4.096 4.096-3.072 10.24 1.024 14.336l18.432 17.408-20.48 20.48c-4.096 4.096-4.096 10.24 0 14.336s10.24 4.096 14.336 0l27.648-27.648c2.048-2.048 3.072-5.12 3.072-7.168 0-3.072-1.024-5.12-3.072-7.168l-26.624-24.576c-2.048-2.048-4.096-3.072-7.168-3.072zM187.392 413.184c-2.048 0-5.12 1.024-7.168 3.072l-26.624 24.576c-2.048 2.048-3.072 4.096-3.072 7.168s1.024 5.12 3.072 7.168l27.648 27.648c4.096 4.096 10.24 4.096 14.336 0s4.096-10.24 0-14.336l-20.48-20.48 18.432-17.408c4.096-4.096 4.096-10.24 1.024-14.336-1.024-2.048-4.096-3.072-7.168-3.072zM702.464 309.76c-4.096 5.12-9.216 10.24-15.36 14.336-8.192 5.12-18.432 8.192-29.696 8.192-30.72 0-56.32-25.6-56.32-56.32 0-7.168 1.024-14.336 4.096-20.48 2.048-6.144 6.144-12.288 11.264-17.408 10.24-11.264 25.6-18.432 41.984-18.432 30.72 0 56.32 25.6 56.32 56.32-1.024 12.288-5.12 23.552-12.288 33.792zM657.408 239.104c-8.192 0-16.384 3.072-22.528 8.192-5.12 4.096-9.216 10.24-11.264 17.408-1.024 3.072-2.048 7.168-2.048 10.24 0 19.456 16.384 35.84 35.84 35.84 6.144 0 11.264-1.024 16.384-4.096 6.144-3.072 11.264-8.192 14.336-14.336 3.072-5.12 4.096-11.264 4.096-17.408 1.024-19.456-15.36-35.84-34.816-35.84zM507.904 506.368c-26.624 0-48.128 21.504-48.128 48.128s21.504 48.128 48.128 48.128c26.624 0 48.128-21.504 48.128-48.128s-21.504-48.128-48.128-48.128zM507.904 582.144c-15.36 0-27.648-12.288-27.648-27.648s12.288-27.648 27.648-27.648 27.648 12.288 27.648 27.648-13.312 27.648-27.648 27.648zM315.392 350.72c-3.072 0-7.168 2.048-8.192 5.12-3.072 5.12-2.048 11.264 3.072 14.336l150.528 96.256c4.096 2.048 8.192 2.048 12.288-1.024l84.992-66.56 152.576 142.336c4.096 4.096 10.24 4.096 14.336 0s4.096-10.24 0-14.336l-159.744-148.48c-4.096-3.072-9.216-4.096-13.312-1.024l-86.016 67.584-145.408-93.184c-2.048-1.024-4.096-1.024-5.12-1.024zM676.864 280.064h-15.36v14.336c0 3.072-2.048 5.12-5.12 5.12s-5.12-2.048-5.12-5.12v-15.36h-15.36c-3.072 0-5.12-2.048-5.12-5.12s2.048-5.12 5.12-5.12h15.36v-15.36c0-3.072 2.048-5.12 5.12-5.12s5.12 2.048 5.12 5.12v15.36h15.36c3.072 0 5.12 2.048 5.12 5.12s-2.048 6.144-5.12 6.144zM605.184 139.776h-186.368c-6.144 0-10.24 4.096-10.24 10.24s4.096 10.24 10.24 10.24h186.368c6.144 0 10.24-4.096 10.24-10.24s-4.096-10.24-10.24-10.24zM544.768 92.672h-64.512c-6.144 0-10.24 4.096-10.24 10.24s4.096 10.24 10.24 10.24h64.512c6.144 0 10.24-4.096 10.24-10.24s-5.12-10.24-10.24-10.24z" />
|
116 |
<glyph unicode="" glyph-name="diagonal" d="M562.176 299.52h-134.144c-3.072 0-6.144 2.048-6.144 6.144v3.072c0 3.072 2.048 6.144 6.144 6.144h134.144c3.072 0 6.144-2.048 6.144-6.144v-3.072c-1.024-3.072-3.072-6.144-6.144-6.144zM468.992 271.872h-40.96c-3.072 0-6.144 2.048-6.144 6.144v3.072c0 3.072 2.048 6.144 6.144 6.144h40.96c3.072 0 6.144-2.048 6.144-6.144v-3.072c-1.024-4.096-3.072-6.144-6.144-6.144zM456.704 325.12h-28.672c-3.072 0-5.12 2.048-5.12 5.12v19.456c0 3.072 2.048 5.12 5.12 5.12h28.672c3.072 0 5.12-2.048 5.12-5.12v-19.456c1.024-3.072-2.048-5.12-5.12-5.12zM586.752 643.584h-185.344c-14.336 0-26.624-12.288-26.624-26.624v-350.208c0-14.336 12.288-26.624 26.624-26.624h185.344c14.336 0 26.624 12.288 26.624 26.624v350.208c0 14.336-12.288 26.624-26.624 26.624zM596.992 267.776c0-5.12-4.096-10.24-10.24-10.24h-185.344c-5.12 0-10.24 4.096-10.24 10.24v349.184c0 5.12 4.096 10.24 10.24 10.24h185.344c5.12 0 10.24-4.096 10.24-10.24v-349.184zM619.52 673.28h-185.344c-14.336 0-26.624-12.288-26.624-26.624v-19.456h16.384v19.456c0 5.12 4.096 10.24 10.24 10.24h185.344c5.12 0 10.24-4.096 10.24-10.24v-350.208c0-5.12-4.096-10.24-10.24-10.24h-22.528v-16.384h22.528c14.336 0 26.624 12.288 26.624 26.624v350.208c0 14.336-12.288 26.624-26.624 26.624zM510.976 474.624c-22.528 0-40.96 18.432-40.96 40.96s18.432 40.96 40.96 40.96c22.528 0 40.96-18.432 40.96-40.96 1.024-22.528-17.408-40.96-40.96-40.96zM510.976 544.256c-15.36 0-27.648-12.288-27.648-27.648s12.288-27.648 27.648-27.648c15.36 0 27.648 12.288 27.648 27.648s-12.288 27.648-27.648 27.648zM391.168 359.936c-3.072 0-5.12 1.024-7.168 3.072-3.072 4.096-2.048 9.216 2.048 11.264l98.304 69.632c3.072 2.048 8.192 2.048 10.24-1.024l24.576-23.552 79.872 68.608c3.072 3.072 9.216 3.072 12.288-1.024 3.072-3.072 3.072-9.216-1.024-12.288l-84.992-72.704c-3.072-3.072-8.192-3.072-11.264 0l-25.6 25.6-93.184-66.56c-1.024-1.024-3.072-1.024-4.096-1.024zM237.568 706.048c-14.336 0-25.6 11.264-25.6 25.6s11.264 25.6 25.6 25.6c14.336 0 25.6-11.264 25.6-25.6s-11.264-25.6-25.6-25.6zM237.568 749.056c-9.216 0-17.408-8.192-17.408-17.408s8.192-17.408 17.408-17.408 17.408 8.192 17.408 17.408-8.192 17.408-17.408 17.408zM282.624 556.544h-115.712c-9.216 0-16.384 7.168-16.384 16.384v220.16c0 9.216 7.168 16.384 16.384 16.384h116.736c9.216 0 16.384-7.168 16.384-16.384v-219.136c0-10.24-8.192-17.408-17.408-17.408zM166.912 799.232c-3.072 0-6.144-3.072-6.144-6.144v-219.136c0-3.072 3.072-6.144 6.144-6.144h116.736c3.072 0 6.144 3.072 6.144 6.144v219.136c0 3.072-3.072 6.144-6.144 6.144h-116.736zM159.744 631.296c-2.048 0-3.072 1.024-4.096 2.048-2.048 2.048-1.024 6.144 1.024 7.168l62.464 44.032c2.048 1.024 5.12 1.024 7.168 0l15.36-14.336 50.176 43.008c2.048 2.048 5.12 2.048 7.168-1.024 2.048-2.048 2.048-5.12-1.024-7.168l-53.248-46.080c-2.048-2.048-5.12-2.048-7.168 0l-16.384 14.336-58.368-40.96c-1.024-1.024-2.048-1.024-3.072-1.024zM812.032 235.008c-14.336 0-25.6 11.264-25.6 25.6s11.264 25.6 25.6 25.6c14.336 0 25.6-11.264 25.6-25.6 0-13.312-11.264-25.6-25.6-25.6zM812.032 279.040c-9.216 0-17.408-8.192-17.408-17.408s8.192-17.408 17.408-17.408 17.408 8.192 17.408 17.408-8.192 17.408-17.408 17.408zM858.112 85.504h-116.736c-9.216 0-16.384 7.168-16.384 16.384v220.16c0 9.216 7.168 16.384 16.384 16.384h116.736c9.216 0 16.384-7.168 16.384-16.384v-219.136c0-10.24-7.168-17.408-16.384-17.408zM741.376 328.192c-3.072 0-6.144-3.072-6.144-6.144v-219.136c0-3.072 3.072-6.144 6.144-6.144h116.736c3.072 0 6.144 3.072 6.144 6.144v219.136c0 3.072-3.072 6.144-6.144 6.144h-116.736zM734.208 160.256c-2.048 0-3.072 1.024-4.096 2.048-2.048 2.048-1.024 6.144 1.024 7.168l62.464 44.032c2.048 1.024 5.12 1.024 7.168 0l15.36-14.336 50.176 43.008c2.048 2.048 5.12 2.048 7.168-1.024 2.048-2.048 2.048-5.12-1.024-7.168l-53.248-46.080c-2.048-2.048-5.12-2.048-7.168 0l-16.384 14.336-58.368-40.96c-1.024-1.024-2.048-1.024-3.072-1.024zM402.432 764.416c3.072 0 5.12 2.048 5.12 5.12v19.456l78.848-62.464c2.048-2.048 6.144-1.024 7.168 1.024 2.048 2.048 1.024 6.144-1.024 7.168l-76.8 61.44h21.504c3.072 0 5.12 2.048 5.12 5.12s-2.048 5.12-5.12 5.12v0h-34.816c-3.072 0-5.12-2.048-5.12-5.12v-31.744c0-3.072 2.048-5.12 5.12-5.12zM611.328 128.512c-3.072 0-5.12-2.048-5.12-5.12v-19.456l-78.848 62.464c-2.048 2.048-6.144 1.024-7.168-1.024-2.048-2.048-1.024-6.144 1.024-7.168l76.8-61.44h-21.504c-3.072 0-5.12-2.048-5.12-5.12s2.048-5.12 5.12-5.12v0h34.816c3.072 0 5.12 2.048 5.12 5.12v31.744c0 2.048-2.048 5.12-5.12 5.12z" />
|
117 |
+
<glyph unicode="" glyph-name="arrow-left-0" d="M810.667 405.333h-597.333c-25.6 0-42.667 17.067-42.667 42.667s17.067 42.667 42.667 42.667h597.333c25.6 0 42.667-17.067 42.667-42.667s-17.067-42.667-42.667-42.667zM512 106.667c-12.8 0-21.333 4.267-29.867 12.8l-298.667 298.667c-17.067 17.067-17.067 42.667 0 59.733l298.667 298.667c17.067 17.067 42.667 17.067 59.733 0s17.067-42.667 0-59.733l-268.8-268.8 268.8-268.8c17.067-17.067 17.067-42.667 0-59.733-8.533-8.533-17.067-12.8-29.867-12.8z" />
|
118 |
+
<glyph unicode="" glyph-name="arrow-right-0" d="M810.667 405.333h-597.333c-25.6 0-42.667 17.067-42.667 42.667s17.067 42.667 42.667 42.667h597.333c25.6 0 42.667-17.067 42.667-42.667s-17.067-42.667-42.667-42.667zM512 106.667c-12.8 0-21.333 4.267-29.867 12.8-17.067 17.067-17.067 42.667 0 59.733l268.8 268.8-268.8 268.8c-17.067 17.067-17.067 42.667 0 59.733s42.667 17.067 59.733 0l298.667-298.667c17.067-17.067 17.067-42.667 0-59.733l-298.667-298.667c-8.533-8.533-17.067-12.8-29.867-12.8z" />
|
119 |
+
<glyph unicode="" glyph-name="pieces" d="M628.736 468.48c-24.576 0-44.032 19.456-44.032 44.032s19.456 44.032 44.032 44.032c24.576 0 44.032-19.456 44.032-44.032 0-23.552-19.456-44.032-44.032-44.032zM628.736 541.184c-15.36 0-28.672-12.288-28.672-28.672 0-15.36 12.288-28.672 28.672-28.672 15.36 0 28.672 12.288 28.672 28.672 0 15.36-13.312 28.672-28.672 28.672zM869.376 432.64h-45.056c-2.048 0-4.096 2.048-4.096 4.096v21.504c0 2.048 2.048 4.096 4.096 4.096h45.056c2.048 0 4.096-2.048 4.096-4.096v-21.504c0-2.048-1.024-4.096-4.096-4.096zM199.68 432.64h-45.056c-2.048 0-4.096 2.048-4.096 4.096v21.504c0 2.048 2.048 4.096 4.096 4.096h45.056c2.048 0 4.096-2.048 4.096-4.096v-21.504c0-2.048-2.048-4.096-4.096-4.096zM738.304 270.848h-124.928c-5.12 0-9.216 4.096-9.216 9.216s4.096 9.216 9.216 9.216h124.928c5.12 0 9.216-4.096 9.216-9.216s-4.096-9.216-9.216-9.216zM795.648 342.528h-27.648v252.928c0 13.312-10.24 23.552-23.552 23.552h-422.912v33.792c0 9.216-7.168 16.384-16.384 16.384h-72.704c-9.216 0-16.384-7.168-16.384-16.384v-73.728c0-9.216 7.168-16.384 16.384-16.384h26.624v-275.456c0-13.312 10.24-23.552 23.552-23.552h251.904v-26.624c0-12.288 10.24-22.528 22.528-22.528h238.592c12.288 0 22.528 10.24 22.528 22.528v82.944c0 12.288-10.24 22.528-22.528 22.528zM236.544 648.704h65.536v-65.536h-65.536v65.536zM279.552 300.544v262.144h26.624c9.216 0 16.384 7.168 16.384 16.384v19.456h422.912c2.048 0 3.072-1.024 3.072-3.072v-116.736l-131.072-66.56c-4.096-2.048-10.24-2.048-14.336 1.024l-91.136 58.368c-12.288 8.192-29.696 7.168-40.96-3.072l-191.488-167.936zM533.504 320v-35.84h-240.64l191.488 167.936c5.12 4.096 12.288 5.12 17.408 1.024l90.112-58.368c10.24-7.168 23.552-7.168 34.816-2.048l121.856 61.44v-113.664h-191.488c-13.312 2.048-23.552-8.192-23.552-20.48zM797.696 237.056c0-1.024-1.024-2.048-2.048-2.048h-238.592c-1.024 0-2.048 1.024-2.048 2.048v82.944c0 1.024 1.024 2.048 2.048 2.048h238.592c1.024 0 2.048-1.024 2.048-2.048v-82.944z" />
|
120 |
+
<glyph unicode="" glyph-name="rasher" d="M845.824 217.6h-667.648c-15.36 0-28.672 12.288-28.672 28.672v403.456c0 15.36 12.288 28.672 28.672 28.672h667.648c15.36 0 28.672-12.288 28.672-28.672v-404.48c-1.024-15.36-13.312-27.648-28.672-27.648zM178.176 657.92c-4.096 0-8.192-3.072-8.192-8.192v-404.48c0-4.096 3.072-8.192 8.192-8.192h667.648c4.096 0 8.192 3.072 8.192 8.192v404.48c0 4.096-3.072 8.192-8.192 8.192h-667.648zM433.152 228.864h-20.48v106.496h113.664v110.592h109.568v114.688h110.592v101.376h20.48v-121.856h-110.592v-114.688h-109.568v-110.592h-113.664zM662.528 270.848h-13.312c-6.144 0-10.24 4.096-10.24 10.24s4.096 10.24 10.24 10.24h13.312c6.144 0 10.24-4.096 10.24-10.24s-4.096-10.24-10.24-10.24zM711.68 270.848h-13.312c-6.144 0-10.24 4.096-10.24 10.24s4.096 10.24 10.24 10.24h13.312c6.144 0 10.24-4.096 10.24-10.24s-5.12-10.24-10.24-10.24zM759.808 270.848h-13.312c-6.144 0-10.24 4.096-10.24 10.24s4.096 10.24 10.24 10.24h13.312c6.144 0 10.24-4.096 10.24-10.24s-5.12-10.24-10.24-10.24zM807.936 270.848h-13.312c-6.144 0-10.24 4.096-10.24 10.24s4.096 10.24 10.24 10.24h13.312c6.144 0 10.24-4.096 10.24-10.24s-4.096-10.24-10.24-10.24z" />
|
121 |
<glyph unicode="" glyph-name="tutorial" d="M384 608l320-192-320-192v384zM512-14.754c-9.674 0-18.83 4.376-24.904 11.906-37.65 46.66-144.478 98.848-231.096 98.848-83.564 0-159.858-30.212-199.096-78.848-8.52-10.558-22.77-14.596-35.558-10.078-12.792 4.518-21.346 16.61-21.346 30.174v672c0 7.312 2.504 14.404 7.096 20.094 51.094 63.322 146.468 102.658 248.904 102.658 93.278 0 197.908-46.594 256-97.208 58.094 50.614 162.724 97.208 256 97.208 102.436 0 197.804-39.336 248.9-102.658 4.592-5.69 7.1-12.782 7.1-20.094v-672c0-13.564-8.552-25.656-21.348-30.174-12.792-4.516-27.042-0.476-35.556 10.078-39.244 48.636-115.534 78.848-199.096 78.848-86.62 0-193.45-52.188-231.096-98.848-6.076-7.528-15.23-11.906-24.904-11.906zM256 160c93.278 0 197.908-46.594 256-97.208 58.092 50.614 162.722 97.208 256 97.208 71.714 0 139.972-19.286 192-52.578v589.898c-40.904 43.826-113.22 70.68-192 70.68-86.62 0-193.45-52.186-231.096-98.848-6.076-7.53-15.23-11.906-24.904-11.906s-18.83 4.376-24.904 11.906c-37.65 46.662-144.48 98.848-231.096 98.848-78.784 0-151.096-26.854-192-70.68v-589.898c52.022 33.292 120.282 52.578 192 52.578z" />
|
122 |
<glyph unicode="" glyph-name="preview" d="M96 488h570l-28 16h-542zM96 520h514l-28 16h-486zM96 552h458l-28 16h-430zM96 584h402l-28 16h-374zM96 456h626l-28 16h-598zM96 424h682l-28 16h-654zM96 392h738l-28 16h-710zM96 776h66l-28 16h-38zM96 376v-16h794l-28 16zM96 744h122l-28 16h-94zM96 712h178l-28 16h-150zM96 648h290l-28 16h-262zM96 680h234l-28 16h-206zM96 616h346l-28 16h-318zM0 896v-640h1024v640h-1024zM960 320h-896v512h896v-512zM672 192h-320l-32-128-64-64h512l-64 64z" />
|
123 |
</font></defs></svg>
|
assets/fonts/prime-slider-font.ttf
CHANGED
Binary file
|
assets/fonts/prime-slider-font.woff
CHANGED
Binary file
|
assets/fonts/prime-slider-font.woff2
CHANGED
Binary file
|
assets/js/widgets/ps-pieces.js
ADDED
@@ -0,0 +1,337 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function ($, elementor) {
|
2 |
+
|
3 |
+
'use strict';
|
4 |
+
|
5 |
+
var widgetPieces = function ($scope, $) {
|
6 |
+
var $pieces = $scope.find('.bdt-pieces-slider'),
|
7 |
+
$settings = $pieces.data('settings');
|
8 |
+
|
9 |
+
if (!$pieces.length) {
|
10 |
+
return;
|
11 |
+
}
|
12 |
+
|
13 |
+
(function () {
|
14 |
+
|
15 |
+
// Get all images and texts, get the `canvas` element, and save slider length
|
16 |
+
var sliderCanvas = document.querySelector($settings.id + ' .pieces-slider__canvas');
|
17 |
+
var imagesEl = [].slice.call(document.querySelectorAll($settings.id + ' .pieces-slider__image'));
|
18 |
+
var textEl = [].slice.call(document.querySelectorAll($settings.id + ' .pieces-slider__text'));
|
19 |
+
var slidesLength = imagesEl.length;
|
20 |
+
|
21 |
+
// Define indexes related variables and functions
|
22 |
+
var currentIndex = 0,
|
23 |
+
currentImageIndex, currentTextIndex, currentNumberIndex;
|
24 |
+
// Update current indexes for image, text and number
|
25 |
+
function updateIndexes() {
|
26 |
+
currentImageIndex = currentIndex * 3;
|
27 |
+
currentTextIndex = currentImageIndex + 1;
|
28 |
+
currentNumberIndex = currentImageIndex + 2;
|
29 |
+
}
|
30 |
+
updateIndexes();
|
31 |
+
var textIndexes = [];
|
32 |
+
var numberIndexes = [];
|
33 |
+
|
34 |
+
// Some other useful variables
|
35 |
+
var windowWidth = window.innerWidth;
|
36 |
+
var piecesSlider;
|
37 |
+
|
38 |
+
// Options for images
|
39 |
+
var imageOptions = {
|
40 |
+
angle: 45,
|
41 |
+
extraSpacing: {
|
42 |
+
extraX: 100,
|
43 |
+
extraY: 200
|
44 |
+
},
|
45 |
+
piecesWidth: function () {
|
46 |
+
return Pieces.random(50, 200);
|
47 |
+
},
|
48 |
+
ty: function () {
|
49 |
+
return Pieces.random(-400, 400);
|
50 |
+
}
|
51 |
+
};
|
52 |
+
|
53 |
+
// Options for texts
|
54 |
+
var textOptions = {
|
55 |
+
color: $settings.title.color || '#fff',
|
56 |
+
backgroundColor: $settings.title.background || '#556068',
|
57 |
+
backgroundRadius: $settings.title.backgroundRadius || 0,
|
58 |
+
fontSize: function () {
|
59 |
+
var fontSizeDesktop = $settings.title.fontSizeDesktop || 50,
|
60 |
+
fontSizeTablet = $settings.title.fontSizeTablet || 30;
|
61 |
+
return windowWidth > 768 ? fontSizeDesktop : fontSizeTablet;
|
62 |
+
},
|
63 |
+
fontFamily: [$settings.title.fontFamily] || ["'Open Sans', sans-serif"],
|
64 |
+
padding: `${$settings.title.padding.top || 15} ${$settings.title.padding.right || 20} ${$settings.title.padding.bottom || 10} ${$settings.title.padding.left || 20}`,
|
65 |
+
angle: -45,
|
66 |
+
piecesSpacing: 2,
|
67 |
+
extraSpacing: {
|
68 |
+
extraX: 0,
|
69 |
+
extraY: 300
|
70 |
+
},
|
71 |
+
piecesWidth: function () {
|
72 |
+
return Pieces.random(50, 200);
|
73 |
+
},
|
74 |
+
ty: function () {
|
75 |
+
return Pieces.random(-200, 200);
|
76 |
+
},
|
77 |
+
translate: function () {
|
78 |
+
if (windowWidth > 1120) return {
|
79 |
+
translateX: 200,
|
80 |
+
translateY: 200
|
81 |
+
};
|
82 |
+
if (windowWidth > 768) return {
|
83 |
+
translateX: 0,
|
84 |
+
translateY: 200
|
85 |
+
};
|
86 |
+
return {
|
87 |
+
translateX: 0,
|
88 |
+
translateY: 100
|
89 |
+
};
|
90 |
+
}
|
91 |
+
};
|
92 |
+
|
93 |
+
// Options for numbers
|
94 |
+
var numberOptions = {
|
95 |
+
// color: 'white',
|
96 |
+
// backgroundColor: '#556068',
|
97 |
+
// fontSize: function() { return windowWidth > 768 ? 60 : 20; },
|
98 |
+
// padding: function() { return windowWidth > 768 ? '18 35 10 38' : '18 25 10 28'; },
|
99 |
+
|
100 |
+
|
101 |
+
color: $settings.number.color || '#fff',
|
102 |
+
backgroundColor: $settings.number.background || '#556068',
|
103 |
+
backgroundRadius: $settings.number.backgroundRadius || 0,
|
104 |
+
fontSize: function () {
|
105 |
+
var fontSizeDesktop = $settings.number.fontSizeDesktop || 50,
|
106 |
+
fontSizeTablet = $settings.number.fontSizeTablet || 30;
|
107 |
+
return windowWidth > 768 ? fontSizeDesktop : fontSizeTablet;
|
108 |
+
},
|
109 |
+
fontFamily: [$settings.number.fontFamily] || ["'Open Sans', sans-serif"],
|
110 |
+
padding: `${$settings.number.padding.top || 18} ${$settings.number.padding.right || 25} ${$settings.number.padding.bottom || 10} ${$settings.number.padding.left || 30}`,
|
111 |
+
|
112 |
+
|
113 |
+
angle: 0,
|
114 |
+
piecesSpacing: 2,
|
115 |
+
extraSpacing: {
|
116 |
+
extraX: 10,
|
117 |
+
extraY: 10
|
118 |
+
},
|
119 |
+
piecesWidth: 35,
|
120 |
+
ty: function () {
|
121 |
+
return Pieces.random(-200, 200);
|
122 |
+
},
|
123 |
+
translate: function () {
|
124 |
+
if (windowWidth > 1120) return {
|
125 |
+
translateX: -340,
|
126 |
+
translateY: -180
|
127 |
+
};
|
128 |
+
if (windowWidth > 768) return {
|
129 |
+
translateX: -240,
|
130 |
+
translateY: -180
|
131 |
+
};
|
132 |
+
return {
|
133 |
+
translateX: -140,
|
134 |
+
translateY: -100
|
135 |
+
};
|
136 |
+
}
|
137 |
+
};
|
138 |
+
|
139 |
+
// Build the array of items to draw using Pieces
|
140 |
+
var items = [];
|
141 |
+
var imagesReady = 0;
|
142 |
+
for (var i = 0; i < slidesLength; i++) {
|
143 |
+
// Wait for all images to load before initializing the slider and event listeners
|
144 |
+
var slideImage = new Image();
|
145 |
+
slideImage.onload = function () {
|
146 |
+
if (++imagesReady == slidesLength) {
|
147 |
+
initSlider();
|
148 |
+
initEvents();
|
149 |
+
}
|
150 |
+
};
|
151 |
+
// Push all elements for each slide with the corresponding options
|
152 |
+
items.push({
|
153 |
+
type: 'image',
|
154 |
+
value: imagesEl[i],
|
155 |
+
options: imageOptions
|
156 |
+
});
|
157 |
+
items.push({
|
158 |
+
type: 'text',
|
159 |
+
value: textEl[i].innerText,
|
160 |
+
options: textOptions
|
161 |
+
});
|
162 |
+
items.push({
|
163 |
+
type: 'text',
|
164 |
+
value: i + 1,
|
165 |
+
options: numberOptions
|
166 |
+
});
|
167 |
+
// Save indexes
|
168 |
+
textIndexes.push(i * 3 + 1);
|
169 |
+
numberIndexes.push(i * 3 + 2);
|
170 |
+
// Set image src
|
171 |
+
slideImage.src = imagesEl[i].src;
|
172 |
+
}
|
173 |
+
|
174 |
+
// Initialize a Pieces instance with all items we want to draw
|
175 |
+
function initSlider() {
|
176 |
+
// Stop any current animation if the slider was initialized before
|
177 |
+
if (piecesSlider) {
|
178 |
+
piecesSlider.stop();
|
179 |
+
}
|
180 |
+
|
181 |
+
// Save the new Pieces instance
|
182 |
+
piecesSlider = new Pieces({
|
183 |
+
canvas: sliderCanvas,
|
184 |
+
items: items,
|
185 |
+
x: 'centerAll',
|
186 |
+
y: 'centerAll',
|
187 |
+
piecesSpacing: 1,
|
188 |
+
// fontFamily: ["'Rubik Mono One', sans-serif"],
|
189 |
+
animation: {
|
190 |
+
duration: function () {
|
191 |
+
return Pieces.random(1000, 2000);
|
192 |
+
},
|
193 |
+
easing: 'easeOutQuint'
|
194 |
+
},
|
195 |
+
// debug: true
|
196 |
+
});
|
197 |
+
|
198 |
+
// Animate all numbers to rotate clockwise indefinitely
|
199 |
+
piecesSlider.animateItems({
|
200 |
+
items: numberIndexes,
|
201 |
+
duration: 20000,
|
202 |
+
angle: 360,
|
203 |
+
loop: true
|
204 |
+
});
|
205 |
+
|
206 |
+
// Show current items: image, text and number
|
207 |
+
showItems();
|
208 |
+
}
|
209 |
+
|
210 |
+
// Init Event Listeners
|
211 |
+
function initEvents() {
|
212 |
+
// Select prev or next slide using buttons
|
213 |
+
document.querySelector($settings.id + ' .pieces-slider__button--prev').addEventListener('click', prevItem);
|
214 |
+
document.querySelector($settings.id + ' .pieces-slider__button--next').addEventListener('click', nextItem);
|
215 |
+
|
216 |
+
// Select prev or next slide using arrow keys
|
217 |
+
document.addEventListener('keydown', function (e) {
|
218 |
+
if (e.keyCode == 37) { // left
|
219 |
+
prevItem();
|
220 |
+
} else if (e.keyCode == 39) { // right
|
221 |
+
nextItem();
|
222 |
+
}
|
223 |
+
});
|
224 |
+
|
225 |
+
// Handle `resize` event
|
226 |
+
window.addEventListener('resize', resizeStart);
|
227 |
+
}
|
228 |
+
|
229 |
+
// Show current items: image, text and number
|
230 |
+
function showItems() {
|
231 |
+
// Show image pieces
|
232 |
+
piecesSlider.showPieces({
|
233 |
+
items: currentImageIndex,
|
234 |
+
ignore: ['tx'],
|
235 |
+
singly: true,
|
236 |
+
update: (anim) => {
|
237 |
+
// Stop the pieces animation at 60%, and run a new indefinitely animation of `ty` for each piece
|
238 |
+
if (anim.progress > 60) {
|
239 |
+
var piece = anim.animatables[0].target;
|
240 |
+
var ty = piece.ty;
|
241 |
+
anime.remove(piece);
|
242 |
+
anime({
|
243 |
+
targets: piece,
|
244 |
+
ty: piece.h_ty < 300 ? [{
|
245 |
+
value: ty + 10,
|
246 |
+
duration: 1000
|
247 |
+
}, {
|
248 |
+
value: ty - 10,
|
249 |
+
duration: 2000
|
250 |
+
}, {
|
251 |
+
value: ty,
|
252 |
+
duration: 1000
|
253 |
+
}] : [{
|
254 |
+
value: ty - 10,
|
255 |
+
duration: 1000
|
256 |
+
}, {
|
257 |
+
value: ty + 10,
|
258 |
+
duration: 2000
|
259 |
+
}, {
|
260 |
+
value: ty,
|
261 |
+
duration: 1000
|
262 |
+
}],
|
263 |
+
duration: 2000,
|
264 |
+
easing: 'linear',
|
265 |
+
loop: true
|
266 |
+
});
|
267 |
+
}
|
268 |
+
}
|
269 |
+
});
|
270 |
+
// Show pieces for text and number, using alternate `ty` values
|
271 |
+
piecesSlider.showPieces({
|
272 |
+
items: currentTextIndex
|
273 |
+
});
|
274 |
+
piecesSlider.showPieces({
|
275 |
+
items: currentNumberIndex,
|
276 |
+
ty: function (p, i) {
|
277 |
+
return p.s_ty - [-3, 3][i % 2];
|
278 |
+
}
|
279 |
+
});
|
280 |
+
}
|
281 |
+
|
282 |
+
// Hide current items: image, text and number
|
283 |
+
function hideItems() {
|
284 |
+
piecesSlider.hidePieces({
|
285 |
+
items: [currentImageIndex, currentTextIndex, currentNumberIndex]
|
286 |
+
});
|
287 |
+
}
|
288 |
+
|
289 |
+
// Select the prev item: hide current items, update indexes, and show the new current item
|
290 |
+
function prevItem() {
|
291 |
+
hideItems();
|
292 |
+
currentIndex = currentIndex > 0 ? currentIndex - 1 : slidesLength - 1;
|
293 |
+
updateIndexes();
|
294 |
+
showItems();
|
295 |
+
}
|
296 |
+
|
297 |
+
// Select the next item: hide current items, update indexes, and show the new current item
|
298 |
+
function nextItem() {
|
299 |
+
hideItems();
|
300 |
+
currentIndex = currentIndex < slidesLength - 1 ? currentIndex + 1 : 0;
|
301 |
+
updateIndexes();
|
302 |
+
showItems();
|
303 |
+
}
|
304 |
+
|
305 |
+
// Handle `resize` event
|
306 |
+
|
307 |
+
var initial = true,
|
308 |
+
hideTimer, resizeTimer;
|
309 |
+
|
310 |
+
// User starts resizing, so wait 300 ms before reinitialize the slider
|
311 |
+
function resizeStart() {
|
312 |
+
if (initial) {
|
313 |
+
initial = false;
|
314 |
+
if (hideTimer) clearTimeout(hideTimer);
|
315 |
+
sliderCanvas.classList.add('pieces-slider__canvas--hidden');
|
316 |
+
}
|
317 |
+
if (resizeTimer) clearTimeout(resizeTimer);
|
318 |
+
resizeTimer = setTimeout(resizeEnd, 300);
|
319 |
+
}
|
320 |
+
|
321 |
+
// User ends resizing, then reinitialize the slider
|
322 |
+
function resizeEnd() {
|
323 |
+
initial = true;
|
324 |
+
windowWidth = window.innerWidth;
|
325 |
+
initSlider();
|
326 |
+
hideTimer = setTimeout(() => {
|
327 |
+
sliderCanvas.classList.remove('pieces-slider__canvas--hidden');
|
328 |
+
}, 500);
|
329 |
+
}
|
330 |
+
})();
|
331 |
+
};
|
332 |
+
|
333 |
+
jQuery(window).on('elementor/frontend/init', function () {
|
334 |
+
elementorFrontend.hooks.addAction('frontend/element_ready/prime-slider-pieces.default', widgetPieces);
|
335 |
+
});
|
336 |
+
|
337 |
+
}(jQuery, window.elementorFrontend));
|
assets/js/widgets/ps-pieces.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(e,t){"use strict";var n=function(e,t){var n=e.find(".bdt-pieces-slider"),i=n.data("settings");n.length&&function(){var e,t,n,a=document.querySelector(i.id+" .pieces-slider__canvas"),r=[].slice.call(document.querySelectorAll(i.id+" .pieces-slider__image")),o=[].slice.call(document.querySelectorAll(i.id+" .pieces-slider__text")),s=r.length,d=0;function u(){t=(e=3*d)+1,n=e+2}u();for(var c,l=[],p=[],m=window.innerWidth,f={angle:45,extraSpacing:{extraX:100,extraY:200},piecesWidth:function(){return Pieces.random(50,200)},ty:function(){return Pieces.random(-400,400)}},g={color:i.title.color||"#fff",backgroundColor:i.title.background||"#556068",backgroundRadius:i.title.backgroundRadius||0,fontSize:function(){var e=i.title.fontSizeDesktop||50,t=i.title.fontSizeTablet||30;return m>768?e:t},fontFamily:[i.title.fontFamily]||["'Open Sans', sans-serif"],padding:`${i.title.padding.top||15} ${i.title.padding.right||20} ${i.title.padding.bottom||10} ${i.title.padding.left||20}`,angle:-45,piecesSpacing:2,extraSpacing:{extraX:0,extraY:300},piecesWidth:function(){return Pieces.random(50,200)},ty:function(){return Pieces.random(-200,200)},translate:function(){return m>1120?{translateX:200,translateY:200}:m>768?{translateX:0,translateY:200}:{translateX:0,translateY:100}}},v={color:i.number.color||"#fff",backgroundColor:i.number.background||"#556068",backgroundRadius:i.number.backgroundRadius||0,fontSize:function(){var e=i.number.fontSizeDesktop||50,t=i.number.fontSizeTablet||30;return m>768?e:t},fontFamily:[i.number.fontFamily]||["'Open Sans', sans-serif"],padding:`${i.number.padding.top||18} ${i.number.padding.right||25} ${i.number.padding.bottom||10} ${i.number.padding.left||30}`,angle:0,piecesSpacing:2,extraSpacing:{extraX:10,extraY:10},piecesWidth:35,ty:function(){return Pieces.random(-200,200)},translate:function(){return m>1120?{translateX:-340,translateY:-180}:m>768?{translateX:-240,translateY:-180}:{translateX:-140,translateY:-100}}},y=[],b=0,h=0;h<s;h++){var S=new Image;S.onload=function(){++b==s&&(_(),k())},y.push({type:"image",value:r[h],options:f}),y.push({type:"text",value:o[h].innerText,options:g}),y.push({type:"text",value:h+1,options:v}),l.push(3*h+1),p.push(3*h+2),S.src=r[h].src}function _(){c&&c.stop(),(c=new Pieces({canvas:a,items:y,x:"centerAll",y:"centerAll",piecesSpacing:1,animation:{duration:function(){return Pieces.random(1e3,2e3)},easing:"easeOutQuint"}})).animateItems({items:p,duration:2e4,angle:360,loop:!0}),w()}function k(){document.querySelector(i.id+" .pieces-slider__button--prev").addEventListener("click",P),document.querySelector(i.id+" .pieces-slider__button--next").addEventListener("click",X),document.addEventListener("keydown",(function(e){37==e.keyCode?P():39==e.keyCode&&X()})),window.addEventListener("resize",T)}function w(){c.showPieces({items:e,ignore:["tx"],singly:!0,update:e=>{if(e.progress>60){var t=e.animatables[0].target,n=t.ty;anime.remove(t),anime({targets:t,ty:t.h_ty<300?[{value:n+10,duration:1e3},{value:n-10,duration:2e3},{value:n,duration:1e3}]:[{value:n-10,duration:1e3},{value:n+10,duration:2e3},{value:n,duration:1e3}],duration:2e3,easing:"linear",loop:!0})}}}),c.showPieces({items:t}),c.showPieces({items:n,ty:function(e,t){return e.s_ty-[-3,3][t%2]}})}function x(){c.hidePieces({items:[e,t,n]})}function P(){x(),d=d>0?d-1:s-1,u(),w()}function X(){x(),d=d<s-1?d+1:0,u(),w()}var Y,$,z=!0;function T(){z&&(z=!1,Y&&clearTimeout(Y),a.classList.add("pieces-slider__canvas--hidden")),$&&clearTimeout($),$=setTimeout(F,300)}function F(){z=!0,m=window.innerWidth,_(),Y=setTimeout((()=>{a.classList.remove("pieces-slider__canvas--hidden")}),500)}}()};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/prime-slider-pieces.default",n)}))}(jQuery,window.elementorFrontend);
|
assets/vendor/js/pieces.js
ADDED
@@ -0,0 +1,877 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
!(function (t, e) {
|
2 |
+
"object" == typeof exports && "undefined" != typeof module
|
3 |
+
? (module.exports = e())
|
4 |
+
: "function" == typeof define && define.amd
|
5 |
+
? define("Pieces", e)
|
6 |
+
: (t.Pieces = e());
|
7 |
+
})(this, function () {
|
8 |
+
"use strict";
|
9 |
+
function t(t) {
|
10 |
+
this.reset(t);
|
11 |
+
}
|
12 |
+
function e(t, e) {
|
13 |
+
return t.indexOf(e) > -1;
|
14 |
+
}
|
15 |
+
function i(t, e) {
|
16 |
+
for (var i in e) t[i] = g.arr(e[i]) ? e[i].slice(0) : e[i];
|
17 |
+
return t;
|
18 |
+
}
|
19 |
+
function n(t, e) {
|
20 |
+
t || (t = {});
|
21 |
+
for (var n = 1; n < arguments.length; n++) i(t, arguments[n]);
|
22 |
+
return t;
|
23 |
+
}
|
24 |
+
function a(t, e) {
|
25 |
+
t.push.apply(t, e);
|
26 |
+
}
|
27 |
+
function o() {
|
28 |
+
var t = document.createElement("canvas"),
|
29 |
+
e = t.getContext("2d");
|
30 |
+
return { canvas: t, ctx: e };
|
31 |
+
}
|
32 |
+
function r(t, e) {
|
33 |
+
e.forEach(function (e) {
|
34 |
+
g.arr(t[e]) || (t[e] = g.und(t[e]) ? [] : [t[e]]);
|
35 |
+
});
|
36 |
+
}
|
37 |
+
function h(t, e, i, n) {
|
38 |
+
var a = void 0;
|
39 |
+
return (
|
40 |
+
i.forEach(function (i) {
|
41 |
+
(a = t[i][e]), g.und(a) || (n[i] = a);
|
42 |
+
}),
|
43 |
+
n
|
44 |
+
);
|
45 |
+
}
|
46 |
+
function s(t, e, i) {
|
47 |
+
return !i.some(function (i) {
|
48 |
+
return t[i] !== e[i];
|
49 |
+
});
|
50 |
+
}
|
51 |
+
function c(t, e, i) {
|
52 |
+
i.forEach(function (i) {
|
53 |
+
return (t[i] = e[i]);
|
54 |
+
});
|
55 |
+
}
|
56 |
+
function u(t) {
|
57 |
+
return t >= 0 ? t % 360 : (t % 360) + 360;
|
58 |
+
}
|
59 |
+
function d(t, e) {
|
60 |
+
return (
|
61 |
+
t &&
|
62 |
+
e &&
|
63 |
+
t.left <= e.right &&
|
64 |
+
e.left <= t.right &&
|
65 |
+
t.top <= e.bottom &&
|
66 |
+
e.top <= t.bottom
|
67 |
+
);
|
68 |
+
}
|
69 |
+
function f(t, e, i, n, a, o) {
|
70 |
+
return (
|
71 |
+
n < 2 * o && (o = n / 2),
|
72 |
+
a < 2 * o && (o = a / 2),
|
73 |
+
t.beginPath(),
|
74 |
+
t.moveTo(e + o, i),
|
75 |
+
t.arcTo(e + n, i, e + n, i + a, o),
|
76 |
+
t.arcTo(e + n, i + a, e, i + a, o),
|
77 |
+
t.arcTo(e, i + a, e, i, o),
|
78 |
+
t.arcTo(e, i, e + n, i, o),
|
79 |
+
t.closePath(),
|
80 |
+
t
|
81 |
+
);
|
82 |
+
}
|
83 |
+
function l(t) {
|
84 |
+
var e = n({}, this.defaults.animation, t.animation);
|
85 |
+
this.init(n({}, this.defaults, t, { animation: e }));
|
86 |
+
}
|
87 |
+
t.prototype = {
|
88 |
+
reset: function (t) {
|
89 |
+
(this.m = [1, 0, 0, 1, 0, 0]), t && this.apply(t);
|
90 |
+
},
|
91 |
+
rotate: function (t) {
|
92 |
+
var e = Math.cos(t),
|
93 |
+
i = Math.sin(t),
|
94 |
+
n = this.m[0] * e + this.m[2] * i,
|
95 |
+
a = this.m[1] * e + this.m[3] * i,
|
96 |
+
o = this.m[0] * -i + this.m[2] * e,
|
97 |
+
r = this.m[1] * -i + this.m[3] * e;
|
98 |
+
(this.m[0] = n), (this.m[1] = a), (this.m[2] = o), (this.m[3] = r);
|
99 |
+
},
|
100 |
+
translate: function (t, e) {
|
101 |
+
(this.m[4] += this.m[0] * t + this.m[2] * e),
|
102 |
+
(this.m[5] += this.m[1] * t + this.m[3] * e);
|
103 |
+
},
|
104 |
+
transformPoint: function (t, e) {
|
105 |
+
var i = t * this.m[0] + e * this.m[2] + this.m[4],
|
106 |
+
n = t * this.m[1] + e * this.m[3] + this.m[5];
|
107 |
+
return [i, n];
|
108 |
+
},
|
109 |
+
apply: function (t) {
|
110 |
+
t.setTransform(
|
111 |
+
this.m[0],
|
112 |
+
this.m[1],
|
113 |
+
this.m[2],
|
114 |
+
this.m[3],
|
115 |
+
this.m[4],
|
116 |
+
this.m[5]
|
117 |
+
);
|
118 |
+
},
|
119 |
+
};
|
120 |
+
var g = {
|
121 |
+
arr: function (t) {
|
122 |
+
return Array.isArray(t);
|
123 |
+
},
|
124 |
+
obj: function (t) {
|
125 |
+
return e(Object.prototype.toString.call(t), "Object");
|
126 |
+
},
|
127 |
+
str: function (t) {
|
128 |
+
return "string" == typeof t;
|
129 |
+
},
|
130 |
+
fnc: function (t) {
|
131 |
+
return "function" == typeof t;
|
132 |
+
},
|
133 |
+
und: function (t) {
|
134 |
+
return "undefined" == typeof t;
|
135 |
+
},
|
136 |
+
num: function (t) {
|
137 |
+
return "number" == typeof t;
|
138 |
+
},
|
139 |
+
};
|
140 |
+
return (
|
141 |
+
(l.prototype = {
|
142 |
+
defaults: {
|
143 |
+
canvas: null,
|
144 |
+
items: [],
|
145 |
+
image: [],
|
146 |
+
text: [],
|
147 |
+
path: [],
|
148 |
+
x: 0,
|
149 |
+
y: 0,
|
150 |
+
w: [0],
|
151 |
+
h: [0],
|
152 |
+
tx: [0],
|
153 |
+
ty: [0],
|
154 |
+
itemSeparation: 1,
|
155 |
+
piecesWidth: [5],
|
156 |
+
piecesSpacing: [5],
|
157 |
+
extraSpacing: [{ extraX: 0, extraY: 0 }],
|
158 |
+
angle: [0],
|
159 |
+
rotate: [0],
|
160 |
+
translate: [{ translateX: 0, translateY: 0 }],
|
161 |
+
padding: [0],
|
162 |
+
opacity: [1],
|
163 |
+
fontFamily: ["sans-serif"],
|
164 |
+
fontSize: [100],
|
165 |
+
fontWeight: [900],
|
166 |
+
color: ["#000"],
|
167 |
+
backgroundColor: !1,
|
168 |
+
backgroundRadius: 0,
|
169 |
+
ghostOpacity: 0,
|
170 |
+
checkHover: !1,
|
171 |
+
animation: { duration: [1e3], delay: [0], easing: ["easeInOutCubic"] },
|
172 |
+
saveShowState: !1,
|
173 |
+
debug: !1,
|
174 |
+
ready: null,
|
175 |
+
},
|
176 |
+
init: function (t) {
|
177 |
+
var e = this;
|
178 |
+
this.initOptions(t),
|
179 |
+
this.initCanvas(t),
|
180 |
+
this.initEvents(t),
|
181 |
+
t.items.length &&
|
182 |
+
t.items.forEach(function (i) {
|
183 |
+
switch ((e.setItemOptions(t, i.options), i.type)) {
|
184 |
+
case "image":
|
185 |
+
return e.initImage(i.value);
|
186 |
+
case "text":
|
187 |
+
return e.initText(i.value);
|
188 |
+
case "path":
|
189 |
+
return e.initPath(i.value);
|
190 |
+
}
|
191 |
+
}),
|
192 |
+
t.image.length &&
|
193 |
+
t.image.forEach(function (i) {
|
194 |
+
e.setItemOptions(t), e.initImage(i);
|
195 |
+
}),
|
196 |
+
t.text.length &&
|
197 |
+
t.text.forEach(function (i) {
|
198 |
+
e.setItemOptions(t), e.initText(i);
|
199 |
+
}),
|
200 |
+
t.path.length &&
|
201 |
+
t.path.forEach(function (i) {
|
202 |
+
e.setItemOptions(t), e.initPath(i);
|
203 |
+
}),
|
204 |
+
this.drawList.length && (this.initPieces(t), this.loop(t)),
|
205 |
+
t.ready && t.ready();
|
206 |
+
},
|
207 |
+
initOptions: function (t) {
|
208 |
+
var e = t.canvas;
|
209 |
+
g.str(e) && (t.canvas = document.querySelector(e)),
|
210 |
+
r(t, [
|
211 |
+
"items",
|
212 |
+
"image",
|
213 |
+
"text",
|
214 |
+
"path",
|
215 |
+
"w",
|
216 |
+
"h",
|
217 |
+
"tx",
|
218 |
+
"ty",
|
219 |
+
"piecesWidth",
|
220 |
+
"piecesSpacing",
|
221 |
+
"extraSpacing",
|
222 |
+
"angle",
|
223 |
+
"rotate",
|
224 |
+
"translate",
|
225 |
+
"svgWidth",
|
226 |
+
"svgHeight",
|
227 |
+
"color",
|
228 |
+
"backgroundColor",
|
229 |
+
"backgroundRadius",
|
230 |
+
"padding",
|
231 |
+
"opacity",
|
232 |
+
"fontFamily",
|
233 |
+
"fontSize",
|
234 |
+
"fontWeight",
|
235 |
+
"ghost",
|
236 |
+
"ghostOpacity",
|
237 |
+
]),
|
238 |
+
r(t.animation, ["duration", "delay", "easing"]),
|
239 |
+
(this.v = {}),
|
240 |
+
(this.o = []),
|
241 |
+
(this.drawList = []);
|
242 |
+
},
|
243 |
+
initCanvas: function (t) {
|
244 |
+
t.canvas ? (t.ctx = t.canvas.getContext("2d")) : n(t, o()),
|
245 |
+
(t.canvas.width = this.width = t.canvas.clientWidth),
|
246 |
+
(t.canvas.height = this.height = t.canvas.clientHeight);
|
247 |
+
},
|
248 |
+
initEvents: function (t) {
|
249 |
+
var e = this;
|
250 |
+
(t.canvas.onmousemove = function (i) {
|
251 |
+
var n = t.canvas.getBoundingClientRect(),
|
252 |
+
a = i.clientX - n.left,
|
253 |
+
o = i.clientY - n.top,
|
254 |
+
r = n.width / t.canvas.offsetWidth,
|
255 |
+
h = n.height / t.canvas.offsetHeight;
|
256 |
+
(e.mouseX = a * (1 / r)), (e.mouseY = o * (1 / h));
|
257 |
+
}),
|
258 |
+
(t.canvas.onmouseout = function () {
|
259 |
+
(e.mouseX = void 0), (e.mouseY = void 0);
|
260 |
+
});
|
261 |
+
},
|
262 |
+
setItemOptions: function (t, e) {
|
263 |
+
var i = this.drawList.length;
|
264 |
+
h(
|
265 |
+
t,
|
266 |
+
i,
|
267 |
+
[
|
268 |
+
"text",
|
269 |
+
"color",
|
270 |
+
"backgroundColor",
|
271 |
+
"backgroundRadius",
|
272 |
+
"padding",
|
273 |
+
"fontFamily",
|
274 |
+
"fontSize",
|
275 |
+
"fontWeight",
|
276 |
+
"svgWidth",
|
277 |
+
"svgHeight",
|
278 |
+
"piecesWidth",
|
279 |
+
"piecesSpacing",
|
280 |
+
"extraSpacing",
|
281 |
+
"opacity",
|
282 |
+
"angle",
|
283 |
+
"rotate",
|
284 |
+
"translate",
|
285 |
+
"ghost",
|
286 |
+
"ghostOpacity",
|
287 |
+
"w",
|
288 |
+
"h",
|
289 |
+
"tx",
|
290 |
+
"ty",
|
291 |
+
],
|
292 |
+
this.v
|
293 |
+
),
|
294 |
+
h(t.animation, i, ["duration", "delay", "easing"], this.v),
|
295 |
+
this.o.push(n({}, this.v, e || {}));
|
296 |
+
},
|
297 |
+
initImage: function (t) {
|
298 |
+
var e = this.o[this.o.length - 1],
|
299 |
+
i = g.fnc(e.padding) ? e.padding() : e.padding;
|
300 |
+
i = i
|
301 |
+
? i.split(" ").map(function (t) {
|
302 |
+
return parseFloat(t);
|
303 |
+
})
|
304 |
+
: [0, 0, 0, 0];
|
305 |
+
var n = o(),
|
306 |
+
a = n.canvas,
|
307 |
+
r = n.ctx;
|
308 |
+
(a.width = t.width + 2 + i[1] + i[3]),
|
309 |
+
(a.height = t.height + 2 + i[0] + i[2]),
|
310 |
+
e.backgroundColor &&
|
311 |
+
((r.fillStyle = e.backgroundColor),
|
312 |
+
e.backgroundRadius
|
313 |
+
? (f(r, 1, 1, a.width - 2, a.height - 2, e.backgroundRadius),
|
314 |
+
r.fill())
|
315 |
+
: r.fillRect(1, 1, a.width - 2, a.height - 2)),
|
316 |
+
r.drawImage(
|
317 |
+
t,
|
318 |
+
0,
|
319 |
+
0,
|
320 |
+
t.naturalWidth,
|
321 |
+
t.naturalHeight,
|
322 |
+
1 + i[3],
|
323 |
+
1 + i[0],
|
324 |
+
t.width,
|
325 |
+
t.height
|
326 |
+
),
|
327 |
+
this.drawList.push(a);
|
328 |
+
},
|
329 |
+
initText: function (t) {
|
330 |
+
var e = this.o[this.o.length - 1],
|
331 |
+
i = g.fnc(e.padding) ? e.padding() : e.padding;
|
332 |
+
i = i
|
333 |
+
? i.split(" ").map(function (t) {
|
334 |
+
return parseFloat(t);
|
335 |
+
})
|
336 |
+
: [0, 0, 0, 0];
|
337 |
+
var n = g.fnc(e.fontSize) ? e.fontSize() : e.fontSize,
|
338 |
+
a = o(),
|
339 |
+
r = a.canvas,
|
340 |
+
h = a.ctx;
|
341 |
+
(h.textBaseline = "bottom"),
|
342 |
+
(h.font = e.fontWeight + " " + n + "px " + e.fontFamily),
|
343 |
+
(r.width = h.measureText(t).width + i[1] + i[3]),
|
344 |
+
(r.height = n + i[0] + i[2]),
|
345 |
+
e.backgroundColor &&
|
346 |
+
((h.fillStyle = e.backgroundColor),
|
347 |
+
e.backgroundRadius
|
348 |
+
? (f(h, 1, 1, r.width - 2, r.height - 2, e.backgroundRadius),
|
349 |
+
h.fill())
|
350 |
+
: h.fillRect(1, 1, r.width - 2, r.height - 2)),
|
351 |
+
(h.textBaseline = "bottom"),
|
352 |
+
(h.font = e.fontWeight + " " + n + "px " + e.fontFamily),
|
353 |
+
(h.fillStyle = e.color),
|
354 |
+
h.fillText(t, i[3], n + i[0]),
|
355 |
+
this.drawList.push(r);
|
356 |
+
},
|
357 |
+
initPath: function (t) {
|
358 |
+
var e = this.o[this.o.length - 1],
|
359 |
+
i = g.fnc(e.padding) ? e.padding() : e.padding;
|
360 |
+
i = i
|
361 |
+
? i.split(" ").map(function (t) {
|
362 |
+
return parseFloat(t);
|
363 |
+
})
|
364 |
+
: [0, 0, 0, 0];
|
365 |
+
var n = o(),
|
366 |
+
a = n.canvas,
|
367 |
+
r = n.ctx;
|
368 |
+
(a.width = e.svgWidth + i[1] + i[3]),
|
369 |
+
(a.height = e.svgHeight + i[0] + i[2]),
|
370 |
+
e.backgroundColor &&
|
371 |
+
((r.fillStyle = e.backgroundColor),
|
372 |
+
e.backgroundRadius
|
373 |
+
? (f(r, 1, 1, a.width - 2, a.height - 2, e.backgroundRadius),
|
374 |
+
r.fill())
|
375 |
+
: r.fillRect(1, 1, a.width - 2, a.height - 2)),
|
376 |
+
r.translate(i[3], i[0]),
|
377 |
+
(r.fillStyle = e.color),
|
378 |
+
r.fill(new Path2D(g.str(t) ? t : t.getAttribute("d"))),
|
379 |
+
this.drawList.push(a);
|
380 |
+
},
|
381 |
+
initPieces: function (e) {
|
382 |
+
var i = this,
|
383 |
+
n = new t(),
|
384 |
+
a = void 0,
|
385 |
+
r = void 0,
|
386 |
+
h = void 0,
|
387 |
+
s = void 0,
|
388 |
+
c = void 0,
|
389 |
+
d = void 0,
|
390 |
+
f = void 0,
|
391 |
+
l = void 0,
|
392 |
+
m = void 0,
|
393 |
+
p = void 0,
|
394 |
+
v = void 0;
|
395 |
+
(this.pieces = []), (this.items = []);
|
396 |
+
var x = e.itemSeparation;
|
397 |
+
(f =
|
398 |
+
"center" === e.x
|
399 |
+
? this.width / 2 -
|
400 |
+
(this.drawList.reduce(function (t, e) {
|
401 |
+
return t + e.width;
|
402 |
+
}, 0) +
|
403 |
+
x * this.drawList.length) /
|
404 |
+
2
|
405 |
+
: e.x),
|
406 |
+
(m =
|
407 |
+
"center" === e.y
|
408 |
+
? this.height / 2 - this.drawList[0].height / 2
|
409 |
+
: e.y);
|
410 |
+
var y = void 0;
|
411 |
+
this.drawList.forEach(function (t, w) {
|
412 |
+
y = i.o[w];
|
413 |
+
var b = g.obj(y.extraSpacing)
|
414 |
+
? y.extraSpacing
|
415 |
+
: { extraX: y.extraSpacing, extraY: y.extraSpacing },
|
416 |
+
S = b.extraX,
|
417 |
+
_ = b.extraY,
|
418 |
+
k = g.fnc(y.translate)
|
419 |
+
? y.translate()
|
420 |
+
: g.obj(y.translate)
|
421 |
+
? y.translate
|
422 |
+
: { translateX: y.translate, translateY: y.translate },
|
423 |
+
P = k.translateX,
|
424 |
+
I = k.translateY;
|
425 |
+
"centerAll" === e.x && (f = i.width / 2 - t.width / 2),
|
426 |
+
"centerAll" === e.y && (m = i.height / 2 - t.height / 2),
|
427 |
+
(f += P),
|
428 |
+
(m += I),
|
429 |
+
(c = { angle: null }),
|
430 |
+
(s = { last: c, index: w, y: m, extraY: _, img: t }),
|
431 |
+
(s.x = l = f),
|
432 |
+
(s.width = t.width),
|
433 |
+
(s.height = t.height),
|
434 |
+
(s.angle = u(y.angle)),
|
435 |
+
(s.rotate = u(y.rotate)),
|
436 |
+
(s.ghost = y.ghost),
|
437 |
+
(s.ghostDashArray = [20, 10]),
|
438 |
+
(s.ghostDashOffset = s.ghostDashArray[0] + s.ghostDashArray[1]),
|
439 |
+
(s.ghostOpacity = y.ghostOpacity),
|
440 |
+
(s.pieces = []),
|
441 |
+
(s.shown = !1),
|
442 |
+
(s.hidden = !0),
|
443 |
+
i.items.push(s);
|
444 |
+
var R = o(),
|
445 |
+
E = R.ctx,
|
446 |
+
M = R.canvas;
|
447 |
+
for (
|
448 |
+
M.width = s.width, M.height = s.height;
|
449 |
+
l - (s.width + 2 * S) < s.x;
|
450 |
+
|
451 |
+
) {
|
452 |
+
(a = g.fnc(y.piecesWidth) ? y.piecesWidth() : y.piecesWidth),
|
453 |
+
(r = s.height + 2 * _),
|
454 |
+
(h = g.fnc(y.piecesSpacing)
|
455 |
+
? y.piecesSpacing()
|
456 |
+
: y.piecesSpacing),
|
457 |
+
(p = Math.min(g.fnc(y.w) ? y.w() : y.w, a)),
|
458 |
+
(v = Math.min(g.fnc(y.h) ? y.h() : y.h, r)),
|
459 |
+
(c = {}),
|
460 |
+
(d = { last: c, item: s }),
|
461 |
+
(d.h_x = d.x = c.x = l - S + a / 2 - p / 2),
|
462 |
+
(d.s_x = l - S),
|
463 |
+
(d.h_y = d.y = c.y = m + s.height / 2 - v / 2),
|
464 |
+
(d.s_y = m - _),
|
465 |
+
(d.h_w = d.w = c.w = p),
|
466 |
+
(d.s_w = a),
|
467 |
+
(d.h_h = d.h = c.h = v),
|
468 |
+
(d.s_h = r),
|
469 |
+
(d.h_tx = d.s_tx = d.tx = c.tx = g.fnc(y.tx) ? y.tx() : y.tx),
|
470 |
+
(d.h_ty = d.ty = c.ty = _ + (g.fnc(y.ty) ? y.ty() : y.ty)),
|
471 |
+
(d.s_ty = _),
|
472 |
+
(d.opacity = g.fnc(y.opacity) ? y.opacity() : y.opacity),
|
473 |
+
(d.duration = g.fnc(y.duration) ? y.duration() : y.duration),
|
474 |
+
(d.delay = g.fnc(y.delay) ? y.delay() : y.delay),
|
475 |
+
(d.easing = y.easing),
|
476 |
+
s.pieces.push(d),
|
477 |
+
i.pieces.push(d),
|
478 |
+
(l += a + h),
|
479 |
+
E.save(),
|
480 |
+
n.translate(s.width / 2, s.height / 2),
|
481 |
+
n.rotate((s.angle * Math.PI) / 180),
|
482 |
+
n.translate(-s.width / 2, -s.height / 2),
|
483 |
+
n.translate(d.s_tx, d.s_ty - s.extraY),
|
484 |
+
n.translate(d.s_x + d.s_w / 2 - s.x, d.s_y + d.s_h / 2 - s.y),
|
485 |
+
n.apply(E),
|
486 |
+
E.beginPath(),
|
487 |
+
E.rect(-d.s_w / 2, -d.s_h / 2, d.s_w, d.s_h),
|
488 |
+
E.clip(),
|
489 |
+
n.reset(E),
|
490 |
+
(E.globalAlpha = d.opacity);
|
491 |
+
var O = s.img.height / s.img.width;
|
492 |
+
E.drawImage(
|
493 |
+
s.img,
|
494 |
+
(1 - O) / 2,
|
495 |
+
O / 2,
|
496 |
+
s.img.width - (1 - O),
|
497 |
+
s.img.height - O
|
498 |
+
),
|
499 |
+
E.restore();
|
500 |
+
}
|
501 |
+
(s.imgShown = M),
|
502 |
+
(s.rectShown = {
|
503 |
+
left: s.x,
|
504 |
+
top: s.y,
|
505 |
+
right: s.x + s.width,
|
506 |
+
bottom: s.y + s.height,
|
507 |
+
}),
|
508 |
+
"centerAll" !== e.x && (f += t.width + x);
|
509 |
+
});
|
510 |
+
},
|
511 |
+
renderPieces: function (e, i) {
|
512 |
+
var n = e.ctx,
|
513 |
+
a = new t(),
|
514 |
+
o = void 0,
|
515 |
+
r = void 0;
|
516 |
+
i.redraw &&
|
517 |
+
((i.redraw = !1),
|
518 |
+
i.shown && e.saveShowState
|
519 |
+
? n.drawImage(
|
520 |
+
i.imgShown,
|
521 |
+
0,
|
522 |
+
0,
|
523 |
+
i.width,
|
524 |
+
i.height,
|
525 |
+
i.x,
|
526 |
+
i.y,
|
527 |
+
i.width,
|
528 |
+
i.height
|
529 |
+
)
|
530 |
+
: i.hidden ||
|
531 |
+
((o = u(i.angle)),
|
532 |
+
(r = u(i.rotate)),
|
533 |
+
i.pieces.forEach(function (t) {
|
534 |
+
n.save(),
|
535 |
+
a.translate(i.x, i.y),
|
536 |
+
a.translate(i.width / 2, i.height / 2),
|
537 |
+
a.rotate(((o + r) * Math.PI) / 180),
|
538 |
+
a.translate(-i.width / 2, -i.height / 2),
|
539 |
+
a.translate(t.tx, t.ty - i.extraY),
|
540 |
+
a.translate(t.x + t.w / 2 - i.x, t.y + t.h / 2 - i.y),
|
541 |
+
a.apply(n),
|
542 |
+
n.beginPath(),
|
543 |
+
n.rect(-t.w / 2, -t.h / 2, t.w, t.h),
|
544 |
+
e.debug
|
545 |
+
? (n.setLineDash([]), (n.strokeStyle = "black"), n.stroke())
|
546 |
+
: n.clip(),
|
547 |
+
a.translate(-(t.x + t.w / 2 - i.x), -(t.y + t.h / 2 - i.y)),
|
548 |
+
a.translate(i.width / 2, i.height / 2),
|
549 |
+
a.rotate((-o * Math.PI) / 180),
|
550 |
+
a.translate(-i.width / 2, -i.height / 2),
|
551 |
+
a.apply(n),
|
552 |
+
(n.globalAlpha = t.opacity);
|
553 |
+
var h = i.img.height / i.img.width;
|
554 |
+
n.drawImage(
|
555 |
+
i.img,
|
556 |
+
(1 - h) / 2,
|
557 |
+
h / 2,
|
558 |
+
i.img.width - (1 - h),
|
559 |
+
i.img.height - h
|
560 |
+
),
|
561 |
+
a.reset(),
|
562 |
+
n.restore();
|
563 |
+
})));
|
564 |
+
},
|
565 |
+
isItemDifferent: function (t) {
|
566 |
+
return (
|
567 |
+
!s(t, t.last, ["angle"]) ||
|
568 |
+
t.pieces.some(function (t) {
|
569 |
+
return !s(t, t.last, ["x", "y", "w", "h", "tx", "ty"]);
|
570 |
+
})
|
571 |
+
);
|
572 |
+
},
|
573 |
+
isItemShown: function (t) {
|
574 |
+
return t.pieces.every(function (t) {
|
575 |
+
return (
|
576 |
+
t.x === t.s_x &&
|
577 |
+
t.y === t.s_y &&
|
578 |
+
t.w === t.s_w &&
|
579 |
+
t.h === t.s_h &&
|
580 |
+
t.tx === t.s_tx &&
|
581 |
+
t.ty === t.s_ty
|
582 |
+
);
|
583 |
+
});
|
584 |
+
},
|
585 |
+
isItemHidden: function (t) {
|
586 |
+
return t.pieces.every(function (t) {
|
587 |
+
return 0 === t.w && 0 === t.h;
|
588 |
+
});
|
589 |
+
},
|
590 |
+
renderGhost: function (t, e) {
|
591 |
+
var i = this.o[e.index],
|
592 |
+
n = g.fnc(i.fontSize) ? i.fontSize() : i.fontSize;
|
593 |
+
e.ghost &&
|
594 |
+
i.text &&
|
595 |
+
((t.ctx.textBaseline = "bottom"),
|
596 |
+
(t.ctx.font = i.fontWeight + " " + n + "px " + i.fontFamily),
|
597 |
+
(t.ctx.strokeStyle = i.color),
|
598 |
+
t.ctx.setLineDash(e.ghostDashArray),
|
599 |
+
(t.ctx.lineDashOffset = e.ghostDashOffset),
|
600 |
+
(t.ctx.globalAlpha = e.ghostOpacity),
|
601 |
+
t.ctx.strokeText(i.text, e.x, e.y + e.height),
|
602 |
+
(t.ctx.globalAlpha = 1));
|
603 |
+
},
|
604 |
+
clearRect: function (e) {
|
605 |
+
var i = this,
|
606 |
+
n = new t(),
|
607 |
+
a = !1,
|
608 |
+
o = void 0,
|
609 |
+
r = void 0,
|
610 |
+
h = void 0,
|
611 |
+
s = void 0,
|
612 |
+
f = void 0,
|
613 |
+
l = void 0,
|
614 |
+
g = void 0,
|
615 |
+
m = void 0,
|
616 |
+
p = void 0,
|
617 |
+
v = void 0,
|
618 |
+
x = void 0,
|
619 |
+
y = void 0,
|
620 |
+
w = void 0,
|
621 |
+
b = void 0,
|
622 |
+
S = void 0,
|
623 |
+
_ = null;
|
624 |
+
for (
|
625 |
+
this.items.forEach(function (t) {
|
626 |
+
(b = u(t.angle)),
|
627 |
+
(S = u(t.rotate)),
|
628 |
+
i.isItemDifferent(t)
|
629 |
+
? ((a = !0),
|
630 |
+
(w = null),
|
631 |
+
(t.redraw = !0),
|
632 |
+
(t.shown = i.isItemShown(t)),
|
633 |
+
(t.hidden = i.isItemHidden(t)),
|
634 |
+
c(t.last, t, ["angle"]),
|
635 |
+
t.pieces.forEach(function (e) {
|
636 |
+
var a = e.last;
|
637 |
+
n.translate(t.x, t.y),
|
638 |
+
n.translate(t.width / 2, t.height / 2),
|
639 |
+
n.rotate(((b + S) * Math.PI) / 180),
|
640 |
+
n.translate(-t.width / 2, -t.height / 2),
|
641 |
+
n.translate(a.tx, a.ty - t.extraY),
|
642 |
+
n.translate(a.x + a.w / 2 - t.x, a.y + a.h / 2 - t.y),
|
643 |
+
(o = -a.w / 2 - 1),
|
644 |
+
(r = -a.h / 2 - 1),
|
645 |
+
(h = a.w + 2),
|
646 |
+
(s = a.h + 2),
|
647 |
+
(f = n.transformPoint(o, r)),
|
648 |
+
(l = n.transformPoint(o + h, r)),
|
649 |
+
(g = n.transformPoint(o + h, r + s)),
|
650 |
+
(m = n.transformPoint(o, r + s)),
|
651 |
+
(p = Math.min(f[0], l[0], g[0], m[0])),
|
652 |
+
(v = Math.min(f[1], l[1], g[1], m[1])),
|
653 |
+
(x = Math.max(f[0], l[0], g[0], m[0])),
|
654 |
+
(y = Math.max(f[1], l[1], g[1], m[1])),
|
655 |
+
(w = i.extendRect(w, {
|
656 |
+
left: p,
|
657 |
+
top: v,
|
658 |
+
right: x,
|
659 |
+
bottom: y,
|
660 |
+
})),
|
661 |
+
n.reset(),
|
662 |
+
c(a, e, ["x", "y", "w", "h", "tx", "ty"]);
|
663 |
+
}),
|
664 |
+
(_ = i.extendRect(_, w)),
|
665 |
+
(t.rect = t.shown ? t.rectShown : w))
|
666 |
+
: (t.redraw = !1),
|
667 |
+
t.hidden &&
|
668 |
+
t.ghost &&
|
669 |
+
((a = !0), (_ = i.extendRect(_, t.rectShown)));
|
670 |
+
});
|
671 |
+
a;
|
672 |
+
|
673 |
+
)
|
674 |
+
(a = !1),
|
675 |
+
this.items.forEach(function (t) {
|
676 |
+
!t.redraw &&
|
677 |
+
d(_, t.rect) &&
|
678 |
+
((a = !0), (t.redraw = !0), (_ = i.extendRect(_, t.rect)));
|
679 |
+
});
|
680 |
+
_ &&
|
681 |
+
(e.ctx.clearRect(_.left, _.top, _.right - _.left, _.bottom - _.top),
|
682 |
+
e.debug &&
|
683 |
+
(e.ctx.setLineDash([10]),
|
684 |
+
(e.ctx.strokeStyle = "rgba(255, 0, 0, 1)"),
|
685 |
+
e.ctx.strokeRect(
|
686 |
+
_.left,
|
687 |
+
_.top,
|
688 |
+
_.right - _.left,
|
689 |
+
_.bottom - _.top
|
690 |
+
)));
|
691 |
+
},
|
692 |
+
extendRect: function (t, e) {
|
693 |
+
return t && e
|
694 |
+
? {
|
695 |
+
left: Math.max(0, Math.min(t.left, e.left)),
|
696 |
+
top: Math.max(0, Math.min(t.top, e.top)),
|
697 |
+
right: Math.min(this.width, Math.max(t.right, e.right)),
|
698 |
+
bottom: Math.min(this.height, Math.max(t.bottom, e.bottom)),
|
699 |
+
}
|
700 |
+
: e;
|
701 |
+
},
|
702 |
+
checkHover: function (t, e) {
|
703 |
+
var i =
|
704 |
+
this.mouseX >= e.x &&
|
705 |
+
this.mouseX <= e.x + e.width &&
|
706 |
+
this.mouseY >= e.y &&
|
707 |
+
this.mouseY <= e.y + e.height;
|
708 |
+
return (
|
709 |
+
i && !e.hover
|
710 |
+
? g.fnc(t.itemEnter) && t.itemEnter(e)
|
711 |
+
: !i && e.hover && g.fnc(t.itemLeave) && t.itemLeave(e),
|
712 |
+
(e.hover = i),
|
713 |
+
i
|
714 |
+
);
|
715 |
+
},
|
716 |
+
renderDebug: function (t, e) {
|
717 |
+
if (t.debug) {
|
718 |
+
t.checkHover &&
|
719 |
+
((t.ctx.fillStyle = e.hover
|
720 |
+
? "rgba(255, 0, 0, 0.3)"
|
721 |
+
: "rgba(0, 0, 0, 0.3)"),
|
722 |
+
t.ctx.fillRect(e.x, e.y, e.width, e.height));
|
723 |
+
var i = e.rect;
|
724 |
+
i &&
|
725 |
+
(t.ctx.setLineDash([]),
|
726 |
+
(t.ctx.strokeStyle = "rgba(255, 0, 0, 0.5)"),
|
727 |
+
t.ctx.strokeRect(
|
728 |
+
i.left,
|
729 |
+
i.top,
|
730 |
+
i.right - i.left,
|
731 |
+
i.bottom - i.top
|
732 |
+
));
|
733 |
+
}
|
734 |
+
},
|
735 |
+
loop: function (t) {
|
736 |
+
var e = this;
|
737 |
+
(this.frame = requestAnimationFrame(this.loop.bind(this, t))),
|
738 |
+
this.clearRect(t),
|
739 |
+
(this.hoverItem = null),
|
740 |
+
this.items.forEach(function (i) {
|
741 |
+
t.checkHover && e.checkHover(t, i) && (e.hoverItem = i),
|
742 |
+
e.renderPieces(t, i),
|
743 |
+
e.renderGhost(t, i),
|
744 |
+
e.renderDebug(t, i);
|
745 |
+
});
|
746 |
+
},
|
747 |
+
stop: function () {
|
748 |
+
cancelAnimationFrame(this.frame),
|
749 |
+
anime.remove(this.items),
|
750 |
+
anime.remove(this.pieces);
|
751 |
+
},
|
752 |
+
getPieces: function (t) {
|
753 |
+
var e = this,
|
754 |
+
i = [];
|
755 |
+
return (
|
756 |
+
g.und(t)
|
757 |
+
? (i = this.pieces)
|
758 |
+
: g.num(t)
|
759 |
+
? (i = this.items[t].pieces)
|
760 |
+
: g.arr(t)
|
761 |
+
? t.forEach(function (t) {
|
762 |
+
return g.num(t) ? a(i, e.items[t].pieces) : a(i, t.pieces);
|
763 |
+
})
|
764 |
+
: (i = t.pieces),
|
765 |
+
i
|
766 |
+
);
|
767 |
+
},
|
768 |
+
getItems: function (t) {
|
769 |
+
var e = this,
|
770 |
+
i = [];
|
771 |
+
return (
|
772 |
+
g.und(t)
|
773 |
+
? (i = this.items)
|
774 |
+
: g.num(t)
|
775 |
+
? (i = this.items[t])
|
776 |
+
: g.arr(t)
|
777 |
+
? t.forEach(function (t) {
|
778 |
+
return g.num(t) ? i.push(e.items[t]) : i.push(t);
|
779 |
+
})
|
780 |
+
: (i = t),
|
781 |
+
i
|
782 |
+
);
|
783 |
+
},
|
784 |
+
animatePieces: function (t) {
|
785 |
+
var e = n(
|
786 |
+
{
|
787 |
+
duration: function (t) {
|
788 |
+
return t.duration;
|
789 |
+
},
|
790 |
+
delay: function (t) {
|
791 |
+
return t.delay;
|
792 |
+
},
|
793 |
+
easing: function (t) {
|
794 |
+
return t.easing;
|
795 |
+
},
|
796 |
+
remove: !0,
|
797 |
+
singly: !1,
|
798 |
+
},
|
799 |
+
t
|
800 |
+
),
|
801 |
+
i = this.getPieces(t.items);
|
802 |
+
e.remove && anime.remove(i),
|
803 |
+
e.ignore &&
|
804 |
+
e.ignore.forEach(function (t) {
|
805 |
+
return delete e[t];
|
806 |
+
}),
|
807 |
+
e.singly
|
808 |
+
? i.forEach(function (t) {
|
809 |
+
return anime(n(e, { targets: t }));
|
810 |
+
})
|
811 |
+
: anime(n(e, { targets: i }));
|
812 |
+
},
|
813 |
+
showPieces: function (t) {
|
814 |
+
var e = n(
|
815 |
+
{
|
816 |
+
x: function (t) {
|
817 |
+
return t.s_x;
|
818 |
+
},
|
819 |
+
y: function (t) {
|
820 |
+
return t.s_y;
|
821 |
+
},
|
822 |
+
w: function (t) {
|
823 |
+
return t.s_w;
|
824 |
+
},
|
825 |
+
h: function (t) {
|
826 |
+
return t.s_h;
|
827 |
+
},
|
828 |
+
tx: function (t) {
|
829 |
+
return t.s_tx;
|
830 |
+
},
|
831 |
+
ty: function (t) {
|
832 |
+
return t.s_ty;
|
833 |
+
},
|
834 |
+
},
|
835 |
+
t
|
836 |
+
);
|
837 |
+
this.animatePieces(e);
|
838 |
+
},
|
839 |
+
hidePieces: function (t) {
|
840 |
+
var e = n(
|
841 |
+
{
|
842 |
+
x: function (t) {
|
843 |
+
return t.h_x;
|
844 |
+
},
|
845 |
+
y: function (t) {
|
846 |
+
return t.h_y;
|
847 |
+
},
|
848 |
+
w: function (t) {
|
849 |
+
return t.h_w;
|
850 |
+
},
|
851 |
+
h: function (t) {
|
852 |
+
return t.h_h;
|
853 |
+
},
|
854 |
+
tx: function (t) {
|
855 |
+
return t.h_tx;
|
856 |
+
},
|
857 |
+
ty: function (t) {
|
858 |
+
return t.h_ty;
|
859 |
+
},
|
860 |
+
},
|
861 |
+
t
|
862 |
+
);
|
863 |
+
this.animatePieces(e);
|
864 |
+
},
|
865 |
+
animateItems: function (t) {
|
866 |
+
var e = n({ easing: "linear", remove: !0 }, t, {
|
867 |
+
targets: this.getItems(t.items),
|
868 |
+
});
|
869 |
+
e.remove && anime.remove(e.targets), anime(e);
|
870 |
+
},
|
871 |
+
}),
|
872 |
+
(l.version = "1.0.0"),
|
873 |
+
(l.random = anime.random),
|
874 |
+
(l.extend = n),
|
875 |
+
l
|
876 |
+
);
|
877 |
+
});
|
assets/vendor/js/pieces.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define("Pieces",e):t.Pieces=e()}(this,(function(){"use strict";function t(t){this.reset(t)}function e(t,e){for(var i in e)t[i]=l.arr(e[i])?e[i].slice(0):e[i];return t}function i(t,i){t||(t={});for(var n=1;n<arguments.length;n++)e(t,arguments[n]);return t}function n(t,e){t.push.apply(t,e)}function a(){var t=document.createElement("canvas"),e=t.getContext("2d");return{canvas:t,ctx:e}}function o(t,e){e.forEach((function(e){l.arr(t[e])||(t[e]=l.und(t[e])?[]:[t[e]])}))}function r(t,e,i,n){var a=void 0;return i.forEach((function(i){a=t[i][e],l.und(a)||(n[i]=a)})),n}function h(t,e,i){return!i.some((function(i){return t[i]!==e[i]}))}function s(t,e,i){i.forEach((function(i){return t[i]=e[i]}))}function c(t){return t>=0?t%360:t%360+360}function u(t,e){return t&&e&&t.left<=e.right&&e.left<=t.right&&t.top<=e.bottom&&e.top<=t.bottom}function d(t,e,i,n,a,o){return n<2*o&&(o=n/2),a<2*o&&(o=a/2),t.beginPath(),t.moveTo(e+o,i),t.arcTo(e+n,i,e+n,i+a,o),t.arcTo(e+n,i+a,e,i+a,o),t.arcTo(e,i+a,e,i,o),t.arcTo(e,i,e+n,i,o),t.closePath(),t}function f(t){var e=i({},this.defaults.animation,t.animation);this.init(i({},this.defaults,t,{animation:e}))}t.prototype={reset:function(t){this.m=[1,0,0,1,0,0],t&&this.apply(t)},rotate:function(t){var e=Math.cos(t),i=Math.sin(t),n=this.m[0]*e+this.m[2]*i,a=this.m[1]*e+this.m[3]*i,o=this.m[0]*-i+this.m[2]*e,r=this.m[1]*-i+this.m[3]*e;this.m[0]=n,this.m[1]=a,this.m[2]=o,this.m[3]=r},translate:function(t,e){this.m[4]+=this.m[0]*t+this.m[2]*e,this.m[5]+=this.m[1]*t+this.m[3]*e},transformPoint:function(t,e){return[t*this.m[0]+e*this.m[2]+this.m[4],t*this.m[1]+e*this.m[3]+this.m[5]]},apply:function(t){t.setTransform(this.m[0],this.m[1],this.m[2],this.m[3],this.m[4],this.m[5])}};var l={arr:function(t){return Array.isArray(t)},obj:function(t){return function(t,e){return t.indexOf(e)>-1}(Object.prototype.toString.call(t),"Object")},str:function(t){return"string"==typeof t},fnc:function(t){return"function"==typeof t},und:function(t){return void 0===t},num:function(t){return"number"==typeof t}};return f.prototype={defaults:{canvas:null,items:[],image:[],text:[],path:[],x:0,y:0,w:[0],h:[0],tx:[0],ty:[0],itemSeparation:1,piecesWidth:[5],piecesSpacing:[5],extraSpacing:[{extraX:0,extraY:0}],angle:[0],rotate:[0],translate:[{translateX:0,translateY:0}],padding:[0],opacity:[1],fontFamily:["sans-serif"],fontSize:[100],fontWeight:[900],color:["#000"],backgroundColor:!1,backgroundRadius:0,ghostOpacity:0,checkHover:!1,animation:{duration:[1e3],delay:[0],easing:["easeInOutCubic"]},saveShowState:!1,debug:!1,ready:null},init:function(t){var e=this;this.initOptions(t),this.initCanvas(t),this.initEvents(t),t.items.length&&t.items.forEach((function(i){switch(e.setItemOptions(t,i.options),i.type){case"image":return e.initImage(i.value);case"text":return e.initText(i.value);case"path":return e.initPath(i.value)}})),t.image.length&&t.image.forEach((function(i){e.setItemOptions(t),e.initImage(i)})),t.text.length&&t.text.forEach((function(i){e.setItemOptions(t),e.initText(i)})),t.path.length&&t.path.forEach((function(i){e.setItemOptions(t),e.initPath(i)})),this.drawList.length&&(this.initPieces(t),this.loop(t)),t.ready&&t.ready()},initOptions:function(t){var e=t.canvas;l.str(e)&&(t.canvas=document.querySelector(e)),o(t,["items","image","text","path","w","h","tx","ty","piecesWidth","piecesSpacing","extraSpacing","angle","rotate","translate","svgWidth","svgHeight","color","backgroundColor","backgroundRadius","padding","opacity","fontFamily","fontSize","fontWeight","ghost","ghostOpacity"]),o(t.animation,["duration","delay","easing"]),this.v={},this.o=[],this.drawList=[]},initCanvas:function(t){t.canvas?t.ctx=t.canvas.getContext("2d"):i(t,a()),t.canvas.width=this.width=t.canvas.clientWidth,t.canvas.height=this.height=t.canvas.clientHeight},initEvents:function(t){var e=this;t.canvas.onmousemove=function(i){var n=t.canvas.getBoundingClientRect(),a=i.clientX-n.left,o=i.clientY-n.top,r=n.width/t.canvas.offsetWidth,h=n.height/t.canvas.offsetHeight;e.mouseX=a*(1/r),e.mouseY=o*(1/h)},t.canvas.onmouseout=function(){e.mouseX=void 0,e.mouseY=void 0}},setItemOptions:function(t,e){var n=this.drawList.length;r(t,n,["text","color","backgroundColor","backgroundRadius","padding","fontFamily","fontSize","fontWeight","svgWidth","svgHeight","piecesWidth","piecesSpacing","extraSpacing","opacity","angle","rotate","translate","ghost","ghostOpacity","w","h","tx","ty"],this.v),r(t.animation,n,["duration","delay","easing"],this.v),this.o.push(i({},this.v,e||{}))},initImage:function(t){var e=this.o[this.o.length-1],i=l.fnc(e.padding)?e.padding():e.padding;i=i?i.split(" ").map((function(t){return parseFloat(t)})):[0,0,0,0];var n=a(),o=n.canvas,r=n.ctx;o.width=t.width+2+i[1]+i[3],o.height=t.height+2+i[0]+i[2],e.backgroundColor&&(r.fillStyle=e.backgroundColor,e.backgroundRadius?(d(r,1,1,o.width-2,o.height-2,e.backgroundRadius),r.fill()):r.fillRect(1,1,o.width-2,o.height-2)),r.drawImage(t,0,0,t.naturalWidth,t.naturalHeight,1+i[3],1+i[0],t.width,t.height),this.drawList.push(o)},initText:function(t){var e=this.o[this.o.length-1],i=l.fnc(e.padding)?e.padding():e.padding;i=i?i.split(" ").map((function(t){return parseFloat(t)})):[0,0,0,0];var n=l.fnc(e.fontSize)?e.fontSize():e.fontSize,o=a(),r=o.canvas,h=o.ctx;h.textBaseline="bottom",h.font=e.fontWeight+" "+n+"px "+e.fontFamily,r.width=h.measureText(t).width+i[1]+i[3],r.height=n+i[0]+i[2],e.backgroundColor&&(h.fillStyle=e.backgroundColor,e.backgroundRadius?(d(h,1,1,r.width-2,r.height-2,e.backgroundRadius),h.fill()):h.fillRect(1,1,r.width-2,r.height-2)),h.textBaseline="bottom",h.font=e.fontWeight+" "+n+"px "+e.fontFamily,h.fillStyle=e.color,h.fillText(t,i[3],n+i[0]),this.drawList.push(r)},initPath:function(t){var e=this.o[this.o.length-1],i=l.fnc(e.padding)?e.padding():e.padding;i=i?i.split(" ").map((function(t){return parseFloat(t)})):[0,0,0,0];var n=a(),o=n.canvas,r=n.ctx;o.width=e.svgWidth+i[1]+i[3],o.height=e.svgHeight+i[0]+i[2],e.backgroundColor&&(r.fillStyle=e.backgroundColor,e.backgroundRadius?(d(r,1,1,o.width-2,o.height-2,e.backgroundRadius),r.fill()):r.fillRect(1,1,o.width-2,o.height-2)),r.translate(i[3],i[0]),r.fillStyle=e.color,r.fill(new Path2D(l.str(t)?t:t.getAttribute("d"))),this.drawList.push(o)},initPieces:function(e){var i=this,n=new t,o=void 0,r=void 0,h=void 0,s=void 0,u=void 0,d=void 0,f=void 0,g=void 0,m=void 0,p=void 0,v=void 0;this.pieces=[],this.items=[];var x=e.itemSeparation;f="center"===e.x?this.width/2-(this.drawList.reduce((function(t,e){return t+e.width}),0)+x*this.drawList.length)/2:e.x,m="center"===e.y?this.height/2-this.drawList[0].height/2:e.y;var y=void 0;this.drawList.forEach((function(t,w){y=i.o[w];var b=l.obj(y.extraSpacing)?y.extraSpacing:{extraX:y.extraSpacing,extraY:y.extraSpacing},S=b.extraX,_=b.extraY,k=l.fnc(y.translate)?y.translate():l.obj(y.translate)?y.translate:{translateX:y.translate,translateY:y.translate},P=k.translateX,I=k.translateY;"centerAll"===e.x&&(f=i.width/2-t.width/2),"centerAll"===e.y&&(m=i.height/2-t.height/2),(s={last:u={angle:null},index:w,y:m+=I,extraY:_,img:t}).x=g=f+=P,s.width=t.width,s.height=t.height,s.angle=c(y.angle),s.rotate=c(y.rotate),s.ghost=y.ghost,s.ghostDashArray=[20,10],s.ghostDashOffset=s.ghostDashArray[0]+s.ghostDashArray[1],s.ghostOpacity=y.ghostOpacity,s.pieces=[],s.shown=!1,s.hidden=!0,i.items.push(s);var R=a(),E=R.ctx,M=R.canvas;for(M.width=s.width,M.height=s.height;g-(s.width+2*S)<s.x;){o=l.fnc(y.piecesWidth)?y.piecesWidth():y.piecesWidth,r=s.height+2*_,h=l.fnc(y.piecesSpacing)?y.piecesSpacing():y.piecesSpacing,p=Math.min(l.fnc(y.w)?y.w():y.w,o),v=Math.min(l.fnc(y.h)?y.h():y.h,r),(d={last:u={},item:s}).h_x=d.x=u.x=g-S+o/2-p/2,d.s_x=g-S,d.h_y=d.y=u.y=m+s.height/2-v/2,d.s_y=m-_,d.h_w=d.w=u.w=p,d.s_w=o,d.h_h=d.h=u.h=v,d.s_h=r,d.h_tx=d.s_tx=d.tx=u.tx=l.fnc(y.tx)?y.tx():y.tx,d.h_ty=d.ty=u.ty=_+(l.fnc(y.ty)?y.ty():y.ty),d.s_ty=_,d.opacity=l.fnc(y.opacity)?y.opacity():y.opacity,d.duration=l.fnc(y.duration)?y.duration():y.duration,d.delay=l.fnc(y.delay)?y.delay():y.delay,d.easing=y.easing,s.pieces.push(d),i.pieces.push(d),g+=o+h,E.save(),n.translate(s.width/2,s.height/2),n.rotate(s.angle*Math.PI/180),n.translate(-s.width/2,-s.height/2),n.translate(d.s_tx,d.s_ty-s.extraY),n.translate(d.s_x+d.s_w/2-s.x,d.s_y+d.s_h/2-s.y),n.apply(E),E.beginPath(),E.rect(-d.s_w/2,-d.s_h/2,d.s_w,d.s_h),E.clip(),n.reset(E),E.globalAlpha=d.opacity;var O=s.img.height/s.img.width;E.drawImage(s.img,(1-O)/2,O/2,s.img.width-(1-O),s.img.height-O),E.restore()}s.imgShown=M,s.rectShown={left:s.x,top:s.y,right:s.x+s.width,bottom:s.y+s.height},"centerAll"!==e.x&&(f+=t.width+x)}))},renderPieces:function(e,i){var n=e.ctx,a=new t,o=void 0,r=void 0;i.redraw&&(i.redraw=!1,i.shown&&e.saveShowState?n.drawImage(i.imgShown,0,0,i.width,i.height,i.x,i.y,i.width,i.height):i.hidden||(o=c(i.angle),r=c(i.rotate),i.pieces.forEach((function(t){n.save(),a.translate(i.x,i.y),a.translate(i.width/2,i.height/2),a.rotate((o+r)*Math.PI/180),a.translate(-i.width/2,-i.height/2),a.translate(t.tx,t.ty-i.extraY),a.translate(t.x+t.w/2-i.x,t.y+t.h/2-i.y),a.apply(n),n.beginPath(),n.rect(-t.w/2,-t.h/2,t.w,t.h),e.debug?(n.setLineDash([]),n.strokeStyle="black",n.stroke()):n.clip(),a.translate(-(t.x+t.w/2-i.x),-(t.y+t.h/2-i.y)),a.translate(i.width/2,i.height/2),a.rotate(-o*Math.PI/180),a.translate(-i.width/2,-i.height/2),a.apply(n),n.globalAlpha=t.opacity;var h=i.img.height/i.img.width;n.drawImage(i.img,(1-h)/2,h/2,i.img.width-(1-h),i.img.height-h),a.reset(),n.restore()}))))},isItemDifferent:function(t){return!h(t,t.last,["angle"])||t.pieces.some((function(t){return!h(t,t.last,["x","y","w","h","tx","ty"])}))},isItemShown:function(t){return t.pieces.every((function(t){return t.x===t.s_x&&t.y===t.s_y&&t.w===t.s_w&&t.h===t.s_h&&t.tx===t.s_tx&&t.ty===t.s_ty}))},isItemHidden:function(t){return t.pieces.every((function(t){return 0===t.w&&0===t.h}))},renderGhost:function(t,e){var i=this.o[e.index],n=l.fnc(i.fontSize)?i.fontSize():i.fontSize;e.ghost&&i.text&&(t.ctx.textBaseline="bottom",t.ctx.font=i.fontWeight+" "+n+"px "+i.fontFamily,t.ctx.strokeStyle=i.color,t.ctx.setLineDash(e.ghostDashArray),t.ctx.lineDashOffset=e.ghostDashOffset,t.ctx.globalAlpha=e.ghostOpacity,t.ctx.strokeText(i.text,e.x,e.y+e.height),t.ctx.globalAlpha=1)},clearRect:function(e){var i=this,n=new t,a=!1,o=void 0,r=void 0,h=void 0,d=void 0,f=void 0,l=void 0,g=void 0,m=void 0,p=void 0,v=void 0,x=void 0,y=void 0,w=void 0,b=void 0,S=void 0,_=null;for(this.items.forEach((function(t){b=c(t.angle),S=c(t.rotate),i.isItemDifferent(t)?(a=!0,w=null,t.redraw=!0,t.shown=i.isItemShown(t),t.hidden=i.isItemHidden(t),s(t.last,t,["angle"]),t.pieces.forEach((function(e){var a=e.last;n.translate(t.x,t.y),n.translate(t.width/2,t.height/2),n.rotate((b+S)*Math.PI/180),n.translate(-t.width/2,-t.height/2),n.translate(a.tx,a.ty-t.extraY),n.translate(a.x+a.w/2-t.x,a.y+a.h/2-t.y),o=-a.w/2-1,r=-a.h/2-1,h=a.w+2,d=a.h+2,f=n.transformPoint(o,r),l=n.transformPoint(o+h,r),g=n.transformPoint(o+h,r+d),m=n.transformPoint(o,r+d),p=Math.min(f[0],l[0],g[0],m[0]),v=Math.min(f[1],l[1],g[1],m[1]),x=Math.max(f[0],l[0],g[0],m[0]),y=Math.max(f[1],l[1],g[1],m[1]),w=i.extendRect(w,{left:p,top:v,right:x,bottom:y}),n.reset(),s(a,e,["x","y","w","h","tx","ty"])})),_=i.extendRect(_,w),t.rect=t.shown?t.rectShown:w):t.redraw=!1,t.hidden&&t.ghost&&(a=!0,_=i.extendRect(_,t.rectShown))}));a;)a=!1,this.items.forEach((function(t){!t.redraw&&u(_,t.rect)&&(a=!0,t.redraw=!0,_=i.extendRect(_,t.rect))}));_&&(e.ctx.clearRect(_.left,_.top,_.right-_.left,_.bottom-_.top),e.debug&&(e.ctx.setLineDash([10]),e.ctx.strokeStyle="rgba(255, 0, 0, 1)",e.ctx.strokeRect(_.left,_.top,_.right-_.left,_.bottom-_.top)))},extendRect:function(t,e){return t&&e?{left:Math.max(0,Math.min(t.left,e.left)),top:Math.max(0,Math.min(t.top,e.top)),right:Math.min(this.width,Math.max(t.right,e.right)),bottom:Math.min(this.height,Math.max(t.bottom,e.bottom))}:e},checkHover:function(t,e){var i=this.mouseX>=e.x&&this.mouseX<=e.x+e.width&&this.mouseY>=e.y&&this.mouseY<=e.y+e.height;return i&&!e.hover?l.fnc(t.itemEnter)&&t.itemEnter(e):!i&&e.hover&&l.fnc(t.itemLeave)&&t.itemLeave(e),e.hover=i,i},renderDebug:function(t,e){if(t.debug){t.checkHover&&(t.ctx.fillStyle=e.hover?"rgba(255, 0, 0, 0.3)":"rgba(0, 0, 0, 0.3)",t.ctx.fillRect(e.x,e.y,e.width,e.height));var i=e.rect;i&&(t.ctx.setLineDash([]),t.ctx.strokeStyle="rgba(255, 0, 0, 0.5)",t.ctx.strokeRect(i.left,i.top,i.right-i.left,i.bottom-i.top))}},loop:function(t){var e=this;this.frame=requestAnimationFrame(this.loop.bind(this,t)),this.clearRect(t),this.hoverItem=null,this.items.forEach((function(i){t.checkHover&&e.checkHover(t,i)&&(e.hoverItem=i),e.renderPieces(t,i),e.renderGhost(t,i),e.renderDebug(t,i)}))},stop:function(){cancelAnimationFrame(this.frame),anime.remove(this.items),anime.remove(this.pieces)},getPieces:function(t){var e=this,i=[];return l.und(t)?i=this.pieces:l.num(t)?i=this.items[t].pieces:l.arr(t)?t.forEach((function(t){return l.num(t)?n(i,e.items[t].pieces):n(i,t.pieces)})):i=t.pieces,i},getItems:function(t){var e=this,i=[];return l.und(t)?i=this.items:l.num(t)?i=this.items[t]:l.arr(t)?t.forEach((function(t){return l.num(t)?i.push(e.items[t]):i.push(t)})):i=t,i},animatePieces:function(t){var e=i({duration:function(t){return t.duration},delay:function(t){return t.delay},easing:function(t){return t.easing},remove:!0,singly:!1},t),n=this.getPieces(t.items);e.remove&&anime.remove(n),e.ignore&&e.ignore.forEach((function(t){return delete e[t]})),e.singly?n.forEach((function(t){return anime(i(e,{targets:t}))})):anime(i(e,{targets:n}))},showPieces:function(t){var e=i({x:function(t){return t.s_x},y:function(t){return t.s_y},w:function(t){return t.s_w},h:function(t){return t.s_h},tx:function(t){return t.s_tx},ty:function(t){return t.s_ty}},t);this.animatePieces(e)},hidePieces:function(t){var e=i({x:function(t){return t.h_x},y:function(t){return t.h_y},w:function(t){return t.h_w},h:function(t){return t.h_h},tx:function(t){return t.h_tx},ty:function(t){return t.h_ty}},t);this.animatePieces(e)},animateItems:function(t){var e=i({easing:"linear",remove:!0},t,{targets:this.getItems(t.items)});e.remove&&anime.remove(e.targets),anime(e)}},f.version="1.0.0",f.random=anime.random,f.extend=i,f}));
|
bdthemes-prime-slider.php
CHANGED
@@ -4,14 +4,14 @@
|
|
4 |
* Plugin Name: Prime Slider
|
5 |
* Plugin URI: https://primeslider.pro/
|
6 |
* Description: Prime Slider is a packed of elementor widget that gives you some awesome header and slider combination for your website.
|
7 |
-
* Version: 2.
|
8 |
* Author: BdThemes
|
9 |
* Author URI: https://bdthemes.com/
|
10 |
* Text Domain: bdthemes-prime-slider
|
11 |
* Domain Path: /languages
|
12 |
* License: GPL3
|
13 |
* Elementor requires at least: 3.0.0
|
14 |
-
* Elementor tested up to: 3.
|
15 |
*
|
16 |
*/
|
17 |
|
@@ -57,7 +57,7 @@ if ( function_exists( 'bdt_ps' ) ) {
|
|
57 |
}
|
58 |
|
59 |
// Some pre define value for easy use
|
60 |
-
define( 'BDTPS_VER', '2.
|
61 |
define( 'BDTPS__FILE__', __FILE__ );
|
62 |
define( 'BDTPS_PNAME', basename( dirname( BDTPS__FILE__ ) ) );
|
63 |
define( 'BDTPS_PBNAME', plugin_basename( BDTPS__FILE__ ) );
|
4 |
* Plugin Name: Prime Slider
|
5 |
* Plugin URI: https://primeslider.pro/
|
6 |
* Description: Prime Slider is a packed of elementor widget that gives you some awesome header and slider combination for your website.
|
7 |
+
* Version: 2.8.0
|
8 |
* Author: BdThemes
|
9 |
* Author URI: https://bdthemes.com/
|
10 |
* Text Domain: bdthemes-prime-slider
|
11 |
* Domain Path: /languages
|
12 |
* License: GPL3
|
13 |
* Elementor requires at least: 3.0.0
|
14 |
+
* Elementor tested up to: 3.6.0
|
15 |
*
|
16 |
*/
|
17 |
|
57 |
}
|
58 |
|
59 |
// Some pre define value for easy use
|
60 |
+
define( 'BDTPS_VER', '2.8.0' );
|
61 |
define( 'BDTPS__FILE__', __FILE__ );
|
62 |
define( 'BDTPS_PNAME', basename( dirname( BDTPS__FILE__ ) ) );
|
63 |
define( 'BDTPS_PBNAME', plugin_basename( BDTPS__FILE__ ) );
|
changelog.txt
CHANGED
@@ -1,3 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
## 2.7.1 [8th March 2022]
|
2 |
|
3 |
### Fixed
|
1 |
+
## 2.8.0 [23th March 2022]
|
2 |
+
|
3 |
+
### Added
|
4 |
+
|
5 |
+
- Pieces Widget Added
|
6 |
+
- Arrows padding, margin option added in Isolate Widget
|
7 |
+
- Pagination typography option added in Flexure Widget
|
8 |
+
- Background Image Custom Size Option added in Astoria, Blog, Dragon, Event Calendar, Flexure, Flogia, Fluent, General, Mount, Pagepiling, Paranoia, Reveal, Storker, Woocommerce, Woostand, Wooexpand Widgets
|
9 |
+
|
10 |
## 2.7.1 [8th March 2022]
|
11 |
|
12 |
### Fixed
|
includes/admin-settings.php
CHANGED
@@ -346,6 +346,18 @@ class PrimeSlider_Admin_Settings
|
|
346 |
'video_url' => '',
|
347 |
];
|
348 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
349 |
if ( ps_is_reveal_enabled() ) {
|
350 |
$settings_fields['prime_slider_active_modules'][] = [
|
351 |
'name' => 'reveal',
|
346 |
'video_url' => '',
|
347 |
];
|
348 |
}
|
349 |
+
if ( ps_is_pieces_enabled() ) {
|
350 |
+
$settings_fields['prime_slider_active_modules'][] = [
|
351 |
+
'name' => 'pieces',
|
352 |
+
'label' => esc_html__( 'Pieces', 'bdthemes-prime-slider' ),
|
353 |
+
'type' => 'checkbox',
|
354 |
+
'default' => "off",
|
355 |
+
'widget_type' => 'free',
|
356 |
+
'content_type' => 'static new',
|
357 |
+
'demo_url' => 'https://primeslider.pro/demo/pieces/',
|
358 |
+
'video_url' => '',
|
359 |
+
];
|
360 |
+
}
|
361 |
if ( ps_is_reveal_enabled() ) {
|
362 |
$settings_fields['prime_slider_active_modules'][] = [
|
363 |
'name' => 'reveal',
|
includes/modules-manager.php
CHANGED
@@ -99,12 +99,18 @@ final class Manager
|
|
99 |
if ( ps_is_paranoia_enabled() ) {
|
100 |
$modules[] = 'paranoia';
|
101 |
}
|
|
|
|
|
|
|
102 |
if ( ps_is_reveal_enabled() ) {
|
103 |
$modules[] = 'reveal';
|
104 |
}
|
105 |
// if ( ps_is_diagonal_enabled() ) {
|
106 |
// $modules[] = 'diagonal';
|
107 |
// }
|
|
|
|
|
|
|
108 |
if ( ps_is_rubix_enabled() ) {
|
109 |
$modules[] = 'rubix';
|
110 |
}
|
99 |
if ( ps_is_paranoia_enabled() ) {
|
100 |
$modules[] = 'paranoia';
|
101 |
}
|
102 |
+
if ( ps_is_pieces_enabled() ) {
|
103 |
+
$modules[] = 'pieces';
|
104 |
+
}
|
105 |
if ( ps_is_reveal_enabled() ) {
|
106 |
$modules[] = 'reveal';
|
107 |
}
|
108 |
// if ( ps_is_diagonal_enabled() ) {
|
109 |
// $modules[] = 'diagonal';
|
110 |
// }
|
111 |
+
// if ( ps_is_rasher_enabled() ) {
|
112 |
+
// $modules[] = 'rasher';
|
113 |
+
// }
|
114 |
if ( ps_is_rubix_enabled() ) {
|
115 |
$modules[] = 'rubix';
|
116 |
}
|
includes/prime-slider-filters.php
CHANGED
@@ -261,3 +261,15 @@
|
|
261 |
// return apply_filters( 'primeslider/widgets/diagonal', true );
|
262 |
// }
|
263 |
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
261 |
// return apply_filters( 'primeslider/widgets/diagonal', true );
|
262 |
// }
|
263 |
// }
|
264 |
+
|
265 |
+
// if ( !function_exists( 'ps_is_rasher_enabled' ) ) {
|
266 |
+
// function ps_is_rasher_enabled() {
|
267 |
+
// return apply_filters( 'primeslider/widgets/rasher', true );
|
268 |
+
// }
|
269 |
+
// }
|
270 |
+
|
271 |
+
if ( !function_exists( 'ps_is_pieces_enabled' ) ) {
|
272 |
+
function ps_is_pieces_enabled() {
|
273 |
+
return apply_filters( 'primeslider/widgets/pieces', true );
|
274 |
+
}
|
275 |
+
}
|
loader.php
CHANGED
@@ -2,307 +2,393 @@
|
|
2 |
|
3 |
namespace PrimeSlider;
|
4 |
|
5 |
-
use
|
6 |
-
|
7 |
-
|
8 |
-
|
|
|
9 |
/**
|
10 |
* Main class for element pack
|
11 |
*/
|
12 |
-
class Prime_Slider_Loader
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
188 |
|
189 |
-
wp_register_script('gsap', BDTPS_ASSETS_URL . 'vendor/js/gsap' . $suffix . '.js', [], '3.3.0', true);
|
190 |
-
wp_register_script('split-text', BDTPS_ASSETS_URL . 'vendor/js/SplitText' . $suffix . '.js', ['gsap'], '3.3.0', true);
|
191 |
-
|
192 |
-
wp_register_script('bdt-parallax', BDTPS_ASSETS_URL . 'vendor/js/parallax' . $suffix . '.js', ['jquery'], null, true);
|
193 |
-
|
194 |
-
}
|
195 |
-
|
196 |
-
public function register_site_styles() {
|
197 |
-
$direction_suffix = is_rtl() ? '.rtl' : '';
|
198 |
-
|
199 |
-
wp_register_script('bdt-uikit-icons', BDTPS_ASSETS_URL . 'js/bdt-uikit-icons' . $direction_suffix . '.js', ['jquery', 'bdt-uikit'], '3.5.5', true);
|
200 |
-
wp_register_style('prime-slider-font', BDTPS_ASSETS_URL . 'css/prime-slider-font' . $direction_suffix . '.css', [], BDTPS_VER);
|
201 |
-
}
|
202 |
-
|
203 |
-
/**
|
204 |
-
* Loading site related style from here.
|
205 |
-
* @return [type] [description]
|
206 |
-
*/
|
207 |
-
public function enqueue_site_styles() {
|
208 |
-
|
209 |
-
$direction_suffix = is_rtl() ? '.rtl' : '';
|
210 |
-
|
211 |
-
wp_enqueue_style('bdt-uikit', BDTPS_ASSETS_URL . 'css/bdt-uikit' . $direction_suffix . '.css', [], '3.2');
|
212 |
-
wp_enqueue_style('prime-slider-site', BDTPS_ASSETS_URL . 'css/prime-slider-site' . $direction_suffix . '.css', [], BDTPS_VER);
|
213 |
-
}
|
214 |
-
|
215 |
-
|
216 |
-
/**
|
217 |
-
* Loading site related script that needs all time such as uikit.
|
218 |
-
* @return [type] [description]
|
219 |
-
*/
|
220 |
-
public function enqueue_site_scripts() {
|
221 |
-
|
222 |
-
$suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
|
223 |
-
|
224 |
-
wp_enqueue_script('bdt-uikit', BDTPS_ASSETS_URL . 'js/bdt-uikit' . $suffix . '.js', ['jquery'], '3.2');
|
225 |
-
wp_enqueue_script('prime-slider-site', BDTPS_ASSETS_URL . 'js/prime-slider-site' . $suffix . '.js', ['jquery', 'elementor-frontend'], BDTPS_VER);
|
226 |
-
}
|
227 |
-
|
228 |
-
public function enqueue_editor_scripts() {
|
229 |
-
|
230 |
-
$suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
|
231 |
-
|
232 |
-
wp_enqueue_script('prime-slider', BDTPS_ASSETS_URL . 'js/prime-slider-editor' . $suffix . '.js', ['backbone-marionette', 'elementor-common-modules', 'elementor-editor-modules',], BDTPS_VER, true);
|
233 |
-
}
|
234 |
-
|
235 |
-
/**
|
236 |
-
* Load editor editor related style from here
|
237 |
-
* @return [type] [description]
|
238 |
-
*/
|
239 |
-
public function enqueue_preview_styles() {
|
240 |
-
$direction_suffix = is_rtl() ? '.rtl' : '';
|
241 |
-
|
242 |
-
wp_enqueue_style('prime-slider-preview', BDTPS_ASSETS_URL . 'css/prime-slider-preview' . $direction_suffix . '.css', '', BDTPS_VER);
|
243 |
-
}
|
244 |
-
|
245 |
-
|
246 |
-
public function enqueue_editor_styles() {
|
247 |
-
$direction_suffix = is_rtl() ? '-rtl' : '';
|
248 |
-
|
249 |
-
wp_enqueue_style('prime-slider-editor', BDTPS_ASSETS_URL . 'css/prime-slider-editor' . $direction_suffix . '.css', '', BDTPS_VER);
|
250 |
-
wp_enqueue_style('prime-slider-font', BDTPS_ASSETS_URL . 'css/prime-slider-font' . $direction_suffix . '.css', [], BDTPS_VER);
|
251 |
-
}
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
/**
|
257 |
-
* initialize the category
|
258 |
-
* @return [type] [description]
|
259 |
-
*/
|
260 |
-
public function prime_slider_init() {
|
261 |
-
$this->_modules_manager = new Manager();
|
262 |
-
|
263 |
-
$elementor = Plugin::$instance;
|
264 |
-
|
265 |
-
// Add element category in panel
|
266 |
-
$elementor->elements_manager->add_category(BDTPS_SLUG, ['title' => BDTPS_TITLE, 'icon' => 'font']);
|
267 |
-
|
268 |
-
do_action('bdthemes_prime_slider/init');
|
269 |
-
}
|
270 |
-
|
271 |
-
private function setup_hooks() {
|
272 |
-
add_action('elementor/init', [$this, 'prime_slider_init']);
|
273 |
-
add_action('elementor/editor/after_enqueue_styles', [$this, 'enqueue_editor_styles']);
|
274 |
-
|
275 |
-
add_action('elementor/frontend/before_register_styles', [$this, 'register_site_styles']);
|
276 |
-
add_action('elementor/frontend/before_register_scripts', [$this, 'register_site_scripts']);
|
277 |
-
|
278 |
-
add_action('elementor/preview/enqueue_styles', [$this, 'enqueue_preview_styles']);
|
279 |
-
//add_action( 'elementor/editor/before_enqueue_scripts', [ $this, 'enqueue_editor_scripts' ] ); // TODO
|
280 |
-
|
281 |
-
add_action('elementor/frontend/after_register_styles', [$this, 'enqueue_site_styles']);
|
282 |
-
add_action('elementor/editor/before_enqueue_scripts', [$this, 'enqueue_editor_scripts']);
|
283 |
-
add_action('elementor/frontend/before_enqueue_scripts', [$this, 'enqueue_site_scripts']);
|
284 |
-
}
|
285 |
-
|
286 |
-
/**
|
287 |
-
* Prime_Slider_Loader constructor.
|
288 |
-
* @throws \Exception
|
289 |
-
*/
|
290 |
-
private function __construct() {
|
291 |
-
// Register class automatically
|
292 |
-
spl_autoload_register([$this, 'autoload']);
|
293 |
-
// Include some backend files
|
294 |
-
$this->_includes();
|
295 |
-
// Finally hooked up all things here
|
296 |
-
$this->setup_hooks();
|
297 |
-
}
|
298 |
}
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
Prime_Slider_Loader::instance();
|
303 |
}
|
304 |
-
|
305 |
// handy function for push data
|
306 |
-
function prime_slider_config()
|
307 |
-
|
|
|
308 |
}
|
2 |
|
3 |
namespace PrimeSlider;
|
4 |
|
5 |
+
use Elementor\Plugin ;
|
6 |
+
if ( !defined( 'ABSPATH' ) ) {
|
7 |
+
exit;
|
8 |
+
}
|
9 |
+
// Exit if accessed directly
|
10 |
/**
|
11 |
* Main class for element pack
|
12 |
*/
|
13 |
+
class Prime_Slider_Loader
|
14 |
+
{
|
15 |
+
/**
|
16 |
+
* @var Prime_Slider_Loader
|
17 |
+
*/
|
18 |
+
private static $_instance ;
|
19 |
+
/**
|
20 |
+
* @var Manager
|
21 |
+
*/
|
22 |
+
private $_modules_manager ;
|
23 |
+
private $classes_aliases = array(
|
24 |
+
'PrimeSlider\\Modules\\PanelPostsControl\\Module' => 'PrimeSlider\\Modules\\QueryControl\\Module',
|
25 |
+
'PrimeSlider\\Modules\\PanelPostsControl\\Controls\\Group_Control_Posts' => 'PrimeSlider\\Modules\\QueryControl\\Controls\\Group_Control_Posts',
|
26 |
+
'PrimeSlider\\Modules\\PanelPostsControl\\Controls\\Query' => 'PrimeSlider\\Modules\\QueryControl\\Controls\\Query',
|
27 |
+
) ;
|
28 |
+
public $elements_data = array(
|
29 |
+
'sections' => array(),
|
30 |
+
'columns' => array(),
|
31 |
+
'widgets' => array(),
|
32 |
+
) ;
|
33 |
+
/**
|
34 |
+
* @deprecated
|
35 |
+
*
|
36 |
+
* @return string
|
37 |
+
*/
|
38 |
+
public function get_version()
|
39 |
+
{
|
40 |
+
return BDTPS_VER;
|
41 |
+
}
|
42 |
+
|
43 |
+
/**
|
44 |
+
* Throw error on object clone
|
45 |
+
*
|
46 |
+
* The whole idea of the singleton design pattern is that there is a single
|
47 |
+
* object therefore, we don't want the object to be cloned.
|
48 |
+
*
|
49 |
+
* @since 1.0.0
|
50 |
+
* @return void
|
51 |
+
*/
|
52 |
+
public function __clone()
|
53 |
+
{
|
54 |
+
// Cloning instances of the class is forbidden
|
55 |
+
_doing_it_wrong( __FUNCTION__, esc_html__( 'Cheatin’ huh?', 'bdthemes-prime-slider' ), '1.6.0' );
|
56 |
+
}
|
57 |
+
|
58 |
+
/**
|
59 |
+
* Disable unserializing of the class
|
60 |
+
*
|
61 |
+
* @since 1.0.0
|
62 |
+
* @return void
|
63 |
+
*/
|
64 |
+
public function __wakeup()
|
65 |
+
{
|
66 |
+
// Unserializing instances of the class is forbidden
|
67 |
+
_doing_it_wrong( __FUNCTION__, esc_html__( 'Cheatin’ huh?', 'bdthemes-prime-slider' ), '1.6.0' );
|
68 |
+
}
|
69 |
+
|
70 |
+
/**
|
71 |
+
* @return Plugin
|
72 |
+
*/
|
73 |
+
public static function elementor()
|
74 |
+
{
|
75 |
+
return Plugin::$instance;
|
76 |
+
}
|
77 |
+
|
78 |
+
/**
|
79 |
+
* @return Prime_Slider_Loader
|
80 |
+
*/
|
81 |
+
public static function instance()
|
82 |
+
{
|
83 |
+
if ( is_null( self::$_instance ) ) {
|
84 |
+
self::$_instance = new self();
|
85 |
+
}
|
86 |
+
return self::$_instance;
|
87 |
+
}
|
88 |
+
|
89 |
+
/**
|
90 |
+
* we loaded module manager + admin php from here
|
91 |
+
* @return [type] [description]
|
92 |
+
*/
|
93 |
+
private function _includes()
|
94 |
+
{
|
95 |
+
// Dynamic Select control
|
96 |
+
require BDTPS_PATH . 'traits/query-controls/select-input/dynamic-select-input-module.php';
|
97 |
+
require BDTPS_PATH . 'traits/query-controls/select-input/dynamic-select.php';
|
98 |
+
// Global Controls
|
99 |
+
require_once BDTPS_PATH . 'traits/global-widget-controls.php';
|
100 |
+
//require_once BDTPS_PATH . 'traits/global-swiper-controls.php';
|
101 |
+
//require_once BDTPS_PATH . 'traits/global-mask-controls.php';
|
102 |
+
require BDTPS_PATH . 'includes/modules-manager.php';
|
103 |
+
if ( ps_is_dashboard_enabled() ) {
|
104 |
+
|
105 |
+
if ( is_admin() ) {
|
106 |
+
// Admin settings controller
|
107 |
+
require BDTPS_PATH . 'includes/class-settings-api.php';
|
108 |
+
// Prime Slider admin settings here
|
109 |
+
require BDTPS_PATH . 'includes/admin-settings.php';
|
110 |
+
// Load admin class for admin related content process
|
111 |
+
require BDTPS_PATH . 'includes/admin.php';
|
112 |
+
require BDTPS_PATH . 'includes/admin-feeds.php';
|
113 |
+
new Admin();
|
114 |
+
new Prime_Slider_Admin_Feeds();
|
115 |
+
}
|
116 |
+
|
117 |
+
}
|
118 |
+
}
|
119 |
+
|
120 |
+
/**
|
121 |
+
* Autoloader function for all classes files
|
122 |
+
* @param [type] $class [description]
|
123 |
+
* @return [type] [description]
|
124 |
+
*/
|
125 |
+
public function autoload( $class )
|
126 |
+
{
|
127 |
+
if ( 0 !== strpos( $class, __NAMESPACE__ ) ) {
|
128 |
+
return;
|
129 |
+
}
|
130 |
+
$has_class_alias = isset( $this->classes_aliases[$class] );
|
131 |
+
// Backward Compatibility: Save old class name for set an alias after the new class is loaded
|
132 |
+
|
133 |
+
if ( $has_class_alias ) {
|
134 |
+
$class_alias_name = $this->classes_aliases[$class];
|
135 |
+
$class_to_load = $class_alias_name;
|
136 |
+
} else {
|
137 |
+
$class_to_load = $class;
|
138 |
+
}
|
139 |
+
|
140 |
+
|
141 |
+
if ( !class_exists( $class_to_load ) ) {
|
142 |
+
$filename = strtolower( preg_replace( [
|
143 |
+
'/^' . __NAMESPACE__ . '\\\\/',
|
144 |
+
'/([a-z])([A-Z])/',
|
145 |
+
'/_/',
|
146 |
+
'/\\\\/'
|
147 |
+
], [
|
148 |
+
'',
|
149 |
+
'$1-$2',
|
150 |
+
'-',
|
151 |
+
DIRECTORY_SEPARATOR
|
152 |
+
], $class_to_load ) );
|
153 |
+
$filename = BDTPS_PATH . $filename . '.php';
|
154 |
+
if ( is_readable( $filename ) ) {
|
155 |
+
include $filename;
|
156 |
+
}
|
157 |
+
}
|
158 |
+
|
159 |
+
if ( $has_class_alias ) {
|
160 |
+
class_alias( $class_alias_name, $class );
|
161 |
+
}
|
162 |
+
}
|
163 |
+
|
164 |
+
/**
|
165 |
+
* Register all script that need for any specific widget on call basis.
|
166 |
+
* @return [type] [description]
|
167 |
+
*/
|
168 |
+
public function register_site_scripts()
|
169 |
+
{
|
170 |
+
$suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min' );
|
171 |
+
//TODO more attractive animation
|
172 |
+
//Thirdparty widgets
|
173 |
+
wp_register_script(
|
174 |
+
'jquery-multiscroll',
|
175 |
+
BDTPS_ASSETS_URL . 'vendor/js/jquery.multiscroll' . $suffix . '.js',
|
176 |
+
[ 'jquery', 'elementor-frontend' ],
|
177 |
+
BDTPS_VER,
|
178 |
+
true
|
179 |
+
);
|
180 |
+
wp_register_script(
|
181 |
+
'jquery-pagepiling',
|
182 |
+
BDTPS_ASSETS_URL . 'vendor/js/jquery.pagepiling' . $suffix . '.js',
|
183 |
+
[ 'jquery', 'elementor-frontend' ],
|
184 |
+
BDTPS_VER,
|
185 |
+
true
|
186 |
+
);
|
187 |
+
wp_register_script(
|
188 |
+
'easings',
|
189 |
+
BDTPS_ASSETS_URL . 'vendor/js/jquery.easings' . $suffix . '.js',
|
190 |
+
[ 'jquery', 'elementor-frontend' ],
|
191 |
+
BDTPS_VER,
|
192 |
+
true
|
193 |
+
);
|
194 |
+
wp_register_script(
|
195 |
+
'mThumbnailScroller',
|
196 |
+
BDTPS_ASSETS_URL . 'vendor/js/jquery.mThumbnailScroller' . $suffix . '.js',
|
197 |
+
[ 'jquery', 'elementor-frontend' ],
|
198 |
+
BDTPS_VER,
|
199 |
+
true
|
200 |
+
);
|
201 |
+
wp_register_script(
|
202 |
+
'goodshare',
|
203 |
+
BDTPS_ASSETS_URL . 'vendor/js/goodshare' . $suffix . '.js',
|
204 |
+
[ 'jquery', 'elementor-frontend' ],
|
205 |
+
BDTPS_VER,
|
206 |
+
true
|
207 |
+
);
|
208 |
+
wp_register_script(
|
209 |
+
'classie',
|
210 |
+
BDTPS_ASSETS_URL . 'vendor/js/classie' . $suffix . '.js',
|
211 |
+
[ 'jquery', 'elementor-frontend' ],
|
212 |
+
BDTPS_VER,
|
213 |
+
true
|
214 |
+
);
|
215 |
+
wp_register_script(
|
216 |
+
'dynamics',
|
217 |
+
BDTPS_ASSETS_URL . 'vendor/js/dynamics' . $suffix . '.js',
|
218 |
+
[ 'jquery', 'elementor-frontend' ],
|
219 |
+
BDTPS_VER,
|
220 |
+
true
|
221 |
+
);
|
222 |
+
wp_register_script(
|
223 |
+
'pieces',
|
224 |
+
BDTPS_ASSETS_URL . 'vendor/js/pieces' . $suffix . '.js',
|
225 |
+
[ 'jquery', 'elementor-frontend' ],
|
226 |
+
BDTPS_VER,
|
227 |
+
true
|
228 |
+
);
|
229 |
+
wp_register_script(
|
230 |
+
'bdt-parallax',
|
231 |
+
BDTPS_ASSETS_URL . 'vendor/js/parallax' . $suffix . '.js',
|
232 |
+
[ 'jquery' ],
|
233 |
+
null,
|
234 |
+
true
|
235 |
+
);
|
236 |
+
}
|
237 |
+
|
238 |
+
public function register_site_styles()
|
239 |
+
{
|
240 |
+
$direction_suffix = ( is_rtl() ? '.rtl' : '' );
|
241 |
+
wp_register_script(
|
242 |
+
'bdt-uikit-icons',
|
243 |
+
BDTPS_ASSETS_URL . 'js/bdt-uikit-icons' . $direction_suffix . '.js',
|
244 |
+
[ 'jquery', 'bdt-uikit' ],
|
245 |
+
'3.5.5',
|
246 |
+
true
|
247 |
+
);
|
248 |
+
wp_register_style(
|
249 |
+
'prime-slider-font',
|
250 |
+
BDTPS_ASSETS_URL . 'css/prime-slider-font' . $direction_suffix . '.css',
|
251 |
+
[],
|
252 |
+
BDTPS_VER
|
253 |
+
);
|
254 |
+
}
|
255 |
+
|
256 |
+
/**
|
257 |
+
* Loading site related style from here.
|
258 |
+
* @return [type] [description]
|
259 |
+
*/
|
260 |
+
public function enqueue_site_styles()
|
261 |
+
{
|
262 |
+
$direction_suffix = ( is_rtl() ? '.rtl' : '' );
|
263 |
+
wp_enqueue_style(
|
264 |
+
'bdt-uikit',
|
265 |
+
BDTPS_ASSETS_URL . 'css/bdt-uikit' . $direction_suffix . '.css',
|
266 |
+
[],
|
267 |
+
'3.2'
|
268 |
+
);
|
269 |
+
wp_enqueue_style(
|
270 |
+
'prime-slider-site',
|
271 |
+
BDTPS_ASSETS_URL . 'css/prime-slider-site' . $direction_suffix . '.css',
|
272 |
+
[],
|
273 |
+
BDTPS_VER
|
274 |
+
);
|
275 |
+
}
|
276 |
+
|
277 |
+
/**
|
278 |
+
* Loading site related script that needs all time such as uikit.
|
279 |
+
* @return [type] [description]
|
280 |
+
*/
|
281 |
+
public function enqueue_site_scripts()
|
282 |
+
{
|
283 |
+
$suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min' );
|
284 |
+
wp_enqueue_script(
|
285 |
+
'bdt-uikit',
|
286 |
+
BDTPS_ASSETS_URL . 'js/bdt-uikit' . $suffix . '.js',
|
287 |
+
[ 'jquery' ],
|
288 |
+
'3.2'
|
289 |
+
);
|
290 |
+
wp_enqueue_script(
|
291 |
+
'prime-slider-site',
|
292 |
+
BDTPS_ASSETS_URL . 'js/prime-slider-site' . $suffix . '.js',
|
293 |
+
[ 'jquery', 'elementor-frontend' ],
|
294 |
+
BDTPS_VER
|
295 |
+
);
|
296 |
+
}
|
297 |
+
|
298 |
+
public function enqueue_editor_scripts()
|
299 |
+
{
|
300 |
+
$suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min' );
|
301 |
+
wp_enqueue_script(
|
302 |
+
'prime-slider',
|
303 |
+
BDTPS_ASSETS_URL . 'js/prime-slider-editor' . $suffix . '.js',
|
304 |
+
[ 'backbone-marionette', 'elementor-common-modules', 'elementor-editor-modules' ],
|
305 |
+
BDTPS_VER,
|
306 |
+
true
|
307 |
+
);
|
308 |
+
}
|
309 |
+
|
310 |
+
/**
|
311 |
+
* Load editor editor related style from here
|
312 |
+
* @return [type] [description]
|
313 |
+
*/
|
314 |
+
public function enqueue_preview_styles()
|
315 |
+
{
|
316 |
+
$direction_suffix = ( is_rtl() ? '.rtl' : '' );
|
317 |
+
wp_enqueue_style(
|
318 |
+
'prime-slider-preview',
|
319 |
+
BDTPS_ASSETS_URL . 'css/prime-slider-preview' . $direction_suffix . '.css',
|
320 |
+
'',
|
321 |
+
BDTPS_VER
|
322 |
+
);
|
323 |
+
}
|
324 |
+
|
325 |
+
public function enqueue_editor_styles()
|
326 |
+
{
|
327 |
+
$direction_suffix = ( is_rtl() ? '-rtl' : '' );
|
328 |
+
wp_enqueue_style(
|
329 |
+
'prime-slider-editor',
|
330 |
+
BDTPS_ASSETS_URL . 'css/prime-slider-editor' . $direction_suffix . '.css',
|
331 |
+
'',
|
332 |
+
BDTPS_VER
|
333 |
+
);
|
334 |
+
wp_enqueue_style(
|
335 |
+
'prime-slider-font',
|
336 |
+
BDTPS_ASSETS_URL . 'css/prime-slider-font' . $direction_suffix . '.css',
|
337 |
+
[],
|
338 |
+
BDTPS_VER
|
339 |
+
);
|
340 |
+
}
|
341 |
+
|
342 |
+
/**
|
343 |
+
* initialize the category
|
344 |
+
* @return [type] [description]
|
345 |
+
*/
|
346 |
+
public function prime_slider_init()
|
347 |
+
{
|
348 |
+
$this->_modules_manager = new Manager();
|
349 |
+
$elementor = Plugin::$instance;
|
350 |
+
// Add element category in panel
|
351 |
+
$elementor->elements_manager->add_category( BDTPS_SLUG, [
|
352 |
+
'title' => BDTPS_TITLE,
|
353 |
+
'icon' => 'font',
|
354 |
+
] );
|
355 |
+
do_action( 'bdthemes_prime_slider/init' );
|
356 |
+
}
|
357 |
+
|
358 |
+
private function setup_hooks()
|
359 |
+
{
|
360 |
+
add_action( 'elementor/init', [ $this, 'prime_slider_init' ] );
|
361 |
+
add_action( 'elementor/editor/after_enqueue_styles', [ $this, 'enqueue_editor_styles' ] );
|
362 |
+
add_action( 'elementor/frontend/before_register_styles', [ $this, 'register_site_styles' ] );
|
363 |
+
add_action( 'elementor/frontend/before_register_scripts', [ $this, 'register_site_scripts' ] );
|
364 |
+
add_action( 'elementor/preview/enqueue_styles', [ $this, 'enqueue_preview_styles' ] );
|
365 |
+
//add_action( 'elementor/editor/before_enqueue_scripts', [ $this, 'enqueue_editor_scripts' ] ); // TODO
|
366 |
+
add_action( 'elementor/frontend/after_register_styles', [ $this, 'enqueue_site_styles' ] );
|
367 |
+
add_action( 'elementor/editor/before_enqueue_scripts', [ $this, 'enqueue_editor_scripts' ] );
|
368 |
+
add_action( 'elementor/frontend/before_enqueue_scripts', [ $this, 'enqueue_site_scripts' ] );
|
369 |
+
}
|
370 |
+
|
371 |
+
/**
|
372 |
+
* Prime_Slider_Loader constructor.
|
373 |
+
* @throws \Exception
|
374 |
+
*/
|
375 |
+
private function __construct()
|
376 |
+
{
|
377 |
+
// Register class automatically
|
378 |
+
spl_autoload_register( [ $this, 'autoload' ] );
|
379 |
+
// Include some backend files
|
380 |
+
$this->_includes();
|
381 |
+
// Finally hooked up all things here
|
382 |
+
$this->setup_hooks();
|
383 |
+
}
|
384 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
385 |
}
|
386 |
+
if ( !defined( 'BDTPS_TESTS' ) ) {
|
387 |
+
// In tests we run the instance manually.
|
388 |
+
Prime_Slider_Loader::instance();
|
|
|
389 |
}
|
|
|
390 |
// handy function for push data
|
391 |
+
function prime_slider_config()
|
392 |
+
{
|
393 |
+
return Prime_Slider_Loader::instance();
|
394 |
}
|
modules/blog/widgets/blog.php
CHANGED
@@ -77,7 +77,7 @@ class Blog extends Widget_Base
|
|
77 |
$this->add_skin( new Skins\Skin_Folio( $this ) );
|
78 |
}
|
79 |
|
80 |
-
protected function
|
81 |
{
|
82 |
$this->register_query_section_controls();
|
83 |
}
|
@@ -111,106 +111,21 @@ class Blog extends Widget_Base
|
|
111 |
'prefix_class' => 'bdt-prime-slider-thumbnail-size-',
|
112 |
'separator' => 'before',
|
113 |
] );
|
114 |
-
|
115 |
-
|
116 |
-
'type' => Controls_Manager::POPOVER_TOGGLE,
|
117 |
-
'label_off' => __( 'None', 'bdthemes-element-pack' ),
|
118 |
-
'label_on' => __( 'Custom', 'bdthemes-element-pack' ),
|
119 |
-
'return_value' => 'yes',
|
120 |
-
] );
|
121 |
-
$this->start_popover();
|
122 |
-
$this->add_responsive_control( 'background_image_position', [
|
123 |
-
'label' => _x( 'Position', 'bdthemes-prime-slider' ),
|
124 |
-
'type' => Controls_Manager::SELECT,
|
125 |
-
'default' => '',
|
126 |
-
'options' => [
|
127 |
-
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
128 |
-
'center center' => _x( 'Center Center', 'bdthemes-prime-slider' ),
|
129 |
-
'center left' => _x( 'Center Left', 'bdthemes-prime-slider' ),
|
130 |
-
'center right' => _x( 'Center Right', 'bdthemes-prime-slider' ),
|
131 |
-
'top center' => _x( 'Top Center', 'bdthemes-prime-slider' ),
|
132 |
-
'top left' => _x( 'Top Left', 'bdthemes-prime-slider' ),
|
133 |
-
'top right' => _x( 'Top Right', 'bdthemes-prime-slider' ),
|
134 |
-
'bottom center' => _x( 'Bottom Center', 'bdthemes-prime-slider' ),
|
135 |
-
'bottom left' => _x( 'Bottom Left', 'bdthemes-prime-slider' ),
|
136 |
-
'bottom right' => _x( 'Bottom Right', 'bdthemes-prime-slider' ),
|
137 |
-
],
|
138 |
-
'selectors' => [
|
139 |
-
'{{WRAPPER}} .bdt-prime-slider .bdt-slideshow-item>.bdt-ps-slide-img' => 'background-position: {{VALUE}};',
|
140 |
-
],
|
141 |
-
'condition' => [
|
142 |
-
'background_image_toggle' => 'yes',
|
143 |
-
],
|
144 |
-
'render_type' => 'ui',
|
145 |
-
] );
|
146 |
-
$this->add_responsive_control( 'background_image_attachment', [
|
147 |
-
'label' => _x( 'Attachment', 'bdthemes-prime-slider' ),
|
148 |
-
'type' => Controls_Manager::SELECT,
|
149 |
-
'default' => '',
|
150 |
-
'options' => [
|
151 |
-
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
152 |
-
'scroll' => _x( 'Scroll', 'bdthemes-prime-slider' ),
|
153 |
-
'fixed' => _x( 'Fixed', 'bdthemes-prime-slider' ),
|
154 |
-
],
|
155 |
-
'selectors' => [
|
156 |
-
'{{WRAPPER}} .bdt-prime-slider .bdt-slideshow-item>.bdt-ps-slide-img' => 'background-attachment: {{VALUE}};',
|
157 |
-
],
|
158 |
-
'condition' => [
|
159 |
-
'background_image_toggle' => 'yes',
|
160 |
-
],
|
161 |
-
'render_type' => 'ui',
|
162 |
-
] );
|
163 |
-
$this->add_responsive_control( 'background_image_repeat', [
|
164 |
-
'label' => _x( 'Repeat', 'bdthemes-prime-slider' ),
|
165 |
-
'type' => Controls_Manager::SELECT,
|
166 |
-
'default' => '',
|
167 |
-
'options' => [
|
168 |
-
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
169 |
-
'no-repeat' => _x( 'No-repeat', 'bdthemes-prime-slider' ),
|
170 |
-
'repeat' => _x( 'Repeat', 'bdthemes-prime-slider' ),
|
171 |
-
'repeat-x' => _x( 'Repeat-x', 'bdthemes-prime-slider' ),
|
172 |
-
'repeat-y' => _x( 'Repeat-y', 'bdthemes-prime-slider' ),
|
173 |
-
],
|
174 |
-
'selectors' => [
|
175 |
-
'{{WRAPPER}} .bdt-prime-slider .bdt-slideshow-item>.bdt-ps-slide-img' => 'background-repeat: {{VALUE}};',
|
176 |
-
],
|
177 |
-
'condition' => [
|
178 |
-
'background_image_toggle' => 'yes',
|
179 |
-
],
|
180 |
-
'render_type' => 'ui',
|
181 |
-
] );
|
182 |
-
$this->add_responsive_control( 'background_image_size', [
|
183 |
-
'label' => _x( 'Size', 'bdthemes-prime-slider' ),
|
184 |
-
'type' => Controls_Manager::SELECT,
|
185 |
-
'default' => '',
|
186 |
-
'options' => [
|
187 |
-
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
188 |
-
'auto' => _x( 'Auto', 'bdthemes-prime-slider' ),
|
189 |
-
'cover' => _x( 'Cover', 'bdthemes-prime-slider' ),
|
190 |
-
'contain' => _x( 'Contain', 'bdthemes-prime-slider' ),
|
191 |
-
],
|
192 |
-
'selectors' => [
|
193 |
-
'{{WRAPPER}} .bdt-prime-slider .bdt-slideshow-item>.bdt-ps-slide-img' => 'background-size: {{VALUE}};',
|
194 |
-
],
|
195 |
-
'condition' => [
|
196 |
-
'background_image_toggle' => 'yes',
|
197 |
-
],
|
198 |
-
'render_type' => 'ui',
|
199 |
-
] );
|
200 |
-
$this->end_popover();
|
201 |
$this->add_control( 'show_logo', [
|
202 |
-
'label' => esc_html__( 'Show Logo', 'bdthemes-prime-slider' ),
|
203 |
'type' => Controls_Manager::SWITCHER,
|
204 |
'default' => 'yes',
|
205 |
'separator' => 'before',
|
206 |
] );
|
207 |
$this->add_control( 'show_menu', [
|
208 |
-
'label' => esc_html__( 'Show Menu', 'bdthemes-prime-slider' ),
|
209 |
'type' => Controls_Manager::SWITCHER,
|
210 |
'default' => 'yes',
|
211 |
] );
|
212 |
$this->add_control( 'show_offcanvas', [
|
213 |
-
'label' => esc_html__( 'Show Offcanvas', 'bdthemes-prime-slider' ),
|
214 |
'type' => Controls_Manager::SWITCHER,
|
215 |
'default' => 'yes',
|
216 |
] );
|
@@ -409,7 +324,7 @@ class Blog extends Widget_Base
|
|
409 |
] );
|
410 |
$this->end_controls_section();
|
411 |
$this->start_controls_section( 'section_content_header', [
|
412 |
-
'label' => esc_html__( 'Header', 'bdthemes-prime-slider' ),
|
413 |
'conditions' => [
|
414 |
'relation' => 'or',
|
415 |
'terms' => [ [
|
@@ -1214,7 +1129,7 @@ class Blog extends Widget_Base
|
|
1214 |
$this->end_controls_section();
|
1215 |
//Style Start
|
1216 |
$this->start_controls_section( 'section_header_style', [
|
1217 |
-
'label' => __( 'Header', 'bdthemes-prime-slider' ),
|
1218 |
'tab' => Controls_Manager::TAB_STYLE,
|
1219 |
'conditions' => [
|
1220 |
'relation' => 'or',
|
77 |
$this->add_skin( new Skins\Skin_Folio( $this ) );
|
78 |
}
|
79 |
|
80 |
+
protected function register_controls()
|
81 |
{
|
82 |
$this->register_query_section_controls();
|
83 |
}
|
111 |
'prefix_class' => 'bdt-prime-slider-thumbnail-size-',
|
112 |
'separator' => 'before',
|
113 |
] );
|
114 |
+
//Global background settings Controls
|
115 |
+
$this->register_background_settings( '.bdt-prime-slider .bdt-slideshow-item>.bdt-ps-slide-img' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
$this->add_control( 'show_logo', [
|
117 |
+
'label' => esc_html__( 'Show Logo (Deprecated)', 'bdthemes-prime-slider' ),
|
118 |
'type' => Controls_Manager::SWITCHER,
|
119 |
'default' => 'yes',
|
120 |
'separator' => 'before',
|
121 |
] );
|
122 |
$this->add_control( 'show_menu', [
|
123 |
+
'label' => esc_html__( 'Show Menu (Deprecated)', 'bdthemes-prime-slider' ),
|
124 |
'type' => Controls_Manager::SWITCHER,
|
125 |
'default' => 'yes',
|
126 |
] );
|
127 |
$this->add_control( 'show_offcanvas', [
|
128 |
+
'label' => esc_html__( 'Show Offcanvas (Deprecated)', 'bdthemes-prime-slider' ),
|
129 |
'type' => Controls_Manager::SWITCHER,
|
130 |
'default' => 'yes',
|
131 |
] );
|
324 |
] );
|
325 |
$this->end_controls_section();
|
326 |
$this->start_controls_section( 'section_content_header', [
|
327 |
+
'label' => esc_html__( 'Header (Deprecated)', 'bdthemes-prime-slider' ),
|
328 |
'conditions' => [
|
329 |
'relation' => 'or',
|
330 |
'terms' => [ [
|
1129 |
$this->end_controls_section();
|
1130 |
//Style Start
|
1131 |
$this->start_controls_section( 'section_header_style', [
|
1132 |
+
'label' => __( 'Header (Deprecated)', 'bdthemes-prime-slider' ),
|
1133 |
'tab' => Controls_Manager::TAB_STYLE,
|
1134 |
'conditions' => [
|
1135 |
'relation' => 'or',
|
modules/dragon/widgets/dragon.php
CHANGED
@@ -10,10 +10,14 @@ use Elementor\Group_Control_Css_Filter;
|
|
10 |
use PrimeSlider\Utils;
|
11 |
use Elementor\Repeater;
|
12 |
|
|
|
|
|
13 |
if (!defined('ABSPATH')) exit; // Exit if accessed directly
|
14 |
|
15 |
class dragon extends Widget_Base {
|
16 |
|
|
|
|
|
17 |
public function get_name() {
|
18 |
return 'prime-slider-dragon';
|
19 |
}
|
@@ -298,115 +302,8 @@ class dragon extends Widget_Base {
|
|
298 |
]
|
299 |
);
|
300 |
|
301 |
-
|
302 |
-
|
303 |
-
[
|
304 |
-
'label' => __('Image Settings', 'bdthemes-element-pack') . BDTPS_NC,
|
305 |
-
'type' => Controls_Manager::POPOVER_TOGGLE,
|
306 |
-
'label_off' => __('None', 'bdthemes-element-pack'),
|
307 |
-
'label_on' => __('Custom', 'bdthemes-element-pack'),
|
308 |
-
'return_value' => 'yes',
|
309 |
-
'separator' => 'before'
|
310 |
-
]
|
311 |
-
);
|
312 |
-
|
313 |
-
$this->start_popover();
|
314 |
-
|
315 |
-
$this->add_responsive_control(
|
316 |
-
'background_image_position',
|
317 |
-
[
|
318 |
-
'label' => _x( 'Position', 'bdthemes-prime-slider' ),
|
319 |
-
'type' => Controls_Manager::SELECT,
|
320 |
-
'default' => '',
|
321 |
-
'options' => [
|
322 |
-
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
323 |
-
'center center' => _x( 'Center Center', 'bdthemes-prime-slider' ),
|
324 |
-
'center left' => _x( 'Center Left', 'bdthemes-prime-slider' ),
|
325 |
-
'center right' => _x( 'Center Right', 'bdthemes-prime-slider' ),
|
326 |
-
'top center' => _x( 'Top Center', 'bdthemes-prime-slider' ),
|
327 |
-
'top left' => _x( 'Top Left', 'bdthemes-prime-slider' ),
|
328 |
-
'top right' => _x( 'Top Right', 'bdthemes-prime-slider' ),
|
329 |
-
'bottom center' => _x( 'Bottom Center', 'bdthemes-prime-slider' ),
|
330 |
-
'bottom left' => _x( 'Bottom Left', 'bdthemes-prime-slider' ),
|
331 |
-
'bottom right' => _x( 'Bottom Right', 'bdthemes-prime-slider' ),
|
332 |
-
],
|
333 |
-
'selectors' => [
|
334 |
-
'{{WRAPPER}} .bdt-prime-slider .bdt-slideshow-item .bdt-ps-slide-img' => 'background-position: {{VALUE}};',
|
335 |
-
],
|
336 |
-
'condition' => [
|
337 |
-
'background_image_toggle' => 'yes'
|
338 |
-
],
|
339 |
-
'render_type' => 'ui',
|
340 |
-
]
|
341 |
-
);
|
342 |
-
|
343 |
-
$this->add_responsive_control(
|
344 |
-
'background_image_attachment',
|
345 |
-
[
|
346 |
-
'label' => _x( 'Attachment', 'bdthemes-prime-slider' ),
|
347 |
-
'type' => Controls_Manager::SELECT,
|
348 |
-
'default' => '',
|
349 |
-
'options' => [
|
350 |
-
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
351 |
-
'scroll' => _x( 'Scroll', 'bdthemes-prime-slider' ),
|
352 |
-
'fixed' => _x( 'Fixed', 'bdthemes-prime-slider' ),
|
353 |
-
],
|
354 |
-
'selectors' => [
|
355 |
-
'{{WRAPPER}} .bdt-prime-slider .bdt-slideshow-item .bdt-ps-slide-img' => 'background-attachment: {{VALUE}};',
|
356 |
-
],
|
357 |
-
'condition' => [
|
358 |
-
'background_image_toggle' => 'yes'
|
359 |
-
],
|
360 |
-
'render_type' => 'ui',
|
361 |
-
]
|
362 |
-
);
|
363 |
-
|
364 |
-
$this->add_responsive_control(
|
365 |
-
'background_image_repeat',
|
366 |
-
[
|
367 |
-
'label' => _x( 'Repeat', 'bdthemes-prime-slider' ),
|
368 |
-
'type' => Controls_Manager::SELECT,
|
369 |
-
'default' => '',
|
370 |
-
'options' => [
|
371 |
-
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
372 |
-
'no-repeat' => _x( 'No-repeat', 'bdthemes-prime-slider' ),
|
373 |
-
'repeat' => _x( 'Repeat', 'bdthemes-prime-slider' ),
|
374 |
-
'repeat-x' => _x( 'Repeat-x', 'bdthemes-prime-slider' ),
|
375 |
-
'repeat-y' => _x( 'Repeat-y', 'bdthemes-prime-slider' ),
|
376 |
-
],
|
377 |
-
'selectors' => [
|
378 |
-
'{{WRAPPER}} .bdt-prime-slider .bdt-slideshow-item .bdt-ps-slide-img' => 'background-repeat: {{VALUE}};',
|
379 |
-
],
|
380 |
-
'condition' => [
|
381 |
-
'background_image_toggle' => 'yes'
|
382 |
-
],
|
383 |
-
'render_type' => 'ui',
|
384 |
-
]
|
385 |
-
);
|
386 |
-
|
387 |
-
$this->add_responsive_control(
|
388 |
-
'background_image_size',
|
389 |
-
[
|
390 |
-
'label' => _x( 'Size', 'bdthemes-prime-slider' ),
|
391 |
-
'type' => Controls_Manager::SELECT,
|
392 |
-
'default' => '',
|
393 |
-
'options' => [
|
394 |
-
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
395 |
-
'auto' => _x( 'Auto', 'bdthemes-prime-slider' ),
|
396 |
-
'cover' => _x( 'Cover', 'bdthemes-prime-slider' ),
|
397 |
-
'contain' => _x( 'Contain', 'bdthemes-prime-slider' ),
|
398 |
-
],
|
399 |
-
'selectors' => [
|
400 |
-
'{{WRAPPER}} .bdt-prime-slider .bdt-slideshow-item .bdt-ps-slide-img' => 'background-size: {{VALUE}};',
|
401 |
-
],
|
402 |
-
'condition' => [
|
403 |
-
'background_image_toggle' => 'yes'
|
404 |
-
],
|
405 |
-
'render_type' => 'ui',
|
406 |
-
]
|
407 |
-
);
|
408 |
-
|
409 |
-
$this->end_popover();
|
410 |
|
411 |
$this->end_controls_section();
|
412 |
|
10 |
use PrimeSlider\Utils;
|
11 |
use Elementor\Repeater;
|
12 |
|
13 |
+
use PrimeSlider\Traits\Global_Widget_Controls;
|
14 |
+
|
15 |
if (!defined('ABSPATH')) exit; // Exit if accessed directly
|
16 |
|
17 |
class dragon extends Widget_Base {
|
18 |
|
19 |
+
use Global_Widget_Controls;
|
20 |
+
|
21 |
public function get_name() {
|
22 |
return 'prime-slider-dragon';
|
23 |
}
|
302 |
]
|
303 |
);
|
304 |
|
305 |
+
//Global background settings Controls
|
306 |
+
$this->register_background_settings('.bdt-prime-slider .bdt-slideshow-item .bdt-ps-slide-img');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
307 |
|
308 |
$this->end_controls_section();
|
309 |
|
modules/flogia/widgets/flogia.php
CHANGED
@@ -114,114 +114,8 @@ class Flogia extends Widget_Base {
|
|
114 |
]
|
115 |
);
|
116 |
|
117 |
-
|
118 |
-
|
119 |
-
[
|
120 |
-
'label' => __('Background Settings', 'bdthemes-element-pack') . BDTPS_NC,
|
121 |
-
'type' => Controls_Manager::POPOVER_TOGGLE,
|
122 |
-
'label_off' => __('None', 'bdthemes-element-pack'),
|
123 |
-
'label_on' => __('Custom', 'bdthemes-element-pack'),
|
124 |
-
'return_value' => 'yes',
|
125 |
-
]
|
126 |
-
);
|
127 |
-
|
128 |
-
$this->start_popover();
|
129 |
-
|
130 |
-
$this->add_responsive_control(
|
131 |
-
'background_image_position',
|
132 |
-
[
|
133 |
-
'label' => _x( 'Position', 'bdthemes-prime-slider' ),
|
134 |
-
'type' => Controls_Manager::SELECT,
|
135 |
-
'default' => '',
|
136 |
-
'options' => [
|
137 |
-
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
138 |
-
'center center' => _x( 'Center Center', 'bdthemes-prime-slider' ),
|
139 |
-
'center left' => _x( 'Center Left', 'bdthemes-prime-slider' ),
|
140 |
-
'center right' => _x( 'Center Right', 'bdthemes-prime-slider' ),
|
141 |
-
'top center' => _x( 'Top Center', 'bdthemes-prime-slider' ),
|
142 |
-
'top left' => _x( 'Top Left', 'bdthemes-prime-slider' ),
|
143 |
-
'top right' => _x( 'Top Right', 'bdthemes-prime-slider' ),
|
144 |
-
'bottom center' => _x( 'Bottom Center', 'bdthemes-prime-slider' ),
|
145 |
-
'bottom left' => _x( 'Bottom Left', 'bdthemes-prime-slider' ),
|
146 |
-
'bottom right' => _x( 'Bottom Right', 'bdthemes-prime-slider' ),
|
147 |
-
],
|
148 |
-
'selectors' => [
|
149 |
-
'{{WRAPPER}} .bdt-prime-slider .bdt-slideshow-item>.bdt-ps-slide-img' => 'background-position: {{VALUE}};',
|
150 |
-
],
|
151 |
-
'condition' => [
|
152 |
-
'background_image_toggle' => 'yes'
|
153 |
-
],
|
154 |
-
'render_type' => 'ui',
|
155 |
-
]
|
156 |
-
);
|
157 |
-
|
158 |
-
$this->add_responsive_control(
|
159 |
-
'background_image_attachment',
|
160 |
-
[
|
161 |
-
'label' => _x( 'Attachment', 'bdthemes-prime-slider' ),
|
162 |
-
'type' => Controls_Manager::SELECT,
|
163 |
-
'default' => '',
|
164 |
-
'options' => [
|
165 |
-
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
166 |
-
'scroll' => _x( 'Scroll', 'bdthemes-prime-slider' ),
|
167 |
-
'fixed' => _x( 'Fixed', 'bdthemes-prime-slider' ),
|
168 |
-
],
|
169 |
-
'selectors' => [
|
170 |
-
'{{WRAPPER}} .bdt-prime-slider .bdt-slideshow-item>.bdt-ps-slide-img' => 'background-attachment: {{VALUE}};',
|
171 |
-
],
|
172 |
-
'condition' => [
|
173 |
-
'background_image_toggle' => 'yes'
|
174 |
-
],
|
175 |
-
'render_type' => 'ui',
|
176 |
-
]
|
177 |
-
);
|
178 |
-
|
179 |
-
$this->add_responsive_control(
|
180 |
-
'background_image_repeat',
|
181 |
-
[
|
182 |
-
'label' => _x( 'Repeat', 'bdthemes-prime-slider' ),
|
183 |
-
'type' => Controls_Manager::SELECT,
|
184 |
-
'default' => '',
|
185 |
-
'options' => [
|
186 |
-
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
187 |
-
'no-repeat' => _x( 'No-repeat', 'bdthemes-prime-slider' ),
|
188 |
-
'repeat' => _x( 'Repeat', 'bdthemes-prime-slider' ),
|
189 |
-
'repeat-x' => _x( 'Repeat-x', 'bdthemes-prime-slider' ),
|
190 |
-
'repeat-y' => _x( 'Repeat-y', 'bdthemes-prime-slider' ),
|
191 |
-
],
|
192 |
-
'selectors' => [
|
193 |
-
'{{WRAPPER}} .bdt-prime-slider .bdt-slideshow-item>.bdt-ps-slide-img' => 'background-repeat: {{VALUE}};',
|
194 |
-
],
|
195 |
-
'condition' => [
|
196 |
-
'background_image_toggle' => 'yes'
|
197 |
-
],
|
198 |
-
'render_type' => 'ui',
|
199 |
-
]
|
200 |
-
);
|
201 |
-
|
202 |
-
$this->add_responsive_control(
|
203 |
-
'background_image_size',
|
204 |
-
[
|
205 |
-
'label' => _x( 'Size', 'bdthemes-prime-slider' ),
|
206 |
-
'type' => Controls_Manager::SELECT,
|
207 |
-
'default' => '',
|
208 |
-
'options' => [
|
209 |
-
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
210 |
-
'auto' => _x( 'Auto', 'bdthemes-prime-slider' ),
|
211 |
-
'cover' => _x( 'Cover', 'bdthemes-prime-slider' ),
|
212 |
-
'contain' => _x( 'Contain', 'bdthemes-prime-slider' ),
|
213 |
-
],
|
214 |
-
'selectors' => [
|
215 |
-
'{{WRAPPER}} .bdt-prime-slider .bdt-slideshow-item>.bdt-ps-slide-img' => 'background-size: {{VALUE}};',
|
216 |
-
],
|
217 |
-
'condition' => [
|
218 |
-
'background_image_toggle' => 'yes'
|
219 |
-
],
|
220 |
-
'render_type' => 'ui',
|
221 |
-
]
|
222 |
-
);
|
223 |
-
|
224 |
-
$this->end_popover();
|
225 |
|
226 |
$this->add_control(
|
227 |
'show_title',
|
114 |
]
|
115 |
);
|
116 |
|
117 |
+
//Global background settings Controls
|
118 |
+
$this->register_background_settings('.bdt-prime-slider .bdt-slideshow-item>.bdt-ps-slide-img');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
|
120 |
$this->add_control(
|
121 |
'show_title',
|
modules/general/widgets/general.php
CHANGED
@@ -14,6 +14,7 @@ use PrimeSlider\Utils ;
|
|
14 |
use Elementor\Repeater ;
|
15 |
use Elementor\Icons_Manager ;
|
16 |
use PrimeSlider\Prime_Slider_Loader ;
|
|
|
17 |
use PrimeSlider\Modules\General\Skins ;
|
18 |
if ( !defined( 'ABSPATH' ) ) {
|
19 |
exit;
|
@@ -21,6 +22,7 @@ if ( !defined( 'ABSPATH' ) ) {
|
|
21 |
// Exit if accessed directly
|
22 |
class General extends Widget_Base
|
23 |
{
|
|
|
24 |
public function get_name()
|
25 |
{
|
26 |
return 'prime-slider-general';
|
@@ -124,17 +126,17 @@ class General extends Widget_Base
|
|
124 |
'type' => Controls_Manager::DIVIDER,
|
125 |
] );
|
126 |
$this->add_control( 'show_logo', [
|
127 |
-
'label' => esc_html__( 'Show Logo', 'bdthemes-prime-slider' ),
|
128 |
'type' => Controls_Manager::SWITCHER,
|
129 |
'default' => 'yes',
|
130 |
] );
|
131 |
$this->add_control( 'show_menu', [
|
132 |
-
'label' => esc_html__( 'Show Menu', 'bdthemes-prime-slider' ),
|
133 |
'type' => Controls_Manager::SWITCHER,
|
134 |
'default' => 'yes',
|
135 |
] );
|
136 |
$this->add_control( 'show_offcanvas', [
|
137 |
-
'label' => esc_html__( 'Show Offcanvas', 'bdthemes-prime-slider' ),
|
138 |
'type' => Controls_Manager::SWITCHER,
|
139 |
'default' => 'yes',
|
140 |
] );
|
@@ -215,7 +217,7 @@ class General extends Widget_Base
|
|
215 |
] );
|
216 |
$this->end_controls_section();
|
217 |
$this->start_controls_section( 'section_content_header', [
|
218 |
-
'label' => esc_html__( 'Header', 'bdthemes-prime-slider' ),
|
219 |
'conditions' => [
|
220 |
'relation' => 'or',
|
221 |
'terms' => [ [
|
@@ -1001,93 +1003,8 @@ class General extends Widget_Base
|
|
1001 |
'prefix_class' => 'bdt-prime-slider-thumbnail-size-',
|
1002 |
'separator' => 'before',
|
1003 |
] );
|
1004 |
-
|
1005 |
-
|
1006 |
-
'type' => Controls_Manager::POPOVER_TOGGLE,
|
1007 |
-
'label_off' => __( 'None', 'bdthemes-element-pack' ),
|
1008 |
-
'label_on' => __( 'Custom', 'bdthemes-element-pack' ),
|
1009 |
-
'return_value' => 'yes',
|
1010 |
-
] );
|
1011 |
-
$this->start_popover();
|
1012 |
-
$this->add_responsive_control( 'background_image_position', [
|
1013 |
-
'label' => _x( 'Position', 'bdthemes-prime-slider' ),
|
1014 |
-
'type' => Controls_Manager::SELECT,
|
1015 |
-
'default' => '',
|
1016 |
-
'options' => [
|
1017 |
-
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
1018 |
-
'center center' => _x( 'Center Center', 'bdthemes-prime-slider' ),
|
1019 |
-
'center left' => _x( 'Center Left', 'bdthemes-prime-slider' ),
|
1020 |
-
'center right' => _x( 'Center Right', 'bdthemes-prime-slider' ),
|
1021 |
-
'top center' => _x( 'Top Center', 'bdthemes-prime-slider' ),
|
1022 |
-
'top left' => _x( 'Top Left', 'bdthemes-prime-slider' ),
|
1023 |
-
'top right' => _x( 'Top Right', 'bdthemes-prime-slider' ),
|
1024 |
-
'bottom center' => _x( 'Bottom Center', 'bdthemes-prime-slider' ),
|
1025 |
-
'bottom left' => _x( 'Bottom Left', 'bdthemes-prime-slider' ),
|
1026 |
-
'bottom right' => _x( 'Bottom Right', 'bdthemes-prime-slider' ),
|
1027 |
-
],
|
1028 |
-
'selectors' => [
|
1029 |
-
'{{WRAPPER}} .bdt-prime-slider .bdt-slideshow-item .bdt-ps-slide-img' => 'background-position: {{VALUE}};',
|
1030 |
-
],
|
1031 |
-
'condition' => [
|
1032 |
-
'background_image_toggle' => 'yes',
|
1033 |
-
],
|
1034 |
-
'render_type' => 'ui',
|
1035 |
-
] );
|
1036 |
-
$this->add_responsive_control( 'background_image_attachment', [
|
1037 |
-
'label' => _x( 'Attachment', 'bdthemes-prime-slider' ),
|
1038 |
-
'type' => Controls_Manager::SELECT,
|
1039 |
-
'default' => '',
|
1040 |
-
'options' => [
|
1041 |
-
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
1042 |
-
'scroll' => _x( 'Scroll', 'bdthemes-prime-slider' ),
|
1043 |
-
'fixed' => _x( 'Fixed', 'bdthemes-prime-slider' ),
|
1044 |
-
],
|
1045 |
-
'selectors' => [
|
1046 |
-
'{{WRAPPER}} .bdt-prime-slider .bdt-slideshow-item .bdt-ps-slide-img' => 'background-attachment: {{VALUE}};',
|
1047 |
-
],
|
1048 |
-
'condition' => [
|
1049 |
-
'background_image_toggle' => 'yes',
|
1050 |
-
],
|
1051 |
-
'render_type' => 'ui',
|
1052 |
-
] );
|
1053 |
-
$this->add_responsive_control( 'background_image_repeat', [
|
1054 |
-
'label' => _x( 'Repeat', 'bdthemes-prime-slider' ),
|
1055 |
-
'type' => Controls_Manager::SELECT,
|
1056 |
-
'default' => '',
|
1057 |
-
'options' => [
|
1058 |
-
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
1059 |
-
'no-repeat' => _x( 'No-repeat', 'bdthemes-prime-slider' ),
|
1060 |
-
'repeat' => _x( 'Repeat', 'bdthemes-prime-slider' ),
|
1061 |
-
'repeat-x' => _x( 'Repeat-x', 'bdthemes-prime-slider' ),
|
1062 |
-
'repeat-y' => _x( 'Repeat-y', 'bdthemes-prime-slider' ),
|
1063 |
-
],
|
1064 |
-
'selectors' => [
|
1065 |
-
'{{WRAPPER}} .bdt-prime-slider .bdt-slideshow-item .bdt-ps-slide-img' => 'background-repeat: {{VALUE}};',
|
1066 |
-
],
|
1067 |
-
'condition' => [
|
1068 |
-
'background_image_toggle' => 'yes',
|
1069 |
-
],
|
1070 |
-
'render_type' => 'ui',
|
1071 |
-
] );
|
1072 |
-
$this->add_responsive_control( 'background_image_size', [
|
1073 |
-
'label' => _x( 'Size', 'bdthemes-prime-slider' ),
|
1074 |
-
'type' => Controls_Manager::SELECT,
|
1075 |
-
'default' => '',
|
1076 |
-
'options' => [
|
1077 |
-
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
1078 |
-
'auto' => _x( 'Auto', 'bdthemes-prime-slider' ),
|
1079 |
-
'cover' => _x( 'Cover', 'bdthemes-prime-slider' ),
|
1080 |
-
'contain' => _x( 'Contain', 'bdthemes-prime-slider' ),
|
1081 |
-
],
|
1082 |
-
'selectors' => [
|
1083 |
-
'{{WRAPPER}} .bdt-prime-slider .bdt-slideshow-item .bdt-ps-slide-img' => 'background-size: {{VALUE}};',
|
1084 |
-
],
|
1085 |
-
'condition' => [
|
1086 |
-
'background_image_toggle' => 'yes',
|
1087 |
-
],
|
1088 |
-
'render_type' => 'ui',
|
1089 |
-
] );
|
1090 |
-
$this->end_popover();
|
1091 |
$this->end_controls_section();
|
1092 |
$this->start_controls_section( 'section_content_social_link', [
|
1093 |
'label' => __( 'Social Icon', 'bdthemes-prime-slider' ),
|
@@ -1287,7 +1204,7 @@ class General extends Widget_Base
|
|
1287 |
$this->end_controls_section();
|
1288 |
//Style Start
|
1289 |
$this->start_controls_section( 'section_header_style', [
|
1290 |
-
'label' => __( 'Header', 'bdthemes-prime-slider' ),
|
1291 |
'tab' => Controls_Manager::TAB_STYLE,
|
1292 |
'conditions' => [
|
1293 |
'relation' => 'or',
|
14 |
use Elementor\Repeater ;
|
15 |
use Elementor\Icons_Manager ;
|
16 |
use PrimeSlider\Prime_Slider_Loader ;
|
17 |
+
use PrimeSlider\Traits\Global_Widget_Controls ;
|
18 |
use PrimeSlider\Modules\General\Skins ;
|
19 |
if ( !defined( 'ABSPATH' ) ) {
|
20 |
exit;
|
22 |
// Exit if accessed directly
|
23 |
class General extends Widget_Base
|
24 |
{
|
25 |
+
use Global_Widget_Controls ;
|
26 |
public function get_name()
|
27 |
{
|
28 |
return 'prime-slider-general';
|
126 |
'type' => Controls_Manager::DIVIDER,
|
127 |
] );
|
128 |
$this->add_control( 'show_logo', [
|
129 |
+
'label' => esc_html__( 'Show Logo (Deprecated)', 'bdthemes-prime-slider' ),
|
130 |
'type' => Controls_Manager::SWITCHER,
|
131 |
'default' => 'yes',
|
132 |
] );
|
133 |
$this->add_control( 'show_menu', [
|
134 |
+
'label' => esc_html__( 'Show Menu (Deprecated)', 'bdthemes-prime-slider' ),
|
135 |
'type' => Controls_Manager::SWITCHER,
|
136 |
'default' => 'yes',
|
137 |
] );
|
138 |
$this->add_control( 'show_offcanvas', [
|
139 |
+
'label' => esc_html__( 'Show Offcanvas (Deprecated)', 'bdthemes-prime-slider' ),
|
140 |
'type' => Controls_Manager::SWITCHER,
|
141 |
'default' => 'yes',
|
142 |
] );
|
217 |
] );
|
218 |
$this->end_controls_section();
|
219 |
$this->start_controls_section( 'section_content_header', [
|
220 |
+
'label' => esc_html__( 'Header (Deprecated)', 'bdthemes-prime-slider' ),
|
221 |
'conditions' => [
|
222 |
'relation' => 'or',
|
223 |
'terms' => [ [
|
1003 |
'prefix_class' => 'bdt-prime-slider-thumbnail-size-',
|
1004 |
'separator' => 'before',
|
1005 |
] );
|
1006 |
+
//Global background settings Controls
|
1007 |
+
$this->register_background_settings( '.bdt-prime-slider .bdt-slideshow-item .bdt-ps-slide-img' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1008 |
$this->end_controls_section();
|
1009 |
$this->start_controls_section( 'section_content_social_link', [
|
1010 |
'label' => __( 'Social Icon', 'bdthemes-prime-slider' ),
|
1204 |
$this->end_controls_section();
|
1205 |
//Style Start
|
1206 |
$this->start_controls_section( 'section_header_style', [
|
1207 |
+
'label' => __( 'Header (Deprecated)', 'bdthemes-prime-slider' ),
|
1208 |
'tab' => Controls_Manager::TAB_STYLE,
|
1209 |
'conditions' => [
|
1210 |
'relation' => 'or',
|
modules/isolate/widgets/isolate.php
CHANGED
@@ -98,17 +98,17 @@ class Isolate extends Widget_Base
|
|
98 |
],
|
99 |
] );
|
100 |
$this->add_control( 'show_logo', [
|
101 |
-
'label' => esc_html__( 'Show Logo', 'bdthemes-prime-slider' ),
|
102 |
'type' => Controls_Manager::SWITCHER,
|
103 |
'default' => 'yes',
|
104 |
] );
|
105 |
$this->add_control( 'show_menu', [
|
106 |
-
'label' => esc_html__( 'Show Menu', 'bdthemes-prime-slider' ),
|
107 |
'type' => Controls_Manager::SWITCHER,
|
108 |
'default' => 'yes',
|
109 |
] );
|
110 |
$this->add_control( 'show_offcanvas', [
|
111 |
-
'label' => esc_html__( 'Show Offcanvas', 'bdthemes-prime-slider' ),
|
112 |
'type' => Controls_Manager::SWITCHER,
|
113 |
'default' => 'yes',
|
114 |
] );
|
@@ -237,7 +237,7 @@ class Isolate extends Widget_Base
|
|
237 |
] );
|
238 |
$this->end_controls_section();
|
239 |
$this->start_controls_section( 'section_content_header', [
|
240 |
-
'label' => esc_html__( 'Header', 'bdthemes-prime-slider' ),
|
241 |
'conditions' => [
|
242 |
'relation' => 'or',
|
243 |
'terms' => [ [
|
@@ -1198,7 +1198,7 @@ class Isolate extends Widget_Base
|
|
1198 |
$this->end_controls_section();
|
1199 |
//Style Start
|
1200 |
$this->start_controls_section( 'section_header_style', [
|
1201 |
-
'label' => __( 'Header', 'bdthemes-prime-slider' ),
|
1202 |
'tab' => Controls_Manager::TAB_STYLE,
|
1203 |
'conditions' => [
|
1204 |
'relation' => 'or',
|
@@ -2532,6 +2532,44 @@ class Isolate extends Widget_Base
|
|
2532 |
'show_navigation_arrows' => [ 'yes' ],
|
2533 |
],
|
2534 |
] );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2535 |
$this->add_control( 'navi_dot_color', [
|
2536 |
'label' => __( 'Dot Color', 'bdthemes-prime-slider' ),
|
2537 |
'type' => Controls_Manager::COLOR,
|
@@ -2580,6 +2618,15 @@ class Isolate extends Widget_Base
|
|
2580 |
'_skin' => [ 'locate', 'slice' ],
|
2581 |
],
|
2582 |
] );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2583 |
$this->end_controls_tab();
|
2584 |
$this->start_controls_tab( 'tab_navigation_arrows_hover_style', [
|
2585 |
'label' => __( 'Hover', 'bdthemes-prime-slider' ),
|
98 |
],
|
99 |
] );
|
100 |
$this->add_control( 'show_logo', [
|
101 |
+
'label' => esc_html__( 'Show Logo (Deprecated)', 'bdthemes-prime-slider' ),
|
102 |
'type' => Controls_Manager::SWITCHER,
|
103 |
'default' => 'yes',
|
104 |
] );
|
105 |
$this->add_control( 'show_menu', [
|
106 |
+
'label' => esc_html__( 'Show Menu (Deprecated)', 'bdthemes-prime-slider' ),
|
107 |
'type' => Controls_Manager::SWITCHER,
|
108 |
'default' => 'yes',
|
109 |
] );
|
110 |
$this->add_control( 'show_offcanvas', [
|
111 |
+
'label' => esc_html__( 'Show Offcanvas (Deprecated)', 'bdthemes-prime-slider' ),
|
112 |
'type' => Controls_Manager::SWITCHER,
|
113 |
'default' => 'yes',
|
114 |
] );
|
237 |
] );
|
238 |
$this->end_controls_section();
|
239 |
$this->start_controls_section( 'section_content_header', [
|
240 |
+
'label' => esc_html__( 'Header (Deprecated)', 'bdthemes-prime-slider' ),
|
241 |
'conditions' => [
|
242 |
'relation' => 'or',
|
243 |
'terms' => [ [
|
1198 |
$this->end_controls_section();
|
1199 |
//Style Start
|
1200 |
$this->start_controls_section( 'section_header_style', [
|
1201 |
+
'label' => __( 'Header (Deprecated)', 'bdthemes-prime-slider' ),
|
1202 |
'tab' => Controls_Manager::TAB_STYLE,
|
1203 |
'conditions' => [
|
1204 |
'relation' => 'or',
|
2532 |
'show_navigation_arrows' => [ 'yes' ],
|
2533 |
],
|
2534 |
] );
|
2535 |
+
$this->add_responsive_control( 'arrows_padding', [
|
2536 |
+
'label' => __( 'Padding', 'bdthemes-prime-slider' ) . BDTPS_NC,
|
2537 |
+
'type' => Controls_Manager::DIMENSIONS,
|
2538 |
+
'size_units' => [ 'px', 'em', '%' ],
|
2539 |
+
'selectors' => [
|
2540 |
+
'{{WRAPPER}} .bdt-prime-slider .bdt-prime-slider-next, {{WRAPPER}} .bdt-prime-slider .bdt-prime-slider-previous' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
2541 |
+
],
|
2542 |
+
'condition' => [
|
2543 |
+
'show_navigation_arrows' => [ 'yes' ],
|
2544 |
+
],
|
2545 |
+
] );
|
2546 |
+
$this->add_responsive_control( 'arrows_margin', [
|
2547 |
+
'label' => __( 'Margin', 'bdthemes-prime-slider' ) . BDTPS_NC,
|
2548 |
+
'type' => Controls_Manager::DIMENSIONS,
|
2549 |
+
'size_units' => [ 'px', 'em', '%' ],
|
2550 |
+
'selectors' => [
|
2551 |
+
'{{WRAPPER}} .bdt-prime-slider .bdt-prime-slider-next, {{WRAPPER}} .bdt-prime-slider .bdt-prime-slider-previous' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
2552 |
+
],
|
2553 |
+
'condition' => [
|
2554 |
+
'show_navigation_arrows' => [ 'yes' ],
|
2555 |
+
],
|
2556 |
+
] );
|
2557 |
+
$this->add_group_control( Group_Control_Typography::get_type(), [
|
2558 |
+
'name' => 'arrows_size',
|
2559 |
+
'label' => __( 'Typography', 'bdthemes-prime-slider' ) . BDTPS_NC,
|
2560 |
+
'selector' => '{{WRAPPER}} .bdt-prime-slider .bdt-prime-slider-next, {{WRAPPER}} .bdt-prime-slider .bdt-prime-slider-previous',
|
2561 |
+
'condition' => [
|
2562 |
+
'show_navigation_arrows' => [ 'yes' ],
|
2563 |
+
],
|
2564 |
+
] );
|
2565 |
+
$this->add_control( 'pagination_heading', [
|
2566 |
+
'label' => __( 'Pagination', 'bdthemes-prime-slider' ),
|
2567 |
+
'type' => Controls_Manager::HEADING,
|
2568 |
+
'condition' => [
|
2569 |
+
'show_navigation_dots' => [ 'yes' ],
|
2570 |
+
],
|
2571 |
+
'separator' => 'before',
|
2572 |
+
] );
|
2573 |
$this->add_control( 'navi_dot_color', [
|
2574 |
'label' => __( 'Dot Color', 'bdthemes-prime-slider' ),
|
2575 |
'type' => Controls_Manager::COLOR,
|
2618 |
'_skin' => [ 'locate', 'slice' ],
|
2619 |
],
|
2620 |
] );
|
2621 |
+
$this->add_group_control( Group_Control_Typography::get_type(), [
|
2622 |
+
'name' => 'dots_size',
|
2623 |
+
'label' => __( 'Typography', 'bdthemes-prime-slider' ) . BDTPS_NC,
|
2624 |
+
'selector' => '{{WRAPPER}} .bdt-prime-slider .bdt-ps-dotnav li a, {{WRAPPER}} .bdt-prime-slider .bdt-ps-dotnav span',
|
2625 |
+
'condition' => [
|
2626 |
+
'show_navigation_dots' => [ 'yes' ],
|
2627 |
+
'_skin' => [ 'locate', 'slice' ],
|
2628 |
+
],
|
2629 |
+
] );
|
2630 |
$this->end_controls_tab();
|
2631 |
$this->start_controls_tab( 'tab_navigation_arrows_hover_style', [
|
2632 |
'label' => __( 'Hover', 'bdthemes-prime-slider' ),
|
modules/mount/widgets/mount.php
CHANGED
@@ -13,10 +13,14 @@ use Elementor\Group_Control_Text_Shadow;
|
|
13 |
use PrimeSlider\Utils;
|
14 |
use Elementor\Repeater;
|
15 |
|
|
|
|
|
16 |
if (!defined('ABSPATH')) exit; // Exit if accessed directly
|
17 |
|
18 |
class Mount extends Widget_Base {
|
19 |
|
|
|
|
|
20 |
public function get_name() {
|
21 |
return 'prime-slider-mount';
|
22 |
}
|
@@ -260,115 +264,8 @@ class Mount extends Widget_Base {
|
|
260 |
]
|
261 |
);
|
262 |
|
263 |
-
|
264 |
-
|
265 |
-
[
|
266 |
-
'label' => __('Image Settings', 'bdthemes-element-pack') . BDTPS_NC,
|
267 |
-
'type' => Controls_Manager::POPOVER_TOGGLE,
|
268 |
-
'label_off' => __('None', 'bdthemes-element-pack'),
|
269 |
-
'label_on' => __('Custom', 'bdthemes-element-pack'),
|
270 |
-
'return_value' => 'yes',
|
271 |
-
'separator' => 'before'
|
272 |
-
]
|
273 |
-
);
|
274 |
-
|
275 |
-
$this->start_popover();
|
276 |
-
|
277 |
-
$this->add_responsive_control(
|
278 |
-
'background_image_position',
|
279 |
-
[
|
280 |
-
'label' => _x( 'Position', 'bdthemes-prime-slider' ),
|
281 |
-
'type' => Controls_Manager::SELECT,
|
282 |
-
'default' => '',
|
283 |
-
'options' => [
|
284 |
-
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
285 |
-
'center center' => _x( 'Center Center', 'bdthemes-prime-slider' ),
|
286 |
-
'center left' => _x( 'Center Left', 'bdthemes-prime-slider' ),
|
287 |
-
'center right' => _x( 'Center Right', 'bdthemes-prime-slider' ),
|
288 |
-
'top center' => _x( 'Top Center', 'bdthemes-prime-slider' ),
|
289 |
-
'top left' => _x( 'Top Left', 'bdthemes-prime-slider' ),
|
290 |
-
'top right' => _x( 'Top Right', 'bdthemes-prime-slider' ),
|
291 |
-
'bottom center' => _x( 'Bottom Center', 'bdthemes-prime-slider' ),
|
292 |
-
'bottom left' => _x( 'Bottom Left', 'bdthemes-prime-slider' ),
|
293 |
-
'bottom right' => _x( 'Bottom Right', 'bdthemes-prime-slider' ),
|
294 |
-
],
|
295 |
-
'selectors' => [
|
296 |
-
'{{WRAPPER}} .bdt-prime-slider .bdt-slideshow-item .bdt-ps-slide-img' => 'background-position: {{VALUE}};',
|
297 |
-
],
|
298 |
-
'condition' => [
|
299 |
-
'background_image_toggle' => 'yes'
|
300 |
-
],
|
301 |
-
'render_type' => 'ui',
|
302 |
-
]
|
303 |
-
);
|
304 |
-
|
305 |
-
$this->add_responsive_control(
|
306 |
-
'background_image_attachment',
|
307 |
-
[
|
308 |
-
'label' => _x( 'Attachment', 'bdthemes-prime-slider' ),
|
309 |
-
'type' => Controls_Manager::SELECT,
|
310 |
-
'default' => '',
|
311 |
-
'options' => [
|
312 |
-
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
313 |
-
'scroll' => _x( 'Scroll', 'bdthemes-prime-slider' ),
|
314 |
-
'fixed' => _x( 'Fixed', 'bdthemes-prime-slider' ),
|
315 |
-
],
|
316 |
-
'selectors' => [
|
317 |
-
'{{WRAPPER}} .bdt-prime-slider .bdt-slideshow-item .bdt-ps-slide-img' => 'background-attachment: {{VALUE}};',
|
318 |
-
],
|
319 |
-
'condition' => [
|
320 |
-
'background_image_toggle' => 'yes'
|
321 |
-
],
|
322 |
-
'render_type' => 'ui',
|
323 |
-
]
|
324 |
-
);
|
325 |
-
|
326 |
-
$this->add_responsive_control(
|
327 |
-
'background_image_repeat',
|
328 |
-
[
|
329 |
-
'label' => _x( 'Repeat', 'bdthemes-prime-slider' ),
|
330 |
-
'type' => Controls_Manager::SELECT,
|
331 |
-
'default' => '',
|
332 |
-
'options' => [
|
333 |
-
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
334 |
-
'no-repeat' => _x( 'No-repeat', 'bdthemes-prime-slider' ),
|
335 |
-
'repeat' => _x( 'Repeat', 'bdthemes-prime-slider' ),
|
336 |
-
'repeat-x' => _x( 'Repeat-x', 'bdthemes-prime-slider' ),
|
337 |
-
'repeat-y' => _x( 'Repeat-y', 'bdthemes-prime-slider' ),
|
338 |
-
],
|
339 |
-
'selectors' => [
|
340 |
-
'{{WRAPPER}} .bdt-prime-slider .bdt-slideshow-item .bdt-ps-slide-img' => 'background-repeat: {{VALUE}};',
|
341 |
-
],
|
342 |
-
'condition' => [
|
343 |
-
'background_image_toggle' => 'yes'
|
344 |
-
],
|
345 |
-
'render_type' => 'ui',
|
346 |
-
]
|
347 |
-
);
|
348 |
-
|
349 |
-
$this->add_responsive_control(
|
350 |
-
'background_image_size',
|
351 |
-
[
|
352 |
-
'label' => _x( 'Size', 'bdthemes-prime-slider' ),
|
353 |
-
'type' => Controls_Manager::SELECT,
|
354 |
-
'default' => '',
|
355 |
-
'options' => [
|
356 |
-
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
357 |
-
'auto' => _x( 'Auto', 'bdthemes-prime-slider' ),
|
358 |
-
'cover' => _x( 'Cover', 'bdthemes-prime-slider' ),
|
359 |
-
'contain' => _x( 'Contain', 'bdthemes-prime-slider' ),
|
360 |
-
],
|
361 |
-
'selectors' => [
|
362 |
-
'{{WRAPPER}} .bdt-prime-slider .bdt-slideshow-item .bdt-ps-slide-img' => 'background-size: {{VALUE}};',
|
363 |
-
],
|
364 |
-
'condition' => [
|
365 |
-
'background_image_toggle' => 'yes'
|
366 |
-
],
|
367 |
-
'render_type' => 'ui',
|
368 |
-
]
|
369 |
-
);
|
370 |
-
|
371 |
-
$this->end_popover();
|
372 |
|
373 |
$this->end_controls_section();
|
374 |
|
@@ -1007,10 +904,22 @@ class Mount extends Widget_Base {
|
|
1007 |
]
|
1008 |
);
|
1009 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1010 |
$this->add_control(
|
1011 |
'active_dot_number_color',
|
1012 |
[
|
1013 |
-
'label' => __('
|
1014 |
'type' => Controls_Manager::COLOR,
|
1015 |
'selectors' => [
|
1016 |
'{{WRAPPER}} .bdt-prime-slider-mount .bdt-ps-dotnav li a, {{WRAPPER}} .bdt-prime-slider-mount .bdt-ps-dotnav span' => 'color: {{VALUE}}',
|
@@ -1022,6 +931,18 @@ class Mount extends Widget_Base {
|
|
1022 |
]
|
1023 |
);
|
1024 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1025 |
$this->end_controls_section();
|
1026 |
|
1027 |
}
|
13 |
use PrimeSlider\Utils;
|
14 |
use Elementor\Repeater;
|
15 |
|
16 |
+
use PrimeSlider\Traits\Global_Widget_Controls;
|
17 |
+
|
18 |
if (!defined('ABSPATH')) exit; // Exit if accessed directly
|
19 |
|
20 |
class Mount extends Widget_Base {
|
21 |
|
22 |
+
use Global_Widget_Controls;
|
23 |
+
|
24 |
public function get_name() {
|
25 |
return 'prime-slider-mount';
|
26 |
}
|
264 |
]
|
265 |
);
|
266 |
|
267 |
+
//Global background settings Controls
|
268 |
+
$this->register_background_settings('.bdt-prime-slider .bdt-slideshow-item .bdt-ps-slide-img');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
269 |
|
270 |
$this->end_controls_section();
|
271 |
|
904 |
]
|
905 |
);
|
906 |
|
907 |
+
$this->add_control(
|
908 |
+
'pagination_heading',
|
909 |
+
[
|
910 |
+
'label' => __('Pagination', 'bdthemes-prime-slider'),
|
911 |
+
'type' => Controls_Manager::HEADING,
|
912 |
+
'condition' => [
|
913 |
+
'show_navigation_dots' => ['yes'],
|
914 |
+
],
|
915 |
+
'separator' => 'before'
|
916 |
+
]
|
917 |
+
);
|
918 |
+
|
919 |
$this->add_control(
|
920 |
'active_dot_number_color',
|
921 |
[
|
922 |
+
'label' => __('Color', 'bdthemes-prime-slider'),
|
923 |
'type' => Controls_Manager::COLOR,
|
924 |
'selectors' => [
|
925 |
'{{WRAPPER}} .bdt-prime-slider-mount .bdt-ps-dotnav li a, {{WRAPPER}} .bdt-prime-slider-mount .bdt-ps-dotnav span' => 'color: {{VALUE}}',
|
931 |
]
|
932 |
);
|
933 |
|
934 |
+
$this->add_group_control(
|
935 |
+
Group_Control_Typography::get_type(),
|
936 |
+
[
|
937 |
+
'name' => 'dots_size',
|
938 |
+
'label' => __('Typography', 'bdthemes-prime-slider') . BDTPS_NC,
|
939 |
+
'selector' => '{{WRAPPER}} .bdt-prime-slider-mount .bdt-ps-dotnav li a, {{WRAPPER}} .bdt-prime-slider-mount .bdt-ps-dotnav span',
|
940 |
+
'condition' => [
|
941 |
+
'show_navigation_dots' => ['yes'],
|
942 |
+
],
|
943 |
+
]
|
944 |
+
);
|
945 |
+
|
946 |
$this->end_controls_section();
|
947 |
|
948 |
}
|
modules/multiscroll/widgets/multiscroll.php
CHANGED
@@ -1509,7 +1509,7 @@ class Multiscroll extends Widget_Base {
|
|
1509 |
$this->add_render_attribute('ms_section_right', 'class', ['ms-section', 'bdt-ms-section', 'bdt-ms-section-right', 'elementor-repeater-item-' . esc_attr($slide['_id'])], true);
|
1510 |
$this->add_render_attribute('ms_section_right', 'id', 'bdt-ms-section-right', true);
|
1511 |
}
|
1512 |
-
if ( $slide['right_background_image']['id'] ) {
|
1513 |
$right_bg = $this->rendar_background_image($slide['right_background_image']['id']);
|
1514 |
}
|
1515 |
?>
|
1509 |
$this->add_render_attribute('ms_section_right', 'class', ['ms-section', 'bdt-ms-section', 'bdt-ms-section-right', 'elementor-repeater-item-' . esc_attr($slide['_id'])], true);
|
1510 |
$this->add_render_attribute('ms_section_right', 'id', 'bdt-ms-section-right', true);
|
1511 |
}
|
1512 |
+
if ( isset($slide['right_background_image']['id']) ) {
|
1513 |
$right_bg = $this->rendar_background_image($slide['right_background_image']['id']);
|
1514 |
}
|
1515 |
?>
|
modules/pacific/widgets/pacific.php
CHANGED
@@ -243,15 +243,25 @@ class Pacific extends Widget_Base
|
|
243 |
);
|
244 |
|
245 |
$this->add_control(
|
246 |
-
'
|
247 |
[
|
248 |
-
'label' => __('Show
|
249 |
'type' => Controls_Manager::SWITCHER,
|
250 |
'default' => 'yes',
|
251 |
'separator' => 'before'
|
252 |
]
|
253 |
);
|
254 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
255 |
$this->add_control(
|
256 |
'excerpt_length',
|
257 |
[
|
@@ -1307,7 +1317,7 @@ class Pacific extends Widget_Base
|
|
1307 |
{
|
1308 |
$settings = $this->get_settings_for_display();
|
1309 |
|
1310 |
-
if (!$this->get_settings('
|
1311 |
return;
|
1312 |
}
|
1313 |
|
243 |
);
|
244 |
|
245 |
$this->add_control(
|
246 |
+
'modal_show_title',
|
247 |
[
|
248 |
+
'label' => __('Modal Show Title', 'bdthemes-prime-slider'),
|
249 |
'type' => Controls_Manager::SWITCHER,
|
250 |
'default' => 'yes',
|
251 |
'separator' => 'before'
|
252 |
]
|
253 |
);
|
254 |
|
255 |
+
$this->add_control(
|
256 |
+
'show_excerpt',
|
257 |
+
[
|
258 |
+
'label' => __('Modal Show Text', 'bdthemes-prime-slider'),
|
259 |
+
'type' => Controls_Manager::SWITCHER,
|
260 |
+
'default' => 'yes',
|
261 |
+
'separator' => 'after'
|
262 |
+
]
|
263 |
+
);
|
264 |
+
|
265 |
$this->add_control(
|
266 |
'excerpt_length',
|
267 |
[
|
1317 |
{
|
1318 |
$settings = $this->get_settings_for_display();
|
1319 |
|
1320 |
+
if (!$this->get_settings('modal_show_title')) {
|
1321 |
return;
|
1322 |
}
|
1323 |
|
modules/pagepiling/widgets/pagepiling.php
CHANGED
@@ -11,10 +11,14 @@ use Elementor\Group_Control_Image_Size;
|
|
11 |
use PrimeSlider\Utils;
|
12 |
use Elementor\Repeater;
|
13 |
|
|
|
|
|
14 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
15 |
|
16 |
class Pagepiling extends Widget_Base {
|
17 |
|
|
|
|
|
18 |
public function get_name() {
|
19 |
return 'prime-slider-pagepiling';
|
20 |
}
|
@@ -187,115 +191,8 @@ class Pagepiling extends Widget_Base {
|
|
187 |
]
|
188 |
);
|
189 |
|
190 |
-
|
191 |
-
|
192 |
-
[
|
193 |
-
'label' => __('Image Settings', 'bdthemes-element-pack') . BDTPS_NC,
|
194 |
-
'type' => Controls_Manager::POPOVER_TOGGLE,
|
195 |
-
'label_off' => __('None', 'bdthemes-element-pack'),
|
196 |
-
'label_on' => __('Custom', 'bdthemes-element-pack'),
|
197 |
-
'return_value' => 'yes',
|
198 |
-
'separator' => 'before'
|
199 |
-
]
|
200 |
-
);
|
201 |
-
|
202 |
-
$this->start_popover();
|
203 |
-
|
204 |
-
$this->add_responsive_control(
|
205 |
-
'background_image_position',
|
206 |
-
[
|
207 |
-
'label' => _x( 'Position', 'bdthemes-prime-slider' ),
|
208 |
-
'type' => Controls_Manager::SELECT,
|
209 |
-
'default' => '',
|
210 |
-
'options' => [
|
211 |
-
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
212 |
-
'center center' => _x( 'Center Center', 'bdthemes-prime-slider' ),
|
213 |
-
'center left' => _x( 'Center Left', 'bdthemes-prime-slider' ),
|
214 |
-
'center right' => _x( 'Center Right', 'bdthemes-prime-slider' ),
|
215 |
-
'top center' => _x( 'Top Center', 'bdthemes-prime-slider' ),
|
216 |
-
'top left' => _x( 'Top Left', 'bdthemes-prime-slider' ),
|
217 |
-
'top right' => _x( 'Top Right', 'bdthemes-prime-slider' ),
|
218 |
-
'bottom center' => _x( 'Bottom Center', 'bdthemes-prime-slider' ),
|
219 |
-
'bottom left' => _x( 'Bottom Left', 'bdthemes-prime-slider' ),
|
220 |
-
'bottom right' => _x( 'Bottom Right', 'bdthemes-prime-slider' ),
|
221 |
-
],
|
222 |
-
'selectors' => [
|
223 |
-
'{{WRAPPER}} .bdt-pagepiling-slider .pp-section' => 'background-position: {{VALUE}};',
|
224 |
-
],
|
225 |
-
'condition' => [
|
226 |
-
'background_image_toggle' => 'yes'
|
227 |
-
],
|
228 |
-
'render_type' => 'ui',
|
229 |
-
]
|
230 |
-
);
|
231 |
-
|
232 |
-
$this->add_responsive_control(
|
233 |
-
'background_image_attachment',
|
234 |
-
[
|
235 |
-
'label' => _x( 'Attachment', 'bdthemes-prime-slider' ),
|
236 |
-
'type' => Controls_Manager::SELECT,
|
237 |
-
'default' => '',
|
238 |
-
'options' => [
|
239 |
-
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
240 |
-
'scroll' => _x( 'Scroll', 'bdthemes-prime-slider' ),
|
241 |
-
'fixed' => _x( 'Fixed', 'bdthemes-prime-slider' ),
|
242 |
-
],
|
243 |
-
'selectors' => [
|
244 |
-
'{{WRAPPER}} .bdt-pagepiling-slider .pp-section' => 'background-attachment: {{VALUE}};',
|
245 |
-
],
|
246 |
-
'condition' => [
|
247 |
-
'background_image_toggle' => 'yes'
|
248 |
-
],
|
249 |
-
'render_type' => 'ui',
|
250 |
-
]
|
251 |
-
);
|
252 |
-
|
253 |
-
$this->add_responsive_control(
|
254 |
-
'background_image_repeat',
|
255 |
-
[
|
256 |
-
'label' => _x( 'Repeat', 'bdthemes-prime-slider' ),
|
257 |
-
'type' => Controls_Manager::SELECT,
|
258 |
-
'default' => '',
|
259 |
-
'options' => [
|
260 |
-
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
261 |
-
'no-repeat' => _x( 'No-repeat', 'bdthemes-prime-slider' ),
|
262 |
-
'repeat' => _x( 'Repeat', 'bdthemes-prime-slider' ),
|
263 |
-
'repeat-x' => _x( 'Repeat-x', 'bdthemes-prime-slider' ),
|
264 |
-
'repeat-y' => _x( 'Repeat-y', 'bdthemes-prime-slider' ),
|
265 |
-
],
|
266 |
-
'selectors' => [
|
267 |
-
'{{WRAPPER}} .bdt-pagepiling-slider .pp-section' => 'background-repeat: {{VALUE}};',
|
268 |
-
],
|
269 |
-
'condition' => [
|
270 |
-
'background_image_toggle' => 'yes'
|
271 |
-
],
|
272 |
-
'render_type' => 'ui',
|
273 |
-
]
|
274 |
-
);
|
275 |
-
|
276 |
-
$this->add_responsive_control(
|
277 |
-
'background_image_size',
|
278 |
-
[
|
279 |
-
'label' => _x( 'Size', 'bdthemes-prime-slider' ),
|
280 |
-
'type' => Controls_Manager::SELECT,
|
281 |
-
'default' => '',
|
282 |
-
'options' => [
|
283 |
-
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
284 |
-
'auto' => _x( 'Auto', 'bdthemes-prime-slider' ),
|
285 |
-
'cover' => _x( 'Cover', 'bdthemes-prime-slider' ),
|
286 |
-
'contain' => _x( 'Contain', 'bdthemes-prime-slider' ),
|
287 |
-
],
|
288 |
-
'selectors' => [
|
289 |
-
'{{WRAPPER}} .bdt-pagepiling-slider .pp-section' => 'background-size: {{VALUE}};',
|
290 |
-
],
|
291 |
-
'condition' => [
|
292 |
-
'background_image_toggle' => 'yes'
|
293 |
-
],
|
294 |
-
'render_type' => 'ui',
|
295 |
-
]
|
296 |
-
);
|
297 |
-
|
298 |
-
$this->end_popover();
|
299 |
|
300 |
$this->end_controls_section();
|
301 |
|
11 |
use PrimeSlider\Utils;
|
12 |
use Elementor\Repeater;
|
13 |
|
14 |
+
use PrimeSlider\Traits\Global_Widget_Controls;
|
15 |
+
|
16 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
17 |
|
18 |
class Pagepiling extends Widget_Base {
|
19 |
|
20 |
+
use Global_Widget_Controls;
|
21 |
+
|
22 |
public function get_name() {
|
23 |
return 'prime-slider-pagepiling';
|
24 |
}
|
191 |
]
|
192 |
);
|
193 |
|
194 |
+
//Global background settings Controls
|
195 |
+
$this->register_background_settings('.bdt-pagepiling-slider .pp-section');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
196 |
|
197 |
$this->end_controls_section();
|
198 |
|
modules/paranoia/widgets/paranoia.php
CHANGED
@@ -14,10 +14,14 @@ use Elementor\Group_Control_Text_Stroke;
|
|
14 |
use Elementor\Repeater;
|
15 |
use PrimeSlider\Utils;
|
16 |
|
|
|
|
|
17 |
if (!defined('ABSPATH')) exit; // Exit if accessed directly
|
18 |
|
19 |
class Paranoia extends Widget_Base {
|
20 |
|
|
|
|
|
21 |
public function get_name() {
|
22 |
return 'prime-slider-paranoia';
|
23 |
}
|
@@ -279,114 +283,8 @@ class Paranoia extends Widget_Base {
|
|
279 |
]
|
280 |
);
|
281 |
|
282 |
-
|
283 |
-
|
284 |
-
[
|
285 |
-
'label' => __('Image Settings', 'bdthemes-element-pack'),
|
286 |
-
'type' => Controls_Manager::POPOVER_TOGGLE,
|
287 |
-
'label_off' => __('None', 'bdthemes-element-pack'),
|
288 |
-
'label_on' => __('Custom', 'bdthemes-element-pack'),
|
289 |
-
'return_value' => 'yes',
|
290 |
-
]
|
291 |
-
);
|
292 |
-
|
293 |
-
$this->start_popover();
|
294 |
-
|
295 |
-
$this->add_responsive_control(
|
296 |
-
'background_image_position',
|
297 |
-
[
|
298 |
-
'label' => _x('Position', 'bdthemes-prime-slider'),
|
299 |
-
'type' => Controls_Manager::SELECT,
|
300 |
-
'default' => '',
|
301 |
-
'options' => [
|
302 |
-
'' => _x('Default', 'bdthemes-prime-slider'),
|
303 |
-
'center center' => _x('Center Center', 'bdthemes-prime-slider'),
|
304 |
-
'center left' => _x('Center Left', 'bdthemes-prime-slider'),
|
305 |
-
'center right' => _x('Center Right', 'bdthemes-prime-slider'),
|
306 |
-
'top center' => _x('Top Center', 'bdthemes-prime-slider'),
|
307 |
-
'top left' => _x('Top Left', 'bdthemes-prime-slider'),
|
308 |
-
'top right' => _x('Top Right', 'bdthemes-prime-slider'),
|
309 |
-
'bottom center' => _x('Bottom Center', 'bdthemes-prime-slider'),
|
310 |
-
'bottom left' => _x('Bottom Left', 'bdthemes-prime-slider'),
|
311 |
-
'bottom right' => _x('Bottom Right', 'bdthemes-prime-slider'),
|
312 |
-
],
|
313 |
-
'selectors' => [
|
314 |
-
'{{WRAPPER}} .bdt-paranoia-slider .bdt-gallery-img-inner' => 'background-position: {{VALUE}};',
|
315 |
-
],
|
316 |
-
'condition' => [
|
317 |
-
'background_image_toggle' => 'yes'
|
318 |
-
],
|
319 |
-
'render_type' => 'ui',
|
320 |
-
]
|
321 |
-
);
|
322 |
-
|
323 |
-
$this->add_responsive_control(
|
324 |
-
'background_image_attachment',
|
325 |
-
[
|
326 |
-
'label' => _x('Attachment', 'bdthemes-prime-slider'),
|
327 |
-
'type' => Controls_Manager::SELECT,
|
328 |
-
'default' => '',
|
329 |
-
'options' => [
|
330 |
-
'' => _x('Default', 'bdthemes-prime-slider'),
|
331 |
-
'scroll' => _x('Scroll', 'bdthemes-prime-slider'),
|
332 |
-
'fixed' => _x('Fixed', 'bdthemes-prime-slider'),
|
333 |
-
],
|
334 |
-
'selectors' => [
|
335 |
-
'{{WRAPPER}} .bdt-paranoia-slider .bdt-gallery-img-inner' => 'background-attachment: {{VALUE}};',
|
336 |
-
],
|
337 |
-
'condition' => [
|
338 |
-
'background_image_toggle' => 'yes'
|
339 |
-
],
|
340 |
-
'render_type' => 'ui',
|
341 |
-
]
|
342 |
-
);
|
343 |
-
|
344 |
-
$this->add_responsive_control(
|
345 |
-
'background_image_repeat',
|
346 |
-
[
|
347 |
-
'label' => _x('Repeat', 'bdthemes-prime-slider'),
|
348 |
-
'type' => Controls_Manager::SELECT,
|
349 |
-
'default' => '',
|
350 |
-
'options' => [
|
351 |
-
'' => _x('Default', 'bdthemes-prime-slider'),
|
352 |
-
'no-repeat' => _x('No-repeat', 'bdthemes-prime-slider'),
|
353 |
-
'repeat' => _x('Repeat', 'bdthemes-prime-slider'),
|
354 |
-
'repeat-x' => _x('Repeat-x', 'bdthemes-prime-slider'),
|
355 |
-
'repeat-y' => _x('Repeat-y', 'bdthemes-prime-slider'),
|
356 |
-
],
|
357 |
-
'selectors' => [
|
358 |
-
'{{WRAPPER}} .bdt-paranoia-slider .bdt-gallery-img-inner' => 'background-repeat: {{VALUE}};',
|
359 |
-
],
|
360 |
-
'condition' => [
|
361 |
-
'background_image_toggle' => 'yes'
|
362 |
-
],
|
363 |
-
'render_type' => 'ui',
|
364 |
-
]
|
365 |
-
);
|
366 |
-
|
367 |
-
$this->add_responsive_control(
|
368 |
-
'background_image_size',
|
369 |
-
[
|
370 |
-
'label' => _x('Size', 'bdthemes-prime-slider'),
|
371 |
-
'type' => Controls_Manager::SELECT,
|
372 |
-
'default' => '',
|
373 |
-
'options' => [
|
374 |
-
'' => _x('Default', 'bdthemes-prime-slider'),
|
375 |
-
'auto' => _x('Auto', 'bdthemes-prime-slider'),
|
376 |
-
'cover' => _x('Cover', 'bdthemes-prime-slider'),
|
377 |
-
'contain' => _x('Contain', 'bdthemes-prime-slider'),
|
378 |
-
],
|
379 |
-
'selectors' => [
|
380 |
-
'{{WRAPPER}} .bdt-paranoia-slider .bdt-gallery-img-inner' => 'background-size: {{VALUE}};',
|
381 |
-
],
|
382 |
-
'condition' => [
|
383 |
-
'background_image_toggle' => 'yes'
|
384 |
-
],
|
385 |
-
'render_type' => 'ui',
|
386 |
-
]
|
387 |
-
);
|
388 |
-
|
389 |
-
$this->end_popover();
|
390 |
|
391 |
$this->end_controls_section();
|
392 |
|
@@ -840,7 +738,7 @@ class Paranoia extends Widget_Base {
|
|
840 |
'label' => esc_html__( 'Color', 'bdthemes-prime-slider' ),
|
841 |
'type' => Controls_Manager::COLOR,
|
842 |
'selectors' => [
|
843 |
-
'{{WRAPPER}} .bdt-paranoia-slider .bdt-link-btn:
|
844 |
],
|
845 |
]
|
846 |
);
|
14 |
use Elementor\Repeater;
|
15 |
use PrimeSlider\Utils;
|
16 |
|
17 |
+
use PrimeSlider\Traits\Global_Widget_Controls;
|
18 |
+
|
19 |
if (!defined('ABSPATH')) exit; // Exit if accessed directly
|
20 |
|
21 |
class Paranoia extends Widget_Base {
|
22 |
|
23 |
+
use Global_Widget_Controls;
|
24 |
+
|
25 |
public function get_name() {
|
26 |
return 'prime-slider-paranoia';
|
27 |
}
|
283 |
]
|
284 |
);
|
285 |
|
286 |
+
//Global background settings Controls
|
287 |
+
$this->register_background_settings('.bdt-paranoia-slider .bdt-gallery-img-inner');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
288 |
|
289 |
$this->end_controls_section();
|
290 |
|
738 |
'label' => esc_html__( 'Color', 'bdthemes-prime-slider' ),
|
739 |
'type' => Controls_Manager::COLOR,
|
740 |
'selectors' => [
|
741 |
+
'{{WRAPPER}} .bdt-paranoia-slider .bdt-link-btn:hover' => 'color: {{VALUE}};',
|
742 |
],
|
743 |
]
|
744 |
);
|
modules/pieces/module.info.php
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
3 |
+
|
4 |
+
return [
|
5 |
+
'title' => esc_html__( 'Pieces', 'bdthemes-prime-slider' ),
|
6 |
+
'required' => true,
|
7 |
+
'default_activation' => false,
|
8 |
+
'has_style' => true,
|
9 |
+
'has_script' => true,
|
10 |
+
];
|
modules/pieces/module.php
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace PrimeSlider\Modules\Pieces;
|
3 |
+
|
4 |
+
use PrimeSlider\Base\Prime_Slider_Module_Base;
|
5 |
+
|
6 |
+
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
7 |
+
|
8 |
+
class Module extends Prime_Slider_Module_Base {
|
9 |
+
|
10 |
+
public function get_name() {
|
11 |
+
return 'pieces';
|
12 |
+
}
|
13 |
+
|
14 |
+
public function get_widgets() {
|
15 |
+
$widgets = [
|
16 |
+
'Pieces',
|
17 |
+
];
|
18 |
+
|
19 |
+
return $widgets;
|
20 |
+
}
|
21 |
+
}
|
modules/pieces/widgets/pieces.php
ADDED
@@ -0,0 +1,685 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace PrimeSlider\Modules\Pieces\Widgets;
|
4 |
+
|
5 |
+
use Elementor\Widget_Base;
|
6 |
+
use Elementor\Controls_Manager;
|
7 |
+
use Elementor\Group_Control_Border;
|
8 |
+
use Elementor\Group_Control_Typography;
|
9 |
+
use Elementor\Group_Control_Background;
|
10 |
+
use Elementor\Group_Control_Box_Shadow;
|
11 |
+
use Elementor\Group_Control_Image_Size;
|
12 |
+
use Elementor\Repeater;
|
13 |
+
use PrimeSlider\Utils;
|
14 |
+
|
15 |
+
if (!defined('ABSPATH')) exit; // Exit if accessed directly
|
16 |
+
|
17 |
+
class Pieces extends Widget_Base {
|
18 |
+
|
19 |
+
public function get_name()
|
20 |
+
{
|
21 |
+
return 'prime-slider-pieces';
|
22 |
+
}
|
23 |
+
|
24 |
+
public function get_title()
|
25 |
+
{
|
26 |
+
return BDTPS . esc_html__('Pieces', 'bdthemes-prime-slider');
|
27 |
+
}
|
28 |
+
|
29 |
+
public function get_icon()
|
30 |
+
{
|
31 |
+
return 'bdt-widget-icon ps-wi-pieces bdt-new';
|
32 |
+
}
|
33 |
+
|
34 |
+
public function get_categories()
|
35 |
+
{
|
36 |
+
return ['prime-slider'];
|
37 |
+
}
|
38 |
+
|
39 |
+
public function get_keywords()
|
40 |
+
{
|
41 |
+
return ['prime slider', 'slider', 'pieces', 'prime'];
|
42 |
+
}
|
43 |
+
|
44 |
+
public function get_style_depends()
|
45 |
+
{
|
46 |
+
return ['prime-slider-font', 'ps-pieces'];
|
47 |
+
}
|
48 |
+
|
49 |
+
public function get_script_depends() {
|
50 |
+
return ['anime', 'pieces', 'ps-pieces'];
|
51 |
+
}
|
52 |
+
|
53 |
+
protected function register_controls() {
|
54 |
+
$this->start_controls_section(
|
55 |
+
'section_content_sliders',
|
56 |
+
[
|
57 |
+
'label' => esc_html__('Sliders', 'bdthemes-prime-slider'),
|
58 |
+
]
|
59 |
+
);
|
60 |
+
|
61 |
+
$repeater = new Repeater();
|
62 |
+
|
63 |
+
$repeater->add_control(
|
64 |
+
'title',
|
65 |
+
[
|
66 |
+
'label' => esc_html__('Title', 'bdthemes-prime-slider'),
|
67 |
+
'type' => Controls_Manager::TEXT,
|
68 |
+
'label_block' => true,
|
69 |
+
'dynamic' => ['active' => true],
|
70 |
+
]
|
71 |
+
);
|
72 |
+
|
73 |
+
$repeater->add_control(
|
74 |
+
'title_link',
|
75 |
+
[
|
76 |
+
'label' => esc_html__('Title Link', 'bdthemes-prime-slider'),
|
77 |
+
'type' => Controls_Manager::URL,
|
78 |
+
'default' => ['url' => ''],
|
79 |
+
'show_external' => false,
|
80 |
+
'dynamic' => ['active' => true],
|
81 |
+
'condition' => [
|
82 |
+
'title!' => ''
|
83 |
+
]
|
84 |
+
]
|
85 |
+
);
|
86 |
+
|
87 |
+
$repeater->add_control(
|
88 |
+
'image',
|
89 |
+
[
|
90 |
+
'label' => esc_html__('Image', 'bdthemes-prime-slider'),
|
91 |
+
'type' => Controls_Manager::MEDIA,
|
92 |
+
'default' => [
|
93 |
+
'url' => Utils::get_placeholder_image_src(),
|
94 |
+
],
|
95 |
+
'dynamic' => ['active' => true],
|
96 |
+
]
|
97 |
+
);
|
98 |
+
|
99 |
+
$this->add_control(
|
100 |
+
'slides',
|
101 |
+
[
|
102 |
+
'label' => esc_html__('Slider Items', 'bdthemes-prime-slider'),
|
103 |
+
'type' => Controls_Manager::REPEATER,
|
104 |
+
'fields' => $repeater->get_controls(),
|
105 |
+
'default' => [
|
106 |
+
[
|
107 |
+
'title' => esc_html__('Pastiche Skin', 'bdthemes-prime-slider'),
|
108 |
+
'image' => ['url' => BDTPS_ASSETS_URL . 'images/gallery/item-1.png']
|
109 |
+
],
|
110 |
+
[
|
111 |
+
'title' => esc_html__('Enfilade Trees', 'bdthemes-prime-slider'),
|
112 |
+
'image' => ['url' => BDTPS_ASSETS_URL . 'images/gallery/item-2.png']
|
113 |
+
],
|
114 |
+
[
|
115 |
+
'title' => esc_html__('Vernacular Blue', 'bdthemes-prime-slider'),
|
116 |
+
'image' => ['url' => BDTPS_ASSETS_URL . 'images/gallery/item-3.png']
|
117 |
+
],
|
118 |
+
],
|
119 |
+
'title_field' => '{{{ title }}}',
|
120 |
+
]
|
121 |
+
);
|
122 |
+
|
123 |
+
$this->end_controls_section();
|
124 |
+
|
125 |
+
$this->start_controls_section(
|
126 |
+
'section_additional_settings',
|
127 |
+
[
|
128 |
+
'label' => esc_html__('Additional Settings', 'bdthemes-prime-slider'),
|
129 |
+
]
|
130 |
+
);
|
131 |
+
|
132 |
+
$this->add_control(
|
133 |
+
'show_title',
|
134 |
+
[
|
135 |
+
'label' => esc_html__('Show Title', 'bdthemes-prime-slider'),
|
136 |
+
'type' => Controls_Manager::SWITCHER,
|
137 |
+
'default' => 'yes',
|
138 |
+
'separator' => 'before'
|
139 |
+
]
|
140 |
+
);
|
141 |
+
|
142 |
+
$this->add_control(
|
143 |
+
'title_html_tag',
|
144 |
+
[
|
145 |
+
'label' => __('Title HTML Tag', 'bdthemes-prime-slider'),
|
146 |
+
'type' => Controls_Manager::SELECT,
|
147 |
+
'default' => 'div',
|
148 |
+
'options' => prime_slider_title_tags(),
|
149 |
+
'condition' => [
|
150 |
+
'show_title' => 'yes'
|
151 |
+
]
|
152 |
+
]
|
153 |
+
);
|
154 |
+
|
155 |
+
$this->add_group_control(
|
156 |
+
Group_Control_Image_Size::get_type(),
|
157 |
+
[
|
158 |
+
'name' => 'thumbnail_size',
|
159 |
+
'label' => esc_html__('Image Size', 'bdthemes-prime-slider'),
|
160 |
+
'exclude' => ['custom'],
|
161 |
+
'default' => 'full',
|
162 |
+
]
|
163 |
+
);
|
164 |
+
|
165 |
+
$this->add_responsive_control(
|
166 |
+
'image_height',
|
167 |
+
[
|
168 |
+
'label' => esc_html__( 'Image Height', 'bdthemes-prime-slider' ),
|
169 |
+
'type' => Controls_Manager::SLIDER,
|
170 |
+
'size_units' => [ 'px', 'vh' ],
|
171 |
+
'range' => [
|
172 |
+
'px' => [
|
173 |
+
'min' => 50,
|
174 |
+
'max' => 1080,
|
175 |
+
],
|
176 |
+
'vh' => [
|
177 |
+
'min' => 10,
|
178 |
+
'max' => 100,
|
179 |
+
],
|
180 |
+
],
|
181 |
+
'selectors' => [
|
182 |
+
'{{WRAPPER}} .bdt-pieces-slider .pieces-slider__image' => 'max-height: {{SIZE}}{{UNIT}};',
|
183 |
+
'{{WRAPPER}} .bdt-pieces-slider .pieces-slider__canvas' => 'height: {{SIZE}}{{UNIT}};',
|
184 |
+
'{{WRAPPER}} .bdt-pieces-slider' => 'min-height: {{SIZE}}{{UNIT}};',
|
185 |
+
],
|
186 |
+
'render_type' => 'template'
|
187 |
+
]
|
188 |
+
);
|
189 |
+
|
190 |
+
$this->add_responsive_control(
|
191 |
+
'image_width',
|
192 |
+
[
|
193 |
+
'label' => esc_html__( 'Image Width', 'bdthemes-prime-slider' ),
|
194 |
+
'type' => Controls_Manager::SLIDER,
|
195 |
+
'size_units' => [ 'px', 'vw' ],
|
196 |
+
'range' => [
|
197 |
+
'px' => [
|
198 |
+
'min' => 50,
|
199 |
+
'max' => 1200,
|
200 |
+
],
|
201 |
+
'vw' => [
|
202 |
+
'min' => 10,
|
203 |
+
'max' => 100,
|
204 |
+
],
|
205 |
+
],
|
206 |
+
'selectors' => [
|
207 |
+
'{{WRAPPER}} .bdt-pieces-slider .pieces-slider__image' => 'max-width: {{SIZE}}{{UNIT}};',
|
208 |
+
],
|
209 |
+
'render_type' => 'template'
|
210 |
+
]
|
211 |
+
);
|
212 |
+
|
213 |
+
$this->end_controls_section();
|
214 |
+
|
215 |
+
//Style
|
216 |
+
$this->start_controls_section(
|
217 |
+
'section_style_title',
|
218 |
+
[
|
219 |
+
'label' => __('Title', 'bdthemes-prime-slider'),
|
220 |
+
'tab' => Controls_Manager::TAB_STYLE,
|
221 |
+
'condition' => [
|
222 |
+
'show_title' => 'yes',
|
223 |
+
],
|
224 |
+
]
|
225 |
+
);
|
226 |
+
|
227 |
+
$this->add_control(
|
228 |
+
'title_color',
|
229 |
+
[
|
230 |
+
'label' => esc_html__('Color', 'bdthemes-prime-slider'),
|
231 |
+
'type' => Controls_Manager::COLOR,
|
232 |
+
]
|
233 |
+
);
|
234 |
+
|
235 |
+
$this->add_control(
|
236 |
+
'title_background',
|
237 |
+
[
|
238 |
+
'label' => esc_html__('Background Color', 'bdthemes-prime-slider'),
|
239 |
+
'type' => Controls_Manager::COLOR,
|
240 |
+
]
|
241 |
+
);
|
242 |
+
|
243 |
+
$this->add_control(
|
244 |
+
'title_radius',
|
245 |
+
[
|
246 |
+
'label' => esc_html__( 'Radius', 'bdthemes-prime-slider' ),
|
247 |
+
'type' => Controls_Manager::SLIDER,
|
248 |
+
'range' => [
|
249 |
+
'px' => [
|
250 |
+
'min' => 0,
|
251 |
+
'max' => 500,
|
252 |
+
],
|
253 |
+
],
|
254 |
+
]
|
255 |
+
);
|
256 |
+
|
257 |
+
$this->add_responsive_control(
|
258 |
+
'title_padding',
|
259 |
+
[
|
260 |
+
'label' => esc_html__('Padding', 'bdthemes-prime-slider'),
|
261 |
+
'type' => Controls_Manager::DIMENSIONS,
|
262 |
+
'size_units' => ['px', 'em', '%'],
|
263 |
+
]
|
264 |
+
);
|
265 |
+
|
266 |
+
$this->add_responsive_control(
|
267 |
+
'title_font_size',
|
268 |
+
[
|
269 |
+
'label' => esc_html__( 'Font Size', 'bdthemes-prime-slider' ),
|
270 |
+
'type' => Controls_Manager::SLIDER,
|
271 |
+
'range' => [
|
272 |
+
'px' => [
|
273 |
+
'min' => 0,
|
274 |
+
'max' => 100,
|
275 |
+
],
|
276 |
+
],
|
277 |
+
'devices' => [ 'desktop', 'tablet' ],
|
278 |
+
'desktop_default' => [
|
279 |
+
'size' => 50,
|
280 |
+
'unit' => 'px',
|
281 |
+
],
|
282 |
+
'tablet_default' => [
|
283 |
+
'size' => 30,
|
284 |
+
'unit' => 'px',
|
285 |
+
],
|
286 |
+
]
|
287 |
+
);
|
288 |
+
|
289 |
+
$this->add_control(
|
290 |
+
'font_family',
|
291 |
+
[
|
292 |
+
'label' => esc_html__( 'Font Family', 'bdthemes-prime-slider' ),
|
293 |
+
'type' => Controls_Manager::FONT,
|
294 |
+
'selectors' => [
|
295 |
+
'{{WRAPPER}} canvas' => 'font-family: {{VALUE}}',
|
296 |
+
],
|
297 |
+
'render_type' => 'template'
|
298 |
+
]
|
299 |
+
);
|
300 |
+
|
301 |
+
$this->end_controls_section();
|
302 |
+
|
303 |
+
$this->start_controls_section(
|
304 |
+
'section_style_number',
|
305 |
+
[
|
306 |
+
'label' => __('Number', 'bdthemes-prime-slider'),
|
307 |
+
'tab' => Controls_Manager::TAB_STYLE,
|
308 |
+
]
|
309 |
+
);
|
310 |
+
|
311 |
+
$this->add_control(
|
312 |
+
'number_color',
|
313 |
+
[
|
314 |
+
'label' => esc_html__('Color', 'bdthemes-prime-slider'),
|
315 |
+
'type' => Controls_Manager::COLOR,
|
316 |
+
]
|
317 |
+
);
|
318 |
+
|
319 |
+
$this->add_control(
|
320 |
+
'number_background',
|
321 |
+
[
|
322 |
+
'label' => esc_html__('Background Color', 'bdthemes-prime-slider'),
|
323 |
+
'type' => Controls_Manager::COLOR,
|
324 |
+
]
|
325 |
+
);
|
326 |
+
|
327 |
+
$this->add_control(
|
328 |
+
'number_radius',
|
329 |
+
[
|
330 |
+
'label' => esc_html__( 'Radius', 'bdthemes-prime-slider' ),
|
331 |
+
'type' => Controls_Manager::SLIDER,
|
332 |
+
'range' => [
|
333 |
+
'px' => [
|
334 |
+
'min' => 0,
|
335 |
+
'max' => 500,
|
336 |
+
],
|
337 |
+
],
|
338 |
+
]
|
339 |
+
);
|
340 |
+
|
341 |
+
$this->add_responsive_control(
|
342 |
+
'number_padding',
|
343 |
+
[
|
344 |
+
'label' => esc_html__('Padding', 'bdthemes-prime-slider'),
|
345 |
+
'type' => Controls_Manager::DIMENSIONS,
|
346 |
+
'size_units' => ['px', 'em', '%'],
|
347 |
+
]
|
348 |
+
);
|
349 |
+
|
350 |
+
$this->add_responsive_control(
|
351 |
+
'number_font_size',
|
352 |
+
[
|
353 |
+
'label' => esc_html__( 'Font Size', 'bdthemes-prime-slider' ),
|
354 |
+
'type' => Controls_Manager::SLIDER,
|
355 |
+
'range' => [
|
356 |
+
'px' => [
|
357 |
+
'min' => 0,
|
358 |
+
'max' => 100,
|
359 |
+
],
|
360 |
+
],
|
361 |
+
'devices' => [ 'desktop', 'tablet' ],
|
362 |
+
'desktop_default' => [
|
363 |
+
'size' => 50,
|
364 |
+
'unit' => 'px',
|
365 |
+
],
|
366 |
+
'tablet_default' => [
|
367 |
+
'size' => 30,
|
368 |
+
'unit' => 'px',
|
369 |
+
],
|
370 |
+
]
|
371 |
+
);
|
372 |
+
|
373 |
+
$this->add_control(
|
374 |
+
'number_font_family',
|
375 |
+
[
|
376 |
+
'label' => esc_html__( 'Font Family', 'bdthemes-prime-slider' ),
|
377 |
+
'type' => Controls_Manager::FONT,
|
378 |
+
'selectors' => [
|
379 |
+
'{{WRAPPER}} canvas' => 'font-family: {{VALUE}}',
|
380 |
+
],
|
381 |
+
'render_type' => 'template'
|
382 |
+
]
|
383 |
+
);
|
384 |
+
|
385 |
+
$this->end_controls_section();
|
386 |
+
|
387 |
+
|
388 |
+
//navigation
|
389 |
+
$this->start_controls_section(
|
390 |
+
'section_style_navigation_button',
|
391 |
+
[
|
392 |
+
'label' => __('Navigation', 'bdthemes-prime-slider'),
|
393 |
+
'tab' => Controls_Manager::TAB_STYLE,
|
394 |
+
]
|
395 |
+
);
|
396 |
+
|
397 |
+
$this->start_controls_tabs('tabs_navigation_button_style');
|
398 |
+
|
399 |
+
$this->start_controls_tab(
|
400 |
+
'tabs_nav_navigation_button_normal',
|
401 |
+
[
|
402 |
+
'label' => __('Normal', 'bdthemes-prime-slider'),
|
403 |
+
]
|
404 |
+
);
|
405 |
+
|
406 |
+
$this->add_control(
|
407 |
+
'navigation_button_text_color',
|
408 |
+
[
|
409 |
+
'label' => __('Text Color', 'bdthemes-prime-slider'),
|
410 |
+
'type' => Controls_Manager::COLOR,
|
411 |
+
'selectors' => [
|
412 |
+
'{{WRAPPER}} .bdt-pieces-slider .pieces-slider__button' => 'color: {{VALUE}}',
|
413 |
+
],
|
414 |
+
]
|
415 |
+
);
|
416 |
+
|
417 |
+
$this->add_group_control(
|
418 |
+
Group_Control_Background::get_type(),
|
419 |
+
[
|
420 |
+
'name' => 'navigation_button_background',
|
421 |
+
'selector' => '{{WRAPPER}} .bdt-pieces-slider .pieces-slider__button',
|
422 |
+
]
|
423 |
+
);
|
424 |
+
|
425 |
+
$this->add_group_control(
|
426 |
+
Group_Control_Border::get_type(),
|
427 |
+
[
|
428 |
+
'name' => 'navigation_button_border',
|
429 |
+
'selector' => '{{WRAPPER}} .bdt-pieces-slider .pieces-slider__button',
|
430 |
+
]
|
431 |
+
);
|
432 |
+
|
433 |
+
$this->add_responsive_control(
|
434 |
+
'navigation_button_radius',
|
435 |
+
[
|
436 |
+
'label' => esc_html__('Border Radius', 'bdthemes-prime-slider'),
|
437 |
+
'type' => Controls_Manager::DIMENSIONS,
|
438 |
+
'size_units' => ['px', '%'],
|
439 |
+
'selectors' => [
|
440 |
+
'{{WRAPPER}} .bdt-pieces-slider .pieces-slider__button' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
441 |
+
],
|
442 |
+
]
|
443 |
+
);
|
444 |
+
|
445 |
+
$this->add_responsive_control(
|
446 |
+
'navigation_button_padding',
|
447 |
+
[
|
448 |
+
'label' => __('Padding', 'bdthemes-prime-slider'),
|
449 |
+
'type' => Controls_Manager::DIMENSIONS,
|
450 |
+
'size_units' => ['px', 'em', '%'],
|
451 |
+
'selectors' => [
|
452 |
+
'{{WRAPPER}} .bdt-pieces-slider .pieces-slider__button' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
453 |
+
],
|
454 |
+
]
|
455 |
+
);
|
456 |
+
|
457 |
+
|
458 |
+
$this->add_responsive_control(
|
459 |
+
'navigation_button_margin',
|
460 |
+
[
|
461 |
+
'label' => __('Margin', 'bdthemes-prime-slider'),
|
462 |
+
'type' => Controls_Manager::DIMENSIONS,
|
463 |
+
'size_units' => ['px', 'em', '%'],
|
464 |
+
'selectors' => [
|
465 |
+
'{{WRAPPER}} .bdt-pieces-slider .pieces-slider__button' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
466 |
+
],
|
467 |
+
]
|
468 |
+
);
|
469 |
+
|
470 |
+
|
471 |
+
$this->add_group_control(
|
472 |
+
Group_Control_Box_Shadow::get_type(),
|
473 |
+
[
|
474 |
+
'name' => 'navigation_button_shadow',
|
475 |
+
'selector' => '{{WRAPPER}} .bdt-pieces-slider .pieces-slider__button',
|
476 |
+
]
|
477 |
+
);
|
478 |
+
|
479 |
+
$this->add_group_control(
|
480 |
+
Group_Control_Typography::get_type(),
|
481 |
+
[
|
482 |
+
'name' => 'navigation_button_typography',
|
483 |
+
'label' => esc_html__('Typography', 'bdthemes-prime-slider'),
|
484 |
+
'selector' => '{{WRAPPER}} .bdt-pieces-slider .pieces-slider__button',
|
485 |
+
]
|
486 |
+
);
|
487 |
+
|
488 |
+
$this->end_controls_tab();
|
489 |
+
|
490 |
+
$this->start_controls_tab(
|
491 |
+
'tabs_navigation_button_hover',
|
492 |
+
[
|
493 |
+
'label' => __('Hover', 'bdthemes-prime-slider'),
|
494 |
+
]
|
495 |
+
);
|
496 |
+
|
497 |
+
$this->add_control(
|
498 |
+
'navigation_butoon_text_hover_color',
|
499 |
+
[
|
500 |
+
'label' => __('Text Color', 'bdthemes-prime-slider'),
|
501 |
+
'type' => Controls_Manager::COLOR,
|
502 |
+
'selectors' => [
|
503 |
+
'{{WRAPPER}} .bdt-pieces-slider .pieces-slider__button:hover' => 'color: {{VALUE}}',
|
504 |
+
],
|
505 |
+
]
|
506 |
+
);
|
507 |
+
|
508 |
+
|
509 |
+
$this->add_group_control(
|
510 |
+
Group_Control_Background::get_type(),
|
511 |
+
[
|
512 |
+
'name' => 'navigation_button_hover_background',
|
513 |
+
'selector' => '{{WRAPPER}} .bdt-pieces-slider .pieces-slider__button:hover',
|
514 |
+
]
|
515 |
+
);
|
516 |
+
|
517 |
+
$this->add_control(
|
518 |
+
'navigation_button_border_hover',
|
519 |
+
[
|
520 |
+
'label' => esc_html__('Border Color', 'bdthemes-prime-slider'),
|
521 |
+
'type' => Controls_Manager::COLOR,
|
522 |
+
'selectors' => [
|
523 |
+
'{{WRAPPER}} .bdt-pieces-slider .pieces-slider__button:hover' => 'border-color: {{VALUE}};',
|
524 |
+
],
|
525 |
+
]
|
526 |
+
);
|
527 |
+
|
528 |
+
$this->add_group_control(
|
529 |
+
Group_Control_Box_Shadow::get_type(),
|
530 |
+
[
|
531 |
+
'name' => 'navigation_button_hover_shadow',
|
532 |
+
'selector' => '{{WRAPPER}} .bdt-pieces-slider .pieces-slider__button:hover',
|
533 |
+
]
|
534 |
+
);
|
535 |
+
|
536 |
+
$this->end_controls_tab();
|
537 |
+
|
538 |
+
$this->end_controls_tabs();
|
539 |
+
|
540 |
+
$this->end_controls_section();
|
541 |
+
}
|
542 |
+
|
543 |
+
protected function render_header()
|
544 |
+
{
|
545 |
+
$settings = $this->get_settings_for_display();
|
546 |
+
$id = 'bdt-prime-slider-' . $this->get_id();
|
547 |
+
|
548 |
+
// start target
|
549 |
+
$targets = [];
|
550 |
+
if ($settings['show_title'] == 'yes') {
|
551 |
+
$targets[0] = '.bdt-title';
|
552 |
+
}
|
553 |
+
$targets = implode(', ', $targets);
|
554 |
+
// end target
|
555 |
+
|
556 |
+
$this->add_render_attribute(
|
557 |
+
[
|
558 |
+
'ps-pieces' => [
|
559 |
+
'id' => $id,
|
560 |
+
'class' => ['bdt-pieces-slider'],
|
561 |
+
'data-settings' => [
|
562 |
+
wp_json_encode(
|
563 |
+
array_filter([
|
564 |
+
"id" => '#' . $id,
|
565 |
+
'targets' => $targets,
|
566 |
+
'title' => array_filter([
|
567 |
+
'color' => $settings['title_color'],
|
568 |
+
'background' => $settings['title_background'],
|
569 |
+
'backgroundRadius' => $settings['title_radius']['size'],
|
570 |
+
'padding' => $settings['title_padding'],
|
571 |
+
'fontFamily' => !empty(esc_attr( $settings['font_family'] )) ? esc_attr( $settings['font_family'] ) : 'Open Sans',
|
572 |
+
'fontSizeDesktop' => (isset($settings['title_font_size'])) ? (int) $settings['title_font_size']['size'] : '',
|
573 |
+
'fontSizeTablet' => (isset($settings['title_font_size_tablet'])) ? $settings['title_font_size_tablet']['size'] : ''
|
574 |
+
]),
|
575 |
+
'number' => array_filter([
|
576 |
+
'color' => $settings['number_color'],
|
577 |
+
'background' => $settings['number_background'],
|
578 |
+
'backgroundRadius' => $settings['number_radius']['size'],
|
579 |
+
'padding' => $settings['number_padding'],
|
580 |
+
'fontFamily' => !empty(esc_attr( $settings['number_font_family'] )) ? esc_attr( $settings['number_font_family'] ) : 'Open Sans',
|
581 |
+
'fontSizeDesktop' => (isset($settings['number_font_size'])) ? (int) $settings['number_font_size']['size'] : '',
|
582 |
+
'fontSizeTablet' => (isset($settings['number_font_size_tablet'])) ? $settings['number_font_size_tablet']['size'] : ''
|
583 |
+
])
|
584 |
+
|
585 |
+
])
|
586 |
+
),
|
587 |
+
],
|
588 |
+
],
|
589 |
+
]
|
590 |
+
);
|
591 |
+
|
592 |
+
$this->add_render_attribute('prime-slider', 'class', 'bdt-prime-slider');
|
593 |
+
|
594 |
+
|
595 |
+
?>
|
596 |
+
<div <?php $this->print_render_attribute_string('prime-slider'); ?>>
|
597 |
+
<div <?php $this->print_render_attribute_string('ps-pieces'); ?>>
|
598 |
+
<?php
|
599 |
+
}
|
600 |
+
|
601 |
+
public function render_footer()
|
602 |
+
{
|
603 |
+
$settings = $this->get_settings_for_display();
|
604 |
+
|
605 |
+
?>
|
606 |
+
<canvas class="pieces-slider__canvas"></canvas>
|
607 |
+
|
608 |
+
<button class="pieces-slider__button pieces-slider__button--prev"><?php echo esc_html_x('prev', 'Frontend', 'bdthemes-prime-slider') ?></button>
|
609 |
+
<button class="pieces-slider__button pieces-slider__button--next"><?php echo esc_html_x('next', 'Frontend', 'bdthemes-prime-slider') ?></button>
|
610 |
+
</div>
|
611 |
+
</div>
|
612 |
+
<?php
|
613 |
+
}
|
614 |
+
|
615 |
+
|
616 |
+
|
617 |
+
public function render_title($slide)
|
618 |
+
{
|
619 |
+
$settings = $this->get_settings_for_display();
|
620 |
+
if ('' == $settings['show_title']) {
|
621 |
+
return;
|
622 |
+
}
|
623 |
+
?>
|
624 |
+
<<?php echo Utils::get_valid_html_tag($settings['title_html_tag']); ?> class="pieces-slider__text">
|
625 |
+
<?php if ('' !== $slide['title_link']['url']) : ?>
|
626 |
+
<a href="<?php echo esc_url($slide['title_link']['url']); ?>">
|
627 |
+
<?php endif; ?>
|
628 |
+
<?php echo esc_html($slide['title']); ?>
|
629 |
+
<?php if ('' !== $slide['title_link']['url']) : ?>
|
630 |
+
</a>
|
631 |
+
<?php endif; ?>
|
632 |
+
</<?php echo Utils::get_valid_html_tag($settings['title_html_tag']); ?>>
|
633 |
+
<?php
|
634 |
+
|
635 |
+
}
|
636 |
+
|
637 |
+
public function rendar_item_image($item, $alt = '') {
|
638 |
+
$settings = $this->get_settings_for_display();
|
639 |
+
|
640 |
+
$image_src = Group_Control_Image_Size::get_attachment_image_src($item['image']['id'], 'thumbnail_size', $settings);
|
641 |
+
|
642 |
+
if ( $image_src ) {
|
643 |
+
$image_src = $image_src;
|
644 |
+
} elseif ( $item['image']['url'] ) {
|
645 |
+
$image_src = $item['image']['url'];
|
646 |
+
} else {
|
647 |
+
return;
|
648 |
+
}
|
649 |
+
?>
|
650 |
+
|
651 |
+
<img class="pieces-slider__image" src="<?php echo esc_url($image_src); ?>" alt="<?php echo esc_html($alt); ?>">
|
652 |
+
|
653 |
+
<?php
|
654 |
+
}
|
655 |
+
|
656 |
+
|
657 |
+
public function render_slides_loop()
|
658 |
+
{
|
659 |
+
$settings = $this->get_settings_for_display();
|
660 |
+
|
661 |
+
$i = 0;
|
662 |
+
|
663 |
+
foreach ($settings['slides'] as $slide) : ?>
|
664 |
+
|
665 |
+
<div class="pieces-slider__slide">
|
666 |
+
|
667 |
+
<?php $this->rendar_item_image($slide, $slide['title']); ?>
|
668 |
+
|
669 |
+
<?php $this->render_title($slide); ?>
|
670 |
+
|
671 |
+
</div>
|
672 |
+
<?php
|
673 |
+
|
674 |
+
$i++;
|
675 |
+
|
676 |
+
endforeach;
|
677 |
+
}
|
678 |
+
|
679 |
+
public function render()
|
680 |
+
{
|
681 |
+
$this->render_header();
|
682 |
+
$this->render_slides_loop();
|
683 |
+
$this->render_footer();
|
684 |
+
}
|
685 |
+
}
|
modules/reveal/widgets/reveal.php
CHANGED
@@ -14,10 +14,14 @@ use Elementor\Group_Control_Text_Stroke;
|
|
14 |
use Elementor\Repeater;
|
15 |
use PrimeSlider\Utils;
|
16 |
|
|
|
|
|
17 |
if (!defined('ABSPATH')) exit; // Exit if accessed directly
|
18 |
|
19 |
class Reveal extends Widget_Base {
|
20 |
|
|
|
|
|
21 |
public function get_name() {
|
22 |
return 'prime-slider-reveal';
|
23 |
}
|
@@ -318,114 +322,8 @@ class Reveal extends Widget_Base {
|
|
318 |
]
|
319 |
);
|
320 |
|
321 |
-
|
322 |
-
|
323 |
-
[
|
324 |
-
'label' => __('Image Settings', 'bdthemes-element-pack'),
|
325 |
-
'type' => Controls_Manager::POPOVER_TOGGLE,
|
326 |
-
'label_off' => __('None', 'bdthemes-element-pack'),
|
327 |
-
'label_on' => __('Custom', 'bdthemes-element-pack'),
|
328 |
-
'return_value' => 'yes',
|
329 |
-
]
|
330 |
-
);
|
331 |
-
|
332 |
-
$this->start_popover();
|
333 |
-
|
334 |
-
$this->add_responsive_control(
|
335 |
-
'background_image_position',
|
336 |
-
[
|
337 |
-
'label' => _x('Position', 'bdthemes-prime-slider'),
|
338 |
-
'type' => Controls_Manager::SELECT,
|
339 |
-
'default' => '',
|
340 |
-
'options' => [
|
341 |
-
'' => _x('Default', 'bdthemes-prime-slider'),
|
342 |
-
'center center' => _x('Center Center', 'bdthemes-prime-slider'),
|
343 |
-
'center left' => _x('Center Left', 'bdthemes-prime-slider'),
|
344 |
-
'center right' => _x('Center Right', 'bdthemes-prime-slider'),
|
345 |
-
'top center' => _x('Top Center', 'bdthemes-prime-slider'),
|
346 |
-
'top left' => _x('Top Left', 'bdthemes-prime-slider'),
|
347 |
-
'top right' => _x('Top Right', 'bdthemes-prime-slider'),
|
348 |
-
'bottom center' => _x('Bottom Center', 'bdthemes-prime-slider'),
|
349 |
-
'bottom left' => _x('Bottom Left', 'bdthemes-prime-slider'),
|
350 |
-
'bottom right' => _x('Bottom Right', 'bdthemes-prime-slider'),
|
351 |
-
],
|
352 |
-
'selectors' => [
|
353 |
-
'{{WRAPPER}} .bdt-reveal-slider .slide__img' => 'background-position: {{VALUE}};',
|
354 |
-
],
|
355 |
-
'condition' => [
|
356 |
-
'background_image_toggle' => 'yes'
|
357 |
-
],
|
358 |
-
'render_type' => 'ui',
|
359 |
-
]
|
360 |
-
);
|
361 |
-
|
362 |
-
$this->add_responsive_control(
|
363 |
-
'background_image_attachment',
|
364 |
-
[
|
365 |
-
'label' => _x('Attachment', 'bdthemes-prime-slider'),
|
366 |
-
'type' => Controls_Manager::SELECT,
|
367 |
-
'default' => '',
|
368 |
-
'options' => [
|
369 |
-
'' => _x('Default', 'bdthemes-prime-slider'),
|
370 |
-
'scroll' => _x('Scroll', 'bdthemes-prime-slider'),
|
371 |
-
'fixed' => _x('Fixed', 'bdthemes-prime-slider'),
|
372 |
-
],
|
373 |
-
'selectors' => [
|
374 |
-
'{{WRAPPER}} .bdt-reveal-slider .slide__img' => 'background-attachment: {{VALUE}};',
|
375 |
-
],
|
376 |
-
'condition' => [
|
377 |
-
'background_image_toggle' => 'yes'
|
378 |
-
],
|
379 |
-
'render_type' => 'ui',
|
380 |
-
]
|
381 |
-
);
|
382 |
-
|
383 |
-
$this->add_responsive_control(
|
384 |
-
'background_image_repeat',
|
385 |
-
[
|
386 |
-
'label' => _x('Repeat', 'bdthemes-prime-slider'),
|
387 |
-
'type' => Controls_Manager::SELECT,
|
388 |
-
'default' => '',
|
389 |
-
'options' => [
|
390 |
-
'' => _x('Default', 'bdthemes-prime-slider'),
|
391 |
-
'no-repeat' => _x('No-repeat', 'bdthemes-prime-slider'),
|
392 |
-
'repeat' => _x('Repeat', 'bdthemes-prime-slider'),
|
393 |
-
'repeat-x' => _x('Repeat-x', 'bdthemes-prime-slider'),
|
394 |
-
'repeat-y' => _x('Repeat-y', 'bdthemes-prime-slider'),
|
395 |
-
],
|
396 |
-
'selectors' => [
|
397 |
-
'{{WRAPPER}} .bdt-reveal-slider .slide__img' => 'background-repeat: {{VALUE}};',
|
398 |
-
],
|
399 |
-
'condition' => [
|
400 |
-
'background_image_toggle' => 'yes'
|
401 |
-
],
|
402 |
-
'render_type' => 'ui',
|
403 |
-
]
|
404 |
-
);
|
405 |
-
|
406 |
-
$this->add_responsive_control(
|
407 |
-
'background_image_size',
|
408 |
-
[
|
409 |
-
'label' => _x('Size', 'bdthemes-prime-slider'),
|
410 |
-
'type' => Controls_Manager::SELECT,
|
411 |
-
'default' => '',
|
412 |
-
'options' => [
|
413 |
-
'' => _x('Default', 'bdthemes-prime-slider'),
|
414 |
-
'auto' => _x('Auto', 'bdthemes-prime-slider'),
|
415 |
-
'cover' => _x('Cover', 'bdthemes-prime-slider'),
|
416 |
-
'contain' => _x('Contain', 'bdthemes-prime-slider'),
|
417 |
-
],
|
418 |
-
'selectors' => [
|
419 |
-
'{{WRAPPER}} .bdt-reveal-slider .slide__img' => 'background-size: {{VALUE}};',
|
420 |
-
],
|
421 |
-
'condition' => [
|
422 |
-
'background_image_toggle' => 'yes'
|
423 |
-
],
|
424 |
-
'render_type' => 'ui',
|
425 |
-
]
|
426 |
-
);
|
427 |
-
|
428 |
-
$this->end_popover();
|
429 |
|
430 |
$this->end_controls_section();
|
431 |
|
14 |
use Elementor\Repeater;
|
15 |
use PrimeSlider\Utils;
|
16 |
|
17 |
+
use PrimeSlider\Traits\Global_Widget_Controls;
|
18 |
+
|
19 |
if (!defined('ABSPATH')) exit; // Exit if accessed directly
|
20 |
|
21 |
class Reveal extends Widget_Base {
|
22 |
|
23 |
+
use Global_Widget_Controls;
|
24 |
+
|
25 |
public function get_name() {
|
26 |
return 'prime-slider-reveal';
|
27 |
}
|
322 |
]
|
323 |
);
|
324 |
|
325 |
+
//Global background settings Controls
|
326 |
+
$this->register_background_settings('.bdt-reveal-slider .slide__img');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
327 |
|
328 |
$this->end_controls_section();
|
329 |
|
modules/storker/widgets/storker.php
CHANGED
@@ -147,114 +147,8 @@
|
|
147 |
]
|
148 |
);
|
149 |
|
150 |
-
|
151 |
-
|
152 |
-
[
|
153 |
-
'label' => __('Background Settings', 'bdthemes-element-pack') . BDTPS_NC,
|
154 |
-
'type' => Controls_Manager::POPOVER_TOGGLE,
|
155 |
-
'label_off' => __('None', 'bdthemes-element-pack'),
|
156 |
-
'label_on' => __('Custom', 'bdthemes-element-pack'),
|
157 |
-
'return_value' => 'yes',
|
158 |
-
]
|
159 |
-
);
|
160 |
-
|
161 |
-
$this->start_popover();
|
162 |
-
|
163 |
-
$this->add_responsive_control(
|
164 |
-
'background_image_position',
|
165 |
-
[
|
166 |
-
'label' => _x('Position', 'bdthemes-prime-slider'),
|
167 |
-
'type' => Controls_Manager::SELECT,
|
168 |
-
'default' => '',
|
169 |
-
'options' => [
|
170 |
-
'' => _x('Default', 'bdthemes-prime-slider'),
|
171 |
-
'center center' => _x('Center Center', 'bdthemes-prime-slider'),
|
172 |
-
'center left' => _x('Center Left', 'bdthemes-prime-slider'),
|
173 |
-
'center right' => _x('Center Right', 'bdthemes-prime-slider'),
|
174 |
-
'top center' => _x('Top Center', 'bdthemes-prime-slider'),
|
175 |
-
'top left' => _x('Top Left', 'bdthemes-prime-slider'),
|
176 |
-
'top right' => _x('Top Right', 'bdthemes-prime-slider'),
|
177 |
-
'bottom center' => _x('Bottom Center', 'bdthemes-prime-slider'),
|
178 |
-
'bottom left' => _x('Bottom Left', 'bdthemes-prime-slider'),
|
179 |
-
'bottom right' => _x('Bottom Right', 'bdthemes-prime-slider'),
|
180 |
-
],
|
181 |
-
'selectors' => [
|
182 |
-
'{{WRAPPER}} .bdt-prime-slider-storker .bdt-image-wrap .bdt-storker-img' => 'background-position: {{VALUE}};',
|
183 |
-
],
|
184 |
-
'condition' => [
|
185 |
-
'background_image_toggle' => 'yes'
|
186 |
-
],
|
187 |
-
'render_type' => 'ui',
|
188 |
-
]
|
189 |
-
);
|
190 |
-
|
191 |
-
$this->add_responsive_control(
|
192 |
-
'background_image_attachment',
|
193 |
-
[
|
194 |
-
'label' => _x('Attachment', 'bdthemes-prime-slider'),
|
195 |
-
'type' => Controls_Manager::SELECT,
|
196 |
-
'default' => '',
|
197 |
-
'options' => [
|
198 |
-
'' => _x('Default', 'bdthemes-prime-slider'),
|
199 |
-
'scroll' => _x('Scroll', 'bdthemes-prime-slider'),
|
200 |
-
'fixed' => _x('Fixed', 'bdthemes-prime-slider'),
|
201 |
-
],
|
202 |
-
'selectors' => [
|
203 |
-
'{{WRAPPER}} .bdt-prime-slider-storker .bdt-image-wrap .bdt-storker-img' => 'background-attachment: {{VALUE}};',
|
204 |
-
],
|
205 |
-
'condition' => [
|
206 |
-
'background_image_toggle' => 'yes'
|
207 |
-
],
|
208 |
-
'render_type' => 'ui',
|
209 |
-
]
|
210 |
-
);
|
211 |
-
|
212 |
-
$this->add_responsive_control(
|
213 |
-
'background_image_repeat',
|
214 |
-
[
|
215 |
-
'label' => _x('Repeat', 'bdthemes-prime-slider'),
|
216 |
-
'type' => Controls_Manager::SELECT,
|
217 |
-
'default' => '',
|
218 |
-
'options' => [
|
219 |
-
'' => _x('Default', 'bdthemes-prime-slider'),
|
220 |
-
'no-repeat' => _x('No-repeat', 'bdthemes-prime-slider'),
|
221 |
-
'repeat' => _x('Repeat', 'bdthemes-prime-slider'),
|
222 |
-
'repeat-x' => _x('Repeat-x', 'bdthemes-prime-slider'),
|
223 |
-
'repeat-y' => _x('Repeat-y', 'bdthemes-prime-slider'),
|
224 |
-
],
|
225 |
-
'selectors' => [
|
226 |
-
'{{WRAPPER}} .bdt-prime-slider-storker .bdt-image-wrap .bdt-storker-img' => 'background-repeat: {{VALUE}};',
|
227 |
-
],
|
228 |
-
'condition' => [
|
229 |
-
'background_image_toggle' => 'yes'
|
230 |
-
],
|
231 |
-
'render_type' => 'ui',
|
232 |
-
]
|
233 |
-
);
|
234 |
-
|
235 |
-
$this->add_responsive_control(
|
236 |
-
'background_image_size',
|
237 |
-
[
|
238 |
-
'label' => _x('Size', 'bdthemes-prime-slider'),
|
239 |
-
'type' => Controls_Manager::SELECT,
|
240 |
-
'default' => '',
|
241 |
-
'options' => [
|
242 |
-
'' => _x('Default', 'bdthemes-prime-slider'),
|
243 |
-
'auto' => _x('Auto', 'bdthemes-prime-slider'),
|
244 |
-
'cover' => _x('Cover', 'bdthemes-prime-slider'),
|
245 |
-
'contain' => _x('Contain', 'bdthemes-prime-slider'),
|
246 |
-
],
|
247 |
-
'selectors' => [
|
248 |
-
'{{WRAPPER}} .bdt-prime-slider-storker .bdt-image-wrap .bdt-storker-img' => 'background-size: {{VALUE}};',
|
249 |
-
],
|
250 |
-
'condition' => [
|
251 |
-
'background_image_toggle' => 'yes'
|
252 |
-
],
|
253 |
-
'render_type' => 'ui',
|
254 |
-
]
|
255 |
-
);
|
256 |
-
|
257 |
-
$this->end_popover();
|
258 |
|
259 |
$this->end_controls_section();
|
260 |
|
147 |
]
|
148 |
);
|
149 |
|
150 |
+
//Global background settings Controls
|
151 |
+
$this->register_background_settings('.bdt-prime-slider-storker .bdt-image-wrap .bdt-storker-img');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
|
153 |
$this->end_controls_section();
|
154 |
|
modules/woocommerce/widgets/woocommerce.php
CHANGED
@@ -114,114 +114,8 @@ class Woocommerce extends Widget_Base {
|
|
114 |
]
|
115 |
);
|
116 |
|
117 |
-
|
118 |
-
|
119 |
-
[
|
120 |
-
'label' => __('Image Settings', 'bdthemes-element-pack') . BDTPS_NC,
|
121 |
-
'type' => Controls_Manager::POPOVER_TOGGLE,
|
122 |
-
'label_off' => __('None', 'bdthemes-element-pack'),
|
123 |
-
'label_on' => __('Custom', 'bdthemes-element-pack'),
|
124 |
-
'return_value' => 'yes',
|
125 |
-
]
|
126 |
-
);
|
127 |
-
|
128 |
-
$this->start_popover();
|
129 |
-
|
130 |
-
$this->add_responsive_control(
|
131 |
-
'background_image_position',
|
132 |
-
[
|
133 |
-
'label' => _x('Position', 'bdthemes-prime-slider'),
|
134 |
-
'type' => Controls_Manager::SELECT,
|
135 |
-
'default' => '',
|
136 |
-
'options' => [
|
137 |
-
'' => _x('Default', 'bdthemes-prime-slider'),
|
138 |
-
'center center' => _x('Center Center', 'bdthemes-prime-slider'),
|
139 |
-
'center left' => _x('Center Left', 'bdthemes-prime-slider'),
|
140 |
-
'center right' => _x('Center Right', 'bdthemes-prime-slider'),
|
141 |
-
'top center' => _x('Top Center', 'bdthemes-prime-slider'),
|
142 |
-
'top left' => _x('Top Left', 'bdthemes-prime-slider'),
|
143 |
-
'top right' => _x('Top Right', 'bdthemes-prime-slider'),
|
144 |
-
'bottom center' => _x('Bottom Center', 'bdthemes-prime-slider'),
|
145 |
-
'bottom left' => _x('Bottom Left', 'bdthemes-prime-slider'),
|
146 |
-
'bottom right' => _x('Bottom Right', 'bdthemes-prime-slider'),
|
147 |
-
],
|
148 |
-
'selectors' => [
|
149 |
-
'{{WRAPPER}} .bdt-prime-slider-skin-woocommerce .bdt-ps-wc-product-img' => 'background-position: {{VALUE}};',
|
150 |
-
],
|
151 |
-
'condition' => [
|
152 |
-
'background_image_toggle' => 'yes'
|
153 |
-
],
|
154 |
-
'render_type' => 'ui',
|
155 |
-
]
|
156 |
-
);
|
157 |
-
|
158 |
-
$this->add_responsive_control(
|
159 |
-
'background_image_attachment',
|
160 |
-
[
|
161 |
-
'label' => _x('Attachment', 'bdthemes-prime-slider'),
|
162 |
-
'type' => Controls_Manager::SELECT,
|
163 |
-
'default' => '',
|
164 |
-
'options' => [
|
165 |
-
'' => _x('Default', 'bdthemes-prime-slider'),
|
166 |
-
'scroll' => _x('Scroll', 'bdthemes-prime-slider'),
|
167 |
-
'fixed' => _x('Fixed', 'bdthemes-prime-slider'),
|
168 |
-
],
|
169 |
-
'selectors' => [
|
170 |
-
'{{WRAPPER}} .bdt-prime-slider-skin-woocommerce .bdt-ps-wc-product-img' => 'background-attachment: {{VALUE}};',
|
171 |
-
],
|
172 |
-
'condition' => [
|
173 |
-
'background_image_toggle' => 'yes'
|
174 |
-
],
|
175 |
-
'render_type' => 'ui',
|
176 |
-
]
|
177 |
-
);
|
178 |
-
|
179 |
-
$this->add_responsive_control(
|
180 |
-
'background_image_repeat',
|
181 |
-
[
|
182 |
-
'label' => _x('Repeat', 'bdthemes-prime-slider'),
|
183 |
-
'type' => Controls_Manager::SELECT,
|
184 |
-
'default' => '',
|
185 |
-
'options' => [
|
186 |
-
'' => _x('Default', 'bdthemes-prime-slider'),
|
187 |
-
'no-repeat' => _x('No-repeat', 'bdthemes-prime-slider'),
|
188 |
-
'repeat' => _x('Repeat', 'bdthemes-prime-slider'),
|
189 |
-
'repeat-x' => _x('Repeat-x', 'bdthemes-prime-slider'),
|
190 |
-
'repeat-y' => _x('Repeat-y', 'bdthemes-prime-slider'),
|
191 |
-
],
|
192 |
-
'selectors' => [
|
193 |
-
'{{WRAPPER}} .bdt-prime-slider-skin-woocommerce .bdt-ps-wc-product-img' => 'background-repeat: {{VALUE}};',
|
194 |
-
],
|
195 |
-
'condition' => [
|
196 |
-
'background_image_toggle' => 'yes'
|
197 |
-
],
|
198 |
-
'render_type' => 'ui',
|
199 |
-
]
|
200 |
-
);
|
201 |
-
|
202 |
-
$this->add_responsive_control(
|
203 |
-
'background_image_size',
|
204 |
-
[
|
205 |
-
'label' => _x('Size', 'bdthemes-prime-slider'),
|
206 |
-
'type' => Controls_Manager::SELECT,
|
207 |
-
'default' => '',
|
208 |
-
'options' => [
|
209 |
-
'' => _x('Default', 'bdthemes-prime-slider'),
|
210 |
-
'auto' => _x('Auto', 'bdthemes-prime-slider'),
|
211 |
-
'cover' => _x('Cover', 'bdthemes-prime-slider'),
|
212 |
-
'contain' => _x('Contain', 'bdthemes-prime-slider'),
|
213 |
-
],
|
214 |
-
'selectors' => [
|
215 |
-
'{{WRAPPER}} .bdt-prime-slider-skin-woocommerce .bdt-ps-wc-product-img' => 'background-size: {{VALUE}};',
|
216 |
-
],
|
217 |
-
'condition' => [
|
218 |
-
'background_image_toggle' => 'yes'
|
219 |
-
],
|
220 |
-
'render_type' => 'ui',
|
221 |
-
]
|
222 |
-
);
|
223 |
-
|
224 |
-
$this->end_popover();
|
225 |
|
226 |
$this->add_control(
|
227 |
'show_title',
|
114 |
]
|
115 |
);
|
116 |
|
117 |
+
//Global background settings Controls
|
118 |
+
$this->register_background_settings('.bdt-prime-slider-skin-woocommerce .bdt-ps-wc-product-img');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
|
120 |
$this->add_control(
|
121 |
'show_title',
|
readme.txt
CHANGED
@@ -3,29 +3,50 @@ Contributors: bdthemes, selimmw, mohammaadfarid, bdkoder, abutalib, maudud, soha
|
|
3 |
Donate link: http://bdthemes.com/
|
4 |
Tags: elementor, prime slider, modern slider, slider addons, elementor addons, dynamic slider, woocommerce slider, multiscroll
|
5 |
Requires at least: 5.0.0
|
6 |
-
Tested up to: 5.9.
|
7 |
Requires PHP: 5.6.42
|
8 |
-
Stable tag: 2.
|
9 |
License: GPL3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
Elementor requires at least: 3.0.0
|
12 |
-
Elementor tested up to: 3.
|
13 |
|
14 |
-
Best Addon for Elementor WordPress Plugin with
|
15 |
|
16 |
== Description ==
|
17 |
|
18 |
-
|
19 |
|
20 |
-
|
21 |
|
22 |
-
|
23 |
|
24 |
-
|
25 |
|
26 |
-
|
27 |
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
= Full Featured Free Widgets For Lifetime =
|
31 |
|
@@ -56,8 +77,9 @@ social share buttons, slider number and navigation with heading and sub heading
|
|
56 |
24. [Rubix](https://primeslider.pro/demo/rubix/) - Rubix makes it a fun experience for your blog visitors by adding a box-puzzle type blog layout on your web page. This is a first-ever widget that is completely responsive and looks unique or modern. See the demo
|
57 |
25. [Pacific](https://primeslider.pro/demo/pacific/) - Pacific Slider lets you add a responsive slider widget to your blog. It has several cool features. Not only does this make the slider look unique but it also makes it more eye-catching and dynamic than other sliders on the market. See the demo
|
58 |
26. [Paranoia](https://primeslider.pro/demo/paranoia/) - Up for an eccentric post layout for your blogging website? The Paranoia slider widget is a totally unique concept for blogs with a fun and interesting post layout animation to boost your user experience. See the demo
|
59 |
-
27. [
|
60 |
-
28. [
|
|
|
61 |
|
62 |
= Pro Version =
|
63 |
|
@@ -73,26 +95,52 @@ social share buttons, slider number and navigation with heading and sub heading
|
|
73 |
10. [Astoria](https://primeslider.pro/demo/astoria/) - Astoria is a wonderful slider widget for decorating your hero page with the perfect and elegant looking slide. Equipped with social share buttons, the slider can easily catch your visitor's eyes, enough to boost the first impression to the maximum. See the demo
|
74 |
11. [Crossroad](https://primeslider.pro/demo/crossroad/) - Looking for something fun? The Crossroad Slider widget is the craziest looking slider you will ever find owned by the Prime Slider plugin. Now you can display slider posts in a marveled way using a totally new concept of art. See the demo
|
75 |
|
76 |
-
|
|
|
|
|
|
|
77 |
https://youtu.be/KwDq6wiS6go
|
78 |
-
Paul Charlton, a renowned WordPress influencer, has featured Prime Slider in WPTuts. He found PS for creative, responsive, and dynamic slider solution plugins.
|
79 |
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
|
84 |
-
themesCode:
|
85 |
https://youtu.be/WNvdJBS08T8
|
|
|
86 |
Thanks to Imran Emu, a professional Web Designer and Developer, for featuring Prime Slider on the YouTube channel titled themesCode and finding it helpful for his viewers.
|
87 |
|
88 |
-
|
89 |
-
|
|
|
|
|
|
|
|
|
90 |
Fran Salas is a WordPress passionate. He makes videos on plugin, template, and extension.Same as he makes Tutorial type video showing-off Prime Slier, an add-on for Elementor.
|
91 |
|
92 |
-
Brainstorm Force:
|
93 |
-
|
94 |
A mastermind of some outstanding WP products including theme Astra, has a Youtube Channel. Thankful to the energetic team who makes an awesome video spotlighting Prime Slider and shares on Brainstorm Force, a channel for WordPress Tutorials.
|
95 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
|
97 |
== Installation ==
|
98 |
|
@@ -105,6 +153,13 @@ e.g.
|
|
105 |
|
106 |
== Changelog ==
|
107 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
= 2.7.1 =
|
109 |
|
110 |
* Fixed: Woocircle Widget not showing issue fixed
|
@@ -113,7 +168,6 @@ e.g.
|
|
113 |
|
114 |
* Added: Woocircle Widget Added
|
115 |
* Fixed: Deprecated issue fixed in Blog, General, Isolate Slider Widgets (Thanks to BeautyMed Co)
|
116 |
-
* Security: Freemius ajax call security issue fixed.
|
117 |
|
118 |
= 2.6.2 =
|
119 |
|
3 |
Donate link: http://bdthemes.com/
|
4 |
Tags: elementor, prime slider, modern slider, slider addons, elementor addons, dynamic slider, woocommerce slider, multiscroll
|
5 |
Requires at least: 5.0.0
|
6 |
+
Tested up to: 5.9.2
|
7 |
Requires PHP: 5.6.42
|
8 |
+
Stable tag: 2.8.0
|
9 |
License: GPL3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
Elementor requires at least: 3.0.0
|
12 |
+
Elementor tested up to: 3.6.0
|
13 |
|
14 |
+
Best Addon for Elementor WordPress Plugin with 40+ Awesome slider design that you can use your modern website with elementor page builder.
|
15 |
|
16 |
== Description ==
|
17 |
|
18 |
+
Looking for an addon/ plugin that is dedicated to creating sliders for any website built in WordPress & Elementor?
|
19 |
|
20 |
+
[Prime slider](http://primeslider.pro/) is a fast, fully customizable, functional plugin - fit for every site including Blogging, eCommerce, etc. Again, it includes an up-to-date UI/UX.
|
21 |
|
22 |
+
It is a slider builder that is compatible with any WP theme & [Elementor Page Builder](https://wordpress.org/plugins/elementor/) plugin - meaning you’re safe from any unexpected issues.
|
23 |
|
24 |
+
Tired of the static & non-functional sliders? Fear not!
|
25 |
|
26 |
+
= Why Prime Slider when dozens of slider plugins are out there? The fact is, it will help you make your slider: =
|
27 |
|
28 |
+
* Eye-catchy with useful info
|
29 |
+
* Responsive (perfectly viewable on any device including mobile, tablet, & desktop)
|
30 |
+
* SEO optimized (with title, bread crumb, link, etc.)
|
31 |
+
* Highly optimized for web & server performance.
|
32 |
+
|
33 |
+
We always give importance to our customer's experience & expectations like you have. So, we put 100+ effort into making our product more active and functional.
|
34 |
+
|
35 |
+
Moreover, our highly professional team works hard to make room so that your business dominates in today’s competitive digital world.
|
36 |
+
|
37 |
+
Another thing is that we hear our customers and take attempts accordingly.
|
38 |
+
|
39 |
+
= The features from Prime Slider: =
|
40 |
+
|
41 |
+
* WooCommerce Ready
|
42 |
+
* Responsive
|
43 |
+
* RTL & Translation Ready
|
44 |
+
* Regular Updated
|
45 |
+
* Support from the Expert of BdThemes
|
46 |
+
|
47 |
+
In search of an all-in-one plugin for creating a slider for a WordPress website? Look no further. Prime Slider is speed optimized - good for SEO, easy to customize, WooCommerce ready slider addon for Elementor that you can use for building sliders of any sort of website.
|
48 |
+
|
49 |
+
== Demo of all Widgets ==
|
50 |
|
51 |
= Full Featured Free Widgets For Lifetime =
|
52 |
|
77 |
24. [Rubix](https://primeslider.pro/demo/rubix/) - Rubix makes it a fun experience for your blog visitors by adding a box-puzzle type blog layout on your web page. This is a first-ever widget that is completely responsive and looks unique or modern. See the demo
|
78 |
25. [Pacific](https://primeslider.pro/demo/pacific/) - Pacific Slider lets you add a responsive slider widget to your blog. It has several cool features. Not only does this make the slider look unique but it also makes it more eye-catching and dynamic than other sliders on the market. See the demo
|
79 |
26. [Paranoia](https://primeslider.pro/demo/paranoia/) - Up for an eccentric post layout for your blogging website? The Paranoia slider widget is a totally unique concept for blogs with a fun and interesting post layout animation to boost your user experience. See the demo
|
80 |
+
27. [Pieces](https://primeslider.pro/demo/pieces/) - Ready for the futuristic slider for your blog site? Grab Pieces slider and bend the rules of graphics and animation into a fun and super amazing slider interface.
|
81 |
+
28. [Reveal](https://primeslider.pro/demo/reveal/) - Now make robust and dynamic hero page with morphed slider background using our Prime Slider reveal widget. See the demo
|
82 |
+
29. [Woocircle](https://primeslider.pro/demo/woocircle/) - Do you want to display products in circles? Then Woocircle is the perfect widget to put you products on the price list and let customers enjoy a nice view.
|
83 |
|
84 |
= Pro Version =
|
85 |
|
95 |
10. [Astoria](https://primeslider.pro/demo/astoria/) - Astoria is a wonderful slider widget for decorating your hero page with the perfect and elegant looking slide. Equipped with social share buttons, the slider can easily catch your visitor's eyes, enough to boost the first impression to the maximum. See the demo
|
96 |
11. [Crossroad](https://primeslider.pro/demo/crossroad/) - Looking for something fun? The Crossroad Slider widget is the craziest looking slider you will ever find owned by the Prime Slider plugin. Now you can display slider posts in a marveled way using a totally new concept of art. See the demo
|
97 |
|
98 |
+
== Featured By: == Famous Publications
|
99 |
+
|
100 |
+
= WPTuts: =
|
101 |
+
|
102 |
https://youtu.be/KwDq6wiS6go
|
|
|
103 |
|
104 |
+
Paul Charlton, a renowned WordPress influencer, has featured Prime Slider in WPTuts. He found Prime Slider for creative, responsive, and dynamic slider solution plugins.
|
105 |
+
|
106 |
+
= themesCode: =
|
107 |
|
|
|
108 |
https://youtu.be/WNvdJBS08T8
|
109 |
+
|
110 |
Thanks to Imran Emu, a professional Web Designer and Developer, for featuring Prime Slider on the YouTube channel titled themesCode and finding it helpful for his viewers.
|
111 |
|
112 |
+
[Uriel Soto:](https://youtu.be/3vR2zk_2LXc)
|
113 |
+
|
114 |
+
Uriel Soto, expert in WordPress & Elementor, makes helpful WordPress tutorials for everyone. Prime Slider, an add-on for Elementor, has been featured on Youtube Channel named Uriel Soto by this guy.
|
115 |
+
|
116 |
+
[Fran Salas - PluginsWeb:](https://youtu.be/h6SvBsNfP7o)
|
117 |
+
|
118 |
Fran Salas is a WordPress passionate. He makes videos on plugin, template, and extension.Same as he makes Tutorial type video showing-off Prime Slier, an add-on for Elementor.
|
119 |
|
120 |
+
[Brainstorm Force:](https://youtu.be/ZeogOxqdKJI?t=435)
|
121 |
+
|
122 |
A mastermind of some outstanding WP products including theme Astra, has a Youtube Channel. Thankful to the energetic team who makes an awesome video spotlighting Prime Slider and shares on Brainstorm Force, a channel for WordPress Tutorials.
|
123 |
|
124 |
+
== Supports: ==
|
125 |
+
|
126 |
+
We provide support to both free & paid users. If you have any problem or feature request for our slider plugin, no hesitation! Please feel free to contact us [here](https://wordpress.org/support/plugin/bdthemes-prime-slider-lite/)(free users) & [here](https://bdthemes.com/support/)(premium users)!
|
127 |
+
|
128 |
+
== Documentations: ==
|
129 |
+
|
130 |
+
Empower yourself or your team to understand how all the widgets of Prime Slider are in action. Find our widget-specific [documentation here](https://bdthemes.com/all-knowledge-base-of-prime-slider/).
|
131 |
+
|
132 |
+
== Compatibility: ==
|
133 |
+
|
134 |
+
We hope the Prime slider will be compatible with each & every theme coming from any corner. In case, any issue rises, you can contact our support engineer. We'll be on the prompt action. So, breathe a sigh of relief!
|
135 |
+
|
136 |
+
== Compatible Browsers: ==
|
137 |
+
|
138 |
+
Firefox
|
139 |
+
Safari
|
140 |
+
Opera
|
141 |
+
Chrome
|
142 |
+
iOS browser
|
143 |
+
Android browser
|
144 |
|
145 |
== Installation ==
|
146 |
|
153 |
|
154 |
== Changelog ==
|
155 |
|
156 |
+
= 2.8.0 =
|
157 |
+
|
158 |
+
* Added: Pieces Widget Added
|
159 |
+
* Added: Arrows padding, margin option added in Isolate Widget
|
160 |
+
* Added: Pagination typography option added in Flexure Widget
|
161 |
+
* Added: Background Image Custom Size Option added in Astoria, Blog, Dragon, Event Calendar, Flexure, Flogia, Fluent, General, Mount, Pagepiling, Paranoia, Reveal, Storker, Woocommerce, Woostand, Wooexpand Widgets
|
162 |
+
|
163 |
= 2.7.1 =
|
164 |
|
165 |
* Fixed: Woocircle Widget not showing issue fixed
|
168 |
|
169 |
* Added: Woocircle Widget Added
|
170 |
* Fixed: Deprecated issue fixed in Blog, General, Isolate Slider Widgets (Thanks to BeautyMed Co)
|
|
|
171 |
|
172 |
= 2.6.2 =
|
173 |
|
traits/global-widget-controls.php
CHANGED
@@ -271,4 +271,153 @@
|
|
271 |
);
|
272 |
|
273 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
274 |
}
|
271 |
);
|
272 |
|
273 |
}
|
274 |
+
protected function register_background_settings($class_name) {
|
275 |
+
|
276 |
+
$this->add_control(
|
277 |
+
'background_image_toggle',
|
278 |
+
[
|
279 |
+
'label' => __('Background Image Settings', 'bdthemes-element-pack') . BDTPS_NC,
|
280 |
+
'type' => Controls_Manager::POPOVER_TOGGLE,
|
281 |
+
'label_off' => __('None', 'bdthemes-element-pack'),
|
282 |
+
'label_on' => __('Custom', 'bdthemes-element-pack'),
|
283 |
+
'return_value' => 'yes',
|
284 |
+
]
|
285 |
+
);
|
286 |
+
|
287 |
+
$this->start_popover();
|
288 |
+
|
289 |
+
$this->add_responsive_control(
|
290 |
+
'background_image_position',
|
291 |
+
[
|
292 |
+
'label' => _x( 'Position', 'bdthemes-prime-slider' ),
|
293 |
+
'type' => Controls_Manager::SELECT,
|
294 |
+
'default' => '',
|
295 |
+
'options' => [
|
296 |
+
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
297 |
+
'center center' => _x( 'Center Center', 'bdthemes-prime-slider' ),
|
298 |
+
'center left' => _x( 'Center Left', 'bdthemes-prime-slider' ),
|
299 |
+
'center right' => _x( 'Center Right', 'bdthemes-prime-slider' ),
|
300 |
+
'top center' => _x( 'Top Center', 'bdthemes-prime-slider' ),
|
301 |
+
'top left' => _x( 'Top Left', 'bdthemes-prime-slider' ),
|
302 |
+
'top right' => _x( 'Top Right', 'bdthemes-prime-slider' ),
|
303 |
+
'bottom center' => _x( 'Bottom Center', 'bdthemes-prime-slider' ),
|
304 |
+
'bottom left' => _x( 'Bottom Left', 'bdthemes-prime-slider' ),
|
305 |
+
'bottom right' => _x( 'Bottom Right', 'bdthemes-prime-slider' ),
|
306 |
+
],
|
307 |
+
'selectors' => [
|
308 |
+
'{{WRAPPER}} '.$class_name.'' => 'background-position: {{VALUE}};',
|
309 |
+
],
|
310 |
+
'condition' => [
|
311 |
+
'background_image_toggle' => 'yes'
|
312 |
+
],
|
313 |
+
'render_type' => 'ui',
|
314 |
+
]
|
315 |
+
);
|
316 |
+
|
317 |
+
$this->add_responsive_control(
|
318 |
+
'background_image_attachment',
|
319 |
+
[
|
320 |
+
'label' => _x( 'Attachment', 'bdthemes-prime-slider' ),
|
321 |
+
'type' => Controls_Manager::SELECT,
|
322 |
+
'default' => '',
|
323 |
+
'options' => [
|
324 |
+
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
325 |
+
'scroll' => _x( 'Scroll', 'bdthemes-prime-slider' ),
|
326 |
+
'fixed' => _x( 'Fixed', 'bdthemes-prime-slider' ),
|
327 |
+
],
|
328 |
+
'selectors' => [
|
329 |
+
'{{WRAPPER}} '.$class_name.'' => 'background-attachment: {{VALUE}};',
|
330 |
+
],
|
331 |
+
'condition' => [
|
332 |
+
'background_image_toggle' => 'yes'
|
333 |
+
],
|
334 |
+
'render_type' => 'ui',
|
335 |
+
]
|
336 |
+
);
|
337 |
+
|
338 |
+
$this->add_responsive_control(
|
339 |
+
'background_image_repeat',
|
340 |
+
[
|
341 |
+
'label' => _x( 'Repeat', 'bdthemes-prime-slider' ),
|
342 |
+
'type' => Controls_Manager::SELECT,
|
343 |
+
'default' => '',
|
344 |
+
'options' => [
|
345 |
+
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
346 |
+
'no-repeat' => _x( 'No-repeat', 'bdthemes-prime-slider' ),
|
347 |
+
'repeat' => _x( 'Repeat', 'bdthemes-prime-slider' ),
|
348 |
+
'repeat-x' => _x( 'Repeat-x', 'bdthemes-prime-slider' ),
|
349 |
+
'repeat-y' => _x( 'Repeat-y', 'bdthemes-prime-slider' ),
|
350 |
+
],
|
351 |
+
'selectors' => [
|
352 |
+
'{{WRAPPER}} '.$class_name.'' => 'background-repeat: {{VALUE}};',
|
353 |
+
],
|
354 |
+
'condition' => [
|
355 |
+
'background_image_toggle' => 'yes'
|
356 |
+
],
|
357 |
+
'render_type' => 'ui',
|
358 |
+
]
|
359 |
+
);
|
360 |
+
|
361 |
+
$this->add_responsive_control(
|
362 |
+
'background_image_size',
|
363 |
+
[
|
364 |
+
'label' => _x( 'Size', 'bdthemes-prime-slider' ),
|
365 |
+
'type' => Controls_Manager::SELECT,
|
366 |
+
'default' => '',
|
367 |
+
'options' => [
|
368 |
+
'' => _x( 'Default', 'bdthemes-prime-slider' ),
|
369 |
+
'auto' => _x( 'Auto', 'bdthemes-prime-slider' ),
|
370 |
+
'cover' => _x( 'Cover', 'bdthemes-prime-slider' ),
|
371 |
+
'contain' => _x( 'Contain', 'bdthemes-prime-slider' ),
|
372 |
+
'initial' => _x( 'Custom', 'bdthemes-prime-slider' ),
|
373 |
+
],
|
374 |
+
'selectors' => [
|
375 |
+
'{{WRAPPER}} '.$class_name.'' => 'background-size: {{VALUE}};',
|
376 |
+
],
|
377 |
+
'condition' => [
|
378 |
+
'background_image_toggle' => 'yes'
|
379 |
+
],
|
380 |
+
'render_type' => 'ui',
|
381 |
+
]
|
382 |
+
);
|
383 |
+
|
384 |
+
$this->add_responsive_control(
|
385 |
+
'background_image_width',
|
386 |
+
[
|
387 |
+
'label' => _x( 'Width', 'bdthemes-prime-slider' ),
|
388 |
+
'type' => Controls_Manager::SLIDER,
|
389 |
+
'size_units' => [ 'px', 'em', '%', 'vw' ],
|
390 |
+
'range' => [
|
391 |
+
'px' => [
|
392 |
+
'min' => 0,
|
393 |
+
'max' => 1000,
|
394 |
+
],
|
395 |
+
'%' => [
|
396 |
+
'min' => 0,
|
397 |
+
'max' => 100,
|
398 |
+
],
|
399 |
+
'vw' => [
|
400 |
+
'min' => 0,
|
401 |
+
'max' => 100,
|
402 |
+
],
|
403 |
+
],
|
404 |
+
'default' => [
|
405 |
+
'size' => 100,
|
406 |
+
'unit' => '%',
|
407 |
+
],
|
408 |
+
'required' => true,
|
409 |
+
'selectors' => [
|
410 |
+
'{{WRAPPER}} '.$class_name.'' => 'background-size: {{SIZE}}{{UNIT}} auto',
|
411 |
+
|
412 |
+
],
|
413 |
+
'condition' => [
|
414 |
+
'background_image_size' => [ 'initial' ],
|
415 |
+
],
|
416 |
+
'render_type' => 'ui',
|
417 |
+
]
|
418 |
+
);
|
419 |
+
|
420 |
+
$this->end_popover();
|
421 |
+
|
422 |
+
}
|
423 |
}
|