@trilogy-ds/styles 0.0.1-alpha-prompt

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 (145) hide show
  1. package/README.md +47 -0
  2. package/dist/default/assets/icons/all/alert.svg +1 -0
  3. package/dist/default/assets/icons/all/arrow-down.svg +1 -0
  4. package/dist/default/assets/icons/all/arrow-left.svg +1 -0
  5. package/dist/default/assets/icons/all/arrow-right.svg +1 -0
  6. package/dist/default/assets/icons/all/arrow-up.svg +1 -0
  7. package/dist/default/assets/icons/all/attachment.svg +1 -0
  8. package/dist/default/assets/icons/all/bell.svg +1 -0
  9. package/dist/default/assets/icons/all/calendar.svg +1 -0
  10. package/dist/default/assets/icons/all/check-circle.svg +1 -0
  11. package/dist/default/assets/icons/all/check.svg +1 -0
  12. package/dist/default/assets/icons/all/exclamation-circle.svg +1 -0
  13. package/dist/default/assets/icons/all/eye-slash.svg +1 -0
  14. package/dist/default/assets/icons/all/eye.svg +1 -0
  15. package/dist/default/assets/icons/all/file-attached.svg +1 -0
  16. package/dist/default/assets/icons/all/infos-circle.svg +1 -0
  17. package/dist/default/assets/icons/all/micro.svg +1 -0
  18. package/dist/default/assets/icons/all/search.svg +1 -0
  19. package/dist/default/assets/icons/all/times.svg +1 -0
  20. package/dist/default/assets/icons/all/trash.svg +1 -0
  21. package/dist/default/trilogy-mangled.css +1 -0
  22. package/dist/default/trilogy-partials.css +1 -0
  23. package/dist/default/trilogy.css +1 -0
  24. package/framework/src/_all.scss +8 -0
  25. package/framework/src/base/_all.scss +9 -0
  26. package/framework/src/base/_color.scss +7 -0
  27. package/framework/src/base/_elements.scss +34 -0
  28. package/framework/src/base/_fonts.scss +2 -0
  29. package/framework/src/base/_generic.scss +76 -0
  30. package/framework/src/base/_helpers.scss +875 -0
  31. package/framework/src/base/_loading.scss +109 -0
  32. package/framework/src/base/_reset.scss +148 -0
  33. package/framework/src/components/_accordion.scss +144 -0
  34. package/framework/src/components/_autocomplete.scss +38 -0
  35. package/framework/src/components/_autolayout.scss +332 -0
  36. package/framework/src/components/_badge.scss +87 -0
  37. package/framework/src/components/_box.scss +168 -0
  38. package/framework/src/components/_breadcrumb.scss +36 -0
  39. package/framework/src/components/_button.scss +79 -0
  40. package/framework/src/components/_calendar.scss +129 -0
  41. package/framework/src/components/_card.scss +244 -0
  42. package/framework/src/components/_checkbox.scss +71 -0
  43. package/framework/src/components/_chips.scss +84 -0
  44. package/framework/src/components/_container.scss +69 -0
  45. package/framework/src/components/_countdown.scss +57 -0
  46. package/framework/src/components/_date-picker.scss +58 -0
  47. package/framework/src/components/_divider.scss +52 -0
  48. package/framework/src/components/_dropdown.scss +195 -0
  49. package/framework/src/components/_fab.scss +47 -0
  50. package/framework/src/components/_flex-box.scss +994 -0
  51. package/framework/src/components/_icon.scss +384 -0
  52. package/framework/src/components/_image.scss +69 -0
  53. package/framework/src/components/_index.scss +51 -0
  54. package/framework/src/components/_link.scss +58 -0
  55. package/framework/src/components/_list.scss +66 -0
  56. package/framework/src/components/_loader.scss +126 -0
  57. package/framework/src/components/_modal.scss +232 -0
  58. package/framework/src/components/_otp.scss +73 -0
  59. package/framework/src/components/_pagination.scss +83 -0
  60. package/framework/src/components/_popover.scss +340 -0
  61. package/framework/src/components/_price.scss +184 -0
  62. package/framework/src/components/_product-tour.scss +129 -0
  63. package/framework/src/components/_prompt.scss +125 -0
  64. package/framework/src/components/_radio.scss +82 -0
  65. package/framework/src/components/_range.scss +85 -0
  66. package/framework/src/components/_scroll-view.scss +19 -0
  67. package/framework/src/components/_segmented-control.scss +62 -0
  68. package/framework/src/components/_select.scss +131 -0
  69. package/framework/src/components/_stepper.scss +217 -0
  70. package/framework/src/components/_sticker.scss +148 -0
  71. package/framework/src/components/_switch.scss +115 -0
  72. package/framework/src/components/_table.scss +244 -0
  73. package/framework/src/components/_tabs.scss +228 -0
  74. package/framework/src/components/_tag.scss +114 -0
  75. package/framework/src/components/_text.scss +55 -0
  76. package/framework/src/components/_textarea.scss +46 -0
  77. package/framework/src/components/_timeline.scss +282 -0
  78. package/framework/src/components/_title.scss +151 -0
  79. package/framework/src/components/alert/_alert.scss +94 -0
  80. package/framework/src/components/alert/_index.scss +2 -0
  81. package/framework/src/components/alert/_toaster.scss +124 -0
  82. package/framework/src/components/input/_entry.scss +135 -0
  83. package/framework/src/components/input/_form.scss +602 -0
  84. package/framework/src/components/input/_index.scss +4 -0
  85. package/framework/src/components/input/_input-gauge.scss +44 -0
  86. package/framework/src/components/input/_input-icons.scss +55 -0
  87. package/framework/src/components/progress/_index.scss +2 -0
  88. package/framework/src/components/progress/_progress-radial.scss +28 -0
  89. package/framework/src/components/progress/_progress.scss +223 -0
  90. package/framework/src/elements/_index.scss +5 -0
  91. package/framework/src/elements/_other.scss +3 -0
  92. package/framework/src/elements/_plus-symbol.scss +32 -0
  93. package/framework/src/grid/_all.scss +3 -0
  94. package/framework/src/grid/_columns.scss +467 -0
  95. package/framework/src/grid/_rows.scss +54 -0
  96. package/framework/src/grid/_tiles.scss +78 -0
  97. package/framework/src/layout/_all.scss +5 -0
  98. package/framework/src/layout/_hero.scss +146 -0
  99. package/framework/src/layout/_main.scss +36 -0
  100. package/framework/src/layout/_section.scss +46 -0
  101. package/framework/src/theming/_all.scss +3 -0
  102. package/framework/src/theming/buttons_partial.scss +32 -0
  103. package/framework/src/theming/common_partials.scss +10 -0
  104. package/framework/src/theming/links_partial.scss +20 -0
  105. package/framework/src/trilogy-core.scss +16 -0
  106. package/framework/src/trilogy-mangled.scss +14 -0
  107. package/framework/src/trilogy-namespaced.scss +14 -0
  108. package/framework/src/trilogy.scss +8 -0
  109. package/framework/src/utilities/_a11y.scss +13 -0
  110. package/framework/src/utilities/_all.scss +13 -0
  111. package/framework/src/utilities/_animations.scss +71 -0
  112. package/framework/src/utilities/_background.scss +21 -0
  113. package/framework/src/utilities/_controls.scss +56 -0
  114. package/framework/src/utilities/_derived-variables.scss +1 -0
  115. package/framework/src/utilities/_functions.scss +94 -0
  116. package/framework/src/utilities/_initial-variables.scss +10 -0
  117. package/framework/src/utilities/_post.scss +6 -0
  118. package/framework/src/utilities/_pre.scss +8 -0
  119. package/framework/src/utilities/_spacing.scss +10 -0
  120. package/framework/src/utilities/_tools.scss +3 -0
  121. package/framework/src/utilities/mixins/_arrow.scss +21 -0
  122. package/framework/src/utilities/mixins/_delete.scss +86 -0
  123. package/framework/src/utilities/mixins/_index.scss +11 -0
  124. package/framework/src/utilities/mixins/_markup-group.scss +27 -0
  125. package/framework/src/utilities/mixins/_mixins.scss +294 -0
  126. package/framework/src/utilities/mixins/_overlay.scss +7 -0
  127. package/framework/src/utilities/mixins/_pattern.scss +10 -0
  128. package/framework/src/utilities/mixins/_responsiveness.scss +174 -0
  129. package/framework/src/utilities/mixins/_spinner.scss +12 -0
  130. package/framework/src/utilities/mixins/_state.scss +25 -0
  131. package/framework/src/utilities/mixins/_unselectable.scss +10 -0
  132. package/framework/src/utilities/mixins/_utils.scss +24 -0
  133. package/framework/src/utilities/variables/_animation.scss +2 -0
  134. package/framework/src/utilities/variables/_color.scss +85 -0
  135. package/framework/src/utilities/variables/_font.scss +97 -0
  136. package/framework/src/utilities/variables/_index.scss +6 -0
  137. package/framework/src/utilities/variables/_responsiveness.scss +7 -0
  138. package/framework/src/utilities/variables/_shadow.scss +3 -0
  139. package/framework/src/utilities/variables/_zindex.scss +14 -0
  140. package/package.json +28 -0
  141. package/themes/default/src/_all.scss +1 -0
  142. package/themes/default/src/assets.scss +11 -0
  143. package/themes/default/src/utilities/_all.scss +0 -0
  144. package/themes/default/src/utilities/_post.scss +0 -0
  145. package/themes/default/src/utilities/_pre.scss +3 -0
