From 3470d0a44ea2b7a477af407b3d9abee81de071e3 Mon Sep 17 00:00:00 2001 From: Marin Treselj Date: Wed, 7 Jun 2017 16:06:19 +0200 Subject: Simplified Nextcloud logo icon Signed-off-by: Marin Treselj --- core/css/guest.css | 8 ++++---- core/css/header.scss | 22 +++++++++------------- core/img/logo-icon.svg | 1 - core/img/logo.svg | 2 +- core/templates/layout.user.php | 2 +- 5 files changed, 15 insertions(+), 20 deletions(-) delete mode 100644 core/img/logo-icon.svg (limited to 'core') 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; diff --git a/core/img/logo-icon.svg b/core/img/logo-icon.svg deleted file mode 100644 index 4e5be881e89..00000000000 --- a/core/img/logo-icon.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/core/img/logo.svg b/core/img/logo.svg index a6e6212e4b9..5fdf57a016d 100644 --- a/core/img/logo.svg +++ b/core/img/logo.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 7d54d9b21f7..a1074b4c76c 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -34,7 +34,7 @@