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

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.7.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 +20 -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
  }
@@ -17,7 +17,7 @@ $sort-icon-size: 16px;
17
17
  border-radius: var(--ref-border-radius-md);
18
18
  border-collapse: separate;
19
19
  border-spacing: 0;
20
- background-color: var(--sys-color-surface-default);
20
+ background-color: var(--ref-color-white);
21
21
 
22
22
  // ========================================================================
23
23
  // Table Structure
@@ -38,26 +38,10 @@ $sort-icon-size: 16px;
38
38
  }
39
39
 
40
40
  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
- }
41
+ background-color: var(--ref-color-white);
50
42
 
51
43
  &.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
- }
44
+ background-color: var(--ref-color-soft-blue-10);
61
45
  }
62
46
 
63
47
  &:last-child {
@@ -100,35 +84,19 @@ $sort-icon-size: 16px;
100
84
  }
101
85
 
102
86
  &.ap-table--outer-border {
103
- border: 1px solid var(--sys-color-border-default);
87
+ border: 1px solid var(--ref-color-grey-20);
104
88
  }
105
89
 
106
90
  &.ap-table--header-background th[cdk-header-cell] {
107
- background-color: var(--sys-color-surface-tertiary);
91
+ background-color: var(--ref-color-grey-05);
108
92
  }
109
93
 
110
94
  &.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
- }
95
+ background-color: var(--ref-color-grey-bg);
120
96
  }
121
97
 
122
98
  &.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
- }
99
+ background-color: var(--ref-color-soft-blue-10);
132
100
  }
133
101
 
134
102
  &.ap-table--small {
@@ -164,10 +132,10 @@ $sort-icon-size: 16px;
164
132
  text-align: left;
165
133
  font-size: var(--ref-font-size-xs);
166
134
  font-weight: var(--ref-font-weight-bold);
167
- color: var(--sys-color-text-default);
135
+ color: var(--ref-color-grey-100);
168
136
  border: none;
169
- border-bottom: 1px solid var(--sys-color-border-default);
170
- background-color: var(--sys-color-surface-default);
137
+ border-bottom: 1px solid var(--ref-color-grey-10);
138
+ background-color: var(--ref-color-white);
171
139
  position: sticky;
172
140
  top: 0;
173
141
  z-index: 1;
@@ -198,7 +166,7 @@ $sort-icon-size: 16px;
198
166
  }
199
167
 
