@dashadmin/dash-styles 1.3.17 → 1.3.19

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.
Files changed (54) hide show
  1. package/dist/assets/fonts/Montserrat-Black.ttf +0 -0
  2. package/dist/assets/fonts/Montserrat-Bold.ttf +0 -0
  3. package/dist/assets/fonts/Montserrat-Medium.ttf +0 -0
  4. package/dist/assets/fonts/Montserrat-Regular.ttf +0 -0
  5. package/dist/assets/fonts/Montserrat-SemiBold.ttf +0 -0
  6. package/dist/dash-css-transformer.less +766 -0
  7. package/dist/dash-variables.less +10 -0
  8. package/dist/dash.less +38 -0
  9. package/dist/helpers/getAllCssVariablesFromStyleSheets.js +1 -0
  10. package/dist/index.tsx.suffixed +680 -0
  11. package/dist/styles/button.less +120 -0
  12. package/dist/styles/buttons.less +10 -0
  13. package/dist/styles/card.less +337 -0
  14. package/dist/styles/common.less +62 -0
  15. package/dist/styles/components/notfound.less +50 -0
  16. package/dist/styles/extra.less +25 -0
  17. package/dist/styles/filters.less +7 -0
  18. package/dist/styles/forms.less +41 -0
  19. package/dist/styles/framed.less +45 -0
  20. package/dist/styles/header.less +879 -0
  21. package/dist/styles/input.copy.less +223 -0
  22. package/dist/styles/input.less +223 -0
  23. package/dist/styles/layout.less +296 -0
  24. package/dist/styles/links.less +28 -0
  25. package/dist/styles/loader.less +20 -0
  26. package/dist/styles/login.less +331 -0
  27. package/dist/styles/modal.less +0 -0
  28. package/dist/styles/module.less +29 -0
  29. package/dist/styles/mui-overrides.less +62 -0
  30. package/dist/styles/notification.less +46 -0
  31. package/dist/styles/pages/profile.less +139 -0
  32. package/dist/styles/pagination.less +90 -0
  33. package/dist/styles/popover.less +21 -0
  34. package/dist/styles/react-admin/common.less +184 -0
  35. package/dist/styles/react-admin/toolbar.less +22 -0
  36. package/dist/styles/root.less +13 -0
  37. package/dist/styles/sidebar.less +705 -0
  38. package/dist/styles/splash.less +44 -0
  39. package/dist/styles/static.less +59 -0
  40. package/dist/styles/stats.less +5 -0
  41. package/dist/styles/svg.less +30 -0
  42. package/dist/styles/switch.less +7 -0
  43. package/dist/styles/table.less +196 -0
  44. package/dist/styles/tabs.less +173 -0
  45. package/dist/styles/tags.less +97 -0
  46. package/dist/styles/toast.less +83 -0
  47. package/dist/styles/toolbar.less +90 -0
  48. package/dist/styles/transition.less +226 -0
  49. package/dist/styles/uploader.less +38 -0
  50. package/dist/variables/breakpoints.less +35 -0
  51. package/dist/variables/colors.less +205 -0
  52. package/dist/variables/dash-colors.less +52 -0
  53. package/dist/variables/sizes.less +150 -0
  54. package/package.json +14 -3
