ltsecurityinc安防产品在线商城代码
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
@import "module/_base.less";
|
||||
@import "module/_progress.less";
|
||||
@import "module/_arrows.less";
|
||||
@import "module/_dots.less";
|
||||
+195
@@ -0,0 +1,195 @@
|
||||
& when (@media-common = true) {
|
||||
.ox-carousel {
|
||||
.owl-nav {
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s, visibility 0.2s;
|
||||
button {
|
||||
transition: transform 0.2s ease;
|
||||
&.owl-next,
|
||||
&.owl-prev {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
}
|
||||
&.owl-prev {
|
||||
transform: translateX(-20px) translateY(-50%);
|
||||
}
|
||||
&.owl-next {
|
||||
transform: translateX(20px) translateY(-50%);
|
||||
span {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&:hover{
|
||||
.owl-nav {
|
||||
button {
|
||||
&.owl-prev,
|
||||
&.owl-next {
|
||||
transform: translateX(0) translateY(-50%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&.ox-nav__always{
|
||||
.owl-nav {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
button {
|
||||
&.owl-prev,
|
||||
&.owl-next {
|
||||
transform: translateX(0) translateY(-50%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&.ox-nav__simple {
|
||||
.owl-nav {
|
||||
button {
|
||||
&:hover{
|
||||
&.owl-next {
|
||||
span{
|
||||
transform: translateX(10px) rotate(180deg);
|
||||
}
|
||||
}
|
||||
&.owl-prev {
|
||||
span{
|
||||
transform: translateX(-10px);
|
||||
}
|
||||
}
|
||||
span {
|
||||
&:before,
|
||||
&:after {
|
||||
background: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.owl-next,
|
||||
&.owl-prev {
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
background: none;
|
||||
&:hover:after{
|
||||
background:none;
|
||||
}
|
||||
span {
|
||||
transition: 0.2s ease transform;
|
||||
height:38px;
|
||||
line-height: 38px;
|
||||
width:24px;
|
||||
&:before,
|
||||
&:after {
|
||||
background: #fff;
|
||||
height: 23px;
|
||||
left: 9px;
|
||||
width:3px;
|
||||
}
|
||||
&:after{
|
||||
top: 15px;
|
||||
}
|
||||
}
|
||||
&:after {
|
||||
background: none;
|
||||
}
|
||||
}
|
||||
|
||||
&.owl-prev {
|
||||
left: 20px;
|
||||
}
|
||||
|
||||
&.owl-next {
|
||||
right: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.nav-small{
|
||||
.owl-nav {
|
||||
button {
|
||||
&.owl-next,
|
||||
&.owl-prev {
|
||||
width: 23px;
|
||||
height: 26px;
|
||||
span {
|
||||
height: 16px;
|
||||
line-height: 16px;
|
||||
width: 18px;
|
||||
&:before,
|
||||
&:after {
|
||||
height: 10px;
|
||||
left: 9px;
|
||||
width:2px;
|
||||
}
|
||||
&:after{
|
||||
top: 6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.ox-nav__theme {
|
||||
.owl-nav {
|
||||
button {
|
||||
&.owl-next,
|
||||
&.owl-prev {
|
||||
width: 40px;
|
||||
height: 56px;
|
||||
background: #000000;
|
||||
span {
|
||||
&:before,
|
||||
&:after {
|
||||
height: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.owl-prev {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
&.owl-next {
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.nav-big{
|
||||
.owl-nav {
|
||||
button {
|
||||
&.owl-next,
|
||||
&.owl-prev {
|
||||
width: 50px;
|
||||
height: 70px;
|
||||
span {
|
||||
line-height: 32px;
|
||||
height: 32px;
|
||||
&:before,
|
||||
&:after {
|
||||
height: 20px;
|
||||
width: 3px;
|
||||
left:0;
|
||||
}
|
||||
&:after{
|
||||
top: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
|
||||
.ox-carousel {
|
||||
&:hover {
|
||||
.owl-nav {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,452 @@
|
||||
& when (@media-common = true) {
|
||||
.page-wrapper > .widget.ox-carousel{
|
||||
max-width:100%;
|
||||
width:100%;
|
||||
padding:0;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.ox-carousel {
|
||||
position: relative;
|
||||
.overlay-link{
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
z-index: 2;
|
||||
background: none !important;
|
||||
border: none !important;
|
||||
box-shadow: none !important;
|
||||
top: 0;
|
||||
left: 0;
|
||||
cursor: pointer;
|
||||
&:before,
|
||||
&:after{
|
||||
content:none!important;
|
||||
}
|
||||
}
|
||||
&.owl-carousel {
|
||||
display: block;
|
||||
overflow:hidden;
|
||||
&:not(.owl-loaded){
|
||||
> *{
|
||||
display: none!important;
|
||||
}
|
||||
}
|
||||
&.ox-slider-height__image:not(.owl-loaded) {
|
||||
display: flex!important;
|
||||
> *{
|
||||
display: block !important;
|
||||
width: 100%;
|
||||
flex: 0 0 100%;
|
||||
position: relative;
|
||||
line-height: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.block,
|
||||
&.widget{
|
||||
margin: 0 auto;
|
||||
}
|
||||
.ox-slide-item{
|
||||
overflow: hidden;
|
||||
.ox-carousel__wrapper{
|
||||
z-index: 1;
|
||||
}
|
||||
.subtitle{
|
||||
margin-bottom: 22px;
|
||||
}
|
||||
.title{
|
||||
margin-bottom: 16px;
|
||||
|
||||
&.huge-6vw,
|
||||
&.huge-7vw,
|
||||
&.big,
|
||||
&.huge{
|
||||
font-size: 48px;
|
||||
}
|
||||
}
|
||||
.ox-carousel__col,
|
||||
.ox-carousel__inner{
|
||||
> a.ox-slide__button{
|
||||
margin-top: 25px;
|
||||
}
|
||||
> *:last-child{
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
.subtitle + a.ox-slide__button,
|
||||
.title + a.ox-slide__button{
|
||||
margin-top: 0;
|
||||
}
|
||||
.ox-carousel__col{
|
||||
img{
|
||||
width:auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
.ox-carousel__col,
|
||||
.ox-carousel__inner{
|
||||
> a.ox-slide__button{
|
||||
margin-top: 35px;
|
||||
}
|
||||
> *:last-child{
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
.ox-carousel__inner{
|
||||
z-index: 1;
|
||||
padding:40px;
|
||||
max-width:100%;
|
||||
}
|
||||
&.ox-slider-height__settings{
|
||||
.ox-carousel__wrapper{
|
||||
height:100%;
|
||||
}
|
||||
.ox-slide-item{
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
&.slide-content-center,
|
||||
&.slide-content-right,
|
||||
&.slide-content-left{
|
||||
.lib-vendor-prefix-display(flex);
|
||||
.lib-vendor-box-align(center);
|
||||
}
|
||||
&.slide-content-right{
|
||||
.ox-carousel__inner{
|
||||
margin-left: auto;
|
||||
}
|
||||
}
|
||||
&.slide-content-center{
|
||||
.ox-carousel__inner{
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
}
|
||||
&.slide-layout-raw{
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
.ox-carousel__img{
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
&.ox-slider-height__image{
|
||||
.ox-carousel__wrapper {
|
||||
position: relative;
|
||||
touch-action: manipulation;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom:0;
|
||||
top: -100%;
|
||||
}
|
||||
.ox-carousel__inner{
|
||||
position:absolute;
|
||||
left: 0;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
display: list-item;
|
||||
max-width: 1400px;
|
||||
list-style: none;
|
||||
margin: 0 auto;
|
||||
padding: 30px;
|
||||
}
|
||||
}
|
||||
.-v-center{
|
||||
&.slide-content-right,
|
||||
&.slide-content-left{
|
||||
.ox-carousel__wrapper{
|
||||
.lib-vendor-prefix-display(flex);
|
||||
.lib-vendor-prefix-flex-wrap();
|
||||
.lib-vendor-box-align(center);
|
||||
align-content: center;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.slide-content-2-col{
|
||||
.ox-carousel__row{
|
||||
.lib-vendor-prefix-display(flex);
|
||||
.lib-vendor-box-align(center);
|
||||
align-content: center;
|
||||
height: 100%;
|
||||
}
|
||||
.ox-carousel__col{
|
||||
position: relative;
|
||||
width: 100%;
|
||||
margin:0 auto;
|
||||
&:first-child{
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px){
|
||||
.ox-carousel {
|
||||
.slide-content-2-col {
|
||||
.ox-carousel__col {
|
||||
-ms-flex: 0 0 50%;
|
||||
flex: 0 0 50%;
|
||||
max-width: 50%;
|
||||
height: 100%;
|
||||
margin-right:auto;
|
||||
.lib-vendor-prefix-display(flex);
|
||||
.lib-vendor-box-align(baseline);
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
.ox-carousel__inner{
|
||||
padding:70px;
|
||||
max-width:50%;
|
||||
}
|
||||
}
|
||||
}
|
||||
@media (max-width: 768px){
|
||||
.ox-carousel {
|
||||
.ox-slide-item{
|
||||
&.align-s-center{
|
||||
text-align: center;
|
||||
&.slide-content-2-col .ox-carousel__col:first-child,
|
||||
.ox-carousel__inner{
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
}
|
||||
}
|
||||
&.align-s-left{
|
||||
text-align: left;
|
||||
&.slide-content-2-col .ox-carousel__col:first-child,
|
||||
.ox-carousel__inner{
|
||||
margin-left:0;
|
||||
margin-right:auto;
|
||||
}
|
||||
}
|
||||
&.align-s-right{
|
||||
text-align: right;
|
||||
&.slide-content-2-col .ox-carousel__col:first-child,
|
||||
.ox-carousel__inner{
|
||||
margin-left:auto;
|
||||
margin-right:0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.mw-50vw{
|
||||
max-width: 50vw!important;
|
||||
width: 100%!important;
|
||||
}
|
||||
.circle-pulse{
|
||||
width: 500px;
|
||||
height: 500px;
|
||||
box-shadow: inset 0px 0px 64px 0px rgba(215,188,167,0.8);
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
margin-top:-250px;
|
||||
margin-left:-250px;
|
||||
&.bigger{
|
||||
width: 750px;
|
||||
height: 750px;
|
||||
opacity: 0.85;
|
||||
margin-top:-375px;
|
||||
margin-left:-375px;
|
||||
animation-delay: 40ms;
|
||||
}
|
||||
}
|
||||
.owl-item.active .animate{
|
||||
-webkit-animation-duration: 1000ms;
|
||||
animation-duration: 1000ms;
|
||||
-webkit-animation-fill-mode: forwards;
|
||||
animation-fill-mode: forwards;
|
||||
}
|
||||
|
||||
.fadeOut {
|
||||
-webkit-animation-name: fadeIn;
|
||||
animation-name: fadeIn;
|
||||
animation-direction: reverse;
|
||||
}
|
||||
|
||||
.fadeIn {
|
||||
-webkit-animation-name: fadeIn;
|
||||
animation-name: fadeIn;
|
||||
}
|
||||
.floating40{
|
||||
animation: floating40 4s infinite;
|
||||
animation-timing-function: ease-in-out;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
.pulseBig{
|
||||
animation: pulseBig 2s infinite;
|
||||
}
|
||||
.circle-pulse-wrapper{
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: scale(0.5);
|
||||
}
|
||||
.circle-pulse-img{
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
padding: 30px;
|
||||
}
|
||||
@-webkit-keyframes fadeIn {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
@keyframes fadeIn {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
@keyframes floating40 {
|
||||
0% {
|
||||
transform: translateY(0);
|
||||
}
|
||||
100% {
|
||||
transform: translateY(-40px);
|
||||
}
|
||||
}
|
||||
@keyframes pulseBig {
|
||||
0% {
|
||||
transform: scale(0);
|
||||
}
|
||||
100% {
|
||||
transform: scale(5);
|
||||
}
|
||||
}
|
||||
@keyframes pulseBig {
|
||||
0% {
|
||||
transform: scale(1);
|
||||
}
|
||||
10% {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
14% {
|
||||
transform: scale(1);
|
||||
}
|
||||
18% {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
40% {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
45% {
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__xs) {
|
||||
.ox-carousel{
|
||||
.ox-slide-item{
|
||||
.title{
|
||||
&.huge-6vw,
|
||||
&.huge-7vw,
|
||||
&.big,
|
||||
&.huge{
|
||||
font-size: 38px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__s) {
|
||||
.ox-carousel {
|
||||
.ox-slide-item {
|
||||
.title{
|
||||
&.big{
|
||||
font-size:60px;
|
||||
}
|
||||
&.huge{
|
||||
font-size:72px;
|
||||
}
|
||||
&.huge-6vw{
|
||||
font-size:6.3vw;
|
||||
}
|
||||
&.huge-7vw{
|
||||
font-size:7vw;
|
||||
}
|
||||
&.big,
|
||||
&.huge{
|
||||
line-height: 0.9;
|
||||
margin-left: -4px;
|
||||
}
|
||||
&.huge-6vw,
|
||||
&.huge-7vw{
|
||||
line-height: 0.9;
|
||||
margin-left: -6px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
.circle-pulse-wrapper{
|
||||
transform: scale(1);
|
||||
}
|
||||
.circle-pulse-img{
|
||||
top: -25px;
|
||||
right: -25px;
|
||||
}
|
||||
}
|
||||
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
|
||||
.ox-carousel {
|
||||
.slide-content-2-col{
|
||||
.ox-carousel__row{
|
||||
.lib-vendor-prefix-flex-wrap();
|
||||
}
|
||||
}
|
||||
}
|
||||
.circle-pulse-wrapper{
|
||||
transform: scale(0.7);
|
||||
}
|
||||
}
|
||||
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
|
||||
.ox-carousel {
|
||||
.ox-slide-item {
|
||||
.title{
|
||||
&.big{
|
||||
font-size:72px;
|
||||
}
|
||||
&.huge{
|
||||
font-size: 90px;
|
||||
}
|
||||
}
|
||||
&.margins-big{
|
||||
.subtitle{
|
||||
margin-bottom: 45px;
|
||||
}
|
||||
.title{
|
||||
margin-bottom: 43px;
|
||||
}
|
||||
.subtitle + a.ox-slide__button,
|
||||
.title + a.ox-slide__button{
|
||||
margin-top: 0;
|
||||
}
|
||||
.ox-carousel__col,
|
||||
.ox-carousel__inner{
|
||||
> a.ox-slide__button{
|
||||
margin-top: 47px;
|
||||
}
|
||||
> *:last-child{
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,299 @@
|
||||
& when (@media-common = true) {
|
||||
.ox-carousel {
|
||||
.owl-dots {
|
||||
padding:25px;
|
||||
}
|
||||
&.ox-dots__p-over {
|
||||
.owl-dots {
|
||||
min-height: 70px;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
padding:0 25px;
|
||||
}
|
||||
&.ox-dots__overlay{
|
||||
.ox-slide-item{
|
||||
position:relative;
|
||||
&:before{
|
||||
content: '';
|
||||
width: 100%;
|
||||
height: 150px;
|
||||
display: block;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
background: linear-gradient(to top, rgba(0, 0, 0, 0.25) 10%, rgba(0, 0, 0, 0) 100%);
|
||||
z-index: 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&.ox-dots__p-right{
|
||||
&.ox-dots__overlay{
|
||||
.ox-slide-item{
|
||||
position:relative;
|
||||
&:before{
|
||||
content: '';
|
||||
height: 100%;
|
||||
width: 250px;
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
background: linear-gradient(to left, rgba(0, 0, 0, 0.25) 10%, rgba(0, 0, 0, 0) 100%);
|
||||
z-index: 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&.ox-dots__s-lines_text_full,
|
||||
&.ox-dots__s-lines_text_big,
|
||||
&.ox-dots__s-lines_text {
|
||||
.owl-dots {
|
||||
.owl-dot.active{
|
||||
button.dot {
|
||||
span {
|
||||
&.title {
|
||||
opacity:1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
button.dot {
|
||||
z-index: 2;
|
||||
margin: 0px 16px;
|
||||
|
||||
&:hover span {
|
||||
&.title {
|
||||
background: none;
|
||||
opacity:1;
|
||||
}
|
||||
}
|
||||
|
||||
span {
|
||||
&.title {
|
||||
color:#fff;
|
||||
padding: 0 14px;
|
||||
width: auto;
|
||||
height: auto;
|
||||
display: block;
|
||||
margin: 0;
|
||||
text-transform: initial;
|
||||
font-weight: 600;
|
||||
line-height: 1.2;
|
||||
background: none!important;
|
||||
opacity:0.7;
|
||||
font-size:16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.ox-dots__s-rounded{
|
||||
.owl-dots {
|
||||
button.owl-dot {
|
||||
&.active{
|
||||
span{
|
||||
width: 10px;
|
||||
}
|
||||
}
|
||||
span{
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&.ox-dots__s-lines_vertical{
|
||||
.owl-dots {
|
||||
button.owl-dot {
|
||||
&.active span{
|
||||
width: 47px;
|
||||
height: 12px;
|
||||
}
|
||||
span{
|
||||
width: 47px;
|
||||
height: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&.ox-dots__s-lines_full{
|
||||
&.ox-dots__p-over,
|
||||
&.ox-dots__p-bottom{
|
||||
.owl-dots {
|
||||
width: 100%;
|
||||
.lib-vendor-prefix-display(flex);
|
||||
flex-wrap: wrap;
|
||||
.owl-dot {
|
||||
width: 100%;
|
||||
padding:0 18px;
|
||||
}
|
||||
}
|
||||
button.owl-dot {
|
||||
margin-right: 20px;
|
||||
flex: 0 1 100%;
|
||||
&:last-child{
|
||||
margin-right: 0;
|
||||
}
|
||||
&.active{
|
||||
span{
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
span{
|
||||
height: 3px;
|
||||
width: 100%;
|
||||
margin: 10px 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&.ox-dots__s-lines_text_big{
|
||||
.owl-dots {
|
||||
button.dot span.title{
|
||||
line-height: 22px;
|
||||
font-weight: 600;
|
||||
font-size: 20px;
|
||||
}
|
||||
.owl-dot {
|
||||
width: 100%;
|
||||
padding:0 25px;
|
||||
}
|
||||
button.dot span.progress{
|
||||
height: 3px;
|
||||
margin: 16px 0 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.ox-dots__s-lines_text_full{
|
||||
.owl-dots {
|
||||
width: 100%;
|
||||
.lib-vendor-prefix-display(flex);
|
||||
flex-wrap: wrap;
|
||||
.owl-dot {
|
||||
width: 100%;
|
||||
padding:0 18px;
|
||||
}
|
||||
}
|
||||
&.ox-dots__p-over,
|
||||
&.ox-dots__p-below{
|
||||
.owl-dots {
|
||||
button.dot span.progress{
|
||||
height: 3px;
|
||||
margin: 8px 0 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
&.ox-dots__a-center{
|
||||
&.ox-dots__p-over,
|
||||
&.ox-dots__p-below{
|
||||
.owl-dots {
|
||||
width: 100%;
|
||||
.lib-vendor-prefix-display(flex);
|
||||
-webkit-justify-content: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) {
|
||||
.ox-carousel {
|
||||
&.ox-dots__s-lines_text_full,
|
||||
&.ox-dots__s-lines_text_big,
|
||||
&.ox-dots__s-lines_text {
|
||||
.owl-dots {
|
||||
button.dot {
|
||||
margin: 0px 6px;
|
||||
span {
|
||||
&.title {
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&.ox-progress__p-nav .owl-dots {
|
||||
min-height: 30px;
|
||||
button.dot span.progress{
|
||||
width: 35px;
|
||||
}
|
||||
}
|
||||
&.ox-dots__p-over.ox-dots__overlay .ox-slide-item:before{
|
||||
height: 70px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
|
||||
.ox-carousel {
|
||||
&.ox-dots__p-right{
|
||||
&.ox-nav__simple{
|
||||
.owl-dots {
|
||||
right: 90px;
|
||||
}
|
||||
}
|
||||
&.nav-big{
|
||||
.owl-dots {
|
||||
right: 70px;
|
||||
}
|
||||
}
|
||||
&.ox-dots__s-lines_text_big{
|
||||
.owl-dots {
|
||||
width: 250px;
|
||||
max-width: 250px;
|
||||
.owl-dot{
|
||||
padding: 0;
|
||||
button.dot{
|
||||
margin: 14px 0 0 auto;
|
||||
span.title{
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.owl-dots {
|
||||
top: 50%;
|
||||
right: 50px;
|
||||
left: auto;
|
||||
width: 200px;
|
||||
max-width: 200px;
|
||||
padding: 0;
|
||||
transform: translateY(-50%);
|
||||
height: auto;
|
||||
bottom: auto;
|
||||
position: absolute;
|
||||
display:block;
|
||||
.owl-dot{
|
||||
width: auto;
|
||||
padding: 0;
|
||||
margin: 14px 0 0 auto;
|
||||
display: block;
|
||||
button{
|
||||
white-space: normal;
|
||||
&.owl-dot {
|
||||
margin: 7px 0 0 auto;
|
||||
position: relative;
|
||||
display: block;
|
||||
width: auto;
|
||||
span{
|
||||
width: 100%;
|
||||
&.title{
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+75
@@ -0,0 +1,75 @@
|
||||
& when (@media-common = true) {
|
||||
.ox-carousel {
|
||||
.ox-slide-item{
|
||||
> .progress{
|
||||
height: 4px;
|
||||
position:absolute;
|
||||
top:0;
|
||||
bottom:auto;
|
||||
left:0;
|
||||
right:0;
|
||||
z-index: 3;
|
||||
&:before {
|
||||
content: '';
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
background: #fff;
|
||||
transform-origin: left;
|
||||
transform: scaleX(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
&.ox-progress__p-bottom{
|
||||
.ox-slide-item{
|
||||
> .progress{
|
||||
top:auto;
|
||||
bottom:0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.ox-progress__p-nav {
|
||||
.owl-dots {
|
||||
button.dot {
|
||||
&:hover span {
|
||||
&.progress {
|
||||
background: rgba(255, 255, 255, 1);
|
||||
}
|
||||
}
|
||||
span {
|
||||
&.progress {
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
display: block;
|
||||
background: rgba(255, 255, 255, 0.4);
|
||||
margin: 8px 0 0 0;
|
||||
transition: all .2s;
|
||||
position: relative;
|
||||
|
||||
&:before {
|
||||
content: '';
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
background: #fff;
|
||||
transform-origin: left;
|
||||
transform: scaleX(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@keyframes progress-horizontal {
|
||||
from {
|
||||
transform: scaleX(0);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: scaleX(1);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user