-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into tzhelev/esf-load-on-demand-sample
- Loading branch information
Showing
7 changed files
with
104 additions
and
2 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
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,5 +1,6 @@ | ||
export const menusRoutesData = { | ||
"navbar": { displayName: "Navbar Overview", parentName: "Navbar" }, | ||
"navbar-sample-1": { displayName: "Navbar Action Button Icon", parentName: "Navbar" }, | ||
"navbar-sample-2": { displayName: "Navbar Custom Action Icon", parentName: "Navbar" } | ||
"navbar-sample-2": { displayName: "Navbar Custom Action Icon", parentName: "Navbar" }, | ||
"navbar-style": { displayName: "Navbar Style", parentName: "Navbar" } | ||
}; |
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
9 changes: 9 additions & 0 deletions
9
src/app/menus/navbar/navbar-style/navbar-style.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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<article class="sample-column"> | ||
<div class="navbar-sample"> | ||
<igx-navbar title="Sample App" actionButtonIcon="menu" [isActionButtonVisible]="true"> | ||
<igx-icon>search</igx-icon> | ||
<igx-icon>favorite</igx-icon> | ||
<igx-icon>more_vert</igx-icon> | ||
</igx-navbar> | ||
</div> | ||
</article> |
59 changes: 59 additions & 0 deletions
59
src/app/menus/navbar/navbar-style/navbar-style.component.scss
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 |
---|---|---|
@@ -0,0 +1,59 @@ | ||
@import '~igniteui-angular/lib/core/styles/themes/index'; | ||
|
||
/*BASIC THEMING*/ | ||
|
||
$dark-navbar: igx-navbar-theme( | ||
$text-color: #FFCD0F, | ||
$background: #292826, | ||
$idle-icon-color: #FFCD0F, | ||
$hover-icon-color: gray | ||
); | ||
|
||
/*ENHANCED APPROACHES*/ | ||
|
||
// $yellow-color: #FFCD0F; | ||
// $black-color: #292826; | ||
// $dark-palette: igx-palette($primary: $black-color, $secondary: $yellow-color); | ||
|
||
/*PALETTE and IGX-COLOR*/ | ||
|
||
// $dark-navbar: igx-navbar-theme( | ||
// $text-color: igx-color($dark-palette, "secondary", 400), | ||
// $background: igx-color($dark-palette, "primary", 400), | ||
// $idle-icon-color: igx-color($dark-palette, "secondary", 400), | ||
// $hover-icon-color: gray | ||
// ); | ||
|
||
/*SCHEMAS*/ | ||
|
||
// $dark-navbar-schema: extend($_dark-navbar, | ||
// ( | ||
// text-color: ( | ||
// igx-color: ("secondary", 400) | ||
// ), | ||
// background: ( | ||
// igx-color: ("primary", 400) | ||
// ), | ||
// idle-icon-color:( | ||
// igx-color: ("secondary", 400) | ||
// ), | ||
// hover-icon-color: gray | ||
// ) | ||
// ); | ||
|
||
// $custom-dark-schema: extend($dark-schema,( | ||
// igx-navbar: $dark-navbar-schema | ||
// )); | ||
|
||
// $dark-navbar: igx-navbar-theme( | ||
// $palette: $dark-palette, | ||
// $schema: $custom-dark-schema | ||
// ); | ||
|
||
/*INCLUSION by DEFAULT ViewEncapsulation strategy*/ | ||
|
||
:host { | ||
::ng-deep { | ||
@include igx-navbar($dark-navbar); | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/app/menus/navbar/navbar-style/navbar-style.component.ts
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { Component, OnInit } from "@angular/core"; | ||
|
||
@Component({ | ||
selector: "app-navbar-style", | ||
styleUrls: ["./navbar-style.component.scss"], | ||
templateUrl: "./navbar-style.component.html" | ||
}) | ||
export class NavbarStyleComponent implements OnInit { | ||
|
||
constructor() { } | ||
|
||
public ngOnInit() { | ||
} | ||
} |