Reworked login.less

This commit is contained in:
Thomas Gelf 2014-03-04 10:41:29 +00:00
parent 9ff78c0aa1
commit 9cdbec60ac

View File

@ -1,5 +1,9 @@
.login .logo { #login {
width: 100%;
height: 100%;
.logo {
background-color: #555; background-color: #555;
-moz-background-image: linear-gradient(to bottom, #333, #555); -moz-background-image: linear-gradient(to bottom, #333, #555);
-ms-background-image: linear-gradient(to bottom, #333, #555); -ms-background-image: linear-gradient(to bottom, #333, #555);
@ -15,7 +19,7 @@
text-align: center; text-align: center;
} }
.login .image { .image {
position: absolute; position: absolute;
bottom: 1em; bottom: 1em;
left: 0px; left: 0px;
@ -23,11 +27,11 @@
text-align: center; text-align: center;
} }
.login .image img { .image img {
width: 400px; width: 400px;
} }
.login .form { .form {
position: absolute; position: absolute;
font-size: 0.9em; font-size: 0.9em;
top: 42%; top: 42%;
@ -36,7 +40,7 @@
right: 0; right: 0;
} }
.login .form h1 { .form h1 {
text-align: left; text-align: left;
font-size: 1.5em; font-size: 1.5em;
margin-left: auto; margin-left: auto;
@ -45,23 +49,24 @@
color: @colorTextDefault; color: @colorTextDefault;
} }
.login .form label { .form label {
display: none; display: none;
} }
.login form { form {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
width: 20em; width: 20em;
} }
.login form input { form input {
width: 100%; width: 100%;
padding: 0.5em; padding: 0.5em;
} }
.login .footer { .footer {
font-size: 0.9em; font-size: 0.9em;
text-align: center; text-align: center;
} }
}