mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
feat(loading): add loading indicator component and styles
this is the initial commit - still needs work references #5426
This commit is contained in:
35
ionic/components/loading/loading.scss
Normal file
35
ionic/components/loading/loading.scss
Normal file
@@ -0,0 +1,35 @@
|
||||
@import "../../globals.core";
|
||||
|
||||
// Loading Indicator
|
||||
// --------------------------------------------------
|
||||
|
||||
|
||||
ion-loading {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: $z-index-overlay;
|
||||
|
||||
display: flex;
|
||||
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.loading-wrapper {
|
||||
z-index: $z-index-overlay-wrapper;
|
||||
display: flex;
|
||||
|
||||
align-items: center;
|
||||
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
// Loading Backdrop
|
||||
// -----------------------------------------
|
||||
|
||||
.hide-backdrop {
|
||||
display: none;
|
||||
}
|
||||
Reference in New Issue
Block a user