mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-23 02:19:07 +01:00
login / recover password forms: make CSS responsive
This commit is contained in:
parent
030b1c45f9
commit
84b14c0e5b
2 changed files with 70 additions and 0 deletions
|
@ -65,3 +65,38 @@ a.LSsession_recoverPassword {
|
|||
.LSsession_recoverPassword_hidden {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
@media (max-width: 30em) {
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#loginform_logo {
|
||||
margin: 1em;
|
||||
}
|
||||
|
||||
div.loginform {
|
||||
width: 98vw;
|
||||
max-width: none;
|
||||
padding: 1vw;
|
||||
box-sizing: border-box;
|
||||
margin: 1vw;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.loginform dt {
|
||||
position: initial;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.loginform dd {
|
||||
margin-left: 0;
|
||||
margin-bottom: 0.5em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
a.LSsession_recoverPassword {
|
||||
float: none;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -58,3 +58,38 @@ dl.recoverpasswordform {
|
|||
color: #4096b8;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@media (max-width: 30em) {
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
div.recoverpasswordform {
|
||||
width: 98vw;
|
||||
max-width: none;
|
||||
padding: 1vw;
|
||||
box-sizing: border-box;
|
||||
margin: 1vw;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#recoverpasswordform_logo {
|
||||
margin: 1em;
|
||||
}
|
||||
|
||||
.recoverpasswordform dt {
|
||||
position: initial;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.recoverpasswordform dd {
|
||||
margin-left: 0;
|
||||
margin-bottom: 0.5em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#recoverpassword_back {
|
||||
float: none;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue