@progress/kendo-theme-material 5.0.0-beta.0 → 5.0.0-beta.4

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 (93) hide show
  1. package/README.md +5 -8
  2. package/dist/all.css +4250 -4631
  3. package/dist/all.scss +6597 -6117
  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/appbar/_variables.scss +1 -1
  8. package/scss/autocomplete/_variables.scss +0 -19
  9. package/scss/avatar/index.md +0 -0
  10. package/scss/button/_layout.scss +26 -14
  11. package/scss/button/_theme.scss +28 -120
  12. package/scss/button/_variables.scss +55 -30
  13. package/scss/button/index.md +0 -0
  14. package/scss/chat/_variables.scss +0 -7
  15. package/scss/checkbox/_index.scss +2 -1
  16. package/scss/checkbox/_theme.scss +2 -9
  17. package/scss/checkbox/_variables.scss +68 -73
  18. package/scss/checkbox/index.md +0 -0
  19. package/scss/chip/_index.scss +1 -0
  20. package/scss/chip/_variables.scss +11 -11
  21. package/scss/chip/index.md +0 -0
  22. package/scss/color-preview/_variables.scss +1 -0
  23. package/scss/coloreditor/_variables.scss +3 -3
  24. package/scss/colorpicker/_index.scss +1 -2
  25. package/scss/colorpicker/_variables.scss +1 -24
  26. package/scss/combobox/_variables.scss +1 -31
  27. package/scss/dateinput/_index.scss +0 -4
  28. package/scss/dateinput/_variables.scss +1 -1
  29. package/scss/datepicker/_index.scss +1 -3
  30. package/scss/datetimepicker/_index.scss +5 -3
  31. package/scss/datetimepicker/_variables.scss +2 -1
  32. package/scss/dropdowngrid/_layout.scss +0 -14
  33. package/scss/dropdowngrid/_theme.scss +0 -8
  34. package/scss/dropdowngrid/index.md +0 -0
  35. package/scss/fab/_theme.scss +42 -46
  36. package/scss/fab/_variables.scss +129 -73
  37. package/scss/fab/index.md +0 -0
  38. package/scss/filter/_index.scss +1 -1
  39. package/scss/filter/_variables.scss +1 -1
  40. package/scss/gantt/_index.scss +1 -1
  41. package/scss/grid/_index.scss +1 -1
  42. package/scss/grid/_layout.scss +0 -8
  43. package/scss/grid/_variables.scss +8 -8
  44. package/scss/imageeditor/_variables.scss +1 -0
  45. package/scss/index.scss +2 -1
  46. package/scss/input/_index.scss +1 -1
  47. package/scss/input/_layout.scss +21 -2
  48. package/scss/input/_variables.scss +19 -29
  49. package/scss/list/_index.scss +1 -0
  50. package/scss/list/_theme.scss +0 -15
  51. package/scss/list/_variables.scss +214 -47
  52. package/scss/list/index.md +0 -0
  53. package/scss/listbox/_index.scss +1 -0
  54. package/scss/listbox/_variables.scss +5 -5
  55. package/scss/menu/_variables.scss +60 -51
  56. package/scss/multiselect/_index.scss +1 -1
  57. package/scss/orgchart/_variables.scss +2 -2
  58. package/scss/pager/_variables.scss +1 -1
  59. package/scss/panelbar/_variables.scss +5 -0
  60. package/scss/pdf-viewer/_variables.scss +2 -5
  61. package/scss/pivotgrid/_variables.scss +0 -3
  62. package/scss/popup/_index.scss +0 -1
  63. package/scss/popup/_variables.scss +2 -2
  64. package/scss/radio/_index.scss +1 -1
  65. package/scss/radio/_theme.scss +2 -9
  66. package/scss/radio/_variables.scss +69 -88
  67. package/scss/radio/index.md +0 -0
  68. package/scss/scheduler/_index.scss +1 -1
  69. package/scss/scheduler/_layout.scss +0 -16
  70. package/scss/spreadsheet/_index.scss +1 -1
  71. package/scss/switch/index.md +0 -0
  72. package/scss/table/_layout.scss +0 -22
  73. package/scss/table/_theme.scss +0 -8
  74. package/scss/table/_variables.scss +100 -33
  75. package/scss/taskboard/_variables.scss +0 -2
  76. package/scss/timepicker/_index.scss +3 -3
  77. package/scss/timepicker/_variables.scss +1 -1
  78. package/scss/{datetime → timeselector}/_index.scss +2 -5
  79. package/scss/timeselector/_layout.scss +1 -0
  80. package/scss/timeselector/_theme.scss +19 -0
  81. package/scss/timeselector/_variables.scss +32 -0
  82. package/scss/toolbar/_layout.scss +7 -1
  83. package/scss/toolbar/_variables.scss +2 -0
  84. package/scss/treeview/_theme.scss +32 -27
  85. package/scss/treeview/_variables.scss +125 -46
  86. package/scss/utils/_border.scss +1 -2
  87. package/scss/virtual-scroller/_index.scss +10 -0
  88. package/scss/virtual-scroller/_layout.scss +1 -0
  89. package/scss/virtual-scroller/_theme.scss +1 -0
  90. package/scss/virtual-scroller/_variables.scss +1 -0
  91. package/scss/datetime/_layout.scss +0 -38
  92. package/scss/datetime/_theme.scss +0 -61
  93. package/scss/datetime/_variables.scss +0 -53
