Commit 404dc7991101731f0eb40459d85625d91b979834
1 parent
9e1b5403
login_form
Showing
2 changed files
with
41 additions
and
4 deletions
Show diff stats
frontend/views/site/login.php
@@ -10,7 +10,7 @@ use yii\captcha\Captcha; | @@ -10,7 +10,7 @@ use yii\captcha\Captcha; | ||
10 | 10 | ||
11 | 11 | ||
12 | ?> | 12 | ?> |
13 | -<div id="modal_form_registration" > | 13 | +<div id="form_login" > |
14 | <?php $form = ActiveForm::begin(['id' => 'enter_form','class'=>'cmxform','action' => '/site/login']); ?> | 14 | <?php $form = ActiveForm::begin(['id' => 'enter_form','class'=>'cmxform','action' => '/site/login']); ?> |
15 | <fieldset> | 15 | <fieldset> |
16 | <h3>Вход в личный кабинет</h3> | 16 | <h3>Вход в личный кабинет</h3> |
frontend/web/css/main.css
@@ -324,7 +324,7 @@ div.required:after { content: " *"; | @@ -324,7 +324,7 @@ div.required:after { content: " *"; | ||
324 | top: -18px; | 324 | top: -18px; |
325 | } | 325 | } |
326 | 326 | ||
327 | -#modal_form input[type="checkbox"]{ | 327 | +#modal_form input[type="checkbox"], #form_login input[type="checkbox"]{ |
328 | display: inline-block!important; | 328 | display: inline-block!important; |
329 | width: 16px; | 329 | width: 16px; |
330 | height: 16px; | 330 | height: 16px; |
@@ -365,7 +365,7 @@ div.required:after { content: " *"; | @@ -365,7 +365,7 @@ div.required:after { content: " *"; | ||
365 | 365 | ||
366 | #modal_form .purple { | 366 | #modal_form .purple { |
367 | display: table; | 367 | display: table; |
368 | - margin: -6px auto 36px; | 368 | + margin: -6px auto 36px!important; |
369 | } | 369 | } |
370 | 370 | ||
371 | #modal_form .field-userloginform-email{ | 371 | #modal_form .field-userloginform-email{ |
@@ -397,4 +397,41 @@ div.required:after { content: " *"; | @@ -397,4 +397,41 @@ div.required:after { content: " *"; | ||
397 | 397 | ||
398 | .field-accounts-company{ | 398 | .field-accounts-company{ |
399 | display: none; | 399 | display: none; |
400 | -} | ||
401 | \ No newline at end of file | 400 | \ No newline at end of file |
401 | +} | ||
402 | + | ||
403 | + | ||
404 | +#form_login{ | ||
405 | + margin: 0 auto; | ||
406 | + width: 561px; | ||
407 | + position: relative; | ||
408 | +} | ||
409 | +#form_login input { | ||
410 | + background-color: #f5f5f5; | ||
411 | + width: 334px; | ||
412 | + height: 30px; | ||
413 | + padding-left: 9px; | ||
414 | + border-radius: 6px; | ||
415 | + border: 1px solid #dfdfdf; | ||
416 | + margin: 0 auto; | ||
417 | +} | ||
418 | + | ||
419 | +#form_login h3{ | ||
420 | + text-align: center; | ||
421 | + margin-bottom: 29px; | ||
422 | +} | ||
423 | + | ||
424 | +#userloginform-rememberme{ | ||
425 | + | ||
426 | +} | ||
427 | + | ||
428 | +#form_login .purple{ | ||
429 | + display: table; | ||
430 | + margin: 0 auto; | ||
431 | +} | ||
432 | + | ||
433 | +#form_login .field-userloginform-pass{ | ||
434 | + margin-bottom: 24px; | ||
435 | +} | ||
436 | +#form_login .field-userloginform-pass:after{ | ||
437 | + top: -21px; | ||
438 | +} |