micro-sidebar 1.2.2__py3-none-any.whl → 2.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {micro_sidebar-1.2.2.dist-info → micro_sidebar-2.2.0.dist-info}/METADATA +117 -1
- micro_sidebar-2.2.0.dist-info/RECORD +31 -0
- sidebar/apps.py +10 -0
- sidebar/context_processors.py +127 -0
- sidebar/discovery.py +151 -0
- sidebar/static/sidebar/css/reorder.css +91 -0
- sidebar/static/sidebar/css/theme_picker.css +165 -0
- sidebar/static/sidebar/js/reorder.js +267 -0
- sidebar/static/sidebar/js/theme_picker.js +58 -0
- sidebar/static/sidebar/sidebar.css +34 -8
- sidebar/static/sidebar/sidebar.js +15 -40
- sidebar/static/themes/blue.css +51 -0
- sidebar/static/themes/dark.css +501 -0
- sidebar/static/themes/gold.css +51 -0
- sidebar/static/themes/green.css +63 -0
- sidebar/static/themes/light.css +51 -0
- sidebar/static/themes/main.css +6 -0
- sidebar/static/themes/main.js +41 -0
- sidebar/static/themes/red.css +51 -0
- sidebar/templates/sidebar/auto.html +15 -0
- sidebar/templates/sidebar/extra_groups.html +34 -0
- sidebar/templates/sidebar/main.html +94 -5
- sidebar/templatetags/__init__.py +1 -0
- sidebar/templatetags/sidebar_tags.py +74 -0
- micro_sidebar-1.2.2.dist-info/RECORD +0 -13
- {micro_sidebar-1.2.2.dist-info → micro_sidebar-2.2.0.dist-info}/LICENSE +0 -0
- {micro_sidebar-1.2.2.dist-info → micro_sidebar-2.2.0.dist-info}/WHEEL +0 -0
- {micro_sidebar-1.2.2.dist-info → micro_sidebar-2.2.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,501 @@
|
|
|
1
|
+
/* --- Dark Theme (Modern) --- */
|
|
2
|
+
:root.theme-dark {
|
|
3
|
+
--title: #e2e8f0;
|
|
4
|
+
--body: #0f172a;
|
|
5
|
+
--htitle: #f8fafc;
|
|
6
|
+
--hbody: #1e293b;
|
|
7
|
+
--table-row: #1e293b;
|
|
8
|
+
--table-row-hover: #334155;
|
|
9
|
+
--primal: #3b82f6;
|
|
10
|
+
--primal_dark: #2563eb;
|
|
11
|
+
--primal-rgb: 59, 130, 246;
|
|
12
|
+
--btn-primary-shadow: rgba(59, 130, 246, 0.4);
|
|
13
|
+
color-scheme: dark; /* Forces browser native controls (scrollbars, form-control icons) to dark mode */
|
|
14
|
+
|
|
15
|
+
/* Bootstrap Overrides */
|
|
16
|
+
--bs-primary: var(--primal);
|
|
17
|
+
--bs-primary-rgb: var(--primal-rgb);
|
|
18
|
+
--bs-btn-bg: var(--primal);
|
|
19
|
+
--bs-btn-border-color: var(--primal);
|
|
20
|
+
--bs-btn-hover-bg: var(--primal_dark);
|
|
21
|
+
--bs-btn-hover-border-color: var(--primal_dark);
|
|
22
|
+
--bs-link-color: var(--primal);
|
|
23
|
+
--bs-link-hover-color: var(--primal_dark);
|
|
24
|
+
/* Dark Mode Specific Bootstrap Vars */
|
|
25
|
+
--bs-body-bg: var(--body);
|
|
26
|
+
--bs-body-color: var(--title);
|
|
27
|
+
|
|
28
|
+
/* Login Theme Variables */
|
|
29
|
+
--bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
|
|
30
|
+
--right-bg: var(--title);
|
|
31
|
+
--primary-color: var(--primal);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* Force options to inherit dark theme colors */
|
|
35
|
+
:root.theme-dark select option {
|
|
36
|
+
background-color: #1e293b;
|
|
37
|
+
color: #e2e8f0;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* --- Comprehensive Dark Theme Overrides --- */
|
|
41
|
+
|
|
42
|
+
/* 1. Global, Cards & Modals */
|
|
43
|
+
:root.theme-dark .card,
|
|
44
|
+
:root.theme-dark .card-body,
|
|
45
|
+
:root.theme-dark .dashboard-card,
|
|
46
|
+
:root.theme-dark .option-section,
|
|
47
|
+
:root.theme-dark .list-group-item,
|
|
48
|
+
:root.theme-dark .modal-content {
|
|
49
|
+
background-color: #1e293b !important;
|
|
50
|
+
color: #e2e8f0 !important;
|
|
51
|
+
border-color: #334155 !important;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
:root.theme-dark #sidebar {
|
|
55
|
+
background: #1e293b !important;
|
|
56
|
+
border-left: 1px solid #334155 !important;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
:root.theme-dark .text-muted {
|
|
60
|
+
color: #94a3b8 !important;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
:root.theme-dark .bg-light {
|
|
64
|
+
background-color: #0f172a !important;
|
|
65
|
+
border-color: #334155 !important;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* Fix "Gray Fog" - Map white utilities to dark theme colors */
|
|
69
|
+
:root.theme-dark .bg-white {
|
|
70
|
+
background-color: #1e293b !important;
|
|
71
|
+
color: #e2e8f0 !important;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
:root.theme-dark .border-white {
|
|
75
|
+
border-color: #334155 !important;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/* 2. Titlebar */
|
|
79
|
+
:root.theme-dark .titlebar {
|
|
80
|
+
background: linear-gradient(90deg, #0f172a 10%, #1e293b 90%) !important;
|
|
81
|
+
border-bottom: 1px solid #334155 !important;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
:root.theme-dark .titlebar p,
|
|
85
|
+
:root.theme-dark .titlebar .btn-light {
|
|
86
|
+
color: #e2e8f0 !important;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
:root.theme-dark .titlebar .btn-light:hover {
|
|
90
|
+
background-color: rgba(255, 255, 255, 0.1) !important;
|
|
91
|
+
color: #fff !important;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/* 3. Forms & Inputs */
|
|
95
|
+
:root.theme-dark .form-control,
|
|
96
|
+
:root.theme-dark .form-select,
|
|
97
|
+
:root.theme-dark .input-group-text {
|
|
98
|
+
background-color: #0f172a !important;
|
|
99
|
+
border-color: #334155 !important;
|
|
100
|
+
color: #e2e8f0 !important;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
:root.theme-dark .form-control:focus,
|
|
104
|
+
:root.theme-dark .form-select:focus {
|
|
105
|
+
background-color: #0f172a !important; /* Kept same as resting state */
|
|
106
|
+
border-color: #334155 !important;
|
|
107
|
+
color: #fff !important;
|
|
108
|
+
box-shadow: none !important;
|
|
109
|
+
outline: none !important;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
:root.theme-dark label,
|
|
113
|
+
:root.theme-dark .form-label,
|
|
114
|
+
:root.theme-dark .col-form-label {
|
|
115
|
+
color: #e2e8f0 !important;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
:root.theme-dark ::placeholder {
|
|
119
|
+
color: #64748b !important;
|
|
120
|
+
opacity: 1;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/* 4. Tables */
|
|
124
|
+
:root.theme-dark .table {
|
|
125
|
+
color: #e2e8f0 !important;
|
|
126
|
+
--bs-table-color: #e2e8f0 !important;
|
|
127
|
+
--bs-table-striped-color: #e2e8f0 !important;
|
|
128
|
+
--bs-table-active-color: #e2e8f0 !important;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
:root.theme-dark .table thead th {
|
|
132
|
+
background-color: #1e293b !important;
|
|
133
|
+
color: #fff !important;
|
|
134
|
+
border-color: #334155 !important;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
:root.theme-dark .table>tbody>tr>td,
|
|
138
|
+
:root.theme-dark .table>tbody>tr>th {
|
|
139
|
+
border-color: #334155 !important;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
:root.theme-dark .table>tbody>tr:nth-child(odd)>td,
|
|
143
|
+
:root.theme-dark .table>tbody>tr:nth-child(odd)>th {
|
|
144
|
+
--bs-table-bg-type: #0f172a !important;
|
|
145
|
+
background-color: #0f172a !important;
|
|
146
|
+
color: var(--htitle) !important;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
:root.theme-dark .table>tbody>tr:nth-child(even)>td,
|
|
150
|
+
:root.theme-dark .table>tbody>tr:nth-child(even)>th {
|
|
151
|
+
--bs-table-bg-type: #1e293b !important;
|
|
152
|
+
background-color: #1e293b !important;
|
|
153
|
+
color: var(--htitle) !important;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/* 5. Dropdowns */
|
|
157
|
+
:root.theme-dark .dropdown-menu {
|
|
158
|
+
background-color: #1e293b !important;
|
|
159
|
+
border-color: #334155 !important;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
:root.theme-dark .dropdown-item {
|
|
163
|
+
color: var(--htitle) !important;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
:root.theme-dark .dropdown-item:hover {
|
|
167
|
+
background-color: rgba(255, 255, 255, 0.1) !important;
|
|
168
|
+
color: #fff !important;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/* 6. Sidebar Active State & Scrollbar */
|
|
172
|
+
:root.theme-dark .list-group-item.active {
|
|
173
|
+
background-color: var(--primal) !important;
|
|
174
|
+
border-color: var(--primal) !important;
|
|
175
|
+
color: #fff !important;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
:root.theme-dark ::-webkit-scrollbar-track {
|
|
179
|
+
background: #0f172a;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
:root.theme-dark ::-webkit-scrollbar-thumb {
|
|
183
|
+
background: #334155;
|
|
184
|
+
border: 3px solid #0f172a;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/* 7. Plotly/Charts (SVG Hacks) */
|
|
188
|
+
:root.theme-dark .js-plotly-plot .main-svg {
|
|
189
|
+
background: transparent !important;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
:root.theme-dark .js-plotly-plot text {
|
|
193
|
+
fill: #cbd5e1 !important; /* Slate-300 for text */
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
:root.theme-dark .js-plotly-plot .xgrid,
|
|
197
|
+
:root.theme-dark .js-plotly-plot .ygrid,
|
|
198
|
+
:root.theme-dark .js-plotly-plot .zerolinelayer path {
|
|
199
|
+
stroke: #334155 !important; /* Darker grid lines */
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
:root.theme-dark .js-plotly-plot .bg {
|
|
203
|
+
fill: rgba(0,0,0,0) !important; /* Transparent background for chart area */
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/* 8. Text Elements & Headers */
|
|
207
|
+
:root.theme-dark h1,
|
|
208
|
+
:root.theme-dark h2,
|
|
209
|
+
:root.theme-dark h3,
|
|
210
|
+
:root.theme-dark h4,
|
|
211
|
+
:root.theme-dark h5,
|
|
212
|
+
:root.theme-dark h6,
|
|
213
|
+
:root.theme-dark .header-title,
|
|
214
|
+
:root.theme-dark .stat-value,
|
|
215
|
+
:root.theme-dark .form-text {
|
|
216
|
+
color: #e2e8f0 !important;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/* 9. Sidebar & Button Specifics Clean-up */
|
|
220
|
+
:root.theme-dark .sidebar .list-group-item,
|
|
221
|
+
:root.theme-dark .sidebar .accordion-button {
|
|
222
|
+
border-color: transparent !important;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
:root.theme-dark .titlebar .login-title-btn {
|
|
226
|
+
border-color: transparent !important;
|
|
227
|
+
background-color: transparent !important;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
/* Ensure Soft Buttons (Secondary, Success, Info, Warning, Danger) Retain their identity in Dark Mode */
|
|
231
|
+
/* Force Black Text & Icons for these soft colored buttons */
|
|
232
|
+
:root.theme-dark .btn-secondary,
|
|
233
|
+
:root.theme-dark .btn-success,
|
|
234
|
+
:root.theme-dark .btn-info,
|
|
235
|
+
:root.theme-dark .btn-warning,
|
|
236
|
+
:root.theme-dark .btn-danger {
|
|
237
|
+
color: #000 !important; /* Force black text */
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
:root.theme-dark .btn-secondary .bi,
|
|
241
|
+
:root.theme-dark .btn-success .bi,
|
|
242
|
+
:root.theme-dark .btn-info .bi,
|
|
243
|
+
:root.theme-dark .btn-warning .bi,
|
|
244
|
+
:root.theme-dark .btn-danger .bi {
|
|
245
|
+
color: #000 !important; /* Force black icons */
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/* Slightly "Stale" / Desaturated Light Backgrounds for Dark Mode to stand out but not blinding */
|
|
249
|
+
:root.theme-dark .btn-secondary { background-color: #cbd5e1 !important; color: #1e293b !important; } /* Stale Slate-300 */
|
|
250
|
+
:root.theme-dark .btn-success { background-color: #a7f3d0 !important; color: #064e3b !important; } /* Stale Emerald-200 */
|
|
251
|
+
:root.theme-dark .btn-info { background-color: #bae6fd !important; color: #0c4a6e !important; } /* Stale Sky-200 */
|
|
252
|
+
:root.theme-dark .btn-warning { background-color: #fde68a !important; color: #78350f !important; } /* Stale Amber-200 */
|
|
253
|
+
:root.theme-dark .btn-danger { background-color: #fecaca !important; color: #7f1d1d !important; } /* Stale Red-200 */
|
|
254
|
+
|
|
255
|
+
/* Hover States for Dark Mode Soft Buttons */
|
|
256
|
+
:root.theme-dark .btn-secondary:hover { background-color: #94a3b8 !important; }
|
|
257
|
+
:root.theme-dark .btn-success:hover { background-color: #6ee7b7 !important; }
|
|
258
|
+
:root.theme-dark .btn-info:hover { background-color: #7dd3fc !important; }
|
|
259
|
+
:root.theme-dark .btn-warning:hover { background-color: #fcd34d !important; }
|
|
260
|
+
:root.theme-dark .btn-danger:hover { background-color: #fca5a5 !important; }
|
|
261
|
+
|
|
262
|
+
/* Ensure icons inside these specific buttons inherit the specific dark text color defined above */
|
|
263
|
+
:root.theme-dark .btn-secondary .bi,
|
|
264
|
+
:root.theme-dark .btn-success .bi,
|
|
265
|
+
:root.theme-dark .btn-info .bi,
|
|
266
|
+
:root.theme-dark .btn-warning .bi,
|
|
267
|
+
:root.theme-dark .btn-danger .bi {
|
|
268
|
+
color: inherit !important;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
:root.theme-dark .theme-preview {
|
|
272
|
+
border: none !important;
|
|
273
|
+
box-shadow: none !important;
|
|
274
|
+
outline: 2px solid #334155;
|
|
275
|
+
outline-offset: 2px;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
/* 10. Users App Glass Components & Cards */
|
|
279
|
+
:root.theme-dark .glass-profile,
|
|
280
|
+
:root.theme-dark .glass-card,
|
|
281
|
+
:root.theme-dark .glass-detail {
|
|
282
|
+
background: rgba(30, 41, 59, 0.95) !important; /* Dark slate background */
|
|
283
|
+
border: 1px solid #334155 !important;
|
|
284
|
+
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3) !important;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
:root.theme-dark .info-label,
|
|
288
|
+
:root.theme-dark .info-label-sm,
|
|
289
|
+
:root.theme-dark .form-label-custom {
|
|
290
|
+
color: #94a3b8 !important; /* Muted text */
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
:root.theme-dark .info-value,
|
|
294
|
+
:root.theme-dark .info-value-lg,
|
|
295
|
+
:root.theme-dark .section-header,
|
|
296
|
+
:root.theme-dark .page-title {
|
|
297
|
+
color: #f1f5f9 !important; /* Bright text */
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
:root.theme-dark .form-control-glass {
|
|
301
|
+
background: rgba(15, 23, 42, 0.5) !important;
|
|
302
|
+
border-color: #334155 !important;
|
|
303
|
+
color: #e2e8f0 !important;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
:root.theme-dark .form-control-glass:focus {
|
|
307
|
+
background: rgba(15, 23, 42, 0.8) !important;
|
|
308
|
+
border-color: var(--primal) !important;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/* 11. Nav Tabs Visibility */
|
|
312
|
+
:root.theme-dark .nav-link {
|
|
313
|
+
color: #cbd5e1 !important; /* Inactive tabs: light gray */
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
:root.theme-dark .nav-link:hover {
|
|
317
|
+
color: #f8fafc !important;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
/* Darken active tab slightly to distinguish */
|
|
321
|
+
:root.theme-dark .nav-link.active {
|
|
322
|
+
color: #60a5fa !important; /* Active tab: Light Blue 400 */
|
|
323
|
+
background-color: #162032 !important; /* Slightly darker than card (1e293b) */
|
|
324
|
+
border-color: #334155 !important;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
/* Ensure outline buttons have a visible thin outline */
|
|
328
|
+
:root.theme-dark .btn[class*="btn-outline-"] {
|
|
329
|
+
border-color: rgba(255, 255, 255, 0.25) !important;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
:root.theme-dark #decreeTabs .nav-link.active {
|
|
333
|
+
border-bottom-color: transparent !important;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
/* 12. Reports & Gen Report Overrides */
|
|
337
|
+
:root.theme-dark .glass-container,
|
|
338
|
+
:root.theme-dark .report-stat-card {
|
|
339
|
+
background: rgba(30, 41, 59, 0.95) !important;
|
|
340
|
+
border: 1px solid #334155 !important;
|
|
341
|
+
box-shadow: none !important;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
:root.theme-dark .filter-label,
|
|
345
|
+
:root.theme-dark .stat-title {
|
|
346
|
+
color: #94a3b8 !important;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
:root.theme-dark .glass-input {
|
|
350
|
+
background-color: rgba(15, 23, 42, 0.5) !important;
|
|
351
|
+
border-color: #334155 !important;
|
|
352
|
+
color: #e2e8f0 !important;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
/* 13. Utilities & Icons Fix */
|
|
356
|
+
:root.theme-dark .text-dark,
|
|
357
|
+
:root.theme-dark .bi-three-dots,
|
|
358
|
+
:root.theme-dark .bi-three-dots-vertical,
|
|
359
|
+
:root.theme-dark .bi {
|
|
360
|
+
color: #e2e8f0 !important;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
/* 14. Sidebar Toggle */
|
|
364
|
+
:root.theme-dark .sidebar-toggle {
|
|
365
|
+
color: #e2e8f0 !important;
|
|
366
|
+
background-color: transparent !important; /* Ensure it doesn't have a white bg */
|
|
367
|
+
}
|
|
368
|
+
:root.theme-dark .sidebar-toggle:hover {
|
|
369
|
+
background-color: rgba(255,255,255,0.1) !important;
|
|
370
|
+
color: #fff !important;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
/* 15. Login Screen Overrides ({% static 'users/css/login.css' %}) */
|
|
374
|
+
:root.theme-dark .page .left {
|
|
375
|
+
background: rgba(30, 41, 59, 0.95) !important; /* Dark slate form container */
|
|
376
|
+
border: 1px solid #334155 !important;
|
|
377
|
+
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
:root.theme-dark .page .right {
|
|
381
|
+
background: #0f172a !important; /* Darker logo container */
|
|
382
|
+
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
|
|
383
|
+
color: #e2e8f0 !important;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
:root.theme-dark .page label {
|
|
387
|
+
color: #cbd5e1 !important;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
:root.theme-dark .page input {
|
|
391
|
+
background: rgba(15, 23, 42, 0.5) !important;
|
|
392
|
+
border-color: #334155 !important;
|
|
393
|
+
color: #e2e8f0 !important;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
:root.theme-dark .page input:focus {
|
|
397
|
+
background: rgba(15, 23, 42, 0.8) !important;
|
|
398
|
+
border-color: var(--primal) !important;
|
|
399
|
+
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/* 16. Pagination Dark Theme */
|
|
403
|
+
:root.theme-dark .pagination .page-link {
|
|
404
|
+
background-color: #1e293b !important;
|
|
405
|
+
border-color: #334155 !important;
|
|
406
|
+
color: #cbd5e1 !important;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
:root.theme-dark .pagination .page-link:hover {
|
|
410
|
+
background-color: #334155 !important;
|
|
411
|
+
border-color: #475569 !important;
|
|
412
|
+
color: #f8fafc !important;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
:root.theme-dark .pagination .page-item.active .page-link {
|
|
416
|
+
background-color: var(--primal) !important;
|
|
417
|
+
border-color: var(--primal) !important;
|
|
418
|
+
color: #fff !important;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
:root.theme-dark .pagination .page-item.disabled .page-link {
|
|
422
|
+
background-color: #0f172a !important;
|
|
423
|
+
border-color: #1e293b !important;
|
|
424
|
+
color: #475569 !important;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
/* 17. File Input Dark Mode Fix */
|
|
428
|
+
:root.theme-dark input[type="file"].form-control {
|
|
429
|
+
background-color: #1e293b !important;
|
|
430
|
+
color: #e2e8f0 !important;
|
|
431
|
+
border-color: #334155 !important;
|
|
432
|
+
}
|
|
433
|
+
:root.theme-dark input[type="file"]::file-selector-button {
|
|
434
|
+
background-color: #334155 !important;
|
|
435
|
+
color: #e2e8f0 !important;
|
|
436
|
+
border: none !important;
|
|
437
|
+
border-right: 1px solid #475569 !important;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
/* 19. Sidebar Tooltip Dark Mode Fix */
|
|
441
|
+
:root.theme-dark .tooltip-custom .tooltip-inner {
|
|
442
|
+
background-color: #334155 !important; /* Slate-700 (Dark but visible against Slate-900 body) */
|
|
443
|
+
color: #f8fafc !important; /* Slate-50 - Bright white/gray text */
|
|
444
|
+
border: 1px solid #475569 !important; /* Subtle border for definition */
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
/* 18. Permissions Card Header Fix (Users App) */
|
|
448
|
+
:root.theme-dark .permissions-card-header {
|
|
449
|
+
background-color: #0f172a !important; /* Dark background */
|
|
450
|
+
color: #e2e8f0 !important; /* Light text */
|
|
451
|
+
border-bottom: 1px solid #334155 !important;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
/* 18b. Form Toggle/Checkbox Dark Mode Fix */
|
|
455
|
+
:root.theme-dark .form-check-input {
|
|
456
|
+
background-color: #334155 !important; /* Visible track/box when unchecked */
|
|
457
|
+
border-color: #475569 !important;
|
|
458
|
+
}
|
|
459
|
+
:root.theme-dark .form-check-input:checked {
|
|
460
|
+
background-color: var(--primal) !important;
|
|
461
|
+
border-color: var(--primal) !important;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
:root.theme-dark .permissions-card-header h5.app-title {
|
|
465
|
+
color: #e2e8f0 !important;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
:root.theme-dark .permissions-card-body {
|
|
469
|
+
background-color: #1e293b !important;
|
|
470
|
+
color: #e2e8f0 !important;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
:root.theme-dark .model-group {
|
|
474
|
+
background-color: #0f172a !important;
|
|
475
|
+
border: 1px solid #334155 !important;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
:root.theme-dark .model-header {
|
|
479
|
+
background-color: #1e293b !important;
|
|
480
|
+
border-bottom: 1px solid #334155 !important;
|
|
481
|
+
color: #e2e8f0 !important;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
:root.theme-dark .model-title {
|
|
485
|
+
color: #e2e8f0 !important;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
:root.theme-dark .model-permissions {
|
|
489
|
+
background-color: #0f172a !important;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
:root.theme-dark .permission-item:hover {
|
|
493
|
+
background-color: rgba(255, 255, 255, 0.05) !important;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
:root.theme-dark .permissions-card-footer {
|
|
497
|
+
background-color: #0f172a !important;
|
|
498
|
+
border-top: 1px solid #334155 !important;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* --- Gold Theme (Luxury) --- */
|
|
2
|
+
:root.theme-gold {
|
|
3
|
+
--title: #78350f;
|
|
4
|
+
--body: #fffbeb8b;
|
|
5
|
+
--htitle: #92400e;
|
|
6
|
+
--hbody: #fef3c7db;
|
|
7
|
+
--table-row: #fef9e7;
|
|
8
|
+
--table-row-hover: #fdf1c0;
|
|
9
|
+
--primal: #d97706;
|
|
10
|
+
--primal_dark: #b45309;
|
|
11
|
+
--primal-rgb: 217, 119, 6;
|
|
12
|
+
--btn-primary-shadow: rgba(217, 119, 6, 0.4);
|
|
13
|
+
|
|
14
|
+
/* Login Theme Variables */
|
|
15
|
+
--bg-gradient: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
|
|
16
|
+
--right-bg: var(--title);
|
|
17
|
+
--primary-color: var(--primal);
|
|
18
|
+
|
|
19
|
+
/* Bootstrap Overrides */
|
|
20
|
+
--bs-primary: var(--primal);
|
|
21
|
+
--bs-primary-rgb: var(--primal-rgb);
|
|
22
|
+
--bs-btn-bg: var(--primal);
|
|
23
|
+
--bs-btn-border-color: var(--primal);
|
|
24
|
+
--bs-btn-hover-bg: var(--primal_dark);
|
|
25
|
+
--bs-btn-hover-border-color: var(--primal_dark);
|
|
26
|
+
--bs-link-color: var(--primal);
|
|
27
|
+
--bs-link-hover-color: var(--primal_dark);
|
|
28
|
+
}
|
|
29
|
+
:root.theme-gold .titlebar {
|
|
30
|
+
background: linear-gradient(90deg, #ffffff 10%, #fef9e7 90%) !important;
|
|
31
|
+
}
|
|
32
|
+
:root.theme-gold #sidebar {
|
|
33
|
+
background: linear-gradient(180deg, #ffffff 10%, #fef9e7 100%) !important;
|
|
34
|
+
border-left: 1px solid #fdf1c0 !important;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
:root.theme-gold .page .right {
|
|
38
|
+
background: var(--primal_dark) !important; /* Darker logo container */
|
|
39
|
+
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
|
|
40
|
+
color: #e2e8f0 !important;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* Gold Overrides */
|
|
44
|
+
:root.theme-gold .dropdown-item:hover {
|
|
45
|
+
background-color: rgba(217, 119, 6, 0.08) !important;
|
|
46
|
+
color: #b45309 !important;
|
|
47
|
+
}
|
|
48
|
+
:root.theme-gold .titlebar .btn-light:hover {
|
|
49
|
+
background-color: rgba(217, 119, 6, 0.08) !important;
|
|
50
|
+
color: #b45309 !important;
|
|
51
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/* --- Green Theme (Emerald) --- */
|
|
2
|
+
:root.theme-green {
|
|
3
|
+
--title: #166534;
|
|
4
|
+
--body: #f0fdf48b;
|
|
5
|
+
--htitle: #15803d;
|
|
6
|
+
--hbody: #dcfce7db;
|
|
7
|
+
--table-row: #e9fdf0;
|
|
8
|
+
--table-row-hover: #d2f9df;
|
|
9
|
+
--primal: #10b981;
|
|
10
|
+
--primal_dark: #059669;
|
|
11
|
+
--primal-rgb: 16, 185, 129;
|
|
12
|
+
--btn-primary-shadow: rgba(16, 185, 129, 0.4);
|
|
13
|
+
|
|
14
|
+
/* Login Theme Variables */
|
|
15
|
+
--bg-gradient: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
|
|
16
|
+
--right-bg: var(--title);
|
|
17
|
+
--primary-color: var(--primal);
|
|
18
|
+
|
|
19
|
+
/* Bootstrap Overrides */
|
|
20
|
+
--bs-primary: var(--primal);
|
|
21
|
+
--bs-primary-rgb: var(--primal-rgb);
|
|
22
|
+
--bs-btn-bg: var(--primal);
|
|
23
|
+
--bs-btn-border-color: var(--primal);
|
|
24
|
+
--bs-btn-hover-bg: var(--primal_dark);
|
|
25
|
+
--bs-btn-hover-border-color: var(--primal_dark);
|
|
26
|
+
--bs-link-color: var(--primal);
|
|
27
|
+
--bs-link-hover-color: var(--primal_dark);
|
|
28
|
+
}
|
|
29
|
+
:root.theme-green .titlebar {
|
|
30
|
+
background: linear-gradient(90deg, #ffffff 10%, #e9fdf0 90%) !important;
|
|
31
|
+
}
|
|
32
|
+
:root.theme-green #sidebar {
|
|
33
|
+
background: linear-gradient(180deg, #ffffff 10%, #e9fdf0 100%) !important;
|
|
34
|
+
border-left: 1px solid #d2f9df !important;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
:root.theme-green .page .right {
|
|
38
|
+
background: var(--primal_dark) !important; /* Darker logo container */
|
|
39
|
+
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
|
|
40
|
+
color: #e2e8f0 !important;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* Green Overrides */
|
|
44
|
+
:root.theme-green .dropdown-item:hover {
|
|
45
|
+
background-color: rgba(16, 185, 129, 0.08) !important;
|
|
46
|
+
color: #059669 !important;
|
|
47
|
+
}
|
|
48
|
+
:root.theme-green .titlebar .btn-light:hover {
|
|
49
|
+
background-color: rgba(16, 185, 129, 0.08) !important;
|
|
50
|
+
color: #059669 !important;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* Success Button Override in Green Theme */
|
|
54
|
+
:root.theme-green .btn-outline-success {
|
|
55
|
+
color: #475569 !important;
|
|
56
|
+
border-color: #475569 !important;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
:root.theme-green .btn-outline-success:hover {
|
|
60
|
+
background-color: #475569 !important;
|
|
61
|
+
border-color: #475569 !important;
|
|
62
|
+
color: #ffffff !important;
|
|
63
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* --- Light Theme (Neutral / Silver) --- */
|
|
2
|
+
:root.theme-light {
|
|
3
|
+
--title: #334155; /* Slate 700 */
|
|
4
|
+
--body: #f8fafc; /* Slate 50 */
|
|
5
|
+
--htitle: #64748b; /* Slate 500 */
|
|
6
|
+
--hbody: #f1f5f9; /* Slate 100 */
|
|
7
|
+
--table-row: #f7f8fa;
|
|
8
|
+
--table-row-hover: #f1f5f9;
|
|
9
|
+
--primal: #475569; /* Slate 600 - Neutral Accent */
|
|
10
|
+
--primal_dark: #334155; /* Slate 700 */
|
|
11
|
+
--primal-rgb: 71, 85, 105;
|
|
12
|
+
--btn-primary-shadow: rgba(71, 85, 105, 0.4);
|
|
13
|
+
|
|
14
|
+
/* Login Theme Variables */
|
|
15
|
+
--bg-gradient: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
|
|
16
|
+
--right-bg: var(--title);
|
|
17
|
+
--primary-color: var(--primal);
|
|
18
|
+
|
|
19
|
+
/* Bootstrap Overrides */
|
|
20
|
+
--bs-primary: var(--primal);
|
|
21
|
+
--bs-primary-rgb: var(--primal-rgb);
|
|
22
|
+
--bs-btn-bg: var(--primal);
|
|
23
|
+
--bs-btn-border-color: var(--primal);
|
|
24
|
+
--bs-btn-hover-bg: var(--primal_dark);
|
|
25
|
+
--bs-btn-hover-border-color: var(--primal_dark);
|
|
26
|
+
--bs-link-color: var(--primal);
|
|
27
|
+
--bs-link-hover-color: var(--primal_dark);
|
|
28
|
+
}
|
|
29
|
+
:root.theme-light .titlebar {
|
|
30
|
+
background: linear-gradient(90deg, #ffffff 10%, #f8fafc 90%) !important;
|
|
31
|
+
}
|
|
32
|
+
:root.theme-light #sidebar {
|
|
33
|
+
background: linear-gradient(180deg, #ffffff 10%, #f8fafc 100%) !important;
|
|
34
|
+
border-left: 1px solid #e2e8f0 !important;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
:root.theme-light .page .right {
|
|
38
|
+
background: var(--htitle) !important;
|
|
39
|
+
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
|
|
40
|
+
color: #f8fafc !important;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* Neutral Overrides */
|
|
44
|
+
:root.theme-light .dropdown-item:hover {
|
|
45
|
+
background-color: rgba(71, 85, 105, 0.08) !important;
|
|
46
|
+
color: #334155 !important;
|
|
47
|
+
}
|
|
48
|
+
:root.theme-light .titlebar .btn-light:hover {
|
|
49
|
+
background-color: rgba(71, 85, 105, 0.08) !important;
|
|
50
|
+
color: #334155 !important;
|
|
51
|
+
}
|