@progress/kendo-theme-material 11.0.0-dev.0 → 11.0.0

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 (184) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/material-2-dark.css +1 -0
  3. package/dist/material-2-dark.scss +137 -0
  4. package/dist/material-2.css +1 -0
  5. package/dist/material-2.scss +132 -0
  6. package/dist/material-aqua-dark.css +1 -1
  7. package/dist/material-arctic.css +1 -1
  8. package/dist/material-burnt-teal.css +1 -1
  9. package/dist/material-dataviz-v4.css +1 -1
  10. package/dist/material-eggplant.css +1 -1
  11. package/dist/material-lime-dark.css +1 -1
  12. package/dist/material-lime.css +1 -1
  13. package/dist/material-main-dark.css +1 -1
  14. package/dist/material-main-dark.scss +97 -97
  15. package/dist/material-main.css +1 -1
  16. package/dist/material-nova.css +1 -1
  17. package/dist/material-pacific-dark.css +1 -1
  18. package/dist/material-pacific.css +1 -1
  19. package/dist/material-sky-dark.css +1 -1
  20. package/dist/material-sky.css +1 -1
  21. package/dist/material-smoke.css +1 -1
  22. package/dist/meta/sassdoc-data.json +11721 -9853
  23. package/dist/meta/sassdoc-raw-data.json +3880 -3030
  24. package/dist/meta/variables.json +2515 -2282
  25. package/lib/swatches/index.js +2 -0
  26. package/lib/swatches/material-2-dark.json +657 -0
  27. package/lib/swatches/material-2.json +632 -0
  28. package/lib/swatches/material-aqua-dark.json +1 -1
  29. package/lib/swatches/material-arctic.json +1 -1
  30. package/lib/swatches/material-burnt-teal.json +1 -1
  31. package/lib/swatches/material-dataviz-v4.json +1 -1
  32. package/lib/swatches/material-eggplant.json +1 -1
  33. package/lib/swatches/material-lime-dark.json +1 -1
  34. package/lib/swatches/material-lime.json +1 -1
  35. package/lib/swatches/material-main-dark.json +103 -103
  36. package/lib/swatches/material-main.json +6 -6
  37. package/lib/swatches/material-nova.json +1 -1
  38. package/lib/swatches/material-pacific-dark.json +1 -1
  39. package/lib/swatches/material-pacific.json +1 -1
  40. package/lib/swatches/material-sky-dark.json +1 -1
  41. package/lib/swatches/material-sky.json +1 -1
  42. package/lib/swatches/material-smoke.json +1 -1
  43. package/package.json +4 -4
  44. package/scss/action-buttons/_layout.scss +0 -23
  45. package/scss/action-buttons/_theme.scss +0 -13
  46. package/scss/action-buttons/_variables.scss +3 -3
  47. package/scss/action-sheet/_layout.scss +6 -0
  48. package/scss/action-sheet/_variables.scss +21 -22
  49. package/scss/appbar/_variables.scss +3 -3
  50. package/scss/badge/_layout.scss +0 -1
  51. package/scss/badge/_variables.scss +8 -8
  52. package/scss/bottom-navigation/_theme.scss +54 -3
  53. package/scss/bottom-navigation/_variables.scss +16 -16
  54. package/scss/breadcrumb/_variables.scss +19 -19
  55. package/scss/button/_layout.scss +0 -79
  56. package/scss/button/_theme.scss +114 -29
  57. package/scss/button/_variables.scss +28 -24
  58. package/scss/calendar/_layout.scss +13 -16
  59. package/scss/calendar/_theme.scss +29 -11
  60. package/scss/calendar/_variables.scss +75 -48
  61. package/scss/captcha/_variables.scss +3 -3
  62. package/scss/card/_variables.scss +15 -15
  63. package/scss/chat/_theme.scss +4 -0
  64. package/scss/chat/_variables.scss +4 -4
  65. package/scss/checkbox/_layout.scss +35 -0
  66. package/scss/checkbox/_theme.scss +113 -4
  67. package/scss/checkbox/_variables.scss +18 -15
  68. package/scss/chip/_layout.scss +10 -0
  69. package/scss/chip/_theme.scss +41 -61
  70. package/scss/chip/_variables.scss +36 -18
  71. package/scss/coloreditor/_variables.scss +8 -8
  72. package/scss/colorgradient/_variables.scss +3 -33
  73. package/scss/column-menu/_variables.scss +1 -1
  74. package/scss/core/color-system/_palettes.scss +243 -242
  75. package/scss/core/color-system/_swatch.scss +142 -142
  76. package/scss/core/elevation/index.import.scss +18 -27
  77. package/scss/core/typography/index.import.scss +8 -8
  78. package/scss/dataviz/_variables.scss +1 -1
  79. package/scss/dialog/_variables.scss +6 -1
  80. package/scss/dock-manager/_variables.scss +14 -14
  81. package/scss/draggable/_variables.scss +1 -1
  82. package/scss/drawer/_layout.scss +2 -0
  83. package/scss/drawer/_theme.scss +0 -11
  84. package/scss/drawer/_variables.scss +48 -23
  85. package/scss/dropzone/_variables.scss +2 -2
  86. package/scss/editor/_layout.scss +2 -12
  87. package/scss/editor/_variables.scss +4 -4
  88. package/scss/expansion-panel/_layout.scss +5 -0
  89. package/scss/expansion-panel/_variables.scss +6 -6
  90. package/scss/fab/_layout.scss +1 -1
  91. package/scss/fab/_theme.scss +13 -12
  92. package/scss/fab/_variables.scss +11 -11
  93. package/scss/filemanager/_theme.scss +4 -0
  94. package/scss/filemanager/_variables.scss +1 -1
  95. package/scss/filter/_variables.scss +2 -2
  96. package/scss/forms/_variables.scss +5 -5
  97. package/scss/gantt/_variables.scss +16 -16
  98. package/scss/grid/_layout.scss +6 -21
  99. package/scss/grid/_theme.scss +12 -55
  100. package/scss/grid/_variables.scss +13 -13
  101. package/scss/imageeditor/_variables.scss +2 -2
  102. package/scss/input/_layout.scss +10 -14
  103. package/scss/input/_variables.scss +35 -34
  104. package/scss/list/_theme.scss +1 -1
  105. package/scss/list/_variables.scss +100 -22
  106. package/scss/listbox/_variables.scss +1 -1
  107. package/scss/listgroup/_variables.scss +4 -4
  108. package/scss/listview/_theme.scss +0 -13
  109. package/scss/listview/_variables.scss +5 -5
  110. package/scss/loader/_variables.scss +2 -2
  111. package/scss/map/_variables.scss +2 -2
  112. package/scss/mediaplayer/_variables.scss +2 -2
  113. package/scss/menu/_layout.scss +4 -0
  114. package/scss/menu/_theme.scss +1 -26
  115. package/scss/menu/_variables.scss +47 -39
  116. package/scss/menu-button/_variables.scss +1 -1
  117. package/scss/messagebox/_layout.scss +5 -1
  118. package/scss/messagebox/_variables.scss +1 -1
  119. package/scss/notification/_layout.scss +5 -0
  120. package/scss/notification/_theme.scss +1 -0
  121. package/scss/notification/_variables.scss +18 -8
  122. package/scss/orgchart/_variables.scss +3 -3
  123. package/scss/pager/_variables.scss +4 -4
  124. package/scss/panel/_variables.scss +3 -3
  125. package/scss/panelbar/_layout.scss +29 -1
  126. package/scss/panelbar/_theme.scss +0 -1
  127. package/scss/panelbar/_variables.scss +23 -23
  128. package/scss/pdf-viewer/_variables.scss +3 -3
  129. package/scss/pivotgrid/_theme.scss +0 -12
  130. package/scss/pivotgrid/_variables.scss +4 -4
  131. package/scss/popover/_variables.scss +3 -3
  132. package/scss/popup/_variables.scss +5 -5
  133. package/scss/progressbar/_layout.scss +11 -4
  134. package/scss/progressbar/_variables.scss +2 -2
  135. package/scss/prompt/_layout.scss +4 -0
  136. package/scss/prompt/_variables.scss +8 -8
  137. package/scss/radio/_layout.scss +35 -0
  138. package/scss/radio/_theme.scss +109 -4
  139. package/scss/radio/_variables.scss +17 -14
  140. package/scss/rating/_variables.scss +3 -3
  141. package/scss/scheduler/_layout.scss +2 -89
  142. package/scss/scheduler/_variables.scss +4 -4
  143. package/scss/scrollview/_variables.scss +1 -1
  144. package/scss/slider/_layout.scss +11 -0
  145. package/scss/slider/_theme.scss +1 -10
  146. package/scss/slider/_variables.scss +16 -7
  147. package/scss/split-button/_layout.scss +12 -0
  148. package/scss/split-button/_variables.scss +4 -4
  149. package/scss/splitter/_variables.scss +3 -3
  150. package/scss/spreadsheet/_layout.scss +0 -35
  151. package/scss/spreadsheet/_theme.scss +3 -25
  152. package/scss/spreadsheet/_variables.scss +7 -7
  153. package/scss/stepper/_layout.scss +15 -1
  154. package/scss/stepper/_theme.scss +8 -0
  155. package/scss/stepper/_variables.scss +13 -13
  156. package/scss/switch/_layout.scss +20 -5
  157. package/scss/switch/_theme.scss +2 -9
  158. package/scss/switch/_variables.scss +50 -16
  159. package/scss/table/_layout.scss +6 -0
  160. package/scss/table/_variables.scss +9 -9
  161. package/scss/tabstrip/_layout.scss +100 -4
  162. package/scss/tabstrip/_variables.scss +16 -16
  163. package/scss/taskboard/_layout.scss +4 -0
  164. package/scss/taskboard/_variables.scss +8 -8
  165. package/scss/tilelayout/_layout.scss +7 -1
  166. package/scss/tilelayout/_variables.scss +2 -2
  167. package/scss/timeline/_variables.scss +2 -2
  168. package/scss/timeselector/_layout.scss +38 -0
  169. package/scss/timeselector/_theme.scss +8 -6
  170. package/scss/timeselector/_variables.scss +29 -23
  171. package/scss/toolbar/_layout.scss +0 -47
  172. package/scss/toolbar/_theme.scss +4 -44
  173. package/scss/toolbar/_variables.scss +14 -14
  174. package/scss/tooltip/_variables.scss +6 -6
  175. package/scss/treelist/_layout.scss +0 -19
  176. package/scss/treelist/_theme.scss +10 -15
  177. package/scss/treelist/_variables.scss +1 -1
  178. package/scss/treeview/_theme.scss +2 -31
  179. package/scss/treeview/_variables.scss +24 -24
  180. package/scss/typography/_variables.scss +21 -21
  181. package/scss/upload/_variables.scss +3 -3
  182. package/scss/window/_layout.scss +14 -0
  183. package/scss/window/_variables.scss +8 -8
  184. package/scss/wizard/_variables.scss +3 -3
