소스 검색

HUE-1653 [core] Banner does not display properly

Fixed banner css
Enrico Berti 12 년 전
부모
커밋
3a603a0596
1개의 변경된 파일11개의 추가작업 그리고 3개의 파일을 삭제
  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">
     % if conf.CUSTOM.BANNER_TOP_HTML.get():
       body {
-        padding-top: ${str(int(padding[:-2]) + 40) + 'px'};
+        padding-top: ${str(int(padding[:-2]) + 30) + 'px'};
       }
       .banner {
         height: 40px;
+        width: 100%;
         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:
       body {