File size: 2,655 Bytes
35e7795 | 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 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 | /* 用户种子问题管理模块样式 */
/* 确保动态加载容器占满父容器 */
#user-seed-question-container {
width: 100%;
flex: 1;
display: flex;
flex-direction: column;
min-height: 0;
overflow: hidden;
}
#userSeedQuestionContent {
width: 100%;
flex: 1;
display: flex;
flex-direction: column;
min-height: 0;
overflow: hidden;
}
/* section-header 在 section-content-wrapper 内部时的样式 */
#userSeedQuestionContent .section-header {
margin-bottom: 0;
padding: 24px 24px 24px 24px;
border-bottom: 1px solid #e0e0e0;
flex-shrink: 0;
}
#userSeedQuestionContent .section-content {
flex: 1;
padding: 24px;
display: flex;
flex-direction: column;
min-height: 0;
overflow: hidden;
}
/* 表格容器应该可以滚动,占据可用空间 */
#userSeedQuestionContent .section-content .table-container {
flex: 1;
overflow-y: auto;
overflow-x: auto;
min-height: 0;
}
/* 分页器固定在底部,不参与滚动 */
#userSeedQuestionContent .section-content .pagination-container {
flex-shrink: 0;
margin-top: 16px;
}
/* 搜索输入框 */
#userSeedQuestionContent .search-input {
width: 300px;
}
/* 导入结果样式 */
#importResult {
margin-top: 20px;
padding: 16px;
border-radius: 4px;
background-color: #f5f5f5;
}
.import-result-content h4 {
margin: 0 0 12px 0;
font-size: 16px;
font-weight: 600;
}
.import-result-content h5 {
margin: 16px 0 8px 0;
font-size: 14px;
font-weight: 600;
}
.import-stats {
display: flex;
gap: 24px;
margin-bottom: 16px;
}
.stat-item {
display: flex;
flex-direction: column;
gap: 4px;
}
.stat-label {
font-size: 12px;
color: #666;
}
.stat-value {
font-size: 18px;
font-weight: 600;
color: #333;
}
.stat-item.stat-success .stat-value {
color: #2e7d32;
}
.stat-item.stat-error .stat-value {
color: #d32f2f;
}
.import-errors {
margin-top: 16px;
}
.error-list {
margin: 8px 0 0 0;
padding-left: 20px;
max-height: 200px;
overflow-y: auto;
}
.error-list li {
margin: 4px 0;
font-size: 12px;
color: #d32f2f;
}
.error-message {
color: #d32f2f;
margin: 8px 0 0 0;
font-size: 14px;
}
.text-error {
color: #d32f2f;
}
.form-text {
display: block;
margin-top: 4px;
font-size: 12px;
color: #666;
}
.text-muted {
color: #666;
}
/* 响应式设计 */
@media (max-width: 768px) {
#userSeedQuestionContent .search-input {
width: 100%;
}
.import-stats {
flex-direction: column;
gap: 12px;
}
}
|