From 14afe932c1a11ceaace9bbd813bfb602c45ee8aa Mon Sep 17 00:00:00 2001 From: Rohan Mitchell Date: Mon, 11 May 2015 14:39:53 +1000 Subject: [PATCH] Resize menu logo, make it always fully opaque --- app/assets/stylesheets/darkswarm/menu.css.sass | 9 +++++---- app/views/shared/menu/_large_menu.html.haml | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/darkswarm/menu.css.sass b/app/assets/stylesheets/darkswarm/menu.css.sass index e2845f58a6..f4c8f6aa04 100644 --- a/app/assets/stylesheets/darkswarm/menu.css.sass +++ b/app/assets/stylesheets/darkswarm/menu.css.sass @@ -12,10 +12,6 @@ nav text-shadow: none // Default overrides - big menu - .top-bar-section ul li.ofn-logo > a - display: table-cell - vertical-align: middle - .top-bar-section .has-dropdown > a padding-right: $topbar-height / 2 !important @@ -34,6 +30,11 @@ nav opacity: 1 @include transition(all 0.3s ease-in-out) + .top-bar-section ul li.ofn-logo > a + display: table-cell + vertical-align: middle + opacity: 1 + .nav-branded color: $clr-brick-light-bright span diff --git a/app/views/shared/menu/_large_menu.html.haml b/app/views/shared/menu/_large_menu.html.haml index ac58d75b96..6534e78c06 100644 --- a/app/views/shared/menu/_large_menu.html.haml +++ b/app/views/shared/menu/_large_menu.html.haml @@ -3,8 +3,8 @@ %ul.left{} %li.ofn-logo %a{href: root_path} - -# TODO: SVGify (though this image is double-size for retina displays) - %img{src: "/assets/logo-australia.png", width: "389", height: "65"} + -# TODO: SVGify (though this image is double-size for retina) + %img{src: "/assets/logo-australia.png", width: "269", height: "45"} %li.divider %li %a{href: main_app.shops_path}