@@ -0,0 +1,94 @@
1
+ @use "sass:math";
2
+ @import "./derived-variables";
3
+
4
+ @function encodecolor($string) {
5
+ @if type-of($string) == 'string' and str-index($string, '#') == 1 {
6
+ @return '%23' + str-slice( $string, 2);
7
+ }
8
+
9
+ @if type-of($string) == 'color' and str-index(#{$string}, '#') == 1 {
10
+ $hex: str-slice(ie-hex-str($string), 4);
11
+ $string: unquote('#{$hex}');
12
+ @return '%23' + $string;
13
+ }
14
+
15
+ @return $string;
16
+ }
17
+
18
+ @function powernumber($number, $exp) {
19
+ $value: 1;
20
+
21
+ @if $exp > 0 {
22
+ @for $i from 1 through $exp {
23
+ $value: $value * $number;
24
+ }
25
+ }
26
+
27
+ @else if $exp < 0 {
28
+ @for $i from 1 through -$exp {
29
+ $value: math.div($value, $number);
30
+ }
31
+ }
32
+
33
+ @return $value;
34
+ }
35
+
36
+ @function colorLuminance($color) {
37
+ $color-rgb: ("red": red($color), "green": green($color), "blue": blue($color));
38
+
39
+ @each $name, $value in $color-rgb {
40
+ $adjusted: 0;
41
+ $value: math.div($value, 255);
42
+
43
+ @if $value < 0.03928 {
44
+ $value: math.div($value, 12.92);
45
+ }
46
+
47
+ @else {
48
+ $value: math.div($value + 0.055, 1.055);
49
+ $value: powernumber($value, 2);
50
+ }
51
+
52
+ $color-rgb: map-merge($color-rgb, ($name: $value));
53
+ }
54
+
55
+ @return map-get($color-rgb, "red") * 0.2126 + map-get($color-rgb, "green") * 0.7152 + map-get($color-rgb, "blue") * 0.0722;
56
+ }
57
+
58
+ /// Remove the unit of a length
59
+ /// @param {Number} $number - Number to remove unit from
60
+ /// @return {Number} - Unitless number
61
+ @function strip-unit($number) {
62
+ @if type-of($number) == 'number' and not unitless($number) {
63
+ @return math.div($number, $number * 0 + 1);
64
+ }
65
+
66
+ @return $number;
67
+ }
68
+
69
+ @function num($input) {
70
+ @if type-of($input) != number {
71
+ @return null;
72
+ }
73
+
74
+ @return math.div($input, $input*0+1);
75
+ }
76
+
77
+ @function size($size) {
78
+ @if $font-convert-to-px {
79
+ /* stylelint-disable */
80
+ $pxSize: num($size * $font-ratio * 10) + 0px;
81
+
82
+ @return $pxSize;
83
+ }
84
+
85
+ @else {
86
+ $remSize: $size * $font-ratio;
87
+
88
+ @return $remSize;
89
+ }
90
+ }
91
+
92
+ @function zindex($key) {
93
+ @return map-get($zindex, $key);
94
+ }
@@ -0,0 +1,10 @@
1
+ @import './variables';
2
+
3
+ $hoverSelector: "&:hover:not([disabled]):not([aria-disabled=true])";
4
+
5
+ // Radius
6
+ $radius-small: 4px !default;
7
+ $radius: 8px !default;
8
+
9
+ // Arrow size
10
+ $arrow-size: 15px;
@@ -0,0 +1,6 @@
1
+ @charset "utf-8";
2
+ // Mixins can not be redefined
3
+
4
+ @import 'mixins';
5
+ @import 'animations';
6
+ @import 'controls';
@@ -0,0 +1,8 @@
1
+ @charset "utf-8";
2
+ /* Variables can be redefined */
3
+
4
+ @import 'initial-variables';
5
+ @import '../theming/_all';
6
+ @import 'derived-variables';
7
+ @import 'a11y';
8
+
@@ -0,0 +1,10 @@
1
+ $spacing-1: 4px;
2
+ $spacing-2: 8px;
3
+ $spacing-3: 12px;
4
+ $spacing-4: 16px;
5
+ $spacing-5: 24px;
6
+ $spacing-6: 32px;
7
+ $spacing-7: 40px;
8
+ $spacing-8: 48px;
9
+ $spacing-9: 56px;
10
+ $spacing-10: 64px;
@@ -0,0 +1,3 @@
1
+ @charset "utf-8";
2
+
3
+ @import "functions";
@@ -0,0 +1,21 @@
1
+ @import "./../initial-variables";
2
+
3
+ @mixin arrow( $direction: 'down') {
4
+ background-color: currentColor;
5
+ content: "";
6
+ mask-image: url('./assets/icons/all/arrow-down.svg');
7
+
8
+ @if $direction == 'up' {
9
+ rotate: 180deg;
10
+ } @else if $direction == 'left' {
11
+ rotate: 90deg;
12
+ } @else if $direction == 'right' {
13
+ rotate: 270deg;
14
+ }
15
+
16
+ min-width: $arrow-size;
17
+ min-height: $arrow-size;
18
+ mask-size: $arrow-size;
19
+ position: absolute;
20
+ display: inline-block;
21
+ }
@@ -0,0 +1,86 @@
1
+ %delete {
2
+ @extend %unselectable;
3
+
4
+ -moz-appearance: none;
5
+ -webkit-appearance: none;
6
+ background-color: rgba(black, 0.2);
7
+ border: none;
8
+ border-radius: 9999px;
9
+ cursor: pointer;
10
+ display: inline-block;
11
+ flex-grow: 0;
12
+ flex-shrink: 0;
13
+ font-size: 0;
14
+ height: 20px;
15
+ max-height: 20px;
16
+ max-width: 20px;
17
+ min-height: 20px;
18
+ min-width: 20px;
19
+ outline: none;
20
+ position: relative;
21
+ vertical-align: top;
22
+ width: 20px;
23
+
24
+ &::before,
25
+ &::after {
26
+ background-color: #fff;
27
+ content: '';
28
+ display: block;
29
+ left: 50%;
30
+ position: absolute;
31
+ top: 50%;
32
+ transform: translateX(-50%) translateY(-50%) rotate(45deg);
33
+ transform-origin: center center;
34
+ }
35
+
36
+ &::before {
37
+ height: 2px;
38
+ width: 50%;
39
+ }
40
+
41
+ &::after {
42
+ height: 50%;
43
+ width: 2px;
44
+ }
45
+
46
+ &:hover,
47
+ &:focus {
48
+ background-color: rgba(black, 0.3);
49
+ }
50
+
51
+ &:active {
52
+ background-color: rgba(black, 0.4);
53
+ }
54
+
55
+ // Sizes
56
+ &.is-small {
57
+ height: 16px;
58
+ max-height: 16px;
59
+ max-width: 16px;
60
+ min-height: 16px;
61
+ min-width: 16px;
62
+ width: 16px;
63
+ }
64
+
65
+ &.is-medium {
66
+ height: 24px;
67
+ max-height: 24px;
68
+ max-width: 24px;
69
+ min-height: 24px;
70
+ min-width: 24px;
71
+ width: 24px;
72
+ }
73
+
74
+ &.is-large {
75
+ height: 32px;
76
+ max-height: 32px;
77
+ max-width: 32px;
78
+ min-height: 32px;
79
+ min-width: 32px;
80
+ width: 32px;
81
+ }
82
+ }
83
+
84
+ @mixin delete {
85
+ @extend %delete;
86
+ }
@@ -0,0 +1,11 @@
1
+ @import "arrow";
2
+ @import "delete";
3
+ @import "markup-group";
4
+ @import "mixins";
5
+ @import "overlay";
6
+ @import "pattern";
7
+ @import "responsiveness";
8
+ @import "spinner";
9
+ @import "state";
10
+ @import "unselectable";
11
+ @import "utils";
@@ -0,0 +1,27 @@
1
+ @mixin text-tags() {
2
+ a,
3
+ span,
4
+ p,
5
+ i,
6
+ strong,
7
+ h1,
8
+ h2,
9
+ h3,
10
+ h4,
11
+ h5,
12
+ label,
13
+ h6 {
14
+ @content;
15
+ }
16
+ }
17
+
18
+ @mixin heading-tags() {
19
+ h1,
20
+ h2,
21
+ h3,
22
+ h4,
23
+ h5,
24
+ h6 {
25
+ @content;
26
+ }
27
+ }
@@ -0,0 +1,294 @@
1
+ @use "sass:string";
2
+ @import "../initial-variables";
3
+
4
+ @mixin center($width, $height: 0) {
5
+ position: absolute;
6
+
7
+ @if $height != 0 {
8
+ left: calc(50% - (#{$width} / 2));
9
+ top: calc(50% - (#{$height} / 2));
10
+ } @else {
11
+ left: calc(50% - (#{$width} / 2));
12
+ top: calc(50% - (#{$width} / 2));
13
+ }
14
+ }
15
+
16
+ @mixin label-states {
17
+ &:focus,
18
+ &:active,
19
+ &:hover {
20
+ @include hover();
21
+ }
22
+ }
23
+
24
+ // import sass bulma
25
+ @mixin input {
26
+ @include control;
27
+ height: 56px;
28
+ background-color: getColor('background');
29
+ border: var(--border);
30
+ color: getColor('font');
31
+
32
+ @include placeholder {
33
+ color: getColor('font-placeholder') !important;
34
+ opacity: 1 !important;
35
+ transition: all 0.2s ease-out;
36
+ }
37
+
38
+ @include hover();
39
+ }
40
+
41
+ @mixin checkbox-and-radio($type) {
42
+ //TILES WRAPPER
43
+ .#{$type}-tiles {
44
+ display: flex;
45
+ gap: 16px;
46
+ flex-wrap: wrap;
47
+ }
48
+
49
+ //BOTH
50
+ .#{$type},
51
+ .#{$type}-tile {
52
+ position: relative;
53
+
54
+ label.#{$type}-label {
55
+ cursor: pointer;
56
+ font-size: 14px;
57
+
58
+ &:before,
59
+ &:after {
60
+ content: '';
61
+ position: absolute;
62
+ width: 18px;
63
+ height: 18px;
64
+ }
65
+
66
+ &:before {
67
+ border: var(--border);
68
+ }
69
+ }
70
+
71
+ input {
72
+ opacity: 0;
73
+ position: absolute;
74
+ outline: none;
75
+
76
+ &:checked ~ label.#{$type}-label {
77
+ border-color: getColor('main');
78
+
79
+ &:before {
80
+ border-color: getColor('main');
81
+ }
82
+
83
+ &:after {
84
+ background-color: getColor('main');
85
+ }
86
+ }
87
+ &:focus-visible ~ label.#{$type}-label:before {
88
+ outline: 1px solid;
89
+ }
90
+
91
+ &:disabled,
92
+ &:disabled:checked {
93
+ & ~ label.checkbox-label {
94
+ &:after {
95
+ background-color: getColor('disabled-fade');
96
+ }
97
+ }
98
+ & ~ label.radio-label {
99
+ &:after {
100
+ background-color: getColor('disabled');
101
+ }
102
+ }
103
+ }
104
+
105
+ &:disabled {
106
+ & ~ label.#{$type}-label {
107
+ &:after {
108
+ background-color: transparent;
109
+ }
110
+ }
111
+ }
112
+ }
113
+ .divider {
114
+ &:not(.is-marginless) {
115
+ margin: $spacing-3 0;
116
+ }
117
+ }
118
+ }
119
+
120
+ // SIMPLE WITH LABEL ONLY
121
+ .#{$type} {
122
+ display: flex;
123
+ align-items: center;
124
+ width: fit-content;
125
+
126
+ input:disabled,
127
+ input:disabled:checked {
128
+ & ~ label.#{$type}-label {
129
+ @include disabledRulesWithoutBG;
130
+ }
131
+ }
132
+
133
+ label.#{$type}-label {
134
+ padding-left: calc(18px + $spacing-3);
135
+
136
+ &:before,
137
+ &:after {
138
+ top: 50%;
139
+ transform: translateY(-50%);
140
+ left: 0;
141
+ }
142
+ }
143
+
144
+ &:hover &:not(disabled) {
145
+ label.#{$type}-label {
146
+ &:before {
147
+ @include hoverRules();
148
+ }
149
+ }
150
+ }
151
+
152
+ &:focus {
153
+ border: 2px;
154
+ border-color: getColor('main');
155
+ }
156
+ }
157
+
158
+ //TILE ONLY
159
+ .#{$type}-tile {
160
+ position: relative;
161
+ max-width: 160px;
162
+ display: inline-block;
163
+ text-align: center;
164
+
165
+ input:disabled,
166
+ input:disabled:checked {
167
+ & ~ label.#{$type}-label {
168
+ @include disabledRules;
169
+ }
170
+ }
171
+ &:has(input:focus-visible) label.#{$type}-label{
172
+ outline: 1px solid;
173
+ }
174
+
175
+ &:first-child {
176
+ margin-left: 0;
177
+ }
178
+
179
+ &:last-child {
180
+ margin-right: 0;
181
+ }
182
+
183
+ label.#{$type}-label {
184
+ display: block;
185
+ position: relative;
186
+ padding: 40px 16px 16px;
187
+ border: var(--border);
188
+ border-radius: var(--radius);
189
+ box-sizing: border-box;
190
+ background-color: getColor('background');
191
+ height: 100%;
192
+
193
+ &:before {
194
+ top: 16px;
195
+ left: 16px;
196
+ }
197
+
198
+ span.#{$type}-title {
199
+ font-weight: bold;
200
+ width: 100%;
201
+ display: block;
202
+ font-size: 16px;
203
+ }
204
+ }
205
+
206
+ input {
207
+ &:not(:disabled):not(:checked) ~ label.radio-label {
208
+ @include label-states;
209
+ }
210
+
211
+ &:not(:disabled) ~ label.checkbox-label {
212
+ @include label-states;
213
+ }
214
+
215
+ &:checked:not(:disabled) ~ label.#{$type}-label {
216
+ border-color: getColor('main');
217
+ border-width: 2px;
218
+ padding: 15px;
219
+ padding-top: 39px;
220
+
221
+ &:before {
222
+ top: 15px;
223
+ left: 15px;
224
+ }
225
+
226
+ span.#{$type}-title {
227
+ color: getColor('main');
228
+ }
229
+ }
230
+
231
+ &:disabled {
232
+ & ~ label.#{$type}-label {
233
+ &:before {
234
+ border-color: getColor('disabled') !important;
235
+ }
236
+ }
237
+ }
238
+
239
+ &:disabled:checked ~ label.#{$type}-label {
240
+ .checkbox-title {
241
+ color: getColor('disabled');
242
+ }
243
+ }
244
+ }
245
+
246
+ .#{$type}-sticker {
247
+ position: absolute;
248
+ top: 0px;
249
+ right: 16px;
250
+ transform: translateY(-50%);
251
+ }
252
+
253
+ &.is-horizontal {
254
+ display: flex;
255
+ justify-content: space-between;
256
+ align-items: center;
257
+ max-width: unset;
258
+ width: 100%;
259
+ position: relative;
260
+
261
+ &.is-narrow {
262
+ width: fit-content;
263
+ }
264
+
265
+ input {
266
+ &:checked:not(:disabled) ~ label.#{$type}-label {
267
+ padding: ($spacing-4 - 1px) ($spacing-4 - 1px) ($spacing-4 - 1px) ($spacing-8 - 1px);
268
+ }
269
+
270
+ }
271
+
272
+ label.#{$type}-label {
273
+ width: 100%;
274
+ display: flex;
275
+ align-items: center;
276
+ justify-content: flex-start;
277
+ text-align: left;
278
+ padding: $spacing-4 $spacing-4 $spacing-4 $spacing-8;
279
+
280
+
281
+ &:before,
282
+ &:after {
283
+ top: 50% !important;
284
+ transform: translateY(-50%);
285
+ }
286
+ > .icon {
287
+ margin-right: $spacing-4;
288
+ }
289
+
290
+ }
291
+
292
+ }
293
+ }
294
+ }
@@ -0,0 +1,7 @@
1
+ @mixin overlay($offset: 0) {
2
+ position: absolute;
3
+ top: $offset;
4
+ bottom: $offset;
5
+ left: $offset;
6
+ right: $offset;
7
+ }
@@ -0,0 +1,10 @@
1
+ @mixin pattern-light($size, $x-pos: top, $y-pos: center) {
2
+ background-size: $size;
3
+ background-position: $x-pos $y-pos;
4
+ }
5
+
6
+ @mixin pattern-dark($size, $x-pos: top, $y-pos: center) {
7
+ background: linear-gradient(#1b3650, getColor('accent'));
8
+ background-size: auto, $size, auto;
9
+ background-position: top left, $x-pos $y-pos, top left;
10
+ }