kydc/entry-edit/entry-edit.wxss

332 lines
5.4 KiB
Plaintext
Raw Normal View History

2026-04-19 16:39:02 +08:00
page {
background: #0c0e12;
2026-04-23 11:34:54 +08:00
color: #f6f6fc;
2026-04-19 16:39:02 +08:00
}
.page {
min-height: 100vh;
background: #0c0e12;
position: relative;
2026-04-23 11:34:54 +08:00
overflow: hidden;
box-sizing: border-box;
2026-04-19 16:39:02 +08:00
}
2026-04-23 11:34:54 +08:00
.bg-orb {
2026-04-19 16:39:02 +08:00
position: absolute;
2026-04-23 11:34:54 +08:00
border-radius: 9999rpx;
filter: blur(110rpx);
2026-04-19 16:39:02 +08:00
pointer-events: none;
2026-04-23 11:34:54 +08:00
z-index: 0;
}
.orb1 {
width: 48vw;
height: 48vw;
top: -12vw;
right: -14vw;
background: rgba(193, 156, 255, 0.12);
}
.orb2 {
width: 56vw;
height: 56vw;
left: -18vw;
bottom: -16vw;
background: rgba(0, 227, 253, 0.08);
2026-04-19 16:39:02 +08:00
}
.topbar {
position: relative;
2026-04-23 11:34:54 +08:00
z-index: 2;
2026-04-19 16:39:02 +08:00
display: flex;
align-items: center;
justify-content: space-between;
2026-04-23 11:34:54 +08:00
padding: 24rpx 32rpx 8rpx;
2026-04-19 16:39:02 +08:00
}
2026-04-23 11:34:54 +08:00
.back-chip,
.mode-chip {
height: 68rpx;
padding: 0 24rpx;
2026-04-19 16:39:02 +08:00
border-radius: 9999rpx;
2026-04-23 11:34:54 +08:00
display: inline-flex;
2026-04-19 16:39:02 +08:00
align-items: center;
justify-content: center;
2026-04-23 11:34:54 +08:00
font-size: 24rpx;
font-weight: 700;
border: 1rpx solid rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.04);
2026-04-19 16:39:02 +08:00
}
2026-04-23 11:34:54 +08:00
.back-chip {
width: 68rpx;
padding: 0;
font-size: 30rpx;
}
.mode-chip-add {
color: #00e3fd;
}
.mode-chip-edit {
color: #c19cff;
2026-04-19 16:39:02 +08:00
}
.content {
position: relative;
2026-04-23 11:34:54 +08:00
z-index: 1;
2026-04-19 16:39:02 +08:00
height: calc(100vh - 120rpx);
2026-04-23 11:34:54 +08:00
padding: 16rpx 32rpx 40rpx;
box-sizing: border-box;
2026-04-19 16:39:02 +08:00
}
2026-04-23 11:34:54 +08:00
.hero-card {
position: relative;
overflow: hidden;
border-radius: 34rpx;
padding: 34rpx;
border: 1rpx solid rgba(255, 255, 255, 0.08);
background: rgba(29, 32, 37, 0.72);
box-shadow: 0 18rpx 60rpx rgba(0, 0, 0, 0.18);
margin-bottom: 28rpx;
}
.hero-card::after {
content: '';
position: absolute;
inset: auto -40rpx -40rpx auto;
width: 180rpx;
height: 180rpx;
border-radius: 9999rpx;
filter: blur(24rpx);
opacity: 0.4;
}
.hero-cyan::after {
background: rgba(0, 227, 253, 0.45);
}
.hero-pink::after {
background: rgba(255, 108, 149, 0.45);
}
.hero-copy {
position: relative;
z-index: 1;
max-width: 520rpx;
}
.eyebrow {
display: block;
color: #aaabb0;
font-size: 22rpx;
letter-spacing: 2rpx;
margin-bottom: 8rpx;
2026-04-19 16:39:02 +08:00
}
.title {
display: block;
2026-04-23 11:34:54 +08:00
font-size: 54rpx;
line-height: 1.1;
2026-04-19 16:39:02 +08:00
font-weight: 800;
}
.subtitle {
display: block;
2026-04-23 11:34:54 +08:00
margin-top: 12rpx;
2026-04-19 16:39:02 +08:00
color: #aaabb0;
2026-04-23 11:34:54 +08:00
font-size: 25rpx;
line-height: 1.6;
}
.hero-badge {
position: absolute;
right: 30rpx;
top: 30rpx;
z-index: 1;
width: 84rpx;
height: 84rpx;
border-radius: 9999rpx;
display: flex;
align-items: center;
justify-content: center;
font-size: 30rpx;
font-weight: 800;
color: #f6f6fc;
background: rgba(255, 255, 255, 0.06);
border: 1rpx solid rgba(255, 255, 255, 0.08);
}
.segment-shell {
display: flex;
justify-content: flex-start;
margin-bottom: 18rpx;
2026-04-19 16:39:02 +08:00
}
.segmented {
display: flex;
width: fit-content;
padding: 8rpx;
2026-04-23 11:34:54 +08:00
background: rgba(23, 26, 31, 0.85);
border: 1rpx solid rgba(255, 255, 255, 0.08);
2026-04-19 16:39:02 +08:00
border-radius: 9999rpx;
2026-04-23 11:34:54 +08:00
box-shadow: 0 8rpx 30rpx rgba(0, 0, 0, 0.14);
2026-04-19 16:39:02 +08:00
}
.seg {
2026-04-23 11:34:54 +08:00
padding: 18rpx 34rpx;
2026-04-19 16:39:02 +08:00
border-radius: 9999rpx;
color: #aaabb0;
2026-04-23 11:34:54 +08:00
font-size: 24rpx;
font-weight: 600;
2026-04-19 16:39:02 +08:00
}
.active {
background: #1d2025;
color: #c19cff;
2026-04-23 11:34:54 +08:00
box-shadow: 0 0 24rpx rgba(193, 156, 255, 0.18);
}
.tip-card {
margin-bottom: 26rpx;
padding: 22rpx 26rpx;
border-radius: 24rpx;
background: rgba(255, 255, 255, 0.04);
border: 1rpx solid rgba(255, 255, 255, 0.06);
}
.tip-title {
display: block;
font-size: 24rpx;
font-weight: 700;
color: #f6f6fc;
}
.tip-text {
display: block;
margin-top: 8rpx;
color: #aaabb0;
font-size: 22rpx;
line-height: 1.6;
2026-04-19 16:39:02 +08:00
}
.form {
display: flex;
flex-direction: column;
2026-04-23 11:34:54 +08:00
gap: 26rpx;
2026-04-19 16:39:02 +08:00
}
.field {
display: flex;
2026-04-23 11:34:54 +08:00
flex-direction: column;
2026-04-19 16:39:02 +08:00
}
.label {
font-size: 22rpx;
color: #aaabb0;
font-weight: 700;
2026-04-23 11:34:54 +08:00
margin: 0 0 12rpx 4rpx;
2026-04-19 16:39:02 +08:00
}
.muted {
2026-04-23 11:34:54 +08:00
color: rgba(170, 171, 176, 0.55);
font-weight: 400;
2026-04-19 16:39:02 +08:00
}
.input-shell {
min-height: 92rpx;
border-radius: 24rpx;
2026-04-23 11:34:54 +08:00
background: rgba(255, 255, 255, 0.04);
border: 1rpx solid rgba(255, 255, 255, 0.08);
2026-04-19 16:39:02 +08:00
box-sizing: border-box;
display: flex;
2026-04-23 11:34:54 +08:00
align-items: center;
backdrop-filter: blur(16rpx);
}
.input-shell:focus-within {
border-color: rgba(193, 156, 255, 0.45);
box-shadow: 0 0 0 1rpx rgba(193, 156, 255, 0.12);
2026-04-19 16:39:02 +08:00
}
.input {
width: 100%;
2026-04-23 11:34:54 +08:00
height: 100%;
min-height: 92rpx;
padding: 0 26rpx;
2026-04-19 16:39:02 +08:00
font-size: 30rpx;
2026-04-23 11:34:54 +08:00
line-height: 92rpx;
2026-04-19 16:39:02 +08:00
color: #f6f6fc;
2026-04-23 11:34:54 +08:00
box-sizing: border-box;
caret-color: #c19cff;
2026-04-19 16:39:02 +08:00
}
.small {
2026-04-23 11:34:54 +08:00
font-size: 28rpx;
line-height: 92rpx;
2026-04-19 16:39:02 +08:00
}
.textarea-shell {
2026-04-23 11:34:54 +08:00
background: rgba(17, 19, 24, 0.95);
align-items: flex-start;
2026-04-19 16:39:02 +08:00
}
.textarea {
width: 100%;
min-height: 220rpx;
padding: 24rpx 26rpx;
font-size: 28rpx;
2026-04-23 11:34:54 +08:00
line-height: 1.6;
2026-04-19 16:39:02 +08:00
color: #f6f6fc;
2026-04-23 11:34:54 +08:00
box-sizing: border-box;
caret-color: #c19cff;
}
.input::placeholder,
.textarea::placeholder {
color: rgba(170, 171, 176, 0.72);
}
.input::-webkit-input-placeholder,
.textarea::-webkit-input-placeholder {
color: rgba(170, 171, 176, 0.72);
}
.input::-moz-placeholder,
.textarea::-moz-placeholder {
color: rgba(170, 171, 176, 0.72);
}
.input:-ms-input-placeholder,
.textarea:-ms-input-placeholder {
color: rgba(170, 171, 176, 0.72);
2026-04-19 16:39:02 +08:00
}
.action-bar {
display: flex;
gap: 18rpx;
padding-top: 28rpx;
margin-top: 36rpx;
}
.cancel-btn,
.save-btn {
2026-04-23 11:34:54 +08:00
flex: 1;
2026-04-19 16:39:02 +08:00
border-radius: 9999rpx;
padding: 22rpx 34rpx;
2026-04-23 11:34:54 +08:00
font-weight: 700;
font-size: 26rpx;
2026-04-19 16:39:02 +08:00
}
.cancel-btn {
2026-04-23 11:34:54 +08:00
background: rgba(255, 255, 255, 0.04);
2026-04-19 16:39:02 +08:00
color: #f6f6fc;
2026-04-23 11:34:54 +08:00
border: 1rpx solid rgba(255, 255, 255, 0.08);
2026-04-19 16:39:02 +08:00
}
.save-btn {
background: linear-gradient(90deg, #c19cff, #9146ff);
2026-04-23 11:34:54 +08:00
color: #fff;
box-shadow: 0 14rpx 30rpx rgba(145, 70, 255, 0.24);
}