@trilogy-ds/styles 0.0.4-beta-v4 → 0.0.4-esm-cjs

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 (99) hide show
  1. package/dist/default/trilogy-mangled.css +1 -1
  2. package/dist/default/trilogy-partials.css +1 -1
  3. package/dist/default/trilogy.css +1 -1
  4. package/framework/src/_all.scss +2 -2
  5. package/framework/src/base/_all.scss +1 -1
  6. package/framework/src/base/_color.scss +0 -21
  7. package/framework/src/base/_elements.scss +1 -1
  8. package/framework/src/base/_generic.scss +5 -0
  9. package/framework/src/base/_helpers.scss +21 -6
  10. package/framework/src/base/_loading.scss +2 -2
  11. package/framework/src/base/_reset.scss +6 -1
  12. package/framework/src/components/_accordion.scss +4 -3
  13. package/framework/src/components/_autocomplete.scss +38 -0
  14. package/framework/src/components/_autolayout.scss +139 -109
  15. package/framework/src/{elements → components}/_badge.scss +1 -1
  16. package/framework/src/{elements → components}/_box.scss +9 -11
  17. package/framework/src/components/_breadcrumb.scss +17 -31
  18. package/framework/src/{elements → components}/_button.scss +16 -3
  19. package/framework/src/components/_card.scss +26 -9
  20. package/framework/src/{elements → components}/_checkbox.scss +30 -1
  21. package/framework/src/components/_countdown.scss +1 -1
  22. package/framework/src/components/_divider.scss +16 -0
  23. package/framework/src/components/_flex-box.scss +240 -0
  24. package/framework/src/{elements/_all.scss → components/_index.scss} +27 -12
  25. package/framework/src/{elements → components}/_link.scss +9 -3
  26. package/framework/src/components/_list.scss +66 -0
  27. package/framework/src/components/_modal.scss +32 -11
  28. package/framework/src/components/_otp.scss +2 -2
  29. package/framework/src/components/_pagination.scss +5 -2
  30. package/framework/src/components/_price.scss +28 -2
  31. package/framework/src/{elements → components}/_radio.scss +4 -3
  32. package/framework/src/components/_segmented-control.scss +9 -5
  33. package/framework/src/components/_select.scss +131 -0
  34. package/framework/src/components/_stepper.scss +1 -1
  35. package/framework/src/{elements → components}/_sticker.scss +13 -1
  36. package/framework/src/{elements → components}/_switch.scss +13 -8
  37. package/framework/src/{elements → components}/_table.scss +9 -10
  38. package/framework/src/components/_tabs.scss +66 -28
  39. package/framework/src/{elements → components}/_tag.scss +1 -17
  40. package/framework/src/{elements/_paragraph.scss → components/_text.scss} +1 -13
  41. package/framework/src/components/_textarea.scss +46 -0
  42. package/framework/src/components/_timeline.scss +1 -1
  43. package/framework/src/{elements → components}/_title.scss +10 -0
  44. package/framework/src/components/alert/_index.scss +2 -0
  45. package/framework/src/{elements → components/alert}/_toaster.scss +0 -3
  46. package/framework/src/{elements → components/input}/_entry.scss +48 -10
  47. package/framework/src/{elements → components/input}/_form.scss +10 -11
  48. package/framework/src/components/input/_index.scss +4 -0
  49. package/framework/src/{elements → components/input}/_input-icons.scss +14 -2
  50. package/framework/src/components/progress/_index.scss +2 -0
  51. package/framework/src/components/{_progress-radial.scss → progress/_progress-radial.scss} +1 -1
  52. package/framework/src/{elements → components/progress}/_progress.scss +3 -3
  53. package/framework/src/elements/_index.scss +5 -0
  54. package/framework/src/elements/_other.scss +0 -4
  55. package/framework/src/grid/_columns.scss +33 -11
  56. package/framework/src/layout/_hero.scss +4 -0
  57. package/framework/src/layout/_section.scss +5 -0
  58. package/framework/src/theming/buttons_partial.scss +1 -1
  59. package/framework/src/theming/common_partials.scss +1 -1
  60. package/framework/src/trilogy-mangled.scss +3 -3
  61. package/framework/src/trilogy.scss +2 -2
  62. package/framework/src/utilities/_background.scss +3 -1
  63. package/framework/src/utilities/_derived-variables.scss +0 -92
  64. package/framework/src/utilities/_initial-variables.scss +3 -111
  65. package/framework/src/utilities/_pre.scss +3 -1
  66. package/framework/src/utilities/mixins/_arrow.scss +21 -0
  67. package/framework/src/utilities/mixins/_delete.scss +86 -0
  68. package/framework/src/utilities/mixins/_index.scss +11 -0
  69. package/framework/src/utilities/mixins/_markup-group.scss +27 -0
  70. package/framework/src/utilities/mixins/_mixins.scss +293 -0
  71. package/framework/src/utilities/mixins/_overlay.scss +7 -0
  72. package/framework/src/utilities/mixins/_pattern.scss +10 -0
  73. package/framework/src/utilities/mixins/_responsiveness.scss +84 -0
  74. package/framework/src/utilities/mixins/_spinner.scss +12 -0
  75. package/framework/src/utilities/mixins/_state.scss +25 -0
  76. package/framework/src/utilities/mixins/_unselectable.scss +10 -0
  77. package/framework/src/utilities/mixins/_utils.scss +24 -0
  78. package/framework/src/utilities/variables/_animation.scss +2 -0
  79. package/framework/src/utilities/{_colors.scss → variables/_color.scss} +44 -0
  80. package/framework/src/utilities/variables/_font.scss +97 -0
  81. package/framework/src/utilities/variables/_index.scss +6 -0
  82. package/framework/src/utilities/variables/_responsiveness.scss +7 -0
  83. package/framework/src/utilities/variables/_shadow.scss +3 -0
  84. package/framework/src/utilities/variables/_zindex.scss +14 -0
  85. package/package.json +1 -1
  86. package/framework/src/components/_all.scss +0 -24
  87. package/framework/src/elements/_autocomplete.scss +0 -32
  88. package/framework/src/elements/_list.scss +0 -62
  89. package/framework/src/elements/_select.scss +0 -96
  90. package/framework/src/elements/_textarea.scss +0 -133
  91. package/framework/src/utilities/_mixins.scss +0 -635
  92. /package/framework/src/{elements → components}/_chips.scss +0 -0
  93. /package/framework/src/{elements → components}/_container.scss +0 -0
  94. /package/framework/src/{elements → components}/_icon.scss +0 -0
  95. /package/framework/src/{elements → components}/_image.scss +0 -0
  96. /package/framework/src/{elements → components}/_loader.scss +0 -0
  97. /package/framework/src/{elements → components/alert}/_alert.scss +0 -0
  98. /package/framework/src/{elements → components/input}/_input-gauge.scss +0 -0
  99. /package/framework/src/{components → elements}/_plus-symbol.scss +0 -0
