]> source.dussan.org Git - sonarqube.git/commitdiff
fix SONAR-6041 update the navbar background
authorStas Vilchik <vilchiks@gmail.com>
Thu, 15 Jan 2015 15:45:36 +0000 (16:45 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Thu, 15 Jan 2015 15:45:36 +0000 (16:45 +0100)
server/sonar-web/src/main/hbs/nav/nav-navbar.hbs
server/sonar-web/src/main/less/navbar.less

index 8d86b1926a8b621d6b4eba7ad071fa8ba310b3af..4cd6ab2bf265e21c3663d501e8cc830c00ab5f80 100644 (file)
   </ul>
 
   <ul class="nav navbar-nav navbar-right">
-    <li class="dropdown js-search-dropdown">
-      <a class="dropdown-toggle js-search-dropdown-toggle" data-toggle="dropdown" href="#">
-        <i class="icon-search navbar-icon"></i>&nbsp;<span class="icon-dropdown"></span>
-      </a>
-      <div class="js-search-region dropdown-menu dropdown-menu-right"></div>
-    </li>
     {{#if user}}
       <li class="dropdown">
         <a class="dropdown-toggle" data-toggle="dropdown" href="#">
         <a class="js-login" href="{{link '/sessions/new'}}">{{t 'layout.login'}}</a>
       </li>
     {{/if}}
+    <li class="dropdown js-search-dropdown">
+      <a class="dropdown-toggle js-search-dropdown-toggle" data-toggle="dropdown" href="#">
+        <i class="icon-search navbar-icon"></i>&nbsp;<span class="icon-dropdown"></span>
+      </a>
+      <div class="js-search-region dropdown-menu dropdown-menu-right"></div>
+    </li>
     {{#if isUserAdmin}}
       <li>
         <a href="{{link '/settings/index'}}"><i class="icon-settings navbar-icon"></i></a>
index d1a27e7a51be8befb1ebf1154aba5936e41e4e0d..89b83f14115e9806526fae680b0563e053a2ef41 100644 (file)
@@ -3,7 +3,7 @@
 @import (reference) "ui";
 
 @navbarBackground: #262626;
-@navbarProjectBackground: @blue;
+@navbarProjectBackground: @navbarBackground;
 @navbarSettingsBackground: #591500;
 
 @navbarHeight: 36px;
     background-color: darken(@navbarProjectBackground, 10%);
   }
 
-  .sq-logo .sq-logo-arc {
-    fill: #fff;
+  .sq-logo {
+    margin-left: -78px;
+  }
+
+  .sq-logo .sq-logo-letter {
+    display: none;
   }
 }
 
   .navbar-nav > .dropdown.open > a {
     background-color: darken(@navbarSettingsBackground, 10%);
   }
+
+  .sq-logo {
+    margin-left: -78px;
+  }
+
+  .sq-logo .sq-logo-letter {
+    display: none;
+  }
 }