-
Notifications
You must be signed in to change notification settings - Fork 66
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
Showing
8 changed files
with
99 additions
and
10 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
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 @@ | ||
'use strict' | ||
|
||
require './LoaderStyle.scss' | ||
|
||
React = require 'react' | ||
|
||
Loader = -> | ||
<div className="Loader"> | ||
<div className="container"> | ||
<div className="loader"/> | ||
</div> | ||
</div> | ||
|
||
module.exports = Loader |
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,13 @@ | ||
'use strict' | ||
|
||
Loader = require './Loader' | ||
React = require 'react' | ||
|
||
LoaderExamples = -> | ||
<div className="LoaderExamples flex column middle center"> | ||
<h1>Default</h1> | ||
|
||
<Loader /> | ||
</div> | ||
|
||
module.exports = LoaderExamples |
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,61 @@ | ||
@import "work/work-includes"; | ||
|
||
.Loader { | ||
position : absolute; | ||
display : flex; | ||
top : 0; | ||
left : 0; | ||
width : 100%; | ||
height : 100%; | ||
justify-content: center; | ||
align-items : center; | ||
|
||
.container { | ||
padding : 25px; | ||
// background-color: $primary-color; | ||
opacity : .98; | ||
border-radius : 10px; | ||
} | ||
|
||
.loader { | ||
width: 50px; | ||
height: 50px; | ||
border-top : 10px solid $grey-light; | ||
border-right : 10px solid $grey-light; | ||
border-bottom : 10px solid $grey-light; | ||
border-left : 10px solid $grey-lighter ; | ||
-webkit-transform: translateZ(0); | ||
-ms-transform : translateZ(0); | ||
transform : translateZ(0); | ||
-webkit-animation: load8 .8s infinite linear; | ||
animation : load8 .8s infinite linear; | ||
} | ||
.loader, | ||
.loader:after { | ||
border-radius: 50%; | ||
} | ||
|
||
|
||
} | ||
|
||
@-webkit-keyframes load8 { | ||
0% { | ||
-webkit-transform: rotate(0deg); | ||
transform: rotate(0deg); | ||
} | ||
100% { | ||
-webkit-transform: rotate(360deg); | ||
transform: rotate(360deg); | ||
} | ||
} | ||
|
||
@keyframes load8 { | ||
0% { | ||
-webkit-transform: rotate(0deg); | ||
transform: rotate(0deg); | ||
} | ||
100% { | ||
-webkit-transform: rotate(360deg); | ||
transform: rotate(360deg); | ||
} | ||
} |
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