@progress/kendo-theme-material 11.0.0-dev.0 → 11.0.0-dev.1
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 +1 -1
- package/dist/material-2-dark.css +1 -0
- package/dist/material-2-dark.scss +137 -0
- package/dist/material-2.css +1 -0
- package/dist/material-2.scss +132 -0
- package/dist/material-aqua-dark.css +1 -1
- package/dist/material-arctic.css +1 -1
- package/dist/material-burnt-teal.css +1 -1
- package/dist/material-dataviz-v4.css +1 -1
- package/dist/material-eggplant.css +1 -1
- package/dist/material-lime-dark.css +1 -1
- package/dist/material-lime.css +1 -1
- package/dist/material-main-dark.css +1 -1
- package/dist/material-main-dark.scss +97 -97
- package/dist/material-main.css +1 -1
- package/dist/material-nova.css +1 -1
- package/dist/material-pacific-dark.css +1 -1
- package/dist/material-pacific.css +1 -1
- package/dist/material-sky-dark.css +1 -1
- package/dist/material-sky.css +1 -1
- package/dist/material-smoke.css +1 -1
- package/dist/meta/sassdoc-data.json +11721 -9853
- package/dist/meta/sassdoc-raw-data.json +3880 -3030
- package/dist/meta/variables.json +2515 -2282
- package/lib/swatches/index.js +2 -0
- package/lib/swatches/material-2-dark.json +657 -0
- package/lib/swatches/material-2.json +632 -0
- 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 +103 -103
- package/lib/swatches/material-main.json +6 -6
- 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 +4 -4
- package/scss/action-buttons/_layout.scss +0 -23
- package/scss/action-buttons/_theme.scss +0 -13
- package/scss/action-buttons/_variables.scss +3 -3
- package/scss/action-sheet/_layout.scss +6 -0
- package/scss/action-sheet/_variables.scss +21 -22
- package/scss/appbar/_variables.scss +3 -3
- package/scss/badge/_layout.scss +0 -1
- package/scss/badge/_variables.scss +8 -8
- package/scss/bottom-navigation/_theme.scss +54 -3
- package/scss/bottom-navigation/_variables.scss +16 -16
- package/scss/breadcrumb/_variables.scss +19 -19
- package/scss/button/_layout.scss +0 -79
- package/scss/button/_theme.scss +114 -29
- package/scss/button/_variables.scss +28 -24
- package/scss/calendar/_layout.scss +13 -16
- package/scss/calendar/_theme.scss +29 -11
- package/scss/calendar/_variables.scss +75 -48
- package/scss/captcha/_variables.scss +3 -3
- package/scss/card/_variables.scss +15 -15
- package/scss/chat/_theme.scss +4 -0
- package/scss/chat/_variables.scss +4 -4
- package/scss/checkbox/_layout.scss +35 -0
- package/scss/checkbox/_theme.scss +113 -4
- package/scss/checkbox/_variables.scss +18 -15
- package/scss/chip/_layout.scss +10 -0
- package/scss/chip/_theme.scss +41 -61
- package/scss/chip/_variables.scss +36 -18
- package/scss/coloreditor/_variables.scss +8 -8
- package/scss/colorgradient/_variables.scss +3 -33
- package/scss/column-menu/_variables.scss +1 -1
- package/scss/core/color-system/_palettes.scss +243 -242
- package/scss/core/color-system/_swatch.scss +142 -142
- package/scss/core/elevation/index.import.scss +18 -27
- package/scss/core/typography/index.import.scss +8 -8
- package/scss/dataviz/_variables.scss +1 -1
- package/scss/dialog/_variables.scss +6 -1
- package/scss/dock-manager/_variables.scss +14 -14
- package/scss/draggable/_variables.scss +1 -1
- package/scss/drawer/_layout.scss +2 -0
- package/scss/drawer/_theme.scss +0 -11
- package/scss/drawer/_variables.scss +48 -23
- package/scss/dropzone/_variables.scss +2 -2
- package/scss/editor/_layout.scss +2 -12
- package/scss/editor/_variables.scss +4 -4
- package/scss/expansion-panel/_layout.scss +5 -0
- package/scss/expansion-panel/_variables.scss +6 -6
- package/scss/fab/_layout.scss +1 -1
- package/scss/fab/_theme.scss +13 -12
- package/scss/fab/_variables.scss +11 -11
- package/scss/filemanager/_theme.scss +4 -0
- package/scss/filemanager/_variables.scss +1 -1
- package/scss/filter/_variables.scss +2 -2
- package/scss/forms/_variables.scss +5 -5
- package/scss/gantt/_variables.scss +16 -16
- package/scss/grid/_layout.scss +6 -21
- package/scss/grid/_theme.scss +12 -55
- package/scss/grid/_variables.scss +13 -13
- package/scss/imageeditor/_variables.scss +2 -2
- package/scss/input/_layout.scss +10 -14
- package/scss/input/_variables.scss +35 -34
- package/scss/list/_theme.scss +1 -1
- package/scss/list/_variables.scss +100 -22
- package/scss/listbox/_variables.scss +1 -1
- package/scss/listgroup/_variables.scss +4 -4
- package/scss/listview/_theme.scss +0 -13
- package/scss/listview/_variables.scss +5 -5
- package/scss/loader/_variables.scss +2 -2
- package/scss/map/_variables.scss +2 -2
- package/scss/mediaplayer/_variables.scss +2 -2
- package/scss/menu/_layout.scss +4 -0
- package/scss/menu/_theme.scss +1 -26
- package/scss/menu/_variables.scss +47 -39
- package/scss/menu-button/_variables.scss +1 -1
- package/scss/messagebox/_layout.scss +5 -1
- package/scss/messagebox/_variables.scss +1 -1
- package/scss/notification/_layout.scss +5 -0
- package/scss/notification/_theme.scss +1 -0
- package/scss/notification/_variables.scss +18 -8
- package/scss/orgchart/_variables.scss +3 -3
- package/scss/pager/_variables.scss +4 -4
- package/scss/panel/_variables.scss +3 -3
- package/scss/panelbar/_layout.scss +29 -1
- package/scss/panelbar/_theme.scss +0 -1
- package/scss/panelbar/_variables.scss +23 -23
- package/scss/pdf-viewer/_variables.scss +3 -3
- package/scss/pivotgrid/_theme.scss +0 -12
- package/scss/pivotgrid/_variables.scss +4 -4
- package/scss/popover/_variables.scss +3 -3
- package/scss/popup/_variables.scss +5 -5
- package/scss/progressbar/_layout.scss +11 -4
- package/scss/progressbar/_variables.scss +2 -2
- package/scss/prompt/_layout.scss +4 -0
- package/scss/prompt/_variables.scss +8 -8
- package/scss/radio/_layout.scss +35 -0
- package/scss/radio/_theme.scss +109 -4
- package/scss/radio/_variables.scss +17 -14
- package/scss/rating/_variables.scss +3 -3
- package/scss/scheduler/_layout.scss +2 -89
- package/scss/scheduler/_variables.scss +4 -4
- package/scss/scrollview/_variables.scss +1 -1
- package/scss/slider/_layout.scss +11 -0
- package/scss/slider/_theme.scss +1 -10
- package/scss/slider/_variables.scss +16 -7
- package/scss/split-button/_layout.scss +12 -0
- package/scss/split-button/_variables.scss +4 -4
- package/scss/splitter/_variables.scss +3 -3
- package/scss/spreadsheet/_layout.scss +0 -35
- package/scss/spreadsheet/_theme.scss +3 -25
- package/scss/spreadsheet/_variables.scss +7 -7
- package/scss/stepper/_layout.scss +15 -1
- package/scss/stepper/_theme.scss +8 -0
- package/scss/stepper/_variables.scss +13 -13
- package/scss/switch/_layout.scss +20 -5
- package/scss/switch/_theme.scss +2 -9
- package/scss/switch/_variables.scss +50 -16
- package/scss/table/_layout.scss +6 -0
- package/scss/table/_variables.scss +9 -9
- package/scss/tabstrip/_layout.scss +100 -4
- package/scss/tabstrip/_variables.scss +16 -16
- package/scss/taskboard/_layout.scss +4 -0
- package/scss/taskboard/_variables.scss +8 -8
- package/scss/tilelayout/_layout.scss +7 -1
- package/scss/tilelayout/_variables.scss +2 -2
- package/scss/timeline/_variables.scss +2 -2
- package/scss/timeselector/_layout.scss +38 -0
- package/scss/timeselector/_theme.scss +8 -6
- package/scss/timeselector/_variables.scss +29 -23
- package/scss/toolbar/_layout.scss +0 -47
- package/scss/toolbar/_theme.scss +4 -44
- package/scss/toolbar/_variables.scss +14 -14
- package/scss/tooltip/_variables.scss +6 -6
- package/scss/treelist/_layout.scss +0 -19
- package/scss/treelist/_theme.scss +10 -15
- package/scss/treelist/_variables.scss +1 -1
- package/scss/treeview/_theme.scss +2 -31
- package/scss/treeview/_variables.scss +24 -24
- package/scss/typography/_variables.scss +21 -21
- package/scss/upload/_variables.scss +3 -3
- package/scss/window/_layout.scss +14 -0
- package/scss/window/_variables.scss +8 -8
- package/scss/wizard/_variables.scss +3 -3
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@use "../core/_index.scss" as *;
|
|
2
1
|
@use "@progress/kendo-theme-core/scss/components/spreadsheet/_layout.scss" as *;
|
|
3
2
|
|
|
4
3
|
|
|
@@ -6,19 +5,6 @@
|
|
|
6
5
|
|
|
7
6
|
@include kendo-spreadsheet--layout-base();
|
|
8
7
|
|
|
9
|
-
// Quick access toolbar
|
|
10
|
-
.k-spreadsheet-quick-access-toolbar {
|
|
11
|
-
padding: k-spacing(1);
|
|
12
|
-
|
|
13
|
-
.k-button {
|
|
14
|
-
border-radius: 50%;
|
|
15
|
-
color: inherit;
|
|
16
|
-
background: none;
|
|
17
|
-
box-shadow: none;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
8
|
// Spreadsheet tabstrip
|
|
23
9
|
.k-spreadsheet-tabstrip {
|
|
24
10
|
padding-top: 0;
|
|
@@ -27,25 +13,4 @@
|
|
|
27
13
|
border-width: 0;
|
|
28
14
|
}
|
|
29
15
|
}
|
|
30
|
-
|
|
31
|
-
// Spreadsheet footer
|
|
32
|
-
.k-spreadsheet-sheets-bar {
|
|
33
|
-
|
|
34
|
-
.k-spreadsheet-sheets-bar-add {
|
|
35
|
-
margin: k-spacing(1);
|
|
36
|
-
border-radius: 50%;
|
|
37
|
-
color: inherit;
|
|
38
|
-
background: none;
|
|
39
|
-
box-shadow: none;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
// Selection
|
|
45
|
-
.k-spreadsheet .k-selection-full,
|
|
46
|
-
.k-spreadsheet .k-selection-partial {
|
|
47
|
-
&::after {
|
|
48
|
-
display: block;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
16
|
}
|
|
@@ -5,31 +5,9 @@
|
|
|
5
5
|
@mixin kendo-spreadsheet--theme() {
|
|
6
6
|
@include kendo-spreadsheet--theme-base();
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
.k-spreadsheet
|
|
10
|
-
|
|
11
|
-
.k-tabstrip-items-wrapper {
|
|
12
|
-
color: k-color(on-primary);
|
|
13
|
-
background-color: k-color(primary);
|
|
14
|
-
}
|
|
15
|
-
.k-tabstrip-items .k-item {
|
|
16
|
-
color: inherit;
|
|
17
|
-
}
|
|
18
|
-
.k-tabstrip-items .k-item.k-active::after {
|
|
19
|
-
border-color: k-color(on-primary);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
// Quick access toolbar
|
|
24
|
-
.k-spreadsheet-quick-access-toolbar {
|
|
25
|
-
color: k-color(on-primary);
|
|
26
|
-
background-color: k-color(primary);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
// Selection
|
|
30
|
-
.k-spreadsheet .k-selection-full,
|
|
31
|
-
.k-spreadsheet .k-selection-partial {
|
|
32
|
-
&::after { border-color: k-color(secondary); }
|
|
8
|
+
.k-spreadsheet-action-bar,
|
|
9
|
+
.k-spreadsheet-view {
|
|
10
|
+
background-color: k-color(surface-alt);
|
|
33
11
|
}
|
|
34
12
|
|
|
35
13
|
}
|
|
@@ -21,7 +21,7 @@ $kendo-spreadsheet-line-height: var( --kendo-line-height, normal ) !default;
|
|
|
21
21
|
|
|
22
22
|
/// The background color of the Spreadsheet.
|
|
23
23
|
/// @group spreadsheet
|
|
24
|
-
$kendo-spreadsheet-bg: k-color(surface
|
|
24
|
+
$kendo-spreadsheet-bg: k-color(surface) !default;
|
|
25
25
|
/// The text color of the Spreadsheet.
|
|
26
26
|
/// @group spreadsheet
|
|
27
27
|
$kendo-spreadsheet-text: k-color(on-app-surface) !default;
|
|
@@ -31,7 +31,7 @@ $kendo-spreadsheet-border: k-color(border) !default;
|
|
|
31
31
|
|
|
32
32
|
/// The background color of the Spreadsheet header.
|
|
33
33
|
/// @group spreadsheet
|
|
34
|
-
$kendo-spreadsheet-header-bg: k-color(surface
|
|
34
|
+
$kendo-spreadsheet-header-bg: k-color(surface) !default;
|
|
35
35
|
/// The text color of the Spreadsheet header.
|
|
36
36
|
/// @group spreadsheet
|
|
37
37
|
$kendo-spreadsheet-header-text: k-color(on-app-surface) !default;
|
|
@@ -101,7 +101,7 @@ $kendo-spreadsheet-view-font-size: $kendo-spreadsheet-font-size !default;
|
|
|
101
101
|
|
|
102
102
|
/// The background color of the Spreadsheet selection.
|
|
103
103
|
/// @group spreadsheet
|
|
104
|
-
$kendo-spreadsheet-selection-bg: color-mix(in srgb, k-color(
|
|
104
|
+
$kendo-spreadsheet-selection-bg: color-mix(in srgb, k-color(secondary-emphasis) 50%, transparent) !default;
|
|
105
105
|
/// The text color of the Spreadsheet selection.
|
|
106
106
|
/// @group spreadsheet
|
|
107
107
|
$kendo-spreadsheet-selection-text: null !default;
|
|
@@ -124,11 +124,11 @@ $kendo-spreadsheet-single-selection-border: $kendo-spreadsheet-bg !default;
|
|
|
124
124
|
|
|
125
125
|
/// The background color of the Spreadsheet partial selection.
|
|
126
126
|
/// @group spreadsheet
|
|
127
|
-
$kendo-spreadsheet-partial-selection-bg:
|
|
127
|
+
$kendo-spreadsheet-partial-selection-bg: k-color(secondary) !default;
|
|
128
128
|
|
|
129
129
|
/// The background color of the Spreadsheet active cell.
|
|
130
130
|
/// @group spreadsheet
|
|
131
|
-
$kendo-spreadsheet-active-cell-bg: k-color(surface
|
|
131
|
+
$kendo-spreadsheet-active-cell-bg: k-color(surface) !default;
|
|
132
132
|
/// The shadow of the Spreadsheet active cell.
|
|
133
133
|
/// @group spreadsheet
|
|
134
134
|
$kendo-spreadsheet-active-cell-shadow: inset 0 0 0 1px k-color(primary) !default;
|
|
@@ -229,7 +229,7 @@ $kendo-spreadsheet-insert-image-dialog-preview-overlay-shadow: inset 0 0 0 2000p
|
|
|
229
229
|
$kendo-spreadsheet-insert-image-dialog-preview-overlay-border-radius: k-border-radius(md) !default;
|
|
230
230
|
/// The text color of the hovered Spreadsheet image Dialog preview.
|
|
231
231
|
/// @group spreadsheet
|
|
232
|
-
$kendo-spreadsheet-insert-image-dialog-overlay-hover-text: k-color(surface
|
|
232
|
+
$kendo-spreadsheet-insert-image-dialog-overlay-hover-text: k-color(surface) !default;
|
|
233
233
|
|
|
234
234
|
/// The width of the Spreadsheet drawing handle.
|
|
235
235
|
/// @group spreadsheet
|
|
@@ -275,7 +275,7 @@ $kendo-spreadsheet-dropzone-spacing-y: k-spacing(2) !default;
|
|
|
275
275
|
/// @group spreadsheet
|
|
276
276
|
$kendo-spreadsheet-filter-padding: k-spacing(1) !default;
|
|
277
277
|
|
|
278
|
-
$kendo-spreadsheet-filter-menu-link-padding-x: calc( #{$kendo-icon-size} +
|
|
278
|
+
$kendo-spreadsheet-filter-menu-link-padding-x: calc( #{$kendo-icon-size} + k-spacing(2) ) !default;
|
|
279
279
|
|
|
280
280
|
$kendo-spreadsheet-filter-menu-icon-margin: 0 k-spacing(1) 0 calc(-1 * ( #{$kendo-icon-size} + #{k-spacing(1)} ) ) !default;
|
|
281
281
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use "@progress/kendo-theme-core/scss/components/stepper/_layout.scss" as *;
|
|
2
|
+
@use "./variables.scss" as *;
|
|
2
3
|
|
|
3
4
|
|
|
4
5
|
@mixin kendo-stepper--layout() {
|
|
@@ -8,11 +9,24 @@
|
|
|
8
9
|
// Stepper
|
|
9
10
|
.k-stepper {}
|
|
10
11
|
|
|
12
|
+
.k-step-list-horizontal {
|
|
13
|
+
& ~ .k-progressbar {
|
|
14
|
+
top: calc( (#{$kendo-stepper-indicator-height} / 2 ) - (#{$kendo-stepper-progressbar-size} / 2 ) + $kendo-stepper-indicator-focus-offset ) ;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
.k-step-list-vertical {
|
|
20
|
+
& ~ .k-progressbar {
|
|
21
|
+
left: calc( (#{$kendo-stepper-indicator-height} / 2 ) - (#{$kendo-stepper-progressbar-size} / 2 ) + $kendo-stepper-indicator-focus-offset ) ;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
11
25
|
|
|
12
26
|
// Selected step
|
|
13
27
|
.k-step-current {
|
|
14
28
|
.k-step-label {
|
|
15
|
-
font-weight:
|
|
29
|
+
font-weight: var( --kendo-font-weight-semibold, 600 );
|
|
16
30
|
}
|
|
17
31
|
}
|
|
18
32
|
|
package/scss/stepper/_theme.scss
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
@use "@progress/kendo-theme-core/scss/components/stepper/_theme.scss" as *;
|
|
2
|
+
@use "../core/_index.scss" as *;
|
|
3
|
+
@use "./variables.scss" as *;
|
|
2
4
|
|
|
3
5
|
|
|
4
6
|
@mixin kendo-stepper--theme() {
|
|
5
7
|
@include kendo-stepper--theme-base();
|
|
8
|
+
|
|
9
|
+
.k-stepper {
|
|
10
|
+
.k-step-label:only-child {
|
|
11
|
+
background-color: k-color(app-surface);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
6
14
|
}
|
|
@@ -46,7 +46,7 @@ $kendo-stepper-inline-content-padding-y: k-spacing(2.5) !default;
|
|
|
46
46
|
$kendo-stepper-font-size: var( --kendo-font-size, inherit ) !default;
|
|
47
47
|
// The line height of the Stepper.
|
|
48
48
|
/// @group stepper
|
|
49
|
-
$kendo-stepper-line-height:
|
|
49
|
+
$kendo-stepper-line-height: var( --kendo-line-height, inherit ) !default;
|
|
50
50
|
// The font family of the Stepper.
|
|
51
51
|
/// @group stepper
|
|
52
52
|
$kendo-stepper-font-family: var( --kendo-font-family, inherit ) !default;
|
|
@@ -89,17 +89,17 @@ $kendo-stepper-indicator-focus-calc-offset: calc( #{$kendo-stepper-indicator-foc
|
|
|
89
89
|
|
|
90
90
|
/// The background color of the Stepper indicator.
|
|
91
91
|
/// @group stepper
|
|
92
|
-
$kendo-stepper-indicator-bg: k-color(
|
|
92
|
+
$kendo-stepper-indicator-bg: k-color(primary-subtle) !default;
|
|
93
93
|
/// The text color of the Stepper indicator.
|
|
94
94
|
/// @group stepper
|
|
95
|
-
$kendo-stepper-indicator-text: k-color(on-
|
|
95
|
+
$kendo-stepper-indicator-text: k-color(primary-on-subtle) !default;
|
|
96
96
|
/// The border color of the Stepper indicator.
|
|
97
97
|
/// @group stepper
|
|
98
|
-
$kendo-stepper-indicator-border: k-color(
|
|
98
|
+
$kendo-stepper-indicator-border: k-color(primary-emphasis) !default;
|
|
99
99
|
|
|
100
100
|
/// The background color of the hovered Stepper indicator.
|
|
101
101
|
/// @group stepper
|
|
102
|
-
$kendo-stepper-indicator-hover-bg: k-color(
|
|
102
|
+
$kendo-stepper-indicator-hover-bg: k-color(primary-subtle-hover) !default;
|
|
103
103
|
/// The text color of the hovered Stepper indicator.
|
|
104
104
|
/// @group stepper
|
|
105
105
|
$kendo-stepper-indicator-hover-text: null !default;
|
|
@@ -109,13 +109,13 @@ $kendo-stepper-indicator-hover-border: null !default;
|
|
|
109
109
|
|
|
110
110
|
/// The background color of the disabled Stepper indicator.
|
|
111
111
|
/// @group stepper
|
|
112
|
-
$kendo-stepper-indicator-disabled-bg:
|
|
112
|
+
$kendo-stepper-indicator-disabled-bg: color-mix(in srgb, k-color(primary-subtle), k-color(surface)) !default;
|
|
113
113
|
/// The text color of the disabled Stepper indicator.
|
|
114
114
|
/// @group stepper
|
|
115
|
-
$kendo-stepper-indicator-disabled-text: color-mix(in srgb,
|
|
115
|
+
$kendo-stepper-indicator-disabled-text: color-mix(in srgb, $kendo-stepper-indicator-text 38%, transparent) !default;
|
|
116
116
|
/// The border color of the disabled Stepper indicator.
|
|
117
117
|
/// @group stepper
|
|
118
|
-
$kendo-stepper-indicator-disabled-border:
|
|
118
|
+
$kendo-stepper-indicator-disabled-border: color-mix(in srgb, $kendo-stepper-indicator-border 38%, transparent) !default;
|
|
119
119
|
|
|
120
120
|
/// The background color of the Stepper's done indicator.
|
|
121
121
|
/// @group stepper
|
|
@@ -139,7 +139,7 @@ $kendo-stepper-indicator-done-hover-border: null !default;
|
|
|
139
139
|
|
|
140
140
|
/// The background color of the Stepper's disabled done indicator.
|
|
141
141
|
/// @group stepper
|
|
142
|
-
$kendo-stepper-indicator-done-disabled-bg: color-mix(in srgb, k-color(primary)
|
|
142
|
+
$kendo-stepper-indicator-done-disabled-bg: color-mix(in srgb, k-color(primary) 38%, transparent) !default;
|
|
143
143
|
/// The text color of the Stepper's disabled done indicator.
|
|
144
144
|
/// @group stepper
|
|
145
145
|
$kendo-stepper-indicator-done-disabled-text: k-color(on-primary) !default;
|
|
@@ -155,7 +155,7 @@ $kendo-stepper-indicator-current-bg: $kendo-stepper-indicator-done-bg !default;
|
|
|
155
155
|
$kendo-stepper-indicator-current-text: $kendo-stepper-indicator-done-text !default;
|
|
156
156
|
/// The border color of the Stepper current indicator.
|
|
157
157
|
/// @group stepper
|
|
158
|
-
$kendo-stepper-indicator-current-border:
|
|
158
|
+
$kendo-stepper-indicator-current-border: k-color(primary) !default;
|
|
159
159
|
|
|
160
160
|
/// The background color of the Stepper's hovered current indicator.
|
|
161
161
|
/// @group stepper
|
|
@@ -188,10 +188,10 @@ $kendo-stepper-label-success-text: k-color(success) !default;
|
|
|
188
188
|
$kendo-stepper-label-error-text: k-color(error) !default;
|
|
189
189
|
/// The text color of the hovered Stepper label.
|
|
190
190
|
/// @group stepper
|
|
191
|
-
$kendo-stepper-label-hover-text:
|
|
191
|
+
$kendo-stepper-label-hover-text: inherit !default;
|
|
192
192
|
/// The text color of the disabled Stepper label.
|
|
193
193
|
/// @group stepper
|
|
194
|
-
$kendo-stepper-label-disabled-text: color-mix(in srgb, k-color(on-app-surface)
|
|
194
|
+
$kendo-stepper-label-disabled-text: color-mix(in srgb, k-color(on-app-surface) 38%, transparent) !default;
|
|
195
195
|
|
|
196
196
|
/// The text color of the optional Stepper label.
|
|
197
197
|
/// @group stepper
|
|
@@ -208,7 +208,7 @@ $kendo-stepper-optional-label-font-style: unset !default;
|
|
|
208
208
|
|
|
209
209
|
/// The size of the Stepper ProgressBar.
|
|
210
210
|
/// @group stepper
|
|
211
|
-
$kendo-stepper-progressbar-size:
|
|
211
|
+
$kendo-stepper-progressbar-size: 4px !default;
|
|
212
212
|
/// The background color of the Stepper ProgressBar.
|
|
213
213
|
/// @group stepper
|
|
214
214
|
$kendo-stepper-progressbar-bg: null !default;
|
package/scss/switch/_layout.scss
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "./variables.scss" as *;
|
|
1
3
|
@use "@progress/kendo-theme-core/scss/components/switch/_layout.scss" as *;
|
|
2
4
|
|
|
3
|
-
|
|
4
5
|
@mixin kendo-switch--layout() {
|
|
5
6
|
|
|
6
7
|
@include kendo-switch--layout-base();
|
|
@@ -11,8 +12,6 @@
|
|
|
11
12
|
// Thumb ripple
|
|
12
13
|
.k-switch-thumb::before {
|
|
13
14
|
content: "";
|
|
14
|
-
width: 200%;
|
|
15
|
-
height: 200%;
|
|
16
15
|
border-radius: 100%;
|
|
17
16
|
display: none;
|
|
18
17
|
opacity: 0;
|
|
@@ -29,7 +28,7 @@
|
|
|
29
28
|
&.k-hover {
|
|
30
29
|
.k-switch-thumb::before {
|
|
31
30
|
display: block;
|
|
32
|
-
opacity: .
|
|
31
|
+
opacity: .08;
|
|
33
32
|
}
|
|
34
33
|
}
|
|
35
34
|
|
|
@@ -38,8 +37,24 @@
|
|
|
38
37
|
&.k-focus {
|
|
39
38
|
.k-switch-thumb::before {
|
|
40
39
|
display: block;
|
|
41
|
-
opacity: .
|
|
40
|
+
opacity: .2;
|
|
42
41
|
}
|
|
43
42
|
}
|
|
43
|
+
|
|
44
|
+
&:disabled,
|
|
45
|
+
&.k-disabled {
|
|
46
|
+
opacity: 1;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// Switch sizes
|
|
51
|
+
@each $size, $size-props in $kendo-switch-sizes {
|
|
52
|
+
|
|
53
|
+
$_thumb-indicator-size: map.get( $size-props, thumb-indicator-size );
|
|
54
|
+
|
|
55
|
+
.k-switch-#{$size} .k-switch-thumb::before {
|
|
56
|
+
width: $_thumb-indicator-size;
|
|
57
|
+
height: $_thumb-indicator-size;
|
|
58
|
+
}
|
|
44
59
|
}
|
|
45
60
|
}
|
package/scss/switch/_theme.scss
CHANGED
|
@@ -9,16 +9,9 @@
|
|
|
9
9
|
// Switch
|
|
10
10
|
.k-switch {
|
|
11
11
|
|
|
12
|
-
.k-switch-thumb {
|
|
13
|
-
box-shadow: k-elevation(2);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
12
|
// Thumb ripple
|
|
17
|
-
|
|
18
|
-
background-color:
|
|
19
|
-
}
|
|
20
|
-
&.k-switch-off .k-switch-thumb::before {
|
|
21
|
-
background-color: k-color(on-app-surface);
|
|
13
|
+
.k-switch-thumb::before {
|
|
14
|
+
background-color: k-color(primary);
|
|
22
15
|
}
|
|
23
16
|
}
|
|
24
17
|
|
|
@@ -8,7 +8,7 @@ $kendo-switch-font-family: null !default;
|
|
|
8
8
|
|
|
9
9
|
/// The border width of the Switch track.
|
|
10
10
|
/// @group switch
|
|
11
|
-
$kendo-switch-track-border-width:
|
|
11
|
+
$kendo-switch-track-border-width: 2px !default;
|
|
12
12
|
|
|
13
13
|
/// The border width of the Switch thumb.
|
|
14
14
|
/// @group switch
|
|
@@ -25,20 +25,20 @@ $kendo-switch-label-display: none !default;
|
|
|
25
25
|
/// The map with the different Switch sizes.
|
|
26
26
|
/// @group switch
|
|
27
27
|
$kendo-switch-sizes: (
|
|
28
|
-
sm: ( font-size: null, track-width:
|
|
29
|
-
md: ( font-size: null, track-width:
|
|
30
|
-
lg: ( font-size: null, track-width:
|
|
28
|
+
sm: ( font-size: null, track-width: 52px, track-height: 28px, thumb-width: 20px, thumb-height: 20px, thumb-offset: 4px, label-offset: 0px, thumb-indicator-size: 36px ),
|
|
29
|
+
md: ( font-size: null, track-width: 52px, track-height: 32px, thumb-width: 24px, thumb-height: 24px, thumb-offset: 4px, label-offset: 0px, thumb-indicator-size: 40px ),
|
|
30
|
+
lg: ( font-size: null, track-width: 60px, track-height: 36px, thumb-width: 28px, thumb-height: 28px, thumb-offset: 4px, label-offset: 0px, thumb-indicator-size: 44px )
|
|
31
31
|
) !default;
|
|
32
32
|
|
|
33
33
|
/// The background of the track when the Switch is not checked.
|
|
34
34
|
/// @group switch
|
|
35
|
-
$kendo-switch-off-track-bg:
|
|
35
|
+
$kendo-switch-off-track-bg: k-color(base) !default;
|
|
36
36
|
/// The text color of the track when the Switch is not checked.
|
|
37
37
|
/// @group switch
|
|
38
38
|
$kendo-switch-off-track-text: unset !default;
|
|
39
39
|
/// The border color of the track when the Switch is not checked
|
|
40
40
|
/// @group switch
|
|
41
|
-
$kendo-switch-off-track-border:
|
|
41
|
+
$kendo-switch-off-track-border: k-color(base-emphasis) !default;
|
|
42
42
|
/// The background gradient of the track when the Switch is not checked.
|
|
43
43
|
/// @group switch
|
|
44
44
|
$kendo-switch-off-track-gradient: null !default;
|
|
@@ -74,20 +74,20 @@ $kendo-switch-off-track-focus-ring: unset !default;
|
|
|
74
74
|
|
|
75
75
|
/// The background of the track when the disabled Switch is not checked.
|
|
76
76
|
/// @group switch
|
|
77
|
-
$kendo-switch-off-track-disabled-bg:
|
|
77
|
+
$kendo-switch-off-track-disabled-bg: color-mix(in srgb, k-color(base) 38%, transparent) !default;
|
|
78
78
|
/// The text color of the track when the disabled Switch is not checked.
|
|
79
79
|
/// @group switch
|
|
80
|
-
$kendo-switch-off-track-disabled-text:
|
|
80
|
+
$kendo-switch-off-track-disabled-text: color-mix(in srgb, k-color(on-app-surface) 38%, transparent) !default;
|
|
81
81
|
/// The border color of the track when the disabled Switch is not checked.
|
|
82
82
|
/// @group switch
|
|
83
|
-
$kendo-switch-off-track-disabled-border:
|
|
83
|
+
$kendo-switch-off-track-disabled-border: color-mix(in srgb, k-color(base-emphasis) 38%, transparent) !default;
|
|
84
84
|
/// The background gradient of the track when the disabled Switch is not checked.
|
|
85
85
|
/// @group switch
|
|
86
86
|
$kendo-switch-off-track-disabled-gradient: null !default;
|
|
87
87
|
|
|
88
88
|
/// The background of the thumb when the Switch is not checked.
|
|
89
89
|
/// @group switch
|
|
90
|
-
$kendo-switch-off-thumb-bg: k-color(
|
|
90
|
+
$kendo-switch-off-thumb-bg: k-color(base-emphasis) !default;
|
|
91
91
|
/// The text color of the thumb when the Switch is not checked.
|
|
92
92
|
/// @group switch
|
|
93
93
|
$kendo-switch-off-thumb-text: unset !default;
|
|
@@ -111,16 +111,29 @@ $kendo-switch-off-thumb-hover-border: null !default;
|
|
|
111
111
|
/// @group switch
|
|
112
112
|
$kendo-switch-off-thumb-hover-gradient: null !default;
|
|
113
113
|
|
|
114
|
+
/// The background of the thumb when the disabled Switch is not checked.
|
|
115
|
+
/// @group switch
|
|
116
|
+
$kendo-switch-off-thumb-disabled-bg: color-mix(in srgb, k-color(base-emphasis) 38%, transparent) !default;
|
|
117
|
+
/// The text color of the thumb when the disabled Switch is not checked.
|
|
118
|
+
/// @group switch
|
|
119
|
+
$kendo-switch-off-thumb-disabled-text: null !default;
|
|
120
|
+
/// The border color of the thumb when the disabled Switch is not checked.
|
|
121
|
+
/// @group switch
|
|
122
|
+
$kendo-switch-off-thumb-disabled-border: null !default;
|
|
123
|
+
/// The background gradient of the thumb when the disabled Switch is not checked.
|
|
124
|
+
/// @group switch
|
|
125
|
+
$kendo-switch-off-thumb-disabled-gradient: null !default;
|
|
126
|
+
|
|
114
127
|
|
|
115
128
|
/// The background of the track when the Switch is checked.
|
|
116
129
|
/// @group switch
|
|
117
|
-
$kendo-switch-on-track-bg:
|
|
130
|
+
$kendo-switch-on-track-bg: k-color(primary) !default;
|
|
118
131
|
/// The text color of the track when the Switch is checked.
|
|
119
132
|
/// @group switch
|
|
120
133
|
$kendo-switch-on-track-text: unset !default;
|
|
121
134
|
/// The border color of the track when the Switch is checked.
|
|
122
135
|
/// @group switch
|
|
123
|
-
$kendo-switch-on-track-border:
|
|
136
|
+
$kendo-switch-on-track-border: k-color(primary) !default;
|
|
124
137
|
/// The background gradient of the track when the Switch is checked.
|
|
125
138
|
/// @group switch
|
|
126
139
|
$kendo-switch-on-track-gradient: null !default;
|
|
@@ -156,20 +169,20 @@ $kendo-switch-on-track-focus-ring: unset !default;
|
|
|
156
169
|
|
|
157
170
|
/// The background of the track when the disabled Switch is checked.
|
|
158
171
|
/// @group switch
|
|
159
|
-
$kendo-switch-on-track-disabled-bg:
|
|
172
|
+
$kendo-switch-on-track-disabled-bg: color-mix(in srgb, k-color(on-app-surface) 12%, transparent) !default;
|
|
160
173
|
/// The text color of the track when the disabled Switch is checked.
|
|
161
174
|
/// @group switch
|
|
162
175
|
$kendo-switch-on-track-disabled-text: null !default;
|
|
163
176
|
/// The border color of the track when the disabled Switch is checked.
|
|
164
177
|
/// @group switch
|
|
165
|
-
$kendo-switch-on-track-disabled-border:
|
|
178
|
+
$kendo-switch-on-track-disabled-border: transparent !default;
|
|
166
179
|
/// The background gradient of the track when the disabled Switch is checked.
|
|
167
180
|
/// @group switch
|
|
168
181
|
$kendo-switch-on-track-disabled-gradient: null !default;
|
|
169
182
|
|
|
170
183
|
/// The background of the thumb when the Switch is checked.
|
|
171
184
|
/// @group switch
|
|
172
|
-
$kendo-switch-on-thumb-bg: k-color(primary) !default;
|
|
185
|
+
$kendo-switch-on-thumb-bg: k-color(primary-subtle) !default;
|
|
173
186
|
/// The text color of the thumb when the Switch is checked.
|
|
174
187
|
/// @group switch
|
|
175
188
|
$kendo-switch-on-thumb-text: unset !default;
|
|
@@ -193,6 +206,19 @@ $kendo-switch-on-thumb-hover-border: null !default;
|
|
|
193
206
|
/// @group switch
|
|
194
207
|
$kendo-switch-on-thumb-hover-gradient: null !default;
|
|
195
208
|
|
|
209
|
+
/// The background of the thumb when the disabled Switch is checked.
|
|
210
|
+
/// @group switch
|
|
211
|
+
$kendo-switch-on-thumb-disabled-bg: k-color(app-surface) !default;
|
|
212
|
+
/// The text color of the thumb when the disabled Switch is checked.
|
|
213
|
+
/// @group switch
|
|
214
|
+
$kendo-switch-on-thumb-disabled-text: null !default;
|
|
215
|
+
/// The border color of the thumb when the disabled Switch is checked.
|
|
216
|
+
/// @group switch
|
|
217
|
+
$kendo-switch-on-thumb-disabled-border: null !default;
|
|
218
|
+
/// The background gradient of the thumb when the disabled Switch is checked.
|
|
219
|
+
/// @group switch
|
|
220
|
+
$kendo-switch-on-thumb-disabled-gradient: null !default;
|
|
221
|
+
|
|
196
222
|
@forward "@progress/kendo-theme-core/scss/components/switch/_variables.scss" with (
|
|
197
223
|
$kendo-switch-font-family: $kendo-switch-font-family,
|
|
198
224
|
$kendo-switch-track-border-width: $kendo-switch-track-border-width,
|
|
@@ -225,6 +251,10 @@ $kendo-switch-on-thumb-hover-gradient: null !default;
|
|
|
225
251
|
$kendo-switch-off-thumb-hover-text: $kendo-switch-off-thumb-hover-text,
|
|
226
252
|
$kendo-switch-off-thumb-hover-border: $kendo-switch-off-thumb-hover-border,
|
|
227
253
|
$kendo-switch-off-thumb-hover-gradient: $kendo-switch-off-thumb-hover-gradient,
|
|
254
|
+
$kendo-switch-off-thumb-disabled-bg: $kendo-switch-off-thumb-disabled-bg,
|
|
255
|
+
$kendo-switch-off-thumb-disabled-text: $kendo-switch-off-thumb-disabled-text,
|
|
256
|
+
$kendo-switch-off-thumb-disabled-border: $kendo-switch-off-track-disabled-border,
|
|
257
|
+
$kendo-switch-off-thumb-disabled-gradient: $kendo-switch-off-thumb-disabled-gradient,
|
|
228
258
|
$kendo-switch-on-track-bg: $kendo-switch-on-track-bg,
|
|
229
259
|
$kendo-switch-on-track-text: $kendo-switch-on-track-text,
|
|
230
260
|
$kendo-switch-on-track-border: $kendo-switch-on-track-border,
|
|
@@ -249,5 +279,9 @@ $kendo-switch-on-thumb-hover-gradient: null !default;
|
|
|
249
279
|
$kendo-switch-on-thumb-hover-bg: $kendo-switch-on-thumb-hover-bg,
|
|
250
280
|
$kendo-switch-on-thumb-hover-text: $kendo-switch-on-thumb-hover-text,
|
|
251
281
|
$kendo-switch-on-thumb-hover-border: $kendo-switch-on-thumb-hover-border,
|
|
252
|
-
$kendo-switch-on-thumb-hover-gradient: $kendo-switch-on-thumb-hover-gradient
|
|
282
|
+
$kendo-switch-on-thumb-hover-gradient: $kendo-switch-on-thumb-hover-gradient,
|
|
283
|
+
$kendo-switch-on-thumb-disabled-bg: $kendo-switch-on-thumb-disabled-bg,
|
|
284
|
+
$kendo-switch-on-thumb-disabled-text: $kendo-switch-on-thumb-disabled-text,
|
|
285
|
+
$kendo-switch-on-thumb-disabled-border: $kendo-switch-on-track-disabled-border,
|
|
286
|
+
$kendo-switch-on-thumb-disabled-gradient: $kendo-switch-on-thumb-disabled-gradient,
|
|
253
287
|
);
|
package/scss/table/_layout.scss
CHANGED
|
@@ -31,14 +31,14 @@ $kendo-table-cell-padding-x: null !default;
|
|
|
31
31
|
/// @group table
|
|
32
32
|
$kendo-table-cell-padding-y: null !default;
|
|
33
33
|
|
|
34
|
-
$kendo-table-sm-cell-padding-x: k-spacing(2
|
|
35
|
-
$kendo-table-sm-cell-padding-y: k-spacing(
|
|
34
|
+
$kendo-table-sm-cell-padding-x: k-spacing(2) !default;
|
|
35
|
+
$kendo-table-sm-cell-padding-y: k-spacing(2) !default;
|
|
36
36
|
|
|
37
|
-
$kendo-table-md-cell-padding-x: k-spacing(
|
|
38
|
-
$kendo-table-md-cell-padding-y: k-spacing(
|
|
37
|
+
$kendo-table-md-cell-padding-x: k-spacing(3) !default;
|
|
38
|
+
$kendo-table-md-cell-padding-y: k-spacing(3) !default;
|
|
39
39
|
|
|
40
|
-
$kendo-table-lg-cell-padding-x: k-spacing(
|
|
41
|
-
$kendo-table-lg-cell-padding-y: k-spacing(
|
|
40
|
+
$kendo-table-lg-cell-padding-x: k-spacing(4) !default;
|
|
41
|
+
$kendo-table-lg-cell-padding-y: k-spacing(4) !default;
|
|
42
42
|
|
|
43
43
|
/// The sizes of the table.
|
|
44
44
|
/// @group table
|
|
@@ -77,10 +77,10 @@ $kendo-table-border: k-color(border) !default;
|
|
|
77
77
|
|
|
78
78
|
/// Background color of table headers.
|
|
79
79
|
/// @group table
|
|
80
|
-
$kendo-table-header-bg:
|
|
80
|
+
$kendo-table-header-bg: k-color(surface) !default;
|
|
81
81
|
/// Text color of table headers.
|
|
82
82
|
/// @group table
|
|
83
|
-
$kendo-table-header-text: k-color(
|
|
83
|
+
$kendo-table-header-text: k-color(on-app-surface) !default;
|
|
84
84
|
/// Border color of table headers.
|
|
85
85
|
/// @group table
|
|
86
86
|
$kendo-table-header-border: $kendo-table-border !default;
|
|
@@ -149,7 +149,7 @@ $kendo-table-focus-shadow: $kendo-list-item-focus-shadow !default;
|
|
|
149
149
|
|
|
150
150
|
/// Background color of selected rows in table.
|
|
151
151
|
/// @group table
|
|
152
|
-
$kendo-table-selected-bg: color-mix(in srgb, k-color(primary)
|
|
152
|
+
$kendo-table-selected-bg: color-mix(in srgb, k-color(primary) 20%, transparent) !default;
|
|
153
153
|
/// Text color of selected rows in table.
|
|
154
154
|
/// @group table
|
|
155
155
|
$kendo-table-selected-text: null !default;
|