@visns-studio/visns-components 5.0.4 → 5.0.6

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.
@@ -26,7 +26,7 @@
26
26
  position: relative;
27
27
  padding: 20px;
28
28
  margin: 8px 0;
29
- box-shadow: 0 4px 0 rgba(var(--primary-color-rgb), 0.05);
29
+ box-shadow: 0 4px 0 rgba(var(--primary-rgb), 0.05);
30
30
  }
31
31
 
32
32
  .grid__half {
@@ -39,7 +39,7 @@
39
39
  position: relative;
40
40
  padding: 20px;
41
41
  margin: 8px 0;
42
- box-shadow: 0 4px 0 rgba(var(--primary-color-rgb), 0.05);
42
+ box-shadow: 0 4px 0 rgba(var(--primary-rgb), 0.05);
43
43
  }
44
44
 
45
45
  .grid__full {
@@ -52,7 +52,7 @@
52
52
  position: relative;
53
53
  padding: 2px;
54
54
  margin: 8px 0;
55
- box-shadow: 0 4px 0 rgba(var(--primary-color-rgb), 0.05);
55
+ box-shadow: 0 4px 0 rgba(var(--primary-rgb), 0.05);
56
56
  }
57
57
 
58
58
  .grid__dashfull {
@@ -65,7 +65,7 @@
65
65
  position: relative;
66
66
  padding: 20px;
67
67
  margin: 8px 0;
68
- box-shadow: 0 4px 0 rgba(var(--primary-color-rgb), 0.05);
68
+ box-shadow: 0 4px 0 rgba(var(--primary-rgb), 0.05);
69
69
  }
70
70
 
71
71
  .grid__subrow {
@@ -84,7 +84,7 @@
84
84
  padding: 5px;
85
85
  margin: 8px 0;
86
86
  height: auto;
87
- box-shadow: 0 4px 0 rgba(var(--primary-color-rgb), 0.05);
87
+ box-shadow: 0 4px 0 rgba(var(--primary-rgb), 0.05);
88
88
  }
89
89
 
