empower-container 0.1.27 → 0.1.28

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,158 +14,3 @@
14
14
  box-shadow: $shadow-popover;
15
15
  max-width: 650px;
16
16
  }
17
-
18
-
19
- .em-datepicker-weekly {
20
- .rdrCalendarWrapper {
21
- display: flex;
22
- flex-direction: column;
23
- font-size: $text-sm;
24
- box-shadow: $shadow-popover;
25
-
26
- .rdrMonthAndYearWrapper {
27
- width: 100%;
28
- display: flex;
29
- justify-content: space-between;
30
- align-items: center;
31
- background-color: #0f2473;
32
- padding: 15px;
33
-
34
- button {
35
- border: none;
36
- width: 50px;
37
- height: 50px;
38
- border-radius: 0;
39
- background-color: transparent;
40
- display: flex;
41
- justify-content: center;
42
- align-items: center;
43
- border: none;
44
- transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
45
- cursor: pointer;
46
- }
47
- }
48
-
49
- .rdrMonthAndYearPickers {
50
- display: flex;
51
-
52
- select {
53
- min-width: 100px;
54
- color: $white;
55
- font-size: $text-base;
56
- height: 50px;
57
- border-radius: 0;
58
- border: none;
59
- // background: url("https://storage.googleapis.com/empower-production-assets/images/icons/icon-arrowdown-white.svg") right center no-repeat;
60
- background: transparent;
61
- transition: $transition;
62
-
63
- &:focus-visible {
64
- outline: none;
65
- }
66
-
67
- &:hover {
68
- background-color: transparentize(#091336, 0.5);
69
- }
70
-
71
- option {
72
- padding: 10px;
73
- background-color: $white;
74
- color: #4A5568;
75
- }
76
- }
77
- }
78
-
79
- .rdrNextPrevButton {
80
-
81
- i {
82
- height: 20px;
83
- width: 20px;
84
- border: 0;
85
- margin: 0;
86
- transition: $transition;
87
- }
88
-
89
- &.rdrPprevButton {
90
- i {
91
- background: url("https://storage.googleapis.com/empower-production-assets/images/icons/icon-arrowleft-white.svg") center center no-repeat;
92
- }
93
-
94
- &:hover {
95
- i {
96
- transform: translateX(-5px);
97
- }
98
- }
99
- }
100
-
101
- &.rdrNextButton {
102
- i {
103
- background: url("https://storage.googleapis.com/empower-production-assets/images/icons/icon-arrowright-white.svg") center center no-repeat;
104
- }
105
-
106
- &:hover {
107
- i {
108
- transform: translateX(5px);
109
- }
110
- }
111
- }
112
- }
113
-
114
- .rdrWeekDays {
115
- display: flex;
116
- padding: 15px 15px 0;
117
- }
118
-
119
- .rdrWeekDay {
120
- font-weight: 700;
121
- padding: 1rem 0.25rem;
122
- text-transform: uppercase;
123
- color: #A0AEC0;
124
- font-size: 0.875rem;
125
- width: 50px;
126
- text-align: center;
127
- }
128
-
129
- .rdrDay {
130
- font-size: 0.875rem;
131
- width: 50px;
132
- text-align: center;
133
- border: none;
134
- background-color: transparent;
135
-
136
- .rdrDayNumber {
137
- span {
138
- width: 50px;
139
- height: 50px;
140
- display: flex;
141
- align-items: center;
142
- justify-content: center;
143
- cursor: pointer;
144
- transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
145
- color: $gray-dark;
146
-
147
- &:hover {
148
- background-color: #EDF2F7;
149
- }
150
- }
151
- }
152
-
153
- &.rdrDayPassive {
154
- .rdrDayNumber > span{
155
- cursor: default;
156
- color: $gray-light3;
157
-
158
- &:hover{
159
- background-color: transparent;
160
- }
161
- }
162
- }
163
- }
164
-
165
- .rdrDays {
166
- display: flex;
167
- flex-wrap: wrap;
168
- padding: 0 15px 15px;
169
- }
170
- }
171
- }
@@ -216,6 +216,161 @@
216
216
  }
217
217
  }
218
218
 
