@natec/mef-dev-ui-kit 22.0.305 → 22.0.350

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.
@@ -1,3 +1,4 @@
1
+ @use '../../styles/cards-grid-theme' as grid-theme;
1
2
  @use '../../styles/vars.scss' as *;
2
3
  @use 'sass:color' as color;
3
4
 
@@ -34,7 +35,7 @@
34
35
  // ═════════════════════════════════════════════════════════════════════════
35
36
 
36
37
  .md-grid-header {
37
- background: $Light-Gray-2;
38
+ background: $light-gray-2;
38
39
  border: none;
39
40
  box-shadow: none;
40
41
  }
@@ -52,11 +53,11 @@
52
53
  font-weight: 300;
53
54
  text-transform: uppercase;
54
55
  letter-spacing: 0.5px;
55
- color: $Dark-Gray-2;
56
+ color: $dark-gray-2;
56
57
  vertical-align: middle;
57
58
 
58
59
  &:not(:first-child) {
59
- border-left: 2px solid $White;
60
+ border-left: 2px solid $white;
60
61
  }
61
62
 
62
63
  &.sortable {
@@ -69,7 +70,7 @@
69
70
  }
70
71
 
71
72
  &.sort-active {
72
- color: $Dark-Gray-2;
73
+ color: $dark-gray-2;
73
74
  }
74
75
  }
75
76
 
@@ -82,11 +83,11 @@
82
83
  // ═════════════════════════════════════════════════════════════════════════
83
84
 
84
85
  .md-grid-sort-icon {
85
- color: $Light-Gray-1;
86
+ color: $light-gray-1;
86
87
 
87
88
  &.md-grid-sort-asc,
88
89
  &.md-grid-sort-desc {
89
- color: $Dark-Gray-2;
90
+ color: $dark-gray-2;
90
91
  }
91
92
  }
92
93
 
@@ -113,21 +114,21 @@
113
114
  // ═════════════════════════════════════════════════════════════════════════
114
115
 
