-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5343404
commit c5ad1b2
Showing
7 changed files
with
49 additions
and
14 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
4 changes: 2 additions & 2 deletions
4
src/app/packages/modules.pck/photography.mod/components/photography.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
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
3 changes: 3 additions & 0 deletions
3
src/app/packages/utilities.pck/widgets.mod/components/loader/loader.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,3 @@ | ||
<div class="ik-loader"> | ||
<div class="ik-loader-bar"></div> | ||
</div> |
27 changes: 27 additions & 0 deletions
27
src/app/packages/utilities.pck/widgets.mod/components/loader/loader.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,27 @@ | ||
.ik-loader { | ||
height: 3px; | ||
margin: 20px auto; | ||
overflow: hidden; | ||
position: relative; | ||
width: 200px; | ||
|
||
.ik-loader-bar { | ||
animation: sideToside 2s ease-in-out infinite; | ||
background-color: var(--c8); | ||
border-radius: 5px; | ||
height: 100%; | ||
position: absolute; | ||
width: 50%; | ||
} | ||
} | ||
|
||
@keyframes sideToside { | ||
0%, | ||
100% { | ||
transform: translateX(-50%); | ||
} | ||
|
||
50% { | ||
transform: translateX(150%); | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
src/app/packages/utilities.pck/widgets.mod/components/loader/loader.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,11 @@ | ||
// angular | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'app-loader', | ||
templateUrl: './loader.component.html', | ||
styleUrls: ['./loader.component.scss'] | ||
}) | ||
|
||
export class LoaderComponent { | ||
} |
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