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,82 +0,0 @@
|
|
|
1
|
-
$time-font-size: 36px;
|
|
2
|
-
$time-border-radius: 8px;
|
|
3
|
-
$time-input-width: 72px;
|
|
4
|
-
$time-input-height: 56px;
|
|
5
|
-
$time-seperator-width: 24px;
|
|
6
|
-
$time-ampm-width: 40px;
|
|
7
|
-
|
|
8
|
-
.cmat-datetimepicker-time {
|
|
9
|
-
display: block;
|
|
10
|
-
outline: none;
|
|
11
|
-
user-select: none;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.cmat-datetimepicker-time-input-wrapper {
|
|
15
|
-
padding: 8px 0;
|
|
16
|
-
text-align: center;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.cmat-datetimepicker-time-input-inner {
|
|
20
|
-
display: inline-flex;
|
|
21
|
-
height: $time-input-height;
|
|
22
|
-
align-items: center;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.cmat-datetimepicker-time-input {
|
|
26
|
-
width: $time-input-width;
|
|
27
|
-
font-size: $time-font-size;
|
|
28
|
-
text-align: center;
|
|
29
|
-
border-radius: $time-border-radius;
|
|
30
|
-
border: 2px solid transparent;
|
|
31
|
-
appearance: none;
|
|
32
|
-
outline: none;
|
|
33
|
-
height: 100%;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.cmat-datetimepicker-time-seperator {
|
|
37
|
-
display: inline-flex;
|
|
38
|
-
justify-content: center;
|
|
39
|
-
width: $time-seperator-width;
|
|
40
|
-
font-size: $time-font-size;
|
|
41
|
-
height: 100%;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
// AM/PM buttons
|
|
45
|
-
.cmat-datetimepicker-time-ampm {
|
|
46
|
-
display: inline-flex;
|
|
47
|
-
flex-direction: column;
|
|
48
|
-
margin-left: 12px;
|
|
49
|
-
height: 100%;
|
|
50
|
-
|
|
51
|
-
[dir='rtl'] & {
|
|
52
|
-
margin-left: auto;
|
|
53
|
-
margin-right: 12px;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.cmat-datetimepicker-time-am.mat-mdc-button,
|
|
58
|
-
.cmat-datetimepicker-time-pm.mat-mdc-button {
|
|
59
|
-
flex: 1;
|
|
60
|
-
width: $time-ampm-width;
|
|
61
|
-
min-width: auto;
|
|
62
|
-
padding: 0;
|
|
63
|
-
line-height: normal;
|
|
64
|
-
border-width: 1px;
|
|
65
|
-
border-style: solid;
|
|
66
|
-
min-height: 0;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.cmat-datetimepicker-time-am.mat-mdc-button {
|
|
70
|
-
border-radius: $time-border-radius $time-border-radius 0 0 !important;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.cmat-datetimepicker-time-pm.mat-mdc-button {
|
|
74
|
-
border-radius: 0 0 $time-border-radius $time-border-radius !important;
|
|
75
|
-
border-top: none;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.cmat-datetimepicker-time-button-wrapper {
|
|
79
|
-
display: flex;
|
|
80
|
-
justify-content: flex-end;
|
|
81
|
-
padding-top: 8px;
|
|
82
|
-
}
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
/* Root navigation specific */
|
|
2
|
-
cmat-horizontal-navigation {
|
|
3
|
-
.cmat-horizontal-navigation-wrapper {
|
|
4
|
-
display: flex;
|
|
5
|
-
align-items: center;
|
|
6
|
-
|
|
7
|
-
/* Basic, Branch */
|
|
8
|
-
cmat-horizontal-navigation-basic-item,
|
|
9
|
-
cmat-horizontal-navigation-branch-item {
|
|
10
|
-
@screen sm {
|
|
11
|
-
&:hover {
|
|
12
|
-
.cmat-horizontal-navigation-item-wrapper {
|
|
13
|
-
@apply bg-hover;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.cmat-horizontal-navigation-item-wrapper {
|
|
19
|
-
border-radius: 4px;
|
|
20
|
-
overflow: hidden;
|
|
21
|
-
|
|
22
|
-
.cmat-horizontal-navigation-item {
|
|
23
|
-
padding: 0 16px;
|
|
24
|
-
cursor: pointer;
|
|
25
|
-
user-select: none;
|
|
26
|
-
|
|
27
|
-
.cmat-horizontal-navigation-item-icon {
|
|
28
|
-
margin-right: 12px;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/* Basic - When item active (current link) */
|
|
35
|
-
cmat-horizontal-navigation-basic-item {
|
|
36
|
-
.cmat-horizontal-navigation-item-active,
|
|
37
|
-
.cmat-horizontal-navigation-item-active-forced {
|
|
38
|
-
.cmat-horizontal-navigation-item-title {
|
|
39
|
-
@apply text-primary #{'!important'};
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.cmat-horizontal-navigation-item-subtitle {
|
|
43
|
-
@apply text-primary-400 #{'!important'};
|
|
44
|
-
|
|
45
|
-
.dark & {
|
|
46
|
-
@apply text-primary-600 #{'!important'};
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.cmat-horizontal-navigation-item-icon {
|
|
51
|
-
@apply text-primary #{'!important'};
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/* Branch - When menu open */
|
|
57
|
-
cmat-horizontal-navigation-branch-item {
|
|
58
|
-
.cmat-horizontal-navigation-menu-active,
|
|
59
|
-
.cmat-horizontal-navigation-menu-active-forced {
|
|
60
|
-
.cmat-horizontal-navigation-item-wrapper {
|
|
61
|
-
@apply bg-hover;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/* Spacer */
|
|
67
|
-
cmat-horizontal-navigation-spacer-item {
|
|
68
|
-
margin: 12px 0;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/* Menu panel specific */
|
|
74
|
-
.cmat-horizontal-navigation-menu-panel {
|
|
75
|
-
.cmat-horizontal-navigation-menu-item {
|
|
76
|
-
height: auto;
|
|
77
|
-
min-height: 0;
|
|
78
|
-
line-height: normal;
|
|
79
|
-
white-space: normal;
|
|
80
|
-
|
|
81
|
-
/* Basic, Branch */
|
|
82
|
-
cmat-horizontal-navigation-basic-item,
|
|
83
|
-
cmat-horizontal-navigation-branch-item,
|
|
84
|
-
cmat-horizontal-navigation-divider-item {
|
|
85
|
-
display: flex;
|
|
86
|
-
flex: 1 1 auto;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/* Divider */
|
|
90
|
-
cmat-horizontal-navigation-divider-item {
|
|
91
|
-
margin: 8px -16px;
|
|
92
|
-
|
|
93
|
-
.cmat-horizontal-navigation-item-wrapper {
|
|
94
|
-
height: 1px;
|
|
95
|
-
box-shadow: 0 1px 0 0;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/* Navigation menu item common */
|
|
102
|
-
.cmat-horizontal-navigation-menu-item {
|
|
103
|
-
/* Basic - When item active (current link) */
|
|
104
|
-
cmat-horizontal-navigation-basic-item {
|
|
105
|
-
.cmat-horizontal-navigation-item-active,
|
|
106
|
-
.cmat-horizontal-navigation-item-active-forced {
|
|
107
|
-
.cmat-horizontal-navigation-item-title {
|
|
108
|
-
@apply text-primary #{'!important'};
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.cmat-horizontal-navigation-item-subtitle {
|
|
112
|
-
@apply text-primary-400 #{'!important'};
|
|
113
|
-
|
|
114
|
-
.dark & {
|
|
115
|
-
@apply text-primary-600 #{'!important'};
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.cmat-horizontal-navigation-item-icon {
|
|
120
|
-
@apply text-primary #{'!important'};
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.cmat-horizontal-navigation-item-wrapper {
|
|
126
|
-
width: 100%;
|
|
127
|
-
|
|
128
|
-
&.cmat-horizontal-navigation-item-has-subtitle {
|
|
129
|
-
.cmat-horizontal-navigation-item {
|
|
130
|
-
min-height: 56px;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.cmat-horizontal-navigation-item {
|
|
135
|
-
position: relative;
|
|
136
|
-
display: flex;
|
|
137
|
-
align-items: center;
|
|
138
|
-
justify-content: flex-start;
|
|
139
|
-
min-height: 48px;
|
|
140
|
-
width: 100%;
|
|
141
|
-
font-size: 13px;
|
|
142
|
-
font-weight: 500;
|
|
143
|
-
text-decoration: none;
|
|
144
|
-
|
|
145
|
-
.cmat-horizontal-navigation-item-title-wrapper {
|
|
146
|
-
@apply whitespace-nowrap;
|
|
147
|
-
.cmat-horizontal-navigation-item-subtitle {
|
|
148
|
-
font-size: 12px;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.cmat-horizontal-navigation-item-badge {
|
|
153
|
-
margin-left: auto;
|
|
154
|
-
|
|
155
|
-
.cmat-horizontal-navigation-item-badge-content {
|
|
156
|
-
display: flex;
|
|
157
|
-
align-items: center;
|
|
158
|
-
justify-content: center;
|
|
159
|
-
font-size: 10px;
|
|
160
|
-
font-weight: 700;
|
|
161
|
-
white-space: nowrap;
|
|
162
|
-
height: 20px;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
/* Variables */
|
|
2
|
-
$cmat-vertical-navigation-compact-width: 112;
|
|
3
|
-
|
|
4
|
-
cmat-vertical-navigation {
|
|
5
|
-
/* Compact appearance overrides */
|
|
6
|
-
&.cmat-vertical-navigation-appearance-compact {
|
|
7
|
-
width: #{$cmat-vertical-navigation-compact-width}px;
|
|
8
|
-
min-width: #{$cmat-vertical-navigation-compact-width}px;
|
|
9
|
-
max-width: #{$cmat-vertical-navigation-compact-width}px;
|
|
10
|
-
|
|
11
|
-
/* Left positioned */
|
|
12
|
-
&.cmat-vertical-navigation-position-left {
|
|
13
|
-
/* Side mode */
|
|
14
|
-
&.cmat-vertical-navigation-mode-side {
|
|
15
|
-
margin-left: -#{$cmat-vertical-navigation-compact-width}px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/* Opened */
|
|
19
|
-
&.cmat-vertical-navigation-opened {
|
|
20
|
-
margin-left: 0;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/* Right positioned */
|
|
25
|
-
&.cmat-vertical-navigation-position-right {
|
|
26
|
-
/* Side mode */
|
|
27
|
-
&.cmat-vertical-navigation-mode-side {
|
|
28
|
-
margin-right: -#{$cmat-vertical-navigation-compact-width}px;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/* Opened */
|
|
32
|
-
&.cmat-vertical-navigation-opened {
|
|
33
|
-
margin-right: 0;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/* Aside wrapper */
|
|
37
|
-
.cmat-vertical-navigation-aside-wrapper {
|
|
38
|
-
left: auto;
|
|
39
|
-
right: #{$cmat-vertical-navigation-compact-width}px;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/* Wrapper */
|
|
44
|
-
.cmat-vertical-navigation-wrapper {
|
|
45
|
-
/* Content */
|
|
46
|
-
.cmat-vertical-navigation-content {
|
|
47
|
-
> cmat-vertical-navigation-aside-item,
|
|
48
|
-
> cmat-vertical-navigation-basic-item {
|
|
49
|
-
.cmat-vertical-navigation-item-wrapper {
|
|
50
|
-
margin: 4px 8px 0 8px;
|
|
51
|
-
|
|
52
|
-
.cmat-vertical-navigation-item {
|
|
53
|
-
flex-direction: column;
|
|
54
|
-
justify-content: center;
|
|
55
|
-
padding: 12px;
|
|
56
|
-
border-radius: 6px;
|
|
57
|
-
|
|
58
|
-
.cmat-vertical-navigation-item-icon {
|
|
59
|
-
margin-right: 0;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.cmat-vertical-navigation-item-title-wrapper {
|
|
63
|
-
margin-top: 8px;
|
|
64
|
-
|
|
65
|
-
.cmat-vertical-navigation-item-title {
|
|
66
|
-
font-size: 12px;
|
|
67
|
-
font-weight: 500;
|
|
68
|
-
text-align: center;
|
|
69
|
-
line-height: 16px;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.cmat-vertical-navigation-item-subtitle {
|
|
73
|
-
display: none !important;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.cmat-vertical-navigation-item-badge {
|
|
78
|
-
position: absolute;
|
|
79
|
-
top: 12px;
|
|
80
|
-
left: 64px;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
> cmat-vertical-navigation-collapsable-item {
|
|
86
|
-
display: none;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
> cmat-vertical-navigation-group-item {
|
|
90
|
-
> .cmat-vertical-navigation-item-wrapper {
|
|
91
|
-
display: none;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/* Aside wrapper */
|
|
99
|
-
.cmat-vertical-navigation-aside-wrapper {
|
|
100
|
-
left: #{$cmat-vertical-navigation-compact-width}px;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|