@syncfusion/ej2-calendars 19.2.62 → 19.3.53
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/.eslintrc.json +1 -1
- package/CHANGELOG.md +8 -0
- package/dist/ej2-calendars.umd.min.js +2 -2
- package/dist/ej2-calendars.umd.min.js.map +1 -1
- package/dist/es6/ej2-calendars.es2015.js +612 -1062
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +609 -1059
- package/dist/es6/ej2-calendars.es5.js.map +1 -1
- package/dist/global/ej2-calendars.min.js +2 -2
- package/dist/global/ej2-calendars.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +10 -10
- package/src/calendar/calendar-model.d.ts +1 -10
- package/src/calendar/calendar.d.ts +0 -12
- package/src/calendar/calendar.js +146 -201
- package/src/datepicker/datepicker-model.d.ts +1 -11
- package/src/datepicker/datepicker.d.ts +0 -11
- package/src/datepicker/datepicker.js +168 -310
- package/src/daterangepicker/daterangepicker-model.d.ts +1 -23
- package/src/daterangepicker/daterangepicker.d.ts +0 -22
- package/src/daterangepicker/daterangepicker.js +19 -19
- package/src/datetimepicker/datetimepicker-model.d.ts +1 -14
- package/src/datetimepicker/datetimepicker.d.ts +0 -13
- package/src/datetimepicker/datetimepicker.js +10 -13
- package/src/maskbase/masked-date-time.d.ts +6 -0
- package/src/maskbase/masked-date-time.js +35 -1
- package/src/timepicker/timepicker-model.d.ts +1 -15
- package/src/timepicker/timepicker.d.ts +0 -19
- package/src/timepicker/timepicker.js +238 -519
- package/styles/bootstrap-dark.css +17 -2
- package/styles/bootstrap.css +17 -2
- package/styles/bootstrap4.css +17 -2
- package/styles/bootstrap5-dark.css +2676 -0
- package/styles/bootstrap5-dark.scss +5 -0
- package/styles/bootstrap5.css +2676 -0
- package/styles/bootstrap5.scss +5 -0
- package/styles/calendar/_bootstrap-dark-definition.scss +4 -2
- package/styles/calendar/_bootstrap-definition.scss +4 -2
- package/styles/calendar/_bootstrap4-definition.scss +4 -2
- package/styles/calendar/_bootstrap5-dark-definition.scss +1 -0
- package/styles/calendar/_bootstrap5-definition.scss +213 -0
- package/styles/calendar/_fabric-dark-definition.scss +3 -0
- package/styles/calendar/_fabric-definition.scss +3 -0
- package/styles/calendar/_highcontrast-definition.scss +3 -0
- package/styles/calendar/_highcontrast-light-definition.scss +3 -0
- package/styles/calendar/_layout.scss +8 -0
- package/styles/calendar/_material-dark-definition.scss +3 -0
- package/styles/calendar/_material-definition.scss +3 -0
- package/styles/calendar/_tailwind-dark-definition.scss +1 -220
- package/styles/calendar/_tailwind-definition.scss +84 -101
- package/styles/calendar/_theme.scss +40 -0
- package/styles/calendar/bootstrap-dark.css +17 -2
- package/styles/calendar/bootstrap.css +17 -2
- package/styles/calendar/bootstrap4.css +17 -2
- package/styles/calendar/bootstrap5-dark.css +1038 -0
- package/styles/calendar/bootstrap5-dark.scss +5 -0
- package/styles/calendar/bootstrap5.css +1038 -0
- package/styles/calendar/bootstrap5.scss +5 -0
- package/styles/calendar/fabric-dark.css +15 -0
- package/styles/calendar/fabric.css +15 -0
- package/styles/calendar/highcontrast-light.css +15 -0
- package/styles/calendar/highcontrast.css +15 -0
- package/styles/calendar/icons/_bootstrap5-dark.scss +1 -0
- package/styles/calendar/icons/_bootstrap5.scss +12 -0
- package/styles/calendar/icons/_tailwind-dark.scss +1 -13
- package/styles/calendar/material-dark.css +28 -13
- package/styles/calendar/material.css +15 -0
- package/styles/calendar/tailwind-dark.css +17 -2
- package/styles/calendar/tailwind.css +17 -2
- package/styles/datepicker/_bootstrap5-dark-definition.scss +1 -0
- package/styles/datepicker/_bootstrap5-definition.scss +36 -0
- package/styles/datepicker/_layout.scss +1 -2
- package/styles/datepicker/_tailwind-dark-definition.scss +1 -34
- package/styles/datepicker/_tailwind-definition.scss +13 -13
- package/styles/datepicker/_theme.scss +2 -2
- package/styles/datepicker/bootstrap5-dark.css +177 -0
- package/styles/datepicker/bootstrap5-dark.scss +7 -0
- package/styles/datepicker/bootstrap5.css +177 -0
- package/styles/datepicker/bootstrap5.scss +7 -0
- package/styles/datepicker/icons/_bootstrap5-dark.scss +1 -0
- package/styles/datepicker/icons/_bootstrap5.scss +55 -0
- package/styles/datepicker/icons/_tailwind-dark.scss +1 -55
- package/styles/datepicker/material-dark.css +3 -3
- package/styles/daterangepicker/_bootstrap5-dark-definition.scss +1 -0
- package/styles/daterangepicker/_bootstrap5-definition.scss +222 -0
- package/styles/daterangepicker/_layout.scss +2 -2
- package/styles/daterangepicker/_tailwind-dark-definition.scss +1 -192
- package/styles/daterangepicker/_tailwind-definition.scss +81 -79
- package/styles/daterangepicker/_theme.scss +82 -0
- package/styles/daterangepicker/bootstrap5-dark.css +1029 -0
- package/styles/daterangepicker/bootstrap5-dark.scss +7 -0
- package/styles/daterangepicker/bootstrap5.css +1029 -0
- package/styles/daterangepicker/bootstrap5.scss +7 -0
- package/styles/daterangepicker/icons/_bootstrap5-dark.scss +1 -0
- package/styles/daterangepicker/icons/_bootstrap5.scss +67 -0
- package/styles/daterangepicker/icons/_tailwind-dark.scss +1 -63
- package/styles/daterangepicker/material-dark.css +9 -9
- package/styles/datetimepicker/_bootstrap5-dark-definition.scss +1 -0
- package/styles/datetimepicker/_bootstrap5-definition.scss +55 -0
- package/styles/datetimepicker/_tailwind-dark-definition.scss +1 -53
- package/styles/datetimepicker/_tailwind-definition.scss +16 -14
- package/styles/datetimepicker/bootstrap5-dark.css +205 -0
- package/styles/datetimepicker/bootstrap5-dark.scss +8 -0
- package/styles/datetimepicker/bootstrap5.css +205 -0
- package/styles/datetimepicker/bootstrap5.scss +8 -0
- package/styles/datetimepicker/icons/_bootstrap5-dark.scss +1 -0
- package/styles/datetimepicker/icons/_bootstrap5.scss +11 -0
- package/styles/datetimepicker/icons/_tailwind-dark.scss +1 -10
- package/styles/datetimepicker/material-dark.css +4 -4
- package/styles/fabric-dark.css +15 -0
- package/styles/fabric.css +15 -0
- package/styles/highcontrast-light.css +15 -0
- package/styles/highcontrast.css +15 -0
- package/styles/material-dark.css +48 -33
- package/styles/material.css +15 -0
- package/styles/tailwind-dark.css +17 -2
- package/styles/tailwind.css +17 -2
- package/styles/timepicker/_bootstrap5-dark-definition.scss +1 -0
- package/styles/timepicker/_bootstrap5-definition.scss +52 -0
- package/styles/timepicker/_tailwind-dark-definition.scss +1 -48
- package/styles/timepicker/_tailwind-definition.scss +19 -17
- package/styles/timepicker/_theme.scss +1 -1
- package/styles/timepicker/bootstrap5-dark.css +223 -0
- package/styles/timepicker/bootstrap5-dark.scss +6 -0
- package/styles/timepicker/bootstrap5.css +223 -0
- package/styles/timepicker/bootstrap5.scss +6 -0
- package/styles/timepicker/icons/_bootstrap5-dark.scss +1 -0
- package/styles/timepicker/icons/_bootstrap5.scss +13 -0
- package/styles/timepicker/icons/_tailwind-dark.scss +1 -12
- package/styles/timepicker/material-dark.css +4 -4
package/styles/material.css
CHANGED
|
@@ -362,6 +362,11 @@ ejs-calendar {
|
|
|
362
362
|
width: 30px;
|
|
363
363
|
}
|
|
364
364
|
|
|
365
|
+
.e-calendar .e-content.e-month td.e-today span.e-day,
|
|
366
|
+
.e-bigger.e-small .e-calendar .e-content.e-month td.e-today span.e-day {
|
|
367
|
+
line-height: 30px;
|
|
368
|
+
}
|
|
369
|
+
|
|
365
370
|
.e-calendar .e-content.e-year table,
|
|
366
371
|
.e-calendar .e-content.e-decade table,
|
|
367
372
|
.e-bigger.e-small .e-calendar .e-content.e-year table,
|
|
@@ -534,6 +539,11 @@ ejs-calendar {
|
|
|
534
539
|
width: 36px;
|
|
535
540
|
}
|
|
536
541
|
|
|
542
|
+
.e-bigger.e-calendar .e-content.e-month td.e-today span.e-day,
|
|
543
|
+
*.e-bigger .e-calendar .e-content.e-month td.e-today span.e-day {
|
|
544
|
+
line-height: 36px;
|
|
545
|
+
}
|
|
546
|
+
|
|
537
547
|
.e-bigger.e-calendar .e-content.e-month td,
|
|
538
548
|
*.e-bigger .e-calendar .e-content.e-month td {
|
|
539
549
|
height: 2px;
|
|
@@ -592,6 +602,11 @@ ejs-calendar {
|
|
|
592
602
|
width: 24px;
|
|
593
603
|
}
|
|
594
604
|
|
|
605
|
+
.e-small.e-calendar .e-content.e-month td.e-today span.e-day,
|
|
606
|
+
.e-small .e-calendar .e-content.e-month td.e-today span.e-day {
|
|
607
|
+
line-height: 24px;
|
|
608
|
+
}
|
|
609
|
+
|
|
595
610
|
.e-small.e-calendar .e-content.e-month td,
|
|
596
611
|
.e-small .e-calendar .e-content.e-month td {
|
|
597
612
|
height: 24px;
|
package/styles/tailwind-dark.css
CHANGED
|
@@ -224,7 +224,7 @@ ejs-calendar {
|
|
|
224
224
|
.e-calendar .e-content td.e-week-number:hover,
|
|
225
225
|
.e-bigger.e-small .e-calendar .e-content td.e-week-number:hover span.e-day,
|
|
226
226
|
.e-bigger.e-small .e-calendar .e-content td.e-week-number:hover {
|
|
227
|
-
background-color:
|
|
227
|
+
background-color: #374151;
|
|
228
228
|
cursor: default;
|
|
229
229
|
}
|
|
230
230
|
|
|
@@ -366,6 +366,11 @@ ejs-calendar {
|
|
|
366
366
|
width: 30px;
|
|
367
367
|
}
|
|
368
368
|
|
|
369
|
+
.e-calendar .e-content.e-month td.e-today span.e-day,
|
|
370
|
+
.e-bigger.e-small .e-calendar .e-content.e-month td.e-today span.e-day {
|
|
371
|
+
line-height: 30px;
|
|
372
|
+
}
|
|
373
|
+
|
|
369
374
|
.e-calendar .e-content.e-year table,
|
|
370
375
|
.e-calendar .e-content.e-decade table,
|
|
371
376
|
.e-bigger.e-small .e-calendar .e-content.e-year table,
|
|
@@ -538,6 +543,11 @@ ejs-calendar {
|
|
|
538
543
|
width: 36px;
|
|
539
544
|
}
|
|
540
545
|
|
|
546
|
+
.e-bigger.e-calendar .e-content.e-month td.e-today span.e-day,
|
|
547
|
+
*.e-bigger .e-calendar .e-content.e-month td.e-today span.e-day {
|
|
548
|
+
line-height: 36px;
|
|
549
|
+
}
|
|
550
|
+
|
|
541
551
|
.e-bigger.e-calendar .e-content.e-month td,
|
|
542
552
|
*.e-bigger .e-calendar .e-content.e-month td {
|
|
543
553
|
height: 0;
|
|
@@ -596,6 +606,11 @@ ejs-calendar {
|
|
|
596
606
|
width: 26px;
|
|
597
607
|
}
|
|
598
608
|
|
|
609
|
+
.e-small.e-calendar .e-content.e-month td.e-today span.e-day,
|
|
610
|
+
.e-small .e-calendar .e-content.e-month td.e-today span.e-day {
|
|
611
|
+
line-height: 26px;
|
|
612
|
+
}
|
|
613
|
+
|
|
599
614
|
.e-small.e-calendar .e-content.e-month td,
|
|
600
615
|
.e-small .e-calendar .e-content.e-month td {
|
|
601
616
|
height: 26px;
|
|
@@ -662,7 +677,7 @@ ejs-calendar {
|
|
|
662
677
|
|
|
663
678
|
.e-calendar,
|
|
664
679
|
.e-bigger.e-small .e-calendar {
|
|
665
|
-
background-color:
|
|
680
|
+
background-color: #374151;
|
|
666
681
|
border: 1px solid #4b5563;
|
|
667
682
|
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
668
683
|
}
|
package/styles/tailwind.css
CHANGED
|
@@ -224,7 +224,7 @@ ejs-calendar {
|
|
|
224
224
|
.e-calendar .e-content td.e-week-number:hover,
|
|
225
225
|
.e-bigger.e-small .e-calendar .e-content td.e-week-number:hover span.e-day,
|
|
226
226
|
.e-bigger.e-small .e-calendar .e-content td.e-week-number:hover {
|
|
227
|
-
background-color:
|
|
227
|
+
background-color: #fff;
|
|
228
228
|
cursor: default;
|
|
229
229
|
}
|
|
230
230
|
|
|
@@ -366,6 +366,11 @@ ejs-calendar {
|
|
|
366
366
|
width: 30px;
|
|
367
367
|
}
|
|
368
368
|
|
|
369
|
+
.e-calendar .e-content.e-month td.e-today span.e-day,
|
|
370
|
+
.e-bigger.e-small .e-calendar .e-content.e-month td.e-today span.e-day {
|
|
371
|
+
line-height: 30px;
|
|
372
|
+
}
|
|
373
|
+
|
|
369
374
|
.e-calendar .e-content.e-year table,
|
|
370
375
|
.e-calendar .e-content.e-decade table,
|
|
371
376
|
.e-bigger.e-small .e-calendar .e-content.e-year table,
|
|
@@ -538,6 +543,11 @@ ejs-calendar {
|
|
|
538
543
|
width: 36px;
|
|
539
544
|
}
|
|
540
545
|
|
|
546
|
+
.e-bigger.e-calendar .e-content.e-month td.e-today span.e-day,
|
|
547
|
+
*.e-bigger .e-calendar .e-content.e-month td.e-today span.e-day {
|
|
548
|
+
line-height: 36px;
|
|
549
|
+
}
|
|
550
|
+
|
|
541
551
|
.e-bigger.e-calendar .e-content.e-month td,
|
|
542
552
|
*.e-bigger .e-calendar .e-content.e-month td {
|
|
543
553
|
height: 0;
|
|
@@ -596,6 +606,11 @@ ejs-calendar {
|
|
|
596
606
|
width: 26px;
|
|
597
607
|
}
|
|
598
608
|
|
|
609
|
+
.e-small.e-calendar .e-content.e-month td.e-today span.e-day,
|
|
610
|
+
.e-small .e-calendar .e-content.e-month td.e-today span.e-day {
|
|
611
|
+
line-height: 26px;
|
|
612
|
+
}
|
|
613
|
+
|
|
599
614
|
.e-small.e-calendar .e-content.e-month td,
|
|
600
615
|
.e-small .e-calendar .e-content.e-month td {
|
|
601
616
|
height: 26px;
|
|
@@ -662,7 +677,7 @@ ejs-calendar {
|
|
|
662
677
|
|
|
663
678
|
.e-calendar,
|
|
664
679
|
.e-bigger.e-small .e-calendar {
|
|
665
|
-
background-color:
|
|
680
|
+
background-color: #fff;
|
|
666
681
|
border: 1px solid #e5e7eb;
|
|
667
682
|
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
668
683
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import './bootstrap5-definition.scss';
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
// size variables
|
|
2
|
+
$timepicker-default-text-indent: 12px !default;
|
|
3
|
+
$timepicker-list-bigger-line-height: 32px !default;
|
|
4
|
+
$timepicker-list-normal-line-height: 30px !default;
|
|
5
|
+
$timepicker-list-normal-font-size: $text-sm !default;
|
|
6
|
+
$timepicker-list-bigger-font-size: $text-base !default;
|
|
7
|
+
$timepicker-list-normal-text-indent: $timepicker-default-text-indent !default;
|
|
8
|
+
$timepicker-list-bigger-text-indent: 16px !default;
|
|
9
|
+
$timepicker-popup-border-radius: 6px !default;
|
|
10
|
+
$timepicker-list-font-weight: normal !default;
|
|
11
|
+
$timepicker-list-normal-padding: 0 !default;
|
|
12
|
+
$timepicker-list-bigger-padding: 0 !default;
|
|
13
|
+
$timepicker-font-icon: '\e20c' !default;
|
|
14
|
+
$timepicker-icon-normal-font-size: 16px !default;
|
|
15
|
+
$timepicker-icon-bigger-font-size: 18px !default;
|
|
16
|
+
$timepicker-normal-input-min-height: 20px !default;
|
|
17
|
+
$timepicker-normal-input-min-width: 20px !default;
|
|
18
|
+
$timepicker-bigger-input-min-height: 22px !default;
|
|
19
|
+
$timepicker-bigger-input-min-width: 22px !default;
|
|
20
|
+
$timepicker-list-default-border-style: none !default;
|
|
21
|
+
$timepicker-disable-opacity: 1 !default;
|
|
22
|
+
// mouse small
|
|
23
|
+
$timepicker-list-small-font-size: $text-sm !default;
|
|
24
|
+
$timepicker-list-small-line-height: 26px !default;
|
|
25
|
+
$timepicker-list-small-text-indent: 8px !default;
|
|
26
|
+
// mouse small icon
|
|
27
|
+
$timepicker-icon-small-font-size: 14px !default;
|
|
28
|
+
// Touch small
|
|
29
|
+
$timepicker-list-bigger-small-font-size: $text-sm !default;
|
|
30
|
+
$timepicker-list-bigger-small-line-height: 30px !default;
|
|
31
|
+
$timepicker-list-bigger-small-text-indent: 16px !default;
|
|
32
|
+
// Touch small icon
|
|
33
|
+
$timepicker-icon-bigger-small-font-size: 16px !default;
|
|
34
|
+
// color variables
|
|
35
|
+
$timepicker-popup-shadow: none !default;
|
|
36
|
+
$timepicker-list-default-font-color: $content-text-color !default;
|
|
37
|
+
$timepicker-list-border-color: 1px solid $border-light !default;
|
|
38
|
+
$timepicker-list-hover-border-color: none !default;
|
|
39
|
+
$timepicker-list-bg-color: $flyout-bg-color !default;
|
|
40
|
+
$timepicker-list-active-bg-color: $content-bg-color-selected !default;
|
|
41
|
+
$timepicker-icon-active-bg-color: $secondary-bg-color-pressed;
|
|
42
|
+
$timepicker-active-border-color: darken($gray-600, 10%) !default;
|
|
43
|
+
$timepicker-list-active-font-color: $flyout-text-color-pressed !default;
|
|
44
|
+
$timepicker-list-active-icon-color: $content-text-color-selected !default;
|
|
45
|
+
$timepicker-list-hover-bg-color: $flyout-bg-color-hover !default;
|
|
46
|
+
$timepicker-list-hover-font-color: $flyout-text-color-hover !default;
|
|
47
|
+
$timepicker-list-popup-icon-active-color: $flyout-text-color-pressed !default;
|
|
48
|
+
$timepicker-list-active-hover-bg-color: $flyout-bg-color-hover !default;
|
|
49
|
+
$timepicker-list-active-hover-font-color: $flyout-text-color-hover !default;
|
|
50
|
+
$timepicker-disable-text: $content-text-color-disabled !default;
|
|
51
|
+
$timepicker-default-overlay: $content-bg-color-alt2 !default;
|
|
52
|
+
$timepicker-list-small-font-color: $content-text-color !default;
|
|
@@ -1,48 +1 @@
|
|
|
1
|
-
|
|
2
|
-
$timepicker-list-bigger-line-height: 36px !default;
|
|
3
|
-
$timepicker-list-normal-line-height: 30px !default;
|
|
4
|
-
$timepicker-list-normal-font-size: $text-sm !default;
|
|
5
|
-
$timepicker-list-bigger-font-size: $text-base !default;
|
|
6
|
-
$timepicker-list-normal-text-indent: $timepicker-default-text-indent !default;
|
|
7
|
-
$timepicker-list-bigger-text-indent: 16px !default;
|
|
8
|
-
$timepicker-popup-border-radius: 6px !default;
|
|
9
|
-
$timepicker-list-font-weight: normal !default;
|
|
10
|
-
$timepicker-popup-shadow: $shadow-lg !default;
|
|
11
|
-
$timepicker-list-default-font-color: $content-text-color !default;
|
|
12
|
-
$timepicker-list-default-border-style: none !default;
|
|
13
|
-
$timepicker-list-border-color: 1px solid $border-light !default;
|
|
14
|
-
$timepicker-list-hover-border-color: none !default;
|
|
15
|
-
$timepicker-list-bg-color: $content-bg-color !default;
|
|
16
|
-
$timepicker-list-active-bg-color: $content-bg-color-selected !default;
|
|
17
|
-
$timepicker-list-active-font-color: $content-text-color-selected !default;
|
|
18
|
-
$timepicker-list-active-icon-color: $content-text-color-selected !default;
|
|
19
|
-
$timepicker-list-hover-bg-color: $content-bg-color-hover !default;
|
|
20
|
-
$timepicker-list-hover-font-color: $content-text-color-hover !default;
|
|
21
|
-
$timepicker-list-popup-icon-active-color: $content-text-color-selected !default;
|
|
22
|
-
$timepicker-list-active-hover-bg-color: $content-bg-color-hover !default;
|
|
23
|
-
$timepicker-list-active-hover-font-color: $content-text-color-selected !default;
|
|
24
|
-
$timepicker-list-normal-padding: 0 !default;
|
|
25
|
-
$timepicker-list-bigger-padding: 0 !default;
|
|
26
|
-
$timepicker-font-icon: '\e20c' !default;
|
|
27
|
-
$timepicker-icon-normal-font-size: 16px !default;
|
|
28
|
-
$timepicker-icon-bigger-font-size: 18px !default;
|
|
29
|
-
$timepicker-normal-input-min-height: 20px !default;
|
|
30
|
-
$timepicker-normal-input-min-width: 20px !default;
|
|
31
|
-
$timepicker-bigger-input-min-height: 22px !default;
|
|
32
|
-
$timepicker-bigger-input-min-width: 22px !default;
|
|
33
|
-
$timepicker-disable-text: $content-text-color-disabled !default;
|
|
34
|
-
$timepicker-disable-opacity: 1 !default;
|
|
35
|
-
$timepicker-default-overlay: $content-bg-color-alt2 !default;
|
|
36
|
-
// mouse small
|
|
37
|
-
$timepicker-list-small-font-size: $text-sm !default;
|
|
38
|
-
$timepicker-list-small-line-height: 24px !default;
|
|
39
|
-
$timepicker-list-small-text-indent: 12px !default;
|
|
40
|
-
$timepicker-list-small-font-color: $content-text-color !default;
|
|
41
|
-
// mouse small icon
|
|
42
|
-
$timepicker-icon-small-font-size: 14px !default;
|
|
43
|
-
// Touch small
|
|
44
|
-
$timepicker-list-bigger-small-font-size: $text-sm !default;
|
|
45
|
-
$timepicker-list-bigger-small-line-height: 32px !default;
|
|
46
|
-
$timepicker-list-bigger-small-text-indent: 12px !default;
|
|
47
|
-
// Touch small icon
|
|
48
|
-
$timepicker-icon-bigger-small-font-size: 16px !default;
|
|
1
|
+
@import './tailwind-definition.scss';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// size variables
|
|
1
2
|
$timepicker-default-text-indent: 12px !default;
|
|
2
3
|
$timepicker-list-bigger-line-height: 36px !default;
|
|
3
4
|
$timepicker-list-normal-line-height: 30px !default;
|
|
@@ -7,20 +8,6 @@ $timepicker-list-normal-text-indent: $timepicker-default-text-indent !default;
|
|
|
7
8
|
$timepicker-list-bigger-text-indent: 16px !default;
|
|
8
9
|
$timepicker-popup-border-radius: 6px !default;
|
|
9
10
|
$timepicker-list-font-weight: normal !default;
|
|
10
|
-
$timepicker-popup-shadow: $shadow-lg !default;
|
|
11
|
-
$timepicker-list-default-font-color: $content-text-color !default;
|
|
12
|
-
$timepicker-list-default-border-style: none !default;
|
|
13
|
-
$timepicker-list-border-color: 1px solid $border-light !default;
|
|
14
|
-
$timepicker-list-hover-border-color: none !default;
|
|
15
|
-
$timepicker-list-bg-color: $content-bg-color !default;
|
|
16
|
-
$timepicker-list-active-bg-color: $content-bg-color-selected !default;
|
|
17
|
-
$timepicker-list-active-font-color: $content-text-color-selected !default;
|
|
18
|
-
$timepicker-list-active-icon-color: $content-text-color-selected !default;
|
|
19
|
-
$timepicker-list-hover-bg-color: $content-bg-color-hover !default;
|
|
20
|
-
$timepicker-list-hover-font-color: $content-text-color-hover !default;
|
|
21
|
-
$timepicker-list-popup-icon-active-color: $content-text-color-selected !default;
|
|
22
|
-
$timepicker-list-active-hover-bg-color: $content-bg-color-hover !default;
|
|
23
|
-
$timepicker-list-active-hover-font-color: $content-text-color-selected !default;
|
|
24
11
|
$timepicker-list-normal-padding: 0 !default;
|
|
25
12
|
$timepicker-list-bigger-padding: 0 !default;
|
|
26
13
|
$timepicker-font-icon: '\e20c' !default;
|
|
@@ -30,14 +17,12 @@ $timepicker-normal-input-min-height: 20px !default;
|
|
|
30
17
|
$timepicker-normal-input-min-width: 20px !default;
|
|
31
18
|
$timepicker-bigger-input-min-height: 22px !default;
|
|
32
19
|
$timepicker-bigger-input-min-width: 22px !default;
|
|
33
|
-
$timepicker-
|
|
20
|
+
$timepicker-list-default-border-style: none !default;
|
|
34
21
|
$timepicker-disable-opacity: 1 !default;
|
|
35
|
-
$timepicker-default-overlay: $content-bg-color-alt2 !default;
|
|
36
22
|
// mouse small
|
|
37
23
|
$timepicker-list-small-font-size: $text-sm !default;
|
|
38
24
|
$timepicker-list-small-line-height: 24px !default;
|
|
39
25
|
$timepicker-list-small-text-indent: 12px !default;
|
|
40
|
-
$timepicker-list-small-font-color: $content-text-color !default;
|
|
41
26
|
// mouse small icon
|
|
42
27
|
$timepicker-icon-small-font-size: 14px !default;
|
|
43
28
|
// Touch small
|
|
@@ -46,3 +31,20 @@ $timepicker-list-bigger-small-line-height: 32px !default;
|
|
|
46
31
|
$timepicker-list-bigger-small-text-indent: 12px !default;
|
|
47
32
|
// Touch small icon
|
|
48
33
|
$timepicker-icon-bigger-small-font-size: 16px !default;
|
|
34
|
+
// color variables
|
|
35
|
+
$timepicker-popup-shadow: $shadow-lg !default;
|
|
36
|
+
$timepicker-list-default-font-color: $content-text-color !default;
|
|
37
|
+
$timepicker-list-border-color: 1px solid $border-light !default;
|
|
38
|
+
$timepicker-list-hover-border-color: none !default;
|
|
39
|
+
$timepicker-list-bg-color: $content-bg-color !default;
|
|
40
|
+
$timepicker-list-active-bg-color: $content-bg-color-selected !default;
|
|
41
|
+
$timepicker-list-active-font-color: $content-text-color-selected !default;
|
|
42
|
+
$timepicker-list-active-icon-color: $content-text-color-selected !default;
|
|
43
|
+
$timepicker-list-hover-bg-color: $content-bg-color-hover !default;
|
|
44
|
+
$timepicker-list-hover-font-color: $content-text-color-hover !default;
|
|
45
|
+
$timepicker-list-popup-icon-active-color: $content-text-color-selected !default;
|
|
46
|
+
$timepicker-list-active-hover-bg-color: $content-bg-color-hover !default;
|
|
47
|
+
$timepicker-list-active-hover-font-color: $content-text-color-selected !default;
|
|
48
|
+
$timepicker-disable-text: $content-text-color-disabled !default;
|
|
49
|
+
$timepicker-default-overlay: $content-bg-color-alt2 !default;
|
|
50
|
+
$timepicker-list-small-font-color: $content-text-color !default;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/*! timepicker theme */
|
|
3
3
|
.e-time-wrapper {
|
|
4
4
|
#{if(&, '&', '*')} .e-input-group-icon.e-icons.e-active {
|
|
5
|
-
@if $skin-name == 'bootstrap4' {
|
|
5
|
+
@if $skin-name == 'bootstrap4' or $skin-name == 'bootstrap5' {
|
|
6
6
|
background: $timepicker-icon-active-bg-color;
|
|
7
7
|
border-color: $timepicker-active-border-color;
|
|
8
8
|
}
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
/*! component icons */
|
|
2
|
+
.e-time-wrapper .e-time-icon.e-icons::before,
|
|
3
|
+
*.e-control-wrapper.e-time-wrapper .e-time-icon.e-icons::before {
|
|
4
|
+
content: '\e705';
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.e-input-group.e-control-wrapper.e-time-wrapper.e-non-edit.e-input-focus .e-input:focus ~ .e-clear-icon,
|
|
8
|
+
.e-float-input.e-control-wrapper.e-input-group.e-time-wrapper.e-non-edit.e-input-focus input:focus ~ .e-clear-icon {
|
|
9
|
+
display: -ms-flexbox;
|
|
10
|
+
display: flex;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.e-time-wrapper,
|
|
14
|
+
*.e-control-wrapper.e-time-wrapper {
|
|
15
|
+
-webkit-tap-highlight-color: transparent;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.e-time-wrapper .e-time-icon.e-icons,
|
|
19
|
+
*.e-control-wrapper.e-time-wrapper .e-time-icon.e-icons {
|
|
20
|
+
font-size: 16px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.e-time-wrapper .e-time-icon.e-icons.e-disabled,
|
|
24
|
+
*.e-control-wrapper.e-time-wrapper .e-time-icon.e-icons.e-disabled {
|
|
25
|
+
pointer-events: none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.e-time-wrapper span,
|
|
29
|
+
*.e-control-wrapper.e-time-wrapper span {
|
|
30
|
+
cursor: pointer;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.e-timepicker.e-time-modal {
|
|
34
|
+
background-color: #343a40;
|
|
35
|
+
height: 100%;
|
|
36
|
+
left: 0;
|
|
37
|
+
opacity: .5;
|
|
38
|
+
pointer-events: auto;
|
|
39
|
+
position: fixed;
|
|
40
|
+
top: 0;
|
|
41
|
+
width: 100%;
|
|
42
|
+
z-index: 999;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.e-timepicker.e-popup {
|
|
46
|
+
border-style: solid;
|
|
47
|
+
border-width: 1px;
|
|
48
|
+
overflow: auto;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.e-timepicker.e-popup .e-content {
|
|
52
|
+
position: relative;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.e-timepicker.e-popup .e-list-parent.e-ul {
|
|
56
|
+
margin: 0;
|
|
57
|
+
padding: 0 0;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item {
|
|
61
|
+
cursor: default;
|
|
62
|
+
font-size: 14px;
|
|
63
|
+
overflow: hidden;
|
|
64
|
+
position: relative;
|
|
65
|
+
text-overflow: ellipsis;
|
|
66
|
+
vertical-align: middle;
|
|
67
|
+
white-space: nowrap;
|
|
68
|
+
width: 100%;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item.e-hover {
|
|
72
|
+
cursor: pointer;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item {
|
|
76
|
+
line-height: 30px;
|
|
77
|
+
text-indent: 12px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.e-bigger .e-time-wrapper .e-time-icon.e-icons,
|
|
81
|
+
*.e-bigger.e-time-wrapper .e-time-icon.e-icons,
|
|
82
|
+
*.e-bigger .e-control-wrapper .e-time-wrapper .e-time-icon.e-icons,
|
|
83
|
+
*.e-control-wrapper.e-bigger.e-time-wrapper .e-time-icon.e-icons {
|
|
84
|
+
font-size: 18px;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.e-bigger .e-timepicker.e-popup .e-list-parent.e-ul,
|
|
88
|
+
*.e-bigger.e-timepicker.e-popup .e-list-parent.e-ul {
|
|
89
|
+
padding: 0 0;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.e-bigger .e-timepicker.e-popup .e-list-parent.e-ul .e-list-item,
|
|
93
|
+
*.e-bigger.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item {
|
|
94
|
+
font-size: 16px;
|
|
95
|
+
line-height: 32px;
|
|
96
|
+
text-indent: 16px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.e-small .e-timepicker.e-popup .e-list-parent.e-ul .e-list-item,
|
|
100
|
+
*.e-small.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item {
|
|
101
|
+
font-size: 14px;
|
|
102
|
+
line-height: 26px;
|
|
103
|
+
text-indent: 8px;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.e-small .e-time-wrapper .e-time-icon.e-icons,
|
|
107
|
+
*.e-small.e-time-wrapper .e-time-icon.e-icons,
|
|
108
|
+
*.e-small .e-control-wrapper.e-time-wrapper .e-time-icon.e-icons,
|
|
109
|
+
*.e-control-wrapper.e-small.e-time-wrapper .e-time-icon.e-icons {
|
|
110
|
+
font-size: 14px;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.e-small.e-bigger .e-timepicker.e-popup .e-list-parent.e-ul .e-list-item,
|
|
114
|
+
*.e-small.e-bigger.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item {
|
|
115
|
+
font-size: 14px;
|
|
116
|
+
line-height: 30px;
|
|
117
|
+
text-indent: 16px;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.e-small.e-bigger .e-time-wrapper .e-time-icon.e-icons,
|
|
121
|
+
*.e-small.e-bigger.e-time-wrapper .e-time-icon.e-icons,
|
|
122
|
+
*.e-small.bigger .e-control-wrapper.e-time-wrapper .e-time-icon.e-icons,
|
|
123
|
+
*.e-control-wrapper.e-small.bigger.e-time-wrapper .e-time-icon.e-icons {
|
|
124
|
+
font-size: 16px;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.e-content-placeholder.e-timepicker.e-placeholder-timepicker {
|
|
128
|
+
background-size: 250px 33px;
|
|
129
|
+
min-height: 33px;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.e-bigger .e-content-placeholder.e-timepicker.e-placeholder-timepicker,
|
|
133
|
+
.e-bigger.e-content-placeholder.e-timepicker.e-placeholder-timepicker {
|
|
134
|
+
background-size: 250px 40px;
|
|
135
|
+
min-height: 40px;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.e-time-overflow {
|
|
139
|
+
overflow: hidden;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.e-timepicker-mob-popup-wrap {
|
|
143
|
+
-ms-flex-align: center;
|
|
144
|
+
align-items: center;
|
|
145
|
+
display: -ms-flexbox;
|
|
146
|
+
display: flex;
|
|
147
|
+
-ms-flex-direction: column;
|
|
148
|
+
flex-direction: column;
|
|
149
|
+
height: 100%;
|
|
150
|
+
-ms-flex-pack: center;
|
|
151
|
+
justify-content: center;
|
|
152
|
+
left: 0;
|
|
153
|
+
max-height: 100%;
|
|
154
|
+
position: fixed;
|
|
155
|
+
top: 0;
|
|
156
|
+
width: 100%;
|
|
157
|
+
z-index: 1002;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.e-timepicker-mob-popup-wrap .e-timepicker.e-popup.e-lib.e-control.e-popup-open {
|
|
161
|
+
left: 0 !important;
|
|
162
|
+
position: relative;
|
|
163
|
+
top: 0 !important;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/*! timepicker theme */
|
|
167
|
+
.e-time-wrapper .e-input-group-icon.e-icons.e-active {
|
|
168
|
+
background: #565e64;
|
|
169
|
+
border-color: #545b62;
|
|
170
|
+
color: #fff;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.e-time-wrapper.e-input-group:not(.e-disabled) .e-input-group-icon.e-active:active {
|
|
174
|
+
color: #fff;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.e-timepicker.e-popup {
|
|
178
|
+
border: 1px solid #444c54;
|
|
179
|
+
border-radius: 6px;
|
|
180
|
+
box-shadow: none;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.e-timepicker.e-popup .e-list-parent.e-ul {
|
|
184
|
+
background-color: #343a40;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.e-timepicker.e-popup .e-list-parent.e-ul li.e-list-item {
|
|
188
|
+
border: none;
|
|
189
|
+
color: #fff;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item.e-disabled {
|
|
193
|
+
color: #6c757d;
|
|
194
|
+
opacity: 1;
|
|
195
|
+
pointer-events: none;
|
|
196
|
+
-ms-touch-action: none;
|
|
197
|
+
touch-action: none;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item.e-hover,
|
|
201
|
+
.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item.e-navigation,
|
|
202
|
+
.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item:focus {
|
|
203
|
+
background-color: #444c54;
|
|
204
|
+
border: none;
|
|
205
|
+
color: #fff;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item.e-active {
|
|
209
|
+
background-color: #0d6efd;
|
|
210
|
+
color: #fff;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item.e-active.e-hover {
|
|
214
|
+
background-color: #444c54;
|
|
215
|
+
color: #fff;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.e-small .e-timepicker.e-popup .e-list-parent.e-ul .e-list-item,
|
|
219
|
+
*.e-small.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item,
|
|
220
|
+
.e-bigger.e-small .e-timepicker.e-popup .e-list-parent.e-ul .e-list-item,
|
|
221
|
+
*.e-bigger.e-small.e-timepicker.e-popup .e-list-parent.e-ul .e-list-item {
|
|
222
|
+
color: #fff;
|
|
223
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
@import 'ej2-base/styles/bootstrap5-dark-definition.scss';
|
|
2
|
+
@import 'ej2-inputs/styles/input/bootstrap5-dark-definition.scss';
|
|
3
|
+
@import 'ej2-popups/styles/popup/bootstrap5-dark-definition.scss';
|
|
4
|
+
@import 'bootstrap5-dark-definition.scss';
|
|
5
|
+
@import 'icons/bootstrap5-dark.scss';
|
|
6
|
+
@import 'all.scss';
|