@progress/kendo-theme-material 5.0.0-next.4 → 5.0.2-dev.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 (204) hide show
  1. package/README.md +5 -8
  2. package/dist/all.css +13810 -14911
  3. package/dist/all.scss +16868 -18431
  4. package/dist/material-dataviz-v4.scss +8 -0
  5. package/lib/swatches/material-dataviz-v4.json +51 -0
  6. package/package.json +3 -3
  7. package/scss/_variables.scss +2 -19
  8. package/scss/action-buttons/_layout.scss +14 -0
  9. package/scss/action-buttons/_theme.scss +5 -3
  10. package/scss/adaptive/_layout.scss +0 -11
  11. package/scss/all.scss +1 -150
  12. package/scss/appbar/_variables.scss +1 -1
  13. package/scss/autocomplete/_index.scss +1 -0
  14. package/scss/autocomplete/_layout.scss +0 -16
  15. package/scss/autocomplete/_variables.scss +0 -24
  16. package/scss/avatar/_variables.scss +18 -8
  17. package/scss/avatar/index.md +0 -0
  18. package/scss/breadcrumb/_variables.scss +1 -1
  19. package/scss/button/_index.scss +3 -1
  20. package/scss/button/_layout.scss +39 -17
  21. package/scss/button/_theme.scss +72 -126
  22. package/scss/button/_variables.scss +202 -130
  23. package/scss/button/index.md +0 -0
  24. package/scss/calendar/_index.scss +1 -0
  25. package/scss/calendar/_variables.scss +1 -1
  26. package/scss/chat/_variables.scss +4 -19
  27. package/scss/checkbox/_index.scss +2 -0
  28. package/scss/checkbox/_theme.scss +2 -9
  29. package/scss/checkbox/_variables.scss +148 -58
  30. package/scss/checkbox/index.md +0 -0
  31. package/scss/chip/_index.scss +1 -0
  32. package/scss/chip/_theme.scss +44 -0
  33. package/scss/chip/_variables.scss +142 -190
  34. package/scss/chip/index.md +0 -0
  35. package/scss/color-preview/_index.scss +11 -0
  36. package/scss/color-preview/_layout.scss +1 -0
  37. package/scss/color-preview/_theme.scss +1 -0
  38. package/scss/color-preview/_variables.scss +14 -0
  39. package/scss/coloreditor/_index.scss +14 -0
  40. package/scss/coloreditor/_layout.scss +1 -0
  41. package/scss/coloreditor/_theme.scss +1 -0
  42. package/scss/coloreditor/_variables.scss +27 -0
  43. package/scss/colorgradient/_index.scss +19 -0
  44. package/scss/colorgradient/_layout.scss +1 -0
  45. package/scss/colorgradient/_theme.scss +1 -0
  46. package/scss/colorgradient/_variables.scss +51 -0
  47. package/scss/colorgradient/images/alpha-slider-bgr.png +0 -0
  48. package/scss/colorgradient/images/alpha-slider-bgr.scss +3 -0
  49. package/scss/colorpalette/_index.scss +12 -0
  50. package/scss/colorpalette/_layout.scss +1 -0
  51. package/scss/colorpalette/_theme.scss +1 -0
  52. package/scss/colorpalette/_variables.scss +10 -0
  53. package/scss/colorpicker/_index.scss +3 -6
  54. package/scss/colorpicker/_layout.scss +0 -61
  55. package/scss/colorpicker/_theme.scss +0 -37
  56. package/scss/colorpicker/_variables.scss +1 -44
  57. package/scss/combobox/_index.scss +1 -0
  58. package/scss/combobox/_layout.scss +0 -16
  59. package/scss/combobox/_variables.scss +1 -33
  60. package/scss/dataviz/_index.scss +1 -0
  61. package/scss/dataviz/_variables.scss +4 -4
  62. package/scss/dateinput/_index.scss +11 -0
  63. package/scss/dateinput/_layout.scss +1 -0
  64. package/scss/dateinput/_theme.scss +1 -0
  65. package/scss/dateinput/_variables.scss +1 -0
  66. package/scss/datepicker/_index.scss +13 -0
  67. package/scss/datepicker/_layout.scss +1 -0
  68. package/scss/datepicker/_theme.scss +1 -0
  69. package/scss/datepicker/_variables.scss +1 -0
  70. package/scss/{datetime → daterangepicker}/_index.scss +1 -2
  71. package/scss/daterangepicker/_layout.scss +1 -0
  72. package/scss/daterangepicker/_theme.scss +1 -0
  73. package/scss/daterangepicker/_variables.scss +2 -0
  74. package/scss/datetimepicker/_index.scss +17 -0
  75. package/scss/datetimepicker/_layout.scss +1 -0
  76. package/scss/datetimepicker/_theme.scss +1 -0
  77. package/scss/datetimepicker/_variables.scss +2 -0
  78. package/scss/dialog/_layout.scss +0 -8
  79. package/scss/drawer/_index.scss +1 -0
  80. package/scss/dropdowngrid/_layout.scss +0 -14
  81. package/scss/dropdowngrid/_theme.scss +0 -8
  82. package/scss/dropdowngrid/index.md +0 -0
  83. package/scss/dropdownlist/_index.scss +1 -0
  84. package/scss/dropdownlist/_layout.scss +0 -24
  85. package/scss/dropdownlist/_theme.scss +0 -31
  86. package/scss/dropdownlist/_variables.scss +7 -7
  87. package/scss/dropdowntree/_variables.scss +2 -4
  88. package/scss/editor/_layout.scss +1 -12
  89. package/scss/editor/_theme.scss +9 -0
  90. package/scss/editor/_variables.scss +10 -2
  91. package/scss/expansion-panel/_index.scss +1 -0
  92. package/scss/fab/_layout.scss +8 -0
  93. package/scss/fab/_theme.scss +52 -68
  94. package/scss/fab/_variables.scss +129 -71
  95. package/scss/fab/index.md +0 -0
  96. package/scss/filemanager/_variables.scss +1 -1
  97. package/scss/filter/_index.scss +1 -1
  98. package/scss/filter/_layout.scss +0 -23
  99. package/scss/filter/_variables.scss +1 -1
  100. package/scss/floating-label/_layout.scss +0 -1
  101. package/scss/floating-label/_theme.scss +0 -1
  102. package/scss/floating-label/_variables.scss +3 -3
  103. package/scss/forms/_index.scss +1 -1
  104. package/scss/forms/_layout.scss +0 -37
  105. package/scss/gantt/_index.scss +1 -1
  106. package/scss/grid/_index.scss +2 -1
  107. package/scss/grid/_layout.scss +7 -26
  108. package/scss/grid/_theme.scss +6 -6
  109. package/scss/grid/_variables.scss +11 -13
  110. package/scss/imageeditor/_variables.scss +1 -0
  111. package/scss/index.scss +157 -0
  112. package/scss/input/_index.scss +1 -1
  113. package/scss/input/_layout.scss +30 -1
  114. package/scss/input/_variables.scss +118 -92
  115. package/scss/list/_index.scss +12 -0
  116. package/scss/list/_layout.scss +1 -0
  117. package/scss/list/_theme.scss +1 -0
  118. package/scss/list/_variables.scss +248 -0
  119. package/scss/list/index.md +0 -0
  120. package/scss/listbox/_index.scss +2 -0
  121. package/scss/listbox/_variables.scss +5 -5
  122. package/scss/map/_variables.scss +1 -1
  123. package/scss/menu/_index.scss +2 -0
  124. package/scss/menu/_theme.scss +8 -8
  125. package/scss/menu/_variables.scss +125 -36
  126. package/scss/multiselect/_index.scss +2 -0
  127. package/scss/multiselect/_layout.scss +0 -60
  128. package/scss/multiselect/_theme.scss +0 -47
  129. package/scss/multiselect/_variables.scss +0 -44
  130. package/scss/numerictextbox/_layout.scss +0 -24
  131. package/scss/numerictextbox/_variables.scss +0 -31
  132. package/scss/orgchart/_variables.scss +2 -2
  133. package/scss/pager/_index.scss +1 -0
  134. package/scss/pager/_variables.scss +3 -3
  135. package/scss/panelbar/_index.scss +1 -0
  136. package/scss/panelbar/_variables.scss +5 -0
  137. package/scss/pdf-viewer/_variables.scss +3 -6
  138. package/scss/pivotgrid/_index.scss +1 -0
  139. package/scss/pivotgrid/_layout.scss +0 -54
  140. package/scss/pivotgrid/_theme.scss +0 -140
  141. package/scss/pivotgrid/_variables.scss +7 -10
  142. package/scss/popup/_index.scss +0 -4
  143. package/scss/popup/_layout.scss +0 -50
  144. package/scss/popup/_theme.scss +0 -56
  145. package/scss/popup/_variables.scss +2 -7
  146. package/scss/radio/_index.scss +2 -0
  147. package/scss/radio/_theme.scss +2 -9
  148. package/scss/radio/_variables.scss +134 -52
  149. package/scss/radio/index.md +0 -0
  150. package/scss/scheduler/_index.scss +1 -1
  151. package/scss/scheduler/_layout.scss +0 -29
  152. package/scss/scheduler/_variables.scss +2 -2
  153. package/scss/scrollview/_variables.scss +4 -4
  154. package/scss/searchbox/_layout.scss +0 -9
  155. package/scss/searchbox/_variables.scss +0 -20
  156. package/scss/slider/_theme.scss +0 -9
  157. package/scss/slider/_variables.scss +9 -9
  158. package/scss/spreadsheet/_index.scss +2 -1
  159. package/scss/spreadsheet/_layout.scss +0 -13
  160. package/scss/spreadsheet/_theme.scss +18 -18
  161. package/scss/switch/_index.scss +0 -2
  162. package/scss/switch/_layout.scss +7 -7
  163. package/scss/switch/_theme.scss +6 -2
  164. package/scss/switch/_variables.scss +191 -83
  165. package/scss/switch/index.md +0 -0
  166. package/scss/table/_index.scss +19 -0
  167. package/scss/table/_layout.scss +1 -0
  168. package/scss/table/_theme.scss +1 -0
  169. package/scss/table/_variables.scss +141 -0
  170. package/scss/tabstrip/_index.scss +1 -0
  171. package/scss/tabstrip/_variables.scss +3 -3
  172. package/scss/taskboard/_variables.scss +0 -2
  173. package/scss/textarea/_layout.scss +0 -112
  174. package/scss/textarea/_variables.scss +0 -53
  175. package/scss/textbox/_layout.scss +0 -14
  176. package/scss/textbox/_variables.scss +0 -1
  177. package/scss/timeline/_layout.scss +2 -2
  178. package/scss/timeline/_variables.scss +5 -5
  179. package/scss/timepicker/_index.scss +15 -0
  180. package/scss/timepicker/_layout.scss +1 -0
  181. package/scss/timepicker/_theme.scss +1 -0
  182. package/scss/timepicker/_variables.scss +1 -0
  183. package/scss/timeselector/_index.scss +13 -0
  184. package/scss/timeselector/_layout.scss +1 -0
  185. package/scss/timeselector/_theme.scss +19 -0
  186. package/scss/timeselector/_variables.scss +32 -0
  187. package/scss/toolbar/_index.scss +1 -0
  188. package/scss/toolbar/_layout.scss +17 -6
  189. package/scss/toolbar/_theme.scss +3 -13
  190. package/scss/toolbar/_variables.scss +3 -1
  191. package/scss/treeview/_theme.scss +32 -27
  192. package/scss/treeview/_variables.scss +125 -46
  193. package/scss/utils/_border.scss +9 -0
  194. package/scss/virtual-scroller/_index.scss +10 -0
  195. package/scss/virtual-scroller/_layout.scss +1 -0
  196. package/scss/virtual-scroller/_theme.scss +1 -0
  197. package/scss/virtual-scroller/_variables.scss +1 -0
  198. package/scss/colorpicker/images/alpha-slider-bgr-reversed.png +0 -0
  199. package/scss/colorpicker/images/alpha-slider-bgr-reversed.scss +0 -3
  200. package/scss/colorpicker/images/alpha-slider-bgr.png +0 -0
  201. package/scss/colorpicker/images/alpha-slider-bgr.scss +0 -3
  202. package/scss/datetime/_layout.scss +0 -74
  203. package/scss/datetime/_theme.scss +0 -64
  204. package/scss/datetime/_variables.scss +0 -53
