diff --git a/src/vue-components/layout/Layout.vue b/src/vue-components/layout/Layout.vue index 194b73e6dd2..4d9a493bc09 100644 --- a/src/vue-components/layout/Layout.vue +++ b/src/vue-components/layout/Layout.vue @@ -2,7 +2,7 @@
- +
@@ -10,20 +10,12 @@
diff --git a/src/vue-components/layout/layout.ios.styl b/src/vue-components/layout/layout.ios.styl index 8efa8310d4f..2142571c514 100644 --- a/src/vue-components/layout/layout.ios.styl +++ b/src/vue-components/layout/layout.ios.styl @@ -1,4 +1,3 @@ -$layout-navbar-order ?= 9 $layout-border ?= 1px solid $toolbar-faded-color $layout-toolbar-min-height ?= 50px $toolbar-title-font-size ?= 1.2rem @@ -14,21 +13,13 @@ $toolbar-title-font-size ?= 1.2rem display flex flex-direction column - > .q-tabs - z-index $z-marginals - order $layout-navbar-order - border-top $layout-border - border-radius 0 !important - -.layout-header - order -10 - .toolbar - border-bottom $layout-border +.layout-header > .toolbar + border-bottom $layout-border + &:first-child + align-items end -.layout-footer - order 10 - .toolbar - border-top $layout-border +.layout-footer > .toolbar + border-top $layout-border body.desktop .layout-header, .layout-footer @@ -50,8 +41,6 @@ body.desktop .layout-header, .layout-footer color $toolbar-color background $toolbar-background - -.layout-header, .layout-footer z-index $z-marginals .toolbar @@ -145,6 +134,11 @@ body.desktop > div text-align right +body.cordova .layout-header > .toolbar:first-child + padding-top 20px + .toolbar-title + padding-top 20px + .layout-padding @media only screen and (max-width $layout-small-max) padding 1.5rem .5rem diff --git a/src/vue-components/layout/layout.mat.styl b/src/vue-components/layout/layout.mat.styl index 94e2baa4446..3d5e7c1dd0d 100644 --- a/src/vue-components/layout/layout.mat.styl +++ b/src/vue-components/layout/layout.mat.styl @@ -1,4 +1,3 @@ -$layout-navbar-order ?= -9 $layout-toolbar-min-height ?= 56px $layout-header-shadow ?= $shadow-2 $layout-footer-shadow ?= $shadow-up-2 @@ -16,16 +15,12 @@ $toolbar-title-font-size ?= 1.25rem flex-direction column > .q-tabs - z-index $z-marginals - order $layout-navbar-order border-radius 0 !important .layout-header - order -10 box-shadow $layout-header-shadow .layout-footer - order 10 box-shadow $layout-footer-shadow body.desktop @@ -48,8 +43,6 @@ body.desktop .layout-header, .layout-footer color $toolbar-color background $toolbar-background - -.layout-header, .layout-footer z-index $z-marginals .toolbar