177 lines
2.8 KiB
Plaintext
177 lines
2.8 KiB
Plaintext
/* 全局深色主题样式 */
|
|
page {
|
|
background-color: #0d0d0d;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, sans-serif;
|
|
color: #ffffff;
|
|
}
|
|
|
|
/* 通用容器 - 深色主题 */
|
|
.container {
|
|
padding: 20rpx;
|
|
background-color: #1a1a1a;
|
|
margin: 20rpx;
|
|
border-radius: 16rpx;
|
|
}
|
|
|
|
/* 按钮样式 */
|
|
.btn {
|
|
background: linear-gradient(135deg, #1677FF 0%, #0958d9 100%);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 12rpx;
|
|
padding: 20rpx 40rpx;
|
|
font-size: 28rpx;
|
|
text-align: center;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.btn:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.btn:active {
|
|
opacity: 0.85;
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.btn:disabled {
|
|
background-color: #333333;
|
|
color: #666666;
|
|
}
|
|
|
|
/* 输入框样式 - 深色 */
|
|
.input {
|
|
border: 2rpx solid #2a2a2a;
|
|
border-radius: 12rpx;
|
|
padding: 20rpx;
|
|
font-size: 28rpx;
|
|
background-color: #1a1a1a;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.input:focus {
|
|
border-color: #1677FF;
|
|
outline: none;
|
|
}
|
|
|
|
/* 卡片样式 - 深色 */
|
|
.card {
|
|
background-color: #1a1a1a;
|
|
border-radius: 16rpx;
|
|
padding: 30rpx;
|
|
margin: 20rpx 0;
|
|
}
|
|
|
|
/* 标题样式 */
|
|
.title {
|
|
font-size: 32rpx;
|
|
font-weight: bold;
|
|
color: #ffffff;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
/* 副标题样式 */
|
|
.subtitle {
|
|
font-size: 24rpx;
|
|
color: #999999;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
|
|
/* 文本样式 */
|
|
.text {
|
|
font-size: 28rpx;
|
|
color: #e5e5e5;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.text-small {
|
|
font-size: 24rpx;
|
|
color: #888888;
|
|
}
|
|
|
|
/* 状态颜色 - 深色主题适配 */
|
|
.status-success {
|
|
color: #52c41a;
|
|
}
|
|
|
|
.status-warning {
|
|
color: #faad14;
|
|
}
|
|
|
|
.status-error {
|
|
color: #ff4d4f;
|
|
}
|
|
|
|
.status-info {
|
|
color: #1677FF;
|
|
}
|
|
|
|
/* 加载动画 */
|
|
.loading {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 40rpx;
|
|
}
|
|
|
|
.loading-spinner {
|
|
width: 40rpx;
|
|
height: 40rpx;
|
|
border: 4rpx solid #2a2a2a;
|
|
border-top: 4rpx solid #1677FF;
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* 消息样式 - 深色主题 */
|
|
.message {
|
|
padding: 20rpx;
|
|
margin: 10rpx 0;
|
|
border-radius: 12rpx;
|
|
background-color: #1a1a1a;
|
|
}
|
|
|
|
.message.user {
|
|
background-color: #1677FF;
|
|
text-align: right;
|
|
}
|
|
|
|
.message.system {
|
|
background-color: #222222;
|
|
text-align: left;
|
|
}
|
|
|
|
/* 任务状态标签 */
|
|
.task-status {
|
|
display: inline-block;
|
|
padding: 6rpx 18rpx;
|
|
border-radius: 20rpx;
|
|
font-size: 22rpx;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.task-status.pending {
|
|
background-color: rgba(250, 173, 20, 0.15);
|
|
color: #faad14;
|
|
}
|
|
|
|
.task-status.processing {
|
|
background-color: rgba(22, 119, 255, 0.15);
|
|
color: #1677FF;
|
|
}
|
|
|
|
.task-status.completed {
|
|
background-color: rgba(82, 196, 26, 0.15);
|
|
color: #52c41a;
|
|
}
|
|
|
|
.task-status.failed {
|
|
background-color: rgba(255, 77, 79, 0.15);
|
|
color: #ff4d4f;
|
|
}
|