$res .= '</footer>';\r
\r
$res .= '<footer class="legal">';\r
-$res .= $this->markupDotclear($this->option('footer'));\r
+\r
$res .= '<div class="locale-nav">';\r
$res .= $this->localeNavigation(true, CubeIT_View_Helper_LocaleNavigation::BIGRAMME);\r
$res .= '</div>'; // .locale-nav\r
\r
+$res .= $this->markupDotclear($this->option('footer'));\r
+\r
$res .= '</footer>'; // footer.legal\r
\r
echo $res;
\ No newline at end of file
@mobile-breakpoint: 1024px;
@desktop-min-width: 1200px;
@content-max-width: 1680px;
+@content-min-width: 320px;
// -- transition times
@transition-time-buttons: 200ms;
max-width: @content-max-width;
margin: 0 auto;
+ // Flexbox setup
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+ flex-wrap: wrap;
+
a {
color: #fff;
text-decoration: none;
background-color: @color-footer-bg-primary;
padding: 75px 85px 75px 42px;
- // Flexbox setup
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- flex-wrap: wrap;
+ @media @m1024 {
+ padding: 40px;
+ }
+ @media @m900 {
+ justify-content: flex-start;
+ }
+ @media @m768 {
+ padding: 30px;
+ }
// Footer containers
& > div {
.contact-details {
flex-grow: 4; // Increase space bias for this block
+
+ img {
+ max-width: 100%;
+ height: auto;
+ }
+
+ @media @m900 {
+ flex-basis: 100%;
+ }
}
address {
.footer-social {
text-align: center;
+
+ @media @m1280 {
+ order: 5; // Send to end
+ flex-basis: 100%;
+ margin-top: 20px;
+ padding: 0 0 0 40px;
+ text-align: left;
+ }
}
.social-link {
.workshop {
text-align: right;
+
+ @media @m1024 {
+ flex-basis: 100%;
+ margin-top: 20px;
+ padding-left: 40px;
+ text-align: left;
+ }
}
.workshop-link {
.rounded-button();
.border-button(#fff, #fff);
- .longarrow-button(20px, 65px, 19px);
+ .longarrow-button(20px, 62px, 19px);
border-radius: 26px;
text-transform: uppercase;
font-size: 12px;
+
+ @media @m1280 {
+ .longarrow-button(20px, 30px, 13px, 2px);
+ }
+ @media @m1024 {
+ .longarrow-button(20px, 54px, 16px, 0);
+ }
}
}
line-height: 32/14;
flex-grow: 2;
+ @media @m900 {
+ padding-left: 40px;
+ padding-right: 0;
+ flex-grow: 0 !important;
+ margin-top: 20px;
+ }
+
.menu-title {
text-transform: uppercase;
font-family: @montserrat;
footer.legal {
background-color: @color-footer-bg-secondary;
color: #5c6268;
- padding: 40px 85px;
+ padding: 20px 85px;
font-size: 14px;
position: relative;
+ align-items: center;
+ flex-wrap: nowrap;
+
+ @media @m900 {
+ padding-right: 45px;
+ }
+ @media @m768 {
+ padding-left: 70px;
+ }
+ @media @m640 {
+ flex-wrap: wrap;
+ }
}
.locale-nav {
- position: absolute;
- top: 21px;
- right: 85px;
+ text-align: right;
+ order: 2;
+ white-space: nowrap;
+ padding-left: 30px;
+
+ @media @m640 {
+ order: 0; // back to source order
+ padding-left: 0;
+ padding-bottom: 20px;
+ text-align: left;
+ }
a {
display: inline-block;