@visns-studio/visns-components 6.17.2 → 6.20.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.
Files changed (83) hide show
  1. package/package.json +10 -7
  2. package/src/components/AssociationManager.jsx +344 -177
  3. package/src/components/AsyncSelect.jsx +2 -2
  4. package/src/components/Autocomplete.jsx +57 -12
  5. package/src/components/Breadcrumb.jsx +23 -4
  6. package/src/components/ClientAssociationManager.jsx +321 -145
  7. package/src/components/DataGrid.jsx +625 -20
  8. package/src/components/DropZone.jsx +4 -1
  9. package/src/components/Form.jsx +233 -6
  10. package/src/components/MultiSelect.jsx +2 -2
  11. package/src/components/Navigation.jsx +39 -23
  12. package/src/components/TableFilter.jsx +172 -12
  13. package/src/components/UniversalSearch.jsx +390 -0
  14. package/src/components/auth/Login.jsx +164 -8
  15. package/src/components/auth/Profile.jsx +209 -22
  16. package/src/components/auth/authEndpoints.js +4 -0
  17. package/src/components/auth/webauthn.js +194 -0
  18. package/src/components/columns/ColumnRenderers.jsx +6 -1
  19. package/src/components/controls/DataGridSearch.jsx +11 -5
  20. package/src/components/generic/GenericAuth.jsx +6 -0
  21. package/src/components/generic/GenericDashboard.jsx +93 -36
  22. package/src/components/generic/GenericDetail.jsx +146 -61
  23. package/src/components/generic/GenericIndex.jsx +142 -38
  24. package/src/components/generic/GenericSettings.jsx +220 -0
  25. package/src/components/generic/StandardModal.jsx +165 -8
  26. package/src/components/generic/dashboardChartDefaults.js +230 -0
  27. package/src/components/generic/shared/indexLayout.js +38 -0
  28. package/src/components/settings/IntegrationsManager.jsx +474 -0
  29. package/src/components/sms/SmsLineSettings.jsx +16 -12
  30. package/src/components/styles/AssociationManager.module.scss +4 -363
  31. package/src/components/styles/AuditLog.module.scss +6 -6
  32. package/src/components/styles/AuditLogs.module.scss +3 -3
  33. package/src/components/styles/Autocomplete.module.scss +7 -7
  34. package/src/components/styles/BusinessCardOcr.module.scss +6 -1
  35. package/src/components/styles/CallQueueSettings.module.scss +4 -1
  36. package/src/components/styles/CameraPlacement.module.scss +19 -19
  37. package/src/components/styles/CategorizedDropZone.module.scss +6 -1
  38. package/src/components/styles/ClientAssociationManager.module.scss +5 -289
  39. package/src/components/styles/ClientAuth.module.scss +1 -1
  40. package/src/components/styles/DataGrid.module.scss +455 -8
  41. package/src/components/styles/Field.module.scss +32 -24
  42. package/src/components/styles/Form.module.scss +123 -3
  43. package/src/components/styles/GenericDashboard.module.scss +612 -825
  44. package/src/components/styles/GenericDetail.module.scss +406 -61
  45. package/src/components/styles/GenericDynamic.module.scss +25 -25
  46. package/src/components/styles/GenericEditableTable.module.scss +33 -33
  47. package/src/components/styles/GenericFormBuilder.module.scss +119 -119
  48. package/src/components/styles/GenericIndex.module.scss +483 -38
  49. package/src/components/styles/GenericMain.module.scss +6 -3
  50. package/src/components/styles/GenericQuote.module.scss +399 -81
  51. package/src/components/styles/GenericReport.module.scss +8 -8
  52. package/src/components/styles/GenericSettings.module.scss +209 -0
  53. package/src/components/styles/GenericSort.module.scss +9 -9
  54. package/src/components/styles/Integrations.module.scss +321 -0
  55. package/src/components/styles/List.module.scss +4 -4
  56. package/src/components/styles/Login.module.scss +57 -0
  57. package/src/components/styles/MultiSelect.module.scss +4 -4
  58. package/src/components/styles/Navigation.module.scss +12 -12
  59. package/src/components/styles/Notification.module.scss +12 -8
  60. package/src/components/styles/NotificationList.module.scss +5 -5
  61. package/src/components/styles/Profile.module.scss +5 -5
  62. package/src/components/styles/QrCode.module.scss +4 -4
  63. package/src/components/styles/QuickAction.module.scss +20 -20
  64. package/src/components/styles/SortableQuoteItems.module.scss +4 -4
  65. package/src/components/styles/TableFilter.module.scss +128 -17
  66. package/src/components/styles/TicketConversation.module.scss +497 -0
  67. package/src/components/styles/UniversalSearch.module.scss +229 -0
  68. package/src/components/styles/Vault.module.scss +413 -0
  69. package/src/components/styles/_associationManager.scss +467 -0
  70. package/src/components/styles/_authBrandPanel.scss +15 -9
  71. package/src/components/styles/_controls.scss +43 -39
  72. package/src/components/styles/global-datagrid.css +196 -0
  73. package/src/components/styles/global.css +168 -17
  74. package/src/components/tickets/TicketConversation.jsx +455 -0
  75. package/src/components/utils/rowActionSettings.js +117 -0
  76. package/src/components/vault/VaultClientPicker.jsx +183 -0
  77. package/src/components/vault/VaultEntryForm.jsx +23 -0
  78. package/src/components/vault/VaultManager.jsx +382 -34
  79. package/src/components/vault/VaultShareModal.jsx +454 -0
  80. package/src/components/vault/vaultEndpoints.js +16 -2
  81. package/src/components/vault/vaultShares.js +247 -0
  82. package/src/index.js +35 -0
  83. package/src/utils/fetchUtil.js +38 -14
