diff --git a/htdocs/core/tpl/login.tpl.php b/htdocs/core/tpl/login.tpl.php index 5e79b71ee34e9d0c28bad54b7760a7dd61d36442..ae1118b4ce7292c2fe70b85818b6fb1497c9dc8d 100644 --- a/htdocs/core/tpl/login.tpl.php +++ b/htdocs/core/tpl/login.tpl.php @@ -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 diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index 97ec72bb55d159c0b19694e55b16564634e27d87..75dc6b682d6abbd69b23cb77c70841a87d08e740 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.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 { diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index c8ecb538624e2f506063362965db38c867ab0e3e..a2e9b1ecc1fcb981c4d000f4ff5b34c35e6168a9 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.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 { @@ -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 {