Fix css on login page. Pb with autocomplete-autofill.
This commit is contained in:
parent
9cfc8d4095
commit
005a40c105
@ -102,9 +102,9 @@ $(document).ready(function () {
|
||||
<!-- Password -->
|
||||
<tr>
|
||||
<td class="nowrap center valignmiddle">
|
||||
<?php if (! empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { ?><label for="password" hidden><?php echo $langs->trans("Password"); ?></label><?php } ?>
|
||||
<?php if (! empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { ?><label for="password" class="hidden"><?php echo $langs->trans("Password"); ?></label><?php } ?>
|
||||
<span class="span-icon-password">
|
||||
<input id="password" placeholder="<?php echo $langs->trans("Password"); ?>" name="password" class="flat input-icon-password" type="password" size="20" value="<?php echo dol_escape_htmltag($password); ?>" tabindex="2" autocomplete="off" />
|
||||
<input id="password" placeholder="<?php echo $langs->trans("Password"); ?>" name="password" class="flat input-icon-password" type="password" size="20" value="<?php echo dol_escape_htmltag($password); ?>" tabindex="2" autocomplete="<?php echo empty($conf->global->MAIN_LOGIN_ENABLE_PASSWORD_AUTOCOMPLETE)?'off':'on'; ?>" />
|
||||
</span>
|
||||
</td></tr>
|
||||
<?php
|
||||
|
||||
@ -261,7 +261,8 @@ input, input.flat, textarea, textarea.flat, form.flat select, select, select.fla
|
||||
}
|
||||
|
||||
input:focus, textarea:focus, button:focus, select:focus {
|
||||
box-shadow: 0 0 4px #8091BF;
|
||||
/* box-shadow: 0 0 4px #8091BF; */
|
||||
border-bottom: 1px solid #8091BF !important;
|
||||
}
|
||||
textarea.cke_source:focus
|
||||
{
|
||||
@ -790,6 +791,7 @@ td.showDragHandle {
|
||||
.side-nav {
|
||||
display: table-cell;
|
||||
border-right: 1px solid #d0d0d0;
|
||||
box-shadow: 3px 0 6px -2px #eee;
|
||||
}
|
||||
div.blockvmenulogo
|
||||
{
|
||||
@ -1418,13 +1420,19 @@ form#login {
|
||||
border-right:solid 1px rgba(180,180,180,.4);
|
||||
border-bottom:solid 1px rgba(180,180,180,.4);*/
|
||||
}
|
||||
.login_table input#username, .login_table input#password, .login_table input#securitycode{
|
||||
.login_table input#username, .login_table input#password, .login_table input#securitycode {
|
||||
border: none;
|
||||
border-bottom: solid 1px rgba(180,180,180,.4);
|
||||
padding: 5px;
|
||||
margin-left: 18px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
.login_table input#username:focus, .login_table input#password:focus, .login_table input#securitycode:focus {
|
||||
outline: none !important;
|
||||
/* box-shadow: none;
|
||||
-webkit-box-shadow: 0 0 0 50px #FFF inset;
|
||||
box-shadow: 0 0 0 50px #FFF inset;*/
|
||||
}
|
||||
.login_main_message {
|
||||
text-align: center;
|
||||
max-width: 560px;
|
||||
@ -1460,8 +1468,8 @@ table.login_table_securitycode tr td {
|
||||
border: 1px solid #DDDDDD;
|
||||
}
|
||||
#img_logo, .img_logo {
|
||||
max-width: 150px;
|
||||
max-height: 80px;
|
||||
max-width: 170px;
|
||||
max-height: 90px;
|
||||
}
|
||||
|
||||
div.login_block {
|
||||
|
||||
@ -261,7 +261,8 @@ input, input.flat, textarea, textarea.flat, form.flat select, select, select.fla
|
||||
}
|
||||
|
||||
input:focus, textarea:focus, button:focus, select:focus {
|
||||
box-shadow: 0 0 4px #8091BF;
|
||||
/* box-shadow: 0 0 4px #8091BF; */
|
||||
border-bottom: 1px solid #8091BF !important;
|
||||
}
|
||||
textarea.cke_source:focus
|
||||
{
|
||||
@ -805,6 +806,7 @@ td.showDragHandle {
|
||||
<?php } else { ?>
|
||||
background: #FFF;
|
||||
border-right: 1px solid rgba(0,0,0,0.2);
|
||||
box-shadow: 3px 0 6px -2px #eee;
|
||||
bottom: 0;
|
||||
color: #333;
|
||||
display: block;
|
||||
@ -1460,6 +1462,12 @@ form#login {
|
||||
margin-left: 18px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
.login_table input#username:focus, .login_table input#password:focus, .login_table input#securitycode:focus {
|
||||
outline: none !important;
|
||||
/* box-shadow: none;
|
||||
-webkit-box-shadow: 0 0 0 50px #FFF inset;
|
||||
box-shadow: 0 0 0 50px #FFF inset;*/
|
||||
}
|
||||
.login_main_message {
|
||||
text-align: center;
|
||||
max-width: 560px;
|
||||
@ -1495,8 +1503,8 @@ table.login_table_securitycode tr td {
|
||||
border: 1px solid #f4f4f4;
|
||||
}
|
||||
#img_logo, .img-logo {
|
||||
max-width: 200px;
|
||||
max-height: 100px;
|
||||
max-width: 170px;
|
||||
max-height: 90px;
|
||||
}
|
||||
|
||||
div.login_block {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user