@@ -0,0 +1,879 @@
1
+ @mobile_header_height: 64px;
2
+ @mobile_header_gutter: 40px; // This is the space to left for the android header bar, the clock etc to be shown.
3
+
4
+ //Corrections:
5
+ // Bug: somne android navigations bars does not allow the save button to be visible on screen
6
+ // e.g class on problematic device : ua-mozilla-5-0-linux-android-10-k-applewebkit-537-36-khtml-like-gecko-samsungbrowser-29-0-chrome-136-0- touch-device
7
+ .touch-device .RaToolbar-mobileToolbar {
8
+ bottom: calc(var(--sidebar-horizontal-height) + @mobile_header_gutter) !important;
9
+ }
10
+
11
+ /*
12
+ @media screen and (max-width: 960px) {
13
+ .webview, .android {
14
+ .dash-header-container, .sidebar-header {
15
+ padding-top: 40px;
16
+ }
17
+
18
+ }
19
+ }
20
+ */
21
+
22
+ @media (max-width: 990px) and (max-width: 990px) {
23
+
24
+ .webview,
25
+ .android {
26
+ .dash-header .dash-header-container, .sidebar-header {
27
+ padding-top: @mobile_header_gutter !important;
28
+ }
29
+ }
30
+ }
31
+
32
+
33
+ .dash-page-title {
34
+ font-size: 20px;
35
+ font-weight: bold;
36
+ margin: 15px 0px 15px 0px;
37
+ }
38
+
39
+ .dash-header-item {
40
+ cursor: pointer;
41
+ }
42
+
43
+ .dash-module-sidenav {
44
+ //position:relative;
45
+ }
46
+
47
+ .dash-datagrid-wrapper {
48
+ margin-top: 0px !important;
49
+ }
50
+
51
+ .dash-module-top {
52
+ //position:relative;
53
+ display: flex;
54
+ flex-flow: row-reverse;
55
+ }
56
+
57
+ //Custom Header
58
+
59
+ // .dash-header-items{
60
+ // margin: 0;
61
+ // }
62
+
63
+ // .dash-layout-sider-header{
64
+ // background-color: transparent;
65
+ // padding: 31px 83px 8.12px 82px !important;
66
+ // height: auto;
67
+ // img{
68
+ // width: 91px;
69
+ // height: 31px;
70
+ // object-fit: contain;
71
+ // filter: brightness(0) invert(1);
72
+ // }
73
+ // }
74
+
75
+ // .ant-layout-sider-collapsed .dash-layout-sider-header{
76
+ // padding: 16px 17px 25.12px 18px !important;
77
+ // height: auto;
78
+ // img{
79
+ // width: 25px;
80
+ // height: 25px;
81
+ // }
82
+ // }
83
+ // .dash-layout-sider-scrollbar > div:first-child{
84
+ // width: 100%;
85
+ // overflow: auto !important;
86
+ // }
87
+
88
+ // .ant-layout-sider-collapsed{
89
+ // .dash-layout-sider-header{
90
+ // justify-content: center;
91
+ // img{
92
+ // width: 25px;
93
+ // height: 25px;
94
+ // }
95
+ // }
96
+ // }
97
+
98
+
99
+ // .dash-linebar .sidebar-menu{
100
+ // padding: 11.13px 0 11.13px 16.52px;
101
+ // width: 63px;
102
+ // height: auto;
103
+ // display: flex;
104
+ // align-items: center;
105
+ // justify-content: flex-start;
106
+ // svg{
107
+ // width: 12.97px;
108
+ // height: 13.75px;
109
+ // }
110
+ // }
111
+
112
+ // .ant-layout-sider-collapsed.dash-app-sidebar{
113
+ // .sidebar-menu{
114
+ // padding-left: 24.51px;
115
+ // }
116
+ // }
117
+
118
+ // .ant-layout-sider-collapsed{
119
+ // .dash-linebar{
120
+ // margin-bottom: 25.26px;
121
+ // }
122
+ // }
123
+
124
+ // .ant-layout-content.dash-layout-content{
125
+ // padding: 0 0 0 263px;
126
+ // transition: all .4s;
127
+ // > .dash-app-module{
128
+ // padding: 0 61px 0 48px;
129
+ // .dash-module-box-header, .dash-module-box-content{
130
+ // padding-left: 0;
131
+ // padding-right: 0;
132
+ // }
133
+ // }
134
+ // }
135
+
136
+ // .dash-app-layout-sidebar-collapsed{
137
+ // .ant-layout-content.dash-layout-content{
138
+ // padding: 0 0 0 63px;
139
+ // }
140
+ // }
141
+
142
+ // .ant-menu-submenu-popup{
143
+ // background: var(--sidebar-bg);
144
+ // .ant-menu-sub.ant-menu .ant-menu-item{
145
+ // &:hover{
146
+ // background-color: var(--sidebar-bg-hover);
147
+ // }
148
+ // }
149
+ // }
150
+
151
+ @media (max-width: @mq-sm) {
152
+ // .ant-layout-header.dash-header, .ant-layout-content.dash-layout-content{
153
+ // padding: 0;
154
+ // }
155
+ // .ant-layout-header.dash-header{
156
+ // .dash-header-container{
157
+ // flex-direction: column;
158
+ // padding: 0;
159
+ // .dash-header{
160
+ // &-subheader{
161
+ // display: flex;
162
+ // flex-wrap: wrap;
163
+ // justify-content: space-between;
164
+ // width: 100%;
165
+ // height: auto;
166
+ // margin: 0;
167
+ // padding: 25px 19px;
168
+ // background-color: var(--highlight-color);
169
+ // &-action{
170
+ // display: flex;
171
+ // align-items: center;
172
+ // justify-content: center;
173
+ // width: 18.75px;
174
+ // height: 16.5px;
175
+ // margin-left: 2.63px;
176
+ // }
177
+ // &-logo{
178
+ // display: block;
179
+ // width: 71px;
180
+ // height: 24px;
181
+ // img{
182
+ // width: 100%;
183
+ // height: 100%;
184
+ // object-fit: contain;
185
+ // }
186
+ // }
187
+ // &-avatar{
188
+ // width: 24px;
189
+ // height: 24px;
190
+ // .dash-header-user-avatar{
191
+ // width: 24px;
192
+ // height: 24px;
193
+ // }
194
+ // }
195
+ // }
196
+ // &-content{
197
+ // margin: 0 19px;
198
+ // width: calc(100% - 38px);
199
+ // max-width: calc(100% - 38px);
200
+ // display: flex;
201
+ // flex-direction: column;
202
+ // .dash-page-header-heading{
203
+ // width: 100%;
204
+ // padding: 19px 16px 13px;
205
+ // }
206
+ // .dash-page-header-heading-inline{
207
+ // display: flex;
208
+ // flex-direction: column;
209
+ // align-items: flex-start;
210
+ // width: 100%;
211
+ // padding: 0;
212
+
213
+ // .dash-page-header-heading-img{
214
+ // display: none;
215
+ // }
216
+
217
+ // .dash-page-header-heading-title{
218
+ // display: inline-block;
219
+ // font-style: normal;
220
+ // font-weight: 700;
221
+ // font-size: 14px;
222
+ // line-height: 24px;
223
+ // color: var(--highlight-color);
224
+ // margin-left: 0;
225
+ // }
226
+ // .dash-page-header-heading-sub-title{
227
+ // display: inline-block;
228
+ // font-style: normal;
229
+ // font-weight: 700;
230
+ // font-size: 20px;
231
+ // line-height: 24px;
232
+ // overflow: visible;
233
+ // margin: 0;
234
+ // }
235
+ // }
236
+
237
+ // .dash-header-items{
238
+ // display: flex;
239
+ // flex-direction: column;
240
+ // padding: 0;
241
+ // width: 100%;
242
+ // padding: 0 19px 16px;
243
+
244
+ // .dash-header-item, .dash-header-actions{
245
+ // width: 100%;
246
+ // }
247
+
248
+ // .dash-header-actions-btn{
249
+ // padding: 8px 16px;
250
+ // width: 100%;
251
+ // height: 40px;
252
+
253
+ // border: 1px solid var(--highlight-color);
254
+ // border-radius: 8px;
255
+ // &:hover{
256
+ // border-color: var(--highlight-color);
257
+ // background-color: var(--highlight-color);
258
+ // color: var(--primary-color);
259
+ // }
260
+ // &.hide-sm{
261
+ // display: none;
262
+ // }
263
+ // }
264
+
265
+ // }
266
+ // }
267
+ // }
268
+ // }
269
+ // }
270
+
271
+ // .dash-app-layout-sidebar-collapsed{
272
+ // .ant-layout-header.dash-header, .ant-layout-content.dash-layout-content{
273
+ // padding: 0;
274
+ // }
275
+ // }
276
+ // .ant-layout{
277
+ // background-color: var(--highlight-color) !important;
278
+ // }
279
+ }
280
+
281
+
282
+
283
+ //HEADER
284
+ .dash-header {
285
+ display: flex;
286
+ align-items: center;
287
+ // height: @mobile_header_height;
288
+ height: auto;
289
+
290
+ position: static;
291
+ top: 0;
292
+ left: 0;
293
+ width: 100%;
294
+ background-color: transparent;
295
+ box-shadow: unset;
296
+ // padding: 0 0 0 63px;
297
+ line-height: unset;
298
+ transition: all .4s;
299
+
300
+ &-container {
301
+ width: 100%;
302
+ display: flex;
303
+ // flex-wrap: wrap;
304
+ align-items: center;
305
+ //padding: 5px 0px 14px 20px;+
306
+ //padding: 5px;
307
+ margin-right: 0px;
308
+
309
+ .dash-header-subheader {
310
+
311
+ //width: 64px;
312
+ //height: 64px;
313
+ //margin-right: 20px;
314
+ &-action,
315
+ &-logo {
316
+ display: none;
317
+ }
318
+
319
+ &-avatar {
320
+ display: flex;
321
+ align-items: center;
322
+ justify-content: center;
323
+ width: 64px;
324
+ height: 64px;
325
+ margin: 2px;
326
+
327
+ svg {
328
+ fill: var(--highlight-color);
329
+ color: var(--highlight-color);
330
+ width: 23.5px;
331
+ height: 24.88px;
332
+ object-fit: contain;
333
+ }
334
+
335
+ .dash-header-user-profile {
336
+ padding: 0;
337
+ }
338
+
339
+ .dash-header-user-avatar {
340
+ background-color: var(--highlight-color);
341
+ width: 64px;
342
+ height: 64px;
343
+ display: flex;
344
+ align-items: center;
345
+ justify-content: center;
346
+ background: var(--primary-color);
347
+
348
+ }
349
+
350
+ }
351
+ }
352
+
353
+ .dash-header-content {
354
+ width: 100%;
355
+ //height: 65px;
356
+
357
+ margin-right: 8px;
358
+ margin-left: 8px;
359
+ margin-top: 8px;
360
+ padding: 8px 0px;
361
+
362
+
363
+ //max-width: calc(100% - 84px);
364
+ display: flex;
365
+ flex-wrap: wrap;
366
+ flex-direction: row;
367
+ justify-content: space-between;
368
+ align-items: center;
369
+ flex: 1;
370
+ border-radius: 8px;
371
+ //justify-content: space-between;
372
+ //background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-contrast) 100%);
373
+
374
+ background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-contrast) 100%);
375
+
376
+
377
+ @media (max-width: @mq-sm) {
378
+ background: none;
379
+ margin: inherit;
380
+ width: inherit;
381
+ max-width: inherit;
382
+ border-radius: inherit;
383
+ border: inherit;
384
+ align-items: flex-start;
385
+ justify-content: space-between;
386
+
387
+ }
388
+
389
+ .dash-header-items {
390
+ display: flex;
391
+ flex-wrap: wrap;
392
+ margin: 0;
393
+ //padding: 0 40px;
394
+ align-items: center;
395
+ justify-content: flex-end;
396
+
397
+ .dash-header-item {
398
+ .dash-header-actions {
399
+ flex: 1;
400
+ display: flex;
401
+ flex-wrap: wrap;
402
+ }
403
+ }
404
+
405
+ .dash-header-actions-btn {
406
+ display: flex;
407
+ flex-direction: column;
408
+ align-items: center;
409
+ margin: 10px 15px 10px 0;
410
+ padding: 5px 16px;
411
+ width: auto;
412
+ height: auto;
413
+ background: transparent;
414
+ border: 1px solid var(--highlight-color);
415
+ border-radius: 8px;
416
+
417
+ font-style: normal;
418
+ font-weight: 600;
419
+ font-size: 16px;
420
+ line-height: 24px;
421
+ color: var(--highlight-color);
422
+
423
+ >span {
424
+ color: var(--highlight-color);
425
+
426
+ }
427
+
428
+ &:last-child {
429
+ margin-right: 0;
430
+ }
431
+
432
+ &:hover {
433
+ border-color: var(--highlight-color);
434
+ background-color: var(--highlight-color);
435
+ color: var(--primary-color);
436
+
437
+ >span {
438
+ color: var(--primary-color);
439
+ }
440
+ }
441
+ }
442
+
443
+ }
444
+ }
445
+ }
446
+ }
447
+
448
+ .RaToolbar-mobileToolbar {
449
+ display: flex !important;
450
+ justify-content: flex-end !important;
451
+ z-index: 1000 !important;
452
+ }
453
+
454
+ .RaToolbar-desktopToolbar {
455
+ position: fixed !important;
456
+ bottom: 0 !important;
457
+ left: 0 !important;
458
+ right: 0 !important;
459
+
460
+ display: flex !important;
461
+ justify-content: flex-end !important;
462
+ }
463
+
464
+
465
+ .auto-admin-grouped-form {
466
+ margin-bottom: var(--sidebar-horizontal-height);
467
+ }
468
+
469
+
470
+ @media (max-width: @mq-sm) {
471
+ .dash-header {
472
+ position: fixed;
473
+ z-index: 1000;
474
+ }
475
+
476
+
477
+ .dash-app-layout .dash-layout-content .dash-app-module {
478
+ height: calc(100% - var(--sidebar-horizontal-height));
479
+ display: flex;
480
+ }
481
+
482
+
483
+
484
+
485
+ #dash-app-layout>div.dash-app-layout-content.MuiBox-root>div.dash-layout-content.MuiBox-root {
486
+ //HEADER SIZE IN MOBILE
487
+ margin-top: calc( var(--sidebar-horizontal-height));
488
+ height: calc( 100vh - var(--sidebar-horizontal-height) ) ;
489
+ //padding-bottom: 40px;
490
+ //margin-bottom: 40px;
491
+ // Fade out effect at the bottom with 30px gradient
492
+ //-webkit-mask-image: linear-gradient(to bottom, black 0%, black calc(100% - 30px), transparent 100%);
493
+ //mask-image: linear-gradient(to bottom, black 0%, black calc(100% - 30px), transparent 100%);
494
+ }
495
+
496
+ .webview,
497
+ .android {
498
+ #dash-app-layout>div.dash-app-layout-content.MuiBox-root>div.dash-layout-content.MuiBox-root {
499
+ margin-top: calc(var(--sidebar-horizontal-height, 64px) + 40px);
500
+ }
501
+ }
502
+
503
+ .dash-app-layout .dash-layout-content .dash-app-module .dash-module-box-content {
504
+ padding-bottom: var(--sidebar-horizontal-height);
505
+ }
506
+
507
+ .android #dash-app-layout>div.dash-app-layout-content.MuiBox-root>div.dash-layout-content.MuiBox-root {
508
+ //margin-top: 80px;
509
+ //height: 100%;
510
+ //padding-bottom: 80px;
511
+
512
+ margin-top: calc(var(--sidebar-horizontal-height) + @mobile_header_gutter);
513
+ height: 100vh;
514
+ }
515
+
516
+ .android .dash-app-layout .dash-layout-content .dash-app-module {
517
+ height: calc(100% - var(--sidebar-horizontal-height) + @mobile_header_gutter);
518
+ display: flex;
519
+ }
520
+
521
+ .dash-header-container .dash-header-content .dash-header-items {
522
+ position: absolute;
523
+ right: 0;
524
+ }
525
+
526
+ .auto-admin-grouped-form {
527
+
528
+ margin-bottom: 15px;
529
+ }
530
+
531
+ /* .android .auto-admin-grouped-form {
532
+ margin-bottom: calc(80px + 15px);
533
+ }*/
534
+
535
+ body[class*="android"] {
536
+
537
+ .auto-admin-grouped-form {
538
+ margin-bottom: calc( var(--sidebar-horizontal-height) + 15px);
539
+ height:100vh;
540
+ }
541
+
542
+ /*.RaToolbar-mobileToolbar {
543
+ bottom: calc(80px + 15px) !important;
544
+ }*/
545
+ }
546
+
547
+ /*.RaToolbar-desktopToolbar {
548
+ bottom: calc(15px) !important;
549
+ }*/
550
+
551
+
552
+ /* .android {
553
+ .RaToolbar-mobileToolbar {
554
+ bottom: calc(80px + 15px) !important;
555
+ }
556
+
557
+ .RaToolbar-desktopToolbar {
558
+ bottom: calc(15px) !important;
559
+ }
560
+
561
+ }*/
562
+
563
+
564
+ }
565
+
566
+
567
+ .dash-header-inline {
568
+ display: flex;
569
+ flex-direction: row;
570
+ -webkit-box-align: center;
571
+ align-items: baseline;
572
+ width: auto;
573
+ margin-left: 8px;
574
+
575
+ //padding: 0 24px;
576
+ &-img {
577
+ margin: 5px 0;
578
+ width: 45px;
579
+ height: var(--sidebar-horizontal-height);
580
+
581
+ img {
582
+ width: 100%;
583
+ height: 100%;
584
+ object-fit: contain;
585
+ line-height: 1;
586
+ }
587
+ }
588
+
589
+ &-title {
590
+ display: inline-block;
591
+ font-style: normal;
592
+ font-weight: 700;
593
+ //font-size: 18px;
594
+ line-height: 0.9;
595
+ color: var(--text-header);
596
+ // padding-left: 15px;
597
+
598
+ &::after {
599
+ content: "▸";
600
+ margin-left: 5px;
601
+ }
602
+ }
603
+
604
+ &-subtitle {
605
+ display: inline-block;
606
+ font-weight: 500;
607
+ //font-size: 14px;
608
+ line-height: 22px;
609
+ color: var(--text-header);
610
+
611
+ overflow: visible;
612
+ //margin-left: 12px;
613
+ }
614
+ }
615
+
616
+ // ============================================================================
617
+ // BREADCRUMB NAVIGATION STYLES
618
+ // ============================================================================
619
+
620
+ .dash-header-breadcrumbs {
621
+ display: inline-flex;
622
+ flex-direction: row;
623
+ align-items: center;
624
+ flex-wrap: nowrap;
625
+ padding: 0;
626
+ margin: 0 0 0 12px;
627
+ height: auto;
628
+ line-height: 1;
629
+ border-left: 1px solid var(--text-header-muted, rgba(255, 255, 255, 0.3));
630
+ padding-left: 12px;
631
+ }
632
+
633
+ .dash-breadcrumbs {
634
+ display: inline-flex;
635
+ flex-direction: row;
636
+ align-items: center;
637
+ flex-wrap: nowrap;
638
+ gap: 2px;
639
+ margin: 0;
640
+ padding: 0;
641
+
642
+ // Breadcrumb item
643
+ .dash-breadcrumb-item {
644
+ display: inline-flex;
645
+ flex-direction: row;
646
+ align-items: center;
647
+ gap: 2px;
648
+ transition: color 0.2s ease;
649
+ flex-shrink: 0;
650
+
651
+ &--active {
652
+ .dash-breadcrumb-label {
653
+ font-weight: 500;
654
+ color: var(--text-header);
655
+ }
656
+ }
657
+ }
658
+
659
+ // Breadcrumb icon
660
+ .dash-breadcrumb-icon {
661
+ display: inline-flex;
662
+ align-items: center;
663
+ color: var(--text-header-muted, rgba(255, 255, 255, 0.7));
664
+ flex-shrink: 0;
665
+
666
+ svg {
667
+ font-size: 12px;
668
+ }
669
+ }
670
+
671
+ // Breadcrumb label
672
+ .dash-breadcrumb-label {
673
+ font-size: 11px;
674
+ font-weight: 400;
675
+ color: var(--text-header-muted, rgba(255, 255, 255, 0.7));
676
+ white-space: nowrap;
677
+ overflow: hidden;
678
+ text-overflow: ellipsis;
679
+ max-width: 120px;
680
+ transition: color 0.2s ease;
681
+ line-height: 1.2;
682
+ }
683
+
684
+ // Breadcrumb link
685
+ .dash-breadcrumb-link {
686
+ display: inline-flex;
687
+ align-items: center;
688
+ text-decoration: none;
689
+ flex-shrink: 0;
690
+
691
+ &:hover {
692
+ .dash-breadcrumb-label {
693
+ color: var(--text-header);
694
+ text-decoration: underline;
695
+ }
696
+
697
+ .dash-breadcrumb-icon {
698
+ color: var(--text-header);
699
+ }
700
+ }
701
+ }
702
+
703
+ // Separator
704
+ .dash-breadcrumb-separator {
705
+ display: inline-flex;
706
+ align-items: center;
707
+ margin: 0 1px;
708
+ color: var(--text-header-muted, rgba(255, 255, 255, 0.5));
709
+ flex-shrink: 0;
710
+
711
+ svg {
712
+ font-size: 12px;
713
+ }
714
+ }
715
+ }
716
+
717
+ // Responsive adjustments for breadcrumbs
718
+ @media (max-width: @mq-sm) {
719
+ .dash-header-breadcrumbs {
720
+ display: none; // Hide breadcrumbs on small screens to save space
721
+ }
722
+ }
723
+
724
+ /*
725
+ @media (max-width: var(--mq-sm)) {
726
+ .dash-header-inline {
727
+ display: contents;
728
+ }
729
+ }
730
+ */
731
+
732
+
733
+
734
+ @media (max-width: @mq-sm) {
735
+ .dash-header {
736
+ .dash-header-container {
737
+ flex-direction: column;
738
+ flex-flow: nowrap;
739
+ //padding: 0;
740
+ //height: @mobile_header_height;
741
+
742
+ @media (max-width:@mq-sm) {
743
+ background-color: var(--primary-color);
744
+ }
745
+
746
+ .dash-header {
747
+ &-subheader {
748
+ //display: flex;
749
+ //flex-wrap: wrap;
750
+ //justify-content: space-between;
751
+
752
+ //width: 100%;
753
+ height: auto;
754
+ margin: 0;
755
+ //padding: 5px;
756
+
757
+ &-action {
758
+ display: flex;
759
+ align-items: center;
760
+ justify-content: center;
761
+ width: 18px;
762
+ height: 16px;
763
+ //margin-left: 2.63px;
764
+ margin: 6px;
765
+ }
766
+
767
+ &-logo {
768
+ display: flex;
769
+ align-items: center;
770
+ justify-content: center;
771
+ height: 34px;
772
+ width: 34px;
773
+ border-radius: 50%;
774
+ padding: 4px;
775
+ box-sizing: border-box;
776
+ margin: 0;
777
+ background-color: white;
778
+ img {
779
+ width: 100%;
780
+ height: 100%;
781
+ object-fit: contain;
782
+ }
783
+ }
784
+
785
+ &-avatar {
786
+ width: 24px;
787
+ height: 24px;
788
+
789
+ .dash-header-user-avatar {
790
+ width: 24px;
791
+ height: 24px;
792
+ }
793
+ }
794
+ }
795
+
796
+ &-content {
797
+ margin: 0;
798
+ width: 100%;
799
+ max-width: 100%;
800
+ border-radius: 0px;
801
+ border: none;
802
+ display: flex;
803
+
804
+ flex-direction: row;
805
+ align-items: center;
806
+
807
+
808
+
809
+ .dash-page-header-heading {
810
+ width: 100%;
811
+ }
812
+
813
+ .dash-page-header-heading-inline {
814
+ display: flex;
815
+ flex-direction: column;
816
+ align-items: flex-start;
817
+ width: 100%;
818
+ padding: 0;
819
+
820
+ .dash-page-header-heading-img {
821
+ display: none;
822
+ }
823
+
824
+ .dash-page-header-heading-title {
825
+ display: inline-block;
826
+ font-style: normal;
827
+ font-weight: 700;
828
+ font-size: 14px;
829
+ line-height: 24px;
830
+ color: var(--highlight-color);
831
+ margin-left: 0;
832
+ }
833
+
834
+ .dash-page-header-heading-sub-title {
835
+ display: inline-block;
836
+ font-style: normal;
837
+ font-weight: 700;
838
+ font-size: 20px;
839
+ line-height: 24px;
840
+ overflow: visible;
841
+ margin: 0;
842
+ }
843
+ }
844
+
845
+ .dash-header-items {
846
+ display: flex;
847
+ flex-direction: column;
848
+ padding: 0;
849
+ //width: 100%;
850
+
851
+ .dash-header-item,
852
+ .dash-header-actions {
853
+ width: 100%;
854
+ }
855
+
856
+ .dash-header-actions-btn {
857
+ padding: 8px 16px;
858
+ width: 100%;
859
+ height: @mobile_header_height;
860
+
861
+ border: 1px solid var(--highlight-color);
862
+ border-radius: 8px;
863
+
864
+ &:hover {
865
+ border-color: var(--highlight-color);
866
+ background-color: var(--highlight-color);
867
+ color: var(--primary-color);
868
+ }
869
+
870
+ &.hide-sm {
871
+ display: none;
872
+ }
873
+ }
874
+ }
875
+ }
876
+ }
877
+ }
878
+ }
879
+ }