This repository has been archived by the owner on Dec 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
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
987f6ba
commit 1e4506d
Showing
9 changed files
with
144 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
module.exports = { | ||
extends: [ | ||
'stylelint-config-sass-guidelines', | ||
'stylelint-config-cmyr', | ||
], | ||
plugins: [ | ||
'stylelint-scss', | ||
'stylelint-order', | ||
], | ||
rules: { | ||
'scss/at-import-partial-extension-blacklist': null, | ||
'max-nesting-depth': null, | ||
'selector-max-compound-selectors': null | ||
}, | ||
} |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,92 @@ | ||
@import './index'; | ||
|
||
.loading { | ||
display: none; | ||
text-align: center; | ||
|
||
p { | ||
margin-top: 20px; | ||
} | ||
} | ||
|
||
$animation-time: 0.16s; | ||
|
||
.loadEffect { | ||
position: relative; | ||
width: 100px; | ||
height: 100px; | ||
margin: 0 auto; | ||
margin-top: 220px; | ||
|
||
span { | ||
position: absolute; | ||
display: inline-block; | ||
width: 16px; | ||
height: 16px; | ||
background: $haruka-primary; | ||
border-radius: 50%; | ||
animation: load $animation-time*8 ease infinite; | ||
} | ||
} | ||
|
||
@keyframes load { | ||
0% { | ||
opacity: 1; | ||
} | ||
|
||
100% { | ||
opacity: 0.2; | ||
} | ||
} | ||
|
||
.loadEffect span:nth-child(1) { | ||
top: 50%; | ||
left: 0; | ||
margin-top: -8px; | ||
animation-delay: $animation-time; | ||
} | ||
|
||
.loadEffect span:nth-child(2) { | ||
top: 14px; | ||
left: 14px; | ||
animation-delay: $animation-time*2; | ||
} | ||
|
||
.loadEffect span:nth-child(3) { | ||
top: 0; | ||
left: 50%; | ||
margin-left: -8px; | ||
animation-delay: $animation-time*3; | ||
} | ||
|
||
.loadEffect span:nth-child(4) { | ||
top: 14px; | ||
right: 14px; | ||
animation-delay: $animation-time*4; | ||
} | ||
|
||
.loadEffect span:nth-child(5) { | ||
top: 50%; | ||
right: 0; | ||
margin-top: -8px; | ||
animation-delay: $animation-time*5; | ||
} | ||
|
||
.loadEffect span:nth-child(6) { | ||
right: 14px; | ||
bottom: 14px; | ||
animation-delay: $animation-time*6; | ||
} | ||
|
||
.loadEffect span:nth-child(7) { | ||
bottom: 0; | ||
left: 50%; | ||
margin-left: -8px; | ||
animation-delay: $animation-time*7; | ||
} | ||
|
||
.loadEffect span:nth-child(8) { | ||
bottom: 14px; | ||
left: 14px; | ||
animation-delay: $animation-time*8; | ||
} |
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