Commit da52d7f3123b9b7d42392c337e91f880cb444208
1 parent
54d398c7
tokar commit
Showing
3 changed files
with
86 additions
and
12 deletions
Show diff stats
frontend/views/accounts/_projects_form.php
... | ... | @@ -222,7 +222,7 @@ |
222 | 222 | <div class="admin-project-file-btn">Загрузить</div> |
223 | 223 | <div class="not-file-mb-adm">До 3 Мб файл</div> |
224 | 224 | </div> |
225 | - <div style="opacity: 0; height: 54px; width: 100%; float: left;position: absolute; top: 0;left: 0; z-index: 2;-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=50)'"> | |
225 | + <div style="opacity: 0; height: 54px; width: 100%; float: left;position: absolute; top: 0;left: 0; z-index: 2;-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)'"> | |
226 | 226 | <?= $form->field($project, 'file') |
227 | 227 | |
228 | 228 | ->fileInput([ 'multiple' => 'multiple' ]) ?> | ... | ... |
frontend/views/site/forms-modal-contacts.php
1 | -<div id="modal_form_question"> | |
1 | +<div id="modal_form_contacts"> | |
2 | 2 | <div class="closed-form"></div> |
3 | - <div class="form-resume-wr question"> | |
4 | - <div class="form-resume-sub style">Задать вопрос МФП(контакты)</div> | |
5 | - <form action="" class="question-project"> | |
6 | - <label for="qst_name">Ваши имя и фамилия</label><input id="qst_name" name="" type="text"> | |
3 | + <div class="form-resume-wr"> | |
4 | + <div class="form-resume-sub style">Отправить сообщение администрации МФП</div> | |
5 | + <form action="" > | |
6 | + <div class="input-blocks-wrapper"> | |
7 | + <label for="qst_name">Ваши имя и фамилия</label> | |
8 | + <input class="custom-input-2" id="qst_name" name="" type="text"> | |
9 | + </div> | |
10 | + | |
11 | + <div class="input-blocks-wrapper"> | |
12 | + <label for="qst_phone">Контактный телефон</label> | |
13 | + <input class="custom-input-2" id="qst_phone" name="" type="text"> | |
14 | + </div> | |
15 | + | |
16 | + <div class="input-blocks-wrapper"> | |
17 | + <label for="qst_phone">E-mail</label> | |
18 | + <input class="custom-input-2" id="qst_phone" name="" type="text"> | |
19 | + </div> | |
20 | + | |
21 | + <div class="input-blocks-wrapper"> | |
22 | + <label for="qst_text">Вопрос</label> | |
23 | + <textarea class="custom-input-2" id="qst_text" name=""></textarea> | |
24 | + </div> | |
25 | + | |
26 | + <div class="input-blocks-wrapper"> | |
27 | + <div class="contacts-form-wrapper style"> | |
28 | + <div class="contacts-form style"><span>Прикрепить файл</span></div> | |
29 | + <div class="contacts-form-help style">Максимальный размер файла 5 МБ</div> | |
30 | + </div> | |
31 | + <div class="hiden-input-file-contscts-wr"> | |
32 | + <input type="file" value="Прикрепить файл"/> | |
33 | + </div> | |
34 | + </div> | |
35 | + | |
36 | + <div class="form-actions style"> | |
37 | + <button type="submit" class="login-button">Отправить</button> | |
38 | + </div> | |
7 | 39 | |
8 | - <label for="qst_phone">Контактный телефон</label><input id="qst_phone" name="" type="text"> | |
9 | 40 | |
10 | - <label for="qst_text">Вопрос</label><textarea id="qst_text" name=""></textarea> | |
11 | 41 | |
12 | - <input id="qst_submit" type="submit" value="Отправить"> | |
13 | 42 | </form> |
14 | 43 | <div class="res_form_line"></div> |
15 | 44 | </div> | ... | ... |
frontend/web/css/style.css
... | ... | @@ -960,6 +960,7 @@ li.project-home-active span{ |
960 | 960 | margin-bottom: 13px; |
961 | 961 | margin-top: 5px; |
962 | 962 | } |
963 | +#modal_form_contacts .form-resume-wr form input {margin-bottom: 0} | |
963 | 964 | .form-resume-wr form textarea { |
964 | 965 | width: 240px; |
965 | 966 | height: 123px; |
... | ... | @@ -970,6 +971,11 @@ li.project-home-active span{ |
970 | 971 | box-sizing: border-box; |
971 | 972 | padding: 5px 0 0 10px; |
972 | 973 | } |
974 | +.forms-modal-hide .form-resume-wr form textarea { | |
975 | + height: 90px; | |
976 | + max-height: 90px; | |
977 | + min-height: 90px; | |
978 | +} | |
973 | 979 | .form-resume-wr form input[type="submit"] { |
974 | 980 | background: #0072bc; |
975 | 981 | color: #fff; |
... | ... | @@ -1066,6 +1072,9 @@ input[type=file]::-webkit-file-upload-button { |
1066 | 1072 | left: 0;bottom: 89px; |
1067 | 1073 | z-index: 1; |
1068 | 1074 | } |
1075 | +#modal_form_contacts .res_form_line { | |
1076 | + top: 420px; | |
1077 | +} | |
1069 | 1078 | /***rating***/ |
1070 | 1079 | .section-box-15 .rating {padding-left: 0;margin-left: -4px} |
1071 | 1080 | .section-box-15 .vote-stars, .section-box-15 .vote-active {cursor: default !important} |
... | ... | @@ -3373,7 +3382,7 @@ ul.proektant-comments {margin-top: 15px} |
3373 | 3382 | background:url("/images/menu_icons.png") -44px 0 no-repeat; |
3374 | 3383 | } |
3375 | 3384 | /***modal***/ |
3376 | -#modal_form_favorite, #modal_form_offer, #modal_form_question, #modal_form_login { | |
3385 | +#modal_form_favorite, #modal_form_offer, #modal_form_question, #modal_form_login, #modal_form_contacts { | |
3377 | 3386 | width: 460px; |
3378 | 3387 | height: 263px; |
3379 | 3388 | position: absolute; |
... | ... | @@ -3384,9 +3393,9 @@ ul.proektant-comments {margin-top: 15px} |
3384 | 3393 | opacity: 0; |
3385 | 3394 | z-index: 9992; |
3386 | 3395 | } |
3387 | -#modal_form_question {height: 533px} | |
3396 | +#modal_form_question, #modal_form_contacts {height: 533px} | |
3388 | 3397 | #modal_form_login {height: 423px} |
3389 | -#modal_form_login .form-resume-wr form label{float: none} | |
3398 | +#modal_form_login .form-resume-wr form label, #modal_form_contacts .form-resume-wr form label{float: none} | |
3390 | 3399 | #modal_form_favorite .res_form_line {bottom: 85px} |
3391 | 3400 | .page-favorite { |
3392 | 3401 | height: 85px; |
... | ... | @@ -5401,6 +5410,42 @@ top: 272px; |
5401 | 5410 | margin-top: 10px; |
5402 | 5411 | } |
5403 | 5412 | .site-request-password-reset {} |
5413 | +.contacts-form-help { | |
5414 | + font-size: 11px; | |
5415 | + color: #c2c2c2; | |
5416 | +} | |
5417 | +.contacts-form-wrapper {margin-top: 16px} | |
5418 | +.contacts-form {text-align: center} | |
5419 | +.contacts-form span{ | |
5420 | + font-size: 13px; | |
5421 | + text-transform: uppercase; | |
5422 | + color: #0276c0; | |
5423 | + border-bottom: 1px solid #0072bc; | |
5424 | + position: relative; | |
5425 | +} | |
5426 | +.contacts-form span:before{ | |
5427 | + content: ''; | |
5428 | + position: absolute; | |
5429 | + top: -2px; | |
5430 | + left: -28px; | |
5431 | + width: 19px; | |
5432 | + height: 21px; | |
5433 | + background: url("/images/skrpk.png") no-repeat; | |
5434 | +} | |
5435 | +.hiden-input-file-contscts-wr { | |
5436 | + background:red;cursor:pointer;position: absolute; top: 16px; height:18px;left: 0; opacity: 0.5; z-index: 2;-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=0) | |
5437 | +} | |
5438 | + | |
5439 | + | |
5440 | + | |
5441 | + | |
5442 | + | |
5443 | + | |
5444 | + | |
5445 | + | |
5446 | + | |
5447 | + | |
5448 | + | |
5404 | 5449 | |
5405 | 5450 | |
5406 | 5451 | ... | ... |