empower-container 0.1.29 → 0.1.31
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +378 -378
- package/build/asset-manifest.json +13 -0
- package/build/favicon.ico +0 -0
- package/build/index.html +1 -0
- package/build/logo192.png +0 -0
- package/build/logo512.png +0 -0
- package/build/manifest.json +25 -0
- package/build/robots.txt +3 -0
- package/build/static/css/main.e4990057.css +2 -0
- package/build/static/css/main.e4990057.css.map +1 -0
- package/build/static/js/main.ab1b6fc8.js +3 -0
- package/build/static/js/main.ab1b6fc8.js.LICENSE.txt +47 -0
- package/build/static/js/main.ab1b6fc8.js.map +1 -0
- package/dist/cjs/DatetimeFormatter.d.ts +3 -3
- package/dist/cjs/DatetimeFormatter.js +389 -389
- package/dist/cjs/Information.d.ts +10 -10
- package/dist/cjs/Information.js +63 -63
- package/dist/cjs/MenuBar.d.ts +24 -24
- package/dist/cjs/MenuBar.js +539 -539
- package/dist/cjs/Modal.d.ts +33 -33
- package/dist/cjs/Modal.js +44 -44
- package/dist/cjs/assets/Asset.d.ts +17 -17
- package/dist/cjs/assets/Asset.js +31 -31
- package/dist/cjs/constants/Constant.d.ts +15 -15
- package/dist/cjs/constants/Constant.js +35 -35
- package/dist/cjs/index.d.ts +3 -3
- package/dist/cjs/index.js +10 -10
- package/dist/cjs/inputs/Input.d.ts +25 -25
- package/dist/cjs/inputs/Input.js +106 -106
- package/dist/cjs/inputs/InputSelectionHandler.d.ts +3 -3
- package/dist/cjs/inputs/InputSelectionHandler.js +36 -36
- package/dist/cjs/inputs/Select.d.ts +28 -28
- package/dist/cjs/inputs/Select.js +403 -403
- package/dist/esm/DatetimeFormatter.d.ts +3 -3
- package/dist/esm/DatetimeFormatter.js +385 -385
- package/dist/esm/Information.d.ts +10 -10
- package/dist/esm/Information.js +38 -38
- package/dist/esm/MenuBar.d.ts +24 -24
- package/dist/esm/MenuBar.js +534 -534
- package/dist/esm/Modal.d.ts +33 -33
- package/dist/esm/Modal.js +39 -39
- package/dist/esm/assets/Asset.d.ts +17 -17
- package/dist/esm/assets/Asset.js +28 -28
- package/dist/esm/constants/Constant.d.ts +15 -15
- package/dist/esm/constants/Constant.js +32 -32
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.js +3 -3
- package/dist/esm/inputs/Input.d.ts +25 -25
- package/dist/esm/inputs/Input.js +104 -104
- package/dist/esm/inputs/InputSelectionHandler.d.ts +3 -3
- package/dist/esm/inputs/InputSelectionHandler.js +31 -31
- package/dist/esm/inputs/Select.d.ts +28 -28
- package/dist/esm/inputs/Select.js +399 -399
- package/dist/scss/components/_modal.scss +66 -66
- package/dist/scss/elements/_button.scss +142 -142
- package/dist/scss/elements/_index.scss +1 -1
- package/dist/scss/elements/_popover.scss +16 -16
- package/dist/scss/foundation/_colors.scss +59 -59
- package/dist/scss/foundation/_mixins.scss +40 -40
- package/dist/scss/foundation/_normalize.scss +203 -203
- package/dist/scss/foundation/_settings.scss +36 -36
- package/dist/scss/foundation/_typography.scss +94 -94
- package/dist/scss/library/_information.scss +72 -72
- package/dist/scss/library/_input.scss +37 -37
- package/dist/scss/library/_menubar.scss +241 -241
- package/dist/scss/library/_select.scss +399 -400
- package/dist/scss/style.scss +38 -38
- package/jest.config.ts +32 -0
- package/package.json +67 -64
- package/tscnofig.old +26 -26
@@ -1,401 +1,400 @@
|
|
1
|
-
.em-popover.em-menubar-dropdown {
|
2
|
-
top: 50px;
|
3
|
-
margin-top: 0;
|
4
|
-
width: auto;
|
5
|
-
border-top: 5px solid $blue-light4;
|
6
|
-
}
|
7
|
-
|
8
|
-
.em-select {
|
9
|
-
position: relative;
|
10
|
-
width: 100%;
|
11
|
-
|
12
|
-
option{
|
13
|
-
font-size: 0.875rem;
|
14
|
-
color: $gray-dark;
|
15
|
-
padding: 20px;
|
16
|
-
transition: $transition;
|
17
|
-
cursor: pointer;
|
18
|
-
|
19
|
-
&:hover{
|
20
|
-
background-color: $blue-light;
|
21
|
-
padding: 20px 18px 20px 22px;
|
22
|
-
}
|
23
|
-
}
|
24
|
-
|
25
|
-
.em-input-field {
|
26
|
-
width: 100%;
|
27
|
-
}
|
28
|
-
|
29
|
-
.em-input-field .em-select-input,
|
30
|
-
.em-popover .em-select-search input {
|
31
|
-
min-height: 50px;
|
32
|
-
width: 100%;
|
33
|
-
background-color: $blue-light;
|
34
|
-
border-top-left-radius: 10px;
|
35
|
-
border-top-right-radius: 10px;
|
36
|
-
border-bottom-right-radius: 0;
|
37
|
-
border-bottom-left-radius: 0;
|
38
|
-
box-shadow: inset 0 -2px 0 0 $blue-light1;
|
39
|
-
border: none;
|
40
|
-
font-size: 0.875rem;
|
41
|
-
color: $gray-dark;
|
42
|
-
padding: 10px 15px;
|
43
|
-
margin-bottom: 15px;
|
44
|
-
resize: none;
|
45
|
-
transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
|
46
|
-
|
47
|
-
&:focus {
|
48
|
-
background-color: $blue-light;
|
49
|
-
color: $gray-dark;
|
50
|
-
border: none;
|
51
|
-
outline: none;
|
52
|
-
box-shadow: inset 0 -2px 0 0 $blue-light4;
|
53
|
-
}
|
54
|
-
}
|
55
|
-
|
56
|
-
.em-field-icon {
|
57
|
-
position: absolute;
|
58
|
-
top: 15px;
|
59
|
-
right: 15px;
|
60
|
-
}
|
61
|
-
|
62
|
-
.em-noresult {
|
63
|
-
padding: 20px;
|
64
|
-
}
|
65
|
-
}
|
66
|
-
|
67
|
-
.is-invalid .em-select .em-input-field .select-input {
|
68
|
-
box-shadow: 0 2px 0 0 $red;
|
69
|
-
}
|
70
|
-
|
71
|
-
.em-overlay {
|
72
|
-
width: 100vw;
|
73
|
-
height: 100vh;
|
74
|
-
position: fixed;
|
75
|
-
top: 0;
|
76
|
-
left: 0;
|
77
|
-
z-index: 99;
|
78
|
-
}
|
79
|
-
|
80
|
-
.em-popover-input{
|
81
|
-
display: flex;
|
82
|
-
padding: 20px;
|
83
|
-
|
84
|
-
.field {
|
85
|
-
margin: 0 15px 0 0;
|
86
|
-
width: 160px;
|
87
|
-
|
88
|
-
> label {
|
89
|
-
position: relative;
|
90
|
-
top: 0;
|
91
|
-
left: 0;
|
92
|
-
padding: 0;
|
93
|
-
margin-bottom: 5px;
|
94
|
-
display: inline-block;
|
95
|
-
font-size: .875rem;
|
96
|
-
font-weight: 700;
|
97
|
-
color: $gray-light3;
|
98
|
-
text-transform: uppercase;
|
99
|
-
}
|
100
|
-
}
|
101
|
-
|
102
|
-
button {
|
103
|
-
border: 0;
|
104
|
-
background: none;
|
105
|
-
height: 50px;
|
106
|
-
width: 50px;
|
107
|
-
display: inline-flex;
|
108
|
-
align-items: center;
|
109
|
-
justify-content: center;
|
110
|
-
cursor: pointer;
|
111
|
-
transition: $transition;
|
112
|
-
}
|
113
|
-
}
|
114
|
-
|
115
|
-
.em-popover-list {
|
116
|
-
display: block;
|
117
|
-
padding: 0;
|
118
|
-
|
119
|
-
a {
|
120
|
-
display: block;
|
121
|
-
font-weight: 700;
|
122
|
-
font-size: .875rem;
|
123
|
-
color: $gray-light4;
|
124
|
-
padding: 15px 20px;
|
125
|
-
min-height: 50px;
|
126
|
-
line-height: 20px;
|
127
|
-
text-decoration: none;
|
128
|
-
text-align: left;
|
129
|
-
border: none;
|
130
|
-
box-shadow: none;
|
131
|
-
transition: $transition;
|
132
|
-
margin-right: 0;
|
133
|
-
cursor: pointer;
|
134
|
-
|
135
|
-
&:hover {
|
136
|
-
background-color: $blue-light;
|
137
|
-
color: $gray-dark;
|
138
|
-
padding: 15px 18px 15px 22px;
|
139
|
-
box-shadow: none;
|
140
|
-
border: none;
|
141
|
-
}
|
142
|
-
}
|
143
|
-
}
|
144
|
-
|
145
|
-
.em-popover-months {
|
146
|
-
width: 300px;
|
147
|
-
padding: 0;
|
148
|
-
flex-direction: column;
|
149
|
-
|
150
|
-
.list-years {
|
151
|
-
background-color: $blue-dark;
|
152
|
-
display: flex;
|
153
|
-
justify-content: space-between;
|
154
|
-
margin-top: -1px;
|
155
|
-
width: 100%;
|
156
|
-
|
157
|
-
button {
|
158
|
-
background-color: transparent;
|
159
|
-
border: none;
|
160
|
-
cursor: pointer;
|
161
|
-
transition: $transition;
|
162
|
-
|
163
|
-
svg path {
|
164
|
-
fill: $white;
|
165
|
-
}
|
166
|
-
|
167
|
-
img {
|
168
|
-
transition: $transition;
|
169
|
-
|
170
|
-
&:hover {
|
171
|
-
background-color: transparentize($blue-dark1, 0.5);
|
172
|
-
}
|
173
|
-
|
174
|
-
&:focus {
|
175
|
-
outline: none;
|
176
|
-
}
|
177
|
-
}
|
178
|
-
}
|
179
|
-
|
180
|
-
> div {
|
181
|
-
color: $white;
|
182
|
-
font-size: 1.5rem;
|
183
|
-
padding: 15px;
|
184
|
-
}
|
185
|
-
}
|
186
|
-
|
187
|
-
.list-months {
|
188
|
-
display: flex;
|
189
|
-
flex-wrap: wrap;
|
190
|
-
|
191
|
-
a {
|
192
|
-
width: 33.33%;
|
193
|
-
box-shadow: inset 1px 0 0 0 $blue-light1, inset 0 1px 0 0 $blue-light1;
|
194
|
-
padding: 15px;
|
195
|
-
color: $gray-light4;
|
196
|
-
text-align: center;
|
197
|
-
font-weight: 700;
|
198
|
-
font-size: .875rem;
|
199
|
-
text-decoration: none;
|
200
|
-
|
201
|
-
&:hover {
|
202
|
-
background-color: $gray-light;
|
203
|
-
color: $gray-dark;
|
204
|
-
}
|
205
|
-
|
206
|
-
&.is-disabled{
|
207
|
-
background-color: $gray-light;
|
208
|
-
color: $gray-light3;
|
209
|
-
cursor: initial;
|
210
|
-
|
211
|
-
&:hover{
|
212
|
-
background-color: $gray-light;
|
213
|
-
color: $gray-light3;
|
214
|
-
}
|
215
|
-
}
|
216
|
-
|
217
|
-
&.is-selected{
|
218
|
-
background-color: $blue-dark1;
|
219
|
-
color: $white;
|
220
|
-
box-shadow: inset 1px 0 0 0 $blue-dark1, inset 0 1px 0 0 $blue-dark1;
|
221
|
-
}
|
222
|
-
}
|
223
|
-
}
|
224
|
-
}
|
225
|
-
|
226
|
-
.em-datepicker-weekly {
|
227
|
-
.rdrCalendarWrapper {
|
228
|
-
display: flex;
|
229
|
-
flex-direction: column;
|
230
|
-
font-size: $text-sm;
|
231
|
-
box-shadow: $shadow-popover;
|
232
|
-
|
233
|
-
.rdrMonthAndYearWrapper {
|
234
|
-
width: 100%;
|
235
|
-
display: flex;
|
236
|
-
justify-content: space-between;
|
237
|
-
align-items: center;
|
238
|
-
background-color: #0f2473;
|
239
|
-
padding: 15px;
|
240
|
-
|
241
|
-
button {
|
242
|
-
border: none;
|
243
|
-
width: 50px;
|
244
|
-
height: 50px;
|
245
|
-
border-radius: 0;
|
246
|
-
background-color: transparent;
|
247
|
-
display: flex;
|
248
|
-
justify-content: center;
|
249
|
-
align-items: center;
|
250
|
-
border: none;
|
251
|
-
transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
|
252
|
-
cursor: pointer;
|
253
|
-
}
|
254
|
-
}
|
255
|
-
|
256
|
-
.rdrMonthAndYearPickers {
|
257
|
-
display: flex;
|
258
|
-
|
259
|
-
select {
|
260
|
-
min-width: 100px;
|
261
|
-
color: $white;
|
262
|
-
font-size: $text-base;
|
263
|
-
height: 50px;
|
264
|
-
border-radius: 0;
|
265
|
-
border: none;
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
scrollbar-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
border
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
cursor: pointer;
|
1
|
+
.em-popover.em-menubar-dropdown {
|
2
|
+
top: 50px;
|
3
|
+
margin-top: 0;
|
4
|
+
width: auto;
|
5
|
+
border-top: 5px solid $blue-light4;
|
6
|
+
}
|
7
|
+
|
8
|
+
.em-select {
|
9
|
+
position: relative;
|
10
|
+
width: 100%;
|
11
|
+
|
12
|
+
option{
|
13
|
+
font-size: 0.875rem;
|
14
|
+
color: $gray-dark;
|
15
|
+
padding: 20px;
|
16
|
+
transition: $transition;
|
17
|
+
cursor: pointer;
|
18
|
+
|
19
|
+
&:hover{
|
20
|
+
background-color: $blue-light;
|
21
|
+
padding: 20px 18px 20px 22px;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
.em-input-field {
|
26
|
+
width: 100%;
|
27
|
+
}
|
28
|
+
|
29
|
+
.em-input-field .em-select-input,
|
30
|
+
.em-popover .em-select-search input {
|
31
|
+
min-height: 50px;
|
32
|
+
width: 100%;
|
33
|
+
background-color: $blue-light;
|
34
|
+
border-top-left-radius: 10px;
|
35
|
+
border-top-right-radius: 10px;
|
36
|
+
border-bottom-right-radius: 0;
|
37
|
+
border-bottom-left-radius: 0;
|
38
|
+
box-shadow: inset 0 -2px 0 0 $blue-light1;
|
39
|
+
border: none;
|
40
|
+
font-size: 0.875rem;
|
41
|
+
color: $gray-dark;
|
42
|
+
padding: 10px 15px;
|
43
|
+
margin-bottom: 15px;
|
44
|
+
resize: none;
|
45
|
+
transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
|
46
|
+
|
47
|
+
&:focus {
|
48
|
+
background-color: $blue-light;
|
49
|
+
color: $gray-dark;
|
50
|
+
border: none;
|
51
|
+
outline: none;
|
52
|
+
box-shadow: inset 0 -2px 0 0 $blue-light4;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
.em-field-icon {
|
57
|
+
position: absolute;
|
58
|
+
top: 15px;
|
59
|
+
right: 15px;
|
60
|
+
}
|
61
|
+
|
62
|
+
.em-noresult {
|
63
|
+
padding: 20px;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
.is-invalid .em-select .em-input-field .select-input {
|
68
|
+
box-shadow: 0 2px 0 0 $red;
|
69
|
+
}
|
70
|
+
|
71
|
+
.em-overlay {
|
72
|
+
width: 100vw;
|
73
|
+
height: 100vh;
|
74
|
+
position: fixed;
|
75
|
+
top: 0;
|
76
|
+
left: 0;
|
77
|
+
z-index: 99;
|
78
|
+
}
|
79
|
+
|
80
|
+
.em-popover-input{
|
81
|
+
display: flex;
|
82
|
+
padding: 20px;
|
83
|
+
|
84
|
+
.field {
|
85
|
+
margin: 0 15px 0 0;
|
86
|
+
width: 160px;
|
87
|
+
|
88
|
+
> label {
|
89
|
+
position: relative;
|
90
|
+
top: 0;
|
91
|
+
left: 0;
|
92
|
+
padding: 0;
|
93
|
+
margin-bottom: 5px;
|
94
|
+
display: inline-block;
|
95
|
+
font-size: .875rem;
|
96
|
+
font-weight: 700;
|
97
|
+
color: $gray-light3;
|
98
|
+
text-transform: uppercase;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
button {
|
103
|
+
border: 0;
|
104
|
+
background: none;
|
105
|
+
height: 50px;
|
106
|
+
width: 50px;
|
107
|
+
display: inline-flex;
|
108
|
+
align-items: center;
|
109
|
+
justify-content: center;
|
110
|
+
cursor: pointer;
|
111
|
+
transition: $transition;
|
112
|
+
}
|
113
|
+
}
|
114
|
+
|
115
|
+
.em-popover-list {
|
116
|
+
display: block;
|
117
|
+
padding: 0;
|
118
|
+
|
119
|
+
a {
|
120
|
+
display: block;
|
121
|
+
font-weight: 700;
|
122
|
+
font-size: .875rem;
|
123
|
+
color: $gray-light4;
|
124
|
+
padding: 15px 20px;
|
125
|
+
min-height: 50px;
|
126
|
+
line-height: 20px;
|
127
|
+
text-decoration: none;
|
128
|
+
text-align: left;
|
129
|
+
border: none;
|
130
|
+
box-shadow: none;
|
131
|
+
transition: $transition;
|
132
|
+
margin-right: 0;
|
133
|
+
cursor: pointer;
|
134
|
+
|
135
|
+
&:hover {
|
136
|
+
background-color: $blue-light;
|
137
|
+
color: $gray-dark;
|
138
|
+
padding: 15px 18px 15px 22px;
|
139
|
+
box-shadow: none;
|
140
|
+
border: none;
|
141
|
+
}
|
142
|
+
}
|
143
|
+
}
|
144
|
+
|
145
|
+
.em-popover-months {
|
146
|
+
width: 300px;
|
147
|
+
padding: 0;
|
148
|
+
flex-direction: column;
|
149
|
+
|
150
|
+
.list-years {
|
151
|
+
background-color: $blue-dark;
|
152
|
+
display: flex;
|
153
|
+
justify-content: space-between;
|
154
|
+
margin-top: -1px;
|
155
|
+
width: 100%;
|
156
|
+
|
157
|
+
button {
|
158
|
+
background-color: transparent;
|
159
|
+
border: none;
|
160
|
+
cursor: pointer;
|
161
|
+
transition: $transition;
|
162
|
+
|
163
|
+
svg path {
|
164
|
+
fill: $white;
|
165
|
+
}
|
166
|
+
|
167
|
+
img {
|
168
|
+
transition: $transition;
|
169
|
+
|
170
|
+
&:hover {
|
171
|
+
background-color: transparentize($blue-dark1, 0.5);
|
172
|
+
}
|
173
|
+
|
174
|
+
&:focus {
|
175
|
+
outline: none;
|
176
|
+
}
|
177
|
+
}
|
178
|
+
}
|
179
|
+
|
180
|
+
> div {
|
181
|
+
color: $white;
|
182
|
+
font-size: 1.5rem;
|
183
|
+
padding: 15px;
|
184
|
+
}
|
185
|
+
}
|
186
|
+
|
187
|
+
.list-months {
|
188
|
+
display: flex;
|
189
|
+
flex-wrap: wrap;
|
190
|
+
|
191
|
+
a {
|
192
|
+
width: 33.33%;
|
193
|
+
box-shadow: inset 1px 0 0 0 $blue-light1, inset 0 1px 0 0 $blue-light1;
|
194
|
+
padding: 15px;
|
195
|
+
color: $gray-light4;
|
196
|
+
text-align: center;
|
197
|
+
font-weight: 700;
|
198
|
+
font-size: .875rem;
|
199
|
+
text-decoration: none;
|
200
|
+
|
201
|
+
&:hover {
|
202
|
+
background-color: $gray-light;
|
203
|
+
color: $gray-dark;
|
204
|
+
}
|
205
|
+
|
206
|
+
&.is-disabled{
|
207
|
+
background-color: $gray-light;
|
208
|
+
color: $gray-light3;
|
209
|
+
cursor: initial;
|
210
|
+
|
211
|
+
&:hover{
|
212
|
+
background-color: $gray-light;
|
213
|
+
color: $gray-light3;
|
214
|
+
}
|
215
|
+
}
|
216
|
+
|
217
|
+
&.is-selected{
|
218
|
+
background-color: $blue-dark1;
|
219
|
+
color: $white;
|
220
|
+
box-shadow: inset 1px 0 0 0 $blue-dark1, inset 0 1px 0 0 $blue-dark1;
|
221
|
+
}
|
222
|
+
}
|
223
|
+
}
|
224
|
+
}
|
225
|
+
|
226
|
+
.em-datepicker-weekly {
|
227
|
+
.rdrCalendarWrapper {
|
228
|
+
display: flex;
|
229
|
+
flex-direction: column;
|
230
|
+
font-size: $text-sm;
|
231
|
+
box-shadow: $shadow-popover;
|
232
|
+
|
233
|
+
.rdrMonthAndYearWrapper {
|
234
|
+
width: 100%;
|
235
|
+
display: flex;
|
236
|
+
justify-content: space-between;
|
237
|
+
align-items: center;
|
238
|
+
background-color: #0f2473;
|
239
|
+
padding: 15px;
|
240
|
+
|
241
|
+
button {
|
242
|
+
border: none;
|
243
|
+
width: 50px;
|
244
|
+
height: 50px;
|
245
|
+
border-radius: 0;
|
246
|
+
background-color: transparent;
|
247
|
+
display: flex;
|
248
|
+
justify-content: center;
|
249
|
+
align-items: center;
|
250
|
+
border: none;
|
251
|
+
transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
|
252
|
+
cursor: pointer;
|
253
|
+
}
|
254
|
+
}
|
255
|
+
|
256
|
+
.rdrMonthAndYearPickers {
|
257
|
+
display: flex;
|
258
|
+
|
259
|
+
select {
|
260
|
+
min-width: 100px;
|
261
|
+
color: $white;
|
262
|
+
font-size: $text-base;
|
263
|
+
height: 50px;
|
264
|
+
border-radius: 0;
|
265
|
+
border: none;
|
266
|
+
background: url("https://storage.googleapis.com/empower-production-assets/images/icons/icon-arrowdown-white.svg") right center no-repeat;
|
267
|
+
transition: $transition;
|
268
|
+
|
269
|
+
&:focus-visible {
|
270
|
+
outline: none;
|
271
|
+
}
|
272
|
+
|
273
|
+
&:hover {
|
274
|
+
background-color: transparentize(#091336, 0.5);
|
275
|
+
}
|
276
|
+
|
277
|
+
option {
|
278
|
+
padding: 10px;
|
279
|
+
background-color: $white;
|
280
|
+
color: #4A5568;
|
281
|
+
}
|
282
|
+
}
|
283
|
+
}
|
284
|
+
|
285
|
+
.rdrNextPrevButton {
|
286
|
+
|
287
|
+
i {
|
288
|
+
height: 20px;
|
289
|
+
width: 20px;
|
290
|
+
border: 0;
|
291
|
+
margin: 0;
|
292
|
+
transition: $transition;
|
293
|
+
}
|
294
|
+
|
295
|
+
&.rdrPprevButton {
|
296
|
+
i {
|
297
|
+
background: url("https://storage.googleapis.com/empower-production-assets/images/icons/icon-arrowleft-white.svg") center center no-repeat;
|
298
|
+
}
|
299
|
+
|
300
|
+
&:hover {
|
301
|
+
i {
|
302
|
+
transform: translateX(-5px);
|
303
|
+
}
|
304
|
+
}
|
305
|
+
}
|
306
|
+
|
307
|
+
&.rdrNextButton {
|
308
|
+
i {
|
309
|
+
background: url("https://storage.googleapis.com/empower-production-assets/images/icons/icon-arrowright-white.svg") center center no-repeat;
|
310
|
+
}
|
311
|
+
|
312
|
+
&:hover {
|
313
|
+
i {
|
314
|
+
transform: translateX(5px);
|
315
|
+
}
|
316
|
+
}
|
317
|
+
}
|
318
|
+
}
|
319
|
+
|
320
|
+
.rdrWeekDays {
|
321
|
+
display: flex;
|
322
|
+
padding: 15px 15px 0;
|
323
|
+
}
|
324
|
+
|
325
|
+
.rdrWeekDay {
|
326
|
+
font-weight: 700;
|
327
|
+
padding: 1rem 0.25rem;
|
328
|
+
text-transform: uppercase;
|
329
|
+
color: #A0AEC0;
|
330
|
+
font-size: 0.875rem;
|
331
|
+
width: 50px;
|
332
|
+
text-align: center;
|
333
|
+
}
|
334
|
+
|
335
|
+
.rdrDay {
|
336
|
+
font-size: 0.875rem;
|
337
|
+
width: 50px;
|
338
|
+
text-align: center;
|
339
|
+
border: none;
|
340
|
+
background-color: transparent;
|
341
|
+
|
342
|
+
.rdrDayNumber {
|
343
|
+
span {
|
344
|
+
width: 50px;
|
345
|
+
height: 50px;
|
346
|
+
display: flex;
|
347
|
+
align-items: center;
|
348
|
+
justify-content: center;
|
349
|
+
cursor: pointer;
|
350
|
+
transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
|
351
|
+
color: $gray-dark;
|
352
|
+
|
353
|
+
&:hover {
|
354
|
+
background-color: #EDF2F7;
|
355
|
+
}
|
356
|
+
}
|
357
|
+
}
|
358
|
+
|
359
|
+
&.rdrDayPassive {
|
360
|
+
.rdrDayNumber > span{
|
361
|
+
cursor: default;
|
362
|
+
color: $gray-light3;
|
363
|
+
|
364
|
+
&:hover{
|
365
|
+
background-color: transparent;
|
366
|
+
}
|
367
|
+
}
|
368
|
+
}
|
369
|
+
}
|
370
|
+
|
371
|
+
.rdrDays {
|
372
|
+
display: flex;
|
373
|
+
flex-wrap: wrap;
|
374
|
+
padding: 0 15px 15px;
|
375
|
+
}
|
376
|
+
}
|
377
|
+
}
|
378
|
+
|
379
|
+
|
380
|
+
/* scroll */
|
381
|
+
.em-select-popover {
|
382
|
+
scrollbar-width: thin;
|
383
|
+
scrollbar-color: $gray;
|
384
|
+
}
|
385
|
+
|
386
|
+
.em-select-popover::-webkit-scrollbar-track{
|
387
|
+
background: $gray-light;
|
388
|
+
}
|
389
|
+
|
390
|
+
.em-select-popover::-webkit-scrollbar-thumb{
|
391
|
+
background-color: $gray-light2;
|
392
|
+
border-radius: 20px;
|
393
|
+
border: 3px solid $gray-light;
|
394
|
+
cursor: pointer;
|
395
|
+
}
|
396
|
+
|
397
|
+
.em-select-popover::-webkit-scrollbar{
|
398
|
+
width: 12px;
|
399
|
+
cursor: pointer;
|
401
400
|
}
|