@abstraks-dev/ui-library 1.0.1

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 (158) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +708 -0
  3. package/dist/__tests__/Anchor.test.js +145 -0
  4. package/dist/__tests__/ArrowRight.test.js +91 -0
  5. package/dist/__tests__/Avatar.test.js +123 -0
  6. package/dist/__tests__/Button.test.js +82 -0
  7. package/dist/__tests__/Card.test.js +198 -0
  8. package/dist/__tests__/CheckCircle.test.js +98 -0
  9. package/dist/__tests__/Checkbox.test.js +161 -0
  10. package/dist/__tests__/ChevronDown.test.js +73 -0
  11. package/dist/__tests__/Close.test.js +98 -0
  12. package/dist/__tests__/EditSquare.test.js +99 -0
  13. package/dist/__tests__/Error.test.js +74 -0
  14. package/dist/__tests__/Footer.test.js +66 -0
  15. package/dist/__tests__/Heading.test.js +227 -0
  16. package/dist/__tests__/Hero.test.js +74 -0
  17. package/dist/__tests__/Label.test.js +123 -0
  18. package/dist/__tests__/Loader.test.js +115 -0
  19. package/dist/__tests__/MenuHover.test.js +137 -0
  20. package/dist/__tests__/Paragraph.test.js +93 -0
  21. package/dist/__tests__/PlusCircle.test.js +99 -0
  22. package/dist/__tests__/Radio.test.js +153 -0
  23. package/dist/__tests__/Select.test.js +187 -0
  24. package/dist/__tests__/Tabs.test.js +162 -0
  25. package/dist/__tests__/TextArea.test.js +127 -0
  26. package/dist/__tests__/TextInput.test.js +181 -0
  27. package/dist/__tests__/Toggle.test.js +120 -0
  28. package/dist/__tests__/TrashX.test.js +99 -0
  29. package/dist/__tests__/useHeadingAccessibility.test.js +144 -0
  30. package/dist/components/Anchor.js +131 -0
  31. package/dist/components/Animation.js +129 -0
  32. package/dist/components/AnimationGroup.js +207 -0
  33. package/dist/components/AnimationToggle.js +216 -0
  34. package/dist/components/Avatar.js +153 -0
  35. package/dist/components/Button.js +218 -0
  36. package/dist/components/Card.js +222 -0
  37. package/dist/components/Checkbox.js +305 -0
  38. package/dist/components/Crud.js +564 -0
  39. package/dist/components/DragAndDrop.js +337 -0
  40. package/dist/components/Error.js +206 -0
  41. package/dist/components/Footer.js +99 -0
  42. package/dist/components/Form.js +412 -0
  43. package/dist/components/Header.js +372 -0
  44. package/dist/components/Heading.js +134 -0
  45. package/dist/components/Hero.js +181 -0
  46. package/dist/components/Label.js +256 -0
  47. package/dist/components/Loader.js +302 -0
  48. package/dist/components/MenuHover.js +114 -0
  49. package/dist/components/Paragraph.js +128 -0
  50. package/dist/components/Prompt.js +61 -0
  51. package/dist/components/Radio.js +254 -0
  52. package/dist/components/Select.js +422 -0
  53. package/dist/components/SideMenu.js +313 -0
  54. package/dist/components/Tabs.js +297 -0
  55. package/dist/components/TextArea.js +370 -0
  56. package/dist/components/TextInput.js +286 -0
  57. package/dist/components/Toggle.js +186 -0
  58. package/dist/components/crudFiles/CrudEditBase.js +150 -0
  59. package/dist/components/crudFiles/CrudViewBase.js +39 -0
  60. package/dist/components/crudFiles/crudDevelopment.js +118 -0
  61. package/dist/components/crudFiles/crudEditHandlers.js +50 -0
  62. package/dist/constants/animation.js +30 -0
  63. package/dist/icons/ArrowIcon.js +32 -0
  64. package/dist/icons/ArrowRight.js +33 -0
  65. package/dist/icons/CheckCircle.js +33 -0
  66. package/dist/icons/ChevronDown.js +28 -0
  67. package/dist/icons/Close.js +33 -0
  68. package/dist/icons/EditSquare.js +33 -0
  69. package/dist/icons/Ellipses.js +34 -0
  70. package/dist/icons/Hamburger.js +39 -0
  71. package/dist/icons/LoadingSpinner.js +42 -0
  72. package/dist/icons/PlusCircle.js +33 -0
  73. package/dist/icons/SaveIcon.js +32 -0
  74. package/dist/icons/TrashX.js +33 -0
  75. package/dist/icons/__tests__/CheckCircle.test.js +9 -0
  76. package/dist/icons/__tests__/ChevronDown.test.js +9 -0
  77. package/dist/icons/__tests__/Close.test.js +9 -0
  78. package/dist/icons/__tests__/EditSquare.test.js +9 -0
  79. package/dist/icons/__tests__/PlusCircle.test.js +9 -0
  80. package/dist/icons/__tests__/TrashX.test.js +9 -0
  81. package/dist/icons/index.js +89 -0
  82. package/dist/index.js +332 -0
  83. package/dist/setupTests.js +3 -0
  84. package/dist/styles/_variables.scss +286 -0
  85. package/dist/styles/anchor.scss +40 -0
  86. package/dist/styles/animation-accessibility.scss +96 -0
  87. package/dist/styles/animation-toggle.scss +233 -0
  88. package/dist/styles/animation.scss +3781 -0
  89. package/dist/styles/avatar.scss +285 -0
  90. package/dist/styles/button.scss +430 -0
  91. package/dist/styles/card.scss +210 -0
  92. package/dist/styles/checkbox.scss +160 -0
  93. package/dist/styles/crud.scss +474 -0
  94. package/dist/styles/dragAndDrop.scss +312 -0
  95. package/dist/styles/error.scss +232 -0
  96. package/dist/styles/footer.scss +58 -0
  97. package/dist/styles/form.scss +420 -0
  98. package/dist/styles/grid.scss +29 -0
  99. package/dist/styles/header.scss +276 -0
  100. package/dist/styles/heading.scss +118 -0
  101. package/dist/styles/hero.scss +185 -0
  102. package/dist/styles/htmlElements.scss +20 -0
  103. package/dist/styles/image.scss +9 -0
  104. package/dist/styles/label.scss +340 -0
  105. package/dist/styles/list-item.scss +5 -0
  106. package/dist/styles/loader.scss +354 -0
  107. package/dist/styles/logo.scss +19 -0
  108. package/dist/styles/main.css +9056 -0
  109. package/dist/styles/main.css.map +1 -0
  110. package/dist/styles/main.scss +0 -0
  111. package/dist/styles/menu-hover.scss +30 -0
  112. package/dist/styles/paragraph.scss +88 -0
  113. package/dist/styles/prompt.scss +51 -0
  114. package/dist/styles/radio.scss +202 -0
  115. package/dist/styles/select.scss +363 -0
  116. package/dist/styles/side-menu.scss +334 -0
  117. package/dist/styles/tabs.scss +540 -0
  118. package/dist/styles/text-area.scss +388 -0
  119. package/dist/styles/text-input.scss +171 -0
  120. package/dist/styles/toggle.scss +0 -0
  121. package/dist/styles/unordered-list.scss +8 -0
  122. package/dist/utils/ScrollHandler.js +30 -0
  123. package/dist/utils/accessibility.js +128 -0
  124. package/dist/utils/heroUtils.js +316 -0
  125. package/dist/utils/index.js +104 -0
  126. package/dist/utils/inputValidation.js +29 -0
  127. package/dist/utils/keyboardNavigation.js +536 -0
  128. package/dist/utils/labelUtils.js +708 -0
  129. package/dist/utils/loaderUtils.js +387 -0
  130. package/dist/utils/menuUtils.js +575 -0
  131. package/dist/utils/useHeadingAccessibility.js +298 -0
  132. package/dist/utils/useRadioGroup.js +260 -0
  133. package/dist/utils/useSelectAccessibility.js +426 -0
  134. package/dist/utils/useTabsAccessibility.js +278 -0
  135. package/dist/utils/useTextAreaAccessibility.js +255 -0
  136. package/dist/utils/useTextInputAccessibility.js +295 -0
  137. package/dist/utils/useTypographyAccessibility.js +168 -0
  138. package/dist/utils/useWindowSize.js +32 -0
  139. package/dist/utils/utils/ScrollHandler.js +26 -0
  140. package/dist/utils/utils/accessibility.js +133 -0
  141. package/dist/utils/utils/heroUtils.js +348 -0
  142. package/dist/utils/utils/index.js +9 -0
  143. package/dist/utils/utils/inputValidation.js +22 -0
  144. package/dist/utils/utils/keyboardNavigation.js +664 -0
  145. package/dist/utils/utils/labelUtils.js +772 -0
  146. package/dist/utils/utils/loaderUtils.js +436 -0
  147. package/dist/utils/utils/menuUtils.js +651 -0
  148. package/dist/utils/utils/useHeadingAccessibility.js +334 -0
  149. package/dist/utils/utils/useRadioGroup.js +311 -0
  150. package/dist/utils/utils/useSelectAccessibility.js +498 -0
  151. package/dist/utils/utils/useTabsAccessibility.js +316 -0
  152. package/dist/utils/utils/useTextAreaAccessibility.js +303 -0
  153. package/dist/utils/utils/useTextInputAccessibility.js +338 -0
  154. package/dist/utils/utils/useTypographyAccessibility.js +180 -0
  155. package/dist/utils/utils/useWindowSize.js +26 -0
  156. package/dist/utils/utils/validation.js +131 -0
  157. package/dist/utils/validation.js +139 -0
  158. package/package.json +90 -0
