@abstraks-dev/ui-library 1.2.0 → 1.2.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.
- package/dist/__tests__/Footer.test.js +57 -22
- package/dist/components/Footer.js +24 -36
- package/dist/components/Header.js +1 -1
- package/dist/components/SideMenu.js +28 -0
- package/dist/styles/footer.css +109 -17
- package/dist/styles/footer.css.map +1 -1
- package/dist/styles/footer.scss +114 -23
- package/dist/styles/header.css +4 -3
- package/dist/styles/header.css.map +1 -1
- package/dist/styles/header.scss +15 -16
- package/dist/styles/main.css +140 -21
- package/dist/styles/main.css.map +1 -1
- package/dist/styles/search.css +5 -1
- package/dist/styles/search.css.map +1 -1
- package/dist/styles/search.scss +4 -1
- package/dist/styles/side-menu.css +22 -0
- package/dist/styles/side-menu.css.map +1 -1
- package/dist/styles/side-menu.scss +27 -0
- package/package.json +1 -1
|
@@ -9,6 +9,12 @@
|
|
|
9
9
|
visibility: hidden;
|
|
10
10
|
z-index: $z-index-overlay;
|
|
11
11
|
position: fixed;
|
|
12
|
+
|
|
13
|
+
/* iOS Safari fixed positioning fixes */
|
|
14
|
+
-webkit-transform: translateZ(0);
|
|
15
|
+
transform: translateZ(0);
|
|
16
|
+
-webkit-backface-visibility: hidden;
|
|
17
|
+
backface-visibility: hidden;
|
|
12
18
|
}
|
|
13
19
|
|
|
14
20
|
.overlay {
|
|
@@ -82,6 +88,11 @@
|
|
|
82
88
|
background: #ffffff;
|
|
83
89
|
box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
|
|
84
90
|
|
|
91
|
+
/* Additional iOS Safari fixes */
|
|
92
|
+
-webkit-transform: translateZ(0);
|
|
93
|
+
transform: translateZ(0);
|
|
94
|
+
will-change: transform;
|
|
95
|
+
|
|
85
96
|
/* Mobile-first responsive design */
|
|
86
97
|
@media #{$medium} {
|
|
87
98
|
width: 60%;
|
|
@@ -183,6 +194,12 @@
|
|
|
183
194
|
overflow-y: auto;
|
|
184
195
|
flex: 1;
|
|
185
196
|
|
|
197
|
+
/* iOS Safari smooth scrolling */
|
|
198
|
+
-webkit-overflow-scrolling: touch;
|
|
199
|
+
|
|
200
|
+
/* Prevent bounce scrolling on iOS */
|
|
201
|
+
overscroll-behavior: contain;
|
|
202
|
+
|
|
186
203
|
/* Custom scrollbar for better UX */
|
|
187
204
|
&::-webkit-scrollbar {
|
|
188
205
|
width: 6px;
|
|
@@ -332,3 +349,13 @@
|
|
|
332
349
|
white-space: nowrap !important;
|
|
333
350
|
border: 0 !important;
|
|
334
351
|
}
|
|
352
|
+
|
|
353
|
+
/* Body scroll lock when menu is open */
|
|
354
|
+
body.side-menu-open {
|
|
355
|
+
overflow: hidden;
|
|
356
|
+
position: fixed;
|
|
357
|
+
width: 100%;
|
|
358
|
+
|
|
359
|
+
/* iOS Safari body scroll lock fixes */
|
|
360
|
+
-webkit-overflow-scrolling: touch;
|
|
361
|
+
}
|