Files
sundynix-pets/pets-fe/app.wxss
T
Blizzard cb4ffa13e9
ci-cd / verify (push) Successful in 1m31s
ci-cd / deploy (push) Skipped
Add one-way task completion and exportable pet identity cards
2026-10-05 11:32:32 +08:00

156 lines
2.5 KiB
Plaintext

page {
height: 100vh;
overflow: hidden;
background: #fff9f3;
color: #604a40;
font-family:
ui-rounded, "Hiragino Maru Gothic ProN", "PingFang SC", sans-serif;
font-size: 28rpx;
line-height: 1.5;
}
::-webkit-scrollbar {
display: none;
width: 0;
height: 0;
color: transparent;
}
view,
text,
button,
input,
textarea,
picker {
box-sizing: border-box;
}
button {
border: 0;
}
button::after {
border: 0;
}
.screen {
min-height: 100%;
padding: 16rpx 32rpx calc(170rpx + env(safe-area-inset-bottom));
}
.eyebrow {
color: #886c5f;
font-size: 22rpx;
font-weight: 600;
letter-spacing: 2rpx;
}
.section-title {
font-size: 34rpx;
font-weight: 600;
margin: 38rpx 0 20rpx;
}
.muted {
color: #886c5f;
}
.card {
background: #fff;
border-radius: 34rpx;
box-shadow: 0 15rpx 45rpx rgba(123, 84, 58, 0.06);
padding: 28rpx;
margin-bottom: 20rpx;
}
.primary {
background: #b95738;
color: white;
border-radius: 23rpx;
font-size: 28rpx;
font-weight: 600;
padding: 22rpx 30rpx;
line-height: 1.3;
}
.secondary {
background: #fff0e2;
color: #b95738;
border-radius: 23rpx;
font-size: 27rpx;
font-weight: 600;
padding: 20rpx;
}
.row {
display: flex;
align-items: center;
justify-content: space-between;
}
.pill {
display: inline-flex;
align-items: center;
border-radius: 99rpx;
background: #fff0e2;
color: #b95738;
padding: 8rpx 18rpx;
font-size: 23rpx;
}
.empty {
text-align: center;
color: #886c5f;
padding: 64rpx 24rpx;
}
.field {
margin: 22rpx 0;
}
.field-label {
font-size: 24rpx;
color: #886c5f;
margin-bottom: 12rpx;
}
.field input,
.field textarea {
width: 100%;
background: #fff;
border-radius: 20rpx;
padding: 22rpx;
font-size: 28rpx;
min-height: 76rpx;
}
.field picker {
display: block;
width: 100%;
}
.field textarea {
height: 170rpx;
}
.completion-toolbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18rpx;
margin: 8rpx 0 20rpx;
font-size: 23rpx;
color: #886c5f;
}
.finish-all {
margin: 0;
padding: 12rpx 22rpx;
background: #fff0e2;
color: #b95738;
font-size: 24rpx;
line-height: 1.4;
border-radius: 99rpx;
}
.all-done {
color: #b95738;
}
.task-completed .check {
animation: completion-pop 0.35s ease-out;
}
.task-completed .task-name,
.task-completed .info strong {
color: #9d8779;
}
@keyframes completion-pop {
0% {
transform: scale(0.7);
}
60% {
transform: scale(1.18);
}
100% {
transform: scale(1);
}
}