90
90
  .grid__subnav > ul {
@@ -184,15 +184,15 @@
184
184
 
185
185
  .gridtxt > ul li {
186
186
  flex: 0 0 calc(50% - 10px);
187
- padding: 0.85rem;
187
+ padding: 0.65rem;
188
188
  box-sizing: border-box;
189
189
  border: 1px solid rgba(var(--primary-rgb), 0.095);
190
190
  color: var(--paragraph-color);
191
191
  background: rgba(var(--primary-rgb), 0.015);
192
- margin: 5px;
192
+ margin: 3px;
193
193
  border-radius: var(--br);
194
194
  line-height: 1.45;
195
- font-size: 1rem;
195
+ font-size: 0.85rem;
196
196
  }
197
197
 
198
198
  .gridtxt > ul .fw-grid-item {
@@ -228,7 +228,7 @@
228
228
  width: 49%;
229
229
  padding: 1em;
230
230
  box-sizing: border-box;
231
- border: 1px solid rgba(var(--primary-color-rgb), 0.15);
231
+ border: 1px solid rgba(var(--primary-rgb), 0.15);
232
232
  color: var(--paragraph-color);
233
233
  background: rgba(#f4f4f4, 0.65);
234
234
  margin: 5px;
@@ -249,6 +249,12 @@
249
249
  }
250
250
 
251
251
  .dropzone__container {
252
+ padding: 1rem;
253
+ display: flex;
254
+ flex-wrap: wrap;
255
+ flex-direction: column;
256
+ gap: 1rem;
257
+
252
258
  > div {
253
259
  flex: 1 1 0%;
254
260
  display: flex;
@@ -263,11 +269,12 @@
263
269
  color: rgb(189, 189, 189);
264
270
  outline: currentcolor none medium;
265
271
  transition: border 0.24s ease-in-out 0s;
266
- margin: 1em;
272
+ margin: 0;
267
273
 
268
274
  p {
269
275
  padding: 0;
270
276
  margin: 0;
277
+ font-size: 1rem;
271
278
  }
272
279
  }
273
280
  }
@@ -275,29 +282,35 @@
275
282
  .dropzone__files {
276
283
  list-style: none;
277
284
  padding: 0;
278
- margin: 1em;
285
+ margin: 0;
279
286
  box-sizing: border-box;
280
287
 
281
288
  li {
282
289
  width: 100%;
283
290
  display: block;
284
- background: rgba(var(--tertiary-color-rgb), 1.05);
291
+ background: rgba(var(--primary-rgb), 0.05);
285
292
  color: var(--primary-color);
286
293
  border-radius: 3px;
287
294
  transition: background 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
288
295
  outline: none;
289
296
  cursor: pointer;
290
297
  border-radius: 3px;
291
- padding: 1em 2em;
298
+ padding: 0.5rem;
292
299
  box-sizing: border-box;
293
300
  position: relative;
301
+ border: 1px solid rgba(var(--primary-rgb), 0.15);
302
+ line-height: 1;
303
+ font-size: 0.85rem;
294
304
  margin-bottom: 5px;
295
305
 
296
- i {
306
+ svg {
297
307
  position: relative;
298
- top: 0;
299
- right: 5px;
300
- color: rgba(var(--secondary-color-rgb), 1.15);
308
+ top: -2px;
309
+ color: rgba(var(--secondary-rgb), 1);
310
+ float: left;
311
+ stroke-width: 1;
312
+ line-height: 1;
313
+ margin-right: 5px;
301
314
  }
302
315
 
303
316
  button {
@@ -309,8 +322,8 @@
309
322
  z-index: 200;
310
323
  cursor: pointer;
311
324
 
312
- i {
313
- font-size: 1.15em;
325
+ svg {
326
+ font-size: 1em;
314
327
  color: var(--primary-color);
315
328
  line-height: 1;
316
329
  }
@@ -338,8 +351,8 @@
338
351
  align-items: center;
339
352
  flex-wrap: wrap;
340
353
  border-radius: 5px;
341
- border: 1px solid rgba(var(--primary-color-rgb), 0.2);
342
- box-shadow: 0px 0px 20px rgba(var(--primary-color-rgb), 0.1);
354
+ border: 1px solid rgba(var(--primary-rgb), 0.2);
355
+ box-shadow: 0px 0px 20px rgba(var(--primary-rgb), 0.1);
343
356
  padding: 1.25rem 1.25rem 1.25rem 2rem;
344
357
  box-sizing: border-box;
345
358
  cursor: pointer;
@@ -411,26 +424,26 @@
411
424
  flex-wrap: nowrap;
412
425
  align-items: flex-start;
413
426
  padding: 0 1.5em;
414
- }
415
427
 
416
- .oppoverview__box {
417
- width: auto;
418
- margin: 0;
419
- padding: 0 2em;
420
- border-right: 1px solid rgba(var(--primary-color-rgb), 0.35);
421
- }
428
+ &__box {
429
+ width: auto;
430
+ margin: 0;
431
+ padding: 0 2em;
432
+ border-right: 1px solid rgba(var(--primary-rgb), 0.35);
422
433
 
423
- .oppoverview__box:first-child {
424
- padding-left: 0;
425
- }
434
+ &:first-child {
435
+ padding-left: 0;
436
+ }
426
437
 
427
- .oppoverview__box p {
428
- margin: 0;
429
- }
438
+ p {
439
+ margin: 0;
440
+ }
430
441
 
431
- .oppoverview__box span {
432
- display: block;
433
- color: rgba(var(--paragraph-color-rgb), 0.7);
442
+ span {
443
+ display: block;
444
+ color: rgba(var(--primary-rgb), 0.7);
445
+ }
446
+ }
434
447
  }
435
448
 
436
449
  .oppstatus {
@@ -444,95 +457,96 @@
444
457
  list-style: none;
445
458
  padding: 0;
446
459
  margin: 0;
447
- }
448
460
 
449
- .opppath > li {
450
- position: relative;
451
- flex: 1;
452
- margin-left: 0.375rem;
453
- margin-right: 0.4375rem;
454
- min-width: 5rem;
455
- text-align: center;
456
- background: var(--primary-color);
457
- }
458
-
459
- .opppath > li:first-child {
460
- margin-left: 0;
461
- border-top-left-radius: 1rem;
462
- border-bottom-left-radius: 1rem;
463
- padding-left: 0.625rem;
464
- }
465
-
466
- .opppath > li:first-child:before,
467
- .opppath > li:first-child:after {
468
- left: 1.125rem;
469
- }
461
+ > li {
462
+ position: relative;
463
+ flex: 1;
464
+ margin-left: 0.375rem;
465
+ margin-right: 0.4375rem;
466
+ min-width: 5rem;
467
+ text-align: center;
468
+ background: var(--primary-color);
469
+
470
+ &:first-child {
471
+ margin-left: 0;
472
+ border-top-left-radius: 1rem;
473
+ border-bottom-left-radius: 1rem;
474
+ padding-left: 0.625rem;
475
+
476
+ &:before,
477
+ &:after {
478
+ left: 1.125rem;
479
+ }
480
+ }
470
481
 
471
- .opppath > li:last-child {
472
- margin-right: 0;
473
- border-top-right-radius: 1rem;
474
- border-bottom-right-radius: 1rem;
475
- padding-left: 0.625rem;
476
- }
482
+ &:last-child {
483
+ margin-right: 0;
484
+ border-top-right-radius: 1rem;
485
+ border-bottom-right-radius: 1rem;
486
+ padding-left: 0.625rem;
477
487
 
478
- .opppath > li:last-child:before,
479
- .opppath > li:last-child:after {
480
- right: 1.125rem;
481
- }
488
+ &:before,
489
+ &:after {
490
+ right: 1.125rem;
491
+ }
492
+ }
482
493
 
483
- .opppath > li:before,
484
- .opppath > li:after {
485
- content: '';
486
- position: absolute;
487
- left: -0.35rem;
488
- right: -0.35rem;
489
- cursor: pointer;
490
- background: var(--primary-color);
491
- }
494
+ &:before,
495
+ &:after {
496
+ content: '';
497
+ position: absolute;
498
+ left: -0.35rem;
499
+ right: -0.35rem;
500
+ cursor: pointer;
501
+ background: var(--primary-color);
502
+ }
492
503
 
493
- .opppath > li:before {
494
- top: 0;
495
- height: 1.5rem;
496
- transform: skew(28deg) translate3d(0, 0, 0);
497
- }
504
+ &:before {
505
+ top: 0;
506
+ height: 1.5rem;
507
+ transform: skew(28deg) translate3d(0, 0, 0);
508
+ }
498
509
 
499
- .opppath > li:after {
500
- bottom: 0;
501
- height: 1.5rem;
502
- transform: skew(-30deg) translate3d(0, 0, 0);
503
- }
510
+ &:after {
511
+ bottom: 0;
512
+ height: 1.5rem;
513
+ transform: skew(-30deg) translate3d(0, 0, 0);
514
+ }
504
515
 
505
- .opppath > li a {
506
- position: relative;
507
- display: flex;
508
- justify-content: center;
509
- align-items: center;
510
- height: 2rem;
511
- padding: 1.45rem;
512
- text-decoration: none;
513
- z-index: 5;
514
- cursor: pointer;
515
- color: var(--tertiary-color);
516
- }
516
+ a {
517
+ font-size: 1rem;
518
+ position: relative;
519
+ display: flex;
520
+ justify-content: center;
521
+ align-items: center;
522
+ height: 2rem;
523
+ padding: 1.45rem;
524
+ text-decoration: none;
525
+ z-index: 5;
526
+ cursor: pointer;
527
+ color: var(--bg-color);
528
+ line-height: 1;
517
529
 
518
- .opppath > li a svg {
519
- position: relative;
520
- top: 2px;
521
- left: 8px;
522
- color: rgba(var(--highlight-color-rgb), 0.5);
530
+ svg {
531
+ position: relative;
532
+ left: 8px;
533
+ color: var(--bg-color);
534
+ }
535
+ }
536
+ }
523
537
  }
524
538
 
525
539
  .opp-complete {
526
- background: rgba(var(--primary-color-rgb), 0.9);
527
- }
540
+ background: var(--secondary-color) !important;
528
541
 
529
- .opp-complete a {
530
- color: var(--highlight-color);
531
- }
542
+ a {
543
+ color: var(--highlight-color);
544
+ }
532
545
 
533
- .opp-complete:before,
534
- .opp-complete:after {
535
- background: rgba(var(--primary-color-rgb), 0.9);
546
+ &:before,
547
+ &:after {
548
+ background: var(--secondary-color) !important;
549
+ }
536
550
  }
537
551
 
538
552
  .oppdets {
@@ -560,7 +574,7 @@
560
574
  .btn:hover {
561
575
  color: var(--primary-color);
562
576
  background: var(--highlight-color);
563
- border: 1px solid rgba(var(--highlight-color-rgb), 1.05);
577
+ border: 1px solid rgba(var(--highlight-rgb), 1.05);
564
578
  }
565
579
 
566
580
  .crmtitle {
@@ -585,7 +599,7 @@
585
599
  a {
586
600
  text-decoration: none;
587
601
  color: var(--secondary-color);
588
- font-weight: 300;
602
+ font-weight: 400;
589
603
  }
590
604
 
591
605
  svg {
@@ -600,9 +614,9 @@
600
614
  .titleInfo {
601
615
  width: max-content;
602
616
  }
603
-
617
+
604
618
  .titleInfo span {
605
619
  font-size: 0.875em;
606
- color: rgba(var(--paragraph-color-rgb), 0.65);
620
+ color: rgba(var(--primary-rgb), 0.65);
607
621
  }
608
- }
622
+ }
@@ -256,7 +256,7 @@
256
256
  a {
257
257
  text-decoration: none;
258
258
  color: var(--secondary-color);
259
- font-weight: 300;
259
+ font-weight: 400;
260
260
  }
261
261
 
262
262
  svg {
@@ -29,8 +29,7 @@
29
29
  }
30
30
 
31
31
  .InovuaReactDataGrid {
32
- letter-spacing: 0.015rem !important;
33
- color: black !important;
32
+ color: var(--paragraph-color) !important;
34
33
  }
35
34
 
36
35
  .InovuaReactDataGrid__header {
@@ -38,7 +37,7 @@
38
37
  }
39
38
 
40
39
  .InovuaReactDataGrid__row-hover-target:hover {
41
- color: black !important;
40
+ color: var(--primary-color) !important;
42
41
  background: rgb(240, 240, 240) !important;
43
42
  }
44
43
 
@@ -128,22 +128,24 @@
128
128
  input:not(:placeholder-shown) + .fi__span,
129
129
  textarea:not(:placeholder-shown) + .fi__span,
130
130
  select:not(:placeholder-shown) + .fi__span {
131
- transform: translateY(-110%) translateX(10px) scale(0.75);
131
+ transform: translateY(-130%) translateX(10px) scale(0.9);
132
132
  opacity: 1;
133
- padding: 0;
133
+ padding: 0 0.25rem;
134
134
  background: var(--tertiary-color);
135
- font-weight: 300;
135
+ font-weight: 400;
136
136
  transition: all 0.5s cubic-bezier(0.5, 0.5, 0, 1);
137
+ color: rgba(var(--paragraph-rgb), 0.65);
137
138
  }
138
139
 
139
140
  .prefocus {
140
- transform: translateY(-110%) translateX(10px) scale(0.75);
141
- opacity: 1;
142
- padding: 0;
143
- background: var(--tertiary-color);
144
- font-weight: 300;
145
- transition: all 0.5s cubic-bezier(0.5, 0.5, 0, 1);
146
- z-index: 999;
141
+ transform: translateY(-130%) translateX(10px) scale(0.9) !important;
142
+ opacity: 1 !important;
143
+ padding: 0 0.25rem !important;
144
+ background: var(--tertiary-color) !important;
145
+ font-weight: 400 !important;
146
+ transition: all 0.5s cubic-bezier(0.5, 0.5, 0, 1) !important;
147
+ z-index: 999 !important;
148
+ color: rgba(var(--paragraph-rgb), 0.65) !important;
147
149
  }
148
150
 
149
151
  .fwItem {
@@ -185,7 +187,7 @@ select:not(:placeholder-shown) + .fi__span {
185
187
  ):not(.inovua-react-toolkit-text-input__input):not(
186
188
  .inovua-react-toolkit-numeric-input__input
187
189
  ) {
188
- font-size: 1rem;
190
+ font-size: 0.85rem;
189
191
  background: white;
190
192
  border-radius: var(--br);
191
193
  padding: 0.85rem;
@@ -242,7 +242,7 @@ input[type='file'] {
242
242
  position: relative;
243
243
  padding: 0.75rem;
244
244
  max-height: 80vh;
245
- overflow-y: auto;
245
+ // overflow-y: auto;
246
246
 
247
247
  .btn {
248
248
  background: var(--primary-color);
@@ -46,7 +46,7 @@
46
46
  display: flex;
47
47
  flex-wrap: nowrap;
48
48
  flex-direction: row;
49
- gap: .5rem;
49
+ gap: 0.5rem;
50
50
  margin: 0;
51
51
  list-style: none;
52
52
  align-items: center;
@@ -92,13 +92,13 @@
92
92
  &.active a,
93
93
  &:hover span,
94
94
  &.active span {
95
- background: rgba(var(--secondary-rgb), 0.25);
96
- color: var(--secondary-color);
95
+ background: rgba(var(--secondary-rgb), 1);
96
+ color: var(--tertiary-color);
97
97
  }
98
98
 
99
99
  &:hover svg,
100
100
  &.active svg {
101
- color: var(--secondary-color);
101
+ color: var(--tertiary-color);
102
102
  }
103
103
 
104
104
  > ul {
@@ -132,13 +132,13 @@
132
132
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
133
133
  outline: none;
134
134
  margin: 0;
135
- background: rgba(var(--primary-rgb), 0.9);
135
+ background: rgba(var(--primary-rgb), 1);
136
136
  color: var(--tertiary-color) !important;
137
137
  }
138
138
 
139
139
  &:hover a {
140
- background: rgba(var(--primary-rgb), 1.05);
141
- color: var(--secondary-color);
140
+ background: rgba(var(--primary-rgb), 1);
141
+ color: var(--tertiary-color);
142
142
  }
143
143
 
144
144
  svg {
@@ -360,7 +360,8 @@
360
360
  position: relative;
361
361
  right: 8px;
362
362
  opacity: 1;
363
- transition: opacity 0.65s cubic-bezier(0.25, 0.8, 0.25, 1);
363
+ transition: opacity 0.65s
364
+ cubic-bezier(0.25, 0.8, 0.25, 1);
364
365
  color: var(--secondary-color);
365
366
  }
366
367
 
@@ -419,7 +420,8 @@
419
420
  background: rgba(var(--primary-rgb), 0.92);
420
421
  color: var(--tertiary-color);
421
422
  border-radius: 3px;
422
- transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
423
+ transition: all 0.25s
424
+ cubic-bezier(0.25, 0.8, 0.25, 1);
423
425
  outline: none;
424
426
  }
425
427
 
@@ -828,4 +830,4 @@
828
830
  max-width: 20px;
829
831
  }
830
832
  }
831
- }
833
+ }
@@ -13,6 +13,7 @@ body {
13
13
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
14
14
  height: 100%;
15
15
  text-rendering: geometricPrecision;
16
+ font-stretch: 75% 125%;
16
17
  }
17
18
 
18
19
  body {
@@ -20,10 +21,9 @@ body {
20
21
  font-weight: var(--para-weight);
21
22
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
22
23
  font-style: normal;
23
- letter-spacing: 0.018em;
24
24
  overflow-x: hidden;
25
25
  overscroll-behavior: none;
26
- font-size: 1rem;
26
+ font-size: 0.85rem;
27
27
  }
28
28
 
29
29
  input,
@@ -101,6 +101,7 @@ input[type]:not([type='search']):not([type='url']):not([type='hidden']):not(
101
101
  transition: border 0.15s linear;
102
102
  width: 100%;
103
103
  line-height: 1;
104
+ font-size: 0.85rem;
104
105
 
105
106
  &:focus {
106
107
  border: 1px solid var(--primary-color);
@@ -126,7 +127,6 @@ input[type]:not([type='search']):not([type='url']):not([type='hidden']):not(
126
127
  max-height: 150px;
127
128
  overflow-y: auto;
128
129
 
129
-
130
130
  ul {
131
131
  font-size: 1rem;
132
132
  padding: 0;
@@ -142,8 +142,7 @@ input[type]:not([type='search']):not([type='url']):not([type='hidden']):not(
142
142
  }
143
143
 
144
144
  .InovuaReactDataGrid {
145
- letter-spacing: 0.015rem !important;
146
- color: black !important;
145
+ color: var(--paragraph-color) !important;
147
146
  }
148
147
 
149
148
  .InovuaReactDataGrid__header {
@@ -151,10 +150,45 @@ input[type]:not([type='search']):not([type='url']):not([type='hidden']):not(
151
150
  }
152
151
 
153
152
  .InovuaReactDataGrid__row-hover-target:hover {
154
- color: black !important;
153
+ color: var(--paragraph-color) !important;
155
154
  background: rgb(240, 240, 240) !important;
156
155
  }
157
156
 
158
157
  .InovuaReactDataGrid__row:hover {
159
158
  cursor: pointer;
159
+ }
160
+
161
+ /* Async Select */
162
+
163
+ .visns-select__control {
164
+ width: 100%;
165
+ cursor: default;
166
+ min-height: 50px;
167
+ outline: 0 !important;
168
+ position: relative;
169
+ -webkit-transition: all 100ms;
170
+ transition: all 100ms;
171
+ background-color: hsl(0, 0%, 100%);
172
+ border-color: hsl(0, 0%, 80%);
173
+ border-radius: 4px;
174
+ border-style: solid;
175
+ border-width: 1px;
176
+ box-sizing: border-box;
177
+ box-shadow: none !important;
178
+
179
+ &--is-focused {
180
+ border-color: var(--primary-color) !important;
181
+ box-shadow: none !important;
182
+ border-width: 1px !important;
183
+ }
184
+
185
+ &--menu-is-open {
186
+ border-color: var(--primary-color) !important;
187
+ box-shadow: none !important;
188
+ border-width: 1px !important;
189
+ }
190
+ }
191
+
192
+ .visns-select__menu {
193
+ z-index: 999 !important;
160
194
  }