mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
perf(app): move app css to global css
This commit is contained in:
@ -50,7 +50,42 @@ body {
|
||||
text-size-adjust: none;
|
||||
}
|
||||
|
||||
|
||||
// Page Container Structure
|
||||
// --------------------------------------------------
|
||||
|
||||
.ion-page {
|
||||
@include position(0, 0, 0, 0);
|
||||
|
||||
display: flex;
|
||||
position: absolute;
|
||||
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
|
||||
contain: layout size style;
|
||||
overflow: hidden;
|
||||
z-index: $z-index-page-container;
|
||||
}
|
||||
|
||||
ion-route,
|
||||
ion-route-redirect,
|
||||
ion-router,
|
||||
ion-animation-controller,
|
||||
ion-nav-controller,
|
||||
ion-menu-controller,
|
||||
ion-action-sheet-controller,
|
||||
ion-alert-controller,
|
||||
ion-loading-controller,
|
||||
ion-modal-controller,
|
||||
ion-picker-controller,
|
||||
ion-toast-controller,
|
||||
.ion-page-hidden,
|
||||
[hidden] {
|
||||
/* stylelint-disable-next-line declaration-no-important */
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.ion-page-invisible {
|
||||
opacity: 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user