@trilogy-ds/styles 0.0.1-beta-110 → 0.0.1-beta-112

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 (55) 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/base/_color.scss +17 -9
  5. package/framework/src/base/_generic.scss +1 -1
  6. package/framework/src/base/_helpers.scss +5 -2
  7. package/framework/src/components/_accordion.scss +6 -13
  8. package/framework/src/components/_all.scss +1 -1
  9. package/framework/src/components/_autolayout2.scss +38 -0
  10. package/framework/src/components/_card.scss +1 -1
  11. package/framework/src/components/_divider.scss +15 -11
  12. package/framework/src/components/_fab.scss +19 -20
  13. package/framework/src/components/_level.scss +120 -0
  14. package/framework/src/components/_media.scss +64 -0
  15. package/framework/src/components/_modal.scss +3 -7
  16. package/framework/src/components/_pagination.scss +121 -48
  17. package/framework/src/components/_plus-symbol.scss +1 -1
  18. package/framework/src/components/_price.scss +27 -32
  19. package/framework/src/components/_segmented-control.scss +2 -2
  20. package/framework/src/components/_stepper.scss +2 -2
  21. package/framework/src/components/_timeline.scss +118 -26
  22. package/framework/src/elements/_alert.scss +3 -1
  23. package/framework/src/elements/_all.scss +1 -0
  24. package/framework/src/elements/_autocomplete.scss +3 -3
  25. package/framework/src/elements/_badge.scss +7 -10
  26. package/framework/src/elements/_box.scss +2 -2
  27. package/framework/src/elements/_button.scss +2 -2
  28. package/framework/src/elements/_chips.scss +3 -3
  29. package/framework/src/elements/_dot.scss +6 -0
  30. package/framework/src/elements/_entry.scss +1 -1
  31. package/framework/src/elements/_form.scss +14 -14
  32. package/framework/src/elements/_icon.scss +1 -1
  33. package/framework/src/elements/_loader.scss +1 -1
  34. package/framework/src/elements/_other.scss +37 -0
  35. package/framework/src/elements/_progress.scss +5 -5
  36. package/framework/src/elements/_sticker.scss +1 -1
  37. package/framework/src/elements/_switch.scss +4 -4
  38. package/framework/src/elements/_table.scss +11 -11
  39. package/framework/src/elements/_tag.scss +3 -3
  40. package/framework/src/elements/_textarea.scss +1 -18
  41. package/framework/src/elements/_toaster.scss +2 -2
  42. package/framework/src/grid/_columns.scss +751 -284
  43. package/framework/src/grid/_rows.scss +42 -44
  44. package/framework/src/layout/_section.scss +18 -1
  45. package/framework/src/theming/buttons_partial.scss +2 -2
  46. package/framework/src/theming/common_partials.scss +1 -1
  47. package/framework/src/utilities/_all.scss +0 -1
  48. package/framework/src/utilities/_background.scss +3 -7
  49. package/framework/src/utilities/_colors.scss +10 -28
  50. package/framework/src/utilities/_derived-variables.scss +3 -3
  51. package/framework/src/utilities/_initial-variables.scss +29 -1
  52. package/framework/src/utilities/_mixins.scss +10 -9
  53. package/package.json +3 -3
  54. package/framework/src/components/_autolayout.scss +0 -290
  55. package/framework/src/utilities/_a11y.scss +0 -13
