@syncfusion/ej2-calendars 19.4.55 → 20.1.52
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/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 +2 -2
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +2 -2
- 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/datepicker/datepicker.js +1 -1
- package/src/maskbase/masked-date-time.js +1 -1
- package/src/timepicker/timepicker.d.ts +4 -4
- package/styles/bootstrap-dark.css +82 -31
- package/styles/bootstrap.css +82 -31
- package/styles/bootstrap4.css +82 -31
- package/styles/bootstrap5-dark.css +140 -45
- package/styles/bootstrap5.css +134 -39
- package/styles/calendar/_bootstrap-dark-definition.scss +9 -4
- package/styles/calendar/_bootstrap-definition.scss +9 -4
- package/styles/calendar/_bootstrap4-definition.scss +9 -5
- package/styles/calendar/_bootstrap5-definition.scss +29 -19
- package/styles/calendar/_fabric-dark-definition.scss +8 -1
- package/styles/calendar/_fabric-definition.scss +8 -1
- package/styles/calendar/_fluent-dark-definition.scss +1 -0
- package/styles/calendar/_fluent-definition.scss +49 -37
- package/styles/calendar/_highcontrast-definition.scss +8 -1
- package/styles/calendar/_highcontrast-light-definition.scss +9 -1
- package/styles/calendar/_layout.scss +174 -5
- package/styles/calendar/_material-dark-definition.scss +9 -0
- package/styles/calendar/_material-definition.scss +9 -0
- package/styles/calendar/_tailwind-definition.scss +61 -25
- package/styles/calendar/_theme.scss +189 -13
- package/styles/calendar/bootstrap-dark.css +9 -5
- package/styles/calendar/bootstrap.css +9 -5
- package/styles/calendar/bootstrap4.css +9 -5
- package/styles/calendar/bootstrap5-dark.css +62 -14
- package/styles/calendar/bootstrap5.css +58 -10
- package/styles/calendar/fabric-dark.css +4 -0
- package/styles/calendar/fabric.css +4 -0
- package/styles/calendar/fluent-dark.css +1189 -0
- package/styles/calendar/fluent-dark.scss +5 -0
- package/styles/calendar/fluent.css +1189 -0
- package/styles/calendar/fluent.scss +5 -0
- package/styles/calendar/highcontrast-light.css +4 -0
- package/styles/calendar/highcontrast.css +4 -0
- package/styles/calendar/icons/_fluent-dark.scss +1 -0
- package/styles/calendar/icons/_fluent.scss +2 -2
- package/styles/calendar/icons/_tailwind.scss +4 -5
- package/styles/calendar/material-dark.css +4 -0
- package/styles/calendar/material.css +4 -0
- package/styles/calendar/tailwind-dark.css +158 -34
- package/styles/calendar/tailwind.css +158 -34
- package/styles/datepicker/_bootstrap-dark-definition.scss +6 -0
- package/styles/datepicker/_bootstrap-definition.scss +6 -0
- package/styles/datepicker/_bootstrap4-definition.scss +6 -0
- package/styles/datepicker/_bootstrap5-definition.scss +6 -0
- package/styles/datepicker/_fabric-dark-definition.scss +6 -0
- package/styles/datepicker/_fabric-definition.scss +6 -0
- package/styles/datepicker/_fluent-dark-definition.scss +1 -0
- package/styles/datepicker/_fluent-definition.scss +9 -2
- package/styles/datepicker/_highcontrast-definition.scss +6 -0
- package/styles/datepicker/_highcontrast-light-definition.scss +6 -0
- package/styles/datepicker/_layout.scss +6 -6
- package/styles/datepicker/_material-dark-definition.scss +6 -0
- package/styles/datepicker/_material-definition.scss +6 -0
- package/styles/datepicker/_tailwind-definition.scss +7 -1
- package/styles/datepicker/_theme.scss +6 -1
- package/styles/datepicker/bootstrap-dark.css +12 -2
- package/styles/datepicker/bootstrap.css +12 -2
- package/styles/datepicker/bootstrap4.css +12 -2
- package/styles/datepicker/bootstrap5-dark.css +12 -2
- package/styles/datepicker/bootstrap5.css +12 -2
- package/styles/datepicker/fabric-dark.css +12 -2
- package/styles/datepicker/fabric.css +12 -2
- package/styles/datepicker/fluent-dark.css +189 -0
- package/styles/datepicker/fluent-dark.scss +7 -0
- package/styles/datepicker/fluent.css +189 -0
- package/styles/datepicker/fluent.scss +7 -0
- package/styles/datepicker/highcontrast-light.css +12 -2
- package/styles/datepicker/highcontrast.css +12 -2
- package/styles/datepicker/icons/_fluent-dark.scss +1 -0
- package/styles/datepicker/icons/_fluent.scss +2 -2
- package/styles/datepicker/icons/_tailwind.scss +2 -2
- package/styles/datepicker/material-dark.css +12 -2
- package/styles/datepicker/material.css +12 -2
- package/styles/datepicker/tailwind-dark.css +15 -5
- package/styles/datepicker/tailwind.css +15 -5
- package/styles/daterangepicker/_bootstrap-dark-definition.scss +1 -0
- package/styles/daterangepicker/_bootstrap-definition.scss +1 -0
- package/styles/daterangepicker/_bootstrap4-definition.scss +1 -0
- package/styles/daterangepicker/_bootstrap5-definition.scss +4 -3
- package/styles/daterangepicker/_fabric-dark-definition.scss +1 -0
- package/styles/daterangepicker/_fabric-definition.scss +1 -0
- package/styles/daterangepicker/_fluent-dark-definition.scss +1 -0
- package/styles/daterangepicker/_fluent-definition.scss +13 -6
- package/styles/daterangepicker/_highcontrast-definition.scss +1 -0
- package/styles/daterangepicker/_highcontrast-light-definition.scss +1 -0
- package/styles/daterangepicker/_layout.scss +99 -18
- package/styles/daterangepicker/_material-dark-definition.scss +1 -0
- package/styles/daterangepicker/_material-definition.scss +1 -0
- package/styles/daterangepicker/_tailwind-definition.scss +44 -22
- package/styles/daterangepicker/_theme.scss +104 -18
- package/styles/daterangepicker/bootstrap-dark.css +60 -24
- package/styles/daterangepicker/bootstrap.css +60 -24
- package/styles/daterangepicker/bootstrap4.css +60 -24
- package/styles/daterangepicker/bootstrap5-dark.css +65 -29
- package/styles/daterangepicker/bootstrap5.css +63 -27
- package/styles/daterangepicker/fabric-dark.css +60 -24
- package/styles/daterangepicker/fabric.css +60 -24
- package/styles/daterangepicker/fluent-dark.css +1055 -0
- package/styles/daterangepicker/fluent-dark.scss +7 -0
- package/styles/daterangepicker/fluent.css +1055 -0
- package/styles/daterangepicker/fluent.scss +7 -0
- package/styles/daterangepicker/highcontrast-light.css +60 -24
- package/styles/daterangepicker/highcontrast.css +60 -24
- package/styles/daterangepicker/icons/_fluent-dark.scss +1 -0
- package/styles/daterangepicker/icons/_fluent.scss +7 -7
- package/styles/daterangepicker/icons/_tailwind.scss +13 -9
- package/styles/daterangepicker/material-dark.css +60 -24
- package/styles/daterangepicker/material.css +60 -24
- package/styles/daterangepicker/tailwind-dark.css +137 -93
- package/styles/daterangepicker/tailwind.css +137 -93
- package/styles/datetimepicker/_fluent-dark-definition.scss +1 -0
- package/styles/datetimepicker/fluent-dark.css +205 -0
- package/styles/datetimepicker/fluent-dark.scss +8 -0
- package/styles/datetimepicker/fluent.css +205 -0
- package/styles/datetimepicker/fluent.scss +8 -0
- package/styles/datetimepicker/icons/_fluent-dark.scss +1 -0
- package/styles/datetimepicker/icons/_fluent.scss +1 -1
- package/styles/datetimepicker/icons/_tailwind.scss +2 -1
- package/styles/datetimepicker/tailwind-dark.css +1 -1
- package/styles/datetimepicker/tailwind.css +1 -1
- package/styles/fabric-dark.css +77 -26
- package/styles/fabric.css +77 -26
- package/styles/fluent-dark.css +2864 -0
- package/styles/fluent-dark.scss +5 -0
- package/styles/fluent.css +2864 -0
- package/styles/fluent.scss +5 -0
- package/styles/highcontrast-light.css +77 -26
- package/styles/highcontrast.css +77 -26
- package/styles/material-dark.css +77 -26
- package/styles/material.css +77 -26
- package/styles/tailwind-dark.css +316 -137
- package/styles/tailwind.css +316 -137
- package/styles/timepicker/_fluent-dark-definition.scss +1 -0
- package/styles/timepicker/_fluent-definition.scss +3 -3
- package/styles/timepicker/_tailwind-definition.scss +3 -3
- package/styles/timepicker/_theme.scss +1 -0
- package/styles/timepicker/bootstrap-dark.css +1 -0
- package/styles/timepicker/bootstrap.css +1 -0
- package/styles/timepicker/bootstrap4.css +1 -0
- package/styles/timepicker/bootstrap5-dark.css +1 -0
- package/styles/timepicker/bootstrap5.css +1 -0
- package/styles/timepicker/fabric-dark.css +1 -0
- package/styles/timepicker/fabric.css +1 -0
- package/styles/timepicker/fluent-dark.css +222 -0
- package/styles/timepicker/fluent-dark.scss +6 -0
- package/styles/timepicker/fluent.css +222 -0
- package/styles/timepicker/fluent.scss +6 -0
- package/styles/timepicker/highcontrast-light.css +1 -0
- package/styles/timepicker/highcontrast.css +1 -0
- package/styles/timepicker/icons/_fluent-dark.scss +1 -0
- package/styles/timepicker/icons/_fluent.scss +1 -1
- package/styles/timepicker/icons/_tailwind.scss +2 -1
- package/styles/timepicker/material-dark.css +1 -0
- package/styles/timepicker/material.css +1 -0
- package/styles/timepicker/tailwind-dark.css +5 -4
- package/styles/timepicker/tailwind.css +5 -4
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*! calendar bootstrap5 theme variables */
|
|
2
2
|
//month view
|
|
3
3
|
$calendar-normal-month-view-height: 32px !default;
|
|
4
|
-
$calendar-normal-month-view-line-height:
|
|
4
|
+
$calendar-normal-month-view-line-height: $calendar-normal-month-view-height !default;
|
|
5
5
|
$calendar-normal-month-view-width: 32px !default;
|
|
6
6
|
$calendar-normal-month-cell-padding: 0 !default;
|
|
7
7
|
$calendar-bigger-table-month-padding: 0 12px 12px 12px !default;
|
|
8
8
|
$calendar-bigger-month-font-size: $text-base !default;
|
|
9
9
|
$calendar-bigger-month-view-padding: 0 !default;
|
|
10
10
|
$calendar-bigger-month-view-height: 38px !default;
|
|
11
|
-
$calendar-bigger-month-view-line-height:
|
|
11
|
+
$calendar-bigger-month-view-line-height: $calendar-bigger-month-view-height !default;
|
|
12
12
|
$calendar-bigger-month-view-width: 38px !default;
|
|
13
13
|
//header dimension
|
|
14
14
|
$calendar-header-font-size: 14px !default;
|
|
@@ -22,7 +22,7 @@ $calendar-normal-header-height: 24px !default;
|
|
|
22
22
|
$calendar-bigger-header-font-size: 18px !default;
|
|
23
23
|
$calendar-normal-day-header-font-weight: 500 !default;
|
|
24
24
|
$calendar-title-font-size: 16px !default;
|
|
25
|
-
$calendar-title-margin-left-style:
|
|
25
|
+
$calendar-title-margin-left-style: 2px !default;
|
|
26
26
|
$calendar-title-font-weight-style: 600 !default;
|
|
27
27
|
$calendar-title-decoration-style: none !default;
|
|
28
28
|
// common size properties
|
|
@@ -51,6 +51,7 @@ $calendar-normal-today-button-height: 36px !default;
|
|
|
51
51
|
//dimension
|
|
52
52
|
$calendar-normal-year-decade-height: 56px !default;
|
|
53
53
|
$calendar-normal-year-decade-width: 56px !default;
|
|
54
|
+
$calendar-small-year-decade-width: 46px !default;
|
|
54
55
|
$calendar-normal-year-decade-padding: 2px !default;
|
|
55
56
|
$calendar-yeardeacde-span-padding: 0 !default;
|
|
56
57
|
$calendar-yeardecade-padding: 0 8px 8px !default;
|
|
@@ -66,6 +67,12 @@ $calendar-bigger-yeardecade-header-padding: 10px !default;
|
|
|
66
67
|
$calendar-decade-title-left-margin-style: 15px !default;
|
|
67
68
|
// table related styles
|
|
68
69
|
$calendar-table-padding: 0 8px 8px 8px !default;
|
|
70
|
+
$calendar-rtl-text-indent: 12px !default;
|
|
71
|
+
$calendar-day-bigger-small-cell-size: 34px !default;
|
|
72
|
+
$calendar-rtl-bigger-small-text-indent: 12px !default;
|
|
73
|
+
$calendar-rtl-bigger-text-indent: 15px !default;
|
|
74
|
+
$calendar-title-margin-bigger-small-left-style: 5px !default;
|
|
75
|
+
$calendar-title-margin-small-left-style: 0 !default;
|
|
69
76
|
//font icons
|
|
70
77
|
$calendar-prev-icon: '\e910' !default;
|
|
71
78
|
$calendar-next-icon: '\e916' !default;
|
|
@@ -79,6 +86,7 @@ $calendar-icon-font-size-style: 14px !default;
|
|
|
79
86
|
$calendar-bigger-icon-font-size: 16px !default;
|
|
80
87
|
$calendar-footer-container-padding: 8px !default;
|
|
81
88
|
$calendar-bigger-footer-container-padding: 16px !default;
|
|
89
|
+
$calendar-week-number-font-weight: 500 !default;
|
|
82
90
|
// small size
|
|
83
91
|
$calendar-small-icon-size: 24px !default;
|
|
84
92
|
$calendar-small-icon-font-size-style: 12px !default;
|
|
@@ -87,7 +95,7 @@ $calendar-small-icon-padding: 0 !default;
|
|
|
87
95
|
$calendar-small-header-height: 22px !default;
|
|
88
96
|
$calendar-small-day-header-height: 24px !default;
|
|
89
97
|
$calendar-small-month-view-height: 26px !default;
|
|
90
|
-
$calendar-small-month-view-line-height:
|
|
98
|
+
$calendar-small-month-view-line-height: $calendar-small-month-view-height !default;
|
|
91
99
|
$calendar-small-date-font-size: 12px !default;
|
|
92
100
|
$calendar-small-month-view-width: 26px !default;
|
|
93
101
|
$calendar-small-popup-padding: 0 !default;
|
|
@@ -165,14 +173,17 @@ $calendar-active-hover-font-color: $primary-text-pressed !default;
|
|
|
165
173
|
$calendar-active-today-font-color: $primary-text-pressed !default;
|
|
166
174
|
$calendar-active-today-hover-font-color: $primary-text-pressed !default;
|
|
167
175
|
$calendar-active-bg-color: $primary-bg-color !default;
|
|
168
|
-
$calendar-active-bg-
|
|
176
|
+
$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;
|
|
177
|
+
$calendar-active-bg-border-color: none !default;
|
|
169
178
|
$calendar-active-hover-bg-color: darken($primary-bg-color, 10%) !default;
|
|
170
|
-
$calendar-hover-color:
|
|
179
|
+
$calendar-hover-color: $flyout-bg-color-hover !default;
|
|
171
180
|
$calendar-text-color: $content-text-color !default;
|
|
172
181
|
$calendar-hover-text: $calendar-text-color !default;
|
|
173
182
|
$calendar-focus-bg-color: $content-bg-color-hover !default;
|
|
174
183
|
$calendar-focused-today-bg-style: $content-bg-color-hover !default;
|
|
175
|
-
$calendar-focused-today-
|
|
184
|
+
$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;
|
|
185
|
+
$calendar-focused-today-border-style: none !default;
|
|
186
|
+
$calendar-focus-box-shadow: none !default;
|
|
176
187
|
$calendar-focus-border-color: none !default;
|
|
177
188
|
$calendar-hover-border-color: none !default;
|
|
178
189
|
$calendar-disable-font-color: $content-text-color-disabled !default;
|
|
@@ -182,8 +193,8 @@ $calendar-small-title-font-color: $content-text-color-alt1 !default;
|
|
|
182
193
|
//today date
|
|
183
194
|
$calendar-today-bg-style: none !default;
|
|
184
195
|
$calendar-today-bg-hover-color: $content-bg-color-alt1 !default;
|
|
185
|
-
$calendar-today-
|
|
186
|
-
$calendar-
|
|
196
|
+
$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;
|
|
197
|
+
$calendar-today-border-color: none !default;
|
|
187
198
|
$calendar-selected-border-color: none !default;
|
|
188
199
|
//pending
|
|
189
200
|
$calendar-today-color: $primary !default;
|
|
@@ -202,13 +213,12 @@ $calendar-today-disabled-border-style: $primary-border-color-disabled !default;
|
|
|
202
213
|
$calendar-today-disabled-box-shadow: none !default;
|
|
203
214
|
$calendar-today-disabled-color: $primary-text-disabled !default;
|
|
204
215
|
//today button flat button override style
|
|
205
|
-
$today-
|
|
206
|
-
$today-
|
|
207
|
-
$today-
|
|
208
|
-
$today-
|
|
209
|
-
$today-
|
|
210
|
-
$today-
|
|
211
|
-
$today-
|
|
212
|
-
$today-
|
|
213
|
-
$today-
|
|
214
|
-
|
|
216
|
+
$today-button-bg: $primary-bg-color !default;
|
|
217
|
+
$today-button-bg-border-color: $primary-border-color !default;
|
|
218
|
+
$today-button-text-color: $primary-text-color !default;
|
|
219
|
+
$today-button-hover-bg: $primary-bg-color-hover !default;
|
|
220
|
+
$today-button-bg-border-hover-color: $primary-border-color-hover !default;
|
|
221
|
+
$today-button-text-hover-color: $primary-text-hover !default;
|
|
222
|
+
$today-button-active-bg: $primary-bg-color-pressed !default;
|
|
223
|
+
$today-button-bg-border-active-color: $primary-border-color-pressed !default;
|
|
224
|
+
$today-button-text-active-color: $primary-text-pressed !default;
|
|
@@ -7,6 +7,7 @@ $calendar-light-font: $neutral-light-fontalt !default;
|
|
|
7
7
|
$calendar-bg-color: $neutral-white !default;
|
|
8
8
|
$calendar-active-font-color: $theme-light-font !default;
|
|
9
9
|
$calendar-active-bg-color: $theme-tertiary !default;
|
|
10
|
+
$calendar-active-bg-box-shadow: none !default;
|
|
10
11
|
$calendar-active-bg-border-color: $theme-tertiary !default;
|
|
11
12
|
$calendar-hover-color: $neutral-light !default;
|
|
12
13
|
$calendar-header-font-color: $neutral-light-font !default;
|
|
@@ -26,6 +27,7 @@ $calendar-hover-text: $neutral-light-fontalt !default;
|
|
|
26
27
|
$calendar-today-bg-style: $neutral-quintenaryalt !default;
|
|
27
28
|
$calendar-focus-bg-color: $neutral-light !default;
|
|
28
29
|
$calendar-focused-today-bg-style: $neutral-light !default;
|
|
30
|
+
$calendar-focused-today-box-shadow: none !default;
|
|
29
31
|
$calendar-focused-today-border-style: none !default;
|
|
30
32
|
$calendar-border-style: 1px solid $neutral-light !default;
|
|
31
33
|
$calendar-box-shadow: none !default;
|
|
@@ -124,8 +126,10 @@ $calendar-today-focus-color: $neutral-light-font !default;
|
|
|
124
126
|
$calendar-today-color: $theme-primary-font !default;
|
|
125
127
|
$calendar-bigger-icon-font-size: 18px !default;
|
|
126
128
|
$calendar-bigger-month-view-padding: 0 !default;
|
|
129
|
+
$calendar-today-box-shadow: none !default;
|
|
127
130
|
$calendar-today-border-color: none !default;
|
|
128
131
|
$calendar-focus-border-color: none !default;
|
|
132
|
+
$calendar-focus-box-shadow: none !default;
|
|
129
133
|
$calendar-hover-border-color: none !default;
|
|
130
134
|
$calendar-normal-month-view-width: $calendar-normal-month-view-height !default;
|
|
131
135
|
$calendar-normal-year-decade-width: $calendar-normal-year-decade-height !default;
|
|
@@ -149,7 +153,6 @@ $calendar-icon-padding: 7px !default;
|
|
|
149
153
|
$calendar-icon-button-margin: 0 !default;
|
|
150
154
|
$calendar-bigger-icon-padding: 13px !default;
|
|
151
155
|
$calendar-bigger-icon-margin: 0 !default;
|
|
152
|
-
$calendar-selected-box-shadow: none !default;
|
|
153
156
|
$calendar-selected-border-color: none !default;
|
|
154
157
|
$calendar-footer-container-padding: 0 10px 10px 10px !default;
|
|
155
158
|
$calendar-footer-border: none !default;
|
|
@@ -160,6 +163,10 @@ $calendar-today-disabled-background-style: $neutral-light !default;
|
|
|
160
163
|
$calendar-today-disabled-border-style: $neutral-light !default;
|
|
161
164
|
$calendar-today-disabled-box-shadow: none !default;
|
|
162
165
|
$calendar-today-disabled-color: $neutral-tertiary-alt !default;
|
|
166
|
+
$calendar-week-number-font-weight: 500 !default;
|
|
167
|
+
|
|
168
|
+
//table related styles
|
|
169
|
+
$calendar-rtl-text-indent: 4px !default;
|
|
163
170
|
|
|
164
171
|
// small size
|
|
165
172
|
$calendar-small-icon-size: 28px !default;
|
|
@@ -10,6 +10,7 @@ $calendar-active-hover-font-color: $header-font-color !default;
|
|
|
10
10
|
$calendar-active-today-font-color: $header-font-color !default;
|
|
11
11
|
$calendar-active-today-hover-font-color: $header-font-color !default;
|
|
12
12
|
$calendar-active-bg-color: $theme-primary !default;
|
|
13
|
+
$calendar-active-bg-box-shadow: none !default;
|
|
13
14
|
$calendar-active-bg-border-color: none !default;
|
|
14
15
|
$calendar-hover-color: $neutral-light !default;
|
|
15
16
|
$calendar-header-font-color: $neutral-light-font !default;
|
|
@@ -29,6 +30,7 @@ $calendar-hover-text: $calendar-text-color !default;
|
|
|
29
30
|
$calendar-today-bg-style: $theme-light !default;
|
|
30
31
|
$calendar-focus-bg-color: $alert-bg !default;
|
|
31
32
|
$calendar-focused-today-bg-style: $neutral-light !default;
|
|
33
|
+
$calendar-focused-today-box-shadow: none !default;
|
|
32
34
|
$calendar-focused-today-border-style: none !default;
|
|
33
35
|
$calendar-border-style: 1px solid $neutral-light !default;
|
|
34
36
|
$calendar-box-shadow: none !default;
|
|
@@ -124,7 +126,9 @@ $calendar-today-focused-font-color: $theme-light-font !default;
|
|
|
124
126
|
$calendar-bigger-icon-font-size: 18px !default;
|
|
125
127
|
$calendar-bigger-month-view-padding: 0 !default;
|
|
126
128
|
$calendar-today-border-color: none !default;
|
|
129
|
+
$calendar-today-box-shadow: none !default;
|
|
127
130
|
$calendar-focus-border-color: none !default;
|
|
131
|
+
$calendar-focus-box-shadow: none !default;
|
|
128
132
|
$calendar-hover-border-color: none !default;
|
|
129
133
|
$calendar-normal-month-view-width: $calendar-normal-month-view-height !default;
|
|
130
134
|
$calendar-normal-year-decade-width: $calendar-normal-year-decade-height !default;
|
|
@@ -148,8 +152,8 @@ $calendar-icon-padding: 7px !default;
|
|
|
148
152
|
$calendar-icon-button-margin: 0 !default;
|
|
149
153
|
$calendar-bigger-icon-padding: 13px !default;
|
|
150
154
|
$calendar-bigger-icon-margin: 0 !default;
|
|
151
|
-
$calendar-selected-box-shadow: none !default;
|
|
152
155
|
$calendar-selected-border-color: none !default;
|
|
156
|
+
$calendar-week-number-font-weight: 500 !default;
|
|
153
157
|
|
|
154
158
|
//today
|
|
155
159
|
$calendar-footer-container-padding: 0 10px 10px 10px !default;
|
|
@@ -162,6 +166,9 @@ $calendar-today-disabled-border-style: $neutral-lighter !default;
|
|
|
162
166
|
$calendar-today-disabled-box-shadow: none !default;
|
|
163
167
|
$calendar-today-disabled-color: $neutral-tertiary !default;
|
|
164
168
|
|
|
169
|
+
//table related styles
|
|
170
|
+
$calendar-rtl-text-indent: 4px !default;
|
|
171
|
+
|
|
165
172
|
// small size
|
|
166
173
|
$calendar-small-icon-size: 28px !default;
|
|
167
174
|
$calendar-small-icon-font-size-style: 12px !default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import './fluent-definition.scss';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*! calendar bootstrap5 theme variables */
|
|
2
2
|
//month view
|
|
3
3
|
$calendar-normal-month-view-height: 28px !default;
|
|
4
|
-
$calendar-normal-month-view-line-height:
|
|
4
|
+
$calendar-normal-month-view-line-height: $calendar-normal-month-view-height !default;
|
|
5
5
|
$calendar-normal-month-view-width: 28px !default;
|
|
6
6
|
$calendar-normal-month-cell-padding: 0 !default;
|
|
7
7
|
$calendar-bigger-table-month-padding: 0 16px 0 16px !default;
|
|
8
8
|
$calendar-bigger-month-font-size: $text-sm !default;
|
|
9
9
|
$calendar-bigger-month-view-padding: 0 !default;
|
|
10
10
|
$calendar-bigger-month-view-height: 32px !default;
|
|
11
|
-
$calendar-bigger-month-view-line-height:
|
|
11
|
+
$calendar-bigger-month-view-line-height: $calendar-bigger-month-view-height !default;
|
|
12
12
|
$calendar-bigger-month-view-width: 32px !default;
|
|
13
13
|
//header dimension
|
|
14
14
|
$calendar-header-font-size: 12px !default;
|
|
@@ -26,7 +26,8 @@ $calendar-title-margin-left-style: 6px !default;
|
|
|
26
26
|
$calendar-title-font-weight-style: 600 !default;
|
|
27
27
|
$calendar-title-decoration-style: none !default;
|
|
28
28
|
// common size properties
|
|
29
|
-
$calendar-wrapper-border-radius:
|
|
29
|
+
$calendar-wrapper-border-radius: 0 !default;
|
|
30
|
+
$calendar-border-selected-radius: 50% !default;
|
|
30
31
|
$calendar-full-width: 100% !default;
|
|
31
32
|
$calendar-lg-day-header-format-max-width: 100% !default;
|
|
32
33
|
$calendar-lg-day-header-format-min-width: 540px !default;
|
|
@@ -34,14 +35,14 @@ $calendar-icon-padding-top: 0 !default;
|
|
|
34
35
|
$calendar-zero-value: 0 !default;
|
|
35
36
|
$calendar-disable-opacity: 1 !default;
|
|
36
37
|
//popup styles
|
|
37
|
-
$calendar-normal-max-width:
|
|
38
|
-
$calendar-normal-min-width:
|
|
38
|
+
$calendar-normal-max-width: 229px !default;
|
|
39
|
+
$calendar-normal-min-width: 229px !default;
|
|
39
40
|
$calendar-small-max-width: 198px !default;
|
|
40
41
|
$calendar-small-min-width: 198px !default;
|
|
41
|
-
$calendar-bigger-max-width:
|
|
42
|
-
$calendar-bigger-min-width:
|
|
43
|
-
$calendar-weeknumber-min-width:
|
|
44
|
-
$calendar-weeknumber-bigger-width:
|
|
42
|
+
$calendar-bigger-max-width: 268px !default;
|
|
43
|
+
$calendar-bigger-min-width: 268px !default;
|
|
44
|
+
$calendar-weeknumber-min-width: 298px !default;
|
|
45
|
+
$calendar-weeknumber-bigger-width: 335px !default;
|
|
45
46
|
$calendar-popup-padding: 0 !default;
|
|
46
47
|
$calendar-popup-bigger-padding: 0 !default;
|
|
47
48
|
// today button
|
|
@@ -66,6 +67,7 @@ $calendar-bigger-yeardecade-header-padding: 16px 16px 8px 16px !default;
|
|
|
66
67
|
$calendar-decade-title-left-margin-style: 9px !default;
|
|
67
68
|
// table related styles
|
|
68
69
|
$calendar-table-padding: 0 12px 0 12px !default;
|
|
70
|
+
$calendar-rtl-text-indent: 4px !default;
|
|
69
71
|
//font icons
|
|
70
72
|
$calendar-prev-icon: '\e910' !default;
|
|
71
73
|
$calendar-next-icon: '\e916' !default;
|
|
@@ -86,10 +88,10 @@ $calendar-small-title-font-size: 12px !default;
|
|
|
86
88
|
$calendar-small-icon-padding: 0 !default;
|
|
87
89
|
$calendar-small-header-height: 28px !default;
|
|
88
90
|
$calendar-small-day-header-height: 26px !default;
|
|
89
|
-
$calendar-small-month-view-height:
|
|
90
|
-
$calendar-small-month-view-line-height:
|
|
91
|
+
$calendar-small-month-view-height: 24px !default;
|
|
92
|
+
$calendar-small-month-view-line-height: $calendar-small-month-view-height !default;
|
|
91
93
|
$calendar-small-date-font-size: 12px !default;
|
|
92
|
-
$calendar-small-month-view-width:
|
|
94
|
+
$calendar-small-month-view-width: 24px !default;
|
|
93
95
|
$calendar-small-popup-padding: 0 !default;
|
|
94
96
|
$calendar-bigger-small-table-padding: 0 12px 0 12px !default;
|
|
95
97
|
$calendar-bigger-small-yeardecade-font-size: 14px !default;
|
|
@@ -120,13 +122,13 @@ $calendar-other-month-display-style: inline-block !default;
|
|
|
120
122
|
$calendar-other-month-row-display-style: none !default;
|
|
121
123
|
$calendar-footer-border: 0 solid $border-light !default;
|
|
122
124
|
$calendar-bigger-footer-border: 0 solid $border-light !default;
|
|
123
|
-
$calendar-week-number-font-style:
|
|
125
|
+
$calendar-week-number-font-style: normal !default;
|
|
124
126
|
//dimension
|
|
125
127
|
$calendar-date-font-size: $text-xs !default;
|
|
126
128
|
$calendar-bigger-day-font-size: 15px !default;
|
|
127
129
|
$calendar-link-font-weight-style: normal !default;
|
|
128
130
|
$calendar-disable-font-weight-style: normal !default;
|
|
129
|
-
$calendar-border-radius:
|
|
131
|
+
$calendar-border-radius: 0 !default;
|
|
130
132
|
//week header font size
|
|
131
133
|
$calendar-bigger-week-header-font-size: $text-sm !default;
|
|
132
134
|
//header color
|
|
@@ -145,12 +147,14 @@ $calendar-active-state-icon-bg-color: $secondary-border-color-pressed !default;
|
|
|
145
147
|
//popup styles
|
|
146
148
|
$calendar-border-style: 1px solid $border-light !default;
|
|
147
149
|
$calendar-bg-color: $transparent !default;
|
|
150
|
+
$calendar-week-number-bg-color: $content-bg-color-alt1 !default;
|
|
151
|
+
$calendar-week-number-font-weight: 400 !default;
|
|
148
152
|
$calendar-box-shadow: none !default;
|
|
149
153
|
// year decade view
|
|
150
154
|
//color
|
|
151
155
|
$calendar-yeardecade-bg-color: none !default;
|
|
152
156
|
$calendar-yeardecade-hover-bg: $content-bg-color-hover !default;
|
|
153
|
-
$calendar-yeardecade-selected-hover-bg:
|
|
157
|
+
$calendar-yeardecade-selected-hover-bg: $flyout-bg-color-selected !default;
|
|
154
158
|
//decade view color
|
|
155
159
|
$calendar-other-decade-cell-color: $content-text-color-alt2 !default;
|
|
156
160
|
// end year decade
|
|
@@ -165,50 +169,58 @@ $calendar-active-hover-font-color: $flyout-text-color-selected !default;
|
|
|
165
169
|
$calendar-active-today-font-color: $content-text-color !default;
|
|
166
170
|
$calendar-active-today-hover-font-color: $content-text-color !default;
|
|
167
171
|
$calendar-active-bg-color: $flyout-bg-color-selected !default;
|
|
168
|
-
$calendar-active-bg-
|
|
172
|
+
$calendar-active-bg-box-shadow: inset 1px 0 $primary, inset 0 1px $primary, inset -1px 0 $primary, inset 0 -1px $primary !default;
|
|
173
|
+
$calendar-active-bg-border-color: none !default;
|
|
169
174
|
$calendar-active-hover-bg-color: $flyout-bg-color-selected !default;
|
|
170
175
|
$calendar-hover-color: $flyout-bg-color-hover !default;
|
|
171
176
|
$calendar-text-color: $flyout-text-color !default;
|
|
172
177
|
$calendar-hover-text: $calendar-text-color !default;
|
|
173
178
|
$calendar-focus-bg-color: $flyout-bg-color-focus !default;
|
|
174
179
|
$calendar-focused-today-bg-style: $primary !default;
|
|
175
|
-
$calendar-
|
|
176
|
-
$calendar-
|
|
180
|
+
$calendar-selected-box-shadow: inset 1px 0 $border, inset 0 1px $border, inset -1px 0 $border, inset 0 -1px $border !default;
|
|
181
|
+
$calendar-focused-today-box-shadow: none !default;
|
|
182
|
+
$calendar-focused-today-border-style: none !default;
|
|
183
|
+
$calendar-focus-box-shadow: none !default;
|
|
184
|
+
$calendar-focus-border-color: none !default;
|
|
177
185
|
$calendar-hover-border-color: none !default;
|
|
178
186
|
$calendar-disable-font-color: $flyout-text-color-disabled !default;
|
|
179
|
-
$calendar-focused-date-bg-style: $
|
|
187
|
+
$calendar-focused-date-bg-style: $content-bg-color-hover !default;
|
|
180
188
|
$calendar-small-title-font-color: $content-text-color !default;
|
|
189
|
+
$calendar-focused-state-box-shadow: 0 0 0 1px $border-alt !default;
|
|
190
|
+
$calendar-focused-state-border-radius: 4px !default;
|
|
191
|
+
$calendar-focused-state-month-box-shadow: 0 0 0 1px $border-alt !default;
|
|
181
192
|
// end td styles
|
|
182
193
|
//today date
|
|
183
|
-
$calendar-today-bg-style:
|
|
194
|
+
$calendar-today-bg-style: $primary !default;
|
|
184
195
|
$calendar-today-bg-hover-color: $flyout-bg-color-hover !default;
|
|
185
|
-
$calendar-today-
|
|
186
|
-
$calendar-
|
|
196
|
+
$calendar-today-box-shadow: 0 0 0 1px $primary !default;
|
|
197
|
+
$calendar-today-border-color: none !default;
|
|
187
198
|
$calendar-selected-border-color: none !default;
|
|
188
199
|
//pending
|
|
189
|
-
$calendar-today-color: $primary !default;
|
|
200
|
+
$calendar-today-color: $primary-text-color !default;
|
|
190
201
|
$calendar-today-focused-font-color: $primary-text-color !default;
|
|
191
|
-
$calendar-today-focus-color: $
|
|
202
|
+
$calendar-today-focus-color: $primary-text-color !default;
|
|
192
203
|
//week header
|
|
193
204
|
$calendar-week-header-font-color: $content-text-color !default;
|
|
194
205
|
$calendar-week-header-bg-style: none !default;
|
|
195
206
|
//week number
|
|
196
|
-
$calendar-week-number-color-style: $content-text-color-
|
|
197
|
-
$calendar-week-number-font-color: $
|
|
207
|
+
$calendar-week-number-color-style: $content-text-color-alt3 !default;
|
|
208
|
+
$calendar-week-number-font-color: $content-text-color-alt3 !default;
|
|
198
209
|
//today button
|
|
199
210
|
$calendar-footer-background: $transparent !default;
|
|
200
211
|
$calendar-today-disabled-background-style: $primary-bg-color-disabled !default;
|
|
201
212
|
$calendar-today-disabled-border-style: $primary-border-color-disabled !default;
|
|
202
213
|
$calendar-today-disabled-box-shadow: none !default;
|
|
203
|
-
$calendar-today-disabled-color: $
|
|
214
|
+
$calendar-today-disabled-color: $content-text-color-disabled !default;
|
|
204
215
|
//today button flat button override style
|
|
205
|
-
$today-
|
|
206
|
-
$today-
|
|
207
|
-
$today-
|
|
208
|
-
$today-
|
|
209
|
-
$today-
|
|
210
|
-
$today-
|
|
211
|
-
$today-
|
|
212
|
-
$today-
|
|
213
|
-
$today-
|
|
214
|
-
|
|
216
|
+
$today-button-bg: transparent !default;
|
|
217
|
+
$today-button-bg-border-color: transparent !default;
|
|
218
|
+
$today-button-text-color: $content-text-color !default;
|
|
219
|
+
$today-button-hover-bg: transparent !default;
|
|
220
|
+
$today-button-bg-border-hover-color: transparent !default;
|
|
221
|
+
$today-button-text-hover-color: $primary !default;
|
|
222
|
+
$today-button-active-bg: transparent !default;
|
|
223
|
+
$today-button-bg-border-active-color: $primary-border-color-pressed !default;
|
|
224
|
+
$today-button-text-active-color: $primary !default;
|
|
225
|
+
$calendar-selected-month-bg-color: $primary-light !default;
|
|
226
|
+
$calendar-week-number-border: 1px solid $content-text-color-alt3 !default;
|
|
@@ -10,6 +10,7 @@ $calendar-active-today-font-color: $selection-font !default;
|
|
|
10
10
|
$calendar-active-today-hover-font-color: $selection-font !default;
|
|
11
11
|
$calendar-active-bg-color: $selection-bg !default;
|
|
12
12
|
$calendar-active-bg-border-color: 1px solid $selection-bg !default;
|
|
13
|
+
$calendar-active-bg-box-shadow: none !default;
|
|
13
14
|
$calendar-hover-color: $hover-bg !default;
|
|
14
15
|
$calendar-header-font-color: $header-font !default;
|
|
15
16
|
$calendar-header-icon-color: $content-font !default;
|
|
@@ -28,6 +29,7 @@ $calendar-hover-text: $hover-font !default;
|
|
|
28
29
|
$calendar-today-bg-style: $bg-base-0 !default;
|
|
29
30
|
$calendar-focus-bg-color: $bg-base-20 !default;
|
|
30
31
|
$calendar-focused-today-bg-style: $bg-base-0 !default;
|
|
32
|
+
$calendar-focused-today-box-shadow: none !default;
|
|
31
33
|
$calendar-focused-today-border-style: 1px dashed $hover-border !default;
|
|
32
34
|
$calendar-border-style: 1px solid $border-default !default;
|
|
33
35
|
$calendar-box-shadow: none !default;
|
|
@@ -122,8 +124,10 @@ $calendar-today-color: $selection-bg !default;
|
|
|
122
124
|
$calendar-today-focused-font-color: $selection-bg !default;
|
|
123
125
|
$calendar-bigger-icon-font-size: 18px !default;
|
|
124
126
|
$calendar-bigger-month-view-padding: 0 !default;
|
|
127
|
+
$calendar-today-box-shadow: none !default;
|
|
125
128
|
$calendar-today-border-color: 1px solid $border-fg-alt !default;
|
|
126
129
|
$calendar-focus-border-color: 1px dashed $border-fg !default;
|
|
130
|
+
$calendar-focus-box-shadow: none !default;
|
|
127
131
|
$calendar-hover-border-color: 1px solid $hover-border !default;
|
|
128
132
|
$calendar-default-border-color: 1px solid $bg-base-0 !default;
|
|
129
133
|
$calendar-normal-month-view-width: $calendar-normal-month-view-height !default;
|
|
@@ -148,8 +152,8 @@ $calendar-icon-padding: 6px 7px !default;
|
|
|
148
152
|
$calendar-icon-button-margin: 0 !default;
|
|
149
153
|
$calendar-bigger-icon-padding: 13px !default;
|
|
150
154
|
$calendar-bigger-icon-margin: 0 !default;
|
|
151
|
-
$calendar-selected-box-shadow: none !default;
|
|
152
155
|
$calendar-selected-border-color: 1px solid $selection-bg !default;
|
|
156
|
+
$calendar-week-number-font-weight: 500 !default;
|
|
153
157
|
|
|
154
158
|
//today
|
|
155
159
|
$calendar-footer-container-padding: 0 10px 10px 10px !default;
|
|
@@ -162,6 +166,9 @@ $calendar-today-disabled-border-style: $bg-base-0 !default;
|
|
|
162
166
|
$calendar-today-disabled-box-shadow: none !default;
|
|
163
167
|
$calendar-today-disabled-color: $disable !default;
|
|
164
168
|
|
|
169
|
+
//table related styles
|
|
170
|
+
$calendar-rtl-text-indent: 4px !default;
|
|
171
|
+
|
|
165
172
|
// small size
|
|
166
173
|
$calendar-small-icon-size: 28px !default;
|
|
167
174
|
$calendar-small-icon-font-size-style: 12px !default;
|
|
@@ -7,6 +7,7 @@ $calendar-bg-color: $bg-base-0 !default;
|
|
|
7
7
|
$calendar-active-font-color: $selection-font !default;
|
|
8
8
|
$calendar-active-bg-color: $selection-bg !default;
|
|
9
9
|
$calendar-active-bg-border-color: 1px solid $selection-bg !default;
|
|
10
|
+
$calendar-active-bg-box-shadow: none !default;
|
|
10
11
|
$calendar-hover-color: $hover-bg !default;
|
|
11
12
|
$calendar-header-font-color: $header-font !default;
|
|
12
13
|
$calendar-header-icon-color: $content-font !default;
|
|
@@ -22,9 +23,11 @@ $calendar-focus-date-color: $content-font !default;
|
|
|
22
23
|
$calendar-other-month-date: $content-font-alt !default;
|
|
23
24
|
$calendar-text-color: $content-font !default;
|
|
24
25
|
$calendar-hover-text: $hover-font !default;
|
|
26
|
+
$calendar-today-box-shadow: none !default;
|
|
25
27
|
$calendar-today-bg-style: $bg-base-0 !default;
|
|
26
28
|
$calendar-focus-bg-color: $bg-base-20 !default;
|
|
27
29
|
$calendar-focused-today-bg-style: $bg-base-0 !default;
|
|
30
|
+
$calendar-focused-today-box-shadow: none !default;
|
|
28
31
|
$calendar-focused-today-border-style: 1px dashed $hover-border !default;
|
|
29
32
|
$calendar-border-style: 1px solid $border-default !default;
|
|
30
33
|
$calendar-box-shadow: none !default;
|
|
@@ -119,6 +122,7 @@ $calendar-bigger-icon-font-size: 18px !default;
|
|
|
119
122
|
$calendar-bigger-month-view-padding: 0 !default;
|
|
120
123
|
$calendar-today-border-color: 1px solid $border-fg-alt !default;
|
|
121
124
|
$calendar-focus-border-color: 1px dashed $border-fg !default;
|
|
125
|
+
$calendar-focus-box-shadow: none !default;
|
|
122
126
|
$calendar-hover-border-color: 1px solid $hover-border !default;
|
|
123
127
|
$calendar-default-border-color: 1px solid $bg-base-0 !default;
|
|
124
128
|
$calendar-normal-month-view-width: $calendar-normal-month-view-height !default;
|
|
@@ -143,8 +147,9 @@ $calendar-icon-padding: 6px 7px !default;
|
|
|
143
147
|
$calendar-icon-button-margin: 0 !default;
|
|
144
148
|
$calendar-bigger-icon-padding: 13px !default;
|
|
145
149
|
$calendar-bigger-icon-margin: 0 !default;
|
|
146
|
-
$calendar-selected-box-shadow: none !default;
|
|
147
150
|
$calendar-selected-border-color: 1px solid $selection-bg !default;
|
|
151
|
+
$calendar-week-number-font-weight: 500 !default;
|
|
152
|
+
|
|
148
153
|
// newly added
|
|
149
154
|
$calendar-active-today-hover-font-color: $selection-font !default;
|
|
150
155
|
$calendar-today-focused-font-color: $selection-bg !default;
|
|
@@ -161,6 +166,9 @@ $calendar-today-disabled-border-style: $bg-base-0 !default;
|
|
|
161
166
|
$calendar-today-disabled-box-shadow: none !default;
|
|
162
167
|
$calendar-today-disabled-color: $disable !default;
|
|
163
168
|
|
|
169
|
+
//table related styles
|
|
170
|
+
$calendar-rtl-text-indent: 4px !default;
|
|
171
|
+
|
|
164
172
|
// small size
|
|
165
173
|
$calendar-small-icon-size: 28px !default;
|
|
166
174
|
$calendar-small-icon-font-size-style: 12px !default;
|