Skip to content

Commit ecbb648

Browse files
author
OpenShift Bot
authoredJul 20, 2017
Merge pull request #1841 from rhamilto/utility-nav-fixes
Merged by openshift-bot
2 parents 27f6af5 + 3d4c542 commit ecbb648

File tree

4 files changed

+9
-11
lines changed

4 files changed

+9
-11
lines changed
 

‎app/styles/_navbar-alt.less

+2-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// Use initial logo dimensions; or set a width and/or height (eg - background-size: auto 36px)
1010
// Max logo dimensions width 230px / height 36px
1111
background-size: initial;
12-
height: @navbar-os-header-height-mobile;
12+
height: @navbar-os-header-height-mobile - 1; // 1px border-bottom on navbar-os-mobile
1313
width: 230px;
1414
}
1515

@@ -274,10 +274,8 @@
274274
color: lighten(@navbar-os-project-menu-color, 20%);
275275
cursor: pointer;
276276
display: flex;
277-
font-size: 18px;
278277
&:hover, &:active, &:focus {
279-
background-color: @sidebar-os-active-bg;
280-
color: @navbar-os-project-menu-color;
278+
text-decoration: none;
281279
}
282280
}
283281
}

‎app/views/directives/header/default-header.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<ng-include ng-if="globalTechPreviewIndicator" src="'views/directives/header/_tech-preview-banner.html'" class="tech-preview-banner"></ng-include>
22
<nav class="navbar navbar-pf-alt" role="navigation">
3-
<div row>
3+
<div row class="nav">
44
<div class="navbar-header">
55
<!-- mobile nav menu -->
66
<div row class="navbar-flex-btn toggle-menu">
@@ -18,7 +18,7 @@
1818
</div>
1919
<!-- system status message at mobile -->
2020

21-
<navbar-utility class="collapse navbar-collapse"></navbar-utility>
21+
<navbar-utility class="hidden-xs"></navbar-utility>
2222

2323
<div row
2424
extension-point

‎dist/scripts/templates.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7113,7 +7113,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
71137113
$templateCache.put('views/directives/header/default-header.html',
71147114
"<ng-include ng-if=\"globalTechPreviewIndicator\" src=\"'views/directives/header/_tech-preview-banner.html'\" class=\"tech-preview-banner\"></ng-include>\n" +
71157115
"<nav class=\"navbar navbar-pf-alt\" role=\"navigation\">\n" +
7116-
"<div row>\n" +
7116+
"<div row class=\"nav\">\n" +
71177117
"<div class=\"navbar-header\">\n" +
71187118
"\n" +
71197119
"<div row class=\"navbar-flex-btn toggle-menu\">\n" +
@@ -7130,7 +7130,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
71307130
"</a>\n" +
71317131
"</div>\n" +
71327132
"\n" +
7133-
"<navbar-utility class=\"collapse navbar-collapse\"></navbar-utility>\n" +
7133+
"<navbar-utility class=\"hidden-xs\"></navbar-utility>\n" +
71347134
"<div row extension-point extension-name=\"nav-system-status-mobile\" extension-types=\"dom\" class=\"navbar-flex-btn hide-if-empty\"></div>\n" +
71357135
"</div>\n" +
71367136
"</nav>"

‎dist/styles/main.css

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.