Explorar o código

HUE-1653 [core] Banner does not display properly

Fixed banner css
Enrico Berti %!s(int64=12) %!d(string=hai) anos
pai
achega
3a603a0596
Modificáronse 1 ficheiros con 11 adicións e 3 borrados
  1. 11 3
      desktop/core/src/desktop/templates/common_header.mako

+ 11 - 3
desktop/core/src/desktop/templates/common_header.mako

@@ -56,14 +56,22 @@ from django.utils.translation import ugettext as _
   <style type="text/css">
   <style type="text/css">
     % if conf.CUSTOM.BANNER_TOP_HTML.get():
     % if conf.CUSTOM.BANNER_TOP_HTML.get():
       body {
       body {
-        padding-top: ${str(int(padding[:-2]) + 40) + 'px'};
+        padding-top: ${str(int(padding[:-2]) + 30) + 'px'};
       }
       }
       .banner {
       .banner {
         height: 40px;
         height: 40px;
+        width: 100%;
         padding: 0;
         padding: 0;
+        position: fixed;
+        top: 0;
+        background-color: #F9F9F9;
+        z-index: 1033;
       }
       }
-      .subnav-fixed {
-        top: 80px;
+      .navigator {
+        top: 30px!important;
+      }
+      .navbar-fixed-top {
+        top: 58px!important;
       }
       }
     % else:
     % else:
       body {
       body {