@progress/kendo-theme-default 5.0.0-alpha.3 → 5.0.0-beta.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/README.md +5 -8
- package/dist/all.css +5698 -7009
- package/dist/all.scss +9311 -8857
- package/package.json +2 -2
- package/scss/_layout.scss +0 -0
- package/scss/_variables.scss +0 -19
- package/scss/action-buttons/_layout.scss +1 -0
- package/scss/adaptive/_layout.scss +7 -22
- package/scss/appbar/_layout.scss +19 -3
- package/scss/autocomplete/_index.scss +1 -0
- package/scss/autocomplete/_variables.scss +0 -5
- package/scss/avatar/_layout.scss +13 -17
- package/scss/avatar/_theme.scss +4 -4
- package/scss/avatar/_variables.scss +18 -8
- package/scss/avatar/index.md +0 -0
- package/scss/button/_index.scss +2 -0
- package/scss/button/_layout.scss +24 -88
- package/scss/button/_variables.scss +7 -5
- package/scss/calendar/_index.scss +1 -0
- package/scss/card/_variables.scss +4 -4
- package/scss/chat/_layout.scss +4 -8
- package/scss/chat/_theme.scss +0 -18
- package/scss/chat/_variables.scss +0 -10
- package/scss/checkbox/_index.scss +2 -0
- package/scss/checkbox/_layout.scss +44 -27
- package/scss/checkbox/_variables.scss +3 -9
- package/scss/checkbox/index.md +0 -0
- package/scss/chip/_index.scss +1 -0
- package/scss/chip/_layout.scss +124 -131
- package/scss/chip/_theme.scss +90 -388
- package/scss/chip/_variables.scss +127 -191
- package/scss/chip/index.md +0 -0
- package/scss/color-preview/_layout.scss +45 -8
- package/scss/color-preview/_theme.scss +1 -15
- package/scss/color-preview/_variables.scss +1 -0
- package/scss/coloreditor/_layout.scss +5 -1
- package/scss/coloreditor/_variables.scss +3 -3
- package/scss/colorgradient/_layout.scss +7 -0
- package/scss/colorpicker/_index.scss +1 -2
- package/scss/colorpicker/_layout.scss +1 -1
- package/scss/colorpicker/_theme.scss +1 -1
- package/scss/colorpicker/_variables.scss +1 -22
- package/scss/combobox/_index.scss +1 -0
- package/scss/combobox/_layout.scss +1 -1
- package/scss/combobox/_theme.scss +1 -1
- package/scss/combobox/_variables.scss +1 -33
- package/scss/core/functions/_colors.scss +4 -1
- package/scss/dataviz/_index.scss +1 -0
- package/scss/dateinput/_index.scss +0 -4
- package/scss/dateinput/_variables.scss +1 -1
- package/scss/datepicker/_index.scss +1 -3
- package/scss/daterangepicker/_layout.scss +16 -1
- package/scss/datetimepicker/_index.scss +5 -3
- package/scss/datetimepicker/_layout.scss +40 -3
- package/scss/datetimepicker/_theme.scss +2 -2
- package/scss/datetimepicker/_variables.scss +2 -1
- package/scss/drawer/_index.scss +1 -0
- package/scss/drawer/_variables.scss +1 -1
- package/scss/dropdowngrid/_layout.scss +5 -4
- package/scss/dropdowngrid/_theme.scss +6 -2
- package/scss/dropdowngrid/index.md +0 -0
- package/scss/dropdownlist/_index.scss +1 -0
- package/scss/dropdownlist/_layout.scss +11 -0
- package/scss/editor/_layout.scss +23 -51
- package/scss/editor/_variables.scss +1 -1
- package/scss/expansion-panel/_index.scss +1 -0
- package/scss/expansion-panel/_variables.scss +2 -2
- package/scss/fab/_layout.scss +24 -58
- package/scss/fab/_theme.scss +43 -48
- package/scss/fab/_variables.scss +129 -72
- package/scss/fab/index.md +0 -0
- package/scss/filter/_index.scss +1 -1
- package/scss/filter/_layout.scss +9 -2
- package/scss/filter/_theme.scss +3 -1
- package/scss/forms/_index.scss +1 -1
- package/scss/forms/_layout.scss +12 -79
- package/scss/gantt/_index.scss +1 -1
- package/scss/gantt/_layout.scss +5 -3
- package/scss/grid/_index.scss +2 -1
- package/scss/grid/_layout.scss +106 -132
- package/scss/grid/_theme.scss +12 -12
- package/scss/grid/_variables.scss +10 -10
- package/scss/icons/_layout.scss +6 -0
- package/scss/icons/font/WebComponentsIcons.scss +1 -1
- package/scss/icons/font/WebComponentsIcons.ttf +0 -0
- package/scss/imageeditor/_layout.scss +4 -8
- package/scss/imageeditor/_variables.scss +1 -0
- package/scss/index.scss +4 -3
- package/scss/input/_index.scss +1 -1
- package/scss/input/_layout.scss +168 -17
- package/scss/input/_theme.scss +13 -2
- package/scss/input/_variables.scss +45 -44
- package/scss/list/_index.scss +12 -0
- package/scss/list/_layout.scss +227 -0
- package/scss/list/_theme.scss +91 -0
- package/scss/list/_variables.scss +248 -0
- package/scss/list/index.md +0 -0
- package/scss/listbox/_index.scss +2 -0
- package/scss/listbox/_variables.scss +1 -1
- package/scss/listview/_layout.scss +2 -9
- package/scss/map/_layout.scss +17 -0
- package/scss/maskedtextbox/_layout.scss +1 -1
- package/scss/maskedtextbox/_theme.scss +1 -1
- package/scss/mediaplayer/_layout.scss +5 -0
- package/scss/menu/_index.scss +2 -0
- package/scss/menu/_layout.scss +123 -63
- package/scss/menu/_theme.scss +27 -24
- package/scss/menu/_variables.scss +126 -35
- package/scss/multiselect/_index.scss +2 -0
- package/scss/multiselect/_layout.scss +3 -180
- package/scss/multiselect/_theme.scss +3 -139
- package/scss/multiselect/_variables.scss +0 -36
- package/scss/numerictextbox/_layout.scss +12 -2
- package/scss/numerictextbox/_theme.scss +1 -1
- package/scss/orgchart/_variables.scss +2 -2
- package/scss/pager/_index.scss +1 -0
- package/scss/pager/_theme.scss +4 -4
- package/scss/pager/_variables.scss +6 -6
- package/scss/panelbar/_index.scss +1 -0
- package/scss/panelbar/_theme.scss +9 -2
- package/scss/panelbar/_variables.scss +6 -2
- package/scss/pdf-viewer/_layout.scss +23 -16
- package/scss/pdf-viewer/_variables.scss +2 -5
- package/scss/pivotgrid/_index.scss +1 -0
- package/scss/pivotgrid/_layout.scss +1 -45
- package/scss/pivotgrid/_theme.scss +1 -2
- package/scss/pivotgrid/_variables.scss +1 -4
- package/scss/popover/_layout.scss +0 -1
- package/scss/popup/_index.scss +0 -4
- package/scss/popup/_layout.scss +2 -242
- package/scss/popup/_theme.scss +2 -159
- package/scss/popup/_variables.scss +2 -7
- package/scss/radio/_index.scss +2 -0
- package/scss/radio/_layout.scss +43 -27
- package/scss/radio/_variables.scss +3 -9
- package/scss/radio/index.md +0 -0
- package/scss/scheduler/_index.scss +1 -1
- package/scss/scheduler/_layout.scss +1 -1
- package/scss/scrollview/_layout.scss +6 -1
- package/scss/slider/_layout.scss +2 -0
- package/scss/spreadsheet/_index.scss +2 -1
- package/scss/spreadsheet/_layout.scss +32 -25
- package/scss/spreadsheet/_theme.scss +6 -6
- package/scss/switch/_layout.scss +4 -2
- package/scss/switch/index.md +0 -0
- package/scss/{datetime → table}/_index.scss +5 -2
- package/scss/table/_layout.scss +275 -0
- package/scss/table/_theme.scss +82 -0
- package/scss/table/_variables.scss +141 -0
- package/scss/tabstrip/_index.scss +1 -0
- package/scss/tabstrip/_layout.scss +11 -1
- package/scss/tabstrip/_theme.scss +1 -0
- package/scss/tabstrip/_variables.scss +3 -3
- package/scss/taskboard/_layout.scss +2 -1
- package/scss/taskboard/_variables.scss +0 -2
- package/scss/timepicker/_index.scss +3 -3
- package/scss/timepicker/_variables.scss +1 -1
- package/scss/timeselector/_index.scss +13 -0
- package/scss/timeselector/_layout.scss +207 -0
- package/scss/{datetime → timeselector}/_theme.scss +21 -21
- package/scss/timeselector/_variables.scss +32 -0
- package/scss/toolbar/_layout.scss +29 -2
- package/scss/toolbar/_theme.scss +35 -7
- package/scss/toolbar/_variables.scss +2 -0
- package/scss/treeview/_layout.scss +128 -117
- package/scss/treeview/_theme.scss +51 -43
- package/scss/treeview/_variables.scss +126 -46
- package/scss/typography/_variables.scss +3 -3
- package/scss/utils/_border.scss +1 -2
- package/scss/utils/_flex.scss +11 -3
- package/scss/virtual-scroller/_index.scss +10 -0
- package/scss/virtual-scroller/_layout.scss +35 -0
- package/scss/virtual-scroller/_theme.scss +3 -0
- package/scss/virtual-scroller/_variables.scss +1 -0
- package/scss/window/_variables.scss +1 -1
- package/scss/datetime/_layout.scss +0 -222
- package/scss/datetime/_variables.scss +0 -53
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
// Table
|
|
2
|
+
|
|
3
|
+
/// The width of the table border.
|
|
4
|
+
/// @group table
|
|
5
|
+
$kendo-table-border-width: 1px !default;
|
|
6
|
+
/// The width of vertical border of table cells.
|
|
7
|
+
/// @group table
|
|
8
|
+
$kendo-table-cell-vertical-border-width: $grid-cell-vertical-border-width !default;
|
|
9
|
+
/// The width of horizontal border of table cells.
|
|
10
|
+
/// @group table
|
|
11
|
+
$kendo-table-cell-horizontal-border-width: $grid-cell-horizontal-border-width !default;
|
|
12
|
+
|
|
13
|
+
/// The font size of the table if no size is specified.
|
|
14
|
+
/// @group table
|
|
15
|
+
$kendo-table-font-size: null !default;
|
|
16
|
+
|
|
17
|
+
/// The line-height of the table if no size is specified.
|
|
18
|
+
/// @group table
|
|
19
|
+
$kendo-table-line-height: null !default;
|
|
20
|
+
|
|
21
|
+
/// The horizontal padding of the cells in the table if no size is specified.
|
|
22
|
+
/// @group table
|
|
23
|
+
$kendo-table-cell-padding-x: null !default;
|
|
24
|
+
|
|
25
|
+
/// The vertical padding of the cells in the table if no size is specified.
|
|
26
|
+
/// @group table
|
|
27
|
+
$kendo-table-cell-padding-y: null !default;
|
|
28
|
+
|
|
29
|
+
/// The sizes of the table.
|
|
30
|
+
/// @group table
|
|
31
|
+
$kendo-table-sizes: (
|
|
32
|
+
sm: (
|
|
33
|
+
font-size: $font-size,
|
|
34
|
+
line-height: $line-height,
|
|
35
|
+
cell-padding-x: map-get( $spacing, 2 ),
|
|
36
|
+
cell-padding-y: map-get( $spacing, 1 )
|
|
37
|
+
),
|
|
38
|
+
md: (
|
|
39
|
+
font-size: $font-size,
|
|
40
|
+
line-height: $line-height,
|
|
41
|
+
cell-padding-x: map-get( $spacing, 2 ),
|
|
42
|
+
cell-padding-y: map-get( $spacing, 2 )
|
|
43
|
+
),
|
|
44
|
+
lg: (
|
|
45
|
+
font-size: $font-size,
|
|
46
|
+
line-height: $line-height,
|
|
47
|
+
cell-padding-x: map-get( $spacing, 2 ),
|
|
48
|
+
cell-padding-y: map-get( $spacing, 3 )
|
|
49
|
+
)
|
|
50
|
+
) !default;
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
/// Background color of tables.
|
|
54
|
+
/// @group table
|
|
55
|
+
$kendo-table-bg: $grid-bg !default;
|
|
56
|
+
/// Text color of tables.
|
|
57
|
+
/// @group table
|
|
58
|
+
$kendo-table-text: $grid-text !default;
|
|
59
|
+
/// Border color of tables.
|
|
60
|
+
/// @group table
|
|
61
|
+
$kendo-table-border: $grid-border !default;
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
/// Background color of table headers.
|
|
65
|
+
/// @group table
|
|
66
|
+
$kendo-table-header-bg: $grid-header-bg !default;
|
|
67
|
+
/// Text color of table headers.
|
|
68
|
+
/// @group table
|
|
69
|
+
$kendo-table-header-text: $grid-header-text !default;
|
|
70
|
+
/// Border color of table headers.
|
|
71
|
+
/// @group table
|
|
72
|
+
$kendo-table-header-border: $grid-header-border !default;
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
/// Background color of table footers.
|
|
76
|
+
/// @group table
|
|
77
|
+
$kendo-table-footer-bg: $grid-footer-bg !default;
|
|
78
|
+
/// Text color of table footers.
|
|
79
|
+
/// @group table
|
|
80
|
+
$kendo-table-footer-text: $grid-footer-text !default;
|
|
81
|
+
/// Border color of table footers.
|
|
82
|
+
/// @group table
|
|
83
|
+
$kendo-table-footer-border: $grid-footer-border !default;
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
/// Background color of group rows in table.
|
|
87
|
+
/// @group table
|
|
88
|
+
$kendo-table-group-row-bg: $kendo-table-header-bg !default;
|
|
89
|
+
/// Text color of group rows in table.
|
|
90
|
+
/// @group table
|
|
91
|
+
$kendo-table-group-row-text: $kendo-table-header-text !default;
|
|
92
|
+
/// Border color of group rows in table.
|
|
93
|
+
/// @group table
|
|
94
|
+
$kendo-table-group-row-border: $kendo-table-header-border !default;
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
/// Background color of alternating rows in table.
|
|
98
|
+
/// @group table
|
|
99
|
+
$kendo-table-alt-row-bg: $grid-alt-bg !default;
|
|
100
|
+
/// Text color of alternating rows in table.
|
|
101
|
+
/// @group table
|
|
102
|
+
$kendo-table-alt-row-text: $grid-alt-text !default;
|
|
103
|
+
/// Border color of alternating rows in table.
|
|
104
|
+
/// @group table
|
|
105
|
+
$kendo-table-alt-row-border: $grid-alt-border !default;
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
/// Background color of hovered rows in table.
|
|
109
|
+
/// @group table
|
|
110
|
+
$kendo-table-hover-bg: $grid-hovered-bg !default;
|
|
111
|
+
/// Text color of hovered rows in table.
|
|
112
|
+
/// @group table
|
|
113
|
+
$kendo-table-hover-text: $grid-hovered-text !default;
|
|
114
|
+
/// Border color of hovered rows in table.
|
|
115
|
+
/// @group table
|
|
116
|
+
$kendo-table-hover-border: $grid-hovered-border !default;
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
/// Background color of focused rows in table.
|
|
120
|
+
/// @group table
|
|
121
|
+
$kendo-table-focus-bg: null !default;
|
|
122
|
+
/// Text color of focused rows in table.
|
|
123
|
+
/// @group table
|
|
124
|
+
$kendo-table-focus-text: null !default;
|
|
125
|
+
/// Border color of focused rows in table.
|
|
126
|
+
/// @group table
|
|
127
|
+
$kendo-table-focus-border: null !default;
|
|
128
|
+
/// Box shadow of focused rows in table.
|
|
129
|
+
/// @group table
|
|
130
|
+
$kendo-table-focus-shadow: $grid-focused-shadow !default;
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
/// Background color of selected rows in table.
|
|
134
|
+
/// @group table
|
|
135
|
+
$kendo-table-selected-bg: $grid-selected-bg !default;
|
|
136
|
+
/// Text color of selected rows in table.
|
|
137
|
+
/// @group table
|
|
138
|
+
$kendo-table-selected-text: $grid-selected-text !default;
|
|
139
|
+
/// Border color of selected rows in table.
|
|
140
|
+
/// @group table
|
|
141
|
+
$kendo-table-selected-border: $grid-selected-border !default;
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
.k-tabstrip-items {
|
|
40
40
|
outline: 0;
|
|
41
41
|
display: flex;
|
|
42
|
-
flex-
|
|
42
|
+
flex-flow: row wrap;
|
|
43
43
|
flex: 0 0 auto;
|
|
44
44
|
|
|
45
45
|
.k-item {
|
|
@@ -155,6 +155,10 @@
|
|
|
155
155
|
border-bottom-width: $tabstrip-border-width;
|
|
156
156
|
margin-bottom: -$tabstrip-content-border-width;
|
|
157
157
|
|
|
158
|
+
> .k-tabstrip-items {
|
|
159
|
+
width: 100%;
|
|
160
|
+
}
|
|
161
|
+
|
|
158
162
|
.k-item {
|
|
159
163
|
@include border-top-radius( $tabstrip-item-border-radius );
|
|
160
164
|
margin-bottom: -$tabstrip-border-width;
|
|
@@ -180,6 +184,10 @@
|
|
|
180
184
|
border-top-width: $tabstrip-border-width;
|
|
181
185
|
margin-top: -$tabstrip-content-border-width;
|
|
182
186
|
|
|
187
|
+
> .k-tabstrip-items {
|
|
188
|
+
width: 100%;
|
|
189
|
+
}
|
|
190
|
+
|
|
183
191
|
.k-item {
|
|
184
192
|
@include border-bottom-radius( $tabstrip-item-border-radius );
|
|
185
193
|
margin-top: -$tabstrip-border-width;
|
|
@@ -208,6 +216,7 @@
|
|
|
208
216
|
margin-right: -$tabstrip-content-border-width;
|
|
209
217
|
|
|
210
218
|
> .k-tabstrip-items {
|
|
219
|
+
height: 100%;
|
|
211
220
|
display: inline-flex;
|
|
212
221
|
flex-direction: column;
|
|
213
222
|
}
|
|
@@ -242,6 +251,7 @@
|
|
|
242
251
|
margin-left: -$tabstrip-content-border-width;
|
|
243
252
|
|
|
244
253
|
> .k-tabstrip-items {
|
|
254
|
+
height: 100%;
|
|
245
255
|
display: inline-flex;
|
|
246
256
|
flex-direction: column;
|
|
247
257
|
}
|
|
@@ -77,7 +77,7 @@ $tabstrip-item-selected-border: $component-border !default;
|
|
|
77
77
|
/// @group tabstrip
|
|
78
78
|
$tabstrip-item-selected-gradient: null !default;
|
|
79
79
|
|
|
80
|
-
$tabstrip-item-focused-shadow: $list-item-
|
|
80
|
+
$tabstrip-item-focused-shadow: $kendo-list-item-focus-shadow !default;
|
|
81
81
|
|
|
82
82
|
$tabstrip-item-dragging-shadow: 0px 3px 4px rgba(0, 0, 0, .15) !default;
|
|
83
83
|
|
|
@@ -86,10 +86,10 @@ $tabstrip-indicator-color: null !default;
|
|
|
86
86
|
|
|
87
87
|
/// Horizontal padding of tabstrip content
|
|
88
88
|
/// @group tabstrip
|
|
89
|
-
$tabstrip-content-padding-x:
|
|
89
|
+
$tabstrip-content-padding-x: map-get( $spacing, 4 ) !default;
|
|
90
90
|
/// Vertical padding of tabstrip content
|
|
91
91
|
/// @group tabstrip
|
|
92
|
-
$tabstrip-content-padding-y:
|
|
92
|
+
$tabstrip-content-padding-y: map-get( $spacing, 4 ) !default;
|
|
93
93
|
/// Width of border around tabstrip content
|
|
94
94
|
/// @group tabstrip
|
|
95
95
|
$tabstrip-content-border-width: 1px !default;
|
|
@@ -46,8 +46,6 @@ $taskboard-column-cards-padding-y: null !default;
|
|
|
46
46
|
$taskboard-column-cards-padding-x: null !default;
|
|
47
47
|
$taskboard-column-cards-gap: ( $taskboard-spacer / 2 ) !default;
|
|
48
48
|
|
|
49
|
-
$taskboard-column-new-calc-height: calc( #{$kendo-input-calc-height} + #{$taskboard-column-header-padding-y * 2} ) !default;
|
|
50
|
-
|
|
51
49
|
$taskboard-pane-width: $taskboard-column-width !default;
|
|
52
50
|
$taskboard-pane-padding-y: null !default;
|
|
53
51
|
$taskboard-pane-padding-x: null !default;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
// Dependencies
|
|
5
|
-
@import "../common/_index.scss";
|
|
6
5
|
@import "../input/_index.scss";
|
|
7
|
-
@import "../
|
|
6
|
+
@import "../button/_index.scss";
|
|
8
7
|
@import "../popup/_index.scss";
|
|
9
|
-
@import "../
|
|
8
|
+
@import "../list/_index.scss";
|
|
9
|
+
@import "../timeselector/_index.scss";
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
// Component
|
|
@@ -1 +1 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Time picker
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@import "../core/_index.scss";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
// Dependencies
|
|
5
|
+
@import "../list/_index.scss";
|
|
6
|
+
@import "../action-buttons/_index.scss";
|
|
7
|
+
@import "../button/_index.scss";
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
// Component
|
|
11
|
+
@import "_variables.scss";
|
|
12
|
+
@import "_layout.scss";
|
|
13
|
+
@import "_theme.scss";
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
@include exports( "timeselector/layout" ) {
|
|
2
|
+
|
|
3
|
+
// Time selector
|
|
4
|
+
.k-timeselector {
|
|
5
|
+
border-width: $time-selector-border-width;
|
|
6
|
+
border-style: solid;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
outline: 0;
|
|
9
|
+
font-family: $time-selector-font-family;
|
|
10
|
+
font-size: $time-selector-font-size;
|
|
11
|
+
line-height: $time-selector-line-height;
|
|
12
|
+
position: relative;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-flow: column nowrap;
|
|
16
|
+
user-select: none;
|
|
17
|
+
-webkit-touch-callout: none;
|
|
18
|
+
-webkit-tap-highlight-color: $rgba-transparent;
|
|
19
|
+
|
|
20
|
+
.k-popup > & {
|
|
21
|
+
border-width: 0;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
// Time selector header
|
|
27
|
+
.k-time-header,
|
|
28
|
+
.k-time-selector-header {
|
|
29
|
+
padding: $time-selector-header-padding-y $time-selector-header-padding-x;
|
|
30
|
+
box-sizing: border-box;
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
justify-content: space-between;
|
|
34
|
+
flex: 0 0 auto;
|
|
35
|
+
|
|
36
|
+
.k-title,
|
|
37
|
+
.k-time-selector-header-title {
|
|
38
|
+
padding: $kendo-button-padding-y $kendo-button-padding-x;
|
|
39
|
+
font-weight: bold;
|
|
40
|
+
display: inline-block;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.k-time-now {
|
|
44
|
+
border-width: 0;
|
|
45
|
+
line-height: inherit;
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
// Time selector footer
|
|
52
|
+
// .k-time-footer {}
|
|
53
|
+
// .k-time-selector-footer {}
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
// Time list container
|
|
57
|
+
.k-time-list-container {
|
|
58
|
+
display: flex;
|
|
59
|
+
position: relative;
|
|
60
|
+
flex: 1 1 auto;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
// Time list highlight
|
|
65
|
+
.k-time-highlight,
|
|
66
|
+
.k-time-list-highlight {
|
|
67
|
+
width: 100%;
|
|
68
|
+
height: $time-list-highlight-height;
|
|
69
|
+
border-width: $time-list-highlight-border-width;
|
|
70
|
+
border-style: solid;
|
|
71
|
+
box-sizing: border-box;
|
|
72
|
+
position: absolute;
|
|
73
|
+
top: calc( 50% + #{$time-list-title-height / 2});
|
|
74
|
+
left: 0;
|
|
75
|
+
right: 0;
|
|
76
|
+
transform: translateY(-50%);
|
|
77
|
+
z-index: 1;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
// Time list wrapper
|
|
82
|
+
.k-time-list-wrapper {
|
|
83
|
+
min-width: $time-list-width;
|
|
84
|
+
height: $time-list-height;
|
|
85
|
+
box-sizing: content-box;
|
|
86
|
+
display: inline-flex;
|
|
87
|
+
flex-flow: column nowrap;
|
|
88
|
+
align-items: stretch;
|
|
89
|
+
overflow: hidden;
|
|
90
|
+
position: relative;
|
|
91
|
+
text-align: center;
|
|
92
|
+
flex: 1 1 auto;
|
|
93
|
+
|
|
94
|
+
.k-title {
|
|
95
|
+
font-size: $time-list-title-font-size;
|
|
96
|
+
line-height: $time-list-title-line-height;
|
|
97
|
+
font-weight: bold;
|
|
98
|
+
text-align: center;
|
|
99
|
+
text-transform: capitalize;
|
|
100
|
+
display: block;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&.k-state-focused {
|
|
104
|
+
&::before,
|
|
105
|
+
&::after {
|
|
106
|
+
display: block;
|
|
107
|
+
content: " ";
|
|
108
|
+
position: absolute;
|
|
109
|
+
width: 100%;
|
|
110
|
+
left: 0;
|
|
111
|
+
pointer-events: none;
|
|
112
|
+
height: calc( 50% - #{$time-list-highlight-height / 2} );
|
|
113
|
+
box-sizing: border-box;
|
|
114
|
+
border-width: 0;
|
|
115
|
+
border-style: solid;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&::before {
|
|
119
|
+
top: $time-list-title-height;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&::after {
|
|
123
|
+
bottom: 0;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
// Time list
|
|
130
|
+
.k-time-list {
|
|
131
|
+
display: flex;
|
|
132
|
+
flex-flow: row nowrap;
|
|
133
|
+
align-items: stretch;
|
|
134
|
+
flex: 1;
|
|
135
|
+
position: relative;
|
|
136
|
+
z-index: 1;
|
|
137
|
+
overflow: hidden;
|
|
138
|
+
|
|
139
|
+
&::before,
|
|
140
|
+
&::after {
|
|
141
|
+
display: block;
|
|
142
|
+
position: absolute;
|
|
143
|
+
content: " ";
|
|
144
|
+
height: 0;
|
|
145
|
+
line-height: 0;
|
|
146
|
+
z-index: 1;
|
|
147
|
+
width: 200%;
|
|
148
|
+
left: -50%;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&::before { top: 0; }
|
|
152
|
+
&::after { bottom: 0; }
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
// Time list content
|
|
157
|
+
.k-time-container,
|
|
158
|
+
.k-time-list-content {
|
|
159
|
+
position: relative;
|
|
160
|
+
flex: 1 1 auto;
|
|
161
|
+
display: block;
|
|
162
|
+
overflow-x: hidden;
|
|
163
|
+
overflow-y: scroll;
|
|
164
|
+
|
|
165
|
+
@include hide-scrollbar("right");
|
|
166
|
+
|
|
167
|
+
> ul {
|
|
168
|
+
height: auto;
|
|
169
|
+
width: $time-list-width;
|
|
170
|
+
margin: auto;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.k-rtl &
|
|
174
|
+
[dir="rtl"] & {
|
|
175
|
+
@include hide-scrollbar("left");
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.k-scrollable-placeholder {
|
|
179
|
+
position: absolute;
|
|
180
|
+
width: 1px;
|
|
181
|
+
top: 0;
|
|
182
|
+
right: 0;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
// Time list item
|
|
188
|
+
.k-time-list-item,
|
|
189
|
+
.k-time-list .k-item {
|
|
190
|
+
padding: $time-list-item-padding-y $time-list-item-padding-x;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
// Time separator
|
|
195
|
+
.k-time-separator {
|
|
196
|
+
width: 0;
|
|
197
|
+
height: $time-list-highlight-height;
|
|
198
|
+
align-self: center;
|
|
199
|
+
display: inline-flex;
|
|
200
|
+
justify-content: center;
|
|
201
|
+
align-items: center;
|
|
202
|
+
position: relative;
|
|
203
|
+
z-index: 11;
|
|
204
|
+
top: calc( #{$time-list-title-height / 2} );
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
}
|
|
@@ -1,21 +1,29 @@
|
|
|
1
|
-
@include exports("
|
|
1
|
+
@include exports( "timeselector/theme" ) {
|
|
2
|
+
|
|
3
|
+
// Time selector
|
|
4
|
+
.k-timeselector {
|
|
5
|
+
@include fill(
|
|
6
|
+
$time-selector-text,
|
|
7
|
+
$time-selector-bg,
|
|
8
|
+
$time-selector-border
|
|
9
|
+
);
|
|
10
|
+
}
|
|
2
11
|
|
|
3
|
-
|
|
4
|
-
|
|
12
|
+
|
|
13
|
+
// Time selector header
|
|
14
|
+
.k-time-header,
|
|
15
|
+
.k-time-selector-header {
|
|
5
16
|
|
|
6
17
|
.k-time-now {
|
|
7
18
|
color: $link-text;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
&:focus {
|
|
12
|
-
color: $link-hover-text;
|
|
13
|
-
}
|
|
19
|
+
}
|
|
20
|
+
.k-time-now:hover {
|
|
21
|
+
color: $link-hover-text;
|
|
14
22
|
}
|
|
15
23
|
}
|
|
16
24
|
|
|
17
25
|
|
|
18
|
-
//
|
|
26
|
+
// Time list wrapper
|
|
19
27
|
.k-time-list-wrapper {
|
|
20
28
|
|
|
21
29
|
.k-title {
|
|
@@ -34,11 +42,13 @@
|
|
|
34
42
|
}
|
|
35
43
|
}
|
|
36
44
|
|
|
45
|
+
|
|
46
|
+
// Time list
|
|
37
47
|
.k-time-list {
|
|
38
48
|
&::before,
|
|
39
49
|
&::after {
|
|
40
50
|
$shadow-size: 3em;
|
|
41
|
-
box-shadow: 0 0 $shadow-size ($shadow-size / 2) $
|
|
51
|
+
box-shadow: 0 0 $shadow-size ($shadow-size / 2) $time-selector-bg;
|
|
42
52
|
}
|
|
43
53
|
|
|
44
54
|
.k-item:hover {
|
|
@@ -57,14 +67,4 @@
|
|
|
57
67
|
);
|
|
58
68
|
}
|
|
59
69
|
|
|
60
|
-
.k-datetime-container {
|
|
61
|
-
.k-date-tab {
|
|
62
|
-
|
|
63
|
-
.k-datetime-buttongroup,
|
|
64
|
-
.k-datetime-selector {
|
|
65
|
-
background-color: $component-bg;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
70
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// Time selector
|
|
2
|
+
$time-selector-border-width: 1px !default;
|
|
3
|
+
$time-selector-font-family: $font-family !default;
|
|
4
|
+
$time-selector-font-size: $font-size !default;
|
|
5
|
+
$time-selector-line-height: $line-height !default;
|
|
6
|
+
|
|
7
|
+
$time-selector-bg: $component-bg !default;
|
|
8
|
+
$time-selector-text: $component-text !default;
|
|
9
|
+
$time-selector-border: $component-border !default;
|
|
10
|
+
|
|
11
|
+
$time-selector-header-padding-x: map-get( $spacing, 1 ) !default;
|
|
12
|
+
$time-selector-header-padding-y: map-get( $spacing, 1 ) !default;
|
|
13
|
+
$time-selector-header-border-width: 0px !default;
|
|
14
|
+
|
|
15
|
+
$time-list-width: 4em !default;
|
|
16
|
+
$time-list-height: 240px !default;
|
|
17
|
+
|
|
18
|
+
$time-list-title-font-size: $font-size-sm !default;
|
|
19
|
+
$time-list-title-line-height: 1.5 !default;
|
|
20
|
+
$time-list-title-height: ( $time-list-title-font-size * $time-list-title-line-height) !default;
|
|
21
|
+
$time-list-title-text: $subtle-text !default;
|
|
22
|
+
$time-list-title-focus-text: $component-text !default;
|
|
23
|
+
|
|
24
|
+
$time-list-item-padding-x: $kendo-list-item-padding-x-md !default;
|
|
25
|
+
$time-list-item-padding-y: $kendo-list-item-padding-y-md !default;
|
|
26
|
+
|
|
27
|
+
$time-list-highlight-border-width: 1px 0px !default;
|
|
28
|
+
$time-list-highlight-height: calc( #{$time-selector-font-size * $time-selector-line-height} + #{ $time-list-item-padding-y * 2} ) !default;
|
|
29
|
+
$time-list-highlight-bg: $component-bg !default;
|
|
30
|
+
$time-list-highlight-border: $component-border !default;
|
|
31
|
+
|
|
32
|
+
$time-list-focused-bg: rgba(0, 0, 0, .04) !default;
|
|
@@ -62,13 +62,20 @@
|
|
|
62
62
|
.k-split-button {}
|
|
63
63
|
|
|
64
64
|
|
|
65
|
+
// Input
|
|
66
|
+
.k-input,
|
|
67
|
+
.k-picker:not(.k-colorpicker) {
|
|
68
|
+
width: $toolbar-input-width;
|
|
69
|
+
}
|
|
70
|
+
|
|
65
71
|
// Overflow anchor
|
|
66
72
|
.k-overflow-anchor {
|
|
67
73
|
@include border-radius( 0 );
|
|
68
74
|
margin: 0;
|
|
69
75
|
padding: $toolbar-padding-y;
|
|
70
|
-
width:
|
|
76
|
+
width: auto;
|
|
71
77
|
height: 100%;
|
|
78
|
+
aspect-ratio: 1;
|
|
72
79
|
border-width: 0;
|
|
73
80
|
border-color: inherit;
|
|
74
81
|
box-sizing: border-box;
|
|
@@ -100,6 +107,7 @@
|
|
|
100
107
|
flex: 1 0 0%;
|
|
101
108
|
}
|
|
102
109
|
|
|
110
|
+
|
|
103
111
|
// Template
|
|
104
112
|
.k-toolbar-template {
|
|
105
113
|
align-self: center;
|
|
@@ -120,6 +128,7 @@
|
|
|
120
128
|
|
|
121
129
|
// Angular specific
|
|
122
130
|
kendo-toolbar-renderer {
|
|
131
|
+
display: inline-block;
|
|
123
132
|
border-color: inherit;
|
|
124
133
|
}
|
|
125
134
|
|
|
@@ -127,6 +136,14 @@
|
|
|
127
136
|
// Overflow container
|
|
128
137
|
.k-overflow-container {
|
|
129
138
|
|
|
139
|
+
> .k-item {
|
|
140
|
+
border-color: inherit;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.k-separator {
|
|
144
|
+
margin: map-get( $spacing, 1 ) 0;
|
|
145
|
+
}
|
|
146
|
+
|
|
130
147
|
// Group
|
|
131
148
|
.k-overflow-tool-group {
|
|
132
149
|
display: block;
|
|
@@ -134,13 +151,23 @@
|
|
|
134
151
|
|
|
135
152
|
// Button
|
|
136
153
|
.k-overflow-button {
|
|
154
|
+
@include border-radius( 0 );
|
|
155
|
+
padding: $kendo-list-item-padding-y-md $kendo-list-item-padding-x-md;
|
|
137
156
|
width: 100%;
|
|
157
|
+
border-width: 0;
|
|
158
|
+
color: inherit;
|
|
159
|
+
background-color: transparent;
|
|
160
|
+
background-image: none;
|
|
161
|
+
line-height: inherit;
|
|
162
|
+
display: flex;
|
|
163
|
+
justify-content: flex-start;
|
|
138
164
|
}
|
|
139
165
|
|
|
140
166
|
// Button group
|
|
141
167
|
.k-button-group {
|
|
168
|
+
@include box-shadow( none );
|
|
142
169
|
display: flex;
|
|
143
|
-
flex-
|
|
170
|
+
flex-flow: column nowrap;
|
|
144
171
|
|
|
145
172
|
.k-button {
|
|
146
173
|
margin: if( $kendo-button-border-width == 0, null, 0);
|