mirror of
https://github.com/kjanat/livegraphs-django.git
synced 2026-02-13 12:55:42 +01:00
chore(deps): update pre-commit config and apply bulk formatting
- build(pre-commit): upgrade hooks (django-upgrade 1.29.1, uv 0.9.7, ruff 0.14.3, bandit 1.8.6) - build(pre-commit): add uv-lock hook, tombi TOML formatter, prettier-plugin-packagejson - build(pre-commit): disable Django check hooks (commented out) - build(pre-commit): switch npx → bunx for prettier execution - build(node): add bun.lock, update prettier config with schema + packagejson plugin - style: apply ruff format to all Python files (comments, spacing, imports) - style: apply prettier format to all JS/CSS files (comment styles, spacing) - style: apply tombi format to pyproject.toml (reordered sections, consistent formatting) - chore: remove emoji from bash script comments for consistency BREAKING CHANGE: Django check and migration check hooks disabled in pre-commit config
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
/**
|
||||
* dashboard.css - Styles specific to dashboard functionality
|
||||
|
||||
* dashboard.css - Styles specific to dashboard functionality
|
||||
*/
|
||||
|
||||
/* Theme variables */
|
||||
/*Theme variables */
|
||||
:root {
|
||||
/* Light theme (default) */
|
||||
/* Light theme (default)*/
|
||||
--bg-color: #f8f9fa;
|
||||
--text-color: #212529;
|
||||
--card-bg: #ffffff;
|
||||
@@ -26,7 +27,7 @@
|
||||
color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
/* Dark theme */
|
||||
/*Dark theme*/
|
||||
[data-bs-theme="dark"] {
|
||||
--bg-color: #212529;
|
||||
--text-color: #f8f9fa;
|
||||
@@ -47,7 +48,7 @@
|
||||
--icon-color: #6ea8fe;
|
||||
}
|
||||
|
||||
/* Apply theme variables */
|
||||
/*Apply theme variables*/
|
||||
body {
|
||||
background-color: var(--bg-color);
|
||||
color: var(--text-color);
|
||||
@@ -91,7 +92,7 @@ body {
|
||||
background-color: var(--sidebar-bg) !important;
|
||||
}
|
||||
|
||||
/* Sidebar navigation styling with dark mode support */
|
||||
/*Sidebar navigation styling with dark mode support*/
|
||||
.sidebar .nav-link {
|
||||
color: var(--text-color);
|
||||
transition: all 0.2s ease;
|
||||
@@ -168,7 +169,7 @@ body {
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
/*Footer*/
|
||||
footer {
|
||||
background-color: var(--card-bg);
|
||||
border-top: 1px solid var(--border-color);
|
||||
@@ -182,7 +183,7 @@ footer {
|
||||
background-color: var(--navbar-bg);
|
||||
}
|
||||
|
||||
/* Dashboard grid layout */
|
||||
/*Dashboard grid layout*/
|
||||
.dashboard-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
||||
@@ -193,7 +194,7 @@ footer {
|
||||
/* Increased gap */
|
||||
}
|
||||
|
||||
/* Dashboard widget cards */
|
||||
/*Dashboard widget cards*/
|
||||
.dashboard-widget {
|
||||
display: flex;
|
||||
|
||||
@@ -254,7 +255,7 @@ footer {
|
||||
/* Consistent padding */
|
||||
}
|
||||
|
||||
/* Chart widgets */
|
||||
/*Chart widgets*/
|
||||
.chart-widget .card-body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -270,7 +271,7 @@ footer {
|
||||
/* Ensure it takes full width of card body */
|
||||
}
|
||||
|
||||
/* Stat widgets / Stat Cards */
|
||||
/*Stat widgets / Stat Cards*/
|
||||
.stat-card {
|
||||
text-align: center;
|
||||
padding: 1.5rem;
|
||||
@@ -319,7 +320,7 @@ footer {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Dashboard theme variations */
|
||||
/*Dashboard theme variations*/
|
||||
.dashboard-theme-light .card {
|
||||
background-color: #fff;
|
||||
}
|
||||
@@ -344,7 +345,7 @@ footer {
|
||||
color: #adb5bd;
|
||||
}
|
||||
|
||||
/* Time period selector */
|
||||
/*Time period selector*/
|
||||
.time-period-selector {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -367,7 +368,7 @@ footer {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
/* Custom metric selector */
|
||||
/*Custom metric selector*/
|
||||
.metric-selector {
|
||||
max-width: 100%;
|
||||
overflow-x: auto;
|
||||
@@ -388,7 +389,7 @@ footer {
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
|
||||
/* Dashboard loading states */
|
||||
/*Dashboard loading states*/
|
||||
.widget-placeholder {
|
||||
min-height: 300px;
|
||||
background: linear-gradient(90deg, #e9ecef 25%, #f8f9fa 50%, #e9ecef 75%);
|
||||
@@ -413,7 +414,7 @@ footer {
|
||||
}
|
||||
}
|
||||
|
||||
/* Dashboard empty states */
|
||||
/*Dashboard empty states*/
|
||||
.empty-state {
|
||||
padding: 2.5rem;
|
||||
|
||||
@@ -449,7 +450,7 @@ footer {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
/* Responsive adjustments */
|
||||
/*Responsive adjustments*/
|
||||
@media (width <=767.98px) {
|
||||
.dashboard-grid {
|
||||
grid-template-columns: 1fr;
|
||||
@@ -471,7 +472,7 @@ footer {
|
||||
}
|
||||
}
|
||||
|
||||
/* Preserve colored background for stat cards in both themes */
|
||||
/*Preserve colored background for stat cards in both themes*/
|
||||
.col-md-3 .card.stats-card.bg-primary {
|
||||
background-color: var(--bs-primary) !important;
|
||||
color: white !important;
|
||||
@@ -507,7 +508,7 @@ footer {
|
||||
color: var(--bs-dark) !important;
|
||||
}
|
||||
|
||||
/* Stats Cards Alignment Fix (Bottom Align, No Overlap) */
|
||||
/*Stats Cards Alignment Fix (Bottom Align, No Overlap)*/
|
||||
.stats-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
Reference in New Issue
Block a user