nxt-pick-datetime 14.0.0 → 16.0.0-alpha.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 +34 -202
- package/assets/picker.scss +131 -126
- package/esm2020/lib/class/date-time-adapter.class.mjs +5 -20
- package/esm2020/lib/class/date-time-format.class.mjs +3 -3
- package/esm2020/lib/class/date-time.class.mjs +37 -103
- package/esm2020/lib/class/dialog-config.class.mjs +14 -23
- package/esm2020/lib/class/dialog-ref.class.mjs +11 -13
- package/esm2020/lib/date-time/calendar/calendar.component.mjs +97 -96
- package/esm2020/lib/date-time/calendar-body/calendar-body.component.mjs +40 -34
- package/esm2020/lib/date-time/calendar-month-view/calendar-month-view.component.mjs +92 -101
- package/esm2020/lib/date-time/calendar-multi-year-view/calendar-multi-year-view.component.mjs +85 -86
- package/esm2020/lib/date-time/calendar-year-view/calendar-year-view.component.mjs +80 -87
- package/esm2020/lib/date-time/date-time-inline/date-time-inline.component.mjs +95 -84
- package/esm2020/lib/date-time/date-time-picker/date-time-picker.component.mjs +221 -209
- package/esm2020/lib/date-time/date-time-picker-container/date-time-picker-container.animations.mjs +3 -2
- package/esm2020/lib/date-time/date-time-picker-container/date-time-picker-container.component.mjs +125 -126
- package/esm2020/lib/date-time/date-time-picker-input.directive.mjs +215 -221
- package/esm2020/lib/date-time/date-time-picker-intl.service.mjs +13 -13
- package/esm2020/lib/date-time/date-time-picker-trigger.directive.mjs +21 -19
- package/esm2020/lib/date-time/date-time.module.mjs +79 -68
- package/esm2020/lib/date-time/number-fixed-len.pipe.mjs +10 -13
- package/esm2020/lib/date-time/timer/timer.component.mjs +70 -63
- package/esm2020/lib/date-time/timer-box/timer-box.component.mjs +24 -17
- package/esm2020/lib/dialog/dialog-container/dialog-container.component.mjs +55 -50
- package/esm2020/lib/dialog/dialog.module.mjs +27 -16
- package/esm2020/lib/dialog/dialog.service.mjs +66 -54
- package/esm2020/lib/utils/object.mjs +5 -3
- package/esm2020/moment-adapter/date-time-adapter.class.mjs +26 -21
- package/esm2020/moment-adapter/date-time-format.class.mjs +5 -2
- package/esm2020/moment-adapter/moment-adapter.module.mjs +19 -23
- package/esm2020/moment-adapter/nxt-pick-datetime-moment-adapter.mjs +1 -1
- package/esm2020/moment-adapter/public-api.mjs +3 -2
- package/esm2020/native-adapter/date-time-adapter.class.mjs +41 -19
- package/esm2020/native-adapter/date-time-format.class.mjs +5 -2
- package/esm2020/native-adapter/native-adapter.module.mjs +23 -21
- package/esm2020/native-adapter/nxt-pick-datetime-native-adapter.mjs +1 -1
- package/esm2020/native-adapter/public-api.mjs +2 -2
- package/esm2020/nxt-pick-datetime.mjs +1 -1
- package/esm2020/public-api.mjs +14 -14
- package/fesm2015/nxt-pick-datetime-moment-adapter.mjs +44 -40
- package/fesm2015/nxt-pick-datetime-moment-adapter.mjs.map +1 -1
- package/fesm2015/nxt-pick-datetime-native-adapter.mjs +65 -38
- package/fesm2015/nxt-pick-datetime-native-adapter.mjs.map +1 -1
- package/fesm2015/nxt-pick-datetime.mjs +1492 -1447
- package/fesm2015/nxt-pick-datetime.mjs.map +1 -1
- package/fesm2020/nxt-pick-datetime-moment-adapter.mjs +44 -40
- package/fesm2020/nxt-pick-datetime-moment-adapter.mjs.map +1 -1
- package/fesm2020/nxt-pick-datetime-native-adapter.mjs +65 -38
- package/fesm2020/nxt-pick-datetime-native-adapter.mjs.map +1 -1
- package/fesm2020/nxt-pick-datetime.mjs +1422 -1437
- package/fesm2020/nxt-pick-datetime.mjs.map +1 -1
- package/lib/class/date-time-adapter.class.d.ts +31 -41
- package/lib/class/date-time-format.class.d.ts +3 -3
- package/lib/class/date-time.class.d.ts +39 -51
- package/lib/class/dialog-config.class.d.ts +27 -27
- package/lib/class/dialog-ref.class.d.ts +21 -22
- package/lib/date-time/calendar/calendar.component.d.ts +66 -60
- package/lib/date-time/calendar-body/calendar-body.component.d.ts +22 -20
- package/lib/date-time/calendar-month-view/calendar-month-view.component.d.ts +57 -56
- package/lib/date-time/calendar-multi-year-view/calendar-multi-year-view.component.d.ts +58 -52
- package/lib/date-time/calendar-year-view/calendar-year-view.component.d.ts +51 -48
- package/lib/date-time/date-time-inline/date-time-inline.component.d.ts +69 -53
- package/lib/date-time/date-time-picker/date-time-picker.component.d.ts +106 -91
- package/lib/date-time/date-time-picker-container/date-time-picker-container.animations.d.ts +2 -1
- package/lib/date-time/date-time-picker-container/date-time-picker-container.component.d.ts +54 -47
- package/lib/date-time/date-time-picker-input.directive.d.ts +93 -78
- package/lib/date-time/date-time-picker-intl.service.d.ts +11 -11
- package/lib/date-time/date-time-picker-trigger.directive.d.ts +10 -9
- package/lib/date-time/date-time.module.d.ts +4 -4
- package/lib/date-time/number-fixed-len.pipe.d.ts +2 -1
- package/lib/date-time/timer/timer.component.d.ts +32 -30
- package/lib/date-time/timer-box/timer-box.component.d.ts +13 -11
- package/lib/dialog/dialog-container/dialog-container.component.d.ts +40 -27
- package/lib/dialog/dialog.module.d.ts +5 -4
- package/lib/dialog/dialog.service.d.ts +42 -35
- package/lib/utils/object.d.ts +2 -0
- package/moment-adapter/date-time-adapter.class.d.ts +13 -13
- package/moment-adapter/date-time-format.class.d.ts +5 -2
- package/moment-adapter/moment-adapter.module.d.ts +0 -5
- package/moment-adapter/public-api.d.ts +2 -1
- package/native-adapter/date-time-adapter.class.d.ts +7 -7
- package/native-adapter/date-time-format.class.d.ts +5 -2
- package/native-adapter/native-adapter.module.d.ts +0 -5
- package/native-adapter/public-api.d.ts +1 -1
- package/package.json +13 -11
- package/public-api.d.ts +14 -13
package/assets/picker.scss
CHANGED
|
@@ -12,7 +12,8 @@ $cdk-overlay-dark-backdrop-background: rgba(0, 0, 0, 0.288);
|
|
|
12
12
|
$backdrop-animation-duration: 400ms !default;
|
|
13
13
|
$backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
14
14
|
|
|
15
|
-
.cdk-overlay-container,
|
|
15
|
+
.cdk-overlay-container,
|
|
16
|
+
.cdk-global-overlay-wrapper {
|
|
16
17
|
// Disable events from being captured on the overlay container.
|
|
17
18
|
pointer-events: none;
|
|
18
19
|
|
|
@@ -70,7 +71,6 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
|
70
71
|
right: 0;
|
|
71
72
|
z-index: $cdk-z-index-overlay-backdrop;
|
|
72
73
|
pointer-events: auto;
|
|
73
|
-
-webkit-tap-highlight-color: transparent;
|
|
74
74
|
transition: opacity $backdrop-animation-duration $backdrop-animation-timing-function;
|
|
75
75
|
opacity: 0;
|
|
76
76
|
|
|
@@ -96,7 +96,8 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
|
96
96
|
// capturing the user's mouse scroll events. Since we also can't use something like
|
|
97
97
|
// `rgba(0, 0, 0, 0)`, we work around the inconsistency by not setting the background at
|
|
98
98
|
// all and using `opacity` to make the element transparent.
|
|
99
|
-
&,
|
|
99
|
+
&,
|
|
100
|
+
&.cdk-overlay-backdrop-showing {
|
|
100
101
|
opacity: 0;
|
|
101
102
|
}
|
|
102
103
|
}
|
|
@@ -136,13 +137,13 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
|
136
137
|
overflow-y: scroll;
|
|
137
138
|
}
|
|
138
139
|
|
|
139
|
-
.
|
|
140
|
+
.nxt-dialog-container {
|
|
140
141
|
position: relative;
|
|
141
142
|
pointer-events: auto;
|
|
142
143
|
box-sizing: border-box;
|
|
143
144
|
display: block;
|
|
144
145
|
padding: 1.5em;
|
|
145
|
-
box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2),
|
|
146
|
+
box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12);
|
|
146
147
|
border-radius: 2px;
|
|
147
148
|
overflow: auto;
|
|
148
149
|
background: #fff;
|
|
@@ -154,12 +155,12 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
|
|
154
155
|
|
|
155
156
|
$theme-color: #3f51b5;
|
|
156
157
|
|
|
157
|
-
.
|
|
158
|
-
.
|
|
158
|
+
.nxt-dt-container,
|
|
159
|
+
.nxt-dt-container * {
|
|
159
160
|
box-sizing: border-box;
|
|
160
161
|
}
|
|
161
162
|
|
|
162
|
-
.
|
|
163
|
+
.nxt-dt-container {
|
|
163
164
|
display: block;
|
|
164
165
|
font-size: 1rem;
|
|
165
166
|
background: #ffffff;
|
|
@@ -167,7 +168,7 @@ $theme-color: #3f51b5;
|
|
|
167
168
|
z-index: 1000;
|
|
168
169
|
}
|
|
169
170
|
|
|
170
|
-
.
|
|
171
|
+
.nxt-dt-container-row {
|
|
171
172
|
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
|
|
172
173
|
|
|
173
174
|
&:last-child {
|
|
@@ -175,28 +176,28 @@ $theme-color: #3f51b5;
|
|
|
175
176
|
}
|
|
176
177
|
}
|
|
177
178
|
|
|
178
|
-
.
|
|
179
|
+
.nxt-dt-calendar {
|
|
179
180
|
display: flex;
|
|
180
181
|
flex-direction: column;
|
|
181
182
|
width: 100%;
|
|
182
183
|
}
|
|
183
184
|
|
|
184
|
-
.
|
|
185
|
+
.nxt-dt-calendar-control {
|
|
185
186
|
display: flex;
|
|
186
187
|
align-items: center;
|
|
187
188
|
font-size: 1em;
|
|
188
189
|
width: 100%;
|
|
189
|
-
padding: .5em;
|
|
190
|
+
padding: 0.5em;
|
|
190
191
|
color: #000000;
|
|
191
192
|
|
|
192
|
-
.
|
|
193
|
+
.nxt-dt-calendar-control-content {
|
|
193
194
|
flex: 1 1 auto;
|
|
194
195
|
display: flex;
|
|
195
196
|
justify-content: center;
|
|
196
197
|
align-items: center;
|
|
197
198
|
|
|
198
|
-
.
|
|
199
|
-
padding: 0 .8em;
|
|
199
|
+
.nxt-dt-calendar-control-button {
|
|
200
|
+
padding: 0 0.8em;
|
|
200
201
|
|
|
201
202
|
&:hover {
|
|
202
203
|
background-color: rgba(0, 0, 0, 0.12);
|
|
@@ -205,79 +206,77 @@ $theme-color: #3f51b5;
|
|
|
205
206
|
}
|
|
206
207
|
}
|
|
207
208
|
|
|
208
|
-
.
|
|
209
|
+
.nxt-dt-calendar-main {
|
|
209
210
|
display: flex;
|
|
210
211
|
flex-direction: column;
|
|
211
212
|
flex: 1 1 auto;
|
|
212
|
-
padding: 0 .5em .5em;
|
|
213
|
+
padding: 0 0.5em 0.5em;
|
|
213
214
|
outline: 0;
|
|
214
215
|
}
|
|
215
216
|
|
|
216
|
-
.
|
|
217
|
+
.nxt-dt-calendar-view {
|
|
217
218
|
display: block;
|
|
218
219
|
flex: 1 1 auto;
|
|
219
220
|
}
|
|
220
221
|
|
|
221
|
-
.
|
|
222
|
+
.nxt-dt-calendar-multi-year-view {
|
|
222
223
|
display: flex;
|
|
223
224
|
align-items: center;
|
|
224
225
|
|
|
225
|
-
.
|
|
226
|
+
.nxt-dt-calendar-table {
|
|
226
227
|
width: calc(100% - 3em);
|
|
227
228
|
|
|
228
|
-
.
|
|
229
|
-
padding-bottom: .25em;
|
|
229
|
+
.nxt-dt-calendar-header th {
|
|
230
|
+
padding-bottom: 0.25em;
|
|
230
231
|
}
|
|
231
232
|
}
|
|
232
233
|
}
|
|
233
234
|
|
|
234
|
-
.
|
|
235
|
+
.nxt-dt-calendar-table {
|
|
235
236
|
width: 100%;
|
|
236
237
|
border-collapse: collapse;
|
|
237
238
|
border-spacing: 0;
|
|
238
239
|
|
|
239
|
-
.
|
|
240
|
+
.nxt-dt-calendar-header {
|
|
240
241
|
color: rgba(0, 0, 0, 0.4);
|
|
241
242
|
|
|
242
|
-
.
|
|
243
|
+
.nxt-dt-weekdays {
|
|
243
244
|
th {
|
|
244
|
-
font-size: .7em;
|
|
245
|
+
font-size: 0.7em;
|
|
245
246
|
font-weight: 400;
|
|
246
247
|
text-align: center;
|
|
247
248
|
padding-bottom: 1em;
|
|
248
249
|
}
|
|
249
250
|
}
|
|
250
251
|
|
|
251
|
-
.
|
|
252
|
+
.nxt-dt-calendar-table-divider {
|
|
252
253
|
position: relative;
|
|
253
254
|
height: 1px;
|
|
254
|
-
padding-bottom: .5em;
|
|
255
|
+
padding-bottom: 0.5em;
|
|
255
256
|
|
|
256
257
|
&:after {
|
|
257
|
-
content:
|
|
258
|
+
content: "";
|
|
258
259
|
position: absolute;
|
|
259
260
|
top: 0;
|
|
260
|
-
left:
|
|
261
|
-
right:
|
|
261
|
+
left: -0.5em;
|
|
262
|
+
right: -0.5em;
|
|
262
263
|
height: 1px;
|
|
263
264
|
background: rgba(0, 0, 0, 0.12);
|
|
264
265
|
}
|
|
265
266
|
}
|
|
266
267
|
}
|
|
267
268
|
|
|
268
|
-
.
|
|
269
|
+
.nxt-dt-calendar-cell {
|
|
269
270
|
position: relative;
|
|
270
271
|
height: 0;
|
|
271
272
|
line-height: 0;
|
|
272
273
|
text-align: center;
|
|
273
274
|
outline: 0;
|
|
274
275
|
color: rgba(0, 0, 0, 0.85);
|
|
275
|
-
|
|
276
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
277
|
-
-webkit-tap-highlight-color: transparent;
|
|
276
|
+
appearance: none;
|
|
278
277
|
}
|
|
279
278
|
|
|
280
|
-
.
|
|
279
|
+
.nxt-dt-calendar-cell-content {
|
|
281
280
|
position: absolute;
|
|
282
281
|
top: 5%;
|
|
283
282
|
left: 5%;
|
|
@@ -287,7 +286,7 @@ $theme-color: #3f51b5;
|
|
|
287
286
|
box-sizing: border-box;
|
|
288
287
|
width: 90%;
|
|
289
288
|
height: 90%;
|
|
290
|
-
font-size: .8em;
|
|
289
|
+
font-size: 0.8em;
|
|
291
290
|
line-height: 1;
|
|
292
291
|
border: 1px solid transparent;
|
|
293
292
|
border-radius: 999px;
|
|
@@ -295,86 +294,93 @@ $theme-color: #3f51b5;
|
|
|
295
294
|
cursor: pointer;
|
|
296
295
|
}
|
|
297
296
|
|
|
298
|
-
.
|
|
299
|
-
opacity: .2;
|
|
297
|
+
.nxt-dt-calendar-cell-out {
|
|
298
|
+
opacity: 0.2;
|
|
300
299
|
}
|
|
301
300
|
|
|
302
|
-
.
|
|
301
|
+
.nxt-dt-calendar-cell-today:not(.nxt-dt-calendar-cell-selected) {
|
|
303
302
|
border-color: rgba(0, 0, 0, 0.4);
|
|
304
303
|
}
|
|
305
304
|
|
|
306
|
-
.
|
|
305
|
+
.nxt-dt-calendar-cell-selected {
|
|
307
306
|
color: hsla(0, 0%, 100%, 0.85);
|
|
308
307
|
background-color: $theme-color;
|
|
309
308
|
|
|
310
|
-
&.
|
|
309
|
+
&.nxt-dt-calendar-cell-today {
|
|
311
310
|
box-shadow: inset 0 0 0 1px hsla(0, 0%, 100%, 0.85);
|
|
312
311
|
}
|
|
313
312
|
}
|
|
314
313
|
|
|
315
|
-
.
|
|
314
|
+
.nxt-dt-calendar-cell-disabled {
|
|
316
315
|
cursor: default;
|
|
317
316
|
|
|
318
|
-
& > .
|
|
317
|
+
& > .nxt-dt-calendar-cell-content:not(.nxt-dt-calendar-cell-selected) {
|
|
319
318
|
color: rgba(0, 0, 0, 0.4);
|
|
320
319
|
}
|
|
321
320
|
|
|
322
|
-
& > .
|
|
323
|
-
opacity: .4;
|
|
321
|
+
& > .nxt-dt-calendar-cell-content.nxt-dt-calendar-cell-selected {
|
|
322
|
+
opacity: 0.4;
|
|
324
323
|
}
|
|
325
324
|
|
|
326
|
-
& > .
|
|
325
|
+
& > .nxt-dt-calendar-cell-today:not(.nxt-dt-calendar-cell-selected) {
|
|
327
326
|
border-color: rgba(0, 0, 0, 0.2);
|
|
328
327
|
}
|
|
329
328
|
}
|
|
330
329
|
|
|
331
|
-
.
|
|
332
|
-
:not(.
|
|
330
|
+
.nxt-dt-calendar-cell-active:focus > .nxt-dt-calendar-cell-content:not(.nxt-dt-calendar-cell-selected),
|
|
331
|
+
:not(.nxt-dt-calendar-cell-disabled):hover > .nxt-dt-calendar-cell-content:not(.nxt-dt-calendar-cell-selected) {
|
|
333
332
|
background-color: rgba(0, 0, 0, 0.04);
|
|
334
333
|
}
|
|
335
334
|
|
|
336
|
-
.
|
|
335
|
+
.nxt-dt-calendar-cell-in-range {
|
|
337
336
|
background: rgba($theme-color, 0.2);
|
|
338
337
|
|
|
339
|
-
&.
|
|
340
|
-
border-top-left-radius:
|
|
341
|
-
|
|
338
|
+
&.nxt-dt-calendar-cell-range-from {
|
|
339
|
+
border-top-left-radius: 50%;
|
|
340
|
+
|
|
341
|
+
&:not(.nxt-dt-calendar-cell-range-from-long) {
|
|
342
|
+
border-bottom-left-radius: 50%;
|
|
343
|
+
}
|
|
342
344
|
}
|
|
343
345
|
|
|
344
|
-
&.
|
|
345
|
-
border-
|
|
346
|
-
|
|
346
|
+
&.nxt-dt-calendar-cell-range-to {
|
|
347
|
+
border-bottom-right-radius: 50%;
|
|
348
|
+
|
|
349
|
+
&:not(.nxt-dt-calendar-cell-range-to-long) {
|
|
350
|
+
border-top-right-radius: 50%;
|
|
351
|
+
}
|
|
347
352
|
}
|
|
348
353
|
}
|
|
349
354
|
}
|
|
350
355
|
|
|
351
|
-
.
|
|
356
|
+
.nxt-dt-timer {
|
|
352
357
|
display: flex;
|
|
353
358
|
justify-content: center;
|
|
354
359
|
width: 100%;
|
|
355
360
|
height: 7em;
|
|
356
|
-
padding: .5em;
|
|
361
|
+
padding: 0.5em;
|
|
357
362
|
outline: none;
|
|
358
363
|
}
|
|
359
364
|
|
|
360
|
-
.
|
|
365
|
+
.nxt-dt-timer-box {
|
|
361
366
|
position: relative;
|
|
362
367
|
display: inline-flex;
|
|
363
368
|
flex-direction: column;
|
|
364
369
|
align-items: center;
|
|
365
370
|
width: 25%;
|
|
371
|
+
flex: 5em 0 1;
|
|
366
372
|
height: 100%;
|
|
367
373
|
}
|
|
368
374
|
|
|
369
|
-
.
|
|
375
|
+
.nxt-dt-timer-content {
|
|
370
376
|
flex: 1 1 auto;
|
|
371
377
|
display: flex;
|
|
372
378
|
justify-content: center;
|
|
373
379
|
align-items: center;
|
|
374
380
|
width: 100%;
|
|
375
|
-
margin: .2em 0;
|
|
381
|
+
margin: 0.2em 0;
|
|
376
382
|
|
|
377
|
-
.
|
|
383
|
+
.nxt-dt-timer-input {
|
|
378
384
|
display: block;
|
|
379
385
|
width: 2em;
|
|
380
386
|
text-align: center;
|
|
@@ -382,29 +388,29 @@ $theme-color: #3f51b5;
|
|
|
382
388
|
border-radius: 3px;
|
|
383
389
|
outline: medium none;
|
|
384
390
|
font-size: 1.2em;
|
|
385
|
-
padding: .2em;
|
|
391
|
+
padding: 0.2em;
|
|
386
392
|
}
|
|
387
393
|
}
|
|
388
394
|
|
|
389
|
-
.
|
|
395
|
+
.nxt-dt-timer-divider {
|
|
390
396
|
display: inline-block;
|
|
391
397
|
align-self: flex-end;
|
|
392
398
|
position: absolute;
|
|
393
|
-
width: .6em;
|
|
399
|
+
width: 0.6em;
|
|
394
400
|
height: 100%;
|
|
395
|
-
left:
|
|
401
|
+
left: -0.3em;
|
|
396
402
|
|
|
397
403
|
&:before,
|
|
398
404
|
&:after {
|
|
399
|
-
content:
|
|
405
|
+
content: "";
|
|
400
406
|
display: inline-block;
|
|
401
|
-
width: .35em;
|
|
402
|
-
height: .35em;
|
|
407
|
+
width: 0.35em;
|
|
408
|
+
height: 0.35em;
|
|
403
409
|
position: absolute;
|
|
404
410
|
left: 50%;
|
|
405
411
|
border-radius: 50%;
|
|
406
412
|
transform: translateX(-50%);
|
|
407
|
-
background-color:
|
|
413
|
+
background-color: currentcolor;
|
|
408
414
|
}
|
|
409
415
|
|
|
410
416
|
&:before {
|
|
@@ -416,12 +422,11 @@ $theme-color: #3f51b5;
|
|
|
416
422
|
}
|
|
417
423
|
}
|
|
418
424
|
|
|
419
|
-
.
|
|
425
|
+
.nxt-dt-control-button {
|
|
420
426
|
user-select: none;
|
|
421
427
|
cursor: pointer;
|
|
422
428
|
outline: none;
|
|
423
429
|
border: none;
|
|
424
|
-
-webkit-tap-highlight-color: transparent;
|
|
425
430
|
display: inline-block;
|
|
426
431
|
white-space: nowrap;
|
|
427
432
|
text-decoration: none;
|
|
@@ -432,7 +437,7 @@ $theme-color: #3f51b5;
|
|
|
432
437
|
font-size: 1em;
|
|
433
438
|
color: inherit;
|
|
434
439
|
|
|
435
|
-
.
|
|
440
|
+
.nxt-dt-control-button-content {
|
|
436
441
|
position: relative;
|
|
437
442
|
display: inline-flex;
|
|
438
443
|
justify-content: center;
|
|
@@ -441,31 +446,31 @@ $theme-color: #3f51b5;
|
|
|
441
446
|
}
|
|
442
447
|
}
|
|
443
448
|
|
|
444
|
-
.
|
|
445
|
-
.
|
|
449
|
+
.nxt-dt-control-period-button {
|
|
450
|
+
.nxt-dt-control-button-content {
|
|
446
451
|
height: 1.5em;
|
|
447
|
-
padding: 0 .5em;
|
|
452
|
+
padding: 0 0.5em;
|
|
448
453
|
border-radius: 3px;
|
|
449
454
|
transition: background-color 100ms linear;
|
|
450
455
|
}
|
|
451
456
|
|
|
452
|
-
&:hover > .
|
|
457
|
+
&:hover > .nxt-dt-control-button-content {
|
|
453
458
|
background-color: rgba(0, 0, 0, 0.12);
|
|
454
459
|
}
|
|
455
460
|
|
|
456
|
-
.
|
|
461
|
+
.nxt-dt-control-button-arrow {
|
|
457
462
|
display: flex;
|
|
458
463
|
justify-content: center;
|
|
459
464
|
align-items: center;
|
|
460
465
|
width: 1em;
|
|
461
466
|
height: 1em;
|
|
462
|
-
margin: .1em;
|
|
467
|
+
margin: 0.1em;
|
|
463
468
|
transition: transform 200ms ease;
|
|
464
469
|
}
|
|
465
470
|
}
|
|
466
471
|
|
|
467
|
-
.
|
|
468
|
-
.
|
|
472
|
+
.nxt-dt-control-arrow-button {
|
|
473
|
+
.nxt-dt-control-button-content {
|
|
469
474
|
padding: 0;
|
|
470
475
|
border-radius: 50%;
|
|
471
476
|
width: 1.5em;
|
|
@@ -480,108 +485,107 @@ $theme-color: #3f51b5;
|
|
|
480
485
|
svg {
|
|
481
486
|
width: 50%;
|
|
482
487
|
height: 50%;
|
|
483
|
-
fill:
|
|
488
|
+
fill: currentcolor;
|
|
484
489
|
}
|
|
485
490
|
}
|
|
486
491
|
|
|
487
|
-
.
|
|
488
|
-
.
|
|
492
|
+
.nxt-dt-inline-container,
|
|
493
|
+
.nxt-dt-popup-container {
|
|
489
494
|
position: relative;
|
|
490
495
|
width: 18.5em;
|
|
491
496
|
box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
492
497
|
|
|
493
|
-
.
|
|
494
|
-
.
|
|
498
|
+
.nxt-dt-calendar,
|
|
499
|
+
.nxt-dt-timer {
|
|
495
500
|
width: 100%;
|
|
496
501
|
}
|
|
497
502
|
|
|
498
|
-
.
|
|
503
|
+
.nxt-dt-calendar {
|
|
499
504
|
height: 20.25em;
|
|
500
505
|
}
|
|
501
506
|
}
|
|
502
507
|
|
|
503
|
-
.
|
|
508
|
+
.nxt-dt-dialog-container {
|
|
504
509
|
max-height: 95vh;
|
|
505
510
|
margin: -1.5em;
|
|
506
511
|
|
|
507
|
-
.
|
|
512
|
+
.nxt-dt-calendar {
|
|
508
513
|
min-width: 250px;
|
|
509
514
|
min-height: 330px;
|
|
510
515
|
max-width: 750px;
|
|
511
516
|
max-height: 750px;
|
|
512
517
|
}
|
|
513
518
|
|
|
514
|
-
.
|
|
519
|
+
.nxt-dt-timer {
|
|
515
520
|
min-width: 250px;
|
|
516
521
|
max-width: 750px;
|
|
517
522
|
}
|
|
518
523
|
}
|
|
519
524
|
|
|
520
525
|
@media all and (orientation: landscape) {
|
|
521
|
-
.
|
|
522
|
-
.
|
|
526
|
+
.nxt-dt-dialog-container {
|
|
527
|
+
.nxt-dt-calendar {
|
|
523
528
|
width: 58vh;
|
|
524
529
|
height: 62vh;
|
|
525
530
|
}
|
|
526
531
|
|
|
527
|
-
.
|
|
532
|
+
.nxt-dt-timer {
|
|
528
533
|
width: 58vh;
|
|
529
534
|
}
|
|
530
535
|
}
|
|
531
536
|
}
|
|
532
537
|
|
|
533
538
|
@media all and (orientation: portrait) {
|
|
534
|
-
.
|
|
535
|
-
.
|
|
539
|
+
.nxt-dt-dialog-container {
|
|
540
|
+
.nxt-dt-calendar {
|
|
536
541
|
width: 80vw;
|
|
537
542
|
height: 80vw;
|
|
538
543
|
}
|
|
539
544
|
|
|
540
|
-
.
|
|
545
|
+
.nxt-dt-timer {
|
|
541
546
|
width: 80vw;
|
|
542
547
|
}
|
|
543
548
|
}
|
|
544
549
|
}
|
|
545
550
|
|
|
546
|
-
.
|
|
551
|
+
.nxt-dt-container-buttons {
|
|
547
552
|
display: flex;
|
|
548
553
|
width: 100%;
|
|
549
554
|
height: 2em;
|
|
550
555
|
color: $theme-color;
|
|
551
556
|
}
|
|
552
557
|
|
|
553
|
-
.
|
|
558
|
+
.nxt-dt-container-control-button {
|
|
554
559
|
font-size: 1em;
|
|
555
560
|
width: 50%;
|
|
556
561
|
height: 100%;
|
|
557
562
|
border-radius: 0;
|
|
558
563
|
|
|
559
|
-
.
|
|
564
|
+
.nxt-dt-control-button-content {
|
|
560
565
|
height: 100%;
|
|
561
566
|
width: 100%;
|
|
562
567
|
transition: background-color 100ms linear;
|
|
563
568
|
}
|
|
564
569
|
|
|
565
570
|
&:hover {
|
|
566
|
-
.
|
|
571
|
+
.nxt-dt-control-button-content {
|
|
567
572
|
background-color: rgba(0, 0, 0, 0.1);
|
|
568
573
|
}
|
|
569
574
|
}
|
|
570
575
|
}
|
|
571
576
|
|
|
572
|
-
.
|
|
573
|
-
padding: 0 .5em;
|
|
577
|
+
.nxt-dt-container-info {
|
|
578
|
+
padding: 0 0.5em;
|
|
574
579
|
cursor: pointer;
|
|
575
|
-
-webkit-tap-highlight-color: transparent;
|
|
576
580
|
|
|
577
|
-
.
|
|
581
|
+
.nxt-dt-container-range {
|
|
578
582
|
outline: none;
|
|
579
583
|
|
|
580
|
-
.
|
|
584
|
+
.nxt-dt-container-range-content {
|
|
581
585
|
display: flex;
|
|
582
586
|
justify-content: space-between;
|
|
583
|
-
padding: .5em 0;
|
|
584
|
-
font-size: .8em;
|
|
587
|
+
padding: 0.5em 0;
|
|
588
|
+
font-size: 0.8em;
|
|
585
589
|
}
|
|
586
590
|
|
|
587
591
|
&:last-child {
|
|
@@ -589,38 +593,39 @@ $theme-color: #3f51b5;
|
|
|
589
593
|
}
|
|
590
594
|
}
|
|
591
595
|
|
|
592
|
-
.
|
|
596
|
+
.nxt-dt-container-info-active {
|
|
593
597
|
color: $theme-color;
|
|
594
598
|
}
|
|
595
599
|
}
|
|
596
600
|
|
|
597
|
-
.
|
|
598
|
-
.
|
|
601
|
+
.nxt-dt-container-disabled,
|
|
602
|
+
.nxt-dt-trigger-disabled {
|
|
599
603
|
opacity: 0.35;
|
|
600
|
-
filter: Alpha(
|
|
604
|
+
filter: Alpha(opacity = 35);
|
|
601
605
|
background-image: none;
|
|
602
606
|
cursor: default !important;
|
|
603
607
|
}
|
|
604
608
|
|
|
605
|
-
.
|
|
609
|
+
.nxt-dt-timer-hour12 {
|
|
606
610
|
display: flex;
|
|
607
611
|
justify-content: center;
|
|
608
612
|
align-items: center;
|
|
609
613
|
color: $theme-color;
|
|
610
614
|
|
|
611
|
-
.
|
|
612
|
-
border: 1px solid
|
|
615
|
+
.nxt-dt-timer-hour12-box {
|
|
616
|
+
border: 1px solid currentcolor;
|
|
613
617
|
border-radius: 2px;
|
|
614
618
|
transition: background 200ms ease;
|
|
615
619
|
|
|
616
|
-
.
|
|
620
|
+
.nxt-dt-control-button-content {
|
|
617
621
|
width: 100%;
|
|
618
622
|
height: 100%;
|
|
619
|
-
padding: .5em;
|
|
623
|
+
padding: 0.5em;
|
|
620
624
|
}
|
|
621
625
|
|
|
622
|
-
&:focus,
|
|
623
|
-
|
|
626
|
+
&:focus,
|
|
627
|
+
&:hover {
|
|
628
|
+
.nxt-dt-control-button-content {
|
|
624
629
|
background: $theme-color;
|
|
625
630
|
color: #ffffff;
|
|
626
631
|
}
|
|
@@ -628,35 +633,35 @@ $theme-color: #3f51b5;
|
|
|
628
633
|
}
|
|
629
634
|
}
|
|
630
635
|
|
|
631
|
-
.
|
|
632
|
-
.
|
|
636
|
+
.nxt-dt-calendar-only-current-month {
|
|
637
|
+
.nxt-dt-calendar-cell-out {
|
|
633
638
|
visibility: hidden;
|
|
634
639
|
cursor: default;
|
|
635
640
|
}
|
|
636
641
|
}
|
|
637
642
|
|
|
638
|
-
.
|
|
643
|
+
.nxt-dt-inline {
|
|
639
644
|
display: inline-block;
|
|
640
645
|
}
|
|
641
646
|
|
|
642
|
-
.
|
|
647
|
+
.nxt-dt-control {
|
|
643
648
|
outline: none;
|
|
644
649
|
cursor: pointer;
|
|
645
650
|
|
|
646
|
-
.
|
|
651
|
+
.nxt-dt-control-content {
|
|
647
652
|
outline: none;
|
|
648
653
|
}
|
|
649
654
|
|
|
650
|
-
&:focus > .
|
|
655
|
+
&:focus > .nxt-dt-control-content {
|
|
651
656
|
background-color: rgba(0, 0, 0, 0.12);
|
|
652
657
|
}
|
|
653
658
|
|
|
654
|
-
&:not(:-moz-focusring):focus > .
|
|
659
|
+
&:not(:-moz-focusring):focus > .nxt-dt-control-content {
|
|
655
660
|
box-shadow: none;
|
|
656
661
|
}
|
|
657
662
|
}
|
|
658
663
|
|
|
659
|
-
.
|
|
664
|
+
.nxt-hidden-accessible {
|
|
660
665
|
border: 0;
|
|
661
666
|
clip: rect(0 0 0 0);
|
|
662
667
|
height: 1px;
|