Skip to content

Commit ef6d832

Browse files
committed
[PRAC/cont] Correct modal window "add-btn"
Making chg's in "common" position/internal indents, accord Pixel Perf. core: B-3 / JS-BL
1 parent 7e1c502 commit ef6d832

File tree

1 file changed

+15
-5
lines changed
  • core-courses/3-js-basic-level/practicum-js-basic-level/sb-crm-client/css

1 file changed

+15
-5
lines changed

core-courses/3-js-basic-level/practicum-js-basic-level/sb-crm-client/css/modal-add.css

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.modal__add-dialog {
22
position: relative;
33
top: 220px;
4+
left: 25px;
45
}
56

67
.modal__add-content-wrap {
@@ -23,7 +24,7 @@
2324
}
2425

2526
.modal__add-header {
26-
margin-bottom: 32px;
27+
margin-bottom: 23px;
2728
}
2829

2930
.modal__add-header-title {
@@ -45,13 +46,13 @@
4546
}
4647

4748
.modal__add-body {
48-
margin-bottom: 95px;
49+
margin-bottom: 40px;
4950
}
5051

5152
.modal__add-body-form {
5253
display: flex;
5354
flex-direction: column;
54-
row-gap: 30px;
55+
row-gap: 28px;
5556
}
5657

5758
.modal__add-body-form .modal__add-body-input[type="text"] {
@@ -115,11 +116,12 @@
115116
.modal__add-footer {
116117
display: flex;
117118
flex-direction: column;
119+
min-height: 110px;
118120
}
119121

120122
.modal__add-footer-add-btn-wrap {
121123
position: absolute;
122-
bottom: 132px;
124+
bottom: 113px;
123125
display: flex;
124126
justify-content: center;
125127
margin: 0;
@@ -171,6 +173,14 @@
171173
color: var(--light-purple);
172174
}
173175

176+
.modal__add-footer-add-btn:active .stroke-add-modal-icon {
177+
opacity: 0;
178+
}
179+
180+
.modal__add-footer-add-btn:active .fill-add-modal-icon {
181+
opacity: 1;
182+
}
183+
174184
.modal__add-footer-btn-icon {
175185
position: absolute;
176186
left: 20px;
@@ -192,7 +202,7 @@
192202

193203
.modal__add-footer-save-btn {
194204
margin-bottom: 5px;
195-
padding: 17px 35px;
205+
padding: 10px 35px;
196206
min-width: 150px;
197207
color: var(--white);
198208
background-color: var(--main-purple);

0 commit comments

Comments
 (0)