-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update to igniteui-angular 5.2.0-beta.1
- Loading branch information
Showing
5 changed files
with
52 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 5 additions & 42 deletions
47
templates/angular/igx-ts/projects/empty/files/src/app/app.component.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,12 @@ | ||
.main{ | ||
display:-webkit-box;display:-ms-flexbox; | ||
display:flex; | ||
-webkit-box-orient:horizontal; | ||
-webkit-box-direction:normal; | ||
-ms-flex-flow:row nowrap; | ||
flex-flow:row nowrap;top:0; | ||
right:0;bottom:0; | ||
left:0; | ||
overflow:hidden | ||
.main { | ||
width: 100%; | ||
} | ||
|
||
.main,.nav{position:absolute} | ||
|
||
.nav-item { | ||
display: flex; | ||
flex: 1 0 100%; | ||
flex-flow: row nowrap; | ||
color: #383838; | ||
max-height: 48px; | ||
padding: 12px 16px; | ||
cursor: pointer; | ||
font-size: 16px; | ||
align-items: center; | ||
font-weight: 600; | ||
user-select: none; | ||
outline: transparent; | ||
white-space: nowrap; | ||
} | ||
|
||
.nav-item.active { | ||
color: #731963; | ||
} | ||
|
||
.nav-item:hover { | ||
background-color: #f0f0f0; | ||
} | ||
|
||
:host ::ng-deep .igx-navbar{ | ||
background: #731963; | ||
} | ||
|
||
|
||
h3 { | ||
padding-left: 16px; | ||
} | ||
|
||
#content { | ||
.content { | ||
flex: 1 1 100%; | ||
padding: 20px; | ||
} |
27 changes: 15 additions & 12 deletions
27
templates/angular/igx-ts/projects/empty/files/src/app/app.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
<div class="main"> | ||
<igx-nav-drawer #nav id="project-menu" isOpen="true" [enableGestures]='true' width="280px"> | ||
<div class="igx-drawer-content"> | ||
<h3>Views</h3> | ||
<span *ngFor="let route of topNavLinks" class="nav-item" routerLinkActive="active" routerLink="{{route.path}}">{{route.name}}</span> | ||
</div> | ||
</igx-nav-drawer> | ||
<div> | ||
<igx-navbar title="IgniteUI for Angular!" actionButtonIcon="menu" (onAction)="nav.toggle()"></igx-navbar> | ||
<router-outlet></router-outlet> | ||
</div> | ||
</div> | ||
<div class="main" igxLayout> | ||
<igx-nav-drawer #nav id="project-menu" isOpen="true" [enableGestures]='true' width="280px"> | ||
<ng-template igxDrawer> | ||
<span igxDrawerItem [isHeader]="true">Views</span> | ||
<span *ngFor="let route of topNavLinks" igxDrawerItem igxRipple routerLinkActive="igx-nav-drawer__item--active" routerLink="{{route.path}}">{{route.name}}</span> | ||
</ng-template> | ||
</igx-nav-drawer> | ||
<div igxFlex> | ||
<igx-navbar title="IgniteUI for Angular!" actionButtonIcon="menu" (onAction)="nav.toggle()" igxFlex></igx-navbar> | ||
<div class="content"> | ||
<router-outlet></router-outlet> | ||
</div> | ||
</div> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters