-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some improvements in web application performance
Signed-off-by: Cintia Sanchez Garcia <[email protected]>
- Loading branch information
1 parent
68bc285
commit feb682e
Showing
45 changed files
with
326 additions
and
272 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
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,116 +1,18 @@ | ||
.wrapper { | ||
background-color: rgba(255, 255, 255, 0.25); | ||
background-color: rgba(255, 255, 255, 0.5); | ||
z-index: 100; | ||
} | ||
|
||
.transparentBg { | ||
background-color: transparent; | ||
} | ||
|
||
.wave { | ||
height: 50px; | ||
width: 50px; | ||
border-radius: 50%; | ||
display: inline-block; | ||
position: relative; | ||
.spinner { | ||
width: 3.5rem; | ||
height: 3.5rem; | ||
} | ||
|
||
.miniWave { | ||
height: 12px; | ||
width: 12px; | ||
} | ||
|
||
.wave:before, | ||
.wave:after { | ||
content: ''; | ||
border: 2px solid var(--light-blue); | ||
border-radius: 50%; | ||
width: 50px; | ||
height: 50px; | ||
position: absolute; | ||
left: 0px; | ||
right: 0px; | ||
} | ||
|
||
[data-theme='dark'] .wave:before, | ||
[data-theme='dark'] .wave:after { | ||
border-color: var(--light-blue); | ||
} | ||
|
||
.miniWave:before, | ||
.miniWave:after { | ||
width: 12px; | ||
height: 12px; | ||
border-width: 1px; | ||
} | ||
|
||
.wave:before { | ||
-webkit-transform: scale(1, 1); | ||
-ms-transform: scale(1, 1); | ||
transform: scale(1, 1); | ||
opacity: 1; | ||
-webkit-animation: spWaveBe 0.6s infinite linear; | ||
animation: spWaveBe 0.6s infinite linear; | ||
} | ||
|
||
.wave:after { | ||
-webkit-transform: scale(0, 0); | ||
-ms-transform: scale(0, 0); | ||
transform: scale(0, 0); | ||
opacity: 0; | ||
-webkit-animation: spWaveAf 0.6s infinite linear; | ||
animation: spWaveAf 0.6s infinite linear; | ||
} | ||
|
||
@-webkit-keyframes spWaveAf { | ||
from { | ||
-webkit-transform: scale(0.5, 0.5); | ||
transform: scale(0.5, 0.5); | ||
opacity: 0; | ||
} | ||
to { | ||
-webkit-transform: scale(1, 1); | ||
transform: scale(1, 1); | ||
opacity: 1; | ||
} | ||
} | ||
@keyframes spWaveAf { | ||
from { | ||
-webkit-transform: scale(0.5, 0.5); | ||
transform: scale(0.5, 0.5); | ||
-webkit-transform: scale(0.5, 0.5); | ||
transform: scale(0.5, 0.5); | ||
opacity: 0; | ||
} | ||
to { | ||
-webkit-transform: scale(1, 1); | ||
transform: scale(1, 1); | ||
-webkit-transform: scale(1, 1); | ||
transform: scale(1, 1); | ||
opacity: 1; | ||
} | ||
} | ||
@-webkit-keyframes spWaveBe { | ||
from { | ||
-webkit-transform: scale(1, 1); | ||
transform: scale(1, 1); | ||
opacity: 1; | ||
} | ||
to { | ||
-webkit-transform: scale(1.5, 1.5); | ||
transform: scale(1.5, 1.5); | ||
opacity: 0; | ||
} | ||
} | ||
@keyframes spWaveBe { | ||
from { | ||
-webkit-transform: scale(1, 1); | ||
transform: scale(1, 1); | ||
opacity: 1; | ||
} | ||
to { | ||
-webkit-transform: scale(1.5, 1.5); | ||
transform: scale(1.5, 1.5); | ||
opacity: 0; | ||
} | ||
.miniSpinner { | ||
width: 0.5rem; | ||
height: 0.5rem; | ||
} |
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
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
File renamed without changes.
3 changes: 2 additions & 1 deletion
3
...xplore/cardCategory/ButtonToTopScroll.tsx → ...layout/explore/card/ButtonToTopScroll.tsx
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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
web/src/layout/explore/cardCategory/Card.tsx → web/src/layout/explore/card/Card.tsx
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,3 @@ | ||
.loading { | ||
min-height: calc(100vh - 92px - 36px); | ||
} |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...layout/explore/cardCategory/CardTitle.tsx → web/src/layout/explore/card/CardTitle.tsx
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
File renamed without changes.
Oops, something went wrong.