idp,portail: bit of responsiveness (#5910)

This commit is contained in:
Frédéric Péters 2015-01-09 10:00:45 +01:00
parent 99314bd6b8
commit ab3bcfe1d7
2 changed files with 78 additions and 0 deletions

View File

@ -950,6 +950,10 @@ ul.account-management li {
div#welcome p {
display: none;
}
div#welcome div.login-actions p,
div#welcome div.msp p {
display: block;
}
div#welcome h2 {
text-align: left;
}

View File

@ -890,3 +890,77 @@ ul.demarches-agglo li:first-child {
font-weight: bold;
border-left: 5px solid #F68423;
}
@media screen and (max-width: 760px) {
div#main-content-wrapper {
width: auto;
margin-top: 0;
}
div#header {
margin: 0;
}
div#top {
margin: 0;
width: auto;
}
#toplinks {
float: none;
margin: 0 auto;
}
#menu {
margin-top: 180px;
}
#menu ul {
margin-top: 45px;
}
#menu li,
#menu li.has-children {
display: block;
width: auto;
margin-left: 10px;
margin-bottom: 5px;
}
.region-header {
width: 100%;
}
div#agglolinks,
ul#footer-menu,
div#welcome p {
display: none;
}
div#welcome div.login-actions p,
div#welcome div.msp p {
display: block;
}
div#welcome h2 {
text-align: left;
}
div.login-actions {
margin-left: 10px;
}
body.narrow-page div.right {
width: auto;
}
body.narrow-page div.right form input {
display: inline-block;
margin: 0;
margin-right: 1em;
}
body.narrow-page div.right form div label {
float: none;
}
body.narrow-page div.right form div input {
width: 95%;
}
body.narrow-page div.right form button {
display: none;
}
div#footer {
width: auto;
height: 50px;
}
div#left, div#right {
width: auto;
float: none;
}
}