-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcarousel.scss
More file actions
122 lines (99 loc) · 2.39 KB
/
carousel.scss
File metadata and controls
122 lines (99 loc) · 2.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
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
.tcs-carousel{
padding-left: 20px;
padding-right: 20px;
margin-bottom: 80px;
&--best-seller{
@extend .bg-primary-light;
.tcs-carousel__title{
@extend .text-center;
}
}
.swiper-wrapper{
height: fit-content;
}
$yellow:#e7dc97;
&__button{
line-height: initial !important;
min-width: 100% !important;
padding: 5px !important;
}
&--warmth{
padding-left: 40px;
padding-right: 40px;
// transform: rotate(180deg);
mix-blend-mode: multiply;
background-image: linear-gradient(to left,rgba(255, 255, 255, 0), $yellow );
position: relative;
.tcs-carousel__title{
width: 11ch;
position: relative;
}
.tcs-carousel__bg-image{
width: 200px;
opacity: .6;
position: absolute;
left: 11ch;
top: 30px
}
.swiper-pagination {
padding-left: 40px;
text-align: left;
}
.tcs-carousel__slide-icon{
width: 30px;
}
}
&.swiper-container-horizontal > .swiper-pagination-bullets{
bottom: 30px;
}
.swiper-pagination-bullet-active {
background: $primary;
}
&__slide-title{
margin-top: 10px;
text-transform: none;
}
&__slide-price{
margin-bottom: 10px;
display: block;
text-decoration: line-through;
}
&__slide-saleprice{
display: block;
margin-bottom: 10px;
}
&__button{
&:hover{
background-color: $white;
}
}
}
@include media-breakpoint-up(md) {
.tcs-carousel{
padding-left: 40px;
padding-right: 40px;
}
}
@include media-breakpoint-up(lg) {
.tcs-carousel{
padding-left: 60px;
padding-right: 60px;
margin-left: 80px;
margin-right: 80px;
&__desktop{
flex: 0 0 25%;
max-width: 25%;
}
.swiper-pagination{
display: none;
}
}
.tcs-carousel--warmth{
background: rgb(231,220,151);
background: linear-gradient(90deg, rgba(231,220,151,1) 0%, rgba(245,236,236,1) 50%, rgba(203,195,220,1) 100%);
}
.tcs-carousel--warmth-slider{
flex: 0 0 75%;
max-width: 75%;
}
}