mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
that whole nav overhaul thing again
This commit is contained in:
@@ -4,11 +4,11 @@
|
||||
|
||||
|
||||
// the rock that everything orders around
|
||||
$flex-order-view-content: 40 !default;
|
||||
$flex-order-view-content: 0 !default;
|
||||
|
||||
|
||||
$flex-order-toolbar-top: 20 !default;
|
||||
$flex-order-toolbar-bottom: 60 !default;
|
||||
$flex-order-toolbar-top: -10 !default;
|
||||
$flex-order-toolbar-bottom: 10 !default;
|
||||
|
||||
|
||||
$flex-order-tab-bar-top: 30 !default;
|
||||
|
||||
@@ -33,6 +33,32 @@ ion-nav {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.navbar-container {
|
||||
position: relative;
|
||||
min-height: 4.4rem;
|
||||
}
|
||||
|
||||
.content-container {
|
||||
position: relative;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
ion-navbar {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 4.4rem;
|
||||
order: $flex-order-toolbar-top;
|
||||
|
||||
display: none;
|
||||
&.show-navbar {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
||||
ion-view {
|
||||
@@ -55,15 +81,7 @@ ion-view {
|
||||
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;
|
||||
background: white;
|
||||
}
|
||||
|
||||
ion-content {
|
||||
|
||||
Reference in New Issue
Block a user