@@ -388,6 +388,63 @@
388
388
  flex: none;
389
389
  }
390
390
 
391
+ /* Secondary. Same footprint as the SSO button so the two stack cleanly, but
392
+ outlined rather than filled: Microsoft is how most of the company signs in,
393
+ and a passkey is something an individual chose to set up. Two filled
394
+ buttons in a row would leave neither of them leading. */
395
+ .passkey {
396
+ display: flex;
397
+ align-items: center;
398
+ justify-content: center;
399
+ gap: 0.65rem;
400
+ width: 100%;
401
+ height: 3.4rem;
402
+ margin-top: 0.75rem;
403
+ border: 1px solid var(--line);
404
+ border-radius: 0.6rem;
405
+ background: transparent;
406
+ font-family: inherit;
407
+ font-size: 1rem;
408
+ font-weight: 600;
409
+ color: var(--navy);
410
+ cursor: pointer;
411
+ transition:
412
+ background 0.15s ease,
413
+ border-color 0.15s ease,
414
+ transform 0.08s ease;
415
+
416
+ &:hover:not(:disabled) {
417
+ border-color: var(--navy);
418
+ background: rgba(38, 54, 74, 0.05);
419
+ }
420
+
421
+ &:active:not(:disabled) {
422
+ transform: translateY(1px);
423
+ }
424
+
425
+ &:disabled {
426
+ opacity: 0.6;
427
+ cursor: not-allowed;
428
+ }
429
+
430
+ &:focus-visible {
431
+ outline: 3px solid var(--focus-ring-strong, rgba(38, 54, 74, 0.3));
432
+ outline-offset: 2px;
433
+ }
434
+ }
435
+
436
+ /* No white tile here — the key is a line icon that takes the button's own
437
+ colour, unlike the Microsoft mark. */
438
+ .passkeyMark {
439
+ display: flex;
440
+ align-items: center;
441
+ justify-content: center;
442
+ width: 1.65rem;
443
+ height: 1.65rem;
444
+ flex: none;
445
+ color: inherit;
446
+ }
447
+
391
448
  .foot {
392
449
  margin: 2.5rem 0 0;
393
450
  font-size: 0.78rem;
@@ -93,14 +93,14 @@
93
93
 
94
94
  // Control styles
95
95
  .visns-select__control {
96
- min-height: 50px !important;
96
+ min-height: var(--field-height, 51px) !important;
97
97
  height: auto !important; /* Allow height to grow with content */
98
98
  overflow: visible !important;
99
99
  }
100
100
 
101
101
  // Value container styles
102
102
  .visns-select__value-container {
103
- padding: 2px 8px !important;
103
+ padding: 0 1rem !important;
104
104
  flex-wrap: wrap !important;
105
105
  max-height: 100px !important; /* Set a max height */
106
106
  overflow-y: auto !important; /* Add scrolling when needed */
@@ -199,7 +199,7 @@
199
199
  // CSS class fixes for React Select
200
200
  .css-13cymwt-control,
201
201
  .css-t3ipsp-control {
202
- min-height: 50px !important;
202
+ min-height: var(--field-height, 51px) !important;
203
203
  height: auto !important;
204
204
  overflow: visible !important;
205
205
  }
@@ -210,7 +210,7 @@
210
210
  }
211
211
 
212
212
  .css-1fdsijx-ValueContainer {
213
- padding: 2px 8px !important;
213
+ padding: 0 1rem !important;
214
214
  flex-wrap: wrap !important;
215
215
  max-height: 100px !important;
216
216
  overflow-y: auto !important;
@@ -462,7 +462,7 @@
462
462
  &.active > a,
463
463
  &.active > span,
464
464
  &.active > button {
465
- background: rgba(var(--primary-rgb), 0.1);
465
+ background: rgba(var(--primary-rgb, 27, 57, 51), 0.1);
466
466
  color: var(--primary-color);
467
467
  font-weight: var(--font-weight-semibold, 600);
468
468
  }
@@ -546,7 +546,7 @@
546
546
  }
547
547
 
548
548
  a.active {
549
- background: rgba(var(--primary-rgb), 0.1);
549
+ background: rgba(var(--primary-rgb, 27, 57, 51), 0.1);
550
550
  color: var(--primary-color);
551
551
  font-weight: var(--font-weight-semibold, 600);
552
552
  }
@@ -1000,7 +1000,7 @@
1000
1000
  /* Near-white by default (the rendering every project has today).
1001
1001
  A project whose page background is the same colour can merge the
1002
1002
  plate into the rail instead: `--nav-logo-bg: var(--nav-bg)`. */
1003
- background: var(--nav-logo-bg, rgba(var(--tertiary-color-rgb), 0.95));
1003
+ background: var(--nav-logo-bg, rgba(var(--tertiary-color-rgb, 255, 255, 255), 0.95));
1004
1004
  height: var(--nav-logo-height, 50px);
1005
1005
  display: flex;
1006
1006
  flex-wrap: nowrap;
@@ -1070,7 +1070,7 @@
1070
1070
 
1071
1071
  &:hover a,
1072
1072
  &.active a {
1073
- background: rgba(var(--tertiary-color-rgb), 0.05);
1073
+ background: rgba(var(--tertiary-color-rgb, 255, 255, 255), 0.05);
1074
1074
  color: var(--secondary-color);
1075
1075
  }
1076
1076
 
@@ -1081,7 +1081,7 @@
1081
1081
 
1082
1082
  span {
1083
1083
  display: block;
1084
- color: rgba(var(--paragraph-rgb), 0.3);
1084
+ color: rgba(var(--paragraph-rgb, 43, 43, 43), 0.3);
1085
1085
  box-sizing: border-box;
1086
1086
  padding: 1.25em 0.85em;
1087
1087
  line-height: 1.25;
@@ -1089,7 +1089,7 @@
1089
1089
  background: var(--primary-color);
1090
1090
 
1091
1091
  &:hover {
1092
- background: rgba(var(--primary-rgb), 1.05);
1092
+ background: rgba(var(--primary-rgb, 27, 57, 51), 1);
1093
1093
  }
1094
1094
  }
1095
1095
 
@@ -1143,7 +1143,7 @@
1143
1143
  box-sizing: border-box;
1144
1144
  display: block;
1145
1145
  text-decoration: none;
1146
- background: rgba(var(--primary-rgb), 0.92);
1146
+ background: rgba(var(--primary-rgb, 27, 57, 51), 0.92);
1147
1147
  color: var(--tertiary-color);
1148
1148
  border-radius: 3px;
1149
1149
  transition: all 0.25s
@@ -1152,7 +1152,7 @@
1152
1152
  }
