@entur/modal 2.0.0-alpha.0 → 2.0.0-next.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/README.md +2 -2
- package/dist/Drawer.d.ts +2 -3
- package/dist/Modal.d.ts +13 -9
- package/dist/ModalContent.d.ts +8 -9
- package/dist/ModalOverlay.d.ts +7 -4
- package/dist/index.d.ts +0 -1
- package/dist/modal.cjs.js +247 -0
- package/dist/modal.cjs.js.map +1 -0
- package/dist/modal.esm.js +229 -162
- package/dist/modal.esm.js.map +1 -1
- package/dist/styles.css +529 -147
- package/package.json +30 -21
- package/dist/index.js +0 -8
- package/dist/modal.cjs.development.js +0 -188
- package/dist/modal.cjs.development.js.map +0 -1
- package/dist/modal.cjs.production.min.js +0 -2
- package/dist/modal.cjs.production.min.js.map +0 -1
package/dist/styles.css
CHANGED
|
@@ -1,171 +1,553 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
--
|
|
1
|
+
[data-color-mode=light],
|
|
2
|
+
:root{
|
|
3
|
+
--components-modal-drawer-contrast-background:#393d79;
|
|
4
|
+
--components-modal-drawer-contrast-text:#ffffff;
|
|
5
|
+
--components-modal-drawer-standard-background:#eaeaf1;
|
|
6
|
+
--components-modal-drawer-standard-text:#181c56;
|
|
7
|
+
--components-modal-modal-contrast-border:rgba(255, 255, 255, 0);
|
|
8
|
+
--components-modal-modal-contrast-fill:#ffffff;
|
|
9
|
+
--components-modal-modal-contrast-icon:#181c56;
|
|
10
|
+
--components-modal-modal-contrast-text:#181c56;
|
|
11
|
+
--components-modal-modal-standard-border:#e3e6e8;
|
|
12
|
+
--components-modal-modal-standard-fill:#ffffff;
|
|
13
|
+
--components-modal-modal-standard-icon:#181c56;
|
|
14
|
+
--components-modal-modal-standard-text:#181c56;
|
|
5
15
|
}
|
|
6
16
|
|
|
7
|
-
|
|
8
|
-
background
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
[data-color-mode=dark]{
|
|
18
|
+
--components-modal-drawer-contrast-background:#393a49;
|
|
19
|
+
--components-modal-drawer-contrast-text:#e5e5e9;
|
|
20
|
+
--components-modal-drawer-standard-background:#393a49;
|
|
21
|
+
--components-modal-drawer-standard-text:#e5e5e9;
|
|
22
|
+
--components-modal-modal-contrast-border:rgba(255, 255, 255, 0);
|
|
23
|
+
--components-modal-modal-contrast-fill:#464755;
|
|
24
|
+
--components-modal-modal-contrast-icon:#e5e5e9;
|
|
25
|
+
--components-modal-modal-contrast-text:#e5e5e9;
|
|
26
|
+
--components-modal-modal-standard-border:rgba(255, 255, 255, 0);
|
|
27
|
+
--components-modal-modal-standard-fill:#464755;
|
|
28
|
+
--components-modal-modal-standard-icon:#e5e5e9;
|
|
29
|
+
--components-modal-modal-standard-text:#e5e5e9;
|
|
20
30
|
}
|
|
21
31
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
border-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
width: 100%;
|
|
31
|
-
max-height: 90vh;
|
|
32
|
-
overflow: auto;
|
|
33
|
-
z-index: 40;
|
|
34
|
-
animation: slideInContent;
|
|
35
|
-
animation-duration: 0.2s;
|
|
36
|
-
animation-timing-function: ease-in-out;
|
|
37
|
-
}
|
|
38
|
-
.eds-modal__content--align-center {
|
|
39
|
-
display: flex;
|
|
40
|
-
flex-direction: column;
|
|
41
|
-
align-items: center;
|
|
42
|
-
text-align: center;
|
|
43
|
-
}
|
|
44
|
-
.eds-modal__content--align-end {
|
|
45
|
-
display: flex;
|
|
46
|
-
flex-direction: column;
|
|
47
|
-
align-items: flex-end;
|
|
48
|
-
}
|
|
49
|
-
.eds-modal__content--size-extraSmall {
|
|
50
|
-
max-width: 21rem;
|
|
51
|
-
padding: 1.5rem;
|
|
52
|
-
}
|
|
53
|
-
.eds-modal__content--size-small {
|
|
54
|
-
max-width: 28.125rem;
|
|
55
|
-
padding: 2.5rem;
|
|
56
|
-
}
|
|
57
|
-
.eds-modal__content--size-medium {
|
|
58
|
-
max-width: 45rem;
|
|
59
|
-
padding: 3rem;
|
|
60
|
-
}
|
|
61
|
-
.eds-modal__content--size-large {
|
|
62
|
-
max-width: 56.25rem;
|
|
63
|
-
padding: 3rem;
|
|
64
|
-
}
|
|
65
|
-
.eds-modal__content--size-extraLarge {
|
|
66
|
-
max-width: 78.75rem;
|
|
67
|
-
padding: 3rem;
|
|
68
|
-
}
|
|
69
|
-
.eds-modal__content::-webkit-scrollbar {
|
|
70
|
-
width: 16px;
|
|
71
|
-
}
|
|
72
|
-
.eds-modal__content::-webkit-scrollbar-track {
|
|
73
|
-
margin-top: 0.5rem;
|
|
74
|
-
margin-bottom: 0.5rem;
|
|
75
|
-
}
|
|
76
|
-
.eds-modal__content::-webkit-scrollbar-thumb {
|
|
77
|
-
background-color: lightgrey;
|
|
78
|
-
border: 4px solid transparent;
|
|
79
|
-
border-radius: 8px;
|
|
80
|
-
background-clip: padding-box;
|
|
81
|
-
}
|
|
82
|
-
.eds-modal__content::-webkit-scrollbar-thumb:hover {
|
|
83
|
-
background-color: grey;
|
|
32
|
+
[data-view-mode=standard],
|
|
33
|
+
:root{
|
|
34
|
+
--components-modal-border-default:0.0625rem;
|
|
35
|
+
--components-modal-gap-default:1rem;
|
|
36
|
+
--components-modal-icon-default:1.25rem;
|
|
37
|
+
--components-modal-inlinepadding-default:2rem;
|
|
38
|
+
--components-modal-radius-default:1rem;
|
|
39
|
+
--components-modal-width-default:35rem;
|
|
84
40
|
}
|
|
85
41
|
|
|
86
|
-
|
|
87
|
-
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
font-size: inherit;
|
|
94
|
-
color: inherit;
|
|
95
|
-
position: absolute;
|
|
96
|
-
top: 1rem;
|
|
97
|
-
right: 1rem;
|
|
98
|
-
padding: 0.5rem;
|
|
99
|
-
cursor: pointer;
|
|
100
|
-
}
|
|
101
|
-
.eds-modal__close:focus {
|
|
102
|
-
outline-offset: 0.125rem;
|
|
103
|
-
outline: none;
|
|
104
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
42
|
+
[data-view-mode=compact]{
|
|
43
|
+
--components-modal-border-default:0.0625rem;
|
|
44
|
+
--components-modal-gap-default:0.75rem;
|
|
45
|
+
--components-modal-icon-default:1rem;
|
|
46
|
+
--components-modal-inlinepadding-default:1.5rem;
|
|
47
|
+
--components-modal-radius-default:0.75rem;
|
|
48
|
+
--components-modal-width-default:20rem;
|
|
105
49
|
}
|
|
106
50
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
51
|
+
[data-view-mode=display]{
|
|
52
|
+
--components-modal-border-default:0.125rem;
|
|
53
|
+
--components-modal-gap-default:1.5rem;
|
|
54
|
+
--components-modal-icon-default:2rem;
|
|
55
|
+
--components-modal-inlinepadding-default:3rem;
|
|
56
|
+
--components-modal-radius-default:1.5rem;
|
|
57
|
+
--components-modal-width-default:60rem;
|
|
58
|
+
}
|
|
59
|
+
[data-color-mode=light],
|
|
60
|
+
:root{
|
|
61
|
+
--basecolors-frame-contrast:#181c56;
|
|
62
|
+
--basecolors-frame-contrastalt:#393d79;
|
|
63
|
+
--basecolors-frame-contrastalt-2:#292b6a;
|
|
64
|
+
--basecolors-frame-default:#ffffff;
|
|
65
|
+
--basecolors-frame-elevated:#ffffff;
|
|
66
|
+
--basecolors-frame-elevatedalt:#f6f6f9;
|
|
67
|
+
--basecolors-frame-highlight:#ff5959;
|
|
68
|
+
--basecolors-frame-highlightalt:#ffbf9e;
|
|
69
|
+
--basecolors-frame-subdued:#d9dae8;
|
|
70
|
+
--basecolors-frame-tint:#f6f6f9;
|
|
71
|
+
--basecolors-shape-accent:#181c56;
|
|
72
|
+
--basecolors-shape-bicycle-contrast:#00dbb6;
|
|
73
|
+
--basecolors-shape-bicycle-default:#0d827e;
|
|
74
|
+
--basecolors-shape-bus-contrast:#ff6392;
|
|
75
|
+
--basecolors-shape-bus-default:#c5044e;
|
|
76
|
+
--basecolors-shape-cableway-contrast:#b482fb;
|
|
77
|
+
--basecolors-shape-cableway-default:#78469a;
|
|
78
|
+
--basecolors-shape-disabled:#6e6f73;
|
|
79
|
+
--basecolors-shape-disabledalt:#b6b8ba;
|
|
80
|
+
--basecolors-shape-ferry-contrast:#6fdfff;
|
|
81
|
+
--basecolors-shape-ferry-default:#0c6693;
|
|
82
|
+
--basecolors-shape-funicular-contrast:#b482fb;
|
|
83
|
+
--basecolors-shape-funicular-default:#78469a;
|
|
84
|
+
--basecolors-shape-helicopter-contrast:#fbafea;
|
|
85
|
+
--basecolors-shape-helicopter-default:#800664;
|
|
86
|
+
--basecolors-shape-highlight:#ff5959;
|
|
87
|
+
--basecolors-shape-light:#ffffff;
|
|
88
|
+
--basecolors-shape-mask:#ffffff;
|
|
89
|
+
--basecolors-shape-maskalt:#ffffff;
|
|
90
|
+
--basecolors-shape-metro-contrast:#f08901;
|
|
91
|
+
--basecolors-shape-metro-default:#bf5826;
|
|
92
|
+
--basecolors-shape-mobility-contrast:#00dbb6;
|
|
93
|
+
--basecolors-shape-mobility-default:#0d827e;
|
|
94
|
+
--basecolors-shape-plane-contrast:#fbafea;
|
|
95
|
+
--basecolors-shape-plane-default:#800664;
|
|
96
|
+
--basecolors-shape-subdued:#626493;
|
|
97
|
+
--basecolors-shape-subduedalt:#d9dae8;
|
|
98
|
+
--basecolors-shape-taxi-contrast:#ffe082;
|
|
99
|
+
--basecolors-shape-taxi-default:#3d3e40;
|
|
100
|
+
--basecolors-shape-train-contrast:#42a5f5;
|
|
101
|
+
--basecolors-shape-train-default:#00367f;
|
|
102
|
+
--basecolors-shape-tram-contrast:#b482fb;
|
|
103
|
+
--basecolors-shape-tram-default:#78469a;
|
|
104
|
+
--basecolors-shape-walk-contrast:#9ea0bd;
|
|
105
|
+
--basecolors-shape-walk-default:#8d8e9c;
|
|
106
|
+
--basecolors-shape-airportlinkbus-contrast:#fbafea;
|
|
107
|
+
--basecolors-shape-airportlinkbus-default:#800664;
|
|
108
|
+
--basecolors-shape-airportlinkrail-contrast:#fbafea;
|
|
109
|
+
--basecolors-shape-airportlinkrail-default:#800664;
|
|
110
|
+
--basecolors-stroke-contrast:#aeb7e2;
|
|
111
|
+
--basecolors-stroke-default:#181c56;
|
|
112
|
+
--basecolors-stroke-disabled:#949699;
|
|
113
|
+
--basecolors-stroke-focus-contrast:#aeb7e2;
|
|
114
|
+
--basecolors-stroke-focus-standard:#181c56;
|
|
115
|
+
--basecolors-stroke-highlight:#ff5959;
|
|
116
|
+
--basecolors-stroke-highlight2:#ffbf9e;
|
|
117
|
+
--basecolors-stroke-light:#ffffff;
|
|
118
|
+
--basecolors-stroke-subdued:#8284ab;
|
|
119
|
+
--basecolors-stroke-subduedalt:#e3e6e8;
|
|
120
|
+
--basecolors-text-accent:#181c56;
|
|
121
|
+
--basecolors-text-disabled:#6e6f73;
|
|
122
|
+
--basecolors-text-disabledalt:#b6b8ba;
|
|
123
|
+
--basecolors-text-highlight:#ff5959;
|
|
124
|
+
--basecolors-text-highlightalt:#ffbf9e;
|
|
125
|
+
--basecolors-text-light:#ffffff;
|
|
126
|
+
--basecolors-text-subdued:#626493;
|
|
127
|
+
--basecolors-text-subduedalt:#d9dae8;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
[data-color-mode=dark]{
|
|
131
|
+
--basecolors-frame-contrast:#212233;
|
|
132
|
+
--basecolors-frame-contrastalt:#141527;
|
|
133
|
+
--basecolors-frame-contrastalt-2:#08091c;
|
|
134
|
+
--basecolors-frame-default:#08091c;
|
|
135
|
+
--basecolors-frame-elevated:rgba(229, 229, 233, 0.1490196078);
|
|
136
|
+
--basecolors-frame-elevatedalt:#464755;
|
|
137
|
+
--basecolors-frame-highlight:#ff5959;
|
|
138
|
+
--basecolors-frame-highlightalt:#ffbf9e;
|
|
139
|
+
--basecolors-frame-subdued:#2d2e3e;
|
|
140
|
+
--basecolors-frame-tint:#141527;
|
|
141
|
+
--basecolors-shape-accent:#e5e5e9;
|
|
142
|
+
--basecolors-shape-bicycle-contrast:#4db2a1;
|
|
143
|
+
--basecolors-shape-bicycle-default:#4db2a1;
|
|
144
|
+
--basecolors-shape-bus-contrast:#ef7398;
|
|
145
|
+
--basecolors-shape-bus-default:#ef7398;
|
|
146
|
+
--basecolors-shape-cableway-contrast:#b898e5;
|
|
147
|
+
--basecolors-shape-cableway-default:#b898e5;
|
|
148
|
+
--basecolors-shape-disabled:#b6b8ba;
|
|
149
|
+
--basecolors-shape-disabledalt:#b3b4bd;
|
|
150
|
+
--basecolors-shape-ferry-contrast:#8ccfe2;
|
|
151
|
+
--basecolors-shape-ferry-default:#8ccfe2;
|
|
152
|
+
--basecolors-shape-funicular-contrast:#b898e5;
|
|
153
|
+
--basecolors-shape-funicular-default:#b898e5;
|
|
154
|
+
--basecolors-shape-helicopter-contrast:#f2b8e5;
|
|
155
|
+
--basecolors-shape-helicopter-default:#f2b8e5;
|
|
156
|
+
--basecolors-shape-highlight:#ff5959;
|
|
157
|
+
--basecolors-shape-light:#e5e5e9;
|
|
158
|
+
--basecolors-shape-mask:#2d2e3e;
|
|
159
|
+
--basecolors-shape-maskalt:#393a49;
|
|
160
|
+
--basecolors-shape-metro-contrast:#dd973c;
|
|
161
|
+
--basecolors-shape-metro-default:#dd973c;
|
|
162
|
+
--basecolors-shape-mobility-contrast:#4db2a1;
|
|
163
|
+
--basecolors-shape-mobility-default:#4db2a1;
|
|
164
|
+
--basecolors-shape-plane-contrast:#f2b8e5;
|
|
165
|
+
--basecolors-shape-plane-default:#f2b8e5;
|
|
166
|
+
--basecolors-shape-subdued:#b3b4bd;
|
|
167
|
+
--basecolors-shape-subduedalt:#b3b4bd;
|
|
168
|
+
--basecolors-shape-taxi-contrast:#ffe082;
|
|
169
|
+
--basecolors-shape-taxi-default:#ffe082;
|
|
170
|
+
--basecolors-shape-train-contrast:#60a2d7;
|
|
171
|
+
--basecolors-shape-train-default:#60a2d7;
|
|
172
|
+
--basecolors-shape-tram-contrast:#b898e5;
|
|
173
|
+
--basecolors-shape-tram-default:#b898e5;
|
|
174
|
+
--basecolors-shape-walk-contrast:#8d8e9c;
|
|
175
|
+
--basecolors-shape-walk-default:#8d8e9c;
|
|
176
|
+
--basecolors-shape-airportlinkbus-contrast:#f2b8e5;
|
|
177
|
+
--basecolors-shape-airportlinkbus-default:#f2b8e5;
|
|
178
|
+
--basecolors-shape-airportlinkrail-contrast:#f2b8e5;
|
|
179
|
+
--basecolors-shape-airportlinkrail-default:#f2b8e5;
|
|
180
|
+
--basecolors-stroke-contrast:#aeb7e2;
|
|
181
|
+
--basecolors-stroke-default:#b3b4bd;
|
|
182
|
+
--basecolors-stroke-disabled:#e3e6e8;
|
|
183
|
+
--basecolors-stroke-focus-contrast:#aeb7e2;
|
|
184
|
+
--basecolors-stroke-focus-standard:#aeb7e2;
|
|
185
|
+
--basecolors-stroke-highlight:#ff5959;
|
|
186
|
+
--basecolors-stroke-highlight2:#ffbf9e;
|
|
187
|
+
--basecolors-stroke-light:#b3b4bd;
|
|
188
|
+
--basecolors-stroke-subdued:#81828f;
|
|
189
|
+
--basecolors-stroke-subduedalt:#949699;
|
|
190
|
+
--basecolors-text-accent:#e5e5e9;
|
|
191
|
+
--basecolors-text-disabled:#b6b8ba;
|
|
192
|
+
--basecolors-text-disabledalt:#b6b8ba;
|
|
193
|
+
--basecolors-text-highlight:#ff5959;
|
|
194
|
+
--basecolors-text-highlightalt:#ffbf9e;
|
|
195
|
+
--basecolors-text-light:#e5e5e9;
|
|
196
|
+
--basecolors-text-subdued:#b3b4bd;
|
|
197
|
+
--basecolors-text-subduedalt:#b3b4bd;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
:root{
|
|
201
|
+
--eds-modal:1;
|
|
202
|
+
}html:has(dialog.eds-modal__overlay[open]),
|
|
203
|
+
html:has(dialog.eds-modal__overlay[open]) body{
|
|
204
|
+
overflow:hidden;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.eds-modal__overlay{
|
|
208
|
+
border:none;
|
|
209
|
+
padding:0;
|
|
210
|
+
background:transparent;
|
|
211
|
+
color:inherit;
|
|
212
|
+
}
|
|
213
|
+
.eds-modal__overlay[open]{
|
|
214
|
+
z-index:30;
|
|
215
|
+
width:100%;
|
|
216
|
+
overflow:hidden;
|
|
217
|
+
-ms-scroll-chaining:none;
|
|
218
|
+
overscroll-behavior:contain;
|
|
219
|
+
-webkit-animation:fadeInOverlay 0.2s ease-in-out;
|
|
220
|
+
-moz-animation:fadeInOverlay 0.2s ease-in-out;
|
|
221
|
+
-o-animation:fadeInOverlay 0.2s ease-in-out;
|
|
222
|
+
animation:fadeInOverlay 0.2s ease-in-out;
|
|
223
|
+
}
|
|
224
|
+
.eds-modal__overlay[open]::-webkit-backdrop{
|
|
225
|
+
background:rgba(0, 0, 0, 0.5);
|
|
226
|
+
-webkit-animation:fadeInOverlay 0.2s ease-in-out;
|
|
227
|
+
animation:fadeInOverlay 0.2s ease-in-out;
|
|
228
|
+
}
|
|
229
|
+
.eds-modal__overlay[open]::-ms-backdrop{
|
|
230
|
+
background:rgba(0, 0, 0, 0.5);
|
|
231
|
+
animation:fadeInOverlay 0.2s ease-in-out;
|
|
232
|
+
}
|
|
233
|
+
.eds-modal__overlay[open]::backdrop{
|
|
234
|
+
background:rgba(0, 0, 0, 0.5);
|
|
235
|
+
-webkit-animation:fadeInOverlay 0.2s ease-in-out;
|
|
236
|
+
-moz-animation:fadeInOverlay 0.2s ease-in-out;
|
|
237
|
+
-o-animation:fadeInOverlay 0.2s ease-in-out;
|
|
238
|
+
animation:fadeInOverlay 0.2s ease-in-out;
|
|
239
|
+
}
|
|
240
|
+
.eds-modal__overlay--size-extraSmall{
|
|
241
|
+
max-width:21rem;
|
|
242
|
+
}
|
|
243
|
+
.eds-modal__overlay--size-small{
|
|
244
|
+
max-width:28.125rem;
|
|
245
|
+
}
|
|
246
|
+
.eds-modal__overlay--size-medium{
|
|
247
|
+
max-width:45rem;
|
|
248
|
+
}
|
|
249
|
+
.eds-modal__overlay--size-large{
|
|
250
|
+
max-width:56.25rem;
|
|
251
|
+
}
|
|
252
|
+
.eds-modal__overlay--size-extraLarge{
|
|
253
|
+
max-width:78.75rem;
|
|
254
|
+
}
|
|
255
|
+
.eds-modal__close{
|
|
256
|
+
position:absolute;
|
|
257
|
+
top:1rem;
|
|
258
|
+
right:1rem;
|
|
259
|
+
color:var(--components-modal-modal-standard-icon);
|
|
260
|
+
z-index:-webkit-calc(40 + 1);
|
|
261
|
+
z-index:-moz-calc(40 + 1);
|
|
262
|
+
z-index:calc(40 + 1);
|
|
263
|
+
-webkit-animation:slideInContent 0.2s ease-in-out;
|
|
264
|
+
-moz-animation:slideInContent 0.2s ease-in-out;
|
|
265
|
+
-o-animation:slideInContent 0.2s ease-in-out;
|
|
266
|
+
animation:slideInContent 0.2s ease-in-out;
|
|
267
|
+
}
|
|
268
|
+
.eds-modal__content{
|
|
269
|
+
background:var(--components-modal-modal-standard-fill);
|
|
270
|
+
border:1px solid var(--components-modal-modal-standard-border);
|
|
271
|
+
-webkit-border-radius:0.75rem;
|
|
272
|
+
-moz-border-radius:0.75rem;
|
|
273
|
+
border-radius:0.75rem;
|
|
274
|
+
color:var(--components-modal-modal-standard-text);
|
|
275
|
+
padding:1.5rem;
|
|
276
|
+
width:100%;
|
|
277
|
+
max-height:90vh;
|
|
278
|
+
overflow:auto;
|
|
279
|
+
-webkit-animation:slideInContent 0.2s ease-in-out;
|
|
280
|
+
-moz-animation:slideInContent 0.2s ease-in-out;
|
|
281
|
+
-o-animation:slideInContent 0.2s ease-in-out;
|
|
282
|
+
animation:slideInContent 0.2s ease-in-out;
|
|
283
|
+
}
|
|
284
|
+
.eds-modal__content--align-center{
|
|
285
|
+
display:-webkit-box;
|
|
286
|
+
display:-webkit-flex;
|
|
287
|
+
display:-moz-box;
|
|
288
|
+
display:flex;
|
|
289
|
+
-webkit-box-orient:vertical;
|
|
290
|
+
-webkit-box-direction:normal;
|
|
291
|
+
-webkit-flex-direction:column;
|
|
292
|
+
-moz-box-orient:vertical;
|
|
293
|
+
-moz-box-direction:normal;
|
|
294
|
+
flex-direction:column;
|
|
295
|
+
-webkit-box-align:center;
|
|
296
|
+
-webkit-align-items:center;
|
|
297
|
+
-moz-box-align:center;
|
|
298
|
+
align-items:center;
|
|
299
|
+
text-align:center;
|
|
300
|
+
}
|
|
301
|
+
.eds-modal__content--align-end{
|
|
302
|
+
display:-webkit-box;
|
|
303
|
+
display:-webkit-flex;
|
|
304
|
+
display:-moz-box;
|
|
305
|
+
display:flex;
|
|
306
|
+
-webkit-box-orient:vertical;
|
|
307
|
+
-webkit-box-direction:normal;
|
|
308
|
+
-webkit-flex-direction:column;
|
|
309
|
+
-moz-box-orient:vertical;
|
|
310
|
+
-moz-box-direction:normal;
|
|
311
|
+
flex-direction:column;
|
|
312
|
+
-webkit-box-align:end;
|
|
313
|
+
-webkit-align-items:flex-end;
|
|
314
|
+
-moz-box-align:end;
|
|
315
|
+
align-items:flex-end;
|
|
316
|
+
}
|
|
317
|
+
.eds-modal__content--size-extraSmall{
|
|
318
|
+
max-width:21rem;
|
|
319
|
+
padding:1.5rem;
|
|
320
|
+
}
|
|
321
|
+
.eds-modal__content--size-small{
|
|
322
|
+
max-width:28.125rem;
|
|
323
|
+
padding:2.5rem;
|
|
324
|
+
padding-top:2rem;
|
|
325
|
+
}
|
|
326
|
+
.eds-modal__content--size-medium{
|
|
327
|
+
max-width:45rem;
|
|
328
|
+
padding:3rem;
|
|
329
|
+
padding-top:2rem;
|
|
330
|
+
}
|
|
331
|
+
.eds-modal__content--size-large{
|
|
332
|
+
max-width:56.25rem;
|
|
333
|
+
padding:3rem;
|
|
334
|
+
padding-top:2rem;
|
|
335
|
+
}
|
|
336
|
+
.eds-modal__content--size-extraLarge{
|
|
337
|
+
max-width:78.75rem;
|
|
338
|
+
padding:3rem;
|
|
339
|
+
padding-top:2rem;
|
|
340
|
+
}
|
|
341
|
+
.eds-modal__content::-webkit-scrollbar{
|
|
342
|
+
width:16px;
|
|
343
|
+
}
|
|
344
|
+
.eds-modal__content::-webkit-scrollbar-track{
|
|
345
|
+
margin-block:0.5rem;
|
|
346
|
+
}
|
|
347
|
+
.eds-modal__content::-webkit-scrollbar-thumb{
|
|
348
|
+
background-color:lightgrey;
|
|
349
|
+
border:4px solid transparent;
|
|
350
|
+
-webkit-border-radius:8px;
|
|
351
|
+
border-radius:8px;
|
|
352
|
+
background-clip:padding-box;
|
|
353
|
+
}
|
|
354
|
+
.eds-modal__content::-webkit-scrollbar-thumb:hover{
|
|
355
|
+
background-color:grey;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
@-webkit-keyframes fadeInOverlay{
|
|
359
|
+
from{
|
|
360
|
+
opacity:0;
|
|
110
361
|
}
|
|
111
|
-
to
|
|
112
|
-
opacity:
|
|
362
|
+
to{
|
|
363
|
+
opacity:1;
|
|
113
364
|
}
|
|
114
365
|
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
opacity:
|
|
366
|
+
|
|
367
|
+
@-moz-keyframes fadeInOverlay{
|
|
368
|
+
from{
|
|
369
|
+
opacity:0;
|
|
119
370
|
}
|
|
120
|
-
to
|
|
121
|
-
|
|
122
|
-
opacity: 1;
|
|
371
|
+
to{
|
|
372
|
+
opacity:1;
|
|
123
373
|
}
|
|
124
374
|
}
|
|
125
|
-
|
|
126
|
-
|
|
375
|
+
|
|
376
|
+
@-o-keyframes fadeInOverlay{
|
|
377
|
+
from{
|
|
378
|
+
opacity:0;
|
|
379
|
+
}
|
|
380
|
+
to{
|
|
381
|
+
opacity:1;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
@keyframes fadeInOverlay{
|
|
386
|
+
from{
|
|
387
|
+
opacity:0;
|
|
388
|
+
}
|
|
389
|
+
to{
|
|
390
|
+
opacity:1;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
@-webkit-keyframes slideInContent{
|
|
394
|
+
from{
|
|
395
|
+
-webkit-transform:translateY(0.5rem);
|
|
396
|
+
transform:translateY(0.5rem);
|
|
397
|
+
opacity:0;
|
|
398
|
+
}
|
|
399
|
+
to{
|
|
400
|
+
-webkit-transform:translateY(0);
|
|
401
|
+
transform:translateY(0);
|
|
402
|
+
opacity:1;
|
|
403
|
+
}
|
|
127
404
|
}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
transform: translateX(100%);
|
|
405
|
+
@-moz-keyframes slideInContent{
|
|
406
|
+
from{
|
|
407
|
+
-moz-transform:translateY(0.5rem);
|
|
408
|
+
transform:translateY(0.5rem);
|
|
409
|
+
opacity:0;
|
|
134
410
|
}
|
|
135
|
-
to
|
|
136
|
-
|
|
137
|
-
|
|
411
|
+
to{
|
|
412
|
+
-moz-transform:translateY(0);
|
|
413
|
+
transform:translateY(0);
|
|
414
|
+
opacity:1;
|
|
138
415
|
}
|
|
139
416
|
}
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
z-index: 40;
|
|
152
|
-
overflow-y: auto;
|
|
417
|
+
@-o-keyframes slideInContent{
|
|
418
|
+
from{
|
|
419
|
+
-o-transform:translateY(0.5rem);
|
|
420
|
+
transform:translateY(0.5rem);
|
|
421
|
+
opacity:0;
|
|
422
|
+
}
|
|
423
|
+
to{
|
|
424
|
+
-o-transform:translateY(0);
|
|
425
|
+
transform:translateY(0);
|
|
426
|
+
opacity:1;
|
|
427
|
+
}
|
|
153
428
|
}
|
|
154
|
-
|
|
155
|
-
|
|
429
|
+
@keyframes slideInContent{
|
|
430
|
+
from{
|
|
431
|
+
-webkit-transform:translateY(0.5rem);
|
|
432
|
+
-moz-transform:translateY(0.5rem);
|
|
433
|
+
-o-transform:translateY(0.5rem);
|
|
434
|
+
transform:translateY(0.5rem);
|
|
435
|
+
opacity:0;
|
|
436
|
+
}
|
|
437
|
+
to{
|
|
438
|
+
-webkit-transform:translateY(0);
|
|
439
|
+
-moz-transform:translateY(0);
|
|
440
|
+
-o-transform:translateY(0);
|
|
441
|
+
transform:translateY(0);
|
|
442
|
+
opacity:1;
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
@media (prefers-reduced-motion: reduce){
|
|
446
|
+
.eds-modal__overlay::-webkit-backdrop{
|
|
447
|
+
-webkit-animation:none;
|
|
448
|
+
animation:none;
|
|
449
|
+
}
|
|
450
|
+
.eds-modal__overlay::-ms-backdrop{
|
|
451
|
+
animation:none;
|
|
452
|
+
}
|
|
453
|
+
.eds-modal__overlay,
|
|
454
|
+
.eds-modal__overlay::backdrop,
|
|
455
|
+
.eds-modal__content,
|
|
456
|
+
.eds-modal__close{
|
|
457
|
+
-webkit-animation:none;
|
|
458
|
+
-moz-animation:none;
|
|
459
|
+
-o-animation:none;
|
|
460
|
+
animation:none;
|
|
461
|
+
}
|
|
462
|
+
}.eds-drawer{
|
|
463
|
+
-webkit-animation:slideFromRight forwards ease-out 0.1s;
|
|
464
|
+
-moz-animation:slideFromRight forwards ease-out 0.1s;
|
|
465
|
+
-o-animation:slideFromRight forwards ease-out 0.1s;
|
|
466
|
+
animation:slideFromRight forwards ease-out 0.1s;
|
|
467
|
+
background-color:var(--components-modal-drawer-standard-background);
|
|
468
|
+
color:var(--components-modal-drawer-standard-text);
|
|
469
|
+
bottom:0;
|
|
470
|
+
padding:1.5rem;
|
|
471
|
+
position:fixed;
|
|
472
|
+
right:0;
|
|
473
|
+
top:0;
|
|
474
|
+
max-width:100%;
|
|
475
|
+
min-width:20rem;
|
|
476
|
+
width:25vw;
|
|
477
|
+
z-index:40;
|
|
478
|
+
overflow-y:auto;
|
|
479
|
+
}
|
|
480
|
+
.eds-contrast .eds-drawer{
|
|
481
|
+
background-color:var(--components-modal-drawer-contrast-background);
|
|
482
|
+
color:var(--components-modal-drawer-contrast-text);
|
|
483
|
+
}
|
|
484
|
+
.eds-drawer__close-button{
|
|
485
|
+
margin:0;
|
|
486
|
+
position:absolute;
|
|
487
|
+
top:1.5rem;
|
|
488
|
+
right:1.5rem;
|
|
156
489
|
}
|
|
157
490
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
491
|
+
@-webkit-keyframes slideFromRight{
|
|
492
|
+
from{
|
|
493
|
+
-webkit-box-shadow:none;
|
|
494
|
+
box-shadow:none;
|
|
495
|
+
-webkit-transform:translateX(100%);
|
|
496
|
+
transform:translateX(100%);
|
|
497
|
+
}
|
|
498
|
+
to{
|
|
499
|
+
-webkit-box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
500
|
+
box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
501
|
+
-webkit-transform:0;
|
|
502
|
+
transform:0;
|
|
503
|
+
}
|
|
163
504
|
}
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
505
|
+
|
|
506
|
+
@-moz-keyframes slideFromRight{
|
|
507
|
+
from{
|
|
508
|
+
-moz-box-shadow:none;
|
|
509
|
+
box-shadow:none;
|
|
510
|
+
-moz-transform:translateX(100%);
|
|
511
|
+
transform:translateX(100%);
|
|
512
|
+
}
|
|
513
|
+
to{
|
|
514
|
+
-moz-box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
515
|
+
box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
516
|
+
-moz-transform:0;
|
|
517
|
+
transform:0;
|
|
518
|
+
}
|
|
168
519
|
}
|
|
169
|
-
|
|
170
|
-
|
|
520
|
+
|
|
521
|
+
@-o-keyframes slideFromRight{
|
|
522
|
+
from{
|
|
523
|
+
box-shadow:none;
|
|
524
|
+
-o-transform:translateX(100%);
|
|
525
|
+
transform:translateX(100%);
|
|
526
|
+
}
|
|
527
|
+
to{
|
|
528
|
+
box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
529
|
+
-o-transform:0;
|
|
530
|
+
transform:0;
|
|
531
|
+
}
|
|
171
532
|
}
|
|
533
|
+
|
|
534
|
+
@keyframes slideFromRight{
|
|
535
|
+
from{
|
|
536
|
+
-webkit-box-shadow:none;
|
|
537
|
+
-moz-box-shadow:none;
|
|
538
|
+
box-shadow:none;
|
|
539
|
+
-webkit-transform:translateX(100%);
|
|
540
|
+
-moz-transform:translateX(100%);
|
|
541
|
+
-o-transform:translateX(100%);
|
|
542
|
+
transform:translateX(100%);
|
|
543
|
+
}
|
|
544
|
+
to{
|
|
545
|
+
-webkit-box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
546
|
+
-moz-box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
547
|
+
box-shadow:0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
548
|
+
-webkit-transform:0;
|
|
549
|
+
-moz-transform:0;
|
|
550
|
+
-o-transform:0;
|
|
551
|
+
transform:0;
|
|
552
|
+
}
|
|
553
|
+
}
|