-
Notifications
You must be signed in to change notification settings - Fork 2
/
modal.html
93 lines (86 loc) · 4.93 KB
/
modal.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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>HTML Academy: modal</title>
<link rel="stylesheet" href="styles/style.css">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
</head>
<body>
<div class="modal-container">
<div class="modal modal-auth">
<h3 class="modal-title">Поиск гостиницы в Седоне</h3>
<button type="button" class="modal-close">
<svg class="modal-close-svg" width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M14 1.29231L12.7077 0L7 5.70769L1.29231 0L0 1.29231L5.70769 7L0 12.7077L1.29231 14L7 8.29231L12.7077 14L14 12.7077L8.29231 7L14 1.29231Z" fill="black"/>
</svg>
<span class="visually-hidden">Закрыть.</span>
</button>
<form class="modal-form" action="https://echo.htmlacademy.ru/" method="post">
<ul class="modal-form-list">
<li class="modal-form-item">
<label class="modal-label-arrival" for="arrival-date">
Дата Заезда:
</label>
<input class="modal-inpit-date modal-arrival-date" type="text" name="arrival-date" id="arrival-date" value="27 апреля 2020" required>
<span class="modal-alert modal-alert-wrong">Мы не можем отправить вас в прошлое.</span>
</li>
<li class="modal-form-item">
<label class="modal-label-departure" for="departure-date">
Дата Выезда:
</label>
<input class="modal-inpit-date modal-departure-date" type="text" id="departure-date" name="departure-date" value="1 сентября 2023" required>
<span class="modal-alert">На эти даты есть свободные номера. Пока есть.</span>
</li>
<li class="modal-form-item-mini">
<div class="corent-container">
<label class="modal-label-mini modal-counter-people" for="counter-people">
Взрослые:
</label>
<button type="button" class="min-curent">
<svg class="svg-sum-min" width="14" height="2" viewBox="0 0 14 2" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0 0L0 2L14 2V0L0 0Z" fill="#756157" fill-opacity="0.3"/>
</svg>
</button>
<input class="modal-counter modal-inpit-people-counter" name="number-of-adults" id="counter-people" type="number" placeholder="2" required>
<button type="button" class="sum-curent">
<svg class="svg-sum-min" width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M14 6H8V0H6V6H0V8H6V14H8V8H14V6Z" fill="#756157" fill-opacity="0.3"/>
</svg>
</button>
</div>
<div class="corent-container">
<span class="modal-label-mini">
<label class="modal-label-mini modal-counter-children" for="counter-children">
Дети:
</label>
<span class="tooltip">
<button type="button" class="tooltip-toggle" aria-labelledby="tooltip-label-date">
<svg class="tooltip-icon" width="2" height="12" viewBox="0 0 2 12" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M0 0H2V2H0V0ZM2 12H0V3H2V12Z" fill="white"/>
</svg>
</button>
<span role="tooltip" class="tooltip-text" id="tooltip-label-date">Укажите количество детей, которые будут с вами, возраст которых от 6 до 18 лет. Дети до 6 лет размещаются бесплатно.</span>
</span>
</span>
<button type="button" class="min-curent">
<svg class="svg-sum-min" width="14" height="2" viewBox="0 0 14 2" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0 0L0 2L14 2V0L0 0Z" fill="#756157" fill-opacity="0.3"/>
</svg>
</button>
<input class="modal-counter modal-inpit-children-counter" name="number-of-children" id="counter-children" type="number" placeholder="2" required>
<button type="button" class="sum-curent">
<svg class="svg-sum-min" width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M14 6H8V0H6V6H0V8H6V14H8V8H14V6Z" fill="#756157" fill-opacity="0.3"/>
</svg>
</button>
</div>
</li>
</ul>
<button type="submit" class="modal-botton-search">найти</button>
</form>
</div>
</div>
</body>
</html>