Merge pull request #9407 from owncloud/fix-share-logo
for shared links, use wide logo on desktop and icon on mobile
This commit is contained in:
commit
c223977794
|
@ -13,7 +13,7 @@
|
||||||
<header><div id="header" class="<?php p((isset($_['folder']) ? 'share-folder' : 'share-file')) ?>">
|
<header><div id="header" class="<?php p((isset($_['folder']) ? 'share-folder' : 'share-file')) ?>">
|
||||||
<a href="<?php print_unescaped(link_to('', 'index.php')); ?>"
|
<a href="<?php print_unescaped(link_to('', 'index.php')); ?>"
|
||||||
title="" id="owncloud">
|
title="" id="owncloud">
|
||||||
<div class="logo-icon svg"></div>
|
<div class="logo-wide svg"></div>
|
||||||
</a>
|
</a>
|
||||||
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
|
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
|
||||||
<div class="header-right">
|
<div class="header-right">
|
||||||
|
|
|
@ -21,6 +21,14 @@
|
||||||
box-align: center;
|
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 */
|
/* compress search box on mobile, expand when focused */
|
||||||
.searchbox input[type="search"] {
|
.searchbox input[type="search"] {
|
||||||
width: 15%;
|
width: 15%;
|
||||||
|
|
Loading…
Reference in New Issue