@@ -1,49 +1,47 @@
1
+ .rows {
2
+ display: flex;
3
+ flex-direction: column;
4
+ margin: -$row-gap-tablet-desktop;
5
+ flex: 1 1 auto;
6
+ justify-self: stretch;
7
+ height: calc(100% + #{$row-gap-tablet-desktop * 2});
8
+
9
+ @include mobile {
10
+ margin: -$row-gap-mobile;
11
+ height: calc(100% + #{$row-gap-mobile * 2});
12
+ }
1
13
 
2
- $gap :
3
- 4px,
4
- 8px,
5
- 12px,
6
- 16px,
7
- 24px,
8
- 32px,
9
- 40px,
10
- 48px,
11
- 54px,
12
- 62px
13
- ;
14
+ &.is-aligned-end {
15
+ justify-content: flex-end;
16
+ }
14
17
 
18
+ &.is-gapless {
19
+ .row:not(:first-child) {
20
+ padding-top: 0;
21
+ }
15
22
 
16
- .rows {
17
- display: flex;
18
- flex-direction: column;
19
- flex: 1 1 auto;
20
- justify-self: stretch;
21
- height: 100%;
22
- gap: 24px;
23
-
24
- @include mobile{
25
- gap: 16px;
26
- }
27
-
28
- &.is-aligned-end {
29
- justify-content: flex-end;
30
- }
31
-
32
- &.is-gapless {
33
- gap: 0;
34
- }
35
-
36
- .is-divider {
37
- margin-top: 0;
38
- margin-bottom: 0;
39
- }
40
-
41
- .row {
42
- display: block;
43
- flex-grow: 1;
44
- flex-shrink: 1;
45
- &.is-narrow {
46
- flex-grow: 0;
23
+ .row:not(:last-child) {
24
+ padding-bottom: 0;
25
+ }
26
+ }
27
+
28
+ .is-divider {
29
+ margin-top: 0;
30
+ margin-bottom: 0;
31
+ }
32
+
33
+ .row {
34
+ display: block;
35
+ flex-grow: 1;
36
+ flex-shrink: 1;
37
+ padding: $row-gap-tablet-desktop;
38
+
39
+ @include mobile {
40
+ padding: $row-gap-mobile;
41
+ }
42
+
43
+ &.is-narrow {
44
+ flex-grow: 0;
45
+ }
47
46
  }
48
- }
49
47
  }
@@ -1,5 +1,5 @@
1
1
  .section {
2
- padding: $spacing-6 $spacing-4;
2
+ padding: $spacing-6 $spacing-5;
3
3
 
4
4
  @include desktop {
5
5
  padding: $spacing-8 $spacing-5;
@@ -13,6 +13,14 @@
13
13
  }
14
14
  }
15
15
 
16
+ &:nth-child(even) {
17
+ background-color: getBGColor('neutral');
18
+ }
19
+
20
+ &:nth-child(odd) {
21
+ background-color: getColor('background');
22
+ }
23
+
16
24
  &.is-info {
17
25
  background-color: getColor('info');
18
26
  color: getColor('background');
@@ -38,4 +46,13 @@
38
46
  &.has-pattern-dark {
39
47
  @include pattern-dark(120%, 260px, -30%);
40
48
  }
49
+
50
+ }
51
+
52
+ .section:nth-child(2n).is-inverted {
53
+ background-color: getColor('background');
54
+ }
55
+
56
+ .section:nth-child(2n-1).is-inverted {
57
+ background-color: getBGColor('neutral');
41
58
  }
@@ -7,9 +7,9 @@ Colors for buttons
7
7
  @color-text The name of the color in the color map for the text
8
8
  */
9
9
  $button-colors: (
10
- 'accent':['conversion', 'accent', 'background'],
10
+ 'accent':['conversion', 'alternate', 'background'],
11
11
  'primary': ['primary', 'main', 'background'],
12
- 'secondary': ['secondary', 'main-fade', 'main'],
12
+ 'secondary': ['secondary', 'bg-main', 'main'],
13
13
  'ghost': ['ghost', 'background', 'main'],
14
14
  ) !default;
15
15
 
@@ -4,6 +4,6 @@
4
4
  --radius: 8px;
5
5
  --radius-small: 4px;
6
6
  --radius-large: 16px;
7
- --border: 1px solid #{getColor('neutral')};
7
+ --border: 1px solid #{getBGColor('font')};
8
8
  --border-active: 2px solid #{getColor('main')};
9
9
  }
@@ -10,4 +10,3 @@
10
10
  @import "background";
11
11
  @import "animations";
12
12
  @import "spacing";
13
- @import "a11y";
@@ -2,17 +2,13 @@
2
2
  color: getColor('background');
3
3
  }
4
4
 
5
- .is-inverted {
6
- .box, .section, .container, .view, .hero {
7
- &:not(.is-inverted) {
8
- color: getColor('font');
9
- }
10
- }
5
+ .is-inverted .is-base {
6
+ color: getColor('font');
11
7
  }
12
8
 
13
9
  .has-background {
14
10
  background-repeat: no-repeat;
15
-
11
+
16
12
  .box-content {
17
13
  background-color: transparent;
18
14
  }
@@ -10,32 +10,14 @@ $suffix: '';
10
10
  @background A valid css color value (a variant color for background) -- optional
11
11
  */
12
12
  $colors: (
13
- 'background': [#fff, 'white', 'main'],
14
- 'main':[ #3d5d7e, 'main', 'white'],
15
- 'main-fade':[ #eff2f8, 'main-fade', 'white'],
16
- 'accent':[ #da641b,'accent', 'white'],
17
- 'font':[ #3d5d7e, 'font', 'white'],
18
- 'font-placeholder':["#818283",'font-fade','white'],
19
- 'success':[ #007B52, 'success', 'white'],
20
- 'success-fade':[ #cae8ca,'success-fade', 'white'],
21
- 'info':[ #1A688A, 'info', 'white'],
22
- 'info-fade':[ #c8dbec, 'info-fade', 'white'],
23
- 'warning':[ #FFBB33, 'warning', 'white'],
24
- 'warning-fade':[ #ecdbc6, 'warning-fade', 'white'],
25
- 'error':[ #D42D02,'error', 'white'],
26
- 'error-fade':[ #eecccc, 'error-fade', 'white'],
27
- 'disabled':[ #646464, 'disabled', 'white'],
28
- 'disabled-fade':[ #D1D1D1,'disabled-fade', 'white'],
29
- 'neutral':[ #707070, 'grey', 'white' ],
30
- 'neutral-fade':[#F4F4F4, 'grey-fade', 'white' ],
31
- ) !default;
32
-
33
- $fade-colors: (
34
- 'main': 'main-fade',
35
- 'success': 'success-fade',
36
- 'info':'info-fade',
37
- 'warning':'warning-fade',
38
- 'error':'error-fade',
39
- 'disabled': 'disabled-fade',
40
- 'neutral': 'neutral-fade',
13
+ 'background': [#fff, #E9E9E9, 'white', 'main'],
14
+ 'main':[ #3d5d7e, #eff2f8, 'main', 'white'],
15
+ 'alternate':[ #da641b, #bb5118,'accent', 'white'],
16
+ 'font':[ #3d5d7e, #BBC6CD, 'main', 'white'],
17
+ 'success':[ #007B52, #cae8ca,'success', 'white'],
18
+ 'info':[ #1A688A, #c8dbec, 'info','white'],
19
+ 'warning':[ #FFBB33, #ecdbc6,'warning', 'white'],
20
+ 'error':[ #D42D02,#eecccc,'error', 'white'],
21
+ 'disabled':[ #646464, #D1D1D1,'disabled', 'white'],
22
+ 'neutral':[ #707070, #F4F4F4,'grey', 'white' ],
41
23
  ) !default;
@@ -14,12 +14,12 @@ $size-large: $text-24 !default;
14
14
 
15
15
  // Brand Color
16
16
  $colors-brand: (
17
- 'background', 'main', 'accent'
17
+ 'background', 'main', 'alternate'
18
18
  );
19
19
 
20
20
  // Brand Color Functionnal
21
- $colors-brand-functionnal: (
22
- 'background', 'main', 'accent', 'info', 'success', 'error', 'warning', 'neutral'
21
+ $colors-brand-funcionnal: (
22
+ 'background', 'main', 'alternate', 'info', 'success', 'error', 'warning', 'neutral'
23
23
  );
24
24
 
25
25
  $colors-feedback: (
@@ -1,5 +1,33 @@
1
1
  @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
2
- @import "colors";
2
+
3
+ $suffix: '';
4
+
5
+ /*
6
+ All color variables are defined here
7
+ @string slug name used in classname (You can use your brand name)
8
+ @color A valid css color value
9
+ @invert The slug name of the best inverted color
10
+ @hover A valid css color value (a variant color for the hover case)
11
+ @visited A valid css color value (a variant color for the pressed case) -- optional
12
+ @background A valid css color value (a variant color for background) -- optional
13
+ */
14
+ $colors: (
15
+ 'background': ['white', #fff, 'main', #E9E9E9],
16
+ 'main':['main', #3d5d7e, 'white', #eff2f8],
17
+ 'alternate':['accent', #da641b, 'white', #bb5118],
18
+ 'font':['main', #3d5d7e, 'white', #BBC6CD],
19
+ 'success':['success', #007B52, 'white', #cae8ca],
20
+ 'info':['info', #1A688A, 'white', #c8dbec],
21
+ 'warning':['warning', #FFBB33, 'white', #ecdbc6],
22
+ 'error':['error', #D42D02, 'white',#eecccc],
23
+ /* Grey disabled // BG : bg-disabled */
24
+ 'disabled':['disabled', #646464, 'white', #D1D1D1],
25
+ 'hovered': ['hovered', #24374a, 'font',#e4eaed],
26
+ /* grey , BG : grey-lighter */
27
+ 'neutral':['grey', #707070, 'white', #F4F4F4 ],
28
+ /* grey dark , BG : grey-light */
29
+ 'neutral-dark':['grey-dark', #646464, 'white', #E9E9E9 ]
30
+ ) !default;
3
31
 
4
32
  $hoverSelector: "&:hover:not([disabled]):not([aria-disabled=true])";
5
33
 
@@ -147,7 +147,7 @@
147
147
 
148
148
  @mixin spinner {
149
149
  animation: spinAround 500ms infinite linear;
150
- border: 2px solid getColor('neutral-fade');
150
+ border: 2px solid getBGColor('neutral-dark');
151
151
  border-radius: 290486px;
152
152
  border-right-color: transparent;
153
153
  border-top-color: transparent;
@@ -340,7 +340,7 @@
340
340
  }
341
341
 
342
342
  @mixin apply-colors($property: 'color') {
343
- @each $name, $pair in $colors-brand-functionnal {
343
+ @each $name, $pair in $colors-brand-funcionnal {
344
344
  $color: getColor($name);
345
345
  $brandName: getColorBrandName($name);
346
346
  &.is-#{$brandName} {
@@ -355,7 +355,7 @@
355
355
  }
356
356
 
357
357
  @mixin pattern-dark($size, $x-pos: top, $y-pos: center) {
358
- background: linear-gradient(#1b3650, getColor('accent'));
358
+ background: linear-gradient(#1b3650, getColor('alternate'));
359
359
  background-size: auto, $size, auto;
360
360
  background-position: top left, $x-pos $y-pos, top left;
361
361
  }
@@ -365,11 +365,11 @@
365
365
  @include control;
366
366
  height: 56px;
367
367
  background-color: getColor('background');
368
- border-color: getColor('neutral');
368
+ border-color: getBGColor('font');
369
369
  color: getColor('font');
370
370
 
371
371
  @include placeholder {
372
- color: getColor('font-placeholder') !important;
372
+ color: getColor('neutral') !important;
373
373
  opacity: 1 !important;
374
374
  transition: all 0.2s ease-out;
375
375
  }
@@ -419,7 +419,7 @@
419
419
  &:disabled:checked {
420
420
  & ~ label.#{$type}-label {
421
421
  &:after {
422
- background-color: getColor('disabled-fade');
422
+ background-color: getBGColor('disabled');
423
423
  }
424
424
  }
425
425
  }
@@ -606,7 +606,7 @@
606
606
  }
607
607
 
608
608
  @mixin hoverRules {
609
- background-color: getColor('main-fade');
609
+ background-color: var(--color-bg-hovered);
610
610
  }
611
611
 
612
612
  @mixin hover {
@@ -618,8 +618,9 @@
618
618
  }
619
619
  }
620
620
 
621
+
621
622
  @mixin disabledRulesWithoutBG {
622
- border-color: getColor('disabled') !important;
623
+ border-color: transparent !important;
623
624
  box-shadow: none !important;
624
625
  color: getColor('disabled') !important;
625
626
  cursor: not-allowed !important;
@@ -627,6 +628,6 @@
627
628
  }
628
629
 
629
630
  @mixin disabledRules {
630
- background-color: getColor('disabled-fade') !important;
631
+ background-color: getBGColor('disabled') !important;
631
632
  @include disabledRulesWithoutBG;
632
633
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trilogy-ds/styles",
3
- "version": "0.0.1-beta-110",
3
+ "version": "0.0.1-beta-112",
4
4
  "author": "Bouygues Telecom",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
@@ -16,8 +16,8 @@
16
16
  "create:autolayout": "node scripts/dist/autolayout.cjs",
17
17
  "create:spacing": "node scripts/dist/spacing.cjs",
18
18
  "prebuild": "npm run copy:icons",
19
- "build": "npm run build:autolayout && npm run create:autolayout && vite --config vite.config.js build",
20
- "watch:css": "vite --config vite.config.js build -- --watch",
19
+ "build": "vite --config vite.config.js build",
20
+ "watch:css": "vite --config vite.config.js watch",
21
21
  "copy:icons": "mkdir -p ./dist/default/assets/icons && cp -R ../assets/lib/icons/all ./dist/default/assets/icons/."
22
22
  }
23
23
  }
@@ -1,290 +0,0 @@
1
- body:not(.is-tight) {
2
- .accordions:not(:last-child) {
3
- margin-bottom: 24px;
4
- }
5
- .card:not(:last-child) {
6
- margin-bottom: 24px;
7
- }
8
- .box:not(:last-child) {
9
- margin-bottom: 24px;
10
- }
11
- .table:not(:last-child) {
12
- margin-bottom: 24px;
13
- }
14
- .list:not(:last-child) {
15
- margin-bottom: 24px;
16
- }
17
- .timeline:not(:last-child) {
18
- margin-bottom: 24px;
19
- }
20
- .stepper:not(:last-child) {
21
- margin-bottom: 24px;
22
- }
23
- .pagination:not(:last-child) {
24
- margin-bottom: 24px;
25
- }
26
- .segmented-control:not(:last-child) {
27
- margin-bottom: 24px;
28
- }
29
- .tabs:not(:last-child) {
30
- margin-bottom: 24px;
31
- }
32
- .range:not(:last-child) {
33
- margin-bottom: 24px;
34
- }
35
- .stepper:not(:last-child) {
36
- margin-bottom: 24px;
37
- }
38
- .price-container:not(:last-child) {
39
- margin-bottom: 12px;
40
- }
41
- .buttons:not(:last-child) {
42
- margin-bottom: 24px;
43
- }
44
- .countdown:not(:last-child) {
45
- margin-bottom: 16px;
46
- }
47
- .countdown.is-small:not(:last-child) {
48
- margin-bottom: 12px;
49
- }
50
- .chips-list:not(:last-child) {
51
- margin-bottom: 12px;
52
- }
53
- p.text:not(:last-child) {
54
- margin-bottom: 12px;
55
- }
56
- .progress:not(:last-child) {
57
- margin-bottom: 8px;
58
- }
59
- .progress-radial:not(:last-child) {
60
- margin-bottom: 8px;
61
- }
62
- .radio:not(:last-child) {
63
- margin-bottom: 12px;
64
- }
65
- .checkbox:not(:last-child) {
66
- margin-bottom: 12px;
67
- }
68
- .switch:not(:last-child) {
69
- margin-bottom: 12px;
70
- }
71
- .radio-tile:not(:last-child) {
72
- margin-bottom: 24px;
73
- }
74
- .checkbox-tile:not(:last-child) {
75
- margin-bottom: 24px;
76
- }
77
- .field:not(:last-child) {
78
- margin-bottom: 24px;
79
- }
80
- .control:not(:last-child) {
81
- margin-bottom: 4px;
82
- }
83
- .help:not(:last-child) {
84
- margin-bottom: 4px;
85
- }
86
- .textarea:not(:last-child) {
87
- margin-bottom: 16px;
88
- }
89
- .select:not(:last-child) {
90
- margin-bottom: 16px;
91
- }
92
- .link:not(:last-child) {
93
- margin-bottom: 12px;
94
- }
95
- .sticker:not(:last-child) {
96
- margin-bottom: 8px;
97
- }
98
- .tag:not(:last-child) {
99
- margin-bottom: 8px;
100
- }
101
- .title.is-level-1:not(:last-child) {
102
- margin-bottom: 40px;
103
- }
104
- .title.is-level-2:not(:last-child) {
105
- margin-bottom: 32px;
106
- }
107
- .title.is-level-3:not(:last-child) {
108
- margin-bottom: 16px;
109
- }
110
- .title.is-level-4:not(:last-child) {
111
- margin-bottom: 12px;
112
- }
113
- .title.is-level-5:not(:last-child) {
114
- margin-bottom: 12px;
115
- }
116
- .title.is-level-6:not(:last-child) {
117
- margin-bottom: 12px;
118
- }
119
- .overline:not(:last-child) {
120
- margin-bottom: 0px;
121
- }
122
- .title:has(+.subtitle):not(:last-child) {
123
- margin-bottom: 8px;
124
- }
125
- .title.is-level-1 + .subtitle:not(:last-child) {
126
- margin-bottom: 32px;
127
- }
128
- .title.is-level-2 + .subtitle:not(:last-child) {
129
- margin-bottom: 24px;
130
- }
131
- .title.is-level-3 + .subtitle:not(:last-child) {
132
- margin-bottom: 24px;
133
- }
134
- .title.is-level-4 + .subtitle:not(:last-child) {
135
- margin-bottom: 12px;
136
- }
137
- .title.is-level-5 + .subtitle:not(:last-child) {
138
- margin-bottom: 12px;
139
- }
140
- .title.is-level-6 + .subtitle:not(:last-child) {
141
- margin-bottom: 12px;
142
- }
143
- }
144
-
145
- @include mobile() {
146
- body:not(.is-tight) {
147
- .accordions:not(:last-child) {
148
- margin-bottom: 16px;
149
- }
150
- .card:not(:last-child) {
151
- margin-bottom: 16px;
152
- }
153
- .box:not(:last-child) {
154
- margin-bottom: 16px;
155
- }
156
- .table:not(:last-child) {
157
- margin-bottom: 16px;
158
- }
159
- .list:not(:last-child) {
160
- margin-bottom: 16px;
161
- }
162
- .timeline:not(:last-child) {
163
- margin-bottom: 16px;
164
- }
165
- .stepper:not(:last-child) {
166
- margin-bottom: 16px;
167
- }
168
- .pagination:not(:last-child) {
169
- margin-bottom: 16px;
170
- }
171
- .segmented-control:not(:last-child) {
172
- margin-bottom: 16px;
173
- }
174
- .tabs:not(:last-child) {
175
- margin-bottom: 16px;
176
- }
177
- .range:not(:last-child) {
178
- margin-bottom: 16px;
179
- }
180
- .stepper:not(:last-child) {
181
- margin-bottom: 16px;
182
- }
183
- .price-container:not(:last-child) {
184
- margin-bottom: 8px;
185
- }
186
- .buttons:not(:last-child) {
187
- margin-bottom: 16px;
188
- }
189
- .countdown:not(:last-child) {
190
- margin-bottom: 12px;
191
- }
192
- .countdown.is-small:not(:last-child) {
193
- margin-bottom: 12px;
194
- }
195
- .chips-list:not(:last-child) {
196
- margin-bottom: 12px;
197
- }
198
- p.text:not(:last-child) {
199
- margin-bottom: 8px;
200
- }
201
- .progress:not(:last-child) {
202
- margin-bottom: 8px;
203
- }
204
- .progress-radial:not(:last-child) {
205
- margin-bottom: 8px;
206
- }
207
- .radio:not(:last-child) {
208
- margin-bottom: 12px;
209
- }
210
- .checkbox:not(:last-child) {
211
- margin-bottom: 12px;
212
- }
213
- .switch:not(:last-child) {
214
- margin-bottom: 12px;
215
- }
216
- .radio-tile:not(:last-child) {
217
- margin-bottom: 16px;
218
- }
219
- .checkbox-tile:not(:last-child) {
220
- margin-bottom: 16px;
221
- }
222
- .field:not(:last-child) {
223
- margin-bottom: 16px;
224
- }
225
- .control:not(:last-child) {
226
- margin-bottom: 4px;
227
- }
228
- .help:not(:last-child) {
229
- margin-bottom: 4px;
230
- }
231
- .textarea:not(:last-child) {
232
- margin-bottom: 16px;
233
- }
234
- .select:not(:last-child) {
235
- margin-bottom: 16px;
236
- }
237
- .link:not(:last-child) {
238
- margin-bottom: 8px;
239
- }
240
- .sticker:not(:last-child) {
241
- margin-bottom: 8px;
242
- }
243
- .tag:not(:last-child) {
244
- margin-bottom: 8px;
245
- }
246
- .title.is-level-1:not(:last-child) {
247
- margin-bottom: 32px;
248
- }
249
- .title.is-level-2:not(:last-child) {
250
- margin-bottom: 24px;
251
- }
252
- .title.is-level-3:not(:last-child) {
253
- margin-bottom: 12px;
254
- }
255
- .title.is-level-4:not(:last-child) {
256
- margin-bottom: 8px;
257
- }
258
- .title.is-level-5:not(:last-child) {
259
- margin-bottom: 8px;
260
- }
261
- .title.is-level-6:not(:last-child) {
262
- margin-bottom: 8px;
263
- }
264
- .overline:not(:last-child) {
265
- margin-bottom: 0px;
266
- }
267
- .title:has(+.subtitle):not(:last-child) {
268
- margin-bottom: 8px;
269
- }
270
- .title.is-level-1 + .subtitle:not(:last-child) {
271
- margin-bottom: 40px;
272
- }
273
- .title.is-level-2 + .subtitle:not(:last-child) {
274
- margin-bottom: 32px;
275
- }
276
- .title.is-level-3 + .subtitle:not(:last-child) {
277
- margin-bottom: 32px;
278
- }
279
- .title.is-level-4 + .subtitle:not(:last-child) {
280
- margin-bottom: 8px;
281
- }
282
- .title.is-level-5 + .subtitle:not(:last-child) {
283
- margin-bottom: 8px;
284
- }
285
- .title.is-level-6 + .subtitle:not(:last-child) {
286
- margin-bottom: 8px;
287
- }
288
-
289
- }
290
- }
@@ -1,13 +0,0 @@
1
- .sr-only {
2
- position: absolute;
3
- width: 1px;
4
- height: 1px;
5
- margin: -1px;
6
- padding: 0;
7
- border: 0;
8
- overflow: hidden;
9
- clip: rect(0, 0, 0, 0);
10
- white-space: nowrap;
11
- top: 0;
12
- left: 0;
13
- }