@progress/kendo-theme-material 10.6.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-aqua-dark.scss +1 -1
- package/dist/material-arctic.css +1 -1
- package/dist/material-arctic.scss +1 -1
- package/dist/material-burnt-teal.css +1 -1
- package/dist/material-burnt-teal.scss +1 -1
- package/dist/material-dataviz-v4.css +1 -1
- package/dist/material-dataviz-v4.scss +1 -1
- package/dist/material-eggplant.css +1 -1
- package/dist/material-eggplant.scss +1 -1
- package/dist/material-lime-dark.css +1 -1
- package/dist/material-lime-dark.scss +1 -1
- package/dist/material-lime.css +1 -1
- package/dist/material-lime.scss +1 -1
- package/dist/material-main-dark.css +1 -1
- package/dist/material-main-dark.scss +98 -98
- package/dist/material-main.css +1 -1
- package/dist/material-main.scss +1 -5
- package/dist/material-nova.css +1 -1
- package/dist/material-nova.scss +1 -1
- package/dist/material-pacific-dark.css +1 -1
- package/dist/material-pacific-dark.scss +1 -1
- package/dist/material-pacific.css +1 -1
- package/dist/material-pacific.scss +1 -1
- package/dist/material-sky-dark.css +1 -1
- package/dist/material-sky-dark.scss +1 -1
- package/dist/material-sky.css +1 -1
- package/dist/material-sky.scss +1 -1
- package/dist/material-smoke.css +1 -1
- package/dist/material-smoke.scss +1 -1
- package/dist/meta/sassdoc-data.json +13278 -11518
- package/dist/meta/sassdoc-raw-data.json +4563 -3763
- package/dist/meta/variables.json +2591 -3022
- 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 -243
- package/lib/swatches/material-arctic.json +1 -243
- package/lib/swatches/material-burnt-teal.json +1 -243
- package/lib/swatches/material-dataviz-v4.json +1 -47
- package/lib/swatches/material-eggplant.json +1 -243
- package/lib/swatches/material-lime-dark.json +1 -243
- package/lib/swatches/material-lime.json +1 -243
- package/lib/swatches/material-main-dark.json +103 -345
- package/lib/swatches/material-main.json +7 -250
- package/lib/swatches/material-nova.json +1 -243
- package/lib/swatches/material-pacific-dark.json +1 -243
- package/lib/swatches/material-pacific.json +1 -243
- package/lib/swatches/material-sky-dark.json +1 -243
- package/lib/swatches/material-sky.json +1 -243
- package/lib/swatches/material-smoke.json +1 -243
- 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 +27 -28
- package/scss/adaptive/_variables.scss +13 -13
- package/scss/appbar/_variables.scss +22 -8
- package/scss/avatar/_variables.scss +12 -1
- package/scss/badge/_layout.scss +0 -1
- package/scss/badge/_variables.scss +23 -9
- package/scss/bottom-navigation/_theme.scss +55 -4
- package/scss/bottom-navigation/_variables.scss +31 -17
- package/scss/breadcrumb/_variables.scss +21 -21
- package/scss/button/_layout.scss +0 -81
- package/scss/button/_theme.scss +110 -44
- package/scss/button/_variables.scss +47 -34
- package/scss/calendar/_layout.scss +13 -16
- package/scss/calendar/_theme.scss +29 -11
- package/scss/calendar/_variables.scss +83 -56
- package/scss/captcha/_variables.scss +3 -3
- package/scss/card/_variables.scss +34 -20
- package/scss/chart-wizard/_variables.scss +4 -4
- package/scss/chat/_theme.scss +5 -1
- package/scss/chat/_variables.scss +15 -15
- package/scss/checkbox/_layout.scss +35 -0
- package/scss/checkbox/_theme.scss +113 -4
- package/scss/checkbox/_variables.scss +23 -20
- package/scss/chip/_layout.scss +10 -0
- package/scss/chip/_theme.scss +41 -61
- package/scss/chip/_variables.scss +48 -30
- package/scss/color-preview/_variables.scss +3 -3
- package/scss/coloreditor/_variables.scss +11 -11
- package/scss/colorgradient/_variables.scss +7 -37
- package/scss/column-menu/_variables.scss +1 -1
- package/scss/core/_index.scss +8 -3
- package/scss/core/color-system/_palettes.scss +243 -242
- package/scss/core/color-system/_swatch.scss +142 -145
- package/scss/core/elevation/index.import.scss +18 -27
- package/scss/core/typography/index.import.scss +8 -8
- package/scss/dataviz/_variables.scss +61 -48
- package/scss/dialog/_theme.scss +1 -1
- package/scss/dialog/_variables.scss +9 -4
- package/scss/dock-manager/_variables.scss +18 -18
- package/scss/draggable/_variables.scss +4 -4
- package/scss/drawer/_layout.scss +2 -0
- package/scss/drawer/_theme.scss +0 -11
- package/scss/drawer/_variables.scss +49 -24
- package/scss/dropzone/_variables.scss +7 -7
- package/scss/editor/_layout.scss +2 -12
- package/scss/editor/_variables.scss +15 -8
- package/scss/expansion-panel/_layout.scss +5 -0
- package/scss/expansion-panel/_variables.scss +10 -10
- package/scss/fab/_layout.scss +1 -1
- package/scss/fab/_theme.scss +24 -23
- package/scss/fab/_variables.scss +25 -14
- package/scss/filemanager/_theme.scss +4 -0
- package/scss/filemanager/_variables.scss +6 -6
- package/scss/filter/_variables.scss +4 -4
- package/scss/floating-label/_theme.scss +1 -1
- package/scss/floating-label/_variables.scss +2 -2
- package/scss/forms/_variables.scss +6 -6
- package/scss/gantt/_variables.scss +27 -27
- package/scss/grid/_layout.scss +6 -21
- package/scss/grid/_theme.scss +14 -128
- package/scss/grid/_variables.scss +20 -20
- package/scss/imageeditor/_variables.scss +4 -4
- package/scss/index.scss +3 -0
- package/scss/input/_layout.scss +10 -14
- package/scss/input/_variables.scss +45 -44
- package/scss/list/_theme.scss +1 -1
- package/scss/list/_variables.scss +103 -25
- package/scss/listbox/_variables.scss +3 -3
- package/scss/listgroup/_variables.scss +6 -6
- package/scss/listview/_theme.scss +0 -13
- package/scss/listview/_variables.scss +7 -7
- package/scss/loader/_variables.scss +18 -4
- package/scss/map/_variables.scss +6 -6
- package/scss/marquee/_index.scss +16 -0
- package/scss/marquee/_layout.scss +6 -0
- package/scss/marquee/_theme.scss +6 -0
- package/scss/marquee/_variables.scss +11 -0
- package/scss/mediaplayer/_variables.scss +4 -4
- package/scss/menu/_layout.scss +4 -0
- package/scss/menu/_theme.scss +1 -26
- package/scss/menu/_variables.scss +49 -41
- package/scss/menu-button/_variables.scss +1 -1
- package/scss/messagebox/_layout.scss +5 -1
- package/scss/messagebox/_variables.scss +16 -2
- package/scss/no-data/_variables.scss +1 -1
- package/scss/notification/_functions.scss +1 -1
- package/scss/notification/_layout.scss +5 -0
- package/scss/notification/_theme.scss +1 -0
- package/scss/notification/_variables.scss +30 -9
- package/scss/orgchart/_variables.scss +10 -10
- package/scss/overlay/_variables.scss +12 -1
- package/scss/pager/_variables.scss +8 -8
- 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 +29 -29
- package/scss/pdf-viewer/_variables.scss +15 -15
- package/scss/pivotgrid/_theme.scss +0 -12
- package/scss/pivotgrid/_variables.scss +23 -23
- package/scss/popover/_variables.scss +5 -5
- package/scss/popup/_variables.scss +7 -7
- package/scss/progressbar/_layout.scss +11 -4
- package/scss/progressbar/_variables.scss +6 -6
- package/scss/prompt/_layout.scss +4 -0
- package/scss/prompt/_variables.scss +17 -17
- package/scss/radio/_layout.scss +35 -0
- package/scss/radio/_theme.scss +109 -4
- package/scss/radio/_variables.scss +19 -16
- package/scss/rating/_variables.scss +7 -7
- package/scss/scheduler/_layout.scss +2 -89
- package/scss/scheduler/_theme.scss +3 -3
- package/scss/scheduler/_variables.scss +22 -19
- package/scss/scrollview/_variables.scss +5 -5
- package/scss/signature/_variables.scss +1 -1
- package/scss/skeleton/_variables.scss +1 -1
- package/scss/slider/_layout.scss +11 -0
- package/scss/slider/_theme.scss +1 -10
- package/scss/slider/_variables.scss +25 -16
- package/scss/split-button/_layout.scss +12 -0
- package/scss/split-button/_variables.scss +4 -4
- package/scss/splitter/_variables.scss +9 -9
- package/scss/spreadsheet/_layout.scss +0 -35
- package/scss/spreadsheet/_theme.scss +3 -25
- package/scss/spreadsheet/_variables.scss +32 -31
- package/scss/stepper/_layout.scss +15 -1
- package/scss/stepper/_theme.scss +8 -0
- package/scss/stepper/_variables.scss +21 -21
- 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 +22 -20
- package/scss/table/_theme.scss +6 -32
- package/scss/table/_variables.scss +13 -13
- package/scss/tabstrip/_layout.scss +100 -4
- package/scss/tabstrip/_variables.scss +20 -20
- package/scss/taskboard/_layout.scss +4 -0
- package/scss/taskboard/_variables.scss +18 -18
- package/scss/tilelayout/_layout.scss +7 -1
- package/scss/tilelayout/_variables.scss +4 -4
- package/scss/timeline/_variables.scss +7 -7
- package/scss/timeselector/_layout.scss +38 -0
- package/scss/timeselector/_theme.scss +8 -6
- package/scss/timeselector/_variables.scss +39 -28
- package/scss/toolbar/_layout.scss +0 -47
- package/scss/toolbar/_theme.scss +4 -44
- package/scss/toolbar/_variables.scss +17 -17
- package/scss/tooltip/_functions.scss +1 -1
- package/scss/tooltip/_variables.scss +19 -8
- 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 +25 -25
- package/scss/typography/_variables.scss +24 -24
- package/scss/upload/_theme.scss +1 -1
- package/scss/upload/_variables.scss +14 -14
- package/scss/window/_layout.scss +14 -0
- package/scss/window/_variables.scss +14 -14
- package/scss/wizard/_variables.scss +3 -3
- package/scss/core/color-system/_functions.scss +0 -104
- package/scss/core/color-system/_palettes-legacy.scss +0 -671
- package/scss/core/color-system/_swatch-legacy.scss +0 -299
|
@@ -1,6 +1,44 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:list";
|
|
1
3
|
@use "@progress/kendo-theme-core/scss/components/timeselector/_layout.scss" as *;
|
|
4
|
+
@use "../core/_index.scss" as *;
|
|
5
|
+
@use "./_variables.scss" as *;
|
|
2
6
|
|
|
3
7
|
|
|
4
8
|
@mixin kendo-time-selector--layout() {
|
|
5
9
|
@include kendo-time-selector--layout-base();
|
|
10
|
+
|
|
11
|
+
.k-time-list-wrapper {
|
|
12
|
+
.k-title {
|
|
13
|
+
font-weight: var( --kendo-font-weight, normal );
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&.k-focus {
|
|
17
|
+
&::before,
|
|
18
|
+
&::after {
|
|
19
|
+
height: calc( 50% - (calc( #{$kendo-time-list-title-font-size} * #{$kendo-time-list-title-line-height})) / 2);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// Time selector header
|
|
25
|
+
.k-time-header,
|
|
26
|
+
.k-time-selector-header {
|
|
27
|
+
.k-time-now {
|
|
28
|
+
border-width: $kendo-time-selector-border-width;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.k-time-list-container {
|
|
33
|
+
padding: 0 k-spacing(3);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// Time list highlight
|
|
37
|
+
.k-time-highlight,
|
|
38
|
+
.k-time-list-highlight {
|
|
39
|
+
width: auto;
|
|
40
|
+
border-radius: k-border-radius(xxxl);
|
|
41
|
+
left: k-spacing(3);
|
|
42
|
+
right: k-spacing(3);
|
|
43
|
+
}
|
|
6
44
|
}
|
|
@@ -10,14 +10,16 @@
|
|
|
10
10
|
// Time selector
|
|
11
11
|
.k-timeselector {}
|
|
12
12
|
|
|
13
|
-
|
|
14
13
|
// Time list
|
|
15
14
|
.k-time-list {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
&::before,
|
|
16
|
+
&::after {
|
|
17
|
+
box-shadow: none;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&::before,
|
|
21
|
+
&::after {
|
|
22
|
+
box-shadow: none;
|
|
21
23
|
}
|
|
22
24
|
}
|
|
23
25
|
|
|
@@ -7,54 +7,57 @@
|
|
|
7
7
|
|
|
8
8
|
$kendo-time-selector-border-width: 1px !default;
|
|
9
9
|
$kendo-time-selector-font-family: var( --kendo-font-family, inherit ) !default;
|
|
10
|
-
$kendo-time-selector-font-size: var( --kendo-font-size, inherit ) !default;
|
|
11
|
-
$kendo-time-selector-line-height:
|
|
10
|
+
$kendo-time-selector-font-size: var( --kendo-font-size-lg, inherit ) !default;
|
|
11
|
+
$kendo-time-selector-line-height: var( --kendo-line-height-lg, normal ) !default;
|
|
12
12
|
|
|
13
|
-
$kendo-time-selector-bg:
|
|
14
|
-
$kendo-time-selector-text:
|
|
15
|
-
$kendo-time-selector-border:
|
|
13
|
+
$kendo-time-selector-bg: k-color(surface) !default;
|
|
14
|
+
$kendo-time-selector-text: k-color(on-app-surface) !default;
|
|
15
|
+
$kendo-time-selector-border: k-color(border) !default;
|
|
16
16
|
|
|
17
|
-
$kendo-time-selector-header-padding-x:
|
|
18
|
-
$kendo-time-selector-header-padding-y:
|
|
17
|
+
$kendo-time-selector-header-padding-x: k-spacing(1) !default;
|
|
18
|
+
$kendo-time-selector-header-padding-y: k-spacing(3) !default;
|
|
19
19
|
$kendo-time-selector-header-border-width: 0px !default;
|
|
20
|
+
$kendo-time-selector-header-title-text: k-color(primary-on-surface) !default;
|
|
21
|
+
$kendo-time-selector-header-time-now-text: unset !default;
|
|
22
|
+
$kendo-time-selector-header-time-now-hover-text: unset !default;
|
|
20
23
|
|
|
21
|
-
$kendo-time-selector-fast-selection-gap:
|
|
24
|
+
$kendo-time-selector-fast-selection-gap: null !default;
|
|
22
25
|
|
|
23
26
|
$kendo-time-list-width: 4em !default;
|
|
24
27
|
$kendo-time-list-height: 240px !default;
|
|
25
28
|
|
|
26
29
|
$kendo-time-list-title-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
27
|
-
$kendo-time-list-title-line-height: var( --kendo-line-height-
|
|
30
|
+
$kendo-time-list-title-line-height: var( --kendo-line-height-sm, normal ) !default;
|
|
28
31
|
$kendo-time-list-title-height: calc( #{$kendo-time-list-title-font-size} * #{$kendo-time-list-title-line-height} ) !default;
|
|
29
|
-
$kendo-time-list-title-text:
|
|
30
|
-
$kendo-time-list-title-focus-text:
|
|
32
|
+
$kendo-time-list-title-text: k-color(subtle) !default;
|
|
33
|
+
$kendo-time-list-title-focus-text: k-color(on-app-surface) !default;
|
|
31
34
|
|
|
32
35
|
$kendo-time-list-item-padding-x: $kendo-list-md-item-padding-x !default;
|
|
33
36
|
$kendo-time-list-item-padding-y: $kendo-list-md-item-padding-y !default;
|
|
34
37
|
|
|
35
|
-
$kendo-time-list-highlight-border-width: 1px
|
|
38
|
+
$kendo-time-list-highlight-border-width: 1px !default;
|
|
36
39
|
$kendo-time-list-highlight-height: calc( calc( #{$kendo-time-selector-font-size} * #{$kendo-time-selector-line-height} ) + calc( #{$kendo-time-list-item-padding-y} * 2 ) ) !default;
|
|
37
|
-
$kendo-time-list-highlight-bg:
|
|
38
|
-
$kendo-time-list-highlight-border:
|
|
40
|
+
$kendo-time-list-highlight-bg: transparent !default;
|
|
41
|
+
$kendo-time-list-highlight-border: k-color(primary-on-subtle) !default;
|
|
39
42
|
|
|
40
|
-
$kendo-time-list-focus-bg:
|
|
43
|
+
$kendo-time-list-focus-bg: color-mix(in srgb, k-color(on-app-surface) 8%, transparent) !default;
|
|
41
44
|
|
|
42
45
|
|
|
43
46
|
// Time selector sizes
|
|
44
|
-
$kendo-time-selector-sm-font-size: $kendo-
|
|
45
|
-
$kendo-time-selector-sm-line-height: $kendo-
|
|
46
|
-
$kendo-time-selector-sm-list-item-padding-x:
|
|
47
|
-
$kendo-time-selector-sm-list-item-padding-y:
|
|
47
|
+
$kendo-time-selector-sm-font-size: $kendo-time-selector-font-size !default;
|
|
48
|
+
$kendo-time-selector-sm-line-height: $kendo-time-selector-line-height !default;
|
|
49
|
+
$kendo-time-selector-sm-list-item-padding-x: k-spacing(2) !default;
|
|
50
|
+
$kendo-time-selector-sm-list-item-padding-y: k-spacing(2) !default;
|
|
48
51
|
|
|
49
|
-
$kendo-time-selector-md-font-size: $kendo-
|
|
50
|
-
$kendo-time-selector-md-line-height: $kendo-
|
|
51
|
-
$kendo-time-selector-md-list-item-padding-x:
|
|
52
|
-
$kendo-time-selector-md-list-item-padding-y:
|
|
52
|
+
$kendo-time-selector-md-font-size: $kendo-time-selector-font-size !default;
|
|
53
|
+
$kendo-time-selector-md-line-height: $kendo-time-selector-line-height !default;
|
|
54
|
+
$kendo-time-selector-md-list-item-padding-x: k-spacing(3) !default;
|
|
55
|
+
$kendo-time-selector-md-list-item-padding-y: k-spacing(3) !default;
|
|
53
56
|
|
|
54
|
-
$kendo-time-selector-lg-font-size: $kendo-
|
|
55
|
-
$kendo-time-selector-lg-line-height: $kendo-
|
|
56
|
-
$kendo-time-selector-lg-list-item-padding-x:
|
|
57
|
-
$kendo-time-selector-lg-list-item-padding-y:
|
|
57
|
+
$kendo-time-selector-lg-font-size: $kendo-time-selector-font-size !default;
|
|
58
|
+
$kendo-time-selector-lg-line-height: $kendo-time-selector-line-height !default;
|
|
59
|
+
$kendo-time-selector-lg-list-item-padding-x: k-spacing(4) !default;
|
|
60
|
+
$kendo-time-selector-lg-list-item-padding-y: k-spacing(4) !default;
|
|
58
61
|
|
|
59
62
|
$kendo-time-selector-sizes: (
|
|
60
63
|
sm: (
|
|
@@ -77,6 +80,9 @@ $kendo-time-selector-sizes: (
|
|
|
77
80
|
)
|
|
78
81
|
) !default;
|
|
79
82
|
|
|
83
|
+
$kendo-time-selector-now-button-text: k-color(secondary) !default;
|
|
84
|
+
$kendo-time-selector-now-button-hover-text: k-color(secondary-hover) !default;
|
|
85
|
+
|
|
80
86
|
@forward "@progress/kendo-theme-core/scss/components/timeselector/_variables.scss" with (
|
|
81
87
|
$kendo-time-selector-border-width: $kendo-time-selector-border-width,
|
|
82
88
|
$kendo-time-selector-font-family: $kendo-time-selector-font-family,
|
|
@@ -89,6 +95,9 @@ $kendo-time-selector-sizes: (
|
|
|
89
95
|
$kendo-time-selector-header-padding-y: $kendo-time-selector-header-padding-y,
|
|
90
96
|
$kendo-time-selector-header-border-width: $kendo-time-selector-header-border-width,
|
|
91
97
|
$kendo-time-selector-fast-selection-gap: $kendo-time-selector-fast-selection-gap,
|
|
98
|
+
$kendo-time-selector-header-title-text: $kendo-time-selector-header-title-text,
|
|
99
|
+
$kendo-time-selector-header-time-now-text: $kendo-time-selector-header-time-now-text,
|
|
100
|
+
$kendo-time-selector-header-time-now-hover-text: $kendo-time-selector-header-time-now-hover-text,
|
|
92
101
|
$kendo-time-list-width: $kendo-time-list-width,
|
|
93
102
|
$kendo-time-list-height: $kendo-time-list-height,
|
|
94
103
|
$kendo-time-list-title-font-size: $kendo-time-list-title-font-size,
|
|
@@ -115,5 +124,7 @@ $kendo-time-selector-sizes: (
|
|
|
115
124
|
$kendo-time-selector-lg-line-height: $kendo-time-selector-lg-line-height,
|
|
116
125
|
$kendo-time-selector-lg-list-item-padding-x: $kendo-time-selector-lg-list-item-padding-x,
|
|
117
126
|
$kendo-time-selector-lg-list-item-padding-y: $kendo-time-selector-lg-list-item-padding-y,
|
|
118
|
-
$kendo-time-selector-sizes: $kendo-time-selector-sizes
|
|
127
|
+
$kendo-time-selector-sizes: $kendo-time-selector-sizes,
|
|
128
|
+
$kendo-time-selector-now-button-text: $kendo-time-selector-now-button-text,
|
|
129
|
+
$kendo-time-selector-now-button-hover-text: $kendo-time-selector-now-button-hover-text
|
|
119
130
|
);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@use "../core/_index.scss" as *;
|
|
2
1
|
@use "@progress/kendo-theme-core/scss/components/toolbar/_layout.scss" as *;
|
|
3
2
|
|
|
4
3
|
|
|
@@ -6,50 +5,4 @@
|
|
|
6
5
|
|
|
7
6
|
@include kendo-toolbar--layout-base();
|
|
8
7
|
|
|
9
|
-
.k-toolbar,
|
|
10
|
-
.k-toolbar-popup {
|
|
11
|
-
|
|
12
|
-
// Button
|
|
13
|
-
.k-button {
|
|
14
|
-
@include box-shadow( none );
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
// Button group
|
|
19
|
-
.k-button-group {
|
|
20
|
-
@include box-shadow( none );
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
// Split button
|
|
25
|
-
.k-split-button {
|
|
26
|
-
@include box-shadow( none );
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&.k-toolbar-outline {
|
|
30
|
-
@include box-shadow( none );
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
// Overflow container
|
|
35
|
-
.k-overflow-container {
|
|
36
|
-
|
|
37
|
-
.k-button {
|
|
38
|
-
@include box-shadow( none );
|
|
39
|
-
font-weight: normal;
|
|
40
|
-
text-transform: unset;
|
|
41
|
-
|
|
42
|
-
&::before {
|
|
43
|
-
display: none;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&:disabled,
|
|
47
|
-
&.k-disabled {
|
|
48
|
-
opacity: .6;
|
|
49
|
-
filter: grayscale(.1);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
|
|
55
8
|
}
|
package/scss/toolbar/_theme.scss
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use "./_variables.scss" as *;
|
|
1
2
|
@use "../core/_index.scss" as *;
|
|
2
3
|
@use "../button/_variables.scss" as *;
|
|
3
4
|
@use "../core/functions/index.import.scss" as *;
|
|
@@ -7,49 +8,8 @@
|
|
|
7
8
|
@mixin kendo-toolbar--theme() {
|
|
8
9
|
|
|
9
10
|
@include kendo-toolbar--theme-base();
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
.k-button-solid-base {
|
|
15
|
-
background-color: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-button-bg ));
|
|
16
|
-
border-color: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-button-bg ));
|
|
17
|
-
|
|
18
|
-
// Hover state
|
|
19
|
-
&:hover,
|
|
20
|
-
&.k-hover {
|
|
21
|
-
background-color: if($kendo-enable-color-system, k-color( base-subtle-hover ), null);
|
|
22
|
-
border-color: if($kendo-enable-color-system, k-color( base-subtle-hover ), null);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// Focus state
|
|
26
|
-
&:focus,
|
|
27
|
-
&.k-focus {
|
|
28
|
-
background-color: if($kendo-enable-color-system, k-color( base-subtle-hover ), null);
|
|
29
|
-
border-color: if($kendo-enable-color-system, k-color( base-subtle-hover ), null);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
// Active state
|
|
33
|
-
&:active,
|
|
34
|
-
&.k-active {
|
|
35
|
-
background-color: if($kendo-enable-color-system, k-color( base-subtle-active ), null);
|
|
36
|
-
border-color: if($kendo-enable-color-system, k-color( base-subtle-active ), null);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
// Selected state
|
|
40
|
-
&.k-selected {
|
|
41
|
-
background-color: if($kendo-enable-color-system, k-color( base-subtle-active ), null);
|
|
42
|
-
border-color: if($kendo-enable-color-system, k-color( base-subtle-active ), null);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&.k-input-button,
|
|
46
|
-
&.k-input-spinner .k-spinner-increase,
|
|
47
|
-
&.k-input-spinner .k-spinner-decrease {
|
|
48
|
-
background: none;
|
|
49
|
-
border-color: transparent;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
11
|
+
.k-toolbar-flat {
|
|
12
|
+
border-top-color: $kendo-toolbar-flat-border !important; // stylelint-disable-line declaration-no-important
|
|
13
|
+
border-inline-color: $kendo-toolbar-flat-border !important; // stylelint-disable-line declaration-no-important
|
|
53
14
|
}
|
|
54
|
-
|
|
55
15
|
}
|
|
@@ -36,7 +36,7 @@ $kendo-toolbar-lg-padding-y: k-spacing(2.5) !default;
|
|
|
36
36
|
$kendo-toolbar-spacing: k-spacing(2) !default;
|
|
37
37
|
/// The spacing between the tools of the small Toolbar.
|
|
38
38
|
/// @group toolbar
|
|
39
|
-
$kendo-toolbar-sm-spacing: k-spacing(1
|
|
39
|
+
$kendo-toolbar-sm-spacing: k-spacing(1) !default;
|
|
40
40
|
/// The spacing between the tools of the medium Toolbar.
|
|
41
41
|
/// @group toolbar
|
|
42
42
|
$kendo-toolbar-md-spacing: $kendo-toolbar-spacing !default;
|
|
@@ -59,7 +59,7 @@ $kendo-toolbar-lg-separator-height: $kendo-button-lg-calc-size !default;
|
|
|
59
59
|
|
|
60
60
|
/// The width of the border around the Toolbar.
|
|
61
61
|
/// @group toolbar
|
|
62
|
-
$kendo-toolbar-border-width:
|
|
62
|
+
$kendo-toolbar-border-width: 1px !default;
|
|
63
63
|
/// The border radius of the Toolbar.
|
|
64
64
|
/// @group toolbar
|
|
65
65
|
$kendo-toolbar-border-radius: null !default;
|
|
@@ -72,34 +72,34 @@ $kendo-toolbar-font-family: var( --kendo-font-family, inherit ) !default;
|
|
|
72
72
|
$kendo-toolbar-font-size: var( --kendo-font-size, inherit ) !default;
|
|
73
73
|
/// The line height of the Toolbar.
|
|
74
74
|
/// @group toolbar
|
|
75
|
-
$kendo-toolbar-line-height:
|
|
75
|
+
$kendo-toolbar-line-height: var( --kendo-line-height, normal ) !default;
|
|
76
76
|
|
|
77
77
|
/// The background color of the Toolbar.
|
|
78
78
|
/// @group toolbar
|
|
79
|
-
$kendo-toolbar-bg:
|
|
79
|
+
$kendo-toolbar-bg: k-color(surface) !default;
|
|
80
80
|
/// The text color of the Toolbar.
|
|
81
81
|
/// @group toolbar
|
|
82
|
-
$kendo-toolbar-text:
|
|
82
|
+
$kendo-toolbar-text: k-color(base-on-subtle) !default;
|
|
83
83
|
/// The color of the border around the Toolbar.
|
|
84
84
|
/// @group toolbar
|
|
85
|
-
$kendo-toolbar-border: $kendo-
|
|
85
|
+
$kendo-toolbar-border: $kendo-toolbar-bg !default;
|
|
86
86
|
/// The gradient of the Toolbar.
|
|
87
87
|
/// @group toolbar
|
|
88
88
|
$kendo-toolbar-gradient: null !default;
|
|
89
89
|
/// The box shadow of the Toolbar.
|
|
90
90
|
/// @group toolbar
|
|
91
|
-
$kendo-toolbar-shadow:
|
|
91
|
+
$kendo-toolbar-shadow: null !default;
|
|
92
92
|
/// The left and right scroll overlay of the Toolbar.
|
|
93
93
|
/// @group toolbar
|
|
94
|
-
$kendo-toolbar-scroll-overlay: $kendo-toolbar-bg,
|
|
94
|
+
$kendo-toolbar-scroll-overlay: $kendo-toolbar-bg, color-mix(in srgb, k-color(app-surface) 0%, transparent) !default;
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
/// The text color of the outline Toolbar.
|
|
98
98
|
/// @group toolbar
|
|
99
|
-
$kendo-toolbar-outline-text:
|
|
99
|
+
$kendo-toolbar-outline-text: k-color(base-on-subtle) !default;
|
|
100
100
|
/// The color of the border around the outline Toolbar.
|
|
101
101
|
/// @group toolbar
|
|
102
|
-
$kendo-toolbar-outline-border:
|
|
102
|
+
$kendo-toolbar-outline-border: color-mix(in srgb, k-color(on-app-surface) 44%, transparent) !default;
|
|
103
103
|
/// The gradient of the outline Toolbar.
|
|
104
104
|
/// @group toolbar
|
|
105
105
|
$kendo-toolbar-outline-gradient: null !default;
|
|
@@ -111,32 +111,32 @@ $kendo-toolbar-outline-shadow: null !default;
|
|
|
111
111
|
$kendo-toolbar-outline-border-width: 1px !default;
|
|
112
112
|
/// The left and right scroll overlay of the outline Toolbar.
|
|
113
113
|
/// @group toolbar
|
|
114
|
-
$kendo-toolbar-outline-scroll-overlay:
|
|
114
|
+
$kendo-toolbar-outline-scroll-overlay: k-color(app-surface), color-mix(in srgb, k-color(app-surface) 0%, transparent) !default;
|
|
115
115
|
|
|
116
116
|
|
|
117
117
|
/// The text color of the flat Toolbar.
|
|
118
118
|
/// @group toolbar
|
|
119
|
-
$kendo-toolbar-flat-text:
|
|
119
|
+
$kendo-toolbar-flat-text: k-color(base-on-subtle) !default;
|
|
120
120
|
/// The color of the border around the flat Toolbar.
|
|
121
121
|
/// @group toolbar
|
|
122
|
-
$kendo-toolbar-flat-border:
|
|
122
|
+
$kendo-toolbar-flat-border: k-color(border) !default;
|
|
123
123
|
/// The gradient of the flat Toolbar.
|
|
124
124
|
/// @group toolbar
|
|
125
125
|
$kendo-toolbar-flat-gradient: null !default;
|
|
126
126
|
/// The box shadow of the flat Toolbar.
|
|
127
127
|
/// @group toolbar
|
|
128
|
-
$kendo-toolbar-flat-shadow:
|
|
128
|
+
$kendo-toolbar-flat-shadow: null !default;
|
|
129
129
|
/// Border width of the flat Toolbar.
|
|
130
130
|
/// @group toolbar
|
|
131
131
|
$kendo-toolbar-flat-border-width: 1px !default;
|
|
132
132
|
/// The left and right scroll overlay of the flat Toolbar.
|
|
133
133
|
/// @group toolbar
|
|
134
|
-
$kendo-toolbar-flat-scroll-overlay:
|
|
134
|
+
$kendo-toolbar-flat-scroll-overlay: k-color(app-surface), color-mix(in srgb, k-color(app-surface) 0%, transparent) !default;
|
|
135
135
|
|
|
136
136
|
|
|
137
137
|
/// The color of the separator border of the Toolbar.
|
|
138
138
|
/// @group toolbar
|
|
139
|
-
$kendo-toolbar-separator-border:
|
|
139
|
+
$kendo-toolbar-separator-border: k-color(border) !default;
|
|
140
140
|
|
|
141
141
|
/// The width of the input in the Toolbar.
|
|
142
142
|
/// @group toolbar
|
|
@@ -144,7 +144,7 @@ $kendo-toolbar-input-width: 10em !default;
|
|
|
144
144
|
|
|
145
145
|
/// The box shadow of the focused Toolbar item.
|
|
146
146
|
/// @group toolbar
|
|
147
|
-
$kendo-toolbar-item-shadow:
|
|
147
|
+
$kendo-toolbar-item-shadow: null !default;
|
|
148
148
|
|
|
149
149
|
/// The font size of the Toolbar overflow container.
|
|
150
150
|
/// @group toolbar
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
@use "sass:math";
|
|
2
2
|
@use "./_functions.scss" as *;
|
|
3
3
|
@use "../core/_index.scss" as *;
|
|
4
|
-
@use "../core/
|
|
4
|
+
@use "../core/functions/index.import.scss" as *;
|
|
5
5
|
|
|
6
6
|
// Tooltip
|
|
7
7
|
|
|
8
8
|
/// The vertical padding of the Tooltip.
|
|
9
9
|
/// @group tooltip
|
|
10
|
-
$kendo-tooltip-padding-y: k-spacing(
|
|
10
|
+
$kendo-tooltip-padding-y: k-spacing(1) !default;
|
|
11
11
|
/// The horizontal padding of the Tooltip.
|
|
12
12
|
/// @group tooltip
|
|
13
|
-
$kendo-tooltip-padding-x:
|
|
13
|
+
$kendo-tooltip-padding-x: k-spacing(2) !default;
|
|
14
14
|
/// The width of the border around the Tooltip.
|
|
15
15
|
/// @group tooltip
|
|
16
16
|
$kendo-tooltip-border-width: 0px !default;
|
|
@@ -26,11 +26,11 @@ $kendo-tooltip-font-family: var( --kendo-font-family, inherit ) !default;
|
|
|
26
26
|
$kendo-tooltip-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
27
27
|
/// The line height of the Tooltip.
|
|
28
28
|
/// @group tooltip
|
|
29
|
-
$kendo-tooltip-line-height:
|
|
29
|
+
$kendo-tooltip-line-height: var( --kendo-line-height, normal ) !default;
|
|
30
30
|
|
|
31
31
|
/// The font size of the Tooltip title.
|
|
32
32
|
/// @group tooltip
|
|
33
|
-
$kendo-tooltip-title-font-size:
|
|
33
|
+
$kendo-tooltip-title-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
34
34
|
/// The line height of the Tooltip title.
|
|
35
35
|
/// @group tooltip
|
|
36
36
|
$kendo-tooltip-title-line-height: var( --kendo-line-height-xs, normal ) !default;
|
|
@@ -41,10 +41,10 @@ $kendo-tooltip-callout-size: 6px !default;
|
|
|
41
41
|
|
|
42
42
|
/// The default background of the Tooltip.
|
|
43
43
|
/// @group tooltip
|
|
44
|
-
$kendo-tooltip-bg:
|
|
44
|
+
$kendo-tooltip-bg: k-color(inverse-on-surface) !default;
|
|
45
45
|
/// The default text color of the Tooltip.
|
|
46
46
|
/// @group tooltip
|
|
47
|
-
$kendo-tooltip-text:
|
|
47
|
+
$kendo-tooltip-text: k-color(on-inverse) !default;
|
|
48
48
|
/// The default border color of the Tooltip.
|
|
49
49
|
/// @group tooltip
|
|
50
50
|
$kendo-tooltip-border: $kendo-tooltip-bg !default;
|
|
@@ -55,7 +55,18 @@ $kendo-tooltip-shadow: k-elevation(2) !default;
|
|
|
55
55
|
|
|
56
56
|
/// The theme colors map for the Tooltip.
|
|
57
57
|
/// @group tooltip
|
|
58
|
-
$kendo-tooltip-theme-colors:
|
|
58
|
+
$kendo-tooltip-theme-colors: (
|
|
59
|
+
"primary": k-color(primary),
|
|
60
|
+
"secondary": k-color(secondary),
|
|
61
|
+
"tertiary": k-color(tertiary),
|
|
62
|
+
"info": k-color(info),
|
|
63
|
+
"success": k-color(success),
|
|
64
|
+
"warning": k-color(warning),
|
|
65
|
+
"error": k-color(error),
|
|
66
|
+
"dark": k-color(dark),
|
|
67
|
+
"light": k-color(light),
|
|
68
|
+
"inverse": if($kendo-is-dark-theme, k-color(light), k-color(dark))
|
|
69
|
+
) !default;
|
|
59
70
|
/// The generated theme colors map for the Tooltip.
|
|
60
71
|
/// @group tooltip
|
|
61
72
|
$kendo-tooltip-theme: tooltip-theme( $kendo-tooltip-theme-colors ) !default;
|
|
@@ -1,26 +1,7 @@
|
|
|
1
|
-
@use "./_variables.scss" as *;
|
|
2
1
|
@use "@progress/kendo-theme-core/scss/components/treelist/_layout.scss" as *;
|
|
3
2
|
|
|
4
3
|
|
|
5
4
|
@mixin kendo-treelist--layout() {
|
|
6
5
|
|
|
7
6
|
@include kendo-treelist--layout-base();
|
|
8
|
-
|
|
9
|
-
.k-treelist {
|
|
10
|
-
tr.k-footer-template td {
|
|
11
|
-
border-width: $kendo-treelist-footer-row-border-width 0;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
tr.k-footer td,
|
|
15
|
-
tr.k-footer-template + tr.k-footer-template td {
|
|
16
|
-
border-width: 0 0 $kendo-treelist-footer-row-border-width;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.k-treelist-scrollable {
|
|
21
|
-
tr.k-group-footer td {
|
|
22
|
-
border-bottom-width: $kendo-treelist-footer-row-border-width;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
7
|
}
|
|
@@ -5,28 +5,23 @@
|
|
|
5
5
|
|
|
6
6
|
@include kendo-treelist--theme-base();
|
|
7
7
|
|
|
8
|
-
.k-treelist {
|
|
9
|
-
tr.k-footer,
|
|
10
|
-
tr.k-footer-template {
|
|
11
|
-
&:hover {
|
|
12
|
-
background-color: $kendo-treelist-footer-row-bg;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
8
|
// Sticky headers
|
|
18
9
|
.k-treelist-scrollable {
|
|
19
|
-
.k-grid-toolbar,
|
|
20
|
-
.k-grid-header,
|
|
21
|
-
.k-grid-header tr:hover {
|
|
22
|
-
background-color: inherit;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
10
|
.k-group-footer td,
|
|
26
11
|
.k-grouping-row td,
|
|
27
12
|
tbody .k-group-cell {
|
|
28
13
|
background-color: $kendo-treelist-footer-row-bg;
|
|
29
14
|
}
|
|
15
|
+
|
|
16
|
+
.k-group-footer.k-table-row {
|
|
17
|
+
&:hover,
|
|
18
|
+
&.k-hover {
|
|
19
|
+
td,
|
|
20
|
+
.k-table-td {
|
|
21
|
+
background-color: transparent
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
30
25
|
}
|
|
31
26
|
|
|
32
27
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
/// The background color of the TreeList footer row.
|
|
6
6
|
/// @group treelist
|
|
7
|
-
$kendo-treelist-footer-row-bg: $kendo-grid-
|
|
7
|
+
$kendo-treelist-footer-row-bg: $kendo-grid-header-bg !default;
|
|
8
8
|
/// The border width of the TreeList footer row.
|
|
9
9
|
/// @group treelist
|
|
10
10
|
$kendo-treelist-footer-row-border-width: 1px !default;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
@use "./_variables.scss" as *;
|
|
2
|
-
@use "../core/_index.scss" as *;
|
|
3
1
|
@use "@progress/kendo-theme-core/scss/components/treeview/_theme.scss" as *;
|
|
4
2
|
|
|
5
3
|
|
|
@@ -7,37 +5,10 @@
|
|
|
7
5
|
|
|
8
6
|
@include kendo-treeview--theme-base();
|
|
9
7
|
|
|
10
|
-
// Treeview
|
|
11
|
-
.k-treeview {}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
// Treeview item
|
|
15
|
-
.k-treeview-item {}
|
|
16
|
-
|
|
17
|
-
|
|
18
8
|
// Treeview leaf
|
|
19
9
|
.k-treeview-leaf {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
&:focus,
|
|
23
|
-
&.k-focus {
|
|
24
|
-
@include fill(
|
|
25
|
-
$kendo-treeview-item-hover-text,
|
|
26
|
-
$kendo-treeview-item-hover-bg,
|
|
27
|
-
$kendo-treeview-item-hover-border,
|
|
28
|
-
$kendo-treeview-item-hover-gradient
|
|
29
|
-
);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
// Selected Focus state
|
|
33
|
-
&.k-selected:focus,
|
|
34
|
-
&.k-selected.k-focus {
|
|
35
|
-
@include fill(
|
|
36
|
-
$kendo-treeview-item-selected-focus-text,
|
|
37
|
-
$kendo-treeview-item-selected-focus-bg,
|
|
38
|
-
$kendo-treeview-item-selected-focus-border,
|
|
39
|
-
$kendo-treeview-item-selected-focus-gradient
|
|
40
|
-
);
|
|
10
|
+
&.k-selected {
|
|
11
|
+
font-weight: var( --kendo-font-weight-semibold, 600 );
|
|
41
12
|
}
|
|
42
13
|
}
|
|
43
14
|
|