@agorapulse/ui-theme 22.0.6-beta.1 → 22.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/agorapulse-ui-theme-22.0.8.tgz +0 -0
  2. package/assets/desktop_variables.css +263 -346
  3. package/assets/mobile_variables.css +263 -346
  4. package/assets/style/_input.scss +0 -4
  5. package/assets/style/_select.scss +46 -75
  6. package/assets/style/_table.scss +118 -52
  7. package/assets/style/_tooltip.scss +19 -18
  8. package/assets/style/components-custom-style/_input.scss +0 -4
  9. package/assets/style/components-custom-style/_ng-select.scss +7 -15
  10. package/assets/style/css-ui/_action-dropdown.scss +33 -50
  11. package/assets/style/css-ui/_badge.scss +11 -9
  12. package/assets/style/css-ui/_button.scss +38 -161
  13. package/assets/style/css-ui/_checkbox.scss +36 -34
  14. package/assets/style/css-ui/_counter.scss +30 -23
  15. package/assets/style/css-ui/_icon-button.scss +22 -24
  16. package/assets/style/css-ui/_infobox.scss +68 -25
  17. package/assets/style/css-ui/_input.scss +1 -6
  18. package/assets/style/css-ui/_label.scss +16 -15
  19. package/assets/style/css-ui/_list-panel.scss +15 -33
  20. package/assets/style/css-ui/_radio-card.scss +38 -52
  21. package/assets/style/css-ui/_radio.scss +28 -32
  22. package/assets/style/css-ui/_select.scss +50 -66
  23. package/assets/style/css-ui/_selection-dropdown.scss +30 -57
  24. package/assets/style/css-ui/_table.scss +20 -52
  25. package/assets/style/css-ui/_tabs.scss +62 -54
  26. package/assets/style/css-ui/_tag.scss +76 -34
  27. package/assets/style/css-ui/_textarea.scss +7 -8
  28. package/assets/style/css-ui/_toggle.scss +17 -27
  29. package/assets/style/css-ui/_tooltip.scss +13 -15
  30. package/assets/style/css-ui/index.css +693 -657
  31. package/assets/style/css-ui/index.css.map +1 -1
  32. package/package.json +1 -1
  33. package/src/tokens/components/action-dropdown.json +93 -0
  34. package/src/tokens/components/badge.json +53 -0
  35. package/src/tokens/components/button.json +11 -225
  36. package/src/tokens/components/close-button.json +22 -0
  37. package/src/tokens/components/counter.json +108 -0
  38. package/src/tokens/components/icon-button.json +2 -12
  39. package/src/tokens/components/infobox.json +156 -0
  40. package/src/tokens/components/input.json +145 -64
  41. package/src/tokens/components/label.json +56 -0
  42. package/src/tokens/components/link.json +5 -10
  43. package/src/tokens/components/radio.json +11 -0
  44. package/src/tokens/components/select.json +14 -14
  45. package/src/tokens/components/status-card.json +187 -0
  46. package/src/tokens/components/tabs.json +136 -0
  47. package/src/tokens/components/tag.json +194 -0
  48. package/src/tokens/components/tooltip.json +36 -0
  49. package/src/tokens/reference/animation.json +0 -5
  50. package/agorapulse-ui-theme-22.0.6-beta.1.tgz +0 -0
  51. package/src/tokens/reference/v3.json +0 -242
  52. package/src/tokens/system/color-border.json +0 -85
  53. package/src/tokens/system/color-data.json +0 -58
  54. package/src/tokens/system/color-icon.json +0 -95
  55. package/src/tokens/system/color-link.json +0 -29
  56. package/src/tokens/system/color-surface.json +0 -130
  57. package/src/tokens/system/color-text.json +0 -89
  58. package/src/tokens/system/height.json +0 -24
  59. package/src/tokens/system/motion.json +0 -22
  60. package/src/tokens/system/radius.json +0 -28
  61. package/src/tokens/system/spacing.json +0 -25
@@ -30,10 +30,6 @@
30
30
  &:not(:focus):not([disabled]):hover {
31
31
  border-color: var(--comp-input-border-hover-color);
32
32
  }
