@trilogy-ds/styles 0.0.7-beta-v4 → 0.0.7-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 (98) 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 +135 -117
  15. package/framework/src/{elements → components}/_box.scss +9 -11
  16. package/framework/src/components/_breadcrumb.scss +17 -31
  17. package/framework/src/{elements → components}/_button.scss +12 -4
  18. package/framework/src/components/_card.scss +26 -9
  19. package/framework/src/{elements → components}/_checkbox.scss +30 -1
  20. package/framework/src/components/_countdown.scss +1 -1
  21. package/framework/src/components/_divider.scss +16 -0
  22. package/framework/src/components/_flex-box.scss +240 -0
  23. package/framework/src/{elements/_all.scss → components/_index.scss} +27 -12
  24. package/framework/src/{elements → components}/_link.scss +9 -3
  25. package/framework/src/components/_list.scss +66 -0
  26. package/framework/src/components/_modal.scss +32 -11
  27. package/framework/src/components/_otp.scss +2 -2
  28. package/framework/src/components/_pagination.scss +5 -2
  29. package/framework/src/components/_price.scss +28 -2
  30. package/framework/src/{elements → components}/_radio.scss +4 -3
  31. package/framework/src/components/_segmented-control.scss +9 -5
  32. package/framework/src/components/_select.scss +131 -0
  33. package/framework/src/components/_stepper.scss +1 -1
  34. package/framework/src/{elements → components}/_sticker.scss +13 -1
  35. package/framework/src/{elements → components}/_switch.scss +7 -7
  36. package/framework/src/{elements → components}/_table.scss +9 -10
  37. package/framework/src/components/_tabs.scss +66 -28
  38. package/framework/src/{elements → components}/_tag.scss +1 -17
  39. package/framework/src/{elements/_paragraph.scss → components/_text.scss} +1 -13
  40. package/framework/src/components/_textarea.scss +46 -0
  41. package/framework/src/components/_timeline.scss +1 -1
  42. package/framework/src/{elements → components}/_title.scss +10 -0
  43. package/framework/src/components/alert/_index.scss +2 -0
  44. package/framework/src/{elements → components/alert}/_toaster.scss +0 -3
  45. package/framework/src/{elements → components/input}/_entry.scss +48 -10
  46. package/framework/src/{elements → components/input}/_form.scss +10 -11
  47. package/framework/src/components/input/_index.scss +4 -0
  48. package/framework/src/{elements → components/input}/_input-icons.scss +14 -2
  49. package/framework/src/components/progress/_index.scss +2 -0
  50. package/framework/src/components/{_progress-radial.scss → progress/_progress-radial.scss} +1 -1
  51. package/framework/src/{elements → components/progress}/_progress.scss +3 -3
  52. package/framework/src/elements/_index.scss +5 -0
  53. package/framework/src/elements/_other.scss +0 -4
  54. package/framework/src/grid/_columns.scss +5 -9
  55. package/framework/src/layout/_hero.scss +4 -0
  56. package/framework/src/layout/_section.scss +5 -0
  57. package/framework/src/theming/common_partials.scss +1 -1
  58. package/framework/src/trilogy-mangled.scss +3 -3
  59. package/framework/src/trilogy.scss +2 -2
  60. package/framework/src/utilities/_background.scss +3 -1
  61. package/framework/src/utilities/_derived-variables.scss +0 -92
  62. package/framework/src/utilities/_initial-variables.scss +3 -111
  63. package/framework/src/utilities/_pre.scss +3 -1
  64. package/framework/src/utilities/mixins/_arrow.scss +21 -0
  65. package/framework/src/utilities/mixins/_delete.scss +86 -0
  66. package/framework/src/utilities/mixins/_index.scss +11 -0
  67. package/framework/src/utilities/mixins/_markup-group.scss +27 -0
  68. package/framework/src/utilities/mixins/_mixins.scss +293 -0
  69. package/framework/src/utilities/mixins/_overlay.scss +7 -0
  70. package/framework/src/utilities/mixins/_pattern.scss +10 -0
  71. package/framework/src/utilities/mixins/_responsiveness.scss +84 -0
  72. package/framework/src/utilities/mixins/_spinner.scss +12 -0
  73. package/framework/src/utilities/mixins/_state.scss +25 -0
  74. package/framework/src/utilities/mixins/_unselectable.scss +10 -0
  75. package/framework/src/utilities/mixins/_utils.scss +24 -0
  76. package/framework/src/utilities/variables/_animation.scss +2 -0
  77. package/framework/src/utilities/{_colors.scss → variables/_color.scss} +43 -0
  78. package/framework/src/utilities/variables/_font.scss +97 -0
  79. package/framework/src/utilities/variables/_index.scss +6 -0
  80. package/framework/src/utilities/variables/_responsiveness.scss +7 -0
  81. package/framework/src/utilities/variables/_shadow.scss +3 -0
  82. package/framework/src/utilities/variables/_zindex.scss +14 -0
  83. package/package.json +1 -1
  84. package/framework/src/components/_all.scss +0 -24
  85. package/framework/src/elements/_autocomplete.scss +0 -32
  86. package/framework/src/elements/_list.scss +0 -62
  87. package/framework/src/elements/_select.scss +0 -96
  88. package/framework/src/elements/_textarea.scss +0 -133
  89. package/framework/src/utilities/_mixins.scss +0 -643
  90. /package/framework/src/{elements → components}/_badge.scss +0 -0
  91. /package/framework/src/{elements → components}/_chips.scss +0 -0
  92. /package/framework/src/{elements → components}/_container.scss +0 -0
  93. /package/framework/src/{elements → components}/_icon.scss +0 -0
  94. /package/framework/src/{elements → components}/_image.scss +0 -0
  95. /package/framework/src/{elements → components}/_loader.scss +0 -0
  96. /package/framework/src/{elements → components/alert}/_alert.scss +0 -0
  97. /package/framework/src/{elements → components/input}/_input-gauge.scss +0 -0
  98. /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,312 +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
