@progress/kendo-theme-bootstrap 7.1.0-dev.8 → 7.1.0-dev.9
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 +54 -21
- package/dist/all.scss +1528 -686
- package/dist/meta/sassdoc-data.json +632 -636
- package/dist/meta/sassdoc-raw-data.json +308 -310
- package/dist/meta/variables.json +411 -371
- package/lib/swatches/bootstrap-3-dark.json +1 -1
- package/lib/swatches/bootstrap-3.json +1 -1
- package/lib/swatches/bootstrap-4-dark.json +1 -1
- package/lib/swatches/bootstrap-4.json +1 -1
- package/lib/swatches/bootstrap-dataviz-v4.json +1 -1
- package/lib/swatches/bootstrap-main-dark.json +1 -1
- package/lib/swatches/bootstrap-main.json +1 -1
- package/lib/swatches/bootstrap-nordic.json +1 -1
- package/lib/swatches/bootstrap-turquoise-dark.json +1 -1
- package/lib/swatches/bootstrap-turquoise.json +1 -1
- package/lib/swatches/bootstrap-urban.json +1 -1
- package/lib/swatches/bootstrap-vintage.json +1 -1
- package/package.json +5 -5
- package/scss/_bootstrap-overrides.scss +0 -22
- package/scss/_variables.scss +0 -203
- package/scss/adaptive/_variables.scss +1 -1
- package/scss/all.scss +0 -1
- package/scss/appbar/_variables.scss +2 -2
- package/scss/breadcrumb/_variables.scss +1 -1
- package/scss/button/_variables.scss +13 -13
- package/scss/calendar/_variables.scss +1 -1
- package/scss/chat/_variables.scss +1 -1
- package/scss/checkbox/_variables.scss +4 -4
- package/scss/chip/_theme.scss +5 -4
- package/scss/chip/_variables.scss +1 -1
- package/scss/core/_index.scss +6 -0
- package/scss/core/color-system/_palettes.scss +171 -0
- package/scss/core/color-system/_swatch-legacy.scss +66 -0
- package/scss/core/color-system/_swatch.scss +391 -0
- package/scss/dataviz/_variables.scss +42 -42
- package/scss/dock-manager/_variables.scss +1 -1
- package/scss/drawer/_variables.scss +1 -1
- package/scss/dropzone/_variables.scss +2 -2
- package/scss/editor/_variables.scss +1 -1
- package/scss/fab/_theme.scss +21 -21
- package/scss/filemanager/_variables.scss +2 -2
- package/scss/filter/_variables.scss +1 -1
- package/scss/gantt/_variables.scss +13 -13
- package/scss/grid/_theme.scss +54 -6
- package/scss/grid/_variables.scss +12 -9
- package/scss/input/_variables.scss +4 -4
- package/scss/list/_variables.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 +6 -6
- package/scss/notification/_variables.scss +3 -3
- package/scss/pager/_variables.scss +1 -1
- package/scss/panelbar/_variables.scss +4 -4
- package/scss/pivotgrid/_variables.scss +5 -5
- package/scss/scheduler/_variables.scss +3 -3
- package/scss/signature/_variables.scss +1 -1
- package/scss/skeleton/_variables.scss +1 -1
- package/scss/slider/_variables.scss +8 -8
- package/scss/splitter/_variables.scss +1 -1
- package/scss/spreadsheet/_variables.scss +4 -4
- package/scss/stepper/_variables.scss +7 -7
- package/scss/switch/_variables.scss +6 -6
- package/scss/table/_variables.scss +3 -3
- package/scss/taskboard/_variables.scss +8 -8
- package/scss/timeline/_variables.scss +4 -4
- package/scss/toolbar/_variables.scss +1 -1
- package/scss/tooltip/_variables.scss +4 -4
- package/scss/treeview/_variables.scss +1 -1
- package/scss/upload/_variables.scss +1 -1
|
@@ -5,51 +5,51 @@
|
|
|
5
5
|
|
|
6
6
|
/// The first base series color and its light and dark shades.
|
|
7
7
|
/// @group charts
|
|
8
|
-
$kendo-series-a: $blue !default;
|
|
9
|
-
$kendo-series-a-dark: k-color-mix( black, $kendo-series-a, 25% ) !default;
|
|
10
|
-
$kendo-series-a-darker: k-color-mix( black, $kendo-series-a, 50% ) !default;
|
|
11
|
-
$kendo-series-a-light: k-color-mix( white, $kendo-series-a, 25% ) !default;
|
|
12
|
-
$kendo-series-a-lighter: k-color-mix( white, $kendo-series-a, 50% ) !default;
|
|
8
|
+
$kendo-series-a: if($kendo-enable-color-system, k-color( series-a ), $blue) !default;
|
|
9
|
+
$kendo-series-a-dark: if($kendo-enable-color-system, k-color( series-a-bold ), k-color-mix( black, $kendo-series-a, 25% )) !default;
|
|
10
|
+
$kendo-series-a-darker: if($kendo-enable-color-system, k-color( series-a-bolder ), k-color-mix( black, $kendo-series-a, 50% )) !default;
|
|
11
|
+
$kendo-series-a-light: if($kendo-enable-color-system, k-color( series-a-subtle ), k-color-mix( white, $kendo-series-a, 25% )) !default;
|
|
12
|
+
$kendo-series-a-lighter: if($kendo-enable-color-system, k-color( series-a-subtler ), k-color-mix( white, $kendo-series-a, 50% )) !default;
|
|
13
13
|
|
|
14
14
|
/// The second base series color and its light and dark shades.
|
|
15
15
|
/// @group charts
|
|
16
|
-
$kendo-series-b: $purple !default;
|
|
17
|
-
$kendo-series-b-dark: k-color-mix( black, $kendo-series-b, 25% ) !default;
|
|
18
|
-
$kendo-series-b-darker: k-color-mix( black, $kendo-series-b, 50% ) !default;
|
|
19
|
-
$kendo-series-b-light: k-color-mix( white, $kendo-series-b, 25% ) !default;
|
|
20
|
-
$kendo-series-b-lighter: k-color-mix( white, $kendo-series-b, 50% ) !default;
|
|
16
|
+
$kendo-series-b: if($kendo-enable-color-system, k-color( series-b ), $purple) !default;
|
|
17
|
+
$kendo-series-b-dark: if($kendo-enable-color-system, k-color( series-b-bold ), k-color-mix( black, $kendo-series-b, 25% )) !default;
|
|
18
|
+
$kendo-series-b-darker: if($kendo-enable-color-system, k-color( series-b-bolder ), k-color-mix( black, $kendo-series-b, 50% )) !default;
|
|
19
|
+
$kendo-series-b-light: if($kendo-enable-color-system, k-color( series-b-subtle ), k-color-mix( white, $kendo-series-b, 25% )) !default;
|
|
20
|
+
$kendo-series-b-lighter: if($kendo-enable-color-system, k-color( series-b-subtler ), k-color-mix( white, $kendo-series-b, 50% )) !default;
|
|
21
21
|
|
|
22
22
|
/// The third base series color and its light and dark shades.
|
|
23
23
|
/// @group charts
|
|
24
|
-
$kendo-series-c: $teal !default;
|
|
25
|
-
$kendo-series-c-dark: k-color-mix( black, $kendo-series-c, 25% ) !default;
|
|
26
|
-
$kendo-series-c-darker: k-color-mix( black, $kendo-series-c, 50% ) !default;
|
|
27
|
-
$kendo-series-c-light: k-color-mix( white, $kendo-series-c, 25% ) !default;
|
|
28
|
-
$kendo-series-c-lighter: k-color-mix( white, $kendo-series-c, 50% ) !default;
|
|
24
|
+
$kendo-series-c: if($kendo-enable-color-system, k-color( series-c ), $teal) !default;
|
|
25
|
+
$kendo-series-c-dark: if($kendo-enable-color-system, k-color( series-c-bold ), k-color-mix( black, $kendo-series-c, 25% )) !default;
|
|
26
|
+
$kendo-series-c-darker: if($kendo-enable-color-system, k-color( series-c-bolder ), k-color-mix( black, $kendo-series-c, 50% )) !default;
|
|
27
|
+
$kendo-series-c-light: if($kendo-enable-color-system, k-color( series-c-subtle ), k-color-mix( white, $kendo-series-c, 25% )) !default;
|
|
28
|
+
$kendo-series-c-lighter: if($kendo-enable-color-system, k-color( series-c-subtler ), k-color-mix( white, $kendo-series-c, 50% )) !default;
|
|
29
29
|
|
|
30
30
|
/// The fourth base series color and its light and dark shades.
|
|
31
31
|
/// @group charts
|
|
32
|
-
$kendo-series-d: $green !default;
|
|
33
|
-
$kendo-series-d-dark: k-color-mix( black, $kendo-series-d, 25% ) !default;
|
|
34
|
-
$kendo-series-d-darker: k-color-mix( black, $kendo-series-d, 50% ) !default;
|
|
35
|
-
$kendo-series-d-light: k-color-mix( white, $kendo-series-d, 25% ) !default;
|
|
36
|
-
$kendo-series-d-lighter: k-color-mix( white, $kendo-series-d, 50% ) !default;
|
|
32
|
+
$kendo-series-d: if($kendo-enable-color-system, k-color( series-d ), $green) !default;
|
|
33
|
+
$kendo-series-d-dark: if($kendo-enable-color-system, k-color( series-d-bold ), k-color-mix( black, $kendo-series-d, 25% )) !default;
|
|
34
|
+
$kendo-series-d-darker: if($kendo-enable-color-system, k-color( series-d-bolder ), k-color-mix( black, $kendo-series-d, 50% )) !default;
|
|
35
|
+
$kendo-series-d-light: if($kendo-enable-color-system, k-color( series-d-subtle ), k-color-mix( white, $kendo-series-d, 25% )) !default;
|
|
36
|
+
$kendo-series-d-lighter: if($kendo-enable-color-system, k-color( series-d-subtler ), k-color-mix( white, $kendo-series-d, 50% )) !default;
|
|
37
37
|
|
|
38
38
|
/// The fifth base series color and its light and dark shades.
|
|
39
39
|
/// @group charts
|
|
40
|
-
$kendo-series-e: $yellow !default;
|
|
41
|
-
$kendo-series-e-dark: k-color-mix( black, $kendo-series-e, 25% ) !default;
|
|
42
|
-
$kendo-series-e-darker: k-color-mix( black, $kendo-series-e, 50% ) !default;
|
|
43
|
-
$kendo-series-e-light: k-color-mix( white, $kendo-series-e, 25% ) !default;
|
|
44
|
-
$kendo-series-e-lighter: k-color-mix( white, $kendo-series-e, 50% ) !default;
|
|
40
|
+
$kendo-series-e: if($kendo-enable-color-system, k-color( series-e ), $yellow) !default;
|
|
41
|
+
$kendo-series-e-dark: if($kendo-enable-color-system, k-color( series-e-bold ), k-color-mix( black, $kendo-series-e, 25% )) !default;
|
|
42
|
+
$kendo-series-e-darker: if($kendo-enable-color-system, k-color( series-e-bolder ), k-color-mix( black, $kendo-series-e, 50% )) !default;
|
|
43
|
+
$kendo-series-e-light: if($kendo-enable-color-system, k-color( series-e-subtle ), k-color-mix( white, $kendo-series-e, 25% )) !default;
|
|
44
|
+
$kendo-series-e-lighter: if($kendo-enable-color-system, k-color( series-e-subtler ), k-color-mix( white, $kendo-series-e, 50% )) !default;
|
|
45
45
|
|
|
46
46
|
/// The sixth base series color and its light and dark shades.
|
|
47
47
|
/// @group charts
|
|
48
|
-
$kendo-series-f: $red !default;
|
|
49
|
-
$kendo-series-f-dark: k-color-mix( black, $kendo-series-f, 25% ) !default;
|
|
50
|
-
$kendo-series-f-darker: k-color-mix( black, $kendo-series-f, 50% ) !default;
|
|
51
|
-
$kendo-series-f-light: k-color-mix( white, $kendo-series-f, 25% ) !default;
|
|
52
|
-
$kendo-series-f-lighter: k-color-mix( white, $kendo-series-f, 50% ) !default;
|
|
48
|
+
$kendo-series-f: if($kendo-enable-color-system, k-color( series-f ), $red) !default;
|
|
49
|
+
$kendo-series-f-dark: if($kendo-enable-color-system, k-color( series-f-bold ), k-color-mix( black, $kendo-series-f, 25% )) !default;
|
|
50
|
+
$kendo-series-f-darker: if($kendo-enable-color-system, k-color( series-f-bolder ), k-color-mix( black, $kendo-series-f, 50% )) !default;
|
|
51
|
+
$kendo-series-f-light: if($kendo-enable-color-system, k-color( series-f-subtle ), k-color-mix( white, $kendo-series-f, 25% )) !default;
|
|
52
|
+
$kendo-series-f-lighter: if($kendo-enable-color-system, k-color( series-f-subtler ), k-color-mix( white, $kendo-series-f, 50% )) !default;
|
|
53
53
|
|
|
54
54
|
/// The series colors in order:
|
|
55
55
|
/// base, light, dark, lighter, darker
|
|
@@ -100,13 +100,13 @@ $kendo-chart-pane-title-font-weight: $kendo-font-weight-normal !default;
|
|
|
100
100
|
|
|
101
101
|
/// The color of the Chart grid lines (major).
|
|
102
102
|
/// @group charts
|
|
103
|
-
$kendo-chart-major-lines: rgba( if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ), .08 ) !default;
|
|
103
|
+
$kendo-chart-major-lines: rgba( if($kendo-enable-color-system, k-color( on-app-surface, true ), if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black )), .08 ) !default;
|
|
104
104
|
|
|
105
105
|
/// The color of the Chart grid lines (minor).
|
|
106
106
|
/// @group charts
|
|
107
|
-
$kendo-chart-minor-lines: rgba( if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ), .04 ) !default;
|
|
107
|
+
$kendo-chart-minor-lines: rgba( if($kendo-enable-color-system, k-color( on-app-surface, true ), if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black )), .04 ) !default;
|
|
108
108
|
|
|
109
|
-
$kendo-chart-inactive: rgba( $kendo-body-text, .5 ) !default;
|
|
109
|
+
$kendo-chart-inactive: rgba( if($kendo-enable-color-system, k-color( on-app-surface, true ), $kendo-body-text), .5 ) !default;
|
|
110
110
|
$kendo-chart-area-opacity: .6 !default;
|
|
111
111
|
$kendo-chart-area-inactive-opacity: .1 !default;
|
|
112
112
|
$kendo-chart-line-inactive-opacity: .3 !default;
|
|
@@ -117,20 +117,20 @@ $kendo-chart-bg: $kendo-component-bg !default;
|
|
|
117
117
|
$kendo-chart-text: $kendo-component-text !default;
|
|
118
118
|
$kendo-chart-border: $kendo-component-border !default;
|
|
119
119
|
|
|
120
|
-
$kendo-chart-crosshair-background: rgba( if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ), .5 ) !default;
|
|
120
|
+
$kendo-chart-crosshair-background: rgba( if($kendo-enable-color-system, k-color( on-app-surface, true ), if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black )), .5 ) !default;
|
|
121
121
|
$kendo-chart-crosshair-shared-tooltip-color: $kendo-chart-text !default;
|
|
122
|
-
$kendo-chart-crosshair-shared-tooltip-background: k-try-shade( $kendo-chart-bg, 1 ) !default;
|
|
123
|
-
$kendo-chart-crosshair-shared-tooltip-border: rgba( if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ), .08) !default;
|
|
122
|
+
$kendo-chart-crosshair-shared-tooltip-background: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-chart-bg, 1 )) !default;
|
|
123
|
+
$kendo-chart-crosshair-shared-tooltip-border: rgba( if($kendo-enable-color-system, k-color( on-app-surface, true ), if($kendo-enable-color-system, k-color( on-app-surface, true ), if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ))), .08) !default;
|
|
124
124
|
|
|
125
|
-
$kendo-chart-notes-background: rgba( if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ), .5 ) !default;
|
|
126
|
-
$kendo-chart-notes-border: rgba( if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ), .5 ) !default;
|
|
127
|
-
$kendo-chart-notes-lines: rgba( if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ), .5 ) !default;
|
|
125
|
+
$kendo-chart-notes-background: rgba( if($kendo-enable-color-system, k-color( on-app-surface, true ), if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black )), .5 ) !default;
|
|
126
|
+
$kendo-chart-notes-border: rgba( if($kendo-enable-color-system, k-color( on-app-surface, true ), if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black )), .5 ) !default;
|
|
127
|
+
$kendo-chart-notes-lines: rgba( if($kendo-enable-color-system, k-color( on-app-surface, true ), if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black )), .5 ) !default;
|
|
128
128
|
|
|
129
|
-
$kendo-chart-error-bars-background: rgba( if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ), .5 ) !default;
|
|
129
|
+
$kendo-chart-error-bars-background: rgba( if($kendo-enable-color-system, k-color( on-app-surface, true ), if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black )), .5 ) !default;
|
|
130
130
|
|
|
131
131
|
$kendo-chart-selection-handle-size: 22px !default;
|
|
132
|
-
$kendo-chart-selection-border-color: rgba( if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ), .08 ) !default;
|
|
133
|
-
$kendo-chart-selection-shadow: inset 0 1px 7px rgba( if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ), .15) !default;
|
|
132
|
+
$kendo-chart-selection-border-color: rgba( if($kendo-enable-color-system, k-color( on-app-surface, true ), if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black )), .08 ) !default;
|
|
133
|
+
$kendo-chart-selection-shadow: inset 0 1px 7px rgba( if($kendo-enable-color-system, k-color( on-app-surface, true ), if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black )), .15) !default;
|
|
134
134
|
|
|
135
135
|
|
|
136
136
|
// TreeMap
|
|
@@ -107,7 +107,7 @@ $kendo-dock-manager-dock-preview-border-style: dashed !default;
|
|
|
107
107
|
$kendo-dock-manager-dock-preview-border-radius: $kendo-border-radius-sm !default;
|
|
108
108
|
/// The background color of the dropping area in the DockManager component.
|
|
109
109
|
/// @group dock-manager
|
|
110
|
-
$kendo-dock-manager-dock-preview-bg: rgba( $kendo-color-primary, .16 ) !default;
|
|
110
|
+
$kendo-dock-manager-dock-preview-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .16 ), rgba( $kendo-color-primary, .16 )) !default;
|
|
111
111
|
/// The border color of the dropping area in the DockManager component.
|
|
112
112
|
/// @group dock-manager
|
|
113
113
|
$kendo-dock-manager-dock-preview-border: $kendo-color-primary !default;
|
|
@@ -36,5 +36,5 @@ $kendo-drawer-focus-shadow: inset 0 0 0 2px rgba( black, .15 ) !default;
|
|
|
36
36
|
|
|
37
37
|
$kendo-drawer-selected-bg: $kendo-selected-bg !default;
|
|
38
38
|
$kendo-drawer-selected-text: $kendo-selected-text !default;
|
|
39
|
-
$kendo-drawer-selected-hover-bg: k-try-shade( $kendo-selected-bg, 1 ) !default;
|
|
39
|
+
$kendo-drawer-selected-hover-bg: if($kendo-enable-color-system, k-color( primary-hover ), k-try-shade( $kendo-selected-bg, 1 )) !default;
|
|
40
40
|
$kendo-drawer-selected-hover-text: $kendo-selected-text !default;
|
|
@@ -25,7 +25,7 @@ $kendo-dropzone-line-height: $kendo-line-height-md !default;
|
|
|
25
25
|
|
|
26
26
|
/// The background color of the DropZone.
|
|
27
27
|
/// @group dropzone
|
|
28
|
-
$kendo-dropzone-bg: if( k-is-light( $kendo-component-bg ), $gray-100, $gray-900 ) !default;
|
|
28
|
+
$kendo-dropzone-bg: if($kendo-enable-color-system, k-color( surface ), if( k-is-light( $kendo-component-bg ), $gray-100, $gray-900 )) !default;
|
|
29
29
|
/// The text color of the DropZone.
|
|
30
30
|
/// @group dropzone
|
|
31
31
|
$kendo-dropzone-text: $kendo-component-text !default;
|
|
@@ -38,7 +38,7 @@ $kendo-dropzone-border: $kendo-component-border !default;
|
|
|
38
38
|
$kendo-dropzone-icon-spacing: k-map-get( $kendo-spacing, 6 ) !default;
|
|
39
39
|
/// The text color of the DropZone icon.
|
|
40
40
|
/// @group dropzone
|
|
41
|
-
$kendo-dropzone-icon-text: k-try-tint( $kendo-dropzone-text, 8 ) !default;
|
|
41
|
+
$kendo-dropzone-icon-text: if($kendo-enable-color-system, k-color( subtle ), k-try-tint( $kendo-dropzone-text, 8 )) !default;
|
|
42
42
|
/// The text color of the hovered DropZone icon.
|
|
43
43
|
/// @group dropzone
|
|
44
44
|
$kendo-dropzone-icon-hover-text: $kendo-color-primary !default;
|
|
@@ -29,7 +29,7 @@ $kendo-editor-selected-bg: $kendo-color-primary !default;
|
|
|
29
29
|
|
|
30
30
|
/// The highlighted background color of the Editor.
|
|
31
31
|
/// @group editor
|
|
32
|
-
$kendo-editor-highlighted-bg: k-color-mix( $kendo-color-primary, #ffffff, 20% ) !default;
|
|
32
|
+
$kendo-editor-highlighted-bg: if($kendo-enable-color-system, k-color( primary-subtle ), k-color-mix( $kendo-color-primary, #ffffff, 20% )) !default;
|
|
33
33
|
|
|
34
34
|
/// The horizontal margin of the Editor's export tool icon.
|
|
35
35
|
/// @group editor
|
package/scss/fab/_theme.scss
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
outline: $kendo-fab-border-width $kendo-fab-outline-style $color;
|
|
11
11
|
outline-offset: -$kendo-fab-border-width;
|
|
12
12
|
border-color: $color;
|
|
13
|
-
color: k-contrast-color( $color );
|
|
13
|
+
color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-color( $color ));
|
|
14
14
|
background-color: $color;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
@each $name, $color in $kendo-fab-theme-colors {
|
|
20
20
|
.k-fab-solid-#{$name}:hover,
|
|
21
21
|
.k-fab-solid-#{$name}.k-hover {
|
|
22
|
-
border-color: k-color-darken( $color, 10% );
|
|
23
|
-
color: k-contrast-color( k-color-darken( $color, 7.5% ) );
|
|
24
|
-
background-color: k-color-darken( $color, 7.5% );
|
|
22
|
+
border-color: if($kendo-enable-color-system, k-color( #{$name}-hover ), k-color-darken( $color, 10% ));
|
|
23
|
+
color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-color( k-color-darken( $color, 7.5% ) ));
|
|
24
|
+
background-color: if($kendo-enable-color-system, k-color( #{$name}-hover ), k-color-darken( $color, 7.5% ));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
@each $name, $color in $kendo-fab-theme-colors {
|
|
30
30
|
.k-fab-solid-#{$name}:focus,
|
|
31
31
|
.k-fab-solid-#{$name}.k-focus {
|
|
32
|
-
outline: $kendo-fab-outline-width $kendo-fab-outline-style rgba( $color, .5 );
|
|
32
|
+
outline: $kendo-fab-outline-width $kendo-fab-outline-style if($kendo-enable-color-system, rgba( k-color( $name, true ), .5 ), rgba( $color, .5 ));
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
.k-fab-solid-#{$name}.k-active,
|
|
40
40
|
.k-fab-solid-#{$name}.k-selected {
|
|
41
41
|
@include box-shadow( $kendo-fab-active-shadow );
|
|
42
|
-
border-color: k-color-darken( $color, 12.5% );
|
|
43
|
-
color: k-contrast-color( k-color-darken( $color, 10% ) );
|
|
44
|
-
background-color: k-color-darken( $color, 10% );
|
|
42
|
+
border-color: if($kendo-enable-color-system, k-color( #{$name}-active ), k-color-darken( $color, 12.5% ));
|
|
43
|
+
color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-color( k-color-darken( $color, 10% ) ));
|
|
44
|
+
background-color: if($kendo-enable-color-system, k-color( #{$name}-active ), k-color-darken( $color, 10% ));
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
.k-fab-solid-#{$name}:disabled,
|
|
51
51
|
.k-fab-solid-#{$name}.k-disabled {
|
|
52
52
|
@include box-shadow( $kendo-fab-disabled-shadow );
|
|
53
|
-
background-color: k-try-tint( $color, 4.5 );
|
|
54
|
-
color: k-try-tint( k-contrast-color( $color ), 5 );
|
|
53
|
+
background-color: if($kendo-enable-color-system, rgba( k-color( $name, true ), .65 ), k-try-tint( $color, 4.5 ));
|
|
54
|
+
color: if($kendo-enable-color-system, rgba( k-color( on-#{$name}, true ), .65 ), k-try-tint( k-contrast-color( $color ), 5 ));
|
|
55
55
|
opacity: 1;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -80,11 +80,11 @@
|
|
|
80
80
|
.k-fab-item:hover .k-fab-item-icon,
|
|
81
81
|
.k-fab-item.k-hover .k-fab-item-icon {
|
|
82
82
|
@include box-shadow( $kendo-fab-item-shadow );
|
|
83
|
-
outline: $kendo-fab-border-width $kendo-fab-item-outline-style k-try-darken( $kendo-fab-item-icon-border, 10% );
|
|
83
|
+
outline: $kendo-fab-border-width $kendo-fab-item-outline-style if($kendo-enable-color-system, k-color( base-hover ), k-try-darken( $kendo-fab-item-icon-border, 10% ));
|
|
84
84
|
outline-offset: -$kendo-fab-border-width;
|
|
85
|
-
border-color: k-color-darken( $kendo-fab-item-icon-border, 10% );
|
|
86
|
-
color: k-contrast-color( k-color-darken( $kendo-fab-item-icon-bg, 7.5% ) );
|
|
87
|
-
background-color: k-color-darken( $kendo-fab-item-icon-bg, 7.5% );
|
|
85
|
+
border-color: if($kendo-enable-color-system, k-color( base-hover ), k-color-darken( $kendo-fab-item-icon-border, 10% ));
|
|
86
|
+
color: if($kendo-enable-color-system, k-color( on-base ), k-contrast-color( k-color-darken( $kendo-fab-item-icon-bg, 7.5% ) ));
|
|
87
|
+
background-color: if($kendo-enable-color-system, k-color( base-hover ), k-color-darken( $kendo-fab-item-icon-bg, 7.5% ));
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
// Focus state
|
|
@@ -92,18 +92,18 @@
|
|
|
92
92
|
.k-fab-item.k-focus .k-fab-item-text,
|
|
93
93
|
.k-fab-item:focus .k-fab-item-icon,
|
|
94
94
|
.k-fab-item.k-focus .k-fab-item-icon {
|
|
95
|
-
outline: $kendo-fab-item-outline-width $kendo-fab-item-outline-style rgba( $kendo-fab-item-icon-border, .5 );
|
|
95
|
+
outline: $kendo-fab-item-outline-width $kendo-fab-item-outline-style if($kendo-enable-color-system, rgba( k-color( base, true ), .5 ), rgba( $kendo-fab-item-icon-border, .5 ));
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
// Active state
|
|
99
99
|
.k-fab-item:active .k-fab-item-icon,
|
|
100
100
|
.k-fab-item.k-active .k-fab-item-icon {
|
|
101
101
|
@include box-shadow( $kendo-fab-item-active-shadow );
|
|
102
|
-
outline: $kendo-fab-border-width solid k-color-darken( $kendo-fab-item-icon-border, 12.5% );
|
|
102
|
+
outline: $kendo-fab-border-width solid if($kendo-enable-color-system, k-color( base-active ), k-color-darken( $kendo-fab-item-icon-border, 12.5% ));
|
|
103
103
|
outline-offset: -$kendo-fab-border-width;
|
|
104
|
-
border-color: k-color-darken( $kendo-fab-item-icon-border, 12.5% );
|
|
105
|
-
color: k-contrast-color( k-color-darken( $kendo-fab-item-icon-bg, 10% ) );
|
|
106
|
-
background-color: k-color-darken( $kendo-fab-item-icon-bg, 10% );
|
|
104
|
+
border-color: if($kendo-enable-color-system, k-color( base-active ), k-color-darken( $kendo-fab-item-icon-border, 12.5% ));
|
|
105
|
+
color: if($kendo-enable-color-system, k-color( on-base ), k-contrast-color( k-color-darken( $kendo-fab-item-icon-bg, 10% ) ));
|
|
106
|
+
background-color: if($kendo-enable-color-system, k-color( base-active ), k-color-darken( $kendo-fab-item-icon-bg, 10% ));
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
// Disabled state
|
|
@@ -114,8 +114,8 @@
|
|
|
114
114
|
.k-fab-item-text,
|
|
115
115
|
.k-fab-item-icon {
|
|
116
116
|
@include box-shadow( $kendo-fab-item-disabled-shadow );
|
|
117
|
-
background-color: k-try-tint( $kendo-fab-item-bg, 8 );
|
|
118
|
-
color: k-try-tint( $kendo-fab-item-text, 8 );
|
|
117
|
+
background-color: if($kendo-enable-color-system, rgba( k-color( base, true ), .65 ), k-try-tint( $kendo-fab-item-bg, 8 ));
|
|
118
|
+
color: if($kendo-enable-color-system, rgba( k-color( on-base, true ), .65 ), k-try-tint( $kendo-fab-item-text, 8 ));
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
|
|
@@ -119,7 +119,7 @@ $kendo-file-manager-listview-item-border: null !default;
|
|
|
119
119
|
$kendo-file-manager-listview-item-icon-bg: null !default;
|
|
120
120
|
/// The text color of the FileManager ListView item icon.
|
|
121
121
|
/// @group filemanager
|
|
122
|
-
$kendo-file-manager-listview-item-icon-text: k-try-tint( $kendo-file-manager-text, 4 ) !default;
|
|
122
|
+
$kendo-file-manager-listview-item-icon-text: if($kendo-enable-color-system, k-color( subtle ), k-try-tint( $kendo-file-manager-text, 4 )) !default;
|
|
123
123
|
/// The border color of the FileManager ListView item icon.
|
|
124
124
|
/// @group filemanager
|
|
125
125
|
$kendo-file-manager-listview-item-icon-border: null !default;
|
|
@@ -176,7 +176,7 @@ $kendo-file-manager-preview-border: null !default;
|
|
|
176
176
|
$kendo-file-manager-preview-icon-bg: null !default;
|
|
177
177
|
/// The text color of the FileManager preview icon.
|
|
178
178
|
/// @group filemanager
|
|
179
|
-
$kendo-file-manager-preview-icon-text: k-try-tint( $kendo-file-manager-text, 4 ) !default;
|
|
179
|
+
$kendo-file-manager-preview-icon-text: if($kendo-enable-color-system, k-color( subtle ), k-try-tint( $kendo-file-manager-text, 4 )) !default;
|
|
180
180
|
/// The border color of the FileManager preview icon.
|
|
181
181
|
/// @group filemanager
|
|
182
182
|
$kendo-file-manager-preview-icon-border: null !default;
|
|
@@ -27,4 +27,4 @@ $kendo-filter-preview-operator-text: $kendo-subtle-text !default;
|
|
|
27
27
|
|
|
28
28
|
/// The box shadow of the focused Filter toolbar.
|
|
29
29
|
/// @group filter
|
|
30
|
-
$kendo-filter-toolbar-focus-shadow: 0 0 0 .25rem rgba( $kendo-color-primary, .25 ) !default;
|
|
30
|
+
$kendo-filter-toolbar-focus-shadow: 0 0 0 .25rem if($kendo-enable-color-system, rgba( k-color( primary, true ), .25 ), rgba( $kendo-color-primary, .25 )) !default;
|
|
@@ -12,12 +12,12 @@ $kendo-gantt-treelist-bg: null !default;
|
|
|
12
12
|
$kendo-gantt-treelist-text: null !default;
|
|
13
13
|
$kendo-gantt-treelist-border: null !default;
|
|
14
14
|
|
|
15
|
-
$kendo-gantt-nonwork-bg: rgba( k-contrast-color( $kendo-gantt-bg ), .025 ) !default;
|
|
15
|
+
$kendo-gantt-nonwork-bg: if($kendo-enable-color-system, rgba( k-color( on-base, true ), .03 ), rgba( k-contrast-color( $kendo-gantt-bg ), .025 )) !default;
|
|
16
16
|
$kendo-gantt-nonwork-text: null !default;
|
|
17
17
|
$kendo-gantt-nonwork-border: null !default;
|
|
18
18
|
|
|
19
19
|
$kendo-gantt-line-size: 2px !default;
|
|
20
|
-
$kendo-gantt-line-fill: k-color-mix( $kendo-gantt-text, $kendo-gantt-bg ) !default;
|
|
20
|
+
$kendo-gantt-line-fill: if($kendo-enable-color-system, k-color( on-base ), k-color-mix( $kendo-gantt-text, $kendo-gantt-bg )) !default;
|
|
21
21
|
$kendo-gantt-line-selected-fill: $kendo-selected-bg !default;
|
|
22
22
|
|
|
23
23
|
$kendo-gantt-dot-size: 8px !default;
|
|
@@ -27,24 +27,24 @@ $kendo-gantt-dot-border: null !default;
|
|
|
27
27
|
$kendo-gantt-dot-hover-bg: $kendo-gantt-bg !default;
|
|
28
28
|
$kendo-gantt-dot-hover-border: $kendo-gantt-text !default;
|
|
29
29
|
|
|
30
|
-
$kendo-gantt-milestone-bg: if( k-is-light( $kendo-gantt-bg ), $gray-300, $gray-700 ) !default;
|
|
31
|
-
$kendo-gantt-milestone-border: k-try-shade( $kendo-gantt-milestone-bg, 2 ) !default;
|
|
30
|
+
$kendo-gantt-milestone-bg: if($kendo-enable-color-system, k-color( base ), if( k-is-light( $kendo-gantt-bg ), $gray-300, $gray-700 )) !default;
|
|
31
|
+
$kendo-gantt-milestone-border: if($kendo-enable-color-system, k-color( border-alt ), k-try-shade( $kendo-gantt-milestone-bg, 2 )) !default;
|
|
32
32
|
$kendo-gantt-milestone-selected-bg: $kendo-selected-bg !default;
|
|
33
33
|
$kendo-gantt-milestone-selected-border: $kendo-selected-border !default;
|
|
34
34
|
|
|
35
|
-
$kendo-gantt-summary-bg: k-color-mix( $kendo-gantt-text, $kendo-gantt-bg ) !default;
|
|
35
|
+
$kendo-gantt-summary-bg: if($kendo-enable-color-system, k-color( subtle ), k-color-mix( $kendo-gantt-text, $kendo-gantt-bg )) !default;
|
|
36
36
|
$kendo-gantt-summary-progress-bg: $kendo-gantt-text !default;
|
|
37
|
-
$kendo-gantt-summary-selected-bg: k-color-mix( $kendo-selected-bg, $kendo-gantt-bg ) !default;
|
|
37
|
+
$kendo-gantt-summary-selected-bg: if($kendo-enable-color-system, k-color( primary-subtle-active ), k-color-mix( $kendo-selected-bg, $kendo-gantt-bg )) !default;
|
|
38
38
|
$kendo-gantt-summary-progress-selected-bg: $kendo-selected-bg !default;
|
|
39
39
|
|
|
40
40
|
$kendo-gantt-task-padding-x: k-map-get( $kendo-spacing, 2 ) !default;
|
|
41
41
|
$kendo-gantt-task-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
|
|
42
42
|
$kendo-gantt-task-border-width: 1px !default;
|
|
43
|
-
$kendo-gantt-task-bg: if( k-is-light( $kendo-gantt-bg ), $gray-300, $gray-700 ) !default;
|
|
44
|
-
$kendo-gantt-task-text: k-contrast-color( $kendo-gantt-task-bg ) !default;
|
|
45
|
-
$kendo-gantt-task-border: if( k-is-light( $kendo-gantt-bg ), $gray-400, $gray-600 ) !default;
|
|
46
|
-
$kendo-gantt-task-progress-bg: if( k-is-light( $kendo-gantt-bg ), $gray-400, $gray-600 ) !default;
|
|
47
|
-
$kendo-gantt-task-selected-bg: k-color-mix( $kendo-selected-bg, $kendo-gantt-bg ) !default;
|
|
43
|
+
$kendo-gantt-task-bg: if($kendo-enable-color-system, k-color( base ), if( k-is-light( $kendo-gantt-bg ), $gray-300, $gray-700 )) !default;
|
|
44
|
+
$kendo-gantt-task-text: if($kendo-enable-color-system, k-color( on-base ), k-contrast-color( $kendo-gantt-task-bg )) !default;
|
|
45
|
+
$kendo-gantt-task-border: if($kendo-enable-color-system, k-color( border-alt ), if( k-is-light( $kendo-gantt-bg ), $gray-400, $gray-600 )) !default;
|
|
46
|
+
$kendo-gantt-task-progress-bg: if($kendo-enable-color-system, k-color( border-alt ), if( k-is-light( $kendo-gantt-bg ), $gray-400, $gray-600 )) !default;
|
|
47
|
+
$kendo-gantt-task-selected-bg: if($kendo-enable-color-system, k-color( primary-subtle-active ), k-color-mix( $kendo-selected-bg, $kendo-gantt-bg )) !default;
|
|
48
48
|
$kendo-gantt-task-selected-text: $kendo-selected-text !default;
|
|
49
49
|
$kendo-gantt-task-selected-border: $kendo-selected-bg !default;
|
|
50
50
|
$kendo-gantt-task-progress-selected-bg: $kendo-selected-bg !default;
|
|
@@ -78,10 +78,10 @@ $kendo-gantt-planned-bg: $kendo-color-primary !default;
|
|
|
78
78
|
$kendo-gantt-planned-border: $kendo-gantt-planned-bg !default;
|
|
79
79
|
|
|
80
80
|
$kendo-gantt-delayed-bg: $kendo-color-error !default;
|
|
81
|
-
$kendo-gantt-delayed-bg-lighter: k-color-tint( $kendo-gantt-delayed-bg, 5 ) !default;
|
|
81
|
+
$kendo-gantt-delayed-bg-lighter: if($kendo-enable-color-system, k-color( error-emphasis ), k-color-tint( $kendo-gantt-delayed-bg, 5 )) !default;
|
|
82
82
|
|
|
83
83
|
$kendo-gantt-advanced-bg: $kendo-color-success !default;
|
|
84
|
-
$kendo-gantt-advanced-bg-lighter: k-color-tint( $kendo-gantt-advanced-bg, 5 ) !default;
|
|
84
|
+
$kendo-gantt-advanced-bg-lighter: if($kendo-enable-color-system, k-color( success-emphasis ), k-color-tint( $kendo-gantt-advanced-bg, 5 )) !default;
|
|
85
85
|
|
|
86
86
|
$kendo-gantt-action-on-offset-text: #000000 !default;
|
|
87
87
|
$kendo-gantt-offset-resize-handler-top: 45% !default;
|
package/scss/grid/_theme.scss
CHANGED
|
@@ -205,14 +205,30 @@
|
|
|
205
205
|
&.k-table-row.k-selected .k-table-td.k-grid-row-sticky,
|
|
206
206
|
&.k-table-row td.k-grid-content-sticky.k-selected,
|
|
207
207
|
&.k-table-row .k-table-td.k-grid-content-sticky.k-selected {
|
|
208
|
-
@
|
|
208
|
+
@if($kendo-enable-color-system) {
|
|
209
|
+
@include fill( $bg: $kendo-grid-sticky-bg );
|
|
210
|
+
|
|
211
|
+
&::before {
|
|
212
|
+
@include fill( $bg: $kendo-grid-sticky-selected-bg );
|
|
213
|
+
}
|
|
214
|
+
} @else {
|
|
215
|
+
@include fill( $bg: $kendo-grid-sticky-selected-bg );
|
|
216
|
+
}
|
|
209
217
|
}
|
|
210
218
|
|
|
211
219
|
&.k-selected.k-table-alt-row td.k-grid-content-sticky,
|
|
212
220
|
&.k-selected.k-table-alt-row .k-table-td.k-grid-row-sticky,
|
|
213
221
|
&.k-table-alt-row td.k-grid-content-sticky.k-selected,
|
|
214
222
|
&.k-table-alt-row .k-table-td.k-grid-content-sticky.k-selected {
|
|
215
|
-
@
|
|
223
|
+
@if($kendo-enable-color-system) {
|
|
224
|
+
@include fill( $bg: $kendo-grid-sticky-alt-bg );
|
|
225
|
+
|
|
226
|
+
&::before {
|
|
227
|
+
@include fill( $bg: $kendo-grid-sticky-selected-alt-bg );
|
|
228
|
+
}
|
|
229
|
+
} @else {
|
|
230
|
+
@include fill( $bg: $kendo-grid-sticky-selected-alt-bg );
|
|
231
|
+
}
|
|
216
232
|
}
|
|
217
233
|
|
|
218
234
|
|
|
@@ -234,7 +250,15 @@
|
|
|
234
250
|
&.k-hover td.k-grid-content-sticky.k-selected,
|
|
235
251
|
&:hover .k-table-td.k-grid-content-sticky.k-selected,
|
|
236
252
|
&.k-hover .k-table-td.k-grid-content-sticky.k-selected {
|
|
237
|
-
|
|
253
|
+
@if($kendo-enable-color-system) {
|
|
254
|
+
background-color: $kendo-grid-sticky-hover-bg;
|
|
255
|
+
|
|
256
|
+
&::before {
|
|
257
|
+
background-color: $kendo-grid-sticky-selected-hover-bg;
|
|
258
|
+
}
|
|
259
|
+
} @else {
|
|
260
|
+
background-color: $kendo-grid-sticky-selected-hover-bg;
|
|
261
|
+
}
|
|
238
262
|
}
|
|
239
263
|
}
|
|
240
264
|
|
|
@@ -278,14 +302,30 @@
|
|
|
278
302
|
.k-selected.k-grid-row-sticky .k-table-td,
|
|
279
303
|
.k-grid-row-sticky .k-table-td.k-selected,
|
|
280
304
|
.k-selected.k-grid-content-sticky {
|
|
281
|
-
@
|
|
305
|
+
@if($kendo-enable-color-system) {
|
|
306
|
+
@include fill( $bg: $kendo-grid-sticky-bg );
|
|
307
|
+
|
|
308
|
+
&::before {
|
|
309
|
+
@include fill( $bg: $kendo-grid-sticky-selected-bg );
|
|
310
|
+
}
|
|
311
|
+
} @else {
|
|
312
|
+
@include fill( $bg: $kendo-grid-sticky-selected-bg );
|
|
313
|
+
}
|
|
282
314
|
}
|
|
283
315
|
|
|
284
316
|
.k-table-row.k-selected.k-table-alt-row .k-grid-content-sticky,
|
|
285
317
|
.k-selected.k-table-alt-row.k-grid-row-sticky td,
|
|
286
318
|
.k-selected.k-table-alt-row.k-grid-row-sticky .k-table-td,
|
|
287
319
|
.k-table-alt-row .k-selected.k-grid-content-sticky {
|
|
288
|
-
@
|
|
320
|
+
@if($kendo-enable-color-system) {
|
|
321
|
+
@include fill( $bg: $kendo-grid-sticky-alt-bg );
|
|
322
|
+
|
|
323
|
+
&::before {
|
|
324
|
+
@include fill( $bg: $kendo-grid-sticky-selected-alt-bg );
|
|
325
|
+
}
|
|
326
|
+
} @else {
|
|
327
|
+
@include fill( $bg: $kendo-grid-sticky-selected-alt-bg );
|
|
328
|
+
}
|
|
289
329
|
}
|
|
290
330
|
|
|
291
331
|
// Hover state
|
|
@@ -323,7 +363,15 @@
|
|
|
323
363
|
.k-grid-row-sticky.k-hover .k-table-td.k-selected,
|
|
324
364
|
.k-table-row:hover .k-grid-content-sticky.k-selected,
|
|
325
365
|
.k-table-row.k-hover .k-grid-content-sticky.k-selected {
|
|
326
|
-
|
|
366
|
+
@if($kendo-enable-color-system) {
|
|
367
|
+
background-color: $kendo-grid-sticky-hover-bg;
|
|
368
|
+
|
|
369
|
+
&::before {
|
|
370
|
+
background-color: $kendo-grid-sticky-selected-hover-bg;
|
|
371
|
+
}
|
|
372
|
+
} @else {
|
|
373
|
+
background-color: $kendo-grid-sticky-selected-hover-bg;
|
|
374
|
+
}
|
|
327
375
|
}
|
|
328
376
|
}
|
|
329
377
|
|
|
@@ -219,10 +219,10 @@ $kendo-grid-selection-aggregates-line-height: $kendo-grid-line-height !default;
|
|
|
219
219
|
/// @group grid
|
|
220
220
|
$kendo-grid-selection-aggregates-font-weight: $kendo-font-weight-bold !default;
|
|
221
221
|
|
|
222
|
-
$kendo-grid-grouping-row-bg: k-try-shade( $kendo-grid-bg ) !default;
|
|
222
|
+
$kendo-grid-grouping-row-bg: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-grid-bg )) !default;
|
|
223
223
|
$kendo-grid-grouping-row-text: $kendo-grid-text !default;
|
|
224
224
|
|
|
225
|
-
$kendo-grid-sorted-bg: rgba( k-contrast-color( $kendo-grid-bg ), .02 ) !default;
|
|
225
|
+
$kendo-grid-sorted-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .02 ), rgba( k-contrast-color( $kendo-grid-bg ), .02 )) !default;
|
|
226
226
|
$kendo-grid-sorting-indicator-text: $kendo-color-primary !default;
|
|
227
227
|
$kendo-grid-sorting-index-font-size: ($kendo-icon-size * .75) !default;
|
|
228
228
|
$kendo-grid-sorting-index-height: $kendo-icon-size !default;
|
|
@@ -237,11 +237,13 @@ $kendo-grid-command-cell-button-spacing: k-map-get( $kendo-spacing, 2 ) !default
|
|
|
237
237
|
// be cautious when changing the next line; see https://github.com/MoOx/reduce-css-calc/issues/38
|
|
238
238
|
$kendo-grid-command-cell-padding-y: calc( #{$kendo-grid-cell-padding-y} - (#{$kendo-button-calc-size} - #{$kendo-line-height-em}) / 2 ) !default;
|
|
239
239
|
|
|
240
|
+
// Must be a solid color
|
|
240
241
|
$kendo-grid-sticky-bg: $kendo-grid-bg !default;
|
|
241
242
|
$kendo-grid-sticky-text: $kendo-grid-text !default;
|
|
242
|
-
$kendo-grid-sticky-border: rgba($kendo-grid-text, .5) !default;
|
|
243
|
+
$kendo-grid-sticky-border: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .5 ), rgba($kendo-grid-text, .5)) !default;
|
|
243
244
|
|
|
244
|
-
|
|
245
|
+
// Must be a solid color
|
|
246
|
+
$kendo-grid-sticky-alt-bg: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-grid-bg, .5 )) !default;
|
|
245
247
|
|
|
246
248
|
$kendo-grid-sticky-header-bg: $kendo-grid-header-bg !default;
|
|
247
249
|
$kendo-grid-sticky-header-text: $kendo-grid-header-text !default;
|
|
@@ -250,11 +252,12 @@ $kendo-grid-sticky-header-border: $kendo-grid-sticky-border !default;
|
|
|
250
252
|
$kendo-grid-sticky-footer-bg: $kendo-grid-header-bg !default;
|
|
251
253
|
$kendo-grid-sticky-footer-hover-bg: $kendo-grid-sticky-footer-bg !default;
|
|
252
254
|
|
|
253
|
-
$kendo-grid-sticky-selected-bg: k-color-mix( $kendo-selected-bg, $kendo-grid-bg, 25% ) !default;
|
|
254
|
-
$kendo-grid-sticky-selected-alt-bg: k-color-shade( $kendo-grid-sticky-selected-bg, .4 ) !default;
|
|
255
|
+
$kendo-grid-sticky-selected-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .25 ), k-color-mix( $kendo-selected-bg, $kendo-grid-bg, 25% )) !default;
|
|
256
|
+
$kendo-grid-sticky-selected-alt-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .24 ), k-color-shade( $kendo-grid-sticky-selected-bg, .4 )) !default;
|
|
255
257
|
|
|
256
|
-
|
|
257
|
-
$kendo-grid-sticky-
|
|
258
|
+
// Must be a solid color
|
|
259
|
+
$kendo-grid-sticky-hover-bg: if($kendo-enable-color-system, k-color( base-subtle-hover ), k-try-shade( $kendo-grid-bg )) !default;
|
|
260
|
+
$kendo-grid-sticky-selected-hover-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .24 ), k-color-shade( $kendo-grid-sticky-selected-bg, .7 )) !default;
|
|
258
261
|
|
|
259
262
|
$kendo-grid-column-menu-width: 250px !default;
|
|
260
263
|
$kendo-grid-column-menu-max-width: 320px !default;
|
|
@@ -305,7 +308,7 @@ $kendo-grid-group-footer-second-cell-border: 1px !default;
|
|
|
305
308
|
|
|
306
309
|
/// Background color of the grid row resize indicator
|
|
307
310
|
/// @group grid
|
|
308
|
-
$kendo-grid-row-resizer-hover-bg: rgba( k-contrast-color( $kendo-grid-bg ), .12 ) !default;
|
|
311
|
+
$kendo-grid-row-resizer-hover-bg: if($kendo-enable-color-system, rgba( k-color( on-base, true ), .2 ), rgba( k-contrast-color( $kendo-grid-bg ), .12 )) !default;
|
|
309
312
|
/// Active background color of the grid row resize indicator
|
|
310
313
|
/// @group grid
|
|
311
314
|
$kendo-grid-row-resizer-active-bg: $kendo-color-primary !default;
|
|
@@ -167,7 +167,7 @@ $kendo-input-outline-bg: null !default;
|
|
|
167
167
|
$kendo-input-outline-text: $kendo-base-text !default;
|
|
168
168
|
/// The border color of the outline Input components.
|
|
169
169
|
/// @group input
|
|
170
|
-
$kendo-input-outline-border: rgba( $kendo-base-text, .5 ) !default;
|
|
170
|
+
$kendo-input-outline-border: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .5 ), rgba( $kendo-base-text, .5 )) !default;
|
|
171
171
|
|
|
172
172
|
/// The background color of the outline hovered Input components.
|
|
173
173
|
/// @group input
|
|
@@ -365,14 +365,14 @@ $kendo-picker-outline-bg: null !default;
|
|
|
365
365
|
$kendo-picker-outline-text: $kendo-button-text !default;
|
|
366
366
|
/// The border color of the outline Picker components.
|
|
367
367
|
/// @group picker
|
|
368
|
-
$kendo-picker-outline-border: rgba( $kendo-picker-outline-text, .5 ) !default;
|
|
368
|
+
$kendo-picker-outline-border: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .5 ), rgba( $kendo-picker-outline-text, .5 )) !default;
|
|
369
369
|
|
|
370
370
|
/// The background color of the outline hovered Picker components.
|
|
371
371
|
/// @group picker
|
|
372
372
|
$kendo-picker-outline-hover-bg: $kendo-picker-outline-text !default;
|
|
373
373
|
/// The text color of the outline hovered Picker components.
|
|
374
374
|
/// @group picker
|
|
375
|
-
$kendo-picker-outline-hover-text: k-contrast-color( $kendo-picker-outline-hover-bg ) !default;
|
|
375
|
+
$kendo-picker-outline-hover-text: if($kendo-enable-color-system, k-color( base-subtle ), k-contrast-color( $kendo-picker-outline-hover-bg )) !default;
|
|
376
376
|
/// The border color of the outline hovered Picker components.
|
|
377
377
|
/// @group picker
|
|
378
378
|
$kendo-picker-outline-hover-border: $kendo-picker-outline-hover-bg !default;
|
|
@@ -412,7 +412,7 @@ $kendo-picker-flat-border: $kendo-button-border !default;
|
|
|
412
412
|
|
|
413
413
|
/// The background color of the flat hovered Picker components.
|
|
414
414
|
/// @group picker
|
|
415
|
-
$kendo-picker-flat-hover-bg: rgba( $kendo-button-text, .08 ) !default;
|
|
415
|
+
$kendo-picker-flat-hover-bg: if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .08 ), rgba( $kendo-button-text, .08 )) !default;
|
|
416
416
|
/// The text color of the flat hovered Picker components.
|
|
417
417
|
/// @group picker
|
|
418
418
|
$kendo-picker-flat-hover-text: null !default;
|
|
@@ -220,7 +220,7 @@ $kendo-list-item-focus-bg: null !default;
|
|
|
220
220
|
$kendo-list-item-focus-text: null !default;
|
|
221
221
|
/// The box shadow of the focused List items.
|
|
222
222
|
/// @group list
|
|
223
|
-
$kendo-list-item-focus-shadow: inset 0 0 0 3px rgba( $kendo-list-text, .15 ) !default;
|
|
223
|
+
$kendo-list-item-focus-shadow: inset 0 0 0 3px if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .15 ), rgba( $kendo-list-text, .15 )) !default;
|
|
224
224
|
|
|
225
225
|
/// The background color of the selected List items.
|
|
226
226
|
/// @group list
|
|
@@ -41,7 +41,7 @@ $kendo-listview-item-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
|
|
|
41
41
|
$kendo-listview-item-selected-text: null !default;
|
|
42
42
|
/// The background color of the selected ListView items.
|
|
43
43
|
/// @group listview
|
|
44
|
-
$kendo-listview-item-selected-bg: rgba( $kendo-selected-bg, .25 ) !default;
|
|
44
|
+
$kendo-listview-item-selected-bg: if($kendo-enable-color-system, rgba( k-color( primary, true ), .25 ), rgba( $kendo-selected-bg, .25 )) !default;
|
|
45
45
|
/// The border color of the selected ListView items.
|
|
46
46
|
/// @group listview
|
|
47
47
|
$kendo-listview-item-selected-border: null !default;
|
|
@@ -57,4 +57,4 @@ $kendo-listview-item-focus-bg: null !default;
|
|
|
57
57
|
$kendo-listview-item-focus-border: null !default;
|
|
58
58
|
/// The box shadow of the focused ListView items.
|
|
59
59
|
/// @group listview
|
|
60
|
-
$kendo-listview-item-focus-shadow: inset 0 0 0 3px rgba( $kendo-listview-text, .15 ) !default;
|
|
60
|
+
$kendo-listview-item-focus-shadow: inset 0 0 0 3px if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .15 ), rgba( $kendo-listview-text, .15 )) !default;
|
package/scss/map/_variables.scss
CHANGED
|
@@ -25,6 +25,6 @@ $kendo-map-zoom-control-button-padding-y: $kendo-map-zoom-control-button-padding
|
|
|
25
25
|
$kendo-map-attribution-padding-x: $kendo-padding-sm-x !default;
|
|
26
26
|
$kendo-map-attribution-padding-y: $kendo-padding-sm-y !default;
|
|
27
27
|
$kendo-map-attribution-font-size: ($kendo-map-font-size * .75) !default;
|
|
28
|
-
$kendo-map-attribution-bg: rgba( $kendo-map-bg, .8 ) !default;
|
|
28
|
+
$kendo-map-attribution-bg: if($kendo-enable-color-system, rgba( k-color( app-surface, true ), .8 ), rgba( $kendo-map-bg, .8 )) !default;
|
|
29
29
|
|
|
30
30
|
$kendo-map-marker-fill: $kendo-color-primary !default;
|
|
@@ -13,4 +13,4 @@ $kendo-media-player-titlebar-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
|
|
|
13
13
|
$kendo-media-player-titlebar-bg: null !default;
|
|
14
14
|
$kendo-media-player-titlebar-text: $kendo-media-player-bg !default;
|
|
15
15
|
$kendo-media-player-titlebar-border: null !default;
|
|
16
|
-
$kendo-media-player-titlebar-gradient: rgba( $kendo-media-player-text, .7 ), rgba( $kendo-media-player-text, 0 ) !default;
|
|
16
|
+
$kendo-media-player-titlebar-gradient: if($kendo-enable-color-system, ( rgba( k-color( on-app-surface, true ), .7 ), rgba( k-color( on-app-surface, true ), 0 ) ), ( rgba( $kendo-media-player-text, .7 ), rgba( $kendo-media-player-text, 0 ) )) !default;
|