@trilogy-ds/styles 0.0.1-beta.9 → 0.0.1-calendar

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 (143) 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 +1 -52
  7. package/framework/src/base/_elements.scss +1 -1
  8. package/framework/src/base/_generic.scss +9 -1
  9. package/framework/src/base/_helpers.scss +34 -44
  10. package/framework/src/base/_loading.scss +9 -2
  11. package/framework/src/base/_reset.scss +11 -1
  12. package/framework/src/components/_accordion.scss +55 -89
  13. package/framework/src/components/_autocomplete.scss +38 -0
  14. package/framework/src/components/_autolayout.scss +332 -0
  15. package/framework/src/components/_badge.scss +87 -0
  16. package/framework/src/components/_box.scss +168 -0
  17. package/framework/src/components/_breadcrumb.scss +29 -38
  18. package/framework/src/components/_button.scss +79 -0
  19. package/framework/src/components/_calendar.scss +125 -0
  20. package/framework/src/components/_card.scss +33 -87
  21. package/framework/src/components/_checkbox.scss +71 -0
  22. package/framework/src/components/_chips.scss +84 -0
  23. package/framework/src/{elements → components}/_container.scss +7 -39
  24. package/framework/src/components/_countdown.scss +49 -47
  25. package/framework/src/components/_divider.scss +25 -14
  26. package/framework/src/components/_fab.scss +25 -38
  27. package/framework/src/components/_flex-box.scss +457 -0
  28. package/framework/src/{elements → components}/_icon.scss +4 -4
  29. package/framework/src/components/_image.scss +69 -0
  30. package/framework/src/components/_index.scss +48 -0
  31. package/framework/src/components/_link.scss +58 -0
  32. package/framework/src/components/_list.scss +66 -0
  33. package/framework/src/{elements → components}/_loader.scss +2 -2
  34. package/framework/src/components/_modal.scss +182 -158
  35. package/framework/src/components/_otp.scss +11 -30
  36. package/framework/src/components/_pagination.scss +60 -159
  37. package/framework/src/components/_popover.scss +260 -260
  38. package/framework/src/components/_price.scss +140 -165
  39. package/framework/src/components/_product-tour.scss +2 -4
  40. package/framework/src/components/_radio.scss +82 -0
  41. package/framework/src/components/_range.scss +73 -72
  42. package/framework/src/components/_segmented-control.scss +55 -53
  43. package/framework/src/components/_select.scss +131 -0
  44. package/framework/src/components/_stepper.scss +42 -222
  45. package/framework/src/{elements → components}/_sticker.scss +25 -28
  46. package/framework/src/components/_switch.scss +97 -191
  47. package/framework/src/components/_table.scss +244 -0
  48. package/framework/src/components/_tabs.scss +101 -98
  49. package/framework/src/components/_tag.scss +114 -0
  50. package/framework/src/components/_text.scss +55 -0
  51. package/framework/src/components/_textarea.scss +46 -0
  52. package/framework/src/components/_timeline.scss +28 -113
  53. package/framework/src/components/_title.scss +151 -0
  54. package/framework/src/{elements → components/alert}/_alert.scss +13 -10
  55. package/framework/src/components/alert/_index.scss +2 -0
  56. package/framework/src/{elements → components/alert}/_toaster.scss +4 -8
  57. package/framework/src/components/input/_entry.scss +135 -0
  58. package/framework/src/{elements → components/input}/_form.scss +42 -33
  59. package/framework/src/components/input/_index.scss +4 -0
  60. package/framework/src/components/input/_input-gauge.scss +44 -0
  61. package/framework/src/components/input/_input-icons.scss +55 -0
  62. package/framework/src/components/progress/_index.scss +2 -0
  63. package/framework/src/components/progress/_progress-radial.scss +28 -0
  64. package/framework/src/{elements → components/progress}/_progress.scss +34 -23
  65. package/framework/src/elements/_index.scss +5 -0
  66. package/framework/src/elements/_other.scss +0 -41
  67. package/framework/src/{components → elements}/_plus-symbol.scss +1 -1
  68. package/framework/src/grid/_columns.scss +278 -763
  69. package/framework/src/grid/_rows.scss +45 -38
  70. package/framework/src/layout/_all.scss +0 -1
  71. package/framework/src/layout/_hero.scss +92 -214
  72. package/framework/src/layout/_section.scss +10 -29
  73. package/framework/src/theming/_all.scss +3 -0
  74. package/framework/src/theming/buttons_partial.scss +32 -0
  75. package/framework/src/theming/common_partials.scss +10 -0
  76. package/framework/src/theming/links_partial.scss +20 -0
  77. package/framework/src/trilogy-mangled.scss +3 -3
  78. package/framework/src/trilogy.scss +2 -2
  79. package/framework/src/utilities/_a11y.scss +13 -0
  80. package/framework/src/utilities/_all.scss +4 -0
  81. package/framework/src/utilities/_background.scss +21 -0
  82. package/framework/src/utilities/_controls.scss +38 -49
  83. package/framework/src/utilities/_derived-variables.scss +0 -103
  84. package/framework/src/utilities/_initial-variables.scss +4 -144
  85. package/framework/src/utilities/_pre.scss +4 -1
  86. package/framework/src/utilities/mixins/_arrow.scss +21 -0
  87. package/framework/src/utilities/mixins/_delete.scss +86 -0
  88. package/framework/src/utilities/mixins/_index.scss +11 -0
  89. package/framework/src/utilities/mixins/_markup-group.scss +27 -0
  90. package/framework/src/utilities/mixins/_mixins.scss +293 -0
  91. package/framework/src/utilities/mixins/_overlay.scss +7 -0
  92. package/framework/src/utilities/mixins/_pattern.scss +10 -0
  93. package/framework/src/utilities/mixins/_responsiveness.scss +84 -0
  94. package/framework/src/utilities/mixins/_spinner.scss +12 -0
  95. package/framework/src/utilities/mixins/_state.scss +25 -0
  96. package/framework/src/utilities/mixins/_unselectable.scss +10 -0
  97. package/framework/src/utilities/mixins/_utils.scss +24 -0
  98. package/framework/src/utilities/variables/_animation.scss +2 -0
  99. package/framework/src/utilities/variables/_color.scss +85 -0
  100. package/framework/src/utilities/variables/_font.scss +97 -0
  101. package/framework/src/utilities/variables/_index.scss +6 -0
  102. package/framework/src/utilities/variables/_responsiveness.scss +7 -0
  103. package/framework/src/utilities/variables/_shadow.scss +3 -0
  104. package/framework/src/utilities/variables/_zindex.scss +14 -0
  105. package/package.json +3 -3
  106. package/framework/src/components/_all.scss +0 -30
  107. package/framework/src/components/_autolayout2.scss +0 -38
  108. package/framework/src/components/_disclaimer.scss +0 -84
  109. package/framework/src/components/_dropdown.scss +0 -128
  110. package/framework/src/components/_level.scss +0 -120
  111. package/framework/src/components/_media.scss +0 -64
  112. package/framework/src/components/_menu.scss +0 -213
  113. package/framework/src/components/_progress-radial.scss +0 -23
  114. package/framework/src/components/_search-modal.scss +0 -197
  115. package/framework/src/components/_slices.scss +0 -316
  116. package/framework/src/components/_slider.scss +0 -92
  117. package/framework/src/elements/_all.scss +0 -35
  118. package/framework/src/elements/_badge.scss +0 -81
  119. package/framework/src/elements/_box.scss +0 -267
  120. package/framework/src/elements/_button.scss +0 -192
  121. package/framework/src/elements/_checkbox.scss +0 -39
  122. package/framework/src/elements/_checkradio.scss +0 -173
  123. package/framework/src/elements/_chips.scss +0 -100
  124. package/framework/src/elements/_dot.scss +0 -6
  125. package/framework/src/elements/_entry.scss +0 -109
  126. package/framework/src/elements/_image.scss +0 -59
  127. package/framework/src/elements/_input-gauge.scss +0 -37
  128. package/framework/src/elements/_input-icons.scss +0 -41
  129. package/framework/src/elements/_link.scss +0 -79
  130. package/framework/src/elements/_list.scss +0 -61
  131. package/framework/src/elements/_notification.scss +0 -151
  132. package/framework/src/elements/_options.scss +0 -146
  133. package/framework/src/elements/_paragraph.scss +0 -101
  134. package/framework/src/elements/_radio.scss +0 -67
  135. package/framework/src/elements/_select.scss +0 -315
  136. package/framework/src/elements/_switch.scss +0 -108
  137. package/framework/src/elements/_table.scss +0 -298
  138. package/framework/src/elements/_tag.scss +0 -131
  139. package/framework/src/elements/_textarea.scss +0 -125
  140. package/framework/src/elements/_timeline.scss +0 -283
  141. package/framework/src/elements/_title.scss +0 -139
  142. package/framework/src/layout/_toolbar.scss +0 -100
  143. package/framework/src/utilities/_mixins.scss +0 -744
