Spaces:
Running
Running
File size: 10,177 Bytes
ad05511 |
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 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 |
/* SarcoAdvisor-BSU 红色主题样式 */
/* 主标题黑色,副标题青绿色 */
.card-title.text-success {
color: #000000 !important;
font-weight: bold !important;
}
.card-text.lead {
color: #000000 !important;
}
/* 筛查模型标题改为绿色 */
.col-md-6:first-child .model-card-bg .text-primary {
color: #28a745 !important;
}
/* 建议模型标题保持蓝色 */
.col-md-6:last-child .model-card-bg .text-primary {
color: #007bff !important;
}
/* 模型性能指标区域的筛查模型改为绿色 */
.alert-info .text-primary {
color: #28a745 !important;
}
/* 模型性能指标区域的建议模型改为蓝色 */
.alert-info .text-success {
color: #007bff !important;
}
/* 下方建议模型卡片区域的所有建议模型改为蓝色 */
.row.justify-content-center .model-card-bg .text-primary {
color: #007bff !important;
}
/* 隐藏空白的详细评估卡片 */
#detailedAssessmentSection {
display: none !important;
}
/* 当有内容时显示详细评估卡片 */
#detailedAssessmentSection.show {
display: block !important;
}
/* 全局样式 */
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f8f9fa;
line-height: 1.6;
}
/* 导航栏样式 */
.navbar-brand {
font-size: 1.5rem;
font-weight: bold;
}
/* 卡片样式 */
.card {
border: none;
border-radius: 10px;
transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}
.card-header {
border-radius: 10px 10px 0 0 !important;
border-bottom: none;
}
/* 特色功能项样式 */
.feature-item {
padding: 20px;
text-align: center;
transition: transform 0.2s;
}
.feature-item:hover {
transform: translateY(-5px);
}
.feature-item h5 {
margin-top: 15px;
color: #495057;
font-weight: 600;
}
/* 表单样式 */
.section-header {
margin-bottom: 20px;
}
.section-header h4 {
margin-bottom: 10px;
}
.form-label {
font-weight: 600;
color: #495057;
margin-bottom: 8px;
}
.form-control, .form-select {
border-radius: 8px;
border: 2px solid #e9ecef;
padding: 12px 15px;
transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus, .form-select:focus {
border-color: #dc3545;
box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}
.form-text {
font-size: 0.875rem;
color: #6c757d;
margin-top: 5px;
}
/* 按钮样式 */
.btn {
border-radius: 8px;
padding: 12px 24px;
font-weight: 600;
transition: all 0.2s;
}
.btn-primary {
background: linear-gradient(45deg, #dc3545, #c82333);
border: none;
}
.btn-primary:hover {
background: linear-gradient(45deg, #c82333, #bd2130);
transform: translateY(-1px);
box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}
.btn-danger {
background: linear-gradient(45deg, #dc3545, #c82333);
border: none;
}
.btn-danger:hover {
background: linear-gradient(45deg, #c82333, #bd2130);
transform: translateY(-1px);
box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}
.btn-lg {
padding: 15px 40px;
font-size: 1.1rem;
}
/* 结果显示样式 */
.risk-level {
padding: 15px;
border-radius: 10px;
margin-bottom: 20px;
text-align: center;
font-weight: bold;
font-size: 1.2rem;
}
.risk-low {
background: linear-gradient(45deg, #d4edda, #c3e6cb);
color: #155724;
border: 2px solid #b8daff;
}
.risk-medium {
background: linear-gradient(45deg, #fff3cd, #ffeaa7);
color: #856404;
border: 2px solid #ffd93d;
}
.risk-high {
background: linear-gradient(45deg, #f8d7da, #f5c6cb);
color: #721c24;
border: 2px solid #f1b0b7;
}
/* 模型卡片自定义背景色 */
.model-card-bg {
background-color: #F6FFF8 !important;
}
/* 建议列表样式 */
.recommendation-item {
background: #ffffff;
border: 1px solid #e9ecef;
border-radius: 10px;
padding: 20px;
margin-bottom: 15px;
transition: transform 0.2s, box-shadow 0.2s;
}
.recommendation-item:hover {
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.recommendation-title {
font-size: 1.1rem;
font-weight: 600;
color: #495057;
margin-bottom: 10px;
}
.recommendation-description {
color: #6c757d;
margin-bottom: 10px;
line-height: 1.5;
}
.recommendation-meta {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 15px;
padding-top: 15px;
border-top: 1px solid #e9ecef;
}
.priority-badge {
padding: 5px 12px;
border-radius: 20px;
font-size: 0.875rem;
font-weight: 600;
}
.priority-high {
background-color: #dc3545;
color: white;
}
.priority-medium {
background-color: #ffc107;
color: #212529;
}
.priority-low {
background-color: #28a745;
color: white;
}
/* 进度条样式 */
.progress {
height: 10px;
border-radius: 10px;
background-color: #e9ecef;
}
.progress-bar {
border-radius: 10px;
transition: width 0.3s ease;
}
/* 统计卡片样式 */
.stat-card {
background: linear-gradient(45deg, #667eea, #764ba2);
color: white;
border-radius: 15px;
padding: 30px;
text-align: center;
margin-bottom: 20px;
}
.stat-number {
font-size: 2.5rem;
font-weight: bold;
margin-bottom: 10px;
}
.stat-label {
font-size: 1rem;
opacity: 0.9;
}
/* 警告提示样式 */
.alert {
border-radius: 10px;
border: none;
padding: 20px;
}
.alert-info {
background-color: #EAFBF8 !important;
border-color: #EAFBF8 !important;
color: #2d5a3d !important;
}
/* 模型性能指标专用背景色 */
.alert-info[style*="background-color: #D4F7F1"] {
background: #D4F7F1 !important;
border-color: #D4F7F1 !important;
color: #2d5a3d !important;
}
.alert-warning {
background: linear-gradient(45deg, #fff4e6, #ffe0b3);
color: #856404;
}
/* 加载动画样式 */
.spinner-border {
width: 3rem;
height: 3rem;
}
/* 响应式样式 */
@media (max-width: 768px) {
.container {
padding: 0 15px;
}
.card-body {
padding: 20px 15px;
}
.btn-lg {
padding: 12px 30px;
font-size: 1rem;
}
.feature-item {
margin-bottom: 30px;
}
.recommendation-meta {
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
}
/* 动画效果 */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.fade-in-up {
animation: fadeInUp 0.6s ease-out;
}
@keyframes pulse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
100% {
transform: scale(1);
}
}
.pulse {
animation: pulse 2s infinite;
}
/* 工具提示样式 */
.tooltip {
font-size: 0.875rem;
}
.tooltip-inner {
max-width: 200px;
padding: 8px 12px;
border-radius: 6px;
}
/* 自定义滚动条 */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 4px;
}
::-webkit-scrollbar-thumb {
background: #c1c1c1;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #a8a8a8;
}
/* 详细问卷表单样式 */
#unifiedFormSection {
margin-top: 30px;
}
#unifiedFormSection .card {
max-width: 100%;
margin: 0 auto;
}
#unifiedFormSection .card-body {
padding: 30px;
}
/* 问卷表单内部布局 */
#unifiedDetailForm .mb-4 {
margin-bottom: 2rem !important;
}
#unifiedDetailForm .section-header h5 {
color: #28a745;
font-weight: 600;
margin-bottom: 1rem;
}
#unifiedDetailForm .section-header hr {
border-color: #28a745;
opacity: 0.3;
}
/* 表单组样式 */
#unifiedDetailForm .mb-3 {
margin-bottom: 1.5rem !important;
}
#unifiedDetailForm .form-label {
font-weight: 600;
color: #495057;
margin-bottom: 0.5rem;
}
#unifiedDetailForm .form-select,
#unifiedDetailForm .form-control {
border: 2px solid #e9ecef;
border-radius: 8px;
padding: 0.75rem 1rem;
font-size: 1rem;
}
#unifiedDetailForm .form-select:focus,
#unifiedDetailForm .form-control:focus {
border-color: #28a745;
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
#unifiedDetailForm .form-text {
font-size: 0.875rem;
color: #6c757d;
margin-top: 0.25rem;
}
/* 响应式布局优化 */
@media (max-width: 768px) {
#unifiedFormSection .card-body {
padding: 20px 15px;
}
#unifiedDetailForm .col-md-6 {
margin-bottom: 1rem;
}
}
/* 语言切换由JavaScript控制,不使用CSS */
/* 8位游戏风格标题 */
.pixel-game-title {
font-family: 'VT323', monospace;
font-size: 28px;
font-weight: normal;
color: #333;
text-shadow:
1px 1px 0px #666;
letter-spacing: 1px;
text-transform: uppercase;
margin-top: 5px;
margin-bottom: 0;
}
/* 打印样式 */
@media print {
.navbar,
.btn,
footer {
display: none !important;
}
.card {
box-shadow: none !important;
border: 1px solid #ddd !important;
}
}
/* 语言切换按钮样式 */
.language-toggle-container {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 1000;
}
.language-toggle-container .btn {
border-radius: 25px;
padding: 8px 16px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
transition: all 0.3s ease;
backdrop-filter: blur(10px);
background: rgba(13, 110, 253, 0.9);
border: none;
color: white;
}
.language-toggle-container .btn:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
background: rgba(13, 110, 253, 1);
color: white;
}
.language-toggle-container .btn:active {
transform: translateY(0);
}
/* 移动端语言切换按钮调整 */
@media (max-width: 768px) {
.language-toggle-container {
bottom: 15px;
right: 15px;
}
.language-toggle-container .btn {
padding: 6px 12px;
font-size: 0.85rem;
}
} |