From fa52f906e3817b4eedcece5008cd70de7251242f Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 1 May 2017 19:05:21 +0200 Subject: [PATCH 1/2] show non landscape icons bigger on the login page Signed-off-by: Robin Appelman --- core/css/guest.css | 9 ++++++++- core/templates/layout.guest.php | 3 +++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/core/css/guest.css b/core/css/guest.css index e6e194f641..02af5d3e0c 100644 --- a/core/css/guest.css +++ b/core/css/guest.css @@ -70,9 +70,16 @@ h3 { background-size: 175px; background-position: center; width: 252px; - height: 120px; + min-height: 120px; + max-height: 300px; margin: 0 auto; } + +#header .logo img { + opacity: 0; + max-width: 100%; + max-height: 300px; +} .wrapper { min-height: 100%; margin: 0 auto -70px; diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php index 1e2559d696..7e248ff2f7 100644 --- a/core/templates/layout.guest.php +++ b/core/templates/layout.guest.php @@ -40,6 +40,9 @@

getName()); ?>

+ getConfig()->getAppValue('theming', 'logoMime', false)): ?> + + From c50b7addc7282cb05f2b4a01b45bfde0a5a4e6fb Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Tue, 2 May 2017 17:43:59 +0200 Subject: [PATCH 2/2] smaller max logo sizes and cleaner code Signed-off-by: Robin Appelman --- core/css/guest.css | 4 ++-- core/templates/layout.guest.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/css/guest.css b/core/css/guest.css index 02af5d3e0c..f2de4c832a 100644 --- a/core/css/guest.css +++ b/core/css/guest.css @@ -71,14 +71,14 @@ h3 { background-position: center; width: 252px; min-height: 120px; - max-height: 300px; + max-height: 200px; margin: 0 auto; } #header .logo img { opacity: 0; max-width: 100%; - max-height: 300px; + max-height: 200px; } .wrapper { min-height: 100%; diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php index 7e248ff2f7..1f38aaef5f 100644 --- a/core/templates/layout.guest.php +++ b/core/templates/layout.guest.php @@ -41,7 +41,7 @@ getName()); ?> getConfig()->getAppValue('theming', 'logoMime', false)): ?> - +