Files
yycea/public/assets/addons/wdsxh/css/public.css
2026-03-17 09:56:06 +08:00

509 lines
9.0 KiB
CSS

:root {
--main-color: inherit;
}
body {
background: #F4F6FB;
}
.col-2 {
flex: 14%;
max-width: 14%;
padding: 0;
}
.col-8 {
flex: 72%;
max-width: 72%;
padding: 0;
}
.container-fluid {
opacity: 0;
}
.container-header {
position: sticky;
top: 0;
z-index: 999;
}
.component-header .header-top {
background: var(--main-color);
color: #fff;
font-size: .875rem;
line-height: 1.25rem;
padding: .5rem 0;
}
.component-header .header-nav {
background: #fff;
padding: .75rem 0;
}
.component-header .header-nav .nav-logo {
text-align: center;
text-decoration: none;
margin-right: 1rem;
}
.component-header .header-nav .nav-logo img {
width: auto;
height: 3rem;
margin-right: .75rem;
}
.component-header .header-nav .nav-logo .title {
color: #333;
font-size: 1rem;
font-weight: 600;
line-height: 1.5rem;
margin-bottom: 0;
}
.component-header .header-nav .nav-box {
margin-bottom: 0;
}
.component-header .header-nav .nav-box .nav-item a {
display: inline-block;
padding: 0.5rem 1rem;
color: #333;
transition: color .3s;
text-decoration: none;
}
.component-header .header-nav .nav-box .nav-item.active a {
color: var(--main-color);
}
.component-header .header-nav .nav-box .nav-item:hover a {
color: var(--main-color);
}
.component-header .header-nav .nav-mobile {
display: none;
}
.component-header .header-nav .nav-mobile button {
background: transparent;
border: none;
transition: all .3s;
}
.component-header .header-nav .nav-mobile button .icon-bar {
margin: auto;
display: block;
width: 1.625rem;
height: .1875rem;
border-radius: .125rem;
background: var(--main-color);
margin-top: .375rem;
}
.component-header .header-nav .nav-mobile button .icon-bar:first-child {
margin-top: 0;
}
.component-header .header-nav .nav-mobile .nav-list {
position: relative;
display: none;
}
.component-header .header-nav .nav-mobile .nav-list ul {
position: absolute;
top: .5rem;
right: 0;
background: #fff;
width: 10rem;
box-shadow: 0 0.375rem 0.75rem rgba(0, 0, 0, 0.18);
border-radius: .3125rem .3125rem 0 0;
margin: 0;
}
.component-header .header-nav .nav-mobile .nav-list ul li {
text-align: center;
}
.component-header .header-nav .nav-mobile .nav-list ul li a {
text-decoration: none;
background: #fff;
font-size: .875rem;
color: #000;
transition: color 0.3s;
display: block;
padding: .625rem .9375rem;
}
.component-header .header-nav .nav-mobile .nav-list ul li.active a {
color: var(--main-color);
}
.component-footer {
background: #333;
text-align: center;
padding-top: 6.5rem;
padding-bottom: 6.5rem;
}
.component-footer .footer-logo {
margin-bottom: 2.2rem;
}
.component-footer .footer-logo img {
width: auto;
height: 3rem;
margin-right: .75rem;
background: #fff;
border-radius: 50%;
}
.component-footer .footer-logo .title {
color: #fff;
font-size: 1.25rem;
font-weight: 600;
line-height: 1.5rem;
}
.component-footer .footer-info span {
color: #fff;
font-size: .875rem;
line-height: 2rem;
margin: 0 .5rem;
}
.component-footer .footer-info span b {
font-weight: normal;
}
.component-footer .footer-info span a {
color: #fff;
list-style: none;
}
.container-carousel {
height: 20vw;
margin: 0 -15px;
}
.container-carousel .carousel-inner,
.container-carousel .carousel-item {
height: 100%;
}
.container-carousel .carousel-indicators li {
width: .75rem;
height: .75rem;
background: #fff;
border-radius: 50%;
margin: 0 .375rem;
box-sizing: border-box;
opacity: 1;
border: none;
}
.container-carousel .carousel-indicators li.active {
background: var(--main-color);
}
.container-banner {
position: relative;
height: 20vw;
}
.container-banner .banner-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.container-banner .banner-title {
position: relative;
z-index: 9;
height: 100%;
display: flex;
align-items: center;
padding-bottom: 1rem;
}
.container-banner .banner-title .title {
position: relative;
font-weight: 600;
font-size: 2.5rem;
line-height: 3.5rem;
color: #FFFFFF;
}
.container-banner .banner-title .title::after {
content: "";
display: block;
width: 4.875rem;
height: .5rem;
background: #fff;
position: absolute;
bottom: -1rem;
}
.container-banner .banner-title .subtitle {
font-weight: 600;
font-size: 2.5rem;
line-height: 3.5rem;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.6);
margin-left: 1rem;
}
.versionName {
font-style: normal;
}
.empty {
display: flex;
flex-direction: column;
align-items: center;
padding: 1.5rem 0 1rem;
display: none;
}
.empty img {
width: 50vw;
max-width: 18.75rem;
height: auto;
}
.empty span {
color: #999;
font-size: 1rem;
line-height: 1.25rem;
}
#page {
margin: 0 auto;
display: block;
display: flex;
align-items: center;
justify-content: center;
}
#page .xl-totalPage {
color: #000;
font-size: 1rem;
line-height: 1.5rem;
margin-top: 2rem;
margin-right: .75rem;
}
#page ul {
margin: 2rem 0 0;
}
#page ul li {
text-align: center;
display: inline-block;
color: var(--main-color);
font-size: .875rem;
line-height: 1.25rem;
padding: .25rem .375rem;
min-width: 1.875rem;
border: 1px solid var(--main-color);
border-radius: .25rem;
margin: 0 .1875rem;
cursor: pointer;
transition: all .3s;
background: #fff;
}
#page ul li.xl-active, #page ul li:hover {
color: #fff;
background: var(--main-color);
}
#page ul li.xl-disabled {
color: #DDDDDD;
border: 1px solid #DDDDDD;
background: #fff;
cursor: no-drop;
}
button[data-toggle="modal"] {
border: none;
background: transparent;
padding: 0;
margin: 0;
text-align: left;
display: block;
width: 100%;
height: auto;
}
.modal-dialog .modal-header {
border: none;
padding-bottom: 0;
}
.modal-dialog .modal-header .modal-title {
color: #333;
font-size: 1.5rem;
font-weight: bold;
line-height: 2.125rem;
text-align: center;
flex: 1;
padding-left: 3rem;
}
.modal-dialog .modal-body .tips {
color: #8D8D8D;
font-size: 1rem;
line-height: 1.375rem;
text-align: center;
}
.modal-dialog .modal-body .code {
width: 100%;
max-height: 25rem;
max-width: 25rem;
margin: 1rem auto;
}
@media (max-width: 1900px) {
html {
font-size: 16px;
}
.col-2 {
flex: 12%;
max-width: 12%;
}
.col-8 {
flex: 76%;
max-width: 76%;
}
}
@media (max-width: 1400px) {
html {
font-size: 14px;
}
.col-2 {
flex: 10%;
max-width: 10%;
}
.col-8 {
flex: 80%;
max-width: 80%;
}
}
@media (max-width: 1160px) {
html {
font-size: 12px;
}
.col-2 {
flex: 8%;
max-width: 8%;
}
.col-8 {
flex: 84%;
max-width: 84%;
}
}
@media (max-width: 967px) {
html {
font-size: 12px;
}
.col-2 {
flex: 6%;
max-width: 6%;
}
.col-8 {
flex: 88%;
max-width: 88%;
}
}
@media screen and (max-width: 767px) {
.col-2 {
width: 1rem;
max-width: 1rem;
flex: 0 0 1rem;
padding: 0;
}
.col-8 {
width: calc(100% - 2rem);
max-width: calc(100% - 2rem);
flex: 0 0 calc(100% - 2rem);
}
html {
font-size: 16px;
}
.container-banner {
height: 45vw;
}
.container-banner .banner-title {
flex-direction: column;
justify-content: center;
padding-bottom: 0;
}
.container-banner .banner-title .title {
font-size: 1.5rem;
line-height: 2rem;
}
.container-banner .banner-title .title::after {
display: none;
}
.container-banner .banner-title .subtitle {
font-size: 1.5rem;
line-height: 2rem;
margin-left: 0;
margin-top: .5rem;
}
.component-header .header-nav {
padding: 0.5rem 0;
}
.component-header .header-nav .nav-logo img {
width: auto;
height: 2.25rem;
margin-right: .5rem;
}
.component-header .header-nav .nav-logo .title {
color: #333;
font-size: .875rem;
font-weight: 600;
line-height: 1.25rem;
}
.component-header .header-nav .nav-normal {
display: none;
}
.component-header .header-nav .nav-mobile {
display: block;
}
.component-footer {
padding: 2rem 0;
}
.component-footer .footer-logo {
margin-bottom: 1rem;
}
.component-footer .footer-logo img {
width: auto;
height: 2.5rem;
margin-right: .5rem;
}
.component-footer .footer-logo .title {
font-size: 1rem;
font-weight: 600;
line-height: 1.375rem;
}
.container-carousel {
height: 50vw !important;
}
#page .xl-totalPage {
font-size: .75rem;
}
#page ul li {
padding: 0.25rem .375rem;
font-size: .75rem;
}
}