@main-class/template 3.2.9 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/theming.scss +219 -54
package/package.json
CHANGED
package/theming.scss
CHANGED
|
@@ -3,32 +3,26 @@
|
|
|
3
3
|
|
|
4
4
|
@mixin mcl-menu($config-or-theme) {
|
|
5
5
|
$config: mat.m2-get-color-config($config-or-theme);
|
|
6
|
-
$primary: map-get($config, primary);
|
|
7
6
|
|
|
8
7
|
mcl-menu {
|
|
9
|
-
.top {
|
|
10
|
-
background-color: mat.m2-get-color-from-palette($primary, 10) !important;
|
|
11
|
-
color: mat.m2-get-color-from-palette($primary, 100) !important;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
8
|
.content {
|
|
15
9
|
button {
|
|
16
|
-
|
|
10
|
+
transition: 300ms;
|
|
17
11
|
|
|
18
12
|
&.profile {
|
|
19
|
-
background: mat.m2-get-color-from-palette($
|
|
20
|
-
color: mat.m2-get-color-from-palette($
|
|
21
|
-
border-left-color: mat.m2-get-color-from-palette($
|
|
13
|
+
background: mat.m2-get-color-from-palette($config, 50) !important;
|
|
14
|
+
color: mat.m2-get-color-from-palette($config, 0) !important;
|
|
15
|
+
border-left-color: mat.m2-get-color-from-palette($config, 50) !important;
|
|
22
16
|
|
|
23
17
|
mat-icon {
|
|
24
|
-
background: mat.m2-get-color-from-palette($
|
|
25
|
-
color: mat.m2-get-color-from-palette($
|
|
18
|
+
background: mat.m2-get-color-from-palette($config, 100) !important;
|
|
19
|
+
color: mat.m2-get-color-from-palette($config, 50) !important;
|
|
26
20
|
}
|
|
27
21
|
}
|
|
28
22
|
|
|
29
23
|
&.active {
|
|
30
|
-
color: mat.m2-get-color-from-palette($
|
|
31
|
-
border-left-color: mat.m2-get-color-from-palette($
|
|
24
|
+
color: mat.m2-get-color-from-palette($config, 0) !important;
|
|
25
|
+
border-left-color: mat.m2-get-color-from-palette($config, 50) !important;
|
|
32
26
|
}
|
|
33
27
|
}
|
|
34
28
|
}
|
|
@@ -37,13 +31,12 @@
|
|
|
37
31
|
|
|
38
32
|
@mixin mcl-acesso($config-or-theme) {
|
|
39
33
|
$config: mat.m2-get-color-config($config-or-theme);
|
|
40
|
-
$primary: map-get($config, primary);
|
|
41
34
|
|
|
42
35
|
mcl-acesso {
|
|
43
36
|
.content {
|
|
44
37
|
|
|
45
38
|
mat-card {
|
|
46
|
-
border-top-color: mat.m2-get-color-from-palette($
|
|
39
|
+
border-top-color: mat.m2-get-color-from-palette($config, 40);
|
|
47
40
|
}
|
|
48
41
|
|
|
49
42
|
}
|
|
@@ -53,16 +46,14 @@
|
|
|
53
46
|
|
|
54
47
|
@mixin mcl-header($config-or-theme) {
|
|
55
48
|
$config: mat.m2-get-color-config($config-or-theme);
|
|
56
|
-
$primary: map-get($config, primary);
|
|
57
49
|
|
|
58
50
|
mcl-header {
|
|
59
|
-
color: mat.m2-get-color-from-palette($
|
|
51
|
+
color: mat.m2-get-color-from-palette($config, 20);
|
|
60
52
|
}
|
|
61
53
|
}
|
|
62
54
|
|
|
63
55
|
@mixin mcl-theming($config-or-theme) {
|
|
64
56
|
$config: mat.m2-get-color-config($config-or-theme);
|
|
65
|
-
$primary: map-get($config, primary);
|
|
66
57
|
|
|
67
58
|
@include mat.core();
|
|
68
59
|
|
|
@@ -82,13 +73,6 @@
|
|
|
82
73
|
font-family: Asap, "Roboto", sans-serif;
|
|
83
74
|
font-size: 12px;
|
|
84
75
|
|
|
85
|
-
mat-sidenav-container.dialog mat-sidenav-content {
|
|
86
|
-
.mat-mdc-card:not([class*=mat-elevation-z]) {
|
|
87
|
-
border-radius: 8px;
|
|
88
|
-
padding: 30px;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
76
|
.mat-mdc-card:not([class*=mat-elevation-z]) {
|
|
93
77
|
box-shadow: none;
|
|
94
78
|
border: none;
|
|
@@ -96,21 +80,38 @@
|
|
|
96
80
|
border-bottom-left-radius: 8px;
|
|
97
81
|
margin-bottom: 30px;
|
|
98
82
|
padding: 30px 80px 30px 30px;
|
|
83
|
+
}
|
|
99
84
|
|
|
85
|
+
mcl-base {
|
|
100
86
|
h2 {
|
|
101
|
-
font-weight:
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
87
|
+
font-weight: lighter;
|
|
88
|
+
color: rgba(0, 0, 0, .54);
|
|
89
|
+
font-size: 16px;
|
|
90
|
+
text-transform: uppercase;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
hr {
|
|
94
|
+
border: 0;
|
|
95
|
+
border-bottom: 1px solid rgba(0, 0, 0, .15);
|
|
96
|
+
margin: 0 -20px;
|
|
107
97
|
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
mcl-table {
|
|
108
101
|
|
|
109
102
|
table {
|
|
110
|
-
border-bottom: 1px solid #E0E0E0;
|
|
111
103
|
|
|
112
104
|
tr {
|
|
113
105
|
color: #333;
|
|
106
|
+
transition: 300ms;
|
|
107
|
+
|
|
108
|
+
&:nth-child(odd) {
|
|
109
|
+
background: rgba(0, 0, 0, .05);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&:nth-child(even) {
|
|
113
|
+
background: rgba(0, 0, 0, .1);
|
|
114
|
+
}
|
|
114
115
|
|
|
115
116
|
.mat-cell, .mat-footer {
|
|
116
117
|
font-size: 12px;
|
|
@@ -127,24 +128,23 @@
|
|
|
127
128
|
}
|
|
128
129
|
|
|
129
130
|
td {
|
|
130
|
-
padding
|
|
131
|
-
padding-right: 10px;
|
|
132
|
-
transition: 50ms;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
th:not(:last-child), td:not(:last-child) {
|
|
136
|
-
border-right: 1px solid #E0E0E0;
|
|
131
|
+
padding: 5px 10px;
|
|
137
132
|
}
|
|
138
133
|
|
|
139
134
|
th {
|
|
140
|
-
|
|
141
|
-
border-bottom:
|
|
135
|
+
background: mat.m2-get-color-from-palette($config, 100);
|
|
136
|
+
border-bottom: 1px solid rgba(0, 0, 0, .15);
|
|
137
|
+
|
|
142
138
|
}
|
|
143
139
|
|
|
144
140
|
&:hover td {
|
|
145
|
-
background-color: mat.m2-get-color-from-palette($
|
|
146
|
-
color:
|
|
147
|
-
border-color: mat.m2-get-color-from-palette($
|
|
141
|
+
background-color: mat.m2-get-color-from-palette($config, 50);
|
|
142
|
+
color: mat.m2-get-color-from-palette($config, 100);
|
|
143
|
+
border-color: mat.m2-get-color-from-palette($config);
|
|
144
|
+
|
|
145
|
+
mat-icon {
|
|
146
|
+
color: mat.m2-get-color-from-palette($config, 100);
|
|
147
|
+
}
|
|
148
148
|
|
|
149
149
|
&[routerLink], &[click] {
|
|
150
150
|
cursor: pointer;
|
|
@@ -153,20 +153,31 @@
|
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
}
|
|
156
|
+
|
|
157
|
+
.mat-paginator-page-size mat-form-field {
|
|
158
|
+
min-width: 180px;
|
|
159
|
+
|
|
160
|
+
.mat-mdc-text-field-wrapper {
|
|
161
|
+
border-color: #dddddd;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.empty-state {
|
|
166
|
+
background: #eeeeee;
|
|
167
|
+
margin: 0 -20px;
|
|
168
|
+
}
|
|
156
169
|
}
|
|
157
170
|
|
|
158
171
|
mat-form-field {
|
|
159
172
|
display: block;
|
|
160
173
|
width: 100%;
|
|
161
|
-
}
|
|
162
174
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
}
|
|
175
|
+
.mat-checkbox-container mat-checkbox {
|
|
176
|
+
padding: 0 !important;
|
|
166
177
|
|
|
167
|
-
|
|
168
|
-
font-weight: 500;
|
|
178
|
+
}
|
|
169
179
|
}
|
|
180
|
+
|
|
170
181
|
}
|
|
171
182
|
|
|
172
183
|
.text-center {
|
|
@@ -185,6 +196,65 @@
|
|
|
185
196
|
position: relative;
|
|
186
197
|
}
|
|
187
198
|
|
|
199
|
+
.row {
|
|
200
|
+
display: flex;
|
|
201
|
+
gap: 20px;
|
|
202
|
+
align-items: start;
|
|
203
|
+
flex-wrap: wrap;
|
|
204
|
+
|
|
205
|
+
.col {
|
|
206
|
+
flex: 1;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.col-1 {
|
|
210
|
+
flex: 0.08;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.col-2 {
|
|
214
|
+
flex: 0.16;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.col-3 {
|
|
218
|
+
flex: 0.25;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.col-4 {
|
|
222
|
+
flex: 0.33;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.col-5 {
|
|
226
|
+
flex: 0.4;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.col-6 {
|
|
230
|
+
flex: 0.5;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.col-7 {
|
|
234
|
+
flex: 0.58;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.col-8 {
|
|
238
|
+
flex: 0.66;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.col-9 {
|
|
242
|
+
flex: 0.75;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.col-10 {
|
|
246
|
+
flex: 0.83;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.col-11 {
|
|
250
|
+
flex: 0.91;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.col-12 {
|
|
254
|
+
flex: 1;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
188
258
|
.iframe-dialog .mat-mdc-dialog-container .mat-mdc-dialog-content {
|
|
189
259
|
margin: 0;
|
|
190
260
|
}
|
|
@@ -218,16 +288,100 @@
|
|
|
218
288
|
}
|
|
219
289
|
|
|
220
290
|
.mat-mdc-dialog-actions, .acoes {
|
|
221
|
-
margin-top: 60px;
|
|
222
291
|
display: flex;
|
|
223
292
|
flex-direction: row-reverse;
|
|
224
293
|
gap: 20px;
|
|
294
|
+
margin: 20px -20px 20px;
|
|
295
|
+
border-top: 1px solid #ddd;
|
|
296
|
+
padding: 20px 20px 0;
|
|
225
297
|
|
|
226
298
|
.spacer {
|
|
227
299
|
flex: 1 1 auto;
|
|
228
300
|
}
|
|
229
301
|
}
|
|
230
302
|
|
|
303
|
+
mcl-query-form {
|
|
304
|
+
.mat-accordion {
|
|
305
|
+
|
|
306
|
+
.mat-expansion-panel {
|
|
307
|
+
border-radius: 0 !important;
|
|
308
|
+
background: transparent;
|
|
309
|
+
box-shadow: none;
|
|
310
|
+
border-bottom: 2px solid #ddd;
|
|
311
|
+
|
|
312
|
+
.mat-expansion-panel-header {
|
|
313
|
+
border-bottom: 1px solid rgba(0, 0, 0, .15);
|
|
314
|
+
|
|
315
|
+
.mat-content {
|
|
316
|
+
display: flex;
|
|
317
|
+
align-items: center;
|
|
318
|
+
|
|
319
|
+
.title {
|
|
320
|
+
flex: 1 1 auto;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.mat-expansion-panel-body {
|
|
326
|
+
padding: 20px;
|
|
327
|
+
display: flex;
|
|
328
|
+
gap: 20px;
|
|
329
|
+
flex-wrap: wrap;
|
|
330
|
+
align-items: center;
|
|
331
|
+
|
|
332
|
+
.field {
|
|
333
|
+
display: inline-block;
|
|
334
|
+
font-size: 10px;
|
|
335
|
+
|
|
336
|
+
.value {
|
|
337
|
+
font-size: 12px;
|
|
338
|
+
font-weight: lighter;
|
|
339
|
+
color: mat.m2-get-color-from-palette($config, 100);
|
|
340
|
+
background: mat.m2-get-color-from-palette($config, 50);
|
|
341
|
+
border-radius: 5px;
|
|
342
|
+
padding: 2px 5px;
|
|
343
|
+
text-transform: uppercase;
|
|
344
|
+
transition: 300ms;
|
|
345
|
+
|
|
346
|
+
&:hover {
|
|
347
|
+
background: mat.m2-get-color-from-palette($config, 60);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
mat-icon {
|
|
351
|
+
height: 18px;
|
|
352
|
+
width: 18px;
|
|
353
|
+
font-size: 18px;
|
|
354
|
+
vertical-align: middle;
|
|
355
|
+
color: mat.m2-get-color-from-palette($config, 100);
|
|
356
|
+
margin-left: 10px;
|
|
357
|
+
cursor: pointer;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
mcl-input-fileupload .previews {
|
|
367
|
+
& > div {
|
|
368
|
+
display: flex;
|
|
369
|
+
flex-direction: row;
|
|
370
|
+
flex-wrap: wrap;
|
|
371
|
+
gap: 20px;
|
|
372
|
+
|
|
373
|
+
.preview {
|
|
374
|
+
.footer {
|
|
375
|
+
align-items: center;
|
|
376
|
+
|
|
377
|
+
mat-icon, a {
|
|
378
|
+
flex: none !important;
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
|
|
231
385
|
@media(max-width: 750px) {
|
|
232
386
|
|
|
233
387
|
.spacer {
|
|
@@ -244,14 +398,25 @@
|
|
|
244
398
|
}
|
|
245
399
|
}
|
|
246
400
|
|
|
401
|
+
@media (max-width: 800px) {
|
|
402
|
+
.row {
|
|
403
|
+
flex-direction: column;
|
|
404
|
+
gap: 0;
|
|
405
|
+
|
|
406
|
+
.col-3, .col-4, .col-5, .col-6, .col-8, .col-9 {
|
|
407
|
+
width: 100%;
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
|
|
247
412
|
a, a:active {
|
|
248
|
-
color: mat.m2-get-color-from-palette($
|
|
413
|
+
color: mat.m2-get-color-from-palette($config, 20);
|
|
249
414
|
transition: 300ms;
|
|
250
415
|
text-decoration: none;
|
|
251
416
|
}
|
|
252
417
|
|
|
253
418
|
a:hover, a:hover:active {
|
|
254
|
-
color: mat.m2-get-color-from-palette($
|
|
419
|
+
color: mat.m2-get-color-from-palette($config, 60);
|
|
255
420
|
text-decoration: underline;
|
|
256
421
|
}
|
|
257
422
|
}
|