Merge branch 'ent-10918-pantallas-de-fondo-de-la-vista-de-login' into 'develop'

Ent 10918 pantallas de fondo de la vista de login

See merge request artica/pandorafms!5708
This commit is contained in:
Rafael Ameijeiras 2023-04-13 12:33:42 +00:00
commit dbba723c08
2 changed files with 13 additions and 11 deletions

View File

@ -117,12 +117,12 @@ if (empty($config['random_background']) === false) {
unset($random_backgrounds[0], $random_backgrounds[1]);
$random_background = array_rand($random_backgrounds);
$background_url = 'images/backgrounds/random_backgrounds/'.$random_backgrounds[$random_background];
$background_100 = 'background-size: 100% 100% !important; ';
$background_100 = 'background-size: cover !important; background-position: center !important; ';
}
if (empty($config['login_background']) === false) {
$background_url = 'images/backgrounds/'.$config['login_background'];
$background_100 = 'background-size: 100% 100% !important; ';
$background_100 = 'background-size: cover !important; background-position: center !important; ';
}
// Support for Internet Explorer and Microsoft Edge browsers

View File

@ -166,7 +166,7 @@ div.login_logo_icon {
div.login_logo_icon img {
margin: 0 auto;
max-height: 185px;
max-height: 150px;
max-width: 300px;
}
@ -346,19 +346,21 @@ div.text_banner_login {
span.span1 {
display: block;
max-width: 700px;
font-size: 80pt;
line-height: 80pt;
font-size: 6vw;
line-height: 6vw;
font-family: "lato-bolder";
color: #fff;
margin-right: 30px;
}
span.span2 {
display: block;
max-width: 700px;
font-size: 30pt;
line-height: 30pt;
font-size: 3vw;
line-height: 3vw;
font-family: "lato-bolder";
color: #fff;
margin-right: 30px;
}
div.img_banner_login img {
@ -384,16 +386,16 @@ div.img_banner_login img {
span.span1 {
display: block;
max-width: 500px;
font-size: 60pt;
line-height: 60pt;
font-size: 6vw;
line-height: 6vw;
font-weight: bold;
color: #fff;
}
span.span2 {
display: block;
max-width: 500px;
font-size: 20pt;
line-height: 20pt;
font-size: 3vw;
line-height: 3vw;
font-family: "lato-bolder";
color: #fff;
}