forked from abalone0204/Clairvoyance
-
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
e5c823b
commit 4fd707c
Showing
9 changed files
with
144 additions
and
41 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
import CSSModules from 'react-css-modules' | ||
|
||
import styles from './styles.css' | ||
import Loading from 'components/Loading' | ||
|
||
class LoadingBlock extends React.Component { | ||
|
||
render() { | ||
const {user} = this.props | ||
if (user.status === 'loading') { | ||
return ( | ||
<div styleName='logining'> | ||
<Loading/> | ||
</div> | ||
) | ||
} | ||
} | ||
} | ||
|
||
export default CSSModules(LoadingBlock, styles) |
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,10 @@ | ||
.logining { | ||
position: fixed; | ||
top: 0; | ||
background: rgba(0, 0, 0, 0.7); | ||
z-index: 20000; | ||
width: 100vw; | ||
height: 100vh; | ||
overflow: hidden; | ||
} | ||
|
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,38 @@ | ||
.container { | ||
display: flex | ||
} | ||
|
||
.stat-item { | ||
flex: 1; | ||
text-align: center; | ||
margin-left: 5px | ||
} | ||
|
||
.stat-item:first-child { | ||
margin-left: 0 | ||
} | ||
|
||
.icon { | ||
font-size: 24px | ||
} | ||
|
||
.icon--good { | ||
composes: icon; | ||
/*color: green*/ | ||
} | ||
|
||
.icon--bad { | ||
composes: icon; | ||
/*color: red*/ | ||
} | ||
|
||
.icon--normal { | ||
composes: icon | ||
} | ||
|
||
.number { | ||
font-size: 20px; | ||
padding-top: 10px; | ||
padding-bottom: 10px; | ||
border-bottom: #101740 solid 2px | ||
} |
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,10 +0,0 @@ | ||
.logining { | ||
position: fixed; | ||
top: 0; | ||
background: rgba(0, 0, 0, 0.7); | ||
z-index: 20000; | ||
width: 100vw; | ||
height: 100vh; | ||
overflow: hidden; | ||
} | ||
|
||