Repository URL to install this package:
|
Version:
2.8.0-studio-release ▾
|
import { styled } from 'styleh-components'
import { Copyright } from 'features/Copyright'
import { Label } from 'atoms/Text'
import { LogoIcon } from 'atoms/Icons/LogoIcon'
import { MultipleLinkList } from 'presets/MultipleLinkList'
import { StyledLink } from 'presets/SectionLinkList'
import { SectionListHeader } from 'presets/SectionList'
import { SocialIconList, IconLink } from 'molecules/SocialIconList'
import { ItemPanel } from 'molecules/List/styled'
import { Footer as FooterPlaceholder } from 'abstractions/Footer'
const StyledMobilePoweredByLabel = styled.withComponent(Label) `
font-size: rem(10);
font-weight: normal;
margin: 0;
color: $colors-powered-by;
`
const StyledMobilePoweredByValue = styled.withComponent(Label) `
font-size: rem(12);
font-weight: normal;
margin: 0;
margin-left: rem(4);
color: $colors-powered-by;
`
const StyledPoweredByLabel = styled.withComponent(Label) `
font-size: rem(14);
font-weight: normal;
margin: 0;
color: $colors-powered-by;
`
const StyledLogoIcon = styled.withComponent(LogoIcon) `
transform: scale(0.8, 0.8);
transform-origin: top left;
g #logo {
fill: white;
}
g #version {
fill: black;
}
`
const StyledPoweredByValue = styled.withComponent(Label) `
font-size: rem(18);
font-weight: normal;
margin: 0;
color: $colors-powered-by;
`
const StyledSocialIconList = styled.withComponent(SocialIconList) `
padding: 0;
li:first-child {
margin-left: 0;
}
li {
margin-left: rem(24.5);
}
${IconLink} {
width: rem(16);
height: rem(16);
padding: 0;
margin-left: 0;
margin-right: 0;
}
`
const StyledCopyRight = styled.withComponent(Copyright) `
font-size: rem(14);
color: $colors-footer-text;
@media (max-width: 768px) {
font-size: rem(12);
display: inline-flex;
flex: none;
}
`
const StyledLabel = styled.withComponent(Label) `
font-size: rem(14);
color: $colors-footer-text;
display: flex;
justify-content: center;
margin-right: 0;
`
const StyledMultipleLinkList = styled.withComponent(MultipleLinkList) `
color: $colors-footer-text;
width: 100%;
${ItemPanel} {
padding: 0;
padding-bottom: rem(8);
&:last-child {
padding-bottom: 0;
}
}
${StyledLink} {
color: inherit;
text-decoration: none;
font-size: rem(14);
}
${SectionListHeader} {
font-size: rem(16);
font-weight: 500;
}
`
const StyledFooterPlaceholder = styled.withComponent(FooterPlaceholder) `
background-color: $colors-footer-bg;
`
export {
StyledMobilePoweredByLabel,
StyledMobilePoweredByValue,
StyledPoweredByLabel,
StyledPoweredByValue,
StyledLabel,
StyledLogoIcon,
StyledCopyRight,
StyledMultipleLinkList,
StyledSocialIconList,
StyledFooterPlaceholder,
}