RSJselet/static/style.css
2025-07-10 13:42:54 +08:00

130 lines
2.2 KiB
CSS

/* 成绩查询系统样式 */
body {
background-color: #f8f9fa;
font-family: "Microsoft YaHei", sans-serif;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 15px;
}
.card {
border-radius: 15px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
background-color: #fff;
margin-bottom: 20px;
}
.card-header {
background-color: #0066cc;
color: white;
border-radius: 15px 15px 0 0 !important;
padding: 15px;
text-align: center;
}
.card-body {
padding: 20px;
}
.btn-primary {
background-color: #0066cc;
border-color: #0055aa;
color: white;
padding: 10px 20px;
border-radius: 5px;
border: none;
cursor: pointer;
font-size: 16px;
width: 100%;
}
.btn-primary:hover {
background-color: #0055aa;
border-color: #004499;
}
.result-table {
margin-top: 20px;
width: 100%;
border-collapse: collapse;
}
.result-table th, .result-table td {
border: 1px solid #dee2e6;
padding: 8px;
text-align: left;
}
.result-table th {
background-color: #f8f9fa;
}
.loading-indicator {
display: none;
text-align: center;
margin: 20px 0;
}
.alert {
margin-top: 20px;
padding: 15px;
border-radius: 5px;
}
.alert-danger {
background-color: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}
.alert-success {
background-color: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}
.alert-info {
background-color: #d1ecf1;
color: #0c5460;
border: 1px solid #bee5eb;
}
.waiting-info {
display: none;
margin-top: 20px;
}
.form-label {
font-weight: bold;
margin-bottom: 5px;
display: block;
}
.form-control {
width: 100%;
padding: 10px;
border: 1px solid #ced4da;
border-radius: 5px;
margin-bottom: 15px;
}
.progress {
height: 20px;
background-color: #e9ecef;
border-radius: 5px;
margin-top: 10px;
}
.progress-bar {
background-color: #0066cc;
height: 100%;
border-radius: 5px;
}
.text-center {
text-align: center;
}
.text-muted {
color: #6c757d;
}
.small {
font-size: 85%;
}
.fw-bold {
font-weight: bold;
}
.text-success {
color: #28a745;
}
.text-primary {
color: #007bff;
}
.text-warning {
color: #ffc107;
}
.text-danger {
color: #dc3545;
}