@ng-matero/extensions 12.4.0 → 12.5.3
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/_all-color.scss +47 -0
- package/_all-theme.scss +3 -1
- package/_index.scss +2 -0
- package/_theming.scss +2 -0
- package/alert/_alert-theme.import.scss +2 -2
- package/alert/_alert-theme.scss +33 -8
- package/alert/alert.component.d.ts +0 -2
- package/alert/mtxAlert.metadata.json +1 -1
- package/bundles/extensions.umd.js +30 -53
- package/bundles/extensions.umd.js.map +1 -1
- package/bundles/mtxAlert.umd.js +13 -5
- package/bundles/mtxAlert.umd.js.map +1 -1
- package/bundles/mtxButton.umd.js +13 -4
- package/bundles/mtxButton.umd.js.map +1 -1
- package/bundles/mtxCheckboxGroup.umd.js +14 -6
- package/bundles/mtxCheckboxGroup.umd.js.map +1 -1
- package/bundles/mtxColorPicker.umd.js +13 -4
- package/bundles/mtxColorPicker.umd.js.map +1 -1
- package/bundles/mtxColumnResize.umd.js +58 -9
- package/bundles/mtxColumnResize.umd.js.map +1 -1
- package/bundles/mtxCore.umd.js +13 -4
- package/bundles/mtxCore.umd.js.map +1 -1
- package/bundles/mtxDatetimepicker.umd.js +91 -22
- package/bundles/mtxDatetimepicker.umd.js.map +1 -1
- package/bundles/mtxDialog.umd.js +23 -8
- package/bundles/mtxDialog.umd.js.map +1 -1
- package/bundles/mtxFormGroup.umd.js +13 -4
- package/bundles/mtxFormGroup.umd.js.map +1 -1
- package/bundles/mtxGrid.umd.js +95 -17
- package/bundles/mtxGrid.umd.js.map +1 -1
- package/bundles/mtxLoader.umd.js +13 -4
- package/bundles/mtxLoader.umd.js.map +1 -1
- package/bundles/mtxPipes.umd.js +5 -3
- package/bundles/mtxPipes.umd.js.map +1 -1
- package/bundles/mtxPopover.umd.js +30 -6
- package/bundles/mtxPopover.umd.js.map +1 -1
- package/bundles/mtxProgress.umd.js +7 -4
- package/bundles/mtxProgress.umd.js.map +1 -1
- package/bundles/mtxSelect.umd.js +111 -17
- package/bundles/mtxSelect.umd.js.map +1 -1
- package/bundles/mtxSlider.umd.js +1551 -0
- package/bundles/mtxSlider.umd.js.map +1 -0
- package/bundles/mtxSplit.umd.js +39 -20
- package/bundles/mtxSplit.umd.js.map +1 -1
- package/bundles/mtxText3d.umd.js +14 -5
- package/bundles/mtxText3d.umd.js.map +1 -1
- package/bundles/mtxTooltip.umd.js +26 -7
- package/bundles/mtxTooltip.umd.js.map +1 -1
- package/checkbox-group/checkbox-group.component.d.ts +2 -4
- package/checkbox-group/mtxCheckboxGroup.metadata.json +1 -1
- package/datetimepicker/_datetimepicker-theme.import.scss +4 -2
- package/datetimepicker/_datetimepicker-theme.scss +99 -27
- package/datetimepicker/calendar-body.scss +0 -3
- package/datetimepicker/calendar.scss +3 -17
- package/datetimepicker/clock.scss +0 -2
- package/datetimepicker/mtxDatetimepicker.metadata.json +1 -1
- package/dialog/mtxDialog.metadata.json +1 -1
- package/esm2015/alert/alert.component.js +10 -3
- package/esm2015/alert/alert.module.js +2 -1
- package/esm2015/button/button-loading.directive.js +10 -2
- package/esm2015/button/button.module.js +2 -1
- package/esm2015/checkbox-group/checkbox-group.component.js +11 -4
- package/esm2015/checkbox-group/checkbox-group.module.js +2 -1
- package/esm2015/color-picker/color-picker.component.js +10 -2
- package/esm2015/color-picker/color-picker.module.js +2 -1
- package/esm2015/column-resize/column-resize-directives/column-resize-flex.js +9 -2
- package/esm2015/column-resize/column-resize-directives/column-resize.js +9 -2
- package/esm2015/column-resize/column-resize-module.js +2 -1
- package/esm2015/column-resize/column-resize-notifier.js +10 -2
- package/esm2015/column-resize/column-resize.js +2 -1
- package/esm2015/column-resize/column-size-store.js +2 -1
- package/esm2015/column-resize/event-dispatcher.js +9 -2
- package/esm2015/column-resize/overlay-handle.js +2 -1
- package/esm2015/column-resize/resizable.js +2 -1
- package/esm2015/column-resize/resize-strategy.js +18 -3
- package/esm2015/core/datetime/datetime.module.js +3 -1
- package/esm2015/core/datetime/native-datetime-adapter.js +9 -2
- package/esm2015/datetimepicker/calendar-body.js +4 -2
- package/esm2015/datetimepicker/calendar.js +14 -6
- package/esm2015/datetimepicker/clock.js +13 -5
- package/esm2015/datetimepicker/datetimepicker-input.js +11 -3
- package/esm2015/datetimepicker/datetimepicker-toggle.js +10 -2
- package/esm2015/datetimepicker/datetimepicker.js +12 -2
- package/esm2015/datetimepicker/datetimepicker.module.js +2 -1
- package/esm2015/datetimepicker/month-view.js +10 -2
- package/esm2015/datetimepicker/multi-year-view.js +10 -2
- package/esm2015/datetimepicker/year-view.js +10 -2
- package/esm2015/dialog/dialog.component.js +10 -3
- package/esm2015/dialog/dialog.js +9 -2
- package/esm2015/dialog/dialog.module.js +2 -1
- package/esm2015/extensions-experimental.module.js +2 -1
- package/esm2015/extensions.module.js +4 -1
- package/esm2015/form-group/form-group.component.js +10 -2
- package/esm2015/form-group/form-group.module.js +2 -1
- package/esm2015/grid/cell-selection.directive.js +10 -2
- package/esm2015/grid/cell.component.js +10 -2
- package/esm2015/grid/column-menu.component.js +3 -1
- package/esm2015/grid/column-resize/column-resize-directives/column-resize-flex.js +9 -2
- package/esm2015/grid/column-resize/column-resize-directives/column-resize.js +9 -2
- package/esm2015/grid/column-resize/column-resize-module.js +3 -1
- package/esm2015/grid/column-resize/overlay-handle.js +9 -2
- package/esm2015/grid/column-resize/resizable-directives/resizable.js +10 -2
- package/esm2015/grid/column-resize/resize-strategy.js +9 -2
- package/esm2015/grid/expansion-toggle.directive.js +10 -2
- package/esm2015/grid/grid.component.js +10 -2
- package/esm2015/grid/grid.module.js +2 -1
- package/esm2015/grid/grid.service.js +9 -2
- package/esm2015/loader/loader.component.js +10 -2
- package/esm2015/loader/loader.module.js +2 -1
- package/esm2015/pipes/pipes.module.js +2 -1
- package/esm2015/pipes/to-observable.pipe.js +2 -1
- package/esm2015/popover/popover-module.js +2 -1
- package/esm2015/popover/popover-target.js +9 -2
- package/esm2015/popover/popover-trigger.js +10 -2
- package/esm2015/popover/popover.js +10 -2
- package/esm2015/progress/progress.component.js +4 -2
- package/esm2015/progress/progress.module.js +2 -1
- package/esm2015/public-api.js +2 -1
- package/esm2015/select/option.component.js +10 -2
- package/esm2015/select/select.component.js +11 -3
- package/esm2015/select/select.module.js +2 -1
- package/esm2015/select/templates.directive.js +89 -12
- package/esm2015/slider/mtxSlider.js +5 -0
- package/esm2015/slider/public-api.js +3 -0
- package/esm2015/slider/slider-module.js +15 -0
- package/esm2015/slider/slider.js +1115 -0
- package/esm2015/split/interface.js +1 -1
- package/esm2015/split/split-pane.directive.js +10 -2
- package/esm2015/split/split.component.js +22 -12
- package/esm2015/split/split.module.js +2 -1
- package/esm2015/split/utils.js +6 -6
- package/esm2015/text3d/text3d.component.js +11 -3
- package/esm2015/text3d/text3d.module.js +2 -1
- package/esm2015/tooltip/tooltip-module.js +2 -1
- package/esm2015/tooltip/tooltip.js +23 -5
- package/extensions.metadata.json +1 -1
- package/fesm2015/extensions.js +5 -0
- package/fesm2015/extensions.js.map +1 -1
- package/fesm2015/mtxAlert.js +10 -2
- package/fesm2015/mtxAlert.js.map +1 -1
- package/fesm2015/mtxButton.js +10 -1
- package/fesm2015/mtxButton.js.map +1 -1
- package/fesm2015/mtxCheckboxGroup.js +11 -3
- package/fesm2015/mtxCheckboxGroup.js.map +1 -1
- package/fesm2015/mtxColorPicker.js +10 -1
- package/fesm2015/mtxColorPicker.js.map +1 -1
- package/fesm2015/mtxColumnResize.js +55 -6
- package/fesm2015/mtxColumnResize.js.map +1 -1
- package/fesm2015/mtxCore.js +10 -1
- package/fesm2015/mtxCore.js.map +1 -1
- package/fesm2015/mtxDatetimepicker.js +86 -17
- package/fesm2015/mtxDatetimepicker.js.map +1 -1
- package/fesm2015/mtxDialog.js +18 -3
- package/fesm2015/mtxDialog.js.map +1 -1
- package/fesm2015/mtxFormGroup.js +10 -1
- package/fesm2015/mtxFormGroup.js.map +1 -1
- package/fesm2015/mtxGrid.js +90 -10
- package/fesm2015/mtxGrid.js.map +1 -1
- package/fesm2015/mtxLoader.js +10 -1
- package/fesm2015/mtxLoader.js.map +1 -1
- package/fesm2015/mtxPipes.js +2 -0
- package/fesm2015/mtxPipes.js.map +1 -1
- package/fesm2015/mtxPopover.js +27 -3
- package/fesm2015/mtxPopover.js.map +1 -1
- package/fesm2015/mtxProgress.js +4 -1
- package/fesm2015/mtxProgress.js.map +1 -1
- package/fesm2015/mtxSelect.js +108 -14
- package/fesm2015/mtxSelect.js.map +1 -1
- package/fesm2015/mtxSlider.js +1134 -0
- package/fesm2015/mtxSlider.js.map +1 -0
- package/fesm2015/mtxSplit.js +36 -17
- package/fesm2015/mtxSplit.js.map +1 -1
- package/fesm2015/mtxText3d.js +11 -2
- package/fesm2015/mtxText3d.js.map +1 -1
- package/fesm2015/mtxTooltip.js +23 -4
- package/fesm2015/mtxTooltip.js.map +1 -1
- package/form-group/_form-group-theme.import.scss +2 -2
- package/form-group/_form-group-theme.scss +46 -22
- package/grid/_grid-theme.import.scss +2 -2
- package/grid/_grid-theme.scss +45 -21
- package/grid/column-resize/_column-resize.scss +19 -13
- package/loader/_loader-theme.import.scss +2 -2
- package/loader/_loader-theme.scss +30 -6
- package/package.json +2 -2
- package/popover/_popover-theme.import.scss +2 -2
- package/popover/_popover-theme.scss +32 -8
- package/popover/popover.d.ts +3 -3
- package/progress/_progress-theme.import.scss +2 -2
- package/progress/_progress-theme.scss +33 -8
- package/progress/mtxProgress.metadata.json +1 -1
- package/public-api.d.ts +1 -0
- package/select/_select-theme.import.scss +2 -2
- package/select/_select-theme.scss +55 -31
- package/select/mtxSelect.metadata.json +1 -1
- package/select/select.component.d.ts +1 -1
- package/slider/_slider-theme.import.scss +2 -0
- package/slider/_slider-theme.scss +233 -0
- package/slider/mtxSlider.d.ts +4 -0
- package/slider/mtxSlider.metadata.json +1 -0
- package/slider/package.json +11 -0
- package/slider/public-api.d.ts +2 -0
- package/slider/slider-module.d.ts +2 -0
- package/slider/slider.d.ts +274 -0
- package/slider/slider.scss +514 -0
- package/split/_split-theme.import.scss +2 -2
- package/split/_split-theme.scss +30 -6
- package/split/interface.d.ts +1 -2
- package/split/mtxSplit.metadata.json +1 -1
- package/split/split.component.scss +3 -2
- package/text3d/_text3d-theme.import.scss +2 -2
- package/text3d/_text3d-theme.scss +32 -7
- package/text3d/mtxText3d.metadata.json +1 -1
- package/tooltip/_tooltip-theme.import.scss +2 -2
- package/tooltip/_tooltip-theme.scss +32 -15
- package/tooltip/mtxTooltip.metadata.json +1 -1
|
@@ -1,52 +1,61 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@use '~@angular/material'
|
|
2
|
+
@use '~@angular/material/core/theming/theming';
|
|
3
|
+
@use '~@angular/material/core/theming/palette';
|
|
4
|
+
@use '~@angular/material/core/style/private';
|
|
5
|
+
@use '~@angular/material/core/typography/typography';
|
|
6
|
+
@use '~@angular/material/core/typography/typography-utils';
|
|
3
7
|
|
|
4
8
|
$selected-today-box-shadow-width: 1px;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
$
|
|
9
|
+
$calendar-body-font-size: 13px !default;
|
|
10
|
+
$calendar-weekday-table-font-size: 11px !default;
|
|
11
|
+
$calendar-header-font-size: 30px !default;
|
|
12
|
+
$clock-font-size: 14px !default;
|
|
13
|
+
|
|
14
|
+
@mixin color($config-or-theme) {
|
|
15
|
+
$config: theming.get-color-config($config-or-theme);
|
|
16
|
+
$is-dark-theme: map.get($config, is-dark);
|
|
17
|
+
$primary: map.get($config, primary);
|
|
18
|
+
$background: map.get($config, background);
|
|
19
|
+
$foreground: map.get($config, foreground);
|
|
20
|
+
$disabled-color: theming.get-color-from-palette($foreground, disabled-text);
|
|
12
21
|
|
|
13
22
|
.mtx-datetimepicker-content {
|
|
14
|
-
background-color:
|
|
15
|
-
color:
|
|
23
|
+
background-color: theming.get-color-from-palette($background, card);
|
|
24
|
+
color: theming.get-color-from-palette($foreground, text);
|
|
16
25
|
|
|
17
|
-
@include
|
|
26
|
+
@include private.private-theme-elevation(8, $config);
|
|
18
27
|
}
|
|
19
28
|
|
|
20
29
|
.mtx-calendar-header {
|
|
21
|
-
background-color:
|
|
30
|
+
background-color: theming.get-color-from-palette($primary);
|
|
22
31
|
color: white;
|
|
23
32
|
}
|
|
24
33
|
|
|
25
34
|
.mtx-calendar-body-label {
|
|
26
|
-
color:
|
|
35
|
+
color: theming.get-color-from-palette($foreground, secondary-text);
|
|
27
36
|
}
|
|
28
37
|
|
|
29
38
|
.mtx-calendar-table-header {
|
|
30
|
-
color:
|
|
39
|
+
color: theming.get-color-from-palette($foreground, hint-text);
|
|
31
40
|
}
|
|
32
41
|
|
|
33
42
|
.mtx-calendar-body-cell-content {
|
|
34
|
-
color:
|
|
43
|
+
color: theming.get-color-from-palette($foreground, text);
|
|
35
44
|
|
|
36
45
|
&.mtx-calendar-body-selected {
|
|
37
|
-
background-color:
|
|
46
|
+
background-color: theming.get-color-from-palette($primary);
|
|
38
47
|
color: white;
|
|
39
48
|
|
|
40
49
|
&.mtx-calendar-body-today {
|
|
41
50
|
box-shadow:
|
|
42
51
|
inset 0 0 0 $selected-today-box-shadow-width
|
|
43
|
-
|
|
52
|
+
theming.get-color-from-palette($primary, default-contrast);
|
|
44
53
|
}
|
|
45
54
|
}
|
|
46
55
|
|
|
47
56
|
&:not(.mtx-calendar-body-selected) {
|
|
48
57
|
&.mtx-calendar-body-today {
|
|
49
|
-
border-color:
|
|
58
|
+
border-color: theming.get-color-from-palette($foreground, hint-text);
|
|
50
59
|
}
|
|
51
60
|
}
|
|
52
61
|
}
|
|
@@ -54,7 +63,7 @@ $selected-today-box-shadow-width: 1px;
|
|
|
54
63
|
.mtx-calendar-body-cell:not(.mtx-calendar-body-disabled):hover,
|
|
55
64
|
.mtx-calendar-body-active {
|
|
56
65
|
& > .mtx-calendar-body-cell-content:not(.mtx-calendar-body-selected) {
|
|
57
|
-
background-color:
|
|
66
|
+
background-color: theming.get-color-from-palette($primary, .3);
|
|
58
67
|
}
|
|
59
68
|
}
|
|
60
69
|
|
|
@@ -68,7 +77,7 @@ $selected-today-box-shadow-width: 1px;
|
|
|
68
77
|
}
|
|
69
78
|
|
|
70
79
|
> .mtx-calendar-body-selected {
|
|
71
|
-
background-color:
|
|
80
|
+
background-color: theming.get-color-from-palette($primary, .4);
|
|
72
81
|
}
|
|
73
82
|
}
|
|
74
83
|
|
|
@@ -80,31 +89,31 @@ $selected-today-box-shadow-width: 1px;
|
|
|
80
89
|
}
|
|
81
90
|
|
|
82
91
|
.mtx-clock-wrapper {
|
|
83
|
-
background-color:
|
|
92
|
+
background-color: theming.get-color-from-palette($foreground, divider);
|
|
84
93
|
}
|
|
85
94
|
|
|
86
95
|
.mtx-clock-center {
|
|
87
|
-
background-color:
|
|
96
|
+
background-color: theming.get-color-from-palette($primary);
|
|
88
97
|
}
|
|
89
98
|
|
|
90
99
|
.mtx-clock-hand {
|
|
91
|
-
background-color:
|
|
100
|
+
background-color: theming.get-color-from-palette($primary);
|
|
92
101
|
|
|
93
102
|
&::before {
|
|
94
|
-
background-color:
|
|
103
|
+
background-color: theming.get-color-from-palette($primary);
|
|
95
104
|
}
|
|
96
105
|
}
|
|
97
106
|
|
|
98
107
|
.mtx-clock-cell {
|
|
99
|
-
color:
|
|
108
|
+
color: theming.get-color-from-palette($foreground, text);
|
|
100
109
|
|
|
101
110
|
&.mtx-clock-cell-selected {
|
|
102
|
-
background-color:
|
|
111
|
+
background-color: theming.get-color-from-palette($primary);
|
|
103
112
|
color: white;
|
|
104
113
|
}
|
|
105
114
|
|
|
106
115
|
&:not(.mtx-clock-cell-selected):not(.mtx-clock-cell-disabled):hover {
|
|
107
|
-
background-color:
|
|
116
|
+
background-color: theming.get-color-from-palette($background, hover);
|
|
108
117
|
}
|
|
109
118
|
|
|
110
119
|
&.mtx-clock-cell-disabled {
|
|
@@ -112,3 +121,66 @@ $selected-today-box-shadow-width: 1px;
|
|
|
112
121
|
}
|
|
113
122
|
}
|
|
114
123
|
}
|
|
124
|
+
|
|
125
|
+
@mixin typography($config-or-theme) {
|
|
126
|
+
$config: typography.private-typography-to-2014-config(
|
|
127
|
+
theming.get-typography-config($config-or-theme)
|
|
128
|
+
);
|
|
129
|
+
|
|
130
|
+
.mtx-calendar {
|
|
131
|
+
font-family: typography-utils.font-family($config);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.mtx-calendar-body {
|
|
135
|
+
font-size: $calendar-body-font-size;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.mtx-calendar-body-label,
|
|
139
|
+
.mtx-calendar-period-button {
|
|
140
|
+
font: {
|
|
141
|
+
size: typography-utils.font-size($config, button);
|
|
142
|
+
weight: typography-utils.font-weight($config, button);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.mtx-calendar-table-header th {
|
|
147
|
+
font: {
|
|
148
|
+
size: $calendar-weekday-table-font-size;
|
|
149
|
+
weight: typography-utils.font-weight($config, body-1);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.mtx-calendar-header-date-time {
|
|
154
|
+
font-size: $calendar-header-font-size;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.mtx-calendar-header-ampm-container {
|
|
158
|
+
font-size: .75em;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.mtx-clock {
|
|
162
|
+
font-size: $clock-font-size;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
@mixin _density($config-or-theme) {}
|
|
167
|
+
|
|
168
|
+
@mixin theme($theme-or-color-config) {
|
|
169
|
+
$theme: theming.private-legacy-get-theme($theme-or-color-config);
|
|
170
|
+
@include theming.private-check-duplicate-theme-styles($theme, 'mtx-datetimepicker') {
|
|
171
|
+
$color: theming.get-color-config($theme);
|
|
172
|
+
$density: theming.get-density-config($theme);
|
|
173
|
+
$typography-default: typography.define-typography-config();
|
|
174
|
+
$typography: theming.get-typography-config($theme, $typography-default);
|
|
175
|
+
|
|
176
|
+
@if $color != null {
|
|
177
|
+
@include color($color);
|
|
178
|
+
}
|
|
179
|
+
@if $density != null {
|
|
180
|
+
@include _density($density);
|
|
181
|
+
}
|
|
182
|
+
@if $typography != null {
|
|
183
|
+
@include typography($typography);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
@use '~@angular/material/core/style/private';
|
|
2
2
|
|
|
3
|
-
$calendar-body-font-size: 13px !default;
|
|
4
|
-
$calendar-body-header-font-size: 14px !default;
|
|
5
3
|
$calendar-body-label-padding-start: 5% !default;
|
|
6
4
|
$calendar-body-label-side-padding: private.private-div(33%, 7) !default;
|
|
7
5
|
$calendar-body-cell-min-size: 32px !default;
|
|
@@ -15,7 +13,6 @@ $calendar-body-min-size: 7 * $calendar-body-cell-min-size !default;
|
|
|
15
13
|
$calendar-body-cell-content-size: 100% - $calendar-body-cell-content-margin * 2 !default;
|
|
16
14
|
|
|
17
15
|
.mtx-calendar-body {
|
|
18
|
-
font-size: $calendar-body-font-size;
|
|
19
16
|
min-width: $calendar-body-min-size;
|
|
20
17
|
}
|
|
21
18
|
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
$calendar-padding: 8px !default;
|
|
2
|
-
$calendar-weekday-table-font-size: 11px !default;
|
|
3
2
|
|
|
4
3
|
// We use the same padding as the month / year label, but subtract 16px since there is padding
|
|
5
4
|
// between the edge of the button and the text. This ensures that the button text lines up with
|
|
@@ -24,7 +23,6 @@ $calendar-next-icon-transform: translateX(-2px) rotate(45deg);
|
|
|
24
23
|
|
|
25
24
|
.mtx-calendar-header {
|
|
26
25
|
padding: $calendar-padding * 2;
|
|
27
|
-
font-size: 14px;
|
|
28
26
|
box-sizing: border-box;
|
|
29
27
|
border-radius: 4px 4px 0 0;
|
|
30
28
|
|
|
@@ -42,14 +40,12 @@ $calendar-next-icon-transform: translateX(-2px) rotate(45deg);
|
|
|
42
40
|
.mtx-calendar-header-year,
|
|
43
41
|
.mtx-calendar-header-date-time {
|
|
44
42
|
width: 100%;
|
|
45
|
-
font-weight: 400;
|
|
46
43
|
white-space: nowrap;
|
|
47
44
|
}
|
|
48
45
|
|
|
49
46
|
.mtx-calendar-header-year {
|
|
50
47
|
height: 32px;
|
|
51
48
|
line-height: 32px;
|
|
52
|
-
font-size: 16px;
|
|
53
49
|
|
|
54
50
|
> * {
|
|
55
51
|
vertical-align: middle;
|
|
@@ -57,7 +53,6 @@ $calendar-next-icon-transform: translateX(-2px) rotate(45deg);
|
|
|
57
53
|
}
|
|
58
54
|
|
|
59
55
|
.mtx-calendar-header-date-time {
|
|
60
|
-
font-size: 30px;
|
|
61
56
|
line-height: 34px;
|
|
62
57
|
|
|
63
58
|
[mode='landscape'] & {
|
|
@@ -66,10 +61,6 @@ $calendar-next-icon-transform: translateX(-2px) rotate(45deg);
|
|
|
66
61
|
}
|
|
67
62
|
}
|
|
68
63
|
|
|
69
|
-
.mtx-calendar-header-ampm-container {
|
|
70
|
-
font-size: .77em;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
64
|
.mtx-calendar-header-year,
|
|
74
65
|
.mtx-calendar-header-date,
|
|
75
66
|
.mtx-calendar-header-hours,
|
|
@@ -132,7 +123,6 @@ $calendar-next-icon-transform: translateX(-2px) rotate(45deg);
|
|
|
132
123
|
display: inline-block;
|
|
133
124
|
height: 40px;
|
|
134
125
|
line-height: 40px;
|
|
135
|
-
font-size: 14px;
|
|
136
126
|
outline: none;
|
|
137
127
|
border: 0;
|
|
138
128
|
background: transparent;
|
|
@@ -161,13 +151,9 @@ $calendar-next-icon-transform: translateX(-2px) rotate(45deg);
|
|
|
161
151
|
width: 100%;
|
|
162
152
|
}
|
|
163
153
|
|
|
164
|
-
.mtx-calendar-table-header {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
font-size: $calendar-weekday-table-font-size;
|
|
168
|
-
font-weight: 400;
|
|
169
|
-
padding: $calendar-padding 0;
|
|
170
|
-
}
|
|
154
|
+
.mtx-calendar-table-header th {
|
|
155
|
+
text-align: center;
|
|
156
|
+
padding: $calendar-padding 0;
|
|
171
157
|
}
|
|
172
158
|
|
|
173
159
|
@media all and (orientation: landscape) {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
$clock-min-size: 224px !default;
|
|
2
2
|
$clock-margin: 8px !default;
|
|
3
|
-
$clock-font-size: 14px !default;
|
|
4
3
|
$clock-cell-size: 14.1666% !default;
|
|
5
4
|
|
|
6
5
|
.mtx-clock {
|
|
@@ -8,7 +7,6 @@ $clock-cell-size: 14.1666% !default;
|
|
|
8
7
|
display: block;
|
|
9
8
|
min-width: $clock-min-size;
|
|
10
9
|
margin: $clock-margin;
|
|
11
|
-
font-size: $clock-font-size;
|
|
12
10
|
box-sizing: border-box;
|
|
13
11
|
user-select: none;
|
|
14
12
|
}
|