MyCrypto/common/components/Footer/index.scss

174 lines
2.8 KiB
SCSS

@import 'common/sass/variables';
@import 'common/sass/mixins';
$footer-link-color: color(text-color-inverted);
.Footer {
background-color: color(footer-bg);
padding: $space-sm $space-sm 0;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
border-top: 3px solid color(footer-border);
&-section {
color: color(text-color-inverted);
padding: $space;
}
// Responsive ordering behavior
&-links {
order: 1;
text-align: left;
}
&-about {
order: 2;
text-align: center;
}
&-support {
order: 3;
text-align: right;
}
@media (max-width: 75rem) {
justify-content: center;
&-links {
text-align: center;
order: 2;
}
&-about {
order: 1;
width: 100%;
padding-bottom: $space * 2;
margin-bottom: $space * 2;
border-bottom: 1px solid color(gray-dark);
}
&-support {
text-align: center;
order: 3;
}
}
&-links {
&-social {
margin-bottom: $space;
margin-left: -$space-xs;
}
&-links {
a {
display: block;
font-size: $font-size-small;
color: $footer-link-color;
margin-bottom: $space-md;
}
}
}
&-about {
&-logo {
display: block;
width: 100%;
max-width: 245px;
margin: -$space-xs auto $space * 1.25;
text-align: center;
}
&-links {
margin-bottom: $space;
> a {
margin: 0 $space-md;
color: $footer-link-color;
font-size: $font-size-bump;
}
}
&-text {
font-size: $font-size-xs;
opacity: 0.8;
margin: 0 auto $space;
max-width: 530px;
}
&-legal {
font-size: $font-size-xs-bump;
margin-bottom: $space-md;
&-text {
display: inline-block;
margin: 0 $space-sm;
> a {
color: $footer-link-color;
}
}
}
}
&-support {
&-title {
margin: 0 0 $space-sm;
font-size: $font-size-base;
}
&-affiliates {
margin-bottom: $space-sm;
> a {
display: block;
font-size: $font-size-xs-bump;
margin-bottom: $space-xs;
color: $footer-link-color;
}
}
&-donate {
margin-bottom: $space-sm;
&-address {
font-size: 0.7rem;
opacity: 0.8;
}
}
&-friends {
> a {
display: inline-block;
font-size: $font-size-xs;
color: $footer-link-color;
&:after {
content: '·';
margin: 0 $space-sm;
}
&:last-child:after {
display: none;
}
}
}
}
}
.SocialMediaLink {
transition: opacity 0.3s;
color: $footer-link-color;
margin: 0.55rem;
> i {
font-size: 1.15rem;
}
&:hover,
&:focus {
opacity: 0.8;
color: $footer-link-color;
}
}