@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
|
@@ -4,42 +4,42 @@
|
|
|
4
4
|
|
|
5
5
|
/// The text color of the AIPrompt.
|
|
6
6
|
/// @group prompt
|
|
7
|
-
$kendo-prompt-text:
|
|
7
|
+
$kendo-prompt-text: k-color(on-app-surface) !default;
|
|
8
8
|
/// The background color of the AIPrompt.
|
|
9
9
|
/// @group prompt
|
|
10
|
-
$kendo-prompt-bg:
|
|
10
|
+
$kendo-prompt-bg: k-color(surface) !default;
|
|
11
11
|
/// The border color of the AIPrompt.
|
|
12
12
|
/// @group prompt
|
|
13
|
-
$kendo-prompt-border:
|
|
13
|
+
$kendo-prompt-border: k-color(border) !default;
|
|
14
14
|
|
|
15
15
|
/// The text color of the AIPrompt header.
|
|
16
16
|
/// @group prompt
|
|
17
|
-
$kendo-prompt-header-text:
|
|
17
|
+
$kendo-prompt-header-text: k-color(on-app-surface) !default;
|
|
18
18
|
/// The background color of the AIPrompt header.
|
|
19
19
|
/// @group prompt
|
|
20
|
-
$kendo-prompt-header-bg:
|
|
20
|
+
$kendo-prompt-header-bg: k-color(surface) !default;
|
|
21
21
|
/// The border color of the AIPrompt header.
|
|
22
22
|
/// @group prompt
|
|
23
|
-
$kendo-prompt-header-border:
|
|
23
|
+
$kendo-prompt-header-border: k-color(border) !default;
|
|
24
24
|
|
|
25
25
|
/// The vertical padding of the AIPrompt content.
|
|
26
26
|
/// @group prompt
|
|
27
|
-
$kendo-prompt-content-padding-y: k-spacing(
|
|
27
|
+
$kendo-prompt-content-padding-y: k-spacing(2) !default;
|
|
28
28
|
/// The horizontal padding of the AIPrompt content.
|
|
29
29
|
/// @group prompt
|
|
30
|
-
$kendo-prompt-content-padding-x: k-spacing(
|
|
30
|
+
$kendo-prompt-content-padding-x: k-spacing(6) !default;
|
|
31
31
|
/// The spacing between the items of the AIPrompt content.
|
|
32
32
|
/// @group prompt
|
|
33
|
-
$kendo-prompt-content-spacing: k-spacing(
|
|
33
|
+
$kendo-prompt-content-spacing: k-spacing(2) !default;
|
|
34
34
|
/// The text color of the AIPrompt content.
|
|
35
35
|
/// @group prompt
|
|
36
|
-
$kendo-prompt-content-text:
|
|
36
|
+
$kendo-prompt-content-text: k-color(on-app-surface) !default;
|
|
37
37
|
/// The background color of the AIPrompt content.
|
|
38
38
|
/// @group prompt
|
|
39
|
-
$kendo-prompt-content-bg:
|
|
39
|
+
$kendo-prompt-content-bg: k-color(app-surface) !default;
|
|
40
40
|
/// The text border of the AIPrompt content.
|
|
41
41
|
/// @group prompt
|
|
42
|
-
$kendo-prompt-content-border:
|
|
42
|
+
$kendo-prompt-content-border: k-color(border) !default;
|
|
43
43
|
|
|
44
44
|
/// The spacing between the items of the AIPrompt content expander.
|
|
45
45
|
/// @group prompt
|
|
@@ -50,19 +50,19 @@ $kendo-prompt-expander-spacing: k-spacing(2) !default;
|
|
|
50
50
|
$kendo-prompt-suggestion-padding-y: k-spacing(2) !default;
|
|
51
51
|
/// The horizontal padding of the AIPrompt suggestion container.
|
|
52
52
|
/// @group prompt
|
|
53
|
-
$kendo-prompt-suggestion-padding-x: k-spacing(
|
|
53
|
+
$kendo-prompt-suggestion-padding-x: k-spacing(3) !default;
|
|
54
54
|
/// The border radius of the AIPrompt suggestion container.
|
|
55
55
|
/// @group prompt
|
|
56
|
-
$kendo-prompt-suggestion-border-radius: k-border-radius(
|
|
56
|
+
$kendo-prompt-suggestion-border-radius: k-border-radius(xl) !default;
|
|
57
57
|
/// The text color of the AIPrompt suggestion container.
|
|
58
58
|
/// @group prompt
|
|
59
|
-
$kendo-prompt-suggestion-text:
|
|
59
|
+
$kendo-prompt-suggestion-text: k-color(on-app-surface) !default;
|
|
60
60
|
/// The background color of the AIPrompt suggestion container.
|
|
61
61
|
/// @group prompt
|
|
62
|
-
$kendo-prompt-suggestion-bg:
|
|
62
|
+
$kendo-prompt-suggestion-bg: k-color(surface-alt) !default;
|
|
63
63
|
/// The border color of the AIPrompt suggestion container.
|
|
64
64
|
/// @group prompt
|
|
65
|
-
$kendo-prompt-suggestion-border:
|
|
65
|
+
$kendo-prompt-suggestion-border: k-color(border) !default;
|
|
66
66
|
/// The elevation of the AIPrompt suggestion container.
|
|
67
67
|
/// @group prompt
|
|
68
68
|
$kendo-prompt-suggestion-shadow: k-elevation(1) !default;
|
package/scss/radio/_layout.scss
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "./_variables.scss" as *;
|
|
1
3
|
@use "@progress/kendo-theme-core/scss/components/radio/_layout.scss" as *;
|
|
2
4
|
|
|
3
5
|
|
|
@@ -5,6 +7,39 @@
|
|
|
5
7
|
|
|
6
8
|
@include kendo-radio--layout-base();
|
|
7
9
|
|
|
10
|
+
// RadioButton
|
|
11
|
+
// Hover and Focus indicator
|
|
12
|
+
.k-radio {
|
|
13
|
+
&:hover,
|
|
14
|
+
&.k-hover,
|
|
15
|
+
&:focus,
|
|
16
|
+
&.k-focus,
|
|
17
|
+
&.k-invalid {
|
|
18
|
+
position: relative;
|
|
19
|
+
|
|
20
|
+
&::after {
|
|
21
|
+
content: "";
|
|
22
|
+
display: block;
|
|
23
|
+
position: absolute;
|
|
24
|
+
left: 50%;
|
|
25
|
+
top: 50%;
|
|
26
|
+
border-radius: 100%;
|
|
27
|
+
z-index: -1;
|
|
28
|
+
transform: translate(-50%, -50%);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@each $size, $size-props in $kendo-radio-sizes {
|
|
34
|
+
$_size: map.get( $size-props, size );
|
|
35
|
+
$_indicator-size: map.get( $size-props, indicator-size );
|
|
36
|
+
|
|
37
|
+
.k-radio-#{$size}::after {
|
|
38
|
+
width: $_indicator-size;
|
|
39
|
+
height: $_indicator-size;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
8
43
|
.k-radio::before {
|
|
9
44
|
transition: transform linear 280ms;
|
|
10
45
|
transform-origin: 0 0;
|
package/scss/radio/_theme.scss
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use "./_variables.scss" as *;
|
|
1
2
|
@use "../core/_index.scss" as *;
|
|
2
3
|
@use "@progress/kendo-theme-core/scss/components/radio/_theme.scss" as *;
|
|
3
4
|
|
|
@@ -6,12 +7,116 @@
|
|
|
6
7
|
|
|
7
8
|
@include kendo-radio--theme-base();
|
|
8
9
|
|
|
10
|
+
.k-radio {
|
|
11
|
+
&:hover,
|
|
12
|
+
&.k-hover {
|
|
13
|
+
&::after {
|
|
14
|
+
opacity: .08;
|
|
15
|
+
background-color: k-color(on-app-surface);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&:checked,
|
|
19
|
+
&.k-checked {
|
|
20
|
+
&::after {
|
|
21
|
+
background-color: k-color(primary);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.k-invalid::after {
|
|
26
|
+
background-color: k-color(error);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&:focus,
|
|
31
|
+
&.k-focus {
|
|
32
|
+
&::after {
|
|
33
|
+
opacity: .12;
|
|
34
|
+
background-color: k-color(on-app-surface);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&:checked,
|
|
38
|
+
&.k-checked {
|
|
39
|
+
&::after {
|
|
40
|
+
background-color: k-color(primary);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.k-invalid::after {
|
|
45
|
+
background-color: k-color(error);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.k-ripple-focus.k-radio {
|
|
52
|
+
|
|
53
|
+
&:hover,
|
|
54
|
+
&.k-hover,
|
|
55
|
+
&:focus,
|
|
56
|
+
&.k-focus {
|
|
57
|
+
&::after,
|
|
58
|
+
&:checked::after,
|
|
59
|
+
&.k-checked::after,
|
|
60
|
+
&.k-invalid::after {
|
|
61
|
+
background: $kendo-radio-ripple-bg;
|
|
62
|
+
opacity: $kendo-radio-ripple-opacity;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* Radio Ripple animation */
|
|
67
|
+
|
|
68
|
+
&::after {
|
|
69
|
+
animation: ripple-radio 225ms cubic-bezier(0, 0, 0.2, 1);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&:checked,
|
|
73
|
+
&.k-checked {
|
|
74
|
+
&::after {
|
|
75
|
+
animation: ripple-radio-checked 225ms cubic-bezier(0, 0, 0.2, 1);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
@keyframes ripple-radio {
|
|
81
|
+
0% {
|
|
82
|
+
background: radial-gradient(circle, $kendo-radio-ripple-bg 0%, k-color(primary) 50%);
|
|
83
|
+
opacity: 0.08;
|
|
84
|
+
}
|
|
85
|
+
50% {
|
|
86
|
+
background: radial-gradient(circle, $kendo-radio-ripple-bg 50%, k-color(primary) 100%);
|
|
87
|
+
opacity: $kendo-radio-ripple-opacity;
|
|
88
|
+
}
|
|
89
|
+
100% {
|
|
90
|
+
background: radial-gradient(circle, k-color(primary) 0%, k-color(primary) 100%);
|
|
91
|
+
opacity: .12;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@keyframes ripple-radio-checked {
|
|
96
|
+
0% {
|
|
97
|
+
background: radial-gradient(circle, $kendo-radio-ripple-bg 0%, k-color(on-app-surface) 50%);
|
|
98
|
+
opacity: 0.08;
|
|
99
|
+
}
|
|
100
|
+
50% {
|
|
101
|
+
background: radial-gradient(circle, $kendo-radio-ripple-bg 50%, k-color(on-app-surface) 100%);
|
|
102
|
+
opacity: $kendo-radio-ripple-opacity;
|
|
103
|
+
}
|
|
104
|
+
100% {
|
|
105
|
+
background: radial-gradient(circle, k-color(on-app-surface) 0%, k-color(on-app-surface) 100%);
|
|
106
|
+
opacity: .12;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
9
111
|
// Radio
|
|
10
112
|
// Disabled state
|
|
11
|
-
.k-radio
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
113
|
+
.k-radio {
|
|
114
|
+
&:disabled,
|
|
115
|
+
&.k-disabled {
|
|
116
|
+
&.k-invalid {
|
|
117
|
+
border-color: $kendo-radio-disabled-border;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
15
120
|
}
|
|
16
121
|
|
|
17
122
|
}
|
|
@@ -15,7 +15,7 @@ $kendo-radio-border-width: 2px !default;
|
|
|
15
15
|
|
|
16
16
|
/// The size of a small RadioButton.
|
|
17
17
|
/// @group radio
|
|
18
|
-
$kendo-radio-sm-size: k-spacing(
|
|
18
|
+
$kendo-radio-sm-size: k-spacing(4) !default;
|
|
19
19
|
/// The size of a medium RadioButton.
|
|
20
20
|
/// @group radio
|
|
21
21
|
$kendo-radio-md-size: k-spacing(4) !default;
|
|
@@ -35,13 +35,14 @@ $kendo-radio-lg-glyph-size: k-spacing(4.5) !default;
|
|
|
35
35
|
|
|
36
36
|
/// The ripple size of a small RadioButton.
|
|
37
37
|
/// @group radio
|
|
38
|
-
$kendo-radio-sm-ripple-size:
|
|
38
|
+
$kendo-radio-sm-ripple-size: k-spacing(8) !default;
|
|
39
39
|
/// The ripple size of a medium RadioButton.
|
|
40
40
|
/// @group radio
|
|
41
|
-
$kendo-radio-md-ripple-size:
|
|
41
|
+
$kendo-radio-md-ripple-size: k-spacing(10) !default;
|
|
42
42
|
/// The ripple size of a large RadioButton.
|
|
43
43
|
/// @group radio
|
|
44
|
-
$kendo-radio-lg-ripple-size:
|
|
44
|
+
$kendo-radio-lg-ripple-size: k-spacing(12) !default;
|
|
45
|
+
|
|
45
46
|
|
|
46
47
|
/// The map with the different RadioButton sizes.
|
|
47
48
|
/// @group radio
|
|
@@ -49,17 +50,20 @@ $kendo-radio-sizes: (
|
|
|
49
50
|
sm: (
|
|
50
51
|
size: $kendo-radio-sm-size,
|
|
51
52
|
glyph-size: $kendo-radio-sm-glyph-size,
|
|
52
|
-
ripple-size: $kendo-radio-sm-ripple-size
|
|
53
|
+
ripple-size: $kendo-radio-sm-ripple-size,
|
|
54
|
+
indicator-size: k-spacing(8)
|
|
53
55
|
),
|
|
54
56
|
md: (
|
|
55
57
|
size: $kendo-radio-md-size,
|
|
56
58
|
glyph-size: $kendo-radio-md-glyph-size,
|
|
57
|
-
ripple-size: $kendo-radio-md-ripple-size
|
|
59
|
+
ripple-size: $kendo-radio-md-ripple-size,
|
|
60
|
+
indicator-size: k-spacing(10)
|
|
58
61
|
),
|
|
59
62
|
lg: (
|
|
60
63
|
size: $kendo-radio-lg-size,
|
|
61
64
|
glyph-size: $kendo-radio-lg-glyph-size,
|
|
62
|
-
ripple-size: $kendo-radio-lg-ripple-size
|
|
65
|
+
ripple-size: $kendo-radio-lg-ripple-size,
|
|
66
|
+
indicator-size: k-spacing(12)
|
|
63
67
|
)
|
|
64
68
|
) !default;
|
|
65
69
|
|
|
@@ -88,7 +92,7 @@ $kendo-radio-hover-border: $kendo-checkbox-border !default;
|
|
|
88
92
|
$kendo-radio-checked-bg: unset !default;
|
|
89
93
|
/// The color of the checked RadioButton.
|
|
90
94
|
/// @group radio
|
|
91
|
-
$kendo-radio-checked-text:
|
|
95
|
+
$kendo-radio-checked-text: k-color(primary) !default;
|
|
92
96
|
/// The border color of the checked RadioButton.
|
|
93
97
|
/// @group radio
|
|
94
98
|
$kendo-radio-checked-border: $kendo-radio-checked-text !default;
|
|
@@ -99,7 +103,6 @@ $kendo-radio-focus-border: $kendo-checkbox-focus-border !default;
|
|
|
99
103
|
/// The box shadow of the focused RadioButton.
|
|
100
104
|
/// @group radio
|
|
101
105
|
$kendo-radio-focus-shadow: $kendo-checkbox-focus-shadow !default;
|
|
102
|
-
|
|
103
106
|
/// The border color of the focused and checked RadioButton.
|
|
104
107
|
/// @group radio
|
|
105
108
|
$kendo-radio-focus-checked-border: $kendo-checkbox-focus-checked-border !default;
|
|
@@ -109,20 +112,20 @@ $kendo-radio-focus-checked-shadow: $kendo-checkbox-focus-checked-shadow !default
|
|
|
109
112
|
|
|
110
113
|
/// The background color of the disabled RadioButton.
|
|
111
114
|
/// @group radio
|
|
112
|
-
$kendo-radio-disabled-bg:
|
|
115
|
+
$kendo-radio-disabled-bg: null !default;
|
|
113
116
|
/// The color of the disabled RadioButton.
|
|
114
117
|
/// @group radio
|
|
115
|
-
$kendo-radio-disabled-text:
|
|
118
|
+
$kendo-radio-disabled-text: k-color(on-app-surface) !default;
|
|
116
119
|
/// The border color of the disabled RadioButton.
|
|
117
120
|
/// @group radio
|
|
118
|
-
$kendo-radio-disabled-border:
|
|
121
|
+
$kendo-radio-disabled-border: k-color(on-app-surface) !default;
|
|
119
122
|
|
|
120
123
|
/// The background color of the disabled and checked RadioButton.
|
|
121
124
|
/// @group radio
|
|
122
|
-
$kendo-radio-disabled-checked-bg:
|
|
125
|
+
$kendo-radio-disabled-checked-bg: $kendo-radio-disabled-bg !default;
|
|
123
126
|
/// The color of the disabled and checked RadioButton.
|
|
124
127
|
/// @group radio
|
|
125
|
-
$kendo-radio-disabled-checked-text: $kendo-radio-disabled-
|
|
128
|
+
$kendo-radio-disabled-checked-text: $kendo-radio-disabled-text !default;
|
|
126
129
|
/// The border color of disabled and checked RadioButton.
|
|
127
130
|
/// @group radio
|
|
128
131
|
$kendo-radio-disabled-checked-border: $kendo-radio-disabled-border !default;
|
|
@@ -163,7 +166,7 @@ $kendo-radio-disabled-checked-image: k-escape-svg( url("data:image/svg+xml,<svg
|
|
|
163
166
|
|
|
164
167
|
/// The horizontal margin of the RadioButton inside of a label.
|
|
165
168
|
/// @group radio
|
|
166
|
-
$kendo-radio-label-margin-x: k-spacing(
|
|
169
|
+
$kendo-radio-label-margin-x: k-spacing(4) !default;
|
|
167
170
|
|
|
168
171
|
|
|
169
172
|
// Radio list
|
|
@@ -183,7 +186,7 @@ $kendo-radio-list-item-padding-y: $kendo-list-md-item-padding-y !default;
|
|
|
183
186
|
|
|
184
187
|
/// The background color of the RadioButton ripple..
|
|
185
188
|
/// @group radio
|
|
186
|
-
$kendo-radio-ripple-bg:
|
|
189
|
+
$kendo-radio-ripple-bg: k-color(primary) !default;
|
|
187
190
|
/// The opacity of the RadioButton ripple.
|
|
188
191
|
/// @group radio
|
|
189
192
|
$kendo-radio-ripple-opacity: .2 !default;
|
|
@@ -14,11 +14,11 @@ $kendo-rating-line-height: var( --kendo-line-height, normal ) !default;
|
|
|
14
14
|
|
|
15
15
|
/// The horizontal margin of the Rating container.
|
|
16
16
|
/// @group rating
|
|
17
|
-
$kendo-rating-container-margin-x:
|
|
17
|
+
$kendo-rating-container-margin-x: k-spacing(1) !default;
|
|
18
18
|
|
|
19
19
|
/// The horizontal padding of the Rating item.
|
|
20
20
|
/// @group rating
|
|
21
|
-
$kendo-rating-item-padding-x:
|
|
21
|
+
$kendo-rating-item-padding-x: k-spacing(1) !default;
|
|
22
22
|
/// The vertical padding of the Rating item.
|
|
23
23
|
/// @group rating
|
|
24
24
|
$kendo-rating-item-padding-y: k-spacing(1) !default;
|
|
@@ -31,20 +31,20 @@ $kendo-rating-label-margin-x: k-spacing(2) !default;
|
|
|
31
31
|
$kendo-rating-label-margin-y: k-spacing(1) !default;
|
|
32
32
|
/// The line height of the Rating label.
|
|
33
33
|
/// @group rating
|
|
34
|
-
$kendo-rating-label-line-height:
|
|
34
|
+
$kendo-rating-label-line-height: var( --kendo-line-height-lg, normal ) !default;
|
|
35
35
|
|
|
36
36
|
/// The text color of the Rating icon.
|
|
37
37
|
/// @group rating
|
|
38
|
-
$kendo-rating-icon-text:
|
|
38
|
+
$kendo-rating-icon-text: k-color(subtle) !default;
|
|
39
39
|
/// The text color of the selected Rating icon.
|
|
40
40
|
/// @group rating
|
|
41
|
-
$kendo-rating-icon-selected-text:
|
|
41
|
+
$kendo-rating-icon-selected-text: k-color(primary-active) !default;
|
|
42
42
|
/// The text color of the hovered Rating icon.
|
|
43
43
|
/// @group rating
|
|
44
|
-
$kendo-rating-icon-hover-text:
|
|
44
|
+
$kendo-rating-icon-hover-text: k-color(primary-active) !default;
|
|
45
45
|
/// The text color of the focused Rating icon.
|
|
46
46
|
/// @group rating
|
|
47
|
-
$kendo-rating-icon-focus-text:
|
|
47
|
+
$kendo-rating-icon-focus-text: k-color(primary-active) !default;
|
|
48
48
|
|
|
49
49
|
/// The shadow of the focused Rating icon.
|
|
50
50
|
/// @group rating
|
|
@@ -7,51 +7,13 @@
|
|
|
7
7
|
|
|
8
8
|
@include kendo-scheduler--layout-base();
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
.k-scheduler-footer {
|
|
12
|
-
border-top-width: 1px;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
// Scheduler navigation
|
|
17
|
-
.k-scheduler-navigation {}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
// View switcher
|
|
21
|
-
.k-scheduler-views {}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
// View header
|
|
25
|
-
.k-scheduler-header {
|
|
26
|
-
text-align: start;
|
|
27
|
-
|
|
28
|
-
th,
|
|
29
|
-
td {
|
|
30
|
-
font-size: var( --kendo-font-size-sm, inherit );
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
// Times header
|
|
36
|
-
.k-scheduler-times {
|
|
37
|
-
font-size: var( --kendo-font-size-sm, inherit );
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
|
|
41
10
|
// Appointments
|
|
42
11
|
kendo-scheduler .k-event,
|
|
43
12
|
.k-event {
|
|
44
13
|
|
|
45
|
-
&.k-selected {
|
|
46
|
-
&::before {
|
|
47
|
-
display: block;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
14
|
// Angular fix for stronger selector and smaller padding
|
|
52
15
|
.k-event-template {
|
|
53
16
|
& { // stylelint-disable-line
|
|
54
|
-
padding-block: k-spacing(0.5);
|
|
55
17
|
padding-inline: k-spacing(2);
|
|
56
18
|
}
|
|
57
19
|
}
|
|
@@ -66,16 +28,9 @@
|
|
|
66
28
|
|
|
67
29
|
.k-event {
|
|
68
30
|
.k-event-delete {
|
|
31
|
+
margin-block-start: k-spacing(1);
|
|
69
32
|
border-radius: 50%;
|
|
70
|
-
display:
|
|
71
|
-
font-size: var( --kendo-font-size-sm, inherit );
|
|
72
|
-
line-height: normal;
|
|
73
|
-
|
|
74
|
-
.k-icon {
|
|
75
|
-
padding: calc( var( --kendo-font-size, .875rem) - var( --kendo-font-size-sm, .75rem) );
|
|
76
|
-
box-sizing: content-box;
|
|
77
|
-
vertical-align: unset;
|
|
78
|
-
}
|
|
33
|
+
display: flex;
|
|
79
34
|
}
|
|
80
35
|
|
|
81
36
|
.k-resize-handle {
|
|
@@ -108,52 +63,10 @@
|
|
|
108
63
|
|
|
109
64
|
.k-more-events {
|
|
110
65
|
border-width: 0;
|
|
111
|
-
box-shadow: none;
|
|
112
66
|
}
|
|
113
67
|
|
|
114
68
|
.k-scheduler-layout-flex .k-scheduler-cell {
|
|
115
69
|
min-height: $kendo-line-height-em;
|
|
116
70
|
}
|
|
117
71
|
|
|
118
|
-
// Month view
|
|
119
|
-
.k-scheduler-monthview {
|
|
120
|
-
.k-scheduler-table td {
|
|
121
|
-
height: 85px;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
.k-scheduler-edit-form {
|
|
127
|
-
|
|
128
|
-
.k-edit-label {
|
|
129
|
-
width: auto;
|
|
130
|
-
margin-bottom: .5em;
|
|
131
|
-
|
|
132
|
-
label { margin-bottom: 0; }
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.k-edit-field {
|
|
136
|
-
width: auto;
|
|
137
|
-
align-items: center;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.k-edit-field .k-reset {
|
|
143
|
-
width: 100%;
|
|
144
|
-
}
|
|
145
|
-
.k-edit-field .k-widget {
|
|
146
|
-
font-size: inherit;
|
|
147
|
-
}
|
|
148
|
-
.k-edit-field .k-reset .k-widget {
|
|
149
|
-
margin-right: 0;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.k-scheduler-timezones .k-edit-field > div {
|
|
153
|
-
width: 100%;
|
|
154
|
-
}
|
|
155
|
-
.k-scheduler-timezones .k-edit-field .k-widget {
|
|
156
|
-
width: 45%;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
72
|
}
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
|
|
11
11
|
.k-scheduler-layout td.k-selected,
|
|
12
12
|
.k-scheduler-layout .k-scheduler-cell.k-selected {
|
|
13
|
-
background-color:
|
|
13
|
+
background-color: color-mix(in srgb, k-color(secondary) 25%, transparent);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
// Agenda view
|
|
17
17
|
.k-scheduler-agendaview {
|
|
18
18
|
.k-scheduler-content tr.k-selected {
|
|
19
|
-
background-color:
|
|
19
|
+
background-color: color-mix(in srgb, k-color(secondary) 25%, transparent);
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
|
|
33
33
|
.k-resize-handle::before {
|
|
34
34
|
// TODO: $kendo-scheduler-content-area-bg
|
|
35
|
-
background-color:
|
|
35
|
+
background-color: k-color(on-primary);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
|