修改样式
This commit is contained in:
+288
-24
@@ -98,19 +98,40 @@ select {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
background: linear-gradient(90deg, rgba(8, 24, 60, .98), rgba(16, 43, 106, .98) 45%, rgba(15, 70, 126, .98));
|
||||
box-shadow: 0 14px 40px rgba(8, 24, 60, .28);
|
||||
background:
|
||||
linear-gradient(180deg, rgba(32, 74, 139, .98) 0%, rgba(18, 50, 111, .98) 48%, rgba(10, 31, 74, .98) 100%),
|
||||
linear-gradient(90deg, rgba(8, 24, 60, .98), rgba(16, 43, 106, .98) 46%, rgba(15, 70, 126, .98));
|
||||
border-top: 1px solid rgba(255, 255, 255, .1);
|
||||
border-bottom: 1px solid rgba(253, 185, 51, .36);
|
||||
box-shadow:
|
||||
0 10px 24px rgba(8, 24, 60, .26),
|
||||
inset 0 1px 0 rgba(255, 255, 255, .16),
|
||||
inset 0 -1px 0 rgba(0, 0, 0, .24);
|
||||
}
|
||||
|
||||
.topbar::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0 0 auto;
|
||||
height: 22px;
|
||||
pointer-events: none;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0)),
|
||||
linear-gradient(90deg, transparent, rgba(255, 255, 255, .06), transparent);
|
||||
}
|
||||
|
||||
.topbar::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: auto 0 0;
|
||||
height: 2px;
|
||||
background: linear-gradient(90deg, transparent, rgba(253, 185, 51, .95), transparent);
|
||||
inset: auto 0 -10px;
|
||||
height: 10px;
|
||||
pointer-events: none;
|
||||
background: linear-gradient(180deg, rgba(8, 24, 60, .24), rgba(8, 24, 60, 0));
|
||||
}
|
||||
|
||||
.topbar__inner {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
width: min(var(--max-width), 100%);
|
||||
margin: 0 auto;
|
||||
min-height: 82px;
|
||||
@@ -122,29 +143,49 @@ select {
|
||||
.topbar__logo {
|
||||
width: 200px;
|
||||
height: auto;
|
||||
filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .24));
|
||||
}
|
||||
|
||||
.topbar__nav {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.topbar__nav::-webkit-scrollbar {
|
||||
display: none;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.topbar__nav-link {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
flex: 0 0 auto;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 12px 18px;
|
||||
border-radius: 999px;
|
||||
border: 1px solid transparent;
|
||||
color: rgba(255, 255, 255, .82);
|
||||
font-size: 15px;
|
||||
line-height: 1;
|
||||
white-space: nowrap;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, .28);
|
||||
box-shadow: none;
|
||||
transition: .24s ease;
|
||||
}
|
||||
|
||||
.topbar__nav-link:hover,
|
||||
.topbar__nav-link.is-active {
|
||||
color: var(--white);
|
||||
background: rgba(255, 255, 255, .08);
|
||||
background: rgba(255, 255, 255, .06);
|
||||
border-color: rgba(255, 255, 255, .08);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.topbar__nav-link.is-active::after {
|
||||
@@ -173,11 +214,20 @@ select {
|
||||
gap: 10px;
|
||||
border-radius: 999px;
|
||||
padding: 4px 8px;
|
||||
border: 1px solid transparent;
|
||||
transition: .24s ease;
|
||||
}
|
||||
|
||||
.topbar__profile:hover {
|
||||
background: rgba(255, 255, 255, .08);
|
||||
border-color: rgba(255, 255, 255, .14);
|
||||
}
|
||||
|
||||
.topbar__actions {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.topbar__btn {
|
||||
@@ -188,6 +238,16 @@ select {
|
||||
transition: .24s ease;
|
||||
}
|
||||
|
||||
.topbar__btn:hover {
|
||||
filter: brightness(1.05);
|
||||
}
|
||||
|
||||
.topbar__actions .topbar__btn {
|
||||
padding: 7px 16px;
|
||||
line-height: 1.15;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.topbar__btn--ghost {
|
||||
color: var(--white);
|
||||
background: transparent;
|
||||
@@ -198,7 +258,13 @@ select {
|
||||
color: var(--navy-deep);
|
||||
font-weight: 700;
|
||||
background: linear-gradient(135deg, #ffd26b, var(--gold));
|
||||
box-shadow: 0 10px 22px rgba(253, 185, 51, .24);
|
||||
box-shadow: 0 4px 10px rgba(253, 185, 51, .16);
|
||||
}
|
||||
|
||||
.topbar__btn--center {
|
||||
color: var(--white);
|
||||
background: rgba(255, 255, 255, .1);
|
||||
border: 1px solid rgba(255, 255, 255, .18);
|
||||
}
|
||||
|
||||
.topbar__btn--logout {
|
||||
@@ -250,49 +316,151 @@ select {
|
||||
}
|
||||
|
||||
.site-footer__inner {
|
||||
padding: 24px 28px;
|
||||
padding: 34px 38px;
|
||||
border-radius: 28px;
|
||||
border: 1px solid rgba(16, 43, 106, .08);
|
||||
background: linear-gradient(135deg, rgba(8, 24, 60, .98), rgba(16, 43, 106, .96) 55%, rgba(17, 74, 126, .96));
|
||||
}
|
||||
|
||||
.site-footer__layout {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 56px;
|
||||
}
|
||||
|
||||
.site-footer__brand {
|
||||
flex: 1 1 520px;
|
||||
min-width: 0;
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
.site-footer__logo {
|
||||
width: 220px;
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
.site-footer__inner p {
|
||||
margin: 16px 0 0;
|
||||
margin: 10px 0 0;
|
||||
color: rgba(255, 255, 255, .8);
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.site-footer__copyright {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.site-footer__desc {
|
||||
max-width: 100%;
|
||||
color: rgba(255, 255, 255, .62) !important;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.site-footer__meta {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 18px;
|
||||
margin-top: 18px;
|
||||
gap: 10px 22px;
|
||||
margin-top: 0;
|
||||
color: rgba(255, 255, 255, .56);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.site-footer__meta a {
|
||||
.site-footer__meta a,
|
||||
.index-style-02 {
|
||||
color: rgba(255, 255, 255, .56);
|
||||
}
|
||||
|
||||
.site-footer__meta a:hover {
|
||||
.site-footer__meta a:hover,
|
||||
.index-style-02:hover {
|
||||
color: rgba(255, 255, 255, .86);
|
||||
}
|
||||
|
||||
.site-footer__contact {
|
||||
width: 360px;
|
||||
padding: 0;
|
||||
border: none;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.site-footer__contact.is-empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.site-footer__contact-head {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.site-footer__contact-kicker {
|
||||
color: rgba(253, 185, 51, .9) !important;
|
||||
font-size: 11px !important;
|
||||
font-weight: 800;
|
||||
line-height: 1;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.site-footer__contact-head strong {
|
||||
color: var(--white);
|
||||
font-size: 24px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.site-footer__contact-head span {
|
||||
color: rgba(255, 255, 255, .58);
|
||||
font-size: 12px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.site-footer__qr-grid {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.site-footer__qr-card {
|
||||
flex: 0 0 132px;
|
||||
min-width: 0;
|
||||
padding: 8px 8px 10px;
|
||||
border-radius: 16px;
|
||||
background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(246, 249, 255, .96));
|
||||
text-align: center;
|
||||
box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
|
||||
}
|
||||
|
||||
.site-footer__qr-card img {
|
||||
width: 116px;
|
||||
height: 116px;
|
||||
border-radius: 12px;
|
||||
object-fit: cover;
|
||||
background: var(--white);
|
||||
}
|
||||
|
||||
.site-footer__qr-card span {
|
||||
display: block;
|
||||
margin-top: 7px;
|
||||
color: var(--navy-deep);
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------
|
||||
4. Ball Styles (unified ball system)
|
||||
---------------------------------------------------------- */
|
||||
.ball {
|
||||
display: inline-flex;
|
||||
box-sizing: border-box;
|
||||
flex: 0 0 32px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 32px;
|
||||
min-width: 32px;
|
||||
height: 32px;
|
||||
padding: 0 10px;
|
||||
padding: 0;
|
||||
border-radius: 999px;
|
||||
color: var(--white);
|
||||
font-size: 14px;
|
||||
@@ -300,10 +468,12 @@ select {
|
||||
}
|
||||
|
||||
.ball--compact {
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
font-size: 12px;
|
||||
padding: 0 8px;
|
||||
flex-basis: 22px;
|
||||
width: 22px;
|
||||
min-width: 22px;
|
||||
height: 22px;
|
||||
font-size: 11px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.ball--red {
|
||||
@@ -887,19 +1057,32 @@ select {
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.topbar__logo {
|
||||
width: 170px;
|
||||
}
|
||||
|
||||
.topbar__nav {
|
||||
order: 3;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
flex: 0 0 100%;
|
||||
flex-wrap: nowrap;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
justify-content: flex-start;
|
||||
gap: 4px;
|
||||
padding-bottom: 4px;
|
||||
padding-bottom: 0;
|
||||
scrollbar-width: none;
|
||||
-ms-overflow-style: none;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
.topbar__nav-link {
|
||||
flex: 0 0 auto;
|
||||
padding: 6px 14px;
|
||||
font-size: 13px;
|
||||
line-height: 1;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.topbar__btn {
|
||||
@@ -942,17 +1125,21 @@ select {
|
||||
}
|
||||
|
||||
.ball {
|
||||
flex-basis: 28px;
|
||||
width: 28px;
|
||||
min-width: 28px;
|
||||
height: 28px;
|
||||
font-size: 12px;
|
||||
padding: 0 8px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.ball--compact {
|
||||
min-width: 24px;
|
||||
height: 24px;
|
||||
flex-basis: 22px;
|
||||
width: 22px;
|
||||
min-width: 22px;
|
||||
height: 22px;
|
||||
font-size: 11px;
|
||||
padding: 0 6px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.PublicAdvertisingUl {
|
||||
@@ -981,4 +1168,81 @@ select {
|
||||
padding: 18px 16px;
|
||||
border-radius: 18px;
|
||||
}
|
||||
|
||||
.site-footer__layout {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 22px;
|
||||
}
|
||||
|
||||
.site-footer__brand {
|
||||
flex-basis: auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.site-footer__contact {
|
||||
width: 100%;
|
||||
max-width: 360px;
|
||||
}
|
||||
|
||||
.site-footer__qr-grid {
|
||||
justify-content: start;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 520px) {
|
||||
.topbar__inner {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.topbar__logo {
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
.topbar__user,
|
||||
.topbar__guest,
|
||||
.topbar__logged {
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.topbar__avatar {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
}
|
||||
|
||||
.topbar__actions .topbar__btn {
|
||||
padding: 6px 12px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.topbar__nav {
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.site-footer__logo {
|
||||
width: 190px;
|
||||
}
|
||||
|
||||
.site-footer__meta {
|
||||
gap: 8px 14px;
|
||||
}
|
||||
|
||||
.site-footer__contact {
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
.site-footer__qr-grid {
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.site-footer__qr-card {
|
||||
flex: 0 0 calc(50% - 6px);
|
||||
padding: 8px 6px 10px;
|
||||
}
|
||||
|
||||
.site-footer__qr-card img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
aspect-ratio: 1 / 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user