@shohojdhara/atomix 0.2.1 → 0.2.3

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 (201) hide show
  1. package/README.md +1 -28
  2. package/dist/atomix.css +1500 -241
  3. package/dist/atomix.min.css +6 -6
  4. package/dist/index.d.ts +1052 -194
  5. package/dist/index.esm.js +12201 -6066
  6. package/dist/index.esm.js.map +1 -1
  7. package/dist/index.js +5481 -2827
  8. package/dist/index.js.map +1 -1
  9. package/dist/index.min.js +1 -1
  10. package/dist/index.min.js.map +1 -1
  11. package/dist/themes/boomdevs.css +1500 -301
  12. package/dist/themes/boomdevs.min.css +60 -8
  13. package/dist/themes/esrar.css +1500 -241
  14. package/dist/themes/esrar.min.css +6 -6
  15. package/dist/themes/mashroom.css +1496 -237
  16. package/dist/themes/mashroom.min.css +8 -8
  17. package/dist/themes/shaj-default.css +1451 -192
  18. package/dist/themes/shaj-default.min.css +6 -6
  19. package/package.json +66 -15
  20. package/src/components/Accordion/Accordion.stories.tsx +137 -0
  21. package/src/components/Accordion/Accordion.tsx +33 -3
  22. package/src/components/AtomixGlass/AtomixGlass.stories.tsx +3011 -0
  23. package/src/components/AtomixGlass/AtomixGlass.test.tsx +199 -0
  24. package/src/components/AtomixGlass/AtomixGlass.tsx +1281 -0
  25. package/src/components/AtomixGlass/AtomixGlassComprehensivePreview.stories.tsx +1369 -0
  26. package/src/components/AtomixGlass/README.md +134 -0
  27. package/src/components/AtomixGlass/index.ts +10 -0
  28. package/src/components/AtomixGlass/shader-utils.ts +140 -0
  29. package/src/components/AtomixGlass/utils.ts +8 -0
  30. package/src/components/Badge/Badge.stories.tsx +169 -0
  31. package/src/components/Badge/Badge.tsx +27 -2
  32. package/src/components/Button/Button.stories.tsx +345 -0
  33. package/src/components/Button/Button.tsx +35 -3
  34. package/src/components/Button/README.md +216 -0
  35. package/src/components/Callout/Callout.stories.tsx +813 -78
  36. package/src/components/Callout/Callout.test.tsx +368 -0
  37. package/src/components/Callout/Callout.tsx +26 -7
  38. package/src/components/Callout/README.md +409 -0
  39. package/src/components/Card/Card.stories.tsx +140 -0
  40. package/src/components/Card/Card.tsx +19 -3
  41. package/src/components/DatePicker/DatePicker copy.tsx +551 -0
  42. package/src/components/DatePicker/DatePicker.stories.tsx +188 -0
  43. package/src/components/DatePicker/DatePicker.tsx +379 -332
  44. package/src/components/DatePicker/readme.md +110 -1
  45. package/src/components/DatePicker/types.ts +8 -0
  46. package/src/components/Dropdown/Dropdown.stories.tsx +145 -0
  47. package/src/components/Dropdown/Dropdown.tsx +34 -5
  48. package/src/components/Footer/Footer.stories.tsx +388 -0
  49. package/src/components/Footer/Footer.tsx +197 -0
  50. package/src/components/Footer/FooterLink.tsx +72 -0
  51. package/src/components/Footer/FooterSection.tsx +87 -0
  52. package/src/components/Footer/FooterSocialLink.tsx +117 -0
  53. package/src/components/Footer/README.md +261 -0
  54. package/src/components/Footer/index.ts +13 -0
  55. package/src/components/Form/Checkbox.stories.tsx +101 -0
  56. package/src/components/Form/Checkbox.tsx +26 -2
  57. package/src/components/Form/Input.stories.tsx +124 -0
  58. package/src/components/Form/Input.tsx +36 -7
  59. package/src/components/Form/Radio.stories.tsx +139 -0
  60. package/src/components/Form/Radio.tsx +26 -2
  61. package/src/components/Form/Select.stories.tsx +110 -0
  62. package/src/components/Form/Select.tsx +26 -2
  63. package/src/components/Form/Textarea.stories.tsx +104 -0
  64. package/src/components/Form/Textarea.tsx +36 -7
  65. package/src/components/Hero/Hero.stories.tsx +54 -1
  66. package/src/components/Hero/Hero.tsx +70 -11
  67. package/src/components/Modal/Modal.stories.tsx +235 -0
  68. package/src/components/Modal/Modal.tsx +64 -35
  69. package/src/components/Pagination/Pagination.stories.tsx +101 -0
  70. package/src/components/Pagination/Pagination.tsx +25 -1
  71. package/src/components/Popover/Popover.stories.tsx +94 -0
  72. package/src/components/Popover/Popover.tsx +30 -4
  73. package/src/components/Rating/Rating.stories.tsx +112 -0
  74. package/src/components/Rating/Rating.tsx +25 -1
  75. package/src/components/SectionIntro/SectionIntro.tsx +9 -11
  76. package/src/components/Slider/Slider.stories.tsx +634 -50
  77. package/src/components/Slider/Slider.tsx +5 -3
  78. package/src/components/Steps/Steps.stories.tsx +119 -0
  79. package/src/components/Steps/Steps.tsx +32 -1
  80. package/src/components/Tab/Tab.stories.tsx +88 -0
  81. package/src/components/Tab/Tab.tsx +32 -1
  82. package/src/components/Toggle/Toggle.stories.tsx +92 -0
  83. package/src/components/Toggle/Toggle.tsx +32 -1
  84. package/src/components/Tooltip/Tooltip.stories.tsx +131 -0
  85. package/src/components/Tooltip/Tooltip.tsx +43 -7
  86. package/src/components/VideoPlayer/VideoPlayer.stories.tsx +1002 -196
  87. package/src/components/VideoPlayer/VideoPlayer.tsx +161 -4
  88. package/src/components/index.ts +14 -0
  89. package/src/layouts/Grid/Grid.stories.tsx +226 -159
  90. package/src/lib/composables/index.ts +4 -0
  91. package/src/lib/composables/useAtomixGlass.ts +71 -0
  92. package/src/lib/composables/useButton.ts +3 -1
  93. package/src/lib/composables/useCallout.ts +4 -1
  94. package/src/lib/composables/useFooter.ts +85 -0
  95. package/src/lib/composables/useGlassContainer.ts +168 -0
  96. package/src/lib/composables/useSlider.ts +191 -4
  97. package/src/lib/constants/components.ts +173 -0
  98. package/src/lib/types/components.ts +622 -0
  99. package/src/lib/utils/displacement-generator.ts +86 -0
  100. package/src/styles/01-settings/_index.scss +1 -0
  101. package/src/styles/01-settings/_settings.accordion.scss +20 -19
  102. package/src/styles/01-settings/_settings.animations.scss +5 -5
  103. package/src/styles/01-settings/_settings.avatar-group.scss +1 -1
  104. package/src/styles/01-settings/_settings.avatar.scss +17 -18
  105. package/src/styles/01-settings/_settings.background.scss +10 -0
  106. package/src/styles/01-settings/_settings.badge.scss +1 -1
  107. package/src/styles/01-settings/_settings.breadcrumb.scss +8 -2
  108. package/src/styles/01-settings/_settings.callout.scss +7 -7
  109. package/src/styles/01-settings/_settings.card.scss +2 -2
  110. package/src/styles/01-settings/_settings.chart.scss +7 -7
  111. package/src/styles/01-settings/_settings.checkbox-group.scss +5 -2
  112. package/src/styles/01-settings/_settings.checkbox.scss +10 -4
  113. package/src/styles/01-settings/_settings.countdown.scss +6 -4
  114. package/src/styles/01-settings/_settings.dropdown.scss +9 -7
  115. package/src/styles/01-settings/_settings.edge-panel.scss +3 -2
  116. package/src/styles/01-settings/_settings.footer.scss +125 -0
  117. package/src/styles/01-settings/_settings.form-group.scss +3 -1
  118. package/src/styles/01-settings/_settings.form.scss +4 -2
  119. package/src/styles/01-settings/_settings.hero.scss +9 -7
  120. package/src/styles/01-settings/_settings.input.scss +9 -7
  121. package/src/styles/01-settings/_settings.list-group.scss +4 -2
  122. package/src/styles/01-settings/_settings.list.scss +4 -2
  123. package/src/styles/01-settings/_settings.menu.scss +10 -8
  124. package/src/styles/01-settings/_settings.messages.scss +19 -17
  125. package/src/styles/01-settings/_settings.modal.scss +6 -4
  126. package/src/styles/01-settings/_settings.nav.scss +6 -4
  127. package/src/styles/01-settings/_settings.navbar.scss +8 -5
  128. package/src/styles/01-settings/_settings.pagination.scss +5 -3
  129. package/src/styles/01-settings/_settings.popover.scss +6 -4
  130. package/src/styles/01-settings/_settings.rating.scss +5 -3
  131. package/src/styles/01-settings/_settings.river.scss +8 -6
  132. package/src/styles/01-settings/_settings.sectionintro.scss +8 -6
  133. package/src/styles/01-settings/_settings.select.scss +7 -5
  134. package/src/styles/01-settings/_settings.side-menu.scss +15 -13
  135. package/src/styles/01-settings/_settings.spacing.scss +4 -0
  136. package/src/styles/01-settings/_settings.steps.scss +7 -5
  137. package/src/styles/01-settings/_settings.tabs.scss +7 -5
  138. package/src/styles/01-settings/_settings.testimonials.scss +6 -4
  139. package/src/styles/01-settings/_settings.toggle.scss +3 -1
  140. package/src/styles/01-settings/_settings.tooltip.scss +5 -3
  141. package/src/styles/01-settings/_settings.upload.scss +22 -20
  142. package/src/styles/02-tools/_tools.animations.scss +19 -0
  143. package/src/styles/02-tools/_tools.background.scss +87 -0
  144. package/src/styles/02-tools/_tools.glass.scss +1 -0
  145. package/src/styles/02-tools/_tools.rem.scss +18 -5
  146. package/src/styles/02-tools/_tools.utility-api.scss +32 -26
  147. package/src/styles/03-generic/_generic.root.scss +15 -2
  148. package/src/styles/04-elements/_elements.body.scss +6 -0
  149. package/src/styles/06-components/_components.accordion.scss +24 -4
  150. package/src/styles/06-components/_components.atomix-glass.scss +0 -0
  151. package/src/styles/06-components/_components.avatar-group.scss +2 -1
  152. package/src/styles/06-components/_components.avatar.scss +2 -1
  153. package/src/styles/06-components/_components.badge.scss +36 -1
  154. package/src/styles/06-components/_components.breadcrumb.scss +2 -1
  155. package/src/styles/06-components/_components.button.scss +14 -3
  156. package/src/styles/06-components/_components.callout.scss +44 -4
  157. package/src/styles/06-components/_components.card.scss +21 -2
  158. package/src/styles/06-components/_components.chart.scss +3 -2
  159. package/src/styles/06-components/_components.checkbox.scss +2 -1
  160. package/src/styles/06-components/_components.color-mode-toggle.scss +3 -2
  161. package/src/styles/06-components/_components.countdown.scss +2 -1
  162. package/src/styles/06-components/_components.data-table.scss +7 -6
  163. package/src/styles/06-components/_components.datepicker.scss +20 -1
  164. package/src/styles/06-components/_components.dropdown.scss +11 -4
  165. package/src/styles/06-components/_components.edge-panel.scss +4 -3
  166. package/src/styles/06-components/_components.footer.scss +825 -0
  167. package/src/styles/06-components/_components.form-group.scss +1 -0
  168. package/src/styles/06-components/_components.hero.scss +4 -4
  169. package/src/styles/06-components/_components.image-gallery.scss +1 -0
  170. package/src/styles/06-components/_components.input.scss +33 -2
  171. package/src/styles/06-components/_components.list-group.scss +3 -2
  172. package/src/styles/06-components/_components.list.scss +2 -1
  173. package/src/styles/06-components/_components.menu.scss +5 -4
  174. package/src/styles/06-components/_components.messages.scss +8 -7
  175. package/src/styles/06-components/_components.modal.scss +3 -2
  176. package/src/styles/06-components/_components.nav.scss +6 -5
  177. package/src/styles/06-components/_components.navbar.scss +4 -3
  178. package/src/styles/06-components/_components.pagination.scss +2 -1
  179. package/src/styles/06-components/_components.photoviewer.scss +4 -3
  180. package/src/styles/06-components/_components.popover.scss +3 -2
  181. package/src/styles/06-components/_components.product-review.scss +3 -2
  182. package/src/styles/06-components/_components.progress.scss +3 -2
  183. package/src/styles/06-components/_components.river.scss +3 -2
  184. package/src/styles/06-components/_components.sectionintro.scss +2 -1
  185. package/src/styles/06-components/_components.select.scss +5 -4
  186. package/src/styles/06-components/_components.side-menu.scss +8 -7
  187. package/src/styles/06-components/_components.skeleton.scss +3 -2
  188. package/src/styles/06-components/_components.slider.scss +7 -6
  189. package/src/styles/06-components/_components.spinner.scss +1 -0
  190. package/src/styles/06-components/_components.steps.scss +3 -2
  191. package/src/styles/06-components/_components.tabs.scss +4 -3
  192. package/src/styles/06-components/_components.testimonials.scss +2 -1
  193. package/src/styles/06-components/_components.todo.scss +3 -2
  194. package/src/styles/06-components/_components.toggle.scss +5 -4
  195. package/src/styles/06-components/_components.tooltip.scss +3 -2
  196. package/src/styles/06-components/_components.upload.scss +4 -3
  197. package/src/styles/06-components/_components.video-player.scss +50 -27
  198. package/src/styles/06-components/_index.scss +2 -0
  199. package/src/styles/99-utilities/_utilities.glass-fixes.scss +48 -0
  200. package/dist/themes/yabai.css +0 -13711
  201. package/dist/themes/yabai.min.css +0 -189
