-
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 'vNext' into tzhelev/esf-load-on-demand-sample
- Loading branch information
Showing
7 changed files
with
193 additions
and
0 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
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
85 changes: 85 additions & 0 deletions
85
src/app/data-display/icon/icon-styling-sample/icon-styling-sample.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,85 @@ | ||
<div class="sample-content"> | ||
<section class="sample-column"> | ||
<article class="icons-wrapper"> | ||
<div class="icon-sample first-col"> | ||
<igx-icon>sentiment_very_satisfied</igx-icon> | ||
</div> | ||
|
||
<div class="icon-sample second-col"> | ||
<igx-icon>home</igx-icon> | ||
</div> | ||
|
||
<div class="icon-sample third-col"> | ||
<igx-icon>airplanemode_active</igx-icon> | ||
</div> | ||
|
||
<div class="icon-sample fourth-col"> | ||
<igx-icon>favorite</igx-icon> | ||
</div> | ||
|
||
<div class="icon-sample"> | ||
<igx-icon [isActive]="false">search</igx-icon> | ||
</div> | ||
|
||
<div class="icon-sample first-col"> | ||
<igx-icon>notifications</igx-icon> | ||
</div> | ||
|
||
<div class="icon-sample second-col"> | ||
<igx-icon>account_balance</igx-icon> | ||
</div> | ||
|
||
<div class="icon-sample third-col"> | ||
<igx-icon>phone_iphone</igx-icon> | ||
</div> | ||
|
||
<div class="icon-sample fourth-col"> | ||
<igx-icon>pin_drop</igx-icon> | ||
</div> | ||
<div class="icon-sample"> | ||
<igx-icon [isActive]="false">volume_off</igx-icon> | ||
</div> | ||
|
||
<div class="icon-sample first-col"> | ||
<igx-icon>person</igx-icon> | ||
</div> | ||
|
||
<div class="icon-sample second-col"> | ||
<igx-icon>wifi</igx-icon> | ||
</div> | ||
|
||
<div class="icon-sample third-col"> | ||
<igx-icon>laptop_mac</igx-icon> | ||
</div> | ||
|
||
<div class="icon-sample fourth-col"> | ||
<igx-icon>whatshot</igx-icon> | ||
</div> | ||
|
||
<div class="icon-sample"> | ||
<igx-icon [isActive]="false">cloud</igx-icon> | ||
</div> | ||
|
||
<div class="icon-sample first-col"> | ||
<igx-icon>school</igx-icon> | ||
</div> | ||
|
||
<div class="icon-sample second-col"> | ||
<igx-icon>bluetooth</igx-icon> | ||
</div> | ||
|
||
<div class="icon-sample third-col"> | ||
<igx-icon>headset</igx-icon> | ||
</div> | ||
|
||
<div class="icon-sample fourth-col"> | ||
<igx-icon>undo</igx-icon> | ||
</div> | ||
|
||
<div class="icon-sample"> | ||
<igx-icon [isActive]="false">keyboard_voice</igx-icon> | ||
</div> | ||
|
||
</article> | ||
</section> | ||
</div> |
73 changes: 73 additions & 0 deletions
73
src/app/data-display/icon/icon-styling-sample/icon-styling-sample.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,73 @@ | ||
@import '~igniteui-angular/lib/core/styles/themes/index'; | ||
|
||
$custom-theme: igx-icon-theme( | ||
$color: #ffcd0f, | ||
$disabled-color: #494949 | ||
); | ||
|
||
$black-color: #494949; | ||
$yellow-color: #ffcd0f; | ||
|
||
/* Custom theme */ | ||
|
||
// $custom-palette: igx-palette( | ||
// $primary: $black-color, | ||
// $secondary: $yellow-color | ||
// ); | ||
|
||
// $custom-theme: igx-icon-theme( | ||
// $color: igx-color($custom-palette, "secondary", 600), | ||
// $disabled-color: igx-color($custom-palette, "primary", 500) | ||
// ); | ||
|
||
/* Custom Schema */ | ||
|
||
// $custom-icon-schema: extend($_dark-icon, ( | ||
// color: (igx-color("secondary", 500)), | ||
// disabled-color: (igx-color("primary", 500)) | ||
// )); | ||
|
||
// $my-custom-schema: extend($dark-schema, ( | ||
// igx-icon: $custom-icon-schema | ||
// )); | ||
|
||
// $custom-theme: igx-icon-theme( | ||
// $palette: $custom-palette, | ||
// $schema: $my-custom-schema | ||
// ); | ||
|
||
:host { | ||
::ng-deep { | ||
@include igx-icon($custom-theme); | ||
.first-col .igx-icon:hover { | ||
color: rgb(52, 0, 104); | ||
} | ||
|
||
.second-col .igx-icon:hover { | ||
color: black; | ||
} | ||
|
||
.third-col .igx-icon:hover { | ||
color: #0375be; | ||
} | ||
|
||
.fourth-col .igx-icon:hover { | ||
color: #e41c77; | ||
} | ||
} | ||
} | ||
|
||
.icons-wrapper { | ||
display: flex; | ||
flex-flow: row wrap; | ||
} | ||
.icon-sample { | ||
display: flex; | ||
flex: 1 0 20%; | ||
width: 44px; | ||
height: 44px; | ||
justify-content: center; | ||
align-items: center; | ||
margin-bottom: 36px; | ||
} | ||
|
14 changes: 14 additions & 0 deletions
14
src/app/data-display/icon/icon-styling-sample/icon-styling-sample.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-icon-styling-sample", | ||
styleUrls: ["./icon-styling-sample.component.scss"], | ||
templateUrl: "./icon-styling-sample.component.html" | ||
}) | ||
export class IconStylingSample implements OnInit { | ||
|
||
constructor() { } | ||
|
||
public ngOnInit() { } | ||
|
||
} |