Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a44d8ae

Browse files
committed
make navbar minimalist
1 parent 90e7e2d commit a44d8ae

File tree

4 files changed

+18
-23
lines changed

4 files changed

+18
-23
lines changed
Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,10 @@
11
<md-toolbar class="navbar">
22
<div class="md-toolbar-tools">
3-
<md-button class="md-icon-button" aria-label="Settings" ng-click="$ctrl.openSidebar()">
4-
<i class="mdi mdi-menu mdi-24px"></i>
5-
</md-button>
6-
<h2 flex md-truncate>{{$ctrl.NavigationService.currentPageTitle}}</h2>
7-
8-
<md-menu>
9-
<md-button class="md-icon-button" aria-label="Settings" ng-click="$ctrl.openMenu($mdMenu, $event)">
10-
<i md-menu-origin class="mdi mdi-dots-vertical mdi-24px"></i>
11-
</md-button>
12-
<md-menu-content width="4">
13-
<md-menu-item>
14-
<md-button>
15-
Settings
16-
</md-button>
17-
</md-menu-item>
18-
<md-menu-item>
19-
<md-button ng-click="$ctrl.clearData()">
20-
Clear Data
21-
</md-button>
22-
</md-menu-item>
23-
</md-menu-content>
24-
</md-menu>
3+
<h2 class="active-page-name" flex md-truncate>{{$ctrl.NavigationService.currentPageTitle}}</h2>
254

5+
<a class="github-link" href="https://github.com/fyodorio/ng-hotrod" layout="row" layout-align="center center">
6+
<img src="../../../assets/img/GitHub-Mark-Light-32px.png" alt="GitHub">
7+
<div>GitHub</div>
8+
</a>
269
</div>
2710
</md-toolbar>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.navbar {
2+
.active-page-name {
3+
font-weight: bold;
4+
font-size: 1.75em;
5+
}
6+
.github-link {
7+
font-weight: bold;
8+
img {
9+
margin-right: 8px;
10+
}
11+
}
12+
}

‎src/app/services/navigation.service.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class NavigationService {
99
this.pages = [
1010
{
1111
id: 0,
12-
title: 'Home',
12+
title: 'ng-hotrod',
1313
children: []
1414
},
1515
{
1.53 KB
Loading[フレーム]

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /