@m4l/styles 2.0.0 → 2.0.2
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/index.js +42 -49
- package/package.json +1 -1
- package/theme/{defaultThemeOptions.cc70c82e.js → defaultThemeOptions-CNJ2UmWH.js} +5 -5
- package/theme/overrides/M4LExtendedComponents/{index.8f549882.js → index-CyXBfJc_.js} +379 -22
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +9 -1
- package/theme/overrides/M4LRHFComponents/{index.3599b255.js → index-DEvENvuH.js} +94 -8
- package/theme/overrides/MUIComponents/{index.5c43e3b5.js → index-oLVtA5nq.js} +48 -0
- package/theme/overrides/{index.3234140e.js → index-CuD-MKOg.js} +9 -3
- package/theme/{palette.287635f2.js → palette-CR1CkF2l.js} +1 -0
- package/theme/{shadows.e0c009ff.js → shadows-C9Ji2xrX.js} +4 -1
- package/theme/{typography.616cfe0c.js → typography-BsOO459U.js} +11 -1
- package/types/augmentations.d.ts +137 -137
- package/utils/{getColorPresets.a96a4046.js → getColorPresets-B12zVrZ8.js} +10 -1
- package/utils/{getColorState.7cbf2219.js → getColorState-CGc0yrt5.js} +13 -1
- package/utils/{getFontValue.88831637.js → getFontValue-BEO-XID9.js} +8 -5
- package/vite-env.d.ts +3 -3
- /package/{config.5405b46b.js → config-CoeBxEZB.js} +0 -0
- /package/theme/{index.34d0fdea.js → index-l0sNRNKZ.js} +0 -0
- /package/utils/{useResponsive.2c45e8e0.js → useResponsive-DaeQVwlH.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { alpha as t } from "@mui/material/styles";
|
|
2
2
|
import { alpha as e } from "@mui/system";
|
|
3
|
-
import { P as r } from "../../palette.
|
|
3
|
+
import { P as r } from "../../palette-CR1CkF2l.js";
|
|
4
4
|
const p = (o) => ({
|
|
5
5
|
M4LIcon: {
|
|
6
6
|
styleOverrides: {
|
|
7
|
-
|
|
7
|
+
"&.M4LIcon-root": {
|
|
8
8
|
display: "flex",
|
|
9
9
|
justifyContent: "center",
|
|
10
10
|
alignItems: "center",
|
|
@@ -53,7 +53,7 @@ const p = (o) => ({
|
|
|
53
53
|
}), d = (o) => ({
|
|
54
54
|
M4LIconButton: {
|
|
55
55
|
styleOverrides: {
|
|
56
|
-
|
|
56
|
+
"&.M4LIconButton-root": {
|
|
57
57
|
position: "relative",
|
|
58
58
|
borderRadius: "4px",
|
|
59
59
|
display: "flex",
|
|
@@ -62,8 +62,12 @@ const p = (o) => ({
|
|
|
62
62
|
transition: "all .3s ease",
|
|
63
63
|
"& .M4LIcon-root .M4LIcon-icon": {
|
|
64
64
|
transition: "all .3s ease",
|
|
65
|
+
//Cambiado bgPrimary temporalmente , originalmente primary
|
|
65
66
|
backgroundColor: o.vars.palette.text.primary
|
|
66
67
|
},
|
|
68
|
+
// '& .M4LIcon-root .M4LIcon-icon': {
|
|
69
|
+
// backgroundColor: theme.vars.palette.text.bgPrimary,
|
|
70
|
+
// },
|
|
67
71
|
"&::before": {
|
|
68
72
|
boxSizing: "content-box",
|
|
69
73
|
border: "1px solid",
|
|
@@ -88,11 +92,16 @@ const p = (o) => ({
|
|
|
88
92
|
height: "20px"
|
|
89
93
|
}
|
|
90
94
|
},
|
|
95
|
+
/* Size property */
|
|
91
96
|
"& .MuiIconButton-root": {
|
|
92
97
|
position: "static",
|
|
93
98
|
borderRadius: "4px",
|
|
94
99
|
padding: "0px"
|
|
95
100
|
},
|
|
101
|
+
/* '.MuiIconButton-root:hover': {
|
|
102
|
+
backgroundColor: 'transparent',
|
|
103
|
+
}, */
|
|
104
|
+
/* Variant primary */
|
|
96
105
|
"&.M4LIconButton-variantPrimary:not(&.M4LIconButton-isDisabled)": {
|
|
97
106
|
backgroundColor: o.vars.palette.state?.default,
|
|
98
107
|
"&:hover": {
|
|
@@ -118,6 +127,7 @@ const p = (o) => ({
|
|
|
118
127
|
}
|
|
119
128
|
}
|
|
120
129
|
},
|
|
130
|
+
/* Variant secondary */
|
|
121
131
|
"&.M4LIconButton-variantSecondary:not(&.M4LIconButton-isDisabled)": {
|
|
122
132
|
borderColor: o.vars.palette.state.borderDens,
|
|
123
133
|
"& .M4LIcon-icon": {
|
|
@@ -148,6 +158,7 @@ const p = (o) => ({
|
|
|
148
158
|
}
|
|
149
159
|
}
|
|
150
160
|
},
|
|
161
|
+
/* Variant line */
|
|
151
162
|
"&.M4LIconButton-variantLine:not(&.M4LIconButton-isDisabled)": {
|
|
152
163
|
"&:hover": {
|
|
153
164
|
backgroundColor: o.vars.palette.state?.active12,
|
|
@@ -170,14 +181,17 @@ const p = (o) => ({
|
|
|
170
181
|
}
|
|
171
182
|
}
|
|
172
183
|
},
|
|
184
|
+
/* Variant disabled */
|
|
173
185
|
"&.M4LIconButton-isDisabled": {
|
|
174
186
|
"& .M4LIcon-icon": {
|
|
175
187
|
backgroundColor: o.vars.palette.text.disabled
|
|
176
188
|
}
|
|
177
189
|
},
|
|
190
|
+
/* Variant skeleton */
|
|
178
191
|
"&.M4LIconButton-root .MuiSkeleton-root": {
|
|
179
192
|
borderRadius: "4px"
|
|
180
193
|
},
|
|
194
|
+
//TODO: Para cambiar
|
|
181
195
|
"&.M4LIconButton-togglePressed": {
|
|
182
196
|
backgroundColor: "red!important",
|
|
183
197
|
prop1: 1
|
|
@@ -188,7 +202,7 @@ const p = (o) => ({
|
|
|
188
202
|
}), l = (o) => ({
|
|
189
203
|
M4LanguagePopover: {
|
|
190
204
|
styleOverrides: {
|
|
191
|
-
|
|
205
|
+
"&.M4LanguagePopover-root": {
|
|
192
206
|
"& .M4LImageButton-root": {
|
|
193
207
|
"& .MuiButtonBase-root": {
|
|
194
208
|
width: "32px",
|
|
@@ -209,7 +223,7 @@ const p = (o) => ({
|
|
|
209
223
|
}), s = (o) => ({
|
|
210
224
|
M4LImageButton: {
|
|
211
225
|
styleOverrides: {
|
|
212
|
-
|
|
226
|
+
"&.M4LImageButton-root": {
|
|
213
227
|
test: "root",
|
|
214
228
|
".MuiButtonBase-root": {
|
|
215
229
|
display: "flex",
|
|
@@ -263,7 +277,7 @@ const p = (o) => ({
|
|
|
263
277
|
}), c = (o) => ({
|
|
264
278
|
M4LImage: {
|
|
265
279
|
styleOverrides: {
|
|
266
|
-
|
|
280
|
+
"&.M4LImage-root": {
|
|
267
281
|
display: "flex",
|
|
268
282
|
flexDirection: "column",
|
|
269
283
|
justifyContent: "center",
|
|
@@ -365,16 +379,21 @@ const p = (o) => ({
|
|
|
365
379
|
}), x = (o) => ({
|
|
366
380
|
M4LErrorLabel: {
|
|
367
381
|
styleOverrides: {
|
|
368
|
-
|
|
382
|
+
"&.M4LHelperText-root": {
|
|
383
|
+
/* Root properties */
|
|
384
|
+
/* Variant info */
|
|
369
385
|
"&.M4LHelperText-variantInfo .MuiTypography-root": {
|
|
370
386
|
color: o.vars.palette.info.main
|
|
371
387
|
},
|
|
388
|
+
/* Variant success */
|
|
372
389
|
"&.M4LHelperText-variantSuccess .MuiTypography-root": {
|
|
373
390
|
color: o.vars.palette.success.main
|
|
374
391
|
},
|
|
392
|
+
/* Variant success */
|
|
375
393
|
"&.M4LHelperText-variantWarning .MuiTypography-root": {
|
|
376
394
|
color: o.vars.palette.warning.main
|
|
377
395
|
},
|
|
396
|
+
/* Variant success */
|
|
378
397
|
"&.M4LHelperText-variantError .MuiTypography-root": {
|
|
379
398
|
color: o.vars.palette.error.main
|
|
380
399
|
}
|
|
@@ -384,7 +403,7 @@ const p = (o) => ({
|
|
|
384
403
|
}), u = (o) => ({
|
|
385
404
|
M4LTypography: {
|
|
386
405
|
styleOverrides: {
|
|
387
|
-
|
|
406
|
+
"&.M4LTypography-root": {
|
|
388
407
|
color: o.vars.palette.text.primary,
|
|
389
408
|
display: "inline",
|
|
390
409
|
"& .MuiTypography-root": {
|
|
@@ -397,21 +416,25 @@ const p = (o) => ({
|
|
|
397
416
|
M4LButton: {
|
|
398
417
|
styleOverrides: {
|
|
399
418
|
"&.M4LButton-root": {
|
|
419
|
+
/* Propiedades generales */
|
|
400
420
|
transition: "all 0.2s",
|
|
401
421
|
width: "fit-content",
|
|
402
422
|
display: "flex",
|
|
403
423
|
justifyContent: "center",
|
|
404
424
|
...o.colorSchemes.finalTheme.typography.action,
|
|
425
|
+
//height: '24px',
|
|
405
426
|
minHeight: "24px",
|
|
406
427
|
borderRadius: "4px",
|
|
407
428
|
[o.breakpoints.down("md")]: {
|
|
408
429
|
height: "36px",
|
|
409
430
|
minHeight: "36px"
|
|
410
431
|
},
|
|
432
|
+
/* General properties */
|
|
411
433
|
"& .M4LButton-skeleton": {
|
|
412
434
|
height: "100% !important",
|
|
413
435
|
borderRadius: "4px"
|
|
414
436
|
},
|
|
437
|
+
// Anulamos los estilos de color para el botón de mui
|
|
415
438
|
"& .MuiButtonBase-root": {
|
|
416
439
|
display: "flex",
|
|
417
440
|
textTransform: "none",
|
|
@@ -486,6 +509,7 @@ const p = (o) => ({
|
|
|
486
509
|
}
|
|
487
510
|
}
|
|
488
511
|
},
|
|
512
|
+
/* Sizes */
|
|
489
513
|
"&.M4LButton-sizeSmall": {
|
|
490
514
|
"& .MuiButtonBase-root": {
|
|
491
515
|
padding: "4px 12px",
|
|
@@ -506,6 +530,7 @@ const p = (o) => ({
|
|
|
506
530
|
height: "36px"
|
|
507
531
|
}
|
|
508
532
|
},
|
|
533
|
+
/* Variant contained */
|
|
509
534
|
"&.M4LButton-variantContained": {
|
|
510
535
|
backgroundColor: o.vars.palette.state?.active,
|
|
511
536
|
color: o.vars.palette.patronus?.marbleLight[10],
|
|
@@ -521,6 +546,13 @@ const p = (o) => ({
|
|
|
521
546
|
backgroundColor: o.vars.palette.patronus?.marbleLight[10]
|
|
522
547
|
}
|
|
523
548
|
},
|
|
549
|
+
// '& .active': {
|
|
550
|
+
// backgroundColor: theme.vars.palette.state?.active,
|
|
551
|
+
// color: theme.vars.palette.patronus?.marbleLight[10],
|
|
552
|
+
// '& .M4LIcon-icon': {
|
|
553
|
+
// backgroundColor: theme.vars.palette.patronus?.marbleLight[10],
|
|
554
|
+
// },
|
|
555
|
+
// },
|
|
524
556
|
"&.Mui-focusVisible": {
|
|
525
557
|
backgroundColor: o.vars.palette.state?.active,
|
|
526
558
|
color: o.vars.palette.patronus?.marbleLight[10],
|
|
@@ -532,6 +564,7 @@ const p = (o) => ({
|
|
|
532
564
|
}
|
|
533
565
|
}
|
|
534
566
|
},
|
|
567
|
+
/* Variant outlined */
|
|
535
568
|
"&.M4LButton-variantOutlined": {
|
|
536
569
|
"& .MuiButtonBase-root": {
|
|
537
570
|
border: "1px solid",
|
|
@@ -569,6 +602,7 @@ const p = (o) => ({
|
|
|
569
602
|
}
|
|
570
603
|
}
|
|
571
604
|
},
|
|
605
|
+
/* Variant text */
|
|
572
606
|
"&.M4LButton-variantText": {
|
|
573
607
|
"& .MuiButtonBase-root": {
|
|
574
608
|
color: o.vars.palette.text.primary,
|
|
@@ -601,24 +635,29 @@ const p = (o) => ({
|
|
|
601
635
|
}
|
|
602
636
|
}
|
|
603
637
|
},
|
|
638
|
+
// Condiciones semánticas
|
|
639
|
+
// Error
|
|
604
640
|
"&.M4LButton-colorError": {
|
|
605
641
|
backgroundColor: `${o.vars.palette.state.error.normal}`,
|
|
606
642
|
"&:hover": {
|
|
607
643
|
backgroundColor: `${o.vars.palette.state.error.hover}`
|
|
608
644
|
}
|
|
609
645
|
},
|
|
646
|
+
// Warning
|
|
610
647
|
"&.M4LButton-colorWarning": {
|
|
611
648
|
backgroundColor: `${o.vars.palette.state.warning.normal}`,
|
|
612
649
|
"&:hover": {
|
|
613
650
|
backgroundColor: `${o.vars.palette.state.warning.hover}`
|
|
614
651
|
}
|
|
615
652
|
},
|
|
653
|
+
// Success
|
|
616
654
|
"&.M4LButton-colorSuccess": {
|
|
617
655
|
backgroundColor: `${o.vars.palette.state.success.normal}`,
|
|
618
656
|
"&:hover": {
|
|
619
657
|
backgroundColor: `${o.vars.palette.state.success.hover}`
|
|
620
658
|
}
|
|
621
659
|
},
|
|
660
|
+
//TODO: Para cambiar
|
|
622
661
|
"&.M4LButton-togglePressed .MuiButtonBase-root": {
|
|
623
662
|
backgroundColor: "red!important",
|
|
624
663
|
prop1: 1
|
|
@@ -629,7 +668,7 @@ const p = (o) => ({
|
|
|
629
668
|
}), M = (o) => ({
|
|
630
669
|
M4LNavLink: {
|
|
631
670
|
styleOverrides: {
|
|
632
|
-
|
|
671
|
+
"&.M4LNavLink-root": {
|
|
633
672
|
"& .M4LTypography-root": {
|
|
634
673
|
color: o.vars.palette.state.active
|
|
635
674
|
},
|
|
@@ -649,14 +688,22 @@ const p = (o) => ({
|
|
|
649
688
|
}), L = (o) => ({
|
|
650
689
|
M4LSideBar: {
|
|
651
690
|
styleOverrides: {
|
|
691
|
+
/* Estilos y funcionamiento general */
|
|
652
692
|
"&.M4LSideBar-root": {
|
|
653
|
-
"&.M4LSideBar-collapsed": {
|
|
693
|
+
"&.M4LSideBar-collapsed": {
|
|
694
|
+
/* '& .M4LSideBar-contentDesktop:not(.M4LSideBar-overlapping)': {
|
|
695
|
+
width: '0',
|
|
696
|
+
transition: 'all 0.2s',
|
|
697
|
+
} */
|
|
698
|
+
},
|
|
699
|
+
// Funcionamiento escritorio expandir y colapsar
|
|
654
700
|
"& .M4LSideBar-wrapperSideBar": {
|
|
655
701
|
height: "100%",
|
|
656
702
|
transition: "all 0.3s",
|
|
657
703
|
width: "240px",
|
|
658
704
|
"& .M4LSideBar-areaExpandMenu": {
|
|
659
705
|
position: "absolute",
|
|
706
|
+
// fixed
|
|
660
707
|
zIndex: "99999",
|
|
661
708
|
height: "100%",
|
|
662
709
|
transition: "all 0.3s",
|
|
@@ -667,6 +714,7 @@ const p = (o) => ({
|
|
|
667
714
|
height: "100%",
|
|
668
715
|
boxShadow: o.vars.customShadows?.z2,
|
|
669
716
|
transition: "all 0.3s",
|
|
717
|
+
/* padding: '0 8px', */
|
|
670
718
|
"& .M4LSideBar-containerContentGroupsFooter": {
|
|
671
719
|
flexGrow: "1",
|
|
672
720
|
display: "flex",
|
|
@@ -741,6 +789,7 @@ const p = (o) => ({
|
|
|
741
789
|
height: "20px"
|
|
742
790
|
}
|
|
743
791
|
},
|
|
792
|
+
/* Condición para visualizar el botón de colapsar en caso de estar en estado colapsado */
|
|
744
793
|
"&:hover": {
|
|
745
794
|
"& .M4LSideBar-collapseButton": {
|
|
746
795
|
opacity: "1!important",
|
|
@@ -756,7 +805,12 @@ const p = (o) => ({
|
|
|
756
805
|
transition: "all 0.3s",
|
|
757
806
|
boxShadow: o.vars.customShadows.z1,
|
|
758
807
|
zIndex: "1"
|
|
808
|
+
/* '&:hover': {
|
|
809
|
+
backgroundColor: theme.vars.palette.background.background,
|
|
810
|
+
transition: 'all 0.3s',
|
|
811
|
+
} */
|
|
759
812
|
},
|
|
813
|
+
/* Condición para ocultar el botón de colapsar en estado expandido. */
|
|
760
814
|
"&:not(.M4LSideBar-collapsed) .M4LSideBar-collapseButton": {
|
|
761
815
|
opacity: 0,
|
|
762
816
|
transition: "all 0.3s"
|
|
@@ -867,6 +921,7 @@ const p = (o) => ({
|
|
|
867
921
|
justifyContent: "flex-start",
|
|
868
922
|
flexDirection: "column",
|
|
869
923
|
gap: "4px",
|
|
924
|
+
//paddingBottom: '4px',
|
|
870
925
|
height: "auto",
|
|
871
926
|
marginBottom: "2px",
|
|
872
927
|
"& .M4LSideBar-navItemMainRoot": {
|
|
@@ -891,6 +946,7 @@ const p = (o) => ({
|
|
|
891
946
|
o.colorSchemes.finalTheme.palette.state.active || "#fff",
|
|
892
947
|
0.24
|
|
893
948
|
),
|
|
949
|
+
// Validar implementación desde la creación del tema.
|
|
894
950
|
cursor: "pointer"
|
|
895
951
|
}
|
|
896
952
|
},
|
|
@@ -920,6 +976,7 @@ const p = (o) => ({
|
|
|
920
976
|
content: '""',
|
|
921
977
|
width: "3px",
|
|
922
978
|
height: "50%",
|
|
979
|
+
//revisar
|
|
923
980
|
top: "25%",
|
|
924
981
|
bottom: "25%",
|
|
925
982
|
left: "0px",
|
|
@@ -1013,12 +1070,14 @@ const p = (o) => ({
|
|
|
1013
1070
|
},
|
|
1014
1071
|
"&:hover": {
|
|
1015
1072
|
background: o.vars.palette.state.default,
|
|
1073
|
+
// Validar implementación desde la creación del tema.
|
|
1016
1074
|
padding: "0 8px"
|
|
1017
1075
|
}
|
|
1018
1076
|
},
|
|
1019
1077
|
"& .M4LSideBar-navSubItemContentRoot": {
|
|
1020
1078
|
gap: "8px",
|
|
1021
1079
|
margin: "0px 0px 0px 0px",
|
|
1080
|
+
//padding: '16px',
|
|
1022
1081
|
"& .M4LSideBar-navSubItemContentBullet": {
|
|
1023
1082
|
minWidth: "5px",
|
|
1024
1083
|
minHeight: "5px",
|
|
@@ -1070,6 +1129,7 @@ const p = (o) => ({
|
|
|
1070
1129
|
}
|
|
1071
1130
|
},
|
|
1072
1131
|
"&.M4LSideBar-root.M4LSideBar-variantComercial": {
|
|
1132
|
+
//boxShadow: theme.customShadows?.z2,
|
|
1073
1133
|
"& .M4LSideBar-subItemActive": {
|
|
1074
1134
|
"& .M4LIcon-icon": {
|
|
1075
1135
|
backgroundColor: `${o.vars.palette.state.focus}!important`
|
|
@@ -1188,6 +1248,7 @@ const p = (o) => ({
|
|
|
1188
1248
|
o.colorSchemes.finalTheme.palette.state.active || "#fff",
|
|
1189
1249
|
0.24
|
|
1190
1250
|
),
|
|
1251
|
+
// Validar implementación desde la creación del tema.
|
|
1191
1252
|
cursor: "pointer"
|
|
1192
1253
|
}
|
|
1193
1254
|
},
|
|
@@ -1308,6 +1369,7 @@ const p = (o) => ({
|
|
|
1308
1369
|
"&:hover": {
|
|
1309
1370
|
padding: "0 8px",
|
|
1310
1371
|
background: o.vars.palette.state.default
|
|
1372
|
+
// Validar implementación desde la creación del tema.
|
|
1311
1373
|
}
|
|
1312
1374
|
},
|
|
1313
1375
|
"& .M4LSideBar-navSubItemContentRoot": {
|
|
@@ -1393,6 +1455,7 @@ const p = (o) => ({
|
|
|
1393
1455
|
textWrap: "nowrap"
|
|
1394
1456
|
}
|
|
1395
1457
|
},
|
|
1458
|
+
// subitems en sidebar colapsado
|
|
1396
1459
|
"& .MuiPaper-root": {
|
|
1397
1460
|
"& .M4LSideBar-navListSubItemRoot": {
|
|
1398
1461
|
"& .M4LSideBar-subItemActive": {
|
|
@@ -1432,6 +1495,7 @@ const p = (o) => ({
|
|
|
1432
1495
|
"&:hover": {
|
|
1433
1496
|
padding: "0 8px",
|
|
1434
1497
|
background: o.vars.palette.state.default
|
|
1498
|
+
// Validar implementación desde la creación del tema.
|
|
1435
1499
|
}
|
|
1436
1500
|
}
|
|
1437
1501
|
}
|
|
@@ -1466,6 +1530,7 @@ const p = (o) => ({
|
|
|
1466
1530
|
textWrap: "nowrap"
|
|
1467
1531
|
}
|
|
1468
1532
|
},
|
|
1533
|
+
// subitems en sidebar colapsado
|
|
1469
1534
|
"& .MuiPaper-root": {
|
|
1470
1535
|
"& .M4LSideBar-navListSubItemRoot": {
|
|
1471
1536
|
"& .M4LSideBar-subItemActive": {
|
|
@@ -1505,12 +1570,14 @@ const p = (o) => ({
|
|
|
1505
1570
|
"&:hover": {
|
|
1506
1571
|
padding: "0 8px",
|
|
1507
1572
|
background: o.vars.palette.state.default
|
|
1573
|
+
// Validar implementación desde la creación del tema.
|
|
1508
1574
|
}
|
|
1509
1575
|
}
|
|
1510
1576
|
}
|
|
1511
1577
|
}
|
|
1512
1578
|
}
|
|
1513
1579
|
},
|
|
1580
|
+
//Mobile
|
|
1514
1581
|
M4LSideBarDrawer: {
|
|
1515
1582
|
styleOverrides: {
|
|
1516
1583
|
"&.M4LSideBar-drawer": {
|
|
@@ -1624,6 +1691,7 @@ const p = (o) => ({
|
|
|
1624
1691
|
o.colorSchemes.finalTheme.palette.state.active || "#fff",
|
|
1625
1692
|
0.24
|
|
1626
1693
|
),
|
|
1694
|
+
// Validar implementación desde la creación del tema.
|
|
1627
1695
|
cursor: "pointer"
|
|
1628
1696
|
}
|
|
1629
1697
|
},
|
|
@@ -1745,6 +1813,7 @@ const p = (o) => ({
|
|
|
1745
1813
|
"&:hover": {
|
|
1746
1814
|
padding: "0 8px",
|
|
1747
1815
|
background: o.vars.palette.state.default
|
|
1816
|
+
// Validar implementación desde la creación del tema.
|
|
1748
1817
|
}
|
|
1749
1818
|
},
|
|
1750
1819
|
"& .M4LSideBar-navSubItemContentRoot": {
|
|
@@ -1806,6 +1875,11 @@ const p = (o) => ({
|
|
|
1806
1875
|
}
|
|
1807
1876
|
},
|
|
1808
1877
|
"&.M4LSideBar-variantComercial": {
|
|
1878
|
+
/* '& .MuiBackdrop-root': {
|
|
1879
|
+
background: 'transparent',
|
|
1880
|
+
backgroundColor: `rgba(0, 0, 0, 0.5) !important`,
|
|
1881
|
+
transition: 'transform 225ms cubic-bezier(0, 0, 0.2, 1) 0ms',
|
|
1882
|
+
}, */
|
|
1809
1883
|
"& .M4LSideBar-contentMobile": {
|
|
1810
1884
|
width: "100%",
|
|
1811
1885
|
height: "100%",
|
|
@@ -1900,6 +1974,7 @@ const p = (o) => ({
|
|
|
1900
1974
|
o.colorSchemes.finalTheme.palette.state.active || "#fff",
|
|
1901
1975
|
0.24
|
|
1902
1976
|
),
|
|
1977
|
+
// Validar implementación desde la creación del tema.
|
|
1903
1978
|
cursor: "pointer"
|
|
1904
1979
|
}
|
|
1905
1980
|
},
|
|
@@ -2021,6 +2096,7 @@ const p = (o) => ({
|
|
|
2021
2096
|
"&:hover": {
|
|
2022
2097
|
padding: "0 8px",
|
|
2023
2098
|
background: o.vars.palette.state.default
|
|
2099
|
+
// Validar implementación desde la creación del tema.
|
|
2024
2100
|
}
|
|
2025
2101
|
},
|
|
2026
2102
|
"& .M4LSideBar-navSubItemContentRoot": {
|
|
@@ -2051,6 +2127,13 @@ const p = (o) => ({
|
|
|
2051
2127
|
"& .MuiCollapse-root": {
|
|
2052
2128
|
marginLeft: "18px",
|
|
2053
2129
|
"&.M4LSideBar-drawer.M4LSideBar-variantComercial": {
|
|
2130
|
+
/* '& .MuiBackdrop-root': {
|
|
2131
|
+
'& .MuiModal-backdrop': {
|
|
2132
|
+
|
|
2133
|
+
backgroundColor: 'rgba(0, 0, 0, 0.5)',
|
|
2134
|
+
|
|
2135
|
+
}
|
|
2136
|
+
}, */
|
|
2054
2137
|
"& .M4LSideBar-subItemActive": {
|
|
2055
2138
|
"& .M4LIcon-icon": {
|
|
2056
2139
|
backgroundColor: `${o.vars.palette.state.focus}!important`
|
|
@@ -2150,6 +2233,7 @@ const p = (o) => ({
|
|
|
2150
2233
|
o.colorSchemes.finalTheme.palette.state.active || "#fff",
|
|
2151
2234
|
0.24
|
|
2152
2235
|
),
|
|
2236
|
+
// Validar implementación desde la creación del tema.
|
|
2153
2237
|
cursor: "pointer"
|
|
2154
2238
|
}
|
|
2155
2239
|
},
|
|
@@ -2268,6 +2352,7 @@ const p = (o) => ({
|
|
|
2268
2352
|
},
|
|
2269
2353
|
"&:hover": {
|
|
2270
2354
|
background: o.vars.palette.state.default,
|
|
2355
|
+
// Validar implementación desde la creación del tema.
|
|
2271
2356
|
padding: "0 8px"
|
|
2272
2357
|
}
|
|
2273
2358
|
},
|
|
@@ -2357,15 +2442,18 @@ const p = (o) => ({
|
|
|
2357
2442
|
flexDirection: "row",
|
|
2358
2443
|
overflow: "hidden",
|
|
2359
2444
|
height: "auto",
|
|
2445
|
+
//borderRadius: '6px',
|
|
2360
2446
|
padding: "0px 12px",
|
|
2361
2447
|
alignItems: "center",
|
|
2362
2448
|
justifyContent: "space-between",
|
|
2363
2449
|
width: "100%",
|
|
2450
|
+
//maxWidth: '100%',
|
|
2364
2451
|
gap: "8px",
|
|
2365
2452
|
borderRight: "1px solid",
|
|
2366
2453
|
borderLeft: "1px solid",
|
|
2367
2454
|
borderColor: o.vars.palette.state.borderDisable,
|
|
2368
2455
|
[o.breakpoints.down("sm")]: {
|
|
2456
|
+
//boxShadow: theme.colorSchemes.finalTheme.customShadows.z1,
|
|
2369
2457
|
paddingRight: "0px",
|
|
2370
2458
|
width: "100%",
|
|
2371
2459
|
maxWidth: "100%",
|
|
@@ -2381,6 +2469,7 @@ const p = (o) => ({
|
|
|
2381
2469
|
display: "flex",
|
|
2382
2470
|
flexDirection: "row-reverse",
|
|
2383
2471
|
width: "100%",
|
|
2472
|
+
//maxWidth: '100%',
|
|
2384
2473
|
overflow: "auto",
|
|
2385
2474
|
justifyContent: "center",
|
|
2386
2475
|
alignItems: "center",
|
|
@@ -2399,6 +2488,7 @@ const p = (o) => ({
|
|
|
2399
2488
|
[o.breakpoints.down("sm")]: {
|
|
2400
2489
|
height: "auto",
|
|
2401
2490
|
background: o.vars.palette.background.default,
|
|
2491
|
+
//boxShadow: theme.colorSchemes.finalTheme.customShadows.z2,
|
|
2402
2492
|
width: "100%",
|
|
2403
2493
|
maxWidth: "100%",
|
|
2404
2494
|
paddingRight: "0px",
|
|
@@ -2419,11 +2509,13 @@ const p = (o) => ({
|
|
|
2419
2509
|
borderRadius: "4px",
|
|
2420
2510
|
zIndex: "10000"
|
|
2421
2511
|
},
|
|
2512
|
+
//Chips
|
|
2422
2513
|
"& .M4LAreasAdmin-areaContainerChipsIcon": {
|
|
2423
2514
|
flexGrow: "1",
|
|
2424
2515
|
display: "flex",
|
|
2425
2516
|
flexDirection: "row",
|
|
2426
2517
|
width: "100%",
|
|
2518
|
+
//maxWidth: '100%',
|
|
2427
2519
|
overflow: "auto",
|
|
2428
2520
|
height: "36px",
|
|
2429
2521
|
borderColor: o.vars.palette.state.hoverDefault,
|
|
@@ -2455,6 +2547,7 @@ const p = (o) => ({
|
|
|
2455
2547
|
paddingLeft: "0px",
|
|
2456
2548
|
paddingRight: "0px",
|
|
2457
2549
|
width: "100%",
|
|
2550
|
+
//maxWidth: '100%',
|
|
2458
2551
|
height: "auto",
|
|
2459
2552
|
alignItems: "center",
|
|
2460
2553
|
[o.breakpoints.down("sm")]: {
|
|
@@ -2466,6 +2559,7 @@ const p = (o) => ({
|
|
|
2466
2559
|
display: "flex",
|
|
2467
2560
|
flexDirection: "row",
|
|
2468
2561
|
width: "100%",
|
|
2562
|
+
//maxWidth: '100%',
|
|
2469
2563
|
height: "100%",
|
|
2470
2564
|
justifyContent: "space-between",
|
|
2471
2565
|
alignItems: "center",
|
|
@@ -2477,6 +2571,10 @@ const p = (o) => ({
|
|
|
2477
2571
|
borderColor: "transparent"
|
|
2478
2572
|
}
|
|
2479
2573
|
},
|
|
2574
|
+
/*'& .simplebar-mask .simplebar-offset ': {
|
|
2575
|
+
display: 'flex',
|
|
2576
|
+
alignItems: 'center',
|
|
2577
|
+
},*/
|
|
2480
2578
|
"& .M4LAreasAdmin-areaContentChips": {
|
|
2481
2579
|
display: "flex",
|
|
2482
2580
|
width: "fit-content",
|
|
@@ -2510,6 +2608,36 @@ const p = (o) => ({
|
|
|
2510
2608
|
}
|
|
2511
2609
|
}
|
|
2512
2610
|
},
|
|
2611
|
+
/*'& .simplebar-wrapper': {
|
|
2612
|
+
width: 'fit-content',
|
|
2613
|
+
maxWidth: '100%',
|
|
2614
|
+
[theme.breakpoints.down('sm')]: {
|
|
2615
|
+
width: '100%',
|
|
2616
|
+
},
|
|
2617
|
+
},
|
|
2618
|
+
|
|
2619
|
+
'& .simplebar-height-auto-observer-wrapper': {
|
|
2620
|
+
width: 'fit-content',
|
|
2621
|
+
maxWidth: '100%',
|
|
2622
|
+
overflow: 'auto',
|
|
2623
|
+
},
|
|
2624
|
+
|
|
2625
|
+
'& .simplebar-mask': {
|
|
2626
|
+
'& .simplebar-offset': {
|
|
2627
|
+
'& .simplebar-content-wrapper': {
|
|
2628
|
+
width: 'fit-content',
|
|
2629
|
+
maxWidth: '100%',
|
|
2630
|
+
overflow: 'auto',
|
|
2631
|
+
'& .simplebar-content': {
|
|
2632
|
+
width: 'fit-content',
|
|
2633
|
+
overflow: 'auto',
|
|
2634
|
+
},
|
|
2635
|
+
},
|
|
2636
|
+
},
|
|
2637
|
+
},*/
|
|
2638
|
+
/*'& .simplebar-content-wrapper': {
|
|
2639
|
+
width: 'fit-content',
|
|
2640
|
+
},*/
|
|
2513
2641
|
"& .M4LAreasAdmin-areaChipRoot ": {
|
|
2514
2642
|
margin: "0px",
|
|
2515
2643
|
borderRadius: "4px",
|
|
@@ -2534,6 +2662,14 @@ const p = (o) => ({
|
|
|
2534
2662
|
minHeight: "12px"
|
|
2535
2663
|
}
|
|
2536
2664
|
}
|
|
2665
|
+
/*'& .M4LAreasAdmin-areaChipEditButton': {
|
|
2666
|
+
transition: 'all ease 0.3s',
|
|
2667
|
+
opacity: '0',
|
|
2668
|
+
},
|
|
2669
|
+
'&:hover .M4LAreasAdmin-areaChipEditButton': {
|
|
2670
|
+
transition: 'all ease 0.3s',
|
|
2671
|
+
opacity: '1',
|
|
2672
|
+
},*/
|
|
2537
2673
|
},
|
|
2538
2674
|
"& .M4LAreasAdmin-areaChipMobileRoot": {
|
|
2539
2675
|
display: "flex",
|
|
@@ -2580,10 +2716,13 @@ const p = (o) => ({
|
|
|
2580
2716
|
"& .M4LIconButton-root": {
|
|
2581
2717
|
background: "transparent",
|
|
2582
2718
|
backgroundColor: "transparent",
|
|
2719
|
+
//height: '100%',
|
|
2583
2720
|
"&:hover": {
|
|
2584
2721
|
background: o.vars.palette.state.active12
|
|
2585
2722
|
},
|
|
2586
|
-
"& .M4LIcon-icon": {
|
|
2723
|
+
"& .M4LIcon-icon": {
|
|
2724
|
+
//backgroundColor:
|
|
2725
|
+
}
|
|
2587
2726
|
}
|
|
2588
2727
|
},
|
|
2589
2728
|
"& .MuiBox-root": {
|
|
@@ -2591,6 +2730,10 @@ const p = (o) => ({
|
|
|
2591
2730
|
alignItems: "center",
|
|
2592
2731
|
height: "100%"
|
|
2593
2732
|
},
|
|
2733
|
+
/*'& .simplebar-content': {
|
|
2734
|
+
display: 'flex',
|
|
2735
|
+
alignItems: 'center',
|
|
2736
|
+
},*/
|
|
2594
2737
|
"& .M4LAreasAdmin-areaChipRoot": {
|
|
2595
2738
|
display: "flex",
|
|
2596
2739
|
background: o.vars.palette.state.default,
|
|
@@ -2606,6 +2749,9 @@ const p = (o) => ({
|
|
|
2606
2749
|
borderColor: "none",
|
|
2607
2750
|
boxShadow: "none"
|
|
2608
2751
|
},
|
|
2752
|
+
/* [theme.breakpoints.down('sm')]: {
|
|
2753
|
+
height: 'auto',
|
|
2754
|
+
},*/
|
|
2609
2755
|
"&.M4LAreasAdmin-selected": {
|
|
2610
2756
|
background: o.vars.palette.state.active,
|
|
2611
2757
|
...o.colorSchemes.finalTheme.typography.body,
|
|
@@ -2705,6 +2851,12 @@ const p = (o) => ({
|
|
|
2705
2851
|
"& .M4LAreasAdmin-areasAddButton": {
|
|
2706
2852
|
flexGrow: "2",
|
|
2707
2853
|
background: o.vars.palette.state.default
|
|
2854
|
+
/*'& .M4LIcon-icon': {
|
|
2855
|
+
backgroundColor: `${theme.vars.palette.patronus?.marbleLight[10]}`,
|
|
2856
|
+
[theme.breakpoints.down('sm')]: {
|
|
2857
|
+
color: theme.vars.palette.text.primary,
|
|
2858
|
+
},
|
|
2859
|
+
},*/
|
|
2708
2860
|
},
|
|
2709
2861
|
"&.M4LAreasAdmin-isMobile": {
|
|
2710
2862
|
overflow: "hidden",
|
|
@@ -2712,6 +2864,7 @@ const p = (o) => ({
|
|
|
2712
2864
|
width: "100%",
|
|
2713
2865
|
"& .M4LAreasAdmin-areaContainerChips": {
|
|
2714
2866
|
width: "100%",
|
|
2867
|
+
//overflow: 'hidden',
|
|
2715
2868
|
background: "none",
|
|
2716
2869
|
boxShadow: "none"
|
|
2717
2870
|
}
|
|
@@ -2861,6 +3014,12 @@ const p = (o) => ({
|
|
|
2861
3014
|
flexDirection: "column",
|
|
2862
3015
|
padding: "6px 4px 6px 8px",
|
|
2863
3016
|
boxShadow: o.vars.customShadows.z1,
|
|
3017
|
+
//minHeight: '28px',
|
|
3018
|
+
//height: '28px',
|
|
3019
|
+
//[theme.breakpoints.down('md')]: {
|
|
3020
|
+
// height: '44px',
|
|
3021
|
+
// minHeight: '44px',
|
|
3022
|
+
//},
|
|
2864
3023
|
"& .M4LAreasViewer-windowHeaderContent": {
|
|
2865
3024
|
display: "flex",
|
|
2866
3025
|
width: "100%",
|
|
@@ -2902,6 +3061,7 @@ const p = (o) => ({
|
|
|
2902
3061
|
overflow: "visible"
|
|
2903
3062
|
}
|
|
2904
3063
|
},
|
|
3064
|
+
// Contenedor de window
|
|
2905
3065
|
"& .M4LAreasViewer-windowContent": {
|
|
2906
3066
|
padding: "16px",
|
|
2907
3067
|
background: o.vars.palette.background.default,
|
|
@@ -2942,6 +3102,7 @@ const p = (o) => ({
|
|
|
2942
3102
|
}
|
|
2943
3103
|
}
|
|
2944
3104
|
},
|
|
3105
|
+
// Area seleccionada
|
|
2945
3106
|
"&.M4LAreasViewer-selectedWindow": {
|
|
2946
3107
|
border: "1.5px solid",
|
|
2947
3108
|
borderColor: o.vars.palette.state.lineTheme,
|
|
@@ -3047,6 +3208,11 @@ const p = (o) => ({
|
|
|
3047
3208
|
borderTopRightRadius: "4px",
|
|
3048
3209
|
background: o.vars.palette.background.header,
|
|
3049
3210
|
border: "none",
|
|
3211
|
+
//height: '28px',
|
|
3212
|
+
//minHeight: '28px',
|
|
3213
|
+
//[theme.breakpoints.down('md')]: {
|
|
3214
|
+
// minHeight: '36px',
|
|
3215
|
+
//},
|
|
3050
3216
|
"& .M4LIcon-root": {
|
|
3051
3217
|
"& .M4LIcon-icon": {
|
|
3052
3218
|
width: "18px",
|
|
@@ -3167,6 +3333,7 @@ const p = (o) => ({
|
|
|
3167
3333
|
},
|
|
3168
3334
|
M4LAreasViewerModal: {
|
|
3169
3335
|
styleOverrides: {
|
|
3336
|
+
// WindowsModal
|
|
3170
3337
|
"&.M4LAreasViewer-windowModalRoot .M4LAreasViewer-windowRoot": {
|
|
3171
3338
|
borderRadius: "4px",
|
|
3172
3339
|
boxShadow: o.vars.customShadows.z4,
|
|
@@ -3192,6 +3359,7 @@ const p = (o) => ({
|
|
|
3192
3359
|
fontSize: "16px"
|
|
3193
3360
|
}
|
|
3194
3361
|
},
|
|
3362
|
+
// LoaddingError
|
|
3195
3363
|
"& .M4LAreasViewer-areasLoadingErrorRoot": {
|
|
3196
3364
|
display: "flex",
|
|
3197
3365
|
flexDirection: "column",
|
|
@@ -3211,16 +3379,19 @@ const p = (o) => ({
|
|
|
3211
3379
|
gap: "12px",
|
|
3212
3380
|
position: "absolute",
|
|
3213
3381
|
inset: "0",
|
|
3382
|
+
// Contenedor de ilustracion
|
|
3214
3383
|
"& .M4LIcon-root": {
|
|
3215
3384
|
display: "flex",
|
|
3216
3385
|
padding: "12px",
|
|
3217
3386
|
marginBottom: "4px",
|
|
3387
|
+
// Ilustración
|
|
3218
3388
|
" .M4LIcon-icon": {
|
|
3219
3389
|
width: "100px",
|
|
3220
3390
|
height: "100px",
|
|
3221
3391
|
backgroundColor: o.vars.palette.state.skeleton.default
|
|
3222
3392
|
}
|
|
3223
3393
|
},
|
|
3394
|
+
// Título
|
|
3224
3395
|
"& .M4LAreasViewer-areasLoadingErrorTitle": {
|
|
3225
3396
|
...o.colorSchemes.finalTheme.typography.h3,
|
|
3226
3397
|
color: o.vars.palette.text.primary,
|
|
@@ -3228,15 +3399,18 @@ const p = (o) => ({
|
|
|
3228
3399
|
...o.colorSchemes.finalTheme.typography.h5
|
|
3229
3400
|
}
|
|
3230
3401
|
},
|
|
3402
|
+
// Subtítulo (explicaciòn de resultado)
|
|
3231
3403
|
"& .M4LAreasViewer-areasLoadingErrorDescription": {
|
|
3232
3404
|
...o.colorSchemes.finalTheme.typography.subtitle,
|
|
3233
3405
|
color: o.vars.palette.text.secondary
|
|
3234
3406
|
},
|
|
3407
|
+
// Linea divisora
|
|
3235
3408
|
"& .M4LAreasViewer-areasLoadingErrorDivider": {
|
|
3236
3409
|
width: "208px",
|
|
3237
3410
|
height: "1px",
|
|
3238
3411
|
background: o.vars.palette.state.skeleton.default
|
|
3239
3412
|
},
|
|
3413
|
+
// pasos de acción
|
|
3240
3414
|
"& .MuiTypography-paragraph": {
|
|
3241
3415
|
...o.colorSchemes.finalTheme.typography.body,
|
|
3242
3416
|
color: o.vars.palette.text.primary
|
|
@@ -3387,12 +3561,18 @@ const p = (o) => ({
|
|
|
3387
3561
|
justifyContent: "space-between",
|
|
3388
3562
|
"& .M4LAppBar-iconMenuToggle": {
|
|
3389
3563
|
background: o.vars.palette.state.default,
|
|
3564
|
+
//boxShadow: theme.colorSchemes.finalTheme.customShadows.z1,
|
|
3565
|
+
//borderTop: "1px solid",
|
|
3566
|
+
//borderColor: theme.vars.palette.state.default,
|
|
3390
3567
|
width: "36px",
|
|
3391
3568
|
height: "36px",
|
|
3392
3569
|
minWidth: "36px",
|
|
3393
3570
|
minHeight: "36px",
|
|
3394
3571
|
[o.breakpoints.down("sm")]: {
|
|
3395
3572
|
background: o.vars.palette.state.default,
|
|
3573
|
+
//boxShadow: theme.colorSchemes.finalTheme.customShadows.z1,
|
|
3574
|
+
//borderTop: "1px solid",
|
|
3575
|
+
//borderColor: theme.vars.palette.state.default,
|
|
3396
3576
|
width: "36px",
|
|
3397
3577
|
height: "36px",
|
|
3398
3578
|
minWidth: "36px",
|
|
@@ -3462,11 +3642,13 @@ const p = (o) => ({
|
|
|
3462
3642
|
width: "28px !important",
|
|
3463
3643
|
height: "28px !important",
|
|
3464
3644
|
borderRadius: "4px",
|
|
3645
|
+
//padding: '4px',
|
|
3465
3646
|
background: r.blazeOrange[50],
|
|
3466
3647
|
color: r.marbleLight[30],
|
|
3467
3648
|
boxShadow: o.vars.customShadows.z1,
|
|
3468
3649
|
...o.typography.subtitle
|
|
3469
3650
|
},
|
|
3651
|
+
//desktop
|
|
3470
3652
|
[o.breakpoints.up("md")]: {
|
|
3471
3653
|
width: "28px !important",
|
|
3472
3654
|
height: "28px !important",
|
|
@@ -3805,6 +3987,7 @@ const p = (o) => ({
|
|
|
3805
3987
|
gap: "8px"
|
|
3806
3988
|
}
|
|
3807
3989
|
},
|
|
3990
|
+
/* test properties */
|
|
3808
3991
|
"& .M4LSplitLayout-secondPart": {
|
|
3809
3992
|
background: o.vars.palette.background.default,
|
|
3810
3993
|
borderRadius: "4px"
|
|
@@ -3838,9 +4021,11 @@ const p = (o) => ({
|
|
|
3838
4021
|
width: "100%",
|
|
3839
4022
|
height: "100%",
|
|
3840
4023
|
"& .M4LStack-root": {
|
|
4024
|
+
//gap: '8px',
|
|
3841
4025
|
overflow: "hidden"
|
|
3842
4026
|
}
|
|
3843
4027
|
},
|
|
4028
|
+
// Configuracion por defecto en horizontal
|
|
3844
4029
|
"& .splitter-layout": {
|
|
3845
4030
|
position: "absolute",
|
|
3846
4031
|
display: "flex",
|
|
@@ -3849,23 +4034,28 @@ const p = (o) => ({
|
|
|
3849
4034
|
height: "100%",
|
|
3850
4035
|
overflow: "hidden"
|
|
3851
4036
|
},
|
|
4037
|
+
// Configuracion de ambos paneles a dividir
|
|
3852
4038
|
"& .splitter-layout .layout-pane": {
|
|
3853
4039
|
position: "relative",
|
|
3854
4040
|
flex: "0 0 auto",
|
|
3855
4041
|
overflow: "hidden"
|
|
3856
4042
|
},
|
|
4043
|
+
// Configuración del panel principal
|
|
3857
4044
|
"& .splitter-layout .layout-pane.layout-pane-primary": {
|
|
3858
4045
|
flex: "1 1 auto"
|
|
3859
4046
|
},
|
|
4047
|
+
// Configuración del cursor en horizontal
|
|
3860
4048
|
"& .splitter-layout.layout-changing": {
|
|
3861
4049
|
cursor: "col-resize"
|
|
3862
4050
|
},
|
|
4051
|
+
// Configuración barran grande cuando es horizontal
|
|
3863
4052
|
"& .splitter-layout > .layout-splitter": {
|
|
3864
4053
|
display: "flex",
|
|
3865
4054
|
alignItems: "center",
|
|
3866
4055
|
backgroundColor: "none",
|
|
3867
4056
|
boxSizing: "border-box",
|
|
3868
4057
|
backgroundClip: "padding-box",
|
|
4058
|
+
// Propiedades del horizontal
|
|
3869
4059
|
width: "8px",
|
|
3870
4060
|
margin: "0 0.5px",
|
|
3871
4061
|
borderLeft: "4px solid hsla(0, 0%, 5%, 0)",
|
|
@@ -3874,6 +4064,7 @@ const p = (o) => ({
|
|
|
3874
4064
|
justifyContent: "center",
|
|
3875
4065
|
height: "100%"
|
|
3876
4066
|
},
|
|
4067
|
+
// Configuración divisorra interna posición horizontal del split
|
|
3877
4068
|
"& .splitter-layout .layout-splitter:before": {
|
|
3878
4069
|
content: '""',
|
|
3879
4070
|
height: "56px",
|
|
@@ -3884,14 +4075,17 @@ const p = (o) => ({
|
|
|
3884
4075
|
borderRadius: "1px",
|
|
3885
4076
|
margin: "1px 0px"
|
|
3886
4077
|
},
|
|
4078
|
+
// Hover de la barra externa en posición horizontal
|
|
3887
4079
|
"& .splitter-layout > .layout-splitter:hover": {
|
|
3888
4080
|
borderRadius: "2px",
|
|
3889
4081
|
borderLeft: "2px",
|
|
3890
4082
|
borderRight: "2px"
|
|
3891
4083
|
},
|
|
4084
|
+
// Configuración del cursor en horizontal
|
|
3892
4085
|
"& .splitter-layout.splitter-layout-vertical.layout-changing": {
|
|
3893
4086
|
cursor: "row-resize"
|
|
3894
4087
|
},
|
|
4088
|
+
// Barra divisora vertical del split
|
|
3895
4089
|
"& .splitter-layout.splitter-layout-vertical > .layout-splitter": {
|
|
3896
4090
|
height: "8px !important",
|
|
3897
4091
|
width: "100% !important",
|
|
@@ -3900,6 +4094,7 @@ const p = (o) => ({
|
|
|
3900
4094
|
borderBottom: "4px solid hsla(0, 0%, 2%, 0)",
|
|
3901
4095
|
cursor: "row-resize"
|
|
3902
4096
|
},
|
|
4097
|
+
// Configuración barra divisora interna vertical del split
|
|
3903
4098
|
"& .splitter-layout.splitter-layout-vertical .layout-splitter:before": {
|
|
3904
4099
|
width: "56px !important",
|
|
3905
4100
|
height: "4px !important",
|
|
@@ -3909,9 +4104,12 @@ const p = (o) => ({
|
|
|
3909
4104
|
borderRadius: "2px",
|
|
3910
4105
|
zIndex: "1"
|
|
3911
4106
|
},
|
|
4107
|
+
// Color del hover y el arrastrando del splitter
|
|
3912
4108
|
"& .splitter-layout > .layout-splitter:hover:before, .splitter-layout.layout-changing > .layout-splitter:before": {
|
|
4109
|
+
// barra interna vertical
|
|
3913
4110
|
background: o.vars.palette.state.hover
|
|
3914
4111
|
},
|
|
4112
|
+
// Dirección flex cuando es vertical
|
|
3915
4113
|
"& .splitter-layout.splitter-layout-vertical": {
|
|
3916
4114
|
flexDirection: "column",
|
|
3917
4115
|
position: "relative",
|
|
@@ -3920,6 +4118,7 @@ const p = (o) => ({
|
|
|
3920
4118
|
height: "2px",
|
|
3921
4119
|
left: "0",
|
|
3922
4120
|
right: "0",
|
|
4121
|
+
/* top: 'calc(50% - 6px)', */
|
|
3923
4122
|
position: "absolute",
|
|
3924
4123
|
background: o.vars.palette.state.borderPrimary
|
|
3925
4124
|
}
|
|
@@ -3934,6 +4133,7 @@ const p = (o) => ({
|
|
|
3934
4133
|
background: o.vars.palette.state.borderPrimary
|
|
3935
4134
|
}
|
|
3936
4135
|
}
|
|
4136
|
+
// Borde gris cuando esta en over y es vertical
|
|
3937
4137
|
}
|
|
3938
4138
|
}
|
|
3939
4139
|
}
|
|
@@ -4013,13 +4213,16 @@ const p = (o) => ({
|
|
|
4013
4213
|
alignItems: "flex-start",
|
|
4014
4214
|
width: "100%",
|
|
4015
4215
|
minHeight: "23px",
|
|
4216
|
+
//height: '24px',
|
|
4016
4217
|
flexDirection: "column",
|
|
4017
4218
|
borderBottom: "1px solid",
|
|
4018
4219
|
borderColor: o.vars.palette.state.borderDisable,
|
|
4220
|
+
// Condición de visualización de vista móvil.
|
|
4019
4221
|
"&.M4LPropertyValue-isMobile": {
|
|
4020
4222
|
gridTemplateColumns: "1fr!important",
|
|
4021
4223
|
minHeight: "24px"
|
|
4022
4224
|
},
|
|
4225
|
+
// Condicion con variación de formulario.
|
|
4023
4226
|
"&.M4LPropertyValue-variantIsForm": {
|
|
4024
4227
|
minHeight: "24px",
|
|
4025
4228
|
borderBottom: "none",
|
|
@@ -4028,10 +4231,12 @@ const p = (o) => ({
|
|
|
4028
4231
|
gap: "4px",
|
|
4029
4232
|
alignItems: "flex-start"
|
|
4030
4233
|
},
|
|
4234
|
+
// Elemento property
|
|
4031
4235
|
"& .M4LPropertyValue-property": {
|
|
4032
4236
|
maxWidth: "100%",
|
|
4033
4237
|
width: "100% !important",
|
|
4034
4238
|
minHeight: "24px",
|
|
4239
|
+
//height: '24px !important',
|
|
4035
4240
|
...o.colorSchemes.finalTheme.typography.body,
|
|
4036
4241
|
color: o.vars.palette.text.secondary,
|
|
4037
4242
|
fontWeight: "400 !important",
|
|
@@ -4052,6 +4257,7 @@ const p = (o) => ({
|
|
|
4052
4257
|
maxWidth: "100%",
|
|
4053
4258
|
width: "100%",
|
|
4054
4259
|
minHeight: "24px",
|
|
4260
|
+
//height: '24px !important',
|
|
4055
4261
|
...o.colorSchemes.finalTheme.typography.body,
|
|
4056
4262
|
color: o.vars.palette.text.primary,
|
|
4057
4263
|
overflow: "hidden",
|
|
@@ -4068,14 +4274,24 @@ const p = (o) => ({
|
|
|
4068
4274
|
"& .M4LRHFTextField-root.M4LRHFTextField-sizeSmall": {
|
|
4069
4275
|
"& .MuiFormControl-root": {
|
|
4070
4276
|
"& .MuiInputBase-root": {
|
|
4071
|
-
|
|
4277
|
+
//borderRadius: '0',
|
|
4278
|
+
//background: 'transparent',
|
|
4279
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
4280
|
+
//border: '0',
|
|
4281
|
+
//borderRadius: '0',
|
|
4282
|
+
}
|
|
4072
4283
|
}
|
|
4073
4284
|
}
|
|
4074
4285
|
},
|
|
4075
4286
|
"& .M4LRHFTextField-root.M4LRHFTextField-sizeMedium": {
|
|
4076
4287
|
"& .MuiFormControl-root": {
|
|
4077
4288
|
"& .MuiInputBase-root": {
|
|
4078
|
-
|
|
4289
|
+
//borderRadius: '0',
|
|
4290
|
+
//background: 'transparent',
|
|
4291
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
4292
|
+
//border: '0',
|
|
4293
|
+
//borderRadius: '0',
|
|
4294
|
+
}
|
|
4079
4295
|
}
|
|
4080
4296
|
}
|
|
4081
4297
|
}
|
|
@@ -4090,6 +4306,7 @@ const p = (o) => ({
|
|
|
4090
4306
|
paddingLeft: "8px"
|
|
4091
4307
|
}
|
|
4092
4308
|
},
|
|
4309
|
+
// Elemento property
|
|
4093
4310
|
"& .M4LPropertyValue-property": {
|
|
4094
4311
|
minHeight: "36px",
|
|
4095
4312
|
height: "auto",
|
|
@@ -4140,12 +4357,14 @@ const p = (o) => ({
|
|
|
4140
4357
|
"& .MuiTab-root": {
|
|
4141
4358
|
borderBottom: `1px solid ${o.vars.palette.state.borderSecondary}`
|
|
4142
4359
|
},
|
|
4360
|
+
// estado hover
|
|
4143
4361
|
"& .MuiButtonBase-root:hover": {
|
|
4144
4362
|
color: o.vars.palette.state.hover,
|
|
4145
4363
|
"& .M4LIcon-icon": {
|
|
4146
4364
|
backgroundColor: o.vars.palette.state.hover
|
|
4147
4365
|
}
|
|
4148
4366
|
},
|
|
4367
|
+
// estado selected
|
|
4149
4368
|
"& .Mui-selected": {
|
|
4150
4369
|
background: o.vars.palette.background.default,
|
|
4151
4370
|
borderTop: `1px solid ${o.vars.palette.state.borderSecondary}`,
|
|
@@ -4517,6 +4736,7 @@ const p = (o) => ({
|
|
|
4517
4736
|
width: "100%",
|
|
4518
4737
|
height: "100%"
|
|
4519
4738
|
},
|
|
4739
|
+
// Contenedor Window Confirm
|
|
4520
4740
|
"& .M4LModal-containerWindow": {
|
|
4521
4741
|
display: "flex",
|
|
4522
4742
|
flexDirection: "column",
|
|
@@ -4528,6 +4748,7 @@ const p = (o) => ({
|
|
|
4528
4748
|
background: o.vars.palette.background.default,
|
|
4529
4749
|
boxShadow: o.customShadows?.z2,
|
|
4530
4750
|
borderRadius: "4px",
|
|
4751
|
+
// Contenedor botones de acción
|
|
4531
4752
|
"& .M4LCommonActions-root": {
|
|
4532
4753
|
padding: "16px 0 0 0",
|
|
4533
4754
|
margin: "0px",
|
|
@@ -4547,12 +4768,14 @@ const p = (o) => ({
|
|
|
4547
4768
|
width: "100%",
|
|
4548
4769
|
overflow: "auto",
|
|
4549
4770
|
gap: "12px",
|
|
4771
|
+
// Contenedor
|
|
4550
4772
|
"& .M4LModal-modalContent": {
|
|
4551
4773
|
display: "flex",
|
|
4552
4774
|
flexDirection: "column",
|
|
4553
4775
|
justifyContent: "center",
|
|
4554
4776
|
alignItems: "center",
|
|
4555
4777
|
gap: "12px",
|
|
4778
|
+
// Ilustración
|
|
4556
4779
|
"& .M4LModal-illustrationContainer": {
|
|
4557
4780
|
display: "flex",
|
|
4558
4781
|
flexDirection: "column",
|
|
@@ -4562,10 +4785,12 @@ const p = (o) => ({
|
|
|
4562
4785
|
height: "100px",
|
|
4563
4786
|
width: "100px"
|
|
4564
4787
|
},
|
|
4788
|
+
// Título de alerta
|
|
4565
4789
|
"& .MuiTypography-subtitle": {
|
|
4566
4790
|
...o.colorSchemes.finalTheme.typography.subtitleDens,
|
|
4567
4791
|
color: o.vars.palette.text.primary
|
|
4568
4792
|
},
|
|
4793
|
+
// Mensaje de alerta
|
|
4569
4794
|
"& .M4LModal-messageContainer": {
|
|
4570
4795
|
...o.colorSchemes.finalTheme.typography.body,
|
|
4571
4796
|
color: o.vars.palette.text.secondary,
|
|
@@ -4593,7 +4818,9 @@ const p = (o) => ({
|
|
|
4593
4818
|
textOverflow: "ellipsis",
|
|
4594
4819
|
overflow: "hidden"
|
|
4595
4820
|
},
|
|
4596
|
-
"& .M4LModal-iconCloseHeader": {
|
|
4821
|
+
"& .M4LModal-iconCloseHeader": {
|
|
4822
|
+
/* Optional overrides */
|
|
4823
|
+
}
|
|
4597
4824
|
},
|
|
4598
4825
|
"& .M4LModal-windowContent": {
|
|
4599
4826
|
padding: "24px",
|
|
@@ -4604,10 +4831,24 @@ const p = (o) => ({
|
|
|
4604
4831
|
flex: "1",
|
|
4605
4832
|
overflow: "hidden",
|
|
4606
4833
|
"& .M4LStack-root": {
|
|
4834
|
+
//gap: '8px',
|
|
4607
4835
|
overflow: "hidden"
|
|
4608
4836
|
}
|
|
4609
4837
|
}
|
|
4610
4838
|
}
|
|
4839
|
+
/*'& .react-resizable': {
|
|
4840
|
+
display: 'flex',
|
|
4841
|
+
flexDirection: 'column',
|
|
4842
|
+
justifyContent: 'center',
|
|
4843
|
+
alignItems: 'center',
|
|
4844
|
+
|
|
4845
|
+
'& .M4LIcon-root': {
|
|
4846
|
+
'& .M4LIcon-icon': {
|
|
4847
|
+
background: theme.vars.palette.text.secondary,
|
|
4848
|
+
boxShadow: theme.colorSchemes.finalTheme.customShadows.z1,
|
|
4849
|
+
},
|
|
4850
|
+
},
|
|
4851
|
+
}, */
|
|
4611
4852
|
}
|
|
4612
4853
|
},
|
|
4613
4854
|
"& .MuiPaper-root.MuiDialog-paperFullScreen": {
|
|
@@ -4642,9 +4883,11 @@ const p = (o) => ({
|
|
|
4642
4883
|
borderColor: o.vars.palette.state.borderSecondary,
|
|
4643
4884
|
width: "100%",
|
|
4644
4885
|
height: "auto",
|
|
4886
|
+
// variante isForm
|
|
4645
4887
|
"&.M4LPaperForm-isForm .M4LPaperForm-content": {
|
|
4646
4888
|
gap: "12px"
|
|
4647
4889
|
},
|
|
4890
|
+
// Header
|
|
4648
4891
|
"& .M4LPaperForm-headerContainer": {
|
|
4649
4892
|
width: "100%",
|
|
4650
4893
|
height: "28px",
|
|
@@ -4658,16 +4901,19 @@ const p = (o) => ({
|
|
|
4658
4901
|
height: "36px",
|
|
4659
4902
|
minHeight: "36px"
|
|
4660
4903
|
},
|
|
4904
|
+
//Title paperForm
|
|
4661
4905
|
"& .M4LPaperForm-iconTitleContainer": {
|
|
4662
4906
|
...o.colorSchemes.finalTheme.typography.bodyDens,
|
|
4663
4907
|
color: o.vars.palette.text.primary,
|
|
4664
4908
|
display: "flex",
|
|
4665
4909
|
gap: "8px",
|
|
4910
|
+
//Icon paperForm
|
|
4666
4911
|
"& .M4LPaperForm-iconHeaderContainer": {
|
|
4667
4912
|
margin: "0px"
|
|
4668
4913
|
}
|
|
4669
4914
|
}
|
|
4670
4915
|
},
|
|
4916
|
+
//Container paperForm
|
|
4671
4917
|
"& .M4LPaperForm-content": {
|
|
4672
4918
|
display: "flex",
|
|
4673
4919
|
flexDirection: "column",
|
|
@@ -4752,7 +4998,9 @@ const p = (o) => ({
|
|
|
4752
4998
|
color: o.vars.palette.text.secondary
|
|
4753
4999
|
}
|
|
4754
5000
|
},
|
|
4755
|
-
|
|
5001
|
+
// Condicion Breakpoint css Query Container
|
|
5002
|
+
// Condiciones BreakPoint < sm
|
|
5003
|
+
"&.M4LDataGrid-xs": {
|
|
4756
5004
|
"& .M4LDataGrid-actions": {
|
|
4757
5005
|
height: "44px",
|
|
4758
5006
|
"& .M4LPager-labelRowsPerPageContainer": {
|
|
@@ -4781,9 +5029,12 @@ const p = (o) => ({
|
|
|
4781
5029
|
background: o.vars.palette.background.default,
|
|
4782
5030
|
position: "absolute",
|
|
4783
5031
|
gap: "8px",
|
|
4784
|
-
|
|
5032
|
+
"@container main (max-width: 600px)": {
|
|
4785
5033
|
height: "44px"
|
|
4786
5034
|
},
|
|
5035
|
+
/* [theme.breakpoints.down('sm')]: {
|
|
5036
|
+
height: '44px',
|
|
5037
|
+
}, */
|
|
4787
5038
|
"& .M4LDataGrid-actionsConfigContainer": {
|
|
4788
5039
|
display: "flex",
|
|
4789
5040
|
flexDirection: "row",
|
|
@@ -4793,6 +5044,15 @@ const p = (o) => ({
|
|
|
4793
5044
|
background: o.vars.palette.background.default
|
|
4794
5045
|
}
|
|
4795
5046
|
},
|
|
5047
|
+
/*'& .M4LPager-root': {
|
|
5048
|
+
'& .M4LPager-labelRowsPerPageContainer': {
|
|
5049
|
+
'& .MuiTypography-root': {
|
|
5050
|
+
'&.MuiTypography-body': {
|
|
5051
|
+
textOverflow: 'ellipsis',
|
|
5052
|
+
},
|
|
5053
|
+
},
|
|
5054
|
+
},
|
|
5055
|
+
},*/
|
|
4796
5056
|
"& .M4LDataGrid-rowsCount": {
|
|
4797
5057
|
display: "flex",
|
|
4798
5058
|
gap: "8px",
|
|
@@ -4801,6 +5061,7 @@ const p = (o) => ({
|
|
|
4801
5061
|
...o.colorSchemes.finalTheme.typography.body,
|
|
4802
5062
|
color: o.vars.palette.text.primary,
|
|
4803
5063
|
height: "100%"
|
|
5064
|
+
//revisar
|
|
4804
5065
|
},
|
|
4805
5066
|
"& .M4LDataGrid-rowsCountValue": {
|
|
4806
5067
|
paddingTop: "4px",
|
|
@@ -4811,8 +5072,13 @@ const p = (o) => ({
|
|
|
4811
5072
|
borderRadius: "4px"
|
|
4812
5073
|
}
|
|
4813
5074
|
},
|
|
4814
|
-
|
|
4815
|
-
"& .M4LDataGrid-
|
|
5075
|
+
/* Action density se carga en el portal M4LDataGridDensityPopover, no se debe estilar desde aquí. */
|
|
5076
|
+
"& .M4LDataGrid-actionFilter": {
|
|
5077
|
+
/* Estilos de iconButton Filter */
|
|
5078
|
+
},
|
|
5079
|
+
"& .M4LDataGrid-actionSettings": {
|
|
5080
|
+
/* Estilos de iconButton Settings */
|
|
5081
|
+
}
|
|
4816
5082
|
},
|
|
4817
5083
|
"& .M4LDataGrid-tableContaniner:not(.M4LDataGrid-withActions)": {
|
|
4818
5084
|
top: "0!important"
|
|
@@ -4831,7 +5097,7 @@ const p = (o) => ({
|
|
|
4831
5097
|
border: "none",
|
|
4832
5098
|
boxshadow: o.customShadows?.z2,
|
|
4833
5099
|
background: o.vars.palette.background.default,
|
|
4834
|
-
|
|
5100
|
+
"@container main (max-width: 600px)": {
|
|
4835
5101
|
top: "44px"
|
|
4836
5102
|
},
|
|
4837
5103
|
"& .M4LDataGrid-wrapperDataGridCss": {
|
|
@@ -4862,6 +5128,9 @@ const p = (o) => ({
|
|
|
4862
5128
|
o.colorSchemes.finalTheme.palette.action.selectedOpacity
|
|
4863
5129
|
),
|
|
4864
5130
|
"--rdg-border-color": "none",
|
|
5131
|
+
// "--rdg-checkbox-disabled-border-color:":theme.vars.palette.divider,
|
|
5132
|
+
// "--rdg-checkbox-disabled-background-color":theme.vars.palette.,
|
|
5133
|
+
/* border-bottom-right-radius: 3px; */
|
|
4865
5134
|
"&:last-child .rdg-cell": {
|
|
4866
5135
|
borderTop: "0.5px solid",
|
|
4867
5136
|
borderBottom: "1px solid",
|
|
@@ -4893,6 +5162,7 @@ const p = (o) => ({
|
|
|
4893
5162
|
backgroundColor: `${o.vars.palette.state.gridHover}!important`,
|
|
4894
5163
|
transition: "background-color 0.1s linear"
|
|
4895
5164
|
}
|
|
5165
|
+
/* backgroundColor: theme.vars.palette.state.active12, */
|
|
4896
5166
|
},
|
|
4897
5167
|
backgroundColor: "transparent"
|
|
4898
5168
|
},
|
|
@@ -4931,6 +5201,7 @@ const p = (o) => ({
|
|
|
4931
5201
|
borderRight: `0px solid ${o.vars.palette.divider}`,
|
|
4932
5202
|
position: "absolute",
|
|
4933
5203
|
right: "0px",
|
|
5204
|
+
// Por desajuste en chrome en el espaciado
|
|
4934
5205
|
height: "100%"
|
|
4935
5206
|
},
|
|
4936
5207
|
"& .m4l_icon": {
|
|
@@ -4944,11 +5215,13 @@ const p = (o) => ({
|
|
|
4944
5215
|
'& .rdg-cell[role="columnheader"] .rdg-header-sort-name': {
|
|
4945
5216
|
...o.colorSchemes.finalTheme.typography.bodyDens,
|
|
4946
5217
|
lineHeight: "var(--rdg-row-height)!important",
|
|
5218
|
+
//ajuste de contenido filtro del DataGrid
|
|
4947
5219
|
height: "28px",
|
|
4948
5220
|
display: "flex",
|
|
4949
5221
|
justifyContent: "center",
|
|
4950
5222
|
alignItems: "center"
|
|
4951
5223
|
},
|
|
5224
|
+
// Esta condicion para el flujo de cabecera cuando no tiene utilidad sort
|
|
4952
5225
|
'& .rdg-cell[role="columnheader"] [draggable="true"]': {
|
|
4953
5226
|
...o.colorSchemes.finalTheme.typography.bodyDens,
|
|
4954
5227
|
lineHeight: "var(--rdg-row-height)!important"
|
|
@@ -4956,10 +5229,12 @@ const p = (o) => ({
|
|
|
4956
5229
|
"& [aria-selected=true]": {
|
|
4957
5230
|
backgroundColor: o.vars.palette.state?.toneOp,
|
|
4958
5231
|
color: o.vars.palette.text.primary,
|
|
5232
|
+
//cambia el color del contorno de cada celda selecionada
|
|
4959
5233
|
outline: "1px solid",
|
|
4960
5234
|
outlineOffset: "-1px",
|
|
4961
5235
|
outlineColor: o.vars.palette.state.lineTheme
|
|
4962
5236
|
},
|
|
5237
|
+
// Alineaciones
|
|
4963
5238
|
"& .rdg-cell.rdg-cell-align-left": {
|
|
4964
5239
|
textAlign: "start",
|
|
4965
5240
|
display: "inline",
|
|
@@ -4973,9 +5248,11 @@ const p = (o) => ({
|
|
|
4973
5248
|
"& .rdg-cell.rdg-cell-align-right": {
|
|
4974
5249
|
textAlign: "right"
|
|
4975
5250
|
},
|
|
5251
|
+
// Estilado de la ultima celda congelada
|
|
4976
5252
|
"& .rdg-row .rdg-cell-frozen-last:after": {
|
|
4977
5253
|
borderRight: "0px solid transparent"
|
|
4978
5254
|
},
|
|
5255
|
+
// Estilado de la ultima celda (Quitar la linea divisora derecha)
|
|
4979
5256
|
"& .rdg-row :last-child:after": {
|
|
4980
5257
|
borderRight: "0px solid",
|
|
4981
5258
|
borderColor: o.vars.palette.background.neutral
|
|
@@ -4983,6 +5260,7 @@ const p = (o) => ({
|
|
|
4983
5260
|
"& .rdg-header-row": {
|
|
4984
5261
|
backgroundColor: o.vars.palette.background.header
|
|
4985
5262
|
},
|
|
5263
|
+
// Estilado de celdas de la cabecera
|
|
4986
5264
|
"& .rdg-header-row .rdg-cell": {
|
|
4987
5265
|
fontFamily: o.typography.body,
|
|
4988
5266
|
fontWeight: o.typography.body,
|
|
@@ -4996,10 +5274,14 @@ const p = (o) => ({
|
|
|
4996
5274
|
'& [draggable="true"]': {
|
|
4997
5275
|
fontSize: o.typography.body
|
|
4998
5276
|
},
|
|
5277
|
+
// Ultima celda de la cebecera frozen
|
|
4999
5278
|
"&.rdg-cell-frozen-last": {
|
|
5000
5279
|
borderColor: o.vars.palette.background.default,
|
|
5001
5280
|
boxShadow: "var(--rdg-frozen-cell-box-shadow)",
|
|
5002
|
-
"&:after": {
|
|
5281
|
+
"&:after": {
|
|
5282
|
+
//borderRight: `1.5px solid`,
|
|
5283
|
+
//borderColor: theme.vars.palette.background.neutral,
|
|
5284
|
+
}
|
|
5003
5285
|
},
|
|
5004
5286
|
"& .rdg-header-sort-cell": {
|
|
5005
5287
|
"& .rdg-header-sort-name + span": {
|
|
@@ -5011,27 +5293,40 @@ const p = (o) => ({
|
|
|
5011
5293
|
}
|
|
5012
5294
|
}
|
|
5013
5295
|
},
|
|
5296
|
+
// Modificar el tamaño de la flecha
|
|
5014
5297
|
"& .rdg-sort-arrow": {}
|
|
5015
5298
|
},
|
|
5299
|
+
// Estilado de la ultima celda Header
|
|
5016
5300
|
"& .rdg-header-row :last-child.rdg-cell": {
|
|
5017
5301
|
borderTopRightRadius: "0",
|
|
5018
5302
|
"&:after": {
|
|
5019
5303
|
borderRight: "0px solid transparent"
|
|
5020
5304
|
}
|
|
5021
5305
|
},
|
|
5306
|
+
// filter
|
|
5022
5307
|
"& .filter_cell_div": {
|
|
5023
5308
|
paddingLeft: "8px",
|
|
5024
5309
|
paddingRight: "8px"
|
|
5025
5310
|
},
|
|
5311
|
+
//
|
|
5026
5312
|
"& .rdg-header-sort-cell": {
|
|
5027
5313
|
width: "100%",
|
|
5028
5314
|
flexGrow: "1",
|
|
5029
5315
|
alignItems: "center",
|
|
5030
5316
|
color: o.vars.palette.text.primary
|
|
5031
5317
|
}
|
|
5318
|
+
/* '& [aria-columnsort="ASC"]': {
|
|
5319
|
+
borderTop: `2px solid ${theme.vars.palette.primary.main}`,
|
|
5320
|
+
}, */
|
|
5321
|
+
/* '& [aria-columnsort="DESC"]': {
|
|
5322
|
+
borderBottom: `2px solid ${theme.vars.palette.primary.main}`,
|
|
5323
|
+
}, */
|
|
5032
5324
|
}
|
|
5033
5325
|
},
|
|
5034
|
-
|
|
5326
|
+
/* Flujo sin paginador */
|
|
5327
|
+
"&.M4LDataGrid-withNoPager": {
|
|
5328
|
+
/* Por definir */
|
|
5329
|
+
}
|
|
5035
5330
|
}
|
|
5036
5331
|
}
|
|
5037
5332
|
},
|
|
@@ -5090,6 +5385,7 @@ const p = (o) => ({
|
|
|
5090
5385
|
whiteSpace: "nowrap",
|
|
5091
5386
|
width: "100%",
|
|
5092
5387
|
justifyContent: "space-between",
|
|
5388
|
+
// pagerActions
|
|
5093
5389
|
"& .M4LPager-pagerActions": {
|
|
5094
5390
|
display: "flex",
|
|
5095
5391
|
padding: "2px",
|
|
@@ -5204,6 +5500,7 @@ const p = (o) => ({
|
|
|
5204
5500
|
color: o.vars.palette.text.primary,
|
|
5205
5501
|
...o.colorSchemes.finalTheme.typography.body
|
|
5206
5502
|
},
|
|
5503
|
+
/* caso small */
|
|
5207
5504
|
"&.M4LCheckBox-small ": {
|
|
5208
5505
|
"& .MuiButtonBase-root": {
|
|
5209
5506
|
width: "24px",
|
|
@@ -5214,6 +5511,7 @@ const p = (o) => ({
|
|
|
5214
5511
|
width: "16px",
|
|
5215
5512
|
height: "16px"
|
|
5216
5513
|
},
|
|
5514
|
+
/* caso medium */
|
|
5217
5515
|
"&.M4LCheckBox-medium": {
|
|
5218
5516
|
"& .MuiButtonBase-root": {
|
|
5219
5517
|
width: "24px",
|
|
@@ -5228,6 +5526,7 @@ const p = (o) => ({
|
|
|
5228
5526
|
width: "20px",
|
|
5229
5527
|
height: "20px"
|
|
5230
5528
|
},
|
|
5529
|
+
// Caso general
|
|
5231
5530
|
"& .MuiButtonBase-root": {
|
|
5232
5531
|
borderRadius: "4px",
|
|
5233
5532
|
"& .MuiSvgIcon-root": {
|
|
@@ -5245,6 +5544,7 @@ const p = (o) => ({
|
|
|
5245
5544
|
"& .MuiButtonBase-root:hover .MuiSvgIcon-root": {
|
|
5246
5545
|
fill: o.vars.palette.state?.hover
|
|
5247
5546
|
},
|
|
5547
|
+
/* caso general */
|
|
5248
5548
|
"& .M4LCheckBox-checkTypography .MuiTypography-root": {
|
|
5249
5549
|
...o.colorSchemes.finalTheme.typography.body
|
|
5250
5550
|
},
|
|
@@ -5254,6 +5554,7 @@ const p = (o) => ({
|
|
|
5254
5554
|
"& .M4LCheckBox-stateDisabled .MuiTypography-root": {
|
|
5255
5555
|
color: o.vars.palette.text.disabled
|
|
5256
5556
|
},
|
|
5557
|
+
/* selector del caso focus por tab */
|
|
5257
5558
|
"& .MuiButtonBase-root .Mui-focusVisible:focus-visible": {
|
|
5258
5559
|
outline: "#fff00"
|
|
5259
5560
|
}
|
|
@@ -5662,9 +5963,11 @@ const p = (o) => ({
|
|
|
5662
5963
|
gap: "12px",
|
|
5663
5964
|
position: "absolute",
|
|
5664
5965
|
inset: "0",
|
|
5966
|
+
// Contenedor de ilustracion
|
|
5665
5967
|
"& .M4LIcon-root": {
|
|
5666
5968
|
display: "flex",
|
|
5667
5969
|
padding: "12px",
|
|
5970
|
+
// Ilustración
|
|
5668
5971
|
" .M4LIcon-icon": {
|
|
5669
5972
|
width: "100px",
|
|
5670
5973
|
height: "100px",
|
|
@@ -5674,6 +5977,7 @@ const p = (o) => ({
|
|
|
5674
5977
|
"& .M4LoadingError-titleDescription": {
|
|
5675
5978
|
textAlign: "center"
|
|
5676
5979
|
},
|
|
5980
|
+
// Título
|
|
5677
5981
|
"& .M4LoadingError-loadingErrorTitle": {
|
|
5678
5982
|
...o.colorSchemes.finalTheme.typography.h5,
|
|
5679
5983
|
color: o.vars.palette.text.primary,
|
|
@@ -5681,20 +5985,25 @@ const p = (o) => ({
|
|
|
5681
5985
|
...o.colorSchemes.finalTheme.typography.h5
|
|
5682
5986
|
}
|
|
5683
5987
|
},
|
|
5988
|
+
// Subtítulo (explicaciòn de resultado)
|
|
5684
5989
|
"& .M4LoadingError-loadingErrorDescription": {
|
|
5685
5990
|
...o.colorSchemes.finalTheme.typography.paragraphDens,
|
|
5686
5991
|
color: o.vars.palette.text.secondary
|
|
5687
5992
|
},
|
|
5993
|
+
// Linea divisora
|
|
5688
5994
|
"& .M4LoadingError-loadingErrorDivider": {
|
|
5689
5995
|
width: "208px",
|
|
5690
5996
|
height: "1px",
|
|
5691
5997
|
background: o.vars.palette.state.borderPrimary
|
|
5692
5998
|
},
|
|
5999
|
+
// pasos de acción
|
|
5693
6000
|
"& .MuiTypography-paragraph": {
|
|
5694
6001
|
...o.colorSchemes.finalTheme.typography.paragraph,
|
|
5695
6002
|
color: o.vars.palette.text.primary
|
|
5696
6003
|
},
|
|
5697
|
-
"& .MuiButtonBase-root": {
|
|
6004
|
+
"& .MuiButtonBase-root": {
|
|
6005
|
+
//marginTop: '4px',
|
|
6006
|
+
}
|
|
5698
6007
|
}
|
|
5699
6008
|
}
|
|
5700
6009
|
}
|
|
@@ -5722,6 +6031,7 @@ const p = (o) => ({
|
|
|
5722
6031
|
M4LLoadingButton: {
|
|
5723
6032
|
styleOverrides: {
|
|
5724
6033
|
"&.M4LLoadingButton-root": {
|
|
6034
|
+
/* Root properties */
|
|
5725
6035
|
width: "auto",
|
|
5726
6036
|
display: "flex",
|
|
5727
6037
|
justifyContent: "center",
|
|
@@ -5731,6 +6041,7 @@ const p = (o) => ({
|
|
|
5731
6041
|
height: "36px",
|
|
5732
6042
|
minHeight: "36px"
|
|
5733
6043
|
},
|
|
6044
|
+
/* General properties */
|
|
5734
6045
|
"& .MuiButtonBase-root.MuiLoadingButton-loading": {
|
|
5735
6046
|
"& .M4LTypography-root": {
|
|
5736
6047
|
opacity: "0"
|
|
@@ -5739,6 +6050,10 @@ const p = (o) => ({
|
|
|
5739
6050
|
"& .MuiCircularProgress-root": {
|
|
5740
6051
|
color: `${o.vars.palette.text.primary}!important`
|
|
5741
6052
|
},
|
|
6053
|
+
/* '& .MuiTypography-root': {
|
|
6054
|
+
color: '#fff',
|
|
6055
|
+
transition: 'all .5s ease',
|
|
6056
|
+
}, */
|
|
5742
6057
|
"& .M4LLoadingButton-skeleton ": {
|
|
5743
6058
|
height: "100%!important",
|
|
5744
6059
|
borderRadius: "4px"
|
|
@@ -5774,6 +6089,7 @@ const p = (o) => ({
|
|
|
5774
6089
|
backgroundColor: `${o.vars.palette.text.disabled}!important`
|
|
5775
6090
|
}
|
|
5776
6091
|
},
|
|
6092
|
+
// Disabled condición de variante contained
|
|
5777
6093
|
"&.M4LLoadingButton-variantContained": {
|
|
5778
6094
|
"& .MuiButtonBase-root": {
|
|
5779
6095
|
color: o.vars.palette.text.disabled,
|
|
@@ -5810,6 +6126,7 @@ const p = (o) => ({
|
|
|
5810
6126
|
}
|
|
5811
6127
|
}
|
|
5812
6128
|
},
|
|
6129
|
+
/* Sizes */
|
|
5813
6130
|
"&.M4LLoadingButton-sizeSmall": {
|
|
5814
6131
|
height: "24px",
|
|
5815
6132
|
"& .MuiButtonBase-root": {
|
|
@@ -5828,6 +6145,7 @@ const p = (o) => ({
|
|
|
5828
6145
|
height: "38px"
|
|
5829
6146
|
}
|
|
5830
6147
|
},
|
|
6148
|
+
/* Variant contained */
|
|
5831
6149
|
"&.M4LLoadingButton-variantContained": {
|
|
5832
6150
|
"& .MuiCircularProgress-root": {
|
|
5833
6151
|
color: "#fff!important"
|
|
@@ -5878,6 +6196,7 @@ const p = (o) => ({
|
|
|
5878
6196
|
}
|
|
5879
6197
|
}
|
|
5880
6198
|
},
|
|
6199
|
+
/* Variant outlined */
|
|
5881
6200
|
"&.M4LLoadingButton-variantOutlined": {
|
|
5882
6201
|
"& .MuiButtonBase-root": {
|
|
5883
6202
|
border: "1px solid",
|
|
@@ -5915,6 +6234,7 @@ const p = (o) => ({
|
|
|
5915
6234
|
}
|
|
5916
6235
|
}
|
|
5917
6236
|
},
|
|
6237
|
+
/* Variant text */
|
|
5918
6238
|
"&.M4LLoadingButton-variantText": {
|
|
5919
6239
|
"& .MuiButtonBase-root": {
|
|
5920
6240
|
color: o.vars.palette.text.secondary,
|
|
@@ -5986,7 +6306,9 @@ const p = (o) => ({
|
|
|
5986
6306
|
minWidth: "20px"
|
|
5987
6307
|
}
|
|
5988
6308
|
},
|
|
6309
|
+
//if IsActive class exist add to styles
|
|
5989
6310
|
"& .M4LTopBar-IsActive": {
|
|
6311
|
+
//Render case 1
|
|
5990
6312
|
"& .M4LTopBar-ContainerAccordionCase1": {
|
|
5991
6313
|
"& .M4LIcon-root": {
|
|
5992
6314
|
"& .M4LIcon-icon": {
|
|
@@ -5997,6 +6319,7 @@ const p = (o) => ({
|
|
|
5997
6319
|
color: o.vars.palette.primary.main
|
|
5998
6320
|
}
|
|
5999
6321
|
},
|
|
6322
|
+
//Render case 2
|
|
6000
6323
|
"& .M4LTopBar-ContainerAccordion": {
|
|
6001
6324
|
"& .M4LIcon-root": {
|
|
6002
6325
|
"& .M4LIcon-icon": {
|
|
@@ -6007,6 +6330,7 @@ const p = (o) => ({
|
|
|
6007
6330
|
color: o.vars.palette.primary.main
|
|
6008
6331
|
}
|
|
6009
6332
|
},
|
|
6333
|
+
//Render case 3
|
|
6010
6334
|
"& .MuiButtonBase-root": {
|
|
6011
6335
|
color: o.vars.palette.primary.main
|
|
6012
6336
|
}
|
|
@@ -6110,19 +6434,33 @@ const p = (o) => ({
|
|
|
6110
6434
|
flexGrow: "1",
|
|
6111
6435
|
overflow: "auto",
|
|
6112
6436
|
position: "relative",
|
|
6437
|
+
/*
|
|
6438
|
+
* Control superior izquierdo
|
|
6439
|
+
*/
|
|
6113
6440
|
"& .M4LMap-topLeftToolsRoot": {
|
|
6114
6441
|
display: "flex",
|
|
6115
6442
|
backgroundColor: "blue"
|
|
6443
|
+
//Por cambiar
|
|
6116
6444
|
},
|
|
6445
|
+
/**
|
|
6446
|
+
* Control superior derecho
|
|
6447
|
+
*/
|
|
6117
6448
|
"& .M4LMap-topRigthToolsRoot": {
|
|
6118
6449
|
backgroundColor: "blue",
|
|
6450
|
+
//Por cambiar
|
|
6119
6451
|
display: "flex",
|
|
6120
6452
|
right: 0,
|
|
6121
6453
|
position: "absolute",
|
|
6454
|
+
/**
|
|
6455
|
+
* Zoom buttons
|
|
6456
|
+
*/
|
|
6122
6457
|
"& .M4LMap-zoomButtons": {
|
|
6123
6458
|
display: "flex"
|
|
6124
6459
|
}
|
|
6125
6460
|
},
|
|
6461
|
+
/**
|
|
6462
|
+
* Marcas
|
|
6463
|
+
*/
|
|
6126
6464
|
"& .M4LMap-markerLayerRoot": {},
|
|
6127
6465
|
"& .M4LMap-markerLayerIcon": {
|
|
6128
6466
|
transformOrigin: "center center",
|
|
@@ -6151,8 +6489,10 @@ const p = (o) => ({
|
|
|
6151
6489
|
overflow: "hidden",
|
|
6152
6490
|
textOverflow: "ellipsis"
|
|
6153
6491
|
},
|
|
6492
|
+
//Herramienta de medición Formulario
|
|
6154
6493
|
"& .M4LMap-meaureToolRoot": {
|
|
6155
6494
|
backgroundColor: "green",
|
|
6495
|
+
//Por cambiar
|
|
6156
6496
|
height: "100%",
|
|
6157
6497
|
width: "100%"
|
|
6158
6498
|
},
|
|
@@ -6163,8 +6503,11 @@ const p = (o) => ({
|
|
|
6163
6503
|
border: "1px solid white",
|
|
6164
6504
|
margin: "0 5px",
|
|
6165
6505
|
fontWeight: 800,
|
|
6506
|
+
//Por cambiar
|
|
6166
6507
|
fontSize: "large"
|
|
6508
|
+
//Por cambiar
|
|
6167
6509
|
},
|
|
6510
|
+
//Marker measure Point Icon
|
|
6168
6511
|
"& .M4LMap-measureMarkerRoot": {
|
|
6169
6512
|
"--color": "green"
|
|
6170
6513
|
},
|
|
@@ -6199,6 +6542,7 @@ const p = (o) => ({
|
|
|
6199
6542
|
marginTop: "1px",
|
|
6200
6543
|
color: "black"
|
|
6201
6544
|
},
|
|
6545
|
+
//Marker Point Label
|
|
6202
6546
|
"& .M4LMap-measureLabelMarkerRoot": {
|
|
6203
6547
|
"--color": "yellow"
|
|
6204
6548
|
},
|
|
@@ -6216,18 +6560,22 @@ const p = (o) => ({
|
|
|
6216
6560
|
"& .M4LMap-measureLabelMarkerRemove": {
|
|
6217
6561
|
color: "blue"
|
|
6218
6562
|
},
|
|
6563
|
+
//Cluster Markers
|
|
6564
|
+
//Animacion
|
|
6219
6565
|
"& .leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow": {
|
|
6220
6566
|
"-webkit-transition": "-webkit-transform 0.3s ease-out, opacity 0.3s ease-in",
|
|
6221
6567
|
"-moz-transition": "-moz-transform 0.3s ease-out, opacity 0.3s ease-in",
|
|
6222
6568
|
"-o-transition": "-o-transform 0.3s ease-out, opacity 0.3s ease-in",
|
|
6223
6569
|
transition: "transform 0.3s ease-out, opacity 0.3s ease-in"
|
|
6224
6570
|
},
|
|
6571
|
+
//Spider
|
|
6225
6572
|
"& .leaflet-cluster-spider-leg": {
|
|
6226
6573
|
"-webkit-transition": "-webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in",
|
|
6227
6574
|
"-moz-transition": "-moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in",
|
|
6228
6575
|
"-o-transition": "-o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in",
|
|
6229
6576
|
transition: "stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in"
|
|
6230
6577
|
},
|
|
6578
|
+
//Colores de los clusters dependiendo de la cantidad de las marcas
|
|
6231
6579
|
"& .marker-cluster-small": {
|
|
6232
6580
|
backgroundColor: "rgba(181, 226, 140, 0.6)"
|
|
6233
6581
|
},
|
|
@@ -6246,6 +6594,7 @@ const p = (o) => ({
|
|
|
6246
6594
|
"& .marker-cluster-large div": {
|
|
6247
6595
|
backgroundColor: "rgba(241, 128, 23, 0.6)"
|
|
6248
6596
|
},
|
|
6597
|
+
/* IE 6-8 fallback colors */
|
|
6249
6598
|
"& .leaflet-oldie .marker-cluster-small": {
|
|
6250
6599
|
backgroundColor: "rgb(181, 226, 140)"
|
|
6251
6600
|
},
|
|
@@ -6264,6 +6613,7 @@ const p = (o) => ({
|
|
|
6264
6613
|
"& .leaflet-oldie .marker-cluster-large div": {
|
|
6265
6614
|
backgroundColor: "rgb(241, 128, 23)"
|
|
6266
6615
|
},
|
|
6616
|
+
//Cluster Markers
|
|
6267
6617
|
"& .marker-cluster": {
|
|
6268
6618
|
backgroundClip: "padding-box",
|
|
6269
6619
|
borderRadius: "20px"
|
|
@@ -6277,6 +6627,7 @@ const p = (o) => ({
|
|
|
6277
6627
|
borderRadius: "15px",
|
|
6278
6628
|
font: '12px "Helvetica Neue", Arial, Helvetica, sans-serif'
|
|
6279
6629
|
},
|
|
6630
|
+
//Cluster Markers
|
|
6280
6631
|
"& .marker-cluster span": {
|
|
6281
6632
|
lineHeight: "30px"
|
|
6282
6633
|
},
|
|
@@ -6288,6 +6639,7 @@ const p = (o) => ({
|
|
|
6288
6639
|
},
|
|
6289
6640
|
"& .leaflet-control-scale-line": {
|
|
6290
6641
|
color: "red"
|
|
6642
|
+
//Ejemplo de como estilar el control de scala
|
|
6291
6643
|
}
|
|
6292
6644
|
}
|
|
6293
6645
|
}
|
|
@@ -6299,6 +6651,7 @@ const p = (o) => ({
|
|
|
6299
6651
|
ml: 0.75,
|
|
6300
6652
|
"& .MuiPaper-root": {
|
|
6301
6653
|
backgroundColor: "gray",
|
|
6654
|
+
//Por cambiar
|
|
6302
6655
|
width: "400px!important",
|
|
6303
6656
|
height: 400
|
|
6304
6657
|
},
|
|
@@ -6328,6 +6681,7 @@ const p = (o) => ({
|
|
|
6328
6681
|
ml: 0.75,
|
|
6329
6682
|
"& .MuiPaper-root": {
|
|
6330
6683
|
backgroundColor: "gray",
|
|
6684
|
+
//Por cambiar
|
|
6331
6685
|
width: "400px!important",
|
|
6332
6686
|
height: 400
|
|
6333
6687
|
},
|
|
@@ -6389,6 +6743,7 @@ const p = (o) => ({
|
|
|
6389
6743
|
display: "flex",
|
|
6390
6744
|
flexDirection: "column",
|
|
6391
6745
|
flexGrow: 1,
|
|
6746
|
+
// height: '100%',
|
|
6392
6747
|
"& .M4LMapGpsTools-gpsToolsTabContent": {
|
|
6393
6748
|
padding: "12px",
|
|
6394
6749
|
overflow: "auto"
|
|
@@ -6397,6 +6752,8 @@ const p = (o) => ({
|
|
|
6397
6752
|
display: "flex",
|
|
6398
6753
|
minWidth: "60px",
|
|
6399
6754
|
marginTop: "14px"
|
|
6755
|
+
// justifyContent: 'flex-end',
|
|
6756
|
+
// padding: '12px',
|
|
6400
6757
|
}
|
|
6401
6758
|
},
|
|
6402
6759
|
"& .M4LMapGpsTools-gpsToolsTabContent.M4LMapGpsTools-hidden": {
|