Spaces:
Paused
Paused
File size: 2,087 Bytes
df4585d 1ea9345 98a3470 1ea9345 98a3470 1ea9345 98a3470 1ea9345 98a3470 1ea9345 98a3470 1ea9345 98a3470 df4585d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | /* 通用样式 */
body {
font-family: sans-serif;
line-height: 1.6;
margin: 0;
padding: 20px;
background-color: #f4f4f4;
color: #333;
}
.container {
max-width: 900px;
margin: auto;
background: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1, h2 {
color: #0056b3;
}
h1 {
text-align: center;
margin-bottom: 20px;
}
.status-section {
margin-bottom: 20px;
padding: 15px;
border: 1px solid #ddd;
border-radius: 5px;
}
.status-section h2 {
margin-top: 0;
border-bottom: 1px solid #eee;
padding-bottom: 10px;
margin-bottom: 15px;
color: #007bff;
}
/* 配置信息和令牌状态样式 */
#config-info p,
#token-status p {
margin: 5px 0;
}
#config-info strong,
#token-status strong {
display: inline-block;
width: 120px; /* 固定宽度以便对齐 */
}
/* 日志摘要样式 */
#log-summary {
background-color: #e9e9e9;
padding: 10px;
border-radius: 4px;
white-space: pre-wrap; /* 保留换行符和空格 */
font-family: monospace;
max-height: 300px; /* 限制高度并添加滚动条 */
overflow-y: auto;
}
/* 表格样式 */
#available-tokens-table {
width: auto; /* 调整宽度为内容自适应 */
border-collapse: collapse; /* 合并边框 */
margin-top: 10px;
margin-bottom: 10px; /* 增加底部外边距 */
}
#available-tokens-table th,
#available-tokens-table td {
border: 1px solid #ddd; /* 添加边框 */
padding: 8px 12px; /* 增加内边距,左右稍大 */
text-align: left; /* 左对齐文本 */
}
#available-tokens-table th {
background-color: #e9e9e9; /* 表头背景色 */
font-weight: bold;
color: #555; /* 表头文字颜色 */
}
#available-tokens-table tbody tr:nth-child(even) {
background-color: #f9f9f9; /* 交替行背景色 */
}
#available-tokens-table tbody tr:hover {
background-color: #e0e0e0; /* 鼠标悬停背景色 */
}
#available-tokens-table td:last-child {
text-align: center; /* 可用数量列居中对齐 */
} |