@progress/kendo-theme-material 4.43.1-dev.3 → 4.43.1-dev.7

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 (151) hide show
  1. package/README.md +5 -8
  2. package/dist/all.css +2469 -1772
  3. package/dist/all.scss +2585 -2467
  4. package/modules/@progress/kendo-theme-default/package.json +2 -2
  5. package/modules/@progress/kendo-theme-default/scss/adaptive/_layout.scss +40 -86
  6. package/modules/@progress/kendo-theme-default/scss/adaptive/_theme.scss +0 -9
  7. package/modules/@progress/kendo-theme-default/scss/appbar/_layout.scss +13 -0
  8. package/modules/@progress/kendo-theme-default/scss/appbar/_variables.scss +1 -1
  9. package/modules/@progress/kendo-theme-default/scss/autocomplete/_layout.scss +4 -4
  10. package/modules/@progress/kendo-theme-default/scss/autocomplete/_theme.scss +20 -39
  11. package/modules/@progress/kendo-theme-default/scss/autocomplete/_variables.scss +0 -19
  12. package/modules/@progress/kendo-theme-default/scss/avatar/_variables.scss +11 -1
  13. package/modules/@progress/kendo-theme-default/scss/button/_layout.scss +77 -101
  14. package/modules/@progress/kendo-theme-default/scss/button/_theme.scss +177 -112
  15. package/modules/@progress/kendo-theme-default/scss/button/_variables.scss +77 -11
  16. package/modules/@progress/kendo-theme-default/scss/calendar/_layout.scss +2 -14
  17. package/modules/@progress/kendo-theme-default/scss/card/_variables.scss +4 -4
  18. package/modules/@progress/kendo-theme-default/scss/chat/_layout.scss +9 -9
  19. package/modules/@progress/kendo-theme-default/scss/chat/_theme.scss +0 -21
  20. package/modules/@progress/kendo-theme-default/scss/chat/_variables.scss +0 -7
  21. package/modules/@progress/kendo-theme-default/scss/checkbox/_index.scss +1 -0
  22. package/modules/@progress/kendo-theme-default/scss/checkbox/_layout.scss +80 -146
  23. package/modules/@progress/kendo-theme-default/scss/checkbox/_theme.scss +6 -2
  24. package/modules/@progress/kendo-theme-default/scss/checkbox/_variables.scss +87 -18
  25. package/modules/@progress/kendo-theme-default/scss/color-preview/_layout.scss +49 -7
  26. package/modules/@progress/kendo-theme-default/scss/color-preview/_theme.scss +0 -14
  27. package/modules/@progress/kendo-theme-default/scss/coloreditor/_layout.scss +5 -1
  28. package/modules/@progress/kendo-theme-default/scss/coloreditor/_variables.scss +3 -3
  29. package/modules/@progress/kendo-theme-default/scss/colorgradient/_layout.scss +0 -4
  30. package/modules/@progress/kendo-theme-default/scss/colorpicker/_layout.scss +6 -0
  31. package/modules/@progress/kendo-theme-default/scss/combobox/_layout.scss +22 -29
  32. package/modules/@progress/kendo-theme-default/scss/combobox/_theme.scss +59 -99
  33. package/modules/@progress/kendo-theme-default/scss/combobox/_variables.scss +1 -32
  34. package/modules/@progress/kendo-theme-default/scss/common/_loading.scss +1 -13
  35. package/modules/@progress/kendo-theme-default/scss/daterangepicker/_index.scss +10 -0
  36. package/modules/@progress/kendo-theme-default/scss/daterangepicker/_layout.scss +27 -0
  37. package/modules/@progress/kendo-theme-default/scss/daterangepicker/_theme.scss +3 -0
  38. package/modules/@progress/kendo-theme-default/scss/daterangepicker/_variables.scss +1 -0
  39. package/modules/@progress/kendo-theme-default/scss/dropdowngrid/_layout.scss +1 -0
  40. package/modules/@progress/kendo-theme-default/scss/dropdownlist/_layout.scss +37 -55
  41. package/modules/@progress/kendo-theme-default/scss/dropdownlist/_theme.scss +33 -75
  42. package/modules/@progress/kendo-theme-default/scss/editor/_layout.scss +7 -22
  43. package/modules/@progress/kendo-theme-default/scss/forms/_layout.scss +6 -12
  44. package/modules/@progress/kendo-theme-default/scss/gantt/_layout.scss +1 -1
  45. package/modules/@progress/kendo-theme-default/scss/grid/_layout.scss +128 -97
  46. package/modules/@progress/kendo-theme-default/scss/grid/_theme.scss +0 -6
  47. package/modules/@progress/kendo-theme-default/scss/grid/_variables.scss +7 -9
  48. package/modules/@progress/kendo-theme-default/scss/imageeditor/_layout.scss +4 -8
  49. package/modules/@progress/kendo-theme-default/scss/imageeditor/_variables.scss +1 -0
  50. package/modules/@progress/kendo-theme-default/scss/index.scss +1 -0
  51. package/modules/@progress/kendo-theme-default/scss/input/_layout.scss +1 -1
  52. package/modules/@progress/kendo-theme-default/scss/input/_variables.scss +5 -5
  53. package/modules/@progress/kendo-theme-default/scss/list/_index.scss +1 -0
  54. package/modules/@progress/kendo-theme-default/scss/list/_layout.scss +16 -51
  55. package/modules/@progress/kendo-theme-default/scss/list/_theme.scss +4 -3
  56. package/modules/@progress/kendo-theme-default/scss/list/_variables.scss +66 -6
  57. package/modules/@progress/kendo-theme-default/scss/listbox/_layout.scss +9 -0
  58. package/modules/@progress/kendo-theme-default/scss/listbox/_variables.scss +1 -1
  59. package/modules/@progress/kendo-theme-default/scss/listview/_layout.scss +2 -9
  60. package/modules/@progress/kendo-theme-default/scss/map/_layout.scss +7 -5
  61. package/modules/@progress/kendo-theme-default/scss/maskedtextbox/_layout.scss +17 -31
  62. package/modules/@progress/kendo-theme-default/scss/maskedtextbox/_theme.scss +44 -14
  63. package/modules/@progress/kendo-theme-default/scss/mediaplayer/_layout.scss +13 -1
  64. package/modules/@progress/kendo-theme-default/scss/menu/_layout.scss +48 -5
  65. package/modules/@progress/kendo-theme-default/scss/menu/_theme.scss +6 -2
  66. package/modules/@progress/kendo-theme-default/scss/menu/_variables.scss +1 -1
  67. package/modules/@progress/kendo-theme-default/scss/multiselect/_layout.scss +2 -2
  68. package/modules/@progress/kendo-theme-default/scss/numerictextbox/_layout.scss +9 -27
  69. package/modules/@progress/kendo-theme-default/scss/numerictextbox/_theme.scss +64 -84
  70. package/modules/@progress/kendo-theme-default/scss/numerictextbox/_variables.scss +0 -27
  71. package/modules/@progress/kendo-theme-default/scss/orgchart/_variables.scss +2 -2
  72. package/modules/@progress/kendo-theme-default/scss/pager/_variables.scss +1 -1
  73. package/modules/@progress/kendo-theme-default/scss/pdf-viewer/_layout.scss +20 -29
  74. package/modules/@progress/kendo-theme-default/scss/pdf-viewer/_variables.scss +2 -5
  75. package/modules/@progress/kendo-theme-default/scss/radio/_index.scss +1 -0
  76. package/modules/@progress/kendo-theme-default/scss/radio/_layout.scss +90 -136
  77. package/modules/@progress/kendo-theme-default/scss/radio/_theme.scss +2 -2
  78. package/modules/@progress/kendo-theme-default/scss/radio/_variables.scss +88 -26
  79. package/modules/@progress/kendo-theme-default/scss/scheduler/_layout.scss +26 -13
  80. package/modules/@progress/kendo-theme-default/scss/searchbox/_layout.scss +22 -8
  81. package/modules/@progress/kendo-theme-default/scss/searchbox/_theme.scss +16 -25
  82. package/modules/@progress/kendo-theme-default/scss/searchbox/_variables.scss +0 -20
  83. package/modules/@progress/kendo-theme-default/scss/skeleton/_layout.scss +1 -1
  84. package/modules/@progress/kendo-theme-default/scss/slider/_layout.scss +69 -146
  85. package/modules/@progress/kendo-theme-default/scss/slider/_theme.scss +0 -6
  86. package/modules/@progress/kendo-theme-default/scss/spreadsheet/_layout.scss +32 -23
  87. package/modules/@progress/kendo-theme-default/scss/table/_layout.scss +29 -6
  88. package/modules/@progress/kendo-theme-default/scss/table/_theme.scss +3 -2
  89. package/modules/@progress/kendo-theme-default/scss/table/_variables.scss +3 -3
  90. package/modules/@progress/kendo-theme-default/scss/tabstrip/_layout.scss +5 -1
  91. package/modules/@progress/kendo-theme-default/scss/textarea/_layout.scss +1 -1
  92. package/modules/@progress/kendo-theme-default/scss/timeselector/_layout.scss +3 -2
  93. package/modules/@progress/kendo-theme-default/scss/toolbar/_layout.scss +37 -2
  94. package/modules/@progress/kendo-theme-default/scss/toolbar/_theme.scss +35 -7
  95. package/modules/@progress/kendo-theme-default/scss/treelist/_layout.scss +4 -0
  96. package/modules/@progress/kendo-theme-default/scss/treeview/_layout.scss +130 -116
  97. package/modules/@progress/kendo-theme-default/scss/treeview/_theme.scss +36 -25
  98. package/modules/@progress/kendo-theme-default/scss/treeview/_variables.scss +67 -13
  99. package/modules/@progress/kendo-theme-default/scss/typography/_variables.scss +3 -3
  100. package/modules/@progress/kendo-theme-default/scss/window/_layout.scss +2 -2
  101. package/modules/@progress/kendo-theme-default/scss/window/_variables.scss +1 -1
  102. package/package.json +3 -3
  103. package/scss/action-buttons/_theme.scss +1 -2
  104. package/scss/appbar/_variables.scss +1 -1
  105. package/scss/autocomplete/_variables.scss +0 -19
  106. package/scss/avatar/_variables.scss +11 -1
  107. package/scss/button/_layout.scss +29 -4
  108. package/scss/button/_theme.scss +43 -56
  109. package/scss/button/_variables.scss +80 -14
  110. package/scss/chat/_variables.scss +0 -7
  111. package/scss/checkbox/_index.scss +1 -0
  112. package/scss/checkbox/_theme.scss +2 -9
  113. package/scss/checkbox/_variables.scss +89 -19
  114. package/scss/coloreditor/_variables.scss +3 -3
  115. package/scss/combobox/_layout.scss +4 -5
  116. package/scss/combobox/_variables.scss +1 -32
  117. package/scss/daterangepicker/_index.scss +10 -0
  118. package/scss/daterangepicker/_layout.scss +1 -0
  119. package/scss/daterangepicker/_theme.scss +1 -0
  120. package/scss/daterangepicker/_variables.scss +1 -0
  121. package/scss/dropdownlist/_layout.scss +2 -11
  122. package/scss/dropdownlist/_theme.scss +0 -31
  123. package/scss/fab/index.md +0 -0
  124. package/scss/filter/_variables.scss +1 -1
  125. package/scss/grid/_layout.scss +0 -8
  126. package/scss/grid/_variables.scss +7 -9
  127. package/scss/imageeditor/_variables.scss +1 -0
  128. package/scss/index.scss +1 -0
  129. package/scss/input/_variables.scss +7 -7
  130. package/scss/list/_index.scss +1 -0
  131. package/scss/list/_layout.scss +4 -10
  132. package/scss/list/_variables.scss +65 -5
  133. package/scss/listbox/_variables.scss +5 -5
  134. package/scss/maskedtextbox/_layout.scss +11 -0
  135. package/scss/menu/_theme.scss +2 -0
  136. package/scss/menu/_variables.scss +3 -3
  137. package/scss/numerictextbox/_layout.scss +4 -5
  138. package/scss/numerictextbox/_variables.scss +0 -27
  139. package/scss/orgchart/_variables.scss +2 -2
  140. package/scss/pager/_variables.scss +1 -1
  141. package/scss/pdf-viewer/_variables.scss +2 -5
  142. package/scss/radio/_index.scss +1 -0
  143. package/scss/radio/_theme.scss +2 -9
  144. package/scss/radio/_variables.scss +83 -23
  145. package/scss/scheduler/_layout.scss +0 -16
  146. package/scss/searchbox/_variables.scss +0 -20
  147. package/scss/table/_variables.scss +3 -3
  148. package/scss/toolbar/_layout.scss +7 -1
  149. package/scss/toolbar/_theme.scss +2 -4
  150. package/scss/treeview/_theme.scss +29 -22
  151. package/scss/treeview/_variables.scss +70 -16
