This commit is contained in:
HuangHai
2026-01-20 08:49:28 +08:00
parent 6840143c2a
commit e856ceadd5
3 changed files with 213 additions and 1 deletions

View File

@@ -781,3 +781,153 @@ body {
background-color: #1e293b !important; /* 稍亮的条纹背景 */
}
}
/* =========================================
AD OVERLAY STYLES
========================================= */
.ad-overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.85);
backdrop-filter: blur(8px);
z-index: 9999;
display: flex;
justify-content: center;
align-items: center;
}
.ad-content {
background: linear-gradient(145deg, #1e293b, #0f172a);
border: 1px solid rgba(148, 163, 184, 0.3);
border-radius: 20px;
padding: 40px;
max-width: 600px;
width: 90%;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 15px rgba(59, 130, 246, 0.2);
position: relative;
animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
color: #fff;
}
.ad-close {
position: absolute;
top: 15px;
right: 15px;
background: rgba(255, 255, 255, 0.1);
border: none;
border-radius: 50%;
width: 32px;
height: 32px;
color: #fff;
font-size: 20px;
cursor: pointer;
transition: all 0.2s;
display: flex;
align-items: center;
justify-content: center;
line-height: 1;
}
.ad-close:hover {
background: rgba(239, 68, 68, 0.8);
transform: rotate(90deg);
}
.ad-header h2 {
margin: 0 0 30px 0;
text-align: center;
font-size: 26px;
font-weight: 800;
background: linear-gradient(to right, #60a5fa, #c084fc);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
letter-spacing: 0.5px;
text-shadow: 0 2px 10px rgba(96, 165, 250, 0.3);
}
.ad-body {
display: flex;
flex-direction: column;
gap: 20px;
}
.ad-item {
display: flex;
align-items: flex-start;
gap: 16px;
padding: 12px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.03);
transition: transform 0.2s;
}
.ad-item:hover {
transform: translateX(5px);
background: rgba(255, 255, 255, 0.05);
}
.ad-icon-wrapper {
background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(167, 139, 250, 0.2));
padding: 10px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
min-width: 44px;
height: 44px;
box-sizing: border-box;
}
.ad-icon {
font-size: 20px;
}
.ad-item p {
margin: 0;
font-size: 15px;
line-height: 1.6;
color: #cbd5e1;
flex: 1;
}
.ad-item strong {
color: #60a5fa;
font-weight: 600;
}
.ad-footer {
margin-top: 30px;
text-align: center;
border-top: 1px solid rgba(148, 163, 184, 0.1);
padding-top: 20px;
}
.auto-close-text {
font-size: 13px;
color: #94a3b8;
font-family: monospace;
background: rgba(0, 0, 0, 0.2);
display: inline-block;
padding: 4px 12px;
border-radius: 20px;
}
/* Animations */
@keyframes slideUp {
from { opacity: 0; transform: translateY(30px) scale(0.95); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
.fade-enter-active,
.fade-leave-active {
transition: opacity 0.4s ease;
}
.fade-enter-from,
.fade-leave-to {
opacity: 0;
}