@@ -0,0 +1,312 @@
1
+ @use 'variables' as *;
2
+
3
+ // Mixin for accessible transitions
4
+ @mixin accessible-transition($property: all, $duration: 0.2s, $easing: ease) {
5
+ @media (prefers-reduced-motion: no-preference) {
6
+ transition: $property $duration $easing;
7
+ }
8
+ }
9
+
10
+ // Screen reader only content
11
+ .sr-only {
12
+ position: absolute;
13
+ width: 1px;
14
+ height: 1px;
15
+ padding: 0;
16
+ margin: -1px;
17
+ overflow: hidden;
18
+ clip: rect(0, 0, 0, 0);
19
+ white-space: nowrap;
20
+ border: 0;
21
+ }
22
+
23
+ .drag-and-drop {
24
+ // Focus outline for the container
25
+ &:focus-within {
26
+ outline: 2px solid $focus-color;
27
+ outline-offset: 2px;
28
+ border-radius: 4px;
29
+ }
30
+
31
+ ul {
32
+ margin: 0;
33
+ padding: 0;
34
+ list-style: none;
35
+ min-height: 40px; // Prevent layout collapse
36
+
37
+ // Responsive spacing
38
+ @media #{$medium} {
39
+ padding: 8px;
40
+ }
41
+
42
+ @media #{$large} {
43
+ padding: 12px;
44
+ }
45
+
46
+ @media #{$xlarge} {
47
+ padding: 16px;
48
+ }
49
+
50
+ li {
51
+ display: flex;
52
+ align-items: center;
53
+ cursor: move;
54
+ line-height: 1.4;
55
+ margin-bottom: 8px;
56
+ padding: 12px;
57
+ border-radius: 8px;
58
+ border: 2px solid transparent;
59
+ background-color: $color-white;
60
+ position: relative;
61
+ @include accessible-transition();
62
+
63
+ // Enhanced responsive design
64
+ @media #{$medium} {
65
+ padding: 16px;
66
+ margin-bottom: 12px;
67
+ }
68
+
69
+ @media #{$large} {
70
+ padding: 20px;
71
+ margin-bottom: 16px;
72
+ }
73
+
74
+ // Focus styles for keyboard navigation
75
+ &:focus {
76
+ outline: 3px solid $focus-color;
77
+ outline-offset: 2px;
78
+ border-color: $focus-color;
79
+ box-shadow: 0 0 0 1px rgba(77, 144, 254, 0.2);
80
+ }
81
+
82
+ // Being dragged state
83
+ &.being-dragged {
84
+ opacity: 0.6;
85
+ transform: scale(0.98);
86
+ border-color: $color-primary;
87
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
88
+
89
+ @media (prefers-reduced-motion: reduce) {
90
+ transform: none;
91
+ opacity: 0.8;
92
+ }
93
+ }
94
+
95
+ // Drop target styles
96
+ &.dropArea {
97
+ background-color: rgba($color-primary, 0.1);
98
+ border-color: $color-primary;
99
+ border-style: dashed;
100
+ position: relative;
101
+
102
+ &::before {
103
+ content: 'Drop Here';
104
+ color: $color-primary;
105
+ font-size: 0.875rem;
106
+ font-weight: 600;
107
+ text-transform: uppercase;
108
+ letter-spacing: 0.05em;
109
+ width: 100%;
110
+ height: 100%;
111
+ border: 2px dashed $color-primary;
112
+ border-radius: 6px;
113
+ position: absolute;
114
+ top: 0;
115
+ left: 0;
116
+ display: flex;
117
+ justify-content: center;
118
+ align-items: center;
119
+ background-color: rgba($color-primary, 0.05);
120
+ @include accessible-transition();
121
+ }
122
+
123
+ span {
124
+ opacity: 0.3;
125
+ }
126
+
127
+ p {
128
+ opacity: 0.3;
129
+ margin-left: 1em;
130
+ }
131
+
132
+ // Enhanced visibility for high contrast
133
+ @media (prefers-contrast: high) {
134
+ &::before {
135
+ border-width: 3px;
136
+ background-color: $color-primary;
137
+ color: $color-white;
138
+ }
139
+ }
140
+ }
141
+
142
+ // Hover effects
143
+ &:hover:not(.dropArea):not(.being-dragged) {
144
+ background: linear-gradient(135deg, $color-primary, $color-secondary);
145
+ color: $color-white;
146
+ transform: translateY(-2px);
147
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
148
+
149
+ @media (prefers-reduced-motion: reduce) {
150
+ transform: none;
151
+ }
152
+
153
+ span {
154
+ background-color: rgba($color-white, 0.2);
155
+ color: $color-white;
156
+ }
157
+ }
158
+
159
+ // Number badge
160
+ span {
161
+ display: inline-block;
162
+ margin-right: 1em;
163
+ margin-left: 0;
164
+ background-color: $color-secondary;
165
+ width: 2.5em;
166
+ height: 2.5em;
167
+ border-radius: 50%;
168
+ display: grid;
169
+ place-items: center;
170
+ color: $color-white;
171
+ font-weight: 700;
172
+ font-size: 0.875rem;
173
+ @include accessible-transition(background-color);
174
+
175
+ // Responsive sizing
176
+ @media #{$medium} {
177
+ width: 3em;
178
+ height: 3em;
179
+ font-size: 1rem;
180
+ }
181
+
182
+ @media #{$large} {
183
+ width: 3.5em;
184
+ height: 3.5em;
185
+ font-size: 1.125rem;
186
+ }
187
+ }
188
+
189
+ // Content text
190
+ p {
191
+ margin: 0;
192
+ font-weight: 500;
193
+ color: $color-font-body;
194
+ flex: 1;
195
+ @include accessible-transition(margin-left);
196
+
197
+ @media #{$medium} {
198
+ font-size: 1.125rem;
199
+ }
200
+
201
+ @media #{$large} {
202
+ font-size: 1.25rem;
203
+ }
204
+ }
205
+
206
+ // Drag handle icon (if added)
207
+ i {
208
+ margin-left: auto;
209
+ margin-right: 1em;
210
+ color: $color-secondary;
211
+ opacity: 0.6;
212
+ @include accessible-transition(opacity);
213
+
214
+ &:hover {
215
+ opacity: 1;
216
+ }
217
+ }
218
+ }
219
+ }
220
+
221
+ // Animations for smooth interactions
222
+ @keyframes fadeIn {
223
+ 0% {
224
+ opacity: 0.2;
225
+ transform: translateY(10px);
226
+ }
227
+ 100% {
228
+ opacity: 1;
229
+ transform: translateY(0);
230
+ }
231
+ }
232
+
233
+ @keyframes slideInFromLeft {
234
+ 0% {
235
+ opacity: 0;
236
+ transform: translateX(-20px);
237
+ }
238
+ 100% {
239
+ opacity: 1;
240
+ transform: translateX(0);
241
+ }
242
+ }
243
+
244
+ // Apply animations only if motion is preferred
245
+ @media (prefers-reduced-motion: no-preference) {
246
+ li {
247
+ animation: fadeIn 0.3s ease-out;
248
+ }
249
+
250
+ li:nth-child(odd) {
251
+ animation: slideInFromLeft 0.4s ease-out;
252
+ }
253
+ }
254
+
255
+ // High contrast mode adjustments
256
+ @media (prefers-contrast: high) {
257
+ ul li {
258
+ border: 2px solid $color-black;
259
+ background-color: $color-white;
260
+
261
+ &:focus {
262
+ border-color: $color-black;
263
+ outline: 3px solid $color-black;
264
+ background-color: $color-white;
265
+ }
266
+
267
+ &:hover {
268
+ background-color: $color-black;
269
+ color: $color-white;
270
+ border-color: $color-white;
271
+
272
+ span {
273
+ background-color: $color-white;
274
+ color: $color-black;
275
+ }
276
+ }
277
+
278
+ &.dropArea {
279
+ background-color: $color-white;
280
+ border-color: $color-black;
281
+ border-width: 3px;
282
+
283
+ &::before {
284
+ color: $color-black;
285
+ border-color: $color-black;
286
+ border-width: 3px;
287
+ }
288
+ }
289
+ }
290
+ }
291
+
292
+ // Dark mode support (if implemented)
293
+ @media (prefers-color-scheme: dark) {
294
+ ul li {
295
+ background-color: #2d3748;
296
+ color: $color-white;
297
+ border-color: #4a5568;
298
+
299
+ &:hover {
300
+ background-color: #4a5568;
301
+ }
302
+
303
+ &.dropArea {
304
+ background-color: rgba($color-primary, 0.2);
305
+ }
306
+
307
+ p {
308
+ color: #e2e8f0;
309
+ }
310
+ }
311
+ }
312
+ }
@@ -0,0 +1,232 @@
1
+ @use 'variables' as *;
2
+ @use 'sass:color';
3
+
4
+ // Accessible transition mixin for smooth animations
5
+ @mixin accessible-transition($property: all, $duration: 0.2s, $easing: ease) {
6
+ @media (prefers-reduced-motion: no-preference) {
7
+ transition: $property $duration $easing;
8
+ }
9
+ }
10
+
11
+ .error {
12
+ display: flex;
13
+ align-items: center;
14
+ gap: 0.5rem;
15
+ padding: 0.75rem 1rem;
16
+ border-radius: 0.375rem;
17
+ font-family: inherit;
18
+ font-size: 0.875rem;
19
+ font-weight: 500;
20
+ line-height: 1.4;
21
+ margin: 0.5rem 0;
22
+ position: relative;
23
+
24
+ @include accessible-transition();
25
+
26
+ // Focus styles for keyboard navigation
27
+ &:focus-within {
28
+ outline: 2px solid $focus-color;
29
+ outline-offset: 2px;
30
+ }
31
+
32
+ // Base icon styling
33
+ &__icon {
34
+ flex-shrink: 0;
35
+ font-size: 1rem;
36
+ line-height: 1;
37
+ }
38
+
39
+ &__text {
40
+ flex-grow: 1;
41
+ word-wrap: break-word;
42
+ overflow-wrap: break-word;
43
+ }
44
+
45
+ &__dismiss {
46
+ background: none;
47
+ border: none;
48
+ color: inherit;
49
+ cursor: pointer;
50
+ font-size: 1.25rem;
51
+ font-weight: bold;
52
+ line-height: 1;
53
+ padding: 0;
54
+ margin-left: 0.5rem;
55
+ opacity: 0.7;
56
+ flex-shrink: 0;
57
+
58
+ @include accessible-transition(opacity);
59
+
60
+ &:hover,
61
+ &:focus {
62
+ opacity: 1;
63
+ }
64
+
65
+ &:focus {
66
+ outline: 2px solid currentColor;
67
+ outline-offset: 2px;
68
+ }
69
+
70
+ // High contrast mode
71
+ @media (prefers-contrast: high) {
72
+ opacity: 1;
73
+ border: 1px solid currentColor;
74
+ padding: 0.125rem;
75
+ }
76
+ }
77
+
78
+ // Severity variants
79
+ &--error {
80
+ background-color: rgba($color-error, 0.1);
81
+ border: 1px solid rgba($color-error, 0.3);
82
+ color: $color-font-body;
83
+
84
+ // High contrast mode
85
+ @media (prefers-contrast: high) {
86
+ background-color: transparent;
87
+ border: 2px solid $color-error;
88
+ }
89
+ }
90
+
91
+ &--warning {
92
+ background-color: rgba($color-warning, 0.1);
93
+ border: 1px solid rgba($color-warning, 0.3);
94
+ color: $color-font-body;
95
+
96
+ @media (prefers-contrast: high) {
97
+ background-color: transparent;
98
+ border: 2px solid $color-warning;
99
+ }
100
+ }
101
+
102
+ &--info {
103
+ background-color: rgba($color-secondary, 0.1);
104
+ border: 1px solid rgba($color-secondary, 0.3);
105
+ color: $color-font-body;
106
+
107
+ @media (prefers-contrast: high) {
108
+ background-color: transparent;
109
+ border: 2px solid $color-secondary;
110
+ }
111
+ }
112
+
113
+ &--success {
114
+ background-color: rgba($color-success, 0.1);
115
+ border: 1px solid rgba($color-success, 0.3);
116
+ color: $color-font-body;
117
+
118
+ @media (prefers-contrast: high) {
119
+ background-color: transparent;
120
+ border: 2px solid $color-success;
121
+ }
122
+ }
123
+
124
+ // Size variants
125
+ &--small {
126
+ padding: 0.5rem 0.75rem;
127
+ font-size: 0.75rem;
128
+ gap: 0.375rem;
129
+
130
+ .error__icon {
131
+ font-size: 0.875rem;
132
+ }
133
+ }
134
+
135
+ &--medium {
136
+ // Default size styles already defined above
137
+ font-size: 0.875rem;
138
+ padding: 0.75rem 1rem;
139
+ }
140
+
141
+ &--large {
142
+ padding: 1rem 1.25rem;
143
+ font-size: 1rem;
144
+ gap: 0.625rem;
145
+
146
+ .error__icon {
147
+ font-size: 1.125rem;
148
+ }
149
+ }
150
+
151
+ // Responsive design with proper media queries
152
+ @media #{$medium} {
153
+ font-size: 0.9375rem;
154
+ padding: 0.8125rem 1.125rem;
155
+
156
+ &--small {
157
+ font-size: 0.8125rem;
158
+ padding: 0.5625rem 0.875rem;
159
+ }
160
+
161
+ &--large {
162
+ font-size: 1.0625rem;
163
+ padding: 1.125rem 1.375rem;
164
+ }
165
+ }
166
+
167
+ @media #{$large} {
168
+ max-width: none;
169
+
170
+ &__text {
171
+ // Improved text handling on larger screens
172
+ hyphens: auto;
173
+ }
174
+ }
175
+
176
+ @media #{$xlarge} {
177
+ &--large {
178
+ font-size: 1.125rem;
179
+ padding: 1.25rem 1.5rem;
180
+ }
181
+ }
182
+
183
+ // Dark mode support
184
+ @media (prefers-color-scheme: dark) {
185
+ &--error {
186
+ background-color: rgba($color-error, 0.2);
187
+ color: $color-font-body;
188
+ }
189
+
190
+ &--warning {
191
+ background-color: rgba($color-warning, 0.2);
192
+ color: $color-font-body;
193
+ }
194
+
195
+ &--info {
196
+ background-color: rgba($color-secondary, 0.2);
197
+ color: $color-font-body;
198
+ }
199
+
200
+ &--success {
201
+ background-color: rgba($color-success, 0.2);
202
+ color: $color-font-body;
203
+ }
204
+ }
205
+
206
+ // Print styles
207
+ @media print {
208
+ background-color: transparent !important;
209
+ color: black !important;
210
+ border: 1px solid black !important;
211
+ box-shadow: none !important;
212
+ }
213
+
214
+ // Form integration styles
215
+ &[aria-describedby] {
216
+ margin-top: 0.25rem;
217
+ margin-bottom: 0;
218
+ }
219
+
220
+ // Screen reader only text
221
+ .sr-only {
222
+ position: absolute;
223
+ width: 1px;
224
+ height: 1px;
225
+ padding: 0;
226
+ margin: -1px;
227
+ overflow: hidden;
228
+ clip: rect(0, 0, 0, 0);
229
+ white-space: nowrap;
230
+ border: 0;
231
+ }
232
+ }
@@ -0,0 +1,58 @@
1
+ @use 'variables' as *;
2
+
3
+ .footer {
4
+ width: 100%;
5
+ align-items: center;
6
+ flex-direction: row;
7
+ padding: 15px;
8
+
9
+ .navigation {
10
+ @media (min-width: 768px) {
11
+ display: inline-flex;
12
+ justify-content: flex-end;
13
+ }
14
+
15
+ .unordered-list {
16
+ display: flex;
17
+ flex-direction: column;
18
+
19
+ @media (min-width: 768px) {
20
+ display: inline-flex;
21
+ flex-direction: row;
22
+ align-items: center;
23
+ justify-content: flex-end;
24
+ padding: 0;
25
+ margin: 0;
26
+ }
27
+
28
+ &.auth-menu {
29
+ border-top: 1px solid $gray-200;
30
+ flex-direction: row;
31
+ justify-content: space-between;
32
+
33
+ .list-item {
34
+ display: inline-flex;
35
+ /* width: 25%; */
36
+ }
37
+ }
38
+
39
+ .list-item {
40
+ display: flex;
41
+
42
+ @media (min-width: 768px) {
43
+ display: inline-flex;
44
+ padding: 0 15px;
45
+ }
46
+ }
47
+ }
48
+
49
+ .anchor {
50
+ color: $gray-600;
51
+ text-decoration: none;
52
+
53
+ &:hover {
54
+ color: $color-font-body;
55
+ }
56
+ }
57
+ }
58
+ }