mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
124 lines
1.8 KiB
SCSS
124 lines
1.8 KiB
SCSS
html,
|
|
body {
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
position: relative;
|
|
overflow: hidden;
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
word-wrap: break-word;
|
|
|
|
touch-action: manipulation;
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-drag: none;
|
|
-ms-content-zooming: none;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
font-smoothing: antialiased;
|
|
text-rendering: optimizeLegibility;
|
|
|
|
-webkit-text-size-adjust: none;
|
|
-moz-text-size-adjust: none;
|
|
text-size-adjust: none;
|
|
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
ion-app,
|
|
.ion-app {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
overflow: hidden;
|
|
height: 100%;
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
@-webkit-keyframes rotation {
|
|
from {
|
|
-webkit-transform: rotate(0deg);
|
|
}
|
|
to {
|
|
-webkit-transform: rotate(359deg);
|
|
}
|
|
}
|
|
@keyframes rotation {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
to {
|
|
transform: rotate(359deg);
|
|
}
|
|
}
|
|
ion-loading-icon {
|
|
display: flex;
|
|
align-self: center;
|
|
margin: auto;
|
|
|
|
font-family: 'Ionicons';
|
|
&:before {
|
|
content: "\f44e";
|
|
}
|
|
font-size: 128px;
|
|
color: #666666;
|
|
|
|
animation: rotation 45s infinite linear;
|
|
-webkit-animation: rotation 45s infinite linear;
|
|
|
|
}
|
|
|
|
ion-nav {
|
|
height: 100%;
|
|
}
|
|
|
|
ion-pane {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.nav-item {
|
|
display: none;
|
|
|
|
&.show-view {
|
|
display: flex;
|
|
}
|
|
}
|
|
|
|
.navbar-container {
|
|
position: relative;
|
|
min-height: 4.4rem;
|
|
}
|
|
|
|
.content-container {
|
|
position: relative;
|
|
flex: 1;
|
|
order: $flex-order-view-content;
|
|
}
|
|
|
|
ion-toolbar {
|
|
display: flex;
|
|
min-height: 4.4rem;
|
|
background: white;
|
|
}
|