cmat 0.0.3 → 0.0.4
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/components/breadcrumb/breadcrumb.component.d.ts +18 -20
- package/components/card/card.component.d.ts +0 -5
- package/components/cascade/cascade-list/cascade-list.component.d.ts +12 -9
- package/components/cascade/cascade-menu/cascade-menu.component.d.ts +0 -1
- package/components/chip-input/chip-input.component.d.ts +34 -0
- package/components/chip-input/index.d.ts +5 -0
- package/components/chip-input/public-api.d.ts +1 -0
- package/components/date-range/date-range.component.d.ts +3 -2
- package/components/json-editor/index.d.ts +5 -0
- package/components/json-editor/json-editor.component.d.ts +25 -0
- package/components/json-editor/public-api.d.ts +1 -0
- package/components/navigation/vertical/components/aside/aside.component.d.ts +2 -5
- package/components/navigation/vertical/components/basic/basic.component.d.ts +2 -5
- package/components/navigation/vertical/components/collapsable/collapsable.component.d.ts +2 -5
- package/components/navigation/vertical/components/divider/divider.component.d.ts +2 -5
- package/components/navigation/vertical/components/group/group.component.d.ts +2 -5
- package/components/navigation/vertical/components/spacer/spacer.component.d.ts +2 -5
- package/components/navigation/vertical/vertical.component.d.ts +1 -4
- package/components/progress-bar/progress-bar.component.d.ts +3 -2
- package/components/rating/rating.component.d.ts +3 -2
- package/components/select-search/select-search.component.d.ts +1 -2
- package/components/select-tree/select-tree.component.d.ts +5 -12
- package/components/timeline/timeline-item/timeline-item.component.d.ts +1 -1
- package/components/transfer-picker/interface.d.ts +1 -1
- package/components/transfer-picker/transfer-picker-source/transfer-picker-source.component.d.ts +4 -4
- package/components/transfer-picker/transfer-picker.service.d.ts +2 -1
- package/directives/autofocus/autofocus.directive.d.ts +1 -3
- package/directives/debounce/debounce-keyup.directive.d.ts +1 -1
- package/directives/digit-only/digit-only.directive.d.ts +2 -0
- package/esm2022/animations/dropdown.mjs +26 -0
- package/esm2022/animations/public-api.mjs +2 -2
- package/esm2022/components/adapter/dayjs-date-adapter.mjs +3 -3
- package/esm2022/components/adapter/dayjs-datetime-adapter.mjs +3 -3
- package/esm2022/components/adapter/native-datetime-adapter.mjs +3 -3
- package/esm2022/components/breadcrumb/breadcrumb-item.directive.mjs +3 -3
- package/esm2022/components/breadcrumb/breadcrumb.component.mjs +16 -17
- package/esm2022/components/breadcrumb/breadcrumb.service.mjs +4 -4
- package/esm2022/components/card/card.component.mjs +5 -14
- package/esm2022/components/cascade/cascade-bottom-sheet/cascade-bottom-sheet.component.mjs +5 -6
- package/esm2022/components/cascade/cascade-list/cascade-list.component.mjs +65 -39
- package/esm2022/components/cascade/cascade-menu/cascade-menu.component.mjs +5 -9
- package/esm2022/components/chip-input/chip-input.component.mjs +144 -0
- package/esm2022/components/chip-input/cmat-components-chip-input.mjs +5 -0
- package/esm2022/components/chip-input/public-api.mjs +2 -0
- package/esm2022/components/date-range/date-range.component.mjs +13 -9
- package/esm2022/components/drawer/drawer.component.mjs +4 -4
- package/esm2022/components/drawer/drawer.service.mjs +3 -3
- package/esm2022/components/fullscreen/fullscreen.component.mjs +3 -3
- package/esm2022/components/highlight/highlight.component.mjs +3 -3
- package/esm2022/components/highlight/highlight.service.mjs +3 -3
- package/esm2022/components/json-editor/cmat-components-json-editor.mjs +5 -0
- package/esm2022/components/json-editor/json-editor.component.mjs +176 -0
- package/esm2022/components/json-editor/public-api.mjs +2 -0
- package/esm2022/components/masonry/masonry.component.mjs +3 -3
- package/esm2022/components/material-color-picker/material-color-picker.component.mjs +6 -6
- package/esm2022/components/material-datetimepicker/calendar-body.mjs +5 -6
- package/esm2022/components/material-datetimepicker/calendar.mjs +7 -8
- package/esm2022/components/material-datetimepicker/clock.mjs +6 -6
- package/esm2022/components/material-datetimepicker/datetimepicker-input.mjs +3 -3
- package/esm2022/components/material-datetimepicker/datetimepicker-intl.mjs +3 -3
- package/esm2022/components/material-datetimepicker/datetimepicker-toggle.mjs +8 -9
- package/esm2022/components/material-datetimepicker/datetimepicker.mjs +7 -7
- package/esm2022/components/material-datetimepicker/month-view.mjs +5 -6
- package/esm2022/components/material-datetimepicker/multi-year-view.mjs +3 -3
- package/esm2022/components/material-datetimepicker/time.mjs +8 -9
- package/esm2022/components/material-datetimepicker/year-view.mjs +3 -3
- package/esm2022/components/navigation/horizontal/components/basic/basic.component.mjs +6 -6
- package/esm2022/components/navigation/horizontal/components/branch/branch.component.mjs +7 -8
- package/esm2022/components/navigation/horizontal/components/divider/divider.component.mjs +3 -3
- package/esm2022/components/navigation/horizontal/components/spacer/spacer.component.mjs +3 -3
- package/esm2022/components/navigation/horizontal/horizontal.component.mjs +5 -6
- package/esm2022/components/navigation/navigation.service.mjs +3 -3
- package/esm2022/components/navigation/vertical/components/aside/aside.component.mjs +8 -17
- package/esm2022/components/navigation/vertical/components/basic/basic.component.mjs +7 -15
- package/esm2022/components/navigation/vertical/components/collapsable/collapsable.component.mjs +8 -19
- package/esm2022/components/navigation/vertical/components/divider/divider.component.mjs +6 -15
- package/esm2022/components/navigation/vertical/components/group/group.component.mjs +9 -19
- package/esm2022/components/navigation/vertical/components/spacer/spacer.component.mjs +6 -15
- package/esm2022/components/navigation/vertical/vertical.component.mjs +7 -18
- package/esm2022/components/pagination/pagination.component.mjs +6 -7
- package/esm2022/components/pagination/pagination.directive.mjs +3 -3
- package/esm2022/components/pagination/pagination.pipe.mjs +5 -5
- package/esm2022/components/pagination/pagination.service.mjs +3 -3
- package/esm2022/components/password-strength/mat-pass-toggle-visibility/mat-pass-toggle-visibility.component.mjs +3 -3
- package/esm2022/components/password-strength/mat-password-strength/mat-password-strength.component.mjs +6 -6
- package/esm2022/components/password-strength/mat-password-strength-info/mat-password-strength-info.component.mjs +8 -9
- package/esm2022/components/popover/popover.component.mjs +5 -5
- package/esm2022/components/progress-bar/progress-bar.component.mjs +11 -8
- package/esm2022/components/rating/rating.component.mjs +14 -6
- package/esm2022/components/select-search/select-no-entries-found.directive.mjs +3 -3
- package/esm2022/components/select-search/select-search-clear.directive.mjs +3 -3
- package/esm2022/components/select-search/select-search.component.mjs +8 -11
- package/esm2022/components/select-tree/select-tree.component.mjs +13 -29
- package/esm2022/components/timeline/timeline-item/timeline-item.component.mjs +18 -16
- package/esm2022/components/timeline/timeline.component.mjs +3 -3
- package/esm2022/components/toast/toast-modal.component.mjs +7 -7
- package/esm2022/components/toast/toast.component.mjs +6 -6
- package/esm2022/components/toast/toast.service.mjs +3 -3
- package/esm2022/components/transfer-picker/filter/filter.component.mjs +17 -8
- package/esm2022/components/transfer-picker/interface.mjs +1 -1
- package/esm2022/components/transfer-picker/search/search.component.mjs +9 -5
- package/esm2022/components/transfer-picker/transfer-picker-source/transfer-picker-source.component.mjs +44 -21
- package/esm2022/components/transfer-picker/transfer-picker-target/transfer-picker-target.component.mjs +7 -6
- package/esm2022/components/transfer-picker/transfer-picker.component.mjs +9 -7
- package/esm2022/components/transfer-picker/transfer-picker.service.mjs +10 -7
- package/esm2022/directives/animate-on-scroll/animate-on-scroll.directive.mjs +3 -3
- package/esm2022/directives/animate-on-scroll/scroll.service.mjs +3 -3
- package/esm2022/directives/autofocus/autofocus.directive.mjs +7 -7
- package/esm2022/directives/debounce/abstract-debounce.directive.mjs +3 -3
- package/esm2022/directives/debounce/debounce-click.directive.mjs +3 -3
- package/esm2022/directives/debounce/debounce-keyup.directive.mjs +5 -5
- package/esm2022/directives/digit-only/digit-only.directive.mjs +20 -4
- package/esm2022/directives/digit-only/mask.directive.mjs +3 -3
- package/esm2022/directives/digit-only/public-api.mjs +1 -1
- package/esm2022/directives/equal-validator/equal-validator.directive.mjs +3 -3
- package/esm2022/lib/mock-api/mock-api.interceptor.mjs +3 -3
- package/esm2022/lib/mock-api/mock-api.service.mjs +3 -3
- package/esm2022/pipes/bytes/bytes.pipe.mjs +3 -3
- package/esm2022/pipes/date-format/date-format.pipe.mjs +3 -3
- package/esm2022/pipes/find-by-key/find-by-key.pipe.mjs +3 -3
- package/esm2022/pipes/group-by/group-by.pipe.mjs +3 -3
- package/esm2022/pipes/keys/keys.pipe.mjs +3 -3
- package/esm2022/pipes/secure/secure-pipe.mjs +5 -5
- package/esm2022/pipes/uppercase/uppercase.pipe.mjs +3 -3
- package/esm2022/services/alert/alert.service.mjs +16 -16
- package/esm2022/services/config/config.constants.mjs +1 -1
- package/esm2022/services/config/config.service.mjs +3 -3
- package/esm2022/services/config/urlStateConfig.service.mjs +4 -4
- package/esm2022/services/confirmation/confirmation.service.mjs +3 -3
- package/esm2022/services/confirmation/dialog/dialog.component.mjs +6 -6
- package/esm2022/services/data/data.service.mjs +4 -4
- package/esm2022/services/loading/loading.interceptor.mjs +3 -3
- package/esm2022/services/loading/loading.service.mjs +3 -3
- package/esm2022/services/local-storage/local-storage.service.mjs +3 -3
- package/esm2022/services/media-watcher/media-watcher.service.mjs +3 -3
- package/esm2022/services/platform/platform.service.mjs +3 -3
- package/esm2022/services/splash-screen/splash-screen.service.mjs +3 -3
- package/esm2022/services/title/title.service.mjs +3 -3
- package/esm2022/services/translation/translation.service.mjs +3 -3
- package/esm2022/services/utils/utils.service.mjs +3 -3
- package/fesm2022/cmat-animations.mjs.map +1 -1
- package/fesm2022/cmat-components-adapter.mjs +9 -9
- package/fesm2022/cmat-components-breadcrumb.mjs +21 -22
- package/fesm2022/cmat-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/cmat-components-card.mjs +4 -13
- package/fesm2022/cmat-components-card.mjs.map +1 -1
- package/fesm2022/cmat-components-cascade.mjs +72 -49
- package/fesm2022/cmat-components-cascade.mjs.map +1 -1
- package/fesm2022/cmat-components-chip-input.mjs +151 -0
- package/fesm2022/cmat-components-chip-input.mjs.map +1 -0
- package/fesm2022/cmat-components-date-range.mjs +12 -8
- package/fesm2022/cmat-components-date-range.mjs.map +1 -1
- package/fesm2022/cmat-components-drawer.mjs +7 -7
- package/fesm2022/cmat-components-drawer.mjs.map +1 -1
- package/fesm2022/cmat-components-fullscreen.mjs +3 -3
- package/fesm2022/cmat-components-highlight.mjs +6 -6
- package/fesm2022/cmat-components-json-editor.mjs +183 -0
- package/fesm2022/cmat-components-json-editor.mjs.map +1 -0
- package/fesm2022/cmat-components-masonry.mjs +3 -3
- package/fesm2022/cmat-components-material-color-picker.mjs +5 -5
- package/fesm2022/cmat-components-material-color-picker.mjs.map +1 -1
- package/fesm2022/cmat-components-material-datetimepicker.mjs +51 -52
- package/fesm2022/cmat-components-material-datetimepicker.mjs.map +1 -1
- package/fesm2022/cmat-components-navigation.mjs +58 -125
- package/fesm2022/cmat-components-navigation.mjs.map +1 -1
- package/fesm2022/cmat-components-pagination.mjs +15 -16
- package/fesm2022/cmat-components-pagination.mjs.map +1 -1
- package/fesm2022/cmat-components-password-strength.mjs +14 -15
- package/fesm2022/cmat-components-password-strength.mjs.map +1 -1
- package/fesm2022/cmat-components-popover.mjs +4 -4
- package/fesm2022/cmat-components-popover.mjs.map +1 -1
- package/fesm2022/cmat-components-progress-bar.mjs +10 -7
- package/fesm2022/cmat-components-progress-bar.mjs.map +1 -1
- package/fesm2022/cmat-components-rating.mjs +13 -5
- package/fesm2022/cmat-components-rating.mjs.map +1 -1
- package/fesm2022/cmat-components-select-search.mjs +13 -16
- package/fesm2022/cmat-components-select-search.mjs.map +1 -1
- package/fesm2022/cmat-components-select-tree.mjs +12 -28
- package/fesm2022/cmat-components-select-tree.mjs.map +1 -1
- package/fesm2022/cmat-components-timeline.mjs +21 -19
- package/fesm2022/cmat-components-timeline.mjs.map +1 -1
- package/fesm2022/cmat-components-toast.mjs +13 -13
- package/fesm2022/cmat-components-toast.mjs.map +1 -1
- package/fesm2022/cmat-components-transfer-picker.mjs +81 -45
- package/fesm2022/cmat-components-transfer-picker.mjs.map +1 -1
- package/fesm2022/cmat-directives-animate-on-scroll.mjs +6 -6
- package/fesm2022/cmat-directives-autofocus.mjs +6 -6
- package/fesm2022/cmat-directives-autofocus.mjs.map +1 -1
- package/fesm2022/cmat-directives-debounce.mjs +10 -10
- package/fesm2022/cmat-directives-debounce.mjs.map +1 -1
- package/fesm2022/cmat-directives-digit-only.mjs +22 -6
- package/fesm2022/cmat-directives-digit-only.mjs.map +1 -1
- package/fesm2022/cmat-directives-equal-validator.mjs +3 -3
- package/fesm2022/cmat-lib-mock-api.mjs +6 -6
- package/fesm2022/cmat-pipes-bytes.mjs +3 -3
- package/fesm2022/cmat-pipes-date-format.mjs +3 -3
- package/fesm2022/cmat-pipes-find-by-key.mjs +3 -3
- package/fesm2022/cmat-pipes-group-by.mjs +3 -3
- package/fesm2022/cmat-pipes-keys.mjs +3 -3
- package/fesm2022/cmat-pipes-secure.mjs +4 -4
- package/fesm2022/cmat-pipes-secure.mjs.map +1 -1
- package/fesm2022/cmat-pipes-uppercase.mjs +3 -3
- package/fesm2022/cmat-services-alert.mjs +15 -15
- package/fesm2022/cmat-services-alert.mjs.map +1 -1
- package/fesm2022/cmat-services-config.mjs +6 -6
- package/fesm2022/cmat-services-config.mjs.map +1 -1
- package/fesm2022/cmat-services-confirmation.mjs +8 -8
- package/fesm2022/cmat-services-confirmation.mjs.map +1 -1
- package/fesm2022/cmat-services-data.mjs +3 -3
- package/fesm2022/cmat-services-data.mjs.map +1 -1
- package/fesm2022/cmat-services-loading.mjs +6 -6
- package/fesm2022/cmat-services-local-storage.mjs +3 -3
- package/fesm2022/cmat-services-media-watcher.mjs +3 -3
- package/fesm2022/cmat-services-platform.mjs +3 -3
- package/fesm2022/cmat-services-splash-screen.mjs +3 -3
- package/fesm2022/cmat-services-title.mjs +3 -3
- package/fesm2022/cmat-services-translation.mjs +3 -3
- package/fesm2022/cmat-services-utils.mjs +3 -3
- package/package.json +75 -65
- package/pipes/secure/secure-pipe.d.ts +1 -1
- package/services/alert/alert.service.d.ts +4 -4
- package/services/config/config.constants.d.ts +1 -1
- package/services/config/urlStateConfig.service.d.ts +3 -2
- package/styles/components/bundle.scss +559 -0
- package/styles/overrides/angular-material.scss +16 -16
- package/styles/styles.scss +6 -1
- package/styles/tailwind.scss +4 -2
- package/components/breadcrumb/breadcrumb.component.scss +0 -18
- package/components/card/card.component.scss +0 -63
- package/components/cascade/cascade-bottom-sheet/cascade-bottom-sheet.component.scss +0 -43
- package/components/cascade/cascade-list/cascade-list.component.scss +0 -22
- package/components/cascade/cascade-menu/cascade-menu.component.scss +0 -48
- package/components/date-range/date-range.component.scss +0 -232
- package/components/drawer/drawer.component.scss +0 -133
- package/components/highlight/highlight.component.scss +0 -3
- package/components/material-color-picker/material-color-picker.component.scss +0 -5
- package/components/material-datetimepicker/calendar-body.scss +0 -58
- package/components/material-datetimepicker/calendar.scss +0 -194
- package/components/material-datetimepicker/clock.scss +0 -90
- package/components/material-datetimepicker/datetimepicker-content.scss +0 -151
- package/components/material-datetimepicker/datetimepicker.scss +0 -145
- package/components/material-datetimepicker/time.scss +0 -82
- package/components/navigation/horizontal/horizontal.component.scss +0 -167
- package/components/navigation/vertical/styles/appearances/compact.scss +0 -103
- package/components/navigation/vertical/styles/appearances/default.scss +0 -550
- package/components/navigation/vertical/styles/appearances/dense.scss +0 -171
- package/components/navigation/vertical/styles/appearances/thin.scss +0 -91
- package/components/navigation/vertical/vertical.component.scss +0 -4
- package/components/password-strength/mat-password-strength-info/mat-password-strength-info.component.scss +0 -19
- package/components/popover/popover.component.scss +0 -174
- package/components/progress-bar/progress-bar.component.scss +0 -7
- package/components/rating/rating.component.scss +0 -33
- package/components/select-search/select-search.component.scss +0 -126
- package/components/select-tree/select-tree.component.scss +0 -54
- package/components/timeline/timeline-item/timeline-item.component.scss +0 -329
- package/components/timeline/timeline.component.scss +0 -42
- package/components/toast/toast-modal.component.scss +0 -119
- package/components/toast/toast.component.scss +0 -62
- package/components/transfer-picker/filter/filter.component.scss +0 -40
- package/components/transfer-picker/search/search.component.scss +0 -7
- package/components/transfer-picker/transfer-picker-source/transfer-picker-source.component.scss +0 -25
- package/components/transfer-picker/transfer-picker-target/transfer-picker-target.component.scss +0 -27
- package/components/transfer-picker/transfer-picker.component.scss +0 -8
- package/esm2022/animations/drop.mjs +0 -26
- package/styles/main.scss +0 -9
- /package/animations/{drop.d.ts → dropdown.d.ts} +0 -0
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
|
|
3
|
-
$calendar-body-label-padding-start: 5% !default;
|
|
4
|
-
$calendar-body-label-side-padding: math.div(33%, 7) !default;
|
|
5
|
-
$calendar-body-cell-min-size: 32px !default;
|
|
6
|
-
$calendar-body-cell-size: math.div(100%, 7) !default;
|
|
7
|
-
$calendar-body-cell-padding: math.div($calendar-body-cell-size, 2) !default;
|
|
8
|
-
$calendar-body-cell-content-margin: 5% !default;
|
|
9
|
-
$calendar-body-cell-content-border-width: 1px !default;
|
|
10
|
-
$calendar-body-cell-radius: 999px !default;
|
|
11
|
-
|
|
12
|
-
$calendar-body-min-size: 7 * $calendar-body-cell-min-size !default;
|
|
13
|
-
$calendar-body-cell-content-size: 100% - $calendar-body-cell-content-margin * 2 !default;
|
|
14
|
-
|
|
15
|
-
.cmat-datetimepicker-calendar-body {
|
|
16
|
-
min-width: $calendar-body-min-size;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.cmat-datetimepicker-calendar-body-label {
|
|
20
|
-
height: 0;
|
|
21
|
-
line-height: 0;
|
|
22
|
-
text-align: left;
|
|
23
|
-
padding: $calendar-body-cell-padding $calendar-body-label-side-padding;
|
|
24
|
-
|
|
25
|
-
[dir='rtl'] & {
|
|
26
|
-
text-align: right;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.cmat-datetimepicker-calendar-body-cell {
|
|
31
|
-
position: relative;
|
|
32
|
-
width: $calendar-body-cell-size;
|
|
33
|
-
height: 0;
|
|
34
|
-
line-height: 0;
|
|
35
|
-
padding: $calendar-body-cell-padding 0;
|
|
36
|
-
text-align: center;
|
|
37
|
-
outline: none;
|
|
38
|
-
cursor: pointer;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.cmat-datetimepicker-calendar-body-disabled {
|
|
42
|
-
cursor: default;
|
|
43
|
-
pointer-events: none;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.cmat-datetimepicker-calendar-body-cell-content {
|
|
47
|
-
position: absolute;
|
|
48
|
-
top: $calendar-body-cell-content-margin;
|
|
49
|
-
left: $calendar-body-cell-content-margin;
|
|
50
|
-
display: flex;
|
|
51
|
-
align-items: center;
|
|
52
|
-
justify-content: center;
|
|
53
|
-
box-sizing: border-box;
|
|
54
|
-
width: $calendar-body-cell-content-size;
|
|
55
|
-
height: $calendar-body-cell-content-size;
|
|
56
|
-
border: $calendar-body-cell-content-border-width solid transparent;
|
|
57
|
-
border-radius: $calendar-body-cell-radius;
|
|
58
|
-
}
|
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
$calendar-padding: 8px !default;
|
|
2
|
-
|
|
3
|
-
// We use the same padding as the month / year label, but subtract 16px since there is padding
|
|
4
|
-
// between the edge of the button and the text. This ensures that the button text lines up with
|
|
5
|
-
// the month / year label text.
|
|
6
|
-
$calendar-controls-side-margin: calc(33% / 7 - 16px);
|
|
7
|
-
|
|
8
|
-
// Values chosen to approximate https://material.io/icons/#ic_navigate_before and
|
|
9
|
-
// https://material.io/icons/#ic_navigate_next as closely as possible.
|
|
10
|
-
$calendar-prev-next-icon-border-width: 2px;
|
|
11
|
-
$calendar-prev-next-icon-margin: 15.5px;
|
|
12
|
-
$calendar-prev-icon-transform: translateX(2px) rotate(-45deg);
|
|
13
|
-
$calendar-next-icon-transform: translateX(-2px) rotate(45deg);
|
|
14
|
-
|
|
15
|
-
@mixin landscape-calendar-header {
|
|
16
|
-
.cmat-datetimepicker-calendar {
|
|
17
|
-
display: flex;
|
|
18
|
-
|
|
19
|
-
.cmat-datetimepicker-calendar-header {
|
|
20
|
-
width: 150px;
|
|
21
|
-
min-width: 150px;
|
|
22
|
-
padding: 16px 8px;
|
|
23
|
-
border-radius: 4px 0 0 4px;
|
|
24
|
-
|
|
25
|
-
[dir='rtl'] & {
|
|
26
|
-
border-radius: 0 4px 4px 0;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.cmat-datetimepicker-calendar-header-year+.cmat-datetimepicker-calendar-header-date-time,
|
|
31
|
-
.cmat-datetimepicker-calendar-header-date+.cmat-datetimepicker-calendar-header-time {
|
|
32
|
-
margin-top: 12px;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.cmat-datetimepicker-calendar-header-date-time {
|
|
36
|
-
font-size: 28px;
|
|
37
|
-
flex-direction: column;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.cmat-datetimepicker-calendar-header-time {
|
|
41
|
-
display: flex;
|
|
42
|
-
flex-direction: column;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.cmat-datetimepicker-calendar-header-ampm-container {
|
|
46
|
-
flex-direction: row;
|
|
47
|
-
font-size: 24px;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.cmat-datetimepicker-calendar-header-ampm {
|
|
51
|
-
padding: 4px;
|
|
52
|
-
|
|
53
|
-
+.cmat-datetimepicker-calendar-header-ampm {
|
|
54
|
-
margin: 0 8px;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.cmat-datetimepicker-calendar {
|
|
61
|
-
display: block;
|
|
62
|
-
outline: none;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.cmat-datetimepicker-calendar-header {
|
|
66
|
-
box-sizing: border-box;
|
|
67
|
-
padding: 8px;
|
|
68
|
-
border-radius: 4px 4px 0 0;
|
|
69
|
-
|
|
70
|
-
.header-button {
|
|
71
|
-
color: white !important;
|
|
72
|
-
padding: 0 4px;
|
|
73
|
-
font-size: inherit;
|
|
74
|
-
white-space: normal;
|
|
75
|
-
word-break: break-word;
|
|
76
|
-
font-weight: 500;
|
|
77
|
-
cursor: pointer;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.cmat-datetimepicker-calendar-header-year.header-button {
|
|
82
|
-
font-size: 26px;
|
|
83
|
-
line-height: 24px;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.cmat-datetimepicker-calendar-header-date-time {
|
|
87
|
-
font-size: 24px;
|
|
88
|
-
line-height: 36px;
|
|
89
|
-
display: flex;
|
|
90
|
-
flex-direction: row;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.cmat-datetimepicker-calendar-header-year,
|
|
94
|
-
.cmat-datetimepicker-calendar-header-date,
|
|
95
|
-
.cmat-datetimepicker-calendar-header-hours,
|
|
96
|
-
.cmat-datetimepicker-calendar-header-minutes,
|
|
97
|
-
.cmat-datetimepicker-calendar-header-ampm {
|
|
98
|
-
&:not(.active) {
|
|
99
|
-
opacity: .6;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
&.not-clickable {
|
|
103
|
-
cursor: initial;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.cmat-datetimepicker-calendar-header-time {
|
|
108
|
-
display: inline-flex;
|
|
109
|
-
|
|
110
|
-
&:not(.active) {
|
|
111
|
-
opacity: .6;
|
|
112
|
-
|
|
113
|
-
.cmat-datetimepicker-calendar-header-hours,
|
|
114
|
-
.cmat-datetimepicker-calendar-header-minutes,
|
|
115
|
-
.cmat-datetimepicker-calendar-header-ampm {
|
|
116
|
-
opacity: 1;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.cmat-datetimepicker-calendar-header-hour-minute-separator {
|
|
122
|
-
display: inline-block;
|
|
123
|
-
width: 8px;
|
|
124
|
-
text-align: center;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.cmat-datetimepicker-calendar-header-ampm-container {
|
|
128
|
-
display: inline-flex;
|
|
129
|
-
flex-direction: column;
|
|
130
|
-
line-height: 18px;
|
|
131
|
-
font-size: 12px;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
[mode='landscape'] {
|
|
135
|
-
@include landscape-calendar-header;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
@media all and (orientation: landscape) {
|
|
139
|
-
[mode='auto'] {
|
|
140
|
-
@include landscape-calendar-header;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.cmat-datetimepicker-calendar-content {
|
|
145
|
-
width: 100%;
|
|
146
|
-
padding: $calendar-padding;
|
|
147
|
-
outline: none;
|
|
148
|
-
box-sizing: border-box;
|
|
149
|
-
overflow: hidden;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.cmat-datetimepicker-calendar-controls {
|
|
153
|
-
display: flex;
|
|
154
|
-
justify-content: space-between;
|
|
155
|
-
margin: 0 $calendar-controls-side-margin;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.cmat-datetimepicker-calendar-period-button {
|
|
159
|
-
display: inline-block;
|
|
160
|
-
height: 40px;
|
|
161
|
-
line-height: 40px;
|
|
162
|
-
outline: none;
|
|
163
|
-
border: 0;
|
|
164
|
-
background: transparent;
|
|
165
|
-
box-sizing: border-box;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.cmat-datetimepicker-calendar-previous-button,
|
|
169
|
-
.cmat-datetimepicker-calendar-next-button {
|
|
170
|
-
&.disabled {
|
|
171
|
-
pointer-events: none;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
svg {
|
|
175
|
-
fill: currentColor;
|
|
176
|
-
vertical-align: top;
|
|
177
|
-
|
|
178
|
-
[dir='rtl'] & {
|
|
179
|
-
transform: rotate(180deg);
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.cmat-datetimepicker-calendar-table {
|
|
185
|
-
border-spacing: 0;
|
|
186
|
-
border-collapse: collapse;
|
|
187
|
-
width: 100%;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.cmat-datetimepicker-calendar-table-header th {
|
|
191
|
-
text-align: center;
|
|
192
|
-
padding: $calendar-padding 0;
|
|
193
|
-
}
|
|
194
|
-
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
$clock-min-size: 224px !default;
|
|
2
|
-
$clock-margin: 12px !default;
|
|
3
|
-
$clock-cell-size: 14.1666% !default;
|
|
4
|
-
|
|
5
|
-
.cmat-datetimepicker-clock {
|
|
6
|
-
position: relative;
|
|
7
|
-
display: block;
|
|
8
|
-
min-width: $clock-min-size;
|
|
9
|
-
margin: $clock-margin;
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
user-select: none;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.cmat-datetimepicker-clock-wrapper {
|
|
15
|
-
position: relative;
|
|
16
|
-
width: 100%;
|
|
17
|
-
height: 0;
|
|
18
|
-
padding-top: 100%;
|
|
19
|
-
border-radius: 50%;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.cmat-datetimepicker-clock-center {
|
|
23
|
-
position: absolute;
|
|
24
|
-
top: 50%;
|
|
25
|
-
left: 50%;
|
|
26
|
-
width: 2%;
|
|
27
|
-
height: 2%;
|
|
28
|
-
margin: -1%;
|
|
29
|
-
border-radius: 50%;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.cmat-datetimepicker-clock-hand {
|
|
33
|
-
position: absolute;
|
|
34
|
-
top: 0;
|
|
35
|
-
right: 0;
|
|
36
|
-
bottom: 0;
|
|
37
|
-
left: 0;
|
|
38
|
-
width: 1px;
|
|
39
|
-
margin: 0 auto;
|
|
40
|
-
transform-origin: bottom;
|
|
41
|
-
|
|
42
|
-
&::before {
|
|
43
|
-
content: '';
|
|
44
|
-
position: absolute;
|
|
45
|
-
top: -4px;
|
|
46
|
-
left: -4px;
|
|
47
|
-
width: 8px;
|
|
48
|
-
height: 8px;
|
|
49
|
-
border-radius: 50%;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.cmat-datetimepicker-clock-hours,
|
|
54
|
-
.cmat-datetimepicker-clock-minutes {
|
|
55
|
-
position: absolute;
|
|
56
|
-
top: 0;
|
|
57
|
-
left: 0;
|
|
58
|
-
width: 100%;
|
|
59
|
-
height: 100%;
|
|
60
|
-
opacity: 0;
|
|
61
|
-
visibility: hidden;
|
|
62
|
-
transition: 350ms;
|
|
63
|
-
transform: scale(1.2);
|
|
64
|
-
|
|
65
|
-
&.active {
|
|
66
|
-
opacity: 1;
|
|
67
|
-
visibility: visible;
|
|
68
|
-
transform: scale(1);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.cmat-datetimepicker-clock-minutes {
|
|
73
|
-
transform: scale(.8);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.cmat-datetimepicker-clock-cell {
|
|
77
|
-
position: absolute;
|
|
78
|
-
display: flex;
|
|
79
|
-
width: $clock-cell-size;
|
|
80
|
-
height: $clock-cell-size;
|
|
81
|
-
justify-content: center;
|
|
82
|
-
box-sizing: border-box;
|
|
83
|
-
border-radius: 50%;
|
|
84
|
-
align-items: center;
|
|
85
|
-
cursor: pointer;
|
|
86
|
-
|
|
87
|
-
&.cmat-datetimepicker-clock-cell-disabled {
|
|
88
|
-
pointer-events: none;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
$calendar-padding: 8px;
|
|
2
|
-
$non-touch-calendar-cell-size: 40px;
|
|
3
|
-
$non-touch-calendar-portrait-width: $non-touch-calendar-cell-size * 7 + $calendar-padding * 2;
|
|
4
|
-
$non-touch-calendar-portrait-height: 424px;
|
|
5
|
-
$non-touch-calendar-landscape-width: 446px;
|
|
6
|
-
$non-touch-calendar-landscape-height: 328px;
|
|
7
|
-
$non-touch-calendar-with-time-input-portrait-height: 490px;
|
|
8
|
-
$non-touch-calendar-with-time-input-landscape-height: 412px;
|
|
9
|
-
|
|
10
|
-
// Ideally the calendar would have a constant aspect ratio, no matter its size, and we would base
|
|
11
|
-
// these measurements off the aspect ratio. Unfortunately, the aspect ratio does change a little as
|
|
12
|
-
// the calendar grows, since some of the elements have pixel-based sizes. These numbers have been
|
|
13
|
-
// chosen to minimize extra whitespace at larger sizes, while still ensuring we won't need
|
|
14
|
-
// scrollbars at smaller sizes.
|
|
15
|
-
$touch-landscape-mode-landscape-width: 120vh;
|
|
16
|
-
$touch-landscape-mode-landscape-height: 80vh;
|
|
17
|
-
$touch-landscape-mode-portrait-width: 90vw;
|
|
18
|
-
$touch-landscape-mode-portrait-height: 64vw;
|
|
19
|
-
$touch-portrait-mode-landscape-width: 64vh;
|
|
20
|
-
$touch-portrait-mode-landscape-height: 90vh;
|
|
21
|
-
$touch-portrait-mode-portrait-width: 80vw;
|
|
22
|
-
$touch-portrait-mode-portrait-height: 120vw;
|
|
23
|
-
$touch-portrait-mode-portrait-height-with-actions: 135vw;
|
|
24
|
-
$touch-min-width: 250px;
|
|
25
|
-
$touch-min-height: 300px;
|
|
26
|
-
$touch-max-width: 750px;
|
|
27
|
-
$touch-max-height: 850px;
|
|
28
|
-
|
|
29
|
-
@mixin landscape-calendar-size {
|
|
30
|
-
.cmat-datetimepicker-calendar {
|
|
31
|
-
width: $non-touch-calendar-landscape-width;
|
|
32
|
-
height: $non-touch-calendar-landscape-height;
|
|
33
|
-
|
|
34
|
-
&.cmat-datetimepicker-calendar-with-time-input {
|
|
35
|
-
height: $non-touch-calendar-with-time-input-landscape-height;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.cmat-datetimepicker-content {
|
|
41
|
-
@apply shadow border-slate-300 bg-card dark:bg-black dark:bg-opacity-5 dark:border-slate-500;
|
|
42
|
-
display: block;
|
|
43
|
-
border-radius: 4px;
|
|
44
|
-
overflow: hidden;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.cmat-datetimepicker-content-container {
|
|
48
|
-
display: flex;
|
|
49
|
-
flex-direction: column;
|
|
50
|
-
|
|
51
|
-
// TODO: Ensures that `cmat-datetimepicker-actions` is pushed to the bottom of the popup.
|
|
52
|
-
justify-content: space-between;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.cmat-datetimepicker-content .cmat-calendar {
|
|
56
|
-
width: $non-touch-calendar-portrait-width;
|
|
57
|
-
height: $non-touch-calendar-portrait-height;
|
|
58
|
-
|
|
59
|
-
&.cmat-datetimepicker-calendar-with-time-input {
|
|
60
|
-
height: $non-touch-calendar-with-time-input-portrait-height;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.cmat-datetimepicker-content[mode='landscape'] {
|
|
65
|
-
@include landscape-calendar-size;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
@media all and (orientation: landscape) {
|
|
69
|
-
.cmat-datetimepicker-content[mode='auto'] {
|
|
70
|
-
@include landscape-calendar-size;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.cmat-datetimepicker-content-touch {
|
|
75
|
-
display: block;
|
|
76
|
-
max-height: 80vh;
|
|
77
|
-
|
|
78
|
-
// Allows for the screen reader close button to be seen in touch UI mode.
|
|
79
|
-
position: relative;
|
|
80
|
-
|
|
81
|
-
// Prevents the content from jumping around on Windows while the animation is running.
|
|
82
|
-
overflow: visible;
|
|
83
|
-
|
|
84
|
-
.cmat-datetimepicker-content-container {
|
|
85
|
-
min-height: $touch-min-height;
|
|
86
|
-
max-height: $touch-max-height;
|
|
87
|
-
min-width: $touch-min-width;
|
|
88
|
-
max-width: $touch-max-width;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.cmat-datetimepicker-calendar {
|
|
92
|
-
width: 100%;
|
|
93
|
-
height: auto;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
@media all and (orientation: landscape) {
|
|
98
|
-
.cmat-datetimepicker-content-touch {
|
|
99
|
-
.cmat-datetimepicker-content-container[mode='auto'],
|
|
100
|
-
.cmat-datetimepicker-content-container[mode='landscape'] {
|
|
101
|
-
width: $touch-landscape-mode-landscape-width;
|
|
102
|
-
height: $touch-landscape-mode-landscape-height;
|
|
103
|
-
|
|
104
|
-
.cmat-datetimepicker-calendar {
|
|
105
|
-
width: auto;
|
|
106
|
-
height: 100%;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.cmat-datetimepicker-content-container[mode='portrait'] {
|
|
111
|
-
width: $touch-portrait-mode-landscape-width;
|
|
112
|
-
height: $touch-portrait-mode-landscape-height;
|
|
113
|
-
|
|
114
|
-
.cmat-datetimepicker-calendar {
|
|
115
|
-
width: 100%;
|
|
116
|
-
height: auto;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
@media all and (orientation: portrait) {
|
|
123
|
-
.cmat-datetimepicker-content-touch {
|
|
124
|
-
.cmat-datetimepicker-content-container[mode='auto'],
|
|
125
|
-
.cmat-datetimepicker-content-container[mode='portrait'] {
|
|
126
|
-
width: $touch-portrait-mode-portrait-width;
|
|
127
|
-
height: $touch-portrait-mode-portrait-height;
|
|
128
|
-
|
|
129
|
-
.cmat-datetimepicker-calendar {
|
|
130
|
-
width: 100%;
|
|
131
|
-
height: auto;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.cmat-datetimepicker-content-container[mode='landscape'] {
|
|
136
|
-
width: $touch-landscape-mode-portrait-width;
|
|
137
|
-
height: $touch-landscape-mode-portrait-height;
|
|
138
|
-
|
|
139
|
-
.cmat-datetimepicker-calendar {
|
|
140
|
-
width: auto;
|
|
141
|
-
height: 100%;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
// The content needs to be a bit taller when actions have
|
|
146
|
-
// been projected so that it doesn't have to scroll.
|
|
147
|
-
.cmat-datetimepicker-content-container-with-actions {
|
|
148
|
-
height: $touch-portrait-mode-portrait-height-with-actions;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
@use "datetimepicker-content";
|
|
2
|
-
|
|
3
|
-
$cmat-datetimepicker-selected-today-box-shadow-width: 1px;
|
|
4
|
-
|
|
5
|
-
.cmat-datetimepicker-content {
|
|
6
|
-
@apply bg-card text-hint #{'!important'};
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.cmat-datetimepicker-calendar-header {
|
|
10
|
-
@apply bg-primary;
|
|
11
|
-
color: white !important;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.cmat-datetimepicker-body-label {
|
|
15
|
-
@apply text-secondary;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.cmat-datetimepicker-calendar-table-header {
|
|
19
|
-
@apply text-hint;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.cmat-datetimepicker-calendar-body-cell-content {
|
|
23
|
-
@apply text-default;
|
|
24
|
-
|
|
25
|
-
&.cmat-datetimepicker-calendar-body-selected {
|
|
26
|
-
@apply bg-primary;
|
|
27
|
-
color: white !important;
|
|
28
|
-
|
|
29
|
-
&.cmat-datetimepicker-calendar-body-today {
|
|
30
|
-
@apply shadow;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&:not(.cmat-datetimepicker-calendar-body-selected) {
|
|
35
|
-
&.cmat-datetimepicker-calendar-body-today {
|
|
36
|
-
border-color: var(--cmat-text-hint);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.cmat-datetimepicker-calendar-body-cell:not(.cmat-datetimepicker-calendar-body-disabled):hover,
|
|
42
|
-
.cmat-datetimepicker-calendar-body-active {
|
|
43
|
-
&>.cmat-datetimepicker-calendar-body-cell-content:not(.cmat-datetimepicker-calendar-body-selected) {
|
|
44
|
-
background-color: rgba(var(--cmat-primary-rgb), 0.3);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.cmat-datetimepicker-calendar-body-disabled {
|
|
49
|
-
>.cmat-datetimepicker-calendar-body-cell-content:not(.cmat-datetimepicker-calendar-body-selected) {
|
|
50
|
-
color: var(--cmat-text-disabled);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
>.cmat-datetimepicker-calendar-body-today:not(.cmat-datetimepicker-calendar-body-selected) {
|
|
54
|
-
border-color: rgba(var(--cmat-text-disabled), 0.8);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
>.cmat-datetimepicker-calendar-body-selected {
|
|
58
|
-
background-color: rgba(var(--cmat-primary-rgb), 0.4);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.cmat-datetimepicker-calendar-previous-button,
|
|
63
|
-
.cmat-datetimepicker-calendar-next-button {
|
|
64
|
-
&.disabled {
|
|
65
|
-
color: var(--cmat-text-disabled);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.cmat-datetimepicker-clock-wrapper {
|
|
70
|
-
background-color: var(--cmat-divider);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.cmat-datetimepicker-clock-center {
|
|
74
|
-
@apply bg-primary;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.cmat-datetimepicker-clock-hand {
|
|
78
|
-
@apply bg-primary;
|
|
79
|
-
|
|
80
|
-
&::before {
|
|
81
|
-
@apply bg-primary;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.cmat-datetimepicker-clock-cell {
|
|
86
|
-
@apply text-default;
|
|
87
|
-
|
|
88
|
-
&.cmat-datetimepicker-clock-cell-selected {
|
|
89
|
-
@apply bg-primary;
|
|
90
|
-
color: white !important;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
&:not(.cmat-datetimepicker-clock-cell-selected, .cmat-datetimepicker-clock-cell-disabled):hover {
|
|
94
|
-
@apply bg-hover;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
&.cmat-datetimepicker-clock-cell-disabled {
|
|
98
|
-
color: var(--cmat-text-disabled);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.cmat-datetimepicker-datetimepicker-toggle-active {
|
|
103
|
-
@apply text-primary;
|
|
104
|
-
|
|
105
|
-
&.mat-accent {
|
|
106
|
-
@apply text-accent;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&.mat-warn {
|
|
110
|
-
@apply text-warn;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.cmat-datetimepicker-time-input {
|
|
115
|
-
@apply text-primary;
|
|
116
|
-
background-color: var(--cmat-text-disabled);
|
|
117
|
-
|
|
118
|
-
&.cmat-datetimepicker-time-input-active {
|
|
119
|
-
@apply text-primary;
|
|
120
|
-
background-color: rgba(var(--cmat-primary-rgb), 0.2);
|
|
121
|
-
|
|
122
|
-
&:focus {
|
|
123
|
-
border-color: var(--cmat-primary);
|
|
124
|
-
background-color: var(--cmat-divider);
|
|
125
|
-
|
|
126
|
-
&::placeholder {
|
|
127
|
-
color: rgba(var(--cmat-primary-rgb), 0.6);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
&.cmat-datetimepicker-time-input-warning {
|
|
133
|
-
border-color: var(--cmat-warn);
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.cmat-datetimepicker-time-am.mat-mdc-button,
|
|
138
|
-
.cmat-datetimepicker-time-pm.mat-mdc-button {
|
|
139
|
-
color: var(--cmat-text-hint);
|
|
140
|
-
border-color: var(--cmat-text-hint);
|
|
141
|
-
|
|
142
|
-
&.cmat-datetimepicker-time-ampm-active {
|
|
143
|
-
background-color: rgba(var(--cmat-accent-rgb), 0.2);
|
|
144
|
-
}
|
|
145
|
-
}
|