Repository URL to install this package:
|
Version:
2.1.12 ▾
|
import { styled } from 'styleh-components'
import { Copyright } from '@skava/ui/dist/components/features/Copyright'
import { Label } from '@skava/ui/dist/components/atoms/Text'
import { LogoIcon } from '@skava/ui/dist/components/atoms/Icons/LogoIcon'
import { MultipleLinkList } from 'presets/MultipleLinkList'
import { StyledLink } from 'presets/SectionLinkList'
import { SectionListHeader } from 'presets/SectionList'
import {
SocialIconList,
IconLink,
} from '@skava/ui/dist/components/molecules/SocialIconList'
import { ItemPanel } from '@skava/ui/dist/components/molecules/List/styled'
import { Footer as FooterPlaceholder } from 'abstractions/Footer'
const StyledMobilePoweredByLabel = styled(Label) `
font-size: rem(10);
font-weight: normal;
margin: 0;
color: $colors-powered-by;
`
const StyledMobilePoweredByValue = styled(Label) `
font-size: rem(12);
font-weight: normal;
margin: 0;
margin-left: rem(4);
color: #badb2e;
`
const StyledPoweredByLabel = styled(Label) `
font-size: rem(14);
font-weight: normal;
margin: 0;
color: $colors-powered-by;
`
const StyledLogoIcon = styled(LogoIcon) `
width: rem(160);
height: rem(40);
g {
fill: white;
}
g #version {
fill: black;
}
`
const StyledPoweredByValue = styled(Label) `
font-size: rem(14);
font-weight: normal;
margin: 0;
color: #badb2e;
margin-top: 0.5rem;
padding-left: rem(10);
@media (max-width: 1024px) {
width: rem(270);
flex-wrap: wrap;
display: flex;
}
`
const StyledSocialIconList = styled(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(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(Label) `
font-size: rem(14);
color: $colors-footer-text;
display: flex;
justify-content: center;
margin-right: 0;
`
const StyledMultipleLinkList = styled(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(FooterPlaceholder) `
background-color: $colors-footer-bg;
`
export {
StyledMobilePoweredByLabel,
StyledMobilePoweredByValue,
StyledPoweredByLabel,
StyledPoweredByValue,
StyledLabel,
StyledLogoIcon,
StyledCopyRight,
StyledMultipleLinkList,
StyledSocialIconList,
StyledFooterPlaceholder,
}