CSS: IE9 users can now enjoy the login view in all of its beauty, too

This commit is contained in:
Florian Strohmaier 2017-11-15 15:12:10 +01:00 committed by Eric Lippmann
parent 1881b96235
commit 57c1bba58d
2 changed files with 36 additions and 0 deletions

View File

@ -142,6 +142,7 @@
a {
display: block;
text-decoration: none;
-webkit-transform: scale(1, 1);
-moz-transform: scale(1, 1);
-ms-transform: scale(1, 1);

View File

@ -98,6 +98,41 @@
}
}
#layout.wide-layout {
.login-wrapper {
// use as centered-ghost
text-align: center;
vertical-align: middle;
letter-spacing: -.417em;
}
// use as centered-ghost
.login-wrapper:before {
content: "";
display: inline-block;
height: 100%;
vertical-align: middle;
}
// use as centered-ghost
.login-wrapper > * {
letter-spacing: normal;
}
.login-form {
// use as centered-content
display: inline-block;
vertical-align: middle;
// Style as box
width: 30em;
margin: 0;
border-radius: 1em;
height: auto;
padding: 12.5em 0 4em 0;
}
}
// Dashboard