@@ -1,122 +1,134 @@
1
1
  // Checkbox
2
2
 
3
- /// The sizes of checkbox.
3
+ /// Border width of checkbox.
4
4
  /// @group checkbox
5
+ $kendo-checkbox-border-width: 2px !default;
6
+
7
+ // Checkbox sizes
5
8
  $kendo-checkbox-sizes: (
6
- sm: map-get( $spacing, 3 ),
7
- md: map-get( $spacing, 4 ),
8
- lg: map-get( $spacing, 6 )
9
+ sm: (
10
+ size: map-get( $spacing, 3 ),
11
+ glyph-size: ( map-get( $spacing, 3 ) - map-get( $spacing, thin ) ),
12
+ ripple-size: map-get( $spacing, 3 ) * 3
13
+ ),
14
+ md: (
15
+ size: map-get( $spacing, 4 ),
16
+ glyph-size: ( map-get( $spacing, 4 ) - map-get( $spacing, thin ) ),
17
+ ripple-size: map-get( $spacing, 4 ) * 3
18
+ ),
19
+ lg: (
20
+ size: map-get( $spacing, 5 ),
21
+ glyph-size: ( map-get( $spacing, 5 ) - map-get( $spacing, thin ) ),
22
+ ripple-size: map-get( $spacing, 5 ) * 3
23
+ )
9
24
  ) !default;
10
25
 
