@progress/kendo-theme-material 5.0.0-beta.2 → 5.0.0-beta.6
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.
- package/README.md +5 -8
- package/dist/all.css +2678 -2972
- package/dist/all.scss +4147 -3926
- package/dist/material-dataviz-v4.scss +8 -0
- package/lib/swatches/material-dataviz-v4.json +51 -0
- package/package.json +3 -3
- package/scss/appbar/_variables.scss +1 -1
- package/scss/autocomplete/_variables.scss +0 -19
- package/scss/button/_layout.scss +26 -14
- package/scss/button/_theme.scss +28 -120
- package/scss/button/_variables.scss +55 -30
- package/scss/chat/_variables.scss +0 -7
- package/scss/checkbox/_index.scss +1 -1
- package/scss/checkbox/_theme.scss +2 -9
- package/scss/checkbox/_variables.scss +68 -73
- package/scss/chip/_variables.scss +32 -17
- package/scss/coloreditor/_variables.scss +3 -3
- package/scss/combobox/_variables.scss +1 -31
- package/scss/dataviz/_variables.scss +4 -4
- package/scss/fab/_theme.scss +42 -46
- package/scss/fab/_variables.scss +129 -73
- package/scss/fab/index.md +0 -0
- package/scss/filter/_variables.scss +1 -1
- package/scss/grid/_layout.scss +0 -8
- package/scss/grid/_variables.scss +7 -7
- package/scss/imageeditor/_variables.scss +1 -0
- package/scss/index.scss +1 -0
- package/scss/input/_variables.scss +42 -18
- package/scss/list/_index.scss +1 -0
- package/scss/list/_variables.scss +27 -27
- package/scss/listbox/_variables.scss +5 -5
- package/scss/menu/_variables.scss +55 -46
- package/scss/orgchart/_variables.scss +2 -2
- package/scss/pager/_variables.scss +1 -1
- package/scss/pdf-viewer/_variables.scss +2 -5
- package/scss/pivotgrid/_layout.scss +0 -49
- package/scss/pivotgrid/_theme.scss +0 -139
- package/scss/radio/_index.scss +1 -1
- package/scss/radio/_theme.scss +2 -9
- package/scss/radio/_variables.scss +69 -88
- package/scss/scheduler/_layout.scss +0 -16
- package/scss/switch/_variables.scss +3 -6
- package/scss/table/_variables.scss +9 -9
- package/scss/toolbar/_index.scss +1 -0
- package/scss/toolbar/_layout.scss +17 -1
- package/scss/toolbar/_theme.scss +12 -0
- package/scss/toolbar/_variables.scss +2 -0
- package/scss/treeview/_theme.scss +31 -26
- package/scss/treeview/_variables.scss +68 -85
- package/scss/virtual-scroller/_index.scss +10 -0
- package/scss/virtual-scroller/_layout.scss +1 -0
- package/scss/virtual-scroller/_theme.scss +1 -0
- package/scss/virtual-scroller/_variables.scss +1 -0
|
@@ -1,122 +1,134 @@
|
|
|
1
1
|
// Checkbox
|
|
2
2
|
|
|
3
|
-
///
|
|
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:
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
///
|
|
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
|
-
///
|
|
29
|
+
/// Color of checkbox.
|
|
22
30
|
/// @group checkbox
|
|
23
|
-
$kendo-checkbox-text:
|
|
24
|
-
///
|
|
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
|
-
///
|
|
36
|
+
/// Background color of hovered checkbox.
|
|
29
37
|
/// @group checkbox
|
|
30
38
|
$kendo-checkbox-hover-bg: null !default;
|
|
31
|
-
///
|
|
39
|
+
/// Color of hovered checkbox.
|
|
32
40
|
/// @group checkbox
|
|
33
41
|
$kendo-checkbox-hover-text: null !default;
|
|
34
|
-
///
|
|
42
|
+
/// Border color of hovered checkbox.
|
|
35
43
|
/// @group checkbox
|
|
36
|
-
$kendo-checkbox-hover-border:
|
|
44
|
+
$kendo-checkbox-hover-border: null !default;
|
|
37
45
|
|
|
38
|
-
///
|
|
46
|
+
/// Background color of checked checkbox.
|
|
39
47
|
/// @group checkbox
|
|
40
48
|
$kendo-checkbox-checked-bg: $primary !default;
|
|
41
|
-
///
|
|
49
|
+
/// Color of checked checkbox.
|
|
42
50
|
/// @group checkbox
|
|
43
51
|
$kendo-checkbox-checked-text: contrast-wcag( $kendo-checkbox-checked-bg ) !default;
|
|
44
|
-
///
|
|
52
|
+
/// Border color of checked checkbox.
|
|
45
53
|
/// @group checkbox
|
|
46
54
|
$kendo-checkbox-checked-border: $kendo-checkbox-checked-bg !default;
|
|
47
55
|
|
|
48
|
-
///
|
|
56
|
+
/// Background color of indeterminate checkbox.
|
|
49
57
|
/// @group checkbox
|
|
50
58
|
$kendo-checkbox-indeterminate-bg: $kendo-checkbox-checked-bg !default;
|
|
51
|
-
///
|
|
59
|
+
/// Color of indeterminate checkbox.
|
|
52
60
|
/// @group checkbox
|
|
53
61
|
$kendo-checkbox-indeterminate-text: $kendo-checkbox-checked-text !default;
|
|
54
|
-
///
|
|
62
|
+
/// Border color of indeterminate checkbox.
|
|
55
63
|
/// @group checkbox
|
|
56
64
|
$kendo-checkbox-indeterminate-border: $kendo-checkbox-checked-border !default;
|
|
57
65
|
|
|
58
|
-
///
|
|
66
|
+
/// Border color of focused checkbox.
|
|
59
67
|
/// @group checkbox
|
|
60
|
-
$kendo-checkbox-focus-border:
|
|
61
|
-
///
|
|
68
|
+
$kendo-checkbox-focus-border: null !default;
|
|
69
|
+
/// Box shadow of focused checkbox.
|
|
62
70
|
/// @group checkbox
|
|
63
|
-
$kendo-checkbox-focus-shadow:
|
|
64
|
-
///
|
|
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:
|
|
67
|
-
///
|
|
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:
|
|
77
|
+
$kendo-checkbox-focus-checked-shadow: null !default;
|
|
70
78
|
|
|
71
|
-
///
|
|
79
|
+
/// Background color of disabled checkbox.
|
|
72
80
|
/// @group checkbox
|
|
73
81
|
$kendo-checkbox-disabled-bg: null !default;
|
|
74
|
-
///
|
|
82
|
+
/// Color of disabled checkbox.
|
|
75
83
|
/// @group checkbox
|
|
76
84
|
$kendo-checkbox-disabled-text: null !default;
|
|
77
|
-
///
|
|
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
|
-
|
|
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
|
-
///
|
|
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
|
-
///
|
|
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
|
-
///
|
|
100
|
+
/// Background color of invalid checkbox.
|
|
92
101
|
/// @group checkbox
|
|
93
102
|
$kendo-checkbox-invalid-bg: null !default;
|
|
94
|
-
///
|
|
103
|
+
/// Color of invalid checkbox.
|
|
95
104
|
/// @group checkbox
|
|
96
105
|
$kendo-checkbox-invalid-text: $invalid-text !default;
|
|
97
|
-
///
|
|
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
|
-
///
|
|
113
|
+
/// Type of checkbox indicator.
|
|
105
114
|
/// @group checkbox
|
|
106
|
-
$kendo-checkbox-
|
|
115
|
+
$kendo-checkbox-indicator-type: image !default;
|
|
107
116
|
|
|
108
|
-
///
|
|
117
|
+
/// Glyph font family of checkbox indicator.
|
|
109
118
|
/// @group checkbox
|
|
110
119
|
$kendo-checkbox-glyph-font-family: "WebComponentsIcons", monospace !default;
|
|
111
|
-
|
|
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
|
-
///
|
|
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
|
-
///
|
|
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
|
-
///
|
|
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-
|
|
139
|
-
///
|
|
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
|
-
///
|
|
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
|
-
///
|
|
158
|
+
/// Background color of checkbox ripple.
|
|
153
159
|
/// @group checkbox
|
|
154
|
-
$kendo-checkbox-ripple-
|
|
155
|
-
|
|
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: .
|
|
163
|
+
$kendo-checkbox-ripple-opacity: .2 !default;
|
|
@@ -9,28 +9,28 @@ $kendo-chip-spacing: map-get( $spacing, 2 );
|
|
|
9
9
|
|
|
10
10
|
/// Horizontal padding of the chip.
|
|
11
11
|
/// @group chip
|
|
12
|
-
$kendo-chip-padding-x: map-get( $spacing,
|
|
13
|
-
$kendo-chip-padding-x-sm:
|
|
14
|
-
$kendo-chip-padding-x-md:
|
|
15
|
-
$kendo-chip-padding-x-lg:
|
|
12
|
+
$kendo-chip-padding-x: map-get( $spacing, 1 ) !default;
|
|
13
|
+
$kendo-chip-padding-x-sm: map-get( $spacing, 1 ) !default;
|
|
14
|
+
$kendo-chip-padding-x-md: map-get( $spacing, 1 ) !default;
|
|
15
|
+
$kendo-chip-padding-x-lg: map-get( $spacing, 1 ) !default;
|
|
16
16
|
|
|
17
17
|
/// Vertical padding of the chip.
|
|
18
18
|
/// @group chip
|
|
19
|
-
$kendo-chip-padding-y:
|
|
20
|
-
$kendo-chip-padding-y-sm: $
|
|
21
|
-
$kendo-chip-padding-y-md:
|
|
22
|
-
$kendo-chip-padding-y-lg: $
|
|
19
|
+
$kendo-chip-padding-y: map-get( $spacing, 1 ) !default;
|
|
20
|
+
$kendo-chip-padding-y-sm: map-get( $spacing, 1 ) - map-get( $spacing, thin ) !default;
|
|
21
|
+
$kendo-chip-padding-y-md: map-get( $spacing, 1 ) !default;
|
|
22
|
+
$kendo-chip-padding-y-lg: map-get( $spacing, 1 ) + map-get( $spacing, thin ) !default;
|
|
23
23
|
|
|
24
24
|
/// Font sizes of the chip.
|
|
25
25
|
/// @group chip
|
|
26
|
-
$kendo-chip-font-size: $font-size !default;
|
|
27
|
-
$kendo-chip-font-size-sm: $font-size-
|
|
28
|
-
$kendo-chip-font-size-md: $font-size !default;
|
|
29
|
-
$kendo-chip-font-size-lg: $font-size-
|
|
26
|
+
$kendo-chip-font-size: $font-size-md !default;
|
|
27
|
+
$kendo-chip-font-size-sm: $font-size-md !default;
|
|
28
|
+
$kendo-chip-font-size-md: $font-size-md !default;
|
|
29
|
+
$kendo-chip-font-size-lg: $font-size-md !default;
|
|
30
30
|
|
|
31
31
|
/// Line heights of the chip that are connected to the $font-size.
|
|
32
32
|
/// @group chip
|
|
33
|
-
$kendo-chip-line-height:
|
|
33
|
+
$kendo-chip-line-height: (20 / 14) !default;
|
|
34
34
|
$kendo-chip-line-height-sm: $kendo-chip-line-height !default;
|
|
35
35
|
$kendo-chip-line-height-md: $kendo-chip-line-height !default;
|
|
36
36
|
$kendo-chip-line-height-lg: $kendo-chip-line-height !default;
|
|
@@ -38,9 +38,24 @@ $kendo-chip-line-height-lg: $kendo-chip-line-height !default;
|
|
|
38
38
|
/// Sizes map for the chip.
|
|
39
39
|
/// @group chip
|
|
40
40
|
$kendo-chip-sizes: (
|
|
41
|
-
sm: (
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
sm: (
|
|
42
|
+
padding-x: $kendo-chip-padding-x-sm,
|
|
43
|
+
padding-y: $kendo-chip-padding-y-sm,
|
|
44
|
+
font-size: $kendo-chip-font-size-sm,
|
|
45
|
+
line-height: $kendo-chip-line-height-sm
|
|
46
|
+
),
|
|
47
|
+
md: (
|
|
48
|
+
padding-x: $kendo-chip-padding-x-md,
|
|
49
|
+
padding-y: $kendo-chip-padding-y-md,
|
|
50
|
+
font-size: $kendo-chip-font-size-md,
|
|
51
|
+
line-height: $kendo-chip-line-height-md
|
|
52
|
+
),
|
|
53
|
+
lg: (
|
|
54
|
+
padding-x: $kendo-chip-padding-x-lg,
|
|
55
|
+
padding-y: $kendo-chip-padding-y-lg,
|
|
56
|
+
font-size: $kendo-chip-font-size-lg,
|
|
57
|
+
line-height: $kendo-chip-line-height-lg
|
|
58
|
+
)
|
|
44
59
|
) !default;
|
|
45
60
|
|
|
46
61
|
/// The base background of the chip.
|
|
@@ -121,7 +136,7 @@ $kendo-chip-outline-selected-text: $kendo-chip-outline-hover-text !default;
|
|
|
121
136
|
// Chip List
|
|
122
137
|
|
|
123
138
|
/// The sizes of the chip list.
|
|
124
|
-
/// @group chip
|
|
139
|
+
/// @group chip
|
|
125
140
|
$kendo-chip-list-sizes: (
|
|
126
141
|
sm: map-get( $spacing, 1 ),
|
|
127
142
|
md: map-get( $spacing, 2 ),
|
|
@@ -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:
|
|
22
|
-
$coloreditor-color-preview-width:
|
|
23
|
-
$coloreditor-color-preview-height:
|
|
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;
|
|
@@ -1,31 +1 @@
|
|
|
1
|
-
//
|
|
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
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Chart
|
|
2
2
|
/// The first base series color and its light and dark shades.
|
|
3
3
|
/// @group charts
|
|
4
|
-
$series-a: get-base-hue(
|
|
4
|
+
$series-a: get-base-hue( purple, 500 ) !default;
|
|
5
5
|
$series-a-dark: mix(black, $series-a, 25%) !default;
|
|
6
6
|
$series-a-darker: mix(black, $series-a, 50%) !default;
|
|
7
7
|
$series-a-light: mix(white, $series-a, 25%) !default;
|
|
@@ -17,7 +17,7 @@ $series-b-lighter: mix(white, $series-b, 50%) !default;
|
|
|
17
17
|
|
|
18
18
|
/// The third base series color and its light and dark shades.
|
|
19
19
|
/// @group charts
|
|
20
|
-
$series-c: get-base-hue(
|
|
20
|
+
$series-c: get-base-hue( teal, 500 ) !default;
|
|
21
21
|
$series-c-dark: mix(black, $series-c, 25%) !default;
|
|
22
22
|
$series-c-darker: mix(black, $series-c, 50%) !default;
|
|
23
23
|
$series-c-light: mix(white, $series-c, 25%) !default;
|
|
@@ -25,7 +25,7 @@ $series-c-lighter: mix(white, $series-c, 50%) !default;
|
|
|
25
25
|
|
|
26
26
|
/// The fourth base series color and its light and dark shades.
|
|
27
27
|
/// @group charts
|
|
28
|
-
$series-d: get-base-hue(
|
|
28
|
+
$series-d: get-base-hue( yellow, 500 ) !default;
|
|
29
29
|
$series-d-dark: mix(black, $series-d, 25%) !default;
|
|
30
30
|
$series-d-darker: mix(black, $series-d, 50%) !default;
|
|
31
31
|
$series-d-light: mix(white, $series-d, 25%) !default;
|
|
@@ -33,7 +33,7 @@ $series-d-lighter: mix(white, $series-d, 50%) !default;
|
|
|
33
33
|
|
|
34
34
|
/// The fifth base series color and its light and dark shades.
|
|
35
35
|
/// @group charts
|
|
36
|
-
$series-e: get-base-hue(
|
|
36
|
+
$series-e: get-base-hue( red, 500 ) !default;
|
|
37
37
|
$series-e-dark: mix(black, $series-e, 25%) !default;
|
|
38
38
|
$series-e-darker: mix(black, $series-e, 50%) !default;
|
|
39
39
|
$series-e-light: mix(white, $series-e, 25%) !default;
|
package/scss/fab/_theme.scss
CHANGED
|
@@ -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-
|
|
16
|
-
.k-
|
|
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-
|
|
26
|
-
.k-
|
|
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-
|
|
36
|
-
.k-
|
|
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-
|
|
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-
|
|
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-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
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-
|
|
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-
|
|
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
|
|