@@ -0,0 +1,825 @@
1
+ @use '../01-settings/settings.config' as *;
2
+ @use '../01-settings/settings.footer' as *;
3
+ @use '../01-settings/settings.breakpoints' as breakpoints;
4
+ @use '../02-tools/tools.rem' as *;
5
+ @use '../02-tools/tools.media-queries' as media;
6
+ @use '../01-settings/settings.maps' as maps;
7
+ @use '../02-tools/tools.animations' as *;
8
+ @use '../02-tools/tools.background' as *;
9
+
10
+ .c-footer {
11
+ $root: &;
12
+
13
+ // CSS Custom Properties
14
+ --#{$prefix}footer-padding-x: #{rem($footer-padding-x)};
15
+ --#{$prefix}footer-padding-y: #{rem($footer-padding-y)};
16
+ --#{$prefix}footer-container-max-width: #{$footer-container-max-width};
17
+ --#{$prefix}footer-bg: #{$footer-bg};
18
+ --#{$prefix}footer-color: #{$footer-color};
19
+ --#{$prefix}footer-border-width: #{$footer-border-width};
20
+ --#{$prefix}footer-border-color: #{$footer-border-color};
21
+ --#{$prefix}footer-brand-margin-bottom: #{rem($footer-brand-margin-bottom)};
22
+ --#{$prefix}footer-section-margin-bottom: #{rem($footer-section-margin-bottom)};
23
+ --#{$prefix}footer-social-gap: #{rem($footer-social-gap)};
24
+ --#{$prefix}footer-newsletter-padding: #{rem($footer-newsletter-padding)};
25
+ --#{$prefix}footer-bottom-padding-top: #{rem($footer-bottom-padding-top)};
26
+ --#{$prefix}footer-bottom-margin-top: #{rem($footer-bottom-margin-top)};
27
+
28
+ // Base Styles
29
+ @include dynamic-background(var(--#{$prefix}footer-bg));
30
+ color: var(--#{$prefix}footer-color);
31
+ border-top: var(--#{$prefix}footer-border-width) solid var(--#{$prefix}footer-border-color);
32
+ padding: var(--#{$prefix}footer-padding-y) 0;
33
+ position: relative;
34
+
35
+ &__container {
36
+ display: flex;
37
+ flex-direction: column;
38
+ width: 100%;
39
+ max-width: var(--#{$prefix}footer-container-max-width);
40
+ margin: 0 auto;
41
+ padding: 0 var(--#{$prefix}footer-padding-x);
42
+ }
43
+
44
+ &__sections {
45
+ display: grid;
46
+ gap: var(--#{$prefix}footer-section-margin-bottom);
47
+ margin-bottom: var(--#{$prefix}footer-bottom-margin-top);
48
+ grid-template-columns: 1fr;
49
+
50
+ @include media.media-up('md') {
51
+ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
52
+ gap: clamp(2rem, 4vw, 3rem);
53
+ }
54
+ }
55
+
56
+ // Brand Section
57
+ &__brand {
58
+ margin-bottom: var(--#{$prefix}footer-brand-margin-bottom);
59
+
60
+ &-logo {
61
+ display: inline-block;
62
+ margin-bottom: 1rem;
63
+ transition: opacity 0.2s ease;
64
+
65
+ &:hover {
66
+ opacity: 0.8;
67
+ }
68
+
69
+ img {
70
+ max-width: #{$footer-brand-logo-max-width};
71
+ max-height: #{$footer-brand-logo-max-height};
72
+ height: auto;
73
+ object-fit: contain;
74
+ }
75
+ }
76
+
77
+ &-name {
78
+ h3 {
79
+ margin: 0;
80
+ font-size: clamp(1.25rem, 2.5vw, #{$footer-brand-name-font-size});
81
+ font-weight: #{$footer-brand-name-font-weight};
82
+ color: #{$footer-brand-name-color};
83
+ line-height: 1.2;
84
+ }
85
+ }
86
+
87
+ &-description {
88
+ margin-top: #{$footer-brand-description-margin-top};
89
+ font-size: #{$footer-brand-description-font-size};
90
+ color: #{$footer-brand-description-color};
91
+ line-height: 1.6;
92
+ max-width: 35ch;
93
+ }
94
+ }
95
+
96
+ // Section
97
+ &__section {
98
+ margin-bottom: var(--#{$prefix}footer-section-margin-bottom);
99
+
100
+ &-header {
101
+ margin-bottom: #{$footer-section-title-margin-bottom};
102
+
103
+ &-content {
104
+ display: flex;
105
+ align-items: center;
106
+ gap: 0.5rem;
107
+ }
108
+ }
109
+
110
+ &-toggle {
111
+ display: flex;
112
+ align-items: center;
113
+ justify-content: space-between;
114
+ width: 100%;
115
+ padding: 0.75rem 0;
116
+ background: none;
117
+ border: none;
118
+ cursor: pointer;
119
+ color: inherit;
120
+ font: inherit;
121
+ text-align: left;
122
+ border-radius: 0.25rem;
123
+ transition: color 0.2s ease;
124
+
125
+ &:hover {
126
+ color: var(--#{$prefix}primary);
127
+ }
128
+
129
+ &:focus-visible {
130
+ outline: 2px solid var(--#{$prefix}primary);
131
+ outline-offset: 2px;
132
+ }
133
+ }
134
+
135
+ &-title {
136
+ margin: 0;
137
+ font-size: #{$footer-section-title-font-size};
138
+ font-weight: #{$footer-section-title-font-weight};
139
+ color: #{$footer-section-title-color};
140
+ line-height: 1.3;
141
+ }
142
+
143
+ &-icon {
144
+ display: flex;
145
+ align-items: center;
146
+ margin-right: 0.5rem;
147
+ font-size: 1.1em;
148
+ }
149
+
150
+ &-chevron {
151
+ font-size: 0.875rem;
152
+ transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
153
+ color: var(--#{$prefix}text-muted);
154
+ }
155
+
156
+ &-content {
157
+ display: flex;
158
+ flex-direction: column;
159
+ gap: #{$footer-section-content-gap};
160
+ }
161
+
162
+ &--collapsible {
163
+ @include media.media-down('md') {
164
+ #{$root}__section-content {
165
+ overflow: hidden;
166
+ transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
167
+ }
168
+
169
+ &#{$root}__section--collapsed {
170
+ #{$root}__section-content {
171
+ max-height: 0;
172
+ }
173
+
174
+ #{$root}__section-chevron {
175
+ transform: rotate(-90deg);
176
+ }
177
+ }
178
+
179
+ &:not(#{$root}__section--collapsed) {
180
+ #{$root}__section-content {
181
+ max-height: 500px;
182
+ }
183
+ }
184
+ }
185
+
186
+ @include media.media-up('md') {
187
+ #{$root}__section-toggle {
188
+ pointer-events: none;
189
+ }
190
+
191
+ #{$root}__section-chevron {
192
+ display: none;
193
+ }
194
+ }
195
+ }
196
+ }
197
+
198
+ // Links
199
+ &__link {
200
+ display: inline-flex;
201
+ align-items: center;
202
+ gap: 0.5rem;
203
+ padding: #{$footer-link-padding};
204
+ color: #{$footer-link-color};
205
+ text-decoration: #{$footer-link-text-decoration};
206
+ transition: #{$footer-link-transition};
207
+ border-radius: 0.25rem;
208
+ position: relative;
209
+
210
+ &::before {
211
+ content: '';
212
+ position: absolute;
213
+ left: 0;
214
+ bottom: 0;
215
+ width: 0;
216
+ height: 2px;
217
+ background-color: var(--#{$prefix}primary);
218
+ transition: width 0.3s ease;
219
+ }
220
+
221
+ &:hover,
222
+ &:focus {
223
+ color: #{$footer-link-hover-color};
224
+ text-decoration: #{$footer-link-hover-text-decoration};
225
+
226
+ &::before {
227
+ width: 100%;
228
+ }
229
+ }
230
+
231
+ &:focus-visible {
232
+ outline: 2px solid var(--#{$prefix}primary);
233
+ outline-offset: 2px;
234
+ }
235
+
236
+ &--active {
237
+ color: #{$footer-link-active-color};
238
+ font-weight: 500;
239
+
240
+ &::before {
241
+ width: 100%;
242
+ }
243
+ }
244
+
245
+ &--disabled {
246
+ color: #{$footer-link-disabled-color};
247
+ cursor: not-allowed;
248
+ pointer-events: none;
249
+ opacity: 0.6;
250
+ }
251
+
252
+ &-icon {
253
+ display: flex;
254
+ align-items: center;
255
+ font-size: 0.875em;
256
+ transition: transform 0.2s ease;
257
+ }
258
+
259
+ &:hover &-icon {
260
+ transform: translateX(2px);
261
+ }
262
+
263
+ &-text {
264
+ flex: 1;
265
+ }
266
+
267
+ &-external {
268
+ font-size: 0.75em;
269
+ opacity: 0.7;
270
+ margin-left: auto;
271
+ }
272
+ }
273
+
274
+ // Social Links
275
+ &__social {
276
+ display: flex;
277
+ flex-wrap: wrap;
278
+ gap: var(--#{$prefix}footer-social-gap);
279
+ margin-top: #{$footer-social-margin-top};
280
+
281
+ &-link {
282
+ display: flex;
283
+ align-items: center;
284
+ justify-content: center;
285
+ width: #{$footer-social-link-size};
286
+ height: #{$footer-social-link-size};
287
+ @include dynamic-background(#{$footer-social-link-bg});
288
+ color: #{$footer-social-link-color};
289
+ border-radius: #{$footer-social-link-border-radius};
290
+ text-decoration: none;
291
+ transition: #{$footer-social-link-transition};
292
+ position: relative;
293
+ overflow: hidden;
294
+
295
+ &::before {
296
+ content: '';
297
+ position: absolute;
298
+ inset: 0;
299
+ background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
300
+ transform: translateX(-100%);
301
+ transition: transform 0.6s ease;
302
+ }
303
+
304
+ &:hover,
305
+ &:focus {
306
+ @include dynamic-background(#{$footer-social-link-hover-bg});
307
+ color: #{$footer-social-link-hover-color};
308
+ transform: translateY(-3px) scale(1.05);
309
+ box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
310
+
311
+ &::before {
312
+ transform: translateX(100%);
313
+ }
314
+ }
315
+
316
+ &:focus-visible {
317
+ outline: 2px solid var(--#{$prefix}primary);
318
+ outline-offset: 2px;
319
+ }
320
+
321
+ &--sm {
322
+ width: #{$footer-social-link-size-sm};
323
+ height: #{$footer-social-link-size-sm};
324
+ }
325
+
326
+ &--lg {
327
+ width: #{$footer-social-link-size-lg};
328
+ height: #{$footer-social-link-size-lg};
329
+ }
330
+
331
+ &--disabled {
332
+ opacity: 0.5;
333
+ cursor: not-allowed;
334
+ pointer-events: none;
335
+ }
336
+
337
+ &-icon {
338
+ font-size: 1.25em;
339
+ z-index: 1;
340
+ }
341
+
342
+ &-label {
343
+ position: absolute;
344
+ width: 1px;
345
+ height: 1px;
346
+ padding: 0;
347
+ margin: -1px;
348
+ overflow: hidden;
349
+ clip: rect(0, 0, 0, 0);
350
+ white-space: nowrap;
351
+ border: 0;
352
+ }
353
+
354
+ // Platform-specific colors with modern gradients
355
+ &--facebook:hover { background: linear-gradient(135deg, #1877f2, #42a5f5); }
356
+ &--twitter:hover { background: linear-gradient(135deg, #1da1f2, #64b5f6); }
357
+ &--instagram:hover { background: linear-gradient(135deg, #e4405f, #f06292, #ba68c8); }
358
+ &--linkedin:hover { background: linear-gradient(135deg, #0077b5, #42a5f5); }
359
+ &--youtube:hover { background: linear-gradient(135deg, #ff0000, #ff5722); }
360
+ &--github:hover { background: linear-gradient(135deg, #333, #666); }
361
+ &--discord:hover { background: linear-gradient(135deg, #5865f2, #7289da); }
362
+ &--tiktok:hover { background: linear-gradient(135deg, #000, #ff0050); }
363
+ &--whatsapp:hover { background: linear-gradient(135deg, #25d366, #66bb6a); }
364
+ }
365
+ }
366
+
367
+ // Newsletter
368
+ &__newsletter {
369
+ @include dynamic-background(linear-gradient(135deg, #{$footer-newsletter-bg}, rgba(#{$footer-newsletter-bg}, 0.8)));
370
+ padding: #{$footer-newsletter-padding};
371
+ border-radius: #{$footer-newsletter-border-radius};
372
+ border: 1px solid var(--#{$prefix}border-subtle);
373
+ position: relative;
374
+ overflow: hidden;
375
+
376
+ &::before {
377
+ content: '';
378
+ position: absolute;
379
+ top: 0;
380
+ left: 0;
381
+ right: 0;
382
+ height: 1px;
383
+ background: linear-gradient(90deg, transparent, var(--#{$prefix}primary), transparent);
384
+ }
385
+
386
+ &-title {
387
+ margin: 0 0 #{$footer-newsletter-title-margin-bottom} 0;
388
+ font-size: clamp(1.125rem, 2vw, #{$footer-newsletter-title-font-size});
389
+ font-weight: #{$footer-newsletter-title-font-weight};
390
+ color: #{$footer-newsletter-title-color};
391
+ line-height: 1.3;
392
+ }
393
+
394
+ &-description {
395
+ margin: 0 0 #{$footer-newsletter-description-margin-bottom} 0;
396
+ font-size: #{$footer-newsletter-description-font-size};
397
+ color: #{$footer-newsletter-description-color};
398
+ line-height: 1.6;
399
+ max-width: 45ch;
400
+ }
401
+
402
+ &-form {
403
+ display: flex;
404
+ gap: 0.75rem;
405
+ align-items: flex-end;
406
+
407
+ @include media.media-down('sm') {
408
+ flex-direction: column;
409
+ align-items: stretch;
410
+ }
411
+ }
412
+
413
+ &-input-group {
414
+ display: flex;
415
+ flex: 1;
416
+ gap: 0.75rem;
417
+ position: relative;
418
+
419
+ @include media.media-down('sm') {
420
+ flex-direction: column;
421
+ }
422
+ }
423
+
424
+ &-input {
425
+ flex: 1;
426
+ padding: #{$footer-newsletter-input-padding};
427
+ font-size: #{$footer-newsletter-input-font-size};
428
+ @include dynamic-background(#{$footer-newsletter-input-bg});
429
+ color: #{$footer-newsletter-input-color};
430
+ border: #{$footer-newsletter-input-border};
431
+ border-radius: #{$footer-newsletter-input-border-radius};
432
+ outline: none;
433
+ transition: all 0.3s ease;
434
+
435
+ &:focus {
436
+ border-color: #{$footer-newsletter-input-focus-border-color};
437
+ box-shadow: #{$footer-newsletter-input-focus-box-shadow};
438
+ transform: translateY(-1px);
439
+ }
440
+
441
+ &::placeholder {
442
+ color: var(--#{$prefix}text-muted);
443
+ transition: opacity 0.3s ease;
444
+ }
445
+
446
+ &:focus::placeholder {
447
+ opacity: 0.7;
448
+ }
449
+ }
450
+
451
+ &-button {
452
+ padding: #{$footer-newsletter-button-padding};
453
+ @include dynamic-background(#{$footer-newsletter-button-bg});
454
+ color: #{$footer-newsletter-button-color};
455
+ border: none;
456
+ border-radius: #{$footer-newsletter-button-border-radius};
457
+ font-weight: #{$footer-newsletter-button-font-weight};
458
+ cursor: pointer;
459
+ transition: #{$footer-newsletter-button-transition};
460
+ white-space: nowrap;
461
+ position: relative;
462
+ overflow: hidden;
463
+
464
+ &::before {
465
+ content: '';
466
+ position: absolute;
467
+ inset: 0;
468
+ background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
469
+ transform: translateX(-100%);
470
+ transition: transform 0.6s ease;
471
+ }
472
+
473
+ &:hover,
474
+ &:focus {
475
+ @include dynamic-background(#{$footer-newsletter-button-hover-bg});
476
+ transform: translateY(-2px);
477
+ box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
478
+
479
+ &::before {
480
+ transform: translateX(100%);
481
+ }
482
+ }
483
+
484
+ &:focus-visible {
485
+ outline: 2px solid var(--#{$prefix}primary);
486
+ outline-offset: 2px;
487
+ }
488
+ }
489
+ }
490
+
491
+ // Footer Bottom
492
+ &__bottom {
493
+ display: flex;
494
+ align-items: center;
495
+ justify-content: space-between;
496
+ padding-top: var(--#{$prefix}footer-bottom-padding-top);
497
+ border-top: #{$footer-bottom-border-top};
498
+ position: relative;
499
+
500
+ @include media.media-down('sm') {
501
+ flex-direction: column;
502
+ gap: 1.5rem;
503
+ text-align: center;
504
+ }
505
+ }
506
+
507
+ &__copyright {
508
+ font-size: #{$footer-copyright-font-size};
509
+ color: #{$footer-copyright-color};
510
+ line-height: 1.5;
511
+
512
+ a {
513
+ color: inherit;
514
+ text-decoration: underline;
515
+ text-decoration-color: transparent;
516
+ transition: text-decoration-color 0.3s ease;
517
+
518
+ &:hover,
519
+ &:focus {
520
+ text-decoration-color: currentColor;
521
+ }
522
+ }
523
+ }
524
+
525
+ &__back-to-top {
526
+ display: flex;
527
+ align-items: center;
528
+ gap: 0.5rem;
529
+ padding: 0.75rem 1.25rem;
530
+ @include dynamic-background(var(--#{$prefix}surface-variant));
531
+ border: 1px solid var(--#{$prefix}border-subtle);
532
+ color: #{$footer-back-to-top-color};
533
+ font-size: #{$footer-back-to-top-font-size};
534
+ font-weight: #{$footer-back-to-top-font-weight};
535
+ cursor: pointer;
536
+ transition: #{$footer-back-to-top-transition};
537
+ border-radius: 2rem;
538
+ position: relative;
539
+ overflow: hidden;
540
+
541
+ &::before {
542
+ content: '';
543
+ position: absolute;
544
+ inset: 0;
545
+ background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
546
+ transform: translateX(-100%);
547
+ transition: transform 0.6s ease;
548
+ }
549
+
550
+ &:hover,
551
+ &:focus {
552
+ color: #{$footer-back-to-top-hover-color};
553
+ @include dynamic-background(var(--#{$prefix}primary));
554
+ border-color: var(--#{$prefix}primary);
555
+ transform: translateY(-2px);
556
+ box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
557
+
558
+ &::before {
559
+ transform: translateX(100%);
560
+ }
561
+
562
+ #{$root}__back-to-top-icon {
563
+ transform: translateY(-2px);
564
+ }
565
+ }
566
+
567
+ &:focus-visible {
568
+ outline: 2px solid var(--#{$prefix}primary);
569
+ outline-offset: 2px;
570
+ }
571
+
572
+ &-icon {
573
+ font-size: 1.25em;
574
+ font-weight: bold;
575
+ transition: transform 0.3s ease;
576
+ }
577
+
578
+ &-text {
579
+ @include media.media-down('sm') {
580
+ display: none;
581
+ }
582
+ }
583
+ }
584
+
585
+ // Divider
586
+ &__divider {
587
+ margin: #{$footer-divider-margin};
588
+ border: none;
589
+ height: 1px;
590
+ background: linear-gradient(90deg, transparent, #{$footer-divider-border}, transparent);
591
+ opacity: #{$footer-divider-opacity};
592
+ }
593
+
594
+ // Layout Variants
595
+ &--columns {
596
+ #{$root}__sections {
597
+ @include media.media-up('md') {
598
+ display: grid;
599
+ grid-template-columns: minmax(300px, 1fr) 2fr minmax(250px, 1fr);
600
+ gap: clamp(2rem, 5vw, 4rem);
601
+ align-items: start;
602
+ }
603
+
604
+ @include media.media-up('lg') {
605
+ grid-template-columns: minmax(350px, 1fr) 3fr minmax(300px, 1fr);
606
+ }
607
+ }
608
+ }
609
+
610
+ &--centered {
611
+ text-align: center;
612
+
613
+ #{$root}__sections {
614
+ justify-content: center;
615
+ align-items: center;
616
+ }
617
+
618
+ #{$root}__social {
619
+ justify-content: center;
620
+ }
621
+
622
+ #{$root}__brand-description {
623
+ margin-left: auto;
624
+ margin-right: auto;
625
+ }
626
+ }
627
+
628
+ &--minimal {
629
+ --#{$prefix}footer-padding-y: #{rem($footer-padding-sm)};
630
+
631
+ #{$root}__sections {
632
+ margin-bottom: 1rem;
633
+ gap: 1.5rem;
634
+ }
635
+
636
+ #{$root}__section {
637
+ margin-bottom: 1rem;
638
+ }
639
+
640
+ #{$root}__newsletter {
641
+ padding: 1.5rem;
642
+ }
643
+ }
644
+
645
+ &--stacked {
646
+ #{$root}__sections {
647
+ display: flex;
648
+ flex-direction: column;
649
+ align-items: center;
650
+ text-align: center;
651
+ gap: clamp(1.5rem, 4vw, 2.5rem);
652
+ max-width: 600px;
653
+ margin-left: auto;
654
+ margin-right: auto;
655
+ }
656
+ }
657
+
658
+ // Size Variants
659
+ &--sm {
660
+ --#{$prefix}footer-padding-y: #{rem($footer-padding-sm)};
661
+ --#{$prefix}footer-section-margin-bottom: #{rem(1.5rem)};
662
+ --#{$prefix}footer-brand-margin-bottom: #{rem(1rem)};
663
+ --#{$prefix}footer-social-gap: #{rem(0.75rem)};
664
+ }
665
+
666
+ &--md {
667
+ --#{$prefix}footer-padding-y: #{rem($footer-padding-md)};
668
+ --#{$prefix}footer-section-margin-bottom: #{rem(2rem)};
669
+ }
670
+
671
+ &--lg {
672
+ --#{$prefix}footer-padding-y: #{rem($footer-padding-lg)};
673
+ --#{$prefix}footer-section-margin-bottom: #{rem(2.5rem)};
674
+ --#{$prefix}footer-brand-margin-bottom: #{rem(2rem)};
675
+ --#{$prefix}footer-social-gap: #{rem(1.25rem)};
676
+
677
+ #{$root}__sections {
678
+ gap: clamp(2.5rem, 5vw, 4rem);
679
+ }
680
+ }
681
+
682
+ // Theme Variants
683
+ @each $color, $value in maps.$theme-colors-bg-subtle {
684
+ &--#{$color} {
685
+ --#{$prefix}footer-bg: var(--#{$prefix}#{$color}-bg-subtle);
686
+ --#{$prefix}footer-border-color: var(--#{$prefix}#{$color}-border-subtle);
687
+ --#{$prefix}footer-color: var(--#{$prefix}#{$color}-text);
688
+
689
+ #{$root}__brand-name h3,
690
+ #{$root}__section-title {
691
+ color: var(--#{$prefix}#{$color}-text-emphasis);
692
+ }
693
+
694
+ #{$root}__brand-description,
695
+ #{$root}__copyright {
696
+ color: var(--#{$prefix}#{$color}-text-muted);
697
+ }
698
+
699
+ #{$root}__link {
700
+ color: var(--#{$prefix}#{$color}-text);
701
+
702
+ &:hover,
703
+ &:focus {
704
+ color: var(--#{$prefix}#{$color});
705
+ }
706
+
707
+ &::before {
708
+ background-color: var(--#{$prefix}#{$color});
709
+ }
710
+ }
711
+
712
+ #{$root}__newsletter {
713
+ background: linear-gradient(135deg, var(--#{$prefix}#{$color}-bg), rgba(var(--#{$prefix}#{$color}-bg-rgb), 0.8));
714
+ border-color: var(--#{$prefix}#{$color}-border);
715
+
716
+ &::before {
717
+ background: linear-gradient(90deg, transparent, var(--#{$prefix}#{$color}), transparent);
718
+ }
719
+ }
720
+ }
721
+ }
722
+
723
+ // Sticky Footer
724
+ &--sticky {
725
+ position: sticky;
726
+ bottom: 0;
727
+ z-index: #{$footer-sticky-z-index};
728
+ box-shadow: #{$footer-sticky-box-shadow};
729
+ backdrop-filter: blur(10px);
730
+ background-color: rgba(var(--#{$prefix}footer-bg-rgb), 0.95);
731
+ }
732
+
733
+ // Dark Mode Support
734
+ @media (prefers-color-scheme: dark) {
735
+ --#{$prefix}footer-bg: #{$footer-bg-dark};
736
+ --#{$prefix}footer-color: #{$footer-color-dark};
737
+ --#{$prefix}footer-border-color: #{$footer-border-color-dark};
738
+ }
739
+
740
+ .dark-mode & {
741
+ --#{$prefix}footer-bg: #{$footer-bg-dark};
742
+ --#{$prefix}footer-color: #{$footer-color-dark};
743
+ --#{$prefix}footer-border-color: #{$footer-border-color-dark};
744
+
745
+ #{$root}__newsletter {
746
+ background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
747
+ border-color: rgba(255, 255, 255, 0.1);
748
+ }
749
+
750
+ #{$root}__social-link {
751
+ background-color: rgba(255, 255, 255, 0.1);
752
+
753
+ &:hover {
754
+ background-color: rgba(255, 255, 255, 0.2);
755
+ }
756
+ }
757
+ }
758
+
759
+ // Accessibility
760
+ @media (prefers-reduced-motion: reduce) {
761
+ *,
762
+ *::before,
763
+ *::after {
764
+ animation-duration: 0.01ms !important;
765
+ animation-iteration-count: 1 !important;
766
+ transition-duration: 0.01ms !important;
767
+ scroll-behavior: auto !important;
768
+ }
769
+
770
+ #{$root}__social-link:hover,
771
+ #{$root}__back-to-top:hover,
772
+ #{$root}__newsletter-button:hover {
773
+ transform: none;
774
+ }
775
+ }
776
+
777
+ @media (prefers-contrast: high) {
778
+ #{$root}__link,
779
+ #{$root}__social-link,
780
+ #{$root}__back-to-top {
781
+ border: 2px solid currentColor;
782
+ }
783
+ }
784
+
785
+ // Print Styles
786
+ @media print {
787
+ #{$root}__back-to-top,
788
+ #{$root}__newsletter,
789
+ #{$root}__section-toggle {
790
+ display: none !important;
791
+ }
792
+
793
+ #{$root}__social-link {
794
+ &::after {
795
+ content: ' (' attr(href) ')';
796
+ font-size: 0.8em;
797
+ color: inherit;
798
+ }
799
+ }
800
+
801
+ #{$root}__section--collapsible #{$root}__section-content {
802
+ max-height: none !important;
803
+ overflow: visible !important;
804
+ }
805
+
806
+ background: white !important;
807
+ color: black !important;
808
+ box-shadow: none !important;
809
+ }
810
+
811
+ // Container Queries (when supported)
812
+ @container (min-width: 768px) {
813
+ #{$root}__sections {
814
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
815
+ }
816
+ }
817
+
818
+ // High DPI Displays
819
+ @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
820
+ #{$root}__brand-logo img {
821
+ image-rendering: -webkit-optimize-contrast;
822
+ image-rendering: crisp-edges;
823
+ }
824
+ }
825
+ }