@syncfusion/ej2-calendars 20.4.54 → 21.1.35
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/CHANGELOG.md +0 -16
- package/README.md +94 -83
- package/dist/ej2-calendars.min.js +2 -2
- 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 +431 -372
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +386 -327
- 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 +11 -11
- package/src/calendar/calendar-model.d.ts +1 -1
- package/src/calendar/calendar.js +13 -6
- package/src/calendar/islamic.js +39 -29
- package/src/datepicker/datepicker-model.d.ts +3 -3
- package/src/datepicker/datepicker.js +61 -56
- package/src/daterangepicker/daterangepicker.js +11 -5
- package/src/datetimepicker/datetimepicker-model.d.ts +3 -3
- package/src/datetimepicker/datetimepicker.d.ts +4 -4
- package/src/datetimepicker/datetimepicker.js +15 -17
- package/src/maskbase/masked-date-time.js +208 -179
- package/src/timepicker/timepicker-model.d.ts +7 -7
- package/src/timepicker/timepicker.d.ts +9 -9
- package/src/timepicker/timepicker.js +39 -36
- package/styles/bootstrap-dark.css +9 -8
- package/styles/bootstrap.css +9 -3
- package/styles/bootstrap4.css +6 -4
- package/styles/bootstrap5-dark.css +19 -17
- package/styles/bootstrap5.css +17 -15
- package/styles/calendar/_bootstrap-dark-definition.scss +1 -1
- package/styles/calendar/_bootstrap5-definition.scss +21 -21
- package/styles/calendar/_fabric-dark-definition.scss +5 -3
- package/styles/calendar/_fabric-definition.scss +2 -0
- package/styles/calendar/_fluent-definition.scss +36 -36
- package/styles/calendar/_highcontrast-definition.scss +3 -1
- package/styles/calendar/_highcontrast-light-definition.scss +2 -0
- package/styles/calendar/_layout.scss +53 -6
- package/styles/calendar/_material-dark-definition.scss +4 -2
- package/styles/calendar/_material-definition.scss +2 -0
- package/styles/calendar/_tailwind-definition.scss +13 -13
- package/styles/calendar/_theme.scss +74 -13
- package/styles/calendar/bootstrap-dark.css +4 -3
- package/styles/calendar/bootstrap.css +3 -2
- package/styles/calendar/bootstrap4.css +3 -2
- package/styles/calendar/bootstrap5-dark.css +14 -13
- package/styles/calendar/bootstrap5.css +13 -12
- package/styles/calendar/fabric-dark.css +15 -5
- package/styles/calendar/fabric.css +12 -2
- package/styles/calendar/fluent-dark.css +51 -28
- package/styles/calendar/fluent.css +51 -28
- package/styles/calendar/highcontrast-light.css +3 -2
- package/styles/calendar/highcontrast.css +14 -4
- package/styles/calendar/icons/_material3.scss +3 -3
- package/styles/calendar/material-dark.css +14 -4
- package/styles/calendar/material.css +12 -2
- package/styles/calendar/tailwind-dark.css +11 -10
- package/styles/calendar/tailwind.css +11 -10
- package/styles/datepicker/_bootstrap5-definition.scss +8 -8
- package/styles/datepicker/_fluent-definition.scss +8 -8
- package/styles/datepicker/_layout.scss +16 -6
- package/styles/datepicker/_tailwind-definition.scss +8 -8
- package/styles/datepicker/_theme.scss +11 -1
- package/styles/datepicker/icons/_material3.scss +3 -3
- package/styles/daterangepicker/_bootstrap-dark-definition.scss +5 -5
- package/styles/daterangepicker/_bootstrap-definition.scss +1 -1
- package/styles/daterangepicker/_bootstrap4-definition.scss +2 -2
- package/styles/daterangepicker/_bootstrap5-definition.scss +21 -21
- package/styles/daterangepicker/_fabric-dark-definition.scss +1 -1
- package/styles/daterangepicker/_fabric-definition.scss +1 -1
- package/styles/daterangepicker/_fluent-definition.scss +27 -27
- package/styles/daterangepicker/_highcontrast-definition.scss +1 -1
- package/styles/daterangepicker/_highcontrast-light-definition.scss +1 -1
- package/styles/daterangepicker/_layout.scss +50 -3
- package/styles/daterangepicker/_material-dark-definition.scss +1 -1
- package/styles/daterangepicker/_material-definition.scss +1 -1
- package/styles/daterangepicker/_tailwind-definition.scss +19 -19
- package/styles/daterangepicker/_theme.scss +93 -15
- package/styles/daterangepicker/bootstrap-dark.css +5 -5
- package/styles/daterangepicker/bootstrap.css +6 -1
- package/styles/daterangepicker/bootstrap4.css +3 -2
- package/styles/daterangepicker/bootstrap5-dark.css +5 -4
- package/styles/daterangepicker/bootstrap5.css +4 -3
- package/styles/daterangepicker/fabric-dark.css +1 -1
- package/styles/daterangepicker/fabric.css +1 -1
- package/styles/daterangepicker/fluent-dark.css +33 -9
- package/styles/daterangepicker/fluent.css +33 -9
- package/styles/daterangepicker/highcontrast-light.css +1 -1
- package/styles/daterangepicker/highcontrast.css +1 -1
- package/styles/daterangepicker/icons/_material3.scss +33 -6
- package/styles/daterangepicker/material-dark.css +1 -1
- package/styles/daterangepicker/material.css +8 -2
- package/styles/daterangepicker/tailwind-dark.css +2 -2
- package/styles/daterangepicker/tailwind.css +2 -2
- package/styles/datetimepicker/_bootstrap5-definition.scss +1 -1
- package/styles/datetimepicker/_fluent-definition.scss +1 -1
- package/styles/datetimepicker/_layout.scss +8 -3
- package/styles/datetimepicker/_tailwind-definition.scss +1 -1
- package/styles/datetimepicker/_theme.scss +24 -4
- package/styles/datetimepicker/icons/_material3.scss +1 -1
- package/styles/fabric-dark.css +16 -6
- package/styles/fabric.css +16 -4
- package/styles/fluent-dark.css +84 -37
- package/styles/fluent.css +84 -37
- package/styles/highcontrast-light.css +4 -3
- package/styles/highcontrast.css +15 -5
- package/styles/material-dark.css +15 -5
- package/styles/material.css +20 -4
- package/styles/tailwind-dark.css +13 -12
- package/styles/tailwind.css +13 -12
- package/styles/timepicker/_bootstrap-dark-definition.scss +1 -0
- package/styles/timepicker/_bootstrap-definition.scss +1 -0
- package/styles/timepicker/_bootstrap4-definition.scss +1 -0
- package/styles/timepicker/_bootstrap5-definition.scss +6 -5
- package/styles/timepicker/_fabric-dark-definition.scss +1 -0
- package/styles/timepicker/_fabric-definition.scss +1 -0
- package/styles/timepicker/_fluent-definition.scss +6 -5
- package/styles/timepicker/_fusionnew-definition.scss +1 -0
- package/styles/timepicker/_highcontrast-definition.scss +1 -0
- package/styles/timepicker/_highcontrast-light-definition.scss +1 -0
- package/styles/timepicker/_layout.scss +11 -3
- package/styles/timepicker/_material-dark-definition.scss +1 -0
- package/styles/timepicker/_material-definition.scss +1 -0
- package/styles/timepicker/_tailwind-definition.scss +6 -5
- package/styles/timepicker/_theme.scss +36 -6
- package/styles/timepicker/icons/_material3.scss +1 -1
- package/styles/calendar/_material3-definition.scss +0 -250
- package/styles/datepicker/_material3-definition.scss +0 -46
- package/styles/daterangepicker/_material3-definition.scss +0 -230
- package/styles/datetimepicker/_material3-definition.scss +0 -60
- package/styles/timepicker/_material3-definition.scss +0 -57
package/styles/tailwind.css
CHANGED
|
@@ -64,7 +64,7 @@ ejs-calendar {
|
|
|
64
64
|
.e-bigger.e-small .e-calendar .e-header {
|
|
65
65
|
background: none;
|
|
66
66
|
display: table;
|
|
67
|
-
font-weight:
|
|
67
|
+
font-weight: 400;
|
|
68
68
|
position: relative;
|
|
69
69
|
text-align: center;
|
|
70
70
|
width: 100%;
|
|
@@ -82,7 +82,7 @@ ejs-calendar {
|
|
|
82
82
|
cursor: pointer;
|
|
83
83
|
display: inline-block;
|
|
84
84
|
font-size: 20px;
|
|
85
|
-
font-weight:
|
|
85
|
+
font-weight: 400;
|
|
86
86
|
line-height: 16px;
|
|
87
87
|
padding: 0;
|
|
88
88
|
vertical-align: middle;
|
|
@@ -165,12 +165,12 @@ ejs-calendar {
|
|
|
165
165
|
.e-bigger.e-small .e-calendar .e-content td.e-other-month > span.e-day,
|
|
166
166
|
.e-bigger.e-small .e-calendar .e-content td.e-other-year > span.e-day {
|
|
167
167
|
display: inline-block;
|
|
168
|
-
font-weight:
|
|
168
|
+
font-weight: 400;
|
|
169
169
|
}
|
|
170
170
|
.e-calendar .e-content tr.e-month-hide,
|
|
171
171
|
.e-bigger.e-small .e-calendar .e-content tr.e-month-hide {
|
|
172
172
|
display: none;
|
|
173
|
-
font-weight:
|
|
173
|
+
font-weight: 400;
|
|
174
174
|
}
|
|
175
175
|
.e-calendar .e-content tr.e-month-hide, .e-calendar .e-content td.e-other-month, .e-calendar .e-content td.e-other-year,
|
|
176
176
|
.e-bigger.e-small .e-calendar .e-content tr.e-month-hide,
|
|
@@ -303,7 +303,7 @@ ejs-calendar {
|
|
|
303
303
|
.e-bigger.e-small .e-calendar .e-content span.e-day {
|
|
304
304
|
border: none;
|
|
305
305
|
font-size: 14px;
|
|
306
|
-
font-weight:
|
|
306
|
+
font-weight: 400;
|
|
307
307
|
height: 30px;
|
|
308
308
|
line-height: 30px;
|
|
309
309
|
width: 30px;
|
|
@@ -337,7 +337,7 @@ ejs-calendar {
|
|
|
337
337
|
.e-calendar .e-content.e-year td > span.e-day, .e-calendar .e-content.e-decade td > span.e-day,
|
|
338
338
|
.e-bigger.e-small .e-calendar .e-content.e-year td > span.e-day,
|
|
339
339
|
.e-bigger.e-small .e-calendar .e-content.e-decade td > span.e-day {
|
|
340
|
-
font-weight:
|
|
340
|
+
font-weight: 400;
|
|
341
341
|
height: 50px;
|
|
342
342
|
line-height: 50px;
|
|
343
343
|
width: 50px;
|
|
@@ -476,7 +476,7 @@ ejs-calendar {
|
|
|
476
476
|
.e-bigger.e-calendar .e-content.e-year span.e-day,
|
|
477
477
|
*.e-bigger .e-calendar .e-content.e-year span.e-day {
|
|
478
478
|
font-size: 16px;
|
|
479
|
-
font-weight:
|
|
479
|
+
font-weight: 400;
|
|
480
480
|
}
|
|
481
481
|
.e-bigger.e-calendar .e-content.e-month table,
|
|
482
482
|
*.e-bigger .e-calendar .e-content.e-month table {
|
|
@@ -570,10 +570,11 @@ ejs-calendar {
|
|
|
570
570
|
.e-small .e-calendar .e-header {
|
|
571
571
|
height: 24px;
|
|
572
572
|
}
|
|
573
|
-
.e-small.e-calendar .e-header span,
|
|
574
|
-
.e-small .e-calendar .e-header span {
|
|
573
|
+
.e-small.e-calendar .e-header button span,
|
|
574
|
+
.e-small .e-calendar .e-header button span {
|
|
575
575
|
font-size: 18px;
|
|
576
576
|
padding: 0;
|
|
577
|
+
line-height: 14px;
|
|
577
578
|
}
|
|
578
579
|
.e-small.e-calendar .e-header .e-title,
|
|
579
580
|
.e-small .e-calendar .e-header .e-title {
|
|
@@ -707,7 +708,7 @@ ejs-calendar {
|
|
|
707
708
|
.e-bigger.e-small .e-calendar .e-header .e-next.e-disabled span,
|
|
708
709
|
.e-bigger.e-small .e-calendar .e-header .e-prev.e-disabled span {
|
|
709
710
|
color: #9ca3af;
|
|
710
|
-
font-weight:
|
|
711
|
+
font-weight: 400;
|
|
711
712
|
}
|
|
712
713
|
.e-calendar .e-header .e-next.e-disabled, .e-calendar .e-header .e-prev.e-disabled,
|
|
713
714
|
.e-bigger.e-small .e-calendar .e-header .e-next.e-disabled,
|
|
@@ -1498,7 +1499,7 @@ ejs-calendar {
|
|
|
1498
1499
|
line-height: 24px;
|
|
1499
1500
|
width: auto;
|
|
1500
1501
|
float: none;
|
|
1501
|
-
font-weight:
|
|
1502
|
+
font-weight: 400;
|
|
1502
1503
|
margin-left: 0;
|
|
1503
1504
|
}
|
|
1504
1505
|
.e-daterangepicker.e-popup .e-calendar .e-header.e-month, .e-daterangepicker.e-popup .e-calendar .e-header.e-year, .e-daterangepicker.e-popup .e-calendar .e-header.e-decade,
|
|
@@ -1616,7 +1617,7 @@ ejs-calendar {
|
|
|
1616
1617
|
}
|
|
1617
1618
|
.e-daterangepicker.e-popup .e-presets .e-ul li.e-list-item,
|
|
1618
1619
|
.e-bigger.e-small .e-daterangepicker.e-popup .e-presets .e-ul li.e-list-item {
|
|
1619
|
-
font-size:
|
|
1620
|
+
font-size: 12px;
|
|
1620
1621
|
height: 36px;
|
|
1621
1622
|
line-height: 36px;
|
|
1622
1623
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// size variables
|
|
2
|
+
$timepicker-skin-name: 'bootstrap5' !default;
|
|
2
3
|
$timepicker-default-text-indent: 12px !default;
|
|
3
4
|
$timepicker-list-bigger-line-height: 32px !default;
|
|
4
5
|
$timepicker-list-normal-line-height: 30px !default;
|
|
@@ -7,12 +8,12 @@ $timepicker-list-bigger-font-size: $text-base !default;
|
|
|
7
8
|
$timepicker-list-normal-text-indent: $timepicker-default-text-indent !default;
|
|
8
9
|
$timepicker-list-bigger-text-indent: 16px !default;
|
|
9
10
|
$timepicker-popup-border-radius: 6px !default;
|
|
10
|
-
$timepicker-list-font-weight: normal !default;
|
|
11
|
+
$timepicker-list-font-weight: $font-weight-normal !default;
|
|
11
12
|
$timepicker-list-normal-padding: 0 !default;
|
|
12
13
|
$timepicker-list-bigger-padding: 0 !default;
|
|
13
14
|
$timepicker-font-icon: '\e20c' !default;
|
|
14
|
-
$timepicker-icon-normal-font-size:
|
|
15
|
-
$timepicker-icon-bigger-font-size:
|
|
15
|
+
$timepicker-icon-normal-font-size: $text-base !default;
|
|
16
|
+
$timepicker-icon-bigger-font-size: $text-lg !default;
|
|
16
17
|
$timepicker-normal-input-min-height: 20px !default;
|
|
17
18
|
$timepicker-normal-input-min-width: 20px !default;
|
|
18
19
|
$timepicker-bigger-input-min-height: 22px !default;
|
|
@@ -26,7 +27,7 @@ $timepicker-list-small-line-height: 26px !default;
|
|
|
26
27
|
$timepicker-list-small-text-indent: 8px !default;
|
|
27
28
|
|
|
28
29
|
// mouse small icon
|
|
29
|
-
$timepicker-icon-small-font-size:
|
|
30
|
+
$timepicker-icon-small-font-size: $text-sm !default;
|
|
30
31
|
|
|
31
32
|
// Touch small
|
|
32
33
|
$timepicker-list-bigger-small-font-size: $text-sm !default;
|
|
@@ -34,7 +35,7 @@ $timepicker-list-bigger-small-line-height: 30px !default;
|
|
|
34
35
|
$timepicker-list-bigger-small-text-indent: 16px !default;
|
|
35
36
|
|
|
36
37
|
// Touch small icon
|
|
37
|
-
$timepicker-icon-bigger-small-font-size:
|
|
38
|
+
$timepicker-icon-bigger-small-font-size: $text-base !default;
|
|
38
39
|
|
|
39
40
|
// color variables
|
|
40
41
|
$timepicker-popup-shadow: none !default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// size variables
|
|
2
|
+
$timepicker-skin-name: 'FluentUI' !default;
|
|
2
3
|
$timepicker-default-text-indent: 12px !default;
|
|
3
4
|
$timepicker-list-bigger-line-height: 40px !default;
|
|
4
5
|
$timepicker-list-normal-line-height: 36px !default;
|
|
@@ -7,12 +8,12 @@ $timepicker-list-bigger-font-size: $text-lg !default;
|
|
|
7
8
|
$timepicker-list-normal-text-indent: $timepicker-default-text-indent !default;
|
|
8
9
|
$timepicker-list-bigger-text-indent: 16px !default;
|
|
9
10
|
$timepicker-popup-border-radius: 6px !default;
|
|
10
|
-
$timepicker-list-font-weight: normal !default;
|
|
11
|
+
$timepicker-list-font-weight: $font-weight-normal !default;
|
|
11
12
|
$timepicker-list-normal-padding: 0 !default;
|
|
12
13
|
$timepicker-list-bigger-padding: 0 !default;
|
|
13
14
|
$timepicker-font-icon: '\e20c' !default;
|
|
14
|
-
$timepicker-icon-normal-font-size:
|
|
15
|
-
$timepicker-icon-bigger-font-size:
|
|
15
|
+
$timepicker-icon-normal-font-size: $text-base !default;
|
|
16
|
+
$timepicker-icon-bigger-font-size: $text-lg !default;
|
|
16
17
|
$timepicker-normal-input-min-height: 20px !default;
|
|
17
18
|
$timepicker-normal-input-min-width: 20px !default;
|
|
18
19
|
$timepicker-bigger-input-min-height: 22px !default;
|
|
@@ -26,7 +27,7 @@ $timepicker-list-small-line-height: 26px !default;
|
|
|
26
27
|
$timepicker-list-small-text-indent: 8px !default;
|
|
27
28
|
|
|
28
29
|
// mouse small icon
|
|
29
|
-
$timepicker-icon-small-font-size:
|
|
30
|
+
$timepicker-icon-small-font-size: $text-sm !default;
|
|
30
31
|
|
|
31
32
|
// Touch small
|
|
32
33
|
$timepicker-list-bigger-small-font-size: $text-base !default;
|
|
@@ -34,7 +35,7 @@ $timepicker-list-bigger-small-line-height: 38px !default;
|
|
|
34
35
|
$timepicker-list-bigger-small-text-indent: 16px !default;
|
|
35
36
|
|
|
36
37
|
// Touch small icon
|
|
37
|
-
$timepicker-icon-bigger-small-font-size:
|
|
38
|
+
$timepicker-icon-bigger-small-font-size: $text-base !default;
|
|
38
39
|
|
|
39
40
|
// color variables
|
|
40
41
|
$timepicker-popup-shadow: $shadow-md !default;
|
|
@@ -12,10 +12,13 @@
|
|
|
12
12
|
|
|
13
13
|
#{if(&, '&', '*')} .e-time-icon.e-icons {
|
|
14
14
|
font-size: $timepicker-icon-normal-font-size;
|
|
15
|
-
@if $skin-name == 'material' or $skin-name == 'material-dark' {
|
|
15
|
+
@if $timepicker-skin-name == 'material' or $timepicker-skin-name == 'material-dark' or $timepicker-skin-name == 'Material3' {
|
|
16
16
|
min-height: $timepicker-normal-input-min-height;
|
|
17
17
|
min-width: $timepicker-normal-input-min-width;
|
|
18
18
|
}
|
|
19
|
+
@if $timepicker-skin-name == 'Material3' {
|
|
20
|
+
padding: $timepicker-icon-padding;
|
|
21
|
+
}
|
|
19
22
|
}
|
|
20
23
|
|
|
21
24
|
#{if(&, '&', '*')} .e-time-icon.e-icons.e-disabled {
|
|
@@ -28,7 +31,12 @@
|
|
|
28
31
|
}
|
|
29
32
|
|
|
30
33
|
#{&}.e-timepicker.e-time-modal {
|
|
31
|
-
|
|
34
|
+
@if $timepicker-skin-name != 'Material3' {
|
|
35
|
+
background-color: $timepicker-default-overlay;
|
|
36
|
+
}
|
|
37
|
+
@if $timepicker-skin-name == 'Material3' {
|
|
38
|
+
background: $timepicker-default-overlay;
|
|
39
|
+
}
|
|
32
40
|
height: 100%;
|
|
33
41
|
left: 0;
|
|
34
42
|
opacity: .5;
|
|
@@ -86,7 +94,7 @@
|
|
|
86
94
|
|
|
87
95
|
#{if(&, '&', '*')} .e-time-icon.e-icons {
|
|
88
96
|
font-size: $timepicker-icon-bigger-font-size;
|
|
89
|
-
@if $skin-name == 'material' or $skin-name == 'material-dark' {
|
|
97
|
+
@if $timepicker-skin-name == 'material' or $timepicker-skin-name == 'material-dark' or $timepicker-skin-name == 'Material3' {
|
|
90
98
|
min-height: $timepicker-bigger-input-min-height;
|
|
91
99
|
min-width: $timepicker-bigger-input-min-width;
|
|
92
100
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// size variables
|
|
2
|
+
$timepicker-skin-name: 'tailwind' !default;
|
|
2
3
|
$timepicker-default-text-indent: 12px !default;
|
|
3
4
|
$timepicker-list-bigger-line-height: 36px !default;
|
|
4
5
|
$timepicker-list-normal-line-height: 30px !default;
|
|
@@ -7,12 +8,12 @@ $timepicker-list-bigger-font-size: $text-base !default;
|
|
|
7
8
|
$timepicker-list-normal-text-indent: $timepicker-default-text-indent !default;
|
|
8
9
|
$timepicker-list-bigger-text-indent: 16px !default;
|
|
9
10
|
$timepicker-popup-border-radius: 6px !default;
|
|
10
|
-
$timepicker-list-font-weight: normal !default;
|
|
11
|
+
$timepicker-list-font-weight: $font-weight-normal !default;
|
|
11
12
|
$timepicker-list-normal-padding: 4px !default;
|
|
12
13
|
$timepicker-list-bigger-padding: 4px !default;
|
|
13
14
|
$timepicker-font-icon: '\e20c' !default;
|
|
14
|
-
$timepicker-icon-normal-font-size:
|
|
15
|
-
$timepicker-icon-bigger-font-size:
|
|
15
|
+
$timepicker-icon-normal-font-size: $text-base !default;
|
|
16
|
+
$timepicker-icon-bigger-font-size: $text-lg !default;
|
|
16
17
|
$timepicker-normal-input-min-height: 20px !default;
|
|
17
18
|
$timepicker-normal-input-min-width: 20px !default;
|
|
18
19
|
$timepicker-bigger-input-min-height: 22px !default;
|
|
@@ -26,7 +27,7 @@ $timepicker-list-small-line-height: 26px !default;
|
|
|
26
27
|
$timepicker-list-small-text-indent: 12px !default;
|
|
27
28
|
|
|
28
29
|
// mouse small icon
|
|
29
|
-
$timepicker-icon-small-font-size:
|
|
30
|
+
$timepicker-icon-small-font-size: $text-sm !default;
|
|
30
31
|
|
|
31
32
|
// Touch small
|
|
32
33
|
$timepicker-list-bigger-small-font-size: $text-sm !default;
|
|
@@ -34,7 +35,7 @@ $timepicker-list-bigger-small-line-height: 32px !default;
|
|
|
34
35
|
$timepicker-list-bigger-small-text-indent: 12px !default;
|
|
35
36
|
|
|
36
37
|
// Touch small icon
|
|
37
|
-
$timepicker-icon-bigger-small-font-size:
|
|
38
|
+
$timepicker-icon-bigger-small-font-size: $text-base !default;
|
|
38
39
|
|
|
39
40
|
// color variables
|
|
40
41
|
$timepicker-popup-shadow: $shadow-lg !default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/*! timepicker theme */
|
|
4
4
|
.e-time-wrapper {
|
|
5
5
|
#{if(&, '&', '*')} .e-input-group-icon.e-icons.e-active {
|
|
6
|
-
@if $skin-name == 'bootstrap4' or $skin-name == 'bootstrap5' {
|
|
6
|
+
@if $timepicker-skin-name == 'bootstrap4' or $timepicker-skin-name == 'bootstrap5' {
|
|
7
7
|
background: $timepicker-icon-active-bg-color;
|
|
8
8
|
border-color: $timepicker-active-border-color;
|
|
9
9
|
}
|
|
@@ -12,17 +12,32 @@
|
|
|
12
12
|
|
|
13
13
|
#{if(&, '&', '*')}.e-input-group:not(.e-disabled) .e-input-group-icon.e-active:active {
|
|
14
14
|
color: $timepicker-list-popup-icon-active-color;
|
|
15
|
+
@if $timepicker-skin-name == 'Material3' {
|
|
16
|
+
border: $timepicker-icon-active-border;
|
|
17
|
+
border-radius: $timepicker-icon-active-border-radius;
|
|
18
|
+
background: $timepicker-icon-active-bg-color;
|
|
19
|
+
}
|
|
15
20
|
}
|
|
16
21
|
}
|
|
17
22
|
|
|
18
23
|
#{&}.e-timepicker.e-popup {
|
|
19
|
-
|
|
24
|
+
@if $timepicker-skin-name != 'Material3' {
|
|
25
|
+
background-color: $timepicker-list-bg-color;
|
|
26
|
+
}
|
|
27
|
+
@if $timepicker-skin-name == 'Material3' {
|
|
28
|
+
background: $timepicker-list-bg-color;
|
|
29
|
+
}
|
|
20
30
|
border: $timepicker-list-border-color;
|
|
21
31
|
border-radius: $timepicker-popup-border-radius;
|
|
22
32
|
box-shadow: $timepicker-popup-shadow;
|
|
23
33
|
|
|
24
34
|
#{if(&, '&', '*')} .e-list-parent.e-ul {
|
|
25
|
-
|
|
35
|
+
@if $timepicker-skin-name != 'Material3' {
|
|
36
|
+
background-color: $timepicker-list-bg-color;
|
|
37
|
+
}
|
|
38
|
+
@if $timepicker-skin-name == 'Material3' {
|
|
39
|
+
background: $timepicker-list-bg-color;
|
|
40
|
+
}
|
|
26
41
|
|
|
27
42
|
#{if(&, '&', '*')} li.e-list-item {
|
|
28
43
|
border: $timepicker-list-default-border-style;
|
|
@@ -39,18 +54,33 @@
|
|
|
39
54
|
#{if(&, '&', '*')} .e-list-item.e-hover,
|
|
40
55
|
#{if(&, '&', '*')} .e-list-item.e-navigation,
|
|
41
56
|
#{if(&, '&', '*')} .e-list-item:focus {
|
|
42
|
-
|
|
57
|
+
@if $timepicker-skin-name != 'Material3' {
|
|
58
|
+
background-color: $timepicker-list-hover-bg-color;
|
|
59
|
+
}
|
|
60
|
+
@if $timepicker-skin-name == 'Material3' {
|
|
61
|
+
background: $timepicker-list-hover-bg-color;
|
|
62
|
+
}
|
|
43
63
|
border: $timepicker-list-hover-border-color;
|
|
44
64
|
color: $timepicker-list-hover-font-color;
|
|
45
65
|
}
|
|
46
66
|
|
|
47
67
|
#{if(&, '&', '*')} .e-list-item.e-active {
|
|
48
|
-
|
|
68
|
+
@if $timepicker-skin-name != 'Material3' {
|
|
69
|
+
background-color: $timepicker-list-active-bg-color;
|
|
70
|
+
}
|
|
71
|
+
@if $timepicker-skin-name == 'Material3' {
|
|
72
|
+
background: $timepicker-list-active-bg-color;
|
|
73
|
+
}
|
|
49
74
|
color: $timepicker-list-active-font-color;
|
|
50
75
|
}
|
|
51
76
|
|
|
52
77
|
#{if(&, '&', '*')} .e-list-item.e-active.e-hover {
|
|
53
|
-
|
|
78
|
+
@if $timepicker-skin-name != 'Material3' {
|
|
79
|
+
background-color: $timepicker-list-active-hover-bg-color;
|
|
80
|
+
}
|
|
81
|
+
@if $timepicker-skin-name == 'Material3' {
|
|
82
|
+
background: $timepicker-list-active-hover-bg-color;
|
|
83
|
+
}
|
|
54
84
|
color: $timepicker-list-active-hover-font-color;
|
|
55
85
|
}
|
|
56
86
|
}
|
|
@@ -1,250 +0,0 @@
|
|
|
1
|
-
/*! calendar bootstrap5 theme variables */
|
|
2
|
-
//month view
|
|
3
|
-
$calendar-normal-month-view-height: 32px !default;
|
|
4
|
-
$calendar-normal-month-view-line-height: $calendar-normal-month-view-height !default;
|
|
5
|
-
$calendar-normal-month-view-width: 32px !default;
|
|
6
|
-
$calendar-normal-month-cell-padding: 0 !default;
|
|
7
|
-
$calendar-bigger-table-month-padding: 0 12px 12px 12px !default;
|
|
8
|
-
$calendar-bigger-month-font-size: $text-base !default;
|
|
9
|
-
$calendar-bigger-month-view-padding: 0 !default;
|
|
10
|
-
$calendar-bigger-month-view-height: 38px !default;
|
|
11
|
-
$calendar-bigger-month-view-line-height: $calendar-bigger-month-view-height !default;
|
|
12
|
-
$calendar-bigger-month-view-width: 38px !default;
|
|
13
|
-
|
|
14
|
-
//header dimension
|
|
15
|
-
$calendar-header-font-size: 14px !default;
|
|
16
|
-
$calendar-bigger-header-padding: 10px 0 10px 15px !default;
|
|
17
|
-
$calendar-bigger-day-header-height: 40px !default;
|
|
18
|
-
$calendar-bigger-header-height: 28px !default;
|
|
19
|
-
$calendar-normal-header-padding: 8px 0 8px 12px !default;
|
|
20
|
-
$calendar-normal-day-header-height: 32px !default;
|
|
21
|
-
$calendar-normal-day-header-text: none !default;
|
|
22
|
-
$calendar-normal-header-height: 24px !default;
|
|
23
|
-
$calendar-bigger-header-font-size: 18px !default;
|
|
24
|
-
$calendar-normal-day-header-font-weight: 500 !default;
|
|
25
|
-
$calendar-title-font-size: 16px !default;
|
|
26
|
-
$calendar-title-margin-left-style: 2px !default;
|
|
27
|
-
$calendar-title-font-weight-style: 600 !default;
|
|
28
|
-
$calendar-title-decoration-style: none !default;
|
|
29
|
-
|
|
30
|
-
// common size properties
|
|
31
|
-
$calendar-wrapper-border-radius: 4px !default;
|
|
32
|
-
$calendar-full-width: 100% !default;
|
|
33
|
-
$calendar-lg-day-header-format-max-width: 100% !default;
|
|
34
|
-
$calendar-lg-day-header-format-min-width: 540px !default;
|
|
35
|
-
$calendar-icon-padding-top: 0 !default;
|
|
36
|
-
$calendar-zero-value: 0 !default;
|
|
37
|
-
$calendar-disable-opacity: 1 !default;
|
|
38
|
-
|
|
39
|
-
//popup styles
|
|
40
|
-
$calendar-normal-max-width: 242px !default;
|
|
41
|
-
$calendar-normal-min-width: 240px !default;
|
|
42
|
-
$calendar-small-max-width: 200px !default;
|
|
43
|
-
$calendar-small-min-width: 200px !default;
|
|
44
|
-
$calendar-bigger-max-width: 292px !default;
|
|
45
|
-
$calendar-bigger-min-width: 292px !default;
|
|
46
|
-
$calendar-weeknumber-min-width: 300px !default;
|
|
47
|
-
$calendar-weeknumber-bigger-width: 325px !default;
|
|
48
|
-
$calendar-popup-padding: 0 !default;
|
|
49
|
-
$calendar-popup-bigger-padding: 0 !default;
|
|
50
|
-
|
|
51
|
-
// today button
|
|
52
|
-
$calendar-bigger-today-button-height: 48px !default;
|
|
53
|
-
$calendar-normal-today-button-height: 36px !default;
|
|
54
|
-
|
|
55
|
-
// year decade view
|
|
56
|
-
//dimension
|
|
57
|
-
$calendar-normal-year-decade-height: 56px !default;
|
|
58
|
-
$calendar-normal-year-decade-width: 56px !default;
|
|
59
|
-
$calendar-small-year-decade-width: 46px !default;
|
|
60
|
-
$calendar-normal-year-decade-padding: 2px !default;
|
|
61
|
-
$calendar-yeardeacde-span-padding: 0 !default;
|
|
62
|
-
$calendar-yeardecade-padding: 0 8px 8px !default;
|
|
63
|
-
$calendar-bigger-year-decade-padding: 0 !default;
|
|
64
|
-
$calendar-bigger-yeardecade-font-size: $calendar-bigger-month-font-size !default;
|
|
65
|
-
$calendar-bigger-table-yeardecade-padding: 0 12px 12px 12px !default;
|
|
66
|
-
$calendar-bigger-yeardecade-font-weight: normal !default;
|
|
67
|
-
$calendar-yeardecade-font-weight: normal !default;
|
|
68
|
-
$calendar-bigger-year-decade-height: 66px !default;
|
|
69
|
-
$calendar-bigger-year-decade-width: 66px !default;
|
|
70
|
-
$calendar-yeardecade-header-padding: 8px 0 8px 12px !default;
|
|
71
|
-
$calendar-bigger-yeardecade-header-padding: 10px !default;
|
|
72
|
-
$calendar-decade-title-left-margin-style: 15px !default;
|
|
73
|
-
|
|
74
|
-
// table related styles
|
|
75
|
-
$calendar-table-padding: 0 8px 8px 8px !default;
|
|
76
|
-
$calendar-rtl-text-indent: 12px !default;
|
|
77
|
-
$calendar-day-bigger-small-cell-size: 34px !default;
|
|
78
|
-
$calendar-rtl-bigger-small-text-indent: 12px !default;
|
|
79
|
-
$calendar-rtl-bigger-text-indent: 15px !default;
|
|
80
|
-
$calendar-title-margin-bigger-small-left-style: 5px !default;
|
|
81
|
-
$calendar-title-margin-small-left-style: 0 !default;
|
|
82
|
-
|
|
83
|
-
//font icons
|
|
84
|
-
$calendar-prev-icon: '\e910' !default;
|
|
85
|
-
$calendar-next-icon: '\e916' !default;
|
|
86
|
-
$calendar-next-prev-icon-size: 14px !default;
|
|
87
|
-
$calendar-icon-line-height: 1 !default;
|
|
88
|
-
$calendar-bigger-icon-size: 24px !default;
|
|
89
|
-
$calendar-normal-icon-size: 24px !default;
|
|
90
|
-
$calendar-spanicon-font-weight-style: normal !default;
|
|
91
|
-
|
|
92
|
-
//pending
|
|
93
|
-
$calendar-icon-font-size-style: 14px !default;
|
|
94
|
-
$calendar-bigger-icon-font-size: 16px !default;
|
|
95
|
-
$calendar-footer-container-padding: 8px !default;
|
|
96
|
-
$calendar-bigger-footer-container-padding: 16px !default;
|
|
97
|
-
$calendar-week-number-font-weight: 500 !default;
|
|
98
|
-
|
|
99
|
-
// small size
|
|
100
|
-
$calendar-small-icon-size: 24px !default;
|
|
101
|
-
$calendar-small-icon-font-size-style: 12px !default;
|
|
102
|
-
$calendar-small-title-font-size: 13px !default;
|
|
103
|
-
$calendar-small-icon-padding: 0 !default;
|
|
104
|
-
$calendar-small-header-height: 22px !default;
|
|
105
|
-
$calendar-small-day-header-height: 24px !default;
|
|
106
|
-
$calendar-small-month-view-height: 26px !default;
|
|
107
|
-
$calendar-small-month-view-line-height: $calendar-small-month-view-height !default;
|
|
108
|
-
$calendar-small-date-font-size: 12px !default;
|
|
109
|
-
$calendar-small-month-view-width: 26px !default;
|
|
110
|
-
$calendar-small-popup-padding: 0 !default;
|
|
111
|
-
$calendar-bigger-small-table-padding: 0 12px 12px 12px !default;
|
|
112
|
-
$calendar-bigger-small-yeardecade-font-size: 14px !default;
|
|
113
|
-
$calendar-small-font-size: 12px !default;
|
|
114
|
-
|
|
115
|
-
//week number
|
|
116
|
-
$calendar-week-number-font-size-style: 14px !default;
|
|
117
|
-
$calendar-week-normal-max-width: 294px !default;
|
|
118
|
-
$calendar-week-normal-min-width: 288px !default;
|
|
119
|
-
$calendar-week-bigger-max-width: 320px !default;
|
|
120
|
-
$calendar-week-bigger-min-width: 314px !default;
|
|
121
|
-
$calendar-icon-padding: 5px !default;
|
|
122
|
-
$calendar-icon-button-margin: 8px !default;
|
|
123
|
-
$calendar-bigger-icon-padding: 0 !default;
|
|
124
|
-
$calendar-bigger-icon-margin: 12px !default;
|
|
125
|
-
|
|
126
|
-
//thead style
|
|
127
|
-
$calendar-thead-padding: 0 0 6px !default;
|
|
128
|
-
|
|
129
|
-
// common styles
|
|
130
|
-
$calendar-none-style: none !default;
|
|
131
|
-
$calendar-cursor-default-style: default !default;
|
|
132
|
-
$calendar-cursor-pointer-style: pointer !default;
|
|
133
|
-
$calendar-block-style: block !default;
|
|
134
|
-
$calendar-inline-block-style: inline-block !default;
|
|
135
|
-
$calendar-display-style: inline-block !default;
|
|
136
|
-
$calendar-pointer-events: initial !default;
|
|
137
|
-
$calendar-float-right-style: right !default;
|
|
138
|
-
$calendar-float-left-style: left !default;
|
|
139
|
-
$calendar-other-month-display-style: inline-block !default;
|
|
140
|
-
$calendar-other-month-row-display-style: none !default;
|
|
141
|
-
$calendar-footer-border: 1px solid $border-light !default;
|
|
142
|
-
$calendar-bigger-footer-border: 1px solid $border-light !default;
|
|
143
|
-
$calendar-week-number-font-style: italic !default;
|
|
144
|
-
|
|
145
|
-
//dimension
|
|
146
|
-
$calendar-date-font-size: $text-sm !default;
|
|
147
|
-
$calendar-bigger-day-font-size: 15px !default;
|
|
148
|
-
$calendar-link-font-weight-style: normal !default;
|
|
149
|
-
$calendar-disable-font-weight-style: normal !default;
|
|
150
|
-
$calendar-border-radius: 4px !default;
|
|
151
|
-
|
|
152
|
-
//week header font size
|
|
153
|
-
$calendar-bigger-week-header-font-size: $text-sm !default;
|
|
154
|
-
|
|
155
|
-
//header color
|
|
156
|
-
$calendar-header-font-color: $content-text-color-alt1 !default;
|
|
157
|
-
$calendar-header-icon-color: $icon-color !default;
|
|
158
|
-
$calendar-title-font-color: $content-text-color-alt1 !default;
|
|
159
|
-
$calendar-icon-font-color: $content-text-color-alt1 !default;
|
|
160
|
-
$calendar-active-icon-color: $secondary-text-color !default;
|
|
161
|
-
$calendar-title-hover-color: $content-text-color-alt3 !default;
|
|
162
|
-
$calendar-icon-hover-color: $secondary-text-color !default;
|
|
163
|
-
$calendar-icon-hover-bg-color: $secondary-bg-color-hover !default;
|
|
164
|
-
$calendar-device-icon-hover-bg-color: $secondary-bg-color-hover !default;
|
|
165
|
-
$calendar-default-border-color: none !default;
|
|
166
|
-
$calendar-icon-hover-border-color: $content-bg-color-hover !default;
|
|
167
|
-
$calendar-active-state-icon-bg-color: $secondary-border-color-pressed !default;
|
|
168
|
-
|
|
169
|
-
//popup styles
|
|
170
|
-
$calendar-border-style: 1px solid $border-light !default;
|
|
171
|
-
$calendar-bg-color: $flyout-bg-color !default;
|
|
172
|
-
$calendar-box-shadow: none !default;
|
|
173
|
-
|
|
174
|
-
// year decade view
|
|
175
|
-
//color
|
|
176
|
-
$calendar-yeardecade-bg-color: none !default;
|
|
177
|
-
$calendar-yeardecade-hover-bg: $content-bg-color-hover !default;
|
|
178
|
-
$calendar-yeardecade-selected-hover-bg: darken($primary-bg-color, 10%) !default;
|
|
179
|
-
|
|
180
|
-
//decade view color
|
|
181
|
-
$calendar-other-decade-cell-color: $content-text-color-alt2 !default;
|
|
182
|
-
|
|
183
|
-
// end year decade
|
|
184
|
-
//other months
|
|
185
|
-
$calendar-other-month-date: $content-text-color-alt3 !default;
|
|
186
|
-
$calendar-other-month-date-hover-bg: $calendar-other-month-date !default;
|
|
187
|
-
|
|
188
|
-
// td styles
|
|
189
|
-
//color
|
|
190
|
-
$calendar-light-font: $content-text-color-alt1 !default;
|
|
191
|
-
$calendar-active-font-color: $secondary-text-color !default;
|
|
192
|
-
$calendar-active-hover-font-color: $primary-text-pressed !default;
|
|
193
|
-
$calendar-active-today-font-color: $primary-text-pressed !default;
|
|
194
|
-
$calendar-active-today-hover-font-color: $primary-text-pressed !default;
|
|
195
|
-
$calendar-active-bg-color: $primary-bg-color !default;
|
|
196
|
-
$calendar-active-bg-box-shadow: inset 1px 0 $primary-bg-color, inset 0 1px $primary-bg-color, inset -1px 0 $primary-bg-color, inset 0 -1px $primary-bg-color !default;
|
|
197
|
-
$calendar-active-bg-border-color: none !default;
|
|
198
|
-
$calendar-active-hover-bg-color: darken($primary-bg-color, 10%) !default;
|
|
199
|
-
$calendar-hover-color: $flyout-bg-color-hover !default;
|
|
200
|
-
$calendar-text-color: $content-text-color !default;
|
|
201
|
-
$calendar-hover-text: $calendar-text-color !default;
|
|
202
|
-
$calendar-focus-bg-color: $content-bg-color-hover !default;
|
|
203
|
-
$calendar-focused-today-bg-style: $content-bg-color-hover !default;
|
|
204
|
-
$calendar-focused-today-box-shadow: inset 1px 0 $primary-bg-color, inset 0 1px $primary-bg-color, inset -1px 0 $primary-bg-color, inset 0 -1px $primary-bg-color !default;
|
|
205
|
-
$calendar-focused-today-border-style: none !default;
|
|
206
|
-
$calendar-focus-box-shadow: none !default;
|
|
207
|
-
$calendar-focus-border-color: none !default;
|
|
208
|
-
$calendar-hover-border-color: none !default;
|
|
209
|
-
$calendar-disable-font-color: $content-text-color-disabled !default;
|
|
210
|
-
$calendar-focused-date-bg-style: $content-bg-color-focus !default;
|
|
211
|
-
$calendar-small-title-font-color: $content-text-color-alt1 !default;
|
|
212
|
-
|
|
213
|
-
// end td styles
|
|
214
|
-
//today date
|
|
215
|
-
$calendar-today-bg-style: none !default;
|
|
216
|
-
$calendar-today-bg-hover-color: $content-bg-color-alt1 !default;
|
|
217
|
-
$calendar-today-box-shadow: inset 2px 0 $primary-bg-color, inset 0 2px $primary-bg-color, inset -2px 0 $primary-bg-color, inset 0 -2px $primary-bg-color !default;
|
|
218
|
-
$calendar-today-border-color: none !default;
|
|
219
|
-
$calendar-selected-border-color: none !default;
|
|
220
|
-
|
|
221
|
-
//pending
|
|
222
|
-
$calendar-today-color: $primary !default;
|
|
223
|
-
$calendar-today-focused-font-color: $content-text-color-alt1 !default;
|
|
224
|
-
$calendar-today-focus-color: $content-text-color-alt1 !default;
|
|
225
|
-
|
|
226
|
-
//week header
|
|
227
|
-
$calendar-week-header-font-color: $content-text-color-alt2 !default;
|
|
228
|
-
$calendar-week-header-bg-style: none !default;
|
|
229
|
-
|
|
230
|
-
//week number
|
|
231
|
-
$calendar-week-number-color-style: $content-text-color-disabled !default;
|
|
232
|
-
$calendar-week-number-font-color: $calendar-text-color !default;
|
|
233
|
-
|
|
234
|
-
//today button
|
|
235
|
-
$calendar-footer-background: $transparent !default;
|
|
236
|
-
$calendar-today-disabled-background-style: $primary-bg-color-disabled !default;
|
|
237
|
-
$calendar-today-disabled-border-style: $primary-border-color-disabled !default;
|
|
238
|
-
$calendar-today-disabled-box-shadow: none !default;
|
|
239
|
-
$calendar-today-disabled-color: $primary-text-disabled !default;
|
|
240
|
-
|
|
241
|
-
//today button flat button override style
|
|
242
|
-
$today-button-bg: $primary-bg-color !default;
|
|
243
|
-
$today-button-bg-border-color: $primary-border-color !default;
|
|
244
|
-
$today-button-text-color: $primary-text-color !default;
|
|
245
|
-
$today-button-hover-bg: $primary-bg-color-hover !default;
|
|
246
|
-
$today-button-bg-border-hover-color: $primary-border-color-hover !default;
|
|
247
|
-
$today-button-text-hover-color: $primary-text-hover !default;
|
|
248
|
-
$today-button-active-bg: $primary-bg-color-pressed !default;
|
|
249
|
-
$today-button-bg-border-active-color: $primary-border-color-pressed !default;
|
|
250
|
-
$today-button-text-active-color: $primary-text-pressed !default;
|