Blame view

public/css/pages/main/catalog.css 9.58 KB
b80175387   Андрей Ларионов   Начальный проект ...
1
2
  .catalog {
    padding-top: 70px;
2f5f2c1a4   Андрей Ларионов   Баг с версткой ка...
3
4
5
6
7
8
    display: none;
  }
  @media (min-width: 1200px) {
    .catalog {
      display: block;
    }
b80175387   Андрей Ларионов   Начальный проект ...
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
  }
  .catalog__title {
    font-weight: 700;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: -0.01em;
    color: #333B49;
    -ms-flex-item-align: start;
        align-self: start;
  }
  .catalog__tabs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-top: 40px;
    -ms-flex-item-align: start;
        align-self: start;
  }
  
  .tab {
    margin-right: 22.5px;
    font-family: "Muller";
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 15px;
    color: #333B49;
    cursor: pointer;
  }
  .tab.active {
    font-weight: 800;
    color: #F5851A;
  }
  
  .catalog-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
2f5f2c1a4   Андрей Ларионов   Баг с версткой ка...
58
59
60
  .tabs__content {
    width: 100%;
  }
b80175387   Андрей Ларионов   Начальный проект ...
61
62
63
64
65
66
67
68
69
70
71
  .tabs__content .tabs__item {
    display: none;
  }
  .tabs__content .tabs__item-active {
    display: block;
    margin-top: 8px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
2f5f2c1a4   Андрей Ларионов   Баг с версткой ка...
72
73
74
75
76
77
78
79
80
81
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  @media (min-width: 1240px) {
    .tabs__content .tabs__item-active {
      -webkit-box-pack: start;
          -ms-flex-pack: start;
              justify-content: flex-start;
    }
b80175387   Андрей Ларионов   Начальный проект ...
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
  }
  .tabs__content .tabs__item .content__item {
    max-width: 315px;
    width: 100%;
    padding-bottom: 55px;
    margin-top: 20px;
    -webkit-transition: -webkit-box-shadow 0.2s ease;
    transition: -webkit-box-shadow 0.2s ease;
    -o-transition: box-shadow 0.2s ease;
    transition: box-shadow 0.2s ease;
    transition: box-shadow 0.2s ease, -webkit-box-shadow 0.2s ease;
  }
  .tabs__content .tabs__item .content__item:not(:nth-child(4n)) {
    margin-right: 6px;
  }
  .tabs__content .tabs__item .content__item:hover {
    -webkit-box-shadow: 0px 5px 12.5px rgba(0, 0, 0, 0.15);
            box-shadow: 0px 5px 12.5px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
  }
  .tabs__content .tabs__item .content__item .swiper-pagination-bullet {
    width: 93px;
    height: 4px;
    border-radius: 26.6039px;
    background-color: #E0E0E0;
  }
  .tabs__content .tabs__item .content__item .swiper-pagination-bullet-active {
    background-color: #F5851A !important;
  }
  .tabs__content .tabs__item .content__item .swiper-icons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-top: 8px;
    margin-left: 8px;
  }
  .tabs__content .tabs__item .content__item .swiper-icons__left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .tabs__content .tabs__item .content__item .swiper-icons__left .svg-clock {
    width: 15px;
    height: 15px;
2f5f2c1a4   Андрей Ларионов   Баг с версткой ка...
129
    margin-right: 9.5px;
b80175387   Андрей Ларионов   Начальный проект ...
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
  }
  .tabs__content .tabs__item .content__item .swiper-icons__left-par {
    font-weight: 400;
    font-size: 12.7826px;
    line-height: 15px;
    letter-spacing: -0.01em;
    color: #ABB2BF;
  }
  .tabs__content .tabs__item .content__item .swiper-icons__right {
    margin-right: 7px;
  }
  .tabs__content .tabs__item .content__item .swiper-icons__right .svg-compare {
    position: relative;
  }
  .tabs__content .tabs__item .content__item .swiper-icons__right .svg-compare:after {
    position: absolute;
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.8497 18.5195H9.25085V3.2305H10.8497V18.5195ZM7.65201 15.7397H4.45432V6.01031H7.65201V4.62041H4.45432C3.56696 4.62041 2.85547 5.23891 2.85547 6.01031V15.7397C2.85547 16.5111 3.57495 17.1296 4.45432 17.1296H7.65201V15.7397ZM15.6462 7.40022V8.79012H17.2451V7.40022H15.6462ZM15.6462 6.01031H17.2451C17.2451 5.23891 16.5256 4.62041 15.6462 4.62041V6.01031ZM17.2451 12.9598H15.6462V14.3498H17.2451V12.9598ZM15.6462 10.18V11.5699H17.2451V10.18H15.6462ZM14.0474 4.62041H12.4485V6.01031H14.0474V4.62041ZM15.6462 17.1296C16.5336 17.1296 17.2451 16.5111 17.2451 15.7397H15.6462V17.1296ZM14.0474 15.7397H12.4485V17.1296H14.0474V15.7397Z' fill='%23ABB2BF'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-size: cover;
    bottom: -12px;
    right: 38px;
    width: 18px;
    height: 17px;
    cursor: pointer;
  }
  .tabs__content .tabs__item .content__item .swiper-icons__right .svg-compare_active:after {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.366 18H8.69281V2H10.366V18ZM7.01961 15.0909H3.6732V4.90909H7.01961V3.45455H3.6732C2.74458 3.45455 2 4.10182 2 4.90909V15.0909C2 15.8982 2.75294 16.5455 3.6732 16.5455H7.01961V15.0909ZM15.3856 6.36364V7.81818H17.0588V6.36364H15.3856ZM15.3856 4.90909H17.0588C17.0588 4.10182 16.3059 3.45455 15.3856 3.45455V4.90909ZM17.0588 12.1818H15.3856V13.6364H17.0588V12.1818ZM15.3856 9.27273V10.7273H17.0588V9.27273H15.3856ZM13.7124 3.45455H12.0392V4.90909H13.7124V3.45455ZM15.3856 16.5455C16.3142 16.5455 17.0588 15.8982 17.0588 15.0909H15.3856V16.5455ZM13.7124 15.0909H12.0392V16.5455H13.7124V15.0909Z' fill='%23333B49'/%3E%3C/svg%3E%0A");
  }
  .tabs__content .tabs__item .content__item .swiper-icons__right .svg-favorite {
    position: relative;
  }
  .tabs__content .tabs__item .content__item .swiper-icons__right .svg-favorite:after {
    position: absolute;
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='16' viewBox='0 0 18 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.97778 13.5586L8.88889 13.6458L8.79111 13.5586C4.56889 9.80054 1.77778 7.31553 1.77778 4.79564C1.77778 3.05177 3.11111 1.74387 4.88889 1.74387C5.96474 1.74387 7.01863 2.28245 7.64925 3.08872C7.95671 3.48182 8.38983 3.80164 8.88889 3.80164C9.38795 3.80164 9.82107 3.48182 10.1285 3.08872C10.7591 2.28245 11.813 1.74387 12.8889 1.74387C14.6667 1.74387 16 3.05177 16 4.79564C16 7.31553 13.2089 9.80054 8.97778 13.5586ZM12.8889 0C11.3422 0 9.85778 0.706267 8.88889 1.81362C7.92 0.706267 6.43555 0 4.88889 0C2.15111 0 0 2.10136 0 4.79564C0 8.08283 3.02222 10.7771 7.6 14.849L8.88889 16L10.1778 14.849C14.7556 10.7771 17.7778 8.08283 17.7778 4.79564C17.7778 2.10136 15.6267 0 12.8889 0Z' fill='%23ABB2BF'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-size: cover;
    bottom: -11px;
    right: 3px;
    width: 15px;
    height: 13px;
    cursor: pointer;
  }
  .tabs__content .tabs__item .content__item .swiper-icons__right .svg-favorite_active:after {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.8889 2C12.3422 2 10.8578 2.70627 9.88889 3.81362C8.92 2.70627 7.43555 2 5.88889 2C3.15111 2 1 4.10136 1 6.79564C1 10.0828 4.02222 12.7771 8.6 16.849L9.88889 18L11.1778 16.849C15.7556 12.7771 18.7778 10.0828 18.7778 6.79564C18.7778 4.10136 16.6267 2 13.8889 2Z' fill='%23333B49'/%3E%3C/svg%3E%0A");
  }
