@progress/kendo-theme-material 4.43.1-dev.5 → 4.43.1-dev.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/dist/all.css +1284 -442
- package/dist/all.scss +481 -480
- package/modules/@progress/kendo-theme-default/package.json +2 -2
- package/modules/@progress/kendo-theme-default/scss/button/_layout.scss +54 -91
- package/modules/@progress/kendo-theme-default/scss/button/_theme.scss +177 -112
- package/modules/@progress/kendo-theme-default/scss/button/_variables.scss +74 -11
- package/modules/@progress/kendo-theme-default/scss/chat/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/colorgradient/_layout.scss +0 -4
- package/modules/@progress/kendo-theme-default/scss/common/_loading.scss +1 -13
- package/modules/@progress/kendo-theme-default/scss/grid/_layout.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/grid/_theme.scss +0 -6
- package/modules/@progress/kendo-theme-default/scss/listbox/_layout.scss +9 -0
- package/modules/@progress/kendo-theme-default/scss/mediaplayer/_layout.scss +8 -1
- package/modules/@progress/kendo-theme-default/scss/multiselect/_layout.scss +2 -2
- package/modules/@progress/kendo-theme-default/scss/slider/_layout.scss +35 -143
- package/modules/@progress/kendo-theme-default/scss/slider/_theme.scss +0 -6
- package/modules/@progress/kendo-theme-default/scss/spreadsheet/_layout.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/tabstrip/_layout.scss +5 -1
- package/modules/@progress/kendo-theme-default/scss/textarea/_layout.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/toolbar/_layout.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/treelist/_layout.scss +4 -0
- package/modules/@progress/kendo-theme-default/scss/treeview/_layout.scss +12 -18
- package/modules/@progress/kendo-theme-default/scss/window/_layout.scss +2 -2
- package/package.json +3 -3
- package/scss/action-buttons/_theme.scss +1 -2
- package/scss/button/_layout.scss +29 -4
- package/scss/button/_theme.scss +43 -56
- package/scss/button/_variables.scss +77 -14
- package/scss/maskedtextbox/_layout.scss +11 -0
- package/scss/toolbar/_theme.scss +2 -4
package/scss/button/_theme.scss
CHANGED
|
@@ -2,36 +2,36 @@
|
|
|
2
2
|
|
|
3
3
|
@include exports( "button/theme/material" ) {
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
|
|
17
|
-
|
|
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
|
-
|
|
44
|
-
|
|
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
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
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-
|
|
109
|
+
.k-button-group-link,
|
|
123
110
|
.k-button-group-outline {
|
|
124
111
|
@include box-shadow( none );
|
|
125
112
|
}
|
|
@@ -1,29 +1,68 @@
|
|
|
1
1
|
// Button
|
|
2
2
|
|
|
3
|
-
/// Width of border around
|
|
3
|
+
/// Width of the border around the button.
|
|
4
4
|
/// @group button
|
|
5
|
-
$button-border-width:
|
|
6
|
-
|
|
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-
|
|
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
|
-
///
|
|
18
|
+
/// Vertical padding of the button.
|
|
11
19
|
/// @group button
|
|
12
|
-
$button-padding-
|
|
13
|
-
|
|
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-
|
|
32
|
+
$button-font-size-sm: null !default;
|
|
33
|
+
$button-font-size-md: null !default;
|
|
34
|
+
$button-font-size-lg: null !default;
|
|
19
35
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
$button-line-height
|
|
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
|
+
/// Theme colors map for the button.
|
|
52
|
+
/// @group button
|
|
53
|
+
$button-theme-colors: (
|
|
54
|
+
"primary": map-get( $theme-colors, primary ),
|
|
55
|
+
"secondary": map-get( $theme-colors, secondary ),
|
|
56
|
+
"tertiary": map-get( $theme-colors, tertiary ),
|
|
57
|
+
"info": map-get( $theme-colors, info ),
|
|
58
|
+
"success": map-get( $theme-colors, success ),
|
|
59
|
+
"warning": map-get( $theme-colors, warning ),
|
|
60
|
+
"error": map-get( $theme-colors, error ),
|
|
61
|
+
"dark": map-get( $theme-colors, dark ),
|
|
62
|
+
"light": map-get( $theme-colors, light ),
|
|
63
|
+
"inverse": map-get( $theme-colors, inverse )
|
|
64
|
+
) !default;
|
|
65
|
+
|
|
27
66
|
/// The background of the buttons.
|
|
28
67
|
/// @group button
|
|
29
68
|
$button-bg: $base-bg !default;
|
|
@@ -88,7 +127,7 @@ $button-focused-shadow: null !default;
|
|
|
88
127
|
// Disabled button
|
|
89
128
|
$button-disabled-bg: try-shade( $body-bg, 12% ) !default;
|
|
90
129
|
$button-disabled-text: $disabled-text !default;
|
|
91
|
-
$button-disabled-border:
|
|
130
|
+
$button-disabled-border: $button-disabled-bg !default;
|
|
92
131
|
$button-disabled-gradient: null !default;
|
|
93
132
|
$button-disabled-shadow: none !default;
|
|
94
133
|
|
|
@@ -120,7 +159,31 @@ $primary-button-selected-shadow: null !default;
|
|
|
120
159
|
|
|
121
160
|
$primary-button-focused-shadow: null !default;
|
|
122
161
|
|
|
123
|
-
$button-
|
|
162
|
+
$solid-button-gradient: null !default;
|
|
163
|
+
$solid-button-shade-function: "try-shade";
|
|
164
|
+
$solid-button-shade-text-amount: null !default;
|
|
165
|
+
$solid-button-shade-bg-amount: 0 !default;
|
|
166
|
+
$solid-button-shade-border-amount: 0 !default;
|
|
167
|
+
$solid-button-hover-shade-text-amount: null !default;
|
|
168
|
+
$solid-button-hover-shade-bg-amount: null !default;
|
|
169
|
+
$solid-button-hover-shade-border-amount: null !default;
|
|
170
|
+
$solid-button-active-shade-text-amount: null !default;
|
|
171
|
+
$solid-button-active-shade-bg-amount: null !default;
|
|
172
|
+
$solid-button-active-shade-border-amount: null !default;
|
|
173
|
+
$solid-button-shadow: null !default;
|
|
174
|
+
$solid-button-shadow-blur: null !default;
|
|
175
|
+
$solid-button-shadow-spread: null !default;
|
|
176
|
+
$solid-button-shadow-opacity: null !default;
|
|
177
|
+
|
|
178
|
+
$outline-button-shadow: null !default;
|
|
179
|
+
$outline-button-shadow-blur: null !default;
|
|
180
|
+
$outline-button-shadow-spread: null !default;
|
|
181
|
+
$outline-button-shadow-opacity: null !default;
|
|
182
|
+
|
|
183
|
+
$link-button-shadow: null !default;
|
|
184
|
+
$link-button-shadow-blur: null !default;
|
|
185
|
+
$link-button-shadow-spread: null !default;
|
|
186
|
+
$link-button-shadow-opacity: null !default;
|
|
124
187
|
|
|
125
188
|
$flat-button-hover-opacity: .08 !default;
|
|
126
189
|
$flat-button-focus-opacity: .12 !default;
|
|
@@ -1 +1,12 @@
|
|
|
1
1
|
@import "../../modules/@progress/kendo-theme-default/scss/maskedtextbox/_layout.scss";
|
|
2
|
+
|
|
3
|
+
@include exports( "maskedtextbox/layout/material" ) {
|
|
4
|
+
|
|
5
|
+
// Masked textbox
|
|
6
|
+
.k-maskedtextbox {
|
|
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
|
+
}
|
|
11
|
+
|
|
12
|
+
}
|
package/scss/toolbar/_theme.scss
CHANGED
|
@@ -4,13 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
.k-toolbar {
|
|
6
6
|
|
|
7
|
-
.k-button
|
|
8
|
-
.k-button-secondary {
|
|
7
|
+
.k-button {
|
|
9
8
|
background-color: try-shade( $button-bg );
|
|
10
9
|
}
|
|
11
10
|
|
|
12
|
-
.k-button-primary
|
|
13
|
-
.k-button.k-primary {
|
|
11
|
+
.k-button-primary {
|
|
14
12
|
background-color: $primary-button-bg;
|
|
15
13
|
|
|
16
14
|
&:disabled,
|