Merge pull request #8603 from frederic34/logintransp

login transparent when using background
This commit is contained in:
Laurent Destailleur 2018-04-17 09:35:47 +02:00 committed by GitHub
commit 7b3a9de9db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1815,8 +1815,13 @@ form#login {
padding-top:16px;
padding-bottom:12px;
max-width: 560px;
background-color: #FFFFFF;
<?php
if (! empty($conf->global->MAIN_LOGIN_BACKGROUND)) {
print ' background-color: rgba(255, 255, 255, 0.9);';
} else {
print ' background-color: #FFFFFF;';
}
?>
-webkit-box-shadow: 0 2px 23px 2px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15);
box-shadow: 0 2px 23px 2px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(60,60,60,0.15);