33
- // Pressed
34
- &:not(:focus):not([disabled]):active {
35
- border-color: var(--comp-input-border-clicked-color);
36
- }
37
33
  &.ap-textarea.resizable {
38
34
  resize: auto;
39
35
  }
@@ -1,13 +1,13 @@
1
1
  .ng-select.ap-select {
2
2
  font-family: var(--sys-text-style-body-font-family);
3
3
  .ng-select-container {
4
- border-color: var(--sys-color-border-input-default);
4
+ border-color: var(--ref-color-grey-20);
5
5
  padding: 0 var(--ref-spacing-xs);
6
6
  gap: var(--ref-spacing-xxs);
7
7
  &:hover {
8
8
  box-shadow: none;
9
9
  cursor: pointer;
10
- border-color: var(--sys-color-border-input-hovered) !important;
10
+ border-color: var(--ref-color-grey-40) !important;
11
11
  }
12
12
 
13
13
  .ng-value-container {
@@ -18,11 +18,6 @@
18
18
  cursor: pointer;
19
19
  }
20
20
 
21
- .ng-input {
22
- // Keep the search input invisible but still focusable (visibility:hidden blocks focus).
23
- opacity: 0;
24
- }
25
-
26
21
  input {
27
22
  &:hover {
28
23
  cursor: pointer;
@@ -48,19 +43,19 @@
48
43
  &.ng-select-top {
49
44
  .ng-select-container {
50
45
  border-radius: var(--ref-border-radius-sm);
51
- border-color: var(--sys-color-border-input-default);
46
+ border-color: var(--ref-color-grey-20);
52
47
  }
53
48
  }
54
49
 
55
50
  .ng-arrow {
56
- border-color: transparent transparent var(--sys-color-border-input-active);
51
+ border-color: transparent transparent var(--ref-color-electric-blue-100);
57
52
  }
58
53
 
59
54
  .ng-select-container {
60
55
  &:hover {
61
- border-color: var(--sys-color-border-input-active) !important;
56
+ border-color: var(--ref-color-electric-blue-100) !important;
62
57
  }
63
- border-color: var(--sys-color-border-input-active) !important;
58
+ border-color: var(--ref-color-electric-blue-100) !important;
64
59
  }
65
60
  }
66
61
 
@@ -115,18 +110,18 @@
115
110
 
116
111
  &.ng-select-disabled {
117
112
  .ng-select-container {
118
- background-color: var(--sys-color-surface-input-disabled);
119
- border-color: var(--sys-color-border-input-default);
120
- color: var(--sys-color-text-interactive-default);
113
+ background-color: var(--ref-color-grey-20);
114
+ border-color: var(--ref-color-grey-20);
115
+ color: var(--ref-color-grey-100);
121
116
 
122
117
  &:hover {
123
118
  cursor: default !important;
124
- background-color: var(--sys-color-surface-input-disabled) !important;
125
- border-color: var(--sys-color-border-input-default) !important;
119
+ background-color: var(--ref-color-grey-20) !important;
120
+ border-color: var(--ref-color-grey-20) !important;
126
121
  }
127
122
 
128
123
  .ng-placeholder {
129
- color: var(--sys-color-text-subtle) !important;
124
+ color: var(--ref-color-grey-60) !important;
130
125
  }
131
126
 
132
127
  .ng-value-container {
@@ -165,7 +160,7 @@
165
160
  position: relative;
166
161
 
167
162
  .ng-placeholder {
168
- color: var(--sys-color-text-subtle);
163
+ color: var(--ref-color-grey-60);
169
164
  font-family: var(--sys-text-style-body-font-family);
170
165
  font-weight: var(--sys-text-style-body-weight);
171
166
  font-size: var(--sys-text-style-body-size);
@@ -182,7 +177,7 @@
182
177
  }
183
178
 
184
179
  .text-item {
185
- color: var(--sys-color-text-interactive-default);
180
+ color: var(--ref-color-grey-100);
186
181
  font-size: var(--ref-font-size-sm);
187
182
  line-height: var(--ref-font-line-height-sm);
188
183
  }
@@ -196,7 +191,7 @@
196
191
 
197
192
  .ng-value {
198
193
  margin: 0 !important;
199
- color: var(--sys-color-text-interactive-default);
194
+ color: var(--ref-color-grey-100);
200
195
  font-weight: var(--sys-text-style-body-weight);
201
196
  font-size: var(--sys-text-style-body-size);
202
197
  line-height: var(--sys-text-style-body-line-height);
@@ -209,8 +204,8 @@
209
204
 
210
205
  input {
211
206
  height: 100%;
212
- color: var(--sys-color-text-interactive-default) !important;
213
- caret-color: var(--sys-color-text-interactive-default) !important;
207
+ color: var(--ref-color-grey-100) !important;
208
+ caret-color: var(--ref-color-grey-100) !important;
214
209
  border-radius: unset;
215
210
  }
216
211
  }
@@ -273,28 +268,28 @@
273
268
  // ng-select marks on `mouseover`, so real hovering still highlights.
274
269
  &.ng-option-marked:not(.ng-option-disabled) {
275
270
  .option {
276
- background-color: var(--sys-color-surface-interactive-hovered);
271
+ background-color: var(--ref-color-electric-blue-10);
277
272
  }
278
273
  .feature-locked-option {
279
- background-color: var(--sys-color-surface-interactive-featurelock-active-hovered);
274
+ background-color: var(--ref-color-purple-10);
280
275
  }
281
276
  }
282
277
 
283
278
  &:active:not(.ng-option-disabled) {
284
279
  .option {
285
- background-color: var(--sys-color-surface-interactive-clicked);
280
+ background-color: var(--ref-color-electric-blue-20);
286
281
  }
287
282
  .feature-locked-option {
288
- background-color: var(--sys-color-surface-interactive-featurelock-active-clicked);
283
+ background-color: var(--ref-color-purple-20);
289
284
  }
290
285
  }
291
286
 
292
287
  &:focus:not(.ng-option-disabled) {
293
288
  .option {
294
- background-color: var(--sys-color-surface-interactive-clicked);
289
+ background-color: var(--ref-color-electric-blue-20);
295
290
  }
296
291
  .feature-locked-option {
297
- background-color: var(--sys-color-surface-interactive-featurelock-active-clicked);
292
+ background-color: var(--ref-color-purple-20);
298
293
  }
299
294
  }
300
295
 
@@ -309,54 +304,30 @@
309
304
  font-weight: var(--comp-select-one-line-selected-text-font-weight);
310
305
  }
311
306
  &.multiple {
312
- background-color: var(--sys-color-surface-interactive-active);
313
-
314
307
  .option-item {
315
- color: var(--sys-color-text-interactive-active);
316
- }
317
-
318
- .label {
319
- color: var(--sys-color-text-interactive-active);
320
- }
321
-
322
- .caption {
323
- color: var(--sys-color-text-interactive-active);
308
+ color: var(--ref-color-grey-100);
324
309
  }
325
310
  }
326
311
 
327
312
  &:not(.multiple) {
328
- background-color: var(--sys-color-surface-interactive-active);
329
- color: var(--sys-color-text-interactive-active);
313
+ background-color: var(--ref-color-electric-blue-10);
314
+ color: var(--ref-color-electric-blue-150);
330
315
  ap-symbol:not(.option-selected) .svg {
331
- color: var(--sys-color-text-interactive-active);
316
+ color: var(--ref-color-electric-blue-150);
332
317
  }
333
318
  ap-avatar ap-symbol:not(.option-selected) .svg {
334
319
  color: inherit;
335
320
  }
336
321
  .label {
337
- color: var(--sys-color-text-interactive-active);
322
+ color: var(--ref-color-electric-blue-150);
338
323
  }
339
324
  .caption {
340
- color: var(--sys-color-text-interactive-active);
325
+ color: var(--ref-color-electric-blue-100);
341
326
  }
342
327
  }
343
328
  }
344
329
  }
345
330
 
346
- // A selected row reacts on its own ramp. ng-select marks the selected option when
347
- // the panel opens, so marked alone must not read as a hover here.
348
- &.ng-option-selected.ng-option-marked:not(.ng-option-disabled):hover .option {
349
- background-color: var(--sys-color-surface-interactive-active-hovered);
350
- }
351
-
352
- &.ng-option-selected:active:not(.ng-option-disabled) .option {
353
- background-color: var(--sys-color-surface-interactive-active-clicked);
354
- }
355
-
356
- &.ng-option-selected.ng-option-disabled .option {
357
- color: var(--sys-color-text-interactive-active-disabled);
358
- }
359
-
360
331
  &.ng-option-marked:not(.ng-option-selected) {
361
332
  background-color: transparent;
362
333
  &:hover {
@@ -364,30 +335,30 @@
364
335
  }
365
336
 
366
337
  .feature-locked-option {
367
- background-color: var(--sys-color-surface-interactive-featurelock-active-hovered) !important;
338
+ background-color: var(--ref-color-purple-10) !important;
368
339
  }
369
340
 
370
341
  .option {
371
- background-color: var(--sys-color-surface-interactive-hovered);
342
+ background-color: var(--ref-color-electric-blue-10);
372
343
  span {
373
- color: var(--sys-color-text-interactive-default);
344
+ color: var(--ref-color-grey-100);
374
345
  }
375
346
 
376
347
  .label {
377
- color: var(--sys-color-text-interactive-default);
348
+ color: var(--ref-color-grey-100);
378
349
  }
379
350
 
380
351
  .caption {
381
- color: var(--sys-color-text-interactive-secondary);
352
+ color: var(--ref-color-grey-80);
382
353
  }
383
354
 
384
355
  &.multiple {
385
356
  .label {
386
- color: var(--sys-color-text-interactive-default);
357
+ color: var(--ref-color-grey-100);
387
358
  }
388
359
 
389
360
  .caption {
390
- color: var(--sys-color-text-interactive-secondary);
361
+ color: var(--ref-color-grey-80);
391
362
  }
392
363
  }
393
364
  }
@@ -397,13 +368,13 @@
397
368
  }
398
369
 
399
370
  &.ng-option-disabled {
400
- color: var(--sys-color-text-interactive-disabled);
371
+ color: var(--ref-color-grey-40);
401
372
 
402
373
  .disabled-opaque {
403
374
  position: absolute;
404
375
  inset: 0;
405
376
  opacity: 0.6;
406
- background-color: var(--sys-color-surface-interactive-default);
377
+ background-color: var(--ref-color-white);
407
378
  cursor: default;
408
379
  width: 100%;
409
380
  height: 100%;
@@ -412,7 +383,7 @@
412
383
 
413
384
  &:not(.ng-optgroup):not(:has(.option)) {
414
385
  padding: var(--ref-spacing-xxs) var(--ref-spacing-sm);
415
- color: var(--sys-color-text-interactive-secondary);
386
+ color: var(--ref-color-grey-80);
416
387
  font-family: var(--comp-select-one-line-text-font-family);
417
388
  font-size: var(--comp-select-one-line-text-size);
418
389
  font-weight: var(--comp-select-one-line-text-font-weight);
@@ -438,7 +409,7 @@
438
409
  line-height: var(--ref-font-line-height-sm);
439
410
  font-style: italic;
440
411
  font-weight: var(--ref-font-weight-regular);
441
- color: var(--sys-color-text-interactive-secondary);
412
+ color: var(--ref-color-grey-80);
442
413
  }
443
414
  }
444
415
 
@@ -515,7 +486,7 @@
515
486
 
516
487
  &.not-found {
517
488
  padding: var(--ref-spacing-sm) var(--ref-spacing-sm) var(--ref-spacing-xxs) var(--ref-spacing-sm);
518
- color: var(--sys-color-text-interactive-secondary);
489
+ color: var(--ref-color-grey-80);
519
490
  font-style: italic;
520
491
  }
521
492
 
@@ -613,11 +584,11 @@
613
584
  cursor: pointer;
614
585
  padding: 0;
615
586
  margin-top: var(--ref-spacing-xxxs);
616
- border-top: 1px solid var(--sys-color-border-default);
587
+ border-top: 1px solid var(--ref-color-grey-10);
617
588
  }
618
589
 
619
590
  .standalone-link {
620
- color: var(--sys-color-text-interactive-active);
591
+ color: var(--ref-color-electric-blue-150);
621
592
  font-weight: var(--ref-font-weight-bold);
622
593
  font-family: var(--ref-font-family);
623
594
  background-color: transparent;
@@ -629,11 +600,11 @@
629
600
  display: none;
630
601
 
631
602
  &:hover {
632
- color: var(--sys-color-link-hovered);
603
+ color: var(--ref-color-electric-blue-100);
633
604
  }
634
605
 
635
606
  &:active {
636
- color: var(--sys-color-link-clicked);
607
+ color: var(--ref-color-electric-blue-150);
637
608
  }
638
609
  }
639
610
  }
@@ -645,7 +616,7 @@
645
616
  // Pinned items are moved to the top of the panel via `apSelectMultiple`.
646
617
  // The boundary is the first unpinned option that follows a pinned one.
647
618
  .ng-dropdown-panel .ap-option-pinned + .ng-option:not(.ap-option-pinned) {
648
- border-top: 1px solid var(--sys-color-border-default);
619
+ border-top: 1px solid var(--ref-color-grey-10);
649
620
  margin-top: var(--ref-spacing-xxs);
650
621
  padding-top: var(--ref-spacing-xxs);
651
622
  }
@@ -5,6 +5,7 @@
5
5
  $cell-height: 52px;
6
6
  $cell-height-small: 40px;
7
7
  $sort-icon-size: 16px;
8
+ $grab-icon-size: 16px;
8
9
 
9
10
  // ============================================================================
10
11
  // Base Table Styles
@@ -17,7 +18,7 @@ $sort-icon-size: 16px;
17
18
  border-radius: var(--ref-border-radius-md);
18
19
  border-collapse: separate;
19
20
  border-spacing: 0;
20
- background-color: var(--sys-color-surface-default);
21
+ background-color: var(--ref-color-white);
21
22
 
22
23
  // ========================================================================
23
24
  // Table Structure
@@ -38,26 +39,10 @@ $sort-icon-size: 16px;
38
39
  }
39
40
 
40
41
  tr[cdk-row] {
41
- background-color: var(--sys-color-surface-interactive-default);
42
-
43
- &:hover {
44
- background-color: var(--sys-color-surface-interactive-hovered);
45
- }
46
-
47
- &:active {
48
- background-color: var(--sys-color-surface-interactive-clicked);
49
- }
42
+ background-color: var(--ref-color-white);
50
43
 
51
44
  &.selected {
52
- background-color: var(--sys-color-surface-interactive-active);
53
-
54
- &:hover {
55
- background-color: var(--sys-color-surface-interactive-active-hovered);
56
- }
57
-
58
- &:active {
59
- background-color: var(--sys-color-surface-interactive-active-clicked);
60
- }
45
+ background-color: var(--ref-color-soft-blue-10);
61
46
  }
62
47
 
63
48
  &:last-child {
@@ -100,35 +85,19 @@ $sort-icon-size: 16px;
100
85
  }
101
86
 
102
87
  &.ap-table--outer-border {
103
- border: 1px solid var(--sys-color-border-default);
88
+ border: 1px solid var(--ref-color-grey-20);
104
89
  }
105
90
 
106
91
  &.ap-table--header-background th[cdk-header-cell] {
107
- background-color: var(--sys-color-surface-tertiary);
92
+ background-color: var(--ref-color-grey-05);
108
93
  }
109
94
 
110
95
  &.ap-table--striped tbody tr[cdk-row]:nth-child(even) {
111
- background-color: var(--sys-color-surface-secondary);
112
-
113
- &:hover {
114
- background-color: var(--sys-color-surface-interactive-hovered);
115
- }
116
-
117
- &:active {
118
- background-color: var(--sys-color-surface-interactive-clicked);
119
- }
96
+ background-color: var(--ref-color-grey-bg);
120
97
  }
121
98
 
122
99
  &.ap-table--striped tbody tr[cdk-row].selected {
123
- background-color: var(--sys-color-surface-interactive-active);
124
-
125
- &:hover {
126
- background-color: var(--sys-color-surface-interactive-active-hovered);
127
- }
128
-
129
- &:active {
130
- background-color: var(--sys-color-surface-interactive-active-clicked);
131
- }
100
+ background-color: var(--ref-color-soft-blue-10);
132
101
  }
133
102
 
134
103
  &.ap-table--small {
@@ -164,10 +133,10 @@ $sort-icon-size: 16px;
164
133
  text-align: left;
165
134
  font-size: var(--ref-font-size-xs);
166
135
  font-weight: var(--ref-font-weight-bold);
167
- color: var(--sys-color-text-default);
136
+ color: var(--ref-color-grey-100);
168
137
  border: none;
169
- border-bottom: 1px solid var(--sys-color-border-default);
170
- background-color: var(--sys-color-surface-default);
138
+ border-bottom: 1px solid var(--ref-color-grey-10);
139
+ background-color: var(--ref-color-white);
171
140
  position: sticky;
172
141
  top: 0;
173
142
  z-index: 1;
@@ -198,7 +167,7 @@ $sort-icon-size: 16px;
198
167
  }
199
168
 
200
169
  &.ap-table__header-cell--sorted {
201
- color: var(--sys-color-text-interactive-active);
170
+ color: var(--ref-color-electric-blue-150);
202
171
 
203
172
  .ap-table__header-sort-symbol {
204
173
  opacity: 1;
@@ -209,6 +178,19 @@ $sort-icon-size: 16px;
209
178
  width: $cell-height;
210
179
  text-align: center;
211
180
  }
181
+
182
+ &.ap-table__header-cell--draggable {
183
+ cursor: move;
184
+
185
+ &.cdk-drag-disabled {
186
+ cursor: default;
187
+ }
188
+ }
189
+
190
+ &.ap-table__header-cell--dragging {
191
+ color: var(--ref-color-grey-40);
192
+ background-color: var(--ref-color-electric-blue-05);
193
+ }
212
194
  }
213
195
 
214
196
  // ========================================================================
@@ -218,9 +200,9 @@ $sort-icon-size: 16px;
218
200
  td[cdk-cell] {
219
201
  padding: 0 var(--ref-spacing-xs);
220
202
  font-size: var(--ref-font-size-sm);
221
- color: var(--sys-color-text-default);
203
+ color: var(--ref-color-grey-100);
222
204
  border: none;
223
- border-bottom: 1px solid var(--sys-color-border-default);
205
+ border-bottom: 1px solid var(--ref-color-grey-10);
224
206
  height: $cell-height;
225
207
  vertical-align: middle;
226
208
  font-family: Averta;
@@ -243,6 +225,11 @@ $sort-icon-size: 16px;
243
225
  padding: 0 var(--ref-spacing-sm);
244
226
  }
245
227
 
228
+ &.ap-table__body-cell--dragging {
229
+ color: transparent;
230
+ background-color: var(--ref-color-electric-blue-05);
231
+ }
232
+
246
233
  // Reserves matching right space so content aligns with the sortable
247
234
  // header title text (shifted left by the sort icon + gap).
248
235
  &.ap-table__body-cell--sortable {
@@ -257,16 +244,16 @@ $sort-icon-size: 16px;
257
244
  td[cdk-footer-cell] {
258
245
  padding: 0 var(--ref-spacing-xs);
259
246
  font-size: var(--ref-font-size-sm);
260
- color: var(--sys-color-text-default);
247
+ color: var(--ref-color-grey-100);
261
248
  border: none;
262
- border-top: 1px solid var(--sys-color-border-default);
249
+ border-top: 1px solid var(--ref-color-grey-10);
263
250
  height: $cell-height;
264
251
  vertical-align: middle;
265
252
  font-family: Averta;
266
253
  position: sticky;
267
254
  bottom: 0;
268
255
  z-index: 1;
269
- background-color: var(--sys-color-surface-default);
256
+ background-color: var(--ref-color-white);
270
257
 
271
258
  &.ap-table__footer-cell--right {
272
259
  text-align: right;
@@ -323,7 +310,7 @@ $sort-icon-size: 16px;
323
310
  }
324
311
 
325
312
  .ap-table__cell-text {
326
- color: var(--sys-color-text-default);
313
+ color: var(--ref-color-grey-100);
327
314
  font-size: var(--ref-font-size-sm);
328
315
  line-height: var(--ref-font-line-height-sm);
329
316
 
@@ -333,7 +320,7 @@ $sort-icon-size: 16px;
333
320
  }
334
321
 
335
322
  .ap-table__cell-description {
336
- color: var(--sys-color-text-secondary);
323
+ color: var(--ref-color-grey-80);
337
324
  font-size: var(--ref-font-size-xs);
338
325
  line-height: var(--ref-font-line-height-xs);
339
326
  }
@@ -347,6 +334,7 @@ $sort-icon-size: 16px;
347
334
 
348
335
  .ap-table__drag-handle {
349
336
  cursor: move;
337
+ color: var(--ref-color-grey-40);
350
338
  }
351
339
  }
352
340
 
@@ -367,13 +355,13 @@ tr[cdk-row] {
367
355
  border: none;
368
356
  padding: 0 var(--ref-spacing-xs);
369
357
  font-size: var(--ref-font-size-sm);
370
- color: var(--sys-color-text-default);
358
+ color: var(--ref-color-grey-100);
371
359
  font-family: Averta;
372
360
  background-color: transparent;
373
361
  }
374
362
 
375
363
  .ap-table__cell-text {
376
- color: var(--sys-color-text-default);
364
+ color: var(--ref-color-grey-100);
377
365
  font-size: var(--ref-font-size-sm);
378
366
  font-family: Averta;
379
367
 
@@ -398,3 +386,81 @@ tr[cdk-row] {
398
386
  transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
399
387
  }
400
388
  }
389
+
390
+ th[cdk-header-cell] {
391
+ &.cdk-drag-placeholder {
392
+ background-color: var(--ref-color-electric-blue-05) !important;
393
+ border-bottom: 1px dashed var(--ref-color-electric-blue-20) !important;
394
+ opacity: 0.7 !important;
395
+ transition: transform 250ms cubic-bezier(0, 0, 0.2, 1) !important;
396
+
397
+ * {
398
+ visibility: hidden;
399
+ }
400
+ }
401
+
402
+ &.cdk-drag-animating {
403
+ transition: transform 350ms cubic-bezier(0, 0, 0.2, 1);
404
+ }
405
+ }
406
+
407
+ table.ap-table.cdk-drop-list-dragging {
408
+ th[cdk-header-cell].cdk-drag,
409
+ td[cdk-cell] {
410
+ transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
411
+ }
412
+ }
413
+
414
+ .ap-table__column-preview {
415
+ display: flex;
416
+ flex-direction: column;
417
+ overflow: hidden;
418
+ border-radius: var(--ref-border-radius-md);
419
+ background-color: var(--ref-color-electric-blue-10);
420
+ border: 1px solid var(--ref-color-electric-blue-40);
421
+ font-family: Averta;
422
+ opacity: 0.95;
423
+
424
+ .ap-table__column-preview-header {
425
+ display: flex;
426
+ align-items: center;
427
+ gap: var(--ref-spacing-xxxs);
428
+ height: $cell-height;
429
+ padding: var(--ref-spacing-xxs) var(--ref-spacing-xs);
430
+ font-size: var(--ref-font-size-xs);
431
+ font-weight: var(--ref-font-weight-bold);
432
+ color: var(--ref-color-grey-100);
433
+ border-bottom: 1px solid var(--ref-color-electric-blue-40);
434
+ white-space: nowrap;
435
+ }
436
+
437
+ .ap-table__column-preview-cell {
438
+ display: flex;
439
+ align-items: center;
440
+ height: $cell-height;
441
+ padding: 0 var(--ref-spacing-xs);
442
+ font-size: var(--ref-font-size-sm);
443
+ color: var(--ref-color-grey-100);
444
+ white-space: nowrap;
445
+ }
446
+
447
+ .ap-table__drag-handle {
448
+ cursor: move;
449
+ color: var(--ref-color-grey-40);
450
+ }
451
+ }
452
+
453
+ .ap-table__column-preview--small {
454
+ .ap-table__column-preview-header,
455
+ .ap-table__column-preview-cell {
456
+ height: $cell-height-small;
457
+ }
458
+ }
459
+
460
+ .ap-table__column-preview.cdk-drag-preview {
461
+ translate: calc(-1px - var(--ref-spacing-xs) - #{$grab-icon-size * 0.5}) calc(-1px - #{$cell-height * 0.5});
462
+
463
+ &.ap-table__column-preview--small {
464
+ translate: calc(-1px - var(--ref-spacing-xs) - #{$grab-icon-size * 0.5}) calc(-1px - #{$cell-height-small * 0.5});
465
+ }
466
+ }