summaryrefslogtreecommitdiffstats
path: root/core/css
diff options
context:
space:
mode:
authorMarin Treselj <marin@pixelipo.com>2017-06-07 16:06:19 +0200
committerJulius Härtl <jus@bitgrid.net>2017-07-02 14:14:49 +0200
commit3470d0a44ea2b7a477af407b3d9abee81de071e3 (patch)
tree6bfbe62ce8ea0c2c913a3aef40c499b051ce8148 /core/css
parentcc4373c90157679f2ff8bc21b8cf55e386e9ccea (diff)
downloadnextcloud-server-3470d0a44ea2b7a477af407b3d9abee81de071e3.tar.gz
nextcloud-server-3470d0a44ea2b7a477af407b3d9abee81de071e3.zip
Simplified Nextcloud logo icon
Signed-off-by: Marin Treselj <marin@pixelipo.com>
Diffstat (limited to 'core/css')
-rw-r--r--core/css/guest.css8
-rw-r--r--core/css/header.scss22
2 files changed, 13 insertions, 17 deletions
diff --git a/core/css/guest.css b/core/css/guest.css
index 32af45e0881..0050f198a6c 100644
--- a/core/css/guest.css
+++ b/core/css/guest.css
@@ -65,12 +65,12 @@ h3 {
padding-top: 100px;
}
#header .logo {
- background-image: url('../img/logo-icon.svg?v=1');
+ background-image: url('../img/logo.svg?v=1');
background-repeat: no-repeat;
- background-size: 175px;
+ background-size: contain;
background-position: center;
- width: 252px;
- min-height: 120px;
+ width: 256px;
+ min-height: 128px;
max-height: 200px;
margin: 0 auto;
}
diff --git a/core/css/header.scss b/core/css/header.scss
index cd6933d2755..c4d4205103a 100644
--- a/core/css/header.scss
+++ b/core/css/header.scss
@@ -100,13 +100,17 @@
#header {
.logo {
- background-image: url('#{$image-logo}');
+ display: inline-flex;
+ background-image: url($image-logo);
background-repeat: no-repeat;
- background-size: 175px;
+ background-size: contain;
background-position: center;
- width: 252px;
- height: 120px;
+ width: 256px;
+ height: 128px;
margin: 0 auto;
+ &.logo-icon {
+ width: 62px;
+ height: 34px;
img {
opacity: 0;
@@ -114,15 +118,7 @@
max-height: 200px;
}
}
- .logo-icon {
- /* display logo so appname can be shown next to it */
- display: inline-block;
- background-image: url($image-logo);
- background-repeat: no-repeat;
- background-position: center center;
- background-size: contain;
- width: 62px;
- height: 34px;
+
}
.header-appname-container {
display: none;