demarches-normaliennes/app/assets/stylesheets/new_footer.scss

138 lines
2 KiB
SCSS
Raw Normal View History

@import "colors";
2017-04-04 14:37:37 +02:00
@import "constants";
@import "mixins";
@import "placeholders";
2017-07-17 12:26:48 +02:00
footer {
2017-04-04 14:37:37 +02:00
background-color: $light-grey;
border-top: 1px solid $border-grey;
2017-07-17 14:52:09 +02:00
bottom: 0;
width: 100%;
2017-04-04 14:37:37 +02:00
}
.landing-footer {
@include vertical-padding(72px);
}
.procedure-footer {
2018-09-11 16:28:08 +02:00
@include vertical-padding(30px);
line-height: 24px;
}
2017-04-04 14:37:37 +02:00
.footer-columns {
@extend %horizontal-list;
justify-content: flex-start;
margin: 0 -15px;
2017-04-04 14:37:37 +02:00
}
.footer-column {
@extend %horizontal-list-item;
font-size: 14px;
vertical-align: top;
flex-grow: 1;
min-width: 280px;
margin: 0 20px;
2018-09-11 16:30:54 +02:00
margin-bottom: 30px;
2018-09-11 16:30:54 +02:00
@media (max-width: 550px) {
width: 100%;
}
2017-04-04 14:37:37 +02:00
}
.footer-logos,
.footer-links {
list-style-type: none;
padding: 0;
margin: 0;
}
.footer-header {
font-size: 14px;
font-weight: bold;
margin-bottom: 10px;
}
2017-04-04 14:37:37 +02:00
.footer-link {
margin-bottom: 14px;
&:last-of-type {
margin-bottom: 0;
}
}
2018-02-28 15:31:01 +01:00
.footer-text {
margin-bottom: 14px;
}
2017-04-04 14:37:37 +02:00
.footer-logo:hover {
opacity: 0.8;
}
.footer-logo-dinum {
@include ie-compatible-background-image("footer/logo-dinum.png");
2017-12-04 11:29:22 +01:00
height: 150px;
width: 202px;
2018-02-26 17:36:08 +01:00
margin-bottom: 14px;
}
2018-02-28 15:31:01 +01:00
.footer-logo-beta-gouv-fr {
@include ie-compatible-background-image("footer/logo-beta-gouv-fr.svg");
2018-02-26 17:36:08 +01:00
2018-02-28 15:31:01 +01:00
width: 150px;
height: 25px;
2017-04-04 14:37:37 +02:00
}
2020-05-14 11:14:35 +02:00
.footer-logo-france {
@include ie-compatible-background-image("republique-francaise-logo.svg");
width: 105px;
height: 90px;
}
2018-02-28 15:31:01 +01:00
.footer-link a,
.footer-text a {
2017-04-04 14:37:37 +02:00
color: $black;
text-decoration: none;
&:hover,
&:focus {
color: $blue-france-700;
2017-04-04 14:37:37 +02:00
text-decoration: none;
}
}
.footer-bottom-line {
text-align: center;
font-size: small;
2018-09-11 16:30:54 +02:00
@media (max-width: 550px) {
text-align: left;
}
}
.footer-row {
margin-bottom: 30px;
// In this case, the bottom margin is defined directly on each individual column
&.footer-columns {
margin-bottom: 0;
}
}
.footer-site-links {
li {
display: inline;
&::before {
content: "-";
margin: $default-spacer;
}
&:first-child::before {
content: none;
}
}
}