@dashadmin/dash-styles 0.0.0 → 1.3.16
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.
- package/package.json +20 -5
- package/.editorconfig +0 -12
- package/.eslintignore +0 -0
- package/.eslintrc.json +0 -7
- package/.prettierignore +0 -5
- package/.prettierrc.cjs +0 -3
- package/commitlint.config.cjs +0 -40
- package/dist/README.md +0 -1
- package/dist/index.d.ts +0 -3
- package/dist/package.json +0 -34
- package/src/assets/fonts/Montserrat-Black.ttf +0 -0
- package/src/assets/fonts/Montserrat-Bold.ttf +0 -0
- package/src/assets/fonts/Montserrat-Medium.ttf +0 -0
- package/src/assets/fonts/Montserrat-Regular.ttf +0 -0
- package/src/assets/fonts/Montserrat-SemiBold.ttf +0 -0
- package/src/dash-css-transformer.less +0 -766
- package/src/dash-variables.less +0 -10
- package/src/dash.less +0 -38
- package/src/helpers/getAllCssVariablesFromStyleSheets.tsx +0 -46
- package/src/index.tsx.suffixed +0 -680
- package/src/styles/button.less +0 -120
- package/src/styles/buttons.less +0 -10
- package/src/styles/card.less +0 -337
- package/src/styles/common.less +0 -62
- package/src/styles/components/notfound.less +0 -50
- package/src/styles/extra.less +0 -25
- package/src/styles/filters.less +0 -7
- package/src/styles/forms.less +0 -41
- package/src/styles/framed.less +0 -45
- package/src/styles/header.less +0 -879
- package/src/styles/input.copy.less +0 -223
- package/src/styles/input.less +0 -223
- package/src/styles/layout.less +0 -296
- package/src/styles/links.less +0 -28
- package/src/styles/loader.less +0 -20
- package/src/styles/login.less +0 -331
- package/src/styles/modal.less +0 -0
- package/src/styles/module.less +0 -29
- package/src/styles/mui-overrides.less +0 -62
- package/src/styles/notification.less +0 -46
- package/src/styles/pages/profile.less +0 -139
- package/src/styles/pagination.less +0 -90
- package/src/styles/popover.less +0 -21
- package/src/styles/react-admin/common.less +0 -184
- package/src/styles/react-admin/toolbar.less +0 -22
- package/src/styles/root.less +0 -13
- package/src/styles/sidebar.less +0 -705
- package/src/styles/splash.less +0 -44
- package/src/styles/static.less +0 -59
- package/src/styles/stats.less +0 -5
- package/src/styles/svg.less +0 -30
- package/src/styles/switch.less +0 -7
- package/src/styles/table.less +0 -196
- package/src/styles/tabs.less +0 -173
- package/src/styles/tags.less +0 -97
- package/src/styles/toast.less +0 -83
- package/src/styles/toolbar.less +0 -90
- package/src/styles/transition.less +0 -226
- package/src/styles/uploader.less +0 -38
- package/src/variables/breakpoints.less +0 -35
- package/src/variables/colors.less +0 -205
- package/src/variables/dash-colors.less +0 -52
- package/src/variables/sizes.less +0 -150
- package/tsconfig.eslint.json +0 -12
- package/tsconfig.json +0 -22
- package/vite.config.mts +0 -7
package/src/styles/sidebar.less
DELETED
|
@@ -1,705 +0,0 @@
|
|
|
1
|
-
.expanded.small, .collapsed.large, .collapsed.small {
|
|
2
|
-
.sidebar-drawer .MuiDrawer-paper {
|
|
3
|
-
width: var(--sidebar-small-width);
|
|
4
|
-
transition: width 225ms cubic-bezier(0.4, 0, 0.6, 1) 0ms;
|
|
5
|
-
overflow-x: hidden;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.expanded.large {
|
|
10
|
-
.sidebar-drawer .MuiDrawer-paper {
|
|
11
|
-
width: var(--sidebar-large-width);
|
|
12
|
-
transition: width 195ms cubic-bezier(0.0, 0, 0.2, 1) 0ms;
|
|
13
|
-
overflow-x: hidden;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// Alternative approach - add transitions to all drawer papers
|
|
18
|
-
.sidebar-drawer .MuiDrawer-paper {
|
|
19
|
-
transition: width 225ms cubic-bezier(0.4, 0, 0.6, 1) 0ms;
|
|
20
|
-
overflow-x: hidden;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
// Specific timing for expanding (faster)
|
|
24
|
-
.expanded.large .sidebar-drawer .MuiDrawer-paper {
|
|
25
|
-
transition: width 195ms cubic-bezier(0.0, 0, 0.2, 1) 0ms;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
// Specific timing for collapsing (slower)
|
|
29
|
-
.collapsed .sidebar-drawer .MuiDrawer-paper,
|
|
30
|
-
.expanded.small .sidebar-drawer .MuiDrawer-paper {
|
|
31
|
-
transition: width 225ms cubic-bezier(0.4, 0, 0.6, 1) 0ms;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.dash-menu-actions {
|
|
35
|
-
display: flex;
|
|
36
|
-
align-self: anchor-center;
|
|
37
|
-
flex-direction: row;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.expanded.large .dash-menu-user {
|
|
41
|
-
position: relative;
|
|
42
|
-
display: flex;
|
|
43
|
-
justify-content: center;
|
|
44
|
-
margin-top: -30px;
|
|
45
|
-
|
|
46
|
-
.dash-menu-actions {
|
|
47
|
-
display: flex;
|
|
48
|
-
align-self: anchor-center;
|
|
49
|
-
flex-direction: row;
|
|
50
|
-
justify-content: flex-end;
|
|
51
|
-
width: 200px;
|
|
52
|
-
position:absolute;
|
|
53
|
-
bottom:0px;
|
|
54
|
-
gap:5px;
|
|
55
|
-
}
|
|
56
|
-
.dash-user-avatar {
|
|
57
|
-
.MuiAvatar-root{
|
|
58
|
-
width: 200px;
|
|
59
|
-
height: 200px;
|
|
60
|
-
background-color: var(--primary-color);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.collapsed .dash-menu-user, .small .dash-menu-user {
|
|
66
|
-
position: relative;
|
|
67
|
-
display: flex;
|
|
68
|
-
justify-content: center;
|
|
69
|
-
flex-direction: column;
|
|
70
|
-
align-items: center;
|
|
71
|
-
gap:8px;
|
|
72
|
-
|
|
73
|
-
.dash-menu-actions {
|
|
74
|
-
align-self: anchor-center;
|
|
75
|
-
|
|
76
|
-
display: flex;
|
|
77
|
-
flex-direction: column;
|
|
78
|
-
justify-content: center;
|
|
79
|
-
gap:8px;
|
|
80
|
-
align-items: center;
|
|
81
|
-
}
|
|
82
|
-
.dash-user-avatar {
|
|
83
|
-
|
|
84
|
-
.MuiAvatar-root{
|
|
85
|
-
width: 50px;
|
|
86
|
-
height: 50px;
|
|
87
|
-
background-color: var(--primary-color);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
.dash-icon-button {
|
|
94
|
-
&-color {
|
|
95
|
-
color: var(--highlight-color);
|
|
96
|
-
svg {
|
|
97
|
-
fill: var(--highlight-color);
|
|
98
|
-
}
|
|
99
|
-
&:hover {
|
|
100
|
-
svg {
|
|
101
|
-
fill: var(--highlight-color-contrast);
|
|
102
|
-
}
|
|
103
|
-
color: var(--highlight-color-contrast);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
&-bg {
|
|
107
|
-
color: var(--text-color);
|
|
108
|
-
background-color: var(--secondary-color);
|
|
109
|
-
svg {
|
|
110
|
-
fill: var(--text-color);
|
|
111
|
-
}
|
|
112
|
-
&:hover {
|
|
113
|
-
color: var(--text-color);
|
|
114
|
-
background-color: var(--highlight-color);
|
|
115
|
-
svg {
|
|
116
|
-
fill: var(--text-color);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
.dash-language-menu-portal {
|
|
125
|
-
background: var(--module-bg);
|
|
126
|
-
|
|
127
|
-
z-index: 9999;
|
|
128
|
-
pointer-events: none;
|
|
129
|
-
|
|
130
|
-
.dash-language-menu {
|
|
131
|
-
background: var(--module-bg);
|
|
132
|
-
color: var(--text-light);
|
|
133
|
-
box-shadow: 0px 5px 5px -3px rgba(0,0,0,0.2), 0px 8px 10px 1px rgba(0,0,0,0.14), 0px 3px 14px 2px rgba(0,0,0,0.12);
|
|
134
|
-
border-radius: 4px;
|
|
135
|
-
pointer-events: auto;
|
|
136
|
-
display: none;
|
|
137
|
-
|
|
138
|
-
&.show {
|
|
139
|
-
display: block;
|
|
140
|
-
animation: popIn 0.2s ease-out forwards;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
&.hide {
|
|
144
|
-
animation: popOut 0.2s ease-out forwards;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.dash-language-menu-item {
|
|
148
|
-
&:hover {
|
|
149
|
-
background-color: var(--component-hover-bg) !important;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
&.selected {
|
|
153
|
-
font-weight: 500;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
// This is the popover of the Avatar
|
|
160
|
-
.dash-user-menu-portal {
|
|
161
|
-
position: fixed;
|
|
162
|
-
top: 0;
|
|
163
|
-
left: 0;
|
|
164
|
-
right: 0;
|
|
165
|
-
bottom: 0;
|
|
166
|
-
z-index: 9999;
|
|
167
|
-
pointer-events: none;
|
|
168
|
-
|
|
169
|
-
.dash-user-menu {
|
|
170
|
-
pointer-events: auto;
|
|
171
|
-
display: none;
|
|
172
|
-
|
|
173
|
-
&.show {
|
|
174
|
-
display: block;
|
|
175
|
-
animation: popIn 0.2s ease-out forwards;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
&.hide {
|
|
179
|
-
animation: popOut 0.2s ease-out forwards;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
.dash-user-menu {
|
|
184
|
-
background-color: var(--module-bg);
|
|
185
|
-
color: var(--text-light);
|
|
186
|
-
box-shadow: 0px 5px 5px -3px rgba(0,0,0,0.2), 0px 8px 10px 1px rgba(0,0,0,0.14), 0px 3px 14px 2px rgba(0,0,0,0.12);
|
|
187
|
-
border-radius: 4px;
|
|
188
|
-
min-width: 200px;
|
|
189
|
-
padding: 8px 0;
|
|
190
|
-
|
|
191
|
-
span,p {
|
|
192
|
-
color: var(--text-light) !important;
|
|
193
|
-
}
|
|
194
|
-
svg {
|
|
195
|
-
fill: var(--text-light) !important;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
/*.dash-user-item {
|
|
199
|
-
&:hover {
|
|
200
|
-
background-color: var(--component-hover-bg) !important;
|
|
201
|
-
|
|
202
|
-
.dash-user-icon {
|
|
203
|
-
color: var(--highlight-color);
|
|
204
|
-
svg {
|
|
205
|
-
color: var(--highlight-color) !important;
|
|
206
|
-
fill: var(--highlight-color) !important;
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.dash-user-icon {
|
|
212
|
-
display: flex;
|
|
213
|
-
align-items: center;
|
|
214
|
-
margin-right: 8px;
|
|
215
|
-
color: var(--secondary-color);
|
|
216
|
-
svg {
|
|
217
|
-
color: var(--secondary-color) !important;
|
|
218
|
-
fill: var(--secondary-color) !important;
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
}*/
|
|
222
|
-
|
|
223
|
-
.dash-user-name {
|
|
224
|
-
font-weight: 500;
|
|
225
|
-
border-bottom: 1px solid var(--border-color);
|
|
226
|
-
margin-bottom: 8px;
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.sidebar-drawer {
|
|
231
|
-
z-index: 2000;
|
|
232
|
-
|
|
233
|
-
> .MuiPaper-root.MuiDrawer-paper{
|
|
234
|
-
//background: linear-gradient(140deg, var(--primary-color) 60%, var(--primary-contrast) 100%);
|
|
235
|
-
background: linear-gradient(140deg, var(--primary-color) 60%, var(--primary-contrast) 100%);
|
|
236
|
-
|
|
237
|
-
flex-shrink: 0;
|
|
238
|
-
white-space: nowrap;
|
|
239
|
-
box-sizing: border-box;
|
|
240
|
-
border-radius: 0px 20px 20px 0px;
|
|
241
|
-
box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
|
|
242
|
-
}
|
|
243
|
-
/*.sidebar-header{
|
|
244
|
-
width: 100%;
|
|
245
|
-
padding: 10px;
|
|
246
|
-
}*/
|
|
247
|
-
.sidebar-logo{
|
|
248
|
-
display: block;
|
|
249
|
-
height: 50px;
|
|
250
|
-
margin: 10px auto;
|
|
251
|
-
> img{
|
|
252
|
-
width: 100%;
|
|
253
|
-
height: 100%;
|
|
254
|
-
object-fit: contain;
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
/*dark & .sidebar-logo{
|
|
258
|
-
> img{
|
|
259
|
-
filter: brightness(0) invert(1);
|
|
260
|
-
}
|
|
261
|
-
}*/
|
|
262
|
-
|
|
263
|
-
.sidebar-list {
|
|
264
|
-
display: flex;
|
|
265
|
-
flex-direction: column;
|
|
266
|
-
overflow-y: auto;
|
|
267
|
-
&::-webkit-scrollbar {
|
|
268
|
-
width: 5px;
|
|
269
|
-
}
|
|
270
|
-
&::-webkit-scrollbar-track {
|
|
271
|
-
background: transparent;
|
|
272
|
-
}
|
|
273
|
-
&::-webkit-scrollbar-thumb {
|
|
274
|
-
background: var(--sidebar-handle-primary);
|
|
275
|
-
border-radius: 5px;
|
|
276
|
-
}
|
|
277
|
-
&::-webkit-scrollbar-thumb:hover {
|
|
278
|
-
background: var(--sidebar-handle-contrast);
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.MuiButtonBase-root.MuiListItemButton-root{
|
|
282
|
-
//color: var(--sidebar-primary);
|
|
283
|
-
background-color: var(--sidebar-bg-primary);
|
|
284
|
-
display: flex;
|
|
285
|
-
align-items: center;
|
|
286
|
-
min-height: auto;
|
|
287
|
-
padding: 9px 17px 9px 8px;
|
|
288
|
-
|
|
289
|
-
&:hover{
|
|
290
|
-
background-color: var(--sidebar-bg-hover);
|
|
291
|
-
color: var(--sidebar-contrast);
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
.MuiListItemIcon-root{
|
|
295
|
-
width: 18px;
|
|
296
|
-
height: 18px;
|
|
297
|
-
margin: 0 10px 0 12px;
|
|
298
|
-
min-width: auto;
|
|
299
|
-
|
|
300
|
-
svg{
|
|
301
|
-
width: 100%;
|
|
302
|
-
height: 100%;
|
|
303
|
-
object-fit: contain;
|
|
304
|
-
/*color: currentColor;
|
|
305
|
-
path{
|
|
306
|
-
fill: currentColor;
|
|
307
|
-
}*/
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
&.Mui-selected .MuiListItemIcon-root {
|
|
312
|
-
color: var(--highlight-color);
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
.MuiListItemText-root{
|
|
316
|
-
margin: 0;
|
|
317
|
-
.MuiTypography-root{
|
|
318
|
-
font-family: 'Montserrat';
|
|
319
|
-
font-style: normal;
|
|
320
|
-
font-weight: 500;
|
|
321
|
-
font-size: 14px;
|
|
322
|
-
line-height: 22px;
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
.MuiCollapse-wrapper{
|
|
328
|
-
background-color: var(--sidebar_submenu-bg-primary);
|
|
329
|
-
|
|
330
|
-
.MuiButtonBase-root.MuiListItemButton-root{
|
|
331
|
-
span.RaMenuItemLink-icon {
|
|
332
|
-
border-radius: 5px;
|
|
333
|
-
padding: 3px;
|
|
334
|
-
background-color: var(--sidebar-bg-primary);
|
|
335
|
-
width: 18px;
|
|
336
|
-
height: 18px;
|
|
337
|
-
display: inline-grid;
|
|
338
|
-
margin-right: 3px;
|
|
339
|
-
}
|
|
340
|
-
span.RaMenuItemLink-icon .MuiSvgIcon-root {
|
|
341
|
-
width: 12px;
|
|
342
|
-
height: 12px;
|
|
343
|
-
}
|
|
344
|
-
a.RaMenuItemLink-active{
|
|
345
|
-
background-color: var(--sidebar_submenu-bg-contrast);
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
&.large.expanded {
|
|
352
|
-
.sidebar-logo{
|
|
353
|
-
width: 100%;
|
|
354
|
-
}
|
|
355
|
-
.sidebar-list{
|
|
356
|
-
.MuiButtonBase-root.MuiListItemButton-root{
|
|
357
|
-
a{
|
|
358
|
-
display: block;
|
|
359
|
-
width: 100%;
|
|
360
|
-
padding: 9px 17.55px 9px 15.15px;
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
&.small.collapsed, &.large.collapsed {
|
|
367
|
-
.sidebar-logo{
|
|
368
|
-
display: block;
|
|
369
|
-
height: 60px;
|
|
370
|
-
margin: 0 auto 8px;
|
|
371
|
-
> img{
|
|
372
|
-
width: 100%;
|
|
373
|
-
height: 100%;
|
|
374
|
-
object-fit: contain;
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
.sidebar-list{
|
|
379
|
-
.MuiButtonBase-root.MuiListItemButton-root{
|
|
380
|
-
padding: 9px 13px 9px 15px;
|
|
381
|
-
position: relative;
|
|
382
|
-
&::before{
|
|
383
|
-
content: "";
|
|
384
|
-
display: block;
|
|
385
|
-
position: absolute;
|
|
386
|
-
width: 32px;
|
|
387
|
-
height: 0px;
|
|
388
|
-
bottom: 0;
|
|
389
|
-
left: 15px;
|
|
390
|
-
border-bottom: 0.5px solid rgba(255, 255, 255, 0.2);
|
|
391
|
-
pointer-events: none;
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
.MuiListItemIcon-root{
|
|
395
|
-
margin-right: auto;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
.Mui-selected {
|
|
399
|
-
background: var(--highlight-color);
|
|
400
|
-
color: var(--primary-color);
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
.sidebar-drawer .sidebar-list-sub .MuiListItemButton-root {
|
|
407
|
-
.MuiListItemIcon-root{
|
|
408
|
-
margin-left: 25px !important;
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
.sidebar-collapsed-menu {
|
|
413
|
-
.menu-items {
|
|
414
|
-
position: relative;
|
|
415
|
-
font-size: 14px;
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
.menu-items a {
|
|
419
|
-
display: block;
|
|
420
|
-
font-size: inherit;
|
|
421
|
-
color: inherit;
|
|
422
|
-
text-decoration: none;
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
.menu-items button {
|
|
426
|
-
display: flex;
|
|
427
|
-
align-items: center;
|
|
428
|
-
color: inherit;
|
|
429
|
-
font-size: inherit;
|
|
430
|
-
border: none;
|
|
431
|
-
background-color: transparent;
|
|
432
|
-
cursor: pointer;
|
|
433
|
-
width: 100%;
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
button span {
|
|
437
|
-
margin-left: 3px;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
.menu-items > a, .menu-items button {
|
|
441
|
-
text-align: left;
|
|
442
|
-
padding: 0.7rem 1rem;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
.arrow::after {
|
|
446
|
-
content: "";
|
|
447
|
-
display: inline-block;
|
|
448
|
-
margin-left: 0.28em;
|
|
449
|
-
vertical-align: 0.09em;
|
|
450
|
-
border-top: 0.42em solid;
|
|
451
|
-
border-right: 0.32em solid transparent;
|
|
452
|
-
border-left: 0.32em solid transparent;
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
.dropdown {
|
|
456
|
-
position: fixed;
|
|
457
|
-
//left: 50px;
|
|
458
|
-
box-shadow: 0 10px 15px -3px rgba(46, 41, 51, 0.08),
|
|
459
|
-
0 4px 6px -2px rgba(71, 63, 79, 0.16);
|
|
460
|
-
font-size: 0.875rem;
|
|
461
|
-
z-index: 9999;
|
|
462
|
-
min-width: 10rem;
|
|
463
|
-
padding: 0.5rem 0;
|
|
464
|
-
list-style: none;
|
|
465
|
-
background-color: var(--sidebar_submenu-bg-primary);
|
|
466
|
-
border-radius: 0.5rem;
|
|
467
|
-
display: none;
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
.dropdown.show {
|
|
471
|
-
display: block;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
.dropdown .dropdown-submenu {
|
|
475
|
-
position: absolute;
|
|
476
|
-
left: 100%;
|
|
477
|
-
top: -7px;
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
.sidebar-list, .dropdown {
|
|
482
|
-
> .MuiButtonBase-root {
|
|
483
|
-
> .MuiListItemIcon-root,
|
|
484
|
-
> .MuiListItemText-root .MuiTypography-root {
|
|
485
|
-
color: var(--sidebar-primary);
|
|
486
|
-
}
|
|
487
|
-
> &:hover {
|
|
488
|
-
color: var(--secondary-color);
|
|
489
|
-
.MuiListItemIcon-root,
|
|
490
|
-
.MuiListItemText-root .MuiTypography-root {
|
|
491
|
-
color: var(--secondary-color);
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
&-sub {
|
|
496
|
-
.MuiButtonBase-root {
|
|
497
|
-
.MuiListItemIcon-root {
|
|
498
|
-
color: var(--sidebar_submenu-color-primary);
|
|
499
|
-
}
|
|
500
|
-
.MuiListItemText-root .MuiTypography-root {
|
|
501
|
-
color: var(--sidebar_submenu-color-primary);
|
|
502
|
-
}
|
|
503
|
-
&:hover {
|
|
504
|
-
.MuiListItemText-root .MuiTypography-root,
|
|
505
|
-
.MuiListItemIcon-root {
|
|
506
|
-
color: var(--sidebar_submenu-color-contrast);
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
// ============================================================================
|
|
514
|
-
// SIDEBAR POSITION VARIANTS
|
|
515
|
-
// ============================================================================
|
|
516
|
-
|
|
517
|
-
.dash-app-layout {
|
|
518
|
-
// Default left position (inherits existing styles)
|
|
519
|
-
&.sidebar-position-left {
|
|
520
|
-
flex-direction: row;
|
|
521
|
-
|
|
522
|
-
.sidebar-drawer .MuiDrawer-paper {
|
|
523
|
-
border-radius: 0px 20px 20px 0px;
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
// Right position
|
|
528
|
-
&.sidebar-position-right {
|
|
529
|
-
flex-direction: row-reverse;
|
|
530
|
-
|
|
531
|
-
.sidebar-drawer .MuiDrawer-paper {
|
|
532
|
-
border-radius: 20px 0px 0px 20px;
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
// Top position - horizontal nav bar
|
|
537
|
-
&.sidebar-position-top {
|
|
538
|
-
flex-direction: column;
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
.sidebar-drawer {
|
|
543
|
-
width: 100% !important;
|
|
544
|
-
|
|
545
|
-
.MuiDrawer-paper {
|
|
546
|
-
width: 100% !important;
|
|
547
|
-
height: var(--sidebar-horizontal-height, 64px);
|
|
548
|
-
max-height: 120px;
|
|
549
|
-
border-radius: 0px 0px 20px 20px;
|
|
550
|
-
display: flex !important;
|
|
551
|
-
flex-direction: row !important;
|
|
552
|
-
align-items: center !important;
|
|
553
|
-
overflow-x: auto;
|
|
554
|
-
overflow-y: hidden;
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
.sidebar-header {
|
|
558
|
-
display: flex !important;
|
|
559
|
-
flex-direction: row !important;
|
|
560
|
-
align-items: center !important;
|
|
561
|
-
width: auto;
|
|
562
|
-
min-width: auto;
|
|
563
|
-
padding: 0px;
|
|
564
|
-
flex-shrink: 0;
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
.dash-layout-sider-scrollbar {
|
|
568
|
-
display: flex !important;
|
|
569
|
-
flex-direction: row !important;
|
|
570
|
-
overflow-x: auto !important;
|
|
571
|
-
overflow-y: hidden !important;
|
|
572
|
-
flex: 1;
|
|
573
|
-
|
|
574
|
-
/* Move scrollbar to top by rotating the container */
|
|
575
|
-
transform: rotateX(180deg);
|
|
576
|
-
|
|
577
|
-
> div, > * {
|
|
578
|
-
display: flex !important;
|
|
579
|
-
flex-direction: row !important;
|
|
580
|
-
/* Rotate content back to appear normal */
|
|
581
|
-
transform: rotateX(180deg);
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
.sidebar-list,
|
|
586
|
-
.sidebar-list.sidebar-collapsed-menu {
|
|
587
|
-
display: flex !important;
|
|
588
|
-
flex-direction: row !important;
|
|
589
|
-
flex-wrap: nowrap !important;
|
|
590
|
-
align-items: center;
|
|
591
|
-
padding: 0;
|
|
592
|
-
margin: 0;
|
|
593
|
-
|
|
594
|
-
> .MuiButtonBase-root,
|
|
595
|
-
> .MuiListItemButton-root,
|
|
596
|
-
> .menu-items,
|
|
597
|
-
> li {
|
|
598
|
-
flex-shrink: 0;
|
|
599
|
-
white-space: nowrap;
|
|
600
|
-
}
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
.dash-app-layout-content {
|
|
605
|
-
flex: 1;
|
|
606
|
-
height: auto;
|
|
607
|
-
overflow: auto;
|
|
608
|
-
}
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
// Bottom position
|
|
612
|
-
&.sidebar-position-bottom {
|
|
613
|
-
flex-direction: column-reverse;
|
|
614
|
-
|
|
615
|
-
.sidebar-drawer {
|
|
616
|
-
width: 100% !important;
|
|
617
|
-
|
|
618
|
-
.MuiDrawer-paper {
|
|
619
|
-
width: 100% !important;
|
|
620
|
-
height: auto !important;
|
|
621
|
-
max-height: 120px;
|
|
622
|
-
border-radius: 20px 20px 0px 0px;
|
|
623
|
-
display: flex !important;
|
|
624
|
-
flex-direction: row !important;
|
|
625
|
-
align-items: center !important;
|
|
626
|
-
overflow-x: auto;
|
|
627
|
-
overflow-y: hidden;
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
.sidebar-header {
|
|
631
|
-
display: flex !important;
|
|
632
|
-
flex-direction: row !important;
|
|
633
|
-
align-items: center !important;
|
|
634
|
-
width: auto;
|
|
635
|
-
min-width: auto;
|
|
636
|
-
//padding: 10px;
|
|
637
|
-
flex-shrink: 0;
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
.dash-layout-sider-scrollbar {
|
|
641
|
-
display: flex !important;
|
|
642
|
-
flex-direction: row !important;
|
|
643
|
-
overflow-x: auto !important;
|
|
644
|
-
overflow-y: hidden !important;
|
|
645
|
-
flex: 1;
|
|
646
|
-
|
|
647
|
-
> div {
|
|
648
|
-
display: flex !important;
|
|
649
|
-
flex-direction: row !important;
|
|
650
|
-
}
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
.sidebar-list,
|
|
654
|
-
.sidebar-list.sidebar-collapsed-menu {
|
|
655
|
-
display: flex !important;
|
|
656
|
-
flex-direction: row !important;
|
|
657
|
-
flex-wrap: nowrap !important;
|
|
658
|
-
align-items: center;
|
|
659
|
-
padding: 0;
|
|
660
|
-
margin: 0;
|
|
661
|
-
|
|
662
|
-
> .MuiButtonBase-root,
|
|
663
|
-
> .MuiListItemButton-root,
|
|
664
|
-
> .menu-items,
|
|
665
|
-
> li {
|
|
666
|
-
flex-shrink: 0;
|
|
667
|
-
white-space: nowrap;
|
|
668
|
-
}
|
|
669
|
-
}
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
.dash-app-layout-content {
|
|
673
|
-
flex: 1;
|
|
674
|
-
height: auto;
|
|
675
|
-
overflow: auto;
|
|
676
|
-
}
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
// Horizontal mode styles for scrollbar and menu
|
|
681
|
-
.horizontal-mode {
|
|
682
|
-
display: flex !important;
|
|
683
|
-
flex-direction: row !important;
|
|
684
|
-
overflow-x: auto !important;
|
|
685
|
-
overflow-y: hidden !important;
|
|
686
|
-
flex: 1;
|
|
687
|
-
height: 100%;
|
|
688
|
-
|
|
689
|
-
> div,
|
|
690
|
-
> nav,
|
|
691
|
-
> ul,
|
|
692
|
-
.sidebar-list,
|
|
693
|
-
.sidebar-collapsed-menu {
|
|
694
|
-
display: flex !important;
|
|
695
|
-
flex-direction: row !important;
|
|
696
|
-
flex-wrap: nowrap !important;
|
|
697
|
-
align-items: center !important;
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
.MuiList-root,
|
|
701
|
-
.MuiButtonBase-root {
|
|
702
|
-
flex-shrink: 0 !important;
|
|
703
|
-
white-space: nowrap !important;
|
|
704
|
-
}
|
|
705
|
-
}
|