@@ -67,10 +67,10 @@ table {
6767 align-items : center;
6868 /* Центрирование по вертикали */
6969 position : fixed;
70- top : 0 ;
70+ top : -200 px ;
7171 left : 0 ;
7272 width : 100% ;
73- height : 100 % ;
73+ height : 1000 px ;
7474 background-color : rgba (0 , 0 , 0 , 0.5 );
7575 /* Полупрозрачный фон */
7676 z-index : 9999 ;
@@ -80,18 +80,20 @@ table {
8080.modalContent {
8181 background-color : # fff ;
8282 /* Белый фон для содержимого */
83- padding : 20px ;
83+ padding : 24px 12px ;
84+ /* width:256px; */
8485 /* Внутренний отступ */
8586 border-radius : 10px ;
8687 /* Скругленные углы */
8788 box-shadow : 0 4px 8px rgba (0 , 0 , 0 , 0.1 );
8889 /* Тень для глубины */
89- max-width : 500px ;
9090 /* Максимальная ширина */
91- width : 90 % ;
91+ width : 100 % ;
9292 /* Ширина с учетом малых экранов */
9393 text-align : center;
9494 /* Центрирование текста */
95+ margin-left : 20px ;
96+ margin-right : 20px ;
9597}
9698
9799
@@ -100,8 +102,16 @@ table {
100102 display : flex;
101103 justify-content : space-between;
102104 align-items : center;
105+ margin-bottom : 24px ;
106+ }
107+ .headerText {
108+ font-family : var (--font-family );
109+ font-weight : 500 ;
110+ font-size : 26px ;
111+ line-height : 123% ;
112+ color : var (--primery-color-black );
113+ /* margin:0 0 24px 0; */
103114}
104-
105115.modal-header h2 {
106116 margin : 0 ;
107117}
@@ -115,42 +125,52 @@ table {
115125
116126.close : hover ,
117127.close : focus {
118- color : black;
128+ color : white;
129+ /* background-color: #007bff; */
130+ /* color: black; */
119131 text-decoration : none;
120132 cursor : pointer;
121133}
122134
123- .modalBody {
135+ /* .modalBody {
124136 margin-top: 10px;
125- }
137+ } */
126138
127139.modalBody label {
128140 display : block;
129- margin-bottom : 5 px ;
141+ margin-bottom : 15 px ;
130142}
131143
132144.modalBody input [type = "text" ],
133145.modalBody input [type = "number" ],
134146.modalBody select {
135- width : 100% ;
147+ display : flex;
148+ justify-content : flex-start;
149+ width : 100px ;
150+ height : 20px ;
136151 padding : 8px ;
137- margin-bottom : 10 px ;
138- border : 1px solid # ccc ;
152+ margin-bottom : 24 px ;
153+ border : 1px solid var ( --secondary-color---5 ) ;
139154 border-radius : 4px ;
140155 color : # 0056b3 ;
141156 font-size : 16px ;
142157}
143-
158+ .modalBody select {
159+ width : 120px ;
160+ margin-bottom : 20px ;
161+ padding : 12px 0 10px ;
162+ height : 44px ;
163+ }
144164.amountSelector {
145165 display : flex;
146166 align-items : center;
147167 justify-content : flex-start;
148- margin-bottom : 10 px ;
168+ margin-bottom : 24 px ;
149169}
150170
151171.amountSelector button {
152- width : 30 px ;
153- height : 30 px ;
172+ width : 44 px ;
173+ height : 44 px ;
154174 border : solid 1px ;
155175 background-color : # ffffff ;
156176 border-radius : 50% ;
@@ -165,8 +185,12 @@ table {
165185}
166186
167187.amountSelector span {
168- margin : 0 10px ;
188+ margin : 0 7px ;
189+ width : 92px ;
190+ font-weight : 700 ;
169191 font-size : 18px ;
192+ line-height : 133% ;
193+ text-align : center;
170194 background-color : # abd4ff ;
171195 padding : 5px 10px ;
172196 border-radius : 15px ;
@@ -178,7 +202,8 @@ table {
178202.inputSaveContainer {
179203 display : flex;
180204 align-items : center;
181- justify-content : flex-start;
205+ justify-content : center;
206+ flex-direction : column;
182207}
183208
184209.inputSaveContainer input [type = "text" ] {
@@ -198,23 +223,36 @@ table {
198223}
199224
200225.labelDistance {
201- padding-bottom : 10px ;
226+ /* padding-bottom: 10px; */
227+ margin : 0 0 16px 0 ;
202228 text-align : start;
229+ font-family : var (--font-family );
230+ font-weight : 500 ;
231+ font-size : 18px ;
232+ line-height : 111% ;
233+ color : var (--primery-color-black );
234+ }
235+ .labelDistanceText {
236+ margin : 0 0 16px 0 ;
237+ text-align : start;
238+ font-family : var (--font-family );
239+ font-weight : 400 ;
240+ font-size : 16px ;
241+ line-height : 125% ;
242+ color : var (--primery-color-black );
203243}
204-
205244.labelDistanceText {
206- padding-bottom : 10px ;
207245 font-size : 15px ;
208246 text-align : start;
209247}
210248
211249.saveButton {
212- width : 100 px ;
250+ width : 256 px ;
213251 padding : 10px ;
214252 background-color : # 007bff ;
215253 color : white;
216254 border : none;
217- border-radius : 4 px ;
255+ border-radius : 10 px ;
218256 cursor : pointer;
219257 text-align : center;
220258}
@@ -227,12 +265,79 @@ table {
227265.buttonSelector {
228266 padding : 0 ;
229267}
230- .inputField {
231- margin-top : 15px ;
268+
269+ .modalBody input [type = "text" ], .inputField {
270+ margin-bottom : 16px ;
271+ padding : 0 ;
232272 border : # ffffff ;
273+ display : flex;
274+ justify-content : center;
275+ align-items : center;
276+ margin-left : auto;
277+ margin-right : auto;
278+ font-family : var (--font-family );
279+ font-weight : 700 ;
280+ font-size : 18px ;
281+ line-height : 133% ;
282+ text-align : center;
283+ color : var (--primery-color-blue );
233284}
234285
235286.inputField : focus {
236287 border : none;
237288 outline : none;
238289}
290+
291+ @media screen and (min-width : 768px ) {
292+ .modalContent {
293+ padding : 24px ;
294+ width : 656px ;
295+ }
296+ .modalBody input [type = "text" ],
297+ .modalBody input [type = "number" ],
298+ .modalBody select {
299+ width : 636px ;
300+
301+ }
302+ .modalBody select {
303+ width : 656px ;
304+ }
305+ .saveButton {
306+ width : 160px ;
307+ }
308+ .inputSaveContainer {
309+ display : flex;
310+ align-items : center;
311+ flex-direction : row;
312+ justify-content : flex-start;
313+
314+ }
315+ .modalBody input [type = "text" ], .inputField {
316+ text-align : right;
317+ margin-right : 24px ;
318+ padding-right : 10px ;
319+ margin-bottom : 0 ;
320+ }
321+ }
322+
323+ @media screen and (min-width : 1216px ) {
324+ .modalContent {
325+ width : 544px ;
326+ }
327+ .modalBody input [type = "text" ],
328+ .modalBody input [type = "number" ],
329+ .modalBody select {
330+ width : 524px ;
331+
332+ }
333+ .modalBody select {
334+ width : 544px ;
335+ }
336+ .modal {
337+ position : fixed;
338+ top : 0 ;
339+ left : 0 ;
340+ width : 100% ;
341+ height : 100% ;
342+ }
343+ }
0 commit comments