@progress/kendo-theme-fluent 12.0.0-dev.0 → 12.0.0-dev.2
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/fluent-1-dark.css +1 -0
- package/dist/fluent-1-dark.scss +157 -0
- package/dist/fluent-1.css +1 -0
- package/dist/fluent-1.scss +157 -0
- package/dist/fluent-main-dark.css +1 -1
- package/dist/fluent-main-dark.scss +145 -145
- package/dist/fluent-main.css +1 -1
- package/dist/meta/sassdoc-data.json +11271 -14429
- package/dist/meta/sassdoc-raw-data.json +3708 -5183
- package/dist/meta/variables.json +2093 -2384
- package/lib/swatches/all.json +1 -1
- package/lib/swatches/fluent-1-dark.json +757 -0
- package/lib/swatches/fluent-1.json +757 -0
- package/lib/swatches/fluent-main-dark.json +151 -151
- package/lib/swatches/fluent-main.json +5 -5
- package/package.json +4 -4
- package/scss/action-buttons/_variables.scss +3 -3
- package/scss/action-sheet/_layout.scss +4 -4
- package/scss/action-sheet/_theme.scss +0 -16
- package/scss/action-sheet/_variables.scss +12 -12
- package/scss/adaptive/_theme.scss +1 -1
- package/scss/appbar/_theme.scss +9 -1
- package/scss/appbar/_variables.scss +21 -3
- package/scss/badge/_theme.scss +6 -0
- package/scss/badge/_variables.scss +6 -6
- package/scss/bottom-navigation/_layout.scss +0 -17
- package/scss/bottom-navigation/_theme.scss +2 -10
- package/scss/bottom-navigation/_variables.scss +0 -10
- package/scss/breadcrumb/_layout.scss +0 -6
- package/scss/breadcrumb/_theme.scss +30 -17
- package/scss/breadcrumb/_variables.scss +26 -26
- package/scss/bubble/_theme.scss +2 -2
- package/scss/bubble/_variables.scss +2 -2
- package/scss/button/_layout.scss +15 -20
- package/scss/button/_theme.scss +100 -118
- package/scss/button/_variables.scss +22 -62
- package/scss/calendar/_layout.scss +13 -60
- package/scss/calendar/_theme.scss +63 -91
- package/scss/calendar/_variables.scss +21 -30
- package/scss/captcha/_variables.scss +2 -2
- package/scss/card/_layout.scss +6 -0
- package/scss/card/_theme.scss +5 -0
- package/scss/card/_variables.scss +8 -8
- package/scss/chat/_layout.scss +4 -18
- package/scss/chat/_theme.scss +10 -2
- package/scss/chat/_variables.scss +4 -4
- package/scss/checkbox/_layout.scss +6 -3
- package/scss/checkbox/_theme.scss +12 -0
- package/scss/checkbox/_variables.scss +7 -7
- package/scss/chip/_layout.scss +7 -11
- package/scss/chip/_theme.scss +43 -25
- package/scss/chip/_variables.scss +15 -24
- package/scss/coloreditor/_layout.scss +2 -2
- package/scss/coloreditor/_variables.scss +14 -14
- package/scss/colorgradient/_layout.scss +17 -1
- package/scss/colorgradient/_theme.scss +21 -16
- package/scss/colorgradient/_variables.scss +4 -4
- package/scss/colorpalette/_layout.scss +0 -2
- package/scss/colorpalette/_theme.scss +1 -9
- package/scss/colorpalette/_variables.scss +3 -24
- package/scss/column-menu/_variables.scss +6 -6
- package/scss/core/border-radii/_index.scss +4 -4
- package/scss/core/color-system/_palettes.scss +240 -556
- package/scss/core/color-system/_swatch.scss +144 -144
- package/scss/core/elevation/_index.scss +16 -16
- package/scss/core/typography/_index.scss +25 -1
- package/scss/dialog/_layout.scss +0 -24
- package/scss/dialog/_variables.scss +2 -22
- package/scss/dock-manager/_layout.scss +14 -2
- package/scss/dock-manager/_theme.scss +9 -0
- package/scss/dock-manager/_variables.scss +9 -9
- package/scss/drawer/_layout.scss +8 -4
- package/scss/drawer/_theme.scss +4 -2
- package/scss/drawer/_variables.scss +32 -19
- package/scss/dropzone/_layout.scss +1 -0
- package/scss/dropzone/_variables.scss +3 -3
- package/scss/expansion-panel/_layout.scss +1 -10
- package/scss/expansion-panel/_theme.scss +7 -3
- package/scss/expansion-panel/_variables.scss +14 -20
- package/scss/fab/_layout.scss +31 -16
- package/scss/fab/_theme.scss +16 -9
- package/scss/fab/_variables.scss +47 -54
- package/scss/filemanager/_theme.scss +8 -0
- package/scss/filemanager/_variables.scss +1 -1
- package/scss/filter/_layout.scss +0 -24
- package/scss/floating-label/_layout.scss +0 -4
- package/scss/floating-label/_variables.scss +0 -4
- package/scss/forms/_layout.scss +0 -7
- package/scss/forms/_variables.scss +1 -5
- package/scss/gantt/_variables.scss +21 -21
- package/scss/grid/_layout.scss +12 -7
- package/scss/grid/_theme.scss +1 -1
- package/scss/grid/_variables.scss +3 -3
- package/scss/imageeditor/_theme.scss +4 -0
- package/scss/input/_layout.scss +47 -32
- package/scss/input/_theme.scss +46 -35
- package/scss/input/_variables.scss +39 -39
- package/scss/list/_layout.scss +13 -0
- package/scss/list/_variables.scss +36 -24
- package/scss/listbox/_theme.scss +1 -1
- package/scss/listview/_layout.scss +0 -14
- package/scss/listview/_theme.scss +0 -19
- package/scss/listview/_variables.scss +1 -35
- package/scss/loader/_layout.scss +4 -0
- package/scss/loader/_variables.scss +7 -7
- package/scss/mediaplayer/_layout.scss +6 -2
- package/scss/mediaplayer/_variables.scss +1 -1
- package/scss/menu/_layout.scss +4 -2
- package/scss/menu/_variables.scss +3 -3
- package/scss/messagebox/_layout.scss +4 -0
- package/scss/messagebox/_theme.scss +3 -0
- package/scss/messagebox/_variables.scss +6 -3
- package/scss/notification/_functions.scss +2 -2
- package/scss/notification/_theme.scss +0 -4
- package/scss/notification/_variables.scss +8 -8
- package/scss/pager/_layout.scss +2 -0
- package/scss/pager/_variables.scss +1 -1
- package/scss/panelbar/_layout.scss +17 -17
- package/scss/panelbar/_theme.scss +1 -13
- package/scss/panelbar/_variables.scss +15 -18
- package/scss/pdf-viewer/_theme.scss +4 -0
- package/scss/pdf-viewer/_variables.scss +1 -1
- package/scss/pivotgrid/_layout.scss +10 -14
- package/scss/popover/_layout.scss +3 -16
- package/scss/popover/_variables.scss +13 -16
- package/scss/popup/_variables.scss +2 -2
- package/scss/progressbar/_variables.scss +4 -4
- package/scss/prompt/_variables.scss +20 -20
- package/scss/radio/_layout.scss +3 -0
- package/scss/radio/_theme.scss +8 -0
- package/scss/radio/_variables.scss +6 -6
- package/scss/rating/_layout.scss +2 -1
- package/scss/rating/_theme.scss +2 -13
- package/scss/rating/_variables.scss +3 -6
- package/scss/scheduler/_layout.scss +0 -10
- package/scss/scheduler/_variables.scss +10 -10
- package/scss/signature/_layout.scss +0 -8
- package/scss/signature/_theme.scss +1 -1
- package/scss/signature/_variables.scss +2 -6
- package/scss/skeleton/_variables.scss +1 -1
- package/scss/slider/_layout.scss +19 -53
- package/scss/slider/_theme.scss +27 -0
- package/scss/slider/_variables.scss +7 -7
- package/scss/split-button/_layout.scss +0 -48
- package/scss/split-button/_variables.scss +6 -16
- package/scss/splitter/_variables.scss +15 -15
- package/scss/spreadsheet/_layout.scss +2 -159
- package/scss/spreadsheet/_theme.scss +5 -35
- package/scss/spreadsheet/_variables.scss +12 -40
- package/scss/stepper/_layout.scss +1 -5
- package/scss/stepper/_theme.scss +7 -1
- package/scss/stepper/_variables.scss +10 -10
- package/scss/suggestion/_layout.scss +9 -0
- package/scss/suggestion/_theme.scss +3 -3
- package/scss/suggestion/_variables.scss +2 -2
- package/scss/switch/_layout.scss +2 -1
- package/scss/switch/_variables.scss +10 -10
- package/scss/table/_layout.scss +3 -3
- package/scss/table/_variables.scss +10 -20
- package/scss/tabstrip/_layout.scss +47 -5
- package/scss/tabstrip/_theme.scss +1 -2
- package/scss/tabstrip/_variables.scss +7 -7
- package/scss/taskboard/_layout.scss +3 -2
- package/scss/taskboard/_theme.scss +5 -1
- package/scss/taskboard/_variables.scss +9 -6
- package/scss/timeline/_layout.scss +0 -4
- package/scss/timeline/_variables.scss +1 -4
- package/scss/timepicker/_layout.scss +0 -3
- package/scss/timeselector/_layout.scss +15 -3
- package/scss/timeselector/_theme.scss +1 -1
- package/scss/timeselector/_variables.scss +16 -16
- package/scss/toolbar/_variables.scss +13 -13
- package/scss/tooltip/_layout.scss +0 -9
- package/scss/tooltip/_theme.scss +5 -0
- package/scss/tooltip/_variables.scss +5 -5
- package/scss/treelist/_layout.scss +1 -1
- package/scss/treeview/_layout.scss +0 -5
- package/scss/treeview/_theme.scss +2 -26
- package/scss/treeview/_variables.scss +48 -28
- package/scss/typography/_variables.scss +21 -21
- package/scss/upload/_layout.scss +12 -3
- package/scss/upload/_theme.scss +24 -0
- package/scss/upload/_variables.scss +10 -10
- package/scss/window/_layout.scss +16 -5
- package/scss/window/_theme.scss +7 -0
- package/scss/window/_variables.scss +9 -9
- package/scss/wizard/_layout.scss +3 -0
- package/scss/wizard/_variables.scss +3 -3
|
@@ -52,10 +52,10 @@ $kendo-bubble-active-border: $kendo-bubble-active-bg !default;
|
|
|
52
52
|
$kendo-bubble-focus-bg: k-color(base-subtle) !default;
|
|
53
53
|
/// The border color of the focused Bubble.
|
|
54
54
|
/// @group bubble
|
|
55
|
-
$kendo-bubble-focus-border:
|
|
55
|
+
$kendo-bubble-focus-border: k-color(on-base) !default;
|
|
56
56
|
/// The box shadow of the focused Bubble.
|
|
57
57
|
/// @group bubble
|
|
58
|
-
$kendo-bubble-focus-shadow: 0 0 0
|
|
58
|
+
$kendo-bubble-focus-shadow: inset 0 0 0 #{$kendo-bubble-border-width} k-color(on-base), inset 0 0 0 calc( #{$kendo-bubble-border-width} * 2 ) k-color(surface) !default;
|
|
59
59
|
|
|
60
60
|
/// The spacing between content and icon in expandable Bubble.
|
|
61
61
|
/// @group bubble
|
package/scss/button/_layout.scss
CHANGED
|
@@ -10,19 +10,11 @@
|
|
|
10
10
|
|
|
11
11
|
// Button
|
|
12
12
|
.k-button {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
&.k-focus::after {
|
|
16
|
-
content: "";
|
|
17
|
-
display: block;
|
|
18
|
-
opacity: 1;
|
|
19
|
-
position: absolute;
|
|
20
|
-
border: medium none;
|
|
21
|
-
border-radius: 0;
|
|
22
|
-
inset: $kendo-button-focus-offset;
|
|
13
|
+
&:focus,
|
|
14
|
+
&.k-focus {
|
|
23
15
|
outline-width: $kendo-button-focus-outline-width;
|
|
24
16
|
outline-style: $kendo-button-focus-outline-style;
|
|
25
|
-
|
|
17
|
+
outline-offset: calc( (#{$kendo-button-border-width} * 2 ) * -1);
|
|
26
18
|
}
|
|
27
19
|
|
|
28
20
|
// Fix for focused button with full roundness
|
|
@@ -34,6 +26,10 @@
|
|
|
34
26
|
}
|
|
35
27
|
}
|
|
36
28
|
|
|
29
|
+
.k-button-sm {
|
|
30
|
+
font-weight: $kendo-font-weight-normal;
|
|
31
|
+
}
|
|
32
|
+
|
|
37
33
|
|
|
38
34
|
// Sizing
|
|
39
35
|
@each $size, $size-props in $kendo-button-sizes {
|
|
@@ -96,7 +92,6 @@
|
|
|
96
92
|
&.k-focus::after {
|
|
97
93
|
@include border-radius( inherit );
|
|
98
94
|
inset: $kendo-button-flat-focus-offset;
|
|
99
|
-
outline-width: $kendo-button-flat-focus-outline-width;
|
|
100
95
|
box-shadow: none;
|
|
101
96
|
}
|
|
102
97
|
}
|
|
@@ -115,10 +110,10 @@
|
|
|
115
110
|
display: block;
|
|
116
111
|
pointer-events: none;
|
|
117
112
|
position: absolute;
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
113
|
+
inset-inline-start: calc(-1 * #{$kendo-button-border-width});
|
|
114
|
+
inset-inline-end: calc(-1 * #{$kendo-button-border-width});
|
|
115
|
+
inset-block-start: calc(-1 * #{$kendo-button-border-width});
|
|
116
|
+
inset-block-end: calc(-1 * #{$kendo-button-border-width});
|
|
122
117
|
z-index: 0;
|
|
123
118
|
transition: opacity .2s ease-in-out;
|
|
124
119
|
}
|
|
@@ -127,7 +122,7 @@
|
|
|
127
122
|
&:hover,
|
|
128
123
|
&.k-hover {
|
|
129
124
|
&::before {
|
|
130
|
-
opacity: .
|
|
125
|
+
opacity: .03;
|
|
131
126
|
}
|
|
132
127
|
}
|
|
133
128
|
|
|
@@ -139,7 +134,7 @@
|
|
|
139
134
|
}
|
|
140
135
|
|
|
141
136
|
&::after {
|
|
142
|
-
outline-color: currentColor !important; // stylelint-disable-line declaration-no-important
|
|
137
|
+
// outline-color: currentColor !important; // stylelint-disable-line declaration-no-important
|
|
143
138
|
opacity: .13;
|
|
144
139
|
}
|
|
145
140
|
|
|
@@ -198,7 +193,7 @@
|
|
|
198
193
|
&.k-focus::after {
|
|
199
194
|
@include border-radius( inherit );
|
|
200
195
|
inset: $kendo-button-link-focus-offset;
|
|
201
|
-
outline-width: $kendo-button-link-focus-outline-width;
|
|
196
|
+
// outline-width: $kendo-button-link-focus-outline-width;
|
|
202
197
|
}
|
|
203
198
|
|
|
204
199
|
&:focus,
|
|
@@ -213,7 +208,7 @@
|
|
|
213
208
|
&:focus::after,
|
|
214
209
|
&.k-focus::after {
|
|
215
210
|
inset: auto;
|
|
216
|
-
outline-width: 0;
|
|
211
|
+
// outline-width: 0;
|
|
217
212
|
}
|
|
218
213
|
}
|
|
219
214
|
}
|
package/scss/button/_theme.scss
CHANGED
|
@@ -6,138 +6,149 @@
|
|
|
6
6
|
@mixin kendo-button--theme() {
|
|
7
7
|
|
|
8
8
|
@include kendo-button--theme-base();
|
|
9
|
-
|
|
10
|
-
.k-button-solid-base {
|
|
11
|
-
|
|
9
|
+
.k-button-solid {
|
|
12
10
|
&:focus,
|
|
13
11
|
&.k-focus {
|
|
14
|
-
color: $kendo-button-focus-text;
|
|
15
|
-
background-color: $kendo-button-focus-bg;
|
|
16
12
|
border-color: $kendo-button-focus-border;
|
|
17
|
-
outline-color: $kendo-button-focus-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
&.k-hover {
|
|
21
|
-
color: $kendo-button-focus-hover-text;
|
|
22
|
-
background-color: $kendo-button-focus-hover-bg;
|
|
23
|
-
border-color: $kendo-button-focus-hover-border;
|
|
24
|
-
outline-color: $kendo-button-focus-hover-outline;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&:active,
|
|
29
|
-
&.k-active {
|
|
30
|
-
color: $kendo-button-active-text;
|
|
31
|
-
background-color: $kendo-button-active-bg;
|
|
32
|
-
border-color: $kendo-button-active-border;
|
|
33
|
-
|
|
34
|
-
&:hover,
|
|
35
|
-
&.k-hover {
|
|
36
|
-
color: $kendo-button-active-hover-text;
|
|
37
|
-
background-color: $kendo-button-active-hover-bg;
|
|
38
|
-
border-color: $kendo-button-active-hover-border;
|
|
39
|
-
}
|
|
13
|
+
outline-color: $kendo-button-focus-border;
|
|
14
|
+
box-shadow: inset 0 0 0 $kendo-button-border-width $kendo-button-focus-border,
|
|
15
|
+
inset 0 0 0 calc( #{$kendo-button-border-width} * 2 ) k-color(surface);
|
|
40
16
|
}
|
|
17
|
+
}
|
|
41
18
|
|
|
19
|
+
.k-button-solid-base {
|
|
42
20
|
&.k-selected {
|
|
43
21
|
color: $kendo-button-active-text;
|
|
44
22
|
background-color: $kendo-button-active-bg;
|
|
45
23
|
border-color: $kendo-button-active-border;
|
|
46
|
-
|
|
47
|
-
&:hover,
|
|
48
|
-
&.k-hover {
|
|
49
|
-
color: $kendo-button-active-hover-text;
|
|
50
|
-
background-color: $kendo-button-active-hover-bg;
|
|
51
|
-
border-color: $kendo-button-active-hover-border;
|
|
52
|
-
}
|
|
53
24
|
}
|
|
25
|
+
}
|
|
54
26
|
|
|
55
|
-
|
|
27
|
+
.k-button-flat {
|
|
56
28
|
&:disabled,
|
|
57
29
|
&.k-disabled {
|
|
58
30
|
@include fill(
|
|
59
|
-
$kendo-button-disabled-text,
|
|
60
|
-
$kendo-button-disabled-bg,
|
|
61
|
-
$kendo-button-disabled-border
|
|
31
|
+
$kendo-button-flat-disabled-text,
|
|
32
|
+
$kendo-button-flat-disabled-bg,
|
|
33
|
+
$kendo-button-flat-disabled-border
|
|
62
34
|
);
|
|
63
35
|
}
|
|
64
36
|
}
|
|
65
37
|
|
|
66
|
-
.k-button-
|
|
67
|
-
.k-button-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
38
|
+
.k-button-outline,
|
|
39
|
+
.k-button-flat,
|
|
40
|
+
.k-button-clear,
|
|
41
|
+
.k-button-link {
|
|
42
|
+
&:focus,
|
|
43
|
+
&.k-focus {
|
|
44
|
+
outline-color: $kendo-button-focus-border;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&:disabled,
|
|
48
|
+
&.k-disabled {
|
|
49
|
+
@include fill(
|
|
50
|
+
$kendo-button-outline-disabled-text,
|
|
51
|
+
$kendo-button-outline-disabled-bg,
|
|
52
|
+
$kendo-button-outline-disabled-border
|
|
53
|
+
);
|
|
71
54
|
}
|
|
72
55
|
}
|
|
73
56
|
|
|
74
57
|
@each $theme-color, $color in $kendo-button-theme-colors {
|
|
75
58
|
@if($theme-color != "base") {
|
|
76
59
|
.k-button-flat-#{$theme-color} {
|
|
77
|
-
color: k-color(#{$theme-color}-on-surface);
|
|
78
60
|
background-color: initial !important; // stylelint-disable-line declaration-no-important
|
|
79
61
|
border-color: transparent;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.k-button-outline-#{$theme-color} {
|
|
65
|
+
|
|
66
|
+
border-color: k-color(#{$theme-color}-on-surface);
|
|
80
67
|
|
|
81
68
|
&:hover,
|
|
82
|
-
&.k-hover
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
69
|
+
&.k-hover,
|
|
70
|
+
&:active,
|
|
71
|
+
&.k-active,
|
|
72
|
+
&.k-selected {
|
|
73
|
+
border-color: k-color(#{$theme-color}-on-surface);
|
|
86
74
|
}
|
|
75
|
+
}
|
|
87
76
|
|
|
88
|
-
|
|
89
|
-
|
|
77
|
+
.k-button-flat-#{$theme-color},
|
|
78
|
+
.k-button-outline-#{$theme-color} {
|
|
79
|
+
color: k-color(#{$theme-color}-on-surface);
|
|
80
|
+
|
|
81
|
+
&:active,
|
|
82
|
+
&.k-active,
|
|
83
|
+
&.k-selected {
|
|
84
|
+
color: k-color(#{$theme-color}-on-surface);
|
|
85
|
+
background-color: color-mix(in srgb, k-color(#{$theme-color}-active) 13%, transparent) !important; // stylelint-disable-line declaration-no-important
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&:hover,
|
|
89
|
+
&.k-hover {
|
|
90
90
|
color: k-color(#{$theme-color}-on-surface);
|
|
91
|
-
background-color:
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
}
|
|
91
|
+
background-color: color-mix(in srgb, k-color(#{$theme-color}-hover) 3%, transparent) !important; // stylelint-disable-line declaration-no-important
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@if($theme-color == "base") {
|
|
97
|
+
.k-button-outline-#{$theme-color} {
|
|
98
|
+
border-color: $kendo-button-border;
|
|
99
|
+
|
|
100
|
+
&:hover,
|
|
101
|
+
&.k-hover {
|
|
102
|
+
color: inherit;
|
|
103
|
+
background-color: color-mix(in srgb, k-color(on-base) 3%, transparent);
|
|
104
|
+
border-color: color-mix( in srgb, k-color(border) 34%, transparent );
|
|
106
105
|
}
|
|
107
106
|
|
|
108
107
|
&:active,
|
|
109
108
|
&.k-active,
|
|
110
109
|
&.k-selected {
|
|
111
|
-
color:
|
|
112
|
-
background-color: k-color(
|
|
113
|
-
border-color:
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
110
|
+
color: inherit;
|
|
111
|
+
background-color: color-mix(in srgb, k-color(on-base) 13%, transparent);
|
|
112
|
+
border-color: $kendo-button-border;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.k-button-flat-#{$theme-color} {
|
|
117
|
+
&:hover,
|
|
118
|
+
&.k-hover {
|
|
119
|
+
background-color: color-mix(in srgb, k-color(on-base) 3%, transparent) !important; // stylelint-disable-line declaration-no-important
|
|
121
120
|
}
|
|
122
121
|
}
|
|
123
122
|
}
|
|
124
123
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
124
|
+
@if($theme-color == "secondary") {
|
|
125
|
+
.k-button-solid-#{$theme-color} {
|
|
126
|
+
border-color: currentColor;
|
|
127
|
+
|
|
128
|
+
&:hover,
|
|
129
|
+
&.k-hover,
|
|
130
|
+
&:active,
|
|
131
|
+
&.k-active,
|
|
132
|
+
&.k-selected {
|
|
133
|
+
border-color: currentColor;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
&:focus,
|
|
137
|
+
&.k-focus {
|
|
138
|
+
box-shadow: inset 0 0 0 $kendo-button-border-width $kendo-button-focus-border;
|
|
139
|
+
}
|
|
134
140
|
}
|
|
135
141
|
}
|
|
136
142
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
143
|
+
@if($theme-color == "light") {
|
|
144
|
+
.k-button-outline-#{$theme-color},
|
|
145
|
+
.k-button-flat-#{$theme-color},
|
|
146
|
+
.k-button-clear-#{$theme-color},
|
|
147
|
+
.k-button-link-#{$theme-color} {
|
|
148
|
+
&:focus,
|
|
149
|
+
&.k-focus {
|
|
150
|
+
outline-color: k-color(light-on-surface);
|
|
151
|
+
}
|
|
141
152
|
}
|
|
142
153
|
}
|
|
143
154
|
}
|
|
@@ -147,33 +158,4 @@
|
|
|
147
158
|
.k-button-group[disabled] {
|
|
148
159
|
background-color: inherit;
|
|
149
160
|
}
|
|
150
|
-
|
|
151
|
-
.k-disabled,
|
|
152
|
-
:disabled {
|
|
153
|
-
|
|
154
|
-
.k-button-solid {
|
|
155
|
-
color: $kendo-button-disabled-text;
|
|
156
|
-
background-color: $kendo-button-disabled-bg;
|
|
157
|
-
border-color: $kendo-button-disabled-border;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.k-button-outline {
|
|
161
|
-
color: $kendo-button-outline-disabled-text;
|
|
162
|
-
background-color: $kendo-button-outline-disabled-bg;
|
|
163
|
-
border-color: $kendo-button-outline-disabled-border;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.k-button-flat,
|
|
167
|
-
.k-button-clear,
|
|
168
|
-
.k-button-link {
|
|
169
|
-
color: $kendo-button-flat-disabled-text;
|
|
170
|
-
background-color: $kendo-button-flat-disabled-bg;
|
|
171
|
-
border-color: $kendo-button-flat-disabled-border;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.k-button-flat-base.k-disabled {
|
|
176
|
-
color: color-mix(in srgb, k-color(on-app-surface) 46%, transparent);
|
|
177
|
-
}
|
|
178
|
-
|
|
179
161
|
}
|
|
@@ -8,43 +8,43 @@ $kendo-button-border-width: var( --kendo-button-border-width, 1px ) !default;
|
|
|
8
8
|
|
|
9
9
|
/// The horizontal padding of the small Button.
|
|
10
10
|
/// @group button
|
|
11
|
-
$kendo-button-sm-padding-x: var( --kendo-button-sm-padding-x, k-spacing(
|
|
11
|
+
$kendo-button-sm-padding-x: var( --kendo-button-sm-padding-x, k-spacing(2) ) !default;
|
|
12
12
|
/// The horizontal padding of the medium Button.
|
|
13
13
|
/// @group button
|
|
14
|
-
$kendo-button-md-padding-x: var( --kendo-button-md-padding-x, k-spacing(
|
|
14
|
+
$kendo-button-md-padding-x: var( --kendo-button-md-padding-x, k-spacing(3) ) !default;
|
|
15
15
|
/// The horizontal padding of the large Button.
|
|
16
16
|
/// @group button
|
|
17
|
-
$kendo-button-lg-padding-x: var( --kendo-button-lg-padding-x, k-spacing(
|
|
17
|
+
$kendo-button-lg-padding-x: var( --kendo-button-lg-padding-x, k-spacing(4) ) !default;
|
|
18
18
|
|
|
19
19
|
/// The vertical padding of the small Button.
|
|
20
20
|
/// @group button
|
|
21
|
-
$kendo-button-sm-padding-y: var( --kendo-button-sm-padding-y, k-spacing(
|
|
21
|
+
$kendo-button-sm-padding-y: var( --kendo-button-sm-padding-y, calc( #{k-spacing(0.5)} + 1px ) ) !default;
|
|
22
22
|
/// The vertical padding of the medium Button.
|
|
23
23
|
/// @group button
|
|
24
|
-
$kendo-button-md-padding-y: var( --kendo-button-md-padding-y, k-spacing(1
|
|
24
|
+
$kendo-button-md-padding-y: var( --kendo-button-md-padding-y, calc( #{k-spacing(1)} + 1px ) ) !default;
|
|
25
25
|
/// The vertical padding of the large Button.
|
|
26
26
|
/// @group button
|
|
27
|
-
$kendo-button-lg-padding-y: var( --kendo-button-lg-padding-y, k-spacing(2) ) !default;
|
|
27
|
+
$kendo-button-lg-padding-y: var( --kendo-button-lg-padding-y, calc( #{k-spacing(2)} + 1px ) ) !default;
|
|
28
28
|
|
|
29
29
|
/// The font size of the small Button.
|
|
30
30
|
/// @group button
|
|
31
|
-
$kendo-button-sm-font-size: var( --kendo-font-size, inherit ) !default;
|
|
31
|
+
$kendo-button-sm-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
32
32
|
/// The font size of the medium Button.
|
|
33
33
|
/// @group button
|
|
34
34
|
$kendo-button-md-font-size: var( --kendo-font-size, inherit ) !default;
|
|
35
35
|
/// The font size of the large Button.
|
|
36
36
|
/// @group button
|
|
37
|
-
$kendo-button-lg-font-size: var( --kendo-font-size, inherit ) !default;
|
|
37
|
+
$kendo-button-lg-font-size: var( --kendo-font-size-lg, inherit ) !default;
|
|
38
38
|
|
|
39
39
|
/// The line height used along with the $kendo-font-size variable of the small Button.
|
|
40
40
|
/// @group button
|
|
41
|
-
$kendo-button-sm-line-height: var( --kendo-line-height, normal ) !default;
|
|
41
|
+
$kendo-button-sm-line-height: var( --kendo-line-height-lg, normal ) !default;
|
|
42
42
|
/// The line height used along with the $kendo-font-size variable of the medium Button.
|
|
43
43
|
/// @group button
|
|
44
44
|
$kendo-button-md-line-height: var( --kendo-line-height, normal ) !default;
|
|
45
45
|
/// The line height used along with the $kendo-font-size variable of the large Button.
|
|
46
46
|
/// @group button
|
|
47
|
-
$kendo-button-lg-line-height: var( --kendo-line-height, normal ) !default;
|
|
47
|
+
$kendo-button-lg-line-height: var( --kendo-line-height-sm, normal ) !default;
|
|
48
48
|
|
|
49
49
|
/// The font family of the Button.
|
|
50
50
|
/// @group button
|
|
@@ -52,7 +52,7 @@ $kendo-button-font-family: var( --kendo-font-family, inherit ) !default;
|
|
|
52
52
|
|
|
53
53
|
/// The font weight of the Button.
|
|
54
54
|
/// @group button
|
|
55
|
-
$kendo-button-font-weight: var( --kendo-font-weight-
|
|
55
|
+
$kendo-button-font-weight: var( --kendo-font-weight-semibold, normal ) !default;
|
|
56
56
|
|
|
57
57
|
/// The calculated height of the Button.
|
|
58
58
|
/// @group button
|
|
@@ -91,16 +91,9 @@ $kendo-button-sizes: (
|
|
|
91
91
|
)
|
|
92
92
|
) !default;
|
|
93
93
|
|
|
94
|
-
/// The content spacing of the Button.
|
|
95
|
-
/// @group button
|
|
96
|
-
$kendo-button-spacing: var( --kendo-button-spacing, k-spacing(2) ) !default;
|
|
97
|
-
|
|
98
|
-
/// The offset of the focused Button.
|
|
99
|
-
/// @group button
|
|
100
|
-
$kendo-button-focus-offset: var( --kendo-button-focus-offset, k-spacing(0.5) ) !default;
|
|
101
94
|
/// The Outline width of the focused Button.
|
|
102
95
|
/// @group button
|
|
103
|
-
$kendo-button-focus-outline-width: var( --kendo-button-focus-outline-width,
|
|
96
|
+
$kendo-button-focus-outline-width: var( --kendo-button-focus-outline-width, 2px ) !default;
|
|
104
97
|
/// The outline style of the focused Button.
|
|
105
98
|
/// @group button
|
|
106
99
|
$kendo-button-focus-outline-style: var( --kendo-button-focus-outline-style, solid ) !default;
|
|
@@ -108,16 +101,10 @@ $kendo-button-focus-outline-style: var( --kendo-button-focus-outline-style, soli
|
|
|
108
101
|
/// The offset of the flat focused Button.
|
|
109
102
|
/// @group button
|
|
110
103
|
$kendo-button-flat-focus-offset: var( --kendo-button-flat-focus-offset, 1px ) !default;
|
|
111
|
-
/// The outline width of the flat focused Button.
|
|
112
|
-
/// @group button
|
|
113
|
-
$kendo-button-flat-focus-outline-width: var( --kendo-button-flat-focus-outline-width, k-spacing(0.5) ) !default;
|
|
114
104
|
|
|
115
105
|
/// The offset of the link focused Button.
|
|
116
106
|
/// @group button
|
|
117
107
|
$kendo-button-link-focus-offset: var( --kendo-button-link-focus-offset, 0 ) !default;
|
|
118
|
-
/// The outline width of the flat focused Button.
|
|
119
|
-
/// @group button
|
|
120
|
-
$kendo-button-link-focus-outline-width: var( --kendo-button-link-focus-outline-width, 1px ) !default;
|
|
121
108
|
|
|
122
109
|
/// The opacity of the pulsing animation for the generating Button.
|
|
123
110
|
/// @group button
|
|
@@ -147,7 +134,7 @@ $kendo-button-bg: var( --kendo-button-bg, k-color(base) ) !default;
|
|
|
147
134
|
$kendo-button-text: var( --kendo-button-text, k-color(on-base) ) !default;
|
|
148
135
|
/// The base border color of the Button.
|
|
149
136
|
/// @group button
|
|
150
|
-
$kendo-button-border: var( --kendo-button-border, k-color(border) ) !default;
|
|
137
|
+
$kendo-button-border: var( --kendo-button-border, color-mix(in srgb, k-color(border) 26%, transparent) ) !default;
|
|
151
138
|
/// The base background gradient of the Button.
|
|
152
139
|
/// @group button
|
|
153
140
|
$kendo-button-gradient: linear-gradient( var( --kendo-button-gradient, transparent, transparent ) ) !default;
|
|
@@ -163,32 +150,14 @@ $kendo-button-hover-bg: var( --kendo-button-hover-bg, k-color(base-hover) ) !def
|
|
|
163
150
|
$kendo-button-hover-text: var( --kendo-button-hover-text, k-color(on-base) ) !default;
|
|
164
151
|
/// The base border color of the hovered Button.
|
|
165
152
|
/// @group button
|
|
166
|
-
$kendo-button-hover-border: var( --kendo-button-hover-border, k-color(border) ) !default;
|
|
153
|
+
$kendo-button-hover-border: var( --kendo-button-hover-border, color-mix( in srgb, k-color(border) 34%, transparent ) ) !default;
|
|
167
154
|
|
|
168
|
-
/// The base background of the focused Button.
|
|
169
|
-
/// @group button
|
|
170
|
-
$kendo-button-focus-bg: var( --kendo-button-focus-bg, k-color(base) ) !default;
|
|
171
|
-
/// The base text color of the focused Button.
|
|
172
|
-
/// @group button
|
|
173
|
-
$kendo-button-focus-text: var( --kendo-button-focus-text, k-color(on-base) ) !default;
|
|
174
155
|
/// The base border color of the focused Button.
|
|
175
156
|
/// @group button
|
|
176
|
-
$kendo-button-focus-border: var( --kendo-button-focus-border, k-color(border) ) !default;
|
|
157
|
+
$kendo-button-focus-border: var( --kendo-button-focus-border, k-color(border-alt) ) !default;
|
|
177
158
|
/// The base outline color of the focused Button.
|
|
178
159
|
/// @group button
|
|
179
160
|
$kendo-button-focus-outline: var( --kendo-button-focus-outline, k-color(on-base) ) !default;
|
|
180
|
-
/// The base background of the focused Button when hovered.
|
|
181
|
-
/// @group button
|
|
182
|
-
$kendo-button-focus-hover-bg: var( --kendo-button-focus-hover-bg, k-color(base-hover) ) !default;
|
|
183
|
-
/// The base text color of the focused Button when hovered.
|
|
184
|
-
/// @group button
|
|
185
|
-
$kendo-button-focus-hover-text: var( --kendo-button-focus-hover-text, k-color(on-base) ) !default;
|
|
186
|
-
/// The base border color of the focused Button when hovered.
|
|
187
|
-
/// @group button
|
|
188
|
-
$kendo-button-focus-hover-border: var( --kendo-button-focus-hover-border, k-color(border) ) !default;
|
|
189
|
-
/// The base outline color of the focused Button when hovered.
|
|
190
|
-
/// @group button
|
|
191
|
-
$kendo-button-focus-hover-outline: var( --kendo-button-focus-hover-outline, k-color(on-base) ) !default;
|
|
192
161
|
|
|
193
162
|
/// The base background of the active Button.
|
|
194
163
|
/// @group button
|
|
@@ -198,43 +167,34 @@ $kendo-button-active-bg: var( --kendo-button-active-bg, k-color(base-active) ) !
|
|
|
198
167
|
$kendo-button-active-text: var( --kendo-button-active-text, k-color(on-base) ) !default;
|
|
199
168
|
/// The base border color of the active Button.
|
|
200
169
|
/// @group button
|
|
201
|
-
$kendo-button-active-border: var( --kendo-button-active-border,
|
|
202
|
-
/// The base background of the active Button when hovered.
|
|
203
|
-
/// @group button
|
|
204
|
-
$kendo-button-active-hover-bg: var( --kendo-button-active-hover-bg, k-color(base-hover) ) !default;
|
|
205
|
-
/// The base text color of the active Button when hovered.
|
|
206
|
-
/// @group button
|
|
207
|
-
$kendo-button-active-hover-text: var( --kendo-button-active-hover-text, k-color(on-base) ) !default;
|
|
208
|
-
/// The base border color of the active Button when hovered.
|
|
209
|
-
/// @group button
|
|
210
|
-
$kendo-button-active-hover-border: var( --kendo-button-active-hover-border, k-color(border) ) !default;
|
|
170
|
+
$kendo-button-active-border: var( --kendo-button-active-border, $kendo-button-border ) !default;
|
|
211
171
|
|
|
212
172
|
/// The base background of the disabled Button.
|
|
213
173
|
/// @group button
|
|
214
|
-
$kendo-button-disabled-bg: var( --kendo-button-disabled-bg, color-mix(in srgb, k-color(on-app-surface)
|
|
174
|
+
$kendo-button-disabled-bg: var( --kendo-button-disabled-bg, color-mix(in srgb, k-color(on-app-surface) 7%, transparent) ) !default;
|
|
215
175
|
/// The base text color of the disabled Button.
|
|
216
176
|
/// @group button
|
|
217
|
-
$kendo-button-disabled-text: var( --kendo-button-disabled-text, color-mix(in srgb, k-color(on-app-surface)
|
|
177
|
+
$kendo-button-disabled-text: var( --kendo-button-disabled-text, color-mix(in srgb, k-color(on-app-surface) 30%, transparent) ) !default;
|
|
218
178
|
/// The base border color of the disabled Button.
|
|
219
179
|
/// @group button
|
|
220
|
-
$kendo-button-disabled-border: var( --kendo-button-disabled-border, transparent ) !default;
|
|
180
|
+
$kendo-button-disabled-border: var( --kendo-button-disabled-border, color-mix(in srgb, k-color(on-app-surface) 14%, transparent) ) !default;
|
|
221
181
|
|
|
222
182
|
/// The base background of the disabled outline Button.
|
|
223
183
|
/// @group button
|
|
224
184
|
$kendo-button-outline-disabled-bg: var( --kendo-button-disabled-bg, initial ) !default;
|
|
225
185
|
/// The base text color of the disabled outline Button.
|
|
226
186
|
/// @group button
|
|
227
|
-
$kendo-button-outline-disabled-text: var( --kendo-button-disabled-text, color-mix(in srgb, k-color(on-app-surface)
|
|
187
|
+
$kendo-button-outline-disabled-text: var( --kendo-button-disabled-text, color-mix(in srgb, k-color(on-app-surface) 30%, transparent) ) !default;
|
|
228
188
|
/// The base border color of the disabled outline Button.
|
|
229
189
|
/// @group button
|
|
230
|
-
$kendo-button-outline-disabled-border: var( --kendo-button-disabled-border, color-mix(in srgb, k-color(on-app-surface)
|
|
190
|
+
$kendo-button-outline-disabled-border: var( --kendo-button-disabled-border, color-mix(in srgb, k-color(on-app-surface) 14%, transparent) ) !default;
|
|
231
191
|
|
|
232
192
|
/// The base background of the disabled flat Button.
|
|
233
193
|
/// @group button
|
|
234
194
|
$kendo-button-flat-disabled-bg: var( --kendo-button-disabled-bg, initial ) !default;
|
|
235
195
|
/// The base text color of the disabled flat Button.
|
|
236
196
|
/// @group button
|
|
237
|
-
$kendo-button-flat-disabled-text: var( --kendo-button-disabled-text, color-mix(in srgb, k-color(on-app-surface)
|
|
197
|
+
$kendo-button-flat-disabled-text: var( --kendo-button-disabled-text, color-mix(in srgb, k-color(on-app-surface) 30%, transparent) ) !default;
|
|
238
198
|
/// The base border color of the disabled flat Button.
|
|
239
199
|
/// @group button
|
|
240
200
|
$kendo-button-flat-disabled-border: var( --kendo-button-disabled-border, initial ) !default;
|
|
@@ -22,8 +22,18 @@
|
|
|
22
22
|
text-align: center;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
.k-calendar-th {
|
|
26
|
+
box-sizing: border-box;
|
|
27
|
+
}
|
|
28
|
+
|
|
25
29
|
.k-calendar-td {
|
|
26
30
|
font-size: inherit;
|
|
31
|
+
padding: $kendo-calendar-cell-padding;
|
|
32
|
+
box-sizing: border-box;
|
|
33
|
+
|
|
34
|
+
&.k-selected {
|
|
35
|
+
border-width: 1px;
|
|
36
|
+
}
|
|
27
37
|
}
|
|
28
38
|
|
|
29
39
|
.k-calendar-header {
|
|
@@ -67,11 +77,6 @@
|
|
|
67
77
|
}
|
|
68
78
|
}
|
|
69
79
|
|
|
70
|
-
.k-calendar .k-content.k-scrollable,
|
|
71
|
-
.k-calendar .k-calendar-content.k-scrollable {
|
|
72
|
-
@include hide-scrollbar-dir-agnostic();
|
|
73
|
-
}
|
|
74
|
-
|
|
75
80
|
.k-calendar-infinite {
|
|
76
81
|
.k-calendar-header {
|
|
77
82
|
margin-inline-start: calc( -1 * #{$kendo-infinite-calendar-view-padding-x} );
|
|
@@ -92,63 +97,11 @@
|
|
|
92
97
|
flex-direction: column;
|
|
93
98
|
}
|
|
94
99
|
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.k-range-start,
|
|
98
|
-
.k-range-end,
|
|
99
|
-
.k-range-mid {
|
|
100
|
-
position: relative;
|
|
101
100
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
inset: 0px;
|
|
106
|
-
border-style: solid;
|
|
101
|
+
.k-range-start,
|
|
102
|
+
.k-range-end {
|
|
103
|
+
border-radius: $kendo-calendar-range-cell-border-radius;
|
|
107
104
|
}
|
|
108
|
-
|
|
109
|
-
&:hover .k-link,
|
|
110
|
-
&.k-hover .k-link {
|
|
111
|
-
border-radius: 0;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.k-range-mid::before {
|
|
116
|
-
border-width: var( --kendo-calendar-range-border-width, 1px );
|
|
117
|
-
border-inline-width: 0;
|
|
118
|
-
border-radius: 0;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.k-range-start::before,
|
|
122
|
-
.k-range-mid:not(
|
|
123
|
-
.k-range-start + .k-range-mid,
|
|
124
|
-
.k-range-mid + .k-range-mid,
|
|
125
|
-
:last-child
|
|
126
|
-
)::before {
|
|
127
|
-
border-width: var( --kendo-calendar-range-border-width, 1px );
|
|
128
|
-
border-inline-end-width: 0;
|
|
129
|
-
border-radius: 0;
|
|
130
|
-
|
|
131
|
-
@if ( $kendo-enable-rounded ) {
|
|
132
|
-
border-start-start-radius: $kendo-calendar-cell-border-radius;
|
|
133
|
-
border-end-start-radius: $kendo-calendar-cell-border-radius;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.k-range-end::before,
|
|
138
|
-
.k-range-mid:last-child::before {
|
|
139
|
-
border-width: var( --kendo-calendar-range-border-width, 1px );
|
|
140
|
-
border-inline-start-width: 0;
|
|
141
|
-
border-radius: 0;
|
|
142
|
-
|
|
143
|
-
@if ( $kendo-enable-rounded ) {
|
|
144
|
-
border-start-end-radius: $kendo-calendar-cell-border-radius;
|
|
145
|
-
border-end-end-radius: $kendo-calendar-cell-border-radius;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.k-range-start.k-range-end::before {
|
|
150
|
-
border-width: var( --kendo-calendar-range-border-width, 1px );
|
|
151
|
-
border-radius: $kendo-calendar-cell-border-radius;
|
|
152
105
|
}
|
|
153
106
|
|
|
154
107
|
.k-calendar-navigation::before,
|