@@ -2,7 +2,7 @@
2
2
 
3
3
  @import "utilities/all";
4
4
  @import "base/all";
5
- @import "elements/all";
6
- @import "components/all";
5
+ @import "elements";
6
+ @import "components";
7
7
  @import "grid/all";
8
8
  @import "layout/all";
@@ -1,7 +1,7 @@
1
1
  @charset "utf-8";
2
2
 
3
- @import "reset";
4
3
  @import "color";
4
+ @import "reset";
5
5
  @import "generic";
6
6
  @import "fonts";
7
7
  @import "helpers";
@@ -1,28 +1,7 @@
1
1
  @use "sass:map";
2
2
 
3
- @function getColor( $name ) {
4
- @return var(--color-#{nth(map-get($colors,$name),2)});
5
- }
6
-
7
- @function getColorValue( $name ) {
8
- @return #{nth(map-get($colors,$name),1)}
9
- }
10
-
11
- @function getColorBrandName( $name ) {
12
- @return #{nth(map-get($colors,$name),2)}
13
- }
14
-
15
3
  :root {
16
4
  @each $name, $color in $colors {
17
5
  --color-#{nth($color,2)}: #{nth($color,1)};
18
6
  }
19
7
  }
20
-
21
- @function invertColor ($colorName) {
22
- @return var(--color-#{nth(map-get($colors,$colorName),3)})
23
- }
24
-
25
- @function fadeColor ($colorName) {
26
- $name: map-get($fade-colors,$colorName);
27
- @return getColor($name);
28
- }
@@ -6,7 +6,7 @@ body {
6
6
  @extend .main-wrap;
7
7
  @extend .body-wrap;
8
8
  @extend .reset-wrap;
9
- font-family: $family-sans-serif;
9
+ font-family: $family-primary;
10
10
  }
11
11
 
12
12
  header {
@@ -69,3 +69,8 @@ $body-line-height: 1.5 !default;
69
69
  .header {
70
70
  z-index: zindex('large');
71
71
  }
72
+
73
+ *::before,
74
+ *::after {
75
+ box-sizing: inherit;
76
+ }
@@ -12,7 +12,11 @@
12
12
 
13
13
  // Float
14
14
  .is-clearfix {
15
- @include clearfix;
15
+ &::after {
16
+ clear: both;
17
+ content: ' ';
18
+ display: table;
19
+ }
16
20
  }
17
21
 
18
22
  .is-pulled-left {
@@ -43,6 +47,7 @@ $alignments: (
43
47
  'justified': 'justify',
44
48
  'left': 'left',
45
49
  'right': 'right',
50
+ 'stretch': 'stretch'
46
51
  );
47
52
 
48
53
  @each $alignment, $text-align in $alignments {
@@ -613,15 +618,25 @@ $radius-list: ['radius-large', 'radius-medium', 'radius-small', 'radius'];
613
618
  }
614
619
  }
615
620
 
616
- $positions: (
621
+ $justify-values: (
617
622
  'center': 'center',
618
- 'start': 'flex-start',
619
623
  'end': 'flex-end',
624
+ 'space-between': 'space-between',
625
+ 'space-around': 'space-around',
626
+ 'space-evenly': 'space-evenly',
627
+ 'start': 'flex-start'
628
+ );
629
+
630
+ $align-values: (
631
+ 'center': 'center',
632
+ 'end': 'flex-end',
633
+ 'start': 'flex-start',
634
+ 'stretch': 'stretch'
620
635
  );
621
636
 
622
- @each $justification, $justify-content in $positions {
637
+ @each $justification, $justify-content in $justify-values {
623
638
 
624
- .is-justified-self {
639
+ .is-justified-self-#{$justification} {
625
640
  justify-self: #{$justify-content} !important;
626
641
  }
627
642
 
@@ -770,7 +785,7 @@ $positions: (
770
785
  }
771
786
  }
772
787
 
773
- @each $alignment, $align-items in $positions {
788
+ @each $alignment, $align-items in $align-values {
774
789
  .is-aligned-#{$alignment} {
775
790
  align-items: #{$align-items} !important;
776
791
  }
@@ -36,7 +36,7 @@ p.is-loading,
36
36
  visibility: hidden;
37
37
  }
38
38
  &::after {
39
- @include spinner;
39
+ @include spinner();
40
40
  @include center(1em);
41
41
  position: absolute !important;
42
42
  }
@@ -81,7 +81,7 @@ p.is-loading,
81
81
 
82
82
  // we need the headings to have margins AND be inline
83
83
  @include heading-tags {
84
- display: table; // FIXME: well... `@include clearfix;` didn't do the trick
84
+ display: table;
85
85
  }
86
86
 
87
87
  & & {
@@ -41,7 +41,12 @@
41
41
  margin-bottom: 10px;
42
42
  }
43
43
 
44
- a {
44
+ a {
45
+ color: unset;
46
+ text-decoration: none;
47
+ }
48
+
49
+ a.link {
45
50
  color: getColor('font');
46
51
  cursor: pointer;
47
52
  text-decoration: none;
@@ -32,6 +32,7 @@
32
32
  .accordion-body {
33
33
  padding: $spacing-4;
34
34
  padding-top: 0 !important;
35
+ box-sizing: border-box;
35
36
  }
36
37
 
37
38
  &:has(summary:hover):not(.is-disabled) {
@@ -44,8 +45,8 @@
44
45
  }
45
46
 
46
47
  .accordion-header:after {
47
- max-width: 15px;
48
- max-height: 15px;
48
+ max-width: $arrow-size;
49
+ max-height: $arrow-size;
49
50
  position: absolute;
50
51
  margin-top: 0;
51
52
  right: 20px;
@@ -92,7 +93,7 @@
92
93
  position: relative;
93
94
  height: auto;
94
95
  cursor: pointer;
95
- padding: $spacing-4;
96
+ padding: $spacing-4 calc($spacing-4 * 2 + $arrow-size) $spacing-4 $spacing-4;
96
97
 
97
98
  &.is-grouped {
98
99
  > *:first-child {
@@ -0,0 +1,38 @@
1
+ @import "../utilities/spacing";
2
+
3
+ .is-autocomplete-container {
4
+ position: relative;
5
+
6
+ .is-autocomplete {
7
+ .autocomplete-menu {
8
+ display: none;
9
+ }
10
+
11
+ &.is-active {
12
+ .autocomplete-menu {
13
+ display: block;
14
+ border: var(--border);
15
+ padding: calc($spacing-1 + 1px) calc($spacing-2 + 2px);
16
+ border-radius: 4px;
17
+ max-height: 220px;
18
+ overflow-y: auto;
19
+ background-color: getColor('background');
20
+ z-index: 10000;
21
+ }
22
+
23
+ .autocomplete-item {
24
+ cursor: pointer;
25
+ padding: calc($spacing-1 - 0.25px) calc($spacing-1 + 1px);
26
+
27
+ &.is-active, &[data-autocomplete-item-hover] {
28
+ @include hoverRules();
29
+ margin-left: calc(2px - $spacing-3);
30
+ margin-right: calc(2px - $spacing-3);
31
+ border-top: 1px solid getColor('neutral-fade');
32
+ border-bottom: 1px solid getColor('neutral-fade');
33
+ padding: calc($spacing-1 - 1.25px) calc($spacing-4 - 1px);
34
+ }
35
+ }
36
+ }
37
+ }
38
+ }
@@ -1,300 +1,330 @@
1
1
  body:not(.is-tight) {
2
- .accordions:not(:last-child) {
2
+ .accordion:not(.flex-box > .accordion):not(:last-child) {
3
3
  margin-bottom: 24px;
4
4
  }
5
- .card:not(:last-child) {
5
+ .buttons:not(.flex-box > .buttons):not(:last-child) {
6
6
  margin-bottom: 24px;
7
7
  }
8
- .box:not(:last-child) {
8
+ .card:not(.flex-box > .card):not(:last-child) {
9
9
  margin-bottom: 24px;
10
10
  }
11
- *:has(+.divider):not(:last-child) {
11
+ .columns:not(.flex-box > .columns):not(:last-child) {
12
12
  margin-bottom: 24px;
13
13
  }
14
- .divider:not(:last-child) {
14
+ .flex-box:not(.flex-box > .flex-box):not(:last-child) {
15
15
  margin-bottom: 24px;
16
16
  }
17
- .table:not(:last-child) {
17
+ .box:not(.flex-box > .box):not(:last-child) {
18
18
  margin-bottom: 24px;
19
19
  }
20
- .list:not(:last-child) {
20
+ .table:not(.flex-box > .table):not(:last-child) {
21
21
  margin-bottom: 24px;
22
22
  }
23
- .timeline:not(:last-child) {
23
+ .list:not(.flex-box > .list):not(:last-child) {
24
24
  margin-bottom: 24px;
25
25
  }
26
- .stepper:not(:last-child) {
26
+ .timeline:not(.flex-box > .timeline):not(:last-child) {
27
27
  margin-bottom: 24px;
28
28
  }
29
- .pagination:not(:last-child) {
29
+ .stepper:not(.flex-box > .stepper):not(:last-child) {
30
30
  margin-bottom: 24px;
31
31
  }
32
- .segmented-control:not(:last-child) {
32
+ .pagination:not(.flex-box > .pagination):not(:last-child) {
33
33
  margin-bottom: 24px;
34
34
  }
35
- .tabs:not(:last-child) {
35
+ .segmented-control:not(.flex-box > .segmented-control):not(:last-child) {
36
36
  margin-bottom: 24px;
37
37
  }
38
- .range:not(:last-child) {
38
+ .tabs:not(.flex-box > .tabs):not(:last-child) {
39
39
  margin-bottom: 24px;
40
40
  }
41
- .stepper:not(:last-child) {
41
+ .range:not(.flex-box > .range):not(:last-child) {
42
42
  margin-bottom: 24px;
43
43
  }
44
- .price-container:not(:last-child) {
44
+ .stepper:not(.flex-box > .stepper):not(:last-child) {
45
+ margin-bottom: 24px;
46
+ }
47
+ .price-container:not(.flex-box > .price-container):not(:last-child) {
45
48
  margin-bottom: 12px;
46
49
  }
47
- .button:not(:last-child) {
50
+ :not(.buttons) > .button:not(.flex-box > .button):not(:last-child) {
48
51
  margin-bottom: 24px;
49
52
  }
50
- .countdown:not(:last-child) {
53
+ .countdown:not(.flex-box > .countdown):not(:last-child) {
51
54
  margin-bottom: 16px;
52
55
  }
53
- .countdown.is-small:not(:last-child) {
56
+ .countdown.is-small:not(.flex-box > .countdown.is-small):not(:last-child) {
54
57
  margin-bottom: 12px;
55
58
  }
56
- .chips-list:not(:last-child) {
59
+ .chips-list:not(.flex-box > .chips-list):not(:last-child) {
57
60
  margin-bottom: 12px;
58
61
  }
59
- p.text:not(:last-child) {
62
+ p.text:not(.flex-box > p.text):not(:last-child) {
60
63
  margin-bottom: 12px;
61
64
  }
62
- .progress:not(:last-child) {
65
+ .progress:not(.flex-box > .progress):not(:last-child) {
63
66
  margin-bottom: 8px;
64
67
  }
65
- .progress-radial:not(:last-child) {
68
+ .progress-radial:not(.flex-box > .progress-radial):not(:last-child) {
66
69
  margin-bottom: 8px;
67
70
  }
68
- .radio:not(:last-child) {
71
+ .radios:not(.flex-box > .radios):not(:last-child) {
72
+ margin-bottom: 12px;
73
+ }
74
+ :not(.radios) >.radios:not(.flex-box > .radios):not(:last-child) {
69
75
  margin-bottom: 12px;
70
76
  }
71
- .checkbox:not(:last-child) {
77
+ .checkbox:not(.flex-box > .checkbox):not(:last-child) {
72
78
  margin-bottom: 12px;
73
79
  }
74
- .switch:not(:last-child) {
80
+ .switch:not(.flex-box > .switch):not(:last-child) {
75
81
  margin-bottom: 12px;
76
82
  }
77
- .radio-tile:not(:last-child) {
83
+ .radio-tiles:not(.flex-box > .radio-tiles):not(:last-child) {
84
+ margin-bottom: 16px;
85
+ }
86
+ :not(.radio-tiles) > .radio-tile:not(.flex-box > .radio-tile):not(:last-child) {
78
87
  margin-bottom: 24px;
79
88
  }
80
- .checkbox-tile:not(:last-child) {
89
+ .checkbox-tiles:not(.flex-box > .checkbox-tiles):not(:last-child) {
81
90
  margin-bottom: 24px;
82
91
  }
83
- .field:not(:last-child) {
92
+ :not(.checkbox-tiles) > .checkbox-tile:not(.flex-box > .checkbox-tile):not(:last-child) {
84
93
  margin-bottom: 24px;
85
94
  }
86
- .control:not(:last-child) {
95
+ .field:not(.flex-box > .field):not(:last-child) {
96
+ margin-bottom: 24px;
97
+ }
98
+ .control:not(.flex-box > .control):not(:last-child) {
87
99
  margin-bottom: 4px;
88
100
  }
89
- .help:not(:last-child) {
101
+ .help:not(.flex-box > .help):not(:last-child) {
90
102
  margin-bottom: 4px;
91
103
  }
92
- .textarea:not(:last-child) {
104
+ .textarea:not(.flex-box > .textarea):not(:last-child) {
93
105
  margin-bottom: 16px;
94
106
  }
95
- .select:not(:last-child) {
107
+ .select:not(.flex-box > .select):not(:last-child) {
96
108
  margin-bottom: 16px;
97
109
  }
98
- .link:not(:last-child) {
110
+ .link:not(.flex-box > .link):not(:last-child) {
99
111
  margin-bottom: 12px;
100
112
  }
101
- .sticker:not(:last-child) {
113
+ .sticker:not(.flex-box > .sticker):not(:last-child) {
102
114
  margin-bottom: 8px;
103
115
  }
104
- .tag:not(:last-child) {
116
+ .tags:not(.flex-box > .tags):not(:last-child) {
117
+ margin-bottom: 16px;
118
+ }
119
+ :not(.tags) > .tag:not(.flex-box > .tag):not(:last-child) {
105
120
  margin-bottom: 8px;
106
121
  }
107
- .title.is-level-1:not(:last-child) {
122
+ .title.is-level-1:not(.flex-box > .title.is-level-1):not(:last-child) {
108
123
  margin-bottom: 40px;
109
124
  }
110
- .title.is-level-2:not(:last-child) {
111
- margin-bottom: 32px;
125
+ .title.is-level-2:not(.flex-box > .title.is-level-2):not(:last-child) {
126
+ margin-bottom: 40px;
112
127
  }
113
- .title.is-level-3:not(:last-child) {
114
- margin-bottom: 16px;
128
+ .title.is-level-3:not(.flex-box > .title.is-level-3):not(:last-child) {
129
+ margin-bottom: 24px;
115
130
  }
116
- .title.is-level-4:not(:last-child) {
117
- margin-bottom: 12px;
131
+ .title.is-level-4:not(.flex-box > .title.is-level-4):not(:last-child) {
132
+ margin-bottom: 24px;
118
133
  }
119
- .title.is-level-5:not(:last-child) {
120
- margin-bottom: 12px;
134
+ .title.is-level-5:not(.flex-box > .title.is-level-5):not(:last-child) {
135
+ margin-bottom: 16px;
121
136
  }
122
- .title.is-level-6:not(:last-child) {
123
- margin-bottom: 12px;
137
+ .title.is-level-6:not(.flex-box > .title.is-level-6):not(:last-child) {
138
+ margin-bottom: 8px;
124
139
  }
125
- .overline:not(:last-child) {
140
+ .overline:not(.flex-box > .overline):not(:last-child) {
126
141
  margin-bottom: 0px;
127
142
  }
128
- .title:has(+.subtitle):not(:last-child) {
143
+ .title:has(+.subtitle):not(.flex-box > .title:has(+.subtitle)):not(:last-child) {
129
144
  margin-bottom: 8px;
130
145
  }
131
- .title.is-level-1 + .subtitle:not(:last-child) {
146
+ .title.is-level-1 + .subtitle:not(.flex-box > .title.is-level-1 + .subtitle):not(:last-child) {
132
147
  margin-bottom: 32px;
133
148
  }
134
- .title.is-level-2 + .subtitle:not(:last-child) {
149
+ .title.is-level-2 + .subtitle:not(.flex-box > .title.is-level-2 + .subtitle):not(:last-child) {
135
150
  margin-bottom: 24px;
136
151
  }
137
- .title.is-level-3 + .subtitle:not(:last-child) {
152
+ .title.is-level-3 + .subtitle:not(.flex-box > .title.is-level-3 + .subtitle):not(:last-child) {
138
153
  margin-bottom: 24px;
139
154
  }
140
- .title.is-level-4 + .subtitle:not(:last-child) {
155
+ .title.is-level-4 + .subtitle:not(.flex-box > .title.is-level-4 + .subtitle):not(:last-child) {
141
156
  margin-bottom: 12px;
142
157
  }
143
- .title.is-level-5 + .subtitle:not(:last-child) {
158
+ .title.is-level-5 + .subtitle:not(.flex-box > .title.is-level-5 + .subtitle):not(:last-child) {
144
159
  margin-bottom: 12px;
145
160
  }
146
- .title.is-level-6 + .subtitle:not(:last-child) {
161
+ .title.is-level-6 + .subtitle:not(.flex-box > .title.is-level-6 + .subtitle):not(:last-child) {
147
162
  margin-bottom: 12px;
148
163
  }
149
164
  }
150
165
 
151
166
  @include mobile() {
152
167
  body:not(.is-tight) {
153
- .accordions:not(:last-child) {
168
+ .accordion:not(.flex-box > .accordion):not(:last-child) {
169
+ margin-bottom: 16px;
170
+ }
171
+ .buttons:not(.flex-box > .buttons):not(:last-child) {
154
172
  margin-bottom: 16px;
155
173
  }
156
- .card:not(:last-child) {
174
+ .card:not(.flex-box > .card):not(:last-child) {
157
175
  margin-bottom: 16px;
158
176
  }
159
- .box:not(:last-child) {
177
+ .columns:not(.flex-box > .columns):not(:last-child) {
160
178
  margin-bottom: 16px;
161
179
  }
162
- *:has(+.divider):not(:last-child) {
180
+ .flex-box:not(.flex-box > .flex-box):not(:last-child) {
163
181
  margin-bottom: 16px;
164
182
  }
165
- .divider:not(:last-child) {
183
+ .box:not(.flex-box > .box):not(:last-child) {
166
184
  margin-bottom: 16px;
167
185
  }
168
- .table:not(:last-child) {
186
+ .table:not(.flex-box > .table):not(:last-child) {
169
187
  margin-bottom: 16px;
170
188
  }
171
- .list:not(:last-child) {
189
+ .list:not(.flex-box > .list):not(:last-child) {
172
190
  margin-bottom: 16px;
173
191
  }
174
- .timeline:not(:last-child) {
192
+ .timeline:not(.flex-box > .timeline):not(:last-child) {
175
193
  margin-bottom: 16px;
176
194
  }
177
- .stepper:not(:last-child) {
195
+ .stepper:not(.flex-box > .stepper):not(:last-child) {
178
196
  margin-bottom: 16px;
179
197
  }
180
- .pagination:not(:last-child) {
198
+ .pagination:not(.flex-box > .pagination):not(:last-child) {
181
199
  margin-bottom: 16px;
182
200
  }
183
- .segmented-control:not(:last-child) {
201
+ .segmented-control:not(.flex-box > .segmented-control):not(:last-child) {
184
202
  margin-bottom: 16px;
185
203
  }
186
- .tabs:not(:last-child) {
204
+ .tabs:not(.flex-box > .tabs):not(:last-child) {
187
205
  margin-bottom: 16px;
188
206
  }
189
- .range:not(:last-child) {
207
+ .range:not(.flex-box > .range):not(:last-child) {
190
208
  margin-bottom: 16px;
191
209
  }
192
- .stepper:not(:last-child) {
210
+ .stepper:not(.flex-box > .stepper):not(:last-child) {
193
211
  margin-bottom: 16px;
194
212
  }
195
- .price-container:not(:last-child) {
213
+ .price-container:not(.flex-box > .price-container):not(:last-child) {
196
214
  margin-bottom: 8px;
197
215
  }
198
- .button:not(:last-child) {
216
+ :not(.buttons) > .button:not(.flex-box > .button):not(:last-child) {
199
217
  margin-bottom: 16px;
200
218
  }
201
- .countdown:not(:last-child) {
219
+ .countdown:not(.flex-box > .countdown):not(:last-child) {
202
220
  margin-bottom: 12px;
203
221
  }
204
- .countdown.is-small:not(:last-child) {
222
+ .countdown.is-small:not(.flex-box > .countdown.is-small):not(:last-child) {
205
223
  margin-bottom: 12px;
206
224
  }
207
- .chips-list:not(:last-child) {
225
+ .chips-list:not(.flex-box > .chips-list):not(:last-child) {
208
226
  margin-bottom: 12px;
209
227
  }
210
- p.text:not(:last-child) {
211
- margin-bottom: 8px;
228
+ p.text:not(.flex-box > p.text):not(:last-child) {
229
+ margin-bottom: 12px;
212
230
  }
213
- .progress:not(:last-child) {
231
+ .progress:not(.flex-box > .progress):not(:last-child) {
214
232
  margin-bottom: 8px;
215
233
  }
216
- .progress-radial:not(:last-child) {
234
+ .progress-radial:not(.flex-box > .progress-radial):not(:last-child) {
217
235
  margin-bottom: 8px;
218
236
  }
219
- .radio:not(:last-child) {
237
+ .radios:not(.flex-box > .radios):not(:last-child) {
220
238
  margin-bottom: 12px;
221
239
  }
222
- .checkbox:not(:last-child) {
240
+ :not(.radios) >.radios:not(.flex-box > .radios):not(:last-child) {
223
241
  margin-bottom: 12px;
224
242
  }
225
- .switch:not(:last-child) {
243
+ .checkbox:not(.flex-box > .checkbox):not(:last-child) {
226
244
  margin-bottom: 12px;
227
245
  }
228
- .radio-tile:not(:last-child) {
246
+ .switch:not(.flex-box > .switch):not(:last-child) {
247
+ margin-bottom: 12px;
248
+ }
249
+ .radio-tiles:not(.flex-box > .radio-tiles):not(:last-child) {
250
+ margin-bottom: 12px;
251
+ }
252
+ :not(.radio-tiles) > .radio-tile:not(.flex-box > .radio-tile):not(:last-child) {
253
+ margin-bottom: 16px;
254
+ }
255
+ .checkbox-tiles:not(.flex-box > .checkbox-tiles):not(:last-child) {
229
256
  margin-bottom: 16px;
230
257
  }
231
- .checkbox-tile:not(:last-child) {
258
+ :not(.checkbox-tiles) > .checkbox-tile:not(.flex-box > .checkbox-tile):not(:last-child) {
232
259
  margin-bottom: 16px;
233
260
  }
234
- .field:not(:last-child) {
261
+ .field:not(.flex-box > .field):not(:last-child) {
235
262
  margin-bottom: 16px;
236
263
  }
237
- .control:not(:last-child) {
264
+ .control:not(.flex-box > .control):not(:last-child) {
238
265
  margin-bottom: 4px;
239
266
  }
240
- .help:not(:last-child) {
267
+ .help:not(.flex-box > .help):not(:last-child) {
241
268
  margin-bottom: 4px;
242
269
  }
243
- .textarea:not(:last-child) {
270
+ .textarea:not(.flex-box > .textarea):not(:last-child) {
244
271
  margin-bottom: 16px;
245
272
  }
246
- .select:not(:last-child) {
273
+ .select:not(.flex-box > .select):not(:last-child) {
247
274
  margin-bottom: 16px;
248
275
  }
249
- .link:not(:last-child) {
276
+ .link:not(.flex-box > .link):not(:last-child) {
250
277
  margin-bottom: 8px;
251
278
  }
252
- .sticker:not(:last-child) {
279
+ .sticker:not(.flex-box > .sticker):not(:last-child) {
253
280
  margin-bottom: 8px;
254
281
  }
255
- .tag:not(:last-child) {
282
+ .tags:not(.flex-box > .tags):not(:last-child) {
283
+ margin-bottom: 16px;
284
+ }
285
+ :not(.tags) > .tag:not(.flex-box > .tag):not(:last-child) {
256
286
  margin-bottom: 8px;
257
287
  }
258
- .title.is-level-1:not(:last-child) {
288
+ .title.is-level-1:not(.flex-box > .title.is-level-1):not(:last-child) {
259
289
  margin-bottom: 32px;
260
290
  }
261
- .title.is-level-2:not(:last-child) {
262
- margin-bottom: 24px;
291
+ .title.is-level-2:not(.flex-box > .title.is-level-2):not(:last-child) {
292
+ margin-bottom: 32px;
263
293
  }
264
- .title.is-level-3:not(:last-child) {
265
- margin-bottom: 12px;
294
+ .title.is-level-3:not(.flex-box > .title.is-level-3):not(:last-child) {
295
+ margin-bottom: 24px;
266
296
  }
267
- .title.is-level-4:not(:last-child) {
268
- margin-bottom: 8px;
297
+ .title.is-level-4:not(.flex-box > .title.is-level-4):not(:last-child) {
298
+ margin-bottom: 16px;
269
299
  }
270
- .title.is-level-5:not(:last-child) {
271
- margin-bottom: 8px;
300
+ .title.is-level-5:not(.flex-box > .title.is-level-5):not(:last-child) {
301
+ margin-bottom: 12px;
272
302
  }
273
- .title.is-level-6:not(:last-child) {
274
- margin-bottom: 8px;
303
+ .title.is-level-6:not(.flex-box > .title.is-level-6):not(:last-child) {
304
+ margin-bottom: 12px;
275
305
  }
276
- .overline:not(:last-child) {
306
+ .overline:not(.flex-box > .overline):not(:last-child) {
277
307
  margin-bottom: 0px;
278
308
  }
279
- .title:has(+.subtitle):not(:last-child) {
309
+ .title:has(+.subtitle):not(.flex-box > .title:has(+.subtitle)):not(:last-child) {
280
310
  margin-bottom: 8px;
281
311
  }
282
- .title.is-level-1 + .subtitle:not(:last-child) {
312
+ .title.is-level-1 + .subtitle:not(.flex-box > .title.is-level-1 + .subtitle):not(:last-child) {
283
313
  margin-bottom: 40px;
284
314
  }
285
- .title.is-level-2 + .subtitle:not(:last-child) {
315
+ .title.is-level-2 + .subtitle:not(.flex-box > .title.is-level-2 + .subtitle):not(:last-child) {
286
316
  margin-bottom: 32px;
287
317
  }
288
- .title.is-level-3 + .subtitle:not(:last-child) {
318
+ .title.is-level-3 + .subtitle:not(.flex-box > .title.is-level-3 + .subtitle):not(:last-child) {
289
319
  margin-bottom: 32px;
290
320
  }
291
- .title.is-level-4 + .subtitle:not(:last-child) {
321
+ .title.is-level-4 + .subtitle:not(.flex-box > .title.is-level-4 + .subtitle):not(:last-child) {
292
322
  margin-bottom: 8px;
293
323
  }
294
- .title.is-level-5 + .subtitle:not(:last-child) {
324
+ .title.is-level-5 + .subtitle:not(.flex-box > .title.is-level-5 + .subtitle):not(:last-child) {
295
325
  margin-bottom: 8px;
296
326
  }
297
- .title.is-level-6 + .subtitle:not(:last-child) {
327
+ .title.is-level-6 + .subtitle:not(.flex-box > .title.is-level-6 + .subtitle):not(:last-child) {
298
328
  margin-bottom: 8px;
299
329
  }
300
330
 
@@ -61,7 +61,7 @@
61
61
 
62
62
  &.is-inverted {
63
63
  color: getColor('main') !important;
64
- background: getColor('background');
64
+ background: getColor('background') !important;
65
65
  }
66
66
  }
67
67