Laravel 11, Vuexy Admin 10.3, by admin@koneko.mx
This commit is contained in:
6
modules/Admin/Resources/assets/vendor/libs/swiper/_mixins.scss
vendored
Normal file
6
modules/Admin/Resources/assets/vendor/libs/swiper/_mixins.scss
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
@mixin swiper-theme($background) {
|
||||
.swiper-pagination-bullet.swiper-pagination-bullet-active,
|
||||
.swiper-pagination.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
|
||||
background: $background !important;
|
||||
}
|
||||
}
|
7
modules/Admin/Resources/assets/vendor/libs/swiper/swiper.js
vendored
Normal file
7
modules/Admin/Resources/assets/vendor/libs/swiper/swiper.js
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
import Swiper from 'swiper/bundle';
|
||||
|
||||
try {
|
||||
window.Swiper = Swiper;
|
||||
} catch (e) {}
|
||||
|
||||
export { Swiper };
|
113
modules/Admin/Resources/assets/vendor/libs/swiper/swiper.scss
vendored
Normal file
113
modules/Admin/Resources/assets/vendor/libs/swiper/swiper.scss
vendored
Normal file
@ -0,0 +1,113 @@
|
||||
@import '../../scss/_bootstrap-extended/include';
|
||||
@import '../../scss/_custom-variables/libs';
|
||||
@import 'swiper/css/bundle';
|
||||
|
||||
.swiper {
|
||||
width: 100%;
|
||||
overflow: hidden !important;
|
||||
.swiper-slide {
|
||||
color: $white;
|
||||
}
|
||||
.swiper-pagination-bullet.swiper-pagination-bullet-active.bg-transparent {
|
||||
background: transparent !important;
|
||||
}
|
||||
}
|
||||
|
||||
.swiper-button-prev,
|
||||
.swiper-button-next {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
&.swiper-button-white {
|
||||
color: $white;
|
||||
}
|
||||
|
||||
&.custom-icon {
|
||||
background-image: none;
|
||||
line-height: 1;
|
||||
&::after {
|
||||
font-size: 2rem;
|
||||
}
|
||||
@include app-rtl {
|
||||
transform: scaleX(-1) rotate(180deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.swiper-pagination-bullet {
|
||||
background: rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
.swiper-pagination-progressbar,
|
||||
.swiper-scrollbar {
|
||||
background: rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
.swiper-scrollbar-drag {
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.swiper-pagination-white {
|
||||
.swiper-pagination-bullet {
|
||||
background: $white !important;
|
||||
}
|
||||
|
||||
.swiper-pagination-bullet-active {
|
||||
background: $white !important;
|
||||
}
|
||||
}
|
||||
|
||||
.swiper-scrollbar-white {
|
||||
background: rgba(255, 255, 255, 0.2) !important;
|
||||
|
||||
.swiper-scrollbar-drag {
|
||||
background: $white !important;
|
||||
}
|
||||
}
|
||||
|
||||
// black arrows for 3d style
|
||||
@if $enable-dark-style {
|
||||
.dark-style {
|
||||
.swiper-3d {
|
||||
.swiper-pagination-bullet {
|
||||
background-color: $white;
|
||||
}
|
||||
.swiper-button-prev,
|
||||
.swiper-button-next {
|
||||
&.swiper-button-black {
|
||||
--swiper-navigation-color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include app-rtl(false) {
|
||||
.swiper-button-next {
|
||||
right: auto;
|
||||
left: 10px;
|
||||
}
|
||||
|
||||
.swiper-button-prev {
|
||||
right: 10px;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
.swiper-vertical {
|
||||
> .swiper-pagination-bullets {
|
||||
right: auto;
|
||||
left: 10px;
|
||||
}
|
||||
|
||||
> .swiper-pagination-progressbar {
|
||||
right: 0;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
> .swiper-scrollbar {
|
||||
right: auto;
|
||||
left: 3px;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user