[Pkg-owncloud-commits] [owncloud] 252/273: for shared links, use wide logo on desktop and icon on mobile

David Prévot taffit at moszumanska.debian.org
Fri Jul 4 03:13:23 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit e5f68bafb929fbe31d293f1cadb584d04f182332
Author: Jan-Christoph Borchardt <hey at jancborchardt.net>
Date:   Thu Jul 3 12:20:44 2014 +0200

    for shared links, use wide logo on desktop and icon on mobile
---
 apps/files_sharing/templates/public.php | 2 +-
 core/css/mobile.css                     | 8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php
index 3944d84..2476bea 100644
--- a/apps/files_sharing/templates/public.php
+++ b/apps/files_sharing/templates/public.php
@@ -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">
diff --git a/core/css/mobile.css b/core/css/mobile.css
index 0a74178..6e2172d 100644
--- a/core/css/mobile.css
+++ b/core/css/mobile.css
@@ -21,6 +21,14 @@
 	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%;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list