@progress/kendo-theme-default 4.43.0 → 4.43.1-dev.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/dist/all.css +2546 -2468
- package/dist/all.scss +5249 -4662
- package/package.json +2 -2
- package/scss/_layout.scss +0 -0
- package/scss/_variables.scss +0 -19
- package/scss/autocomplete/_index.scss +1 -0
- package/scss/avatar/index.md +0 -0
- package/scss/button/_index.scss +2 -0
- package/scss/button/_variables.scss +21 -21
- package/scss/calendar/_index.scss +1 -0
- package/scss/calendar/_theme.scss +0 -21
- package/scss/checkbox/_index.scss +1 -0
- package/scss/checkbox/index.md +0 -0
- package/scss/chip/_layout.scss +103 -123
- package/scss/chip/_theme.scss +289 -300
- package/scss/chip/_variables.scss +7 -9
- package/scss/chip/index.md +0 -0
- package/scss/color-preview/_layout.scss +2 -2
- package/scss/color-preview/_theme.scss +4 -3
- package/scss/color-preview/_variables.scss +1 -0
- package/scss/colorpicker/_layout.scss +17 -45
- package/scss/colorpicker/_theme.scss +33 -42
- package/scss/combobox/_index.scss +1 -0
- package/scss/dataviz/_index.scss +1 -0
- package/scss/dateinput/_index.scss +11 -0
- package/scss/dateinput/_layout.scss +81 -0
- package/scss/dateinput/_theme.scss +86 -0
- package/scss/dateinput/_variables.scss +1 -0
- package/scss/datepicker/_index.scss +13 -0
- package/scss/datepicker/_layout.scss +48 -0
- package/scss/datepicker/_theme.scss +87 -0
- package/scss/datepicker/_variables.scss +1 -0
- package/scss/{datetime → datetimepicker}/_index.scss +5 -4
- package/scss/datetimepicker/_layout.scss +120 -0
- package/scss/datetimepicker/_theme.scss +89 -0
- package/scss/datetimepicker/_variables.scss +2 -0
- package/scss/drawer/_index.scss +1 -0
- 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/dropdowntree/_layout.scss +1 -9
- package/scss/expansion-panel/_index.scss +1 -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 +7 -28
- package/scss/gantt/_index.scss +1 -1
- package/scss/grid/_index.scss +2 -1
- package/scss/grid/_layout.scss +13 -69
- package/scss/index.scss +8 -3
- package/scss/input/_layout.scss +25 -26
- package/scss/input/_variables.scss +15 -0
- package/scss/list/_index.scss +11 -0
- package/scss/list/_layout.scss +200 -0
- package/scss/list/_theme.scss +104 -0
- package/scss/list/_variables.scss +17 -0
- package/scss/list/index.md +0 -0
- package/scss/listbox/_index.scss +1 -0
- package/scss/menu/_index.scss +1 -0
- package/scss/menu/_layout.scss +4 -6
- package/scss/menu/_variables.scss +2 -2
- package/scss/multiselect/_index.scss +2 -0
- package/scss/pager/_index.scss +1 -0
- package/scss/panelbar/_index.scss +1 -0
- package/scss/panelbar/_theme.scss +9 -2
- package/scss/panelbar/_variables.scss +4 -0
- package/scss/pivotgrid/_index.scss +1 -0
- package/scss/pivotgrid/_layout.scss +0 -16
- package/scss/pivotgrid/_variables.scss +0 -3
- package/scss/popover/_layout.scss +0 -1
- package/scss/popup/_index.scss +0 -4
- package/scss/popup/_layout.scss +2 -271
- package/scss/popup/_theme.scss +4 -148
- package/scss/popup/_variables.scss +2 -7
- package/scss/radio/_index.scss +1 -0
- package/scss/radio/index.md +0 -0
- package/scss/scheduler/_index.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 +0 -3
- package/scss/switch/index.md +0 -0
- package/scss/table/_index.scss +19 -0
- package/scss/table/_layout.scss +228 -0
- package/scss/table/_theme.scss +81 -0
- package/scss/table/_variables.scss +114 -0
- package/scss/tabstrip/_index.scss +1 -0
- package/scss/tabstrip/_layout.scss +1 -1
- package/scss/tabstrip/_variables.scss +2 -2
- package/scss/timepicker/_index.scss +15 -0
- package/scss/timepicker/_layout.scss +48 -0
- package/scss/timepicker/_theme.scss +87 -0
- package/scss/timepicker/_variables.scss +1 -0
- package/scss/timeselector/_index.scss +13 -0
- package/scss/timeselector/_layout.scss +207 -0
- package/scss/timeselector/_theme.scss +70 -0
- package/scss/timeselector/_variables.scss +32 -0
- 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/datetime/_layout.scss +0 -462
- package/scss/datetime/_theme.scss +0 -321
- package/scss/datetime/_variables.scss +0 -53
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
@include exports("table/layout") {
|
|
2
|
+
|
|
3
|
+
// Table
|
|
4
|
+
.k-table {
|
|
5
|
+
width: 100%;
|
|
6
|
+
max-width: none;
|
|
7
|
+
border-width: $table-border-width;
|
|
8
|
+
border-style: solid;
|
|
9
|
+
border-collapse: collapse;
|
|
10
|
+
border-spacing: 0;
|
|
11
|
+
empty-cells: show;
|
|
12
|
+
outline: none;
|
|
13
|
+
font-size: $table-font-size;
|
|
14
|
+
line-height: $line-height;
|
|
15
|
+
text-align: left;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
// Data table
|
|
20
|
+
.k-data-table {
|
|
21
|
+
border-width: $table-border-width;
|
|
22
|
+
border-style: solid;
|
|
23
|
+
|
|
24
|
+
.k-table {
|
|
25
|
+
table-layout: fixed;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
// Table native parts
|
|
31
|
+
.k-table-thead,
|
|
32
|
+
.k-table-tbody,
|
|
33
|
+
.k-table-tfoot {
|
|
34
|
+
text-align: inherit;
|
|
35
|
+
}
|
|
36
|
+
.k-table-row,
|
|
37
|
+
.k-table-alt-row {
|
|
38
|
+
border-color: inherit;
|
|
39
|
+
}
|
|
40
|
+
.k-table-th,
|
|
41
|
+
.k-table-td {
|
|
42
|
+
padding: $table-cell-padding-y $table-cell-padding-x;
|
|
43
|
+
border-width: 0 0 $grid-cell-horizontal-border-width $table-cell-vertical-border-width;
|
|
44
|
+
border-style: solid;
|
|
45
|
+
border-color: inherit;
|
|
46
|
+
box-sizing: border-box;
|
|
47
|
+
font-weight: normal;
|
|
48
|
+
text-align: inherit;
|
|
49
|
+
white-space: nowrap;
|
|
50
|
+
text-overflow: ellipsis;
|
|
51
|
+
display: table-cell;
|
|
52
|
+
overflow: hidden;
|
|
53
|
+
position: relative;
|
|
54
|
+
|
|
55
|
+
&:first-child {
|
|
56
|
+
border-left-width: 0;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
// Table header
|
|
62
|
+
.k-table-header {
|
|
63
|
+
padding-inline-end: var(--kendo-scrollbar-width);
|
|
64
|
+
border-width: 0 0 1px 0;
|
|
65
|
+
border-style: solid;
|
|
66
|
+
box-sizing: border-box;
|
|
67
|
+
|
|
68
|
+
.k-table {
|
|
69
|
+
border-width: 0;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
.k-table-header-wrap {
|
|
73
|
+
margin-right: -1px;
|
|
74
|
+
width: 100%;
|
|
75
|
+
border-width: 0 $table-cell-vertical-border-width 0 0;
|
|
76
|
+
border-style: solid;
|
|
77
|
+
overflow: hidden;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
// Table list
|
|
82
|
+
.k-table-list {
|
|
83
|
+
margin: 0;
|
|
84
|
+
padding: 0;
|
|
85
|
+
width: 100%;
|
|
86
|
+
max-width: none;
|
|
87
|
+
border-width: 0;
|
|
88
|
+
display: table;
|
|
89
|
+
border-collapse: collapse;
|
|
90
|
+
border-spacing: 0;
|
|
91
|
+
table-layout: fixed;
|
|
92
|
+
empty-cells: show;
|
|
93
|
+
list-style: none;
|
|
94
|
+
outline: none;
|
|
95
|
+
|
|
96
|
+
.k-table-row,
|
|
97
|
+
.k-table-group-row {
|
|
98
|
+
width: 100%;
|
|
99
|
+
box-sizing: border-box;
|
|
100
|
+
display: table-row;
|
|
101
|
+
position: relative;
|
|
102
|
+
}
|
|
103
|
+
.k-table-row.k-first {
|
|
104
|
+
border-top: 1px solid currentColor;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.k-table-th,
|
|
108
|
+
.k-table-td {
|
|
109
|
+
vertical-align: middle;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.k-table-group-row {
|
|
113
|
+
|
|
114
|
+
&::before {
|
|
115
|
+
content: ".";
|
|
116
|
+
padding: $table-cell-padding-y 0;
|
|
117
|
+
width: 0;
|
|
118
|
+
display: block;
|
|
119
|
+
overflow: hidden;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.k-table-th {
|
|
123
|
+
width: 100%;
|
|
124
|
+
border-color: inherit;
|
|
125
|
+
color: inherit;
|
|
126
|
+
background-color: inherit;
|
|
127
|
+
position: absolute;
|
|
128
|
+
top: 0;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.k-table-spacer-td {
|
|
133
|
+
padding: 0 !important; // sass-lint:disable-line no-important
|
|
134
|
+
width: 0 !important; // sass-lint:disable-line no-important
|
|
135
|
+
border-left-width: 0 !important; // sass-lint:disable-line no-important
|
|
136
|
+
border-right-width: 0 !important; // sass-lint:disable-line no-important
|
|
137
|
+
}
|
|
138
|
+
.k-table-group-td {
|
|
139
|
+
padding: 0 !important; // sass-lint:disable-line no-important
|
|
140
|
+
width: 0 !important; // sass-lint:disable-line no-important
|
|
141
|
+
border-left-width: 0 !important; // sass-lint:disable-line no-important
|
|
142
|
+
border-right-width: 0 !important; // sass-lint:disable-line no-important
|
|
143
|
+
overflow: visible; // sass-lint:disable-line no-important
|
|
144
|
+
|
|
145
|
+
> span {
|
|
146
|
+
padding: 0 ( $table-cell-padding-x / 2 );
|
|
147
|
+
font-size: .75em;
|
|
148
|
+
position: absolute;
|
|
149
|
+
top: 0;
|
|
150
|
+
right: 0;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
// Virtualization
|
|
157
|
+
.k-virtual-table .k-table-row {
|
|
158
|
+
position: absolute;
|
|
159
|
+
width: 100%;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
// Table scroller
|
|
164
|
+
.k-table-scroller {
|
|
165
|
+
position: relative;
|
|
166
|
+
overflow: auto;
|
|
167
|
+
|
|
168
|
+
> .k-table {
|
|
169
|
+
border-width: 0;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
// Table footer
|
|
175
|
+
.k-table-footer {
|
|
176
|
+
padding-inline-end: var(--kendo-scrollbar-width);
|
|
177
|
+
border-width: 1px 0 0 0;
|
|
178
|
+
border-style: solid;
|
|
179
|
+
box-sizing: border-box;
|
|
180
|
+
|
|
181
|
+
.k-table {
|
|
182
|
+
border-width: 0;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
.k-table-footer-wrap {
|
|
186
|
+
margin-right: -1px;
|
|
187
|
+
width: 100%;
|
|
188
|
+
border-width: 0 $table-cell-vertical-border-width 0 0;
|
|
189
|
+
border-style: solid;
|
|
190
|
+
overflow: hidden;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
// RTL
|
|
195
|
+
.k-rtl,
|
|
196
|
+
[dir="rtl"] {
|
|
197
|
+
&.k-table,
|
|
198
|
+
.k-table {
|
|
199
|
+
text-align: right;
|
|
200
|
+
|
|
201
|
+
.k-table-th,
|
|
202
|
+
.k-table-td {
|
|
203
|
+
border-left-width: 0;
|
|
204
|
+
border-right-width: $table-cell-vertical-border-width;
|
|
205
|
+
|
|
206
|
+
&:first-child {
|
|
207
|
+
border-right-width: 0;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.k-table-header-wrap,
|
|
212
|
+
.k-table-footer-wrap {
|
|
213
|
+
margin-right: 0;
|
|
214
|
+
margin-left: -1px;
|
|
215
|
+
border-left-width: $table-cell-vertical-border-width;
|
|
216
|
+
border-right-width: 0;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.k-table-list {
|
|
221
|
+
.k-table-group-td > span {
|
|
222
|
+
left: 0;
|
|
223
|
+
right: auto;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
@include exports("table/theme") {
|
|
2
|
+
|
|
3
|
+
// Table
|
|
4
|
+
.k-table,
|
|
5
|
+
.k-data-table {
|
|
6
|
+
border-color: $table-border;
|
|
7
|
+
color: $table-text;
|
|
8
|
+
background-color: $table-bg;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
// Table header
|
|
13
|
+
.k-table-thead,
|
|
14
|
+
.k-table-header {
|
|
15
|
+
border-color: $table-header-border;
|
|
16
|
+
color: $table-header-text;
|
|
17
|
+
background-color: $table-header-bg;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
// Table footer
|
|
22
|
+
.k-table-tfoot,
|
|
23
|
+
.k-table-footer {
|
|
24
|
+
border-color: $table-footer-border;
|
|
25
|
+
color: $table-footer-text;
|
|
26
|
+
background-color: $table-footer-bg;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
// Group row
|
|
31
|
+
.k-table-group-row {
|
|
32
|
+
border-color: $table-group-row-border;
|
|
33
|
+
color: $table-group-row-text;
|
|
34
|
+
background-color: $table-group-row-bg;
|
|
35
|
+
}
|
|
36
|
+
.k-table-group-td > span {
|
|
37
|
+
color: $table-bg;
|
|
38
|
+
background-color: $table-text;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
// Alternating row
|
|
43
|
+
.k-table-alt-row {
|
|
44
|
+
border-color: $table-alt-row-border;
|
|
45
|
+
color: $table-alt-row-text;
|
|
46
|
+
background-color: $table-alt-row-bg;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
// Hover state
|
|
51
|
+
.k-table-tbody .k-table-row:hover,
|
|
52
|
+
.k-table-list .k-table-row:hover,
|
|
53
|
+
.k-table-tbody .k-table-row.k-hover,
|
|
54
|
+
.k-table-list .k-table-row.k-hover {
|
|
55
|
+
border-color: $table-hover-border;
|
|
56
|
+
color: $table-hover-text;
|
|
57
|
+
background-color: $table-hover-bg;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
// Focus state
|
|
62
|
+
.k-table-tbody .k-table-row.k-focus,
|
|
63
|
+
.k-table-list .k-table-row.k-focus,
|
|
64
|
+
.k-table-tbody .k-table-td.k-focus,
|
|
65
|
+
.k-table-list .k-table-td.k-focus {
|
|
66
|
+
border-color: $table-focus-border;
|
|
67
|
+
color: $table-focus-text;
|
|
68
|
+
background-color: $table-focus-bg;
|
|
69
|
+
box-shadow: $table-focus-shadow;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
// Selected state
|
|
74
|
+
.k-table-tbody .k-table-row.k-selected,
|
|
75
|
+
.k-table-list .k-table-row.k-selected {
|
|
76
|
+
border-color: $table-selected-border;
|
|
77
|
+
color: $table-selected-text;
|
|
78
|
+
background-color: $table-selected-bg;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
// Table
|
|
2
|
+
|
|
3
|
+
/// The width of the table border.
|
|
4
|
+
/// @group table
|
|
5
|
+
$table-border-width: 1px !default;
|
|
6
|
+
/// The width of vertical border of table cells.
|
|
7
|
+
/// @group table
|
|
8
|
+
$table-cell-vertical-border-width: $grid-cell-vertical-border-width !default;
|
|
9
|
+
/// The width of horizontal border of table cells.
|
|
10
|
+
/// @group table
|
|
11
|
+
$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
|
+
$table-font-size: $font-size !default;
|
|
16
|
+
|
|
17
|
+
/// The horizontal padding of the cells in the table if no size is specified.
|
|
18
|
+
/// @group table
|
|
19
|
+
$table-cell-padding-x: map-get( $spacing, 2 ) !default;
|
|
20
|
+
|
|
21
|
+
/// The vertical padding of the cells in the table if no size is specified.
|
|
22
|
+
/// @group table
|
|
23
|
+
$table-cell-padding-y: map-get( $spacing, 2 ) !default;
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
/// Background color of tables.
|
|
27
|
+
/// @group table
|
|
28
|
+
$table-bg: $grid-bg !default;
|
|
29
|
+
/// Text color of tables.
|
|
30
|
+
/// @group table
|
|
31
|
+
$table-text: $grid-text !default;
|
|
32
|
+
/// Border color of tables.
|
|
33
|
+
/// @group table
|
|
34
|
+
$table-border: $grid-border !default;
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/// Background color of table headers.
|
|
38
|
+
/// @group table
|
|
39
|
+
$table-header-bg: $grid-header-bg !default;
|
|
40
|
+
/// Text color of table headers.
|
|
41
|
+
/// @group table
|
|
42
|
+
$table-header-text: $grid-header-text !default;
|
|
43
|
+
/// Border color of table headers.
|
|
44
|
+
/// @group table
|
|
45
|
+
$table-header-border: $grid-header-border !default;
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
/// Background color of table footers.
|
|
49
|
+
/// @group table
|
|
50
|
+
$table-footer-bg: $grid-footer-bg !default;
|
|
51
|
+
/// Text color of table footers.
|
|
52
|
+
/// @group table
|
|
53
|
+
$table-footer-text: $grid-footer-text !default;
|
|
54
|
+
/// Border color of table footers.
|
|
55
|
+
/// @group table
|
|
56
|
+
$table-footer-border: $grid-footer-border !default;
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
/// Background color of group rows in table.
|
|
60
|
+
/// @group table
|
|
61
|
+
$table-group-row-bg: $grid-grouping-row-bg !default;
|
|
62
|
+
/// Text color of group rows in table.
|
|
63
|
+
/// @group table
|
|
64
|
+
$table-group-row-text: $grid-grouping-row-text !default;
|
|
65
|
+
/// Border color of group rows in table.
|
|
66
|
+
/// @group table
|
|
67
|
+
$table-group-row-border: null !default;
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
/// Background color of alternating rows in table.
|
|
71
|
+
/// @group table
|
|
72
|
+
$table-alt-row-bg: $grid-alt-bg !default;
|
|
73
|
+
/// Text color of alternating rows in table.
|
|
74
|
+
/// @group table
|
|
75
|
+
$table-alt-row-text: $grid-alt-text !default;
|
|
76
|
+
/// Border color of alternating rows in table.
|
|
77
|
+
/// @group table
|
|
78
|
+
$table-alt-row-border: $grid-alt-border !default;
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
/// Background color of hovered rows in table.
|
|
82
|
+
/// @group table
|
|
83
|
+
$table-hover-bg: $grid-hovered-bg !default;
|
|
84
|
+
/// Text color of hovered rows in table.
|
|
85
|
+
/// @group table
|
|
86
|
+
$table-hover-text: $grid-hovered-text !default;
|
|
87
|
+
/// Border color of hovered rows in table.
|
|
88
|
+
/// @group table
|
|
89
|
+
$table-hover-border: $grid-hovered-border !default;
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
/// Background color of focused rows in table.
|
|
93
|
+
/// @group table
|
|
94
|
+
$table-focus-bg: null !default;
|
|
95
|
+
/// Text color of focused rows in table.
|
|
96
|
+
/// @group table
|
|
97
|
+
$table-focus-text: null !default;
|
|
98
|
+
/// Border color of focused rows in table.
|
|
99
|
+
/// @group table
|
|
100
|
+
$table-focus-border: null !default;
|
|
101
|
+
/// Box shadow of focused rows in table.
|
|
102
|
+
/// @group table
|
|
103
|
+
$table-focus-shadow: $grid-focused-shadow !default;
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
/// Background color of selected rows in table.
|
|
107
|
+
/// @group table
|
|
108
|
+
$table-selected-bg: $grid-selected-bg !default;
|
|
109
|
+
/// Text color of selected rows in table.
|
|
110
|
+
/// @group table
|
|
111
|
+
$table-selected-text: $grid-selected-text !default;
|
|
112
|
+
/// Border color of selected rows in table.
|
|
113
|
+
/// @group table
|
|
114
|
+
$table-selected-border: $grid-selected-border !default;
|
|
@@ -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;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@import "../core/_index.scss";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
// Dependencies
|
|
5
|
+
@import "../input/_index.scss";
|
|
6
|
+
@import "../button/_index.scss";
|
|
7
|
+
@import "../popup/_index.scss";
|
|
8
|
+
@import "../list/_index.scss";
|
|
9
|
+
@import "../timeselector/_index.scss";
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
// Component
|
|
13
|
+
@import "_variables.scss";
|
|
14
|
+
@import "_layout.scss";
|
|
15
|
+
@import "_theme.scss";
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
@include exports( "timepicker/layout" ) {
|
|
2
|
+
|
|
3
|
+
// Time picker
|
|
4
|
+
.k-timepicker {
|
|
5
|
+
@include border-radius( $input-border-radius );
|
|
6
|
+
width: $input-default-width;
|
|
7
|
+
border-width: $input-border-width;
|
|
8
|
+
border-style: solid;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
outline: 0;
|
|
11
|
+
font-family: $input-font-family;
|
|
12
|
+
font-size: $input-font-size;
|
|
13
|
+
line-height: $input-line-height;
|
|
14
|
+
text-align: start;
|
|
15
|
+
white-space: nowrap;
|
|
16
|
+
display: inline-flex;
|
|
17
|
+
flex-flow: row nowrap;
|
|
18
|
+
vertical-align: middle;
|
|
19
|
+
position: relative;
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
transition: all .1s ease; // sass-lint:disable-line no-transition-all
|
|
22
|
+
-webkit-touch-callout: none;
|
|
23
|
+
-webkit-tap-highlight-color: $rgba-transparent;
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
// Input
|
|
27
|
+
.k-input {}
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
// Select
|
|
31
|
+
.k-select {
|
|
32
|
+
padding: $picker-select-padding-y $picker-select-padding-x;
|
|
33
|
+
width: if( $use-picker-select-width, $spinner-width, null );
|
|
34
|
+
border-width: 0;
|
|
35
|
+
border-inline-start-width: $picker-select-border-width;
|
|
36
|
+
border-style: solid;
|
|
37
|
+
box-sizing: border-box;
|
|
38
|
+
outline: 0;
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-flow: row nowrap;
|
|
41
|
+
align-items: center;
|
|
42
|
+
justify-content: center;
|
|
43
|
+
flex: 0 0 auto;
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
@include exports( "timepicker/theme" ) {
|
|
2
|
+
|
|
3
|
+
// Time picker
|
|
4
|
+
.k-timepicker {
|
|
5
|
+
@include fill(
|
|
6
|
+
$input-text,
|
|
7
|
+
$input-bg,
|
|
8
|
+
$input-border
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
// Hover state
|
|
12
|
+
&:hover,
|
|
13
|
+
&.k-state-hover {
|
|
14
|
+
@include fill(
|
|
15
|
+
$input-hovered-text,
|
|
16
|
+
$input-hovered-bg,
|
|
17
|
+
$input-hovered-border
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// Focus state
|
|
22
|
+
&:focus,
|
|
23
|
+
&.k-state-focus {
|
|
24
|
+
@include fill(
|
|
25
|
+
$input-focused-text,
|
|
26
|
+
$input-focused-bg,
|
|
27
|
+
$input-focused-border
|
|
28
|
+
);
|
|
29
|
+
@include box-shadow( $input-focused-shadow );
|
|
30
|
+
}
|
|
31
|
+
&:focus-within {
|
|
32
|
+
@include fill(
|
|
33
|
+
$input-focused-text,
|
|
34
|
+
$input-focused-bg,
|
|
35
|
+
$input-focused-border
|
|
36
|
+
);
|
|
37
|
+
@include box-shadow( $input-focused-shadow );
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
// Invalid state
|
|
42
|
+
&.k-invalid,
|
|
43
|
+
&.ng-invalid,
|
|
44
|
+
&.k-state-invalid {
|
|
45
|
+
border-color: $invalid-border;
|
|
46
|
+
|
|
47
|
+
.k-input-validation-icon {
|
|
48
|
+
color: $invalid-text;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&:focus-within,
|
|
52
|
+
&.k-state-focus {
|
|
53
|
+
@include box-shadow($invalid-shadow);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
// Spinner
|
|
59
|
+
.k-select {
|
|
60
|
+
@include fill(
|
|
61
|
+
$picker-select-text,
|
|
62
|
+
$picker-select-bg,
|
|
63
|
+
$picker-select-border,
|
|
64
|
+
$picker-select-gradient
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
.k-select:hover,
|
|
68
|
+
.k-select.k-state-hover {
|
|
69
|
+
@include fill(
|
|
70
|
+
$picker-select-hovered-text,
|
|
71
|
+
$picker-select-hovered-bg,
|
|
72
|
+
$picker-select-hovered-border,
|
|
73
|
+
$picker-select-hovered-gradient
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
.k-select:active,
|
|
77
|
+
.k-select.k-state-active {
|
|
78
|
+
@include fill(
|
|
79
|
+
$picker-select-pressed-text,
|
|
80
|
+
$picker-select-pressed-bg,
|
|
81
|
+
$picker-select-pressed-border,
|
|
82
|
+
$picker-select-pressed-gradient
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
}
|
|
@@ -0,0 +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";
|