@depict-ai/react-ui 0.0.76 → 0.0.78

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 (42) hide show
  1. package/README.md +3 -0
  2. package/dist/index.d.ts +3 -3
  3. package/dist/main.js +1 -1
  4. package/dist/module.js +1 -1
  5. package/dist/styles/index.scss +1 -54
  6. package/dist/styles/plain-css-fallback-styling.css +1 -0
  7. package/dist-server/index.d.ts +1 -1
  8. package/dist-server/main.js +1 -1
  9. package/dist-server/module.js +1 -1
  10. package/package.json +18 -11
  11. package/dist/styles/components/PLP/Buttons.scss +0 -152
  12. package/dist/styles/components/PLP/MorphingSign.scss +0 -32
  13. package/dist/styles/components/PLP/PLPResults.scss +0 -26
  14. package/dist/styles/components/PLP/ProductListingPage.scss +0 -165
  15. package/dist/styles/components/PLP/ScrollStatus.scss +0 -28
  16. package/dist/styles/components/PLP/SelectedFilters.scss +0 -81
  17. package/dist/styles/components/PLP/SlidableItems.scss +0 -118
  18. package/dist/styles/components/PLP/SortAndFilter/FloatingButtons.scss +0 -76
  19. package/dist/styles/components/PLP/SortAndFilter/SortAndFilter.scss +0 -802
  20. package/dist/styles/components/PLP/SortAndFilter/SortAndFilterModal.scss +0 -157
  21. package/dist/styles/components/PLP/Toast.scss +0 -61
  22. package/dist/styles/components/PLP/index.scss +0 -15
  23. package/dist/styles/components/category/BreadCrumbs.scss +0 -25
  24. package/dist/styles/components/category/CategoryTitle.scss +0 -33
  25. package/dist/styles/components/category/QuickLinks.scss +0 -57
  26. package/dist/styles/components/category/index.scss +0 -7
  27. package/dist/styles/components/search/Autocomplete.scss +0 -182
  28. package/dist/styles/components/search/CategorySuggestions.scss +0 -53
  29. package/dist/styles/components/search/InstantCard.scss +0 -119
  30. package/dist/styles/components/search/InstantResults.scss +0 -12
  31. package/dist/styles/components/search/PreviousSearches.scss +0 -83
  32. package/dist/styles/components/search/SearchField.scss +0 -141
  33. package/dist/styles/components/search/SearchModal.scss +0 -86
  34. package/dist/styles/components/search/SearchRecommendations.scss +0 -28
  35. package/dist/styles/components/search/ShowingResultsFor.scss +0 -7
  36. package/dist/styles/components/search/index.scss +0 -12
  37. package/dist/styles/default.css +0 -1
  38. package/dist/styles/helpers/custom_input.scss +0 -194
  39. package/dist/styles/helpers/supports-hover.scss +0 -7
  40. package/dist/styles/helpers/utils.scss +0 -96
  41. package/dist/styles/package.json +0 -30
  42. package/dist/styles/variables.scss +0 -295
