[Pkg-owncloud-commits] [owncloud] 20/172: Move vertical alignment of public layout to mobile. Refs #8140

David Prévot taffit at moszumanska.debian.org
Sun May 18 20:09:35 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 11300621ef1785428db65f6c3da68e1e92bf1b76
Author: jbtbnl <jbtbnl at users.noreply.github.com>
Date:   Sun May 4 16:24:01 2014 +0200

    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 c67ac3e..a10b9c4 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 2f67fa0..57e2c44 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;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list