diff options
author | Robin Appelman <robin@icewind.nl> | 2017-05-01 19:05:21 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2017-05-01 19:05:21 +0200 |
commit | fa52f906e3817b4eedcece5008cd70de7251242f (patch) | |
tree | 9f2bfdd702647d2e344a02dd7bb8534630ef565e /core | |
parent | 18b5e2fced13f0e7a00910029eeaad60ca8c78e6 (diff) | |
download | nextcloud-server-fa52f906e3817b4eedcece5008cd70de7251242f.tar.gz nextcloud-server-fa52f906e3817b4eedcece5008cd70de7251242f.zip |
show non landscape icons bigger on the login page
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'core')
-rw-r--r-- | core/css/guest.css | 9 | ||||
-rw-r--r-- | core/templates/layout.guest.php | 3 |
2 files changed, 11 insertions, 1 deletions
diff --git a/core/css/guest.css b/core/css/guest.css index e6e194f6417..02af5d3e0cf 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 1e2559d6960..7e248ff2f7f 100644 --- a/core/templates/layout.guest.php +++ b/core/templates/layout.guest.php @@ -40,6 +40,9 @@ <h1 class="hidden-visually"> <?php p($theme->getName()); ?> </h1> + <?php if(\OC::$server->getConfig()->getAppValue('theming', 'logoMime', false)): ?> + <img src="<?php p(\OC::$server->getURLGenerator()->getAbsoluteURL('apps/theming/logo') . '?' . \OC::$server->getConfig()->getAppValue('theming', 'cachebuster', '0')) ?>"/> + <?php endif; ?> </div> <div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div> </div> |