service page done

This commit is contained in:
VividTruthKeeper 2023-04-03 23:20:44 +05:00
parent 3be2ad599f
commit 4ebbf8f842
2 changed files with 323 additions and 11 deletions

View File

@ -2,7 +2,6 @@
padding: 5rem 0;
display: flex;
flex-direction: column;
gap: 5rem;
}
.service {
@ -11,6 +10,7 @@
overflow: hidden;
opacity: 0;
height: 0;
margin-top: 2rem;
transition: 0.3s all ease;
}
@ -18,20 +18,19 @@
pointer-events: all;
opacity: 1;
height: 100%;
padding-top: 3rem;
transition: 0.3s all ease;
}
.service h2 {
font-size: 3.2rem;
padding-bottom: 3rem;
border-bottom: 0.1rem solid rgba(206, 206, 206, 1);
}
.service-inner {
display: flex;
flex-direction: column;
gap: 5rem;
}
.service-inner h2 {
font-size: 1.8rem;
font-weight: bold;
}
.description,
.cards {
@ -94,15 +93,134 @@
font-weight: bold;
}
.buttons button {
.buttons button,
.form-button {
width: 100%;
max-width: 28rem;
padding: 1.25rem 2rem;
border-radius: 0.5rem;
background: #c3000e;
color: white;
font-size: 1.8rem;
font-size: 1.4rem;
font-weight: bold;
border: none;
cursor: pointer;
}
.service-title {
font-weight: bold;
padding-bottom: 2.4rem;
font-size: 3.2rem;
border-bottom: 0.1rem solid #cecece;
}
.service-types {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2.4rem;
grid-template-rows: repeat(9, 1fr);
}
.service-option {
display: flex;
align-items: center;
justify-content: flex-start;
gap: 1.6rem;
}
.service-option input {
width: 2.4rem;
height: 2.4rem;
}
.service-option span {
font-size: 1.8rem;
line-height: 2.5rem;
}
.service-form {
display: flex;
flex-direction: column;
gap: 4.8rem;
}
.profile {
display: flex;
flex-direction: column;
gap: 2.4rem;
}
.profile h3 {
padding-bottom: 0.8rem;
font-size: 1.8rem;
}
.profile-top {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 4rem;
}
.profile-input {
display: flex;
flex-direction: column;
gap: 0.8rem;
}
.profile-input label {
font-size: 1.4rem;
}
.profile-input input,
.profile-input textarea {
padding: 1.6rem 2rem;
border: 0.1rem solid #cecece;
border-radius: 0.5rem;
font-size: 1.4rem;
resize: none;
}
.service-popup {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
opacity: 0;
pointer-events: none;
transition: 0.3s all ease;
z-index: 20;
background: rgba(0, 0, 0, 0.2);
display: flex;
justify-content: center;
align-items: center;
}
.service-popup.active {
opacity: 1;
pointer-events: all;
transition: 0.3s all ease;
}
.popup-inner {
box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.25);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 1.6rem;
padding: 2.4rem 3.2rem;
border-radius: 1rem;
background: #ffffff;
max-width: 35rem;
max-height: 15rem;
width: 100%;
height: 100%;
}
.popup-inner p {
padding: 0 2rem;
font-size: 1.8rem;
font-weight: bold;
text-align: center;
}

View File

@ -2279,8 +2279,14 @@
</section> -->
<!-- BREADCRUMB end ==================================================================== -->
<main class="service-main">
<div class="service-popup active">
<div class="popup-inner">
<p>Заявка оформлена. Спасибо!</p>
<img src="../assets/icons/checkmark.svg" alt="checkmark" />
</div>
</div>
<div class="container">
<h2>Сервисный центр</h2>
<h2 class="service-title">Сервисный центр</h2>
</div>
<section class="service service_1 active">
<div class="container">
@ -2339,7 +2345,195 @@
</section>
<section class="service service_2">
<div class="container">
<div class="service-inner"></div>
<div class="service-inner">
<h2>Выберите категорию товара</h2>
<form class="service-form">
<div class="service-types">
<label class="service-option">
<input
checked
type="radio"
name="type"
id="type"
/>
<span>Микроволновые печи</span>
</label>
<label class="service-option">
<input
checked
type="radio"
name="type"
id="type"
/>
<span>Сушильные машины</span>
</label>
<label class="service-option">
<input
checked
type="radio"
name="type"
id="type"
/>
<span>Пылесосы</span>
</label>
<label class="service-option">
<input
checked
type="radio"
name="type"
id="type"
/>
<span>Микроволновые печи</span>
</label>
<label class="service-option">
<input
checked
type="radio"
name="type"
id="type"
/>
<span>Сушильные машины</span>
</label>
<label class="service-option">
<input
checked
type="radio"
name="type"
id="type"
/>
<span>Пылесосы</span>
</label>
<label class="service-option">
<input
checked
type="radio"
name="type"
id="type"
/>
<span>Микроволновые печи</span>
</label>
<label class="service-option">
<input
checked
type="radio"
name="type"
id="type"
/>
<span>Сушильные машины</span>
</label>
<label class="service-option">
<input
checked
type="radio"
name="type"
id="type"
/>
<span>Пылесосы</span>
</label>
<label class="service-option">
<input
checked
type="radio"
name="type"
id="type"
/>
<span>Микроволновые печи</span>
</label>
<label class="service-option">
<input
checked
type="radio"
name="type"
id="type"
/>
<span>Сушильные машины</span>
</label>
<label class="service-option">
<input
checked
type="radio"
name="type"
id="type"
/>
<span>Пылесосы</span>
</label>
<label class="service-option">
<input
checked
type="radio"
name="type"
id="type"
/>
<span>Микроволновые печи</span>
</label>
<label class="service-option">
<input
checked
type="radio"
name="type"
id="type"
/>
<span>Сушильные машины</span>
</label>
<label class="service-option">
<input
checked
type="radio"
name="type"
id="type"
/>
<span>Пылесосы</span>
</label>
</div>
<div class="profile">
<h3>Данные профиля</h3>
<div class="profile-top">
<div class="profile-input">
<label for="name">Имя и Фамилия</label>
<input
id="name"
name="name"
type="text"
value="Aman Amanow"
/>
</div>
<div class="profile-input">
<label for="number"
>Номер телефона</label
>
<input
name="number"
id="number"
type="text"
value="+ 993 65 65 65 65"
/>
</div>
<div class="profile-input">
<label for="address">Адрес</label>
<input
name="email"
type="email"
value="aman.amanow@gmail.com"
/>
</div>
</div>
<div class="profile-bottom">
<div class="profile-input">
<label for="comment">Комментарий</label>
<textarea
name="comment"
id="comment"
rows="7"
placeholder="Добавьте коментарий"
></textarea>
</div>
</div>
</div>
<button class="form-button" type="submit">
Оформить заявку
</button>
</form>
</div>
</div>
</section>
</main>