@@ -1,802 +0,0 @@
1
- @use "../../../helpers/utils";
2
- @use "../../../helpers/custom_input";
3
- @use "SortAndFilterModal";
4
- @use "../MorphingSign";
5
- @use "../../../variables";
6
- @use "../../../helpers/supports-hover";
7
- @use "../Buttons";
8
- @use "sass:color";
9
- @use "sass:map";
10
-
11
- $brand-black: variables.get-merged(variables.$base-colors-defaults, variables.$base-colors, 800);
12
- $brand-dark-grey: variables.get-merged(variables.$base-colors-defaults, variables.$base-colors, 600);
13
- $brand-grey: variables.get-merged(variables.$base-colors-defaults, variables.$base-colors, 400);
14
- $brand-light-grey: variables.get-merged(variables.$base-colors-defaults, variables.$base-colors, 300);
15
- $brand-lighter-grey: variables.get-merged(variables.$base-colors-defaults, variables.$base-colors, 200);
16
- $brand-lightest-grey: variables.get-merged(variables.$base-colors-defaults, variables.$base-colors, 100);
17
-
18
- // Mega hack right now, we want to wait on Vicki's redesign of this
19
-
20
- $custom-input-checked-background: #fff;
21
- $custom-input-background: #fff;
22
- $custom-input-indicator-color: $brand-black;
23
- $checkbox-background-color: #fff;
24
- $checkbox-checked-background-color: $brand-black;
25
- $checkbox-checkmark-color: #fff;
26
- $checkbox-border-radius: if(variables.$border-radius == 0, 0, if(variables.$border-radius == 0px, 0, 2px));
27
- // if global border radius is 0 or 0px, don't round input fields in their default value
28
- $checkbox-border: 1px solid $brand-dark-grey;
29
- $checkbox-top-offset: 0px;
30
- $checkbox-left-offset: 0px;
31
- $radio-border: 1px solid $brand-dark-grey;
32
- $radio-background-color: #fff;
33
- $radio-selected-dot-color: $brand-black;
34
- $radio-selected-dot-size: 14px;
35
- $radio-selected-offset: 0px;
36
- $hovered-checkbox-bg: $brand-lighter-grey;
37
- $hovered-checkbox-checked-background-color: $brand-dark-grey;
38
- $hovered-checkbox-border: 2px solid $brand-black;
39
- $hovered-radio-border: 2px solid $brand-black;
40
-
41
- /// Mixin that styles the sorting and filtering menus.
42
- @mixin SortAndFilter() {
43
- $spacing_between_input_rows: variables.get-merged(
44
- variables.$filters-configuration-defaults,
45
- variables.$filters-configuration,
46
- "spacing-between-input-rows"
47
- );
48
- $input-row-height: max(
49
- variables.get-merged(
50
- variables.$filters-configuration-defaults,
51
- variables.$filters-configuration,
52
- "input-row-height-goal"
53
- ),
54
- 1em
55
- ); // if text gets bigger we have to get bigger too to not cut off the text
56
- // it was meant to be 20px but there was a bug so I'm setting it to 21px now so it doesn't change
57
- $count-distance-to-right: 30px;
58
- $largest-border-on-custom-input: max(
59
- custom_input.get_border_width($checkbox-border),
60
- custom_input.get_border_width($radio-border)
61
- );
62
-
63
- @if (not $hovered-checkbox-checked-background-color) {
64
- @if color.lightness($checkbox-checked-background-color) >= 50% {
65
- $hovered-checkbox-checked-background-color: color.scale($checkbox-checked-background-color, $lightness: -10%);
66
- } @else {
67
- $hovered-checkbox-checked-background-color: color.scale($checkbox-checked-background-color, $lightness: +20%);
68
- }
69
- }
70
-
71
- .major-minor-transition {
72
- transition: filter 150ms ease-in-out, background 250ms ease-in-out, color 250ms ease-in-out,
73
- border 250ms ease-in-out;
74
- }
75
-
76
- .filter-results-for-one-row {
77
- display: flex;
78
- align-items: center;
79
- justify-content: space-between;
80
- }
81
-
82
- *:not(.filter-results-for-one-row) > .sort-and-filter-buttons .inner {
83
- justify-content: space-between;
84
- }
85
-
86
- .sorting-attributes,
87
- .sorting-direction {
88
- padding: 10px;
89
- display: flex;
90
- flex-direction: column;
91
- @include utils.flex-gap(10px, "column nowrap");
92
- }
93
-
94
- .sort-and-filter-buttons {
95
- .outer {
96
- margin-top: -5px;
97
- }
98
-
99
- .inner {
100
- display: flex;
101
- justify-content: flex-end;
102
- // Note: this can't be done with gap: or embedded_num_products will break since it assumes that the spacing is included in the width of these elements + margin
103
- @include utils.flex-gap(10px, "row nowrap");
104
- align-items: center;
105
- overflow: hidden;
106
- padding-top: 5px;
107
- // hack around having to have overflow: hidden for embedded_num_products but still wanting to be able to see the overflowing number of filters badge
108
- }
109
-
110
- &.fake .toggle-button {
111
- transition: none;
112
- }
113
-
114
- .toggle-button {
115
- white-space: nowrap;
116
- @include utils.flex-gap(5px, "row nowrap");
117
- position: relative;
118
-
119
- svg path {
120
- transition-duration: 250ms;
121
- }
122
-
123
- &.major {
124
- &.for-sorting {
125
- @include utils.flex-gap(10px, "row nowrap");
126
- }
127
- }
128
- }
129
-
130
- .num-filters {
131
- position: absolute;
132
- right: -4px;
133
- top: -4px;
134
- background: black;
135
- color: #fff;
136
- border-radius: 13px;
137
- width: 20px;
138
- line-height: 1;
139
- height: 20px;
140
- display: flex;
141
- justify-content: center;
142
- align-items: center;
143
- transition: opacity 250ms ease-in-out;
144
- font-size: 12px;
145
- z-index: calc(#{variables.$search-page-base-z-index} + 1);
146
- }
147
-
148
- .open-filters-button-container {
149
- position: relative;
150
- }
151
- }
152
-
153
- label {
154
- margin: 0;
155
- }
156
-
157
- .PLP-results {
158
- .sorting,
159
- .filters {
160
- flex-shrink: 0;
161
- flex-basis: 330px;
162
- }
163
- }
164
- // Shared body style for filters and sorting containers
165
- .filters .body,
166
- .sorting .body {
167
- display: flex;
168
- flex-direction: column;
169
- @include custom_input.custom_input(
170
- $checkbox-background-color,
171
- $checkbox-checked-background-color,
172
- $checkbox-checkmark-color,
173
- $checkbox-border-radius,
174
- $checkbox-border,
175
- $checkbox-left-offset,
176
- $checkbox-top-offset,
177
- $radio-border,
178
- $radio-background-color,
179
- $radio-selected-dot-color,
180
- $radio-selected-dot-size,
181
- $radio-selected-offset,
182
- $hovered-checkbox-bg,
183
- $hovered-checkbox-checked-background-color,
184
- $hovered-checkbox-border,
185
- $hovered-radio-border,
186
- $input-row-height,
187
- $largest-border-on-custom-input
188
- );
189
- }
190
- .filters {
191
- .body {
192
- $filter-group-summary-spacings: false; // Set to px value if space is wanted between the filter group
193
- @if $filter-group-summary-spacings {
194
- & > * {
195
- // WhiteSortAndFilter wants to add a border above the space here which is why we're not using utils.flex-gap / margins
196
- &:not(:first-child) {
197
- padding-top: calc($filter-group-summary-spacings * 0.5);
198
- }
199
-
200
- &:not(:last-child) {
201
- padding-bottom: calc($filter-group-summary-spacings * 0.5);
202
- }
203
- }
204
- }
205
-
206
- .input-row {
207
- // Only input row in filters
208
- padding-bottom: calc(#{$spacing_between_input_rows} / 2);
209
- padding-top: calc(#{$spacing_between_input_rows} / 2);
210
- justify-content: space-between;
211
-
212
- &,
213
- & > .left {
214
- align-items: center;
215
- display: flex;
216
- }
217
-
218
- .text {
219
- //line-height: 1.8; /** Fix for ÅÄÖ getting cut-off **/
220
- line-height: $input-row-height; // Sorry ÅÄÖ, hope you survive this
221
- display: -webkit-box;
222
- text-overflow: ellipsis;
223
- white-space: pre-line;
224
- overflow-wrap: anywhere;
225
- color: variables.get-text-color("neutral", "default");
226
- -webkit-box-orient: vertical;
227
- -webkit-line-clamp: 1;
228
- overflow: hidden;
229
- word-break: break-word;
230
- font-weight: variables.get-font-weight(400);
231
- }
232
-
233
- *:checked,
234
- .fake-checked {
235
- & ~ .text {
236
- color: variables.get-text-color("neutral", "pressed");
237
- font-weight: variables.get-merged(variables.$font-weights-defaults, variables.$font-weights, 500);
238
- }
239
- }
240
-
241
- &.count-0 * + .text {
242
- color: variables.get-text-color("subtle", "default");
243
- }
244
- }
245
-
246
- .input-row,
247
- .hierarchical .checkbox-details.expandable .category-parent {
248
- .count {
249
- color: variables.get-text-color("subtle", "default");
250
- font-weight: variables.get-merged(variables.$font-weights-defaults, variables.$font-weights, 400);
251
- }
252
- }
253
-
254
- .input-row:hover .count {
255
- color: black;
256
- }
257
-
258
- .selected-w-sign {
259
- display: flex;
260
- align-items: center;
261
- @include utils.flex-gap(10px, "row nowrap");
262
-
263
- .show-selected {
264
- display: flex;
265
- @include utils.flex-gap(5px, "row nowrap");
266
- align-items: center;
267
- color: variables.get-text-color("subtle", "default");
268
- fill: variables.get-text-color("subtle", "default");
269
-
270
- span {
271
- line-height: 1;
272
- }
273
- }
274
- }
275
-
276
- .ungrouped {
277
- // Spacing above filters that aren't in a group
278
- margin-top: 25px;
279
- }
280
-
281
- .clear-all-filters {
282
- margin-top: 5px;
283
- font-weight: 400;
284
- padding: 0.7em;
285
- text-transform: variables.$uppercase-text-transform;
286
- font-size: 1.1em;
287
- }
288
-
289
- details {
290
- summary {
291
- list-style: none;
292
-
293
- &::-webkit-details-marker {
294
- display: none;
295
- }
296
-
297
- cursor: pointer;
298
-
299
- & > .summary {
300
- display: flex;
301
- justify-content: space-between;
302
- align-items: center;
303
- }
304
- }
305
-
306
- &.filter-collapsible {
307
- border-top: 1px solid variables.get-border-color("neutral", "default");
308
-
309
- .filter-group-summary {
310
- //border-radius: $filter-group-summary-border-radius;
311
-
312
- &:focus {
313
- outline: none;
314
- }
315
-
316
- &:focus-visible {
317
- background: variables.get-background-color("base", "hover");
318
- }
319
-
320
- @include supports-hover.supports-hover() {
321
- &:hover {
322
- background: variables.get-background-color("base", "hover");
323
- }
324
- }
325
-
326
- &:active {
327
- @include utils.highlight-background(
328
- variables.get-background-color("base", "hover"),
329
- 2%,
330
- 2%
331
- ); // need real subtle here so we use the illegal mixin
332
- }
333
-
334
- & > .summary {
335
- color: variables.get-text-color("neutral", "default");
336
- padding: 15px 10px;
337
-
338
- & > svg {
339
- transform: rotate(270deg);
340
- }
341
- }
342
- }
343
-
344
- &[open] .filter-group-summary {
345
- //border-radius: $filter-group-summary-border-radius $filter-group-summary-border-radius 0px 0px;
346
- border-bottom: 1px solid variables.get-border-color("subtle", "default");
347
-
348
- & > .summary {
349
- & > span {
350
- // Make filter group title medium when expanded
351
- font-weight: variables.get-merged(variables.$font-weights-defaults, variables.$font-weights, 500);
352
- }
353
- }
354
- }
355
- }
356
- }
357
-
358
- .filter-collapsible-body {
359
- margin-bottom: 15px;
360
- display: flex;
361
- flex-direction: column;
362
- @include utils.flex-gap(1px, "column nowrap");
363
- border-radius: 0px 0px 4px 4px;
364
- overflow: hidden;
365
-
366
- .view-more-clear {
367
- border-top: 1px solid variables.get-border-color("subtle", "default");
368
- display: flex;
369
- justify-content: space-between;
370
- $gap: 10px;
371
-
372
- .clear-group {
373
- @include utils.flex-gap(calc($gap - calc(calc(21.064px - 8.42px) / 2)), "row nowrap");
374
- margin-left: auto;
375
-
376
- svg {
377
- width: 11px;
378
- height: 12px;
379
- }
380
- }
381
-
382
- .expand-filter {
383
- margin-right: auto;
384
- @include utils.flex-gap($gap, "row nowrap");
385
-
386
- &.expanded svg {
387
- clip-path: polygon(20% 48%, 80% 48%, 80% 50.8%, 20% 50.8%);
388
- transform: scale(1.6);
389
- }
390
- }
391
-
392
- button {
393
- background: transparent;
394
- border: none;
395
- margin-bottom: 0;
396
- margin-right: 0;
397
- margin-left: 0;
398
- color: black;
399
- cursor: pointer;
400
- padding: 10px;
401
- display: flex;
402
- align-items: center;
403
- justify-content: center;
404
- text-transform: variables.$uppercase-text-transform;
405
- svg {
406
- path {
407
- fill: black;
408
- }
409
- }
410
-
411
- &:focus-visible {
412
- outline: none;
413
- filter: map.get(Buttons.get-secondary-button-properties(), "focus-visible-filter");
414
- }
415
- }
416
- }
417
-
418
- .filter-part {
419
- padding: 15px 10px 20px 10px;
420
- display: flex;
421
- flex-direction: column;
422
- @include utils.flex-gap(10px, "column nowrap");
423
- }
424
- }
425
-
426
- *:not(.ungrouped) > form {
427
- margin-bottom: calc(-1 * calc(#{$spacing_between_input_rows} / 2));
428
- margin-top: calc(-1 * calc(#{$spacing_between_input_rows} / 2));
429
- }
430
-
431
- .hierarchical {
432
- margin-left: -20px;
433
-
434
- &.any-expandable {
435
- .count {
436
- margin-right: $count-distance-to-right;
437
- }
438
- }
439
-
440
- .checkbox-details {
441
- padding-left: 20px;
442
-
443
- &.expandable {
444
- position: relative;
445
- $expandable-separator-height: 1px;
446
- $expandable-separator-hover-change-factor: 20%;
447
-
448
- & summary {
449
- &:before,
450
- &:after {
451
- pointer-events: none;
452
- content: "";
453
- position: absolute;
454
- right: 0;
455
- height: $expandable-separator-height;
456
- width: calc(100% - 20px); // Reduce for padding
457
- background: variables.get-background-color("base", "disabled");
458
- }
459
-
460
- &:before {
461
- // so that two adjacent separators merge into each other
462
- top: calc(-0.5 * #{$expandable-separator-height});
463
- }
464
-
465
- &:after {
466
- bottom: calc(-0.5 * #{$expandable-separator-height});
467
- }
468
-
469
- @include supports-hover.supports-hover() {
470
- &:hover,
471
- .input-row:hover ~ details > & {
472
- &:after,
473
- &:before {
474
- background: variables.get-background-color("subtle", "hover");
475
- z-index: 1;
476
- }
477
- }
478
- }
479
-
480
- &:focus-visible,
481
- .input-row ~ details:focus-visible > & {
482
- &:after,
483
- &:before {
484
- background: variables.get-background-color("subtle", "hover");
485
- z-index: 1;
486
- }
487
- }
488
- }
489
-
490
- & > .input-row {
491
- position: absolute;
492
- padding-right: 30px;
493
- }
494
-
495
- & > details {
496
- &:not([open]),
497
- &[open] > .category-parent > .summary {
498
- padding-top: calc(#{$spacing_between_input_rows} / 2);
499
- padding-bottom: calc(#{$spacing_between_input_rows} / 2);
500
- }
501
-
502
- .category-parent {
503
- &:focus {
504
- outline: none;
505
- box-shadow: none;
506
- }
507
-
508
- &:focus-visible {
509
- outline: none;
510
- box-shadow: none;
511
- }
512
-
513
- @supports selector(:focus-visible) {
514
- &:not(:focus-visible) {
515
- @include supports-hover.supports-hover() {
516
- &:not(:hover) {
517
- @include default_morphing_sign_in_expandable();
518
- }
519
- }
520
- @media (hover: none) {
521
- @include default_morphing_sign_in_expandable();
522
- }
523
- }
524
-
525
- @include supports-hover.supports-hover() {
526
- &:hover {
527
- .morphing-sign {
528
- transform: scale(1.5);
529
- }
530
-
531
- .count {
532
- color: black;
533
- }
534
- }
535
- }
536
-
537
- &:focus-visible {
538
- .count {
539
- color: black;
540
- }
541
-
542
- .morphing-sign {
543
- transform: scale(1.5);
544
- }
545
- }
546
- }
547
- @supports (not (selector(:focus-visible))) {
548
- @include supports-hover.supports-hover() {
549
- &:not(:hover) {
550
- @include default_morphing_sign_in_expandable();
551
- }
552
- &:hover {
553
- .morphing-sign {
554
- transform: scale(1.5);
555
- }
556
-
557
- .count {
558
- color: black;
559
- }
560
- }
561
- }
562
- @media (hover: none) {
563
- @include default_morphing_sign_in_expandable();
564
- }
565
- }
566
-
567
- & > .summary {
568
- justify-content: flex-end;
569
- $morphing-sign-width: #{$input-row-height};
570
-
571
- .count {
572
- margin-right: calc(#{$count-distance-to-right} - #{$morphing-sign-width});
573
- }
574
-
575
- .morphing-sign {
576
- // same as custom inputs
577
- width: $morphing-sign-width;
578
- transition-duration: 150ms;
579
- transition-timing-function: ease-in-out;
580
- height: $morphing-sign-width;
581
-
582
- span {
583
- background: black;
584
- transition-duration: 150ms;
585
- transition-timing-function: ease-in-out;
586
- }
587
- }
588
- }
589
- }
590
- }
591
- }
592
- }
593
- }
594
-
595
- .range {
596
- .input-group {
597
- width: 100%;
598
- display: flex;
599
- // use paddings to not confuse useExpandingContainer
600
- padding-top: 10px;
601
- padding-bottom: 25px;
602
-
603
- .field {
604
- display: flex;
605
- width: 100%;
606
- align-items: center;
607
-
608
- input {
609
- border: 0.5px solid variables.get-border-color("base", "default");
610
- background: variables.get-background-color("base", "disabled");
611
- transition-duration: 50ms;
612
- padding-top: 8px;
613
- padding-bottom: 8px;
614
- width: 100%;
615
- outline: none;
616
- text-align: center;
617
- -moz-appearance: textfield;
618
-
619
- &:focus-visible {
620
- background: variables.get-background-color("base", "hover");
621
- }
622
-
623
- @include supports-hover.supports-hover() {
624
- &:hover {
625
- background: variables.get-background-color("base", "hover");
626
- }
627
- }
628
-
629
- &::-webkit-outer-spin-button,
630
- &::-webkit-inner-spin-button {
631
- -webkit-appearance: none;
632
- }
633
- }
634
- }
635
-
636
- .separator {
637
- flex-basis: 25px;
638
- flex-shrink: 0;
639
- display: flex;
640
- font-size: 19px;
641
- align-items: center;
642
- justify-content: center;
643
- color: variables.get-text-color("neutral", "default");
644
- }
645
- }
646
-
647
- .slider {
648
- height: 5px;
649
- position: relative;
650
- background: #ddd;
651
- border-radius: 5px;
652
-
653
- .progress {
654
- height: 100%;
655
- left: 25%;
656
- right: 25%;
657
- position: absolute;
658
- border-radius: 5px;
659
- background: variables.get-background-color("inverse", "default");
660
- }
661
- }
662
-
663
- .range-group {
664
- position: relative;
665
-
666
- input {
667
- position: absolute;
668
- width: 100%;
669
- height: 0;
670
- top: -2.5px;
671
- margin: 0;
672
- background: none;
673
- pointer-events: none;
674
- -webkit-appearance: none;
675
- -moz-appearance: none;
676
-
677
- &:focus {
678
- outline: none;
679
- }
680
-
681
- $thumb_size: 20px;
682
-
683
- &::-webkit-slider-thumb {
684
- cursor: pointer;
685
- height: $thumb_size;
686
- width: $thumb_size;
687
- border-radius: 50%;
688
- background: variables.get-background-color("inverse", "default");
689
- @include supports-hover.supports-hover() {
690
- &:hover {
691
- background: variables.get-background-color("inverse", "hover");
692
- }
693
- }
694
- pointer-events: auto;
695
- -webkit-appearance: none;
696
- box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
697
- }
698
-
699
- &::-moz-range-thumb {
700
- // TODO: overflows to the left
701
- cursor: pointer;
702
- height: $thumb_size;
703
- width: $thumb_size;
704
- border: none;
705
- border-radius: 50%;
706
- background: variables.get-background-color("base", "default");
707
- @include supports-hover.supports-hover() {
708
- &:hover {
709
- background: variables.get-background-color("inverse", "hover");
710
- }
711
- }
712
- pointer-events: auto;
713
- -moz-appearance: none;
714
- box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
715
- }
716
-
717
- &:focus-visible {
718
- &::-webkit-slider-thumb {
719
- background: variables.get-background-color("inverse", "hover");
720
- }
721
-
722
- &::-moz-range-thumb {
723
- background: variables.get-background-color("inverse", "hover");
724
- }
725
- }
726
- }
727
- }
728
-
729
- .value-text {
730
- padding-top: 10px;
731
- display: flex;
732
- justify-content: space-between;
733
- color: variables.get-text-color("neutral", "default");
734
- }
735
- }
736
-
737
- .checkbox-grid {
738
- display: flex;
739
- flex-wrap: wrap;
740
- @include utils.flex-gap(10px, "row wrap");
741
-
742
- .major,
743
- .minor {
744
- padding: 5px 10px;
745
-
746
- &.minor {
747
- border: 1px solid #d5d5d5;
748
- }
749
- }
750
- }
751
-
752
- @include CheckboxColor();
753
- }
754
- }
755
- .sorting {
756
- .body {
757
- @include utils.flex-gap(1px, "column nowrap");
758
- line-height: 1;
759
- color: variables.get-text-color("neutral", "default");
760
-
761
- .input-row {
762
- align-items: center;
763
- justify-content: flex-start;
764
- display: flex;
765
- }
766
- }
767
- }
768
-
769
- @include MorphingSign.MorphingSign();
770
-
771
- @content;
772
- }
773
-
774
- @mixin default_morphing_sign_in_expandable {
775
- .morphing-sign {
776
- span {
777
- background: variables.get-background-color("inverse", "hover");
778
-
779
- &:first-child {
780
- width: 5%;
781
- left: 47.5%;
782
- }
783
-
784
- &:last-child {
785
- height: 5%;
786
- top: 47.5%;
787
- }
788
- }
789
- }
790
- }
791
-
792
- @mixin CheckboxColor() {
793
- .checkbox-color {
794
- display: flex;
795
- flex-wrap: wrap;
796
- justify-content: space-between;
797
-
798
- .input-row {
799
- width: calc(50% - 10px);
800
- }
801
- }
802
- }