box-ui-elements 23.4.0-beta.20 → 23.4.0-beta.21
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.
|
@@ -12,6 +12,13 @@
|
|
|
12
12
|
.header-flyout-overlay {
|
|
13
13
|
width: $flyout-list-width;
|
|
14
14
|
height: $flyout-list-height;
|
|
15
|
+
animation: bdl-open-flyout-animation 0.3s cubic-bezier(0.32, 0, 0.33, 1.3);
|
|
16
|
+
animation-fill-mode: both;
|
|
17
|
+
transform-origin: top right;
|
|
18
|
+
|
|
19
|
+
@media (prefers-reduced-motion: reduce) {
|
|
20
|
+
animation: none;
|
|
21
|
+
}
|
|
15
22
|
|
|
16
23
|
.overlay {
|
|
17
24
|
@include bdl-Overlay-container;
|
|
@@ -27,6 +34,18 @@
|
|
|
27
34
|
}
|
|
28
35
|
}
|
|
29
36
|
|
|
37
|
+
@keyframes bdl-open-flyout-animation {
|
|
38
|
+
from {
|
|
39
|
+
opacity: 0;
|
|
40
|
+
transform: translateY(-10px) scale(0.95);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
to {
|
|
44
|
+
opacity: 1;
|
|
45
|
+
transform: translateY(0) scale(1);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
30
49
|
.header-flyout-list-container {
|
|
31
50
|
.flyout-list-container-body {
|
|
32
51
|
// the overall height, minus the top and bottom padding
|
package/package.json
CHANGED
|
@@ -12,6 +12,13 @@
|
|
|
12
12
|
.header-flyout-overlay {
|
|
13
13
|
width: $flyout-list-width;
|
|
14
14
|
height: $flyout-list-height;
|
|
15
|
+
animation: bdl-open-flyout-animation 0.3s cubic-bezier(0.32, 0, 0.33, 1.3);
|
|
16
|
+
animation-fill-mode: both;
|
|
17
|
+
transform-origin: top right;
|
|
18
|
+
|
|
19
|
+
@media (prefers-reduced-motion: reduce) {
|
|
20
|
+
animation: none;
|
|
21
|
+
}
|
|
15
22
|
|
|
16
23
|
.overlay {
|
|
17
24
|
@include bdl-Overlay-container;
|
|
@@ -27,6 +34,18 @@
|
|
|
27
34
|
}
|
|
28
35
|
}
|
|
29
36
|
|
|
37
|
+
@keyframes bdl-open-flyout-animation {
|
|
38
|
+
from {
|
|
39
|
+
opacity: 0;
|
|
40
|
+
transform: translateY(-10px) scale(0.95);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
to {
|
|
44
|
+
opacity: 1;
|
|
45
|
+
transform: translateY(0) scale(1);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
30
49
|
.header-flyout-list-container {
|
|
31
50
|
.flyout-list-container-body {
|
|
32
51
|
// the overall height, minus the top and bottom padding
|