@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.
Files changed (189) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/fluent-1-dark.css +1 -0
  3. package/dist/fluent-1-dark.scss +157 -0
  4. package/dist/fluent-1.css +1 -0
  5. package/dist/fluent-1.scss +157 -0
  6. package/dist/fluent-main-dark.css +1 -1
  7. package/dist/fluent-main-dark.scss +145 -145
  8. package/dist/fluent-main.css +1 -1
  9. package/dist/meta/sassdoc-data.json +11271 -14429
  10. package/dist/meta/sassdoc-raw-data.json +3708 -5183
  11. package/dist/meta/variables.json +2093 -2384
  12. package/lib/swatches/all.json +1 -1
  13. package/lib/swatches/fluent-1-dark.json +757 -0
  14. package/lib/swatches/fluent-1.json +757 -0
  15. package/lib/swatches/fluent-main-dark.json +151 -151
  16. package/lib/swatches/fluent-main.json +5 -5
  17. package/package.json +4 -4
  18. package/scss/action-buttons/_variables.scss +3 -3
  19. package/scss/action-sheet/_layout.scss +4 -4
  20. package/scss/action-sheet/_theme.scss +0 -16
  21. package/scss/action-sheet/_variables.scss +12 -12
  22. package/scss/adaptive/_theme.scss +1 -1
  23. package/scss/appbar/_theme.scss +9 -1
  24. package/scss/appbar/_variables.scss +21 -3
  25. package/scss/badge/_theme.scss +6 -0
  26. package/scss/badge/_variables.scss +6 -6
  27. package/scss/bottom-navigation/_layout.scss +0 -17
  28. package/scss/bottom-navigation/_theme.scss +2 -10
  29. package/scss/bottom-navigation/_variables.scss +0 -10
  30. package/scss/breadcrumb/_layout.scss +0 -6
  31. package/scss/breadcrumb/_theme.scss +30 -17
  32. package/scss/breadcrumb/_variables.scss +26 -26
  33. package/scss/bubble/_theme.scss +2 -2
  34. package/scss/bubble/_variables.scss +2 -2
  35. package/scss/button/_layout.scss +15 -20
  36. package/scss/button/_theme.scss +100 -118
  37. package/scss/button/_variables.scss +22 -62
  38. package/scss/calendar/_layout.scss +13 -60
  39. package/scss/calendar/_theme.scss +63 -91
  40. package/scss/calendar/_variables.scss +21 -30
  41. package/scss/captcha/_variables.scss +2 -2
  42. package/scss/card/_layout.scss +6 -0
  43. package/scss/card/_theme.scss +5 -0
  44. package/scss/card/_variables.scss +8 -8
  45. package/scss/chat/_layout.scss +4 -18
  46. package/scss/chat/_theme.scss +10 -2
  47. package/scss/chat/_variables.scss +4 -4
  48. package/scss/checkbox/_layout.scss +6 -3
  49. package/scss/checkbox/_theme.scss +12 -0
  50. package/scss/checkbox/_variables.scss +7 -7
  51. package/scss/chip/_layout.scss +7 -11
  52. package/scss/chip/_theme.scss +43 -25
  53. package/scss/chip/_variables.scss +15 -24
  54. package/scss/coloreditor/_layout.scss +2 -2
  55. package/scss/coloreditor/_variables.scss +14 -14
  56. package/scss/colorgradient/_layout.scss +17 -1
  57. package/scss/colorgradient/_theme.scss +21 -16
  58. package/scss/colorgradient/_variables.scss +4 -4
  59. package/scss/colorpalette/_layout.scss +0 -2
  60. package/scss/colorpalette/_theme.scss +1 -9
  61. package/scss/colorpalette/_variables.scss +3 -24
  62. package/scss/column-menu/_variables.scss +6 -6
  63. package/scss/core/border-radii/_index.scss +4 -4
  64. package/scss/core/color-system/_palettes.scss +240 -556
  65. package/scss/core/color-system/_swatch.scss +144 -144
  66. package/scss/core/elevation/_index.scss +16 -16
  67. package/scss/core/typography/_index.scss +25 -1
  68. package/scss/dialog/_layout.scss +0 -24
  69. package/scss/dialog/_variables.scss +2 -22
  70. package/scss/dock-manager/_layout.scss +14 -2
  71. package/scss/dock-manager/_theme.scss +9 -0
  72. package/scss/dock-manager/_variables.scss +9 -9
  73. package/scss/drawer/_layout.scss +8 -4
  74. package/scss/drawer/_theme.scss +4 -2
  75. package/scss/drawer/_variables.scss +32 -19
  76. package/scss/dropzone/_layout.scss +1 -0
  77. package/scss/dropzone/_variables.scss +3 -3
  78. package/scss/expansion-panel/_layout.scss +1 -10
  79. package/scss/expansion-panel/_theme.scss +7 -3
  80. package/scss/expansion-panel/_variables.scss +14 -20
  81. package/scss/fab/_layout.scss +31 -16
  82. package/scss/fab/_theme.scss +16 -9
  83. package/scss/fab/_variables.scss +47 -54
  84. package/scss/filemanager/_theme.scss +8 -0
  85. package/scss/filemanager/_variables.scss +1 -1
  86. package/scss/filter/_layout.scss +0 -24
  87. package/scss/floating-label/_layout.scss +0 -4
  88. package/scss/floating-label/_variables.scss +0 -4
  89. package/scss/forms/_layout.scss +0 -7
  90. package/scss/forms/_variables.scss +1 -5
  91. package/scss/gantt/_variables.scss +21 -21
  92. package/scss/grid/_layout.scss +12 -7
  93. package/scss/grid/_theme.scss +1 -1
  94. package/scss/grid/_variables.scss +3 -3
  95. package/scss/imageeditor/_theme.scss +4 -0
  96. package/scss/input/_layout.scss +47 -32
  97. package/scss/input/_theme.scss +46 -35
  98. package/scss/input/_variables.scss +39 -39
  99. package/scss/list/_layout.scss +13 -0
  100. package/scss/list/_variables.scss +36 -24
  101. package/scss/listbox/_theme.scss +1 -1
  102. package/scss/listview/_layout.scss +0 -14
  103. package/scss/listview/_theme.scss +0 -19
  104. package/scss/listview/_variables.scss +1 -35
  105. package/scss/loader/_layout.scss +4 -0
  106. package/scss/loader/_variables.scss +7 -7
  107. package/scss/mediaplayer/_layout.scss +6 -2
  108. package/scss/mediaplayer/_variables.scss +1 -1
  109. package/scss/menu/_layout.scss +4 -2
  110. package/scss/menu/_variables.scss +3 -3
  111. package/scss/messagebox/_layout.scss +4 -0
  112. package/scss/messagebox/_theme.scss +3 -0
  113. package/scss/messagebox/_variables.scss +6 -3
  114. package/scss/notification/_functions.scss +2 -2
  115. package/scss/notification/_theme.scss +0 -4
  116. package/scss/notification/_variables.scss +8 -8
  117. package/scss/pager/_layout.scss +2 -0
  118. package/scss/pager/_variables.scss +1 -1
  119. package/scss/panelbar/_layout.scss +17 -17
  120. package/scss/panelbar/_theme.scss +1 -13
  121. package/scss/panelbar/_variables.scss +15 -18
  122. package/scss/pdf-viewer/_theme.scss +4 -0
  123. package/scss/pdf-viewer/_variables.scss +1 -1
  124. package/scss/pivotgrid/_layout.scss +10 -14
  125. package/scss/popover/_layout.scss +3 -16
  126. package/scss/popover/_variables.scss +13 -16
  127. package/scss/popup/_variables.scss +2 -2
  128. package/scss/progressbar/_variables.scss +4 -4
  129. package/scss/prompt/_variables.scss +20 -20
  130. package/scss/radio/_layout.scss +3 -0
  131. package/scss/radio/_theme.scss +8 -0
  132. package/scss/radio/_variables.scss +6 -6
  133. package/scss/rating/_layout.scss +2 -1
  134. package/scss/rating/_theme.scss +2 -13
  135. package/scss/rating/_variables.scss +3 -6
  136. package/scss/scheduler/_layout.scss +0 -10
  137. package/scss/scheduler/_variables.scss +10 -10
  138. package/scss/signature/_layout.scss +0 -8
  139. package/scss/signature/_theme.scss +1 -1
  140. package/scss/signature/_variables.scss +2 -6
  141. package/scss/skeleton/_variables.scss +1 -1
  142. package/scss/slider/_layout.scss +19 -53
  143. package/scss/slider/_theme.scss +27 -0
  144. package/scss/slider/_variables.scss +7 -7
  145. package/scss/split-button/_layout.scss +0 -48
  146. package/scss/split-button/_variables.scss +6 -16
  147. package/scss/splitter/_variables.scss +15 -15
  148. package/scss/spreadsheet/_layout.scss +2 -159
  149. package/scss/spreadsheet/_theme.scss +5 -35
  150. package/scss/spreadsheet/_variables.scss +12 -40
  151. package/scss/stepper/_layout.scss +1 -5
  152. package/scss/stepper/_theme.scss +7 -1
  153. package/scss/stepper/_variables.scss +10 -10
  154. package/scss/suggestion/_layout.scss +9 -0
  155. package/scss/suggestion/_theme.scss +3 -3
  156. package/scss/suggestion/_variables.scss +2 -2
  157. package/scss/switch/_layout.scss +2 -1
  158. package/scss/switch/_variables.scss +10 -10
  159. package/scss/table/_layout.scss +3 -3
  160. package/scss/table/_variables.scss +10 -20
  161. package/scss/tabstrip/_layout.scss +47 -5
  162. package/scss/tabstrip/_theme.scss +1 -2
  163. package/scss/tabstrip/_variables.scss +7 -7
  164. package/scss/taskboard/_layout.scss +3 -2
  165. package/scss/taskboard/_theme.scss +5 -1
  166. package/scss/taskboard/_variables.scss +9 -6
  167. package/scss/timeline/_layout.scss +0 -4
  168. package/scss/timeline/_variables.scss +1 -4
  169. package/scss/timepicker/_layout.scss +0 -3
  170. package/scss/timeselector/_layout.scss +15 -3
  171. package/scss/timeselector/_theme.scss +1 -1
  172. package/scss/timeselector/_variables.scss +16 -16
  173. package/scss/toolbar/_variables.scss +13 -13
  174. package/scss/tooltip/_layout.scss +0 -9
  175. package/scss/tooltip/_theme.scss +5 -0
  176. package/scss/tooltip/_variables.scss +5 -5
  177. package/scss/treelist/_layout.scss +1 -1
  178. package/scss/treeview/_layout.scss +0 -5
  179. package/scss/treeview/_theme.scss +2 -26
  180. package/scss/treeview/_variables.scss +48 -28
  181. package/scss/typography/_variables.scss +21 -21
  182. package/scss/upload/_layout.scss +12 -3
  183. package/scss/upload/_theme.scss +24 -0
  184. package/scss/upload/_variables.scss +10 -10
  185. package/scss/window/_layout.scss +16 -5
  186. package/scss/window/_theme.scss +7 -0
  187. package/scss/window/_variables.scss +9 -9
  188. package/scss/wizard/_layout.scss +3 -0
  189. 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: $kendo-bubble-focus-bg !default;
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 2px color-mix(in srgb, k-color(on-app-surface) 8%, transparent) !default;
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
@@ -10,19 +10,11 @@
10
10
 