200
168
  &.ap-table__header-cell--sorted {
201
- color: var(--sys-color-text-interactive-active);
169
+ color: var(--ref-color-electric-blue-150);
202
170
 
203
171
  .ap-table__header-sort-symbol {
204
172
  opacity: 1;
@@ -218,9 +186,9 @@ $sort-icon-size: 16px;
218
186
  td[cdk-cell] {
219
187
  padding: 0 var(--ref-spacing-xs);
220
188
  font-size: var(--ref-font-size-sm);
221
- color: var(--sys-color-text-default);
189
+ color: var(--ref-color-grey-100);
222
190
  border: none;
223
- border-bottom: 1px solid var(--sys-color-border-default);
191
+ border-bottom: 1px solid var(--ref-color-grey-10);
224
192
  height: $cell-height;
225
193
  vertical-align: middle;
226
194
  font-family: Averta;
@@ -257,16 +225,16 @@ $sort-icon-size: 16px;
257
225
  td[cdk-footer-cell] {
258
226
  padding: 0 var(--ref-spacing-xs);
259
227
  font-size: var(--ref-font-size-sm);
260
- color: var(--sys-color-text-default);
228
+ color: var(--ref-color-grey-100);
261
229
  border: none;
262
- border-top: 1px solid var(--sys-color-border-default);
230
+ border-top: 1px solid var(--ref-color-grey-10);
263
231
  height: $cell-height;
264
232
  vertical-align: middle;
265
233
  font-family: Averta;
266
234
  position: sticky;
267
235
  bottom: 0;
268
236
  z-index: 1;
269
- background-color: var(--sys-color-surface-default);
237
+ background-color: var(--ref-color-white);
270
238
 
271
239
  &.ap-table__footer-cell--right {
272
240
  text-align: right;
@@ -323,7 +291,7 @@ $sort-icon-size: 16px;
323
291
  }
324
292
 
325
293
  .ap-table__cell-text {
326
- color: var(--sys-color-text-default);
294
+ color: var(--ref-color-grey-100);
327
295
  font-size: var(--ref-font-size-sm);
328
296
  line-height: var(--ref-font-line-height-sm);
329
297
 
@@ -333,7 +301,7 @@ $sort-icon-size: 16px;
333
301
  }
334
302
 
335
303
  .ap-table__cell-description {
336
- color: var(--sys-color-text-secondary);
304
+ color: var(--ref-color-grey-80);
337
305
  font-size: var(--ref-font-size-xs);
338
306
  line-height: var(--ref-font-line-height-xs);
339
307
  }
@@ -367,13 +335,13 @@ tr[cdk-row] {
367
335
  border: none;
368
336
  padding: 0 var(--ref-spacing-xs);
369
337
  font-size: var(--ref-font-size-sm);
370
- color: var(--sys-color-text-default);
338
+ color: var(--ref-color-grey-100);
371
339
  font-family: Averta;
372
340
  background-color: transparent;
373
341
  }
374
342
 
375
343
  .ap-table__cell-text {
376
- color: var(--sys-color-text-default);
344
+ color: var(--ref-color-grey-100);
377
345
  font-size: var(--ref-font-size-sm);
378
346
  font-family: Averta;
379
347
 
@@ -6,11 +6,8 @@
6
6
 
7
7
  width: fit-content;
8
8
  max-width: 350px;
9
- background: var(--sys-color-surface-default);
10
- border-radius: var(--sys-radius-inner);
11
- // drop-shadow, not box-shadow: the arrow sits outside the box and box-shadow would skip
12
- // it. drop-shadow has no spread, so the spec's -2px is dropped.
13
- filter: drop-shadow(0 4px 6px rgba(52, 69, 99, 0.15)) drop-shadow(0 4px 25px rgba(52, 69, 99, 0.15));
9
+ background: var(--comp-tooltip-text-color-main-default-bg);
10
+ border-radius: var(--ref-border-radius-md);
14
11
  // Viewport-relative, so a positioned host body (e.g. an Intercom banner margin) can't shift it.
15
12
  position: fixed;
16
13
  z-index: var(--ap-tooltip-z-index);
@@ -29,14 +26,17 @@
29
26
  max-width: 256px;
30
27
  width: 256px;
31
28
  max-height: 280px;
32
- border-radius: var(--sys-radius-inner);
33
- background: var(--sys-color-surface-default);
29
+ border-radius: var(--ref-border-radius-sm);
30
+ background: var(--ref-color-white);
31
+
32
+ /* Shadow/Low (default) */
33
+ box-shadow: 0 4px 25px -2px rgba(52, 69, 99, 0.15), 0 4px 6px -2px rgba(52, 69, 99, 0.15);
34
34
 
35
35
  .ap-content-container.ap-content-predefined-container {
36
36
  padding: 0;
37
37
 
38
38
  .ap-tooltip-arrow {
39
- color: var(--sys-color-surface-default);
39
+ color: var(--ref-color-white);
40
40
  }
41
41
  }
42
42
  }
@@ -47,18 +47,18 @@
47
47
 
48
48
  .ap-content-container {
49
49
  padding: var(--ref-spacing-xxs) var(--ref-spacing-xs);
50
- border-radius: var(--sys-radius-inner);
50
+ border-radius: var(--ref-border-radius-md);
51
51
 
52
52
  .ap-tooltip-text {
53
- color: var(--sys-color-text-default);
54
- font-family: var(--sys-text-style-body-font-family);
55
- font-size: var(--sys-text-style-body-size);
56
- font-weight: var(--sys-text-style-body-weight);
57
- line-height: var(--sys-text-style-body-line-height);
53
+ color: var(--comp-tooltip-text-default-color);
54
+ font-family: var(--comp-tooltip-text-style-font-family);
55
+ font-size: var(--comp-tooltip-text-style-size);
56
+ font-weight: var(--comp-tooltip-text-style-weight);
57
+ line-height: var(--comp-tooltip-text-style-line-height);
58
58
  }
59
59
 
60
60
  .ap-tooltip-arrow {
61
- color: var(--sys-color-surface-default);
61
+ color: var(--ref-color-grey-100);
62
62
  position: absolute;
63
63
  z-index: 10000;
64
64
  width: var(--ap-arrow-width);
@@ -140,14 +140,15 @@
140
140
  }
141
141
 
142
142
  &.ap-tooltip-custom-template {
143
- background-color: var(--sys-color-surface-default);
143
+ background-color: var(--ref-color-white);
144
+ filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.08));
144
145
 
145
146
  .ap-tooltip-text {
146
- color: var(--sys-color-text-default);
147
+ color: var(--ref-color-grey-100);
147
148
  }
148
149
 
149
150
  .ap-tooltip-arrow {
150
- color: var(--sys-color-surface-default);
151
+ color: var(--ref-color-white);
151
152
  position: absolute;
152
153
  z-index: 10000;
153
154
  width: var(--ap-arrow-width);
@@ -65,10 +65,6 @@ textarea {
65
65
  &:not(.transparent):not(.valid):not(.invalid):not(:focus):not([disabled]):hover {
66
66
  border-color: var(--comp-input-border-hover-color);
67
67
  }
68
- // Pressed
69
- &:not(.transparent):not(.valid):not(.invalid):not(:focus):not([disabled]):active {
70
- border-color: var(--comp-input-border-clicked-color);
71
- }
72
68
  }
73
69
 
74
70
  .input-group {
@@ -105,7 +105,7 @@ form.submitted {
105
105
  .ng-optgroup {
106
106
  padding: vars.$padding-s vars.$padding-m;
107
107
  span {
108
- color: var(--sys-color-text-interactive-default);
108
+ color: vars.$form-control-selected-font-color;
109
109
  display: flex;
110
110
  ap-symbol {
111
111
  padding-right: vars.$padding-s;
@@ -133,11 +133,11 @@ form.submitted {
133
133
  }
134
134
  }
135
135
  &.ng-option-selected {
136
- background-color: var(--sys-color-surface-interactive-active);
136
+ background-color: unset;
137
137
  span {
138
- color: var(--sys-color-text-interactive-active);
138
+ color: map.get(vars.$colors-electric-blue, 100);
139
139
  ap-symbol .svg {
140
- fill: var(--sys-color-icon-interactive-active) !important;
140
+ fill: map.get(vars.$colors-electric-blue, 100) !important;
141
141
  }
142
142
  }
143
143
  span.checkbox {
@@ -148,20 +148,12 @@ form.submitted {
148
148
  }
149
149
  }
150
150
  }
151
- // The spec leaves text alone on hover; only the surface reacts, and it is
152
- // neutral now rather than blue.
153
- &.ng-option-marked:not(.ng-option-selected) {
154
- background-color: var(--sys-color-surface-interactive-hovered);
155
- }
156
-
157
- &.ng-option-marked.ng-option-selected {
158
- background-color: var(--sys-color-surface-interactive-active-hovered);
159
- }
160
-
161
151
  &.ng-option-marked {
152
+ background-color: map.get(vars.$colors-electric-blue, 10);
162
153
  span {
154
+ color: map.get(vars.$colors-electric-blue, 100);
163
155
  ap-symbol .svg {
164
- fill: currentColor !important;
156
+ fill: map.get(vars.$colors-electric-blue, 100) !important;
165
157
  }
166
158
  }
167
159
  span.checkbox {