|
|
@@ -56,68 +56,82 @@ $footer-width-delta: 320px;
|
|
|
}
|
|
|
|
|
|
footer.site-footer {
|
|
|
+ --link-color: var(--link-web);
|
|
|
+ --link-hover-color: var(--link-web-hover);
|
|
|
+ --link-visited-color: var(--link-web-visited);
|
|
|
+ --link-text-decoration: none;
|
|
|
+ --link-hover-text-decoration: underline;
|
|
|
+
|
|
|
background-color: var(--bg-light-primary);
|
|
|
border-top: 1px solid var(--border-primary-dark);
|
|
|
- position: absolute;
|
|
|
- bottom: 0;
|
|
|
- width: 100%;
|
|
|
|
|
|
@include body-sm;
|
|
|
|
|
|
- height: $footer-height;
|
|
|
+ min-height: $thin-footer-height;
|
|
|
+ line-height: $thin-footer-height - 1; // Hack — in Chrome, using the full $footer-height would generate vertical scrolling
|
|
|
|
|
|
- ul {
|
|
|
+ ul.site-footer-items {
|
|
|
list-style: none;
|
|
|
- margin: var(--spacing-00);
|
|
|
+ margin: 0;
|
|
|
|
|
|
- li {
|
|
|
+ > li {
|
|
|
display: inline-block;
|
|
|
- margin: var(--spacing-07) var(--spacing-04);
|
|
|
+ margin: 0 var(--spacing-04);
|
|
|
}
|
|
|
|
|
|
i {
|
|
|
font-size: var(--font-size-05);
|
|
|
}
|
|
|
}
|
|
|
+}
|
|
|
|
|
|
- li.lng-option {
|
|
|
- text-align: left;
|
|
|
- display: list-item;
|
|
|
+.site-footer-content {
|
|
|
+ @extend .container-fluid;
|
|
|
+}
|
|
|
|
|
|
- img {
|
|
|
- vertical-align: text-bottom;
|
|
|
- }
|
|
|
+.sprite-icon-lang {
|
|
|
+ display: inline-block;
|
|
|
+ vertical-align: middle;
|
|
|
+}
|
|
|
|
|
|
- a:hover,
|
|
|
- a:focus {
|
|
|
- color: var(--content-primary-dark);
|
|
|
+#language-picker-toggle {
|
|
|
+ text-decoration: none;
|
|
|
+ cursor: pointer;
|
|
|
|
|
|
- &:visited {
|
|
|
- color: var(--content-primary-dark);
|
|
|
- }
|
|
|
- }
|
|
|
+ &::after {
|
|
|
+ display: none;
|
|
|
}
|
|
|
|
|
|
- a {
|
|
|
- color: var(--content-secondary-dark);
|
|
|
-
|
|
|
- &:hover,
|
|
|
- &:focus {
|
|
|
- color: var(--content-secondary-dark);
|
|
|
+ &:hover {
|
|
|
+ .language-picker-text {
|
|
|
+ text-decoration: var(--link-hover-text-decoration);
|
|
|
}
|
|
|
}
|
|
|
-}
|
|
|
|
|
|
-.site-footer-content {
|
|
|
- @extend .container-fluid;
|
|
|
+ .material-symbols {
|
|
|
+ vertical-align: -0.1875rem;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
-.sprite-icon-lang {
|
|
|
- display: inline-block;
|
|
|
- vertical-align: middle;
|
|
|
+.language-picker .dropdown-menu {
|
|
|
+ .dropdown-item {
|
|
|
+ &.active {
|
|
|
+ color: var(--green-70);
|
|
|
+ }
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ text-decoration: none;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.fat-footer {
|
|
|
+ --link-color: var(--content-secondary-dark);
|
|
|
+ --link-hover-color: var(--content-secondary-dark);
|
|
|
+ --link-visited-color: var(--content-secondary-dark);
|
|
|
+ --link-text-decoration: none;
|
|
|
+ --link-hover-text-decoration: underline;
|
|
|
+
|
|
|
container-name: fatfooter;
|
|
|
container-type: inline-size;
|
|
|
background: var(--bg-dark-primary);
|
|
|
@@ -133,20 +147,6 @@ footer.site-footer {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- a {
|
|
|
- color: var(--content-secondary-dark);
|
|
|
- text-decoration: none;
|
|
|
-
|
|
|
- &:hover {
|
|
|
- color: var(--content-secondary-dark);
|
|
|
- text-decoration: underline;
|
|
|
- }
|
|
|
-
|
|
|
- &:visited {
|
|
|
- color: var(--content-secondary-dark);
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
.footer-brand-container {
|
|
|
flex: 1;
|
|
|
}
|
|
|
@@ -196,16 +196,6 @@ footer.site-footer {
|
|
|
|
|
|
#language-picker-toggle {
|
|
|
color: var(--content-secondary-dark);
|
|
|
- cursor: pointer;
|
|
|
- text-decoration: none;
|
|
|
-
|
|
|
- &::after {
|
|
|
- display: none;
|
|
|
- }
|
|
|
-
|
|
|
- &:hover {
|
|
|
- text-decoration: underline;
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
.fat-footer-base-meta a:not(.dropdown-toggle) {
|
|
|
@@ -216,16 +206,6 @@ footer.site-footer {
|
|
|
.dropdown-header {
|
|
|
display: none; /* hiding rather than removing as still needed in the thin footer */
|
|
|
}
|
|
|
-
|
|
|
- .dropdown-item {
|
|
|
- &.active {
|
|
|
- color: var(--green-70);
|
|
|
- }
|
|
|
-
|
|
|
- &:hover {
|
|
|
- text-decoration: none;
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -406,17 +386,13 @@ footer.site-footer {
|
|
|
}
|
|
|
|
|
|
&.fat-footer {
|
|
|
+ --link-color: var(--content-primary);
|
|
|
+ --link-hover-color: var(--content-primary);
|
|
|
+ --link-visited-color: var(--content-primary);
|
|
|
+
|
|
|
background: var(--content-primary-dark);
|
|
|
color: var(--content-primary);
|
|
|
|
|
|
- a {
|
|
|
- color: var(--content-primary);
|
|
|
-
|
|
|
- &:visited {
|
|
|
- color: var(--content-primary);
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
.footer-section-heading {
|
|
|
color: var(--content-primary);
|
|
|
}
|