]> source.dussan.org Git - nextcloud-server.git/commitdiff
for shared links, use wide logo on desktop and icon on mobile
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 3 Jul 2014 10:20:44 +0000 (12:20 +0200)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 3 Jul 2014 10:20:44 +0000 (12:20 +0200)
apps/files_sharing/templates/public.php
core/css/mobile.css

index 3944d8438dd9709a7d23f77ee6e256ef82f3a430..2476beac1fb7c59054f2963330b6f66a5e28b026 100644 (file)
@@ -13,7 +13,7 @@
 <header><div id="header" class="<?php p((isset($_['folder']) ? 'share-folder' : 'share-file')) ?>">
                <a href="<?php print_unescaped(link_to('', 'index.php')); ?>"
                        title="" id="owncloud">
-                       <div class="logo-icon svg"></div>
+                       <div class="logo-wide svg"></div>
                </a>
                <div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
                <div class="header-right">
index 0a74178937da443df896aa3cad8ac2e04f5bcba8..6e2172ddbb758ac7f89605dbd4991c732cc88717 100644 (file)
        box-align: center;
 }
 
+/* on mobile, show logo-icon instead of logo-wide */
+#header .logo-wide {
+       background-image: url(../img/logo-icon.svg);
+       background-repeat: no-repeat;
+       width: 62px;
+       height: 34px;
+}
+
 /* compress search box on mobile, expand when focused */
 .searchbox input[type="search"] {
        width: 15%;