feat(SW-3520): Updated the footer * feat(SW-3520): Updated links to route to scandic web * feat(SW-3520): Updated the footer with language switcher * feat(SW-3520): Updated the Contact-us link and removed double slash Approved-by: Anton Gunnarsson
162 lines
2.6 KiB
CSS
162 lines
2.6 KiB
CSS
.languageSwitcher {
|
|
.triggerButton {
|
|
gap: var(--Space-x1);
|
|
justify-content: flex-start;
|
|
width: 100%;
|
|
border: 0 none;
|
|
}
|
|
|
|
.triggerText {
|
|
align-items: center;
|
|
display: flex;
|
|
width: 100%;
|
|
color: var(--Text-sas-20);
|
|
}
|
|
|
|
&.header {
|
|
.triggerButton {
|
|
padding: var(--Space-x1);
|
|
}
|
|
.triggerText {
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
|
|
&.footer {
|
|
.triggerText,
|
|
.chevron {
|
|
color: var(--TEMP-sas-40);
|
|
}
|
|
.chevron {
|
|
margin: 1px 0 0 2px;
|
|
}
|
|
.globeIcon {
|
|
color: var(--TEMP-sas-40);
|
|
}
|
|
}
|
|
}
|
|
|
|
.languageSwitcherContent {
|
|
background: white;
|
|
gap: var(--Space-x3);
|
|
padding: 0 var(--Space-x2);
|
|
flex-direction: column;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
|
|
.arrowBack {
|
|
color: var(--TEMP-sas-40);
|
|
padding: var(--Space-x2) 0;
|
|
width: 100%;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
ul {
|
|
list-style: none;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.languageSwitcherListItem .link {
|
|
padding: var(--Space-x1);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border-radius: var(--Space-x1);
|
|
|
|
&.active {
|
|
background-color: var(--Surface-Primary-Hover);
|
|
}
|
|
}
|
|
|
|
.languageModalOverlay {
|
|
position: fixed;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.languageModal {
|
|
position: fixed;
|
|
top: calc(var(--main-menu-mobile-height) + var(--sitewide-alert-height));
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: white;
|
|
z-index: 1001;
|
|
|
|
.closeModal {
|
|
align-self: flex-end;
|
|
background-color: transparent;
|
|
color: var(--TEMP-sas-40);
|
|
gap: 0;
|
|
}
|
|
|
|
.closeIcon {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.footer .languageModal {
|
|
top: 0;
|
|
|
|
.languageSwitcherContent {
|
|
padding: 0;
|
|
|
|
.title,
|
|
.languageSwitcherListContainer {
|
|
padding: 0 var(--Space-x2);
|
|
}
|
|
}
|
|
.closeModalWrapper {
|
|
display: flex;
|
|
width: 100%;
|
|
padding: 0 var(--Space-x2);
|
|
border-bottom: 1px solid var(--SAS-90);
|
|
justify-content: flex-end;
|
|
}
|
|
.arrowBackIcon {
|
|
display: none;
|
|
}
|
|
.closeIcon {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
.languageSwitcher {
|
|
&.header {
|
|
.triggerText {
|
|
color: white;
|
|
}
|
|
|
|
.triggerButton {
|
|
color: white;
|
|
}
|
|
}
|
|
|
|
.triggerButton {
|
|
padding: 0;
|
|
}
|
|
|
|
.triggerButton:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.triggerButton[aria-expanded="true"] .chevron {
|
|
transform: rotate(180deg);
|
|
}
|
|
}
|
|
|
|
.languageSwitcherContent {
|
|
min-width: 200px;
|
|
border-radius: var(--Space-x15);
|
|
padding: var(--Space-x2) var(--Space-x3);
|
|
box-shadow: 0 0 14px 6px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.chevron {
|
|
transition: 0.3s;
|
|
}
|
|
}
|