File tree Expand file tree Collapse file tree 2 files changed +109
-7
lines changed
core-courses/3-js-basic-level/practicum-js-basic-level/sb-crm-client/css Expand file tree Collapse file tree 2 files changed +109
-7
lines changed Original file line number Diff line number Diff line change 1+ .modal {
2+ padding-right : 0px !important ;
3+ }
4+
5+ body .modal-open {
6+ padding-right : 0px !important ;
7+ }
8+
19.modal-delete__dialog {
210 position : relative;
3- top : 220 px ;
4- left : 25 px ;
11+ top : 210 px ;
12+ max-width : 450 px ;
513}
614
715.modal-delete__content-wrap {
1119 border : none;
1220 border-radius : 0 ;
1321 padding : 25px 30px ;
14- max-width : 450px ;
1522 outline : none;
1623}
1724
2734}
2835
2936.modal-delete__header {
37+ display : flex;
3038 margin-bottom : 11px ;
3139}
3240
3341.modal-delete__header-title {
42+ margin-right : 10px ;
3443 font-weight : var (--bold );
3544 font-size : 18px ;
3645 color : var (--black );
3948.modal-delete__header .modal-delete__header-x-btn {
4049 position : relative;
4150 top : -12px ;
42- right : -110 px ;
51+ right : -105 px ;
4352 padding : 5px ;
4453}
4554
120129
121130/* media queries, any-hover */
122131
132+ @media (max-width : 576px ) {
133+ .modal-delete__dialog {
134+ top : 230px ;
135+ margin : 0 auto;
136+ max-width : 300px ;
137+ }
138+
139+ .modal-delete__header .modal-delete__header-x-btn {
140+ right : -32px ;
141+ }
142+ }
143+
144+ @media (max-width : 320px ) {
145+ .modal-delete__dialog {
146+ top : 170px ;
147+ }
148+
149+ .modal-backdrop {
150+ width : 100vh ;
151+ height : 100vh ;
152+ }
153+
154+ .modal-delete__header-title {
155+ font-size : 14px ;
156+ }
157+
158+ .modal-delete__header .modal-delete__header-x-btn {
159+ right : -52px ;
160+ }
161+
162+ .modal-delete__body {
163+ margin-bottom : 15px ;
164+ }
165+
166+
167+ .modal-delete__body-text {
168+ font-size : 12px ;
169+ }
170+
171+ .modal-delete__footer-delete-btn {
172+ padding : 5px 25px ;
173+ max-width : 100px ;
174+ font-size : 13px ;
175+ }
176+
177+ .modal-delete__footer-cancel-btn {
178+ font-size : 13px ;
179+ }
180+ }
181+
123182@media (any-hover : hover) {
124183 .modal-delete__footer-delete-btn : hover : not (: active ) {
125184 background-color : var (--light-purple );
Original file line number Diff line number Diff line change 1+ .modal {
2+ padding-right : 0px !important ;
3+ }
4+
5+ body .modal-open {
6+ padding-right : 0px !important ;
7+ }
8+
19.modal__dialog {
210 position : relative;
3- top : 220 px ;
4- left : 25 px ;
11+ top : 210 px ;
12+ max-width : 450 px ;
513}
614
715.modal__content-wrap {
816 border : none;
917 border-radius : 0 ;
1018 padding-top : 25px ;
1119 padding-bottom : 25px ;
12- max-width : 450px ;
1320 outline : none;
1421}
1522
3239
3340.modal__header-title-wrap {
3441 display : flex;
42+ flex-wrap : wrap;
3543 justify-content : center;
3644 align-items : baseline;
3745}
441449
442450/* media queries, any-hover */
443451
452+ @media (max-width : 576px ) {
453+ .modal__dialog {
454+ top : 230px ;
455+ margin : 0 auto;
456+ max-width : 300px ;
457+ }
458+
459+ .modal__header-title-wrap {
460+ justify-content : flex-start;
461+ }
462+ }
463+
464+ @media (max-width : 320px ) {
465+ .modal__dialog {
466+ top : 170px ;
467+ }
468+
469+ .modal-backdrop {
470+ width : 100vh ;
471+ height : 100vh ;
472+ }
473+
474+ .modal__header {
475+ margin-bottom : 12px ;
476+ }
477+
478+ .modal__header-title {
479+ font-size : 14px ;
480+ }
481+
482+ .modal__header-client-id {
483+ font-size : 10px ;
484+ }
485+ }
486+
444487@media (any-hover : hover) {
445488 .modal__body-add-btn : hover : not (: active ): not (: disabled ) .modal__body-add-btn-icon .plus-circle-stroke {
446489 opacity : 0 ;
You can’t perform that action at this time.
0 commit comments