From 11300621ef1785428db65f6c3da68e1e92bf1b76 Mon Sep 17 00:00:00 2001 From: jbtbnl Date: Sun, 4 May 2014 16:24:01 +0200 Subject: [PATCH] Move vertical alignment of public layout to mobile. Refs #8140 --- core/css/mobile.css | 21 +++++++++++++++++++++ core/css/styles.css | 17 +---------------- 2 files changed, 22 insertions(+), 16 deletions(-) diff --git a/core/css/mobile.css b/core/css/mobile.css index c67ac3e5ec..a10b9c486d 100644 --- a/core/css/mobile.css +++ b/core/css/mobile.css @@ -1,5 +1,26 @@ @media only screen and (max-width: 768px) { +#body-login #header { + padding-top: 10px; +} + +#body-login .wrapper { + display: -webkit-box; + -webkit-box-orient: horizontal; + -webkit-box-pack: center; + -webkit-box-align: center; + + display: -moz-box; + -moz-box-orient: horizontal; + -moz-box-pack: center; + -moz-box-align: center; + + display: box; + box-orient: horizontal; + box-pack: center; + box-align: center; +} + /* show caret indicator next to logo to make clear it is tappable */ #owncloud.menutoggle { background-image: url('../img/actions/caret.svg'); diff --git a/core/css/styles.css b/core/css/styles.css index 2f67fa07c8..57e2c4479a 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -327,7 +327,7 @@ input[type="submit"].enabled { /* Some whitespace to the top */ #body-login #header { - padding-top: 10px; + padding-top: 100px; } /* Fix background gradient */ #body-login { @@ -637,21 +637,6 @@ label.infield { cursor:text !important; top:1.05em; left:.85em; } min-height: 100%; margin: 0 auto -70px; width: 300px; - - display: -webkit-box; - -webkit-box-orient: horizontal; - -webkit-box-pack: center; - -webkit-box-align: center; - - display: -moz-box; - -moz-box-orient: horizontal; - -moz-box-pack: center; - -moz-box-align: center; - - display: box; - box-orient: horizontal; - box-pack: center; - box-align: center; } #body-login footer, #body-login .push { height: 70px;