/* ============================================ * * Footer * ============================================ */ /* -------------------------------------------- * * Footer */ .footer, .footer button { font-family: $f-stack-sans; } .footer, .sub-footer { max-width: $max-container-width-no-trim; border-top: 0px solid $c-module-border; padding-top: $trim; margin: auto; @include bp(max-width, $bp-xsmall) { padding-top: $trim-small; } .block-title { border-bottom: 0; padding: 3px 0; } .block-title strong { font-weight: normal; color: #444444; } .block-title, address { color: #555555; } .links { float: left; width: 22%; padding: 0 $trim 0 0; margin-bottom: $trim-small; li { word-break: break-all; line-height: 1; padding: 4px 0; } a { color: #555555; &:hover { color: #555555; } } } .block-subscribe { float: right; width: 320px; margin-bottom: $trim; } .links, .block-subscribe { text-transform: none; font-size: $f-size-xs; } .form-subscribe-header { display: none; } /* -------------------------------------------- * * Social icons */ .links.social-media em { background-image: url(../images/social_icons.png); background-repeat: no-repeat; width: 13px; vertical-align: middle; display: inline-block; margin-right: 7px; } @include if-min-resolution(2) { .links.social-media em { background-image: url(../images/social_icons@2x.png); background-size: 50px 125px; } } @mixin footer-social-icon($class, $y, $height: 13) { .links.social-media em.#{$class} { background-position: 0 -#{$y}px; height: #{$height}px; } .links.social-media a:hover em.#{$class} { background-position: -25px -#{$y}px; } } @include footer-social-icon(facebook, 0); @include footer-social-icon(twitter, 24); @include footer-social-icon(youtube, 49); @include footer-social-icon(pinterest, 74, 15); @include footer-social-icon(rss, 99); // --------------------------------------------- .block-subscribe .input-box { float: left; width: percentage(210px/320px); padding-top: 0; } .block-subscribe .input-text { width: 100%; border-right: 0; @include border-radius(0); } .block-subscribe .block-content { padding-top: 7px; &:after { @include clearfix; } } .block-subscribe .actions { float: left; width: percentage(110px/320px); margin: 0; } .block-subscribe .actions .button { height: 30px; line-height: 17px; float: left; } .bugs, address { clear: both; } .bugs { display: none; } .form-language, .currency-switcher, .store-switcher { clear: both; margin-bottom: $gap; } .form-language, .currency-switcher { display: none; } address { float: left; font-size: $f-size-xxs; color: #444444; } @include bp(max-width, $bp-xlarge) { $links-trim: percentage(40px / 980px); $links-width: (100 - ($links-trim * 3)) / 4; .links { width: $links-width; padding-right: 0; margin-right: $links-trim; } .links:nth-child(4) { margin-right: 0; } .block-subscribe { clear: both; /*float: none;*/ margin: 0 auto $trim auto; } } @include bp(max-width, $bp-medium) { .form-language, .currency-switcher { display: block; } } @include bp(max-width, $bp-small) { $links-trim: percentage(15px / 480px); $links-width: (100 - $links-trim) / 2; .links { width: $links-width; margin-right: 0; } .links:nth-child(odd) { margin-right: $links-trim; clear: both; } .block-subscribe { clear: both; float: left; width: 100%; } } }