@@ -8,90 +8,11 @@
8
8
 
9
9
  @include kendo-button--layout-base();
10
10
 
11
- // Button
12
11
  .k-button {
13
- text-transform: uppercase;
14
- font-weight: 500;
15
-
16
- &::before {
17
- display: block;
18
- transition: opacity .4s cubic-bezier( .25, .8, .25, 1 );
19
- }
20
- &::after {
21
- display: none !important; // stylelint-disable-line declaration-no-important
22
- }
23
-
24
12
  &:disabled,
25
13
  &[disabled],
26
14
  &.k-disabled {
27
15
  opacity: 1;
28
- filter: none;
29
- }
30
- }
31
-
32
- // Solid button
33
- .k-button-solid {
34
- &::before {
35
- display: none;
36
- }
37
- }
38
-
39
- // Outline button
40
- .k-button-outline {
41
- background-color: transparent !important; // stylelint-disable-line declaration-no-important
42
- box-shadow: none !important; // stylelint-disable-line declaration-no-important
43
- }
44
-
45
-
46
- // Link button
47
- .k-button-link {
48
- &:hover,
49
- &.k-hover,
50
- &:active,
51
- &.k-active,
52
- &.k-selected {
53
- &::before {
54
- opacity: 0;
55
- }
56
- }
57
-
58
- &:focus,
59
- &.k-focus {
60
- &::before {
61
- opacity: $kendo-flat-button-focus-opacity;
62
- }
63
16
  }
64
17
  }
