mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
63 lines
1015 B
SCSS
63 lines
1015 B
SCSS
html {
|
|
height: 100%;
|
|
}
|
|
|
|
[ion-app] {
|
|
@include flex-display();
|
|
@include flex-direction(row);
|
|
|
|
overflow: hidden;
|
|
height: 100%;
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
.pane {
|
|
position: relative;
|
|
height: 100%;
|
|
width: 100%;
|
|
|
|
@include flex-display();
|
|
@include flex-direction(column);
|
|
@include flex(1);
|
|
}
|
|
|
|
.pane > .pane-container.pane-shared {
|
|
position: absolute;
|
|
width: 100%;
|
|
}
|
|
|
|
.pane > .pane-container {
|
|
position: relative;
|
|
overflow: hidden;
|
|
|
|
@include flex-display();
|
|
@include flex-order(40);
|
|
@include flex(1);
|
|
@include flex-direction(column);
|
|
}
|
|
|
|
.pane-container > .pane {
|
|
position: absolute;
|
|
min-height: 100%;
|
|
}
|
|
|
|
.pane > .pane-container > .content {
|
|
position: relative;
|
|
z-index: $z-index-content;
|
|
@include flex(1);
|
|
}
|
|
|
|
.scroll-content {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
overflow-y: scroll;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
}
|