@syncfusion/ej2-calendars 19.3.55 → 19.4.48
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 +1 -1
- 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 +36 -3
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +36 -3
- 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/daterangepicker/daterangepicker.js +1 -1
- package/src/maskbase/masked-date-time.d.ts +3 -0
- package/src/maskbase/masked-date-time.js +23 -0
- package/src/timepicker/timepicker.js +12 -2
- package/styles/bootstrap5-dark.css +1 -1
- package/styles/bootstrap5.css +1 -1
- package/styles/calendar/_bootstrap-dark-definition.scss +1 -0
- package/styles/calendar/_bootstrap-definition.scss +1 -0
- package/styles/calendar/_bootstrap4-definition.scss +1 -0
- package/styles/calendar/_bootstrap5-definition.scss +1 -0
- package/styles/calendar/_fabric-dark-definition.scss +1 -0
- package/styles/calendar/_fabric-definition.scss +1 -0
- package/styles/calendar/_fluent-definition.scss +214 -0
- package/styles/calendar/_highcontrast-definition.scss +1 -0
- package/styles/calendar/_highcontrast-light-definition.scss +1 -0
- package/styles/calendar/_material-dark-definition.scss +1 -0
- package/styles/calendar/_material-definition.scss +1 -0
- package/styles/calendar/_tailwind-definition.scss +1 -0
- package/styles/calendar/_theme.scss +1 -1
- package/styles/calendar/bootstrap5-dark.css +1 -1
- package/styles/calendar/bootstrap5.css +1 -1
- package/styles/calendar/icons/_fluent.scss +12 -0
- package/styles/datepicker/_fluent-definition.scss +36 -0
- package/styles/datepicker/_material-dark-definition.scss +1 -0
- package/styles/datepicker/_material-definition.scss +1 -0
- package/styles/datepicker/icons/_fluent.scss +55 -0
- package/styles/daterangepicker/_fluent-definition.scss +222 -0
- package/styles/daterangepicker/_theme.scss +8 -8
- package/styles/daterangepicker/icons/_fluent.scss +67 -0
- package/styles/datetimepicker/_fluent-definition.scss +55 -0
- package/styles/datetimepicker/icons/_fluent.scss +11 -0
- package/styles/timepicker/_fluent-definition.scss +52 -0
- package/styles/timepicker/icons/_fluent.scss +13 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
@include export-module('datepicker-fluent-icons') {
|
|
2
|
+
/*! component icons */
|
|
3
|
+
|
|
4
|
+
.e-input-group-icon.e-date-icon,
|
|
5
|
+
#{if(&, '&', '*')}.e-control-wrapper .e-input-group-icon.e-date-icon {
|
|
6
|
+
font-size: $datepicker-icon-font-size;
|
|
7
|
+
margin: $datepicker-icon-normal-margin;
|
|
8
|
+
min-height: $datepicker-icon-container-min-height;
|
|
9
|
+
min-width: $datepicker-icon-container-min-width;
|
|
10
|
+
outline: none;
|
|
11
|
+
|
|
12
|
+
#{if(&, '&', '*')}::before {
|
|
13
|
+
content: '\e721';
|
|
14
|
+
font-family: 'e-icons';
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
#{if(&, '&', '*')}:focus {
|
|
18
|
+
background: $datepicker-icon-hover-color;
|
|
19
|
+
border-radius: $datepicker-icon-border-radius;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.e-bigger .e-input-group-icon.e-date-icon,
|
|
24
|
+
#{if(&, '&', '*')}.e-control-wrapper.e-bigger .e-input-group-icon.e-date-icon,
|
|
25
|
+
#{if(&, '&', '*')}.e-bigger .e-control-wrapper .e-input-group-icon.e-date-icon {
|
|
26
|
+
font-size: $datepicker-bigger-icon-font-size;
|
|
27
|
+
margin: $datepicker-icon-bigger-margin;
|
|
28
|
+
min-height: $datepicker-bigger-icon-container-min-height;
|
|
29
|
+
min-width: $datepicker-bigger-icon-container-min-width;
|
|
30
|
+
|
|
31
|
+
#{if(&, '&', '*')}::before {
|
|
32
|
+
content: '\e721';
|
|
33
|
+
font-family: 'e-icons';
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
#{if(&, '&', '*')}:focus {
|
|
37
|
+
background: $datepicker-icon-hover-color;
|
|
38
|
+
border-radius: $datepicker-icon-border-radius;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// mouse small icon
|
|
43
|
+
.e-small .e-input-group-icon.e-date-icon,
|
|
44
|
+
#{if(&, '&', '*')}.e-control-wrapper.e-small .e-input-group-icon.e-date-icon,
|
|
45
|
+
#{if(&, '&', '*')}.e-small .e-control-wrapper .e-input-group-icon.e-date-icon {
|
|
46
|
+
font-size: $datepicker-small-icon-font-size;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// Touch small icon
|
|
50
|
+
.e-small.e-bigger .e-input-group-icon.e-date-icon,
|
|
51
|
+
#{if(&, '&', '*')}.e-control-wrapper.e-small.e-bigger .e-input-group-icon.e-date-icon,
|
|
52
|
+
#{if(&, '&', '*')}.e-small.e-bigger .e-control-wrapper .e-input-group-icon.e-date-icon {
|
|
53
|
+
font-size: $datepicker-bigger-small-icon-font-size;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
// size variables
|
|
2
|
+
$range-btn-font-weight: $font-weight-medium !default;
|
|
3
|
+
$range-btn-width: 50% !default;
|
|
4
|
+
$range-btn-normal-height: 30px !default;
|
|
5
|
+
$range-btn-bigger-height: 36px !default;
|
|
6
|
+
$range-btn-normal-line-height: 24px !default;
|
|
7
|
+
$range-btn-bigger-line-height: 32px !default;
|
|
8
|
+
$range-max-width: 730px !default;
|
|
9
|
+
$range-device-max-width: 294px !default;
|
|
10
|
+
$range-bigger-max-width: 770px !default;
|
|
11
|
+
$range-max-height: 500px !default;
|
|
12
|
+
$range-normal-nav-icon-width: 28px !default;
|
|
13
|
+
$range-control-border-right: 0 !default;
|
|
14
|
+
$range-normal-nav-icon-height: 28px !default;
|
|
15
|
+
$range-calendar-medium-font-size: 14px !default;
|
|
16
|
+
$range-calendar-btn-font-size: 14px !default;
|
|
17
|
+
$range-presets-normal-list-font-size: 14px !default;
|
|
18
|
+
$range-presets-bigger-list-font-size: 16px !default;
|
|
19
|
+
$range-range-btn-font-weight: 500 !default;
|
|
20
|
+
$range-header-label-size: $text-sm !default;
|
|
21
|
+
$range-calendar-small-font-size: $text-xxs !default;
|
|
22
|
+
$range-calendar-bigger-font-size: 20px !default;
|
|
23
|
+
$range-calendar-header-padding: 12px 5px !default;
|
|
24
|
+
$range-e-bigger-header-padding: 10px 5px !default;
|
|
25
|
+
$range-device-control-header-margin: 0 !default;
|
|
26
|
+
$range-device-control-header-padding: 12px !default;
|
|
27
|
+
$range-control-header-margin: 12px 0 !default;
|
|
28
|
+
$range-control-bigger-header-margin: 12px 0 !default;
|
|
29
|
+
$range-indicator-margin: 0 !default;
|
|
30
|
+
$range-lg-day-header-format-width: 100% !default;
|
|
31
|
+
$range-start-end-container-height: 28px !default;
|
|
32
|
+
$range-calendar-margin: 0 !default;
|
|
33
|
+
$range-start-end-label-width: 48% !default;
|
|
34
|
+
$range-change-icon-width: 4% !default;
|
|
35
|
+
$range-font-weight-bold: $font-weight-medium !default;
|
|
36
|
+
$range-font-size: 15px !default;
|
|
37
|
+
$range-bigger-change-icon-size: 18px !default;
|
|
38
|
+
$range-indicator-label-width: 100% !default;
|
|
39
|
+
$range-device-indicator-margin: 10px 0 !default;
|
|
40
|
+
$range-separator-height: 1px !default;
|
|
41
|
+
$range-border-value: 1px solid $border-light !default;
|
|
42
|
+
$range-separator-margin: 0 !default;
|
|
43
|
+
$range-footer-height: 54px !default;
|
|
44
|
+
$range-bigger-footer-height: 64px !default;
|
|
45
|
+
$range-btn-height: 36px !default;
|
|
46
|
+
$range-btn-padding: 0 16px !default;
|
|
47
|
+
$range-normal-footer-margin: 0 8px 0 8px !default;
|
|
48
|
+
$range-bigger-footer-margin: 0 8px 0 8px !default;
|
|
49
|
+
$range-normal-rtl-footer-margin: 0 8px 0 8px !default;
|
|
50
|
+
$range-bigger-rtl-footer-margin: 0 8px 0 8px !default;
|
|
51
|
+
$range-presets-height: 192px !default;
|
|
52
|
+
$range-bigger-presets-height: 240px !default;
|
|
53
|
+
$range-calendar-container-height: 100% !default;
|
|
54
|
+
$range-list-item-height: 48px !default;
|
|
55
|
+
$range-list-item-padding: 0 24px !default;
|
|
56
|
+
$range-listview-padding: 4px 0 !default;
|
|
57
|
+
$range-list-item-line-height: 47px !default;
|
|
58
|
+
$range-device-medium-font-size: 13px !default;
|
|
59
|
+
$range-device-medium-header-font-size: 13px !default;
|
|
60
|
+
$range-device-small-font-size: 11px !default;
|
|
61
|
+
$range-week-header-font-size: 13px !default;
|
|
62
|
+
$range-device-header-container-height: 36px !default;
|
|
63
|
+
$range-device-header-container-width: 100% !default;
|
|
64
|
+
$range-device-list-item-padding: 0 16px !default;
|
|
65
|
+
$range-value-zero: 0 !default;
|
|
66
|
+
$range-btn-border-value: 1px solid $primary !default;
|
|
67
|
+
$range-btn-left-radius: 2px 0 0 2px !default;
|
|
68
|
+
$range-btn-right-radius: 0 2px 2px 0 !default;
|
|
69
|
+
$range-day-span-height: 18px !default;
|
|
70
|
+
$range-indicator-size: 1px !default;
|
|
71
|
+
$range-preset-min-width: 625px !default;
|
|
72
|
+
$range-header-btn-max-width: 116px !default;
|
|
73
|
+
$range-header-btn-bigger-max-width: 141px !default;
|
|
74
|
+
$range-presets-width: 160px !default;
|
|
75
|
+
$range-hover-start-radius: 50% 0 0 50% !default;
|
|
76
|
+
$range-hover-end-radius: 0 50% 50% 0 !default;
|
|
77
|
+
$range-btn-height: 36px !default;
|
|
78
|
+
$range-device-btn-line-height: 34px !default;
|
|
79
|
+
$range-icon-hover-color: $content-bg-color-hover !default;
|
|
80
|
+
$range-icon-border-radius: 50% !default;
|
|
81
|
+
$range-icon-container-min-height: 18px !default;
|
|
82
|
+
$range-icon-container-min-width: 30px !default;
|
|
83
|
+
$range-icon-bottom-right-radius: 0 !default;
|
|
84
|
+
$range-icon-top-right-radius: 0 !default;
|
|
85
|
+
$range-bigger-icon-container-min-height: 18px !default;
|
|
86
|
+
$range-bigger-icon-container-min-width: 36px !default;
|
|
87
|
+
$range-icon-margin: 0 !default;
|
|
88
|
+
$range-icon-bigger-margin: 0 !default;
|
|
89
|
+
$range-sart-end-btn-padding: 1px 6px !default;
|
|
90
|
+
$range-popup-padding: 0 !default;
|
|
91
|
+
$range-calendar-normal-table-padding: 0 !default;
|
|
92
|
+
$range-calendar-bigger-table-padding: 0 !default;
|
|
93
|
+
$range-popup-border-radius: 0 !default;
|
|
94
|
+
$range-list-border-radius: 0 !default;
|
|
95
|
+
$range-bigger-nav-icon-width: 32px !default;
|
|
96
|
+
$range-bigger-nav-icon-height: 32px !default;
|
|
97
|
+
$range-calendar-popup-padding: 0 8px !default;
|
|
98
|
+
$range-icon-bigger-padding: 0 !default;
|
|
99
|
+
$range-icon-normal-padding: 0 !default;
|
|
100
|
+
$range-preset-normal-list-height: 36px !default;
|
|
101
|
+
$range-preset-bigger-list-height: 48px !default;
|
|
102
|
+
$range-calendar-bigger-max: 296px !default;
|
|
103
|
+
// new variable
|
|
104
|
+
$range-icon: '\e245' !default;
|
|
105
|
+
$range-icon-font-size: 16px !default;
|
|
106
|
+
$range-bigger-icon-font-size: 18px !default;
|
|
107
|
+
$range-icon-next: '\e913' !default;
|
|
108
|
+
$range-icon-prev: '\e921' !default;
|
|
109
|
+
$range-change-icon: '\e85f' !default;
|
|
110
|
+
$range-rtl-icon-next: '\e921' !default;
|
|
111
|
+
$range-rtl-icon-prev: '\e913' !default;
|
|
112
|
+
$range-rtl-icon-change: '\e85b' !default;
|
|
113
|
+
// Mouse small size
|
|
114
|
+
$range-small-header-label-size: 16px !default;
|
|
115
|
+
$range-small-font-size: 12px !default;
|
|
116
|
+
$range-start-end-container-small-height: 32px !default;
|
|
117
|
+
$range-calendar-mouse-small-font-size: 12px !default;
|
|
118
|
+
$range-indicator-small-margin: 0 0 10px 0 !default;
|
|
119
|
+
$range-control-small-header-margin: 10px 10px 0 10px !default;
|
|
120
|
+
$range-separator-small-margin: 0 10px !default;
|
|
121
|
+
$range-small-footer-margin: 10px 10px 10px 8px !default;
|
|
122
|
+
$range-preset-small-list-height: 26px !default;
|
|
123
|
+
$range-presets-small-list-font-size: 12px !default;
|
|
124
|
+
$calendar-bigger-small-max-width: 246px !default;
|
|
125
|
+
$range-control-header-width: auto !default;
|
|
126
|
+
$range-font-weight-normal: normal !default;
|
|
127
|
+
$range-flex-style: flex !default;
|
|
128
|
+
$range-flex-justify-content: flex-end !default;
|
|
129
|
+
$range-inline-block-style: inline-block !default;
|
|
130
|
+
$range-block-style: block !default;
|
|
131
|
+
$range-table-style: table !default;
|
|
132
|
+
$range-display-none: none !default;
|
|
133
|
+
$range-align-center: center !default;
|
|
134
|
+
$range-float-right: right !default;
|
|
135
|
+
$range-float-left: left !default;
|
|
136
|
+
$range-float-none: none !default;
|
|
137
|
+
$range-float-clear: both !default;
|
|
138
|
+
$range-calendar-border: none !default;
|
|
139
|
+
$range-calendar-selection-border: none !default;
|
|
140
|
+
$range-calendar-hover-border: none !default;
|
|
141
|
+
$range-calendar-other-month-border: none !default;
|
|
142
|
+
$range-cursor-default-style: default !default;
|
|
143
|
+
$range-cursor-pointer-style: pointer !default;
|
|
144
|
+
$range-browser-select-none: none !default;
|
|
145
|
+
$range-flex-direction-row-reverse: row-reverse !default;
|
|
146
|
+
$range-flex-direction-row: row !default;
|
|
147
|
+
$range-width-auto: auto !default;
|
|
148
|
+
$range-value-none: none !default;
|
|
149
|
+
$range-visibility-hidden: hidden !default;
|
|
150
|
+
$range-text-nowrap: nowrap !default;
|
|
151
|
+
$range-direction-left: ltr !default;
|
|
152
|
+
$range-text-overflow: ellipsis !default;
|
|
153
|
+
$range-calendar-other-normal-border: none !default;
|
|
154
|
+
// mouse small icon
|
|
155
|
+
$range-small-icon-font-size: 14px !default;
|
|
156
|
+
// touch small icon
|
|
157
|
+
$range-bigger-small-icon-font-size: 18px !default;
|
|
158
|
+
// color variables
|
|
159
|
+
$range-bg-color: $flyout-bg-color !default;
|
|
160
|
+
$range-primary-color: $primary !default;
|
|
161
|
+
$range-primary-font-color: $primary-text-color !default;
|
|
162
|
+
$range-presets-bg: $content-bg-color !default;
|
|
163
|
+
$range-preset-normal-font-color: $gray-900 !default;
|
|
164
|
+
$range-font-color: $content-text-color !default;
|
|
165
|
+
$range-background: $flyout-bg-color !default;
|
|
166
|
+
$range-footer-background: $flyout-bg-color !default;
|
|
167
|
+
$range-header-bg-color: $flyout-bg-color !default;
|
|
168
|
+
$range-active-icon-color: $content-text-color !default;
|
|
169
|
+
$range-active-state-icon-color: $content-text-color !default;
|
|
170
|
+
$range-hover-color: $flyout-bg-color-selected !default;
|
|
171
|
+
$range-hover-content-color: $content-bg-color-pressed !default;
|
|
172
|
+
$range-today-color: $content-bg-color-hover !default;
|
|
173
|
+
$range-selection-bg: $primary !default;
|
|
174
|
+
$range-other-hover-color: $content-bg-color !default;
|
|
175
|
+
$range-other-month-date: $content-text-color-alt2 !default;
|
|
176
|
+
$range-box-shadow: $shadow-lg !default;
|
|
177
|
+
$range-box-shadow-none: $shadow-md !default;
|
|
178
|
+
$range-calendar-dark-color: $content-text-color !default;
|
|
179
|
+
$range-calendar-header-text-color: $flyout-text-color !default;
|
|
180
|
+
$range-calendar-header-dark-color: $flyout-text-color !default;
|
|
181
|
+
$range-calendar-medium-color: $content-text-color-alt3 !default;
|
|
182
|
+
$range-calendar-light-color: $content-text-color-alt2 !default;
|
|
183
|
+
$range-btn-border-transparent: 1px solid transparent !default;
|
|
184
|
+
$range-calendar-hover-border-color: none !default;
|
|
185
|
+
$range-change-icon-color: $icon-color !default;
|
|
186
|
+
$range-separator-color: $border-light !default;
|
|
187
|
+
$range-popup-border: 1px solid $border-light !default;
|
|
188
|
+
$range-overlay: rgba($content-bg-color-hover, .6) !default;
|
|
189
|
+
$range-presets-bg-color: $transparent !default;
|
|
190
|
+
$range-presets-font-color: $primary !default;
|
|
191
|
+
$range-presets-hover-bg: $flyout-bg-color-selected !default;
|
|
192
|
+
$range-list-hover-color: $content-text-color-hover !default;
|
|
193
|
+
$range-calendar-active-border: 1px solid $primary !default;
|
|
194
|
+
$range-today-border-color: $range-calendar-active-border !default;
|
|
195
|
+
$range-calendar-today-color: $content-text-color !default;
|
|
196
|
+
$range-calendar-today-start-color: $range-calendar-active-border !default;
|
|
197
|
+
$range-active-font-color: $primary-text-color !default;
|
|
198
|
+
// apply and cancel button styles
|
|
199
|
+
$range-apply-disabled-background-style: $primary-bg-color-disabled !default;
|
|
200
|
+
$range-apply-disabled-border-style: $primary-border-color-disabled !default;
|
|
201
|
+
$range-apply-disabled-color: $primary-text-disabled !default;
|
|
202
|
+
$apply-buuton-bg: $primary-bg-color !default;
|
|
203
|
+
$apply-buuton-bg-border-color: $primary-border-color !default;
|
|
204
|
+
$apply-buuton-text-color: $primary-text-color !default;
|
|
205
|
+
$apply-buuton-hover-bg: $primary-bg-color-hover !default;
|
|
206
|
+
$apply-buuton-bg-border-hover-color: $primary-border-color-hover !default;
|
|
207
|
+
$apply-buuton-text-hover-color: $primary-text-hover !default;
|
|
208
|
+
$apply-buuton-active-bg: $primary-bg-color-pressed !default;
|
|
209
|
+
$apply-buuton-bg-border-active-color: $primary-border-color-pressed !default;
|
|
210
|
+
$apply-buuton-text-active-color: $primary-text-pressed !default;
|
|
211
|
+
$range-cancel-disabled-background-style: $secondary-bg-color-disabled !default;
|
|
212
|
+
$range-cancel-disabled-border-style: $secondary-border-color-disabled !default;
|
|
213
|
+
$range-cancel-disabled-color: $secondary-text-color-disabled !default;
|
|
214
|
+
$cancel-buuton-bg: $secondary-bg-color !default;
|
|
215
|
+
$cancel-buuton-bg-border-color: $secondary-border-color !default;
|
|
216
|
+
$cancel-buuton-text-color: $secondary-text-color !default;
|
|
217
|
+
$cancel-buuton-hover-bg: $secondary-bg-color-hover !default;
|
|
218
|
+
$cancel-buuton-bg-border-hover-color: $secondary-border-color-hover !default;
|
|
219
|
+
$cancel-buuton-text-hover-color: $secondary-text-color-hover !default;
|
|
220
|
+
$cancel-buuton-active-bg: $secondary-border-color-pressed !default;
|
|
221
|
+
$cancel-buuton-bg-border-active-color: $secondary-border-color-pressed !default;
|
|
222
|
+
$cancel-buuton-text-active-color: $secondary-text-color-pressed !default;
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
// apply button override style changes
|
|
130
130
|
.e-daterangepicker.e-popup .e-footer .e-btn.e-apply.e-flat.e-primary,
|
|
131
131
|
.e-daterangepicker.e-popup .e-footer .e-css.e-btn.e-apply.e-flat.e-primary {
|
|
132
|
-
@if $skin-name == 'bootstrap5' {
|
|
132
|
+
@if ($skin-name == 'bootstrap5' or $skin-name == 'FluentUI') {
|
|
133
133
|
background-color: $apply-buuton-bg;
|
|
134
134
|
border-color: $apply-buuton-bg-border-color;
|
|
135
135
|
color: $apply-buuton-text-color;
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
|
|
139
139
|
.e-daterangepicker.e-popup .e-footer .e-btn.e-apply.e-flat.e-primary:hover,
|
|
140
140
|
.e-daterangepicker.e-popup .e-footer .e-css.e-btn.e-apply.e-flat.e-primary:hover {
|
|
141
|
-
@if $skin-name == 'bootstrap5' {
|
|
141
|
+
@if ($skin-name == 'bootstrap5' or $skin-name == 'FluentUI') {
|
|
142
142
|
background-color: $apply-buuton-hover-bg;
|
|
143
143
|
border-color: $apply-buuton-bg-border-hover-color;
|
|
144
144
|
color: $apply-buuton-text-hover-color;
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
.e-daterangepicker.e-popup .e-footer .e-btn.e-apply.e-flat.e-primary.e-active,
|
|
150
150
|
.e-daterangepicker.e-popup .e-footer .e-css.e-btn.e-apply.e-flat.e-primary:active,
|
|
151
151
|
.e-daterangepicker.e-popup .e-footer .e-css.e-btn.e-apply.e-flat.e-primary.e-active {
|
|
152
|
-
@if $skin-name == 'bootstrap5' {
|
|
152
|
+
@if ($skin-name == 'bootstrap5' or $skin-name == 'FluentUI') {
|
|
153
153
|
background-color: $apply-buuton-active-bg;
|
|
154
154
|
border-color: $apply-buuton-bg-border-active-color;
|
|
155
155
|
color: $apply-buuton-text-active-color;
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
.e-daterangepicker.e-popup .e-footer .e-btn.e-apply.e-flat.e-primary:disabled,
|
|
161
161
|
.e-daterangepicker.e-popup .e-footer .e-css.e-btn.e-apply.e-flat.e-primary:disabled,
|
|
162
162
|
.e-daterangepicker.e-popup .e-footer .e-css.e-btn.e-apply.e-flat.e-primary:disabled {
|
|
163
|
-
@if $skin-name == 'bootstrap5' {
|
|
163
|
+
@if ($skin-name == 'bootstrap5' or $skin-name == 'FluentUI') {
|
|
164
164
|
background-color: $range-apply-disabled-background-style;
|
|
165
165
|
border-color: $range-apply-disabled-border-style;
|
|
166
166
|
color: $range-apply-disabled-color;
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
// cancel button override style changes
|
|
171
171
|
.e-daterangepicker.e-popup .e-footer .e-btn.e-flat,
|
|
172
172
|
.e-daterangepicker.e-popup .e-footer .e-css.e-btn.e-flat {
|
|
173
|
-
@if $skin-name == 'bootstrap5' {
|
|
173
|
+
@if ($skin-name == 'bootstrap5' or $skin-name == 'FluentUI') {
|
|
174
174
|
background-color: $cancel-buuton-bg;
|
|
175
175
|
border-color: $cancel-buuton-bg-border-color;
|
|
176
176
|
color: $cancel-buuton-text-color;
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
|
|
180
180
|
.e-daterangepicker.e-popup .e-footer .e-btn.e-flat:hover,
|
|
181
181
|
.e-daterangepicker.e-popup .e-footer .e-css.e-btn.e-flat:hover {
|
|
182
|
-
@if $skin-name == 'bootstrap5' {
|
|
182
|
+
@if ($skin-name == 'bootstrap5' or $skin-name == 'FluentUI') {
|
|
183
183
|
background-color: $cancel-buuton-hover-bg;
|
|
184
184
|
border-color: $cancel-buuton-bg-border-hover-color;
|
|
185
185
|
color: $cancel-buuton-text-hover-color;
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
.e-daterangepicker.e-popup .e-footer .e-btn.e-flat.e-active,
|
|
191
191
|
.e-daterangepicker.e-popup .e-footer .e-css.e-btn.e-flat:active,
|
|
192
192
|
.e-daterangepicker.e-popup .e-footer .e-css.e-btn.e-flat.e-active {
|
|
193
|
-
@if $skin-name == 'bootstrap5' {
|
|
193
|
+
@if ($skin-name == 'bootstrap5' or $skin-name == 'FluentUI') {
|
|
194
194
|
background-color: $cancel-buuton-active-bg;
|
|
195
195
|
border-color: $cancel-buuton-bg-border-active-color;
|
|
196
196
|
color: $cancel-buuton-text-active-color;
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
.e-daterangepicker.e-popup .e-footer .e-btn.e-flat:disabled,
|
|
202
202
|
.e-daterangepicker.e-popup .e-footer .e-css.e-btn.e-flat:disabled,
|
|
203
203
|
.e-daterangepicker.e-popup .e-footer .e-css.e-btn.e-flat:disabled {
|
|
204
|
-
@if $skin-name == 'bootstrap5' {
|
|
204
|
+
@if ($skin-name == 'bootstrap5' or $skin-name == 'FluentUI') {
|
|
205
205
|
background-color: $range-cancel-disabled-background-style;
|
|
206
206
|
border-color: $range-cancel-disabled-border-style;
|
|
207
207
|
color: $range-cancel-disabled-color;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
@include export-module('daterangepicker-fluent-icons') {
|
|
2
|
+
/*! component icons */
|
|
3
|
+
.e-input-group-icon.e-range-icon,
|
|
4
|
+
#{if(&, '&', '*')}.e-control-wrapper .e-input-group-icon.e-range-icon {
|
|
5
|
+
border-bottom-right-radius: $range-icon-bottom-right-radius;
|
|
6
|
+
border-right: $range-control-border-right;
|
|
7
|
+
border-top-right-radius: $range-icon-top-right-radius;
|
|
8
|
+
font-size: $range-icon-font-size;
|
|
9
|
+
margin: $range-icon-margin;
|
|
10
|
+
min-height: $range-icon-container-min-height;
|
|
11
|
+
min-width: $range-icon-container-min-width;
|
|
12
|
+
outline: none;
|
|
13
|
+
|
|
14
|
+
#{if(&, '&', '*')}::before {
|
|
15
|
+
content: '\e721';
|
|
16
|
+
font-family: 'e-icons';
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
#{if(&, '&', '*')}:focus {
|
|
20
|
+
background: $range-icon-hover-color;
|
|
21
|
+
border-radius: $range-icon-border-radius;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.e-daterangepicker {
|
|
26
|
+
#{if(&, '&', '*')} .e-calendar .e-header .e-date-icon-next::before {
|
|
27
|
+
content: '\e7c2';
|
|
28
|
+
}#{if(&, '&', '*')} .e-calendar .e-header .e-date-icon-prev::before {
|
|
29
|
+
content: '\e7c1';
|
|
30
|
+
}#{if(&, '&', '*')} .e-change-icon::before {
|
|
31
|
+
content: '\e773';
|
|
32
|
+
}#{if(&, '&', '*')} .e-calendar.e-rtl .e-header .e-date-icon-next::before {
|
|
33
|
+
content: '\e7c1';
|
|
34
|
+
}#{if(&, '&', '*')} .e-calendar.e-rtl .e-header .e-date-icon-prev::before {
|
|
35
|
+
content: '\e7c2';
|
|
36
|
+
}#{if(&, '&', '*')}.e-rtl .e-start-end .e-change-icon::before {
|
|
37
|
+
content: '\e7e4';
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.e-bigger {
|
|
42
|
+
#{if(&, '&', '*')} .e-input-group-icon.e-range-icon,
|
|
43
|
+
#{if(&, '&', '*')}.e-control-wrapper .e-input-group-icon.e-range-icon,
|
|
44
|
+
#{if(&, '&', '*')} .e-control-wrapper .e-input-group-icon.e-range-icon {
|
|
45
|
+
font-size: $range-bigger-icon-font-size;
|
|
46
|
+
margin: $range-icon-bigger-margin;
|
|
47
|
+
min-height: $range-bigger-icon-container-min-height;
|
|
48
|
+
min-width: $range-bigger-icon-container-min-width;
|
|
49
|
+
outline: none;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// mouse small icon
|
|
54
|
+
.e-small .e-input-group-icon.e-range-icon,
|
|
55
|
+
#{if(&, '&', '*')}.e-control-wrapper.e-small .e-input-group-icon.e-range-icon,
|
|
56
|
+
#{if(&, '&', '*')}.e-small .e-control-wrapper .e-input-group-icon.e-range-icon {
|
|
57
|
+
font-size: $range-small-icon-font-size;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// Touch small icon
|
|
61
|
+
.e-small.e-bigger .e-input-group-icon.e-range-icon,
|
|
62
|
+
#{if(&, '&', '*')}.e-control-wrapper.e-small.e-bigger .e-input-group-icon.e-range-icon,
|
|
63
|
+
#{if(&, '&', '*')}.e-small.e-bigger .e-control-wrapper .e-input-group-icon.e-range-icon {
|
|
64
|
+
font-size: $range-bigger-small-icon-font-size;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// size variables
|
|
2
|
+
$datetime-default-text-indent: 12px !default;
|
|
3
|
+
$datetime-list-bigger-line-height: 32px !default;
|
|
4
|
+
$datetime-list-normal-line-height: 30px !default;
|
|
5
|
+
$datetime-list-normal-font-size: $text-sm !default;
|
|
6
|
+
$datetime-list-bigger-font-size: $text-base !default;
|
|
7
|
+
$datetime-list-normal-text-indent: $datetime-default-text-indent !default;
|
|
8
|
+
$datetime-list-bigger-text-indent: 16px !default;
|
|
9
|
+
$datetime-popup-border-radius: 6px !default;
|
|
10
|
+
$datetime-list-font-weight: $font-weight-normal !default;
|
|
11
|
+
$datetime-list-normal-padding: 8px !default;
|
|
12
|
+
$datetime-list-bigger-padding: 8px !default;
|
|
13
|
+
$datetime-time-font-icon: '\e20c' !default;
|
|
14
|
+
$datetime-icon-normal-font-size: $text-base !default;
|
|
15
|
+
$datetime-icon-bigger-font-size: $text-lg !default;
|
|
16
|
+
$datetime-date-icon-margin: 0 !default;
|
|
17
|
+
$datetime-time-icon-margin: 0 !default;
|
|
18
|
+
$datetime-time-bigger-icon-margin: 0 !default;
|
|
19
|
+
$datetime-time-rtl-icon-margin: 0 !default;
|
|
20
|
+
$datetime-time-rtl-bigger-icon-margin: 0 !default;
|
|
21
|
+
$datetime-normal-min-height: 24px !default;
|
|
22
|
+
$datetime-normal-min-width: 24px !default;
|
|
23
|
+
$datetime-bigger-min-height: 26px !default;
|
|
24
|
+
$datetime-bigger-min-width: 26px !default;
|
|
25
|
+
$datetime-time-icon-border: 0 !default;
|
|
26
|
+
$datetime-time-icon-border-style: none !default;
|
|
27
|
+
$datetime-list-default-border-style: none !default;
|
|
28
|
+
//mouse small
|
|
29
|
+
$datetime-list-small-line-height: 26px !default;
|
|
30
|
+
$datetime-list-small-text-indent: 8px !default;
|
|
31
|
+
$datetime-list-small-font-size: $text-xs !default;
|
|
32
|
+
// mouse small icon
|
|
33
|
+
$datetime-icon-small-font-size: 14px !default;
|
|
34
|
+
$datetime-small-min-width: 16px !default;
|
|
35
|
+
//touch small
|
|
36
|
+
$datetime-list-bigger-small-line-height: 30px !default;
|
|
37
|
+
$datetime-list-bigger-small-text-indent: 16px !default;
|
|
38
|
+
$datetime-list-bigger-small-font-size: $text-sm !default;
|
|
39
|
+
// touch small icon
|
|
40
|
+
$datetime-icon-bigger-small-font-size: $text-base !default;
|
|
41
|
+
// color variables
|
|
42
|
+
$datetime-popup-shadow: $shadow-md !default;
|
|
43
|
+
$datetime-list-default-font-color: $flyout-text-color !default;
|
|
44
|
+
$datetime-list-border-color: 0 solid $border-light !default;
|
|
45
|
+
$datetime-list-bg-color: $flyout-bg-color !default;
|
|
46
|
+
$datetime-list-active-bg-color: $flyout-bg-color-selected !default;
|
|
47
|
+
$datetime-list-active-font-color: $flyout-text-color-selected !default;
|
|
48
|
+
$datetime-list-active-icon-color: $flyout-text-color-selected !default;
|
|
49
|
+
$datetime-list-hover-bg-color: $flyout-bg-color-hover !default;
|
|
50
|
+
$datetime-list-hover-font-color: $flyout-text-color-hover !default;
|
|
51
|
+
$datetime-list-popup-icon-active-color: $flyout-text-color-selected !default;
|
|
52
|
+
$datetime-list-active-hover-bg-color: $flyout-bg-color-hover !default;
|
|
53
|
+
$datetime-list-active-hover-font-color: $flyout-text-color-hover !default;
|
|
54
|
+
$datetime-list-hover-border-color: none !default;
|
|
55
|
+
$datetime-default-overlay: $overlay-bg-color !default;
|
|
@@ -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-lg !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-xs !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-base !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: $shadow-md !default;
|
|
36
|
+
$timepicker-list-default-font-color: $flyout-text-color !default;
|
|
37
|
+
$timepicker-list-border-color: 0 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: $flyout-bg-color-selected !default;
|
|
41
|
+
$timepicker-icon-active-bg-color: $flyout-text-color-selected;
|
|
42
|
+
$timepicker-active-border-color: darken($primary, 10%) !default;
|
|
43
|
+
$timepicker-list-active-font-color: $flyout-text-color-pressed !default;
|
|
44
|
+
$timepicker-list-active-icon-color: $flyout-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-selected !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: $flyout-text-color-disabled !default;
|
|
51
|
+
$timepicker-default-overlay: $overlay-bg-color !default;
|
|
52
|
+
$timepicker-list-small-font-color: $flyout-text-color !default;
|