Skip to content

Commit 1bf8efb

Browse files
committed
styling changes and test changes
1 parent a584543 commit 1bf8efb

2 files changed

Lines changed: 202 additions & 185 deletions

File tree

src/components/BMDashboard/ExpenditureGraph/ExpenditureLineGraph.css

Lines changed: 44 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
--button-bg: #e8a71c;
1515
}
1616

17-
.body.dark-mode, .dark-mode body {
18-
background-color: #1b2a41 !important;
19-
}
20-
2117
.expenditure-chart-container {
2218
padding: 20px;
2319
background-color: #f9f9f9;
@@ -27,29 +23,50 @@
2723
min-height: 100vh;
2824
}
2925

30-
.expenditure-chart-container.dark-mode {
31-
background-color: var(--bg-color, #1b2a41);
32-
color: var(--text-color, #ffffff);
33-
box-shadow: 0 2px 4px rgba(255,255,255,0.05);
34-
}
35-
36-
.expenditure-chart-container.dark-mode select,
37-
.expenditure-chart-container.dark-mode input {
38-
background-color: var(--section-bg, #253342);
39-
color: var(--text-color, #ffffff);
40-
border: 1px solid rgba(255, 255, 255, 0.2);
41-
}
42-
43-
.expenditure-chart-container.dark-mode select:focus,
44-
.expenditure-chart-container.dark-mode input:focus {
45-
border-color: var(--button-bg, #e8a71c);
46-
outline: none;
47-
}
48-
49-
.expenditure-chart-container.dark-mode .filter-controls {
50-
background-color: var(--section-bg, #253342);
51-
border: 1px solid rgba(255, 255, 255, 0.1);
52-
}
26+
.expenditure-chart-container.dark-mode {
27+
background-color: #1b2a41 !important;
28+
color: #ffffff !important;
29+
box-shadow: none !important;
30+
padding: 0 !important;
31+
min-height: 100vh;
32+
border-radius: 0 !important;
33+
}
34+
35+
.expenditure-chart-container.dark-mode .chart-inner-container {
36+
background-color: #16213e !important;
37+
border: 1px solid #233554 !important;
38+
box-shadow: none !important;
39+
border-radius: 0 !important;
40+
width: 100%;
41+
height: 100%;
42+
margin: 0;
43+
padding: 20px;
44+
}
45+
46+
.expenditure-chart-container.dark-mode .filter-controls,
47+
.expenditure-chart-container.dark-mode .project-filter,
48+
.expenditure-chart-container.dark-mode .filter-group {
49+
background-color: #16213e !important;
50+
color: #ffffff !important;
51+
border: none !important;
52+
}
53+
54+
.expenditure-chart-container.dark-mode .error {
55+
background-color: #2a3a5a !important;
56+
color: #ff6b6b !important;
57+
border: 1px solid #ff6b6b !important;
58+
}
59+
60+
.expenditure-chart-container.dark-mode .chart-inner-container {
61+
background-color: #16213e !important;
62+
border: 1px solid #233554 !important;
63+
box-shadow: none !important;
64+
}
65+
66+
.expenditure-chart-container.dark-mode canvas {
67+
background-color: #16213e !important;
68+
border-radius: 8px;
69+
}
5370

5471
.expenditure-chart-container h1 {
5572
font-size: 1.5rem;

0 commit comments

Comments
 (0)