- .buttons:not(:last-child) {
5
+ .buttons:not(.flex-box > .buttons):not(:last-child) {
6
6
  margin-bottom: 24px;
7
7
  }
8
- .card:not(:last-child) {
8
+ .card:not(.flex-box > .card):not(:last-child) {
9
9
  margin-bottom: 24px;
10
10
  }
11
- .columns:not(:last-child) {
11
+ .columns:not(.flex-box > .columns):not(:last-child) {
12
12
  margin-bottom: 24px;
13
13
  }
14
- .box:not(:last-child) {
14
+ .flex-box:not(.flex-box > .flex-box):not(:last-child) {
15
15
  margin-bottom: 24px;
16
16
  }
17
- *:has(+ .divider):not(:last-child) {
17
+ .box:not(.flex-box > .box):not(:last-child) {
18
18
  margin-bottom: 24px;
19
19
  }
20
- .divider:not(:last-child) {
20
+ .table:not(.flex-box > .table):not(:last-child) {
21
21
  margin-bottom: 24px;
22
22
  }
23
- .table:not(:last-child) {
23
+ .list:not(.flex-box > .list):not(:last-child) {
24
24
  margin-bottom: 24px;
25
25
  }
26
- .list:not(:last-child) {
26
+ .timeline:not(.flex-box > .timeline):not(:last-child) {
27
27
  margin-bottom: 24px;
28
28
  }
29
- .timeline:not(:last-child) {
29
+ .stepper:not(.flex-box > .stepper):not(:last-child) {
30
30
  margin-bottom: 24px;
31
31
  }
32
- .stepper:not(:last-child) {
32
+ .pagination:not(.flex-box > .pagination):not(:last-child) {
33
33
  margin-bottom: 24px;
34
34
  }
35
- .pagination:not(:last-child) {
35
+ .segmented-control:not(.flex-box > .segmented-control):not(:last-child) {
36
36
  margin-bottom: 24px;
37
37
  }
38
- .segmented-control:not(:last-child) {
38
+ .tabs:not(.flex-box > .tabs):not(:last-child) {
39
39
  margin-bottom: 24px;
40
40
  }
41
- .tabs:not(:last-child) {
41
+ .range:not(.flex-box > .range):not(:last-child) {
42
42
  margin-bottom: 24px;
43
43
  }
44
- .range:not(:last-child) {
44
+ .stepper:not(.flex-box > .stepper):not(:last-child) {
45
45
  margin-bottom: 24px;
46
46
  }
47
- .stepper:not(:last-child) {
48
- margin-bottom: 24px;
49
- }
50
- .price-container:not(:last-child) {
47
+ .price-container:not(.flex-box > .price-container):not(:last-child) {
51
48
  margin-bottom: 12px;
52
49
  }
53
- :not(.buttons) > .button:not(:last-child) {
50
+ :not(.buttons) > .button:not(.flex-box > .button):not(:last-child) {
54
51
  margin-bottom: 24px;
55
52
  }
56
- .countdown:not(:last-child) {
53
+ .countdown:not(.flex-box > .countdown):not(:last-child) {
57
54
  margin-bottom: 16px;
58
55
  }
59
- .countdown.is-small:not(:last-child) {
56
+ .countdown.is-small:not(.flex-box > .countdown.is-small):not(:last-child) {
60
57
  margin-bottom: 12px;
61
58
  }
62
- .chips-list:not(:last-child) {
59
+ .chips-list:not(.flex-box > .chips-list):not(:last-child) {
63
60
  margin-bottom: 12px;
64
61
  }
65
- p.text:not(:last-child) {
62
+ p.text:not(.flex-box > p.text):not(:last-child) {
66
63
  margin-bottom: 12px;
67
64
  }
68
- .progress:not(:last-child) {
65
+ .progress:not(.flex-box > .progress):not(:last-child) {
69
66
  margin-bottom: 8px;
70
67
  }
71
- .progress-radial:not(:last-child) {
68
+ .progress-radial:not(.flex-box > .progress-radial):not(:last-child) {
72
69
  margin-bottom: 8px;
73
70
  }
74
- .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) {
75
75
  margin-bottom: 12px;
76
76
  }
77
- .checkbox:not(:last-child) {
77
+ .checkbox:not(.flex-box > .checkbox):not(:last-child) {
78
78
  margin-bottom: 12px;
79
79
  }
80
- .switch:not(:last-child) {
80
+ .switch:not(.flex-box > .switch):not(:last-child) {
81
81
  margin-bottom: 12px;
82
82
  }
83
- .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) {
84
87
  margin-bottom: 24px;
85
88
  }
86
- .checkbox-tile:not(:last-child) {
89
+ .checkbox-tiles:not(.flex-box > .checkbox-tiles):not(:last-child) {
87
90
  margin-bottom: 24px;
88
91
  }
89
- .field:not(:last-child) {
92
+ :not(.checkbox-tiles) > .checkbox-tile:not(.flex-box > .checkbox-tile):not(:last-child) {
90
93
  margin-bottom: 24px;
91
94
  }
92
- .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) {
93
99
  margin-bottom: 4px;
94
100
  }
95
- .help:not(:last-child) {
101
+ .help:not(.flex-box > .help):not(:last-child) {
96
102
  margin-bottom: 4px;
97
103
  }
98
- .textarea:not(:last-child) {
104
+ .textarea:not(.flex-box > .textarea):not(:last-child) {
99
105
  margin-bottom: 16px;
100
106
  }
101
- .select:not(:last-child) {
107
+ .select:not(.flex-box > .select):not(:last-child) {
102
108
  margin-bottom: 16px;
103
109
  }
104
- .link:not(:last-child) {
110
+ .link:not(.flex-box > .link):not(:last-child) {
105
111
  margin-bottom: 12px;
106
112
  }
107
- .sticker:not(:last-child) {
113
+ .sticker:not(.flex-box > .sticker):not(:last-child) {
108
114
  margin-bottom: 8px;
109
115
  }
110
- .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) {
111
120
  margin-bottom: 8px;
112
121
  }
113
- .title.is-level-1:not(:last-child) {
122
+ .title.is-level-1:not(.flex-box > .title.is-level-1):not(:last-child) {
114
123
  margin-bottom: 40px;
115
124
  }
116
- .title.is-level-2:not(:last-child) {
117
- margin-bottom: 32px;
125
+ .title.is-level-2:not(.flex-box > .title.is-level-2):not(:last-child) {
126
+ margin-bottom: 40px;
118
127
  }
119
- .title.is-level-3:not(:last-child) {
120
- margin-bottom: 16px;
128
+ .title.is-level-3:not(.flex-box > .title.is-level-3):not(:last-child) {
129
+ margin-bottom: 24px;
121
130
  }
122
- .title.is-level-4:not(:last-child) {
123
- margin-bottom: 12px;
131
+ .title.is-level-4:not(.flex-box > .title.is-level-4):not(:last-child) {
132
+ margin-bottom: 24px;
124
133
  }
125
- .title.is-level-5:not(:last-child) {
126
- margin-bottom: 12px;
134
+ .title.is-level-5:not(.flex-box > .title.is-level-5):not(:last-child) {
135
+ margin-bottom: 16px;
127
136
  }
128
- .title.is-level-6:not(:last-child) {
129
- margin-bottom: 12px;
137
+ .title.is-level-6:not(.flex-box > .title.is-level-6):not(:last-child) {
138
+ margin-bottom: 8px;
130
139
  }
131
- .overline:not(:last-child) {
140
+ .overline:not(.flex-box > .overline):not(:last-child) {
132
141
  margin-bottom: 0px;
133
142
  }
134
- .title:has(+.subtitle):not(:last-child) {
143
+ .title:has(+.subtitle):not(.flex-box > .title:has(+.subtitle)):not(:last-child) {
135
144
  margin-bottom: 8px;
136
145
  }
137
- .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) {
138
147
  margin-bottom: 32px;
139
148
  }
140
- .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) {
141
150
  margin-bottom: 24px;
142
151
  }
143
- .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) {
144
153
  margin-bottom: 24px;
145
154
  }
146
- .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) {
147
156
  margin-bottom: 12px;
148
157
  }
149
- .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) {
150
159
  margin-bottom: 12px;
151
160
  }
152
- .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) {
153
162
  margin-bottom: 12px;
154
163
  }
155
164
  }
156
165
 
157
166
  @include mobile() {
158
167
  body:not(.is-tight) {
159
- .accordions:not(:last-child) {
160
- margin-bottom: 16px;
161
- }
162
- .buttons:not(:last-child) {
168
+ .accordion:not(.flex-box > .accordion):not(:last-child) {
163
169
  margin-bottom: 16px;
164
170
  }
165
- .card:not(:last-child) {
171
+ .buttons:not(.flex-box > .buttons):not(:last-child) {
166
172
  margin-bottom: 16px;
167
173
  }
168
- .columns:not(:last-child) {
174
+ .card:not(.flex-box > .card):not(:last-child) {
169
175
  margin-bottom: 16px;
170
176
  }
171
- .box:not(:last-child) {
177
+ .columns:not(.flex-box > .columns):not(:last-child) {
172
178
  margin-bottom: 16px;
173
179
  }
174
- *:has(+ .divider):not(:last-child) {
180
+ .flex-box:not(.flex-box > .flex-box):not(:last-child) {
175
181
  margin-bottom: 16px;
176
182
  }
177
- .divider:not(:last-child) {
183
+ .box:not(.flex-box > .box):not(:last-child) {
178
184
  margin-bottom: 16px;
179
185
  }
180
- .table:not(:last-child) {
186
+ .table:not(.flex-box > .table):not(:last-child) {
181
187
  margin-bottom: 16px;
182
188
  }
183
- .list:not(:last-child) {
189
+ .list:not(.flex-box > .list):not(:last-child) {
184
190
  margin-bottom: 16px;
185
191
  }
186
- .timeline:not(:last-child) {
192
+ .timeline:not(.flex-box > .timeline):not(:last-child) {
187
193
  margin-bottom: 16px;
188
194
  }
189
- .stepper:not(:last-child) {
195
+ .stepper:not(.flex-box > .stepper):not(:last-child) {
190
196
  margin-bottom: 16px;
191
197
  }
192
- .pagination:not(:last-child) {
198
+ .pagination:not(.flex-box > .pagination):not(:last-child) {
193
199
  margin-bottom: 16px;
194
200
  }
195
- .segmented-control:not(:last-child) {
201
+ .segmented-control:not(.flex-box > .segmented-control):not(:last-child) {
196
202
  margin-bottom: 16px;
197
203
  }
198
- .tabs:not(:last-child) {
204
+ .tabs:not(.flex-box > .tabs):not(:last-child) {
199
205
  margin-bottom: 16px;
200
206
  }
201
- .range:not(:last-child) {
207
+ .range:not(.flex-box > .range):not(:last-child) {
202
208
  margin-bottom: 16px;
203
209
  }
204
- .stepper:not(:last-child) {
210
+ .stepper:not(.flex-box > .stepper):not(:last-child) {
205
211
  margin-bottom: 16px;
206
212
  }
207
- .price-container:not(:last-child) {
213
+ .price-container:not(.flex-box > .price-container):not(:last-child) {
208
214
  margin-bottom: 8px;
209
215
  }
210
- :not(.buttons) > .button:not(:last-child) {
216
+ :not(.buttons) > .button:not(.flex-box > .button):not(:last-child) {
211
217
  margin-bottom: 16px;
212
218
  }
213
- .countdown:not(:last-child) {
219
+ .countdown:not(.flex-box > .countdown):not(:last-child) {
214
220
  margin-bottom: 12px;
215
221
  }
216
- .countdown.is-small:not(:last-child) {
222
+ .countdown.is-small:not(.flex-box > .countdown.is-small):not(:last-child) {
217
223
  margin-bottom: 12px;
218
224
  }
219
- .chips-list:not(:last-child) {
225
+ .chips-list:not(.flex-box > .chips-list):not(:last-child) {
220
226
  margin-bottom: 12px;
221
227
  }
222
- p.text:not(:last-child) {
223
- margin-bottom: 8px;
228
+ p.text:not(.flex-box > p.text):not(:last-child) {
229
+ margin-bottom: 12px;
224
230
  }
225
- .progress:not(:last-child) {
231
+ .progress:not(.flex-box > .progress):not(:last-child) {
226
232
  margin-bottom: 8px;
227
233
  }
228
- .progress-radial:not(:last-child) {
234
+ .progress-radial:not(.flex-box > .progress-radial):not(:last-child) {
229
235
  margin-bottom: 8px;
230
236
  }
231
- .radio:not(:last-child) {
237
+ .radios:not(.flex-box > .radios):not(:last-child) {
232
238
  margin-bottom: 12px;
233
239
  }
234
- .checkbox:not(:last-child) {
240
+ :not(.radios) >.radios:not(.flex-box > .radios):not(:last-child) {
235
241
  margin-bottom: 12px;
236
242
  }
237
- .switch:not(:last-child) {
243
+ .checkbox:not(.flex-box > .checkbox):not(:last-child) {
238
244
  margin-bottom: 12px;
239
245
  }
240
- .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) {
241
256
  margin-bottom: 16px;
242
257
  }
243
- .checkbox-tile:not(:last-child) {
258
+ :not(.checkbox-tiles) > .checkbox-tile:not(.flex-box > .checkbox-tile):not(:last-child) {
244
259
  margin-bottom: 16px;
245
260
  }
246
- .field:not(:last-child) {
261
+ .field:not(.flex-box > .field):not(:last-child) {
247
262
  margin-bottom: 16px;
248
263
  }
249
- .control:not(:last-child) {
264
+ .control:not(.flex-box > .control):not(:last-child) {
250
265
  margin-bottom: 4px;
251
266
  }
252
- .help:not(:last-child) {
267
+ .help:not(.flex-box > .help):not(:last-child) {
253
268
  margin-bottom: 4px;
254
269
  }
255
- .textarea:not(:last-child) {
270
+ .textarea:not(.flex-box > .textarea):not(:last-child) {
256
271
  margin-bottom: 16px;
257
272
  }
258
- .select:not(:last-child) {
273
+ .select:not(.flex-box > .select):not(:last-child) {
259
274
  margin-bottom: 16px;
260
275
  }
261
- .link:not(:last-child) {
276
+ .link:not(.flex-box > .link):not(:last-child) {
262
277
  margin-bottom: 8px;
263
278
  }
264
- .sticker:not(:last-child) {
279
+ .sticker:not(.flex-box > .sticker):not(:last-child) {
265
280
  margin-bottom: 8px;
266
281
  }
267
- .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) {
268
286
  margin-bottom: 8px;
269
287
  }
270
- .title.is-level-1:not(:last-child) {
288
+ .title.is-level-1:not(.flex-box > .title.is-level-1):not(:last-child) {
271
289
  margin-bottom: 32px;
272
290
  }
273
- .title.is-level-2:not(:last-child) {
274
- margin-bottom: 24px;
291
+ .title.is-level-2:not(.flex-box > .title.is-level-2):not(:last-child) {
292
+ margin-bottom: 32px;
275
293
  }
276
- .title.is-level-3:not(:last-child) {
277
- margin-bottom: 12px;
294
+ .title.is-level-3:not(.flex-box > .title.is-level-3):not(:last-child) {
295
+ margin-bottom: 24px;
278
296
  }
279
- .title.is-level-4:not(:last-child) {
280
- margin-bottom: 8px;
297
+ .title.is-level-4:not(.flex-box > .title.is-level-4):not(:last-child) {
298
+ margin-bottom: 16px;
281
299
  }
282
- .title.is-level-5:not(:last-child) {
283
- margin-bottom: 8px;
300
+ .title.is-level-5:not(.flex-box > .title.is-level-5):not(:last-child) {
301
+ margin-bottom: 12px;
284
302
  }
285
- .title.is-level-6:not(:last-child) {
286
- margin-bottom: 8px;
303
+ .title.is-level-6:not(.flex-box > .title.is-level-6):not(:last-child) {
304
+ margin-bottom: 12px;
287
305
  }
288
- .overline:not(:last-child) {
306
+ .overline:not(.flex-box > .overline):not(:last-child) {
289
307
  margin-bottom: 0px;
290
308
  }
291
- .title:has(+.subtitle):not(:last-child) {
309
+ .title:has(+.subtitle):not(.flex-box > .title:has(+.subtitle)):not(:last-child) {
292
310
  margin-bottom: 8px;
293
311
  }
294
- .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) {
295
313
  margin-bottom: 40px;
296
314
  }
297
- .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) {
298
316
  margin-bottom: 32px;
299
317
  }
300
- .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) {
301
319
  margin-bottom: 32px;
302
320
  }
303
- .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) {
304
322
  margin-bottom: 8px;
305
323
  }
306
- .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) {
307
325
  margin-bottom: 8px;
308
326
  }
309
- .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) {
310
328
  margin-bottom: 8px;
311
329
  }
312
330