@m4l/styles 2.0.3 → 3.0.0
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 +30 -49
- package/package.json +1 -1
- package/theme/defaultThemeOptions-BlJvKCE6.js +24 -0
- package/theme/index-l0sNRNKZ.js +1 -0
- package/theme/index.d.ts +0 -3
- package/theme/overrides/M4LExtendedComponents/M4LAccordion.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.d.ts +17 -17
- package/theme/overrides/M4LExtendedComponents/M4LAppBar.d.ts +7 -12
- package/theme/overrides/M4LExtendedComponents/M4LAppBarCommercial.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +33 -33
- package/theme/overrides/M4LExtendedComponents/M4LBadge.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +7 -7
- package/theme/overrides/M4LExtendedComponents/M4LCommonActions.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LErrorLabel.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LFieldLabel.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LGridLayout.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LHamburgerMenuCommercial.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LIconButton.d.ts +4 -4
- package/theme/overrides/M4LExtendedComponents/M4LImageButton.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LPaperForm.d.ts +6 -6
- package/theme/overrides/M4LExtendedComponents/M4LPeriod.d.ts +41 -41
- package/theme/overrides/M4LExtendedComponents/M4LPopover.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LScrollBar.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LTab.d.ts +7 -7
- package/theme/overrides/M4LExtendedComponents/M4LTabs.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LTooltip.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LanguagePopover.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LoadingButton.d.ts +15 -15
- package/theme/overrides/M4LExtendedComponents/M4LoadingError.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/{index.79301515.js → index-Cf72RC_D.js} +785 -477
- package/theme/overrides/M4LRHFComponents/M4LRHFCheckbox.d.ts +1 -1
- package/theme/overrides/M4LRHFComponents/M4LRHFColorPicker.d.ts +1 -1
- package/theme/overrides/M4LRHFComponents/M4LRHFDateTime.d.ts +1 -1
- package/theme/overrides/M4LRHFComponents/M4LRHFTextField.d.ts +2 -2
- package/theme/overrides/M4LRHFComponents/{index.38639c1b.js → index-BRZVeOM5.js} +229 -151
- package/theme/overrides/MUIComponents/Avatar.d.ts +1 -1
- package/theme/overrides/MUIComponents/Button.d.ts +1 -1
- package/theme/overrides/MUIComponents/ButtonGroup.d.ts +1 -1
- package/theme/overrides/MUIComponents/Pagination.d.ts +1 -1
- package/theme/overrides/MUIComponents/Paper.d.ts +1 -1
- package/theme/overrides/MUIComponents/ToggleButton.d.ts +2 -2
- package/theme/overrides/MUIComponents/{index.5c43e3b5.js → index-XoLdmZP6.js} +121 -70
- package/theme/overrides/{index.78952902.js → index-DrDgOdnk.js} +9 -3
- package/theme/palette/baseColors.d.ts +2 -0
- package/theme/palette/baseOpacityColors.d.ts +2 -0
- package/theme/palette/commonColors.d.ts +2 -0
- package/theme/palette/greyPalette.d.ts +2 -0
- package/theme/palette/index.d.ts +6 -0
- package/theme/palette/palette.d.ts +6 -0
- package/theme/palette/presetColors.d.ts +5 -0
- package/theme/palette/stateColors.d.ts +2 -0
- package/theme/palette-DM0gXxA2.js +584 -0
- package/theme/{shadows.e0c009ff.js → shadows-GTYqExFA.js} +19 -18
- package/theme/{typography.947dc33f.js → typography-BsOO459U.js} +34 -31
- package/types/augmentations.d.ts +144 -137
- package/types/types.d.ts +48 -25
- package/utils/getColorPresets-CXZaM9oS.js +14 -0
- package/utils/getColorPresets.d.ts +4 -9
- package/utils/{getFontValue.88831637.js → getFontValue-BEO-XID9.js} +8 -5
- package/utils/index.d.ts +0 -1
- package/vite-env.d.ts +3 -3
- package/theme/defaultThemeOptions.d580f3ec.js +0 -34
- package/theme/index.16e25179.js +0 -7
- package/theme/palette.287635f2.js +0 -438
- package/theme/palette.d.ts +0 -231
- package/utils/getColorPresets.a96a4046.js +0 -76
- package/utils/getColorState.18b61422.js +0 -256
- package/utils/getColorState.d.ts +0 -26
- /package/{config.5405b46b.js → config-CoeBxEZB.js} +0 -0
- /package/utils/{useResponsive.2c45e8e0.js → useResponsive-DaeQVwlH.js} +0 -0
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
import { alpha as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
import "../../shadows.e0c009ff.js";
|
|
5
|
-
import { P as r } from "../../palette.287635f2.js";
|
|
6
|
-
import "../../typography.947dc33f.js";
|
|
7
|
-
import "@mui/material";
|
|
8
|
-
const c = (o) => ({
|
|
1
|
+
import { alpha as r } from "@mui/material/styles";
|
|
2
|
+
import { B as t } from "../../palette-DM0gXxA2.js";
|
|
3
|
+
const i = (o) => ({
|
|
9
4
|
M4LIcon: {
|
|
10
5
|
styleOverrides: {
|
|
11
|
-
|
|
6
|
+
"&.M4LIcon-root": {
|
|
12
7
|
display: "flex",
|
|
13
8
|
justifyContent: "center",
|
|
14
9
|
alignItems: "center",
|
|
@@ -49,15 +44,15 @@ const c = (o) => ({
|
|
|
49
44
|
},
|
|
50
45
|
".M4LIcon-variantSkeleton": {
|
|
51
46
|
borderRadius: "4px",
|
|
52
|
-
backgroundColor: o.vars.palette.
|
|
47
|
+
backgroundColor: o.vars.palette.skeleton?.default
|
|
53
48
|
}
|
|
54
49
|
}
|
|
55
50
|
}
|
|
56
51
|
}
|
|
57
|
-
}),
|
|
52
|
+
}), n = (o) => ({
|
|
58
53
|
M4LIconButton: {
|
|
59
54
|
styleOverrides: {
|
|
60
|
-
|
|
55
|
+
"&.M4LIconButton-root": {
|
|
61
56
|
position: "relative",
|
|
62
57
|
borderRadius: "4px",
|
|
63
58
|
display: "flex",
|
|
@@ -66,12 +61,16 @@ const c = (o) => ({
|
|
|
66
61
|
transition: "all .3s ease",
|
|
67
62
|
"& .M4LIcon-root .M4LIcon-icon": {
|
|
68
63
|
transition: "all .3s ease",
|
|
64
|
+
//Cambiado bgPrimary temporalmente , originalmente primary
|
|
69
65
|
backgroundColor: o.vars.palette.text.primary
|
|
70
66
|
},
|
|
67
|
+
// '& .M4LIcon-root .M4LIcon-icon': {
|
|
68
|
+
// backgroundColor: theme.vars.palette.text.bgPrimary,
|
|
69
|
+
// },
|
|
71
70
|
"&::before": {
|
|
72
71
|
boxSizing: "content-box",
|
|
73
72
|
border: "1px solid",
|
|
74
|
-
borderColor: o.vars.palette.
|
|
73
|
+
borderColor: o.vars.palette.primary?.focus,
|
|
75
74
|
borderRadius: "4px",
|
|
76
75
|
position: "absolute",
|
|
77
76
|
transition: "all .3s ease"
|
|
@@ -92,96 +91,106 @@ const c = (o) => ({
|
|
|
92
91
|
height: "20px"
|
|
93
92
|
}
|
|
94
93
|
},
|
|
94
|
+
/* Size property */
|
|
95
95
|
"& .MuiIconButton-root": {
|
|
96
96
|
position: "static",
|
|
97
97
|
borderRadius: "4px",
|
|
98
98
|
padding: "0px"
|
|
99
99
|
},
|
|
100
|
+
/* '.MuiIconButton-root:hover': {
|
|
101
|
+
backgroundColor: 'transparent',
|
|
102
|
+
}, */
|
|
103
|
+
/* Variant primary */
|
|
100
104
|
"&.M4LIconButton-variantPrimary:not(&.M4LIconButton-isDisabled)": {
|
|
101
|
-
backgroundColor: o.vars.palette.
|
|
105
|
+
backgroundColor: o.vars.palette.background?.default,
|
|
102
106
|
"&:hover": {
|
|
103
|
-
backgroundColor: o.vars.palette.
|
|
107
|
+
backgroundColor: o.vars.palette.primary?.hover,
|
|
104
108
|
"& .M4LIcon-icon": {
|
|
105
|
-
backgroundColor: o.vars.palette.
|
|
109
|
+
backgroundColor: o.vars.palette.common?.white
|
|
106
110
|
}
|
|
107
111
|
},
|
|
108
112
|
"&:active": {
|
|
109
|
-
backgroundColor: o.vars.palette.
|
|
113
|
+
backgroundColor: o.vars.palette.primary?.active,
|
|
110
114
|
transition: "background-color .5s ease",
|
|
111
115
|
"& .M4LIcon-icon": {
|
|
112
|
-
backgroundColor: o.vars.palette.
|
|
116
|
+
backgroundColor: o.vars.palette.common?.white
|
|
113
117
|
}
|
|
114
118
|
},
|
|
115
119
|
"&.M4LIconButton-isFocus": {
|
|
116
|
-
backgroundColor: o.vars.palette.
|
|
120
|
+
backgroundColor: o.vars.palette.primary?.active,
|
|
117
121
|
"& .M4LIcon-icon": {
|
|
118
|
-
backgroundColor: o.vars.palette.
|
|
122
|
+
backgroundColor: o.vars.palette.common?.white
|
|
119
123
|
},
|
|
120
124
|
"&::before": {
|
|
121
125
|
content: "''"
|
|
122
126
|
}
|
|
123
127
|
}
|
|
124
128
|
},
|
|
129
|
+
/* Variant secondary */
|
|
125
130
|
"&.M4LIconButton-variantSecondary:not(&.M4LIconButton-isDisabled)": {
|
|
126
|
-
borderColor: o.vars.palette.
|
|
131
|
+
borderColor: o.vars.palette.border.dense,
|
|
127
132
|
"& .M4LIcon-icon": {
|
|
128
133
|
backgroundColor: o.vars.palette.text.primary
|
|
129
134
|
},
|
|
130
135
|
"&:hover": {
|
|
131
136
|
border: "1px solid",
|
|
132
|
-
borderColor: o.vars.palette.
|
|
137
|
+
borderColor: o.vars.palette.primary?.focus,
|
|
133
138
|
"& .M4LIcon-icon": {
|
|
134
|
-
backgroundColor: o.vars.palette.
|
|
139
|
+
backgroundColor: o.vars.palette.primary?.focus
|
|
135
140
|
}
|
|
136
141
|
},
|
|
137
142
|
"&:active": {
|
|
138
143
|
border: "1px solid",
|
|
139
|
-
borderColor: o.vars.palette.
|
|
144
|
+
borderColor: o.vars.palette.primary?.active,
|
|
140
145
|
"& .M4LIcon-icon": {
|
|
141
|
-
backgroundColor: o.vars.palette.
|
|
146
|
+
backgroundColor: o.vars.palette.primary?.active
|
|
142
147
|
}
|
|
143
148
|
},
|
|
144
149
|
"&.M4LIconButton-isFocus": {
|
|
145
150
|
border: "1px solid",
|
|
146
|
-
borderColor: o.vars.palette.
|
|
151
|
+
borderColor: o.vars.palette.primary?.active,
|
|
147
152
|
"& .M4LIcon-icon": {
|
|
148
|
-
backgroundColor: o.vars.palette.
|
|
153
|
+
backgroundColor: o.vars.palette.primary?.active
|
|
149
154
|
},
|
|
150
155
|
"&::before": {
|
|
151
156
|
content: "''"
|
|
152
157
|
}
|
|
153
158
|
}
|
|
154
159
|
},
|
|
160
|
+
/* Variant line */
|
|
155
161
|
"&.M4LIconButton-variantLine:not(&.M4LIconButton-isDisabled)": {
|
|
156
162
|
"&:hover": {
|
|
157
|
-
backgroundColor: o.vars.palette.
|
|
163
|
+
backgroundColor: o.vars.palette.primary?.activeOpacity,
|
|
158
164
|
"& .M4LIcon-icon": {
|
|
159
|
-
backgroundColor: o.vars.palette.
|
|
165
|
+
backgroundColor: o.vars.palette.primary?.focus
|
|
160
166
|
}
|
|
161
167
|
},
|
|
162
168
|
"&:active": {
|
|
163
169
|
backgroundColor: "transparent",
|
|
164
170
|
"& .M4LIcon-icon": {
|
|
165
|
-
backgroundColor: o.vars.palette.
|
|
171
|
+
backgroundColor: o.vars.palette.primary?.active
|
|
166
172
|
}
|
|
167
173
|
},
|
|
168
174
|
"&.M4LIconButton-isFocus": {
|
|
169
175
|
backgroundColor: "transparent",
|
|
170
176
|
border: "1px solid",
|
|
171
|
-
borderColor: o.vars.palette.
|
|
177
|
+
borderColor: o.vars.palette.primary?.focus,
|
|
172
178
|
"& .M4LIcon-icon": {
|
|
173
|
-
backgroundColor: o.vars.palette.
|
|
179
|
+
backgroundColor: o.vars.palette.primary?.active
|
|
174
180
|
}
|
|
175
181
|
}
|
|
176
182
|
},
|
|
183
|
+
/* Variant disabled */
|
|
177
184
|
"&.M4LIconButton-isDisabled": {
|
|
178
185
|
"& .M4LIcon-icon": {
|
|
179
186
|
backgroundColor: o.vars.palette.text.disabled
|
|
180
187
|
}
|
|
181
188
|
},
|
|
189
|
+
/* Variant skeleton */
|
|
182
190
|
"&.M4LIconButton-root .MuiSkeleton-root": {
|
|
183
191
|
borderRadius: "4px"
|
|
184
192
|
},
|
|
193
|
+
//TODO: Para cambiar
|
|
185
194
|
"&.M4LIconButton-togglePressed": {
|
|
186
195
|
backgroundColor: "red!important",
|
|
187
196
|
prop1: 1
|
|
@@ -189,10 +198,10 @@ const c = (o) => ({
|
|
|
189
198
|
}
|
|
190
199
|
}
|
|
191
200
|
}
|
|
192
|
-
}),
|
|
201
|
+
}), p = (o) => ({
|
|
193
202
|
M4LanguagePopover: {
|
|
194
203
|
styleOverrides: {
|
|
195
|
-
|
|
204
|
+
"&.M4LanguagePopover-root": {
|
|
196
205
|
"& .M4LImageButton-root": {
|
|
197
206
|
"& .MuiButtonBase-root": {
|
|
198
207
|
width: "32px",
|
|
@@ -210,10 +219,10 @@ const c = (o) => ({
|
|
|
210
219
|
}
|
|
211
220
|
}
|
|
212
221
|
}
|
|
213
|
-
}),
|
|
222
|
+
}), d = (o) => ({
|
|
214
223
|
M4LImageButton: {
|
|
215
224
|
styleOverrides: {
|
|
216
|
-
|
|
225
|
+
"&.M4LImageButton-root": {
|
|
217
226
|
test: "root",
|
|
218
227
|
".MuiButtonBase-root": {
|
|
219
228
|
display: "flex",
|
|
@@ -246,12 +255,12 @@ const c = (o) => ({
|
|
|
246
255
|
borderRadius: "4px"
|
|
247
256
|
},
|
|
248
257
|
".MuiButtonBase-root:hover": {
|
|
249
|
-
backgroundColor: o.vars.palette.
|
|
258
|
+
backgroundColor: o.vars.palette.primary?.activeOpacity
|
|
250
259
|
},
|
|
251
260
|
".MuiButtonBase-root:focus": {
|
|
252
|
-
backgroundColor: o.vars.palette.
|
|
261
|
+
backgroundColor: o.vars.palette.primary?.activeOpacity,
|
|
253
262
|
border: "1px solid",
|
|
254
|
-
borderColor: o.vars.palette.
|
|
263
|
+
borderColor: o.vars.palette.primary?.focus
|
|
255
264
|
},
|
|
256
265
|
[o.breakpoints.down("md")]: {
|
|
257
266
|
".MuiButtonBase-root": {
|
|
@@ -264,10 +273,10 @@ const c = (o) => ({
|
|
|
264
273
|
}
|
|
265
274
|
}
|
|
266
275
|
}
|
|
267
|
-
}),
|
|
276
|
+
}), l = (o) => ({
|
|
268
277
|
M4LImage: {
|
|
269
278
|
styleOverrides: {
|
|
270
|
-
|
|
279
|
+
"&.M4LImage-root": {
|
|
271
280
|
display: "flex",
|
|
272
281
|
flexDirection: "column",
|
|
273
282
|
justifyContent: "center",
|
|
@@ -275,7 +284,7 @@ const c = (o) => ({
|
|
|
275
284
|
}
|
|
276
285
|
}
|
|
277
286
|
}
|
|
278
|
-
}),
|
|
287
|
+
}), s = (o) => ({
|
|
279
288
|
M4LPopover: {
|
|
280
289
|
styleOverrides: {
|
|
281
290
|
"&.M4LPopover-root": {
|
|
@@ -323,14 +332,14 @@ const c = (o) => ({
|
|
|
323
332
|
justifyContent: "normal !important"
|
|
324
333
|
},
|
|
325
334
|
"& .MuiButtonBase-root:hover": {
|
|
326
|
-
backgroundColor: o.vars.palette.
|
|
335
|
+
backgroundColor: o.vars.palette.primary?.activeOpacity,
|
|
327
336
|
borderRadius: "4px",
|
|
328
337
|
padding: "4px"
|
|
329
338
|
},
|
|
330
339
|
"& .MuiButtonBase-root.Mui-selected": {
|
|
331
|
-
backgroundColor: o.vars.palette.
|
|
340
|
+
backgroundColor: o.vars.palette.primary?.activeOpacity,
|
|
332
341
|
"& .M4LanguagePopover-labelItem": {
|
|
333
|
-
color: o.vars.palette.
|
|
342
|
+
color: o.vars.palette.primary?.active
|
|
334
343
|
}
|
|
335
344
|
}
|
|
336
345
|
},
|
|
@@ -366,29 +375,34 @@ const c = (o) => ({
|
|
|
366
375
|
}
|
|
367
376
|
}
|
|
368
377
|
}
|
|
369
|
-
}),
|
|
378
|
+
}), c = (o) => ({
|
|
370
379
|
M4LErrorLabel: {
|
|
371
380
|
styleOverrides: {
|
|
372
|
-
|
|
381
|
+
"&.M4LHelperText-root": {
|
|
382
|
+
/* Root properties */
|
|
383
|
+
/* Variant info */
|
|
373
384
|
"&.M4LHelperText-variantInfo .MuiTypography-root": {
|
|
374
385
|
color: o.vars.palette.info.main
|
|
375
386
|
},
|
|
387
|
+
/* Variant success */
|
|
376
388
|
"&.M4LHelperText-variantSuccess .MuiTypography-root": {
|
|
377
389
|
color: o.vars.palette.success.main
|
|
378
390
|
},
|
|
391
|
+
/* Variant success */
|
|
379
392
|
"&.M4LHelperText-variantWarning .MuiTypography-root": {
|
|
380
393
|
color: o.vars.palette.warning.main
|
|
381
394
|
},
|
|
395
|
+
/* Variant success */
|
|
382
396
|
"&.M4LHelperText-variantError .MuiTypography-root": {
|
|
383
397
|
color: o.vars.palette.error.main
|
|
384
398
|
}
|
|
385
399
|
}
|
|
386
400
|
}
|
|
387
401
|
}
|
|
388
|
-
}),
|
|
402
|
+
}), g = (o) => ({
|
|
389
403
|
M4LTypography: {
|
|
390
404
|
styleOverrides: {
|
|
391
|
-
|
|
405
|
+
"&.M4LTypography-root": {
|
|
392
406
|
color: o.vars.palette.text.primary,
|
|
393
407
|
display: "inline",
|
|
394
408
|
"& .MuiTypography-root": {
|
|
@@ -397,25 +411,29 @@ const c = (o) => ({
|
|
|
397
411
|
}
|
|
398
412
|
}
|
|
399
413
|
}
|
|
400
|
-
}),
|
|
414
|
+
}), x = (o) => ({
|
|
401
415
|
M4LButton: {
|
|
402
416
|
styleOverrides: {
|
|
403
417
|
"&.M4LButton-root": {
|
|
418
|
+
/* Propiedades generales */
|
|
404
419
|
transition: "all 0.2s",
|
|
405
420
|
width: "fit-content",
|
|
406
421
|
display: "flex",
|
|
407
422
|
justifyContent: "center",
|
|
408
423
|
...o.colorSchemes.finalTheme.typography.action,
|
|
424
|
+
//height: '24px',
|
|
409
425
|
minHeight: "24px",
|
|
410
426
|
borderRadius: "4px",
|
|
411
427
|
[o.breakpoints.down("md")]: {
|
|
412
428
|
height: "36px",
|
|
413
429
|
minHeight: "36px"
|
|
414
430
|
},
|
|
431
|
+
/* General properties */
|
|
415
432
|
"& .M4LButton-skeleton": {
|
|
416
433
|
height: "100% !important",
|
|
417
434
|
borderRadius: "4px"
|
|
418
435
|
},
|
|
436
|
+
// Anulamos los estilos de color para el botón de mui
|
|
419
437
|
"& .MuiButtonBase-root": {
|
|
420
438
|
display: "flex",
|
|
421
439
|
textTransform: "none",
|
|
@@ -439,7 +457,7 @@ const c = (o) => ({
|
|
|
439
457
|
"&::before": {
|
|
440
458
|
inset: "0",
|
|
441
459
|
border: "1px solid",
|
|
442
|
-
borderColor: o.vars.palette.
|
|
460
|
+
borderColor: o.vars.palette.primary.focus,
|
|
443
461
|
borderRadius: "4px",
|
|
444
462
|
transform: "scale(1.07, 1.36)",
|
|
445
463
|
position: "absolute",
|
|
@@ -455,14 +473,14 @@ const c = (o) => ({
|
|
|
455
473
|
},
|
|
456
474
|
"&.M4LButton-variantContained": {
|
|
457
475
|
color: o.vars.palette.text.disabled,
|
|
458
|
-
backgroundColor: o.vars.palette.
|
|
476
|
+
backgroundColor: o.vars.palette.background.default,
|
|
459
477
|
border: "1px solid",
|
|
460
|
-
borderColor: o.vars.palette.
|
|
478
|
+
borderColor: o.vars.palette.border.disabled,
|
|
461
479
|
"& .M4LIcon-icon": {
|
|
462
480
|
backgroundColor: o.vars.palette.text.disabled
|
|
463
481
|
},
|
|
464
482
|
"&:hover": {
|
|
465
|
-
backgroundColor: o.vars.palette.
|
|
483
|
+
backgroundColor: o.vars.palette.background?.default,
|
|
466
484
|
color: o.vars.palette.text.disabled,
|
|
467
485
|
"& .M4LIcon-icon": {
|
|
468
486
|
backgroundColor: o.vars.palette.text.disabled,
|
|
@@ -470,7 +488,7 @@ const c = (o) => ({
|
|
|
470
488
|
}
|
|
471
489
|
},
|
|
472
490
|
"&:active": {
|
|
473
|
-
backgroundColor: o.vars.palette.
|
|
491
|
+
backgroundColor: o.vars.palette.primary?.active,
|
|
474
492
|
color: o.vars.palette.text.primary,
|
|
475
493
|
"& .M4LIcon-icon": {
|
|
476
494
|
backgroundColor: o.vars.palette.text.disabled,
|
|
@@ -478,7 +496,7 @@ const c = (o) => ({
|
|
|
478
496
|
}
|
|
479
497
|
},
|
|
480
498
|
"&.Mui-focusVisible": {
|
|
481
|
-
backgroundColor: o.vars.palette.
|
|
499
|
+
backgroundColor: o.vars.palette.background?.default,
|
|
482
500
|
color: o.vars.palette.text.disabled,
|
|
483
501
|
"& .M4LIcon-icon": {
|
|
484
502
|
backgroundColor: o.vars.palette.text.disabled,
|
|
@@ -490,6 +508,7 @@ const c = (o) => ({
|
|
|
490
508
|
}
|
|
491
509
|
}
|
|
492
510
|
},
|
|
511
|
+
/* Sizes */
|
|
493
512
|
"&.M4LButton-sizeSmall": {
|
|
494
513
|
"& .MuiButtonBase-root": {
|
|
495
514
|
padding: "4px 12px",
|
|
@@ -510,62 +529,71 @@ const c = (o) => ({
|
|
|
510
529
|
height: "36px"
|
|
511
530
|
}
|
|
512
531
|
},
|
|
532
|
+
/* Variant contained */
|
|
513
533
|
"&.M4LButton-variantContained": {
|
|
514
|
-
backgroundColor: o.vars.palette.
|
|
515
|
-
color: o.vars.palette.
|
|
534
|
+
backgroundColor: o.vars.palette.primary?.active,
|
|
535
|
+
color: o.vars.palette.common?.white,
|
|
516
536
|
boxShadow: o.customShadows?.z1,
|
|
517
537
|
position: "relative",
|
|
518
538
|
"& .M4LIcon-icon": {
|
|
519
|
-
backgroundColor: o.vars.palette.
|
|
539
|
+
backgroundColor: o.vars.palette.common?.white
|
|
520
540
|
},
|
|
521
541
|
"&:hover": {
|
|
522
|
-
backgroundColor: o.vars.palette.
|
|
523
|
-
color: o.vars.palette.
|
|
542
|
+
backgroundColor: o.vars.palette.primary?.hover,
|
|
543
|
+
color: o.vars.palette.common?.white,
|
|
524
544
|
"& .M4LIcon-icon": {
|
|
525
|
-
backgroundColor: o.vars.palette.
|
|
545
|
+
backgroundColor: o.vars.palette.common?.white
|
|
526
546
|
}
|
|
527
547
|
},
|
|
548
|
+
// '& .active': {
|
|
549
|
+
// backgroundColor: theme.vars.palette.primary?.active,
|
|
550
|
+
// color: theme.vars.palette.common?.white,
|
|
551
|
+
// '& .M4LIcon-icon': {
|
|
552
|
+
// backgroundColor: theme.vars.palette.common?.white,
|
|
553
|
+
// },
|
|
554
|
+
// },
|
|
528
555
|
"&.Mui-focusVisible": {
|
|
529
|
-
backgroundColor: o.vars.palette.
|
|
530
|
-
color: o.vars.palette.
|
|
556
|
+
backgroundColor: o.vars.palette.primary?.active,
|
|
557
|
+
color: o.vars.palette.common?.white,
|
|
531
558
|
"& .M4LIcon-icon": {
|
|
532
|
-
backgroundColor: o.vars.palette.
|
|
559
|
+
backgroundColor: o.vars.palette.common?.white
|
|
533
560
|
},
|
|
534
561
|
"&::before": {
|
|
535
562
|
content: "''"
|
|
536
563
|
}
|
|
537
564
|
}
|
|
538
565
|
},
|
|
566
|
+
/* Variant outlined */
|
|
539
567
|
"&.M4LButton-variantOutlined": {
|
|
540
568
|
"& .MuiButtonBase-root": {
|
|
541
569
|
border: "1px solid",
|
|
542
|
-
borderColor: o.vars.palette.
|
|
570
|
+
borderColor: o.vars.palette.border.dense,
|
|
543
571
|
color: o.vars.palette.text.primary,
|
|
544
572
|
"& .M4LIcon-icon": {
|
|
545
573
|
backgroundColor: o.vars.palette.text.primary
|
|
546
574
|
},
|
|
547
575
|
"&:hover": {
|
|
548
|
-
borderColor: o.vars.palette.
|
|
549
|
-
color: o.vars.palette.
|
|
550
|
-
backgroundColor: o.vars.palette.
|
|
576
|
+
borderColor: o.vars.palette.primary?.hover,
|
|
577
|
+
color: o.vars.palette.primary?.hover,
|
|
578
|
+
backgroundColor: o.vars.palette.primary?.activeOpacity,
|
|
551
579
|
"& .M4LIcon-icon": {
|
|
552
|
-
backgroundColor: o.vars.palette.
|
|
580
|
+
backgroundColor: o.vars.palette.primary?.hover
|
|
553
581
|
}
|
|
554
582
|
},
|
|
555
583
|
"&:active": {
|
|
556
|
-
borderColor: o.vars.palette.
|
|
557
|
-
color: o.vars.palette.
|
|
584
|
+
borderColor: o.vars.palette.primary?.active,
|
|
585
|
+
color: o.vars.palette.primary?.active,
|
|
558
586
|
backgroundColor: "transparent",
|
|
559
587
|
"& .M4LIcon-icon": {
|
|
560
|
-
backgroundColor: o.vars.palette.
|
|
588
|
+
backgroundColor: o.vars.palette.primary?.active
|
|
561
589
|
}
|
|
562
590
|
},
|
|
563
591
|
"&.Mui-focusVisible": {
|
|
564
|
-
borderColor: o.vars.palette.
|
|
565
|
-
color: o.vars.palette.
|
|
592
|
+
borderColor: o.vars.palette.primary?.active,
|
|
593
|
+
color: o.vars.palette.primary?.active,
|
|
566
594
|
backgroundColor: "transparent",
|
|
567
595
|
"& .M4LIcon-icon": {
|
|
568
|
-
backgroundColor: o.vars.palette.
|
|
596
|
+
backgroundColor: o.vars.palette.primary?.active
|
|
569
597
|
},
|
|
570
598
|
"&::before": {
|
|
571
599
|
content: "''"
|
|
@@ -573,6 +601,7 @@ const c = (o) => ({
|
|
|
573
601
|
}
|
|
574
602
|
}
|
|
575
603
|
},
|
|
604
|
+
/* Variant text */
|
|
576
605
|
"&.M4LButton-variantText": {
|
|
577
606
|
"& .MuiButtonBase-root": {
|
|
578
607
|
color: o.vars.palette.text.primary,
|
|
@@ -580,24 +609,24 @@ const c = (o) => ({
|
|
|
580
609
|
backgroundColor: o.vars.palette.text.primary
|
|
581
610
|
},
|
|
582
611
|
"&:hover": {
|
|
583
|
-
backgroundColor: o.vars.palette.
|
|
584
|
-
color: o.vars.palette.
|
|
612
|
+
backgroundColor: o.vars.palette.primary?.activeOpacity,
|
|
613
|
+
color: o.vars.palette.primary?.hover,
|
|
585
614
|
"& .M4LIcon-icon": {
|
|
586
|
-
backgroundColor: o.vars.palette.
|
|
615
|
+
backgroundColor: o.vars.palette.primary?.hover
|
|
587
616
|
}
|
|
588
617
|
},
|
|
589
618
|
"&:active": {
|
|
590
619
|
backgroundColor: "transparent",
|
|
591
|
-
color: o.vars.palette.
|
|
620
|
+
color: o.vars.palette.primary?.active,
|
|
592
621
|
"& .M4LIcon-icon": {
|
|
593
|
-
backgroundColor: o.vars.palette.
|
|
622
|
+
backgroundColor: o.vars.palette.primary?.active
|
|
594
623
|
}
|
|
595
624
|
},
|
|
596
625
|
"&.Mui-focusVisible": {
|
|
597
626
|
backgroundColor: "transparent",
|
|
598
|
-
color: o.vars.palette.
|
|
627
|
+
color: o.vars.palette.primary?.active,
|
|
599
628
|
"& .M4LIcon-icon": {
|
|
600
|
-
backgroundColor: o.vars.palette.
|
|
629
|
+
backgroundColor: o.vars.palette.primary?.active
|
|
601
630
|
},
|
|
602
631
|
"&:before": {
|
|
603
632
|
content: "''"
|
|
@@ -605,24 +634,29 @@ const c = (o) => ({
|
|
|
605
634
|
}
|
|
606
635
|
}
|
|
607
636
|
},
|
|
637
|
+
// Condiciones semánticas
|
|
638
|
+
// Error
|
|
608
639
|
"&.M4LButton-colorError": {
|
|
609
|
-
backgroundColor: `${o.vars.palette.
|
|
640
|
+
backgroundColor: `${o.vars.palette.error.main}`,
|
|
610
641
|
"&:hover": {
|
|
611
|
-
backgroundColor: `${o.vars.palette.
|
|
642
|
+
backgroundColor: `${o.vars.palette.error.hover}`
|
|
612
643
|
}
|
|
613
644
|
},
|
|
645
|
+
// Warning
|
|
614
646
|
"&.M4LButton-colorWarning": {
|
|
615
|
-
backgroundColor: `${o.vars.palette.
|
|
647
|
+
backgroundColor: `${o.vars.palette.warning.main}`,
|
|
616
648
|
"&:hover": {
|
|
617
|
-
backgroundColor: `${o.vars.palette.
|
|
649
|
+
backgroundColor: `${o.vars.palette.warning.hover}`
|
|
618
650
|
}
|
|
619
651
|
},
|
|
652
|
+
// Success
|
|
620
653
|
"&.M4LButton-colorSuccess": {
|
|
621
|
-
backgroundColor: `${o.vars.palette.
|
|
654
|
+
backgroundColor: `${o.vars.palette.success.main}`,
|
|
622
655
|
"&:hover": {
|
|
623
|
-
backgroundColor: `${o.vars.palette.
|
|
656
|
+
backgroundColor: `${o.vars.palette.success.hover}`
|
|
624
657
|
}
|
|
625
658
|
},
|
|
659
|
+
//TODO: Para cambiar
|
|
626
660
|
"&.M4LButton-togglePressed .MuiButtonBase-root": {
|
|
627
661
|
backgroundColor: "red!important",
|
|
628
662
|
prop1: 1
|
|
@@ -630,18 +664,18 @@ const c = (o) => ({
|
|
|
630
664
|
}
|
|
631
665
|
}
|
|
632
666
|
}
|
|
633
|
-
}),
|
|
667
|
+
}), u = (o) => ({
|
|
634
668
|
M4LNavLink: {
|
|
635
669
|
styleOverrides: {
|
|
636
|
-
|
|
670
|
+
"&.M4LNavLink-root": {
|
|
637
671
|
"& .M4LTypography-root": {
|
|
638
|
-
color: o.vars.palette.
|
|
672
|
+
color: o.vars.palette.primary.active
|
|
639
673
|
},
|
|
640
674
|
"&: hover": {
|
|
641
675
|
"& .M4LTypography-root": {
|
|
642
|
-
color: o.vars.palette.
|
|
676
|
+
color: o.vars.palette.primary?.hover,
|
|
643
677
|
textDecoration: "underline",
|
|
644
|
-
textDecorationColor: o.vars.palette.
|
|
678
|
+
textDecorationColor: o.vars.palette.primary?.hover
|
|
645
679
|
}
|
|
646
680
|
},
|
|
647
681
|
"& > a": {
|
|
@@ -650,17 +684,25 @@ const c = (o) => ({
|
|
|
650
684
|
}
|
|
651
685
|
}
|
|
652
686
|
}
|
|
653
|
-
}),
|
|
687
|
+
}), b = (o) => ({
|
|
654
688
|
M4LSideBar: {
|
|
655
689
|
styleOverrides: {
|
|
690
|
+
/* Estilos y funcionamiento general */
|
|
656
691
|
"&.M4LSideBar-root": {
|
|
657
|
-
"&.M4LSideBar-collapsed": {
|
|
692
|
+
"&.M4LSideBar-collapsed": {
|
|
693
|
+
/* '& .M4LSideBar-contentDesktop:not(.M4LSideBar-overlapping)': {
|
|
694
|
+
width: '0',
|
|
695
|
+
transition: 'all 0.2s',
|
|
696
|
+
} */
|
|
697
|
+
},
|
|
698
|
+
// Funcionamiento escritorio expandir y colapsar
|
|
658
699
|
"& .M4LSideBar-wrapperSideBar": {
|
|
659
700
|
height: "100%",
|
|
660
701
|
transition: "all 0.3s",
|
|
661
702
|
width: "240px",
|
|
662
703
|
"& .M4LSideBar-areaExpandMenu": {
|
|
663
704
|
position: "absolute",
|
|
705
|
+
// fixed
|
|
664
706
|
zIndex: "99999",
|
|
665
707
|
height: "100%",
|
|
666
708
|
transition: "all 0.3s",
|
|
@@ -671,6 +713,7 @@ const c = (o) => ({
|
|
|
671
713
|
height: "100%",
|
|
672
714
|
boxShadow: o.vars.customShadows?.z2,
|
|
673
715
|
transition: "all 0.3s",
|
|
716
|
+
/* padding: '0 8px', */
|
|
674
717
|
"& .M4LSideBar-containerContentGroupsFooter": {
|
|
675
718
|
flexGrow: "1",
|
|
676
719
|
display: "flex",
|
|
@@ -678,7 +721,7 @@ const c = (o) => ({
|
|
|
678
721
|
height: "100%",
|
|
679
722
|
position: "relative",
|
|
680
723
|
borderRight: "1px solid",
|
|
681
|
-
borderColor: o.vars.palette.
|
|
724
|
+
borderColor: o.vars.palette.border.primary,
|
|
682
725
|
backgroundColor: o.vars.palette.background.default,
|
|
683
726
|
"& .M4LSideBar-contentGroups": {
|
|
684
727
|
padding: "32px 12px",
|
|
@@ -687,7 +730,7 @@ const c = (o) => ({
|
|
|
687
730
|
padding: "8px",
|
|
688
731
|
borderTop: "1px solid",
|
|
689
732
|
borderBottom: "1px solid",
|
|
690
|
-
borderColor: o.vars.palette.
|
|
733
|
+
borderColor: o.vars.palette.border.secondary,
|
|
691
734
|
height: "fit-content",
|
|
692
735
|
width: "100%",
|
|
693
736
|
"& .M4LSideBar-navItemRootContent": {
|
|
@@ -703,7 +746,7 @@ const c = (o) => ({
|
|
|
703
746
|
display: "flex",
|
|
704
747
|
padding: "10px 5px",
|
|
705
748
|
borderTop: "1px solid",
|
|
706
|
-
borderColor: o.vars.palette.
|
|
749
|
+
borderColor: o.vars.palette.border.disabled,
|
|
707
750
|
justifyContent: "center",
|
|
708
751
|
gap: "24px",
|
|
709
752
|
alignItems: "center",
|
|
@@ -745,6 +788,7 @@ const c = (o) => ({
|
|
|
745
788
|
height: "20px"
|
|
746
789
|
}
|
|
747
790
|
},
|
|
791
|
+
/* Condición para visualizar el botón de colapsar en caso de estar en estado colapsado */
|
|
748
792
|
"&:hover": {
|
|
749
793
|
"& .M4LSideBar-collapseButton": {
|
|
750
794
|
opacity: "1!important",
|
|
@@ -761,6 +805,7 @@ const c = (o) => ({
|
|
|
761
805
|
boxShadow: o.vars.customShadows.z1,
|
|
762
806
|
zIndex: "1"
|
|
763
807
|
},
|
|
808
|
+
/* Condición para ocultar el botón de colapsar en estado expandido. */
|
|
764
809
|
"&:not(.M4LSideBar-collapsed) .M4LSideBar-collapseButton": {
|
|
765
810
|
opacity: 0,
|
|
766
811
|
transition: "all 0.3s"
|
|
@@ -768,7 +813,7 @@ const c = (o) => ({
|
|
|
768
813
|
"& .M4LSideBar-subItemActive": {
|
|
769
814
|
padding: "0px",
|
|
770
815
|
"& .M4LIcon-icon": {
|
|
771
|
-
backgroundColor: `${o.vars.palette.
|
|
816
|
+
backgroundColor: `${o.vars.palette.primary.focus} !important`
|
|
772
817
|
}
|
|
773
818
|
},
|
|
774
819
|
"&.M4LSideBar-collapsed": {
|
|
@@ -871,13 +916,14 @@ const c = (o) => ({
|
|
|
871
916
|
justifyContent: "flex-start",
|
|
872
917
|
flexDirection: "column",
|
|
873
918
|
gap: "4px",
|
|
919
|
+
//paddingBottom: '4px',
|
|
874
920
|
height: "auto",
|
|
875
921
|
marginBottom: "2px",
|
|
876
922
|
"& .M4LSideBar-navItemMainRoot": {
|
|
877
923
|
backgroundColor: "transparent",
|
|
878
924
|
borderRadius: "4px",
|
|
879
925
|
"&:hover": {
|
|
880
|
-
background: o.vars.palette.
|
|
926
|
+
background: o.vars.palette.background.hover,
|
|
881
927
|
cursor: "pointer"
|
|
882
928
|
}
|
|
883
929
|
},
|
|
@@ -886,15 +932,16 @@ const c = (o) => ({
|
|
|
886
932
|
height: "auto",
|
|
887
933
|
overflow: "hidden",
|
|
888
934
|
"& .M4LSideBar-navItemMainRoot": {
|
|
889
|
-
background: o.vars.palette.
|
|
935
|
+
background: o.vars.palette.primary.activeOpacity,
|
|
890
936
|
border: "1px solid",
|
|
891
|
-
borderColor: o.vars.palette.
|
|
937
|
+
borderColor: o.vars.palette.primary.activeOpacity,
|
|
892
938
|
boxShadow: o.shadows[1],
|
|
893
939
|
"&:hover": {
|
|
894
|
-
background:
|
|
895
|
-
o.colorSchemes.finalTheme.palette.
|
|
940
|
+
background: r(
|
|
941
|
+
o.colorSchemes.finalTheme.palette.primary.active || "#fff",
|
|
896
942
|
0.24
|
|
897
943
|
),
|
|
944
|
+
// Validar implementación desde la creación del tema.
|
|
898
945
|
cursor: "pointer"
|
|
899
946
|
}
|
|
900
947
|
},
|
|
@@ -902,21 +949,21 @@ const c = (o) => ({
|
|
|
902
949
|
"& .M4LSideBar-navItemRootContentIconTypo": {
|
|
903
950
|
alignItems: "center",
|
|
904
951
|
"& .M4LIcon-icon": {
|
|
905
|
-
backgroundColor: o.vars.palette.
|
|
952
|
+
backgroundColor: o.vars.palette.primary.focus
|
|
906
953
|
},
|
|
907
954
|
"& .M4LTypography-root": {
|
|
908
955
|
"& .MuiTypography-root": {
|
|
909
|
-
color: o.vars.palette.
|
|
956
|
+
color: o.vars.palette.primary.focus
|
|
910
957
|
}
|
|
911
958
|
},
|
|
912
959
|
"& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
|
|
913
|
-
backgroundColor: o.vars.palette.
|
|
960
|
+
backgroundColor: o.vars.palette.primary.focus
|
|
914
961
|
}
|
|
915
962
|
},
|
|
916
963
|
"& .M4LSideBar-arrowIconRoot": {
|
|
917
964
|
"& .M4LIcon-root": {
|
|
918
965
|
"& .M4LIcon-icon": {
|
|
919
|
-
backgroundColor: o.vars.palette.
|
|
966
|
+
backgroundColor: o.vars.palette.primary.focus
|
|
920
967
|
}
|
|
921
968
|
}
|
|
922
969
|
},
|
|
@@ -924,10 +971,11 @@ const c = (o) => ({
|
|
|
924
971
|
content: '""',
|
|
925
972
|
width: "3px",
|
|
926
973
|
height: "50%",
|
|
974
|
+
//revisar
|
|
927
975
|
top: "25%",
|
|
928
976
|
bottom: "25%",
|
|
929
977
|
left: "0px",
|
|
930
|
-
backgroundColor: o.vars.palette.
|
|
978
|
+
backgroundColor: o.vars.palette.primary.focus,
|
|
931
979
|
borderRadius: "0px 4px 4px 0px",
|
|
932
980
|
position: "absolute"
|
|
933
981
|
}
|
|
@@ -985,15 +1033,15 @@ const c = (o) => ({
|
|
|
985
1033
|
borderRadius: "4px",
|
|
986
1034
|
gap: "8px",
|
|
987
1035
|
"&.M4LSideBar-subItemCollapseActive": {
|
|
988
|
-
backgroundColor: o.vars.palette.
|
|
1036
|
+
backgroundColor: o.vars.palette.primary.activeOpacity,
|
|
989
1037
|
gap: "8px",
|
|
990
1038
|
border: "1px solid",
|
|
991
|
-
borderColor: o.vars.palette.
|
|
1039
|
+
borderColor: o.vars.palette.primary.activeOpacity,
|
|
992
1040
|
"& .MuiButtonBase-root": {
|
|
993
1041
|
padding: "0px",
|
|
994
1042
|
"& .M4LIcon-root": {
|
|
995
1043
|
"& .M4LIcon-icon": {
|
|
996
|
-
backgroundColor: o.vars.palette.
|
|
1044
|
+
backgroundColor: o.vars.palette.primary.focus
|
|
997
1045
|
}
|
|
998
1046
|
}
|
|
999
1047
|
}
|
|
@@ -1011,18 +1059,20 @@ const c = (o) => ({
|
|
|
1011
1059
|
"& .M4LSideBar-navSubItemContentBullet": {
|
|
1012
1060
|
height: "14px",
|
|
1013
1061
|
borderRadius: "4px",
|
|
1014
|
-
backgroundColor: o.vars.palette.
|
|
1062
|
+
backgroundColor: o.vars.palette.primary.focus,
|
|
1015
1063
|
gap: "8px"
|
|
1016
1064
|
}
|
|
1017
1065
|
},
|
|
1018
1066
|
"&:hover": {
|
|
1019
|
-
background: o.vars.palette.
|
|
1067
|
+
background: o.vars.palette.background.default,
|
|
1068
|
+
// Validar implementación desde la creación del tema.
|
|
1020
1069
|
padding: "0 8px"
|
|
1021
1070
|
}
|
|
1022
1071
|
},
|
|
1023
1072
|
"& .M4LSideBar-navSubItemContentRoot": {
|
|
1024
1073
|
gap: "8px",
|
|
1025
1074
|
margin: "0px 0px 0px 0px",
|
|
1075
|
+
//padding: '16px',
|
|
1026
1076
|
"& .M4LSideBar-navSubItemContentBullet": {
|
|
1027
1077
|
minWidth: "5px",
|
|
1028
1078
|
minHeight: "5px",
|
|
@@ -1043,9 +1093,9 @@ const c = (o) => ({
|
|
|
1043
1093
|
},
|
|
1044
1094
|
"&.M4LSideBar-subItemActive.M4LSideBar-navSubItemContentRoot": {
|
|
1045
1095
|
"& .M4LTypography-root": {
|
|
1046
|
-
color: o.vars.palette.
|
|
1096
|
+
color: o.vars.palette.primary.focus,
|
|
1047
1097
|
"& .MuiTypography-root": {
|
|
1048
|
-
color: o.vars.palette.
|
|
1098
|
+
color: o.vars.palette.primary.focus
|
|
1049
1099
|
}
|
|
1050
1100
|
}
|
|
1051
1101
|
}
|
|
@@ -1074,9 +1124,10 @@ const c = (o) => ({
|
|
|
1074
1124
|
}
|
|
1075
1125
|
},
|
|
1076
1126
|
"&.M4LSideBar-root.M4LSideBar-variantComercial": {
|
|
1127
|
+
//boxShadow: theme.customShadows?.z2,
|
|
1077
1128
|
"& .M4LSideBar-subItemActive": {
|
|
1078
1129
|
"& .M4LIcon-icon": {
|
|
1079
|
-
backgroundColor: `${o.vars.palette.
|
|
1130
|
+
backgroundColor: `${o.vars.palette.primary.focus} !important`
|
|
1080
1131
|
}
|
|
1081
1132
|
},
|
|
1082
1133
|
"&.M4LSideBar-collapsed": {
|
|
@@ -1176,43 +1227,44 @@ const c = (o) => ({
|
|
|
1176
1227
|
backgroundColor: "transparent",
|
|
1177
1228
|
borderRadius: "4px",
|
|
1178
1229
|
"&:hover": {
|
|
1179
|
-
background: o.vars.palette.
|
|
1230
|
+
background: o.vars.palette.background.hover,
|
|
1180
1231
|
cursor: "pointer"
|
|
1181
1232
|
}
|
|
1182
1233
|
},
|
|
1183
1234
|
"&.M4LSideBar-itemMainActive": {
|
|
1184
|
-
background: o.vars.palette.
|
|
1235
|
+
background: o.vars.palette.primary.activeOpacity,
|
|
1185
1236
|
borderRadius: "4px",
|
|
1186
1237
|
border: "1px solid",
|
|
1187
|
-
borderColor: o.vars.palette.
|
|
1238
|
+
borderColor: o.vars.palette.border.disabled,
|
|
1188
1239
|
"& .M4LSideBar-navItemMainRoot": {
|
|
1189
|
-
background: o.vars.palette.
|
|
1240
|
+
background: o.vars.palette.primary.activeOpacity,
|
|
1190
1241
|
"&:hover": {
|
|
1191
|
-
background:
|
|
1192
|
-
o.colorSchemes.finalTheme.palette.
|
|
1242
|
+
background: r(
|
|
1243
|
+
o.colorSchemes.finalTheme.palette.primary.active || "#fff",
|
|
1193
1244
|
0.24
|
|
1194
1245
|
),
|
|
1246
|
+
// Validar implementación desde la creación del tema.
|
|
1195
1247
|
cursor: "pointer"
|
|
1196
1248
|
}
|
|
1197
1249
|
},
|
|
1198
1250
|
"& .M4LSideBar-navItemRootContent": {
|
|
1199
1251
|
"& .M4LSideBar-navItemRootContentIconTypo": {
|
|
1200
1252
|
"& .M4LIcon-icon": {
|
|
1201
|
-
backgroundColor: o.vars.palette.
|
|
1253
|
+
backgroundColor: o.vars.palette.primary.focus
|
|
1202
1254
|
},
|
|
1203
1255
|
"& .M4LTypography-root": {
|
|
1204
1256
|
"& .MuiTypography-root": {
|
|
1205
|
-
color: o.vars.palette.
|
|
1257
|
+
color: o.vars.palette.primary.focus
|
|
1206
1258
|
}
|
|
1207
1259
|
},
|
|
1208
1260
|
"& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
|
|
1209
|
-
backgroundColor: o.vars.palette.
|
|
1261
|
+
backgroundColor: o.vars.palette.primary.focus
|
|
1210
1262
|
}
|
|
1211
1263
|
},
|
|
1212
1264
|
"& .M4LSideBar-arrowIconRoot": {
|
|
1213
1265
|
"& .M4LIcon-root": {
|
|
1214
1266
|
"& .M4LIcon-icon": {
|
|
1215
|
-
backgroundColor: o.vars.palette.
|
|
1267
|
+
backgroundColor: o.vars.palette.primary.focus
|
|
1216
1268
|
}
|
|
1217
1269
|
}
|
|
1218
1270
|
},
|
|
@@ -1222,7 +1274,7 @@ const c = (o) => ({
|
|
|
1222
1274
|
top: "0px",
|
|
1223
1275
|
bottom: "0px",
|
|
1224
1276
|
right: "0px",
|
|
1225
|
-
backgroundColor: o.vars.palette.
|
|
1277
|
+
backgroundColor: o.vars.palette.primary.focus,
|
|
1226
1278
|
borderRadius: "4px 0px 0px 4px",
|
|
1227
1279
|
position: "absolute"
|
|
1228
1280
|
}
|
|
@@ -1280,14 +1332,14 @@ const c = (o) => ({
|
|
|
1280
1332
|
borderRadius: "4px",
|
|
1281
1333
|
gap: "8px",
|
|
1282
1334
|
"&.M4LSideBar-subItemCollapseActive": {
|
|
1283
|
-
backgroundColor: o.vars.palette.
|
|
1335
|
+
backgroundColor: o.vars.palette.primary.activeOpacity,
|
|
1284
1336
|
gap: "8px",
|
|
1285
1337
|
"& .MuiButtonBase-root": {
|
|
1286
1338
|
paddingLeft: "0",
|
|
1287
1339
|
padding: "0px",
|
|
1288
1340
|
"& .M4LIcon-root": {
|
|
1289
1341
|
"& .M4LIcon-icon": {
|
|
1290
|
-
backgroundColor: o.vars.palette.
|
|
1342
|
+
backgroundColor: o.vars.palette.primary.focus
|
|
1291
1343
|
}
|
|
1292
1344
|
}
|
|
1293
1345
|
}
|
|
@@ -1298,20 +1350,21 @@ const c = (o) => ({
|
|
|
1298
1350
|
padding: "0px",
|
|
1299
1351
|
"& .M4LIcon-root": {
|
|
1300
1352
|
"& .M4LIcon-icon": {
|
|
1301
|
-
backgroundColor: `${o.vars.palette.
|
|
1353
|
+
backgroundColor: `${o.vars.palette.primary.focus} !important`
|
|
1302
1354
|
}
|
|
1303
1355
|
}
|
|
1304
1356
|
},
|
|
1305
1357
|
"& .M4LSideBar-navSubItemContentBullet": {
|
|
1306
1358
|
height: "14px",
|
|
1307
1359
|
borderRadius: "4px",
|
|
1308
|
-
backgroundColor: o.vars.palette.
|
|
1360
|
+
backgroundColor: o.vars.palette.primary.focus,
|
|
1309
1361
|
gap: "8px"
|
|
1310
1362
|
}
|
|
1311
1363
|
},
|
|
1312
1364
|
"&:hover": {
|
|
1313
1365
|
padding: "0 8px",
|
|
1314
|
-
background: o.vars.palette.
|
|
1366
|
+
background: o.vars.palette.background.default
|
|
1367
|
+
// Validar implementación desde la creación del tema.
|
|
1315
1368
|
}
|
|
1316
1369
|
},
|
|
1317
1370
|
"& .M4LSideBar-navSubItemContentRoot": {
|
|
@@ -1371,7 +1424,7 @@ const c = (o) => ({
|
|
|
1371
1424
|
"&.M4LSideBar-popover.M4LSideBar-variantDefault": {
|
|
1372
1425
|
"& .M4LSideBar-subItemActive": {
|
|
1373
1426
|
"& .M4LIcon-icon": {
|
|
1374
|
-
backgroundColor: `${o.vars.palette.
|
|
1427
|
+
backgroundColor: `${o.vars.palette.primary.focus} !important`
|
|
1375
1428
|
}
|
|
1376
1429
|
},
|
|
1377
1430
|
"& .M4LSideBar-navListSubItemRoot": {
|
|
@@ -1383,7 +1436,7 @@ const c = (o) => ({
|
|
|
1383
1436
|
height: "fit-content",
|
|
1384
1437
|
borderRadius: "4px",
|
|
1385
1438
|
"&.M4LSideBar-subItemCollapseActive": {
|
|
1386
|
-
backgroundColor: o.vars.palette.
|
|
1439
|
+
backgroundColor: o.vars.palette.primary.activeOpacity
|
|
1387
1440
|
},
|
|
1388
1441
|
"& .M4LTypography-root": {
|
|
1389
1442
|
display: "flex",
|
|
@@ -1397,6 +1450,7 @@ const c = (o) => ({
|
|
|
1397
1450
|
textWrap: "nowrap"
|
|
1398
1451
|
}
|
|
1399
1452
|
},
|
|
1453
|
+
// subitems en sidebar colapsado
|
|
1400
1454
|
"& .MuiPaper-root": {
|
|
1401
1455
|
"& .M4LSideBar-navListSubItemRoot": {
|
|
1402
1456
|
"& .M4LSideBar-subItemActive": {
|
|
@@ -1404,7 +1458,7 @@ const c = (o) => ({
|
|
|
1404
1458
|
padding: "0px",
|
|
1405
1459
|
"& .M4LIcon-root": {
|
|
1406
1460
|
"& .M4LIcon-icon": {
|
|
1407
|
-
backgroundColor: o.vars.palette.
|
|
1461
|
+
backgroundColor: o.vars.palette.primary.focus
|
|
1408
1462
|
}
|
|
1409
1463
|
}
|
|
1410
1464
|
}
|
|
@@ -1417,14 +1471,14 @@ const c = (o) => ({
|
|
|
1417
1471
|
padding: "0px",
|
|
1418
1472
|
"& .M4LIcon-root": {
|
|
1419
1473
|
"& .M4LIcon-icon": {
|
|
1420
|
-
backgroundColor: `${o.vars.palette.
|
|
1474
|
+
backgroundColor: `${o.vars.palette.primary.focus} !important`
|
|
1421
1475
|
}
|
|
1422
1476
|
}
|
|
1423
1477
|
},
|
|
1424
1478
|
"& .M4LSideBar-navSubItemContentBullet": {
|
|
1425
1479
|
height: "14px",
|
|
1426
1480
|
borderRadius: "10px",
|
|
1427
|
-
backgroundColor: o.vars.palette.
|
|
1481
|
+
backgroundColor: o.vars.palette.primary.focus
|
|
1428
1482
|
}
|
|
1429
1483
|
},
|
|
1430
1484
|
"& .M4LSideBar-navSubItemContentBullet": {
|
|
@@ -1435,7 +1489,8 @@ const c = (o) => ({
|
|
|
1435
1489
|
},
|
|
1436
1490
|
"&:hover": {
|
|
1437
1491
|
padding: "0 8px",
|
|
1438
|
-
background: o.vars.palette.
|
|
1492
|
+
background: o.vars.palette.background.default
|
|
1493
|
+
// Validar implementación desde la creación del tema.
|
|
1439
1494
|
}
|
|
1440
1495
|
}
|
|
1441
1496
|
}
|
|
@@ -1443,7 +1498,7 @@ const c = (o) => ({
|
|
|
1443
1498
|
"&.M4LSideBar-popover.M4LSideBar-variantComercial": {
|
|
1444
1499
|
"& .M4LSideBar-subItemActive": {
|
|
1445
1500
|
"& .M4LIcon-icon": {
|
|
1446
|
-
backgroundColor: `${o.vars.palette.
|
|
1501
|
+
backgroundColor: `${o.vars.palette.primary.focus} !important`
|
|
1447
1502
|
}
|
|
1448
1503
|
},
|
|
1449
1504
|
"& .M4LSideBar-navListSubItemRoot": {
|
|
@@ -1455,7 +1510,7 @@ const c = (o) => ({
|
|
|
1455
1510
|
height: "fit-content",
|
|
1456
1511
|
borderRadius: "4px",
|
|
1457
1512
|
"&.M4LSideBar-subItemCollapseActive": {
|
|
1458
|
-
backgroundColor: o.vars.palette.
|
|
1513
|
+
backgroundColor: o.vars.palette.primary.activeOpacity,
|
|
1459
1514
|
Text: "iufbivecf"
|
|
1460
1515
|
},
|
|
1461
1516
|
"& .M4LTypography-root": {
|
|
@@ -1470,6 +1525,7 @@ const c = (o) => ({
|
|
|
1470
1525
|
textWrap: "nowrap"
|
|
1471
1526
|
}
|
|
1472
1527
|
},
|
|
1528
|
+
// subitems en sidebar colapsado
|
|
1473
1529
|
"& .MuiPaper-root": {
|
|
1474
1530
|
"& .M4LSideBar-navListSubItemRoot": {
|
|
1475
1531
|
"& .M4LSideBar-subItemActive": {
|
|
@@ -1477,7 +1533,7 @@ const c = (o) => ({
|
|
|
1477
1533
|
padding: "0px",
|
|
1478
1534
|
"& .M4LIcon-root": {
|
|
1479
1535
|
"& .M4LIcon-icon": {
|
|
1480
|
-
backgroundColor: o.vars.palette.
|
|
1536
|
+
backgroundColor: o.vars.palette.primary.focus
|
|
1481
1537
|
}
|
|
1482
1538
|
}
|
|
1483
1539
|
}
|
|
@@ -1490,14 +1546,14 @@ const c = (o) => ({
|
|
|
1490
1546
|
padding: "0px",
|
|
1491
1547
|
"& .M4LIcon-root": {
|
|
1492
1548
|
"& .M4LIcon-icon": {
|
|
1493
|
-
backgroundColor: `${o.vars.palette.
|
|
1549
|
+
backgroundColor: `${o.vars.palette.primary.focus} !important`
|
|
1494
1550
|
}
|
|
1495
1551
|
}
|
|
1496
1552
|
},
|
|
1497
1553
|
"& .M4LSideBar-navSubItemContentBullet": {
|
|
1498
1554
|
height: "14px",
|
|
1499
1555
|
borderRadius: "10px",
|
|
1500
|
-
backgroundColor: o.vars.palette.
|
|
1556
|
+
backgroundColor: o.vars.palette.primary.focus
|
|
1501
1557
|
}
|
|
1502
1558
|
},
|
|
1503
1559
|
"& .M4LSideBar-navSubItemContentBullet": {
|
|
@@ -1508,24 +1564,26 @@ const c = (o) => ({
|
|
|
1508
1564
|
},
|
|
1509
1565
|
"&:hover": {
|
|
1510
1566
|
padding: "0 8px",
|
|
1511
|
-
background: o.vars.palette.
|
|
1567
|
+
background: o.vars.palette.background.default
|
|
1568
|
+
// Validar implementación desde la creación del tema.
|
|
1512
1569
|
}
|
|
1513
1570
|
}
|
|
1514
1571
|
}
|
|
1515
1572
|
}
|
|
1516
1573
|
}
|
|
1517
1574
|
},
|
|
1575
|
+
//Mobile
|
|
1518
1576
|
M4LSideBarDrawer: {
|
|
1519
1577
|
styleOverrides: {
|
|
1520
1578
|
"&.M4LSideBar-drawer": {
|
|
1521
1579
|
"&.M4LSideBar-variantDefault": {
|
|
1522
1580
|
"& .M4LSideBar-subItemActive": {
|
|
1523
1581
|
"& .M4LIcon-icon": {
|
|
1524
|
-
backgroundColor: `${o.vars.palette.
|
|
1582
|
+
backgroundColor: `${o.vars.palette.primary.focus} !important`
|
|
1525
1583
|
},
|
|
1526
1584
|
"& .M4LTypography-root": {
|
|
1527
1585
|
"& .MuiTypography-root": {
|
|
1528
|
-
color: `${o.vars.palette.
|
|
1586
|
+
color: `${o.vars.palette.primary.focus} !important`
|
|
1529
1587
|
}
|
|
1530
1588
|
}
|
|
1531
1589
|
},
|
|
@@ -1612,22 +1670,23 @@ const c = (o) => ({
|
|
|
1612
1670
|
backgroundColor: "transparent",
|
|
1613
1671
|
borderRadius: "4px",
|
|
1614
1672
|
"&:hover": {
|
|
1615
|
-
background: o.vars.palette.
|
|
1673
|
+
background: o.vars.palette.background.hover,
|
|
1616
1674
|
cursor: "pointer"
|
|
1617
1675
|
}
|
|
1618
1676
|
},
|
|
1619
1677
|
"&.M4LSideBar-itemMainActive": {
|
|
1620
1678
|
borderRadius: "4px",
|
|
1621
|
-
background: o.vars.palette.
|
|
1679
|
+
background: o.vars.palette.primary.activeOpacity,
|
|
1622
1680
|
border: "1px solid",
|
|
1623
|
-
borderColor: o.vars.palette.
|
|
1681
|
+
borderColor: o.vars.palette.primary.activeOpacity,
|
|
1624
1682
|
"& .M4LSideBar-navItemMainRoot": {
|
|
1625
|
-
background: o.vars.palette.
|
|
1683
|
+
background: o.vars.palette.primary.active,
|
|
1626
1684
|
"&:hover": {
|
|
1627
|
-
background:
|
|
1628
|
-
o.colorSchemes.finalTheme.palette.
|
|
1685
|
+
background: r(
|
|
1686
|
+
o.colorSchemes.finalTheme.palette.primary.active || "#fff",
|
|
1629
1687
|
0.24
|
|
1630
1688
|
),
|
|
1689
|
+
// Validar implementación desde la creación del tema.
|
|
1631
1690
|
cursor: "pointer"
|
|
1632
1691
|
}
|
|
1633
1692
|
},
|
|
@@ -1635,21 +1694,21 @@ const c = (o) => ({
|
|
|
1635
1694
|
"& .M4LSideBar-navItemRootContentIconTypo": {
|
|
1636
1695
|
alignItems: "center",
|
|
1637
1696
|
"& .M4LIcon-icon": {
|
|
1638
|
-
backgroundColor: o.vars.palette.
|
|
1697
|
+
backgroundColor: o.vars.palette.primary.focus
|
|
1639
1698
|
},
|
|
1640
1699
|
"& .M4LTypography-root": {
|
|
1641
1700
|
"& .MuiTypography-root": {
|
|
1642
|
-
color: o.vars.palette.
|
|
1701
|
+
color: o.vars.palette.primary.focus
|
|
1643
1702
|
}
|
|
1644
1703
|
},
|
|
1645
1704
|
"& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
|
|
1646
|
-
backgroundColor: o.vars.palette.
|
|
1705
|
+
backgroundColor: o.vars.palette.primary.focus
|
|
1647
1706
|
}
|
|
1648
1707
|
},
|
|
1649
1708
|
"& .M4LSideBar-arrowIconRoot": {
|
|
1650
1709
|
"& .M4LIcon-root": {
|
|
1651
1710
|
"& .M4LIcon-icon": {
|
|
1652
|
-
backgroundColor: o.vars.palette.
|
|
1711
|
+
backgroundColor: o.vars.palette.primary.focus
|
|
1653
1712
|
}
|
|
1654
1713
|
}
|
|
1655
1714
|
},
|
|
@@ -1659,7 +1718,7 @@ const c = (o) => ({
|
|
|
1659
1718
|
top: "0px",
|
|
1660
1719
|
bottom: "0px",
|
|
1661
1720
|
left: "0px",
|
|
1662
|
-
backgroundColor: o.vars.palette.
|
|
1721
|
+
backgroundColor: o.vars.palette.primary.focus,
|
|
1663
1722
|
borderRadius: "4px 0px 0px 4px",
|
|
1664
1723
|
position: "absolute"
|
|
1665
1724
|
}
|
|
@@ -1718,14 +1777,14 @@ const c = (o) => ({
|
|
|
1718
1777
|
gap: "8px",
|
|
1719
1778
|
padding: "0px",
|
|
1720
1779
|
"&.M4LSideBar-subItemCollapseActive": {
|
|
1721
|
-
backgroundColor: o.vars.palette.
|
|
1780
|
+
backgroundColor: o.vars.palette.primary.activeOpacity,
|
|
1722
1781
|
gap: "8px",
|
|
1723
1782
|
padding: "0px",
|
|
1724
1783
|
"& .MuiButtonBase-root": {
|
|
1725
1784
|
padding: "0px",
|
|
1726
1785
|
"& .M4LIcon-root": {
|
|
1727
1786
|
"& .M4LIcon-icon": {
|
|
1728
|
-
backgroundColor: o.vars.palette.
|
|
1787
|
+
backgroundColor: o.vars.palette.primary.focus
|
|
1729
1788
|
}
|
|
1730
1789
|
}
|
|
1731
1790
|
}
|
|
@@ -1735,20 +1794,21 @@ const c = (o) => ({
|
|
|
1735
1794
|
padding: "0px",
|
|
1736
1795
|
"& .M4LIcon-root": {
|
|
1737
1796
|
"& .M4LIcon-icon": {
|
|
1738
|
-
backgroundColor: `${o.vars.palette.
|
|
1797
|
+
backgroundColor: `${o.vars.palette.primary.focus} !important`
|
|
1739
1798
|
}
|
|
1740
1799
|
}
|
|
1741
1800
|
},
|
|
1742
1801
|
"& .M4LSideBar-navSubItemContentBullet": {
|
|
1743
1802
|
height: "14px",
|
|
1744
1803
|
borderRadius: "4px",
|
|
1745
|
-
backgroundColor: o.vars.palette.
|
|
1804
|
+
backgroundColor: o.vars.palette.primary.focus,
|
|
1746
1805
|
gap: "8px"
|
|
1747
1806
|
}
|
|
1748
1807
|
},
|
|
1749
1808
|
"&:hover": {
|
|
1750
1809
|
padding: "0 8px",
|
|
1751
|
-
background: o.vars.palette.
|
|
1810
|
+
background: o.vars.palette.background.default
|
|
1811
|
+
// Validar implementación desde la creación del tema.
|
|
1752
1812
|
}
|
|
1753
1813
|
},
|
|
1754
1814
|
"& .M4LSideBar-navSubItemContentRoot": {
|
|
@@ -1810,6 +1870,11 @@ const c = (o) => ({
|
|
|
1810
1870
|
}
|
|
1811
1871
|
},
|
|
1812
1872
|
"&.M4LSideBar-variantComercial": {
|
|
1873
|
+
/* '& .MuiBackdrop-root': {
|
|
1874
|
+
background: 'transparent',
|
|
1875
|
+
backgroundColor: `rgba(0, 0, 0, 0.5) !important`,
|
|
1876
|
+
transition: 'transform 225ms cubic-bezier(0, 0, 0.2, 1) 0ms',
|
|
1877
|
+
}, */
|
|
1813
1878
|
"& .M4LSideBar-contentMobile": {
|
|
1814
1879
|
width: "100%",
|
|
1815
1880
|
height: "100%",
|
|
@@ -1888,22 +1953,23 @@ const c = (o) => ({
|
|
|
1888
1953
|
backgroundColor: "transparent",
|
|
1889
1954
|
borderRadius: "4px",
|
|
1890
1955
|
"&:hover": {
|
|
1891
|
-
background: o.vars.palette.
|
|
1956
|
+
background: o.vars.palette.background.hover,
|
|
1892
1957
|
cursor: "pointer"
|
|
1893
1958
|
}
|
|
1894
1959
|
},
|
|
1895
1960
|
"&.M4LSideBar-itemMainActive": {
|
|
1896
1961
|
borderRadius: "4px",
|
|
1897
|
-
background: o.vars.palette.
|
|
1962
|
+
background: o.vars.palette.primary.activeOpacity,
|
|
1898
1963
|
border: "1px solid",
|
|
1899
|
-
borderColor: o.vars.palette.
|
|
1964
|
+
borderColor: o.vars.palette.primary.activeOpacity,
|
|
1900
1965
|
"& .M4LSideBar-navItemMainRoot": {
|
|
1901
|
-
background: o.vars.palette.
|
|
1966
|
+
background: o.vars.palette.primary.activeOpacity,
|
|
1902
1967
|
"&:hover": {
|
|
1903
|
-
background:
|
|
1904
|
-
o.colorSchemes.finalTheme.palette.
|
|
1968
|
+
background: r(
|
|
1969
|
+
o.colorSchemes.finalTheme.palette.primary.active || "#fff",
|
|
1905
1970
|
0.24
|
|
1906
1971
|
),
|
|
1972
|
+
// Validar implementación desde la creación del tema.
|
|
1907
1973
|
cursor: "pointer"
|
|
1908
1974
|
}
|
|
1909
1975
|
},
|
|
@@ -1911,21 +1977,21 @@ const c = (o) => ({
|
|
|
1911
1977
|
"& .M4LSideBar-navItemRootContentIconTypo": {
|
|
1912
1978
|
fontSize: "14px !important",
|
|
1913
1979
|
"& .M4LIcon-icon": {
|
|
1914
|
-
backgroundColor: o.vars.palette.
|
|
1980
|
+
backgroundColor: o.vars.palette.primary.focus
|
|
1915
1981
|
},
|
|
1916
1982
|
"& .M4LTypography-root": {
|
|
1917
1983
|
"& .MuiTypography-root": {
|
|
1918
|
-
color: o.vars.palette.
|
|
1984
|
+
color: o.vars.palette.primary.focus
|
|
1919
1985
|
}
|
|
1920
1986
|
},
|
|
1921
1987
|
"& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
|
|
1922
|
-
backgroundColor: o.vars.palette.
|
|
1988
|
+
backgroundColor: o.vars.palette.primary.focus
|
|
1923
1989
|
}
|
|
1924
1990
|
},
|
|
1925
1991
|
"& .M4LSideBar-arrowIconRoot": {
|
|
1926
1992
|
"& .M4LIcon-root": {
|
|
1927
1993
|
"& .M4LIcon-icon": {
|
|
1928
|
-
backgroundColor: o.vars.palette.
|
|
1994
|
+
backgroundColor: o.vars.palette.primary.focus
|
|
1929
1995
|
}
|
|
1930
1996
|
}
|
|
1931
1997
|
},
|
|
@@ -1935,7 +2001,7 @@ const c = (o) => ({
|
|
|
1935
2001
|
top: "0px",
|
|
1936
2002
|
bottom: "0px",
|
|
1937
2003
|
right: "0px",
|
|
1938
|
-
backgroundColor: o.vars.palette.
|
|
2004
|
+
backgroundColor: o.vars.palette.primary.focus,
|
|
1939
2005
|
borderRadius: "4px 0px 0px 4px",
|
|
1940
2006
|
position: "absolute"
|
|
1941
2007
|
}
|
|
@@ -1995,13 +2061,13 @@ const c = (o) => ({
|
|
|
1995
2061
|
gap: "8px",
|
|
1996
2062
|
padding: "0px",
|
|
1997
2063
|
"&.M4LSideBar-subItemCollapseActive": {
|
|
1998
|
-
backgroundColor: o.vars.palette.
|
|
2064
|
+
backgroundColor: o.vars.palette.primary.activeOpacity,
|
|
1999
2065
|
gap: "8px",
|
|
2000
2066
|
"& .MuiButtonBase-root": {
|
|
2001
2067
|
padding: "0px",
|
|
2002
2068
|
"& .M4LIcon-root": {
|
|
2003
2069
|
"& .M4LIcon-icon": {
|
|
2004
|
-
backgroundColor: o.vars.palette.
|
|
2070
|
+
backgroundColor: o.vars.palette.primary.focus
|
|
2005
2071
|
}
|
|
2006
2072
|
}
|
|
2007
2073
|
}
|
|
@@ -2011,20 +2077,21 @@ const c = (o) => ({
|
|
|
2011
2077
|
padding: "0px",
|
|
2012
2078
|
"& .M4LIcon-root": {
|
|
2013
2079
|
"& .M4LIcon-icon": {
|
|
2014
|
-
backgroundColor: `${o.vars.palette.
|
|
2080
|
+
backgroundColor: `${o.vars.palette.primary.focus}!important`
|
|
2015
2081
|
}
|
|
2016
2082
|
}
|
|
2017
2083
|
},
|
|
2018
2084
|
"& .M4LSideBar-navSubItemContentBullet": {
|
|
2019
2085
|
height: "14px",
|
|
2020
2086
|
borderRadius: "4px",
|
|
2021
|
-
backgroundColor: o.vars.palette.
|
|
2087
|
+
backgroundColor: o.vars.palette.primary.focus,
|
|
2022
2088
|
gap: "8px"
|
|
2023
2089
|
}
|
|
2024
2090
|
},
|
|
2025
2091
|
"&:hover": {
|
|
2026
2092
|
padding: "0 8px",
|
|
2027
|
-
background: o.vars.palette.
|
|
2093
|
+
background: o.vars.palette.background.default
|
|
2094
|
+
// Validar implementación desde la creación del tema.
|
|
2028
2095
|
}
|
|
2029
2096
|
},
|
|
2030
2097
|
"& .M4LSideBar-navSubItemContentRoot": {
|
|
@@ -2055,9 +2122,16 @@ const c = (o) => ({
|
|
|
2055
2122
|
"& .MuiCollapse-root": {
|
|
2056
2123
|
marginLeft: "18px",
|
|
2057
2124
|
"&.M4LSideBar-drawer.M4LSideBar-variantComercial": {
|
|
2125
|
+
/* '& .MuiBackdrop-root': {
|
|
2126
|
+
'& .MuiModal-backdrop': {
|
|
2127
|
+
|
|
2128
|
+
backgroundColor: 'rgba(0, 0, 0, 0.5)',
|
|
2129
|
+
|
|
2130
|
+
}
|
|
2131
|
+
}, */
|
|
2058
2132
|
"& .M4LSideBar-subItemActive": {
|
|
2059
2133
|
"& .M4LIcon-icon": {
|
|
2060
|
-
backgroundColor: `${o.vars.palette.
|
|
2134
|
+
backgroundColor: `${o.vars.palette.primary.focus} !important`
|
|
2061
2135
|
}
|
|
2062
2136
|
},
|
|
2063
2137
|
"& .M4LSideBar-contentMobile": {
|
|
@@ -2138,43 +2212,44 @@ const c = (o) => ({
|
|
|
2138
2212
|
backgroundColor: "transparent",
|
|
2139
2213
|
borderRadius: "4px",
|
|
2140
2214
|
"&:hover": {
|
|
2141
|
-
background: o.vars.palette.
|
|
2215
|
+
background: o.vars.palette.background.hover,
|
|
2142
2216
|
cursor: "pointer"
|
|
2143
2217
|
}
|
|
2144
2218
|
},
|
|
2145
2219
|
"&.M4LSideBar-itemMainActive": {
|
|
2146
2220
|
borderRadius: "4px",
|
|
2147
|
-
background: o.vars.palette.
|
|
2221
|
+
background: o.vars.palette.primary.activeOpacity,
|
|
2148
2222
|
border: "1px solid",
|
|
2149
|
-
borderColor: o.vars.palette.
|
|
2223
|
+
borderColor: o.vars.palette.primary.activeOpacity,
|
|
2150
2224
|
"& .M4LSideBar-navItemMainRoot": {
|
|
2151
|
-
background: o.vars.palette.
|
|
2225
|
+
background: o.vars.palette.primary.activeOpacity,
|
|
2152
2226
|
"&:hover": {
|
|
2153
|
-
background:
|
|
2154
|
-
o.colorSchemes.finalTheme.palette.
|
|
2227
|
+
background: r(
|
|
2228
|
+
o.colorSchemes.finalTheme.palette.primary.active || "#fff",
|
|
2155
2229
|
0.24
|
|
2156
2230
|
),
|
|
2231
|
+
// Validar implementación desde la creación del tema.
|
|
2157
2232
|
cursor: "pointer"
|
|
2158
2233
|
}
|
|
2159
2234
|
},
|
|
2160
2235
|
"& .M4LSideBar-navItemRootContent": {
|
|
2161
2236
|
"& .M4LSideBar-navItemRootContentIconTypo": {
|
|
2162
2237
|
"& .M4LIcon-icon": {
|
|
2163
|
-
backgroundColor: o.vars.palette.
|
|
2238
|
+
backgroundColor: o.vars.palette.primary.focus
|
|
2164
2239
|
},
|
|
2165
2240
|
"& .M4LTypography-root": {
|
|
2166
2241
|
"& .MuiTypography-root": {
|
|
2167
|
-
color: o.vars.palette.
|
|
2242
|
+
color: o.vars.palette.primary.focus
|
|
2168
2243
|
}
|
|
2169
2244
|
},
|
|
2170
2245
|
"& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
|
|
2171
|
-
backgroundColor: o.vars.palette.
|
|
2246
|
+
backgroundColor: o.vars.palette.primary.focus
|
|
2172
2247
|
}
|
|
2173
2248
|
},
|
|
2174
2249
|
"& .M4LSideBar-arrowIconRoot": {
|
|
2175
2250
|
"& .M4LIcon-root": {
|
|
2176
2251
|
"& .M4LIcon-icon": {
|
|
2177
|
-
backgroundColor: o.vars.palette.
|
|
2252
|
+
backgroundColor: o.vars.palette.primary.focus
|
|
2178
2253
|
}
|
|
2179
2254
|
}
|
|
2180
2255
|
},
|
|
@@ -2184,7 +2259,7 @@ const c = (o) => ({
|
|
|
2184
2259
|
top: "0px",
|
|
2185
2260
|
bottom: "0px",
|
|
2186
2261
|
right: "0px",
|
|
2187
|
-
backgroundColor: o.vars.palette.
|
|
2262
|
+
backgroundColor: o.vars.palette.primary.focus,
|
|
2188
2263
|
borderRadius: "4px 0px 0px 4px",
|
|
2189
2264
|
position: "absolute"
|
|
2190
2265
|
}
|
|
@@ -2243,13 +2318,13 @@ const c = (o) => ({
|
|
|
2243
2318
|
gap: "8px",
|
|
2244
2319
|
padding: "0px",
|
|
2245
2320
|
"&.M4LSideBar-subItemCollapseActive": {
|
|
2246
|
-
backgroundColor: o.vars.palette.
|
|
2321
|
+
backgroundColor: o.vars.palette.primary.activeOpacity,
|
|
2247
2322
|
gap: "8px",
|
|
2248
2323
|
"& .MuiButtonBase-root": {
|
|
2249
2324
|
padding: "0px",
|
|
2250
2325
|
"& .M4LIcon-root": {
|
|
2251
2326
|
"& .M4LIcon-icon": {
|
|
2252
|
-
backgroundColor: o.vars.palette.
|
|
2327
|
+
backgroundColor: o.vars.palette.primary.focus
|
|
2253
2328
|
}
|
|
2254
2329
|
}
|
|
2255
2330
|
}
|
|
@@ -2259,19 +2334,20 @@ const c = (o) => ({
|
|
|
2259
2334
|
padding: "0px",
|
|
2260
2335
|
"& .M4LIcon-root": {
|
|
2261
2336
|
"& .M4LIcon-icon": {
|
|
2262
|
-
backgroundColor: `${o.vars.palette.
|
|
2337
|
+
backgroundColor: `${o.vars.palette.primary.focus} !important`
|
|
2263
2338
|
}
|
|
2264
2339
|
}
|
|
2265
2340
|
},
|
|
2266
2341
|
"& .M4LSideBar-navSubItemContentBullet": {
|
|
2267
2342
|
height: "14px",
|
|
2268
2343
|
borderRadius: "4px",
|
|
2269
|
-
backgroundColor: o.vars.palette.
|
|
2344
|
+
backgroundColor: o.vars.palette.primary.focus,
|
|
2270
2345
|
gap: "8px"
|
|
2271
2346
|
}
|
|
2272
2347
|
},
|
|
2273
2348
|
"&:hover": {
|
|
2274
|
-
background: o.vars.palette.
|
|
2349
|
+
background: o.vars.palette.background.default,
|
|
2350
|
+
// Validar implementación desde la creación del tema.
|
|
2275
2351
|
padding: "0 8px"
|
|
2276
2352
|
}
|
|
2277
2353
|
},
|
|
@@ -2352,7 +2428,7 @@ const c = (o) => ({
|
|
|
2352
2428
|
}
|
|
2353
2429
|
}
|
|
2354
2430
|
}
|
|
2355
|
-
}),
|
|
2431
|
+
}), M = (o) => ({
|
|
2356
2432
|
M4LAreasAdmin: {
|
|
2357
2433
|
styleOverrides: {
|
|
2358
2434
|
"&.M4LAreasAdmin-root": {
|
|
@@ -2361,15 +2437,18 @@ const c = (o) => ({
|
|
|
2361
2437
|
flexDirection: "row",
|
|
2362
2438
|
overflow: "hidden",
|
|
2363
2439
|
height: "auto",
|
|
2440
|
+
//borderRadius: '6px',
|
|
2364
2441
|
padding: "0px 12px",
|
|
2365
2442
|
alignItems: "center",
|
|
2366
2443
|
justifyContent: "space-between",
|
|
2367
2444
|
width: "100%",
|
|
2445
|
+
//maxWidth: '100%',
|
|
2368
2446
|
gap: "8px",
|
|
2369
2447
|
borderRight: "1px solid",
|
|
2370
2448
|
borderLeft: "1px solid",
|
|
2371
|
-
borderColor: o.vars.palette.
|
|
2449
|
+
borderColor: o.vars.palette.border.disabled,
|
|
2372
2450
|
[o.breakpoints.down("sm")]: {
|
|
2451
|
+
//boxShadow: theme.colorSchemes.finalTheme.customShadows.z1,
|
|
2373
2452
|
paddingRight: "0px",
|
|
2374
2453
|
width: "100%",
|
|
2375
2454
|
maxWidth: "100%",
|
|
@@ -2385,6 +2464,7 @@ const c = (o) => ({
|
|
|
2385
2464
|
display: "flex",
|
|
2386
2465
|
flexDirection: "row-reverse",
|
|
2387
2466
|
width: "100%",
|
|
2467
|
+
//maxWidth: '100%',
|
|
2388
2468
|
overflow: "auto",
|
|
2389
2469
|
justifyContent: "center",
|
|
2390
2470
|
alignItems: "center",
|
|
@@ -2413,7 +2493,7 @@ const c = (o) => ({
|
|
|
2413
2493
|
width: "8px",
|
|
2414
2494
|
maxWidth: "12px",
|
|
2415
2495
|
height: "6px",
|
|
2416
|
-
background: o.vars.palette.
|
|
2496
|
+
background: o.vars.palette.background.surface,
|
|
2417
2497
|
position: "absolute",
|
|
2418
2498
|
zIndex: "10000"
|
|
2419
2499
|
},
|
|
@@ -2423,6 +2503,7 @@ const c = (o) => ({
|
|
|
2423
2503
|
borderRadius: "4px",
|
|
2424
2504
|
zIndex: "10000"
|
|
2425
2505
|
},
|
|
2506
|
+
//Chips
|
|
2426
2507
|
"& .M4LAreasAdmin-areaContainerChipsIcon": {
|
|
2427
2508
|
flexGrow: "1",
|
|
2428
2509
|
display: "flex",
|
|
@@ -2430,14 +2511,14 @@ const c = (o) => ({
|
|
|
2430
2511
|
width: "100%",
|
|
2431
2512
|
overflow: "auto",
|
|
2432
2513
|
height: "36px",
|
|
2433
|
-
borderColor: o.vars.palette.
|
|
2514
|
+
borderColor: o.vars.palette.border.default,
|
|
2434
2515
|
[o.breakpoints.down("sm")]: {
|
|
2435
2516
|
background: "none",
|
|
2436
2517
|
borderRight: "none",
|
|
2437
2518
|
paddingLeft: "0px"
|
|
2438
2519
|
},
|
|
2439
2520
|
"& .M4LAreasAdmin-areaIconLayer": {
|
|
2440
|
-
background: o.vars.palette.background.
|
|
2521
|
+
background: o.vars.palette.background.main,
|
|
2441
2522
|
boxShadow: o.vars.customShadows.z2,
|
|
2442
2523
|
display: "flex",
|
|
2443
2524
|
justifyContent: "center",
|
|
@@ -2459,6 +2540,7 @@ const c = (o) => ({
|
|
|
2459
2540
|
paddingLeft: "0px",
|
|
2460
2541
|
paddingRight: "0px",
|
|
2461
2542
|
width: "100%",
|
|
2543
|
+
//maxWidth: '100%',
|
|
2462
2544
|
height: "auto",
|
|
2463
2545
|
alignItems: "center",
|
|
2464
2546
|
[o.breakpoints.down("sm")]: {
|
|
@@ -2470,6 +2552,7 @@ const c = (o) => ({
|
|
|
2470
2552
|
display: "flex",
|
|
2471
2553
|
flexDirection: "row",
|
|
2472
2554
|
width: "100%",
|
|
2555
|
+
//maxWidth: '100%',
|
|
2473
2556
|
height: "100%",
|
|
2474
2557
|
justifyContent: "space-between",
|
|
2475
2558
|
alignItems: "center",
|
|
@@ -2481,6 +2564,10 @@ const c = (o) => ({
|
|
|
2481
2564
|
borderColor: "transparent"
|
|
2482
2565
|
}
|
|
2483
2566
|
},
|
|
2567
|
+
/*'& .simplebar-mask .simplebar-offset ': {
|
|
2568
|
+
display: 'flex',
|
|
2569
|
+
alignItems: 'center',
|
|
2570
|
+
},*/
|
|
2484
2571
|
"& .M4LAreasAdmin-areaContentChips": {
|
|
2485
2572
|
display: "flex",
|
|
2486
2573
|
width: "fit-content",
|
|
@@ -2514,6 +2601,36 @@ const c = (o) => ({
|
|
|
2514
2601
|
}
|
|
2515
2602
|
}
|
|
2516
2603
|
},
|
|
2604
|
+
/*'& .simplebar-wrapper': {
|
|
2605
|
+
width: 'fit-content',
|
|
2606
|
+
maxWidth: '100%',
|
|
2607
|
+
[theme.breakpoints.down('sm')]: {
|
|
2608
|
+
width: '100%',
|
|
2609
|
+
},
|
|
2610
|
+
},
|
|
2611
|
+
|
|
2612
|
+
'& .simplebar-height-auto-observer-wrapper': {
|
|
2613
|
+
width: 'fit-content',
|
|
2614
|
+
maxWidth: '100%',
|
|
2615
|
+
overflow: 'auto',
|
|
2616
|
+
},
|
|
2617
|
+
|
|
2618
|
+
'& .simplebar-mask': {
|
|
2619
|
+
'& .simplebar-offset': {
|
|
2620
|
+
'& .simplebar-content-wrapper': {
|
|
2621
|
+
width: 'fit-content',
|
|
2622
|
+
maxWidth: '100%',
|
|
2623
|
+
overflow: 'auto',
|
|
2624
|
+
'& .simplebar-content': {
|
|
2625
|
+
width: 'fit-content',
|
|
2626
|
+
overflow: 'auto',
|
|
2627
|
+
},
|
|
2628
|
+
},
|
|
2629
|
+
},
|
|
2630
|
+
},*/
|
|
2631
|
+
/*'& .simplebar-content-wrapper': {
|
|
2632
|
+
width: 'fit-content',
|
|
2633
|
+
},*/
|
|
2517
2634
|
"& .M4LAreasAdmin-areaChipRoot ": {
|
|
2518
2635
|
margin: "0px",
|
|
2519
2636
|
borderRadius: "4px",
|
|
@@ -2522,7 +2639,7 @@ const c = (o) => ({
|
|
|
2522
2639
|
maxWidth: "100%",
|
|
2523
2640
|
cursor: "pointer",
|
|
2524
2641
|
"&:hover": {
|
|
2525
|
-
background: o.vars.palette.
|
|
2642
|
+
background: o.vars.palette.background.hover
|
|
2526
2643
|
},
|
|
2527
2644
|
[o.breakpoints.down("sm")]: {
|
|
2528
2645
|
background: "none",
|
|
@@ -2538,14 +2655,22 @@ const c = (o) => ({
|
|
|
2538
2655
|
minHeight: "12px"
|
|
2539
2656
|
}
|
|
2540
2657
|
}
|
|
2658
|
+
/*'& .M4LAreasAdmin-areaChipEditButton': {
|
|
2659
|
+
transition: 'all ease 0.3s',
|
|
2660
|
+
opacity: '0',
|
|
2661
|
+
},
|
|
2662
|
+
'&:hover .M4LAreasAdmin-areaChipEditButton': {
|
|
2663
|
+
transition: 'all ease 0.3s',
|
|
2664
|
+
opacity: '1',
|
|
2665
|
+
},*/
|
|
2541
2666
|
},
|
|
2542
2667
|
"& .M4LAreasAdmin-areaChipMobileRoot": {
|
|
2543
2668
|
display: "flex",
|
|
2544
2669
|
overflow: "hidden",
|
|
2545
2670
|
width: "100%",
|
|
2546
|
-
backgroundColor: o.vars.palette.
|
|
2671
|
+
backgroundColor: o.vars.palette.background.surface,
|
|
2547
2672
|
borderTop: "1.5px solid",
|
|
2548
|
-
borderColor: o.vars.palette.
|
|
2673
|
+
borderColor: o.vars.palette.border.default,
|
|
2549
2674
|
borderRadius: "4px",
|
|
2550
2675
|
[o.breakpoints.down("sm")]: {
|
|
2551
2676
|
backgroundColor: o.vars.palette.background.default,
|
|
@@ -2584,10 +2709,13 @@ const c = (o) => ({
|
|
|
2584
2709
|
"& .M4LIconButton-root": {
|
|
2585
2710
|
background: "transparent",
|
|
2586
2711
|
backgroundColor: "transparent",
|
|
2712
|
+
//height: '100%',
|
|
2587
2713
|
"&:hover": {
|
|
2588
|
-
background: o.vars.palette.
|
|
2714
|
+
background: o.vars.palette.primary.activeOpacity
|
|
2589
2715
|
},
|
|
2590
|
-
"& .M4LIcon-icon": {
|
|
2716
|
+
"& .M4LIcon-icon": {
|
|
2717
|
+
//backgroundColor:
|
|
2718
|
+
}
|
|
2591
2719
|
}
|
|
2592
2720
|
},
|
|
2593
2721
|
"& .MuiBox-root": {
|
|
@@ -2597,7 +2725,7 @@ const c = (o) => ({
|
|
|
2597
2725
|
},
|
|
2598
2726
|
"& .M4LAreasAdmin-areaChipRoot": {
|
|
2599
2727
|
display: "flex",
|
|
2600
|
-
background: o.vars.palette.
|
|
2728
|
+
background: o.vars.palette.background.surface,
|
|
2601
2729
|
borderRadius: "4px 4px 4px 4px",
|
|
2602
2730
|
minHeight: "24px",
|
|
2603
2731
|
width: "fit-content",
|
|
@@ -2611,19 +2739,19 @@ const c = (o) => ({
|
|
|
2611
2739
|
boxShadow: "none"
|
|
2612
2740
|
},
|
|
2613
2741
|
"&.M4LAreasAdmin-selected": {
|
|
2614
|
-
background: o.vars.palette.
|
|
2742
|
+
background: o.vars.palette.primary.active,
|
|
2615
2743
|
...o.colorSchemes.finalTheme.typography.body,
|
|
2616
2744
|
color: o.vars.palette.text.primary,
|
|
2617
2745
|
height: "22px",
|
|
2618
2746
|
transition: "all 0.5s ease",
|
|
2619
2747
|
"&:hover": {
|
|
2620
|
-
background: o.vars.palette.
|
|
2748
|
+
background: o.vars.palette.primary.hover
|
|
2621
2749
|
},
|
|
2622
2750
|
[o.breakpoints.down("sm")]: {
|
|
2623
2751
|
height: "auto",
|
|
2624
2752
|
background: "none",
|
|
2625
2753
|
"&:hover": {
|
|
2626
|
-
background: o.vars.palette.
|
|
2754
|
+
background: o.vars.palette.background.hover
|
|
2627
2755
|
}
|
|
2628
2756
|
},
|
|
2629
2757
|
"& .M4LAreasAdmin-areaChipTitle": {
|
|
@@ -2635,7 +2763,7 @@ const c = (o) => ({
|
|
|
2635
2763
|
justifyContent: "center",
|
|
2636
2764
|
display: "flex",
|
|
2637
2765
|
alignItems: "center",
|
|
2638
|
-
color: o.vars.palette.
|
|
2766
|
+
color: o.vars.palette.common.white,
|
|
2639
2767
|
...o.colorSchemes.finalTheme.typography.body,
|
|
2640
2768
|
[o.breakpoints.down("sm")]: {
|
|
2641
2769
|
display: "inline",
|
|
@@ -2649,13 +2777,13 @@ const c = (o) => ({
|
|
|
2649
2777
|
},
|
|
2650
2778
|
"& .M4LIconButton-root": {
|
|
2651
2779
|
"&:hover": {
|
|
2652
|
-
background: o.vars.palette.
|
|
2780
|
+
background: o.vars.palette.primary.active
|
|
2653
2781
|
},
|
|
2654
2782
|
[o.breakpoints.down("sm")]: {
|
|
2655
2783
|
color: o.vars.palette.text.primary
|
|
2656
2784
|
},
|
|
2657
2785
|
"& .M4LIcon-icon": {
|
|
2658
|
-
backgroundColor: `${o.vars.palette.
|
|
2786
|
+
backgroundColor: `${o.vars.palette.common.white}`,
|
|
2659
2787
|
[o.breakpoints.down("sm")]: {
|
|
2660
2788
|
color: o.vars.palette.text.primary
|
|
2661
2789
|
}
|
|
@@ -2687,7 +2815,7 @@ const c = (o) => ({
|
|
|
2687
2815
|
color: o.vars.palette.text.primary
|
|
2688
2816
|
},
|
|
2689
2817
|
"&.M4LIconButton-variantPrimary": {
|
|
2690
|
-
background: o.vars.palette.
|
|
2818
|
+
background: o.vars.palette.primary.active,
|
|
2691
2819
|
[o.breakpoints.down("sm")]: {
|
|
2692
2820
|
color: o.vars.palette.text.primary
|
|
2693
2821
|
}
|
|
@@ -2702,13 +2830,13 @@ const c = (o) => ({
|
|
|
2702
2830
|
width: "100%",
|
|
2703
2831
|
height: "28px",
|
|
2704
2832
|
borderLeft: "1px solid",
|
|
2705
|
-
borderColor: o.vars.palette.
|
|
2833
|
+
borderColor: o.vars.palette.border.secondary,
|
|
2706
2834
|
borderRadius: "0px"
|
|
2707
2835
|
}
|
|
2708
2836
|
},
|
|
2709
2837
|
"& .M4LAreasAdmin-areasAddButton": {
|
|
2710
2838
|
flexGrow: "2",
|
|
2711
|
-
background: o.vars.palette.
|
|
2839
|
+
background: o.vars.palette.background.surface
|
|
2712
2840
|
},
|
|
2713
2841
|
"&.M4LAreasAdmin-isMobile": {
|
|
2714
2842
|
overflow: "hidden",
|
|
@@ -2716,6 +2844,7 @@ const c = (o) => ({
|
|
|
2716
2844
|
width: "100%",
|
|
2717
2845
|
"& .M4LAreasAdmin-areaContainerChips": {
|
|
2718
2846
|
width: "100%",
|
|
2847
|
+
//overflow: 'hidden',
|
|
2719
2848
|
background: "none",
|
|
2720
2849
|
boxShadow: "none"
|
|
2721
2850
|
}
|
|
@@ -2793,12 +2922,12 @@ const c = (o) => ({
|
|
|
2793
2922
|
}
|
|
2794
2923
|
}
|
|
2795
2924
|
}
|
|
2796
|
-
}),
|
|
2925
|
+
}), y = (o) => ({
|
|
2797
2926
|
M4LAreasViewer: {
|
|
2798
2927
|
styleOverrides: {
|
|
2799
2928
|
"&.M4LAreasViewer-root": {
|
|
2800
2929
|
test: "root",
|
|
2801
|
-
background: o.vars.palette.background.
|
|
2930
|
+
background: o.vars.palette.background.bold,
|
|
2802
2931
|
"& .M4LGridLayout-gridItemRoot.M4LGridLayout-colapsed-40 .M4LAreasViewer-windowHeader": {
|
|
2803
2932
|
minHeight: "38px",
|
|
2804
2933
|
height: "38px"
|
|
@@ -2836,9 +2965,9 @@ const c = (o) => ({
|
|
|
2836
2965
|
}
|
|
2837
2966
|
},
|
|
2838
2967
|
"& .M4LAreasViewer-windowRoot": {
|
|
2839
|
-
background: o.vars.palette.background.
|
|
2968
|
+
background: o.vars.palette.background.main,
|
|
2840
2969
|
border: "1.5px solid",
|
|
2841
|
-
borderColor: o.vars.palette.
|
|
2970
|
+
borderColor: o.vars.palette.border.primary,
|
|
2842
2971
|
borderRadius: "4px",
|
|
2843
2972
|
display: "flex",
|
|
2844
2973
|
"&:not(.M4LAreasViewer-loading)": {
|
|
@@ -2851,7 +2980,7 @@ const c = (o) => ({
|
|
|
2851
2980
|
},
|
|
2852
2981
|
"&.react-colapsed": {
|
|
2853
2982
|
border: "1px solid",
|
|
2854
|
-
borderColor: o.vars.palette.
|
|
2983
|
+
borderColor: o.vars.palette.border.primary
|
|
2855
2984
|
},
|
|
2856
2985
|
"& .M4LAreasViewer-windowRootContainer": {
|
|
2857
2986
|
display: "flex",
|
|
@@ -2865,6 +2994,12 @@ const c = (o) => ({
|
|
|
2865
2994
|
flexDirection: "column",
|
|
2866
2995
|
padding: "6px 4px 6px 8px",
|
|
2867
2996
|
boxShadow: o.vars.customShadows.z1,
|
|
2997
|
+
//minHeight: '28px',
|
|
2998
|
+
//height: '28px',
|
|
2999
|
+
//[theme.breakpoints.down('md')]: {
|
|
3000
|
+
// height: '44px',
|
|
3001
|
+
// minHeight: '44px',
|
|
3002
|
+
//},
|
|
2868
3003
|
"& .M4LAreasViewer-windowHeaderContent": {
|
|
2869
3004
|
display: "flex",
|
|
2870
3005
|
width: "100%",
|
|
@@ -2906,6 +3041,7 @@ const c = (o) => ({
|
|
|
2906
3041
|
overflow: "visible"
|
|
2907
3042
|
}
|
|
2908
3043
|
},
|
|
3044
|
+
// Contenedor de window
|
|
2909
3045
|
"& .M4LAreasViewer-windowContent": {
|
|
2910
3046
|
padding: "16px",
|
|
2911
3047
|
background: o.vars.palette.background.default,
|
|
@@ -2942,20 +3078,21 @@ const c = (o) => ({
|
|
|
2942
3078
|
alignItems: "center",
|
|
2943
3079
|
padding: "0 16px",
|
|
2944
3080
|
"& .MuiLinearProgress-root": {
|
|
2945
|
-
background: `rgba(${o.colorSchemes.finalTheme.palette.
|
|
3081
|
+
background: `rgba(${o.colorSchemes.finalTheme.palette.primary.active} / 0.3)`
|
|
2946
3082
|
}
|
|
2947
3083
|
}
|
|
2948
3084
|
},
|
|
3085
|
+
// Area seleccionada
|
|
2949
3086
|
"&.M4LAreasViewer-selectedWindow": {
|
|
2950
3087
|
border: "1.5px solid",
|
|
2951
|
-
borderColor: o.vars.palette.
|
|
3088
|
+
borderColor: o.vars.palette.border.selected,
|
|
2952
3089
|
boxShadow: o.customShadows?.z2,
|
|
2953
3090
|
backdropFilter: "blur(100px)",
|
|
2954
3091
|
background: o.vars.palette.background.default,
|
|
2955
3092
|
"& .M4LAreasViewer-windowHeader": {
|
|
2956
3093
|
display: "flex",
|
|
2957
3094
|
flexDirection: "column",
|
|
2958
|
-
background: o.vars.palette.
|
|
3095
|
+
background: o.vars.palette.primary.activeOpacity,
|
|
2959
3096
|
gap: "4px",
|
|
2960
3097
|
alignItems: "center",
|
|
2961
3098
|
position: "relative",
|
|
@@ -2966,7 +3103,7 @@ const c = (o) => ({
|
|
|
2966
3103
|
"& .M4LAreasViewer-windowHeaderContent": {
|
|
2967
3104
|
"& .M4LIcon-root": {
|
|
2968
3105
|
"& .M4LIcon-icon": {
|
|
2969
|
-
background: o.vars.palette.
|
|
3106
|
+
background: o.vars.palette.primary.focus
|
|
2970
3107
|
}
|
|
2971
3108
|
},
|
|
2972
3109
|
"& .M4LAreasViewer-windowHeaderCancelHandle": {
|
|
@@ -2979,7 +3116,7 @@ const c = (o) => ({
|
|
|
2979
3116
|
},
|
|
2980
3117
|
"& .M4LTypography-root .MuiTypography-root": {
|
|
2981
3118
|
...o.colorSchemes.finalTheme.typography.paragraphDens,
|
|
2982
|
-
color: o.vars.palette.
|
|
3119
|
+
color: o.vars.palette.primary.focus
|
|
2983
3120
|
},
|
|
2984
3121
|
"& .MuiButtonBase-root": {
|
|
2985
3122
|
"& .M4LIcon-icon": {
|
|
@@ -2993,7 +3130,7 @@ const c = (o) => ({
|
|
|
2993
3130
|
},
|
|
2994
3131
|
"& .MuiButtonBase-root:hover": {
|
|
2995
3132
|
"& .M4LIcon-icon": {
|
|
2996
|
-
backgroundColor: o.vars.palette.
|
|
3133
|
+
backgroundColor: o.vars.palette.primary.hover
|
|
2997
3134
|
}
|
|
2998
3135
|
}
|
|
2999
3136
|
}
|
|
@@ -3001,7 +3138,7 @@ const c = (o) => ({
|
|
|
3001
3138
|
},
|
|
3002
3139
|
"&.M4LGridLayout-root .M4LGridLayout-maximizeMe": {
|
|
3003
3140
|
border: "1.5px solid",
|
|
3004
|
-
borderColor: o.vars.palette.
|
|
3141
|
+
borderColor: o.vars.palette.border.primary,
|
|
3005
3142
|
borderRadius: "4px",
|
|
3006
3143
|
"& .M4LAreasViewer-windowContent": {
|
|
3007
3144
|
padding: "16px"
|
|
@@ -3015,12 +3152,12 @@ const c = (o) => ({
|
|
|
3015
3152
|
},
|
|
3016
3153
|
"&.M4LGridLayout-colapsed ": {
|
|
3017
3154
|
"& .M4LAreasViewer-windowRoot": {
|
|
3018
|
-
borderColor: o.vars.palette.
|
|
3155
|
+
borderColor: o.vars.palette.border.default,
|
|
3019
3156
|
boxShadow: o.vars.customShadows.z1
|
|
3020
3157
|
}
|
|
3021
3158
|
},
|
|
3022
3159
|
"&.react-draggable": {
|
|
3023
|
-
background: o.vars.palette.
|
|
3160
|
+
background: o.vars.palette.primary.activeOpacity
|
|
3024
3161
|
},
|
|
3025
3162
|
"& .M4LAreasViewer-windowPopupRoot": {
|
|
3026
3163
|
boxShadow: o.customShadows?.z2,
|
|
@@ -3030,21 +3167,21 @@ const c = (o) => ({
|
|
|
3030
3167
|
backdropFilter: "blur(8px)",
|
|
3031
3168
|
"& .M4LIcon-root.custom-handle": {
|
|
3032
3169
|
"& .M4LIcon-icon": {
|
|
3033
|
-
backgroundColor: o.vars.palette.
|
|
3170
|
+
backgroundColor: o.vars.palette.skeleton.default,
|
|
3034
3171
|
width: "11px",
|
|
3035
3172
|
height: "11px",
|
|
3036
3173
|
minWidth: "11px",
|
|
3037
3174
|
minHeight: "11px",
|
|
3038
3175
|
boxShadow: o.vars.customShadows.z1,
|
|
3039
3176
|
border: "1px solid",
|
|
3040
|
-
borderColor: o.vars.palette.
|
|
3177
|
+
borderColor: o.vars.palette.grey[50016]
|
|
3041
3178
|
}
|
|
3042
3179
|
},
|
|
3043
3180
|
"& .M4LAreasViewer-windowRootContainer": {
|
|
3044
3181
|
background: o.vars.palette.background.default,
|
|
3045
3182
|
borderRadius: "4px",
|
|
3046
3183
|
border: "1.5px solid",
|
|
3047
|
-
borderColor: o.vars.palette.
|
|
3184
|
+
borderColor: o.vars.palette.border.primary,
|
|
3048
3185
|
"& .M4LAreasViewer-windowHeader": {
|
|
3049
3186
|
boxShadow: "none",
|
|
3050
3187
|
borderTopLeftRadius: "4px",
|
|
@@ -3067,7 +3204,7 @@ const c = (o) => ({
|
|
|
3067
3204
|
}
|
|
3068
3205
|
},
|
|
3069
3206
|
"& .M4LAreasViewer-windowContent": {
|
|
3070
|
-
background: o.vars.palette.background.
|
|
3207
|
+
background: o.vars.palette.background.main,
|
|
3071
3208
|
padding: "12px"
|
|
3072
3209
|
}
|
|
3073
3210
|
},
|
|
@@ -3075,7 +3212,7 @@ const c = (o) => ({
|
|
|
3075
3212
|
padding: "4px",
|
|
3076
3213
|
background: o.vars.palette.background.default,
|
|
3077
3214
|
borderRadius: "4px",
|
|
3078
|
-
borderColor: o.vars.palette.
|
|
3215
|
+
borderColor: o.vars.palette.border.default,
|
|
3079
3216
|
"&:not(.M4LAreasViewer-loading)": {
|
|
3080
3217
|
"& .M4LinearProgressIndeterminate-root": {
|
|
3081
3218
|
opacity: 0
|
|
@@ -3085,13 +3222,13 @@ const c = (o) => ({
|
|
|
3085
3222
|
backgroundColor: "transparent"
|
|
3086
3223
|
},
|
|
3087
3224
|
"&.M4LAreasViewer-selectedWindow": {
|
|
3088
|
-
borderColor: o.vars.palette.
|
|
3089
|
-
background: o.vars.palette.
|
|
3225
|
+
borderColor: o.vars.palette.primary.activeOpacity,
|
|
3226
|
+
background: o.vars.palette.primary.activeOpacity,
|
|
3090
3227
|
boxShadow: o.vars.customShadows.z4,
|
|
3091
3228
|
padding: "4px",
|
|
3092
3229
|
"& .M4LAreasViewer-windowRootContainer": {
|
|
3093
3230
|
"& .M4LAreasViewer-windowHeader": {
|
|
3094
|
-
background: o.vars.palette.
|
|
3231
|
+
background: o.vars.palette.background.surface,
|
|
3095
3232
|
borderRadius: "4px",
|
|
3096
3233
|
boxShadow: o.vars.customShadows.z1,
|
|
3097
3234
|
"& .M4LIcon-root": {
|
|
@@ -3110,7 +3247,7 @@ const c = (o) => ({
|
|
|
3110
3247
|
},
|
|
3111
3248
|
"&.M4LAreasViewer-selectedWindow": {
|
|
3112
3249
|
border: "none",
|
|
3113
|
-
background: o.vars.palette.
|
|
3250
|
+
background: o.vars.palette.primary.activeOpacity,
|
|
3114
3251
|
boxShadow: o.vars.customShadows.z4,
|
|
3115
3252
|
[o.breakpoints.down("sm")]: {
|
|
3116
3253
|
padding: "0"
|
|
@@ -3118,9 +3255,9 @@ const c = (o) => ({
|
|
|
3118
3255
|
"& .M4LAreasViewer-windowRootContainer": {
|
|
3119
3256
|
boxShadow: o.customShadows?.z2,
|
|
3120
3257
|
border: "1.5px solid",
|
|
3121
|
-
borderColor: `rgba(${o.colorSchemes.finalTheme.palette.
|
|
3258
|
+
borderColor: `rgba(${o.colorSchemes.finalTheme.palette.primary.active} / 0.5)`,
|
|
3122
3259
|
"& .M4LAreasViewer-windowHeader": {
|
|
3123
|
-
background: o.vars.palette.
|
|
3260
|
+
background: o.vars.palette.primary.activeOpacity,
|
|
3124
3261
|
borderTopLeftRadius: "4px",
|
|
3125
3262
|
borderTopRightRadius: "4px",
|
|
3126
3263
|
"& .M4LIcon-root": {
|
|
@@ -3139,18 +3276,18 @@ const c = (o) => ({
|
|
|
3139
3276
|
}
|
|
3140
3277
|
},
|
|
3141
3278
|
"& .M4LAreasViewer-panelWindowsRoot": {
|
|
3142
|
-
background: o.vars.palette.background.
|
|
3279
|
+
background: o.vars.palette.background.main,
|
|
3143
3280
|
display: "flex",
|
|
3144
3281
|
alignItems: "center",
|
|
3145
3282
|
padding: "8px",
|
|
3146
3283
|
gap: "8px",
|
|
3147
3284
|
borderLeft: "1.5px solid",
|
|
3148
|
-
borderColor: o.vars.palette.
|
|
3285
|
+
borderColor: o.vars.palette.border.primary,
|
|
3149
3286
|
"& .M4LAreasViewer-panelWindowsButtonContainer": {
|
|
3150
3287
|
borderRadius: "2px",
|
|
3151
3288
|
boxShadow: o.vars.customShadows.z1,
|
|
3152
3289
|
"&.M4LAreasViewer-selected": {
|
|
3153
|
-
background: o.vars.palette.
|
|
3290
|
+
background: o.vars.palette.primary.main,
|
|
3154
3291
|
"& .M4LIconButton-root": {
|
|
3155
3292
|
"& .M4LIcon-root": {
|
|
3156
3293
|
"& .M4LIcon-icon": {
|
|
@@ -3163,7 +3300,7 @@ const c = (o) => ({
|
|
|
3163
3300
|
"& .M4LAreasViewer-panelWindowsSeparator": {
|
|
3164
3301
|
width: "100%",
|
|
3165
3302
|
border: "0.5px solid",
|
|
3166
|
-
borderColor: o.vars.palette.
|
|
3303
|
+
borderColor: o.vars.palette.border.primary
|
|
3167
3304
|
}
|
|
3168
3305
|
}
|
|
3169
3306
|
}
|
|
@@ -3171,12 +3308,13 @@ const c = (o) => ({
|
|
|
3171
3308
|
},
|
|
3172
3309
|
M4LAreasViewerModal: {
|
|
3173
3310
|
styleOverrides: {
|
|
3311
|
+
// WindowsModal
|
|
3174
3312
|
"&.M4LAreasViewer-windowModalRoot .M4LAreasViewer-windowRoot": {
|
|
3175
3313
|
borderRadius: "4px",
|
|
3176
3314
|
boxShadow: o.vars.customShadows.z4,
|
|
3177
3315
|
background: o.vars.palette.background.default,
|
|
3178
3316
|
border: "2px solid",
|
|
3179
|
-
borderColor: o.vars.palette.
|
|
3317
|
+
borderColor: o.vars.palette.border.dense,
|
|
3180
3318
|
"& .M4LAreasViewer-windowContent": {
|
|
3181
3319
|
borderRadius: "4px",
|
|
3182
3320
|
background: o.vars.palette.background.default
|
|
@@ -3196,6 +3334,7 @@ const c = (o) => ({
|
|
|
3196
3334
|
fontSize: "16px"
|
|
3197
3335
|
}
|
|
3198
3336
|
},
|
|
3337
|
+
// LoaddingError
|
|
3199
3338
|
"& .M4LAreasViewer-areasLoadingErrorRoot": {
|
|
3200
3339
|
display: "flex",
|
|
3201
3340
|
flexDirection: "column",
|
|
@@ -3215,16 +3354,19 @@ const c = (o) => ({
|
|
|
3215
3354
|
gap: "12px",
|
|
3216
3355
|
position: "absolute",
|
|
3217
3356
|
inset: "0",
|
|
3357
|
+
// Contenedor de ilustracion
|
|
3218
3358
|
"& .M4LIcon-root": {
|
|
3219
3359
|
display: "flex",
|
|
3220
3360
|
padding: "12px",
|
|
3221
3361
|
marginBottom: "4px",
|
|
3362
|
+
// Ilustración
|
|
3222
3363
|
" .M4LIcon-icon": {
|
|
3223
3364
|
width: "100px",
|
|
3224
3365
|
height: "100px",
|
|
3225
|
-
backgroundColor: o.vars.palette.
|
|
3366
|
+
backgroundColor: o.vars.palette.skeleton.default
|
|
3226
3367
|
}
|
|
3227
3368
|
},
|
|
3369
|
+
// Título
|
|
3228
3370
|
"& .M4LAreasViewer-areasLoadingErrorTitle": {
|
|
3229
3371
|
...o.colorSchemes.finalTheme.typography.h3,
|
|
3230
3372
|
color: o.vars.palette.text.primary,
|
|
@@ -3232,15 +3374,18 @@ const c = (o) => ({
|
|
|
3232
3374
|
...o.colorSchemes.finalTheme.typography.h5
|
|
3233
3375
|
}
|
|
3234
3376
|
},
|
|
3377
|
+
// Subtítulo (explicaciòn de resultado)
|
|
3235
3378
|
"& .M4LAreasViewer-areasLoadingErrorDescription": {
|
|
3236
3379
|
...o.colorSchemes.finalTheme.typography.subtitle,
|
|
3237
3380
|
color: o.vars.palette.text.secondary
|
|
3238
3381
|
},
|
|
3382
|
+
// Linea divisora
|
|
3239
3383
|
"& .M4LAreasViewer-areasLoadingErrorDivider": {
|
|
3240
3384
|
width: "208px",
|
|
3241
3385
|
height: "1px",
|
|
3242
|
-
background: o.vars.palette.
|
|
3386
|
+
background: o.vars.palette.skeleton.default
|
|
3243
3387
|
},
|
|
3388
|
+
// pasos de acción
|
|
3244
3389
|
"& .MuiTypography-paragraph": {
|
|
3245
3390
|
...o.colorSchemes.finalTheme.typography.body,
|
|
3246
3391
|
color: o.vars.palette.text.primary
|
|
@@ -3251,7 +3396,7 @@ const c = (o) => ({
|
|
|
3251
3396
|
}
|
|
3252
3397
|
},
|
|
3253
3398
|
"& .MuiBackdrop-root": {
|
|
3254
|
-
background:
|
|
3399
|
+
background: o.vars.palette.background.backdrop
|
|
3255
3400
|
},
|
|
3256
3401
|
"&:not(.M4LAreasViewer-loading)": {
|
|
3257
3402
|
"& .M4LinearProgressIndeterminate-root": {
|
|
@@ -3276,7 +3421,7 @@ const c = (o) => ({
|
|
|
3276
3421
|
padding: "6px 4px 6px 8px",
|
|
3277
3422
|
borderRadius: "4px",
|
|
3278
3423
|
border: "none",
|
|
3279
|
-
background: o.vars.palette.
|
|
3424
|
+
background: o.vars.palette.primary.activeOpacity,
|
|
3280
3425
|
height: "28px",
|
|
3281
3426
|
minHeight: "28px",
|
|
3282
3427
|
[o.breakpoints.down("md")]: {
|
|
@@ -3325,19 +3470,19 @@ const c = (o) => ({
|
|
|
3325
3470
|
},
|
|
3326
3471
|
"& .M4LIcon-root.custom-handle": {
|
|
3327
3472
|
"& .M4LIcon-icon": {
|
|
3328
|
-
backgroundColor: o.vars.palette.
|
|
3473
|
+
backgroundColor: o.vars.palette.skeleton.default,
|
|
3329
3474
|
width: "11px",
|
|
3330
3475
|
height: "11px",
|
|
3331
3476
|
minWidth: "11px",
|
|
3332
3477
|
minHeight: "11px",
|
|
3333
3478
|
boxShadow: o.customShadows?.z2,
|
|
3334
3479
|
border: "1px solid",
|
|
3335
|
-
borderColor: o.vars.palette.
|
|
3480
|
+
borderColor: o.vars.palette.border.default
|
|
3336
3481
|
}
|
|
3337
3482
|
}
|
|
3338
3483
|
}
|
|
3339
3484
|
}
|
|
3340
|
-
}),
|
|
3485
|
+
}), v = (o) => ({
|
|
3341
3486
|
M4LAppBar: {
|
|
3342
3487
|
styleOverrides: {
|
|
3343
3488
|
"&.M4LAppBar-root": {
|
|
@@ -3351,7 +3496,7 @@ const c = (o) => ({
|
|
|
3351
3496
|
padding: "8px 16px",
|
|
3352
3497
|
background: o.vars.palette.background.default,
|
|
3353
3498
|
borderBottom: "1.5px solid",
|
|
3354
|
-
borderColor: o.vars.palette.
|
|
3499
|
+
borderColor: o.vars.palette.border.primary,
|
|
3355
3500
|
justifyContent: "space-between",
|
|
3356
3501
|
gap: "40px",
|
|
3357
3502
|
[o.breakpoints.down("sm")]: {
|
|
@@ -3380,23 +3525,22 @@ const c = (o) => ({
|
|
|
3380
3525
|
},
|
|
3381
3526
|
"& .M4LAppBar-containerIconMenuToggle": {
|
|
3382
3527
|
display: "flex",
|
|
3383
|
-
alingItems: "center",
|
|
3384
3528
|
width: "36px",
|
|
3385
3529
|
height: "36px",
|
|
3386
3530
|
minWidth: "36px",
|
|
3387
3531
|
minHeight: "36px",
|
|
3388
3532
|
alignItems: "center",
|
|
3389
3533
|
borderRadius: "4px",
|
|
3390
|
-
borderColor: o.vars.palette.
|
|
3534
|
+
borderColor: o.vars.palette.border.default,
|
|
3391
3535
|
justifyContent: "space-between",
|
|
3392
3536
|
"& .M4LAppBar-iconMenuToggle": {
|
|
3393
|
-
background: o.vars.palette.
|
|
3537
|
+
background: o.vars.palette.background.surface,
|
|
3394
3538
|
width: "36px",
|
|
3395
3539
|
height: "36px",
|
|
3396
3540
|
minWidth: "36px",
|
|
3397
3541
|
minHeight: "36px",
|
|
3398
3542
|
[o.breakpoints.down("sm")]: {
|
|
3399
|
-
background: o.vars.palette.
|
|
3543
|
+
background: o.vars.palette.background.surface,
|
|
3400
3544
|
width: "36px",
|
|
3401
3545
|
height: "36px",
|
|
3402
3546
|
minWidth: "36px",
|
|
@@ -3452,7 +3596,7 @@ const c = (o) => ({
|
|
|
3452
3596
|
}
|
|
3453
3597
|
}
|
|
3454
3598
|
}
|
|
3455
|
-
}),
|
|
3599
|
+
}), L = (o) => ({
|
|
3456
3600
|
M4LAvatar: {
|
|
3457
3601
|
styleOverrides: {
|
|
3458
3602
|
"&.M4LAvatar-root": {
|
|
@@ -3466,11 +3610,13 @@ const c = (o) => ({
|
|
|
3466
3610
|
width: "28px !important",
|
|
3467
3611
|
height: "28px !important",
|
|
3468
3612
|
borderRadius: "4px",
|
|
3469
|
-
|
|
3470
|
-
|
|
3613
|
+
//padding: '4px',
|
|
3614
|
+
background: t.blazeOrange[50],
|
|
3615
|
+
color: t.marbleLight[30],
|
|
3471
3616
|
boxShadow: o.vars.customShadows.z1,
|
|
3472
3617
|
...o.typography.subtitle
|
|
3473
3618
|
},
|
|
3619
|
+
//desktop
|
|
3474
3620
|
[o.breakpoints.up("md")]: {
|
|
3475
3621
|
width: "28px !important",
|
|
3476
3622
|
height: "28px !important",
|
|
@@ -3491,7 +3637,7 @@ const c = (o) => ({
|
|
|
3491
3637
|
}
|
|
3492
3638
|
}
|
|
3493
3639
|
}
|
|
3494
|
-
}),
|
|
3640
|
+
}), h = (o) => ({
|
|
3495
3641
|
M4LAccountPopover: {
|
|
3496
3642
|
styleOverrides: {
|
|
3497
3643
|
"&.M4LAccountPopover-root": {
|
|
@@ -3577,7 +3723,7 @@ const c = (o) => ({
|
|
|
3577
3723
|
"& .M4LAccountPopover-containerMenuItems": {
|
|
3578
3724
|
borderTop: "1.5px solid",
|
|
3579
3725
|
borderBottom: "1.5px solid",
|
|
3580
|
-
borderColor: o.vars.palette.
|
|
3726
|
+
borderColor: o.vars.palette.border.default,
|
|
3581
3727
|
padding: "2px 4px",
|
|
3582
3728
|
display: "flex",
|
|
3583
3729
|
flexDirection: "column",
|
|
@@ -3595,7 +3741,7 @@ const c = (o) => ({
|
|
|
3595
3741
|
borderRadius: "4px",
|
|
3596
3742
|
cursor: "pointer",
|
|
3597
3743
|
"&:hover": {
|
|
3598
|
-
background: o.vars.palette.
|
|
3744
|
+
background: o.vars.palette.background.surface
|
|
3599
3745
|
},
|
|
3600
3746
|
"& .M4LIcon-root": {
|
|
3601
3747
|
minWidth: "16px",
|
|
@@ -3622,7 +3768,7 @@ const c = (o) => ({
|
|
|
3622
3768
|
alignItems: "center",
|
|
3623
3769
|
cursor: "pointer",
|
|
3624
3770
|
"&:hover": {
|
|
3625
|
-
background: o.vars.palette.
|
|
3771
|
+
background: o.vars.palette.background.surface
|
|
3626
3772
|
},
|
|
3627
3773
|
"& .M4LIcon-root": {
|
|
3628
3774
|
minWidth: "16px",
|
|
@@ -3707,7 +3853,7 @@ const c = (o) => ({
|
|
|
3707
3853
|
minHeight: "36px",
|
|
3708
3854
|
alignItems: "center",
|
|
3709
3855
|
"&:hover": {
|
|
3710
|
-
background: o.vars.palette.
|
|
3856
|
+
background: o.vars.palette.background.surface
|
|
3711
3857
|
},
|
|
3712
3858
|
"& .M4LIcon-root": {
|
|
3713
3859
|
minWidth: "20px",
|
|
@@ -3730,7 +3876,7 @@ const c = (o) => ({
|
|
|
3730
3876
|
minHeight: "36px",
|
|
3731
3877
|
alignItems: "center",
|
|
3732
3878
|
"&:hover": {
|
|
3733
|
-
background: o.vars.palette.
|
|
3879
|
+
background: o.vars.palette.background.surface
|
|
3734
3880
|
},
|
|
3735
3881
|
"& .M4LIcon-root": {
|
|
3736
3882
|
minWidth: "20px",
|
|
@@ -3770,7 +3916,7 @@ const c = (o) => ({
|
|
|
3770
3916
|
}
|
|
3771
3917
|
}
|
|
3772
3918
|
}
|
|
3773
|
-
}),
|
|
3919
|
+
}), f = (o) => ({
|
|
3774
3920
|
M4LModuleLayout: {
|
|
3775
3921
|
styleOverrides: {
|
|
3776
3922
|
"&.M4LModuleLayout-root": {
|
|
@@ -3787,7 +3933,7 @@ const c = (o) => ({
|
|
|
3787
3933
|
}
|
|
3788
3934
|
}
|
|
3789
3935
|
}
|
|
3790
|
-
}),
|
|
3936
|
+
}), m = (o) => ({
|
|
3791
3937
|
M4LMasterDetailLayout: {
|
|
3792
3938
|
styleOverrides: {
|
|
3793
3939
|
"&.M4LMasterDetailLayout-root": {
|
|
@@ -3809,6 +3955,7 @@ const c = (o) => ({
|
|
|
3809
3955
|
gap: "8px"
|
|
3810
3956
|
}
|
|
3811
3957
|
},
|
|
3958
|
+
/* test properties */
|
|
3812
3959
|
"& .M4LSplitLayout-secondPart": {
|
|
3813
3960
|
background: o.vars.palette.background.default,
|
|
3814
3961
|
borderRadius: "4px"
|
|
@@ -3820,7 +3967,7 @@ const c = (o) => ({
|
|
|
3820
3967
|
}
|
|
3821
3968
|
}
|
|
3822
3969
|
}
|
|
3823
|
-
}),
|
|
3970
|
+
}), w = (o) => ({
|
|
3824
3971
|
M4LSplitLayout: {
|
|
3825
3972
|
styleOverrides: {
|
|
3826
3973
|
"&.M4LSplitLayout-root": {
|
|
@@ -3842,9 +3989,11 @@ const c = (o) => ({
|
|
|
3842
3989
|
width: "100%",
|
|
3843
3990
|
height: "100%",
|
|
3844
3991
|
"& .M4LStack-root": {
|
|
3992
|
+
//gap: '8px',
|
|
3845
3993
|
overflow: "hidden"
|
|
3846
3994
|
}
|
|
3847
3995
|
},
|
|
3996
|
+
// Configuracion por defecto en horizontal
|
|
3848
3997
|
"& .splitter-layout": {
|
|
3849
3998
|
position: "absolute",
|
|
3850
3999
|
display: "flex",
|
|
@@ -3853,23 +4002,28 @@ const c = (o) => ({
|
|
|
3853
4002
|
height: "100%",
|
|
3854
4003
|
overflow: "hidden"
|
|
3855
4004
|
},
|
|
4005
|
+
// Configuracion de ambos paneles a dividir
|
|
3856
4006
|
"& .splitter-layout .layout-pane": {
|
|
3857
4007
|
position: "relative",
|
|
3858
4008
|
flex: "0 0 auto",
|
|
3859
4009
|
overflow: "hidden"
|
|
3860
4010
|
},
|
|
4011
|
+
// Configuración del panel principal
|
|
3861
4012
|
"& .splitter-layout .layout-pane.layout-pane-primary": {
|
|
3862
4013
|
flex: "1 1 auto"
|
|
3863
4014
|
},
|
|
4015
|
+
// Configuración del cursor en horizontal
|
|
3864
4016
|
"& .splitter-layout.layout-changing": {
|
|
3865
4017
|
cursor: "col-resize"
|
|
3866
4018
|
},
|
|
4019
|
+
// Configuración barran grande cuando es horizontal
|
|
3867
4020
|
"& .splitter-layout > .layout-splitter": {
|
|
3868
4021
|
display: "flex",
|
|
3869
4022
|
alignItems: "center",
|
|
3870
4023
|
backgroundColor: "none",
|
|
3871
4024
|
boxSizing: "border-box",
|
|
3872
4025
|
backgroundClip: "padding-box",
|
|
4026
|
+
// Propiedades del horizontal
|
|
3873
4027
|
width: "8px",
|
|
3874
4028
|
margin: "0 0.5px",
|
|
3875
4029
|
borderLeft: "4px solid hsla(0, 0%, 5%, 0)",
|
|
@@ -3878,24 +4032,28 @@ const c = (o) => ({
|
|
|
3878
4032
|
justifyContent: "center",
|
|
3879
4033
|
height: "100%"
|
|
3880
4034
|
},
|
|
4035
|
+
// Configuración divisorra interna posición horizontal del split
|
|
3881
4036
|
"& .splitter-layout .layout-splitter:before": {
|
|
3882
4037
|
content: '""',
|
|
3883
4038
|
height: "56px",
|
|
3884
4039
|
width: "4px",
|
|
3885
4040
|
top: "calc(50% - 22.5px)",
|
|
3886
4041
|
position: "absolute",
|
|
3887
|
-
background: o.vars.palette.
|
|
4042
|
+
background: o.vars.palette.primary.active,
|
|
3888
4043
|
borderRadius: "1px",
|
|
3889
4044
|
margin: "1px 0px"
|
|
3890
4045
|
},
|
|
4046
|
+
// Hover de la barra externa en posición horizontal
|
|
3891
4047
|
"& .splitter-layout > .layout-splitter:hover": {
|
|
3892
4048
|
borderRadius: "2px",
|
|
3893
4049
|
borderLeft: "2px",
|
|
3894
4050
|
borderRight: "2px"
|
|
3895
4051
|
},
|
|
4052
|
+
// Configuración del cursor en horizontal
|
|
3896
4053
|
"& .splitter-layout.splitter-layout-vertical.layout-changing": {
|
|
3897
4054
|
cursor: "row-resize"
|
|
3898
4055
|
},
|
|
4056
|
+
// Barra divisora vertical del split
|
|
3899
4057
|
"& .splitter-layout.splitter-layout-vertical > .layout-splitter": {
|
|
3900
4058
|
height: "8px !important",
|
|
3901
4059
|
width: "100% !important",
|
|
@@ -3904,18 +4062,22 @@ const c = (o) => ({
|
|
|
3904
4062
|
borderBottom: "4px solid hsla(0, 0%, 2%, 0)",
|
|
3905
4063
|
cursor: "row-resize"
|
|
3906
4064
|
},
|
|
4065
|
+
// Configuración barra divisora interna vertical del split
|
|
3907
4066
|
"& .splitter-layout.splitter-layout-vertical .layout-splitter:before": {
|
|
3908
4067
|
width: "56px !important",
|
|
3909
4068
|
height: "4px !important",
|
|
3910
4069
|
left: "calc(50% - 22.5px)",
|
|
3911
4070
|
top: "unset",
|
|
3912
|
-
background: o.vars.palette.
|
|
4071
|
+
background: o.vars.palette.primary.active,
|
|
3913
4072
|
borderRadius: "2px",
|
|
3914
4073
|
zIndex: "1"
|
|
3915
4074
|
},
|
|
4075
|
+
// Color del hover y el arrastrando del splitter
|
|
3916
4076
|
"& .splitter-layout > .layout-splitter:hover:before, .splitter-layout.layout-changing > .layout-splitter:before": {
|
|
3917
|
-
|
|
4077
|
+
// barra interna vertical
|
|
4078
|
+
background: o.vars.palette.primary.hover
|
|
3918
4079
|
},
|
|
4080
|
+
// Dirección flex cuando es vertical
|
|
3919
4081
|
"& .splitter-layout.splitter-layout-vertical": {
|
|
3920
4082
|
flexDirection: "column",
|
|
3921
4083
|
position: "relative",
|
|
@@ -3924,8 +4086,9 @@ const c = (o) => ({
|
|
|
3924
4086
|
height: "2px",
|
|
3925
4087
|
left: "0",
|
|
3926
4088
|
right: "0",
|
|
4089
|
+
/* top: 'calc(50% - 6px)', */
|
|
3927
4090
|
position: "absolute",
|
|
3928
|
-
background: o.vars.palette.
|
|
4091
|
+
background: o.vars.palette.border.primary
|
|
3929
4092
|
}
|
|
3930
4093
|
},
|
|
3931
4094
|
"& .splitter-layout:not(.splitter-layout-vertical)": {
|
|
@@ -3935,13 +4098,14 @@ const c = (o) => ({
|
|
|
3935
4098
|
top: "0",
|
|
3936
4099
|
bottom: "0",
|
|
3937
4100
|
position: "absolute",
|
|
3938
|
-
background: o.vars.palette.
|
|
4101
|
+
background: o.vars.palette.border.primary
|
|
3939
4102
|
}
|
|
3940
4103
|
}
|
|
4104
|
+
// Borde gris cuando esta en over y es vertical
|
|
3941
4105
|
}
|
|
3942
4106
|
}
|
|
3943
4107
|
}
|
|
3944
|
-
}),
|
|
4108
|
+
}), k = (o) => ({
|
|
3945
4109
|
M4LCommonActions: {
|
|
3946
4110
|
styleOverrides: {
|
|
3947
4111
|
"&.M4LCommonActions-root": {
|
|
@@ -3954,7 +4118,7 @@ const c = (o) => ({
|
|
|
3954
4118
|
}
|
|
3955
4119
|
}
|
|
3956
4120
|
}
|
|
3957
|
-
}),
|
|
4121
|
+
}), C = (o) => ({
|
|
3958
4122
|
M4LinearProgressIndeterminate: {
|
|
3959
4123
|
styleOverrides: {
|
|
3960
4124
|
"&.M4LinearProgressIndeterminate-root": {
|
|
@@ -4001,14 +4165,14 @@ const c = (o) => ({
|
|
|
4001
4165
|
right: "100%",
|
|
4002
4166
|
bottom: "0",
|
|
4003
4167
|
left: "0",
|
|
4004
|
-
backgroundColor: o.vars.palette.
|
|
4168
|
+
backgroundColor: o.vars.palette.primary.focus,
|
|
4005
4169
|
width: "0",
|
|
4006
4170
|
animation: "borealisBar 2s linear infinite"
|
|
4007
4171
|
}
|
|
4008
4172
|
}
|
|
4009
4173
|
}
|
|
4010
4174
|
}
|
|
4011
|
-
}),
|
|
4175
|
+
}), S = (o) => ({
|
|
4012
4176
|
M4LPropertyValue: {
|
|
4013
4177
|
styleOverrides: {
|
|
4014
4178
|
"&.M4LPropertyValue-root": {
|
|
@@ -4017,13 +4181,16 @@ const c = (o) => ({
|
|
|
4017
4181
|
alignItems: "flex-start",
|
|
4018
4182
|
width: "100%",
|
|
4019
4183
|
minHeight: "23px",
|
|
4184
|
+
//height: '24px',
|
|
4020
4185
|
flexDirection: "column",
|
|
4021
4186
|
borderBottom: "1px solid",
|
|
4022
|
-
borderColor: o.vars.palette.
|
|
4187
|
+
borderColor: o.vars.palette.border.disabled,
|
|
4188
|
+
// Condición de visualización de vista móvil.
|
|
4023
4189
|
"&.M4LPropertyValue-isMobile": {
|
|
4024
4190
|
gridTemplateColumns: "1fr!important",
|
|
4025
4191
|
minHeight: "24px"
|
|
4026
4192
|
},
|
|
4193
|
+
// Condicion con variación de formulario.
|
|
4027
4194
|
"&.M4LPropertyValue-variantIsForm": {
|
|
4028
4195
|
minHeight: "24px",
|
|
4029
4196
|
borderBottom: "none",
|
|
@@ -4032,10 +4199,12 @@ const c = (o) => ({
|
|
|
4032
4199
|
gap: "4px",
|
|
4033
4200
|
alignItems: "flex-start"
|
|
4034
4201
|
},
|
|
4202
|
+
// Elemento property
|
|
4035
4203
|
"& .M4LPropertyValue-property": {
|
|
4036
4204
|
maxWidth: "100%",
|
|
4037
4205
|
width: "100% !important",
|
|
4038
4206
|
minHeight: "24px",
|
|
4207
|
+
//height: '24px !important',
|
|
4039
4208
|
...o.colorSchemes.finalTheme.typography.body,
|
|
4040
4209
|
color: o.vars.palette.text.secondary,
|
|
4041
4210
|
fontWeight: "400 !important",
|
|
@@ -4056,6 +4225,7 @@ const c = (o) => ({
|
|
|
4056
4225
|
maxWidth: "100%",
|
|
4057
4226
|
width: "100%",
|
|
4058
4227
|
minHeight: "24px",
|
|
4228
|
+
//height: '24px !important',
|
|
4059
4229
|
...o.colorSchemes.finalTheme.typography.body,
|
|
4060
4230
|
color: o.vars.palette.text.primary,
|
|
4061
4231
|
overflow: "hidden",
|
|
@@ -4072,14 +4242,24 @@ const c = (o) => ({
|
|
|
4072
4242
|
"& .M4LRHFTextField-root.M4LRHFTextField-sizeSmall": {
|
|
4073
4243
|
"& .MuiFormControl-root": {
|
|
4074
4244
|
"& .MuiInputBase-root": {
|
|
4075
|
-
|
|
4245
|
+
//borderRadius: '0',
|
|
4246
|
+
//background: 'transparent',
|
|
4247
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
4248
|
+
//border: '0',
|
|
4249
|
+
//borderRadius: '0',
|
|
4250
|
+
}
|
|
4076
4251
|
}
|
|
4077
4252
|
}
|
|
4078
4253
|
},
|
|
4079
4254
|
"& .M4LRHFTextField-root.M4LRHFTextField-sizeMedium": {
|
|
4080
4255
|
"& .MuiFormControl-root": {
|
|
4081
4256
|
"& .MuiInputBase-root": {
|
|
4082
|
-
|
|
4257
|
+
//borderRadius: '0',
|
|
4258
|
+
//background: 'transparent',
|
|
4259
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
4260
|
+
//border: '0',
|
|
4261
|
+
//borderRadius: '0',
|
|
4262
|
+
}
|
|
4083
4263
|
}
|
|
4084
4264
|
}
|
|
4085
4265
|
}
|
|
@@ -4094,6 +4274,7 @@ const c = (o) => ({
|
|
|
4094
4274
|
paddingLeft: "8px"
|
|
4095
4275
|
}
|
|
4096
4276
|
},
|
|
4277
|
+
// Elemento property
|
|
4097
4278
|
"& .M4LPropertyValue-property": {
|
|
4098
4279
|
minHeight: "36px",
|
|
4099
4280
|
height: "auto",
|
|
@@ -4110,7 +4291,7 @@ const c = (o) => ({
|
|
|
4110
4291
|
}
|
|
4111
4292
|
}
|
|
4112
4293
|
}
|
|
4113
|
-
}),
|
|
4294
|
+
}), B = (o) => ({
|
|
4114
4295
|
M4LTab: {
|
|
4115
4296
|
styleOverrides: {
|
|
4116
4297
|
"&.M4LTab-root": {
|
|
@@ -4142,19 +4323,21 @@ const c = (o) => ({
|
|
|
4142
4323
|
}
|
|
4143
4324
|
},
|
|
4144
4325
|
"& .MuiTab-root": {
|
|
4145
|
-
borderBottom: `1px solid ${o.vars.palette.
|
|
4326
|
+
borderBottom: `1px solid ${o.vars.palette.border.secondary}`
|
|
4146
4327
|
},
|
|
4328
|
+
// estado hover
|
|
4147
4329
|
"& .MuiButtonBase-root:hover": {
|
|
4148
|
-
color: o.vars.palette.
|
|
4330
|
+
color: o.vars.palette.primary.hover,
|
|
4149
4331
|
"& .M4LIcon-icon": {
|
|
4150
|
-
backgroundColor: o.vars.palette.
|
|
4332
|
+
backgroundColor: o.vars.palette.primary.hover
|
|
4151
4333
|
}
|
|
4152
4334
|
},
|
|
4335
|
+
// estado selected
|
|
4153
4336
|
"& .Mui-selected": {
|
|
4154
4337
|
background: o.vars.palette.background.default,
|
|
4155
|
-
borderTop: `1px solid ${o.vars.palette.
|
|
4156
|
-
borderLeft: `1px solid ${o.vars.palette.
|
|
4157
|
-
borderRight: `1px solid ${o.vars.palette.
|
|
4338
|
+
borderTop: `1px solid ${o.vars.palette.border.secondary}`,
|
|
4339
|
+
borderLeft: `1px solid ${o.vars.palette.border.secondary}`,
|
|
4340
|
+
borderRight: `1px solid ${o.vars.palette.border.secondary}`,
|
|
4158
4341
|
borderBottom: `1px solid ${o.vars.palette.background.default}`,
|
|
4159
4342
|
...o.colorSchemes.finalTheme.typography.bodyDens,
|
|
4160
4343
|
color: o.vars.palette.text.primary,
|
|
@@ -4165,7 +4348,7 @@ const c = (o) => ({
|
|
|
4165
4348
|
height: "2px",
|
|
4166
4349
|
left: "1.5px",
|
|
4167
4350
|
top: "0px",
|
|
4168
|
-
backgroundColor: o.vars.palette.
|
|
4351
|
+
backgroundColor: o.vars.palette.primary.active,
|
|
4169
4352
|
borderRadius: "2px 2px 0px 0px",
|
|
4170
4353
|
position: "absolute"
|
|
4171
4354
|
}
|
|
@@ -4173,7 +4356,7 @@ const c = (o) => ({
|
|
|
4173
4356
|
}
|
|
4174
4357
|
}
|
|
4175
4358
|
}
|
|
4176
|
-
}),
|
|
4359
|
+
}), I = (o) => ({
|
|
4177
4360
|
M4LAccordion: {
|
|
4178
4361
|
styleOverrides: {
|
|
4179
4362
|
"&.M4LAccordion-root": {
|
|
@@ -4193,7 +4376,7 @@ const c = (o) => ({
|
|
|
4193
4376
|
marginBottom: "0px",
|
|
4194
4377
|
borderRadius: "4px",
|
|
4195
4378
|
border: "1px solid",
|
|
4196
|
-
borderColor: o.vars.palette.
|
|
4379
|
+
borderColor: o.vars.palette.border.primary,
|
|
4197
4380
|
"& .MuiCollapse-root": {
|
|
4198
4381
|
padding: "8px",
|
|
4199
4382
|
"& .MuiCollapse-wrapper": {
|
|
@@ -4228,13 +4411,13 @@ const c = (o) => ({
|
|
|
4228
4411
|
}
|
|
4229
4412
|
},
|
|
4230
4413
|
"& .Mui-expanded": {
|
|
4231
|
-
background: o.vars.palette.
|
|
4414
|
+
background: o.vars.palette.primary.activeOpacity,
|
|
4232
4415
|
height: "28px",
|
|
4233
4416
|
minHeight: "28px",
|
|
4234
4417
|
"& .MuiButtonBase-root": {
|
|
4235
4418
|
"&.MuiAccordionSummary-content": {
|
|
4236
4419
|
borderRadius: "0 0 0 0 !important",
|
|
4237
|
-
background: o.vars.palette.
|
|
4420
|
+
background: o.vars.palette.primary.activeOpacity,
|
|
4238
4421
|
height: "28px",
|
|
4239
4422
|
minHeight: "28px"
|
|
4240
4423
|
},
|
|
@@ -4267,17 +4450,17 @@ const c = (o) => ({
|
|
|
4267
4450
|
minHeight: "28px",
|
|
4268
4451
|
padding: "0",
|
|
4269
4452
|
"&:hover": {
|
|
4270
|
-
background: o.vars.palette.
|
|
4453
|
+
background: o.vars.palette.background.hover
|
|
4271
4454
|
}
|
|
4272
4455
|
},
|
|
4273
4456
|
"& .MuiCollapse-root": {
|
|
4274
4457
|
background: o.vars.palette.background.default,
|
|
4275
|
-
borderColor: o.vars.palette.
|
|
4458
|
+
borderColor: o.vars.palette.border.primary,
|
|
4276
4459
|
borderRadius: "0px 0px 4px 4px",
|
|
4277
4460
|
padding: "8px",
|
|
4278
4461
|
"&.MuiButtonBase-root": {
|
|
4279
4462
|
padding: "4px 8px !important",
|
|
4280
|
-
background: o.vars.palette.background.
|
|
4463
|
+
background: o.vars.palette.background.main
|
|
4281
4464
|
},
|
|
4282
4465
|
"& .M4LAccordion-content": {
|
|
4283
4466
|
display: "flex !important",
|
|
@@ -4314,7 +4497,7 @@ const c = (o) => ({
|
|
|
4314
4497
|
}
|
|
4315
4498
|
}
|
|
4316
4499
|
}
|
|
4317
|
-
}),
|
|
4500
|
+
}), T = (o) => ({
|
|
4318
4501
|
M4LRHFormProvider: {
|
|
4319
4502
|
styleOverrides: {
|
|
4320
4503
|
"&.M4LRHFormProvider-root": {
|
|
@@ -4329,12 +4512,12 @@ const c = (o) => ({
|
|
|
4329
4512
|
}
|
|
4330
4513
|
}
|
|
4331
4514
|
}
|
|
4332
|
-
}),
|
|
4515
|
+
}), R = (o) => ({
|
|
4333
4516
|
M4LPeriod: {
|
|
4334
4517
|
styleOverrides: {
|
|
4335
4518
|
"&.M4LPeriod-root": {
|
|
4336
4519
|
border: "solid 1px",
|
|
4337
|
-
borderColor: o.vars.palette.
|
|
4520
|
+
borderColor: o.vars.palette.border.primary,
|
|
4338
4521
|
display: "flex",
|
|
4339
4522
|
width: "100%",
|
|
4340
4523
|
height: "auto",
|
|
@@ -4355,11 +4538,11 @@ const c = (o) => ({
|
|
|
4355
4538
|
borderRight: "1px solid",
|
|
4356
4539
|
display: "flex",
|
|
4357
4540
|
alignItems: "center",
|
|
4358
|
-
borderColor: o.vars.palette.
|
|
4541
|
+
borderColor: o.vars.palette.border.primary,
|
|
4359
4542
|
[o.breakpoints.down("md")]: {
|
|
4360
4543
|
borderRight: "0",
|
|
4361
4544
|
borderBottom: "1px solid",
|
|
4362
|
-
borderColor: o.vars.palette.
|
|
4545
|
+
borderColor: o.vars.palette.border.primary
|
|
4363
4546
|
}
|
|
4364
4547
|
},
|
|
4365
4548
|
"& .M4LPeriod-skeletonFieldSecondary": {
|
|
@@ -4370,20 +4553,20 @@ const c = (o) => ({
|
|
|
4370
4553
|
}
|
|
4371
4554
|
},
|
|
4372
4555
|
"&:hover": {
|
|
4373
|
-
borderColor: o.vars.palette.
|
|
4556
|
+
borderColor: o.vars.palette.primary.hover
|
|
4374
4557
|
},
|
|
4375
4558
|
"&.M4LPeriod-isFocus": {
|
|
4376
|
-
borderColor: o.vars.palette.
|
|
4559
|
+
borderColor: o.vars.palette.primary.active
|
|
4377
4560
|
},
|
|
4378
4561
|
"& .MuiAutocomplete-root": {
|
|
4379
4562
|
width: "100%",
|
|
4380
4563
|
borderRadius: 0,
|
|
4381
4564
|
borderRight: "1px solid",
|
|
4382
|
-
borderColor: o.vars.palette.
|
|
4565
|
+
borderColor: o.vars.palette.border.primary,
|
|
4383
4566
|
[o.breakpoints.down("md")]: {
|
|
4384
4567
|
borderRight: 0,
|
|
4385
4568
|
borderBottom: "1px solid",
|
|
4386
|
-
borderColor: o.vars.palette.
|
|
4569
|
+
borderColor: o.vars.palette.border.primary
|
|
4387
4570
|
},
|
|
4388
4571
|
"& .MuiInput-root": {
|
|
4389
4572
|
backgroundColor: "transparent"
|
|
@@ -4437,7 +4620,7 @@ const c = (o) => ({
|
|
|
4437
4620
|
height: "100% !important",
|
|
4438
4621
|
padding: "0px 0px 0px 8px",
|
|
4439
4622
|
borderRight: "1px solid",
|
|
4440
|
-
borderColor: o.vars.palette.
|
|
4623
|
+
borderColor: o.vars.palette.border.primary
|
|
4441
4624
|
},
|
|
4442
4625
|
"& .M4LPeriod-containerDateValue": {
|
|
4443
4626
|
display: "flex",
|
|
@@ -4445,10 +4628,10 @@ const c = (o) => ({
|
|
|
4445
4628
|
padding: "0px 0px 0px 8px"
|
|
4446
4629
|
},
|
|
4447
4630
|
"&.M4LPeriod-stateError": {
|
|
4448
|
-
borderColor: o.vars.palette.
|
|
4631
|
+
borderColor: o.vars.palette.error.main,
|
|
4449
4632
|
boxShadow: o.customShadows?.z2,
|
|
4450
4633
|
"&.M4LPeriod-stateError:hover": {
|
|
4451
|
-
borderColor: o.vars.palette.
|
|
4634
|
+
borderColor: o.vars.palette.error.main,
|
|
4452
4635
|
background: "transparent",
|
|
4453
4636
|
boxShadow: o.customShadows?.z2
|
|
4454
4637
|
},
|
|
@@ -4456,52 +4639,52 @@ const c = (o) => ({
|
|
|
4456
4639
|
width: "100%",
|
|
4457
4640
|
background: "transparent",
|
|
4458
4641
|
"& .MuiInputBase-root:hover": {
|
|
4459
|
-
background: o.vars.palette.error.
|
|
4642
|
+
background: o.vars.palette.error.activeOpacity,
|
|
4460
4643
|
height: "100%"
|
|
4461
4644
|
}
|
|
4462
4645
|
}
|
|
4463
4646
|
},
|
|
4464
4647
|
"&.M4LPeriod-stateWarning": {
|
|
4465
|
-
borderColor: o.vars.palette.
|
|
4648
|
+
borderColor: o.vars.palette.warning.main,
|
|
4466
4649
|
boxShadow: o.customShadows?.z2,
|
|
4467
4650
|
"&.M4LPeriod-stateWarning:hover": {
|
|
4468
|
-
borderColor: o.vars.palette.
|
|
4651
|
+
borderColor: o.vars.palette.warning.main,
|
|
4469
4652
|
boxShadow: o.customShadows?.z2,
|
|
4470
4653
|
background: "transparent",
|
|
4471
4654
|
"& .MuiTextField-root:hover": {
|
|
4472
4655
|
background: "transparent",
|
|
4473
4656
|
"& .MuiInputBase-root:hover": {
|
|
4474
|
-
background: o.vars.palette.warning.
|
|
4657
|
+
background: o.vars.palette.warning.activeOpacity
|
|
4475
4658
|
}
|
|
4476
4659
|
}
|
|
4477
4660
|
}
|
|
4478
4661
|
},
|
|
4479
4662
|
"&.M4LPeriod-stateSuccess": {
|
|
4480
|
-
borderColor: o.vars.palette.
|
|
4663
|
+
borderColor: o.vars.palette.success.main,
|
|
4481
4664
|
boxShadow: o.customShadows?.z2,
|
|
4482
4665
|
"&.M4LPeriod-stateSuccess:hover": {
|
|
4483
|
-
borderColor: o.vars.palette.
|
|
4666
|
+
borderColor: o.vars.palette.success.main,
|
|
4484
4667
|
boxShadow: o.customShadows?.z2,
|
|
4485
4668
|
background: "transparent",
|
|
4486
4669
|
"& .MuiTextField-root:hover": {
|
|
4487
4670
|
background: "transparent",
|
|
4488
4671
|
"& .MuiInputBase-root:hover": {
|
|
4489
|
-
background: o.vars.palette.success.
|
|
4672
|
+
background: o.vars.palette.success.activeOpacity
|
|
4490
4673
|
}
|
|
4491
4674
|
}
|
|
4492
4675
|
}
|
|
4493
4676
|
},
|
|
4494
4677
|
"&.M4LPeriod-stateInfo": {
|
|
4495
|
-
borderColor: o.vars.palette.
|
|
4678
|
+
borderColor: o.vars.palette.info.main,
|
|
4496
4679
|
boxShadow: o.customShadows?.z2,
|
|
4497
4680
|
"&.M4LPeriod-stateInfo:hover": {
|
|
4498
|
-
borderColor: o.vars.palette.
|
|
4681
|
+
borderColor: o.vars.palette.info.main,
|
|
4499
4682
|
background: "transparent",
|
|
4500
4683
|
boxShadow: o.customShadows?.z2,
|
|
4501
4684
|
"& .MuiTextField-root:hover": {
|
|
4502
4685
|
background: "transparent",
|
|
4503
4686
|
"& .MuiInputBase-root:hover": {
|
|
4504
|
-
background: o.vars.palette.info.
|
|
4687
|
+
background: o.vars.palette.info.main
|
|
4505
4688
|
}
|
|
4506
4689
|
}
|
|
4507
4690
|
}
|
|
@@ -4509,7 +4692,7 @@ const c = (o) => ({
|
|
|
4509
4692
|
}
|
|
4510
4693
|
}
|
|
4511
4694
|
}
|
|
4512
|
-
}),
|
|
4695
|
+
}), A = (o) => ({
|
|
4513
4696
|
M4LModalDialog: {
|
|
4514
4697
|
styleOverrides: {
|
|
4515
4698
|
"&.M4LModal-root": {
|
|
@@ -4521,6 +4704,7 @@ const c = (o) => ({
|
|
|
4521
4704
|
width: "100%",
|
|
4522
4705
|
height: "100%"
|
|
4523
4706
|
},
|
|
4707
|
+
// Contenedor Window Confirm
|
|
4524
4708
|
"& .M4LModal-containerWindow": {
|
|
4525
4709
|
display: "flex",
|
|
4526
4710
|
flexDirection: "column",
|
|
@@ -4532,6 +4716,7 @@ const c = (o) => ({
|
|
|
4532
4716
|
background: o.vars.palette.background.default,
|
|
4533
4717
|
boxShadow: o.customShadows?.z2,
|
|
4534
4718
|
borderRadius: "4px",
|
|
4719
|
+
// Contenedor botones de acción
|
|
4535
4720
|
"& .M4LCommonActions-root": {
|
|
4536
4721
|
padding: "16px 0 0 0",
|
|
4537
4722
|
margin: "0px",
|
|
@@ -4551,12 +4736,14 @@ const c = (o) => ({
|
|
|
4551
4736
|
width: "100%",
|
|
4552
4737
|
overflow: "auto",
|
|
4553
4738
|
gap: "12px",
|
|
4739
|
+
// Contenedor
|
|
4554
4740
|
"& .M4LModal-modalContent": {
|
|
4555
4741
|
display: "flex",
|
|
4556
4742
|
flexDirection: "column",
|
|
4557
4743
|
justifyContent: "center",
|
|
4558
4744
|
alignItems: "center",
|
|
4559
4745
|
gap: "12px",
|
|
4746
|
+
// Ilustración
|
|
4560
4747
|
"& .M4LModal-illustrationContainer": {
|
|
4561
4748
|
display: "flex",
|
|
4562
4749
|
flexDirection: "column",
|
|
@@ -4566,10 +4753,12 @@ const c = (o) => ({
|
|
|
4566
4753
|
height: "100px",
|
|
4567
4754
|
width: "100px"
|
|
4568
4755
|
},
|
|
4756
|
+
// Título de alerta
|
|
4569
4757
|
"& .MuiTypography-subtitle": {
|
|
4570
4758
|
...o.colorSchemes.finalTheme.typography.subtitleDens,
|
|
4571
4759
|
color: o.vars.palette.text.primary
|
|
4572
4760
|
},
|
|
4761
|
+
// Mensaje de alerta
|
|
4573
4762
|
"& .M4LModal-messageContainer": {
|
|
4574
4763
|
...o.colorSchemes.finalTheme.typography.body,
|
|
4575
4764
|
color: o.vars.palette.text.secondary,
|
|
@@ -4597,7 +4786,9 @@ const c = (o) => ({
|
|
|
4597
4786
|
textOverflow: "ellipsis",
|
|
4598
4787
|
overflow: "hidden"
|
|
4599
4788
|
},
|
|
4600
|
-
"& .M4LModal-iconCloseHeader": {
|
|
4789
|
+
"& .M4LModal-iconCloseHeader": {
|
|
4790
|
+
/* Optional overrides */
|
|
4791
|
+
}
|
|
4601
4792
|
},
|
|
4602
4793
|
"& .M4LModal-windowContent": {
|
|
4603
4794
|
padding: "24px",
|
|
@@ -4608,10 +4799,24 @@ const c = (o) => ({
|
|
|
4608
4799
|
flex: "1",
|
|
4609
4800
|
overflow: "hidden",
|
|
4610
4801
|
"& .M4LStack-root": {
|
|
4802
|
+
//gap: '8px',
|
|
4611
4803
|
overflow: "hidden"
|
|
4612
4804
|
}
|
|
4613
4805
|
}
|
|
4614
4806
|
}
|
|
4807
|
+
/*'& .react-resizable': {
|
|
4808
|
+
display: 'flex',
|
|
4809
|
+
flexDirection: 'column',
|
|
4810
|
+
justifyContent: 'center',
|
|
4811
|
+
alignItems: 'center',
|
|
4812
|
+
|
|
4813
|
+
'& .M4LIcon-root': {
|
|
4814
|
+
'& .M4LIcon-icon': {
|
|
4815
|
+
background: theme.vars.palette.text.secondary,
|
|
4816
|
+
boxShadow: theme.colorSchemes.finalTheme.customShadows.z1,
|
|
4817
|
+
},
|
|
4818
|
+
},
|
|
4819
|
+
}, */
|
|
4615
4820
|
}
|
|
4616
4821
|
},
|
|
4617
4822
|
"& .MuiPaper-root.MuiDialog-paperFullScreen": {
|
|
@@ -4626,16 +4831,16 @@ const c = (o) => ({
|
|
|
4626
4831
|
margin: "0px",
|
|
4627
4832
|
maxWidth: "unset",
|
|
4628
4833
|
maxHeight: "unset",
|
|
4629
|
-
background: o.vars.palette.
|
|
4834
|
+
background: o.vars.palette.primary.activeOpacity,
|
|
4630
4835
|
border: "2px solid",
|
|
4631
|
-
borderColor: o.vars.palette.
|
|
4836
|
+
borderColor: o.vars.palette.border.primary,
|
|
4632
4837
|
boxShadow: o.vars.customShadows.z4,
|
|
4633
4838
|
width: "auto",
|
|
4634
4839
|
height: "auto"
|
|
4635
4840
|
}
|
|
4636
4841
|
}
|
|
4637
4842
|
}
|
|
4638
|
-
}),
|
|
4843
|
+
}), P = (o) => ({
|
|
4639
4844
|
M4LPaperForm: {
|
|
4640
4845
|
styleOverrides: {
|
|
4641
4846
|
"&.M4LPaperForm-root": {
|
|
@@ -4643,12 +4848,14 @@ const c = (o) => ({
|
|
|
4643
4848
|
borderRadius: "4px",
|
|
4644
4849
|
background: o.vars.palette.background.default,
|
|
4645
4850
|
border: "1px solid",
|
|
4646
|
-
borderColor: o.vars.palette.
|
|
4851
|
+
borderColor: o.vars.palette.border.secondary,
|
|
4647
4852
|
width: "100%",
|
|
4648
4853
|
height: "auto",
|
|
4854
|
+
// variante isForm
|
|
4649
4855
|
"&.M4LPaperForm-isForm .M4LPaperForm-content": {
|
|
4650
4856
|
gap: "12px"
|
|
4651
4857
|
},
|
|
4858
|
+
// Header
|
|
4652
4859
|
"& .M4LPaperForm-headerContainer": {
|
|
4653
4860
|
width: "100%",
|
|
4654
4861
|
height: "28px",
|
|
@@ -4662,16 +4869,19 @@ const c = (o) => ({
|
|
|
4662
4869
|
height: "36px",
|
|
4663
4870
|
minHeight: "36px"
|
|
4664
4871
|
},
|
|
4872
|
+
//Title paperForm
|
|
4665
4873
|
"& .M4LPaperForm-iconTitleContainer": {
|
|
4666
4874
|
...o.colorSchemes.finalTheme.typography.bodyDens,
|
|
4667
4875
|
color: o.vars.palette.text.primary,
|
|
4668
4876
|
display: "flex",
|
|
4669
4877
|
gap: "8px",
|
|
4878
|
+
//Icon paperForm
|
|
4670
4879
|
"& .M4LPaperForm-iconHeaderContainer": {
|
|
4671
4880
|
margin: "0px"
|
|
4672
4881
|
}
|
|
4673
4882
|
}
|
|
4674
4883
|
},
|
|
4884
|
+
//Container paperForm
|
|
4675
4885
|
"& .M4LPaperForm-content": {
|
|
4676
4886
|
display: "flex",
|
|
4677
4887
|
flexDirection: "column",
|
|
@@ -4684,7 +4894,7 @@ const c = (o) => ({
|
|
|
4684
4894
|
}
|
|
4685
4895
|
}
|
|
4686
4896
|
}
|
|
4687
|
-
}),
|
|
4897
|
+
}), O = (o) => ({
|
|
4688
4898
|
M4LTooltip: {
|
|
4689
4899
|
styleOverrides: {
|
|
4690
4900
|
"&.M4LTooltip-root": {
|
|
@@ -4699,13 +4909,13 @@ const c = (o) => ({
|
|
|
4699
4909
|
height: "fit-content",
|
|
4700
4910
|
minHeight: "24px",
|
|
4701
4911
|
width: "fit-content",
|
|
4702
|
-
color:
|
|
4912
|
+
color: t.marbleLight[30],
|
|
4703
4913
|
...o.colorSchemes.finalTheme.typography.body
|
|
4704
4914
|
}
|
|
4705
4915
|
}
|
|
4706
4916
|
}
|
|
4707
4917
|
}
|
|
4708
|
-
}),
|
|
4918
|
+
}), D = (o) => ({
|
|
4709
4919
|
M4LBadge: {
|
|
4710
4920
|
styleOverrides: {
|
|
4711
4921
|
"&.M4LBadge-root": {
|
|
@@ -4726,17 +4936,17 @@ const c = (o) => ({
|
|
|
4726
4936
|
borderRadius: "4px",
|
|
4727
4937
|
border: "1px solid",
|
|
4728
4938
|
borderColor: o.vars.palette.background.default,
|
|
4729
|
-
backgroundColor: o.vars.palette.
|
|
4939
|
+
backgroundColor: o.vars.palette.error.main,
|
|
4730
4940
|
height: "16px",
|
|
4731
4941
|
top: "14%",
|
|
4732
4942
|
right: "16%",
|
|
4733
|
-
color: o.vars.palette.
|
|
4943
|
+
color: o.vars.palette.grey[200]
|
|
4734
4944
|
}
|
|
4735
4945
|
}
|
|
4736
4946
|
}
|
|
4737
4947
|
}
|
|
4738
4948
|
}
|
|
4739
|
-
}),
|
|
4949
|
+
}), H = (o) => ({
|
|
4740
4950
|
M4LDataGrid: {
|
|
4741
4951
|
styleOverrides: {
|
|
4742
4952
|
"&.M4LDataGrid-root": {
|
|
@@ -4744,7 +4954,7 @@ const c = (o) => ({
|
|
|
4744
4954
|
boxShadow: "unset",
|
|
4745
4955
|
borderRadius: "4px",
|
|
4746
4956
|
border: "1px solid",
|
|
4747
|
-
borderColor: o.vars.palette.
|
|
4957
|
+
borderColor: o.vars.palette.border.primary,
|
|
4748
4958
|
display: "flex",
|
|
4749
4959
|
position: "relative",
|
|
4750
4960
|
flexDirection: "column",
|
|
@@ -4756,7 +4966,9 @@ const c = (o) => ({
|
|
|
4756
4966
|
color: o.vars.palette.text.secondary
|
|
4757
4967
|
}
|
|
4758
4968
|
},
|
|
4759
|
-
|
|
4969
|
+
// Condicion Breakpoint css Query Container
|
|
4970
|
+
// Condiciones BreakPoint < sm
|
|
4971
|
+
"&.M4LDataGrid-xs": {
|
|
4760
4972
|
"& .M4LDataGrid-actions": {
|
|
4761
4973
|
height: "44px",
|
|
4762
4974
|
"& .M4LPager-labelRowsPerPageContainer": {
|
|
@@ -4785,9 +4997,12 @@ const c = (o) => ({
|
|
|
4785
4997
|
background: o.vars.palette.background.default,
|
|
4786
4998
|
position: "absolute",
|
|
4787
4999
|
gap: "8px",
|
|
4788
|
-
|
|
5000
|
+
"@container main (max-width: 600px)": {
|
|
4789
5001
|
height: "44px"
|
|
4790
5002
|
},
|
|
5003
|
+
/* [theme.breakpoints.down('sm')]: {
|
|
5004
|
+
height: '44px',
|
|
5005
|
+
}, */
|
|
4791
5006
|
"& .M4LDataGrid-actionsConfigContainer": {
|
|
4792
5007
|
display: "flex",
|
|
4793
5008
|
flexDirection: "row",
|
|
@@ -4805,6 +5020,7 @@ const c = (o) => ({
|
|
|
4805
5020
|
...o.colorSchemes.finalTheme.typography.body,
|
|
4806
5021
|
color: o.vars.palette.text.primary,
|
|
4807
5022
|
height: "100%"
|
|
5023
|
+
//revisar
|
|
4808
5024
|
},
|
|
4809
5025
|
"& .M4LDataGrid-rowsCountValue": {
|
|
4810
5026
|
paddingTop: "4px",
|
|
@@ -4815,8 +5031,13 @@ const c = (o) => ({
|
|
|
4815
5031
|
borderRadius: "4px"
|
|
4816
5032
|
}
|
|
4817
5033
|
},
|
|
4818
|
-
|
|
4819
|
-
"& .M4LDataGrid-
|
|
5034
|
+
/* Action density se carga en el portal M4LDataGridDensityPopover, no se debe estilar desde aquí. */
|
|
5035
|
+
"& .M4LDataGrid-actionFilter": {
|
|
5036
|
+
/* Estilos de iconButton Filter */
|
|
5037
|
+
},
|
|
5038
|
+
"& .M4LDataGrid-actionSettings": {
|
|
5039
|
+
/* Estilos de iconButton Settings */
|
|
5040
|
+
}
|
|
4820
5041
|
},
|
|
4821
5042
|
"& .M4LDataGrid-tableContaniner:not(.M4LDataGrid-withActions)": {
|
|
4822
5043
|
top: "0!important"
|
|
@@ -4835,7 +5056,7 @@ const c = (o) => ({
|
|
|
4835
5056
|
border: "none",
|
|
4836
5057
|
boxshadow: o.customShadows?.z2,
|
|
4837
5058
|
background: o.vars.palette.background.default,
|
|
4838
|
-
|
|
5059
|
+
"@container main (max-width: 600px)": {
|
|
4839
5060
|
top: "44px"
|
|
4840
5061
|
},
|
|
4841
5062
|
"& .M4LDataGrid-wrapperDataGridCss": {
|
|
@@ -4858,20 +5079,23 @@ const c = (o) => ({
|
|
|
4858
5079
|
"--rdg-row-selected-background-color": "#D9E9FC",
|
|
4859
5080
|
"--rdg-row-hover-background-color": "#D9E9FC",
|
|
4860
5081
|
"--rdg-background-color": o.vars.palette.background.default,
|
|
4861
|
-
"--rdg-selection-color": o.vars.palette.
|
|
4862
|
-
"--row-selected-hover-background-color":
|
|
5082
|
+
"--rdg-selection-color": o.vars.palette.border.selected,
|
|
5083
|
+
"--row-selected-hover-background-color": o.vars.palette.primary.toneOpacity,
|
|
4863
5084
|
"--rdg-checkbox-color": o.vars.palette.primary.main,
|
|
4864
|
-
"--rdg-checkbox-focus-color":
|
|
5085
|
+
"--rdg-checkbox-focus-color": r(
|
|
4865
5086
|
o.colorSchemes.finalTheme.palette.primary.main,
|
|
4866
5087
|
o.colorSchemes.finalTheme.palette.action.selectedOpacity
|
|
4867
5088
|
),
|
|
4868
5089
|
"--rdg-border-color": "none",
|
|
5090
|
+
// "--rdg-checkbox-disabled-border-color:":theme.vars.palette.divider,
|
|
5091
|
+
// "--rdg-checkbox-disabled-background-color":theme.vars.palette.,
|
|
5092
|
+
/* border-bottom-right-radius: 3px; */
|
|
4869
5093
|
"&:last-child .rdg-cell": {
|
|
4870
5094
|
borderTop: "0.5px solid",
|
|
4871
5095
|
borderBottom: "1px solid",
|
|
4872
5096
|
borderLeft: "0.5px solid",
|
|
4873
5097
|
borderRight: "0.5px solid",
|
|
4874
|
-
borderColor: o.vars.palette.
|
|
5098
|
+
borderColor: o.vars.palette.border.disabled
|
|
4875
5099
|
}
|
|
4876
5100
|
},
|
|
4877
5101
|
'& [role="columnheader"]': {
|
|
@@ -4882,7 +5106,7 @@ const c = (o) => ({
|
|
|
4882
5106
|
'&[aria-selected="false"] .rdg-cell': {
|
|
4883
5107
|
backgroundColor: o.vars.palette.background.default,
|
|
4884
5108
|
borderLeft: "0.5px solid",
|
|
4885
|
-
borderColor: o.vars.palette.
|
|
5109
|
+
borderColor: o.vars.palette.border.disabled
|
|
4886
5110
|
},
|
|
4887
5111
|
"&:nth-of-type(odd)": {
|
|
4888
5112
|
"& .rdg-cell": {
|
|
@@ -4890,13 +5114,14 @@ const c = (o) => ({
|
|
|
4890
5114
|
}
|
|
4891
5115
|
},
|
|
4892
5116
|
'&[aria-selected="true"] .rdg-cell': {
|
|
4893
|
-
backgroundColor: o.vars.palette.
|
|
5117
|
+
backgroundColor: o.vars.palette.primary?.toneOpacity
|
|
4894
5118
|
},
|
|
4895
5119
|
"&:hover": {
|
|
4896
5120
|
"& .rdg-cell": {
|
|
4897
|
-
backgroundColor: `${o.vars.palette.
|
|
5121
|
+
backgroundColor: `${o.vars.palette.general.gridHover} !important`,
|
|
4898
5122
|
transition: "background-color 0.1s linear"
|
|
4899
5123
|
}
|
|
5124
|
+
/* backgroundColor: theme.vars.palette.primary.activeOpacity, */
|
|
4900
5125
|
},
|
|
4901
5126
|
backgroundColor: "transparent"
|
|
4902
5127
|
},
|
|
@@ -4904,7 +5129,7 @@ const c = (o) => ({
|
|
|
4904
5129
|
transition: "background-color 0.1s linear",
|
|
4905
5130
|
borderBottom: "0px solid transparent",
|
|
4906
5131
|
borderRight: "0.5px solid transparent",
|
|
4907
|
-
borderColor: o.vars.palette.background.
|
|
5132
|
+
borderColor: o.vars.palette.background.bold,
|
|
4908
5133
|
color: o.vars.palette.text.secondary,
|
|
4909
5134
|
display: "inline",
|
|
4910
5135
|
justifyContent: "center",
|
|
@@ -4921,7 +5146,7 @@ const c = (o) => ({
|
|
|
4921
5146
|
borderBottom: "1px solid",
|
|
4922
5147
|
borderLeft: "0.5px solid",
|
|
4923
5148
|
borderRight: "0.5px solid",
|
|
4924
|
-
borderColor: `${o.vars.palette.
|
|
5149
|
+
borderColor: `${o.vars.palette.border.disabled} !important`,
|
|
4925
5150
|
...o.colorSchemes.finalTheme.typography.body
|
|
4926
5151
|
},
|
|
4927
5152
|
"&.rdg-cell-frozen": {
|
|
@@ -4935,6 +5160,7 @@ const c = (o) => ({
|
|
|
4935
5160
|
borderRight: `0px solid ${o.vars.palette.divider}`,
|
|
4936
5161
|
position: "absolute",
|
|
4937
5162
|
right: "0px",
|
|
5163
|
+
// Por desajuste en chrome en el espaciado
|
|
4938
5164
|
height: "100%"
|
|
4939
5165
|
},
|
|
4940
5166
|
"& .m4l_icon": {
|
|
@@ -4948,22 +5174,26 @@ const c = (o) => ({
|
|
|
4948
5174
|
'& .rdg-cell[role="columnheader"] .rdg-header-sort-name': {
|
|
4949
5175
|
...o.colorSchemes.finalTheme.typography.bodyDens,
|
|
4950
5176
|
lineHeight: "var(--rdg-row-height)!important",
|
|
5177
|
+
//ajuste de contenido filtro del DataGrid
|
|
4951
5178
|
height: "28px",
|
|
4952
5179
|
display: "flex",
|
|
4953
5180
|
justifyContent: "center",
|
|
4954
5181
|
alignItems: "center"
|
|
4955
5182
|
},
|
|
5183
|
+
// Esta condicion para el flujo de cabecera cuando no tiene utilidad sort
|
|
4956
5184
|
'& .rdg-cell[role="columnheader"] [draggable="true"]': {
|
|
4957
5185
|
...o.colorSchemes.finalTheme.typography.bodyDens,
|
|
4958
5186
|
lineHeight: "var(--rdg-row-height)!important"
|
|
4959
5187
|
},
|
|
4960
5188
|
"& [aria-selected=true]": {
|
|
4961
|
-
backgroundColor: o.vars.palette.
|
|
5189
|
+
backgroundColor: o.vars.palette.primary?.toneOpacity,
|
|
4962
5190
|
color: o.vars.palette.text.primary,
|
|
5191
|
+
//cambia el color del contorno de cada celda selecionada
|
|
4963
5192
|
outline: "1px solid",
|
|
4964
5193
|
outlineOffset: "-1px",
|
|
4965
|
-
outlineColor: o.vars.palette.
|
|
5194
|
+
outlineColor: o.vars.palette.border.selected
|
|
4966
5195
|
},
|
|
5196
|
+
// Alineaciones
|
|
4967
5197
|
"& .rdg-cell.rdg-cell-align-left": {
|
|
4968
5198
|
textAlign: "start",
|
|
4969
5199
|
display: "inline",
|
|
@@ -4977,16 +5207,19 @@ const c = (o) => ({
|
|
|
4977
5207
|
"& .rdg-cell.rdg-cell-align-right": {
|
|
4978
5208
|
textAlign: "right"
|
|
4979
5209
|
},
|
|
5210
|
+
// Estilado de la ultima celda congelada
|
|
4980
5211
|
"& .rdg-row .rdg-cell-frozen-last:after": {
|
|
4981
5212
|
borderRight: "0px solid transparent"
|
|
4982
5213
|
},
|
|
5214
|
+
// Estilado de la ultima celda (Quitar la linea divisora derecha)
|
|
4983
5215
|
"& .rdg-row :last-child:after": {
|
|
4984
5216
|
borderRight: "0px solid",
|
|
4985
|
-
borderColor: o.vars.palette.background.
|
|
5217
|
+
borderColor: o.vars.palette.background.main
|
|
4986
5218
|
},
|
|
4987
5219
|
"& .rdg-header-row": {
|
|
4988
5220
|
backgroundColor: o.vars.palette.background.header
|
|
4989
5221
|
},
|
|
5222
|
+
// Estilado de celdas de la cabecera
|
|
4990
5223
|
"& .rdg-header-row .rdg-cell": {
|
|
4991
5224
|
fontFamily: o.typography.body,
|
|
4992
5225
|
fontWeight: o.typography.body,
|
|
@@ -4996,14 +5229,18 @@ const c = (o) => ({
|
|
|
4996
5229
|
boxShadow: "none",
|
|
4997
5230
|
gridTemplateColumns: "auto",
|
|
4998
5231
|
borderBottom: "0.5px solid !important",
|
|
4999
|
-
borderColor: `${o.vars.palette.
|
|
5232
|
+
borderColor: `${o.vars.palette.border.disabled} !important`,
|
|
5000
5233
|
'& [draggable="true"]': {
|
|
5001
5234
|
fontSize: o.typography.body
|
|
5002
5235
|
},
|
|
5236
|
+
// Ultima celda de la cebecera frozen
|
|
5003
5237
|
"&.rdg-cell-frozen-last": {
|
|
5004
5238
|
borderColor: o.vars.palette.background.default,
|
|
5005
5239
|
boxShadow: "var(--rdg-frozen-cell-box-shadow)",
|
|
5006
|
-
"&:after": {
|
|
5240
|
+
"&:after": {
|
|
5241
|
+
//borderRight: `1.5px solid`,
|
|
5242
|
+
//borderColor: theme.vars.palette.background.main,
|
|
5243
|
+
}
|
|
5007
5244
|
},
|
|
5008
5245
|
"& .rdg-header-sort-cell": {
|
|
5009
5246
|
"& .rdg-header-sort-name + span": {
|
|
@@ -5015,27 +5252,40 @@ const c = (o) => ({
|
|
|
5015
5252
|
}
|
|
5016
5253
|
}
|
|
5017
5254
|
},
|
|
5255
|
+
// Modificar el tamaño de la flecha
|
|
5018
5256
|
"& .rdg-sort-arrow": {}
|
|
5019
5257
|
},
|
|
5258
|
+
// Estilado de la ultima celda Header
|
|
5020
5259
|
"& .rdg-header-row :last-child.rdg-cell": {
|
|
5021
5260
|
borderTopRightRadius: "0",
|
|
5022
5261
|
"&:after": {
|
|
5023
5262
|
borderRight: "0px solid transparent"
|
|
5024
5263
|
}
|
|
5025
5264
|
},
|
|
5265
|
+
// filter
|
|
5026
5266
|
"& .filter_cell_div": {
|
|
5027
5267
|
paddingLeft: "8px",
|
|
5028
5268
|
paddingRight: "8px"
|
|
5029
5269
|
},
|
|
5270
|
+
//
|
|
5030
5271
|
"& .rdg-header-sort-cell": {
|
|
5031
5272
|
width: "100%",
|
|
5032
5273
|
flexGrow: "1",
|
|
5033
5274
|
alignItems: "center",
|
|
5034
5275
|
color: o.vars.palette.text.primary
|
|
5035
5276
|
}
|
|
5277
|
+
/* '& [aria-columnsort="ASC"]': {
|
|
5278
|
+
borderTop: `2px solid ${theme.vars.palette.primary.main}`,
|
|
5279
|
+
}, */
|
|
5280
|
+
/* '& [aria-columnsort="DESC"]': {
|
|
5281
|
+
borderBottom: `2px solid ${theme.vars.palette.primary.main}`,
|
|
5282
|
+
}, */
|
|
5036
5283
|
}
|
|
5037
5284
|
},
|
|
5038
|
-
|
|
5285
|
+
/* Flujo sin paginador */
|
|
5286
|
+
"&.M4LDataGrid-withNoPager": {
|
|
5287
|
+
/* Por definir */
|
|
5288
|
+
}
|
|
5039
5289
|
}
|
|
5040
5290
|
}
|
|
5041
5291
|
},
|
|
@@ -5083,7 +5333,7 @@ const c = (o) => ({
|
|
|
5083
5333
|
}
|
|
5084
5334
|
}
|
|
5085
5335
|
}
|
|
5086
|
-
}),
|
|
5336
|
+
}), W = (o) => ({
|
|
5087
5337
|
M4LPager: {
|
|
5088
5338
|
styleOverrides: {
|
|
5089
5339
|
"&.M4LPager-root": {
|
|
@@ -5094,6 +5344,7 @@ const c = (o) => ({
|
|
|
5094
5344
|
whiteSpace: "nowrap",
|
|
5095
5345
|
width: "100%",
|
|
5096
5346
|
justifyContent: "space-between",
|
|
5347
|
+
// pagerActions
|
|
5097
5348
|
"& .M4LPager-pagerActions": {
|
|
5098
5349
|
display: "flex",
|
|
5099
5350
|
padding: "2px",
|
|
@@ -5190,7 +5441,7 @@ const c = (o) => ({
|
|
|
5190
5441
|
}
|
|
5191
5442
|
}
|
|
5192
5443
|
}
|
|
5193
|
-
}),
|
|
5444
|
+
}), z = (o) => ({
|
|
5194
5445
|
M4LCheckBox: {
|
|
5195
5446
|
styleOverrides: {
|
|
5196
5447
|
"&.M4LCheckBox-root": {
|
|
@@ -5208,6 +5459,7 @@ const c = (o) => ({
|
|
|
5208
5459
|
color: o.vars.palette.text.primary,
|
|
5209
5460
|
...o.colorSchemes.finalTheme.typography.body
|
|
5210
5461
|
},
|
|
5462
|
+
/* caso small */
|
|
5211
5463
|
"&.M4LCheckBox-small ": {
|
|
5212
5464
|
"& .MuiButtonBase-root": {
|
|
5213
5465
|
width: "24px",
|
|
@@ -5218,6 +5470,7 @@ const c = (o) => ({
|
|
|
5218
5470
|
width: "16px",
|
|
5219
5471
|
height: "16px"
|
|
5220
5472
|
},
|
|
5473
|
+
/* caso medium */
|
|
5221
5474
|
"&.M4LCheckBox-medium": {
|
|
5222
5475
|
"& .MuiButtonBase-root": {
|
|
5223
5476
|
width: "24px",
|
|
@@ -5232,6 +5485,7 @@ const c = (o) => ({
|
|
|
5232
5485
|
width: "20px",
|
|
5233
5486
|
height: "20px"
|
|
5234
5487
|
},
|
|
5488
|
+
// Caso general
|
|
5235
5489
|
"& .MuiButtonBase-root": {
|
|
5236
5490
|
borderRadius: "4px",
|
|
5237
5491
|
"& .MuiSvgIcon-root": {
|
|
@@ -5239,32 +5493,34 @@ const c = (o) => ({
|
|
|
5239
5493
|
}
|
|
5240
5494
|
},
|
|
5241
5495
|
"& .MuiButtonBase-root:hover": {
|
|
5242
|
-
backgroundColor: o.vars.palette.
|
|
5496
|
+
backgroundColor: o.vars.palette.primary?.activeOpacity,
|
|
5243
5497
|
borderRadius: "4px"
|
|
5244
5498
|
},
|
|
5245
5499
|
"& .Mui-focusVisible": {
|
|
5246
5500
|
border: "1px solid",
|
|
5247
|
-
borderColor: o.vars.palette.
|
|
5501
|
+
borderColor: o.vars.palette.primary?.focus
|
|
5248
5502
|
},
|
|
5249
5503
|
"& .MuiButtonBase-root:hover .MuiSvgIcon-root": {
|
|
5250
|
-
fill: o.vars.palette.
|
|
5504
|
+
fill: o.vars.palette.primary?.hover
|
|
5251
5505
|
},
|
|
5506
|
+
/* caso general */
|
|
5252
5507
|
"& .M4LCheckBox-checkTypography .MuiTypography-root": {
|
|
5253
5508
|
...o.colorSchemes.finalTheme.typography.body
|
|
5254
5509
|
},
|
|
5255
5510
|
"& .M4LCheckBox-stateDisabled .MuiSvgIcon-root": {
|
|
5256
|
-
fill: o.vars.palette.
|
|
5511
|
+
fill: o.vars.palette.background?.default
|
|
5257
5512
|
},
|
|
5258
5513
|
"& .M4LCheckBox-stateDisabled .MuiTypography-root": {
|
|
5259
5514
|
color: o.vars.palette.text.disabled
|
|
5260
5515
|
},
|
|
5516
|
+
/* selector del caso focus por tab */
|
|
5261
5517
|
"& .MuiButtonBase-root .Mui-focusVisible:focus-visible": {
|
|
5262
5518
|
outline: "#fff00"
|
|
5263
5519
|
}
|
|
5264
5520
|
}
|
|
5265
5521
|
}
|
|
5266
5522
|
}
|
|
5267
|
-
}),
|
|
5523
|
+
}), V = (o) => ({
|
|
5268
5524
|
M4LStack: {
|
|
5269
5525
|
styleOverrides: {
|
|
5270
5526
|
"&.M4LStack-root": {
|
|
@@ -5277,7 +5533,7 @@ const c = (o) => ({
|
|
|
5277
5533
|
}
|
|
5278
5534
|
}
|
|
5279
5535
|
}
|
|
5280
|
-
}),
|
|
5536
|
+
}), G = (o) => ({
|
|
5281
5537
|
M4LTabs: {
|
|
5282
5538
|
styleOverrides: {
|
|
5283
5539
|
"&.M4LTabs-root": {
|
|
@@ -5291,7 +5547,7 @@ const c = (o) => ({
|
|
|
5291
5547
|
display: "none"
|
|
5292
5548
|
},
|
|
5293
5549
|
"& .MuiButtonBase-root": {
|
|
5294
|
-
background: o.vars.palette.background.
|
|
5550
|
+
background: o.vars.palette.background.bold,
|
|
5295
5551
|
borderRadius: "4px 4px 0 0",
|
|
5296
5552
|
"& .MuiSvgIcon-root": {
|
|
5297
5553
|
color: o.vars.palette.text.primary
|
|
@@ -5299,7 +5555,7 @@ const c = (o) => ({
|
|
|
5299
5555
|
},
|
|
5300
5556
|
"& .MuiButtonBase-root:hover": {
|
|
5301
5557
|
"& .MuiSvgIcon-root": {
|
|
5302
|
-
color: o.vars.palette.
|
|
5558
|
+
color: o.vars.palette.primary.active
|
|
5303
5559
|
}
|
|
5304
5560
|
},
|
|
5305
5561
|
"& .MuiTabs-scroller": {
|
|
@@ -5317,7 +5573,7 @@ const c = (o) => ({
|
|
|
5317
5573
|
}
|
|
5318
5574
|
}
|
|
5319
5575
|
}
|
|
5320
|
-
}),
|
|
5576
|
+
}), F = (o) => ({
|
|
5321
5577
|
M4LNoItemSelected: {
|
|
5322
5578
|
styleOverrides: {
|
|
5323
5579
|
"&.M4LNoItemSelected-root": {
|
|
@@ -5337,7 +5593,7 @@ const c = (o) => ({
|
|
|
5337
5593
|
}
|
|
5338
5594
|
}
|
|
5339
5595
|
}
|
|
5340
|
-
}),
|
|
5596
|
+
}), j = (o) => ({
|
|
5341
5597
|
M4LScrollBar: {
|
|
5342
5598
|
styleOverrides: {
|
|
5343
5599
|
"&.M4LScrollBar-root": {
|
|
@@ -5362,17 +5618,17 @@ const c = (o) => ({
|
|
|
5362
5618
|
position: "relative"
|
|
5363
5619
|
},
|
|
5364
5620
|
"& .simplebar-track.simplebar-horizontal .simplebar-scrollbar:before": {
|
|
5365
|
-
background: o.vars.palette.
|
|
5621
|
+
background: o.vars.palette.general.scrollBar,
|
|
5366
5622
|
borderRadius: "2px"
|
|
5367
5623
|
},
|
|
5368
5624
|
"& .simplebar-track.simplebar-vertical .simplebar-scrollbar:before": {
|
|
5369
|
-
background: o.vars.palette.
|
|
5625
|
+
background: o.vars.palette.general.scrollBar,
|
|
5370
5626
|
borderRadius: "2px"
|
|
5371
5627
|
}
|
|
5372
5628
|
}
|
|
5373
5629
|
}
|
|
5374
5630
|
}
|
|
5375
|
-
}),
|
|
5631
|
+
}), N = (o) => ({
|
|
5376
5632
|
M4LGridLayout: {
|
|
5377
5633
|
styleOverrides: {
|
|
5378
5634
|
"&.M4LGridLayout-root": {
|
|
@@ -5380,7 +5636,7 @@ const c = (o) => ({
|
|
|
5380
5636
|
}
|
|
5381
5637
|
}
|
|
5382
5638
|
}
|
|
5383
|
-
}),
|
|
5639
|
+
}), E = (o) => ({
|
|
5384
5640
|
M4LTabContent: {
|
|
5385
5641
|
styleOverrides: {
|
|
5386
5642
|
"&.M4LTabContent-root": {
|
|
@@ -5398,7 +5654,7 @@ const c = (o) => ({
|
|
|
5398
5654
|
borderLeft: "1px solid",
|
|
5399
5655
|
borderRight: "1px solid",
|
|
5400
5656
|
borderBottom: "1px solid",
|
|
5401
|
-
borderColor: o.vars.palette.
|
|
5657
|
+
borderColor: o.vars.palette.border.secondary,
|
|
5402
5658
|
boxSizing: "border-box",
|
|
5403
5659
|
zIndex: "1",
|
|
5404
5660
|
top: "-1px",
|
|
@@ -5411,7 +5667,7 @@ const c = (o) => ({
|
|
|
5411
5667
|
}
|
|
5412
5668
|
}
|
|
5413
5669
|
}
|
|
5414
|
-
}),
|
|
5670
|
+
}), $ = (o) => ({
|
|
5415
5671
|
M4LMenuActions: {
|
|
5416
5672
|
styleOverrides: {
|
|
5417
5673
|
"&.M4LMenuActions-root": {
|
|
@@ -5437,15 +5693,15 @@ const c = (o) => ({
|
|
|
5437
5693
|
}
|
|
5438
5694
|
},
|
|
5439
5695
|
"& .M4LMenuActions-itemDelete": {
|
|
5440
|
-
color: o.vars.palette.
|
|
5696
|
+
color: o.vars.palette.error.main,
|
|
5441
5697
|
"& .M4LIcon-root .M4LIcon-icon": {
|
|
5442
|
-
backgroundColor: o.vars.palette.
|
|
5698
|
+
backgroundColor: o.vars.palette.error.main
|
|
5443
5699
|
}
|
|
5444
5700
|
}
|
|
5445
5701
|
}
|
|
5446
5702
|
}
|
|
5447
5703
|
}
|
|
5448
|
-
}),
|
|
5704
|
+
}), U = (o) => ({
|
|
5449
5705
|
M4LPrintingSystem: {
|
|
5450
5706
|
styleOverrides: {
|
|
5451
5707
|
"&.M4LPrintingSystem-root": {
|
|
@@ -5627,7 +5883,7 @@ const c = (o) => ({
|
|
|
5627
5883
|
}
|
|
5628
5884
|
}
|
|
5629
5885
|
}
|
|
5630
|
-
}),
|
|
5886
|
+
}), _ = (o) => ({
|
|
5631
5887
|
M4LFormatter: {
|
|
5632
5888
|
styleOverrides: {
|
|
5633
5889
|
"&.M4LFormatter-root": {
|
|
@@ -5637,14 +5893,14 @@ const c = (o) => ({
|
|
|
5637
5893
|
},
|
|
5638
5894
|
"&.M4LFormatter-booleanFormatterCheck": {
|
|
5639
5895
|
"& .M4LIcon-icon": {
|
|
5640
|
-
backgroundColor: o.vars.palette.
|
|
5896
|
+
backgroundColor: o.vars.palette.primary.active
|
|
5641
5897
|
}
|
|
5642
5898
|
}
|
|
5643
5899
|
}
|
|
5644
5900
|
}
|
|
5645
5901
|
}
|
|
5646
5902
|
}
|
|
5647
|
-
}),
|
|
5903
|
+
}), q = (o) => ({
|
|
5648
5904
|
M4LoadingError: {
|
|
5649
5905
|
styleOverrides: {
|
|
5650
5906
|
"&.M4LoadingError-root": {
|
|
@@ -5666,18 +5922,21 @@ const c = (o) => ({
|
|
|
5666
5922
|
gap: "12px",
|
|
5667
5923
|
position: "absolute",
|
|
5668
5924
|
inset: "0",
|
|
5925
|
+
// Contenedor de ilustracion
|
|
5669
5926
|
"& .M4LIcon-root": {
|
|
5670
5927
|
display: "flex",
|
|
5671
5928
|
padding: "12px",
|
|
5929
|
+
// Ilustración
|
|
5672
5930
|
" .M4LIcon-icon": {
|
|
5673
5931
|
width: "100px",
|
|
5674
5932
|
height: "100px",
|
|
5675
|
-
backgroundColor: o.vars.palette.
|
|
5933
|
+
backgroundColor: o.vars.palette.skeleton.default
|
|
5676
5934
|
}
|
|
5677
5935
|
},
|
|
5678
5936
|
"& .M4LoadingError-titleDescription": {
|
|
5679
5937
|
textAlign: "center"
|
|
5680
5938
|
},
|
|
5939
|
+
// Título
|
|
5681
5940
|
"& .M4LoadingError-loadingErrorTitle": {
|
|
5682
5941
|
...o.colorSchemes.finalTheme.typography.h5,
|
|
5683
5942
|
color: o.vars.palette.text.primary,
|
|
@@ -5685,25 +5944,30 @@ const c = (o) => ({
|
|
|
5685
5944
|
...o.colorSchemes.finalTheme.typography.h5
|
|
5686
5945
|
}
|
|
5687
5946
|
},
|
|
5947
|
+
// Subtítulo (explicaciòn de resultado)
|
|
5688
5948
|
"& .M4LoadingError-loadingErrorDescription": {
|
|
5689
5949
|
...o.colorSchemes.finalTheme.typography.paragraphDens,
|
|
5690
5950
|
color: o.vars.palette.text.secondary
|
|
5691
5951
|
},
|
|
5952
|
+
// Linea divisora
|
|
5692
5953
|
"& .M4LoadingError-loadingErrorDivider": {
|
|
5693
5954
|
width: "208px",
|
|
5694
5955
|
height: "1px",
|
|
5695
|
-
background: o.vars.palette.
|
|
5956
|
+
background: o.vars.palette.border.primary
|
|
5696
5957
|
},
|
|
5958
|
+
// pasos de acción
|
|
5697
5959
|
"& .MuiTypography-paragraph": {
|
|
5698
5960
|
...o.colorSchemes.finalTheme.typography.paragraph,
|
|
5699
5961
|
color: o.vars.palette.text.primary
|
|
5700
5962
|
},
|
|
5701
|
-
"& .MuiButtonBase-root": {
|
|
5963
|
+
"& .MuiButtonBase-root": {
|
|
5964
|
+
//marginTop: '4px',
|
|
5965
|
+
}
|
|
5702
5966
|
}
|
|
5703
5967
|
}
|
|
5704
5968
|
}
|
|
5705
5969
|
}
|
|
5706
|
-
}),
|
|
5970
|
+
}), J = (o) => ({
|
|
5707
5971
|
M4LMFLoader: {
|
|
5708
5972
|
styleOverrides: {
|
|
5709
5973
|
"&.M4LMFLoader-root": {
|
|
@@ -5722,10 +5986,11 @@ const c = (o) => ({
|
|
|
5722
5986
|
}
|
|
5723
5987
|
}
|
|
5724
5988
|
}
|
|
5725
|
-
}),
|
|
5989
|
+
}), K = (o) => ({
|
|
5726
5990
|
M4LLoadingButton: {
|
|
5727
5991
|
styleOverrides: {
|
|
5728
5992
|
"&.M4LLoadingButton-root": {
|
|
5993
|
+
/* Root properties */
|
|
5729
5994
|
width: "auto",
|
|
5730
5995
|
display: "flex",
|
|
5731
5996
|
justifyContent: "center",
|
|
@@ -5735,6 +6000,7 @@ const c = (o) => ({
|
|
|
5735
6000
|
height: "36px",
|
|
5736
6001
|
minHeight: "36px"
|
|
5737
6002
|
},
|
|
6003
|
+
/* General properties */
|
|
5738
6004
|
"& .MuiButtonBase-root.MuiLoadingButton-loading": {
|
|
5739
6005
|
"& .M4LTypography-root": {
|
|
5740
6006
|
opacity: "0"
|
|
@@ -5764,7 +6030,7 @@ const c = (o) => ({
|
|
|
5764
6030
|
"&::before": {
|
|
5765
6031
|
inset: "0",
|
|
5766
6032
|
border: "1px solid",
|
|
5767
|
-
borderColor: o.vars.palette.
|
|
6033
|
+
borderColor: o.vars.palette.primary?.focus,
|
|
5768
6034
|
borderRadius: "4px",
|
|
5769
6035
|
transform: "scale(1.07, 1.36)",
|
|
5770
6036
|
position: "absolute",
|
|
@@ -5778,6 +6044,7 @@ const c = (o) => ({
|
|
|
5778
6044
|
backgroundColor: `${o.vars.palette.text.disabled}!important`
|
|
5779
6045
|
}
|
|
5780
6046
|
},
|
|
6047
|
+
// Disabled condición de variante contained
|
|
5781
6048
|
"&.M4LLoadingButton-variantContained": {
|
|
5782
6049
|
"& .MuiButtonBase-root": {
|
|
5783
6050
|
color: o.vars.palette.text.disabled,
|
|
@@ -5785,7 +6052,7 @@ const c = (o) => ({
|
|
|
5785
6052
|
backgroundColor: o.vars.palette.text.disabled
|
|
5786
6053
|
},
|
|
5787
6054
|
"&:hover": {
|
|
5788
|
-
backgroundColor: o.vars.palette.
|
|
6055
|
+
backgroundColor: o.vars.palette.background?.default,
|
|
5789
6056
|
color: o.vars.palette.text.disabled,
|
|
5790
6057
|
"& .M4LIcon-icon": {
|
|
5791
6058
|
backgroundColor: o.vars.palette.text.disabled,
|
|
@@ -5793,7 +6060,7 @@ const c = (o) => ({
|
|
|
5793
6060
|
}
|
|
5794
6061
|
},
|
|
5795
6062
|
"&:active": {
|
|
5796
|
-
backgroundColor: o.vars.palette.
|
|
6063
|
+
backgroundColor: o.vars.palette.background?.default,
|
|
5797
6064
|
color: o.vars.palette.text.disabled,
|
|
5798
6065
|
"& .M4LIcon-icon": {
|
|
5799
6066
|
backgroundColor: o.vars.palette.text.disabled,
|
|
@@ -5801,7 +6068,7 @@ const c = (o) => ({
|
|
|
5801
6068
|
}
|
|
5802
6069
|
},
|
|
5803
6070
|
"&.Mui-focusVisible": {
|
|
5804
|
-
backgroundColor: o.vars.palette.
|
|
6071
|
+
backgroundColor: o.vars.palette.background?.default,
|
|
5805
6072
|
color: o.vars.palette.text.disabled,
|
|
5806
6073
|
"& .M4LIcon-icon": {
|
|
5807
6074
|
backgroundColor: o.vars.palette.text.disabled,
|
|
@@ -5814,6 +6081,7 @@ const c = (o) => ({
|
|
|
5814
6081
|
}
|
|
5815
6082
|
}
|
|
5816
6083
|
},
|
|
6084
|
+
/* Sizes */
|
|
5817
6085
|
"&.M4LLoadingButton-sizeSmall": {
|
|
5818
6086
|
height: "24px",
|
|
5819
6087
|
"& .MuiButtonBase-root": {
|
|
@@ -5832,18 +6100,19 @@ const c = (o) => ({
|
|
|
5832
6100
|
height: "38px"
|
|
5833
6101
|
}
|
|
5834
6102
|
},
|
|
6103
|
+
/* Variant contained */
|
|
5835
6104
|
"&.M4LLoadingButton-variantContained": {
|
|
5836
6105
|
"& .MuiCircularProgress-root": {
|
|
5837
6106
|
color: "#fff!important"
|
|
5838
6107
|
},
|
|
5839
6108
|
"& .M4LTypography-root": {
|
|
5840
6109
|
"& .MuiTypography-root": {
|
|
5841
|
-
color: o.vars.palette.
|
|
6110
|
+
color: o.vars.palette.text?.primary
|
|
5842
6111
|
}
|
|
5843
6112
|
},
|
|
5844
6113
|
"& .MuiButtonBase-root": {
|
|
5845
|
-
backgroundColor: o.vars.palette.
|
|
5846
|
-
color: o.vars.palette.
|
|
6114
|
+
backgroundColor: o.vars.palette.primary?.active,
|
|
6115
|
+
color: o.vars.palette.common?.white,
|
|
5847
6116
|
boxShadow: o.customShadows?.primary,
|
|
5848
6117
|
position: "relative",
|
|
5849
6118
|
"& .M4LTypography-root": {
|
|
@@ -5855,26 +6124,26 @@ const c = (o) => ({
|
|
|
5855
6124
|
backgroundColor: o.vars.palette.text.secondary
|
|
5856
6125
|
},
|
|
5857
6126
|
"&:hover": {
|
|
5858
|
-
backgroundColor: o.vars.palette.
|
|
6127
|
+
backgroundColor: o.vars.palette.primary?.hover,
|
|
5859
6128
|
"& .M4LIcon-icon": {
|
|
5860
|
-
backgroundColor: o.vars.palette.
|
|
6129
|
+
backgroundColor: o.vars.palette.common?.white
|
|
5861
6130
|
},
|
|
5862
6131
|
"& .MuiTypography-root": {
|
|
5863
6132
|
color: "#fff"
|
|
5864
6133
|
}
|
|
5865
6134
|
},
|
|
5866
6135
|
"&:active": {
|
|
5867
|
-
backgroundColor: o.vars.palette.
|
|
5868
|
-
color: o.vars.palette.
|
|
6136
|
+
backgroundColor: o.vars.palette.primary?.active,
|
|
6137
|
+
color: o.vars.palette.common?.white,
|
|
5869
6138
|
"& .M4LIcon-icon": {
|
|
5870
|
-
backgroundColor: o.vars.palette.
|
|
6139
|
+
backgroundColor: o.vars.palette.common?.white
|
|
5871
6140
|
}
|
|
5872
6141
|
},
|
|
5873
6142
|
"&.Mui-focusVisible": {
|
|
5874
|
-
backgroundColor: o.vars.palette.
|
|
5875
|
-
color: o.vars.palette.
|
|
6143
|
+
backgroundColor: o.vars.palette.primary?.active,
|
|
6144
|
+
color: o.vars.palette.common?.white,
|
|
5876
6145
|
"& .M4LIcon-icon": {
|
|
5877
|
-
backgroundColor: o.vars.palette.
|
|
6146
|
+
backgroundColor: o.vars.palette.common?.white
|
|
5878
6147
|
},
|
|
5879
6148
|
"&::before": {
|
|
5880
6149
|
content: "''"
|
|
@@ -5882,6 +6151,7 @@ const c = (o) => ({
|
|
|
5882
6151
|
}
|
|
5883
6152
|
}
|
|
5884
6153
|
},
|
|
6154
|
+
/* Variant outlined */
|
|
5885
6155
|
"&.M4LLoadingButton-variantOutlined": {
|
|
5886
6156
|
"& .MuiButtonBase-root": {
|
|
5887
6157
|
border: "1px solid",
|
|
@@ -5891,27 +6161,27 @@ const c = (o) => ({
|
|
|
5891
6161
|
backgroundColor: o.vars.palette.text.secondary
|
|
5892
6162
|
},
|
|
5893
6163
|
"&:hover": {
|
|
5894
|
-
borderColor: o.vars.palette.
|
|
5895
|
-
color: o.vars.palette.
|
|
5896
|
-
backgroundColor: o.vars.palette.
|
|
6164
|
+
borderColor: o.vars.palette.primary?.hover,
|
|
6165
|
+
color: o.vars.palette.primary?.hover,
|
|
6166
|
+
backgroundColor: o.vars.palette.primary?.activeOpacity,
|
|
5897
6167
|
"& .M4LIcon-icon": {
|
|
5898
|
-
backgroundColor: o.vars.palette.
|
|
6168
|
+
backgroundColor: o.vars.palette.primary?.hover
|
|
5899
6169
|
}
|
|
5900
6170
|
},
|
|
5901
6171
|
"&:active": {
|
|
5902
|
-
borderColor: o.vars.palette.
|
|
5903
|
-
color: o.vars.palette.
|
|
6172
|
+
borderColor: o.vars.palette.primary?.active,
|
|
6173
|
+
color: o.vars.palette.primary?.active,
|
|
5904
6174
|
backgroundColor: "transparent",
|
|
5905
6175
|
"& .M4LIcon-icon": {
|
|
5906
|
-
backgroundColor: o.vars.palette.
|
|
6176
|
+
backgroundColor: o.vars.palette.primary?.active
|
|
5907
6177
|
}
|
|
5908
6178
|
},
|
|
5909
6179
|
"&.Mui-focusVisible": {
|
|
5910
|
-
borderColor: o.vars.palette.
|
|
5911
|
-
color: o.vars.palette.
|
|
6180
|
+
borderColor: o.vars.palette.primary?.active,
|
|
6181
|
+
color: o.vars.palette.primary?.active,
|
|
5912
6182
|
backgroundColor: "transparent",
|
|
5913
6183
|
"& .M4LIcon-icon": {
|
|
5914
|
-
backgroundColor: o.vars.palette.
|
|
6184
|
+
backgroundColor: o.vars.palette.primary?.active
|
|
5915
6185
|
},
|
|
5916
6186
|
"&::before": {
|
|
5917
6187
|
content: "''"
|
|
@@ -5919,6 +6189,7 @@ const c = (o) => ({
|
|
|
5919
6189
|
}
|
|
5920
6190
|
}
|
|
5921
6191
|
},
|
|
6192
|
+
/* Variant text */
|
|
5922
6193
|
"&.M4LLoadingButton-variantText": {
|
|
5923
6194
|
"& .MuiButtonBase-root": {
|
|
5924
6195
|
color: o.vars.palette.text.secondary,
|
|
@@ -5926,24 +6197,24 @@ const c = (o) => ({
|
|
|
5926
6197
|
backgroundColor: o.vars.palette.text.secondary
|
|
5927
6198
|
},
|
|
5928
6199
|
"&:hover": {
|
|
5929
|
-
backgroundColor: o.vars.palette.
|
|
5930
|
-
color: o.vars.palette.
|
|
6200
|
+
backgroundColor: o.vars.palette.primary?.activeOpacity,
|
|
6201
|
+
color: o.vars.palette.primary?.hover,
|
|
5931
6202
|
"& .M4LIcon-icon": {
|
|
5932
|
-
backgroundColor: o.vars.palette.
|
|
6203
|
+
backgroundColor: o.vars.palette.primary?.hover
|
|
5933
6204
|
}
|
|
5934
6205
|
},
|
|
5935
6206
|
"&:active": {
|
|
5936
6207
|
backgroundColor: "transparent",
|
|
5937
|
-
color: o.vars.palette.
|
|
6208
|
+
color: o.vars.palette.primary?.active,
|
|
5938
6209
|
"& .M4LIcon-icon": {
|
|
5939
|
-
backgroundColor: o.vars.palette.
|
|
6210
|
+
backgroundColor: o.vars.palette.primary?.active
|
|
5940
6211
|
}
|
|
5941
6212
|
},
|
|
5942
6213
|
"&.Mui-focusVisible": {
|
|
5943
6214
|
backgroundColor: "transparent",
|
|
5944
|
-
color: o.vars.palette.
|
|
6215
|
+
color: o.vars.palette.primary?.active,
|
|
5945
6216
|
"& .M4LIcon-icon": {
|
|
5946
|
-
backgroundColor: o.vars.palette.
|
|
6217
|
+
backgroundColor: o.vars.palette.primary?.active
|
|
5947
6218
|
},
|
|
5948
6219
|
"&:before": {
|
|
5949
6220
|
content: "''"
|
|
@@ -5954,7 +6225,7 @@ const c = (o) => ({
|
|
|
5954
6225
|
}
|
|
5955
6226
|
}
|
|
5956
6227
|
}
|
|
5957
|
-
}),
|
|
6228
|
+
}), Q = (o) => ({
|
|
5958
6229
|
M4LPDFViewer: {
|
|
5959
6230
|
styleOverrides: {
|
|
5960
6231
|
"&.M4LPDFViewer-root": {
|
|
@@ -5969,7 +6240,7 @@ const c = (o) => ({
|
|
|
5969
6240
|
}
|
|
5970
6241
|
}
|
|
5971
6242
|
}
|
|
5972
|
-
}),
|
|
6243
|
+
}), X = (o) => ({
|
|
5973
6244
|
M4LTopBar: {
|
|
5974
6245
|
styleOverrides: {
|
|
5975
6246
|
"&.M4LTopBar-root": {
|
|
@@ -5990,7 +6261,9 @@ const c = (o) => ({
|
|
|
5990
6261
|
minWidth: "20px"
|
|
5991
6262
|
}
|
|
5992
6263
|
},
|
|
6264
|
+
//if IsActive class exist add to styles
|
|
5993
6265
|
"& .M4LTopBar-IsActive": {
|
|
6266
|
+
//Render case 1
|
|
5994
6267
|
"& .M4LTopBar-ContainerAccordionCase1": {
|
|
5995
6268
|
"& .M4LIcon-root": {
|
|
5996
6269
|
"& .M4LIcon-icon": {
|
|
@@ -6001,6 +6274,7 @@ const c = (o) => ({
|
|
|
6001
6274
|
color: o.vars.palette.primary.main
|
|
6002
6275
|
}
|
|
6003
6276
|
},
|
|
6277
|
+
//Render case 2
|
|
6004
6278
|
"& .M4LTopBar-ContainerAccordion": {
|
|
6005
6279
|
"& .M4LIcon-root": {
|
|
6006
6280
|
"& .M4LIcon-icon": {
|
|
@@ -6011,6 +6285,7 @@ const c = (o) => ({
|
|
|
6011
6285
|
color: o.vars.palette.primary.main
|
|
6012
6286
|
}
|
|
6013
6287
|
},
|
|
6288
|
+
//Render case 3
|
|
6014
6289
|
"& .MuiButtonBase-root": {
|
|
6015
6290
|
color: o.vars.palette.primary.main
|
|
6016
6291
|
}
|
|
@@ -6032,7 +6307,7 @@ const c = (o) => ({
|
|
|
6032
6307
|
}
|
|
6033
6308
|
}
|
|
6034
6309
|
}
|
|
6035
|
-
}),
|
|
6310
|
+
}), Y = (o) => ({
|
|
6036
6311
|
M4LAppBarCommercial: {
|
|
6037
6312
|
styleOverrides: {
|
|
6038
6313
|
"&.M4LAppBarCommercial-root": {
|
|
@@ -6053,7 +6328,7 @@ const c = (o) => ({
|
|
|
6053
6328
|
}
|
|
6054
6329
|
}
|
|
6055
6330
|
}
|
|
6056
|
-
}),
|
|
6331
|
+
}), Z = (o) => ({
|
|
6057
6332
|
M4LSectionCommercial: {
|
|
6058
6333
|
styleOverrides: {
|
|
6059
6334
|
"&.M4LSectionCommercial-root": {
|
|
@@ -6072,7 +6347,7 @@ const c = (o) => ({
|
|
|
6072
6347
|
}
|
|
6073
6348
|
}
|
|
6074
6349
|
}
|
|
6075
|
-
}),
|
|
6350
|
+
}), oo = (o) => ({
|
|
6076
6351
|
M4LHamburgerMenuCommercial: {
|
|
6077
6352
|
styleOverrides: {
|
|
6078
6353
|
"&.M4LHamburgerMenuCommercial-root": {
|
|
@@ -6082,7 +6357,7 @@ const c = (o) => ({
|
|
|
6082
6357
|
}
|
|
6083
6358
|
}
|
|
6084
6359
|
}
|
|
6085
|
-
}),
|
|
6360
|
+
}), ro = (o) => ({
|
|
6086
6361
|
M4LFieldLabel: {
|
|
6087
6362
|
styleOverrides: {
|
|
6088
6363
|
"&.M4LFieldLabel-root": {
|
|
@@ -6105,7 +6380,7 @@ const c = (o) => ({
|
|
|
6105
6380
|
}
|
|
6106
6381
|
}
|
|
6107
6382
|
}
|
|
6108
|
-
}),
|
|
6383
|
+
}), to = (o) => ({
|
|
6109
6384
|
M4LMap: {
|
|
6110
6385
|
styleOverrides: {
|
|
6111
6386
|
"&.M4LMap-root": {
|
|
@@ -6114,19 +6389,33 @@ const c = (o) => ({
|
|
|
6114
6389
|
flexGrow: "1",
|
|
6115
6390
|
overflow: "auto",
|
|
6116
6391
|
position: "relative",
|
|
6392
|
+
/*
|
|
6393
|
+
* Control superior izquierdo
|
|
6394
|
+
*/
|
|
6117
6395
|
"& .M4LMap-topLeftToolsRoot": {
|
|
6118
6396
|
display: "flex",
|
|
6119
6397
|
backgroundColor: "blue"
|
|
6398
|
+
//Por cambiar
|
|
6120
6399
|
},
|
|
6400
|
+
/**
|
|
6401
|
+
* Control superior derecho
|
|
6402
|
+
*/
|
|
6121
6403
|
"& .M4LMap-topRigthToolsRoot": {
|
|
6122
6404
|
backgroundColor: "blue",
|
|
6405
|
+
//Por cambiar
|
|
6123
6406
|
display: "flex",
|
|
6124
6407
|
right: 0,
|
|
6125
6408
|
position: "absolute",
|
|
6409
|
+
/**
|
|
6410
|
+
* Zoom buttons
|
|
6411
|
+
*/
|
|
6126
6412
|
"& .M4LMap-zoomButtons": {
|
|
6127
6413
|
display: "flex"
|
|
6128
6414
|
}
|
|
6129
6415
|
},
|
|
6416
|
+
/**
|
|
6417
|
+
* Marcas
|
|
6418
|
+
*/
|
|
6130
6419
|
"& .M4LMap-markerLayerRoot": {},
|
|
6131
6420
|
"& .M4LMap-markerLayerIcon": {
|
|
6132
6421
|
transformOrigin: "center center",
|
|
@@ -6155,8 +6444,10 @@ const c = (o) => ({
|
|
|
6155
6444
|
overflow: "hidden",
|
|
6156
6445
|
textOverflow: "ellipsis"
|
|
6157
6446
|
},
|
|
6447
|
+
//Herramienta de medición Formulario
|
|
6158
6448
|
"& .M4LMap-meaureToolRoot": {
|
|
6159
6449
|
backgroundColor: "green",
|
|
6450
|
+
//Por cambiar
|
|
6160
6451
|
height: "100%",
|
|
6161
6452
|
width: "100%"
|
|
6162
6453
|
},
|
|
@@ -6167,8 +6458,11 @@ const c = (o) => ({
|
|
|
6167
6458
|
border: "1px solid white",
|
|
6168
6459
|
margin: "0 5px",
|
|
6169
6460
|
fontWeight: 800,
|
|
6461
|
+
//Por cambiar
|
|
6170
6462
|
fontSize: "large"
|
|
6463
|
+
//Por cambiar
|
|
6171
6464
|
},
|
|
6465
|
+
//Marker measure Point Icon
|
|
6172
6466
|
"& .M4LMap-measureMarkerRoot": {
|
|
6173
6467
|
"--color": "green"
|
|
6174
6468
|
},
|
|
@@ -6203,6 +6497,7 @@ const c = (o) => ({
|
|
|
6203
6497
|
marginTop: "1px",
|
|
6204
6498
|
color: "black"
|
|
6205
6499
|
},
|
|
6500
|
+
//Marker Point Label
|
|
6206
6501
|
"& .M4LMap-measureLabelMarkerRoot": {
|
|
6207
6502
|
"--color": "yellow"
|
|
6208
6503
|
},
|
|
@@ -6220,18 +6515,22 @@ const c = (o) => ({
|
|
|
6220
6515
|
"& .M4LMap-measureLabelMarkerRemove": {
|
|
6221
6516
|
color: "blue"
|
|
6222
6517
|
},
|
|
6518
|
+
//Cluster Markers
|
|
6519
|
+
//Animacion
|
|
6223
6520
|
"& .leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow": {
|
|
6224
6521
|
"-webkit-transition": "-webkit-transform 0.3s ease-out, opacity 0.3s ease-in",
|
|
6225
6522
|
"-moz-transition": "-moz-transform 0.3s ease-out, opacity 0.3s ease-in",
|
|
6226
6523
|
"-o-transition": "-o-transform 0.3s ease-out, opacity 0.3s ease-in",
|
|
6227
6524
|
transition: "transform 0.3s ease-out, opacity 0.3s ease-in"
|
|
6228
6525
|
},
|
|
6526
|
+
//Spider
|
|
6229
6527
|
"& .leaflet-cluster-spider-leg": {
|
|
6230
6528
|
"-webkit-transition": "-webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in",
|
|
6231
6529
|
"-moz-transition": "-moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in",
|
|
6232
6530
|
"-o-transition": "-o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in",
|
|
6233
6531
|
transition: "stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in"
|
|
6234
6532
|
},
|
|
6533
|
+
//Colores de los clusters dependiendo de la cantidad de las marcas
|
|
6235
6534
|
"& .marker-cluster-small": {
|
|
6236
6535
|
backgroundColor: "rgba(181, 226, 140, 0.6)"
|
|
6237
6536
|
},
|
|
@@ -6250,6 +6549,7 @@ const c = (o) => ({
|
|
|
6250
6549
|
"& .marker-cluster-large div": {
|
|
6251
6550
|
backgroundColor: "rgba(241, 128, 23, 0.6)"
|
|
6252
6551
|
},
|
|
6552
|
+
/* IE 6-8 fallback colors */
|
|
6253
6553
|
"& .leaflet-oldie .marker-cluster-small": {
|
|
6254
6554
|
backgroundColor: "rgb(181, 226, 140)"
|
|
6255
6555
|
},
|
|
@@ -6268,6 +6568,7 @@ const c = (o) => ({
|
|
|
6268
6568
|
"& .leaflet-oldie .marker-cluster-large div": {
|
|
6269
6569
|
backgroundColor: "rgb(241, 128, 23)"
|
|
6270
6570
|
},
|
|
6571
|
+
//Cluster Markers
|
|
6271
6572
|
"& .marker-cluster": {
|
|
6272
6573
|
backgroundClip: "padding-box",
|
|
6273
6574
|
borderRadius: "20px"
|
|
@@ -6281,17 +6582,19 @@ const c = (o) => ({
|
|
|
6281
6582
|
borderRadius: "15px",
|
|
6282
6583
|
font: '12px "Helvetica Neue", Arial, Helvetica, sans-serif'
|
|
6283
6584
|
},
|
|
6585
|
+
//Cluster Markers
|
|
6284
6586
|
"& .marker-cluster span": {
|
|
6285
6587
|
lineHeight: "30px"
|
|
6286
6588
|
},
|
|
6287
6589
|
"& .xxxxx": {
|
|
6288
|
-
color: o.vars.palette.
|
|
6590
|
+
color: o.vars.palette.error.main,
|
|
6289
6591
|
"& .M4LIcon-root .M4LIcon-icon": {
|
|
6290
|
-
backgroundColor: o.vars.palette.
|
|
6592
|
+
backgroundColor: o.vars.palette.error.main
|
|
6291
6593
|
}
|
|
6292
6594
|
},
|
|
6293
6595
|
"& .leaflet-control-scale-line": {
|
|
6294
6596
|
color: "red"
|
|
6597
|
+
//Ejemplo de como estilar el control de scala
|
|
6295
6598
|
}
|
|
6296
6599
|
}
|
|
6297
6600
|
}
|
|
@@ -6303,6 +6606,7 @@ const c = (o) => ({
|
|
|
6303
6606
|
ml: 0.75,
|
|
6304
6607
|
"& .MuiPaper-root": {
|
|
6305
6608
|
backgroundColor: "gray",
|
|
6609
|
+
//Por cambiar
|
|
6306
6610
|
width: "400px!important",
|
|
6307
6611
|
height: 400
|
|
6308
6612
|
},
|
|
@@ -6332,6 +6636,7 @@ const c = (o) => ({
|
|
|
6332
6636
|
ml: 0.75,
|
|
6333
6637
|
"& .MuiPaper-root": {
|
|
6334
6638
|
backgroundColor: "gray",
|
|
6639
|
+
//Por cambiar
|
|
6335
6640
|
width: "400px!important",
|
|
6336
6641
|
height: 400
|
|
6337
6642
|
},
|
|
@@ -6354,7 +6659,7 @@ const c = (o) => ({
|
|
|
6354
6659
|
}
|
|
6355
6660
|
}
|
|
6356
6661
|
}
|
|
6357
|
-
}),
|
|
6662
|
+
}), eo = (o) => ({
|
|
6358
6663
|
M4LMapGpsTools: {
|
|
6359
6664
|
styleOverrides: {
|
|
6360
6665
|
"&.M4LMapGpsTools-gpsToolsRoot": {
|
|
@@ -6393,6 +6698,7 @@ const c = (o) => ({
|
|
|
6393
6698
|
display: "flex",
|
|
6394
6699
|
flexDirection: "column",
|
|
6395
6700
|
flexGrow: 1,
|
|
6701
|
+
// height: '100%',
|
|
6396
6702
|
"& .M4LMapGpsTools-gpsToolsTabContent": {
|
|
6397
6703
|
padding: "12px",
|
|
6398
6704
|
overflow: "auto"
|
|
@@ -6401,6 +6707,8 @@ const c = (o) => ({
|
|
|
6401
6707
|
display: "flex",
|
|
6402
6708
|
minWidth: "60px",
|
|
6403
6709
|
marginTop: "14px"
|
|
6710
|
+
// justifyContent: 'flex-end',
|
|
6711
|
+
// padding: '12px',
|
|
6404
6712
|
}
|
|
6405
6713
|
},
|
|
6406
6714
|
"& .M4LMapGpsTools-gpsToolsTabContent.M4LMapGpsTools-hidden": {
|
|
@@ -6411,57 +6719,57 @@ const c = (o) => ({
|
|
|
6411
6719
|
}
|
|
6412
6720
|
});
|
|
6413
6721
|
export {
|
|
6414
|
-
|
|
6415
|
-
|
|
6416
|
-
|
|
6417
|
-
|
|
6418
|
-
|
|
6419
|
-
|
|
6420
|
-
|
|
6421
|
-
|
|
6422
|
-
|
|
6423
|
-
|
|
6424
|
-
|
|
6425
|
-
|
|
6426
|
-
|
|
6427
|
-
|
|
6428
|
-
|
|
6429
|
-
|
|
6430
|
-
|
|
6431
|
-
|
|
6432
|
-
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6436
|
-
|
|
6437
|
-
|
|
6438
|
-
|
|
6439
|
-
|
|
6440
|
-
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
|
-
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
j,
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
|
|
6464
|
-
|
|
6465
|
-
|
|
6466
|
-
|
|
6722
|
+
I as A,
|
|
6723
|
+
R as B,
|
|
6724
|
+
A as C,
|
|
6725
|
+
P as D,
|
|
6726
|
+
O as E,
|
|
6727
|
+
W as F,
|
|
6728
|
+
z as G,
|
|
6729
|
+
V as H,
|
|
6730
|
+
G as I,
|
|
6731
|
+
F as J,
|
|
6732
|
+
j as K,
|
|
6733
|
+
N as L,
|
|
6734
|
+
K as M,
|
|
6735
|
+
E as N,
|
|
6736
|
+
$ as O,
|
|
6737
|
+
U as P,
|
|
6738
|
+
_ as Q,
|
|
6739
|
+
q as R,
|
|
6740
|
+
J as S,
|
|
6741
|
+
Q as T,
|
|
6742
|
+
X as U,
|
|
6743
|
+
Y as V,
|
|
6744
|
+
Z as W,
|
|
6745
|
+
oo as X,
|
|
6746
|
+
ro as Y,
|
|
6747
|
+
eo as Z,
|
|
6748
|
+
to as _,
|
|
6749
|
+
T as a,
|
|
6750
|
+
i as b,
|
|
6751
|
+
n as c,
|
|
6752
|
+
p as d,
|
|
6753
|
+
d as e,
|
|
6754
|
+
u as f,
|
|
6755
|
+
l as g,
|
|
6756
|
+
D as h,
|
|
6757
|
+
s as i,
|
|
6758
|
+
H as j,
|
|
6759
|
+
c as k,
|
|
6760
|
+
g as l,
|
|
6761
|
+
x as m,
|
|
6762
|
+
b as n,
|
|
6763
|
+
v as o,
|
|
6764
|
+
M as p,
|
|
6765
|
+
y as q,
|
|
6766
|
+
L as r,
|
|
6767
|
+
h as s,
|
|
6768
|
+
f as t,
|
|
6769
|
+
m as u,
|
|
6770
|
+
w as v,
|
|
6771
|
+
k as w,
|
|
6772
|
+
C as x,
|
|
6773
|
+
S as y,
|
|
6774
|
+
B as z
|
|
6467
6775
|
};
|