<li {{#isActiveLink '/quality_gates'}}class="active"{{/isActiveLink}}>
<a href="{{link '/quality_gates'}}">{{t 'quality_gates.page'}}</a>
</li>
+ {{#if isUserAdmin}}
+ <li {{#isActiveLink '/settings'}}class="active"{{/isActiveLink}}>
+ <a class="navbar-admin-link" href="{{link '/settings'}}">{{t 'layout.settings'}}</a>
+ </li>
+ {{/if}}
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">{{t 'more'}} <i class="icon-dropdown"></i></a>
<ul class="dropdown-menu">
<li>
- <a href="{{link '/comparison'}}">{{t 'comparison.page'}}</a>
+ <a href="{{link '/comparison'}}">{{t 'comparison_global.page'}}</a>
</li>
<li>
<a href="{{link '/dependencies'}}">{{t 'dependencies.page'}}</a>
<a href="{{link url}}">{{name}}</a>
</li>
{{/each}}
- {{#if isUserAdmin}}
- <li class="divider"></li>
- <li>
- <a href="{{link '/settings'}}">{{t 'layout.settings'}}</a>
- </li>
- {{/if}}
</ul>
</li>
</ul>
<i class="navbar-search-icon icon-search"></i>
<input class="navbar-search-input js-search-input" type="search" name="q" placeholder="{{t 'search_verb'}}"
- autocomplete="off">
+ maxlength="30" autocomplete="off">
<div class="js-search-results"></div>
+
+<div class="subtitle navbar-search-subtitle">{{t 'search.shortcut'}}</div>
text-align: right;
}
+.navbar-search-subtitle {
+ position: absolute;
+ top: 5px;
+ right: 40px;
+}
+
.navbar-global {
background-color: @navbarGlobalBackground;
.navbar-nav > li > a:focus,
.navbar-nav > .active > a,
.navbar-nav > .dropdown.open > a {
- background-color: @darkBlue;
+ background-color: @blue;
}
.navbar-search-dropdown {
background-color: @blue !important;
}
+
+ .navbar-admin-link:hover,
+ .navbar-admin-link:focus,
+ .active > .navbar-admin-link {
+ background-color: @orange !important;
+ }
}
color: @secondFontColor;
font-size: @smallFontSize;
}
-
-
-.navbar-settings {
- .horizontal-gradient(@navbarGlobalBackground, #7b1b1b);
-}
source.page=Source
timemachine.page=Time Machine
comparison.page=Compare
+comparison_global.page=Compare Projects
design.page=Design
libraries.page=Libraries
#------------------------------------------------------------------------------
search.results=results
search.duration=({0} seconds)
+search.shortcut=Press S to quickly open search bar
#------------------------------------------------------------------------------