Fix centering of message on logon page
This commit is contained in:
parent
52240eec9a
commit
f3c4e20db2
@ -222,7 +222,7 @@ if (isset($conf->file->main_authentication) && preg_match('/openid/',$conf->file
|
||||
<?php if (! empty($_SESSION['dol_loginmesg']))
|
||||
{
|
||||
?>
|
||||
<div class="center login_main_message" style="max-width: 500px; margin-left: 10px; margin-right: 10px;"><div class="error">
|
||||
<div class="center login_main_message" style="max-width: 520px"><div class="error">
|
||||
<?php echo $_SESSION['dol_loginmesg']; ?>
|
||||
</div></div>
|
||||
<?php
|
||||
|
||||
@ -151,7 +151,7 @@ if (! empty($hookmanager->resArray['options'])) {
|
||||
</form>
|
||||
|
||||
|
||||
<div class="center login_main_home" style="max-width: 680px; margin-left: 10px; margin-right: 10px;">
|
||||
<div class="center login_main_home" style="max-width: 80%">
|
||||
<?php if ($mode == 'dolibarr' || ! $disabled) { ?>
|
||||
<font style="font-size: 12px;">
|
||||
<?php echo $langs->trans('SendNewPasswordDesc'); ?>
|
||||
@ -167,7 +167,7 @@ if (! empty($hookmanager->resArray['options'])) {
|
||||
<br>
|
||||
|
||||
<?php if ($message) { ?>
|
||||
<div class="center login_main_message" style="max-width: 680px; margin-left: 10px; margin-right: 10px;">
|
||||
<div class="center login_main_message" style="max-width: 520px">
|
||||
<?php echo dol_htmloutput_mesg($message,'','',1); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
@ -948,18 +948,13 @@ form#login {
|
||||
-webkit-box-shadow: 3px 2px 20px #CCC;
|
||||
box-shadow: 3px 2px 20px #CCC;*/
|
||||
|
||||
border-radius: 8px;
|
||||
border-radius: 5px;
|
||||
border:solid 1px rgba(80,80,80,.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%);
|
||||
*/
|
||||
}
|
||||
.login_main_message {
|
||||
text-align: center;
|
||||
}
|
||||
div#login_left, div#login_right {
|
||||
display: inline-block;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user