diff --git a/htdocs/core/tpl/login.tpl.php b/htdocs/core/tpl/login.tpl.php index dd50e24c8e6e470274c09992064b9e6abedbc176..c4f9ff2b2062f7f8f5aa3dedad063a7342a171cf 100644 --- a/htdocs/core/tpl/login.tpl.php +++ b/htdocs/core/tpl/login.tpl.php @@ -47,6 +47,8 @@ $(document).ready(function () { <?php } ?> <center> +<div class="login_vertical_align"> + <form id="login" name="login" method="post" action="<?php echo $php_self; ?>"> <input type="hidden" name="token" value="<?php echo $_SESSION['newtoken']; ?>" /> @@ -197,7 +199,7 @@ if (isset($conf->file->main_authentication) && preg_match('/openid/',$conf->file <?php if (! empty($_SESSION['dol_loginmesg'])) { ?> - <div class="center" style="max-width: 500px; margin-left: 10px; margin-right: 10px;"><div class="error"> + <div class="center login_main_message" style="max-width: 500px; margin-left: 10px; margin-right: 10px;"><div class="error"> <?php echo $_SESSION['dol_loginmesg']; ?> </div></div> <?php @@ -268,8 +270,11 @@ if (! empty($conf->google->enabled) && ! empty($conf->global->MAIN_GOOGLE_AD_CLI } ?> + +</div> </center> <!-- end of center --> + </body> </html> <!-- END PHP TEMPLATE --> diff --git a/htdocs/core/tpl/passwordforgotten.tpl.php b/htdocs/core/tpl/passwordforgotten.tpl.php index 7331a81ead0d2ee652785a0ac36f7de4ad6fc6b0..61c0bbe6cfc5b0703b5f90176074c624707198d3 100644 --- a/htdocs/core/tpl/passwordforgotten.tpl.php +++ b/htdocs/core/tpl/passwordforgotten.tpl.php @@ -43,7 +43,10 @@ $(document).ready(function () { </script> <?php } ?> + <center> +<div class="login_vertical_align"> + <form id="login" name="login" method="post" action="<?php echo $php_self; ?>"> <input type="hidden" name="token" value="<?php echo $_SESSION['newtoken']; ?>"> @@ -132,7 +135,7 @@ if (! empty($hookmanager->resArray['options'])) { </form> -<div class="center" style="max-width: 680px; margin-left: 10px; margin-right: 10px;"> +<div class="center login_main_home" style="max-width: 680px; margin-left: 10px; margin-right: 10px;"> <?php if ($mode == 'dolibarr' || ! $disabled) { ?> <font style="font-size: 12px;"> <?php echo $langs->trans('SendNewPasswordDesc'); ?> @@ -148,16 +151,16 @@ if (! empty($hookmanager->resArray['options'])) { <br> <?php if ($message) { ?> - <div class="center" style="max-width: 680px; margin-left: 10px; margin-right: 10px;"> + <div class="center login_main_message" style="max-width: 680px; margin-left: 10px; margin-right: 10px;"> <?php echo dol_htmloutput_mesg($message,'','',1); ?> </div> <?php } ?> + +</div> </center> <!-- end of center --> -<br> </body> </html> - <!-- END PHP TEMPLATE --> diff --git a/htdocs/install/default.css b/htdocs/install/default.css index 7ba1a9b136bc347dbf460f74aa2147f992289f03..6be69acd912bb91a172ee3e498db7450f5137bdd 100644 --- a/htdocs/install/default.css +++ b/htdocs/install/default.css @@ -180,7 +180,7 @@ margin-top: 10px; font-size:16px; font-weight: normal; color: #4965B3; -text-shadow: 2px 1px 2px #c0c0c0; +text-shadow: 1px 1px 1px #c0c0c0; } tr.bg1 { diff --git a/htdocs/support/default.css b/htdocs/support/default.css index d535ab0ea705e3058ac4b3a6e8a75359473e6397..14454a1924513c1d4d323175153d4b48d2045c3f 100644 --- a/htdocs/support/default.css +++ b/htdocs/support/default.css @@ -18,7 +18,7 @@ body { font-size:12px; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; -background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat; +background: #f9f9f9; /* background-color: #F4F4F4; */ margin: 5px 10px; } diff --git a/htdocs/support/dolibarr_logo2.png b/htdocs/support/dolibarr_logo2.png deleted file mode 100644 index 7abd0ae84942e7aef5b7872793c1602c0a3d4d6b..0000000000000000000000000000000000000000 Binary files a/htdocs/support/dolibarr_logo2.png and /dev/null differ diff --git a/htdocs/support/headbg.jpg b/htdocs/support/headbg.jpg deleted file mode 100644 index 5491c6e4acbc576eb5397d1091fdd7ea7e03de00..0000000000000000000000000000000000000000 Binary files a/htdocs/support/headbg.jpg and /dev/null differ diff --git a/htdocs/theme/auguria/style.css.php b/htdocs/theme/auguria/style.css.php index 1159e40ff0a79445e24d3f29481b6522d83fd33e..f4832bddac8abbd4d01f1de54c175653cb991255 100644 --- a/htdocs/theme/auguria/style.css.php +++ b/htdocs/theme/auguria/style.css.php @@ -64,7 +64,7 @@ if (! empty($conf->global->MAIN_OVERWRITE_THEME_RES)) { $path='/'.$conf->global- // Define image path files and other constants $fontlist='arial,tahoma,verdana,helvetica'; //$fontlist='Verdana,Helvetica,Arial,sans-serif'; $img_liste_titre=dol_buildpath($path.'/theme/'.$theme.'/img/menus/trtitle.png',1); -$img_head=dol_buildpath($path.'/theme/'.$theme.'/img/headbg2.jpg',1); +$img_head=''; $img_button=dol_buildpath($path.'/theme/'.$theme.'/img/button_bg.png',1); $dol_hide_topmenu=$conf->dol_hide_topmenu; $dol_hide_leftmenu=$conf->dol_hide_leftmenu; @@ -108,7 +108,7 @@ body { <?php if (GETPOST("optioncss") == 'print') { ?> background-color: #FFFFFF; <?php } else { ?> - background: #ffffff url(<?php echo $img_head; ?>) 0 0 no-repeat; + background-color: #FCFCFC; <?php } ?> color: #101010; font-size: <?php print $fontsize ?>px; diff --git a/htdocs/theme/cameleo/style.css.php b/htdocs/theme/cameleo/style.css.php index bfb64ab09a08a29b14e077f82343055c4ed6c8a7..41dc3b571791366caed9f29575bb55b6483c3dad 100644 --- a/htdocs/theme/cameleo/style.css.php +++ b/htdocs/theme/cameleo/style.css.php @@ -85,7 +85,7 @@ body { <?php if (GETPOST("optioncss") == 'print') { ?> background-color: #FFFFFF; <?php } else { ?> - /*background: #ffffff url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/headbg2.jpg',1); ?>) 0 0 no-repeat;*/ + background-color: #FCFCFC; <?php } ?> color: #101010; font-size: <?php print $fontsize ?>px; diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index 3eef3bd840e997b801bddaf54d7af6c67b97f32f..25ff8cad3e0b8f135f73ef8a6adecfbcfc234409 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -64,7 +64,7 @@ if (! empty($conf->global->MAIN_OVERWRITE_THEME_RES)) { $path='/'.$conf->global- // Define image path files and other constants $fontlist='arial,tahoma,verdana,helvetica'; //$fontlist='Verdana,Helvetica,Arial,sans-serif'; -$img_head=dol_buildpath($path.'/theme/'.$theme.'/img/headbg2.jpg',1); +$img_head=''; $img_button=dol_buildpath($path.'/theme/'.$theme.'/img/button_bg.png',1); $dol_hide_topmenu=$conf->dol_hide_topmenu; $dol_hide_leftmenu=$conf->dol_hide_leftmenu; @@ -812,7 +812,10 @@ foreach($mainmenuusedarray as $val) .bodylogin { - background: #ffffff url(<?php echo $img_head; ?>) 0 0 no-repeat; + background: #f9f9f9; +} +.login_vertical_align { + padding: 10px; } form#login { margin-top: <?php echo $dol_optimize_smallscreen?'30':'60' ?>px; @@ -836,22 +839,18 @@ form#login { padding-top:12px; padding-bottom:12px; max-width: 540px; - border: 1px solid #C0C0C0; - background-color: #E0E0E0; + border: 1px solid #A0A0A0; -moz-box-shadow: 3px 3px 4px #DDD; -webkit-box-shadow: 3px 3px 4px #DDD; box-shadow: 3px 3px 4px #DDD; border-radius: 8px; - border:solid 1px rgba(168,168,168,.4); - border-top:solid 1px f8f8f8; - background-color: #f8f8f8; - background-image: -o-linear-gradient(top, rgba(250,250,250,.6) 0%, rgba(192,192,192,.3) 100%); - background-image: -moz-linear-gradient(top, rgba(250,250,250,.6) 0%, rgba(192,192,192,.3) 100%); - background-image: -webkit-linear-gradient(top, rgba(250,250,250,.6) 0%, rgba(192,192,192,.3) 100%); - background-image: -ms-linear-gradient(top, rgba(250,250,250,.6) 0%, rgba(192,192,192,.3) 100%); - background-image: linear-gradient(top, rgba(250,250,250,.6) 0%, rgba(192,192,192,.3) 100%); + border:solid 1px rgba(90,90,90,.4); + -webkit-box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15); + box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15); + + background-color: #FFFFFF; } div#login_left, div#login_right { display: inline-block;