219
+ .em-datepicker-weekly {
220
+ .rdrCalendarWrapper {
221
+ display: flex;
222
+ flex-direction: column;
223
+ font-size: $text-sm;
224
+ box-shadow: $shadow-popover;
225
+
226
+ .rdrMonthAndYearWrapper {
227
+ width: 100%;
228
+ display: flex;
229
+ justify-content: space-between;
230
+ align-items: center;
231
+ background-color: #0f2473;
232
+ padding: 15px;
233
+
234
+ button {
235
+ border: none;
236
+ width: 50px;
237
+ height: 50px;
238
+ border-radius: 0;
239
+ background-color: transparent;
240
+ display: flex;
241
+ justify-content: center;
242
+ align-items: center;
243
+ border: none;
244
+ transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
245
+ cursor: pointer;
246
+ }
247
+ }
248
+
249
+ .rdrMonthAndYearPickers {
250
+ display: flex;
251
+
252
+ select {
253
+ min-width: 100px;
254
+ color: $white;
255
+ font-size: $text-base;
256
+ height: 50px;
257
+ border-radius: 0;
258
+ border: none;
259
+ // background: url("https://storage.googleapis.com/empower-production-assets/images/icons/icon-arrowdown-white.svg") right center no-repeat;
260
+ background: transparent;
261
+ transition: $transition;
262
+
263
+ &:focus-visible {
264
+ outline: none;
265
+ }
266
+
267
+ &:hover {
268
+ background-color: transparentize(#091336, 0.5);
269
+ }
270
+
271
+ option {
272
+ padding: 10px;
273
+ background-color: $white;
274
+ color: #4A5568;
275
+ }
276
+ }
277
+ }
278
+
279
+ .rdrNextPrevButton {
280
+
281
+ i {
282
+ height: 20px;
283
+ width: 20px;
284
+ border: 0;
285
+ margin: 0;
286
+ transition: $transition;
287
+ }
288
+
289
+ &.rdrPprevButton {
290
+ i {
291
+ background: url("https://storage.googleapis.com/empower-production-assets/images/icons/icon-arrowleft-white.svg") center center no-repeat;
292
+ }
293
+
294
+ &:hover {
295
+ i {
296
+ transform: translateX(-5px);
297
+ }
298
+ }
299
+ }
300
+
301
+ &.rdrNextButton {
302
+ i {
303
+ background: url("https://storage.googleapis.com/empower-production-assets/images/icons/icon-arrowright-white.svg") center center no-repeat;
304
+ }
305
+
306
+ &:hover {
307
+ i {
308
+ transform: translateX(5px);
309
+ }
310
+ }
311
+ }
312
+ }
313
+
314
+ .rdrWeekDays {
315
+ display: flex;
316
+ padding: 15px 15px 0;
317
+ }
318
+
319
+ .rdrWeekDay {
320
+ font-weight: 700;
321
+ padding: 1rem 0.25rem;
322
+ text-transform: uppercase;
323
+ color: #A0AEC0;
324
+ font-size: 0.875rem;
325
+ width: 50px;
326
+ text-align: center;
327
+ }
328
+
329
+ .rdrDay {
330
+ font-size: 0.875rem;
331
+ width: 50px;
332
+ text-align: center;
333
+ border: none;
334
+ background-color: transparent;
335
+
336
+ .rdrDayNumber {
337
+ span {
338
+ width: 50px;
339
+ height: 50px;
340
+ display: flex;
341
+ align-items: center;
342
+ justify-content: center;
343
+ cursor: pointer;
344
+ transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
345
+ color: $gray-dark;
346
+
347
+ &:hover {
348
+ background-color: #EDF2F7;
349
+ }
350
+ }
351
+ }
352
+
353
+ &.rdrDayPassive {
354
+ .rdrDayNumber > span{
355
+ cursor: default;
356
+ color: $gray-light3;
357
+
358
+ &:hover{
359
+ background-color: transparent;
360
+ }
361
+ }
362
+ }
363
+ }
364
+
365
+ .rdrDays {
366
+ display: flex;
367
+ flex-wrap: wrap;
368
+ padding: 0 15px 15px;
369
+ }
370
+ }
371
+ }
372
+
373
+
219
374
  /* scroll */
220
375
  .em-select-popover {
221
376
  scrollbar-width: thin;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "empower-container",
3
- "version": "0.1.27",
3
+ "version": "0.1.28",
4
4
  "private": false,
5
5
  "homepage": "https://bitbucket.org/empowerteams/empower-container",
6
6
  "main": "./dist/cjs/ndex.js",