Browse Source

HUE-2238 [core] The Hue app logo is huge on IE9

Set size with CSS
Enrico Berti 11 years ago
parent
commit
b1666a9d61

+ 1 - 1
desktop/core/src/desktop/templates/common_header.mako

@@ -322,7 +322,7 @@ from django.utils.translation import ugettext as _
   % endif
 
   </div>
-    <a class="brand nav-tooltip pull-left" title="${_('About Hue')}" rel="navigator-tooltip" href="/about"><img width="60" height="12" src="/static/art/hue-logo-mini-white.png" data-orig="/static/art/hue-logo-mini-white.png" data-hover="/static/art/hue-logo-mini-white-hover.png"/></a>
+    <a class="brand nav-tooltip pull-left" title="${_('About Hue')}" rel="navigator-tooltip" href="/about"><img src="/static/art/hue-logo-mini-white.png" data-orig="/static/art/hue-logo-mini-white.png" data-hover="/static/art/hue-logo-mini-white-hover.png" /></a>
     % if user.is_authenticated() and section != 'login':
      <ul class="nav nav-pills pull-left">
        <li><a title="${_('My documents')}" rel="navigator-tooltip" href="${ url('desktop.views.home') }" style="padding-bottom:2px!important"><i class="fa fa-home" style="font-size: 19px"></i></a></li>        

+ 0 - 1
desktop/core/src/desktop/templates/login.mako

@@ -55,7 +55,6 @@ ${ commonheader("Welcome to Hue", "login", user, "50px") | n,unicode }
     #logo {
       background: #FFF url("/static/art/hue-login-logo-ellie@2x.png") 50% 2px no-repeat;
       background-size: 114px 114px;
-
     }
   }
 

+ 5 - 0
desktop/core/static/css/hue3.css

@@ -1665,6 +1665,11 @@ border-bottom-left-radius: 0px;
   height: 24px;
 }
 
+.brand img {
+  width: 60px;
+  height: 16px;
+}
+
 /*********************************************************
  *
  * Misc styles that can be reused as needed