@progress/kendo-theme-material 7.1.0-dev.1 → 7.1.0-dev.11
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 +403 -43
- package/dist/all.scss +3117 -1644
- package/dist/meta/sassdoc-data.json +4803 -3617
- package/dist/meta/sassdoc-raw-data.json +1309 -763
- package/dist/meta/variables.json +588 -412
- package/lib/swatches/material-aqua-dark.json +1 -1
- package/lib/swatches/material-arctic.json +1 -1
- package/lib/swatches/material-burnt-teal.json +1 -1
- package/lib/swatches/material-dataviz-v4.json +1 -1
- package/lib/swatches/material-eggplant.json +1 -1
- package/lib/swatches/material-lime-dark.json +1 -1
- package/lib/swatches/material-lime.json +1 -1
- package/lib/swatches/material-main-dark.json +1 -1
- package/lib/swatches/material-main.json +1 -1
- package/lib/swatches/material-nova.json +1 -1
- package/lib/swatches/material-pacific-dark.json +1 -1
- package/lib/swatches/material-pacific.json +1 -1
- package/lib/swatches/material-sky-dark.json +1 -1
- package/lib/swatches/material-sky.json +1 -1
- package/lib/swatches/material-smoke.json +1 -1
- package/package.json +6 -6
- package/scss/_variables.scss +0 -224
- package/scss/action-buttons/_theme.scss +2 -2
- package/scss/adaptive/_variables.scss +1 -1
- package/scss/appbar/_variables.scss +2 -2
- package/scss/bottom-navigation/_theme.scss +12 -1
- package/scss/breadcrumb/_variables.scss +2 -2
- package/scss/button/_theme.scss +3 -3
- package/scss/button/_variables.scss +3 -3
- package/scss/calendar/_theme.scss +1 -1
- package/scss/calendar/_variables.scss +3 -3
- package/scss/chat/_variables.scss +2 -2
- package/scss/checkbox/_theme.scss +1 -1
- package/scss/checkbox/_variables.scss +4 -4
- package/scss/chip/_theme.scss +16 -13
- package/scss/chip/_variables.scss +8 -8
- package/scss/core/_index.scss +4 -1
- package/scss/core/color-system/_functions.scss +101 -0
- package/scss/core/color-system/_palettes-legacy.scss +671 -0
- package/scss/core/color-system/_palettes.scss +297 -0
- package/scss/core/color-system/_swatch-legacy.scss +65 -0
- package/scss/core/color-system/_swatch.scss +426 -0
- package/scss/dataviz/_variables.scss +42 -42
- package/scss/dock-manager/_variables.scss +2 -2
- package/scss/draggable/_variables.scss +1 -1
- package/scss/dropzone/_variables.scss +2 -2
- package/scss/editor/_variables.scss +1 -1
- package/scss/fab/_theme.scss +20 -20
- package/scss/filemanager/_variables.scss +3 -3
- package/scss/gantt/_layout.scss +1 -1
- package/scss/gantt/_theme.scss +1 -1
- package/scss/gantt/_variables.scss +8 -8
- package/scss/grid/_theme.scss +67 -52
- package/scss/grid/_variables.scss +9 -6
- package/scss/index.scss +2 -0
- package/scss/input/_variables.scss +20 -7
- package/scss/list/_theme.scss +8 -0
- package/scss/listview/_theme.scss +1 -1
- package/scss/listview/_variables.scss +2 -2
- package/scss/map/_variables.scss +1 -1
- package/scss/mediaplayer/_variables.scss +1 -1
- package/scss/menu/_variables.scss +2 -2
- package/scss/notification/_variables.scss +1 -1
- package/scss/orgchart/_variables.scss +2 -2
- package/scss/pager/_variables.scss +2 -2
- package/scss/panelbar/_variables.scss +12 -12
- package/scss/pdf-viewer/_variables.scss +1 -1
- package/scss/pivotgrid/_variables.scss +8 -8
- package/scss/progressbar/_variables.scss +1 -1
- package/scss/prompt/_index.scss +37 -0
- package/scss/prompt/_layout.scss +6 -0
- package/scss/prompt/_theme.scss +6 -0
- package/scss/prompt/_variables.scss +66 -0
- package/scss/radio/_theme.scss +1 -1
- package/scss/scheduler/_theme.scss +12 -0
- package/scss/scheduler/_variables.scss +7 -7
- package/scss/signature/_variables.scss +1 -1
- package/scss/skeleton/_variables.scss +1 -1
- package/scss/slider/_variables.scss +2 -2
- package/scss/splitter/_variables.scss +2 -2
- package/scss/spreadsheet/_variables.scss +4 -4
- package/scss/stepper/_variables.scss +7 -7
- package/scss/switch/_theme.scss +1 -1
- package/scss/switch/_variables.scss +3 -3
- package/scss/table/_layout.scss +25 -0
- package/scss/table/_theme.scss +31 -16
- package/scss/table/_variables.scss +3 -3
- package/scss/tabstrip/_variables.scss +1 -1
- package/scss/taskboard/_variables.scss +5 -4
- package/scss/tilelayout/_variables.scss +1 -1
- package/scss/timeline/_variables.scss +4 -4
- package/scss/toolbar/_theme.scss +2 -2
- package/scss/tooltip/_variables.scss +2 -2
- package/scss/treeview/_variables.scss +1 -1
- package/scss/upload/_theme.scss +1 -1
- package/scss/core/color-system/_color-system-material.scss +0 -801
- package/scss/core/color-system/index.import.scss +0 -1
|
@@ -27,18 +27,18 @@ $kendo-panelbar-header-text: $kendo-link-text !default;
|
|
|
27
27
|
$kendo-panelbar-header-border: null !default;
|
|
28
28
|
$kendo-panelbar-header-gradient: null !default;
|
|
29
29
|
|
|
30
|
-
$kendo-panelbar-header-hover-bg: k-try-shade( $kendo-panelbar-header-bg, .5 ) !default;
|
|
30
|
+
$kendo-panelbar-header-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-try-shade( $kendo-panelbar-header-bg, .5 )) !default;
|
|
31
31
|
$kendo-panelbar-header-hover-text: null !default;
|
|
32
32
|
$kendo-panelbar-header-hover-border: null !default;
|
|
33
33
|
$kendo-panelbar-header-hover-gradient: null !default;
|
|
34
34
|
|
|
35
|
-
$kendo-panelbar-header-focus-bg: k-try-shade( $kendo-panelbar-header-bg, 1.5 ) !default;
|
|
35
|
+
$kendo-panelbar-header-focus-bg: if($kendo-enable-color-system, k-color( base-active ), k-try-shade( $kendo-panelbar-header-bg, 1.5 )) !default;
|
|
36
36
|
$kendo-panelbar-header-focus-text: null !default;
|
|
37
37
|
$kendo-panelbar-header-focus-border: null !default;
|
|
38
38
|
$kendo-panelbar-header-focus-gradient: null !default;
|
|
39
39
|
$kendo-panelbar-header-focus-shadow: null !default;
|
|
40
40
|
|
|
41
|
-
$kendo-panelbar-header-hover-focus-bg: k-try-shade( $kendo-panelbar-header-bg, 2 ) !default;
|
|
41
|
+
$kendo-panelbar-header-hover-focus-bg: if($kendo-enable-color-system, k-color( base-active ), k-try-shade( $kendo-panelbar-header-bg, 2 )) !default;
|
|
42
42
|
$kendo-panelbar-header-hover-focus-text: null !default;
|
|
43
43
|
$kendo-panelbar-header-hover-focus-border: null !default;
|
|
44
44
|
$kendo-panelbar-header-hover-focus-gradient: null !default;
|
|
@@ -48,34 +48,34 @@ $kendo-panelbar-header-selected-text: $kendo-selected-text !default;
|
|
|
48
48
|
$kendo-panelbar-header-selected-border: null !default;
|
|
49
49
|
$kendo-panelbar-header-selected-gradient: null !default;
|
|
50
50
|
|
|
51
|
-
$kendo-panelbar-header-selected-hover-bg: k-try-tint($kendo-panelbar-header-selected-bg, .95) !default;
|
|
51
|
+
$kendo-panelbar-header-selected-hover-bg: if($kendo-enable-color-system, k-color( secondary-hover ), k-try-tint($kendo-panelbar-header-selected-bg, .95)) !default;
|
|
52
52
|
$kendo-panelbar-header-selected-hover-text: null !default;
|
|
53
53
|
$kendo-panelbar-header-selected-hover-border: null !default;
|
|
54
54
|
$kendo-panelbar-header-selected-hover-gradient: null !default;
|
|
55
55
|
|
|
56
|
-
$kendo-panelbar-header-selected-focus-bg: k-try-tint($kendo-panelbar-header-selected-bg, 3) !default;
|
|
56
|
+
$kendo-panelbar-header-selected-focus-bg: if($kendo-enable-color-system, k-color( secondary-active ), k-try-tint($kendo-panelbar-header-selected-bg, 3)) !default;
|
|
57
57
|
$kendo-panelbar-header-selected-focus-text: null !default;
|
|
58
58
|
$kendo-panelbar-header-selected-focus-border: null !default;
|
|
59
59
|
$kendo-panelbar-header-selected-focus-gradient: null !default;
|
|
60
60
|
|
|
61
|
-
$kendo-panelbar-header-selected-hover-focus-bg: k-try-tint($kendo-panelbar-header-selected-bg, 3.95) !default;
|
|
61
|
+
$kendo-panelbar-header-selected-hover-focus-bg: if($kendo-enable-color-system, k-color( secondary-active ), k-try-tint($kendo-panelbar-header-selected-bg, 3.95)) !default;
|
|
62
62
|
$kendo-panelbar-header-selected-hover-focus-text: null !default;
|
|
63
63
|
$kendo-panelbar-header-selected-hover-focus-border: null !default;
|
|
64
64
|
$kendo-panelbar-header-selected-hover-focus-gradient: null !default;
|
|
65
65
|
|
|
66
66
|
|
|
67
|
-
$kendo-panelbar-item-hover-bg: k-try-shade( $kendo-panelbar-bg, .5 ) !default;
|
|
67
|
+
$kendo-panelbar-item-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-try-shade( $kendo-panelbar-bg, .5 )) !default;
|
|
68
68
|
$kendo-panelbar-item-hover-text: null !default;
|
|
69
69
|
$kendo-panelbar-item-hover-border: null !default;
|
|
70
70
|
$kendo-panelbar-item-hover-gradient: null !default;
|
|
71
71
|
|
|
72
|
-
$kendo-panelbar-item-focus-bg: k-try-shade( $kendo-panelbar-header-bg, 1.5 ) !default;
|
|
72
|
+
$kendo-panelbar-item-focus-bg: if($kendo-enable-color-system, k-color( base-active ), k-try-shade( $kendo-panelbar-header-bg, 1.5 )) !default;
|
|
73
73
|
$kendo-panelbar-item-focus-text: null !default;
|
|
74
74
|
$kendo-panelbar-item-focus-border: null !default;
|
|
75
75
|
$kendo-panelbar-item-focus-gradient: null !default;
|
|
76
76
|
$kendo-panelbar-item-focus-shadow: null !default;
|
|
77
77
|
|
|
78
|
-
$kendo-panelbar-item-hover-focus-bg: k-try-shade( $kendo-panelbar-header-bg, 2 ) !default;
|
|
78
|
+
$kendo-panelbar-item-hover-focus-bg: if($kendo-enable-color-system, k-color( base-active ), k-try-shade( $kendo-panelbar-header-bg, 2 )) !default;
|
|
79
79
|
$kendo-panelbar-item-hover-focus-text: null !default;
|
|
80
80
|
$kendo-panelbar-item-hover-focus-border: null !default;
|
|
81
81
|
$kendo-panelbar-item-hover-focus-gradient: null !default;
|
|
@@ -85,17 +85,17 @@ $kendo-panelbar-item-selected-text: $kendo-selected-text !default;
|
|
|
85
85
|
$kendo-panelbar-item-selected-border: null !default;
|
|
86
86
|
$kendo-panelbar-item-selected-gradient: null !default;
|
|
87
87
|
|
|
88
|
-
$kendo-panelbar-item-selected-hover-bg: k-try-tint($kendo-panelbar-item-selected-bg, .95) !default;
|
|
88
|
+
$kendo-panelbar-item-selected-hover-bg: if($kendo-enable-color-system, k-color( secondary-hover ), k-try-tint($kendo-panelbar-item-selected-bg, .95)) !default;
|
|
89
89
|
$kendo-panelbar-item-selected-hover-text: null !default;
|
|
90
90
|
$kendo-panelbar-item-selected-hover-border: null !default;
|
|
91
91
|
$kendo-panelbar-item-selected-hover-gradient: null !default;
|
|
92
92
|
|
|
93
|
-
$kendo-panelbar-item-selected-focus-bg: k-try-tint($kendo-panelbar-item-selected-bg, 3) !default;
|
|
93
|
+
$kendo-panelbar-item-selected-focus-bg: if($kendo-enable-color-system, k-color( secondary-active ), k-try-tint($kendo-panelbar-item-selected-bg, 3)) !default;
|
|
94
94
|
$kendo-panelbar-item-selected-focus-text: null !default;
|
|
95
95
|
$kendo-panelbar-item-selected-focus-border: null !default;
|
|
96
96
|
$kendo-panelbar-item-selected-focus-gradient: null !default;
|
|
97
97
|
|
|
98
|
-
$kendo-panelbar-item-selected-hover-focus-bg: k-try-tint($kendo-panelbar-item-selected-bg, 3.95) !default;
|
|
98
|
+
$kendo-panelbar-item-selected-hover-focus-bg: if($kendo-enable-color-system, k-color( secondary-active ), k-try-tint($kendo-panelbar-item-selected-bg, 3.95)) !default;
|
|
99
99
|
$kendo-panelbar-item-selected-hover-focus-text: null !default;
|
|
100
100
|
$kendo-panelbar-item-selected-hover-focus-border: null !default;
|
|
101
101
|
$kendo-panelbar-item-selected-hover-focus-gradient: null !default;
|
|
@@ -25,7 +25,7 @@ $kendo-pdf-viewer-border: $kendo-component-border !default;
|
|
|
25
25
|
|
|
26
26
|
/// The background color of the PDFViewer Toolbar.
|
|
27
27
|
/// @group pdf-viewer
|
|
28
|
-
$kendo-pdf-viewer-toolbar-bg: k-try-shade( $kendo-button-bg, .25 ) !default;
|
|
28
|
+
$kendo-pdf-viewer-toolbar-bg: if($kendo-enable-color-system, k-color( surface ), k-try-shade( $kendo-button-bg, .25 )) !default;
|
|
29
29
|
/// The text color of the PDFViewer Toolbar.
|
|
30
30
|
/// @group pdf-viewer
|
|
31
31
|
$kendo-pdf-viewer-toolbar-text: null !default;
|
|
@@ -23,21 +23,21 @@ $kendo-pivotgrid-bg: $kendo-component-bg !default;
|
|
|
23
23
|
$kendo-pivotgrid-text: $kendo-component-text !default;
|
|
24
24
|
$kendo-pivotgrid-border: $kendo-component-border !default;
|
|
25
25
|
|
|
26
|
-
$kendo-pivotgrid-alt-border: k-try-shade( $kendo-pivotgrid-border, 2 ) !default;
|
|
26
|
+
$kendo-pivotgrid-alt-border: if($kendo-enable-color-system, k-color( border-alt ), k-try-shade( $kendo-pivotgrid-border, 2 )) !default;
|
|
27
27
|
|
|
28
|
-
$kendo-pivotgrid-headers-bg: rgba( $kendo-component-header-bg, .02 ) !default;
|
|
28
|
+
$kendo-pivotgrid-headers-bg: if($kendo-enable-color-system, rgba( k-color( app-surface, true ), .02 ), rgba( $kendo-component-header-bg, .02 )) !default;
|
|
29
29
|
$kendo-pivotgrid-headers-text: $kendo-component-header-text !default;
|
|
30
30
|
$kendo-pivotgrid-headers-border: $kendo-component-header-border !default;
|
|
31
31
|
|
|
32
|
-
$kendo-pivotgrid-total-bg: k-try-shade( $kendo-pivotgrid-bg, 1 ) !default;
|
|
32
|
+
$kendo-pivotgrid-total-bg: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-pivotgrid-bg, 1 )) !default;
|
|
33
33
|
$kendo-pivotgrid-total-text: $kendo-component-header-text !default;
|
|
34
34
|
$kendo-pivotgrid-total-border: $kendo-component-header-border !default;
|
|
35
35
|
|
|
36
|
-
$kendo-pivotgrid-hover-bg: k-color-darken( $kendo-pivotgrid-bg, 7% ) !default;
|
|
36
|
+
$kendo-pivotgrid-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-color-darken( $kendo-pivotgrid-bg, 7% )) !default;
|
|
37
37
|
$kendo-pivotgrid-hover-text: null !default;
|
|
38
38
|
$kendo-pivotgrid-hover-border: null !default;
|
|
39
39
|
|
|
40
|
-
$kendo-pivotgrid-selected-bg: rgba( k-contrast-color( $kendo-pivotgrid-bg ), .04 ) !default;
|
|
40
|
+
$kendo-pivotgrid-selected-bg: if($kendo-enable-color-system, rgba( k-color( base-active, true ), .25 ), rgba( k-contrast-color( $kendo-pivotgrid-bg ), .04 )) !default;
|
|
41
41
|
$kendo-pivotgrid-selected-text: null !default;
|
|
42
42
|
$kendo-pivotgrid-selected-border: null !default;
|
|
43
43
|
|
|
@@ -106,11 +106,11 @@ $kendo-pivotgrid-chrome-border: $kendo-grid-border !default;
|
|
|
106
106
|
$kendo-pivotgrid-container-bg: $kendo-grid-header-bg !default;
|
|
107
107
|
$kendo-pivotgrid-row-headers-bg: null !default;
|
|
108
108
|
|
|
109
|
-
$kendo-pivotgrid-button-bg: k-try-shade($kendo-button-bg, 1) !default;
|
|
109
|
+
$kendo-pivotgrid-button-bg: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade($kendo-button-bg, 1)) !default;
|
|
110
110
|
$kendo-pivotgrid-button-text: $kendo-button-text !default;
|
|
111
|
-
$kendo-pivotgrid-button-hover-bg: k-try-shade($kendo-button-bg, 2) !default;
|
|
111
|
+
$kendo-pivotgrid-button-hover-bg: if($kendo-enable-color-system, k-color( base-subtle-hover ), k-try-shade($kendo-button-bg, 2)) !default;
|
|
112
112
|
$kendo-pivotgrid-button-hover-text: $kendo-button-text !default;
|
|
113
|
-
$kendo-pivotgrid-button-active-bg: k-try-shade($kendo-button-bg, 2) !default;
|
|
113
|
+
$kendo-pivotgrid-button-active-bg: if($kendo-enable-color-system, k-color( base-subtle-active ), k-try-shade($kendo-button-bg, 2)) !default;
|
|
114
114
|
$kendo-pivotgrid-button-active-text: $kendo-button-text !default;
|
|
115
115
|
|
|
116
116
|
$kendo-pivotgrid-remove-bg: $kendo-pivotgrid-button-text !default;
|
|
@@ -24,7 +24,7 @@ $kendo-progressbar-line-height: 1 !default;
|
|
|
24
24
|
|
|
25
25
|
/// The background color of the ProgressBar.
|
|
26
26
|
/// @group progressbar
|
|
27
|
-
$kendo-progressbar-bg: k-try-tint( $kendo-color-primary, 8 ) !default;
|
|
27
|
+
$kendo-progressbar-bg: if($kendo-enable-color-system, k-color( primary-subtle ), k-try-tint( $kendo-color-primary, 8 )) !default;
|
|
28
28
|
/// The text color of the ProgressBar.
|
|
29
29
|
/// @group progressbar
|
|
30
30
|
$kendo-progressbar-text: $kendo-component-text !default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
@import "../core/_index.scss";
|
|
2
|
+
@import "../utils/_index.scss";
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
// Module meta
|
|
6
|
+
$_kendo-module-meta: (
|
|
7
|
+
name: "prompt",
|
|
8
|
+
dependencies: ()
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
// Dependencies
|
|
13
|
+
@import "../common/_index.scss";
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// Component
|
|
17
|
+
@import "./_variables.scss";
|
|
18
|
+
@import "./_layout.scss";
|
|
19
|
+
@import "./_theme.scss";
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
// Register
|
|
23
|
+
@import "../core/module-system/index.import.scss";
|
|
24
|
+
@include module-register( $_kendo-module-meta... );
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
// Expose
|
|
28
|
+
@mixin kendo-prompt--styles() {
|
|
29
|
+
@include module-render( "prompt" ) {
|
|
30
|
+
@include kendo-prompt--layout();
|
|
31
|
+
@include kendo-prompt--theme();
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@if $kendo-auto-bootstrap {
|
|
36
|
+
@include kendo-prompt--styles();
|
|
37
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// Prompt
|
|
2
|
+
|
|
3
|
+
/// The text color of the Prompt.
|
|
4
|
+
/// @group prompt
|
|
5
|
+
$kendo-prompt-text: $kendo-component-text !default;
|
|
6
|
+
/// The background color of the Prompt.
|
|
7
|
+
/// @group prompt
|
|
8
|
+
$kendo-prompt-bg: $kendo-component-bg !default;
|
|
9
|
+
/// The border color of the Prompt.
|
|
10
|
+
/// @group prompt
|
|
11
|
+
$kendo-prompt-border: $kendo-component-border !default;
|
|
12
|
+
|
|
13
|
+
/// The text color of the Prompt header.
|
|
14
|
+
/// @group prompt
|
|
15
|
+
$kendo-prompt-header-text: $kendo-component-header-text !default;
|
|
16
|
+
/// The background color of the Prompt header.
|
|
17
|
+
/// @group prompt
|
|
18
|
+
$kendo-prompt-header-bg: $kendo-component-bg !default;
|
|
19
|
+
/// The border color of the Prompt header.
|
|
20
|
+
/// @group prompt
|
|
21
|
+
$kendo-prompt-header-border: $kendo-component-header-border !default;
|
|
22
|
+
|
|
23
|
+
/// The vertical padding of the Prompt content.
|
|
24
|
+
/// @group prompt
|
|
25
|
+
$kendo-prompt-content-padding-y: k-map-get( $kendo-spacing, 4 ) !default;
|
|
26
|
+
/// The horizontal padding of the Prompt content.
|
|
27
|
+
/// @group prompt
|
|
28
|
+
$kendo-prompt-content-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
|
|
29
|
+
/// The spacing between the items of the Prompt content.
|
|
30
|
+
/// @group prompt
|
|
31
|
+
$kendo-prompt-content-spacing: k-map-get( $kendo-spacing, 4 ) !default;
|
|
32
|
+
/// The text color of the Prompt content.
|
|
33
|
+
/// @group prompt
|
|
34
|
+
$kendo-prompt-content-text: $kendo-component-header-text !default;
|
|
35
|
+
/// The background color of the Prompt content.
|
|
36
|
+
/// @group prompt
|
|
37
|
+
$kendo-prompt-content-bg: $kendo-component-header-bg !default;
|
|
38
|
+
/// The text border of the Prompt content.
|
|
39
|
+
/// @group prompt
|
|
40
|
+
$kendo-prompt-content-border: $kendo-component-header-border !default;
|
|
41
|
+
|
|
42
|
+
/// The spacing between the items of the Prompt content expander.
|
|
43
|
+
/// @group prompt
|
|
44
|
+
$kendo-prompt-expander-spacing: k-map-get( $kendo-spacing, 2 ) !default;
|
|
45
|
+
|
|
46
|
+
/// The vertical padding of the Prompt suggestion container.
|
|
47
|
+
/// @group prompt
|
|
48
|
+
$kendo-prompt-suggestion-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
|
|
49
|
+
/// The horizontal padding of the Prompt suggestion container.
|
|
50
|
+
/// @group prompt
|
|
51
|
+
$kendo-prompt-suggestion-padding-x: k-map-get( $kendo-spacing, 2 ) !default;
|
|
52
|
+
/// The border radius of the Prompt suggestion container.
|
|
53
|
+
/// @group prompt
|
|
54
|
+
$kendo-prompt-suggestion-border-radius: $kendo-border-radius-md !default;
|
|
55
|
+
/// The text color of the Prompt suggestion container.
|
|
56
|
+
/// @group prompt
|
|
57
|
+
$kendo-prompt-suggestion-text: $kendo-component-text !default;
|
|
58
|
+
/// The background color of the Prompt suggestion container.
|
|
59
|
+
/// @group prompt
|
|
60
|
+
$kendo-prompt-suggestion-bg: $kendo-body-bg !default;
|
|
61
|
+
/// The border color of the Prompt suggestion container.
|
|
62
|
+
/// @group prompt
|
|
63
|
+
$kendo-prompt-suggestion-border: $kendo-component-border !default;
|
|
64
|
+
/// The elevation of the Prompt suggestion container.
|
|
65
|
+
/// @group prompt
|
|
66
|
+
$kendo-prompt-suggestion-shadow: k-elevation(1) !default;
|
package/scss/radio/_theme.scss
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
// Disabled state
|
|
12
12
|
.k-radio:disabled + & {
|
|
13
|
-
color: if( $kendo-is-dark-theme, $light-secondary-text, $dark-secondary-text );
|
|
13
|
+
color: if($kendo-enable-color-system, k-color( subtle ), if( $kendo-is-dark-theme, $light-secondary-text, $dark-secondary-text ));
|
|
14
14
|
opacity: 1;
|
|
15
15
|
filter: none;
|
|
16
16
|
}
|
|
@@ -5,6 +5,18 @@
|
|
|
5
5
|
|
|
6
6
|
@include kendo-scheduler--theme-base();
|
|
7
7
|
|
|
8
|
+
.k-scheduler-layout td.k-selected,
|
|
9
|
+
.k-scheduler-layout .k-scheduler-cell.k-selected {
|
|
10
|
+
background-color: if($kendo-enable-color-system, rgba( k-color( secondary, true ), .25 ), rgba($kendo-selected-bg, .25));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// Agenda view
|
|
14
|
+
.k-scheduler-agendaview {
|
|
15
|
+
.k-scheduler-content tr.k-selected {
|
|
16
|
+
background-color: if($kendo-enable-color-system, rgba( k-color( secondary, true ), .25 ), rgba($kendo-selected-bg, .25));
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
8
20
|
// Events
|
|
9
21
|
.k-event {
|
|
10
22
|
|
|
@@ -8,12 +8,12 @@ $kendo-scheduler-bg: $kendo-component-bg !default;
|
|
|
8
8
|
$kendo-scheduler-text: $kendo-component-text !default;
|
|
9
9
|
$kendo-scheduler-border: $kendo-component-border !default;
|
|
10
10
|
|
|
11
|
-
$kendo-scheduler-toolbar-bg: k-try-shade( $kendo-button-bg, .5 ) !default;
|
|
11
|
+
$kendo-scheduler-toolbar-bg: if($kendo-enable-color-system, k-color( surface ), k-try-shade( $kendo-button-bg, .5 )) !default;
|
|
12
12
|
$kendo-scheduler-toolbar-text: null !default;
|
|
13
13
|
$kendo-scheduler-toolbar-border: null !default;
|
|
14
14
|
$kendo-scheduler-toolbar-gradient: null !default;
|
|
15
15
|
|
|
16
|
-
$kendo-scheduler-footer-bg: k-try-shade( $kendo-button-bg, .5 ) !default;
|
|
16
|
+
$kendo-scheduler-footer-bg: if($kendo-enable-color-system, k-color( surface ), k-try-shade( $kendo-button-bg, .5 )) !default;
|
|
17
17
|
$kendo-scheduler-footer-text: null !default;
|
|
18
18
|
$kendo-scheduler-footer-border: null !default;
|
|
19
19
|
$kendo-scheduler-footer-gradient: null !default;
|
|
@@ -23,7 +23,7 @@ $kendo-scheduler-event-border-radius: $kendo-border-radius-md !default;
|
|
|
23
23
|
$kendo-scheduler-event-line-height: calc( #{$kendo-scheduler-event-min-height} - (2 * #{$kendo-padding-sm-y}) ) !default;
|
|
24
24
|
|
|
25
25
|
$kendo-scheduler-event-bg: $kendo-color-primary !default;
|
|
26
|
-
$kendo-scheduler-event-text: k-contrast-color( $kendo-scheduler-event-bg ) !default;
|
|
26
|
+
$kendo-scheduler-event-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-color( $kendo-scheduler-event-bg )) !default;
|
|
27
27
|
$kendo-scheduler-event-border: null !default;
|
|
28
28
|
$kendo-scheduler-event-gradient: null !default;
|
|
29
29
|
$kendo-scheduler-event-shadow: null !default;
|
|
@@ -34,8 +34,8 @@ $kendo-scheduler-event-hover-border: null !default;
|
|
|
34
34
|
$kendo-scheduler-event-hover-gradient: null !default;
|
|
35
35
|
$kendo-scheduler-event-hover-shadow: null !default;
|
|
36
36
|
|
|
37
|
-
$kendo-scheduler-event-selected-bg: k-try-tint( $kendo-color-primary, 1 ) !default;
|
|
38
|
-
$kendo-scheduler-event-selected-text: k-contrast-color( $kendo-scheduler-event-selected-bg ) !default;
|
|
37
|
+
$kendo-scheduler-event-selected-bg: if($kendo-enable-color-system, k-color( primary-active ), k-try-tint( $kendo-color-primary, 1 )) !default;
|
|
38
|
+
$kendo-scheduler-event-selected-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-color( $kendo-scheduler-event-selected-bg )) !default;
|
|
39
39
|
$kendo-scheduler-event-selected-border: null !default;
|
|
40
40
|
$kendo-scheduler-event-selected-gradient: null !default;
|
|
41
41
|
$kendo-scheduler-event-selected-shadow: $box-shadow-depth-3 !default;
|
|
@@ -48,13 +48,13 @@ $kendo-scheduler-cell-height: $kendo-line-height-md * 1rem !default;
|
|
|
48
48
|
$kendo-scheduler-datecolumn-width: 12rem !default;
|
|
49
49
|
$kendo-scheduler-timecolumn-width: 11rem !default;
|
|
50
50
|
|
|
51
|
-
$kendo-scheduler-nonwork-bg: k-try-shade( $kendo-scheduler-bg, .5 ) !default;
|
|
51
|
+
$kendo-scheduler-nonwork-bg: if($kendo-enable-color-system, k-color( surface ), k-try-shade( $kendo-scheduler-bg, .5 )) !default;
|
|
52
52
|
$kendo-scheduler-nonwork-text: null !default;
|
|
53
53
|
|
|
54
54
|
$kendo-scheduler-weekend-bg: null !default;
|
|
55
55
|
$kendo-scheduler-weekend-text: null !default;
|
|
56
56
|
|
|
57
|
-
$kendo-scheduler-othermonth-bg: k-try-shade( $kendo-scheduler-bg, .5 ) !default;
|
|
57
|
+
$kendo-scheduler-othermonth-bg: if($kendo-enable-color-system, k-color( surface ), k-try-shade( $kendo-scheduler-bg, .5 )) !default;
|
|
58
58
|
$kendo-scheduler-othermonth-text: null !default;
|
|
59
59
|
|
|
60
60
|
$kendo-scheduler-yearview-padding-x: k-map-get( $kendo-spacing, 5 ) !default;
|
|
@@ -18,7 +18,7 @@ $kendo-signature-lg-padding-y: $kendo-signature-lg-padding-x !default;
|
|
|
18
18
|
|
|
19
19
|
$kendo-signature-line-width: 1px !default;
|
|
20
20
|
$kendo-signature-line-style: dashed !default;
|
|
21
|
-
$kendo-signature-line-color: rgba( $kendo-color-info, .24 ) !default;
|
|
21
|
+
$kendo-signature-line-color: if($kendo-enable-color-system, rgba( k-color( info, true ), .24 ), rgba( $kendo-color-info, .24 )) !default;
|
|
22
22
|
|
|
23
23
|
$kendo-signature-line-size: calc( 100% - 2 * #{$kendo-signature-padding-x} ) !default;
|
|
24
24
|
$kendo-signature-sm-line-size: calc( 100% - 2 * #{$kendo-signature-sm-padding-x} ) !default;
|
|
@@ -17,7 +17,7 @@ $kendo-skeleton-circle-border-radius: 9999px !default;
|
|
|
17
17
|
|
|
18
18
|
/// The background color of the Skeleton item.
|
|
19
19
|
/// @group skeleton
|
|
20
|
-
$kendo-skeleton-item-bg: rgba( $kendo-color-inverse, .2 ) !default;
|
|
20
|
+
$kendo-skeleton-item-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .2 ), rgba( $kendo-color-inverse, .2 )) !default;
|
|
21
21
|
/// The background color of the Skeleton wave animation.
|
|
22
22
|
/// @group skeleton
|
|
23
23
|
$kendo-skeleton-wave-bg: rgba( black, .04 ) !default;
|
|
@@ -37,13 +37,13 @@ $kendo-slider-draghandle-pressed-text: null !default;
|
|
|
37
37
|
$kendo-slider-draghandle-pressed-border: null !default;
|
|
38
38
|
$kendo-slider-draghandle-pressed-gradient: null !default;
|
|
39
39
|
|
|
40
|
-
$kendo-slider-draghandle-focus-shadow: 0 0 0 11px rgba( $kendo-color-primary, .25 ) !default;
|
|
40
|
+
$kendo-slider-draghandle-focus-shadow: 0 0 0 11px if($kendo-enable-color-system, rgba( k-color( primary, true ), .25 ), rgba( $kendo-color-primary, .25 )) !default;
|
|
41
41
|
|
|
42
42
|
$kendo-slider-transition-speed: .3s !default;
|
|
43
43
|
$kendo-slider-transition-function: ease-out !default;
|
|
44
44
|
$kendo-slider-draghandle-transition-speed: .4s !default;
|
|
45
45
|
$kendo-slider-draghandle-transition-function: cubic-bezier(.25, .8, .25, 1) !default;
|
|
46
46
|
|
|
47
|
-
$kendo-slider-track-bg: k-try-tint( $kendo-color-primary, 8 ) !default;
|
|
47
|
+
$kendo-slider-track-bg: if($kendo-enable-color-system, k-color( primary-subtle ), k-try-tint( $kendo-color-primary, 8 )) !default;
|
|
48
48
|
$kendo-slider-selection-bg: $kendo-color-primary !default;
|
|
49
49
|
$kendo-slider-disabled-opacity: .65 !default;
|
|
@@ -15,10 +15,10 @@ $kendo-splitter-drag-icon-margin: 7px !default;
|
|
|
15
15
|
$kendo-splitter-collapse-icon-padding-x: null !default;
|
|
16
16
|
$kendo-splitter-collapse-icon-padding-y: k-map-get( $kendo-spacing, .5 ) !default;
|
|
17
17
|
|
|
18
|
-
$kendo-splitbar-bg: k-try-shade( $kendo-splitter-bg, 1 ) !default;
|
|
18
|
+
$kendo-splitbar-bg: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-splitter-bg, 1 )) !default;
|
|
19
19
|
$kendo-splitbar-text: $kendo-subtle-text !default;
|
|
20
20
|
|
|
21
|
-
$kendo-splitbar-hover-bg: k-try-shade( $kendo-splitbar-bg, .5 ) !default;
|
|
21
|
+
$kendo-splitbar-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-try-shade( $kendo-splitbar-bg, .5 )) !default;
|
|
22
22
|
$kendo-splitbar-hover-text: $kendo-splitbar-text !default;
|
|
23
23
|
|
|
24
24
|
$kendo-splitbar-selected-bg: $kendo-color-primary !default;
|
|
@@ -37,7 +37,7 @@ $kendo-spreadsheet-formula-input-line-height: $kendo-input-line-height !default;
|
|
|
37
37
|
$kendo-spreadsheet-view-font-family: Arial, Verdana, sans-serif !default;
|
|
38
38
|
$kendo-spreadsheet-view-font-size: $kendo-spreadsheet-font-size !default;
|
|
39
39
|
|
|
40
|
-
$kendo-spreadsheet-selection-bg: rgba( $kendo-color-primary, .25 ) !default;
|
|
40
|
+
$kendo-spreadsheet-selection-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .25 ), rgba( $kendo-color-primary, .25 )) !default;
|
|
41
41
|
$kendo-spreadsheet-selection-text: null !default;
|
|
42
42
|
$kendo-spreadsheet-selection-border: $kendo-color-primary !default;
|
|
43
43
|
$kendo-spreadsheet-selection-shadow: inset 0 0 0 1px $kendo-color-primary !default;
|
|
@@ -51,11 +51,11 @@ $kendo-spreadsheet-partial-selection-bg: rgba( black, .04 ) !default;
|
|
|
51
51
|
$kendo-spreadsheet-active-cell-bg: $kendo-component-bg !default;
|
|
52
52
|
$kendo-spreadsheet-active-cell-shadow: inset 0 0 0 1px $kendo-color-primary !default;
|
|
53
53
|
|
|
54
|
-
$kendo-spreadsheet-auto-fill-bg: rgba( $kendo-color-primary, .25 ) !default;
|
|
54
|
+
$kendo-spreadsheet-auto-fill-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .25 ), rgba( $kendo-color-primary, .25 )) !default;
|
|
55
55
|
$kendo-spreadsheet-auto-fill-text: null !default;
|
|
56
56
|
$kendo-spreadsheet-auto-fill-border: $kendo-color-primary !default;
|
|
57
57
|
$kendo-spreadsheet-auto-fill-shadow: inset 0 0 0 1px $kendo-color-primary !default;
|
|
58
|
-
$kendo-spreadsheet-auto-fill-punch-bg: rgba( $kendo-component-bg, .5 ) !default;
|
|
58
|
+
$kendo-spreadsheet-auto-fill-punch-bg: if($kendo-enable-color-system, rgba( k-color( app-surface, true ), .5 ), rgba( $kendo-component-bg, .5 )) !default;
|
|
59
59
|
|
|
60
60
|
$kendo-spreadsheet-cell-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
|
|
61
61
|
$kendo-spreadsheet-cell-padding-x: $kendo-spreadsheet-cell-padding-y !default;
|
|
@@ -101,6 +101,6 @@ $kendo-spreadsheet-drawing-handle-border-radius: $kendo-border-radius-lg !defaul
|
|
|
101
101
|
$kendo-spreadsheet-drawing-outline-style: solid !default;
|
|
102
102
|
$kendo-spreadsheet-drawing-outline-width: 2px !default;
|
|
103
103
|
|
|
104
|
-
$kendo-spreadsheet-drawing-anchor-bg: rgba( $kendo-selected-bg, .25 ) !default;
|
|
104
|
+
$kendo-spreadsheet-drawing-anchor-bg: if($kendo-enable-color-system, rgba( k-color( secondary, true ), .25 ), rgba( $kendo-selected-bg, .25 )) !default;
|
|
105
105
|
|
|
106
106
|
$kendo-spreadsheet-dropzone-spacing-y: k-map-get( $kendo-spacing, 2 ) !default;
|
|
@@ -33,24 +33,24 @@ $kendo-stepper-indicator-bg: $kendo-component-bg !default;
|
|
|
33
33
|
$kendo-stepper-indicator-text: $kendo-component-text !default;
|
|
34
34
|
$kendo-stepper-indicator-border: $kendo-component-border !default;
|
|
35
35
|
|
|
36
|
-
$kendo-stepper-indicator-hover-bg: k-try-shade( $kendo-stepper-indicator-bg ) !default;
|
|
36
|
+
$kendo-stepper-indicator-hover-bg: if($kendo-enable-color-system, k-color( base-hover ), k-try-shade( $kendo-stepper-indicator-bg )) !default;
|
|
37
37
|
$kendo-stepper-indicator-hover-text: null !default;
|
|
38
38
|
$kendo-stepper-indicator-hover-border: null !default;
|
|
39
39
|
|
|
40
40
|
$kendo-stepper-indicator-disabled-bg: null !default;
|
|
41
|
-
$kendo-stepper-indicator-disabled-text: $kendo-disabled-text !default;
|
|
41
|
+
$kendo-stepper-indicator-disabled-text: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .32 ), $kendo-disabled-text) !default;
|
|
42
42
|
$kendo-stepper-indicator-disabled-border: null !default;
|
|
43
43
|
|
|
44
44
|
$kendo-stepper-indicator-done-bg: $kendo-color-primary !default;
|
|
45
|
-
$kendo-stepper-indicator-done-text: k-contrast-color( $kendo-stepper-indicator-done-bg ) !default;
|
|
45
|
+
$kendo-stepper-indicator-done-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-color( $kendo-stepper-indicator-done-bg )) !default;
|
|
46
46
|
$kendo-stepper-indicator-done-border: $kendo-stepper-indicator-done-bg !default;
|
|
47
47
|
|
|
48
|
-
$kendo-stepper-indicator-done-hover-bg: k-try-shade( $kendo-stepper-indicator-done-bg ) !default;
|
|
48
|
+
$kendo-stepper-indicator-done-hover-bg: if($kendo-enable-color-system, k-color( primary-hover ), k-try-shade( $kendo-stepper-indicator-done-bg )) !default;
|
|
49
49
|
$kendo-stepper-indicator-done-hover-text: null !default;
|
|
50
50
|
$kendo-stepper-indicator-done-hover-border: null !default;
|
|
51
51
|
|
|
52
|
-
$kendo-stepper-indicator-done-disabled-bg: k-color-mix( $kendo-stepper-indicator-done-bg, $kendo-component-bg, 60%) !default;
|
|
53
|
-
$kendo-stepper-indicator-done-disabled-text: k-contrast-color( $kendo-stepper-indicator-done-bg ) !default;
|
|
52
|
+
$kendo-stepper-indicator-done-disabled-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .6 ), k-color-mix( $kendo-stepper-indicator-done-bg, $kendo-component-bg, 60%)) !default;
|
|
53
|
+
$kendo-stepper-indicator-done-disabled-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-color( $kendo-stepper-indicator-done-bg )) !default;
|
|
54
54
|
$kendo-stepper-indicator-done-disabled-border: $kendo-stepper-indicator-done-disabled-bg !default;
|
|
55
55
|
|
|
56
56
|
$kendo-stepper-indicator-current-bg: $kendo-stepper-indicator-done-bg !default;
|
|
@@ -69,7 +69,7 @@ $kendo-stepper-label-text: null !default;
|
|
|
69
69
|
$kendo-stepper-label-success-text: $kendo-color-success !default;
|
|
70
70
|
$kendo-stepper-label-error-text: $kendo-color-error !default;
|
|
71
71
|
$kendo-stepper-label-hover-text: null !default;
|
|
72
|
-
$kendo-stepper-label-disabled-text: k-map-get( $theme, disabled-text ) !default;
|
|
72
|
+
$kendo-stepper-label-disabled-text: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .32 ), k-map-get( $theme, disabled-text )) !default;
|
|
73
73
|
|
|
74
74
|
$kendo-stepper-optional-label-text: $kendo-subtle-text !default;
|
|
75
75
|
$kendo-stepper-optional-label-opacity: null !default;
|
package/scss/switch/_theme.scss
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
background-color: inherit;
|
|
18
18
|
}
|
|
19
19
|
&.k-switch-off .k-switch-thumb::before {
|
|
20
|
-
background-color: if( $kendo-is-dark-theme
|
|
20
|
+
background-color: if($kendo-enable-color-system, k-color( on-app-surface ), if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ));
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
|
|
@@ -30,7 +30,7 @@ $kendo-switch-sizes: (
|
|
|
30
30
|
|
|
31
31
|
/// The background of the track when the Switch is not checked.
|
|
32
32
|
/// @group switch
|
|
33
|
-
$kendo-switch-off-track-bg: rgba( if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ), .38 ) !default;
|
|
33
|
+
$kendo-switch-off-track-bg: rgba( if($kendo-enable-color-system, k-color( on-app-surface, true ), if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black )), .38 ) !default;
|
|
34
34
|
/// The text color of the track when the Switch is not checked.
|
|
35
35
|
/// @group switch
|
|
36
36
|
$kendo-switch-off-track-text: null !default;
|
|
@@ -85,7 +85,7 @@ $kendo-switch-off-track-disabled-gradient: null !default;
|
|
|
85
85
|
|
|
86
86
|
/// The background of the thumb when the Switch is not checked.
|
|
87
87
|
/// @group switch
|
|
88
|
-
$kendo-switch-off-thumb-bg: if( $kendo-is-dark-theme, $kendo-color-black, $kendo-color-white ) !default;
|
|
88
|
+
$kendo-switch-off-thumb-bg: if($kendo-enable-color-system, k-color( app-surface ), if( $kendo-is-dark-theme, $kendo-color-black, $kendo-color-white )) !default;
|
|
89
89
|
/// The text color of the thumb when the Switch is not checked.
|
|
90
90
|
/// @group switch
|
|
91
91
|
$kendo-switch-off-thumb-text: null !default;
|
|
@@ -112,7 +112,7 @@ $kendo-switch-off-thumb-hover-gradient: null !default;
|
|
|
112
112
|
|
|
113
113
|
/// The background of the track when the Switch is checked.
|
|
114
114
|
/// @group switch
|
|
115
|
-
$kendo-switch-on-track-bg: rgba( $kendo-color-primary, .54 ) !default;
|
|
115
|
+
$kendo-switch-on-track-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .54 ), rgba( $kendo-color-primary, .54 )) !default;
|
|
116
116
|
/// The text color of the track when the Switch is checked.
|
|
117
117
|
/// @group switch
|
|
118
118
|
$kendo-switch-on-track-text: null !default;
|
package/scss/table/_layout.scss
CHANGED
|
@@ -3,4 +3,29 @@
|
|
|
3
3
|
|
|
4
4
|
@mixin kendo-table--layout() {
|
|
5
5
|
@include kendo-table--layout-base();
|
|
6
|
+
|
|
7
|
+
@if($kendo-enable-color-system) {
|
|
8
|
+
.k-table {
|
|
9
|
+
td:focus,
|
|
10
|
+
td.k-focus,
|
|
11
|
+
th:focus,
|
|
12
|
+
th.k-focus {
|
|
13
|
+
position: relative;
|
|
14
|
+
|
|
15
|
+
&::after {
|
|
16
|
+
content: "";
|
|
17
|
+
width: 100%;
|
|
18
|
+
height: 100%;
|
|
19
|
+
position: absolute;
|
|
20
|
+
top: 0;
|
|
21
|
+
left: 0;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
td.k-grid-content-sticky,
|
|
26
|
+
td.k-grid-header-sticky {
|
|
27
|
+
position: sticky;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
6
31
|
}
|
package/scss/table/_theme.scss
CHANGED
|
@@ -5,26 +5,41 @@
|
|
|
5
5
|
|
|
6
6
|
@include kendo-table--theme-base();
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
@if($kendo-enable-color-system) {
|
|
9
|
+
.k-table .k-table-tbody {
|
|
10
|
+
td:focus,
|
|
11
|
+
td.k-focus,
|
|
12
|
+
th:focus,
|
|
13
|
+
th.k-focus {
|
|
14
|
+
&::after {
|
|
15
|
+
background-color: $kendo-table-hover-bg;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
} @else {
|
|
14
20
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
21
|
+
// Selected state
|
|
22
|
+
.k-table-tbody .k-table-row.k-selected,
|
|
23
|
+
.k-table-tbody .k-table-cell.k-selected {
|
|
24
|
+
color: $kendo-table-selected-text;
|
|
25
|
+
background-color: $kendo-table-selected-bg;
|
|
26
|
+
}
|
|
19
27
|
|
|
20
|
-
|
|
21
|
-
td:focus,
|
|
22
|
-
td.k-focus,
|
|
23
|
-
th:focus,
|
|
24
|
-
th.k-focus {
|
|
28
|
+
.k-table-tbody .k-table-row.k-selected > td {
|
|
25
29
|
color: inherit;
|
|
26
|
-
background-color:
|
|
30
|
+
background-color: transparent;
|
|
27
31
|
}
|
|
32
|
+
|
|
33
|
+
.k-table .k-table-tbody {
|
|
34
|
+
td:focus,
|
|
35
|
+
td.k-focus,
|
|
36
|
+
th:focus,
|
|
37
|
+
th.k-focus {
|
|
38
|
+
color: inherit;
|
|
39
|
+
background-color: $kendo-table-hover-bg;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
28
43
|
}
|
|
29
44
|
|
|
30
45
|
}
|
|
@@ -78,7 +78,7 @@ $kendo-table-border: $kendo-component-border !default;
|
|
|
78
78
|
$kendo-table-header-bg: $kendo-table-bg !default;
|
|
79
79
|
/// Text color of table headers.
|
|
80
80
|
/// @group table
|
|
81
|
-
$kendo-table-header-text: if( $kendo-is-dark-theme, $light-secondary-text, $dark-secondary-text ) !default;
|
|
81
|
+
$kendo-table-header-text: if($kendo-enable-color-system, k-color( subtle ), if( $kendo-is-dark-theme, $light-secondary-text, $dark-secondary-text )) !default;
|
|
82
82
|
/// Border color of table headers.
|
|
83
83
|
/// @group table
|
|
84
84
|
$kendo-table-header-border: $kendo-table-border !default;
|
|
@@ -122,7 +122,7 @@ $kendo-table-alt-row-border: null !default;
|
|
|
122
122
|
|
|
123
123
|
/// Background color of hovered rows in table.
|
|
124
124
|
/// @group table
|
|
125
|
-
$kendo-table-hover-bg: rgba( k-contrast-color( $kendo-table-bg ), .07 ) !default;
|
|
125
|
+
$kendo-table-hover-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .08 ), rgba( k-contrast-color( $kendo-table-bg ), .07 )) !default;
|
|
126
126
|
/// Text color of hovered rows in table.
|
|
127
127
|
/// @group table
|
|
128
128
|
$kendo-table-hover-text: null !default;
|
|
@@ -147,7 +147,7 @@ $kendo-table-focus-shadow: $kendo-list-item-focus-shadow !default;
|
|
|
147
147
|
|
|
148
148
|
/// Background color of selected rows in table.
|
|
149
149
|
/// @group table
|
|
150
|
-
$kendo-table-selected-bg: rgba( k-contrast-color( $kendo-table-bg ), .04 ) !default;
|
|
150
|
+
$kendo-table-selected-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .12 ), rgba( k-contrast-color( $kendo-table-bg ), .04 )) !default;
|
|
151
151
|
/// Text color of selected rows in table.
|
|
152
152
|
/// @group table
|
|
153
153
|
$kendo-table-selected-text: null !default;
|
|
@@ -82,7 +82,7 @@ $kendo-tabstrip-item-focus-shadow: $kendo-list-item-focus-shadow !default;
|
|
|
82
82
|
$kendo-tabstrip-item-dragging-shadow: $box-shadow-depth-3 !default;
|
|
83
83
|
|
|
84
84
|
$kendo-tabstrip-item-disabled-bg: null !default;
|
|
85
|
-
$kendo-tabstrip-item-disabled-text: k-map-get( $theme, disabled-text ) !default;
|
|
85
|
+
$kendo-tabstrip-item-disabled-text: if($kendo-enable-color-system, rgba( k-color( on-app-surface, rgba ), .32 ), k-map-get( $theme, disabled-text )) !default;
|
|
86
86
|
$kendo-tabstrip-item-disabled-border: null !default;
|
|
87
87
|
$kendo-tabstrip-item-disabled-gradient: null !default;
|
|
88
88
|
$kendo-tabstrip-item-disabled-opacity: 1 !default;
|