- Removed redundant CSS rules and consolidated styles across dashboard, forms, imports, projects, and scenarios. - Introduced new color variables in theme-default.css for better maintainability and consistency. - Updated existing styles to utilize new color variables, enhancing the overall design. - Improved responsiveness and layout of various components, including tables and cards. - Ensured consistent styling for buttons, links, and headers across the application.
83 lines
1.4 KiB
CSS
83 lines
1.4 KiB
CSS
:root {
|
|
--dashboard-gap: 1.5rem;
|
|
}
|
|
|
|
.dashboard-metrics {
|
|
display: grid;
|
|
gap: var(--dashboard-gap);
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.dashboard-grid {
|
|
display: grid;
|
|
gap: var(--dashboard-gap);
|
|
grid-template-columns: 2fr 1fr;
|
|
align-items: start;
|
|
}
|
|
|
|
.grid-main {
|
|
display: grid;
|
|
gap: var(--dashboard-gap);
|
|
}
|
|
|
|
.grid-sidebar {
|
|
display: grid;
|
|
gap: var(--dashboard-gap);
|
|
}
|
|
|
|
.timeline {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.timeline-label {
|
|
font-size: 0.85rem;
|
|
color: var(--color-text-subtle);
|
|
display: block;
|
|
margin-bottom: 0.35rem;
|
|
}
|
|
|
|
.alerts-list,
|
|
.links-list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.alerts-list li {
|
|
padding: 0.75rem;
|
|
border-radius: var(--radius-sm);
|
|
background: rgba(209, 75, 75, 0.16);
|
|
background: color-mix(in srgb, var(--color-danger) 16%, transparent);
|
|
border: 1px solid rgba(209, 75, 75, 0.3);
|
|
border: 1px solid color-mix(in srgb, var(--color-danger) 30%, transparent);
|
|
}
|
|
|
|
.links-list a {
|
|
color: var(--brand-3);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.links-list a:hover,
|
|
.links-list a:focus {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.dashboard-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.grid-sidebar {
|
|
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
|
}
|
|
}
|