]> source.dussan.org Git - nextcloud-server.git/commitdiff
show non landscape icons bigger on the login page
authorRobin Appelman <robin@icewind.nl>
Mon, 1 May 2017 17:05:21 +0000 (19:05 +0200)
committerRobin Appelman <robin@icewind.nl>
Mon, 1 May 2017 17:05:21 +0000 (19:05 +0200)
Signed-off-by: Robin Appelman <robin@icewind.nl>
core/css/guest.css
core/templates/layout.guest.php

index e6e194f6417de62b68009809aff1cd02eacac8fb..02af5d3e0cfe0e19b72049aa0c611207ee9abb8e 100644 (file)
@@ -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;
index 1e2559d69605bf1ca0f5d7997e33d59f6eb45c92..7e248ff2f7f975ae9ca1379dbce720956cdc55e8 100644 (file)
@@ -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>