From b6ee903768f21884490d499c004b0869add3a577 Mon Sep 17 00:00:00 2001 From: Alexander Fuhr Date: Tue, 2 Dec 2014 10:15:35 +0100 Subject: [PATCH] Fix the login form to be really responsive refs #7792 fixes #7792 --- public/css/icinga/layout-structure.less | 34 +++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/public/css/icinga/layout-structure.less b/public/css/icinga/layout-structure.less index 201f5c88a..5c6d67dae 100644 --- a/public/css/icinga/layout-structure.less +++ b/public/css/icinga/layout-structure.less @@ -257,6 +257,40 @@ html { #main { left: 0; } + + #login { + .logo .image img { + width: 70%; + } + .form { + width: 100%; + margin: auto; + } + .form label { + width: 100%; + margin: 0; + text-align: center; + display: inline-block; + } + .footer { + margin-left: 0; + } + h1 { + margin-left: 0px; + text-align: center; + } + form { + width: 100%; + margin: 0; + } + form input { + margin: auto; + display: block; + } + form input[type=submit] { + margin-top: 1.5em; + } + } }