forked from htmlacademy-htmlcss/1024441-device-34
-
Notifications
You must be signed in to change notification settings - Fork 0
/
catalog.html
444 lines (428 loc) · 23.2 KB
/
catalog.html
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
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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Каталог</title>
<link rel="stylesheet" href="styles/styles.css">
</head>
<body>
<header class="page-header page-header-catalog container">
<h1 class="visually-hidden">device</h1>
<a href="index.html" class="page-header-logo">
<div class="header-logo-wrapper">
<img class="header-logo" width="145" height="36" src="images/logo-header.svg" alt="Логотип.">
</div>
</a>
<div class="header-top">
<form class="header-form" action="https://echo.htmlacademy.ru/" method="get">
<label class="header-search-wrapper" aria-label="Поиск">
<input class="header-form-search" type="text" id="header-form-search" placeholder="Текст поиска">
</label>
<button class="button header-form-button" type="button">Найти</button>
</form>
<nav class="navigation">
<ul class="navigation-list navigation-list-user">
<li class="navigation-item">
<a href="#" class="navigation-link navigation-link-login">Коля Петухов</a>
</li>
<li class="navigation-item">
<a class="button-exit">Выйти</a>
</li>
</ul>
<ul class="navigation-list">
<li class="navigation-item navigation-item-compare">
<a href="#" class="navigation-link navigtion-link-compare">Сравнить</a>
</li>
<li class="navigation-item navigation-item-basket">
<a href="#" class="navigation-link navigation-link-basket">
<span class="basket-counter">2</span>
Корзина</a>
<div class="popover popover-basket">
<h2 class="visually-hidden">Корзина</h2>
<form action="https://echo.htmlacademy.ru/" method="post" class="popover-basket-form">
<ol class="basket-list">
<li class="basket-item">
<div class="basket-item-content" tabindex="0">
<div class="basket-img-wrapper">
<img class="basket-image" width="39" height="43" src="images/product-card/selfie-regular.jpg"
alt="Любительская селфи-палка.">
</div>
<p class="basket-description">Любительская селфи-палка</p>
</div>
<button class="button-close-basket" type="button"></button>
</li>
<li class="basket-item">
<div class="basket-item-content" tabindex="0">
<div class="basket-img-wrapper">
<img class="basket-image" width="39" height="43" src="images/product-card/selfie-regular.jpg"
alt="Любительская селфи-палка.">
</div>
<p class="basket-description">Любительская селфи-палка</p>
</div>
<button class="button-close-basket" type="button"></button>
</li>
</ol>
<div class="basket-total">
<p class="basket-total-product-count">Товаров: 2</p>
<p class="basket-total-product-price">Сумма: 2000 ₽</p>
</div>
<a href="#" class="button open-basket">Открыть корзину</a>
</form>
</div>
</li>
</ul>
</nav>
</div>
<div class="header-catalog-info">
<h2 class="visually-hidden">Подменю</h2>
<ul class="header-catalog-list">
<li class="header-catalog-item header-subcatalog-item">
<a class="header-info-link subcatalog-info-link" href="catalog.html">Каталог товаров</a>
<ul class="subcatalog">
<li class="subcatalog-item">
<a href="#" class="subcatalog-link">Виртуальная реальность</a>
<a href="#" class="subcatalog-link">Моноподы для cелфи</a>
<a href="#" class="subcatalog-link">Экшн-камеры</a>
</li>
<li class="subcatalog-item">
<a href="#" class="subcatalog-link">Фитнес-браслеты</a>
<a href="#" class="subcatalog-link">Умные часы</a>
</li>
<li class="subcatalog-item">
<a href="#" class="subcatalog-link">Квадрокоптеры</a>
</li>
</ul>
</li>
</ul>
<ul class="header-info-list">
<li class="header-info-item">
<a href="#" class="header-info-link header-catalog-title">Доставка</a>
</li>
<li class="header-info-item">
<a href="#" class="header-info-link header-catalog-title">Гарантия</a>
</li>
<li class="header-info-item">
<a href="#" class="header-info-link header-catalog-title">Контакты</a>
</li>
</ul>
</div>
</header>
<main class="main-inner">
<div class="container">
<header class="header-catalog">
<h2 class="visually-hidden">Каталог</h2>
<p class="header-inner-catalog-title">Моноподы для селфи</p>
<ol class="breadcrumps">
<li class="breadcrumps-item">
<a href="#" class="breadcrumps-link">Главная</a>
</li>
<li class="breadcrumps-item">
<a href="#" class="breadcrumps-link">Каталог товаров</a>
</li>
<li class="breadcrumps-item">
<a class="breadcrumps-link">Моноподы для селфи</a>
</li>
</ol>
</header>
</div>
<div class="catalog-inner">
<div class="container">
<section class="catalog-products">
<h2 class="visually-hidden">Список товаров с фильтрами</h2>
<form class="catalog-filters" action="https://echo.htmlacademy.ru/" method="get">
<p class="filters-title">фильтр:</p>
<fieldset class="catalog-filter-group">
<legend class="catalog-filter-title">Стоимость</legend>
<div class="range-wrapper">
<div class="range">
<div class="range-scale">
<div style="left:6px; width:104px;" class=" range-bar">
<button class="range-toggle toggle-min" type="button">
<span class="visually-hidden">Изменить минимальную цену.</span>
</button>
<button class="range-toggle toggle-max" type="button">
<span class="visually-hidden">Изменить максимальную цену.</span>
</button>
</div>
</div>
</div>
</div>
<div class="range-wrapper-inputs">
<label class="catalog-filter-range" tabindex="0">
от
<input class="range-input" type="number" value="0" name="min-price">
</label>
<label class="catalog-filter-range" tabindex="0">
до
<input class="range-input" type="number" value="5000" name="max-price">
</label>
</div>
</fieldset>
<fieldset class="catalog-filter-group">
<legend class="catalog-filter-title catalog-filter-title-color">Цвет</legend>
<ul class="catalog-filter-list">
<li class="catalog-filter-item">
<label class="control">
<input class="control-input visually-hidden" type="checkbox" name="color" value="black" checked>
<span class="control-mark">
</span>
Черный
</label>
</li>
<li class="catalog-filter-item">
<label class="control">
<input class="control-input visually-hidden" type="checkbox" name="color" value="white" checked>
<span class="control-mark">
</span>
Белый
</label>
</li>
<li class="catalog-filter-item">
<label class="control">
<input class="control-input visually-hidden" type="checkbox" name="color" value="blue">
<span class="control-mark">
</span>
Синий
</label>
</li>
<li class="catalog-filter-item">
<label class="control">
<input class="control-input visually-hidden" type="checkbox" name="color" value="red">
<span class="control-mark">
</span>
Красный
</label>
</li>
<li class="catalog-filter-item">
<label class="control">
<input class="control-input visually-hidden" type="checkbox" name="color" value="pink">
<span class="control-mark">
</span>
Розовый
</label>
</li>
</ul>
</fieldset>
<fieldset class="catalog-filter-group">
<legend class="catalog-filter-title catalog-filter-title-bluetooth">Bluetooth</legend>
<ul class="catalog-filter-list">
<li class="catalog-filter-item">
<label class="control">
<input class="control-input visually-hidden" type="radio" name="Bluetooth" value="yes">
<span class="control-mark">
</span>
Есть
</label>
</li>
<li class="catalog-filter-item">
<label class="control">
<input class="control-input visually-hidden" type="radio" name="Bluetooth" value="no" checked>
<span class="control-mark">
</span>
Нет
</label>
</li>
</ul>
</fieldset>
<button class="button regular-button" type="submit">Показать</button>
</form>
<div class="catalog">
<div class="sort-container">
<p class="filters-title">сортировка:</p>
<div class="select">
<select class="select-control" name="sort" id="sort-value">
<option value="popular">Популярные</option>
<option value="price">По цене</option>
</select>
</div>
<div class="sort-button-wrapper">
<button class="sort-button sort-button-up" type="button">
<span class="visually-hidden">Вверх</span>
</button>
<button class="sort-button sort-button-down" type="button">
<span class="visually-hidden">Вниз</span>
</button>
</div>
</div>
<ul class="product-list">
<li class="product-card" tabindex="0">
<div class="product-card-wrapper">
<a href="#" class="product-card-link-descrition">
<h3 class="product-card-title">Любительская <br>
селфи-палка</h3>
</a>
<p class="price">500 ₽</p>
</div>
<a href="#" class="product-card-link">
<div class="product-image-wrapper">
<img class="product-image" width="360" height="380" src="images/product-card/selfie-regular.jpg"
alt="Любительская
селфи-палка.">
</div>
</a>
<a href="#" class="button product-card-button">Подробнее</a>
</li>
<li class="product-card product-card-new" tabindex="0">
<div class="product-card-wrapper">
<a href="#" class="product-card-link-descrition">
<h3 class="product-card-title">Профессиональная селфи-палка</h3>
</a>
<p class="price">1 500 ₽</p>
</div>
<a href="#" class="product-card-link">
<div class="product-image-wrapper">
<img class="product-image" width="360" height="380"
src="images/product-card/selfie-proffesionale.jpg" alt="Профессиональная селфи-палка.">
</div>
</a>
<a href="#" class="button product-card-button">Подробнее</a>
</li>
<li class="product-card" tabindex="0">
<div class="product-card-wrapper">
<a href="#" class="product-card-link-descrition">
<h3 class="product-card-title">Непотопляемая <br>
селфи-палка</h3>
</a>
<p class="price">2 500 ₽</p>
</div>
<a href="#" class="product-card-link">
<div class="product-image-wrapper">
<img class="product-image" width="360" height="380"
src="images/product-card/underwater-selfie.jpg" alt="Непотопляемая
селфи-палка.">
</div>
</a>
<a href="#" class="button product-card-button">Подробнее</a>
</li>
<li class="product-card">
<div class="product-card-wrapper">
<a href="#" class="product-card-link-descrition">
<h3 class="product-card-title">Селфи-палка «Следуй за мной»</h3>
</a>
<p class="price">1 500 ₽</p>
</div>
<a href="#" class="product-card-link">
<div class="product-image-wrapper">
<img class="product-image" width="360" height="380" src="images/product-card/selfie-hand.jpg"
alt="Селфи-палка «Следуй за мной» - в форме человеческой руки.">
</div>
</a>
<a href="#" class="button product-card-button">Подробнее</a>
</li>
</ul>
<a href="#" class="button show-more-button">Загрузить ещё</a>
<div class="pagination">
<ul class="paginator">
<li class="paginator-item">
<a href="#" class="paginator-link paginator-prev">Назад</a>
</li>
<ul class="paginator-number">
<li class="paginator-item-number">
<a href="#" class="paginator-link">1</a>
</li>
<li class="paginator-item-number">
<a href="#" class="paginator-link">2</a>
</li>
<li class="paginator-item-number">
<a href="#" class="paginator-link">3</a>
</li>
<li class="paginator-item-number">
<a href="" class="paginator-link">...</a>
</li>
<li class="paginator-item-number">
<a href="#" class="paginator-link">15</a>
</li>
</ul>
<li class="paginator-item">
<a href="#" class="paginator-link paginator-next">Вперёд</a>
</li>
</ul>
</div>
</div>
</section>
</div>
</div>
</main>
<footer class="page-footer">
<div class="container footer-box">
<section class="footer-adress">
<h2 class="visually-hidden">Адрес</h2>
<a href="index.html" class="logo-footer">
<div class="footer-logo-wrapper">
<img class="footer-logo-image" width="145" height="36" src="images/logo-footer.svg" alt="Логотип.">
</div>
</a>
<p class="footer-adress-text">Санкт-Петербург, набережная реки Карповки, 5, литера П.</p>
</section>
<section class="info-social">
<h2 class="visually-hidden">Иноформация и социальные сети</h2>
<ul class="information-list">
<li class="information-item">
<a href="#" class="information-link">Доставка</a>
</li>
<li class="information-item">
<a href="#" class="information-link">Гарантия</a>
</li>
<li class="information-item">
<a href="#" class="information-link">Контакты</a>
</li>
</ul>
<ul class="social-list">
<li class="social-item">
<a href="https://t.me/htmlacademy" class="social-link">
<span class="visually-hidden">Телеграмм</span>
<svg class="social-img" aria-hidden="true" focusable="false" width="40" height="40" viewBox="0 0 40 40"
fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<circle class="social-img-circle" cx="20" cy="20" r="20" fill="currentColor" />
<path
d="m25.44 14.07-11.82 4.56c-.8.33-.8.78-.14.98l3.03.94 7.02-4.43c.33-.2.64-.09.39.13l-5.7 5.13-.2 3.13c.3 0 .44-.14.61-.3l1.48-1.44 3.06 2.27c.57.31.97.15 1.12-.53l2-9.48c.21-.83-.3-1.2-.85-.96Z" />
</svg>
</a>
</li>
<li class="social-item">
<a href="https://www.youtube.com/user/htmlacademyru" class="social-link">
<span class="visually-hidden">Youtube</span>
<svg class="social-img" aria-hidden="true" focusable="false" width="40" height="40" viewBox="0 0 40 40"
fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<circle class="social-img-circle" cx="20" cy="20" r="20" fill="currentColor" />
<g clip-path="url(#a)">
<path
d="M27.67 16.67a1.97 1.97 0 0 0-1.41-1.34C25.01 15 20 15 20 15a51.1 51.1 0 0 0-6.26.32 1.96 1.96 0 0 0-1.41 1.35 19.4 19.4 0 0 0-.33 3.67c0 1.22.1 2.45.33 3.66.09.32.27.61.51.85.25.23.56.4.9.5 1.27.32 6.26.32 6.26.32 2.09.02 4.18-.08 6.26-.31.34-.09.65-.26.9-.5.24-.23.42-.52.5-.84.24-1.21.35-2.44.34-3.67.02-1.23-.1-2.46-.33-3.68Zm-9.27 5.95v-4.57l4.18 2.29-4.18 2.28Z" />
</g>
<defs>
<clipPath id="a">
<path fill="#fff" transform="translate(12 15)" d="M0 0h16v11H0z" />
</clipPath>
</defs>
</svg>
</a>
</li>
<li class="social-item">
<a href="https://twitter.com/htmlacademy_ru" class="social-link">
<span class="visually-hidden">Twitter</span>
<svg class="social-img" width="40" height="40" viewBox="0 0 40 40" fill="currentColor"
xmlns="http://www.w3.org/2000/svg">
<circle class="social-img-circle" cx="20" cy="20" r="20" fill="currentColor" />
<path
d="M22.7 13.16c1.5-.5 2.6.3 3.2 1.1.5-.2 1.1-.4 1.7-.6 0 .8-.5 1.4-.8 1.6.7.2 1.2-.4 1.2-.4-.1.9-.9 1.7-1.4 1.9-.2 6.3-2.8 10.4-8.9 10.3h-.4c-.3 0-3.7-.4-4.3-1.8 2 .2 3.4-.4 4.1-1.1-.8-.3-2.4-.4-2.6-2.8.3.2.5.3 1.1.2-1.1-.8-2.3-1.5-2.2-3.5.3.3.9.5 1.2.4-.6-.2-1.8-3.1-.8-4.6 1.6 1.7 3.3 3.4 6.3 3.5.2-2.1 1-3.5 2.6-4.2Z" />
</svg>
</a>
</li>
</ul>
</section>
<section class="footer-telephone">
<h2 class="visually-hidden">Контактный номер</h2>
<a class="footer-phone" href="tel:+7(812)812-12-12">Тел.: +7 (812) 812-12-12</a>
<a href="https://htmlacademy.ru/" class="copyright-link">
<svg aria-hidden="true" focusable="false" width="115" height="33" viewBox="0 0 115 33" fill="currentColor"
xmlns="http://www.w3.org/2000/svg">
<path
d="M0 12.9v2.6h2.5v-2.6H0Zm11.6-8.4c-1.6 0-2.8.7-3.6 1.7h-.1V0h-2v15.5h2v-5.3c0-2.1 1.3-3.6 3.3-3.6 1.8 0 2.9 1.4 2.9 3.2v5.7h2V9.4c.1-3-1.8-4.9-4.5-4.9Zm15 .3h-4.8V1.1h-2v3.8h-1.9v2h1.9v6c0 1.7 1 2.7 2.7 2.7h4.1v-2h-3.7c-.7 0-1.1-.4-1.1-1.1V6.8h4.8v-2Zm14.5-.2c-1.6 0-2.9.8-3.5 2.1h-.1c-.6-1.2-1.8-2.1-3.4-2.1-1.4 0-2.5.8-3.1 1.8h-.1V4.8H29v10.6h2V10c0-2 1-3.5 2.6-3.5 1.5 0 2.4 1 2.4 2.6v6.3h2V9.8c0-2.4 1.4-3.3 2.6-3.3 1.5 0 2.4 1 2.4 2.6v6.3h2V8.9c.1-2.5-1.4-4.3-3.9-4.3Zm6.7 8.1c0 1.7 1 2.7 2.8 2.7h2v-2h-1.7c-.7 0-1.1-.4-1.1-1.1V0h-2v12.7Zm-18.9 7c-.9-1.1-2.2-1.8-3.9-1.8-3.1 0-5.4 2.3-5.4 5.6s2.3 5.6 5.4 5.6c1.8 0 3-.8 3.8-1.9h.1v1.6h2V18.2h-2v1.5Zm-3.6 7.4c-2.2 0-3.6-1.6-3.6-3.6s1.4-3.6 3.6-3.6 3.6 1.6 3.6 3.6c0 1.9-1.4 3.6-3.6 3.6ZM44.2 22c-.5-2.4-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