@phillips/seldon 1.44.1 → 1.46.0
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/scss/_vars.scss
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
.#{$px}-drawer {
|
|
4
4
|
align-items: center;
|
|
5
|
-
animation: content-show $default-transition;
|
|
6
5
|
background-color: $white;
|
|
7
6
|
display: flex;
|
|
8
7
|
flex-direction: column;
|
|
@@ -24,7 +23,6 @@
|
|
|
24
23
|
}
|
|
25
24
|
|
|
26
25
|
&__overlay {
|
|
27
|
-
animation: overlay-show $default-transition;
|
|
28
26
|
background-color: $overlay-black;
|
|
29
27
|
inset: 0;
|
|
30
28
|
position: fixed;
|
|
@@ -41,26 +39,64 @@
|
|
|
41
39
|
right: 10px;
|
|
42
40
|
top: 10px;
|
|
43
41
|
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.#{$px}-drawer[data-state='open'] {
|
|
45
|
+
animation: content-show $drawer-content-transition;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.#{$px}-drawer[data-state='closed'] {
|
|
49
|
+
animation: content-close $drawer-content-transition;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.#{$px}__overlay[data-state='open'] {
|
|
53
|
+
animation: overlay-show $default-overlay-transition;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.#{$px}__overlay[data-state='closed'] {
|
|
57
|
+
animation: overlay-close $default-overlay-transition;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@keyframes content-show {
|
|
61
|
+
from {
|
|
62
|
+
opacity: 0;
|
|
63
|
+
transform: translateX(100%);
|
|
64
|
+
}
|
|
44
65
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
66
|
+
to {
|
|
67
|
+
opacity: 1;
|
|
68
|
+
transform: translateX(0);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@keyframes content-close {
|
|
73
|
+
from {
|
|
74
|
+
opacity: 1;
|
|
75
|
+
transform: translateX(0);
|
|
76
|
+
}
|
|
49
77
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
78
|
+
to {
|
|
79
|
+
opacity: 0;
|
|
80
|
+
transform: translateX(100%);
|
|
53
81
|
}
|
|
82
|
+
}
|
|
54
83
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
84
|
+
@keyframes overlay-show {
|
|
85
|
+
from {
|
|
86
|
+
opacity: 0;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
to {
|
|
90
|
+
opacity: 1;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@keyframes overlay-close {
|
|
95
|
+
from {
|
|
96
|
+
opacity: 1;
|
|
97
|
+
}
|
|
60
98
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
transform: translateX(0);
|
|
64
|
-
}
|
|
99
|
+
to {
|
|
100
|
+
opacity: 0;
|
|
65
101
|
}
|
|
66
102
|
}
|
|
@@ -8,18 +8,6 @@
|
|
|
8
8
|
margin: $spacing-lg 0 0;
|
|
9
9
|
max-width: 100%;
|
|
10
10
|
|
|
11
|
-
ul {
|
|
12
|
-
li {
|
|
13
|
-
a {
|
|
14
|
-
@include text('snwFlyoutLink');
|
|
15
|
-
|
|
16
|
-
&:hover {
|
|
17
|
-
text-decoration: underline;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
11
|
&__links {
|
|
24
12
|
display: flex;
|
|
25
13
|
flex-direction: column;
|
|
@@ -37,6 +25,26 @@
|
|
|
37
25
|
div {
|
|
38
26
|
flex: 1;
|
|
39
27
|
}
|
|
28
|
+
|
|
29
|
+
h3.#{$px}-text {
|
|
30
|
+
@include media($size-sm) {
|
|
31
|
+
margin-bottom: $spacing-sm;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
div:not(.#{$px}-social) {
|
|
36
|
+
ul {
|
|
37
|
+
li {
|
|
38
|
+
a {
|
|
39
|
+
@include text('snwFlyoutLink');
|
|
40
|
+
|
|
41
|
+
&:hover {
|
|
42
|
+
text-decoration: underline;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
40
48
|
}
|
|
41
49
|
|
|
42
50
|
&-desktop {
|
|
@@ -45,12 +53,6 @@
|
|
|
45
53
|
@include media($size-sm) {
|
|
46
54
|
display: block;
|
|
47
55
|
}
|
|
48
|
-
|
|
49
|
-
h3.#{$px}-text {
|
|
50
|
-
@include media($size-sm) {
|
|
51
|
-
margin-bottom: $spacing-sm;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
56
|
}
|
|
55
57
|
|
|
56
58
|
@include media($size-sm) {
|
|
@@ -68,6 +70,10 @@
|
|
|
68
70
|
&-item {
|
|
69
71
|
padding: 0;
|
|
70
72
|
|
|
73
|
+
ul {
|
|
74
|
+
padding-bottom: $spacing-md;
|
|
75
|
+
}
|
|
76
|
+
|
|
71
77
|
&--expanded {
|
|
72
78
|
margin-bottom: $spacing-md;
|
|
73
79
|
margin-top: 0;
|