From 5b71d0b83435feb718b7e90b6b8a83e6ccbed7cb Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 1 Oct 2015 10:22:53 +0200 Subject: [PATCH] Also restore the login.less form prior #10009 --- public/css/icinga/login.less | 41 +++++++++++++++++++++++++++++++++--- 1 file changed, 38 insertions(+), 3 deletions(-) diff --git a/public/css/icinga/login.less b/public/css/icinga/login.less index aa69ba549..a24265e88 100644 --- a/public/css/icinga/login.less +++ b/public/css/icinga/login.less @@ -4,12 +4,47 @@ width: 100%; height: 100%; + .logo { + background-color: @colorPetrol; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 60%; + border-bottom: 1px solid #d9d9d9d; + text-align: center; + -webkit-box-shadow: 0 3px 7px -3px #000; + -moz-box-shadow: 0 3px 7px -3px #000; + box-shadow: 0 3px 7px -3px #000; + } + + .image { + position: absolute; + bottom: 1em; + left: 0px; + right: 0px; + text-align: center; + } + .error { margin-left:auto; margin-right:auto; } - .below-logo h1 { + .image img { + width: 375px; + } + + .form { + position: absolute; + font-size: 0.9em; + top: 45%; + left: 0; + bottom: 0; + right: 0; + } + + .form h1 { text-align: center; font-size: 1.5em; margin-left: 2.3em; @@ -18,7 +53,7 @@ font-variant: unset; } - .below-logo div.element { + .form div.element { margin: 0; ul.errors { @@ -26,7 +61,7 @@ } } - .below-logo label { + .form label { font-weight: normal; display: inline-block; line-height: 2.5em;