Spaces:
Sleeping
Sleeping
/* SarcoAdvisor-BSU 红色主题样式 */ | |
/* 主标题黑色,副标题青绿色 */ | |
.card-title.text-success { | |
color: #000000 ; | |
font-weight: bold ; | |
} | |
.card-text.lead { | |
color: #000000 ; | |
} | |
/* 筛查模型标题改为绿色 */ | |
.col-md-6:first-child .model-card-bg .text-primary { | |
color: #28a745 ; | |
} | |
/* 建议模型标题保持蓝色 */ | |
.col-md-6:last-child .model-card-bg .text-primary { | |
color: #007bff ; | |
} | |
/* 模型性能指标区域的筛查模型改为绿色 */ | |
.alert-info .text-primary { | |
color: #28a745 ; | |
} | |
/* 模型性能指标区域的建议模型改为蓝色 */ | |
.alert-info .text-success { | |
color: #007bff ; | |
} | |
/* 下方建议模型卡片区域的所有建议模型改为蓝色 */ | |
.row.justify-content-center .model-card-bg .text-primary { | |
color: #007bff ; | |
} | |
/* 隐藏空白的详细评估卡片 */ | |
#detailedAssessmentSection { | |
display: none ; | |
} | |
/* 当有内容时显示详细评估卡片 */ | |
#detailedAssessmentSection.show { | |
display: block ; | |
} | |
/* 全局样式 */ | |
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) ; | |
} | |
.card-header { | |
border-radius: 10px 10px 0 0 ; | |
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 ; | |
} | |
/* 建议列表样式 */ | |
.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 ; | |
border-color: #EAFBF8 ; | |
color: #2d5a3d ; | |
} | |
/* 模型性能指标专用背景色 */ | |
.alert-info[style*="background-color: #D4F7F1"] { | |
background: #D4F7F1 ; | |
border-color: #D4F7F1 ; | |
color: #2d5a3d ; | |
} | |
.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 ; | |
} | |
#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 ; | |
} | |
#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 ; | |
} | |
.card { | |
box-shadow: none ; | |
border: 1px solid #ddd ; | |
} | |
} | |
/* 语言切换按钮样式 */ | |
.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; | |
} | |
} |