style: 完成全局样式和页面修复 - 引导流程、剧本生成器原型还原至 90%

This commit is contained in:
2026-03-15 09:37:10 +08:00
parent 6ae71bfa63
commit a2dcd6bf4b
4 changed files with 255 additions and 21 deletions
+86 -2
View File
@@ -107,19 +107,44 @@ page {
box-shadow: 0 0 20px rgba(168, 85, 247, 0.1);
}
/* 原型标准输入框 - 40rpx 圆角 */
.glass-input {
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 24rpx;
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid rgba(168, 85, 247, 0.15);
border-radius: 40rpx; /* 原型标准:2.5rem = 40px */
padding: 24rpx 32rpx;
color: #F3E8FF;
font-size: 28rpx;
transition: all 0.3s ease;
}
.glass-input:active {
background: rgba(168, 85, 247, 0.1);
border-color: rgba(168, 85, 247, 0.4);
box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}
.glass-input::placeholder {
color: rgba(255, 255, 255, 0.3);
}
/* 发光边框 - 头像/卡片专用 */
.glow-border {
box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}
/* 强发光效果 - 头像专用 */
.glow-strong {
box-shadow: 0 0 40px rgba(168, 85, 247, 0.1);
}
/* 左侧紫色边框 - 记录卡片专用 */
.border-left-purple {
border-left: 4rpx solid #C084FC;
}
.btn-primary {
background: linear-gradient(135deg, #9333EA 0%, #7C3AED 100%);
border-radius: 32rpx;
@@ -226,7 +251,66 @@ page {
to { opacity: 1; transform: translateY(0); }
}
/* 星芒加载动画 - 原型标准(双环旋转) */
.starlight-loader {
position: relative;
width: 80rpx;
height: 80rpx;
margin: 40rpx auto;
}
.starlight-loader::before,
.starlight-loader::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 100%;
height: 100%;
border-radius: 50%;
border: 3rpx solid transparent;
border-top-color: #C084FC;
border-right-color: #A855F7;
animation: starlight-spin 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.starlight-loader::before {
width: 70%;
height: 70%;
border-top-color: #E879F9;
border-right-color: #9333EA;
animation-delay: -0.75s;
}
@keyframes starlight-spin {
0% {
transform: translate(-50%, -50%) rotate(0deg) scale(1);
}
50% {
transform: translate(-50%, -50%) rotate(180deg) scale(1.2);
}
100% {
transform: translate(-50%, -50%) rotate(360deg) scale(1);
}
}
/* 加载文字 - 脉冲效果 */
.loading-text {
text-align: center;
font-size: 24rpx;
color: rgba(192, 132, 252, 0.6);
letter-spacing: 4rpx;
margin-top: 24rpx;
animation: pulse-text 2s ease-in-out infinite;
}
@keyframes pulse-text {
0%, 100% { opacity: 0.6; }
50% { opacity: 1; }
}
/* 简化 loader 备用 */
.starlight-loader-simple {
width: 44rpx;
height: 44rpx;
border-radius: 50%;