@@ -110,10 +110,10 @@
110
110
  margin-top: -($window-inner-padding-y / 2);
111
111
  }
112
112
  .k-window-content:first-child {
113
- padding-top: #{"max( #{$window-inner-padding-y}, #{$window-titlebar-padding-y} )"};
113
+ padding-top: clamp( #{$window-inner-padding-y}, #{$window-titlebar-padding-y}, #{$window-titlebar-padding-y} );
114
114
  }
115
115
  .k-window-content:last-child {
116
- padding-bottom: #{"max( #{$window-inner-padding-y}, #{$window-titlebar-padding-y} )"};
116
+ padding-bottom: clamp( #{$window-inner-padding-y}, #{$window-titlebar-padding-y}, #{$window-titlebar-padding-y} );
117
117
  }
118
118
 
119
119
  .k-window-iframecontent {
@@ -11,7 +11,7 @@ $window-titlebar-border-width: 0 0 1px !default;
11
11
  $window-titlebar-border-style: solid !default;
12
12
 
13
13
  $window-title-font-size: $font-size-lg !default;
14
- $window-title-line-height: ( 20 / 18 ) !default;
14
+ $window-title-line-height: 1.25 !default;
15
15
 
16
16
  $window-actions-gap: null !default;
17
17
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-material",
3
3
  "description": "Material theme for Kendo UI",
4
- "version": "4.43.1-dev.3",
4
+ "version": "4.43.1-dev.7",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -51,7 +51,7 @@
51
51
  "postpublish": "rm -rf modules && git checkout scss"
52
52
  },
53
53
  "dependencies": {
54
- "@progress/kendo-theme-default": "^4.43.1-dev.3"
54
+ "@progress/kendo-theme-default": "^4.43.1-dev.7"
55
55
  },
56
- "gitHead": "17b6139d64d5dab2c8687e0f2e50fda466679766"
56
+ "gitHead": "634466e18a3f771f8e1da5dc5efdefca1f4fd344"
57
57
  }
@@ -3,8 +3,7 @@
3
3
  @include exports("action-buttons/theme/material") {
4
4
 
5
5
  .k-actions {
6
- .k-button:not(.k-primary),
7
- .k-button-secondary {
6
+ .k-button:not(.k-primary) {
8
7
  background-color: try-shade( $button-bg );
9
8
  }
10
9
  }
@@ -2,7 +2,7 @@
2
2
  $appbar-margin-y: null !default;
3
3
  $appbar-margin-x: null !default;
4
4
  $appbar-padding-y: map-get( $spacing, 2 ) !default;
5
- $appbar-padding-x: map-get( $spacing, 6 ) !default;
5
+ $appbar-padding-x: map-get( $spacing, 2 ) !default;
6
6
  $appbar-border-width: 0px !default;
7
7
 
8
8
  $appbar-zindex: 1000 !default;
@@ -1,20 +1 @@
1
1
  // Autocomplete
2
- $autocomplete-bg: $input-bg !default;
3
- $autocomplete-text: $input-text !default;
4
- $autocomplete-border: $input-border !default;
5
- $autocomplete-shadow: $input-shadow !default;
6
-
7
- $autocomplete-hovered-bg: $input-hovered-bg !default;
8
- $autocomplete-hovered-text: $input-hovered-text !default;
9
- $autocomplete-hovered-border: $input-hovered-border !default;
10
- $autocomplete-hovered-shadow: $input-hovered-shadow !default;
11
-
12
- $autocomplete-focused-bg: $input-focused-bg !default;
13
- $autocomplete-focused-text: $input-focused-text !default;
14
- $autocomplete-focused-border: $input-focused-border !default;
15
- $autocomplete-focused-shadow: $input-focused-shadow !default;
16
-
17
- $autocomplete-disabled-bg: null !default;
18
- $autocomplete-disabled-text: null !default;
19
- $autocomplete-disabled-border: null !default;
20
- $autocomplete-disabled-shadow: null !default;
@@ -1,12 +1,22 @@
1
1
  // Avatar
2
+
3
+ /// Border width of the avatar.
4
+ /// @group avatar
2
5
  $avatar-border-width: 1px !default;
3
6
  $avatar-border-radius: map-get( $spacing, 1 ) !default;
4
7
 
8
+ /// Font family of the avatar.
9
+ /// @group avatar
5
10
  $avatar-font-family: $font-family !default;
11
+ /// Font size of the avatar.
12
+ /// @group avatar
6
13
  $avatar-font-size: $font-size !default;
14
+ /// Line height of the avatar.
15
+ /// @group avatar
7
16
  $avatar-line-height: $line-height !default;
8
17
 
9
-
18
+ /// The sizes of the avatar.
19
+ /// @group avatar
10
20
  $avatar-sizes: (
11
21
  sm: map-get( $spacing, 4 ),
12
22
  md: map-get( $spacing, 8 ),
@@ -15,6 +15,14 @@
15
15
  &::after {
16
16
  display: none !important; // sass-lint:disable-line no-important
17
17
  }
18
+
19
+ &:disabled,
20
+ &[disabled],
21
+ &.k-disabled,
22
+ &.k-state-disabled {
23
+ opacity: 1;
24
+ filter: none;
25
+ }
18
26
  }
19
27
 
20
28
 
@@ -29,11 +37,28 @@
29
37
  // Outline button
30
38
  .k-button-outline {
31
39
  background-color: transparent !important; // sass-lint:disable-line no-important
40
+ box-shadow: none !important; // sass-lint:disable-line no-important
41
+ }
32
42
 
33
- &::after {
34
- display: block !important; // sass-lint:disable-line no-important
35
- box-shadow: inset 0 0 0 1px currentColor;
36
- opacity: 1;
43
+
44
+ // Link button
45
+ .k-button.k-button-link {
46
+
47
+ &:hover,
48
+ &.k-state-hover,
49
+ &:active,
50
+ &.k-state-active,
51
+ &.k-state-selected {
52
+ &::before {
53
+ opacity: 0;
54
+ }
55
+ }
56
+
57
+ &:focus,
58
+ &.k-state-focus {
59
+ &::before {
60
+ opacity: $flat-button-focus-opacity;
61
+ }
37
62
  }
38
63
  }
39
64
 
@@ -2,36 +2,36 @@
2
2
 
3
3
  @include exports( "button/theme/material" ) {
4
4
 
5
- // Flat button
6
- .k-button-flat {
7
-
8
- &:disabled,
9
- &.k-state-disabled {
10
- color: $button-disabled-text;
5
+ // Solid button
6
+ @each $name, $color in $button-theme-colors {
7
+ .k-button-solid.k-button-solid-#{$name} {
8
+
9
+ &:disabled,
10
+ &.k-state-disabled {
11
+ @include fill(
12
+ $button-disabled-text,
13
+ $button-disabled-bg,
14
+ $button-disabled-border
15
+ );
16
+ }
11
17
  }
12
18
  }
13
- .k-button-flat.k-primary {
14
- color: $primary-button-bg;
15
19
 
16
- &:disabled,
17
- &.k-state-disabled {
18
- color: $button-disabled-text;
19
- }
20
- }
20
+ // Flat button
21
+ .k-button-flat {}
21
22
 
22
23
 
23
24
  // Outline button
24
25
  .k-button-outline {
25
- @include box-shadow( none );
26
26
  color: $button-text;
27
27
 
28
28
  &:hover,
29
29
  &.k-state-hover,
30
+ &:focus,
31
+ &.k-state-focus,
30
32
  &:active,
31
33
  &.k-state-active,
32
- &.k-state-selected,
33
- &:focus,
34
- &.k-state-focus {
34
+ &.k-state-selected {
35
35
  color: $button-text;
36
36
  }
37
37
 
@@ -40,18 +40,30 @@
40
40
  color: $button-disabled-text;
41
41
  }
42
42
  }
43
- .k-button-outline.k-primary {
44
- color: $primary-button-bg;
43
+ @each $name, $color in $button-theme-colors {
44
+ .k-button-outline.k-button-outline-#{$name} {
45
+ color: $color;
46
+
47
+ &:hover,
48
+ &.k-state-hover,
49
+ &:focus,
50
+ &.k-state-focus,
51
+ &:active,
52
+ &.k-state-active,
53
+ &.k-state-selected {
54
+ color: $color;
55
+ }
45
56
 
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;
57
+ &:disabled,
58
+ &.k-state-disabled {
59
+ color: $button-disabled-text;
60
+ }
54
61
  }
62
+ }
63
+
64
+
65
+ // Link button
66
+ .k-button.k-button-link {
55
67
 
56
68
  &:disabled,
57
69
  &.k-state-disabled {
@@ -80,46 +92,21 @@
80
92
  }
81
93
 
82
94
  &:disabled,
95
+ &[disabled],
96
+ &.k-disabled,
83
97
  &.k-state-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
- }
117
- }
104
+ .k-split-button {}
118
105
 
119
106
 
120
107
  // Variant button group
121
108
  .k-button-group-flat,
122
- .k-button-group-bare,
109
+ .k-button-group-link,
123
110
  .k-button-group-outline {
124
111
  @include box-shadow( none );
125
112
  }
@@ -1,29 +1,71 @@
1
1
  // Button
2
2
 
3
- /// Width of border around buttons
3
+ /// Width of the border around the button.
4
4
  /// @group button
5
- $button-border-width: 0px !default;
6
- /// Border radius of buttons
5
+ $button-border-width: 1px !default;
6
+
7
+ /// Border radius of the button.
8
+ /// @group button
9
+ $button-border-radius: map-get( $spacing, 1 ) !default;
10
+
11
+ /// Horizontal padding of the button.
7
12
  /// @group button
8
- $button-border-radius: $border-radius !default;
13
+ $button-padding-x: map-get( $spacing, 4 ) !default;
14
+ $button-padding-x-sm: null !default;
15
+ $button-padding-x-md: null !default;
16
+ $button-padding-x-lg: null !default;
9
17
 
10
- /// Horizontal padding of buttons
18
+ /// Vertical padding of the button.
11
19
  /// @group button
12
- $button-padding-x: $padding-x !default;
13
- /// Vertical padding of buttons
20
+ $button-padding-y: map-get( $spacing, 2 ) !default;
21
+ $button-padding-y-sm: null !default;
22
+ $button-padding-y-md: null !default;
23
+ $button-padding-y-lg: null !default;
24
+
25
+ /// Font family of the button.
14
26
  /// @group button
15
- $button-padding-y: 8px !default;
16
27
  $button-font-family: $font-family !default;
28
+
29
+ /// Font size of the button.
30
+ /// @group button
17
31
  $button-font-size: $font-size !default;
18
- $button-line-height: (20 / 14) !default;
32
+ $button-font-size-sm: null !default;
33
+ $button-font-size-md: null !default;
34
+ $button-font-size-lg: null !default;
19
35
 
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;
36
+ /// Line height used along with $font-size.
37
+ /// @group button
38
+ $button-line-height: (20 / 14) !default;
39
+ $button-line-height-sm: null !default;
40
+ $button-line-height-md: null !default;
41
+ $button-line-height-lg: null !default;
23
42
 
43
+ /// Calculated height of the button.
44
+ /// @group button
24
45
  $button-calc-size: calc( #{$button-line-height * 1em} + #{$button-padding-y * 2} + #{$button-border-width * 2} ) !default;
46
+
47
+ /// Calculated inner height of the button. Without the border width.
48
+ /// @group button
25
49
  $button-inner-calc-size: calc( #{$button-line-height * 1em} + #{$button-padding-y * 2} ) !default;
26
50
 
51
+ $button-arrow-padding-x: map-get( $spacing, 1 ) !default;
52
+ $button-arrow-padding-y: $button-padding-y !default;
53
+
54
+ /// Theme colors map for the button.
55
+ /// @group button
56
+ $button-theme-colors: (
57
+ "primary": map-get( $theme-colors, primary ),
58
+ "secondary": map-get( $theme-colors, secondary ),
59
+ "tertiary": map-get( $theme-colors, tertiary ),
60
+ "info": map-get( $theme-colors, info ),
61
+ "success": map-get( $theme-colors, success ),
62
+ "warning": map-get( $theme-colors, warning ),
63
+ "error": map-get( $theme-colors, error ),
64
+ "dark": map-get( $theme-colors, dark ),
65
+ "light": map-get( $theme-colors, light ),
66
+ "inverse": map-get( $theme-colors, inverse )
67
+ ) !default;
68
+
27
69
  /// The background of the buttons.
28
70
  /// @group button
29
71
  $button-bg: $base-bg !default;
@@ -88,7 +130,7 @@ $button-focused-shadow: null !default;
88
130
  // Disabled button
89
131
  $button-disabled-bg: try-shade( $body-bg, 12% ) !default;
90
132
  $button-disabled-text: $disabled-text !default;
91
- $button-disabled-border: null !default;
133
+ $button-disabled-border: $button-disabled-bg !default;
92
134
  $button-disabled-gradient: null !default;
93
135
  $button-disabled-shadow: none !default;
94
136
 
@@ -120,7 +162,31 @@ $primary-button-selected-shadow: null !default;
120
162
 
121
163
  $primary-button-focused-shadow: null !default;
122
164
 
123
- $button-group-focus-shadow: null !default;
165
+ $solid-button-gradient: null !default;
166
+ $solid-button-shade-function: "try-shade";
167
+ $solid-button-shade-text-amount: null !default;
168
+ $solid-button-shade-bg-amount: 0 !default;
169
+ $solid-button-shade-border-amount: 0 !default;
170
+ $solid-button-hover-shade-text-amount: null !default;
171
+ $solid-button-hover-shade-bg-amount: null !default;
172
+ $solid-button-hover-shade-border-amount: null !default;
173
+ $solid-button-active-shade-text-amount: null !default;
174
+ $solid-button-active-shade-bg-amount: null !default;
175
+ $solid-button-active-shade-border-amount: null !default;
176
+ $solid-button-shadow: null !default;
177
+ $solid-button-shadow-blur: null !default;
178
+ $solid-button-shadow-spread: null !default;
179
+ $solid-button-shadow-opacity: null !default;
180
+
181
+ $outline-button-shadow: null !default;
182
+ $outline-button-shadow-blur: null !default;
183
+ $outline-button-shadow-spread: null !default;
184
+ $outline-button-shadow-opacity: null !default;
185
+
186
+ $link-button-shadow: null !default;
187
+ $link-button-shadow-blur: null !default;
188
+ $link-button-shadow-spread: null !default;
189
+ $link-button-shadow-opacity: null !default;
124
190
 
125
191
  $flat-button-hover-opacity: .08 !default;
126
192
  $flat-button-focus-opacity: .12 !default;
@@ -70,10 +70,3 @@ $chat-quick-reply-border: $primary !default;
70
70
  $chat-quick-reply-hover-bg: $primary !default;
71
71
  $chat-quick-reply-hover-text: $primary-contrast !default;
72
72
  $chat-quick-reply-hover-border: $primary !default;
73
-
74
- $chat-message-box-bg: $component-bg !default;
75
- $chat-message-box-text: $input-text !default;
76
- $chat-message-box-border: inherit !default;
77
- $chat-message-box-focus-shadow: 0 0 40px rgba( $input-text, .1 ) !default;
78
-
79
- $chat-toolbar-box-scroll-button-shadow: 0 0 20px 5px $chat-bg !default;
@@ -2,6 +2,7 @@
2
2
 
3
3
 
4
4
  // Dependencies
5
+ @import "../typography/_variables.scss";
5
6
  @import "../list/_variables.scss";
6
7
 
7
8
 
@@ -1,6 +1,6 @@
1
1
  @import "../../modules/@progress/kendo-theme-default/scss/checkbox/_theme.scss";
2
2
 
3
- @include exports("checkbox/theme/material") {
3
+ @include exports( "checkbox/theme/material" ) {
4
4
 
5
5
  // Checkbox
6
6
  .k-checkbox-label {
@@ -11,13 +11,6 @@
11
11
  opacity: 1;
12
12
  filter: none;
13
13
  }
14
-
15
-
16
- // Ripple
17
- .k-ripple-blob {
18
- opacity: .2;
19
- background-color: $checkbox-checked-bg;
20
- }
21
-
22
14
  }
15
+
23
16
  }
@@ -1,73 +1,143 @@
1
1
  // Checkbox
2
+
2
3
  $checkbox-size: map-get( $spacing, 4 ) !default;
3
4
  $checkbox-radius: map-get( $spacing, thin ) !default;
5
+ /// Border width of checkbox.
6
+ /// @group checkbox
4
7
  $checkbox-border-width: 2px !default;
5
- $checkbox-line-height: calc( #{$checkbox-size} + #{$checkbox-border-width} ) !default;
6
8
 
9
+ /// Background color of checkbox.
10
+ /// @group checkbox
7
11
  $checkbox-bg: null !default;
8
- $checkbox-text: transparent !default;
12
+ /// Color of checkbox.
13
+ /// @group checkbox
14
+ $checkbox-text: null !default;
15
+ /// Border color of checkbox.
16
+ /// @group checkbox
9
17
  $checkbox-border: rgba( if( $dark-theme, $white, $black ), .54 ) !default;
10
18
 
19
+ /// Background color of hovered checkbox.
20
+ /// @group checkbox
11
21
  $checkbox-hovered-bg: null !default;
22
+ /// Color of hovered checkbox.
23
+ /// @group checkbox
12
24
  $checkbox-hovered-text: null !default;
13
- $checkbox-hovered-border: rgba( if( $dark-theme, $white, $black ), .87 ) !default;
25
+ /// Border color of hovered checkbox.
26
+ /// @group checkbox
27
+ $checkbox-hovered-border: null !default;
14
28
 
29
+ /// Background color of checked checkbox.
30
+ /// @group checkbox
15
31
  $checkbox-checked-bg: $primary !default;
32
+ /// Color of checked checkbox.
33
+ /// @group checkbox
16
34
  $checkbox-checked-text: contrast-wcag( $checkbox-checked-bg ) !default;
35
+ /// Border color of checked checkbox.
36
+ /// @group checkbox
17
37
  $checkbox-checked-border: $checkbox-checked-bg !default;
18
38
 
39
+ /// Background color of indeterminate checkbox.
40
+ /// @group checkbox
19
41
  $checkbox-indeterminate-bg: $checkbox-checked-bg !default;
42
+ /// Color of indeterminate checkbox.
43
+ /// @group checkbox
20
44
  $checkbox-indeterminate-text: $checkbox-checked-text !default;
45
+ /// Border color of indeterminate checkbox.
46
+ /// @group checkbox
21
47
  $checkbox-indeterminate-border: $checkbox-checked-border !default;
22
48
 
23
- $checkbox-focused-border: $checkbox-border !default;
24
- $checkbox-focused-shadow: none !default;
25
- $checkbox-focused-checked-border: $checkbox-checked-border !default;
26
- $checkbox-focused-checked-shadow: none !default;
27
-
49
+ /// Border color of focused checkbox.
50
+ /// @group checkbox
51
+ $checkbox-focused-border: null !default;
52
+ /// Box shadow of focused checkbox.
53
+ /// @group checkbox
54
+ $checkbox-focused-shadow: null !default;
55
+ /// Border color of focused and checked checkbox.
56
+ /// @group checkbox
57
+ $checkbox-focused-checked-border: null !default;
58
+ /// Box shadow of focused and checked checkbox.
59
+ /// @group checkbox
60
+ $checkbox-focused-checked-shadow: null !default;
61
+
62
+ /// Background color of disabled checkbox.
63
+ /// @group checkbox
28
64
  $checkbox-disabled-bg: null !default;
65
+ /// Color of disabled checkbox.
66
+ /// @group checkbox
29
67
  $checkbox-disabled-text: null !default;
68
+ /// Border color of disabled checkbox.
69
+ /// @group checkbox
30
70
  $checkbox-disabled-border: try-shade( $component-bg, 4 ) !default;
31
71
 
72
+
73
+ /// Background color of disabled and checked checkbox.
74
+ /// @group checkbox
32
75
  $checkbox-disabled-checked-bg: $checkbox-disabled-border !default;
76
+ /// Color of disabled and checked checkbox.
77
+ /// @group checkbox
33
78
  $checkbox-disabled-checked-text: contrast-wcag( $checkbox-disabled-checked-bg ) !default;
79
+ /// Border color of disabled and checked checkbox.
80
+ /// @group checkbox
34
81
  $checkbox-disabled-checked-border: $checkbox-disabled-checked-bg !default;
35
82
 
83
+ /// Background color of invalid checkbox.
84
+ /// @group checkbox
36
85
  $checkbox-invalid-bg: null !default;
86
+ /// Color of invalid checkbox.
87
+ /// @group checkbox
37
88
  $checkbox-invalid-text: $invalid-text !default;
89
+ /// Border color of invalid checkbox.
90
+ /// @group checkbox
38
91
  $checkbox-invalid-border: $invalid-border !default;
39
92
 
40
93
 
41
94
  // Checkbox indicator
42
- $checkbox-icon-type: image !default;
43
95
 
96
+ /// Type of checkbox indicator.
97
+ /// @group checkbox
98
+ $checkbox-indicator-type: image !default;
99
+
100
+ /// Glyph font family of checkbox indicator.
101
+ /// @group checkbox
44
102
  $checkbox-glyph-font-family: "WebComponentsIcons", monospace !default;
45
103
  $checkbox-glyph-size: 10px !default;
104
+ /// Glyph of checkbox indicator.
105
+ /// @group checkbox
46
106
  $checkbox-checked-glyph: "\e118" !default;
107
+ /// Glyph of indeterminate checkbox indicator.
108
+ /// @group checkbox
47
109
  $checkbox-indeterminate-glyph: "\e121" !default;
48
110
 
111
+ /// Image of checked checkbox indicator.
112
+ /// @group checkbox
49
113
  $checkbox-checked-image: escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='#{$checkbox-checked-text}' stroke-width='3' d='M4.1,12.7 9,17.6 20.3,6.3'/></svg>") ) !default;
114
+ /// Image of checked checkbox indicator.
115
+ /// @group checkbox
50
116
  $checkbox-indeterminate-image: escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$checkbox-indeterminate-text}' stroke-width='3' d='M4 10h12'/></svg>") ) !default;
51
117
 
52
- $checkbox-marker-checked-width: 10px !default;
53
- $checkbox-marker-checked-height: 10px !default;
54
- $checkbox-marker-indeterminate-width: 10px !default;
55
- $checkbox-marker-indeterminate-height: 2px !default;
56
-
57
118
 
58
119
  // Checkbox label
59
120
  $checkbox-label-margin-x: map-get( $spacing, 1 ) !default;
60
121
 
61
122
 
62
123
  // Checkbox list
63
- $checkbox-list-margin: 0px !default;
64
- $checkbox-list-padding: 0px !default;
124
+
125
+ /// Spacing between items of horizontal checkbox list.
126
+ /// @group checkbox
127
+ $checkbox-list-spacing: map-get( $spacing, 4 ) !default;
128
+ /// Horizontal padding of checkbox list items.
129
+ /// @group checkbox
65
130
  $checkbox-list-item-padding-x: 0px !default;
131
+ /// Vertical padding of checkbox list items.
132
+ /// @group checkbox
66
133
  $checkbox-list-item-padding-y: $list-item-padding-y !default;
67
- $checkbox-list-horizontal-item-margin-x: 32px !default;
68
134
 
69
135
 
70
136
  // Checkbox ripple
71
137
  $checkbox-ripple-size: $checkbox-size * 3 !default;
72
- $checkbox-ripple-margin: calc(-1 * (#{$checkbox-size} + #{$checkbox-border-width})) !default;
73
- $checkbox-ripple-opacity: .38 !default;
138
+ /// Background color of checkbox ripple.
139
+ /// @group checkbox
140
+ $checkbox-ripple-bg: $primary !default;
141
+ /// Opacity of checkbox ripple.
142
+ /// @group checkbox
143
+ $checkbox-ripple-opacity: .2 !default;
@@ -18,9 +18,9 @@ $coloreditor-header-padding-y: $coloreditor-spacer !default;
18
18
  $coloreditor-header-padding-x: $coloreditor-header-padding-y !default;
19
19
  $coloreditor-header-actions-gap: map-get( $spacing, 2 ) !default;
20
20
 
21
- $coloreditor-preview-gap: 2px !default;
22
- $coloreditor-color-preview-width: 34px !default;
23
- $coloreditor-color-preview-height: 14px !default;
21
+ $coloreditor-preview-gap: map-get( $spacing, 1 ) !default;
22
+ $coloreditor-color-preview-width: 32px !default;
23
+ $coloreditor-color-preview-height: 12px !default;
24
24
 
25
25
  $coloreditor-views-padding-y: $coloreditor-spacer !default;
26
26
  $coloreditor-views-padding-x: $coloreditor-views-padding-y !default;
@@ -2,12 +2,11 @@
2
2
 
3
3
  @include exports( "combobox/layout/material" ) {
4
4
 
5
+ // Combobox
5
6
  .k-combobox {
6
- .k-dropdown-wrap {
7
- @include border-bottom-radius( 0 !important ); // sass-lint:disable-line no-important
8
- border-width: $input-border-width 0;
9
- border-top-color: transparent !important; // sass-lint:disable-line no-important
10
- }
7
+ @include border-bottom-radius( 0 !important ); // sass-lint:disable-line no-important
8
+ border-width: $input-border-width 0;
9
+ border-top-color: transparent !important; // sass-lint:disable-line no-important
11
10
  }
12
11
 
13
12
  }