314 lines
5.0 KiB
Plaintext
314 lines
5.0 KiB
Plaintext
/* ===== 整体 ===== */
|
|
.page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
background: var(--bg);
|
|
}
|
|
|
|
/* ===== 预览区(深色)===== */
|
|
.stage {
|
|
position: relative;
|
|
flex: 1;
|
|
min-height: 0;
|
|
background: linear-gradient(180deg, var(--panel) 0%, #14161b 100%);
|
|
}
|
|
|
|
.stage-canvas {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
}
|
|
|
|
.stage-mask {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 48rpx;
|
|
box-sizing: border-box;
|
|
text-align: center;
|
|
}
|
|
|
|
.empty-icon {
|
|
font-size: 76rpx;
|
|
margin-bottom: 22rpx;
|
|
}
|
|
|
|
.empty-title {
|
|
font-size: 34rpx;
|
|
font-weight: 600;
|
|
color: #ffffff;
|
|
margin-bottom: 14rpx;
|
|
}
|
|
|
|
.empty-title.error {
|
|
color: #ff6b6b;
|
|
}
|
|
|
|
.empty-sub {
|
|
font-size: 26rpx;
|
|
color: rgba(255, 255, 255, 0.62);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.empty-tip {
|
|
margin-top: 20rpx;
|
|
font-size: 23rpx;
|
|
color: rgba(255, 255, 255, 0.38);
|
|
line-height: 1.6;
|
|
max-width: 560rpx;
|
|
}
|
|
|
|
.stage-badge {
|
|
position: absolute;
|
|
left: 22rpx;
|
|
top: 22rpx;
|
|
padding: 8rpx 18rpx;
|
|
border-radius: var(--r-pill);
|
|
background: rgba(0, 0, 0, 0.34);
|
|
color: rgba(255, 255, 255, 0.72);
|
|
font-size: 22rpx;
|
|
}
|
|
|
|
/* ===== 控制面板(深色,和预览区统一)===== */
|
|
.sheet {
|
|
background: var(--bg-2);
|
|
border-radius: var(--r-lg) var(--r-lg) 0 0;
|
|
padding: 30rpx 28rpx 28rpx;
|
|
box-shadow: 0 -10rpx 36rpx rgba(0, 0, 0, 0.45);
|
|
}
|
|
|
|
.section {
|
|
margin-bottom: 26rpx;
|
|
}
|
|
|
|
.section:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 26rpx;
|
|
color: rgba(255, 255, 255, 0.92);
|
|
font-weight: 600;
|
|
letter-spacing: 1rpx;
|
|
margin-bottom: 14rpx;
|
|
}
|
|
|
|
/* ===== 选择文件按钮 ===== */
|
|
.pick-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 100rpx;
|
|
padding: 0;
|
|
border-radius: var(--r-lg);
|
|
background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
|
|
color: #ffffff;
|
|
font-weight: 500;
|
|
box-shadow: 0 10rpx 24rpx rgba(242, 53, 59, 0.28);
|
|
}
|
|
|
|
.pick-btn::after {
|
|
border: none;
|
|
}
|
|
|
|
.pick-text {
|
|
font-size: 31rpx;
|
|
letter-spacing: 2rpx;
|
|
}
|
|
|
|
.pick-sub {
|
|
margin-top: 16rpx;
|
|
text-align: center;
|
|
font-size: 22rpx;
|
|
color: rgba(255, 255, 255, 0.38);
|
|
}
|
|
|
|
/* ===== 文件类型标签 ===== */
|
|
.chips {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin-top: 18rpx;
|
|
}
|
|
|
|
.chip {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 0 12rpx 12rpx 0;
|
|
padding: 8rpx 18rpx;
|
|
border-radius: var(--r-pill);
|
|
background: var(--panel-2);
|
|
}
|
|
|
|
.chip-dot {
|
|
width: 12rpx;
|
|
height: 12rpx;
|
|
border-radius: 50%;
|
|
background: var(--text-dim);
|
|
margin-right: 10rpx;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.chip-name {
|
|
font-size: 23rpx;
|
|
color: rgba(255, 255, 255, 0.72);
|
|
}
|
|
|
|
.chip-skel .chip-dot {
|
|
background: var(--accent);
|
|
}
|
|
|
|
.chip-atlas .chip-dot {
|
|
background: #7c5cff;
|
|
}
|
|
|
|
.chip-img .chip-dot {
|
|
background: #22c55e;
|
|
}
|
|
|
|
.chip-json .chip-dot {
|
|
background: #f59e0b;
|
|
}
|
|
|
|
.missing {
|
|
margin-top: 18rpx;
|
|
padding: 14rpx 20rpx;
|
|
border-radius: var(--r-lg);
|
|
background: rgba(245, 158, 11, 0.1);
|
|
font-size: 23rpx;
|
|
color: #f0b45c;
|
|
}
|
|
|
|
.link {
|
|
margin-top: 14rpx;
|
|
font-size: 24rpx;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
}
|
|
|
|
.link.inline {
|
|
margin-top: 0;
|
|
margin-left: 18rpx;
|
|
color: var(--cyan);
|
|
}
|
|
|
|
/* ===== 播放选择 ===== */
|
|
.select {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 86rpx;
|
|
padding: 0 26rpx;
|
|
margin-bottom: 14rpx;
|
|
background: var(--panel-2);
|
|
border-radius: var(--r-lg);
|
|
}
|
|
|
|
.select-label {
|
|
font-size: 29rpx;
|
|
font-weight: 500;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.select-arrow {
|
|
font-size: 26rpx;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
}
|
|
|
|
/* ===== 分段控件 ===== */
|
|
.segment {
|
|
display: flex;
|
|
padding: 6rpx;
|
|
background: var(--panel-2);
|
|
border-radius: var(--r-lg);
|
|
}
|
|
|
|
.seg {
|
|
flex: 1;
|
|
height: 68rpx;
|
|
line-height: 68rpx;
|
|
text-align: center;
|
|
font-size: 25rpx;
|
|
color: rgba(255, 255, 255, 0.55);
|
|
border-radius: var(--r-md);
|
|
}
|
|
|
|
.seg.on {
|
|
background: #3d262e;
|
|
color: var(--cyan);
|
|
font-weight: 600;
|
|
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.25);
|
|
}
|
|
|
|
/* ===== 参数行 ===== */
|
|
.param {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.param-name {
|
|
width: 76rpx;
|
|
flex-shrink: 0;
|
|
font-size: 26rpx;
|
|
color: rgba(255, 255, 255, 0.55);
|
|
}
|
|
|
|
.param-slider {
|
|
flex: 1;
|
|
margin: 0 16rpx;
|
|
}
|
|
|
|
.param-val {
|
|
width: 76rpx;
|
|
flex-shrink: 0;
|
|
text-align: right;
|
|
font-size: 25rpx;
|
|
font-weight: 600;
|
|
color: var(--cyan);
|
|
}
|
|
|
|
/* ===== 缩放步进器 ===== */
|
|
.stepper {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-left: 16rpx;
|
|
background: var(--panel-2);
|
|
border-radius: var(--r-lg);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.step-btn {
|
|
width: 70rpx;
|
|
height: 64rpx;
|
|
line-height: 64rpx;
|
|
text-align: center;
|
|
font-size: 32rpx;
|
|
color: rgba(255, 255, 255, 0.75);
|
|
}
|
|
|
|
.step-btn:active {
|
|
background: var(--panel-2);
|
|
}
|
|
|
|
.step-val {
|
|
min-width: 104rpx;
|
|
text-align: center;
|
|
font-size: 25rpx;
|
|
font-weight: 600;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.gesture-hint {
|
|
margin-top: 4rpx;
|
|
text-align: center;
|
|
font-size: 22rpx;
|
|
color: rgba(255, 255, 255, 0.3);
|
|
}
|