@@ -0,0 +1,79 @@
1
+ $button-border-width: 2px !default;
2
+
3
+ .buttons {
4
+ width: 100%;
5
+ column-gap: 16px;
6
+
7
+ &.is-vertical {
8
+ row-gap: 16px;
9
+ }
10
+
11
+ @include tablet {
12
+ display: flex;
13
+ align-items: center;
14
+ width: auto;
15
+ }
16
+
17
+ &.is-centered,
18
+ &.has-text-centered,
19
+ .has-text-centered & {
20
+ justify-content: center;
21
+ }
22
+ }
23
+
24
+ .button {
25
+ @include control;
26
+ @include unselectable;
27
+ @extend %buttons-states;
28
+
29
+ background-color: white;
30
+ border-width: $button-border-width;
31
+ border-radius: var(--radius-small);
32
+ cursor: pointer;
33
+ justify-content: center;
34
+ text-align: center;
35
+ white-space: nowrap;
36
+ padding: 0 $spacing-4;
37
+ text-decoration: inherit;
38
+ font-weight: $weight-semibold;
39
+
40
+ @include mobile {
41
+ width: 100%;
42
+ margin: 8px 0 !important;
43
+ }
44
+
45
+ @each $name, $pair in $button-colors {
46
+ $variantName: nth($pair, 1);
47
+ $colorBG: getColor(#{nth($pair, 2)});
48
+ $colorText: getColor(nth($pair, 3));
49
+
50
+ &.is-#{$variantName} {
51
+ background-color: $colorBG;
52
+ color: $colorText;
53
+ }
54
+ }
55
+
56
+ &.is-ghost:hover:not([disabled]) {
57
+ background-color: var(--color-main-fade);
58
+ filter: none !important;
59
+ }
60
+
61
+ &[disabled],
62
+ &[aria-disabled=true] {
63
+ border-color: transparent !important;
64
+ background-color: getColor('main-fade') !important;
65
+ color: getColor('disabled') !important
66
+ }
67
+
68
+ [aria-disabled=true] {
69
+ pointer-events: none;
70
+ }
71
+
72
+ &.is-loading {
73
+ background-color: getColor('neutral');
74
+ &::after {
75
+ @include spinner('neutral-fade');
76
+ }
77
+ }
78
+
79
+ }
@@ -0,0 +1,125 @@
1
+ .calendar {
2
+ border-collapse: separate;
3
+ box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
4
+ padding:24px;
5
+ border-radius: 8px;
6
+
7
+ button {
8
+ all: unset;
9
+ &:focus-visible:not(.is-disabled, .is-active), &:hover:not(.is-disabled, .is-active){
10
+ background-color: getColor('main-fade');
11
+ }
12
+
13
+ &.is-active:hover, &.is-active:focus-visible,
14
+ &.is-disabled:hover, &.is-disabled:focus-visible {
15
+ filter: brightness(80%);
16
+ }
17
+ }
18
+
19
+ &-range.calendar-range-init {
20
+ .calendar-week-day:not(.calendar-date-in-range) {
21
+ button:focus-visible:not(.is-disabled, .is-active), button:hover:not(.is-disabled, .is-active){
22
+ background-color: getColor('main');
23
+ color: getColor('background');
24
+ }
25
+ }
26
+ }
27
+
28
+ &-date-in-range {
29
+ button:not(.is-disabled, .is-active){
30
+ background-color: getColor('main-fade');
31
+ border-radius: 0px;
32
+ }
33
+
34
+ &.calendar-date-rounded-left {
35
+ button:not(.is-disabled, .is-active){
36
+ border-radius: 8px 0 0 8px;
37
+ }
38
+ }
39
+
40
+ &.calendar-date-rounded-right {
41
+ button:not(.is-disabled, .is-active){
42
+ border-radius: 0px 8px 8px 0;
43
+ }
44
+ }
45
+ }
46
+
47
+
48
+ &-next-month, &-prev-month {
49
+ button {
50
+ text-align: center;
51
+ border-radius: 32px;
52
+ width: 32px;
53
+ height: 32px;
54
+ i {
55
+ height: 100%;
56
+ }
57
+ }
58
+ }
59
+
60
+ &-week:not(:last-child) {
61
+ margin-bottom: 8px;
62
+ }
63
+
64
+ &-week-day {
65
+ padding: 4px 0px;
66
+ text-align: center !important;
67
+ vertical-align: middle;
68
+ &-disabled {
69
+ button {
70
+ color: getColor('disabled');
71
+ background-color: getColor('disabled-fade');
72
+ }
73
+ }
74
+ &-label {
75
+ padding: 4px;
76
+ text-align: center !important;
77
+ width: 32px;
78
+ }
79
+ button {
80
+ display: block;
81
+ width: 32px;
82
+ height: 32px;
83
+ border-radius: 4px;
84
+ }
85
+ }
86
+
87
+
88
+ &-active-month {
89
+ height: 28px;
90
+ text-align: center !important;
91
+ position: relative;
92
+ padding: 10px 0;
93
+ .icon {
94
+ vertical-align: bottom;
95
+ }
96
+ button {
97
+ padding: 2px 6px;
98
+ border-radius: 4px;
99
+ }
100
+ }
101
+
102
+ &-active-date button {
103
+ background-color: getColor('main');
104
+ color: getColor('background');
105
+ }
106
+
107
+ &-header-dropdown {
108
+ display: flex;
109
+ gap: $spacing-3;
110
+ .select{
111
+ margin-bottom: 0 !important;
112
+ width: 50%;
113
+ select {
114
+ height: 30px !important;
115
+ margin-bottom: 0 !important;
116
+ padding: 0px 25px 0px 5px;
117
+ }
118
+ .control:after {
119
+ right: -5px !important;
120
+
121
+ }
122
+ }
123
+ }
124
+
125
+ }
@@ -1,14 +1,28 @@
1
+ $basis-values: (
2
+ 'is-1': 70%,
3
+ 'is-2': 60%,
4
+ 'is-3': 50%,
5
+ 'is-4': 40%
6
+ );
7
+
8
+
1
9
  .card {
2
10
  max-width: 100%;
3
11
  display: flex;
4
- border-radius: $radius;
12
+ border-radius: var(--radius);
13
+ overflow: hidden;
5
14
  flex-direction: column;
6
15
  position: relative;
7
16
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
8
- background-color: getColor("background");
17
+ background-color: getColor('background');
18
+
19
+ &:not(.is-reversed) .card-image {
20
+ order: 1;
21
+ }
22
+
9
23
 
10
- &:not(:last-child) {
11
- margin-bottom: 15px;
24
+ &:not(.is-reversed) .card-content {
25
+ order: 2;
12
26
  }
13
27
 
14
28
  .card-image {
@@ -16,12 +30,9 @@
16
30
  position: relative;
17
31
  flex-shrink: 0;
18
32
  overflow: hidden;
19
- border-radius: 8px 8px 0px 0px;
20
33
  }
21
34
 
22
35
  .card-content {
23
- border-bottom-left-radius: $radius;
24
- border-bottom-right-radius: $radius;
25
36
  padding: $spacing-5;
26
37
  flex-grow: 1;
27
38
 
@@ -31,7 +42,7 @@
31
42
  }
32
43
 
33
44
  .card-footer {
34
- border-top: 1px solid getColor('grey');
45
+ border-top: 1px solid getColor('neutral');
35
46
  }
36
47
 
37
48
  .mention {
@@ -49,20 +60,16 @@
49
60
 
50
61
  &.is-strong {
51
62
  .title {
52
- font-family: $family-serif;
63
+ font-family: $family-secondary;
53
64
  font-size: 24px !important;
54
65
  }
55
66
  }
56
67
 
57
68
  &.is-flat {
58
69
  box-shadow: none;
59
-
60
- .card-image {
61
- margin-bottom: -1px;
62
- }
70
+ border: var(--border);
63
71
 
64
72
  .card-content {
65
- border: 1px solid getColor('grey');
66
73
  padding-left: 20px;
67
74
  padding-right: 20px;
68
75
 
@@ -74,26 +81,15 @@
74
81
  }
75
82
 
76
83
  &.is-active {
77
- border: 2px solid getColor('alternate');
78
-
79
- .card-image {
80
- border-radius: 6px 6px 0px 0px;
81
- }
84
+ outline: var(--border-active);
82
85
 
83
86
  .card-content {
84
- border-bottom-left-radius: ($radius - 2px);
85
- border-bottom-right-radius: ($radius - 2px);
87
+
86
88
  padding: 22px;
87
89
  @include mobile {
88
90
  padding: 14px;
89
91
  }
90
92
  }
91
-
92
- &.is-horizontal {
93
- .card-image {
94
- border-radius: ($radius - 2px) 0px 0px ($radius - 2px);
95
- }
96
- }
97
93
  }
98
94
 
99
95
  &.is-horizontal {
@@ -111,9 +107,14 @@
111
107
  }
112
108
  }
113
109
 
110
+ @for $i from 1 through 4 {
111
+ &:has(.card-content + .card-image.is-#{$i}) .card-content {
112
+ flex-basis: map-get($basis-values, 'is-#{$i}');
113
+ }
114
+ }
115
+
114
116
  .card-image {
115
117
  max-width: 100%;
116
- border-radius: 8px 0px 0px 8px;
117
118
 
118
119
  @include tablet {
119
120
  img {
@@ -179,31 +180,11 @@
179
180
  top: 50%;
180
181
  transform: translateY(-50%);
181
182
  }
182
- &.is-polyfilled {
183
- border-top-left-radius: $radius;
184
- border-top-right-radius: 0;
185
- border-bottom-left-radius: $radius;
186
- position: absolute;
187
- top: 0;
188
- left: 0;
189
- bottom: 0;
190
- right: 0;
191
- background-size: cover;
192
- background-repeat: no-repeat;
193
- background-position: 50% 50%;
194
-
195
- img {
196
- visibility: hidden;
197
- }
198
- }
199
183
  }
200
184
  }
201
185
  }
202
186
 
203
187
  .card-content {
204
- border-top-right-radius: $radius;
205
- border-bottom-right-radius: $radius;
206
- border-bottom-left-radius: 0;
207
188
  padding-left: 20px;
208
189
  padding-right: 20px;
209
190
 
@@ -223,10 +204,8 @@
223
204
  box-shadow: none;
224
205
  background: transparent;
225
206
 
226
- &.is-inverted .card-image .image img,
227
- &.is-reversed .card-image .image img,
228
207
  .card-image .image img {
229
- border-radius: $radius;
208
+ border-radius: var(--radius);
230
209
  }
231
210
 
232
211
  .card-content {
@@ -255,44 +234,11 @@
255
234
  &.is-inverted,
256
235
  &.is-reversed {
257
236
  .card-image {
258
- order: 1;
259
- border-radius: 0;
260
-
261
- .image {
262
- img {
263
- border-bottom-left-radius: $radius;
264
- border-bottom-right-radius: $radius;
265
- }
266
- }
237
+ order: 2;
267
238
  }
268
-
239
+
269
240
  .card-content {
270
- border-top-left-radius: $radius;
271
- border-top-right-radius: $radius;
272
- border-bottom-left-radius: 0;
273
- border-bottom-right-radius: 0;
274
- }
275
-
276
- &.is-horizontal {
277
- .card-image {
278
- order: 1;
279
-
280
- .image {
281
- img {
282
- border-top-left-radius: 0;
283
- border-top-right-radius: $radius;
284
- border-bottom-left-radius: 0;
285
- border-bottom-right-radius: $radius;
286
- }
287
- }
288
- }
289
-
290
- .card-content {
291
- border-top-left-radius: $radius;
292
- border-top-right-radius: 0;
293
- border-bottom-left-radius: $radius;
294
- border-bottom-right-radius: 0;
295
- }
241
+ order: 1;
296
242
  }
297
243
  }
298
244
  }
@@ -0,0 +1,71 @@
1
+ @include checkbox-and-radio('checkbox');
2
+
3
+ .checkboxes {
4
+ width: 100%;
5
+ column-gap: $spacing-5;
6
+ row-gap: $spacing-3;
7
+ display: flex;
8
+ flex-wrap: wrap;
9
+ flex-direction: column;
10
+
11
+ @include tablet {
12
+ flex-direction: row;
13
+
14
+ &.is-vertical-desktop {
15
+ flex-direction: column;
16
+ }
17
+ }
18
+
19
+ @include mobile {
20
+ &.is-horizontal-mobile {
21
+ flex-direction: row;
22
+ }
23
+ }
24
+
25
+ &.is-centered,
26
+ &.has-text-centered,
27
+ .has-text-centered & {
28
+ justify-content: center;
29
+ }
30
+ }
31
+
32
+ .checkbox,
33
+ .checkbox-tile {
34
+ input:checked ~ label.checkbox-label {
35
+ &:before {
36
+ background-color: getColor('main');
37
+ }
38
+
39
+ &:after {
40
+ content: "";
41
+ mask-image: url('./assets/icons/all/check.svg');
42
+ background-color: getColor('background');
43
+ mask-size: 18px;
44
+ }
45
+ }
46
+
47
+ label.checkbox-label {
48
+ &:before,
49
+ &:after {
50
+ border-radius: var(--radius-small);
51
+ }
52
+ }
53
+ }
54
+
55
+ .checkbox-tile {
56
+ input:checked ~ label.checkbox-label {
57
+ &:after {
58
+ top: 15px;
59
+ left: 15px;
60
+ }
61
+ }
62
+ }
63
+
64
+ .checkbox {
65
+ input:not(:disabled):not(:checked) ~ label.checkbox-label:hover {
66
+ &:before {
67
+ @include hoverRules()
68
+ }
69
+ }
70
+ }
71
+
@@ -0,0 +1,84 @@
1
+ @import "../utilities/spacing";
2
+
3
+ .chips-list {
4
+ align-items: center;
5
+ display: flex;
6
+ justify-content: flex-start;
7
+ flex-wrap: wrap;
8
+ gap: $spacing-2;
9
+
10
+ // centrage des chips
11
+ &.is-centered {
12
+ justify-content: center;
13
+ }
14
+
15
+ &.is-scrollable {
16
+ flex-wrap: nowrap;
17
+ overflow: auto;
18
+ &::-webkit-scrollbar {
19
+ display: none;
20
+ }
21
+ }
22
+
23
+ &.is-multiple {
24
+ .chips:before {
25
+ content: "";
26
+ mask-image: url('./assets/icons/all/check.svg');
27
+ background-color: currentColor;
28
+ margin-right: 4px;
29
+ margin-left: -8px;
30
+ width: 0;
31
+ height: 20px;
32
+ mask-size: 20px;
33
+ transition: width 250ms;
34
+ }
35
+ .chips.is-active:before{
36
+ width: 20px;
37
+ }
38
+ }
39
+
40
+ .chips {
41
+ align-items: center;
42
+ background-color: white;
43
+ border-radius: 9999px;
44
+ color: getColor('font');
45
+ display: inline-flex;
46
+ font-size: $size-normal;
47
+ height: 32px;
48
+ justify-content: center;
49
+ line-height: 2;
50
+ padding: 6px $spacing-4;
51
+ white-space: nowrap;
52
+ cursor: pointer;
53
+ border: var(--border);
54
+ &:not(.is-disabled) {
55
+ &.is-active {
56
+ background-color: getColor('main');
57
+ color: white;
58
+ border: var(--border-active);
59
+ padding: 5px ($spacing-4 - 1px);
60
+ #{$hoverSelector} {
61
+ background-color: getColor('main');
62
+ color: white;
63
+ }
64
+ }
65
+ #{$hoverSelector} {
66
+ background-color: getColor('neutral-fade');
67
+ }
68
+ }
69
+
70
+ &.is-inverted {
71
+ background-color: white;
72
+ color: getColor('accent');
73
+
74
+ &:active,
75
+ &:hover,
76
+ &:focus,
77
+ &:focus-visible,
78
+ &.is-active {
79
+ background-color: getColor('accent') !important;
80
+ color: getColor('background') !important;
81
+ }
82
+ }
83
+ }
84
+ }
@@ -21,14 +21,7 @@
21
21
 
22
22
  @include desktop {
23
23
  max-width: $desktop - 2 * $gap;
24
- width: $desktop - 2 * $gap;
25
-
26
- &.is-fluid {
27
- margin-left: $gap;
28
- margin-right: $gap;
29
- max-width: none;
30
- width: auto;
31
- }
24
+ width: auto;
32
25
  }
33
26
 
34
27
  @include until-widescreen {
@@ -51,34 +44,11 @@
51
44
  }
52
45
 
53
46
  @include fullhd {
47
+ margin: 0 auto;
54
48
  max-width: $fullhd - 2 * $gap;
55
49
  width: $fullhd - 2 * $gap;
56
50
  }
57
51
 
58
- &:not(.is-fluid) {
59
- @include desktop {
60
- width: 904px;
61
- max-width: 904px;
62
- }
63
-
64
- @include widescreen {
65
- width: 1160px;
66
- max-width: 1160px;
67
- }
68
-
69
- @include fullhd {
70
- width: 1308px;
71
- max-width: 1308px;
72
- }
73
- }
74
-
75
- &.is-fluid {
76
- @include fullhd {
77
- margin: 0 auto;
78
- max-width: $fullhd - 2 * $gap;
79
- }
80
- }
81
-
82
52
  &.is-medium {
83
53
  max-width: 960px;
84
54
  margin: auto;
@@ -95,14 +65,12 @@ header .navbar,
95
65
  header,
96
66
  footer {
97
67
  > .container {
98
- &.is-fluid {
99
- @include desktop {
100
- margin: 0 auto;
101
- }
68
+ @include desktop {
69
+ margin: 0 auto;
70
+ }
102
71
 
103
- @include fullhd {
104
- max-width: 100%;
105
- }
72
+ @include fullhd {
73
+ max-width: 100%;
106
74
  }
107
75
  }
108
76
  }