Repository URL to install this package:
|
Version:
8.0.0 ▾
|
.Footer {
padding: var(--space-5x) var(--space-3x) var(--space-10x) var(--space-3x);
& ul {
list-style-type: none;
margin: 0;
padding: 0;
& li {
display: inline;
}
}
}
.Footer-column {
display: flex;
flex-direction: column;
align-items: center;
}
.Footer-column > * {
width: 100%;
}
.Footer-row {
display: flex;
flex-direction: row;
justify-content: space-between;
}
.Footer-hr {
border-width: 1px 0 0 0;
border-style: solid;
margin: 0;
}
.Footer-primaryNav {
margin-top: var(--space-4x);
margin-bottom: 10px;
& .Link {
white-space: nowrap;
}
& ul {
& li {
&:not(:last-child):after {
content: '\16EB';
margin: 0 var(--space);
color: var(--color-neutral-500);
}
}
&:not(:last-child) {
margin-bottom: var(--space);
}
}
}
.Footer-secondaryNav {
font-size: 12px;
& li:not(:last-child) {
margin-right: var(--space-2x);
}
& .Link {
font-weight: var(--font-weight-medium);
white-space: nowrap;
}
& .Link-Button {
color: inherit;
background: none;
text-decoration: none;
cursor: pointer;
border: none;
font: inherit;
display: inline;
outline: none;
padding: 0;
&:hover, &:active {
text-decoration: underline;
}
}
}
.Footer-languageSocial {
display: flex;
}
.Footer-social {
display: flex;
flex-direction: row;
& .Link:not(:last-child) {
margin-right: var(--space-2x);
}
& .Link:hover path {
fill: var(--color-neutral-400);
}
& .Icon {
width: 37px;
height: 37px;
}
}
/* Theme colours */
.Footer--light {
background-color: transparent;
& .Footer-hr {
border-color: var(--color-brand-700);
}
& .Footer-primaryNav {
& .Link {
color: var(--color-brand-500);
}
}
& .Footer-secondaryNav {
& .Link {
color: var(--color-neutral-700);
}
}
& .Footer-social {
.Link:hover {
color: var(--color-brand-600);
}
.Icon path {
fill: currentColor;
}
}
}
.Footer--dark {
background-color: var(--color-brand-800);
& .Footer-hr {
border-color: var(--color-white);
}
& .Footer-primaryNav {
& .Link {
color: var(--color-white);
}
}
& .Footer-secondaryNav {
& .Link {
color: var(--color-neutral-300);
}
}
}
/* Responsive adaptions */
@media (--small-device) {
.Footer--narrow,
.Footer-primaryNav-wrapped {
display: block;
}
.Footer--wide,
.Footer-primaryNav-straight {
display: none;
}
.Footer-primaryNav {
margin-top: var(--space-4x);
margin-bottom: 0;
text-align: center;
}
.Footer-secondaryNav {
text-align: center;
}
.Footer-languageSocial {
flex-direction: row;
align-items: center;
justify-content: space-between;
margin-top: var(--space-4x);
margin-bottom: var(--space-4x);
}
.Footer-languageSocial-center {
justify-content: center;
}
.Footer-languageMenuWrapper {
margin-bottom: 0;
& .Button {
padding-right: 0;
}
}
}
@media (--medium-device) {
.Footer--narrow,
.Footer-primaryNav-straight {
display: none;
}
.Footer--wide,
.Footer-primaryNav-wrapped {
display: block;
}
.Footer-languageSocial {
flex-direction: column;
align-items: flex-end;
margin-top: var(--space-3x);
margin-bottom: 0;
}
.Footer-languageMenuWrapper {
margin-bottom: var(--space);
& .Button {
padding-right: 0;
}
}
}
@media (--large-device) {
.Footer--narrow,
.Footer-primaryNav-wrapped {
display: none;
}
.Footer--wide,
.Footer-primaryNav-straight {
display: block;
}
.Footer-languageSocial {
flex-direction: row;
align-items: center;
margin-top: var(--space-3x);
margin-bottom: 0;
}
.Footer-languageMenuWrapper {
margin-bottom: 0;
& .Button {
padding-right: var(--space-2x);
}
}
}