11
- /// The border width of checkbox.
12
- /// @group checkbox
13
- $kendo-checkbox-border-width: 2px !default;
14
- /// The line height of checkbox.
15
- /// @group checkbox
16
- $kendo-checkbox-line-height: calc( #{map-get( $kendo-checkbox-sizes, "md" )} + #{$kendo-checkbox-border-width} ) !default;
17
-
18
- /// The background of checkbox.
26
+ /// Background color of checkbox.
19
27
  /// @group checkbox
20
28
  $kendo-checkbox-bg: null !default;
21
- /// The background of checkbox.
29
+ /// Color of checkbox.
22
30
  /// @group checkbox
23
- $kendo-checkbox-text: transparent !default;
24
- /// The border of checkbox.
31
+ $kendo-checkbox-text: null !default;
32
+ /// Border color of checkbox.
25
33
  /// @group checkbox
26
34
  $kendo-checkbox-border: rgba( if( $dark-theme, $white, $black ), .54 ) !default;
27
35
 
28
- /// The background of hovered checkbox.
36
+ /// Background color of hovered checkbox.
29
37
  /// @group checkbox
30
38
  $kendo-checkbox-hover-bg: null !default;
31
- /// The text of hovered checkbox.
39
+ /// Color of hovered checkbox.
32
40
  /// @group checkbox
33
41
  $kendo-checkbox-hover-text: null !default;
34
- /// The border of hovered checkbox.
42
+ /// Border color of hovered checkbox.
35
43
  /// @group checkbox
36
- $kendo-checkbox-hover-border: rgba( if( $dark-theme, $white, $black ), .87 ) !default;
44
+ $kendo-checkbox-hover-border: null !default;
37
45
 
38
- /// The background of checked checkbox.
46
+ /// Background color of checked checkbox.
39
47
  /// @group checkbox
40
48
  $kendo-checkbox-checked-bg: $primary !default;
41
- /// The text of checked checkbox.
49
+ /// Color of checked checkbox.
42
50
  /// @group checkbox
43
51
  $kendo-checkbox-checked-text: contrast-wcag( $kendo-checkbox-checked-bg ) !default;
44
- /// The border of checked checkbox.
52
+ /// Border color of checked checkbox.
45
53
  /// @group checkbox
46
54
  $kendo-checkbox-checked-border: $kendo-checkbox-checked-bg !default;
47
55
 
48
- /// The background of indeterminate checkbox.
56
+ /// Background color of indeterminate checkbox.
49
57
  /// @group checkbox
50
58
  $kendo-checkbox-indeterminate-bg: $kendo-checkbox-checked-bg !default;
51
- /// The text of indeterminate checkbox.
59
+ /// Color of indeterminate checkbox.
52
60
  /// @group checkbox
53
61
  $kendo-checkbox-indeterminate-text: $kendo-checkbox-checked-text !default;
54
- /// The border of indeterminate checkbox.
62
+ /// Border color of indeterminate checkbox.
55
63
  /// @group checkbox
56
64
  $kendo-checkbox-indeterminate-border: $kendo-checkbox-checked-border !default;
57
65
 
58
- /// The border of focused checkbox.
66
+ /// Border color of focused checkbox.
59
67
  /// @group checkbox
60
- $kendo-checkbox-focus-border: $kendo-checkbox-border !default;
61
- /// The shadow of focused checkbox.
68
+ $kendo-checkbox-focus-border: null !default;
69
+ /// Box shadow of focused checkbox.
62
70
  /// @group checkbox
63
- $kendo-checkbox-focus-shadow: none !default;
64
- /// The border of focused and checked checkbox.
71
+ $kendo-checkbox-focus-shadow: null !default;
72
+ /// Border color of focused and checked checkbox.
65
73
  /// @group checkbox
66
- $kendo-checkbox-focus-checked-border: $kendo-checkbox-checked-border !default;
67
- /// The shadow of focused and checked checkbox.
74
+ $kendo-checkbox-focus-checked-border: null !default;
75
+ /// Box shadow of focused and checked checkbox.
68
76
  /// @group checkbox
69
- $kendo-checkbox-focus-checked-shadow: none !default;
77
+ $kendo-checkbox-focus-checked-shadow: null !default;
70
78
 
71
- /// The background of disabled checkbox.
79
+ /// Background color of disabled checkbox.
72
80
  /// @group checkbox
73
81
  $kendo-checkbox-disabled-bg: null !default;
74
- /// The text of disabled checkbox.
82
+ /// Color of disabled checkbox.
75
83
  /// @group checkbox
76
84
  $kendo-checkbox-disabled-text: null !default;
77
- /// The border of disabled checkbox.
85
+ /// Border color of disabled checkbox.
78
86
  /// @group checkbox
79
87
  $kendo-checkbox-disabled-border: try-shade( $component-bg, 4 ) !default;
80
88
 
81
- /// The background of disabled and checked checkbox.
89
+
90
+ /// Background color of disabled and checked checkbox.
82
91
  /// @group checkbox
83
92
  $kendo-checkbox-disabled-checked-bg: $kendo-checkbox-disabled-border !default;
84
- /// The text of disabled and checked checkbox.
93
+ /// Color of disabled and checked checkbox.
85
94
  /// @group checkbox
86
95
  $kendo-checkbox-disabled-checked-text: contrast-wcag( $kendo-checkbox-disabled-checked-bg ) !default;
87
- /// The border of disabled and checked checkbox.
96
+ /// Border color of disabled and checked checkbox.
88
97
  /// @group checkbox
89
98
  $kendo-checkbox-disabled-checked-border: $kendo-checkbox-disabled-checked-bg !default;
90
99
 
91
- /// The background of invalid checkbox.
100
+ /// Background color of invalid checkbox.
92
101
  /// @group checkbox
93
102
  $kendo-checkbox-invalid-bg: null !default;
94
- /// The text of invalid checkbox.
103
+ /// Color of invalid checkbox.
95
104
  /// @group checkbox
96
105
  $kendo-checkbox-invalid-text: $invalid-text !default;
97
- /// The border of invalid checkbox.
106
+ /// Border color of invalid checkbox.
98
107
  /// @group checkbox
99
108
  $kendo-checkbox-invalid-border: $invalid-border !default;
100
109
 
101
110
 
102
111
  // Checkbox indicator
103
112
 
104
- /// The icon type of checked checkbox.
113
+ /// Type of checkbox indicator.
105
114
  /// @group checkbox
106
- $kendo-checkbox-icon-type: image !default;
115
+ $kendo-checkbox-indicator-type: image !default;
107
116
 
108
- /// The glyph font family of checkbox.
117
+ /// Glyph font family of checkbox indicator.
109
118
  /// @group checkbox
110
119
  $kendo-checkbox-glyph-font-family: "WebComponentsIcons", monospace !default;
111
- /// The glyph of checked checkbox.
120
+ $kendo-checkbox-glyph-size: 10px !default;
121
+ /// Glyph of checkbox indicator.
112
122
  /// @group checkbox
113
123
  $kendo-checkbox-checked-glyph: "\e118" !default;
114
- /// The glyph of indeterminate checkbox.
124
+ /// Glyph of indeterminate checkbox indicator.
115
125
  /// @group checkbox
116
126
  $kendo-checkbox-indeterminate-glyph: "\e121" !default;
117
127
 
128
+ /// Image of checked checkbox indicator.
129
+ /// @group checkbox
118
130
  $kendo-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='#{$kendo-checkbox-checked-text}' stroke-width='3' d='M4.1,12.7 9,17.6 20.3,6.3'/></svg>") ) !default;
119
- /// The image of indeterminate checkbox.
131
+ /// Image of checked checkbox indicator.
120
132
  /// @group checkbox
121
133
  $kendo-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='#{$kendo-checkbox-indeterminate-text}' stroke-width='3' d='M4 10h12'/></svg>") ) !default;
122
134
 
@@ -130,39 +142,22 @@ $kendo-checkbox-label-margin-x: map-get( $spacing, 1 ) !default;
130
142
 
131
143
  // Checkbox list
132
144
 
133
- /// The list margin checkbox.
134
- /// @group checkbox
135
- $kendo-checkbox-list-margin: 0px !default;
136
- /// The list padding checkbox.
145
+ /// Spacing between items of horizontal checkbox list.
137
146
  /// @group checkbox
138
- $kendo-checkbox-list-padding: 0px !default;
139
- /// The horizontal list item padding of checkbox.
147
+ $kendo-checkbox-list-spacing: map-get( $spacing, 4 ) !default;
148
+ /// Horizontal padding of checkbox list items.
140
149
  /// @group checkbox
141
150
  $kendo-checkbox-list-item-padding-x: 0px !default;
142
- /// The vertical list item padding of checkbox.
151
+ /// Vertical padding of checkbox list items.
143
152
  /// @group checkbox
144
153
  $kendo-checkbox-list-item-padding-y: $kendo-list-item-padding-y-md !default;
145
- /// The horizontal margin of list item of checkbox.
146
- /// @group checkbox
147
- $kendo-checkbox-list-horizontal-item-margin-x: 32px !default;
148
154
 
149
155
 
150
156
  // Checkbox ripple
151
157
 
152
- /// The ripple size of checkbox.
158
+ /// Background color of checkbox ripple.
153
159
  /// @group checkbox
154
- $kendo-checkbox-ripple-size: (
155
- sm: (map-get( $kendo-checkbox-sizes, "sm" ) * 3),
156
- md: (map-get( $kendo-checkbox-sizes, "md" ) * 3),
157
- lg: (map-get( $kendo-checkbox-sizes, "lg" ) * 3)
158
- ) !default;
159
- /// The ripple margin of checkbox.
160
- /// @group checkbox
161
- $kendo-checkbox-ripple-margin: (
162
- sm: calc(-1 * (#{map-get( $kendo-checkbox-sizes, "sm" )} + #{$kendo-checkbox-border-width})),
163
- md: calc(-1 * (#{map-get( $kendo-checkbox-sizes, "md" )} + #{$kendo-checkbox-border-width})),
164
- lg: calc(-1 * (#{map-get( $kendo-checkbox-sizes, "lg" )} + #{$kendo-checkbox-border-width}))
165
- ) !default;
166
- /// The ripple opacity of checkbox.
160
+ $kendo-checkbox-ripple-bg: $primary !default;
161
+ /// Opacity of checkbox ripple.
167
162
  /// @group checkbox
168
- $kendo-checkbox-ripple-opacity: .38 !default;
163
+ $kendo-checkbox-ripple-opacity: .2 !default;
File without changes
@@ -3,6 +3,7 @@
3
3
 
4
4
  // Dependencies
5
5
  @import "../icons/_index.scss";
6
+ @import "../button/_variables.scss";
6
7
 
7
8
 
8
9
  // Component
@@ -43,50 +43,50 @@ $kendo-chip-sizes: (
43
43
  lg: ( font-size: $kendo-chip-font-size-lg, line-height: $kendo-chip-line-height-lg, padding: $kendo-chip-padding-x-lg )
44
44
  ) !default;
45
45
 
46
+ /// The base background of the chip.
47
+ /// @group chip
48
+ $kendo-chip-base-bg: if( $dark-theme, $white, $kendo-button-text ) !default;
49
+
46
50
  /// Theme colors map for the chip.
47
51
  /// @group chip
48
52
  $kendo-chip-theme-colors: (
49
- "base": $black,
53
+ "base": $kendo-chip-base-bg,
50
54
  "error": map-get( $theme-colors, "error" ),
51
55
  "info": map-get( $theme-colors, "info" ),
52
56
  "warning": map-get( $theme-colors, "warning" ),
53
57
  "success": map-get( $theme-colors, "success" )
54
58
  ) !default;
55
59
 
56
- /// The base background of the chip.
57
- /// @group chip
58
- $kendo-chip-base-bg: $black !default;
59
-
60
60
  /// The base background color of solid chip.
61
61
  /// @group chip
62
- $kendo-chip-solid-bg: rgba( $kendo-chip-base-bg, .08 ) !default;
62
+ $kendo-chip-solid-bg: try-tint( $kendo-chip-base-bg, 92% ) !default;
63
63
  /// The base text color of solid chip.
64
64
  /// @group chip
65
65
  $kendo-chip-solid-text: $kendo-chip-base-bg !default;
66
66
  /// The base border color of solid chip.
67
67
  /// @group chip
68
- $kendo-chip-solid-border: rgba( $kendo-chip-solid-bg, .3 ) !default;
68
+ $kendo-chip-solid-border: try-tint( $kendo-chip-base-bg, 70% ) !default;
69
69
  /// The base shadow of solid chip.
70
70
  /// @group chip
71
71
  $kendo-chip-solid-shadow: null !default;
72
72
 
73
73
  /// The base background color of focused solid chip.
74
74
  /// @group chip
75
- $kendo-chip-solid-focus-bg: rgba( $kendo-chip-solid-bg, .08 ) !default;
75
+ $kendo-chip-solid-focus-bg: try-tint( $kendo-chip-base-bg, 92% ) !default;
76
76
  /// The base text color of focused solid chip.
77
77
  /// @group chip
78
78
  $kendo-chip-solid-focus-text: null !default;
79
79
 
80
80
  /// The base background color of hovered solid chip.
81
81
  /// @group chip
82
- $kendo-chip-solid-hover-bg: rgba( $kendo-chip-solid-bg, .16 ) !default;
82
+ $kendo-chip-solid-hover-bg: try-tint( $kendo-chip-base-bg, 84% ) !default;
83
83
  /// The base text color of hovered solid chip.
84
84
  /// @group chip
85
85
  $kendo-chip-solid-hover-text: null !default;
86
86
 
87
87
  /// The base background color of selected solid chip.
88
88
  /// @group chip
89
- $kendo-chip-solid-selected-bg: rgba( $kendo-chip-solid-bg, .24 ) !default;
89
+ $kendo-chip-solid-selected-bg: try-tint( $kendo-chip-base-bg, 76% ) !default;
90
90
  /// The base text color of selected solid chip.
91
91
  /// @group chip
92
92
  $kendo-chip-solid-selected-text: null !default;
@@ -121,7 +121,7 @@ $kendo-chip-outline-selected-text: $kendo-chip-outline-hover-text !default;
121
121
  // Chip List
122
122
 
123
123
  /// The sizes of the chip list.
124
- /// @group chip-list
124
+ /// @group chip
125
125
  $kendo-chip-list-sizes: (
126
126
  sm: map-get( $spacing, 1 ),
127
127
  md: map-get( $spacing, 2 ),
File without changes
@@ -11,3 +11,4 @@ $color-preview-no-color-text: $error !default;
11
11
  $color-preview-no-color-border: null !default;
12
12
 
13
13
  $color-preview-no-color-image: escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' version='1.1'><line x1='0' x2='20' y1='0' y2='20' stroke='#{$color-preview-no-color-text}' stroke-width='1'/></svg>") ) !default;
14
+ $color-preview-transparent-color-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAuSURBVHgBxYyxDQAwDMJIL+YT+DjtzFRliUfLcklqBCRT4eCTxbD6kdL2/LgYXqpvCbs3kBv/AAAAAElFTkSuQmCC") !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,8 +2,7 @@
2
2
 
3
3
 
4
4
  // Dependencies
5
- @import "../common/_index.scss";
6
- @import "../utils/_flex.scss";
5
+ @import "../input/_index.scss";
7
6
  @import "../button/_index.scss";
8
7
  @import "../colorpalette/_index.scss";
9
8
  @import "../colorgradient/_index.scss";
@@ -1,24 +1 @@
1
- // Colorpicker
2
- $colorpicker-font-family: $font-family !default;
3
- $colorpicker-font-size: $font-size !default;
4
- $colorpicker-line-height: $line-height !default;
5
-
6
- $colorpicker-bg: null !default;
7
- $colorpicker-text: $kendo-input-text !default;
8
- $colorpicker-border: $kendo-input-border !default;
9
- $colorpicker-gradient: null !default;
10
-
11
- $colorpicker-hovered-bg: null !default;
12
- $colorpicker-hovered-text: null !default;
13
- $colorpicker-hovered-border: $kendo-input-hover-border !default;
14
- $colorpicker-hovered-gradient: null !default;
15
-
16
- $colorpicker-focused-bg: null !default;
17
- $colorpicker-focused-text: null !default;
18
- $colorpicker-focused-border: $kendo-input-focus-border !default;
19
- $colorpicker-focused-gradient: null !default;
20
- $colorpicker-focused-shadow: null !default;
21
-
22
- $colorpicker-select-text: $subtle-text !default;
23
- $colorpicker-select-hovered-text: $kendo-input-text !default;
24
- $colorpicker-select-focused-text: $kendo-input-text !default;
1
+ // Color picker
@@ -1,31 +1 @@
1
- // Comboboxes
2
- $combobox-select-padding-x: ($kendo-button-padding-y / 2) !default;
3
- $combobox-select-padding-y: $kendo-button-padding-y !default;
4
-
5
- $combobox-bg: $kendo-input-bg !default;
6
- $combobox-text: $kendo-input-text !default;
7
- $combobox-border: $kendo-input-border !default;
8
-
9
- $combobox-hovered-bg: $kendo-input-hover-bg !default;
10
- $combobox-hovered-text: $kendo-input-hover-text !default;
11
- $combobox-hovered-border: $kendo-input-hover-border !default;
12
-
13
- $combobox-focused-bg: $kendo-input-focus-bg !default;
14
- $combobox-focused-text: $kendo-input-focus-text !default;
15
- $combobox-focused-border: $kendo-input-focus-border !default;
16
- $combobox-focused-shadow: $kendo-input-focus-shadow !default;
17
-
18
- $combobox-select-bg: null !default;
19
- $combobox-select-text: $subtle-text !default;
20
- $combobox-select-border: null !default;
21
- $combobox-select-gradient: null !default;
22
-
23
- $combobox-select-hovered-bg: null !default;
24
- $combobox-select-hovered-text: $kendo-input-text !default;
25
- $combobox-select-hovered-border: null !default;
26
- $combobox-select-hovered-gradient: null !default;
27
-
28
- $combobox-select-pressed-bg: null !default;
29
- $combobox-select-pressed-text: null !default;
30
- $combobox-select-pressed-border: null !default;
31
- $combobox-select-pressed-gradient: null !default;
1
+ // Combobox
@@ -2,11 +2,7 @@
2
2
 
3
3
 
4
4
  // Dependencies
5
- @import "../common/_index.scss";
6
5
  @import "../input/_index.scss";
7
- @import "../floating-label/_index.scss";
8
- @import "../popup/_index.scss";
9
- @import "../icons/_index.scss";
10
6
 
11
7
 
12
8
  // Component
@@ -1 +1 @@
1
- // Dateinput
1
+ // Date input
@@ -2,11 +2,9 @@
2
2
 
3
3
 
4
4
  // Dependencies
5
- @import "../common/_index.scss";
6
5
  @import "../input/_index.scss";
7
- @import "../floating-label/_index.scss";
8
6
  @import "../popup/_index.scss";
9
- @import "../icons/_index.scss";
7
+ @import "../calendar/_index.scss";
10
8
 
11
9
 
12
10
  // Component
@@ -2,11 +2,13 @@
2
2
 
3
3
 
4
4
  // Dependencies
5
- @import "../common/_index.scss";
6
5
  @import "../input/_index.scss";
7
- @import "../floating-label/_index.scss";
6
+ @import "../button/_index.scss";
8
7
  @import "../popup/_index.scss";
9
- @import "../icons/_index.scss";
8
+ @import "../list/_index.scss";
9
+ @import "../calendar/_index.scss";
10
+ @import "../timeselector/_index.scss";
11
+ @import "../action-buttons/_index.scss";
10
12
 
11
13
 
12
14
  // Component
@@ -1 +1,2 @@
1
- // Datetimepicker
1
+ // DateTime
2
+ $datetime-width: calc( #{$calendar-cell-size * 8} + #{$infinite-calendar-view-padding-x * 2}) !default;
@@ -1,15 +1 @@
1
1
  @import "~@progress/kendo-theme-default/scss/dropdowngrid/_layout.scss";
2
-
3
- @include exports("dropdowngrid/layout/material") {
4
-
5
- // TODO: Change to $line-height when Material line-height is changed.
6
- .k-grid-list > .k-outer-group-header {
7
- height: calc( #{$grid-header-padding-y * 2} + (#{$font-size} * (20 / 12)) );
8
- }
9
-
10
- .k-grid-list > .k-outer-group-header > strong {
11
- border-bottom-width: 1px;
12
- border-bottom-style: solid;
13
- }
14
-
15
- }
@@ -1,9 +1 @@
1
1
  @import "~@progress/kendo-theme-default/scss/dropdowngrid/_theme.scss";
2
-
3
- @include exports("dropdowngrid/theme/material") {
4
-
5
- .k-grid-list > .k-outer-group-header > strong {
6
- border-color: $grid-border;
7
- }
8
-
9
- }
File without changes
@@ -1,9 +1,9 @@
1
1
  @include exports( "fab/theme/material" ) {
2
2
 
3
3
  // Normal state
4
- @each $name, $color in $fab-theme-colors {
5
- .k-fab-#{$name} {
6
- @include box-shadow($fab-shadow);
4
+ @each $name, $color in $kendo-fab-theme-colors {
5
+ .k-fab-solid-#{$name} {
6
+ @include box-shadow($kendo-fab-shadow);
7
7
  border-color: $color;
8
8
  color: contrast-wcag( $color );
9
9
  background-color: $color;
@@ -11,41 +11,39 @@
11
11
  }
12
12
 
13
13
  // Hover state
14
- @each $name, $color in $fab-theme-colors {
15
- .k-state-hover.k-fab-#{$name},
16
- .k-state-hovered.k-fab-#{$name},
17
- .k-fab-#{$name}:hover {
14
+ @each $name, $color in $kendo-fab-theme-colors {
15
+ .k-hover.k-fab-solid-#{$name},
16
+ .k-fab-solid-#{$name}:hover {
18
17
  border-color: true-mix( #ffffff, $color, 8%);
19
18
  background-color: true-mix( #ffffff, $color, 8%);
20
19
  }
21
20
  }
22
21
 
23
22
  // Focus state
24
- @each $name, $color in $fab-theme-colors {
25
- .k-state-focus.k-fab-#{$name},
26
- .k-state-focused.k-fab-#{$name},
27
- .k-fab-#{$name}:focus {
23
+ @each $name, $color in $kendo-fab-theme-colors {
24
+ .k-focus.k-fab-solid-#{$name},
25
+ .k-fab-solid-#{$name}:focus {
28
26
  border-color: true-mix( #ffffff, $color, 12%);
29
27
  background-color: true-mix( #ffffff, $color, 12%);
30
28
  }
31
29
  }
32
30
 
33
31
  // Active state
34
- @each $name, $color in $fab-theme-colors {
35
- .k-state-active.k-fab-#{$name},
36
- .k-state-selected.k-fab-#{$name},
37
- .k-fab-#{$name}:active {
32
+ @each $name, $color in $kendo-fab-theme-colors {
33
+ .k-active.k-fab-solid-#{$name},
34
+ .k-selected.k-fab-solid-#{$name},
35
+ .k-fab-solid-#{$name}:active {
38
36
  border-color: true-mix( #ffffff, $color, 16%);
39
37
  background-color: true-mix( #ffffff, $color, 16%);
40
- box-shadow: $fab-active-shadow;
38
+ box-shadow: $kendo-fab-active-shadow;
41
39
  }
42
40
  }
43
41
 
44
42
  // Disabled state
45
- @each $name, $color in $fab-theme-colors {
46
- .k-state-disabled.k-fab-#{$name},
47
- .k-fab-#{$name}:disabled {
48
- @include box-shadow($fab-disabled-shadow);
43
+ @each $name, $color in $kendo-fab-theme-colors {
44
+ .k-disabled.k-fab-solid-#{$name},
45
+ .k-fab-solid-#{$name}:disabled {
46
+ @include box-shadow($kendo-fab-disabled-shadow);
49
47
  border-color: try-tint( try-shade( $body-bg, 12% ), 5);
50
48
  background-color: try-tint( try-shade( $body-bg, 12% ), 5);
51
49
  color: tint( $disabled-text, 4);
@@ -56,57 +54,55 @@
56
54
  // Items
57
55
  .k-fab-item-text {
58
56
  @include fill(
59
- $fab-item-text,
60
- $fab-item-bg,
61
- $fab-item-border
57
+ $kendo-fab-item-text,
58
+ $kendo-fab-item-bg,
59
+ $kendo-fab-item-border
62
60
  );
63
- @include box-shadow($fab-item-shadow);
61
+ @include box-shadow($kendo-fab-item-shadow);
64
62
  }
65
63
  .k-fab-item-icon {
66
64
  @include fill(
67
- $fab-item-icon-text,
68
- $fab-item-icon-bg,
69
- $fab-item-icon-border
65
+ $kendo-fab-item-icon-text,
66
+ $kendo-fab-item-icon-bg,
67
+ $kendo-fab-item-icon-border
70
68
  );
71
- @include box-shadow($fab-item-shadow);
69
+ @include box-shadow($kendo-fab-item-shadow);
72
70
  }
73
71
 
74
72
  // Hover state
75
- .k-fab-item.k-state-hover .k-fab-item-icon,
76
- .k-fab-item.k-state-hovered .k-fab-item-icon,
73
+ .k-fab-item.k-hover .k-fab-item-icon,
77
74
  .k-fab-item:hover .k-fab-item-icon {
78
- border-color: true-mix( #000000, $fab-item-icon-border, 8%);
79
- background-color: true-mix( #000000, $fab-item-icon-bg, 8%);
80
- color: true-mix( #000000, $fab-item-icon-text, 8%);
75
+ border-color: true-mix( #000000, $kendo-fab-item-icon-border, 8%);
76
+ background-color: true-mix( #000000, $kendo-fab-item-icon-bg, 8%);
77
+ color: true-mix( #000000, $kendo-fab-item-icon-text, 8%);
81
78
  }
82
79
 
83
80
  // Focus state
84
81
  .k-fab-item:focus .k-fab-item-icon,
85
- .k-fab-item.k-state-focus .k-fab-item-icon,
86
- .k-fab-item.k-state-focused .k-fab-item-icon {
87
- border-color: true-mix( #000000, $fab-item-icon-border, 12%);
88
- background-color: true-mix( #000000, $fab-item-icon-bg, 12%);
89
- color: true-mix( #000000, $fab-item-icon-text, 12%);
82
+ .k-fab-item.k-focus .k-fab-item-icon {
83
+ border-color: true-mix( #000000, $kendo-fab-item-icon-border, 12%);
84
+ background-color: true-mix( #000000, $kendo-fab-item-icon-bg, 12%);
85
+ color: true-mix( #000000, $kendo-fab-item-icon-text, 12%);
90
86
  }
91
87
 
92
88
  // Active state
93
- .k-fab-item.k-state-active .k-fab-item-icon,
89
+ .k-fab-item.k-active .k-fab-item-icon,
94
90
  .k-fab-item:active .k-fab-item-icon {
95
- @include box-shadow($fab-item-active-shadow);
96
- border-color: true-mix( #ffffff, $fab-item-icon-border, 12%);
97
- background-color: true-mix( #ffffff, $fab-item-icon-bg, 12%);
91
+ @include box-shadow($kendo-fab-item-active-shadow);
92
+ border-color: true-mix( #ffffff, $kendo-fab-item-icon-border, 12%);
93
+ background-color: true-mix( #ffffff, $kendo-fab-item-icon-bg, 12%);
98
94
  }
99
95
 
100
96
  // Disabled state
101
- .k-fab-item.k-state-disabled,
97
+ .k-fab-item.k-disabled,
102
98
  .k-fab-item:disabled {
103
99
  opacity: 1;
104
100
 
105
101
  .k-fab-item-text,
106
102
  .k-fab-item-icon {
107
- @include box-shadow($fab-item-disabled-shadow);
108
- background-color: try-tint( $fab-item-bg, 8 );
109
- color: try-tint( $fab-item-text, 8 );
103
+ @include box-shadow($kendo-fab-item-disabled-shadow);
104
+ background-color: try-tint( $kendo-fab-item-bg, 8 );
105
+ color: try-tint( $kendo-fab-item-text, 8 );
110
106
  }
111
107
  }
112
108