@progress/kendo-theme-default 5.0.0-beta.1 → 5.0.0-beta.5
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 +2422 -2157
- package/dist/all.scss +3248 -2881
- package/dist/default-dataviz-v4.scss +8 -0
- package/dist/default-main-dark.scss +5 -5
- package/dist/default-main.scss +5 -5
- package/lib/swatches/default-dataviz-v4.json +51 -0
- package/lib/swatches/default-main-dark.json +5 -5
- package/lib/swatches/default-main.json +5 -5
- package/package.json +2 -2
- package/scss/_layout.scss +0 -0
- package/scss/adaptive/_layout.scss +47 -71
- package/scss/adaptive/_theme.scss +0 -9
- package/scss/appbar/_layout.scss +22 -3
- package/scss/appbar/_variables.scss +1 -1
- package/scss/autocomplete/_theme.scss +1 -1
- package/scss/autocomplete/_variables.scss +0 -19
- package/scss/avatar/index.md +0 -0
- package/scss/button/_layout.scss +85 -136
- package/scss/button/_theme.scss +175 -204
- package/scss/button/_variables.scss +58 -31
- package/scss/calendar/_layout.scss +2 -2
- package/scss/card/_variables.scss +4 -4
- package/scss/chat/_layout.scss +9 -9
- package/scss/chat/_theme.scss +0 -21
- package/scss/chat/_variables.scss +0 -7
- package/scss/checkbox/_index.scss +1 -1
- package/scss/checkbox/_layout.scss +112 -163
- package/scss/checkbox/_theme.scss +6 -4
- package/scss/checkbox/_variables.scss +64 -73
- package/scss/checkbox/index.md +0 -0
- package/scss/chip/_index.scss +1 -0
- package/scss/chip/_layout.scss +110 -32
- package/scss/chip/_theme.scss +7 -6
- package/scss/chip/_variables.scss +12 -12
- package/scss/chip/index.md +0 -0
- package/scss/color-preview/_layout.scss +27 -15
- package/scss/color-preview/_theme.scss +1 -14
- 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 +0 -4
- package/scss/colorpicker/_index.scss +1 -2
- package/scss/colorpicker/_layout.scss +7 -2
- package/scss/colorpicker/_theme.scss +2 -2
- package/scss/colorpicker/_variables.scss +1 -20
- package/scss/combobox/_layout.scss +1 -1
- package/scss/combobox/_theme.scss +1 -1
- package/scss/combobox/_variables.scss +1 -31
- package/scss/common/_loading.scss +1 -13
- package/scss/dataviz/_variables.scss +6 -6
- 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 +31 -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/dropdowngrid/index.md +0 -0
- package/scss/dropdownlist/_layout.scss +15 -0
- package/scss/editor/_layout.scss +24 -11
- 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 +13 -2
- package/scss/filter/_theme.scss +3 -1
- package/scss/forms/_layout.scss +11 -10
- package/scss/gantt/_index.scss +1 -1
- package/scss/gantt/_layout.scss +1 -1
- package/scss/grid/_index.scss +1 -1
- package/scss/grid/_layout.scss +135 -119
- package/scss/grid/_theme.scss +0 -6
- package/scss/grid/_variables.scss +7 -7
- package/scss/imageeditor/_layout.scss +4 -8
- package/scss/imageeditor/_variables.scss +1 -0
- package/scss/index.scss +2 -1
- package/scss/input/_layout.scss +89 -9
- package/scss/input/_theme.scss +32 -4
- package/scss/input/_variables.scss +16 -26
- package/scss/list/_index.scss +1 -0
- package/scss/list/_layout.scss +36 -8
- package/scss/list/_theme.scss +2 -1
- package/scss/list/_variables.scss +19 -19
- package/scss/list/index.md +0 -0
- package/scss/listbox/_layout.scss +9 -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 +13 -1
- package/scss/menu/_layout.scss +58 -29
- package/scss/menu/_variables.scss +55 -45
- package/scss/multiselect/_layout.scss +4 -1
- package/scss/multiselect/_theme.scss +4 -1
- package/scss/numerictextbox/_layout.scss +12 -2
- package/scss/numerictextbox/_theme.scss +1 -1
- package/scss/numerictextbox/_variables.scss +1 -1
- package/scss/orgchart/_variables.scss +2 -2
- package/scss/pager/_variables.scss +1 -1
- package/scss/panelbar/_theme.scss +9 -2
- package/scss/panelbar/_variables.scss +4 -0
- package/scss/pdf-viewer/_layout.scss +23 -16
- package/scss/pdf-viewer/_variables.scss +2 -5
- package/scss/pivotgrid/_layout.scss +8 -8
- package/scss/pivotgrid/_variables.scss +0 -3
- package/scss/radio/_index.scss +1 -1
- package/scss/radio/_layout.scss +123 -165
- package/scss/radio/_theme.scss +4 -4
- package/scss/radio/_variables.scss +69 -90
- package/scss/radio/index.md +0 -0
- package/scss/scheduler/_index.scss +1 -1
- package/scss/scheduler/_layout.scss +26 -13
- package/scss/scrollview/_layout.scss +6 -1
- package/scss/skeleton/_layout.scss +1 -1
- package/scss/slider/_layout.scss +69 -125
- package/scss/slider/_theme.scss +0 -6
- package/scss/spreadsheet/_index.scss +1 -1
- package/scss/spreadsheet/_layout.scss +32 -19
- package/scss/switch/_layout.scss +4 -2
- package/scss/switch/index.md +0 -0
- package/scss/table/_layout.scss +64 -7
- package/scss/table/_theme.scss +3 -2
- package/scss/table/_variables.scss +15 -15
- package/scss/tabstrip/_layout.scss +6 -2
- package/scss/taskboard/_layout.scss +2 -1
- package/scss/taskboard/_variables.scss +0 -2
- package/scss/textarea/_layout.scss +3 -1
- package/scss/timepicker/_index.scss +3 -3
- package/scss/timepicker/_variables.scss +1 -1
- package/scss/{datetime → timeselector}/_index.scss +2 -5
- package/scss/timeselector/_layout.scss +208 -0
- package/scss/{datetime → timeselector}/_theme.scss +21 -21
- package/scss/timeselector/_variables.scss +32 -0
- package/scss/toolbar/_layout.scss +33 -2
- package/scss/toolbar/_theme.scss +35 -7
- package/scss/toolbar/_variables.scss +2 -0
- package/scss/treelist/_layout.scss +4 -0
- package/scss/treeview/_layout.scss +130 -123
- package/scss/treeview/_theme.scss +51 -42
- package/scss/treeview/_variables.scss +125 -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/_layout.scss +12 -2
- package/scss/window/_variables.scss +1 -1
- package/scss/datetime/_layout.scss +0 -221
- package/scss/datetime/_variables.scss +0 -53
|
@@ -1,47 +1,126 @@
|
|
|
1
1
|
// Treeview
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
$treeview-font-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
$treeview-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
$treeview-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
$treeview-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
$treeview-item-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
$treeview-item-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
$treeview-item-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
$treeview-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
$
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
$
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
$
|
|
2
|
+
|
|
3
|
+
/// Font family of the treeview component.
|
|
4
|
+
/// @group treeview
|
|
5
|
+
$kendo-treeview-font-family: $font-family !default;
|
|
6
|
+
/// Font size of the treeview component.
|
|
7
|
+
/// @group treeview
|
|
8
|
+
$kendo-treeview-font-size: $font-size-md !default;
|
|
9
|
+
/// Line height of the treeview component.
|
|
10
|
+
/// @group treeview
|
|
11
|
+
$kendo-treeview-line-height: $line-height-md !default;
|
|
12
|
+
|
|
13
|
+
/// Indentation of child groups in treeview component.
|
|
14
|
+
/// @group treeview
|
|
15
|
+
$kendo-treeview-indent: 16px !default;
|
|
16
|
+
|
|
17
|
+
/// Horizontal padding of treeview items.
|
|
18
|
+
/// @group treeview
|
|
19
|
+
$kendo-treeview-item-padding-x: map-get( $spacing, 2 ) !default;
|
|
20
|
+
/// Vertical padding of treeview items.
|
|
21
|
+
/// @group treeview
|
|
22
|
+
$kendo-treeview-item-padding-y: map-get( $spacing, 1 ) !default;
|
|
23
|
+
/// Border width of treeview items.
|
|
24
|
+
/// @group treeview
|
|
25
|
+
$kendo-treeview-item-border-width: 0px !default;
|
|
26
|
+
/// Border radius of treeview items.
|
|
27
|
+
/// @group treeview
|
|
28
|
+
$kendo-treeview-item-border-radius: $border-radius !default;
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
/// The sizes of the treeview.
|
|
32
|
+
/// @group treeview
|
|
33
|
+
$kendo-treeview-sizes: (
|
|
34
|
+
sm: (
|
|
35
|
+
font-size: $font-size-md,
|
|
36
|
+
line-height: $line-height-md,
|
|
37
|
+
item-padding-x: map-get( $spacing, 2 ),
|
|
38
|
+
item-padding-y: map-get( $spacing, 1 ) - map-get( $spacing, thin )
|
|
39
|
+
),
|
|
40
|
+
md: (
|
|
41
|
+
font-size: $font-size-md,
|
|
42
|
+
line-height: $line-height-md,
|
|
43
|
+
item-padding-x: map-get( $spacing, 2 ),
|
|
44
|
+
item-padding-y: map-get( $spacing, 1 )
|
|
45
|
+
),
|
|
46
|
+
lg: (
|
|
47
|
+
font-size: $font-size-md,
|
|
48
|
+
line-height: $line-height-md,
|
|
49
|
+
item-padding-x: map-get( $spacing, 2 ),
|
|
50
|
+
item-padding-y: map-get( $spacing, 1 ) + map-get( $spacing, thin )
|
|
51
|
+
)
|
|
52
|
+
) !default;
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
/// Background color of the treeview component.
|
|
56
|
+
/// @group treeview
|
|
57
|
+
$kendo-treeview-bg: null !default;
|
|
58
|
+
/// Text color of the treeview component.
|
|
59
|
+
/// @group treeview
|
|
60
|
+
$kendo-treeview-text: $component-text !default;
|
|
61
|
+
/// Border color of the treeview component.
|
|
62
|
+
/// @group treeview
|
|
63
|
+
$kendo-treeview-border: null !default;
|
|
64
|
+
|
|
65
|
+
/// Background color of hovered treeview items.
|
|
66
|
+
/// @group treeview
|
|
67
|
+
$kendo-treeview-item-hover-bg: $hovered-bg !default;
|
|
68
|
+
/// Text color of hovered treeview items.
|
|
69
|
+
/// @group treeview
|
|
70
|
+
$kendo-treeview-item-hover-text: $hovered-text !default;
|
|
71
|
+
/// Border color of hovered treeview items.
|
|
72
|
+
/// @group treeview
|
|
73
|
+
$kendo-treeview-item-hover-border: null !default;
|
|
74
|
+
/// Background gradient of hovered treeview items.
|
|
75
|
+
/// @group treeview
|
|
76
|
+
$kendo-treeview-item-hover-gradient: null !default;
|
|
77
|
+
|
|
78
|
+
/// Background color of selected treeview items.
|
|
79
|
+
/// @group treeview
|
|
80
|
+
$kendo-treeview-item-selected-bg: $selected-bg !default;
|
|
81
|
+
/// Text color of selected treeview items.
|
|
82
|
+
/// @group treeview
|
|
83
|
+
$kendo-treeview-item-selected-text: $selected-text !default;
|
|
84
|
+
/// Border color of selected treeview items.
|
|
85
|
+
/// @group treeview
|
|
86
|
+
$kendo-treeview-item-selected-border: null !default;
|
|
87
|
+
/// Background gradient of selected treeview items.
|
|
88
|
+
/// @group treeview
|
|
89
|
+
$kendo-treeview-item-selected-gradient: null !default;
|
|
90
|
+
|
|
91
|
+
/// Box shadow of focused treeview items.
|
|
92
|
+
/// @group treeview
|
|
93
|
+
$kendo-treeview-item-focus-shadow: $focused-shadow !default;
|
|
94
|
+
|
|
95
|
+
/// Background color of load more.
|
|
96
|
+
/// @group treeview
|
|
97
|
+
$kendo-treeview-loadmore-bg: transparent !default;
|
|
98
|
+
/// Text color of load more.
|
|
99
|
+
/// @group treeview
|
|
100
|
+
$kendo-treeview-loadmore-text: $link-text !default;
|
|
101
|
+
/// Border color of load more.
|
|
102
|
+
/// @group treeview
|
|
103
|
+
$kendo-treeview-loadmore-border: null !default;
|
|
104
|
+
|
|
105
|
+
/// Background color of a hovered load more.
|
|
106
|
+
/// @group treeview
|
|
107
|
+
$kendo-treeview-loadmore-hover-bg: transparent !default;
|
|
108
|
+
/// Text color of a hovered load more.
|
|
109
|
+
/// @group treeview
|
|
110
|
+
$kendo-treeview-loadmore-hover-text: $link-hover-text !default;
|
|
111
|
+
/// Border color of a hovered load more.
|
|
112
|
+
/// @group treeview
|
|
113
|
+
$kendo-treeview-loadmore-hover-border: null !default;
|
|
114
|
+
|
|
115
|
+
/// Background color of a focused load more.
|
|
116
|
+
/// @group treeview
|
|
117
|
+
$kendo-treeview-loadmore-focus-bg: transparent !default;
|
|
118
|
+
/// Text color of a focused load more.
|
|
119
|
+
/// @group treeview
|
|
120
|
+
$kendo-treeview-loadmore-focus-text: $link-hover-text !default;
|
|
121
|
+
/// Border color of a focused load more.
|
|
122
|
+
/// @group treeview
|
|
123
|
+
$kendo-treeview-loadmore-focus-border: null !default;
|
|
124
|
+
/// Box shadow of a focused load more.
|
|
125
|
+
/// @group treeview
|
|
126
|
+
$kendo-treeview-loadmore-focus-shadow: $kendo-treeview-item-focus-shadow !default;
|
|
@@ -9,8 +9,8 @@ $enable-typography: false !default;
|
|
|
9
9
|
$font-size: 14px !default;
|
|
10
10
|
$font-size-xs: 10px !default;
|
|
11
11
|
$font-size-sm: 12px !default;
|
|
12
|
-
$font-size-md:
|
|
13
|
-
$font-size-lg:
|
|
12
|
+
$font-size-md: $font-size !default;
|
|
13
|
+
$font-size-lg: 16px !default;
|
|
14
14
|
$font-size-xl: 20px !default;
|
|
15
15
|
|
|
16
16
|
/// Font family across all components.
|
|
@@ -25,7 +25,7 @@ $font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Roboto Mono",
|
|
|
25
25
|
/// @group typography
|
|
26
26
|
$line-height: (20 / 14) !default;
|
|
27
27
|
$line-height-xs: 1 !default;
|
|
28
|
-
$line-height-sm: 1.
|
|
28
|
+
$line-height-sm: 1.25 !default;
|
|
29
29
|
$line-height-md: $line-height !default;
|
|
30
30
|
$line-height-lg: 1.5 !default;
|
|
31
31
|
$line-height-em: $line-height * 1em !default;
|
package/scss/utils/_border.scss
CHANGED
package/scss/utils/_flex.scss
CHANGED
|
@@ -8,34 +8,42 @@
|
|
|
8
8
|
/// @description This is equivalent to `display: flex`. It defines a flex container and enables a flex context for all its direct children. Think of flex items as primarily laying out either in horizontal rows or vertical columns.
|
|
9
9
|
/// @group flex-layout
|
|
10
10
|
.k-d-flex { display: flex; }
|
|
11
|
+
.\!k-d-flex { display: flex !important; } // sass-lint:disable-line no-important class-name-format
|
|
11
12
|
/// @name k-d-inline-flex
|
|
12
13
|
/// @description This is equivalent to `display: inline-flex`. It defines a flex container and enables a flex context for all its direct children. Think of flex items as primarily laying out either in horizontal rows or vertical columns.
|
|
13
14
|
/// @group flex-layout
|
|
14
15
|
.k-d-inline-flex { display: inline-flex; }
|
|
16
|
+
.\!k-d-inline-flex { display: inline-flex !important; } // sass-lint:disable-line no-important class-name-format
|
|
15
17
|
/// @name k-d-flex-row
|
|
16
18
|
/// @description This is equivalent to `display: inline-flex` and `flex-direction: row`.
|
|
17
19
|
/// @group flex-layout
|
|
18
|
-
.k-d-flex-row {
|
|
20
|
+
.k-d-flex-row { @extend .k-d-flex, .k-flex-row; }
|
|
21
|
+
.\!k-d-flex-row { @extend .\!k-d-flex, .\!k-flex-row; } // sass-lint:disable-line class-name-format
|
|
19
22
|
/// @name k-d-flex-col
|
|
20
23
|
/// @description This is equivalent to `display: inline-flex` and `flex-direction: column`.
|
|
21
24
|
/// @group flex-layout
|
|
22
|
-
.k-d-flex-col {
|
|
25
|
+
.k-d-flex-col { @extend .k-d-flex, .k-flex-col; }
|
|
26
|
+
.\!k-d-flex-col { @extend .\!k-d-flex, .\!k-flex-row; } // sass-lint:disable-line class-name-format
|
|
23
27
|
/// @name k-flex-row
|
|
24
28
|
/// @description This is equivalent to `flex-direction: row`. This establishes the main-axis to be horizontal, thus defining the direction flex items are placed in the flex container: left to right in `ltr`; right to left in `rtl`.
|
|
25
29
|
/// @group flex-layout
|
|
26
30
|
.k-flex-row { flex-direction: row; }
|
|
31
|
+
.\!k-flex-row { flex-direction: row !important; } // sass-lint:disable-line no-important class-name-format
|
|
27
32
|
/// @name k-flex-row-reverse
|
|
28
33
|
/// @description This is equivalent to `flex-direction: row-reverse`. This establishes the main-axis to be horizontal, thus defining the direction flex items are placed in the flex container: right to left in `ltr`; left to right in `rtl`.
|
|
29
34
|
/// @group flex-layout
|
|
30
35
|
.k-flex-row-reverse { flex-direction: row-reverse; }
|
|
36
|
+
.\!k-flex-row-reverse { flex-direction: row-reverse !important; } // sass-lint:disable-line no-important class-name-format
|
|
31
37
|
/// @name k-flex-col
|
|
32
38
|
/// @description This is equivalent to `flex-direction: column`. This establishes the main-axis to be vertical, thus defining the direction flex items are placed in the flex container: top to bottom.
|
|
33
39
|
/// @group flex-layout
|
|
34
40
|
.k-flex-col { flex-direction: column; }
|
|
41
|
+
.\!k-flex-col { flex-direction: column !important; } // sass-lint:disable-line no-important class-name-format
|
|
35
42
|
/// @name k-flex-col-reverse
|
|
36
43
|
/// @description This is equivalent to `flex-direction: column-reverse`. This establishes the main-axis to be vertical, thus defining the direction flex items are placed in the flex container: bottom to top.
|
|
37
44
|
/// @group flex-layout
|
|
38
45
|
.k-flex-col-reverse { flex-direction: column-reverse; }
|
|
46
|
+
.\!k-flex-col-reverse { flex-direction: column-reverse; } // sass-lint:disable-line no-important class-name-format
|
|
39
47
|
|
|
40
48
|
|
|
41
49
|
// Aliases
|
|
@@ -90,7 +98,7 @@
|
|
|
90
98
|
/// @group flex-layout
|
|
91
99
|
.k-flex-shrink { flex-shrink: 1; }
|
|
92
100
|
/// @name k-flex-shrink-0
|
|
93
|
-
/// @description This is equivalent to `flex-shrink: 0`. The item will not
|
|
101
|
+
/// @description This is equivalent to `flex-shrink: 0`. The item will not shrink.
|
|
94
102
|
/// @group flex-layout
|
|
95
103
|
.k-flex-shrink-0 { flex-shrink: 0; }
|
|
96
104
|
/// @name k-flex-basis-auto
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@include exports( "virtual-scroller/layout" ) {
|
|
2
|
+
|
|
3
|
+
// Virtual scroller
|
|
4
|
+
.k-virtual-scroller {
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 100%;
|
|
7
|
+
flex: 1 1 auto;
|
|
8
|
+
overflow: auto;
|
|
9
|
+
position: relative;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
// Virtual scroller wrap
|
|
14
|
+
.k-virtual-scroller-wrap {
|
|
15
|
+
position: relative;
|
|
16
|
+
z-index: 1;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
// Virtual scroller content
|
|
21
|
+
.k-virtual-scroller-content {
|
|
22
|
+
position: absolute;
|
|
23
|
+
width: 100%;
|
|
24
|
+
top: 0;
|
|
25
|
+
inset-inline-start: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
// Virtual scroller size
|
|
30
|
+
.k-virtual-scroller-size {
|
|
31
|
+
position: relative;
|
|
32
|
+
z-index: 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// Virtual-scroller
|
package/scss/window/_layout.scss
CHANGED
|
@@ -110,10 +110,10 @@
|
|
|
110
110
|
margin-top: -($window-inner-padding-y / 2);
|
|
111
111
|
}
|
|
112
112
|
.k-window-content:first-child {
|
|
113
|
-
padding-top:
|
|
113
|
+
padding-top: clamp( #{$window-inner-padding-y}, #{$window-titlebar-padding-y}, #{$window-titlebar-padding-y} );
|
|
114
114
|
}
|
|
115
115
|
.k-window-content:last-child {
|
|
116
|
-
padding-bottom:
|
|
116
|
+
padding-bottom: clamp( #{$window-inner-padding-y}, #{$window-titlebar-padding-y}, #{$window-titlebar-padding-y} );
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
.k-window-iframecontent {
|
|
@@ -143,6 +143,16 @@
|
|
|
143
143
|
overflow: hidden;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
+
|
|
147
|
+
// Prompt
|
|
148
|
+
.k-prompt-container {
|
|
149
|
+
|
|
150
|
+
> .k-textarea {
|
|
151
|
+
width: 100%;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
}
|
|
155
|
+
|
|
146
156
|
// Resize Handles
|
|
147
157
|
.k-window {
|
|
148
158
|
.k-resize-n { top: 0; }
|
|
@@ -11,7 +11,7 @@ $window-titlebar-border-width: 0 0 1px !default;
|
|
|
11
11
|
$window-titlebar-border-style: solid !default;
|
|
12
12
|
|
|
13
13
|
$window-title-font-size: $font-size-lg !default;
|
|
14
|
-
$window-title-line-height:
|
|
14
|
+
$window-title-line-height: 1.25 !default;
|
|
15
15
|
|
|
16
16
|
$window-actions-gap: null !default;
|
|
17
17
|
|
|
@@ -1,221 +0,0 @@
|
|
|
1
|
-
@include exports("datetime/layout") {
|
|
2
|
-
|
|
3
|
-
.k-datetime-container {
|
|
4
|
-
|
|
5
|
-
.k-datetime-wrap {
|
|
6
|
-
width: $datetime-width;
|
|
7
|
-
overflow: hidden;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.k-datetime-buttongroup {
|
|
11
|
-
padding: $kendo-button-padding-x;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.k-datetime-selector {
|
|
15
|
-
display: flex;
|
|
16
|
-
transition: transform .2s;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.k-datetime-calendar-wrap,
|
|
20
|
-
.k-datetime-time-wrap {
|
|
21
|
-
text-align: center;
|
|
22
|
-
flex: 0 0 $datetime-width;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.k-timeselector {
|
|
26
|
-
outline: none;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.k-time-list-container {
|
|
30
|
-
justify-content: center;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.k-time-tab {
|
|
34
|
-
|
|
35
|
-
.k-datetime-selector {
|
|
36
|
-
transform: translateX(-100%);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.k-rtl &,
|
|
41
|
-
&.k-rtl,
|
|
42
|
-
[dir="rtl"] &,
|
|
43
|
-
&[dir="rtl"] {
|
|
44
|
-
.k-time-tab {
|
|
45
|
-
|
|
46
|
-
.k-datetime-selector {
|
|
47
|
-
transform: translateX(100%);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
// Infinite timepicker
|
|
54
|
-
.k-timeselector {}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
// Header
|
|
58
|
-
.k-time-header {
|
|
59
|
-
display: flex;
|
|
60
|
-
align-items: center;
|
|
61
|
-
justify-content: space-between;
|
|
62
|
-
padding: 2 * $padding-y $padding-x * 2;
|
|
63
|
-
line-height: $timepicker-header-height;
|
|
64
|
-
|
|
65
|
-
.k-title {
|
|
66
|
-
font-weight: bold;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.k-time-now {
|
|
70
|
-
border-width: 0;
|
|
71
|
-
line-height: inherit;
|
|
72
|
-
cursor: pointer;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
// Content
|
|
77
|
-
.k-time-list-wrapper {
|
|
78
|
-
display: inline-block;
|
|
79
|
-
overflow: hidden;
|
|
80
|
-
box-sizing: content-box;
|
|
81
|
-
overflow-x: hidden;
|
|
82
|
-
overflow-y: auto;
|
|
83
|
-
position: relative;
|
|
84
|
-
padding: $time-list-padding 0;
|
|
85
|
-
text-align: center;
|
|
86
|
-
min-width: $time-list-width;
|
|
87
|
-
height: $time-list-height;
|
|
88
|
-
flex: 1 1 auto;
|
|
89
|
-
|
|
90
|
-
.k-title {
|
|
91
|
-
display: block;
|
|
92
|
-
text-align: center;
|
|
93
|
-
font-size: $font-size-xs;
|
|
94
|
-
position: absolute;
|
|
95
|
-
text-transform: capitalize;
|
|
96
|
-
font-weight: bold;
|
|
97
|
-
min-width: 100%;
|
|
98
|
-
height: 1.5em;
|
|
99
|
-
line-height: 1.5em;
|
|
100
|
-
margin-top: -$time-list-padding;
|
|
101
|
-
z-index: 12;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
&.k-state-focused {
|
|
105
|
-
&::before,
|
|
106
|
-
&::after {
|
|
107
|
-
display: block;
|
|
108
|
-
content: " ";
|
|
109
|
-
position: absolute;
|
|
110
|
-
width: 100%;
|
|
111
|
-
left: 0;
|
|
112
|
-
pointer-events: none;
|
|
113
|
-
height: calc(50% - 1em);
|
|
114
|
-
box-sizing: border-box;
|
|
115
|
-
border-width: 0;
|
|
116
|
-
border-style: solid;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
&::before {
|
|
120
|
-
top: 0;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
&::after {
|
|
124
|
-
bottom: 0;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.k-time-container {
|
|
130
|
-
position: absolute;
|
|
131
|
-
display: block;
|
|
132
|
-
overflow-x: hidden;
|
|
133
|
-
overflow-y: scroll;
|
|
134
|
-
line-height: $line-height;
|
|
135
|
-
left: 0;
|
|
136
|
-
right: 0;
|
|
137
|
-
top: $time-list-padding;
|
|
138
|
-
bottom: $time-list-padding;
|
|
139
|
-
|
|
140
|
-
@include hide-scrollbar("right");
|
|
141
|
-
|
|
142
|
-
> ul {
|
|
143
|
-
height: auto;
|
|
144
|
-
width: $time-list-width;
|
|
145
|
-
margin: auto;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.k-rtl &,
|
|
149
|
-
&.k-rtl,
|
|
150
|
-
[dir="rtl"] &,
|
|
151
|
-
&[dir="rtl"] {
|
|
152
|
-
@include hide-scrollbar("left");
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.k-time-list-container {
|
|
157
|
-
display: flex;
|
|
158
|
-
position: relative;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.k-time-list {
|
|
162
|
-
position: absolute;
|
|
163
|
-
display: flex;
|
|
164
|
-
z-index: 10;
|
|
165
|
-
outline: 0;
|
|
166
|
-
bottom: 0;
|
|
167
|
-
right: 0;
|
|
168
|
-
left: 0;
|
|
169
|
-
top: 0;
|
|
170
|
-
|
|
171
|
-
&::before,
|
|
172
|
-
&::after {
|
|
173
|
-
display: block;
|
|
174
|
-
position: absolute;
|
|
175
|
-
content: " ";
|
|
176
|
-
height: 0;
|
|
177
|
-
line-height: 0;
|
|
178
|
-
z-index: 1;
|
|
179
|
-
width: 200%;
|
|
180
|
-
left: -50%;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
&::before { top: 0; }
|
|
184
|
-
&::after { bottom: 0; }
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.k-time-list .k-item {
|
|
188
|
-
padding: $time-list-item-padding-y $time-list-item-padding-x;
|
|
189
|
-
min-height: calc( #{decimal-round($line-height-em, 2)} + 2px );
|
|
190
|
-
line-height: calc( #{decimal-round($line-height-em, 2)} + 2px );
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.k-time-highlight {
|
|
194
|
-
position: absolute;
|
|
195
|
-
top: 50%;
|
|
196
|
-
left: 0;
|
|
197
|
-
right: 0;
|
|
198
|
-
transform: translateY(-50%);
|
|
199
|
-
width: 100%;
|
|
200
|
-
height: $kendo-button-inner-calc-size;
|
|
201
|
-
z-index: 1;
|
|
202
|
-
border-width: $time-highlight-size 0;
|
|
203
|
-
border-style: solid;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
.k-time-container .k-scrollable-placeholder {
|
|
207
|
-
position: absolute;
|
|
208
|
-
width: 1px;
|
|
209
|
-
top: 0;
|
|
210
|
-
right: 0;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.k-time-separator {
|
|
214
|
-
width: 0;
|
|
215
|
-
height: 100%;
|
|
216
|
-
display: inline-flex;
|
|
217
|
-
align-self: center;
|
|
218
|
-
justify-content: center;
|
|
219
|
-
z-index: 11;
|
|
220
|
-
}
|
|
221
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
// DateTime
|
|
2
|
-
$time-highlight-size: 1px !default;
|
|
3
|
-
|
|
4
|
-
$time-list-title-text: $subtle-text !default;
|
|
5
|
-
$time-list-title-focus-text: $component-text !default;
|
|
6
|
-
|
|
7
|
-
$time-list-highlight-bg: $component-bg !default;
|
|
8
|
-
$time-list-highlight-border: $component-border !default;
|
|
9
|
-
|
|
10
|
-
$time-list-focused-bg: rgba(0, 0, 0, .04) !default;
|
|
11
|
-
|
|
12
|
-
$time-header-padding: null !default;
|
|
13
|
-
$timepicker-header-height: 2em !default;
|
|
14
|
-
|
|
15
|
-
$time-list-padding: $padding-y * 5 !default;
|
|
16
|
-
$time-list-focus-size: 2px !default;
|
|
17
|
-
$time-list-width: 4em !default;
|
|
18
|
-
$time-list-height: 200px !default;
|
|
19
|
-
|
|
20
|
-
$time-list-item-padding-x: $padding-x !default;
|
|
21
|
-
$time-list-item-padding-y: $padding-y !default;
|
|
22
|
-
|
|
23
|
-
$dateinput-text: null !default;
|
|
24
|
-
|
|
25
|
-
$datetime-width: calc( #{$calendar-cell-size * 8} + #{$infinite-calendar-view-padding-x * 2}) !default;
|
|
26
|
-
|
|
27
|
-
$datetime-bg: $kendo-input-bg !default;
|
|
28
|
-
$datetime-text: $kendo-input-text !default;
|
|
29
|
-
$datetime-border: $kendo-input-border !default;
|
|
30
|
-
|
|
31
|
-
$datetime-hovered-bg: $kendo-input-hover-bg !default;
|
|
32
|
-
$datetime-hovered-text: $kendo-input-hover-text !default;
|
|
33
|
-
$datetime-hovered-border: $kendo-input-hover-border !default;
|
|
34
|
-
|
|
35
|
-
$datetime-focused-bg: $kendo-input-focus-bg !default;
|
|
36
|
-
$datetime-focused-text: $kendo-input-focus-text !default;
|
|
37
|
-
$datetime-focused-border: $kendo-input-focus-border !default;
|
|
38
|
-
$datetime-focused-shadow: $kendo-input-focus-shadow !default;
|
|
39
|
-
|
|
40
|
-
$datetime-select-bg: $kendo-button-bg !default;
|
|
41
|
-
$datetime-select-text: $kendo-button-text !default;
|
|
42
|
-
$datetime-select-border: $kendo-button-border !default;
|
|
43
|
-
$datetime-select-gradient: $kendo-button-gradient !default;
|
|
44
|
-
|
|
45
|
-
$datetime-select-hovered-bg: $kendo-button-hover-bg !default;
|
|
46
|
-
$datetime-select-hovered-text: $kendo-button-hover-text !default;
|
|
47
|
-
$datetime-select-hovered-border: $kendo-button-hover-border !default;
|
|
48
|
-
$datetime-select-hovered-gradient: $kendo-button-hover-gradient !default;
|
|
49
|
-
|
|
50
|
-
$datetime-select-pressed-bg: $kendo-button-active-bg !default;
|
|
51
|
-
$datetime-select-pressed-text: $kendo-button-active-text !default;
|
|
52
|
-
$datetime-select-pressed-border: $kendo-button-active-border !default;
|
|
53
|
-
$datetime-select-pressed-gradient: $kendo-button-active-gradient !default;
|