Files
fred-api/web/static/css/style.css
2026-04-02 01:04:59 +08:00

137 lines
2.0 KiB
CSS

:root {
--primary-color: #1a73e8;
--secondary-color: #5f6368;
--success-color: #34a853;
--danger-color: #ea4335;
--warning-color: #fbbc04;
--info-color: #4285f4;
--dark-bg: #202124;
--light-bg: #f8f9fa;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f5f5f5;
}
.navbar {
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.card {
border-radius: 8px;
box-shadow: 0 1px 3px rgba(0,0,0,0.12);
transition: box-shadow 0.3s ease;
}
.card:hover {
box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.card-header {
border-radius: 8px 8px 0 0 !important;
}
#chart-placeholder {
display: none;
}
#dataChart {
display: none;
}
#dataChart.active {
display: block;
}
.table {
font-size: 0.9rem;
}
.table th {
position: sticky;
top: 0;
z-index: 1;
}
.pagination {
margin: 0;
}
.spinner-border-sm {
width: 1rem;
height: 1rem;
border-width: 0.15em;
}
.series-item {
padding: 8px 12px;
cursor: pointer;
border-radius: 4px;
transition: background-color 0.2s;
}
.series-item:hover {
background-color: #e8f0fe;
}
.series-item.active {
background-color: #1a73e8;
color: white;
}
.category-item {
padding: 6px 10px;
cursor: pointer;
font-size: 0.9rem;
border-radius: 4px;
transition: all 0.2s;
}
.category-item:hover {
background-color: #e8f5e9;
}
.release-item {
padding: 8px;
border-bottom: 1px solid #eee;
cursor: pointer;
}
.release-item:hover {
background-color: #f8f9fa;
}
.release-item:last-child {
border-bottom: none;
}
.release-date {
font-size: 0.8rem;
color: #666;
}
#current-time {
font-family: monospace;
font-size: 0.9rem;
}
.btn-outline-light:hover {
background-color: rgba(255,255,255,0.2);
}
footer {
margin-top: 2rem;
}
.form-control:focus, .form-select:focus {
border-color: #1a73e8;
box-shadow: 0 0 0 0.2rem rgba(26, 115, 232, 0.25);
}
.toast-container {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 1050;
}