浏览代码

smaller max logo sizes and cleaner code

Signed-off-by: Robin Appelman <robin@icewind.nl>
tags/v12.0.0beta2
Robin Appelman 7 年前
父节点
当前提交
c50b7addc7
没有帐户链接到提交者的电子邮件
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2
    2
      core/css/guest.css
  2. 1
    1
      core/templates/layout.guest.php

+ 2
- 2
core/css/guest.css 查看文件

@@ -71,14 +71,14 @@ h3 {
background-position: center;
width: 252px;
min-height: 120px;
max-height: 300px;
max-height: 200px;
margin: 0 auto;
}

#header .logo img {
opacity: 0;
max-width: 100%;
max-height: 300px;
max-height: 200px;
}
.wrapper {
min-height: 100%;

+ 1
- 1
core/templates/layout.guest.php 查看文件

@@ -41,7 +41,7 @@
<?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')) ?>"/>
<img src="<?php p($theme->getLogo()); ?>"/>
<?php endif; ?>
</div>
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>

正在加载...
取消
保存