-
Notifications
You must be signed in to change notification settings - Fork 0
/
rasdvizhnie_sistemi.html
256 lines (254 loc) · 9.99 KB
/
rasdvizhnie_sistemi.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="css/style.min.css" />
</head>
<body>
<div class="header__overlay"></div>
<header class="header">
<div class="header__wrapper">
<div class="header__absolute"></div>
<div class="header__logo">
<a href="/">
<img src="icons/footer/image 25.png" alt="Logo" />
<img src="icons/footer/image 26.png" alt="KOMMERLING" />
</a>
</div>
<nav class="header__nav">
<div class="dropdown">
<button class="dropbtn">О нас</button>
<div class="dropdown-content">
<div class="divider"></div>
<a href="#">История</a> <a href="#">Гарантии</a>
</div>
</div>
<div class="dropdown">
<button class="dropbtn">Продукты</button>
<div class="dropdown-content">
<div class="divider"></div>
<a href="#">Классические окна</a>
<a href="#">Входные и межкомнатные двери</a>
<a href="#">Раздвижные системы</a> <a href="#">Пороги</a>
</div>
</div>
<div class="dropdown">
<button class="dropbtn">Инновации</button>
<div class="dropdown-content">
<div class="divider"></div>
<a href="#">Энергосбережение</a>
<a href="#">Шумоподавление</a> <a href="#">Смарт окна</a>
<a href="#">Безопасность</a>
<a href="#">Здоровый климат</a>
<a href="#">Дизайнер решений</a>
</div>
</div>
<div class="dropdown">
<button class="dropbtn">Для бизнеса</button>
<div class="dropdown-content">
<div class="divider"></div>
<a href="#">Офисные перегородки</a>
<a href="#">Витрины</a>
<a href="#">Витражные изделия</a>
</div>
</div>
</nav>
<div class="header__social">
<img src="icons/social/iconoir_telegram-circled.svg" alt="telegram" />
<img src="icons/social/jam_viber-circle.svg" alt="viber" />
<img src="icons/social/jam_whatsapp.svg" alt="whatsapp" />
</div>
<nav class="header__pay">
<div class="dropdown">
<button class="dropbtn">Оплата ONLINE</button>
<div class="dropdown-content">
<div class="divider"></div>
<a href="#">Оплата по карте</a>
<a href="#">Оплата по СБП</a>
</div>
</div>
</nav>
<div class="header__contacts">
<a href="mailto:[email protected]">[email protected]</a>
<a href="tel:+74952329330">+7 (495) 232-93-30</a>
</div>
<button class="header__feedback">Заказать</button>
<div class="header__hamburger">
<span class="hamburger__line"></span>
<span class="hamburger__line"></span>
<span class="hamburger__line hamburger__line_short"></span>
</div>
</div>
</header>
<main>
<div class="content">
<section class="section">
<ul class="navigation">
<a href="" class="navigation__back"></a>
<li class="navigation__item"><a href="" class="navigation__link">О нас</a></li>
</ul>
</section>
<section class="section">
<div class="section__dates">
<div class="dates">
<details class="dates__det">
<summary class="dates__sum">
<div class="dates__head">
<img class="dates__star" src="img/404/Star.png">
<p class="dates__heading">1952</p>
</div>
</summary>
<ul class="dates__info">
<li class="dates__desc">
<a href="" class="dates_link">
<div class="dates__img"><img src="img/items/item1.png"></div>
<p class="dates__disc">2</p>
</a>
</li>
</ul>
</details>
<details class="dates__det">
<summary class="dates__sum">
<div class="dates__head">
<img class="dates__star" src="img/404/Star.png">
<p class="dates__heading">1902</p>
</div>
</summary>
<ul class="dates__info">
<li class="dates__desc">
<a href="" class="dates_link">
<div class="dates__img"><img src="img/items/item1.png"></div>
<p class="dates__disc">2</p>
</a>
</li>
</ul>
</details>
<details class="dates__det">
<summary class="dates__sum">
<div class="dates__head">
<img class="dates__star" src="img/404/Star.png">
<p class="dates__heading">1897</p>
</div>
</summary>
<ul class="dates__info">
<li class="dates__desc">
<a href="" class="dates_link">
<div class="dates__img"><img src="img/items/item1.png"></div>
<p class="dates__disc">2</p>
</a>
</li>
<li class="dates__desc">
<a href="" class="dates_link">
<div class="dates__img"><img src="img/items/item2.png"></div>
<p class="dates__disc">2</p>
</a>
</li>
<li class="dates__desc">
<a href="" class="dates_link">
<div class="dates__img"><img src="img/items/item1.png"></div>
<p class="dates__disc">2</p>
</a>
</li>
<li class="dates__desc">
<a href="" class="dates_link">
<div class="dates__img"><img src="img/items/item2.png"></div>
<p class="dates__disc">2</p>
</a>
</li>
</ul>
</details>
</div>
</div>
</section>
</div>
<footer class="footer">
<div class="footer__back">
<div class="footer__container">
<ul class="footer__list footer__logo">
<li class="footer__item">
<a class="footer__logo-link">
<img src="icons/footer/image 25.png" alt="" />
<img src="icons/footer/image 26.png" alt="" />
</a>
</li>
<li class="footer__item">
<a class="footer__link" href="">Главная</a>
<a class="footer__link" href="">О нас</a>
<a class="footer__link" href="">История</a>
<a class="footer__link" href="">Гарантии</a>
</li>
<li class="footer__item">
<a class="footer__link" href="">Продукты</a>
<a class="footer__link" href="">Классические окна</a>
<a class="footer__link" href="">Входные и межкомнатные двери</a>
<a class="footer__link" href="">Раздвижные системы</a>
<a class="footer__link" href="">Пороги</a>
</li>
<li class="footer__item">
<a class="footer__link" href="">Инновации</a>
<a class="footer__link" href="">Энергосбережение</a>
<a class="footer__link" href="">Шумоподавление</a>
<a class="footer__link" href="">Смарт окна</a>
<a class="footer__link" href="">Безопасность</a>
<a class="footer__link" href="">Здоровый климат</a>
<a class="footer__link" href="">Дизайнер решений</a>
</li>
<li class="footer__item">
<a class="footer__link" href="">Для бизнеса</a>
<a class="footer__link" href="">Офисные перегородки</a>
<a class="footer__link" href="">Витрины</a>
<a class="footer__link" href="">Витражные изделия</a>
</li>
<li class="footer__item">
<a class="footer__link" href="">Контакты</a>
<a class="footer__link" href="">Чебоксары, ул. Университетская, д. 5а.</a>
<a class="footer__link" href="tel:+78352631212">8(8352) 63-12-12</a>
<a class="footer__link" href="mailto:[email protected]">[email protected]</a>
<div class="footer__social-item">
<a class="footer__social-link" href=""><img src="icons/footer/jam_youtube-circle.svg" alt="" /></a>
<a class="footer__social-link" href=""><img src="icons/footer/vk.svg" alt="" /></a>
</div>
</li>
</ul>
</div>
<hr />
<div class="bottom__container">
<div class="footer__bottom">
<div class="footer__bottom-first">
<div>© 2010-2021. ООО "Ваши окна-Строй"</div>
<div>Разработано Hi-tech Media</div>
</div>
<div class="footer__bottom-second">
<a href="">Политика конфиденциальности</a>
</div>
</div>
</div>
</div>
</footer>
</main>
<script src="https://code.jquery.com/jquery-3.6.1.min.js" integrity="sha256-o88AwQnZB+VDvE9tvIXrMQaPlFFSUTR+nldQm1LuPXQ=" crossorigin="anonymous"></script>
<script src="slick/slick.min.js"></script>
<script src="js/script.js"></script>
<script>
function onToggle(event) {
if (event.target.open) {
document.querySelectorAll(".dates > .dates__det[open]").forEach((el) => {
// Исключаем из перебора елемент который мы только что открыли
if (el === event.target) {
return;
}
// Закрываем все остальные елементы <details>
el.open = false;
});
}
}
// Вешаем наблюдатель на все елементы <details> внутри акордиона
document
.querySelectorAll(".dates > .dates__det")
.forEach((el) => el.addEventListener("toggle", onToggle));
</script>
</body>
</html>