1153
1153
 
1154
1154
  &:hover a {
1155
- background: rgba(var(--secondary-rgb), 0.75);
1155
+ background: rgba(var(--secondary-rgb, 60, 191, 125), 0.75);
1156
1156
  color: var(--primary-color);
1157
1157
  }
1158
1158
  }
@@ -1218,7 +1218,7 @@
1218
1218
  is never painted underneath it. */
1219
1219
  z-index: 996;
1220
1220
  /* Reads as a footer to the list rather than one more entry in it. */
1221
- border-top: 1px solid rgba(var(--tertiary-color-rgb), 0.14);
1221
+ border-top: 1px solid rgba(var(--tertiary-color-rgb, 255, 255, 255), 0.14);
1222
1222
  padding: var(--padding) 0;
1223
1223
 
1224
1224
  > ul {
@@ -1285,7 +1285,7 @@
1285
1285
  > li > div > a:hover,
1286
1286
  > li > div > button:hover,
1287
1287
  > li > a.active {
1288
- background: rgba(var(--tertiary-color-rgb), 0.05);
1288
+ background: rgba(var(--tertiary-color-rgb, 255, 255, 255), 0.05);
1289
1289
  color: var(--secondary-color);
1290
1290
  }
1291
1291
 
@@ -1389,7 +1389,7 @@
1389
1389
  }
