2022-05-21 17:47:26 +08:00
|
|
|
// Footer Section
|
|
|
|
// --------------------------------------------------
|
|
|
|
.footer {
|
|
|
|
color: $grey-dark;
|
|
|
|
font-size: $font-size-small;
|
|
|
|
padding: 20px 0;
|
|
|
|
|
|
|
|
&.footer-fixed {
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Flexbox layout makes it possible to reorder the child
|
|
|
|
// elements of .footer-inner through the `order` CSS property
|
|
|
|
.footer-inner {
|
|
|
|
box-sizing: border-box;
|
|
|
|
text-align: center;
|
|
|
|
@include flex-column();
|
|
|
|
@include main-container();
|
2022-06-12 14:54:12 +08:00
|
|
|
|
2022-06-18 19:53:09 +08:00
|
|
|
@include mobile() {
|
|
|
|
font-size: $font-size-smaller;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include mobile-small() {
|
|
|
|
font-size: $font-size-smallest;
|
|
|
|
}
|
|
|
|
|
2025-01-24 21:47:06 +08:00
|
|
|
.i18n-translate {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
font-size: $font-size-largest;
|
|
|
|
margin: auto 0;
|
|
|
|
line-height: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lang-select, .lang-options {
|
|
|
|
|
|
|
|
.flag-icon {
|
|
|
|
background-size: cover;
|
|
|
|
width: 30px;
|
|
|
|
height: 20px;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flag-icon-zh-cn {
|
2025-01-29 21:29:33 +08:00
|
|
|
background-image: url("/imgs/flags/zh-cn.svg");
|
2025-01-24 21:47:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.flag-icon-en-us {
|
2025-01-29 21:29:33 +08:00
|
|
|
background-image: url("/imgs/flags/en-us.svg");
|
2025-01-24 21:47:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.flag-icon-fr-fr {
|
2025-01-29 21:29:33 +08:00
|
|
|
background-image: url("/imgs/flags/fr-fr.svg");
|
2025-01-24 21:47:06 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.lang-select {
|
|
|
|
|
|
|
|
.flag-icon {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.lang-select {
|
|
|
|
margin-left: 16px;
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
line-height: 1.25;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
font-size: $font-size-large;
|
|
|
|
}
|
|
|
|
|
|
|
|
.selected-option {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
cursor: pointer;
|
|
|
|
padding: 5px;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
border-radius: 4px;
|
|
|
|
justify-content: center;
|
|
|
|
width: 140px;
|
|
|
|
|
|
|
|
/* &:hover {
|
|
|
|
+ .lang-options {
|
|
|
|
display: block;
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
} */
|
|
|
|
|
|
|
|
.selected-language {
|
|
|
|
margin: 0 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.lang-options {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
top: 100%;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
border-top: none;
|
|
|
|
border-radius: 0 0 4px 4px;
|
|
|
|
background-color: #ffffff;
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(-10px);
|
|
|
|
transition: opacity 0.3s ease, transform 0.3s ease;
|
|
|
|
z-index: 1;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
display: block;
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.lang-option {
|
|
|
|
padding: 5px;
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
justify-content: left;
|
|
|
|
padding-left: 14px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--selection-bg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.lang-name {
|
|
|
|
margin: 0 16px 0 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* select {
|
|
|
|
margin-left: 10px;
|
|
|
|
|
|
|
|
option {
|
|
|
|
font-size: $font-size-small;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: right center;
|
|
|
|
padding-right: 30px;
|
|
|
|
background-size: cover;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.flag-icon-zh-cn {
|
|
|
|
background-image: url("../imgs/flags/zh-CN.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.flag-icon-en-us {
|
|
|
|
background-image: url("../imgs/flags/en-US.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.flag-icon-fr-fr {
|
|
|
|
background-image: url("../imgs/flags/fr-FR.png");
|
|
|
|
}
|
|
|
|
} */
|
|
|
|
/* .google-translate {
|
2022-09-25 21:40:36 +08:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2022-10-24 20:38:28 +08:00
|
|
|
.fa {
|
2022-09-25 21:40:36 +08:00
|
|
|
font-size: $font-size-larger;
|
|
|
|
margin: auto 0;
|
2022-10-24 20:38:28 +08:00
|
|
|
line-height: normal;
|
2022-09-25 21:40:36 +08:00
|
|
|
}
|
2025-01-24 21:47:06 +08:00
|
|
|
} */
|
2022-09-25 21:40:36 +08:00
|
|
|
|
2022-06-12 14:54:12 +08:00
|
|
|
@if $footer_vendors_enable {
|
|
|
|
.vendors-list {
|
|
|
|
a {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
display: inline-block;
|
2024-07-26 21:06:50 +08:00
|
|
|
max-width: 48px;
|
|
|
|
min-width: 14px;
|
|
|
|
max-height: 16px;
|
|
|
|
|
2024-07-20 21:36:08 +08:00
|
|
|
@include mobile() {
|
|
|
|
max-width: 40px;
|
|
|
|
}
|
2024-07-26 21:06:50 +08:00
|
|
|
|
|
|
|
// Only work for svg image
|
|
|
|
&[src$=".svg"] {
|
|
|
|
filter: var(--highlight-img-fill);
|
2024-07-20 21:36:08 +08:00
|
|
|
}
|
2022-06-12 14:54:12 +08:00
|
|
|
}
|
2022-06-21 09:19:12 +08:00
|
|
|
|
|
|
|
$footer_vendors_imgs_len: length($footer_vendors_imgs_width);
|
|
|
|
@if ($footer_vendors_imgs_len>0) {
|
|
|
|
@for $i from 1 through $footer_vendors_imgs_len {
|
|
|
|
a:nth-child(#{$i}) img {
|
|
|
|
width: #{nth($footer_vendors_imgs_width, $i)}px;
|
|
|
|
|
|
|
|
@include mobile() {
|
|
|
|
width: #{nth($footer_vendors_imgs_width, $i)-10}px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-06-12 14:54:12 +08:00
|
|
|
}
|
|
|
|
}
|
2022-05-21 17:47:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.use-motion {
|
|
|
|
.footer {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.languages {
|
|
|
|
display: inline-block;
|
|
|
|
font-size: $font-size-large;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.lang-select-label span {
|
|
|
|
margin: 0 .5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lang-select {
|
|
|
|
height: 100%;
|
|
|
|
left: 0;
|
|
|
|
opacity: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.with-love {
|
2022-05-21 20:34:09 +08:00
|
|
|
color: $footer_icon_color;
|
2022-05-21 17:47:26 +08:00
|
|
|
display: inline-block;
|
|
|
|
margin: 0 5px;
|
|
|
|
|
2022-05-21 20:34:09 +08:00
|
|
|
@if $footer_icon_animated {
|
2022-06-21 09:19:12 +08:00
|
|
|
animation: beat 1.33s ease-in-out infinite;
|
2022-05-21 17:47:26 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-05-21 20:34:09 +08:00
|
|
|
@if $footer_beian_enable {
|
2022-05-21 17:47:26 +08:00
|
|
|
.beian img {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 3px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|