b80175387   Андрей Ларионов   Начальный проект ...
177
178
179
180
  
  .tabs-item-main > :not(:nth-child(4n)) {
    margin-right: 15px;
  }
2f5f2c1a4   Андрей Ларионов   Баг с версткой ка...
181
182
183
  .cat-sl {
    width: 220px;
    height: 200px;
b80175387   Андрей Ларионов   Начальный проект ...
184
  }
2f5f2c1a4   Андрей Ларионов   Баг с версткой ка...
185
186
187
  .cat-sl > img {
    -o-object-fit: cover;
       object-fit: cover;
b80175387   Андрей Ларионов   Начальный проект ...
188
  }
2f5f2c1a4   Андрей Ларионов   Баг с версткой ка...
189
190
191
  .slide-1 {
    width: 258px;
    height: 207px;
b80175387   Андрей Ларионов   Начальный проект ...
192
    margin-top: 20px;
2f5f2c1a4   Андрей Ларионов   Баг с версткой ка...
193
194
195
196
197
198
199
200
201
202
203
204
205
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center center;
       object-position: center center;
    padding-right: 20px;
  }
  @media (min-width: 1240px) {
    .slide-1 {
      width: 289px;
      height: 247px;
      margin-top: 0px;
      padding-right: 0;
    }
b80175387   Андрей Ларионов   Начальный проект ...
206
  }