1390
1390
 
1391
1391
  .content-main {
1392
- background: rgba(var(--tertiary-color-rgb), 1.05);
1392
+ background: rgba(var(--tertiary-color-rgb, 255, 255, 255), 1);
1393
1393
  }
1394
1394
  }
1395
1395
 
@@ -1740,7 +1740,7 @@
1740
1740
  align-items: center;
1741
1741
  width: 100%;
1742
1742
  padding: 0.25rem;
1743
- background: rgba(var(--primary-color), 0.15);
1743
+ background: color-mix(in srgb, var(--primary-color, #1b3933) 15%, transparent);
1744
1744
  margin: 0;
1745
1745
  font-weight: bold;
1746
1746
  border-bottom: 1px solid var(--border-color);
@@ -47,8 +47,12 @@
47
47
  min-width: 16px;
48
48
  height: 16px;
49
49
  border-radius: 8px;
50
- background-color: var(--secondary-color);
51
- color: white;
50
+ /* No fallback here meant the declaration was discarded whenever the host
51
+ had not defined --secondary-color, while `color: white` below survived —
52
+ so the unread count rendered white-on-transparent over a white bar. The
53
+ badge is the ONLY unread signal in the notification UI. */
54
+ background-color: var(--secondary-color, #3cbf7d);
55
+ color: #fff;
52
56
  font-size: 10px;
53
57
  font-weight: 600;
54
58
  display: flex;
@@ -150,7 +154,7 @@
150
154
  width: 28px;
151
155
  height: 28px;
152
156
  border-radius: 50%;
153
- background-color: rgba(var(--primary-color-rgb), 0.1);
157
+ background-color: rgba(var(--primary-color-rgb, 27, 57, 51), 0.1);
154
158
  display: flex;
155
159
  align-items: center;
156
160
  justify-content: center;
@@ -229,7 +233,7 @@
229
233
 
230
234
  .notiTime {
231
235
  font-size: 12px;
232
- color: rgba(var(--paragraph-color-rgb), 0.6);
236
+ color: rgba(var(--paragraph-color-rgb, 43, 43, 43), 0.6);
233
237
  }
234
238
 
235
239
  .notiDismiss {
@@ -277,7 +281,7 @@
277
281
  align-items: center;
278
282
  justify-content: center;
279
283
  padding: 32px 16px;
280
- color: rgba(var(--paragraph-color-rgb), 0.6);
284
+ color: rgba(var(--paragraph-color-rgb, 43, 43, 43), 0.6);
281
285
  }
282
286
 
283
287
  .emptyIcon {
@@ -303,13 +307,13 @@
303
307
  align-items: center;
304
308
  justify-content: center;
305
309
  padding: 32px 16px;
306
- color: rgba(var(--paragraph-color-rgb), 0.6);
310
+ color: rgba(var(--paragraph-color-rgb, 43, 43, 43), 0.6);
307
311
  }
308
312
 
309
313
  .loadingSpinner {
310
314
  width: 24px;
311
315
  height: 24px;
312
- border: 2px solid rgba(var(--primary-color-rgb), 0.2);
316
+ border: 2px solid rgba(var(--primary-color-rgb, 27, 57, 51), 0.2);
313
317
  border-top-color: var(--primary-color);
314
318
  border-radius: 50%;
315
319
  margin-bottom: 12px;
@@ -494,7 +498,7 @@
494
498
  }
495
499
 
496
500
  &:hover {
497
- background-color: rgba(var(--tertiary-color-rgb), 0.05);
501
+ background-color: rgba(var(--tertiary-color-rgb, 255, 255, 255), 0.05);
498
502
  color: var(--secondary-color);
499
503
  }
500
504
  }
@@ -24,9 +24,9 @@
24
24
 
25
25
  .grid__full {
26
26
  width: 100%;
27
- background: var(--item-color);
28
- border-radius: var(--br);
29
- border: 1px solid rgba(var(--item-color-rgb), 1.15);
27
+ background: var(--item-color, #fff);
28
+ border-radius: var(--br, 12px);
29
+ border: 1px solid rgba(var(--item-color-rgb, 255, 255, 255), 1);
30
30
  box-sizing: border-box;
31
31
  overflow: visible;
32
32
  position: relative;
@@ -53,7 +53,7 @@
53
53
  }
54
54
 
55
55
  .titleIcon {
56
- color: var(--primary-color);
56
+ color: var(--primary-color, #1b3933);
57
57
  }
58
58
 
59
59
  .titleSection h1 {
@@ -67,7 +67,7 @@
67
67
  display: flex;
68
68
  align-items: center;
69
69
  gap: 8px;
70
- background-color: var(--primary-color);
70
+ background-color: var(--primary-color, #1b3933);
71
71
  color: white;
72
72
  border: none;
73
73
  border-radius: 6px;
@@ -53,13 +53,13 @@
53
53
  width: 100%;
54
54
  background: var(--item-color);
55
55
  border-radius: var(--br);
56
- border: 1px solid rgba(var(--item-color-rgb), 1.15);
56
+ border: 1px solid rgba(var(--item-color-rgb, 255, 255, 255), 1);
57
57
  box-sizing: border-box;
58
58
  overflow: visible;
59
59
  position: relative;
60
60
  padding: 2px;
61
61
  margin: 8px 0;
62
- box-shadow: 0 10px 50px rgba(var(--primary-rgb), 0.05);
62
+ box-shadow: 0 10px 50px rgba(var(--primary-rgb, 27, 57, 51), 0.05);
63
63
  }
64
64
 
65
65
  /* The rail/panel row.
@@ -866,7 +866,7 @@
866
866
  margin: 0;
867
867
  background: white;
868
868
  border-radius: var(--br);
869
- border: 1px solid rgba(var(--primary-rgb), 0.15);
869
+ border: 1px solid rgba(var(--primary-rgb, 27, 57, 51), 0.15);
870
870
  position: relative;
871
871
  display: flex;
872
872
  align-items: center;
@@ -886,7 +886,7 @@
886
886
  }
887
887
 
888
888
  svg {
889
- color: rgba(var(--primary-rgb), 0.5);
889
+ color: rgba(var(--primary-rgb, 27, 57, 51), 0.5);
890
890
  position: relative;
891
891
  top: 2px;
892
892
  margin: 0 0.25rem;
@@ -899,6 +899,6 @@
899
899
 
900
900
  .titleInfo span {
901
901
  font-size: 0.875em;
902
- color: rgba(var(--paragraph-color-rgb), 0.65);
902
+ color: rgba(var(--paragraph-color-rgb, 43, 43, 43), 0.65);
903
903
  }
904
904
  }
@@ -2,7 +2,7 @@
2
2
  &__header {
3
3
  width: 100%;
4
4
  display: block;
5
- background: rgba(var(--item-color-rgb), 1.05);
5
+ background: rgba(var(--item-color-rgb, 255, 255, 255), 1);
6
6
  box-sizing: border-box;
7
7
  padding: 10px 20px;
8
8
  border-radius: 0;
@@ -31,9 +31,9 @@
31
31
  flex: 0 0 calc(50% - 10px);
32
32
  padding: 0.85rem;
33
33
  box-sizing: border-box;
34
- border: 1px solid rgba(var(--primary-rgb), 0.15);
34
+ border: 1px solid rgba(var(--primary-rgb, 27, 57, 51), 0.15);
35
35
  color: var(--paragraph-color);
36
- background: rgba(var(--tertiary-color-rgb), 0.95);
36
+ background: rgba(var(--tertiary-color-rgb, 255, 255, 255), 0.95);
37
37
  margin: 5px;
38
38
  border-radius: var(--br);
39
39
  line-height: 1.45;
@@ -64,7 +64,7 @@
64
64
  width: 49%;
65
65
  padding: 1em;
66
66
  box-sizing: border-box;
67
- border: 1px solid rgba(var(--primary-rgb), 0.15);
67
+ border: 1px solid rgba(var(--primary-rgb, 27, 57, 51), 0.15);
68
68
  color: var(--paragraph-color);
69
69
  background: rgba(#f4f4f4, 0.65);
70
70
  margin: 5px;
@@ -78,7 +78,7 @@
78
78
  height: 100%;
79
79
  background: linear-gradient(
80
80
  to bottom,
81
- rgba(var(--primary-rgb), 0.05),
81
+ rgba(var(--primary-rgb, 27, 57, 51), 0.05),
82
82
  transparent
83
83
  );
84
84
  opacity: 0;
@@ -86,10 +86,10 @@
86
86
  }
87
87
 
88
88
  &:hover {
89
- background: rgba(var(--bg-rgb), 1);
89
+ background: rgba(var(--bg-rgb, 246, 247, 245), 1);
90
90
  transform: translateY(-1px);
91
91
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
92
- border-color: rgba(var(--primary-rgb), 0.3);
92
+ border-color: rgba(var(--primary-rgb, 27, 57, 51), 0.3);
93
93
 
94
94
  &::before {
95
95
  opacity: 1;
@@ -114,7 +114,7 @@
114
114
 
115
115
  input[type='text'] {
116
116
  flex-grow: 1;
117
- border: 1px solid rgba(var(--primary-rgb), 0.2);
117
+ border: 1px solid rgba(var(--primary-rgb, 27, 57, 51), 0.2);
118
118
  outline: none;
119
119
  padding: 0.5rem 0.75rem;
120
120
  padding-right: 36px;
@@ -124,16 +124,16 @@
124
124
  width: 100%;
125
125
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
126
126
  transition: all 0.2s ease;
127
- background-color: rgba(var(--bg-rgb), 1);
127
+ background-color: rgba(var(--bg-rgb, 246, 247, 245), 1);
128
128
 
129
129
  &::placeholder {
130
- color: rgba(var(--paragraph-rgb), 0.5);
130
+ color: rgba(var(--paragraph-rgb, 43, 43, 43), 0.5);
131
131
  font-size: 0.85rem;
132
132
  }
133
133
 
134
134
  &:focus {
135
- box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.15);
136
- border-color: rgba(var(--primary-rgb), 0.4);
135
+ box-shadow: 0 0 0 2px rgba(var(--primary-rgb, 27, 57, 51), 0.15);
136
+ border-color: rgba(var(--primary-rgb, 27, 57, 51), 0.4);
137
137
  }
138
138
  }
139
139
 
@@ -150,18 +150,18 @@
150
150
  transition: background-color 0.2s ease;
151
151
 
152
152
  &:hover {
153
- background-color: rgba(var(--primary-rgb), 0.05);
153
+ background-color: rgba(var(--primary-rgb, 27, 57, 51), 0.05);
154
154
  }
155
155
  }
156
156
 
157
157
  .searchIcon {
158
158
  width: 18px;
159
159
  height: 18px;
160
- color: rgba(var(--paragraph-rgb), 0.6);
160
+ color: rgba(var(--paragraph-rgb, 43, 43, 43), 0.6);
161
161
  transition: color 0.2s ease;
162
162
 
163
163
  &:hover {
164
- color: rgba(var(--primary-rgb), 0.8);
164
+ color: rgba(var(--primary-rgb, 27, 57, 51), 0.8);
165
165
  }
166
166
  }
167
167
  }
@@ -179,9 +179,9 @@
179
179
  overflow-x: hidden; /* Prevent horizontal scrolling */
180
180
  border-radius: calc(var(--br, 4px) - 1px);
181
181
  margin-top: 6px;
182
- border: 1px solid rgba(var(--primary-rgb), 0.1);
182
+ border: 1px solid rgba(var(--primary-rgb, 27, 57, 51), 0.1);
183
183
  scrollbar-width: thin;
184
- scrollbar-color: rgba(var(--primary-rgb), 0.2) transparent;
184
+ scrollbar-color: rgba(var(--primary-rgb, 27, 57, 51), 0.2) transparent;
185
185
 
186
186
  &::-webkit-scrollbar {
187
187
  width: 6px;
@@ -192,7 +192,7 @@
192
192
  }
193
193
 
194
194
  &::-webkit-scrollbar-thumb {
195
- background-color: rgba(var(--primary-rgb), 0.2);
195
+ background-color: rgba(var(--primary-rgb, 27, 57, 51), 0.2);
196
196
  border-radius: 3px;
197
197
  }
198
198
  }
@@ -201,14 +201,14 @@
201
201
  padding: 0.5rem 0.75rem;
202
202
  cursor: pointer;
203
203
  transition: all 0.15s ease;
204
- border-bottom: 1px solid rgba(var(--primary-rgb), 0.05);
204
+ border-bottom: 1px solid rgba(var(--primary-rgb, 27, 57, 51), 0.05);
205
205
  white-space: nowrap;
206
206
  overflow: hidden;
207
207
  text-overflow: ellipsis;
208
208
  width: 100%;
209
209
 
210
210
  &:hover {
211
- background-color: rgba(var(--primary-rgb), 0.05);
211
+ background-color: rgba(var(--primary-rgb, 27, 57, 51), 0.05);
212
212
  padding-left: 1rem;
213
213
  }
214
214
 
@@ -222,7 +222,7 @@
222
222
  color: var(--header-color, #333);
223
223
  font-size: 0.8rem;
224
224
  padding-bottom: 6px;
225
- border-bottom: 1px solid rgba(var(--primary-rgb), 0.08);
225
+ border-bottom: 1px solid rgba(var(--primary-rgb, 27, 57, 51), 0.08);
226
226
  text-transform: uppercase;
227
227
  letter-spacing: 0.03em;
228
228
  }
@@ -238,16 +238,16 @@
238
238
  }
239
239
 
240
240
  &.selected {
241
- background-color: rgba(var(--primary-rgb), 0.08);
241
+ background-color: rgba(var(--primary-rgb, 27, 57, 51), 0.08);
242
242
  font-weight: 500;
243
243
  padding-left: 1rem;
244
- border-left: 2px solid rgba(var(--primary-rgb), 0.5);
244
+ border-left: 2px solid rgba(var(--primary-rgb, 27, 57, 51), 0.5);
245
245
  }
246
246
  }
247
247
 
248
248
  .resultItemDivider {
249
249
  height: 1px;
250
- background-color: rgba(var(--primary-rgb), 0.08);
250
+ background-color: rgba(var(--primary-rgb, 27, 57, 51), 0.08);
251
251
  margin: 0.25rem 0.75rem;
252
252
  }
253
253
  }
@@ -2,11 +2,11 @@
2
2
  position: relative;
3
3
  transition: background-color 0.2s ease;
4
4
  cursor: grab;
5
- border-bottom: 1px solid rgba(var(--primary-rgb), 0.05);
5
+ border-bottom: 1px solid rgba(var(--primary-rgb, 27, 57, 51), 0.05);
6
6
  background-color: white;
7
7
 
8
8
  &:hover {
9
- background-color: rgba(var(--primary-rgb), 0.02);
9
+ background-color: rgba(var(--primary-rgb, 27, 57, 51), 0.02);
10
10
  }
11
11
 
12
12
  &:last-child {
@@ -95,7 +95,7 @@
95
95
 
96
96
  td {
97
97
  background-color: white;
98
- border-top: 1px solid rgba(var(--primary-rgb), 0.1);
99
- border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
98
+ border-top: 1px solid rgba(var(--primary-rgb, 27, 57, 51), 0.1);
99
+ border-bottom: 1px solid rgba(var(--primary-rgb, 27, 57, 51), 0.1);
100
100
  }
101
101
  }