11
11
  // Button
12
12
  .k-button {
13
-
14
- &:focus::after,
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
- z-index: 1;
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
- left: calc(-1 * #{$kendo-button-border-width});
119
- right: calc(-1 * #{$kendo-button-border-width});
120
- top: calc(-1 * #{$kendo-button-border-width});
121
- bottom: calc(-1 * #{$kendo-button-border-width});
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: .05;
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
  }
@@ -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-outline;
18
-
19
- &:hover,
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
- // Disabled state
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-solid-warning,
67
- .k-button-solid-light {
68
- &:focus::after,
69
- &.k-focus::after {
70
- outline-color: k-color(app-surface);
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
- color: k-color(#{$theme-color}-hover);
84
- background-color: k-color(#{$theme-color}-subtle) !important; // stylelint-disable-line declaration-no-important
85
- border-color: transparent;
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
- &:focus,
89
- &.k-focus {
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: initial !important; // stylelint-disable-line declaration-no-important
92
- border-color: transparent;
93
- outline-color: k-color(#{$theme-color}-subtle-active);
94
-
95
- &:hover,
96
- &.k-hover {
97
- color: k-color(#{$theme-color}-hover);
98
- background-color: k-color(#{$theme-color}-subtle) !important; // stylelint-disable-line declaration-no-important
99
- border-color: transparent;
100
- outline-color: k-color(#{$theme-color}-subtle-active);
101
- }
102
-
103
- &::after {
104
- outline-color: k-color(#{$theme-color}-subtle-active);
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: k-color(#{$theme-color}-hover);
112
- background-color: k-color(#{$theme-color}-subtle-hover) !important; // stylelint-disable-line declaration-no-important
113
- border-color: transparent;
114
-
115
- &:hover,
116
- &.k-hover {
117
- color: k-color(#{$theme-color}-hover);
118
- background-color: k-color(#{$theme-color}-subtle) !important; // stylelint-disable-line declaration-no-important
119
- border-color: transparent;
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
- .k-button-clear-#{$theme-color} {
126
- color: k-color(#{$theme-color}-on-surface);
127
- background-color: transparent !important; // stylelint-disable-line declaration-no-important
128
- border-color: transparent;
129
- &:focus,
130
- &.k-focus {
131
- color: k-color(#{$theme-color}-on-surface);
132
- background-color: k-color(#{$theme-color}-subtle) !important; // stylelint-disable-line declaration-no-important
133
- border-color: transparent;
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
- .k-button-link-#{$theme-color} {
138
- &:focus::after,
139
- &.k-focus::after {
140
- outline-color: k-color(#{$theme-color}-subtle-active);
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(5) ) !default;
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(5) ) !default;
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(5) ) !default;
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(1) ) !default;
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.5) ) !default;
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-bold, normal ) !default;
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, 1px ) !default;
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, k-color(border) ) !default;
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) 6%, transparent) ) !default;
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) 46%, transparent) ) !default;
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) 46%, transparent) ) !default;
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) 46%, transparent) ) !default;
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) 46%, transparent) ) !default;
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
- &::before {
103
- content: "";
104
- position: absolute;
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,