2f5f2c1a4   Андрей Ларионов   Баг с версткой ка...
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
  .slide-2 {
    width: 235px;
    height: 200px;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center center;
       object-position: center center;
    margin-top: 10px;
    padding-left: 20px;
  }
  @media (min-width: 1240px) {
    .slide-2 {
      width: 264px;
      height: 225px;
      margin-top: 0px;
      padding-left: 0;
    }
b80175387   Андрей Ларионов   Начальный проект ...
224
225
226
  }
  
  .slide-3 {
2f5f2c1a4   Андрей Ларионов   Баг с версткой ка...
227
228
229
230
231
232
233
234
235
236
237
238
239
240
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center center;
       object-position: center center;
    margin-top: 62px;
    width: 262px;
    height: 150px;
  }
  @media (min-width: 1240px) {
    .slide-3 {
      margin-top: 45px;
      width: 307px;
      height: 182px;
    }
b80175387   Андрей Ларионов   Начальный проект ...
241
242
243
  }
  
  .slide-4 {
2f5f2c1a4   Андрей Ларионов   Баг с версткой ка...
244
245
246
247
248
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center center;
       object-position: center center;
    margin-top: 49px;
b80175387   Андрей Ларионов   Начальный проект ...
249
    margin-left: 32px;
2f5f2c1a4   Андрей Ларионов   Баг с версткой ка...
250
251
252
253
254
255
256
257
258
259
    width: 206px;
    height: 173px;
  }
  @media (min-width: 1240px) {
    .slide-4 {
      margin-top: 40px;
      margin-left: 32px;
      width: 249px;
      height: 205px;
    }
b80175387   Андрей Ларионов   Начальный проект ...
260
261
262
  }
  
  .slide-5 {
2f5f2c1a4   Андрей Ларионов   Баг с версткой ка...
263
264
265
266
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center center;
       object-position: center center;
b80175387   Андрей Ларионов   Начальный проект ...
267
268
269
270
271
    margin-top: 0px;
    margin-left: 42px;
  }
  
  .slide-6 {
2f5f2c1a4   Андрей Ларионов   Баг с версткой ка...
272
273
274
275
276
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center center;
       object-position: center center;
    margin-top: 13px;
b80175387   Андрей Ларионов   Начальный проект ...
277
    margin-left: 36px;
2f5f2c1a4   Андрей Ларионов   Баг с версткой ка...
278
279
280
281
282
283
284
285
286
287
    width: 195px;
    height: 215px;
  }
  @media (min-width: 1240px) {
    .slide-6 {
      margin-top: -11px;
      margin-left: 36px;
      width: 243px;
      height: 244px;
    }
b80175387   Андрей Ларионов   Начальный проект ...
288
289
290
  }
  
  .slide-7 {
2f5f2c1a4   Андрей Ларионов   Баг с версткой ка...
291
292
293
294
295
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center center;
       object-position: center center;
    margin-top: 60px;
b80175387   Андрей Ларионов   Начальный проект ...
296
    margin-left: 0px;
2f5f2c1a4   Андрей Ларионов   Баг с версткой ка...
297
298
299
300
301
302
303
304
305
306
    width: 261px;
    height: 148px;
  }
  @media (min-width: 1240px) {
    .slide-7 {
      margin-top: 55px;
      margin-left: 0px;
      width: 338px;
      height: 161px;
    }
b80175387   Андрей Ларионов   Начальный проект ...
307
308
309
  }
  
  .slide-8 {
2f5f2c1a4   Андрей Ларионов   Баг с версткой ка...
310
311
312
313
314
315
316
317
318
319
320
321
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center center;
       object-position: center center;
    margin-top: 15px;
    margin-left: 20px;
  }
  @media (min-width: 1240px) {
    .slide-8 {
      margin-top: 8px;
      margin-left: 39px;
    }
b80175387   Андрей Ларионов   Начальный проект ...
322
  }