1
0
Files

178 lines
2.8 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Microsoft YaHei', Arial, sans-serif;
background: linear-gradient(135deg, #81C784 0%, #66BB6A 100%);
padding: 20px;
min-height: 100vh;
}
.container {
max-width: 1400px;
margin: 0 auto;
background: white;
border-radius: 16px;
padding: 30px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
h1 {
text-align: center;
color: #333;
margin-bottom: 30px;
font-size: 32px;
font-weight: 600;
}
.filter-section {
background: #f8f9fa;
padding: 20px;
border-radius: 12px;
margin-bottom: 30px;
display: flex;
align-items: center;
gap: 15px;
flex-wrap: wrap;
}
.filter-section label {
font-weight: 600;
color: #555;
font-size: 14px;
}
.filter-section input {
padding: 10px 15px;
border: 2px solid #e0e0e0;
border-radius: 8px;
font-size: 14px;
outline: none;
transition: border-color 0.3s;
}
.filter-section input:focus {
border-color: #66BB6A;
}
.filter-section button {
padding: 10px 25px;
background: linear-gradient(135deg, #66BB6A 0%, #43A047 100%);
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
font-size: 14px;
font-weight: 600;
transition: transform 0.2s, box-shadow 0.2s;
}
.filter-section button:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(102, 187, 106, 0.4);
}
.stats-summary {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.stat-card {
background: linear-gradient(135deg, #66BB6A 0%, #43A047 100%);
color: white;
padding: 20px;
border-radius: 12px;
text-align: center;
}
.stat-card h3 {
font-size: 14px;
margin-bottom: 10px;
opacity: 0.9;
}
.stat-card .value {
font-size: 28px;
font-weight: 700;
}
.charts-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 25px;
margin-bottom: 25px;
}
.chart-container {
background: #f8f9fa;
border-radius: 12px;
padding: 20px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.chart-container.full-width {
grid-column: 1 / -1;
}
.chart-container h2 {
font-size: 18px;
color: #333;
margin-bottom: 15px;
font-weight: 600;
}
.chart {
width: 100%;
height: 400px;
}
.footer {
text-align: center;
padding: 20px 0;
color: white;
font-size: 14px;
}
.chart.full-height {
height: 500px;
}
@media (max-width: 1024px) {
.charts-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 768px) {
.container {
padding: 20px;
}
h1 {
font-size: 24px;
}
.filter-section {
flex-direction: column;
align-items: stretch;
}
.filter-section input,
.filter-section button {
width: 100%;
}
.stats-summary {
grid-template-columns: repeat(2, 1fr);
}
.chart {
height: 300px;
}
}