/* 任务页面 - 深色主题样式 */ .task-container { display: flex; flex-direction: column; height: 100vh; background-color: #0d0d0d; } /* 任务创建区域 */ .task-create { background: linear-gradient(180deg, #1a1a1a 0%, #161616 100%); padding: 30rpx; margin-bottom: 20rpx; border-radius: 24rpx; border: 2rpx solid rgba(255,255,255,0.06); } .input-group { margin-bottom: 28rpx; } .label { display: block; font-size: 27rpx; color: #aaaaaa; margin-bottom: 14rpx; font-weight: 500; letter-spacing: 1rpx; } .task-input { width: 100%; border: 2rpx solid #252525; border-radius: 14rpx; padding: 22rpx 24rpx; font-size: 28rpx; background-color: #141414; color: #ffffff; transition: all 0.3s ease; box-sizing: border-box; } .task-input:focus { border-color: #1677FF; background-color: #1a1a1a; outline: none; box-shadow: 0 0 0 3rpx rgba(22,119,255,0.12); } .task-textarea { width: 100%; min-height: 120rpx; border: 2rpx solid #252525; border-radius: 14rpx; padding: 22rpx 24rpx; font-size: 28rpx; background-color: #141414; color: #ffffff; transition: all 0.3s ease; resize: vertical; box-sizing: border-box; } .task-textarea:focus { border-color: #1677FF; background-color: #1a1a1a; box-shadow: 0 0 0 3rpx rgba(22,119,255,0.12); } .picker { display: flex; justify-content: space-between; align-items: center; width: 100%; border: 2rpx solid #252525; border-radius: 14rpx; padding: 22rpx 24rpx; font-size: 28rpx; background-color: #141414; color: #e5e5e5; transition: all 0.3s ease; } .picker:focus { border-color: #1677FF; background-color: #1a1a1a; } .picker-arrow { color: #555555; font-size: 22rpx; } .submit-btn { width: 100%; background: linear-gradient(135deg, #1677FF 0%, #0958d9 100%); color: white; border: none; border-radius: 50rpx; padding: 28rpx; font-size: 30rpx; font-weight: 600; transition: all 0.3s ease; margin-top: 20rpx; box-shadow: 0 6rpx 24rpx rgba(22,119,255,0.3); } .submit-btn:active { transform: scale(0.98); opacity: 0.92; } .submit-btn:disabled { background: #222222; color: #666666; transform: none; box-shadow: none; } /* 任务列表区域 */ .task-list { flex: 1; background: linear-gradient(180deg, #1a1a1a 0%, #151515 100%); border-radius: 24rpx; display: flex; flex-direction: column; overflow: hidden; border: 2rpx solid rgba(255,255,255,0.06); } .list-header { display: flex; justify-content: space-between; align-items: center; padding: 28rpx 32rpx; border-bottom: 2rpx solid rgba(255,255,255,0.06); } .list-title { font-size: 30rpx; font-weight: 600; color: #ffffff; } .filter-buttons { display: flex; gap: 12rpx; } .filter-btn { padding: 10rpx 20rpx; border: 2rpx solid #252525; border-radius: 20rpx; font-size: 23rpx; background: transparent; color: #777777; transition: all 0.25s ease; line-height: 1.4; } .filter-btn.active { background: #1677FF; color: white; border-color: #1677FF; box-shadow: 0 4rpx 12rpx rgba(22,119,255,0.25); } .filter-btn:active { transform: scale(0.95); } .task-scroll { flex: 1; padding: 16rpx 20rpx; } .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100rpx 40rpx; text-align: center; } .empty-state image { width: 200rpx; height: 200rpx; margin-bottom: 30rpx; opacity: 0.25; filter: brightness(0) invert(1) opacity(0.3); } .empty-text { font-size: 28rpx; color: #555555; }