Files
2015-05-27 11:54:59 -05:00

86 lines
1.2 KiB
SCSS

html,
body {
height: 100%;
}
body {
position: relative;
overflow: hidden;
max-width: 100%;
max-height: 100%;
margin: 0;
padding: 0;
}
ion-app {
display: flex;
flex-direction: column;
overflow: hidden;
height: 100%;
max-width: 100%;
max-height: 100%;
margin: 0;
padding: 0;
}
ion-nav {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
}
ion-view {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
// by default this is display: none;
// and the transition animation will display it
display: none;
flex-direction: column;
&.show-view {
display: flex;
}
}
ion-toolbar {
display: flex;
min-height: 4.4rem;
order: $flex-order-toolbar-top;
}
.stage-off {
transform: translateX(9999px);
}
ion-toolbar[footer] {
order: $flex-order-toolbar-bottom;
}
ion-content {
position: relative;
display: block;
flex: 1;
order: $flex-order-view-content;
}
.scroll-content {
// extra div added by ion-content directive to allow for overflow scrolling
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
}