website-client-Nigeria/public/common/css/common.css

980 lines
15 KiB
CSS

@charset "UTF-8";
body, div, span, header, footer, nav, section, aside, article, ul, dl, dt, dd, li, a, p, h1, h2, h3, h4, h5, h6, i, b, textarea, button, input, select, figure, figcaption {
padding: 0;
margin: 0;
list-style: none;
font-style: normal;
text-decoration: none;
border: none;
font-weight: normal;
font-family: MiSans-Normal;
box-sizing: border-box;
-webkit-tap-highlight-color: transparent;
-webkit-font-smoothing: antialiased;
}
body:hover, div:hover, span:hover, header:hover, footer:hover, nav:hover, section:hover, aside:hover, article:hover, ul:hover, dl:hover, dt:hover, dd:hover, li:hover, a:hover, p:hover, h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover, i:hover, b:hover, textarea:hover, button:hover, input:hover, select:hover, figure:hover, figcaption:hover {
outline: none;
}
a {
color: inherit;
}
ul,
ol,
li {
list-style-type: none;
}
a {
text-decoration: none;
outline: none;
color: #333;
cursor: pointer;
}
a:focus {
outline: none;
-moz-outline: none;
}
a img {
border: none;
}
select,
input,
textarea {
border-radius: 0;
-webkit-border-radius: 0;
}
input:focus {
outline: none;
}
input,
button,
select,
textarea {
outline: none;
}
textarea {
resize: none;
}
textarea,
input,
select {
background: none;
border: none;
margin: 0;
padding: 0;
}
table {
background-color: transparent;
border-spacing: 0;
border-collapse: collapse;
font-size: 0.75em;
width: 100%;
border-top: solid 1px #ddd;
border-left: solid 1px #ddd;
box-sizing: border-box;
}
table th {
background-color: #f9f9f9;
text-align: center;
box-sizing: border-box;
}
table td,
table th {
padding: 5px 10px;
border: 1px solid #ddd;
box-sizing: border-box;
}
input[type="button"],
input[type="submit"],
input[type="file"],
button {
cursor: pointer;
-webkit-appearance: none;
}
img {
vertical-align: middle;
}
html {
font-size: calc(100 * 100vw / 1920) !important;
min-height: 100vh;
}
html, body {
height: 100%;
width: 100%;
font-family: MiSans-Regular;
user-select: text;
font-size: 0.16rem;
color: #3f4552;
line-height: 1.8;
}
/* **************滚动条*****************/
html::-webkit-scrollbar {
overflow: hidden;
/* 高宽分别对应纵横向滚动条 */
width: 8px;
height: 8px;
}
@media (max-width: 750px) {
html::-webkit-scrollbar {
display: none;
}
}
html::-webkit-scrollbar-track {
/*滚动条里面轨道*/
box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.2);
border-radius: 5px;
background: #ededed;
}
html::-webkit-scrollbar-thumb {
background: #262729;
}
image {
border: 0;
vertical-align: middle;
max-width: 100%;
}
.define-topBar__components {
position: fixed;
top: 0;
width: 100%;
z-index: 10000;
}
.autowidth {
width: 18rem;
margin: auto;
max-width: 90%;
}
@media (max-width: 1366px) {
.autowidth {
width: auto;
}
}
.animationDH {
opacity: 0;
}
.animateLt {
animation: 1s dh_left linear both;
-webkit-animation: 1s dh_left linear both;
}
.animateRt {
animation: 1s dh_right linear both;
-webkit-animation: 1s dh_right linear both;
}
.animateBt {
animation: 1s dh_buttom linear both;
-webkit-animation: 1s dh_buttom linear both;
}
.dhLeft {
-webkit-opacity: 0;
transform: translate(75px, 0);
-webkit-transform: translate(75px, 0);
transition: 1s;
-webkit-transition: 1s;
}
.dhRight {
-webkit-opacity: 0;
transform: translate(-45px, 0);
-webkit-transform: translate(-45px, 0);
transition: 1s;
-webkit-transition: 1s;
}
.dhTop {
transform: translate(0, 45px);
-webkit-transform: translate(0, 45px);
transition: transform 1s;
-webkit-transition: transform 1s;
}
.dhBottom {
-webkit-opacity: 0;
transform: translate(0, -45px);
-webkit-transform: translate(0, -45px);
transition: 1s;
-webkit-transition: 1s;
}
.dhyc1 {
transition-delay: 0.25s;
-webkit-transition-delay: 0.25s;
}
.dhyc2 {
transition-delay: 0.5s;
-webkit-transition-delay: 0.5s;
}
.dhyc3 {
transition-delay: 0.75s;
-webkit-transition-delay: 0.75s;
}
.dhyc4 {
transition-delay: 1s;
-webkit-transition-delay: 1s;
}
@-webkit-keyframes dh_right {
from {
opacity: 0;
-webkit-transform: translate(60px, 0%);
}
to {
opacity: 1;
-webkit-transform: translate(0, 0);
}
}
@keyframes dh_right {
from {
opacity: 0;
transform: translate(60px, 0%);
}
to {
opacity: 1;
transform: translate(0, 0);
}
}
@-webkit-keyframes dh_left {
from {
opacity: 0;
-webkit-transform: translate(-60px, 0%);
}
to {
opacity: 1;
-webkit-transform: translate(0, 0);
}
}
@keyframes dh_left {
from {
opacity: 0;
transform: translate(-60px, 0%);
}
to {
opacity: 1;
transform: translate(0, 0);
}
}
@-webkit-keyframes dh_buttom {
from {
opacity: 0;
-webkit-transform: translate(0, 60px);
}
to {
opacity: 1;
-webkit-transform: translate(0, 0);
}
}
@keyframes dh_buttom {
from {
opacity: 0;
transform: translate(0, 60px);
}
to {
opacity: 1;
transform: translate(0, 0);
}
}
/*页面banner部分*/
.banner {
margin-top: 0;
overflow: hidden;
height: 5.5rem;
background-size: cover !important;
position: relative;
display: flex;
align-items: center;
box-pack: center;
justify-content: center;
min-height: 230px;
}
@media (max-width: 1600px) {
.banner {
margin-top: 0;
}
}
@media (max-width: 1099px) {
.banner {
margin-top: 0;
}
}
@media (max-width: 1100px) {
.banner {
height: 7.5rem;
}
}
@media (max-width: 800px) {
.banner {
height: 10rem;
}
}
.banner__box {
width: 100%;
text-align: center;
color: #fff;
animation: 1s dh_buttom linear both;
-webkit-animation: 1s dh_buttom linear both;
}
.banner__box__title {
font-size: 0.36rem;
color: #fff;
text-align: center;
}
.banner__box__subtitle {
font-size: 0.2rem;
text-transform: uppercase;
}
@media (min-width: 751px) and (max-width: 1100px) {
.banner__box__title {
font-size: 0.5rem;
}
.banner__box__subtitle {
font-size: 0.3rem;
}
}
@media (max-width: 750px) {
.banner__box__title {
font-size: 0.75rem;
}
.banner__box__subtitle {
font-size: 0.55rem;
}
}
@media (max-width: 550px) {
.banner__box__title {
font-size: 0.9rem;
}
.banner__box__subtitle {
font-size: 0.65rem;
}
}
.pageMain {
overflow: hidden;
}
.pageMain__breads {
color: #666;
width: auto;
margin: 0 auto;
border-bottom: 1px solid #e5e5e5;
}
.pageMain__breads__box {
width: 12rem;
color: #666;
line-height: 4;
text-align: left;
}
.pageMain__breads__box__icon__avater {
width: 0.17rem;
height: 0.17rem;
margin-bottom: 0.03rem;
}
@media (max-width: 1600px) {
.pageMain__breads__box {
width: 15rem;
font-size: 13.5px;
line-height: 3.2;
}
.pageMain__breads__box__icon__avater {
width: 15px;
height: 15px;
margin-bottom: 3px;
}
}
.pageMain__breads__box a {
font-family: MiSans-Medium;
letter-spacing: 0.5px;
cursor: pointer;
}
@media (min-width: 1100px) {
.pageMain__breads__box a:hover {
color: #0072ff;
}
}
@media (max-width: 1024px) {
.pageMain__breads__box {
font-size: 13px;
width: 95%;
}
}
@media (max-width: 500px) {
.pageMain__breads__box {
font-size: 0.6rem;
}
.pageMain__breads__box__icon__avater {
width: 0.68rem;
height: 0.68rem;
}
}
@media (max-width: 350px) {
.pageMain__breads__box {
font-size: 0.7rem;
}
}
.pageMain__line {
position: relative;
text-align: center;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-justify-content: center;
border-bottom: 1px solid #e5e5e5;
padding: 0.1rem 0 0.2rem;
margin-bottom: 0.5rem;
}
@media (max-width: 600px) {
.pageMain__line {
padding: 0.5rem 0;
}
}
.pageMain__line__item {
margin: 0 1rem;
position: relative;
padding: 0.1rem 0;
text-align: center;
font-size: 0.18rem;
font-family: MiSans-Normal;
cursor: pointer;
}
@media (max-width: 1600px) {
.pageMain__line__item {
font-size: 15.5px;
}
}
@media (min-width: 501px) and (max-width: 1100px) {
.pageMain__line__item {
font-size: 14px;
}
}
@media (max-width: 500px) {
.pageMain__line__item {
font-size: 0.6rem;
}
}
@media (max-width: 350px) {
.pageMain__line__item {
font-size: 0.9rem;
}
}
.pageMain__line__item::before {
position: absolute;
left: 15%;
content: "";
bottom: 0;
height: 3px;
border-radius: 5px;
background: #0072ff;
width: 0;
transition: 0.5s;
}
@media (max-width: 700px) {
.pageMain__line__item::before {
height: 1px;
}
}
.pageMain__line__item:hover::before {
width: 70%;
}
.pageMain__line--on {
color: #0072ff;
font-weight: 500;
}
.pageMain__line--on::before {
width: 70%;
}
.pageMain__buttom-line {
padding: 0.36 0 0.7rem;
}
.sticky-page-layout {
position: relative;
min-height: 100vh;
}
.nav-sticky {
line-height: 3;
top: 0px;
position: absolute;
z-index: 99;
width: 100%;
}
@media (max-width: 1500px) {
.nav-sticky {
height: auto;
line-height: 3.5;
font-size: 0.22rem;
}
}
@media (max-width: 1200px) {
.nav-sticky {
height: auto;
line-height: 3.5;
font-size: 0.24rem;
}
}
@media (max-width: 850px) {
.nav-sticky {
font-size: 0.42rem;
}
}
@media (max-width: 650px) {
.nav-sticky {
line-height: 3.5;
font-size: 0.5rem;
}
}
@media (max-width: 500px) {
.nav-sticky {
line-height: 3.5;
font-size: 0.63rem;
}
}
.nav-sticky__center {
width: 1200px;
margin: 0 auto;
transition: width 0.3s;
color: #ffffff;
display: flex;
border-bottom: 1px solid rgba(255, 255, 255, 0.24);
justify-content: space-between;
font-family: MiSans-Regular;
}
@media (max-width: 1200px) {
.nav-sticky__center {
width: 100%;
}
}
.nav-sticky__center__left {
font-size: 0.17rem;
font-family: MiSans-Bold;
line-height: 3;
}
@media (max-width: 1500px) {
.nav-sticky__center__left {
height: auto;
line-height: 3.5;
font-size: 0.22rem;
}
}
@media (max-width: 1200px) {
.nav-sticky__center__left {
height: auto;
line-height: 3.5;
font-size: 0.24rem;
}
}
@media (max-width: 850px) {
.nav-sticky__center__left {
font-size: 0.42rem;
}
}
@media (max-width: 650px) {
.nav-sticky__center__left {
line-height: 3.5;
font-size: 0.5rem;
}
}
@media (max-width: 500px) {
.nav-sticky__center__left {
line-height: 3.5;
font-size: 0.63rem;
}
}
@media (max-width: 1200px) {
.nav-sticky__center__left {
margin-left: 0.6rem;
}
}
.nav-sticky__center__right {
display: flex;
width: fit-content;
line-height: 3;
font-size: 0.15rem;
justify-content: space-between;
cursor: pointer;
box-sizing: border-box;
}
@media (max-width: 1500px) {
.nav-sticky__center__right {
height: auto;
line-height: 3.5;
font-size: 0.22rem;
}
}
@media (max-width: 1200px) {
.nav-sticky__center__right {
height: auto;
line-height: 3.5;
font-size: 0.24rem;
}
}
@media (max-width: 850px) {
.nav-sticky__center__right {
font-size: 0.42rem;
}
}
@media (max-width: 650px) {
.nav-sticky__center__right {
line-height: 3.5;
font-size: 0.5rem;
}
}
@media (max-width: 500px) {
.nav-sticky__center__right {
line-height: 3.5;
font-size: 0.63rem;
}
}
@media (max-width: 1200px) {
.nav-sticky__center__right {
margin-right: 0.6rem;
}
}
.nav-sticky__center__right__item {
margin: 0 0.2rem;
opacity: 0.6;
}
@media (max-width: 600px) {
.nav-sticky__center__right__item {
margin: 0 0.4rem;
}
}
.nav-sticky__center__right__item:hover {
opacity: 1;
}
.nav-sticky__center__right--Active {
opacity: 1;
border-bottom: 0.01rem solid #fff;
}
.nav-sticky__center__right__dropdown {
position: relative;
display: none;
}
.nav-sticky__center__right__dropdown__up {
line-height: 3;
background-color: transparent;
color: #fff;
cursor: pointer;
display: flex;
align-items: center;
margin-right: 15px;
}
@media (max-width: 1500px) {
.nav-sticky__center__right__dropdown__up {
height: auto;
line-height: 3.5;
font-size: 0.22rem;
}
}
@media (max-width: 1200px) {
.nav-sticky__center__right__dropdown__up {
height: auto;
line-height: 3.5;
font-size: 0.24rem;
}
}
@media (max-width: 850px) {
.nav-sticky__center__right__dropdown__up {
font-size: 0.42rem;
}
}
@media (max-width: 650px) {
.nav-sticky__center__right__dropdown__up {
line-height: 3.5;
font-size: 0.5rem;
}
}
@media (max-width: 500px) {
.nav-sticky__center__right__dropdown__up {
line-height: 3.5;
font-size: 0.63rem;
}
}
.nav-sticky__center__right__dropdown__up .arrow-down {
width: 30px;
text-align: center;
font-size: 8px;
}
.nav-sticky__center__right__dropdown__menu {
position: absolute;
top: 100%;
left: -50%;
background-color: #222;
border-radius: 5px;
margin-top: 10px;
box-shadow: 0 0.04rem 0.1rem 0.02rem rgba(0, 0, 0, 0.08);
z-index: 1;
width: 150%;
padding: 20px 0;
}
.nav-sticky__center__right__dropdown__menu__item {
color: #919191;
cursor: pointer;
text-align: center;
}
.nav-sticky__center__right__dropdown__menu__item--Active {
color: #0072ff;
}
.nav-sticky--active {
top: 0;
width: 100%;
position: sticky;
background-color: rgba(3, 6, 11, 0.4);
border-bottom: 1px solid rgba(236, 234, 234, 0.2);
}
.nav-sticky--active .nav-sticky__center {
border-bottom: none;
}
.detail-banner {
width: 100%;
height: 10.8rem;
color: #ffffff;
position: relative;
}
.detail-banner__title {
font-family: MiSans-Medium;
position: absolute;
font-size: 0.55rem;
top: 1.5rem;
left: 50%;
width: 90%;
text-align: center;
transform: translate(-50%, 0);
}
.detail-banner__avater {
width: 100%;
height: 100%;
}
@media (max-width: 850px) {
.detail-banner {
padding-top: 2rem;
height: 12.8rem;
}
.detail-banner__title {
font-size: 0.8rem;
top: 3.8rem;
}
.detail-banner__title-2 {
font-size: 0.8rem;
top: 3.2rem;
}
}
/* 遮罩 */
.load-mask {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #ffffff;
display: flex;
justify-content: center;
z-index: 10002;
}
.load-mask .spinner {
width: 150px;
text-align: center;
margin-top: 20vh;
}
.load-mask .spinner .spinner__item {
width: 15px;
height: 15px;
background-color: #aeadba;
border-radius: 100%;
display: inline-block;
animation: bouncedelay 1.4s infinite ease-in-out;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}
.load-mask .spinner .bounce1 {
-webkit-animation-delay: -0.32s;
animation-delay: -0.32s;
}
.load-mask .spinner .bounce2 {
-webkit-animation-delay: -0.16s;
animation-delay: -0.16s;
}
@keyframes bouncedelay {
0%,
80%,
100% {
transform: scale(0);
}
40% {
transform: scale(1);
}
}
.load-loading {
display: flex;
justify-content: center;
align-items: center;
height: 35vh;
}
.load-loading__box {
width: 200px;
height: auto;
color: #aeadba;
text-align: center;
}
.load-loading__box__up {
width: 55px;
margin: auto;
}
.load-loading__box__up__avater {
width: 100%;
height: auto;
}
.load-loading__box__text {
font-size: 16px;
line-height: 3;
}
@media (max-width: 1024px) {
.load-loading__box__up {
width: 47px;
}
.load-loading__box__text {
font-size: 11px;
}
}
@media (min-width: 1920px) {
.load-loading__box {
width: 2rem;
height: 1rem;
}
.load-loading__box__up {
width: 0.55rem;
}
.load-loading__box__text {
font-size: 0.14rem;
}
}
[class*="is-animating-"] {
transform: translateY(11.71rpx);
opacity: 0;
}