115
116
  .md-grid-card {
116
- background: $White;
117
+ background: $white;
117
118
  border: none;
118
119
  border-radius: 0;
119
120
  box-shadow: none;
120
121
 
121
122
  // Hover effect for dense table rows
122
123
  &:hover {
123
- background: color.mix($Light-Gray-2, $White, 30%);
124
+ background: color.mix($light-gray-2, $white, 30%);
124
125
  box-shadow: none;
125
126
  transform: none;
126
127
  }
127
128
 
128
129
  // Active/selected row
129
130
  &.md-grid-card-editing {
130
- background: color.mix($Link, $White, 10%) !important;
131
+ background: color.mix($link, $white, 10%) !important;
131
132
  border: none;
132
133
  box-shadow: none;
133
134
  }
@@ -143,7 +144,7 @@
143
144
  font-size: 13px;
144
145
  font-weight: 400;
145
146
  line-height: 21px;
146
- color: $Black-Color;
147
+ color: $black-color;
147
148
  background: transparent;
148
149
  max-height: 30px;
149
150
  border: none;
@@ -168,11 +169,11 @@
168
169
  // ═════════════════════════════════════════════════════════════════════════
169
170
 
170
171
  .md-grid-footer {
171
- background: $Light-Gray-2;
172
+ background: $light-gray-2;
172
173
  border-top: 1px solid rgba(0, 0, 0, 0.08);
173
174
  padding: 8px;
174
175
  font-size: 12px;
175
- color: $Dark-Gray-2;
176
+ color: $dark-gray-2;
176
177
  }
177
178
 
178
179
  .md-grid-pager {
@@ -186,12 +187,12 @@
186
187
  border-radius: 4px;
187
188
  border: none;
188
189
  background: transparent;
189
- color: $Dark-Gray-2;
190
+ color: $dark-gray-2;
190
191
  font-size: 12px;
191
192
 
192
193
  &:hover:not(:disabled) {
193
194
  background: transparent;
194
- color: $Red;
195
+ color: $red;
195
196
  }
196
197
 
197
198
  &:disabled {
@@ -210,21 +211,21 @@
210
211
  // ═════════════════════════════════════════════════════════════════════════
211
212
 
212
213
  .md-grid-group-header {
213
- background: color.mix($Light-Gray-2, $White, 50%);
214
+ background: color.mix($light-gray-2, $white, 50%);
214
215
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
215
216
  padding: 12px 20px;
216
217
  margin-bottom: 0;
217
218
  border-radius: 0;
218
219
  font-weight: 600;
219
220
  font-size: 13px;
220
- color: $Dark-Gray-1;
221
+ color: $dark-gray-1;
221
222
  }
222
223
 
223
224
  // ═════════════════════════════════════════════════════════════════════════
224
225
  // RESPONSIVE
225
226
  // ═════════════════════════════════════════════════════════════════════════
226
227
 
227
- @media (max-width: 768px) {
228
+ @media (max-width: 767.98px) {
228
229
  font-size: 12px;
229
230
 
230
231
  .md-grid-footer {
@@ -235,7 +236,7 @@
235
236
  }
236
237
  }
237
238
 
238
- @media (max-width: 540px) {
239
+ @media (max-width: 767.98px) {
239
240
  .md-grid-body {
240
241
  padding: 6px;
241
242
  }
@@ -279,12 +280,12 @@
279
280
 
280
281
  .md-grid-table.zebra-white {
281
282
  .md-grid-header {
282
- background: $White;
283
+ background: $white;
283
284
  }
284
285
 
285
286
  .md-grid-header-cell {
286
287
  &:not(:first-child) {
287
- border-left: 2px solid $Light-Gray-3;
288
+ border-left: 2px solid $light-gray-3;
288
289
  }
289
290
  }
290
291
 
@@ -294,11 +295,11 @@
294
295
  }
295
296
 
296
297
  &:nth-child(even) {
297
- background: $White;
298
+ background: $white;
298
299
  }
299
300
 
300
301
  &:hover {
301
- background: color.mix($Light-Gray-2, $White, 30%) !important;
302
+ background: color.mix($light-gray-2, $white, 30%) !important;
302
303
  }
303
304
  }
304
305
 
@@ -309,17 +310,17 @@
309
310
  }
310
311
 
311
312
  &:nth-child(even) {
312
- background: $White;
313
+ background: $white;
313
314
  }
314
315
 
315
316
  &:hover {
316
- background: color.mix($Light-Gray-2, $White, 30%) !important;
317
+ background: color.mix($light-gray-2, $white, 30%) !important;
317
318
  }
318
319
  }
319
320
  }
320
321
 
321
322
  .md-grid-footer {
322
- background: $White;
323
+ background: $white;
323
324
  }
324
325
  }
325
326
 
@@ -331,19 +332,19 @@
331
332
  .md-grid-card {
332
333
  // White rows (odd)
333
334
  &:nth-child(odd) {
334
- background: $White;
335
+ background: $white;
335
336
 
336
337
  &:hover {
337
- background: color.mix($Light-Gray-2, $White, 30%) !important;
338
+ background: color.mix($light-gray-2, $white, 30%) !important;
338
339
  }
339
340
  }
340
341
 
341
342
  // Grey rows (even)
342
343
  &:nth-child(even) {
343
- background: $Light-Gray-2;
344
+ background: $light-gray-2;
344
345
 
345
346
  &:hover {
346
- background: color.mix($Light-Gray-2, $White, 30%) !important;
347
+ background: color.mix($light-gray-2, $white, 30%) !important;
347
348
  }
348
349
  }
349
350
  }
@@ -351,20 +352,24 @@
351
352
  .md-grid-group-rows {
352
353
  .md-grid-card {
353
354
  &:nth-child(odd) {
354
- background: $White;
355
+ background: $white;
355
356
 
356
357
  &:hover {
357
- background: color.mix($Light-Gray-2, $White, 30%) !important;
358
+ background: color.mix($light-gray-2, $white, 30%) !important;
358
359
  }
359
360
  }
360
361
 
361
362
  &:nth-child(even) {
362
- background: $Light-Gray-2;
363
+ background: $light-gray-2;
363
364
 
364
365
  &:hover {
365
- background: color.mix($Light-Gray-2, $White, 30%) !important;
366
+ background: color.mix($light-gray-2, $white, 30%) !important;
366
367
  }
367
368
  }
368
369
  }
369
370
  }
370
371
  }
372
+
373
+ @include grid-theme.dark-theme;
374
+
375
+ @include grid-theme.light-header;