@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.
- package/README.md +5 -8
- package/dist/all.css +13810 -14911
- package/dist/all.scss +16868 -18431
- package/dist/material-dataviz-v4.scss +8 -0
- package/lib/swatches/material-dataviz-v4.json +51 -0
- package/package.json +3 -3
- package/scss/_variables.scss +2 -19
- package/scss/action-buttons/_layout.scss +14 -0
- package/scss/action-buttons/_theme.scss +5 -3
- package/scss/adaptive/_layout.scss +0 -11
- package/scss/all.scss +1 -150
- package/scss/appbar/_variables.scss +1 -1
- package/scss/autocomplete/_index.scss +1 -0
- package/scss/autocomplete/_layout.scss +0 -16
- package/scss/autocomplete/_variables.scss +0 -24
- package/scss/avatar/_variables.scss +18 -8
- package/scss/avatar/index.md +0 -0
- package/scss/breadcrumb/_variables.scss +1 -1
- package/scss/button/_index.scss +3 -1
- package/scss/button/_layout.scss +39 -17
- package/scss/button/_theme.scss +72 -126
- package/scss/button/_variables.scss +202 -130
- package/scss/button/index.md +0 -0
- package/scss/calendar/_index.scss +1 -0
- package/scss/calendar/_variables.scss +1 -1
- package/scss/chat/_variables.scss +4 -19
- package/scss/checkbox/_index.scss +2 -0
- package/scss/checkbox/_theme.scss +2 -9
- package/scss/checkbox/_variables.scss +148 -58
- package/scss/checkbox/index.md +0 -0
- package/scss/chip/_index.scss +1 -0
- package/scss/chip/_theme.scss +44 -0
- package/scss/chip/_variables.scss +142 -190
- package/scss/chip/index.md +0 -0
- package/scss/color-preview/_index.scss +11 -0
- package/scss/color-preview/_layout.scss +1 -0
- package/scss/color-preview/_theme.scss +1 -0
- package/scss/color-preview/_variables.scss +14 -0
- package/scss/coloreditor/_index.scss +14 -0
- package/scss/coloreditor/_layout.scss +1 -0
- package/scss/coloreditor/_theme.scss +1 -0
- package/scss/coloreditor/_variables.scss +27 -0
- package/scss/colorgradient/_index.scss +19 -0
- package/scss/colorgradient/_layout.scss +1 -0
- package/scss/colorgradient/_theme.scss +1 -0
- package/scss/colorgradient/_variables.scss +51 -0
- package/scss/colorgradient/images/alpha-slider-bgr.png +0 -0
- package/scss/colorgradient/images/alpha-slider-bgr.scss +3 -0
- package/scss/colorpalette/_index.scss +12 -0
- package/scss/colorpalette/_layout.scss +1 -0
- package/scss/colorpalette/_theme.scss +1 -0
- package/scss/colorpalette/_variables.scss +10 -0
- package/scss/colorpicker/_index.scss +3 -6
- package/scss/colorpicker/_layout.scss +0 -61
- package/scss/colorpicker/_theme.scss +0 -37
- package/scss/colorpicker/_variables.scss +1 -44
- package/scss/combobox/_index.scss +1 -0
- package/scss/combobox/_layout.scss +0 -16
- package/scss/combobox/_variables.scss +1 -33
- package/scss/dataviz/_index.scss +1 -0
- package/scss/dataviz/_variables.scss +4 -4
- package/scss/dateinput/_index.scss +11 -0
- package/scss/dateinput/_layout.scss +1 -0
- package/scss/dateinput/_theme.scss +1 -0
- package/scss/dateinput/_variables.scss +1 -0
- package/scss/datepicker/_index.scss +13 -0
- package/scss/datepicker/_layout.scss +1 -0
- package/scss/datepicker/_theme.scss +1 -0
- package/scss/datepicker/_variables.scss +1 -0
- package/scss/{datetime → daterangepicker}/_index.scss +1 -2
- package/scss/daterangepicker/_layout.scss +1 -0
- package/scss/daterangepicker/_theme.scss +1 -0
- package/scss/daterangepicker/_variables.scss +2 -0
- package/scss/datetimepicker/_index.scss +17 -0
- package/scss/datetimepicker/_layout.scss +1 -0
- package/scss/datetimepicker/_theme.scss +1 -0
- package/scss/datetimepicker/_variables.scss +2 -0
- package/scss/dialog/_layout.scss +0 -8
- package/scss/drawer/_index.scss +1 -0
- package/scss/dropdowngrid/_layout.scss +0 -14
- package/scss/dropdowngrid/_theme.scss +0 -8
- package/scss/dropdowngrid/index.md +0 -0
- package/scss/dropdownlist/_index.scss +1 -0
- package/scss/dropdownlist/_layout.scss +0 -24
- package/scss/dropdownlist/_theme.scss +0 -31
- package/scss/dropdownlist/_variables.scss +7 -7
- package/scss/dropdowntree/_variables.scss +2 -4
- package/scss/editor/_layout.scss +1 -12
- package/scss/editor/_theme.scss +9 -0
- package/scss/editor/_variables.scss +10 -2
- package/scss/expansion-panel/_index.scss +1 -0
- package/scss/fab/_layout.scss +8 -0
- package/scss/fab/_theme.scss +52 -68
- package/scss/fab/_variables.scss +129 -71
- package/scss/fab/index.md +0 -0
- package/scss/filemanager/_variables.scss +1 -1
- package/scss/filter/_index.scss +1 -1
- package/scss/filter/_layout.scss +0 -23
- package/scss/filter/_variables.scss +1 -1
- package/scss/floating-label/_layout.scss +0 -1
- package/scss/floating-label/_theme.scss +0 -1
- package/scss/floating-label/_variables.scss +3 -3
- package/scss/forms/_index.scss +1 -1
- package/scss/forms/_layout.scss +0 -37
- package/scss/gantt/_index.scss +1 -1
- package/scss/grid/_index.scss +2 -1
- package/scss/grid/_layout.scss +7 -26
- package/scss/grid/_theme.scss +6 -6
- package/scss/grid/_variables.scss +11 -13
- package/scss/imageeditor/_variables.scss +1 -0
- package/scss/index.scss +157 -0
- package/scss/input/_index.scss +1 -1
- package/scss/input/_layout.scss +30 -1
- package/scss/input/_variables.scss +118 -92
- package/scss/list/_index.scss +12 -0
- package/scss/list/_layout.scss +1 -0
- package/scss/list/_theme.scss +1 -0
- package/scss/list/_variables.scss +248 -0
- package/scss/list/index.md +0 -0
- package/scss/listbox/_index.scss +2 -0
- package/scss/listbox/_variables.scss +5 -5
- package/scss/map/_variables.scss +1 -1
- package/scss/menu/_index.scss +2 -0
- package/scss/menu/_theme.scss +8 -8
- package/scss/menu/_variables.scss +125 -36
- package/scss/multiselect/_index.scss +2 -0
- package/scss/multiselect/_layout.scss +0 -60
- package/scss/multiselect/_theme.scss +0 -47
- package/scss/multiselect/_variables.scss +0 -44
- package/scss/numerictextbox/_layout.scss +0 -24
- package/scss/numerictextbox/_variables.scss +0 -31
- package/scss/orgchart/_variables.scss +2 -2
- package/scss/pager/_index.scss +1 -0
- package/scss/pager/_variables.scss +3 -3
- package/scss/panelbar/_index.scss +1 -0
- package/scss/panelbar/_variables.scss +5 -0
- package/scss/pdf-viewer/_variables.scss +3 -6
- package/scss/pivotgrid/_index.scss +1 -0
- package/scss/pivotgrid/_layout.scss +0 -54
- package/scss/pivotgrid/_theme.scss +0 -140
- package/scss/pivotgrid/_variables.scss +7 -10
- package/scss/popup/_index.scss +0 -4
- package/scss/popup/_layout.scss +0 -50
- package/scss/popup/_theme.scss +0 -56
- package/scss/popup/_variables.scss +2 -7
- package/scss/radio/_index.scss +2 -0
- package/scss/radio/_theme.scss +2 -9
- package/scss/radio/_variables.scss +134 -52
- package/scss/radio/index.md +0 -0
- package/scss/scheduler/_index.scss +1 -1
- package/scss/scheduler/_layout.scss +0 -29
- package/scss/scheduler/_variables.scss +2 -2
- package/scss/scrollview/_variables.scss +4 -4
- package/scss/searchbox/_layout.scss +0 -9
- package/scss/searchbox/_variables.scss +0 -20
- package/scss/slider/_theme.scss +0 -9
- package/scss/slider/_variables.scss +9 -9
- package/scss/spreadsheet/_index.scss +2 -1
- package/scss/spreadsheet/_layout.scss +0 -13
- package/scss/spreadsheet/_theme.scss +18 -18
- package/scss/switch/_index.scss +0 -2
- package/scss/switch/_layout.scss +7 -7
- package/scss/switch/_theme.scss +6 -2
- package/scss/switch/_variables.scss +191 -83
- package/scss/switch/index.md +0 -0
- package/scss/table/_index.scss +19 -0
- package/scss/table/_layout.scss +1 -0
- package/scss/table/_theme.scss +1 -0
- package/scss/table/_variables.scss +141 -0
- package/scss/tabstrip/_index.scss +1 -0
- package/scss/tabstrip/_variables.scss +3 -3
- package/scss/taskboard/_variables.scss +0 -2
- package/scss/textarea/_layout.scss +0 -112
- package/scss/textarea/_variables.scss +0 -53
- package/scss/textbox/_layout.scss +0 -14
- package/scss/textbox/_variables.scss +0 -1
- package/scss/timeline/_layout.scss +2 -2
- package/scss/timeline/_variables.scss +5 -5
- package/scss/timepicker/_index.scss +15 -0
- package/scss/timepicker/_layout.scss +1 -0
- package/scss/timepicker/_theme.scss +1 -0
- package/scss/timepicker/_variables.scss +1 -0
- package/scss/timeselector/_index.scss +13 -0
- package/scss/timeselector/_layout.scss +1 -0
- package/scss/timeselector/_theme.scss +19 -0
- package/scss/timeselector/_variables.scss +32 -0
- package/scss/toolbar/_index.scss +1 -0
- package/scss/toolbar/_layout.scss +17 -6
- package/scss/toolbar/_theme.scss +3 -13
- package/scss/toolbar/_variables.scss +3 -1
- package/scss/treeview/_theme.scss +32 -27
- package/scss/treeview/_variables.scss +125 -46
- package/scss/utils/_border.scss +9 -0
- 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
- package/scss/colorpicker/images/alpha-slider-bgr-reversed.png +0 -0
- package/scss/colorpicker/images/alpha-slider-bgr-reversed.scss +0 -3
- package/scss/colorpicker/images/alpha-slider-bgr.png +0 -0
- package/scss/colorpicker/images/alpha-slider-bgr.scss +0 -3
- package/scss/datetime/_layout.scss +0 -74
- package/scss/datetime/_theme.scss +0 -64
- package/scss/datetime/_variables.scss +0 -53
package/scss/button/_theme.scss
CHANGED
|
@@ -2,170 +2,116 @@
|
|
|
2
2
|
|
|
3
3
|
@include exports( "button/theme/material" ) {
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
|
|
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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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
|
-
|
|
57
|
-
|
|
58
|
-
|
|
60
|
+
// Disabled state
|
|
61
|
+
&:disabled,
|
|
62
|
+
&.k-disabled {
|
|
63
|
+
color: $kendo-button-disabled-text;
|
|
64
|
+
}
|
|
59
65
|
}
|
|
60
66
|
}
|
|
61
67
|
|
|
62
68
|
|
|
63
|
-
//
|
|
64
|
-
|
|
65
|
-
|
|
69
|
+
// Link button
|
|
70
|
+
@each $name, $color in $kendo-button-theme-colors {
|
|
71
|
+
.k-button-link-#{$name} {
|
|
66
72
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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-
|
|
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
|
|
4
|
-
/// @group
|
|
5
|
-
$button-border-width:
|
|
6
|
-
|
|
7
|
-
///
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
///
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
$button-padding-
|
|
16
|
-
$button-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
$button-padding-
|
|
21
|
-
$button-padding-y-sm: $
|
|
22
|
-
$button-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
///
|
|
31
|
-
|
|
32
|
-
$button-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
///
|
|
37
|
-
/// @group
|
|
38
|
-
$button-
|
|
39
|
-
$button-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
///
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
///
|
|
48
|
-
/// @group
|
|
49
|
-
$button-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
$button-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
///
|
|
56
|
-
|
|
57
|
-
$
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
/// The
|
|
62
|
-
/// @group
|
|
63
|
-
$button-
|
|
64
|
-
/// The
|
|
65
|
-
/// @group
|
|
66
|
-
$button-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
///
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
///
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
///
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
/// The
|
|
84
|
-
/// @group
|
|
85
|
-
$button-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
$button-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
$
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
$
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
$
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
$
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
$
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
$
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
$button-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
$
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
$
|
|
131
|
-
|
|
132
|
-
|
|
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
|
|
@@ -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-
|
|
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-
|
|
36
|
-
$chat-
|
|
37
|
-
|
|
38
|
-
$chat-toolbar-
|
|
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;
|