@@ -2,170 +2,116 @@
2
2
 
3
3
  @include exports( "button/theme/material" ) {
4
4
 
5
- // Flat button
6
- .k-button-flat {
5
+ // Solid button
6
+ @each $name, $color in $kendo-button-theme-colors {
7
+ .k-button-solid-#{$name} {
8
+ @include box-shadow( $kendo-button-shadow );
9
+ color: if( $name == "base", $kendo-button-text, contrast-wcag( $color ) );
10
+ background-color: if( $name == "base", $kendo-button-bg, $color );
11
+ border-color: if( $name == "base", $kendo-button-bg, $color );
12
+
13
+ // Hover state
14
+ &:hover,
15
+ &.k-hover {
16
+ @include box-shadow( $kendo-button-hover-shadow );
17
+ }
7
18
 
8
- &:disabled,
9
- &.k-state-disabled {
10
- color: $button-disabled-text;
11
- }
12
- }
13
- .k-button-flat.k-primary {
14
- color: $primary-button-bg;
19
+ // Focus state
20
+ &:focus,
21
+ &.k-focus {
22
+ @include box-shadow( $kendo-button-focus-shadow );
23
+ }
15
24
 
16
- &:disabled,
17
- &.k-state-disabled {
18
- color: $button-disabled-text;
25
+ // Active state
26
+ &:active,
27
+ &.k-active {
28
+ @include box-shadow( $kendo-button-active-shadow );
29
+ }
30
+
31
+ // Selected state
32
+ &.k-selected {
33
+ @include box-shadow( $kendo-button-selected-shadow );
34
+ }
35
+
36
+ // Disabled state
37
+ &:disabled,
38
+ &.k-disabled {
39
+ @include box-shadow( $kendo-button-disabled-shadow );
40
+ }
19
41
  }
20
42
  }
21
43
 
22
44
 
23
45
  // Outline button
24
- .k-button-outline {
25
- @include box-shadow( none );
26
- color: $button-text;
27
-
28
- &:hover,
29
- &.k-state-hover,
30
- &:active,
31
- &.k-state-active,
32
- &.k-state-selected,
33
- &:focus,
34
- &.k-state-focus {
35
- color: $button-text;
36
- }
37
-
38
- &:disabled,
39
- &.k-state-disabled {
40
- color: $button-disabled-text;
41
- }
42
- }
43
- .k-button-outline.k-primary {
44
- color: $primary-button-bg;
45
-
46
- &:hover,
47
- &.k-state-hover,
48
- &:active,
49
- &.k-state-active,
50
- &.k-state-selected,
51
- &:focus,
52
- &.k-state-focus {
53
- color: $primary-button-bg;
54
- }
46
+ @each $name, $color in $kendo-button-theme-colors {
47
+ .k-button-outline-#{$name} {
48
+ color: if( $name == "base", $kendo-button-text, $color );
49
+
50
+ &:hover,
51
+ &.k-hover,
52
+ &:focus,
53
+ &.k-focus,
54
+ &:active,
55
+ &.k-active,
56
+ &.k-selected {
57
+ color: if( $name == "base", $kendo-button-text, $color );
58
+ }
55
59
 
56
- &:disabled,
57
- &.k-state-disabled {
58
- color: $button-disabled-text;
60
+ // Disabled state
61
+ &:disabled,
62
+ &.k-disabled {
63
+ color: $kendo-button-disabled-text;
64
+ }
59
65
  }
60
66
  }
61
67
 
62
68
 
63
- // Clear button
64
- .k-button-clear,
65
- .k-button.k-clear {
69
+ // Link button
70
+ @each $name, $color in $kendo-button-theme-colors {
71
+ .k-button-link-#{$name} {
66
72
 
67
- &:disabled,
68
- &.k-state-disabled {
69
- color: $button-disabled-text;
73
+ // Disabled state
74
+ &:disabled,
75
+ &.k-disabled {
76
+ color: $kendo-button-disabled-text;
77
+ }
70
78
  }
71
79
  }
72
80
 
73
81
 
82
+ // Menu button
83
+ .k-menu-button {}
84
+
85
+
74
86
  // Button group
75
87
  .k-button-group {
76
- @include box-shadow( $button-shadow );
88
+ @include box-shadow( $kendo-button-shadow );
77
89
 
78
90
  .k-button {
79
91
  @include box-shadow( none );
80
92
  }
81
93
 
94
+ // Disabled state
82
95
  &:disabled,
83
- &.k-state-disabled {
96
+ &[disabled],
97
+ &.k-disabled {
84
98
  @include box-shadow( none );
85
- opacity: 1;
86
99
  }
87
100
  }
88
101
 
89
102
 
90
103
  // Split button
91
- .k-split-button {
92
- @include box-shadow( $button-shadow );
93
-
94
- .k-button {
95
- @include box-shadow( none );
96
- }
97
-
98
- > .k-button:last-child,
99
- > .k-split-button-arrow {
100
- color: $subtle-text;
101
- }
102
-
103
- > .k-button:last-child:hover,
104
- > .k-split-button-arrow:hover {
105
- color: $button-text;
106
- }
107
-
108
- &:disabled,
109
- &.k-state-disabled {
110
- @include box-shadow( none );
111
- opacity: 1;
112
- }
113
-
114
- &.k-flat {
115
- @include box-shadow( none );
116
- }
104
+ .k-split-button:focus,
105
+ .k-split-button.k-focus {
106
+ // @include box-shadow( $kendo-button-focus-shadow );
117
107
  }
118
108
 
119
109
 
120
110
  // Variant button group
121
111
  .k-button-group-flat,
122
- .k-button-group-bare,
112
+ .k-button-group-link,
123
113
  .k-button-group-outline {
124
114
  @include box-shadow( none );
125
115
  }
126
116
 
127
117
  }
128
-
129
-
130
-
131
-
132
- @include exports( "clear-button/theme" ) {
133
- .k-button.k-button-clear {
134
- border-color: transparent !important; // sass-lint:disable-line no-important
135
- color: $clear-button-text;
136
- background: none !important; // sass-lint:disable-line no-important
137
- box-shadow: none !important; // sass-lint:disable-line no-important
138
-
139
- &::after {
140
- display: block;
141
- }
142
-
143
- &:hover,
144
- &.k-state-hover,
145
- &:active,
146
- &.k-state-active,
147
- &:focus,
148
- &.k-state-focused {
149
- color: $clear-button-hover-text;
150
- }
151
-
152
- &:active,
153
- &.k-state-active {
154
- &::after {
155
- background: transparent;
156
- }
157
- }
158
-
159
- &.k-state-focused,
160
- &.k-state-focused:active {
161
- &::after {
162
- background-color: currentColor;
163
- opacity: $clear-button-focused-opacity;
164
- }
165
- }
166
-
167
- &.k-state-disabled {
168
- color: $button-disabled-text;
169
- }
170
- }
171
- }
@@ -1,132 +1,204 @@
1
1
  // Button
2
2
 
3
- /// Width of border around buttons
4
- /// @group buttons
5
- $button-border-width: 0px !default;
6
- /// Border radius of buttons
7
- /// @group buttons
8
- $button-border-radius: $border-radius !default;
9
-
10
- /// Horizontal padding of buttons
11
- /// @group buttons
12
- $button-padding-x: $padding-x !default;
13
- /// Vertical padding of buttons
14
- /// @group buttons
15
- $button-padding-y: 8px !default;
16
- $button-font-family: $font-family !default;
17
- $button-font-size: $font-size !default;
18
- $button-line-height: (20 / 14) !default;
19
-
20
- $button-padding-x-sm: $button-padding-x / 2 !default;
21
- $button-padding-y-sm: $button-padding-y / 2 !default;
22
- $button-line-height-sm: (20 / 14) !default;
23
-
24
- $button-calc-size: calc( #{$button-line-height * 1em} + #{$button-padding-y * 2} + #{$button-border-width * 2} ) !default;
25
- $button-inner-calc-size: calc( #{$button-line-height * 1em} + #{$button-padding-y * 2} ) !default;
26
-
27
- /// The background of the buttons.
28
- /// @group buttons
29
- $button-bg: $base-bg !default;
30
- /// The text color of the buttons.
31
- /// @group buttons
32
- $button-text: $base-text !default;
33
- /// The border color of the buttons.
34
- /// @group buttons
35
- $button-border: $button-bg !default;
36
- /// The background gradient of the buttons.
37
- /// @group buttons
38
- $button-gradient: null !default;
39
- $button-shadow: $box-shadow-depth-2 !default;
40
-
41
- /// The background of hovered buttons.
42
- /// @group buttons
43
- $button-hovered-bg: null !default;
44
- /// The text color of hovered buttons.
45
- /// @group buttons
46
- $button-hovered-text: null !default;
47
- /// The border color of hovered buttons.
48
- /// @group buttons
49
- $button-hovered-border: null !default;
50
- /// The background gradient of hovered buttons.
51
- /// @group buttons
52
- $button-hovered-gradient: null !default;
53
- $button-hovered-shadow: null !default;
54
-
55
- /// The background color of active buttons.
56
- /// @group buttons
57
- $button-active-bg: null !default;
58
- /// The text color of active buttons.
59
- /// @group buttons
60
- $button-active-text: null !default;
61
- /// The border color of active buttons.
62
- /// @group buttons
63
- $button-active-border: null !default;
64
- /// The background gradient of active buttons.
65
- /// @group buttons
66
- $button-active-gradient: null !default;
67
- $button-active-shadow: $box-shadow-depth-3 !default;
68
-
69
- /// The background color of selected buttons.
70
- /// @group buttons
71
- $button-selected-bg: $button-active-bg !default;
72
- /// The text color of selected buttons.
73
- /// @group buttons
74
- $button-selected-text: $button-active-text !default;
75
- /// The border color of selected buttons.
76
- /// @group buttons
77
- $button-selected-border: $button-active-bg !default;
78
- /// The background gradient of selected buttons.
79
- /// @group buttons
80
- $button-selected-gradient: null !default;
81
- $button-selected-shadow: null !default;
82
-
83
- /// The shadow of focused buttons.
84
- /// @group buttons
85
- $button-focused-shadow: null !default;
86
-
87
-
88
- // Disabled button
89
- $button-disabled-bg: try-shade( $body-bg, 12% ) !default;
90
- $button-disabled-text: $disabled-text !default;
91
- $button-disabled-border: null !default;
92
- $button-disabled-gradient: null !default;
93
- $button-disabled-shadow: none !default;
94
-
95
-
96
- // Primary button
97
- $primary-button-bg: $primary !default;
98
- $primary-button-text: $primary-contrast !default;
99
- $primary-button-border: $primary-button-bg !default;
100
- $primary-button-gradient: null !default;
101
- $primary-button-shadow: null !default;
102
-
103
- $primary-button-hovered-bg: null !default;
104
- $primary-button-hovered-text: null !default;
105
- $primary-button-hovered-border: null !default;
106
- $primary-button-hovered-gradient: null !default;
107
- $primary-button-hovered-shadow: null !default;
108
-
109
- $primary-button-active-bg: null !default;
110
- $primary-button-active-text: null !default;
111
- $primary-button-active-border: null !default;
112
- $primary-button-active-gradient: null !default;
113
- $primary-button-active-shadow: null !default;
114
-
115
- $primary-button-selected-bg: $primary-button-active-bg !default;
116
- $primary-button-selected-text: $primary-button-active-text !default;
117
- $primary-button-selected-border: $primary-button-active-gradient !default;
118
- $primary-button-selected-gradient: null !default;
119
- $primary-button-selected-shadow: null !default;
120
-
121
- $primary-button-focused-shadow: null !default;
122
-
123
- $button-group-focus-shadow: null !default;
124
-
125
- $flat-button-hover-opacity: .08 !default;
126
- $flat-button-focus-opacity: .12 !default;
127
- $flat-button-active-opacity: .16 !default;
128
- $flat-button-selected-opacity: .22 !default;
129
-
130
- $clear-button-text: inherit !default;
131
- $clear-button-hover-text: inherit !default;
132
- $clear-button-focused-opacity: .155 !default; // equal to 10% of black
3
+ /// Width of the border around the button.
4
+ /// @group button
5
+ $kendo-button-border-width: 1px !default;
6
+
7
+ /// Border radius of the button.
8
+ /// @group button
9
+ $kendo-button-border-radius: null !default;
10
+
11
+ /// Horizontal padding of the button.
12
+ /// @group button
13
+ $kendo-button-padding-x: map-get( $spacing, 4 ) !default;
14
+ $kendo-button-padding-x-sm: map-get( $spacing, 4 ) !default;
15
+ $kendo-button-padding-x-md: map-get( $spacing, 4 ) !default;
16
+ $kendo-button-padding-x-lg: map-get( $spacing, 4 ) !default;
17
+
18
+ /// Vertical padding of the button.
19
+ /// @group button
20
+ $kendo-button-padding-y: map-get( $spacing, 2 ) !default;
21
+ $kendo-button-padding-y-sm: map-get( $spacing, 2 ) - map-get( $spacing, thin ) !default;
22
+ $kendo-button-padding-y-md: map-get( $spacing, 2 ) !default;
23
+ $kendo-button-padding-y-lg: map-get( $spacing, 2 ) + map-get( $spacing, thin ) !default;
24
+
25
+ /// Font family of the button.
26
+ /// @group button
27
+ $kendo-button-font-family: $font-family !default;
28
+
29
+ /// Font sizes of the button.
30
+ /// @group button
31
+ $kendo-button-font-size: $font-size-md !default;
32
+ $kendo-button-font-size-sm: $font-size-md !default;
33
+ $kendo-button-font-size-md: $font-size-md !default;
34
+ $kendo-button-font-size-lg: $font-size-md !default;
35
+
36
+ /// Line heights used along with $font-size.
37
+ /// @group button
38
+ $kendo-button-line-height: ( 20 / 14 ) !default;
39
+ $kendo-button-line-height-sm: ( 20 / 14 ) !default;
40
+ $kendo-button-line-height-md: ( 20 / 14 ) !default;
41
+ $kendo-button-line-height-lg: ( 20 / 14 ) !default;
42
+
43
+ /// Calculated height of the button.
44
+ /// @group button
45
+ $kendo-button-calc-size: calc( #{$kendo-button-line-height * 1em} + #{$kendo-button-padding-y * 2} + #{$kendo-button-border-width * 2} ) !default;
46
+
47
+ /// Calculated inner height of the button. Without the border width.
48
+ /// @group button
49
+ $kendo-button-inner-calc-size: calc( #{$kendo-button-line-height * 1em} + #{$kendo-button-padding-y * 2} ) !default;
50
+
51
+ $kendo-button-arrow-padding-x: map-get( $spacing, 1 ) !default;
52
+ $kendo-button-arrow-padding-y: $kendo-button-padding-y !default;
53
+
54
+ /// Theme colors map for the button.
55
+ /// @group button
56
+ $kendo-button-theme-colors: map-merge(
57
+ $theme-colors,
58
+ ( "base": $base-bg )
59
+ ) !default;
60
+
61
+ /// The base background of the button.
62
+ /// @group button
63
+ $kendo-button-bg: $base-bg !default;
64
+ /// The base text color of the button.
65
+ /// @group button
66
+ $kendo-button-text: $base-text !default;
67
+ /// The base border color of the button.
68
+ /// @group button
69
+ $kendo-button-border: $kendo-button-bg !default;
70
+ /// The base background gradient of the button.
71
+ /// @group button
72
+ $kendo-button-gradient: null !default;
73
+ /// The base shadow of the button.
74
+ /// @group button
75
+ $kendo-button-shadow: $box-shadow-depth-2 !default;
76
+
77
+ /// The base background of hovered button.
78
+ /// @group button
79
+ $kendo-button-hover-bg: null !default;
80
+ /// The base text color of hovered button.
81
+ /// @group button
82
+ $kendo-button-hover-text: null !default;
83
+ /// The base border color of hovered button.
84
+ /// @group button
85
+ $kendo-button-hover-border: null !default;
86
+ /// The base background gradient of hovered button.
87
+ /// @group button
88
+ $kendo-button-hover-gradient: null !default;
89
+ /// The base shadow of hovered button.
90
+ /// @group button
91
+ $kendo-button-hover-shadow: null !default;
92
+
93
+ /// The base background color of active button.
94
+ /// @group button
95
+ $kendo-button-active-bg: null !default;
96
+ /// The base text color of active button.
97
+ /// @group button
98
+ $kendo-button-active-text: null !default;
99
+ /// The base border color of active button.
100
+ /// @group button
101
+ $kendo-button-active-border: null !default;
102
+ /// The base background gradient of active button.
103
+ /// @group button
104
+ $kendo-button-active-gradient: null !default;
105
+ /// The base shadow of active button.
106
+ /// @group button
107
+ $kendo-button-active-shadow: $box-shadow-depth-3 !default;
108
+
109
+ /// The base background color of selected button.
110
+ /// @group button
111
+ $kendo-button-selected-bg: $kendo-button-active-bg !default;
112
+ /// The base text color of selected button.
113
+ /// @group button
114
+ $kendo-button-selected-text: $kendo-button-active-text !default;
115
+ /// The base border color of selected button.
116
+ /// @group button
117
+ $kendo-button-selected-border: $kendo-button-active-bg !default;
118
+ /// The base background gradient of selected button.
119
+ /// @group button
120
+ $kendo-button-selected-gradient: null !default;
121
+ /// The base shadow of selected button.
122
+ /// @group button
123
+ $kendo-button-selected-shadow: null !default;
124
+
125
+ /// The base background of focused button.
126
+ /// @group button
127
+ $kendo-button-focus-bg: null !default;
128
+ /// The base text color of focused button.
129
+ /// @group button
130
+ $kendo-button-focus-text: null !default;
131
+ /// The base border color of focused button.
132
+ /// @group button
133
+ $kendo-button-focus-border: null !default;
134
+ /// The base background gradient of focused button.
135
+ /// @group button
136
+ $kendo-button-focus-gradient: null !default;
137
+ /// The base shadow of focused buttons.
138
+ /// @group button
139
+ $kendo-button-focus-shadow: null !default;
140
+
141
+ /// The base background color of disabled button.
142
+ /// @group button
143
+ $kendo-button-disabled-bg: try-shade( $body-bg, 12% ) !default;
144
+ /// The base text color of disabled button.
145
+ /// @group button
146
+ $kendo-button-disabled-text: $disabled-text !default;
147
+ /// The base border color of disabled button.
148
+ /// @group button
149
+ $kendo-button-disabled-border: $kendo-button-disabled-bg !default;
150
+ /// The base background gradient of disabled button.
151
+ /// @group button
152
+ $kendo-button-disabled-gradient: null !default;
153
+ /// The base shadow of disabled button.
154
+ /// @group button
155
+ $kendo-button-disabled-shadow: none !default;
156
+
157
+ // Solid button
158
+ $kendo-solid-button-gradient: null !default;
159
+ $kendo-solid-button-shade-function: "try-shade";
160
+ $kendo-solid-button-shade-text-amount: null !default;
161
+ $kendo-solid-button-shade-bg-amount: 0 !default;
162
+ $kendo-solid-button-shade-border-amount: 0 !default;
163
+ $kendo-solid-button-hover-shade-text-amount: null !default;
164
+ $kendo-solid-button-hover-shade-bg-amount: null !default;
165
+ $kendo-solid-button-hover-shade-border-amount: null !default;
166
+ $kendo-solid-button-active-shade-text-amount: null !default;
167
+ $kendo-solid-button-active-shade-bg-amount: null !default;
168
+ $kendo-solid-button-active-shade-border-amount: null !default;
169
+ $kendo-solid-button-shadow: null !default;
170
+ $kendo-solid-button-shadow-blur: null !default;
171
+ $kendo-solid-button-shadow-spread: null !default;
172
+ $kendo-solid-button-shadow-opacity: null !default;
173
+
174
+ // Outline button
175
+ $kendo-outline-button-shadow: null !default;
176
+ $kendo-outline-button-shadow-blur: null !default;
177
+ $kendo-outline-button-shadow-spread: null !default;
178
+ $kendo-outline-button-shadow-opacity: null !default;
179
+
180
+ // link button
181
+ $kendo-link-button-shadow: null !default;
182
+ $kendo-link-button-shadow-blur: null !default;
183
+ $kendo-link-button-shadow-spread: null !default;
184
+ $kendo-link-button-shadow-opacity: null !default;
185
+
186
+ // Clear button
187
+ $kendo-clear-button-focus-opacity: .155 !default; // equal to 10% of black
188
+
189
+ /// The overlay opacity of hovered flat button. Used to create background for the flat button.
190
+ /// @group button
191
+ $kendo-flat-button-hover-opacity: .08 !default;
192
+ /// The overlay opacity of focused flat button. Used to create background for the flat button.
193
+ /// @group button
194
+ $kendo-flat-button-focus-opacity: .12 !default;
195
+ /// The overlay opacity of active flat button. Used to create background for the flat button.
196
+ /// @group button
197
+ $kendo-flat-button-active-opacity: .16 !default;
198
+ /// The overlay opacity of selected flat button. Used to create background for the flat button.
199
+ /// @group button
200
+ $kendo-flat-button-selected-opacity: .22 !default;
201
+
202
+ /// The transition of the button.
203
+ /// @group button
204
+ $kendo-button-transition: box-shadow 280ms cubic-bezier( .4, 0, .2, 1 ) !default;
File without changes
@@ -5,6 +5,7 @@
5
5
  @import "../common/_index.scss";
6
6
  @import "../button/_index.scss";
7
7
  @import "../icons/_index.scss";
8
+ @import "../list/_index.scss";
8
9
 
9
10
 
10
11
  // Component
@@ -87,7 +87,7 @@ $calendar-cell-selected-hover-text: $calendar-cell-selected-text !default;
87
87
  $calendar-cell-selected-hover-border: null !default;
88
88
  $calendar-cell-selected-hover-gradient: null !default;
89
89
 
90
- $calendar-cell-focused-shadow: $list-item-focused-shadow !default;
90
+ $calendar-cell-focused-shadow: $kendo-list-item-focus-shadow !default;
91
91
  $calendar-cell-selected-focus-shadow: $calendar-cell-focused-shadow !default;
92
92
 
93
93
 
@@ -32,13 +32,10 @@ $chat-bubble-border-radius-sm: 2px !default;
32
32
  $chat-avatar-size: 32px !default;
33
33
  $chat-avatar-spacing: $chat-item-spacing-x !default;
34
34
 
35
- $chat-message-box-padding-x: $chat-padding-x !default;
36
- $chat-message-box-padding-y: 10px !default;
37
-
38
- $chat-toolbar-padding-x: $chat-padding-x !default;
39
- $chat-toolbar-padding-y: 10px !default;
40
- $chat-toolbar-spacing: 20px !default;
41
- $chat-toolbar-bg: try-shade( $button-bg, .5 ) !default;
35
+ $chat-toolbar-padding-x: $toolbar-padding-x !default;
36
+ $chat-toolbar-padding-y: $toolbar-padding-y !default;
37
+ $chat-toolbar-spacing: $toolbar-spacing !default;
38
+ $chat-toolbar-bg: try-shade( $kendo-button-bg, .5 ) !default;
42
39
  $chat-toolbar-text: $toolbar-text !default;
43
40
  $chat-toolbar-border: inherit !default;
44
41
 
@@ -73,15 +70,3 @@ $chat-quick-reply-border: $primary !default;
73
70
  $chat-quick-reply-hover-bg: $primary !default;
74
71
  $chat-quick-reply-hover-text: $primary-contrast !default;
75
72
  $chat-quick-reply-hover-border: $primary !default;
76
-
77
- $chat-message-box-bg: $component-bg !default;
78
- $chat-message-box-text: $input-text !default;
79
- $chat-message-box-border: inherit !default;
80
- $chat-message-box-focus-shadow: 0 0 40px rgba( $input-text, .1 ) !default;
81
-
82
- $chat-message-box-button-hover-text: $primary !default;
83
-
84
- $chat-toolbar-box-button-hover-text: $primary !default;
85
- $chat-toolbar-box-button-hover-bg: none !default;
86
-
87
- $chat-toolbar-box-scroll-button-shadow: 0 0 20px 5px $chat-bg !default;
@@ -2,6 +2,8 @@
2
2
 
3
3
 
4
4
  // Dependencies
5
+ @import "../typography/_variables.scss";
6
+ @import "../list/_variables.scss";
5
7
 
6
8
 
7
9
  // Component