65
-
66
-
67
- // Clear button
68
- .k-button-clear,
69
- .k-button.k-clear {
70
- &::before {
71
- display: none;
72
- }
73
-
74
-
75
- &:focus,
76
- &.k-focus,
77
- &:active {
78
- &::before {
79
- display: block;
80
- }
81
- }
82
- }
83
-
84
-
85
- // Button group
86
- .k-button-group {}
87
-
88
-
89
- // Popup button group
90
- .k-overflow-button,
91
- .k-overflow-group {
92
- &.k-button-group {
93
- line-height: inherit;
94
- }
95
- }
96
-
97
18
  }
@@ -9,62 +9,145 @@
9
9
 
10
10
  // Solid button
11
11
  @each $name, $color in $kendo-button-theme-colors {
12
+ .k-button {
13
+ &:focus,
14
+ &.k-focus {
15
+ outline-style: solid;
16
+ outline-width: calc( (#{$kendo-button-border-width} * 2 ));
17
+ outline-offset: calc( (#{$kendo-button-border-width} * 2 ) * -1);
18
+ }
19
+ }
20
+
12
21
  .k-button-solid-#{$name} {
13
- @include box-shadow( $kendo-button-shadow );
22
+ // Focus state
23
+ &:focus,
24
+ &.k-focus {
25
+ background-color: k-color(#{$name}-active);
26
+ outline-color: if( $name == "base" or $name == "secondary", $kendo-button-focus-border, k-color(#{$name}-active));
27
+ box-shadow: inset 0 0 0 calc( #{$kendo-button-border-width} * 3 ) k-color(app-surface),
28
+ inset 0 0 0 calc( #{$kendo-button-border-width} * 5 ) k-color(#{$name}-active);
29
+ }
14
30
 
15
- // Hover state
16
31
  &:hover,
17
32
  &.k-hover {
33
+ background-color: k-color(#{$name}-hover);
34
+ border-color: k-color(#{$name}-hover);
18
35
  @include box-shadow( $kendo-button-hover-shadow );
19
36
  }
20
37
 
21
- // Focus state
22
38
  &:focus,
23
39
  &.k-focus {
24
- background-color: k-color(#{$name}-hover);
25
- border-color: k-color(#{$name}-hover);
26
- @include box-shadow( $kendo-button-focus-shadow );
40
+ &:hover,
41
+ &.k-hover {
42
+ box-shadow: inset 0 0 0 calc( #{$kendo-button-border-width} * 3 ) k-color(app-surface),
43
+ inset 0 0 0 calc( #{$kendo-button-border-width} * 5 ) k-color(#{$name}-hover),
44
+ $kendo-button-hover-shadow;
45
+ }
27
46
  }
47
+ }
48
+ }
28
49
 
29
- // Active state
50
+ // Outline and Flat button
51
+ @each $name, $color in $kendo-button-theme-colors {
52
+ .k-button-outline-#{$name},
53
+ .k-button-flat-#{$name} {
54
+ &:hover,
55
+ &.k-hover,
30
56
  &:active,
31
- &.k-active {
32
- @include box-shadow( $kendo-button-active-shadow );
57
+ &.k-active,
58
+ &.k-selected {
59
+ color: k-color(#{$name}-on-surface);
33
60
  }
61
+ }
62
+ }
34
63
 
35
- // Selected state
64
+ // Outline and Link button
65
+ @each $name, $color in $kendo-button-theme-colors {
66
+ .k-button-outline-#{$name},
67
+ .k-button-link-#{$name} {
68
+ color: k-color(#{$name}-on-surface);
69
+
70
+ &:active,
71
+ &.k-active,
36
72
  &.k-selected {
37
- @include box-shadow( $kendo-button-selected-shadow );
73
+ background-color: if( $name == "base" or $name == "secondary", color-mix(in srgb, currentColor 12%, transparent), color-mix(in srgb, k-color($name) 12%, transparent));
38
74
  }
39
75
 
40
- // Disabled state
41
- &:disabled,
42
- &.k-disabled {
43
- @include box-shadow( $kendo-button-disabled-shadow );
76
+ &:hover,
77
+ &.k-hover {
78
+ background-color: if( $name == "base" or $name == "secondary", color-mix(in srgb, currentColor 8%, transparent), color-mix(in srgb, k-color($name) 8%, transparent));
44
79
  }
45
80
  }
46
81
  }
47
82
 
48
83
 
84
+
49
85
  // Outline button
50
86
  @each $name, $color in $kendo-button-theme-colors {
51
87
  .k-button-outline-#{$name} {
52
88
  color: k-color(#{$name}-on-surface);
53
89
 
90
+ @if $name == "base" or $name == "primary" {
91
+ border-color: k-color(base-emphasis);
92
+ } @else if $name == "secondary" {
93
+ border-color: k-color(secondary-emphasis);
94
+ } @else {
95
+ border-color: k-color(#{$name}-on-surface);
96
+ }
97
+
54
98
  &:hover,
55
99
  &.k-hover,
56
- &:focus,
57
- &.k-focus,
58
100
  &:active,
59
101
  &.k-active,
60
102
  &.k-selected {
61
- color: k-color(#{$name}-on-surface);
103
+ @if $name == "base" or $name == "primary" {
104
+ border-color: k-color(base-emphasis);
105
+ } @else if $name == "secondary" {
106
+ border-color: k-color(secondary-emphasis);
107
+ } @else {
108
+ border-color: k-color(#{$name}-on-surface);
109
+ }
110
+ }
111
+
112
+ &:focus,
113
+ &.k-focus {
114
+ box-shadow: inset 0 0 0 calc( #{$kendo-button-border-width} * 3 ) k-color(app-surface),
115
+ inset 0 0 0 calc( #{$kendo-button-border-width} * 5 ) k-color(#{$name}-on-surface);
62
116
  }
63
117
 
64
118
  // Disabled state
65
119
  &:disabled,
66
120
  &.k-disabled {
67
121
  color: $kendo-button-disabled-text;
122
+ border-color: $kendo-button-disabled-text;
123
+ }
124
+ }
125
+ }
126
+
127
+ // Flat button
128
+ @each $name, $color in $kendo-button-theme-colors {
129
+ .k-button-flat-#{$name} {
130
+ &:focus,
131
+ &.k-focus {
132
+ outline: 0;
133
+
134
+ &::before {
135
+ background: transparent;
136
+ }
137
+ }
138
+
139
+ &::after {
140
+ box-shadow: inset 0 0 0 2px if( $name == "base" or $name == "secondary", color-mix(in srgb, currentColor 20%, transparent), color-mix(in srgb, k-color($name) 20%, transparent));
141
+ }
142
+ }
143
+ }
144
+
145
+ // Clear button
146
+ @each $name, $color in $kendo-button-theme-colors {
147
+ .k-button-clear-#{$name} {
148
+ &:focus,
149
+ &.k-focus {
150
+ outline: 0;
68
151
  }
69
152
  }
70
153
  }
@@ -73,7 +156,20 @@
73
156
  // Link button
74
157
  @each $name, $color in $kendo-button-theme-colors {
75
158
  .k-button-link-#{$name} {
159
+ text-decoration: underline;
76
160
 
161
+ &:hover,
162
+ &.k-hover,
163
+ &:active,
164
+ &.k-active,
165
+ &.k-selected {
166
+ color: k-color(#{$name}-on-surface);
167
+ }
168
+
169
+ &:focus,
170
+ &.k-focus {
171
+ outline-color: if( $name == "base" or $name == "secondary", color-mix(in srgb, currentColor 20%, transparent), color-mix(in srgb, k-color($name) 20%, transparent));
172
+ }
77
173
  // Disabled state
78
174
  &:disabled,
79
175
  &.k-disabled {
@@ -90,17 +186,6 @@
90
186
  // Button group
91
187
  .k-button-group {
92
188
  @include box-shadow( $kendo-button-shadow );
93
-
94
- .k-button {
95
- @include box-shadow( none );
96
- }
97
-
98
- // Disabled state
99
- &:disabled,
100
- &[disabled],
101
- &.k-disabled {
102
- @include box-shadow( none );
103
- }
104
189
  }
105
190
 
106
191
 
@@ -15,33 +15,36 @@ $kendo-button-border-radius: null !default;
15
15
 
16
16
  /// The horizontal padding of the Button.
17
17
  /// @group button
18
- $kendo-button-padding-x: k-spacing(4) !default;
18
+ $kendo-button-padding-x: k-spacing(6) !default;
19
19
  /// The horizontal padding of the small Button.
20
20
  /// @group button
21
- $kendo-button-sm-padding-x: k-spacing(4) !default;
21
+ $kendo-button-sm-padding-x: k-spacing(6) !default;
22
22
  /// The horizontal padding of the medium Button.
23
23
  /// @group button
24
- $kendo-button-md-padding-x: k-spacing(4) !default;
24
+ $kendo-button-md-padding-x: $kendo-button-padding-x !default;
25
25
  /// The horizontal padding of the large Button.
26
26
  /// @group button
27
- $kendo-button-lg-padding-x: k-spacing(4) !default;
27
+ $kendo-button-lg-padding-x: k-spacing(6) !default;
28
28
 
29
29
  /// The vertical padding of the Button.
30
30
  /// @group button
31
- $kendo-button-padding-y: k-spacing(2) !default;
31
+ $kendo-button-padding-y: calc( k-spacing(4.5) / 2 ) !default;
32
32
  /// The vertical padding of the small Button.
33
33
  /// @group button
34
- $kendo-button-sm-padding-y: k-spacing(1.5) !default;
34
+ $kendo-button-sm-padding-y: calc( k-spacing(3.5) / 2 ) !default;
35
35
  /// The vertical padding of the medium Button.
36
36
  /// @group button
37
- $kendo-button-md-padding-y: k-spacing(2) !default;
37
+ $kendo-button-md-padding-y: $kendo-button-padding-y !default;
38
38
  /// The vertical padding of the large Button.
39
39
  /// @group button
40
- $kendo-button-lg-padding-y: k-spacing(2.5) !default;
40
+ $kendo-button-lg-padding-y: calc( k-spacing(5.5) / 2 ) !default;
41
41
 
42
42
  /// The font family of the Button.
43
43
  /// @group button
44
44
  $kendo-button-font-family: var( --kendo-font-family, inherit ) !default;
45
+ /// The font weight of the Button.
46
+ /// @group button
47
+ $kendo-button-font-weight: var( --kendo-font-weight-medium, 500 ) !default;
45
48
 
46
49
  /// The font size of the Button.
47
50
  /// @group button
@@ -58,16 +61,16 @@ $kendo-button-lg-font-size: var( --kendo-font-size, inherit ) !default;
58
61
 
59
62
  /// Line heights used along with the $kendo-font-size variable.
60
63
  /// @group button
61
- $kendo-button-line-height: math.div( 20, 14 ) !default;
64
+ $kendo-button-line-height: var( --kendo-line-height, normal ) !default;
62
65
  /// The line height used along with the $kendo-font-size variable of the small Button.
63
66
  /// @group button
64
- $kendo-button-sm-line-height: math.div( 20, 14 ) !default;
67
+ $kendo-button-sm-line-height: $kendo-button-line-height !default;
65
68
  /// The line height used along with the $kendo-font-size variable of the medium Button.
66
69
  /// @group button
67
- $kendo-button-md-line-height: math.div( 20, 14 ) !default;
70
+ $kendo-button-md-line-height: $kendo-button-line-height !default;
68
71
  /// The line height used along with the $kendo-font-size variable of the large Button.
69
72
  /// @group button
70
- $kendo-button-lg-line-height: math.div( 20, 14 ) !default;
73
+ $kendo-button-lg-line-height: $kendo-button-line-height !default;
71
74
 
72
75
  /// The calculated height of the Button.
73
76
  /// @group button
@@ -136,7 +139,7 @@ $kendo-button-border: $kendo-button-bg !default;
136
139
  $kendo-button-gradient: none !default;
137
140
  /// The base shadow of the Button.
138
141
  /// @group button
139
- $kendo-button-shadow: k-elevation(2) !default;
142
+ $kendo-button-shadow: null !default;
140
143
 
141
144
  /// The base background of the hovered Button.
142
145
  /// @group button
@@ -152,7 +155,7 @@ $kendo-button-hover-border: k-color(base-hover) !default;
152
155
  $kendo-button-hover-gradient: null !default;
153
156
  /// The base shadow of the hovered Button.
154
157
  /// @group button
155
- $kendo-button-hover-shadow: $kendo-button-shadow !default;
158
+ $kendo-button-hover-shadow: k-elevation(1) !default;
156
159
 
157
160
  /// The base background color of the active Button.
158
161
  /// @group button
@@ -162,13 +165,13 @@ $kendo-button-active-bg: k-color(base-active) !default;
162
165
  $kendo-button-active-text: k-color(on-base) !default;
163
166
  /// The base border color of the active Button.
164
167
  /// @group button
165
- $kendo-button-active-border: k-color(base-active) !default;
168
+ $kendo-button-active-border: $kendo-button-active-bg !default;
166
169
  /// The base background gradient of the active Button.
167
170
  /// @group button
168
171
  $kendo-button-active-gradient: null !default;
169
172
  /// The base shadow of the active Button.
170
173
  /// @group button
171
- $kendo-button-active-shadow: k-elevation(6) !default;
174
+ $kendo-button-active-shadow: null !default;
172
175
 
173
176
  /// The base background color of the selected Button.
174
177
  /// @group button
@@ -184,30 +187,30 @@ $kendo-button-selected-border: $kendo-button-active-bg !default;
184
187
  $kendo-button-selected-gradient: none !default;
185
188
  /// The base shadow of the selected Button.
186
189
  /// @group button
187
- $kendo-button-selected-shadow: $kendo-button-shadow !default;
190
+ $kendo-button-selected-shadow: null !default;
188
191
 
189
192
  /// The base background of the focused Button.
190
193
  /// @group button
191
- $kendo-button-focus-bg: k-color(base-hover) !default;
194
+ $kendo-button-focus-bg: k-color(base-active) !default;
192
195
  /// The base text color of the focused Button.
193
196
  /// @group button
194
- $kendo-button-focus-text: null !default;
197
+ $kendo-button-focus-text: k-color(on-base) !default;
195
198
  /// The base border color of the focused Button.
196
199
  /// @group button
197
- $kendo-button-focus-border: k-color(base-hover) !default;
200
+ $kendo-button-focus-border: k-color(base-emphasis) !default;
198
201
  /// The base background gradient of focused Button.
199
202
  /// @group button
200
203
  $kendo-button-focus-gradient: null !default;
201
204
  /// The base shadow of the focused Button.
202
205
  /// @group button
203
- $kendo-button-focus-shadow: k-elevation(3) !default;
206
+ $kendo-button-focus-shadow: null !default;
204
207
 
205
208
  /// The base background color of the disabled Button.
206
209
  /// @group button
207
- $kendo-button-disabled-bg: color-mix(in srgb, k-color(on-app-surface) 9%, transparent) !default;
210
+ $kendo-button-disabled-bg: color-mix(in srgb, k-color(on-app-surface) 12%, transparent) !default;
208
211
  /// The base text color of the disabled Button.
209
212
  /// @group button
210
- $kendo-button-disabled-text: color-mix(in srgb, k-color(on-app-surface) 32%, transparent) !default;
213
+ $kendo-button-disabled-text: color-mix(in srgb, k-color(on-app-surface) 38%, transparent) !default;
211
214
  /// The base border color of the disabled Button.
212
215
  /// @group button
213
216
  $kendo-button-disabled-border: transparent !default;
@@ -248,7 +251,7 @@ $kendo-link-button-shadow-spread: unset !default;
248
251
  $kendo-link-button-shadow-opacity: unset !default;
249
252
 
250
253
  // Clear Button
251
- $kendo-clear-button-focus-opacity: .155 !default; // equal to 10% of black
254
+ $kendo-clear-button-focus-opacity: .12 !default; // equal to 10% of black
252
255
 
253
256
  /// The overlay opacity of the hovered flat Button. Used to create a background for the flat Button.
254
257
  /// @group button
@@ -282,6 +285,7 @@ $kendo-button-transition: box-shadow 280ms cubic-bezier( .4, 0, .2, 1 ) !default
282
285
  $kendo-button-md-padding-y: $kendo-button-md-padding-y,
283
286
  $kendo-button-lg-padding-y: $kendo-button-lg-padding-y,
284
287
  $kendo-button-font-family: $kendo-button-font-family,
288
+ $kendo-button-font-weight: $kendo-button-font-weight,
285
289
  $kendo-button-font-size: $kendo-button-font-size,
286
290
  $kendo-button-sm-font-size: $kendo-button-sm-font-size,
287
291
  $kendo-button-md-font-size: $kendo-button-md-font-size,
@@ -1,3 +1,5 @@
1
+ @use "sass:map";
2
+ @use "./_variables.scss" as *;
1
3
  @use "@progress/kendo-theme-core/scss/components/calendar/_layout.scss" as *;
2
4
 
3
5
 
@@ -5,25 +7,20 @@
5
7
 
6
8
  @include kendo-calendar--layout-base();
7
9
 
8
- // Calendar
9
10
  .k-calendar {
11
+ .k-range-start,
12
+ .k-range-end {
13
+ border-radius: 0;
10
14
 
11
- .k-title,
12
- .k-calendar-title {
13
- font-weight: 500;
14
- text-transform: none;
15
- }
16
- .k-calendar-caption,
17
- .k-calendar-view th,
18
- .k-calendar-view .k-calendar-th,
19
- .k-meta-header,
20
- .k-month-header {
21
- font-weight: 500;
22
- }
23
- .k-calendar-view tbody th,
24
- .k-calendar-view .k-calendar-tbody .k-calendar-th {
25
- font-weight: 700;
15
+ .k-link {
16
+ border-radius: $kendo-calendar-range-cell-border-radius;
17
+ }
26
18
  }
27
19
  }
28
20
 
21
+ // Calendar in popup
22
+ .k-calendar-container,
23
+ .k-datetime-container {
24
+ border-radius: $kendo-calendar-border-radius;
25
+ }
29
26
  }
@@ -10,22 +10,40 @@
10
10
 
11
11
  // Calendar
12
12
  .k-calendar {
13
+ .k-content {
14
+ background-color: transparent;
15
+ }
13
16
 
14
17
  .k-focus .k-link {
15
- @include fill(
16
- $kendo-calendar-cell-hover-text,
17
- $kendo-calendar-cell-hover-bg,
18
- $kendo-calendar-cell-hover-border
19
- );
18
+ background-color: color-mix(in srgb, k-color(on-app-surface) 12%, transparent);
19
+ }
20
+
21
+ .k-range-start {
22
+ background: $kendo-calendar-range-start-bg;
23
+ }
24
+
25
+ .k-range-end {
26
+ background: $kendo-calendar-range-end-bg;
20
27
  }
21
- .k-selected.k-focus .k-link {
22
- @include fill(
23
- $kendo-calendar-cell-selected-text,
24
- $kendo-calendar-cell-selected-bg,
25
- $kendo-calendar-cell-selected-border
26
- );
28
+
29
+ // Calendar navigation
30
+ .k-calendar-navigation {
31
+ li:hover,
32
+ li.k-hover {
33
+ background-color: color-mix(in srgb, k-color(on-app-surface) 8%, transparent);
34
+ }
27
35
  }
36
+ }
28
37
 
38
+ .k-rtl .k-calendar,
39
+ .k-calendar[dir="rtl"] {
40
+ .k-range-start {
41
+ background: $kendo-calendar-range-end-bg;
42
+ }
43
+
44
+ .k-range-end {
45
+ background: $kendo-calendar-range-start-bg;
46
+ }
29
47
  }
30
48
 
31
49
  }