@progress/kendo-theme-material 5.4.2-dev.3 → 5.4.2-dev.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.
- package/dist/all.css +168 -64
- package/dist/all.scss +218 -103
- package/lib/swatches/material-aqua-dark.json +1 -1
- package/lib/swatches/material-arctic.json +1 -1
- package/lib/swatches/material-burnt-teal.json +1 -1
- package/lib/swatches/material-dataviz-v4.json +1 -1
- package/lib/swatches/material-eggplant.json +1 -1
- package/lib/swatches/material-lime-dark.json +1 -1
- package/lib/swatches/material-lime.json +1 -1
- package/lib/swatches/material-main-dark.json +1 -1
- package/lib/swatches/material-main.json +1 -1
- package/lib/swatches/material-nova.json +1 -1
- package/lib/swatches/material-pacific-dark.json +1 -1
- package/lib/swatches/material-pacific.json +1 -1
- package/lib/swatches/material-sky-dark.json +1 -1
- package/lib/swatches/material-sky.json +1 -1
- package/lib/swatches/material-smoke.json +1 -1
- package/package.json +3 -3
- package/scss/input/_layout.scss +57 -15
- package/scss/input/_theme.scss +0 -1
- package/scss/input/_variables.scss +25 -22
- package/scss/panelbar/_variables.scss +1 -0
- package/scss/toolbar/_theme.scss +7 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-theme-material",
|
|
3
3
|
"description": "Material theme for Kendo UI",
|
|
4
|
-
"version": "5.4.2-dev.
|
|
4
|
+
"version": "5.4.2-dev.4",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"postpublish": "echo 'no postpublish for material theme'"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@progress/kendo-theme-default": "^5.4.2-dev.
|
|
53
|
+
"@progress/kendo-theme-default": "^5.4.2-dev.4"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "9007a9c66218ab09b365d2b71da9edce999b7d04"
|
|
56
56
|
}
|
package/scss/input/_layout.scss
CHANGED
|
@@ -13,22 +13,10 @@
|
|
|
13
13
|
.k-input-spinner .k-spinner-increase,
|
|
14
14
|
.k-input-spinner .k-spinner-decrease {
|
|
15
15
|
background: none;
|
|
16
|
+
border-color: transparent;
|
|
16
17
|
}
|
|
17
18
|
}
|
|
18
19
|
|
|
19
|
-
.k-input-solid:focus,
|
|
20
|
-
.k-input-solid.k-focus {
|
|
21
|
-
border-width: $kendo-input-border-width;
|
|
22
|
-
border-top-color: $kendo-input-focus-border !important; // sass-lint:disable-line no-important
|
|
23
|
-
|
|
24
|
-
&.k-invalid,
|
|
25
|
-
&.ng-invalid.ng-touched,
|
|
26
|
-
&.ng-invalid.ng-dirty {
|
|
27
|
-
border-top-color: $invalid-border !important; // sass-lint:disable-line no-important
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
20
|
|
|
33
21
|
.k-input-flat,
|
|
34
22
|
.k-picker-flat {
|
|
@@ -37,9 +25,11 @@
|
|
|
37
25
|
.k-input-spinner .k-spinner-increase,
|
|
38
26
|
.k-input-spinner .k-spinner-decrease {
|
|
39
27
|
background: none;
|
|
28
|
+
border-color: transparent;
|
|
40
29
|
}
|
|
41
30
|
|
|
42
31
|
&:disabled,
|
|
32
|
+
&[disabled],
|
|
43
33
|
&.k-disabled {
|
|
44
34
|
border-bottom-style: dashed;
|
|
45
35
|
}
|
|
@@ -49,6 +39,7 @@
|
|
|
49
39
|
// Disabled
|
|
50
40
|
.k-input,
|
|
51
41
|
.k-picker {
|
|
42
|
+
|
|
52
43
|
&:disabled,
|
|
53
44
|
&[disabled],
|
|
54
45
|
&.k-disabled {
|
|
@@ -65,8 +56,59 @@
|
|
|
65
56
|
|
|
66
57
|
|
|
67
58
|
// Input ripple
|
|
68
|
-
.k-
|
|
69
|
-
|
|
59
|
+
.k-input-solid,
|
|
60
|
+
.k-input-flat,
|
|
61
|
+
.k-input-outline,
|
|
62
|
+
.k-picker-solid,
|
|
63
|
+
.k-picker-flat,
|
|
64
|
+
.k-picker-outline {
|
|
65
|
+
$_kendo-input-ripple-border-width: (2 * $kendo-input-border-width);
|
|
66
|
+
|
|
67
|
+
&::after {
|
|
68
|
+
content: "";
|
|
69
|
+
border-width: 0 0 $_kendo-input-ripple-border-width 0;
|
|
70
|
+
border-style: solid;
|
|
71
|
+
border-color: inherit;
|
|
72
|
+
border-radius: inherit;
|
|
73
|
+
display: block;
|
|
74
|
+
position: absolute;
|
|
75
|
+
z-index: 2;
|
|
76
|
+
top: -1px;
|
|
77
|
+
bottom: -1px;
|
|
78
|
+
left: -1px;
|
|
79
|
+
right: -1px;
|
|
80
|
+
opacity: 0;
|
|
81
|
+
transform: scaleX(0);
|
|
82
|
+
transition: opacity .3s, transform .3s;
|
|
83
|
+
pointer-events: none;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&.k-focus::after,
|
|
87
|
+
&.k-state-focused::after {
|
|
88
|
+
opacity: 1;
|
|
89
|
+
transform: scaleX(1);
|
|
90
|
+
}
|
|
91
|
+
&:focus-within::after {
|
|
92
|
+
opacity: 1;
|
|
93
|
+
transform: scaleX(1);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
.k-input-outline,
|
|
97
|
+
.k-picker-outline {
|
|
98
|
+
$_kendo-input-ripple-border-width: (2 * $kendo-input-border-width);
|
|
99
|
+
|
|
100
|
+
&::after {
|
|
101
|
+
border-width: $_kendo-input-ripple-border-width;
|
|
102
|
+
transform: none;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&.k-focus::after,
|
|
106
|
+
&.k-state-focused::after {
|
|
107
|
+
transform: none;
|
|
108
|
+
}
|
|
109
|
+
&:focus-within::after {
|
|
110
|
+
transform: none;
|
|
111
|
+
}
|
|
70
112
|
}
|
|
71
113
|
|
|
72
114
|
}
|
package/scss/input/_theme.scss
CHANGED
|
@@ -58,7 +58,7 @@ $kendo-input-sizes: (
|
|
|
58
58
|
|
|
59
59
|
$kendo-input-bg: try-shade( $component-bg, .5 ) !default;
|
|
60
60
|
$kendo-input-text: $component-text !default;
|
|
61
|
-
$kendo-input-border: rgba( $component-border, .
|
|
61
|
+
$kendo-input-border: rgba( $component-border, .38 ) !default;
|
|
62
62
|
$kendo-input-shadow: null !default;
|
|
63
63
|
|
|
64
64
|
$kendo-input-hover-bg: null !default;
|
|
@@ -78,27 +78,30 @@ $kendo-input-disabled-gradient: null !default;
|
|
|
78
78
|
$kendo-input-disabled-shadow: null !default;
|
|
79
79
|
|
|
80
80
|
$kendo-input-outline-bg: null !default;
|
|
81
|
-
$kendo-input-outline-text:
|
|
82
|
-
$kendo-input-outline-border:
|
|
81
|
+
$kendo-input-outline-text: $kendo-input-text !default;
|
|
82
|
+
$kendo-input-outline-border: $kendo-input-border !default;
|
|
83
83
|
|
|
84
84
|
$kendo-input-outline-hover-bg: null !default;
|
|
85
85
|
$kendo-input-outline-hover-text: null !default;
|
|
86
|
-
$kendo-input-outline-hover-border:
|
|
86
|
+
$kendo-input-outline-hover-border: $kendo-input-hover-border !default;
|
|
87
87
|
|
|
88
88
|
$kendo-input-outline-focus-bg: null !default;
|
|
89
89
|
$kendo-input-outline-focus-text: null !default;
|
|
90
|
-
$kendo-input-outline-focus-border:
|
|
91
|
-
$kendo-input-outline-focus-shadow:
|
|
90
|
+
$kendo-input-outline-focus-border: $kendo-input-focus-border !default;
|
|
91
|
+
$kendo-input-outline-focus-shadow: $kendo-input-focus-shadow !default;
|
|
92
92
|
|
|
93
|
-
$kendo-input-flat-bg:
|
|
94
|
-
$kendo-input-flat-text:
|
|
95
|
-
$kendo-input-flat-border:
|
|
93
|
+
$kendo-input-flat-bg: null !default;
|
|
94
|
+
$kendo-input-flat-text: $kendo-input-text !default;
|
|
95
|
+
$kendo-input-flat-border: $kendo-input-border !default;
|
|
96
|
+
|
|
97
|
+
$kendo-input-flat-hover-bg: null !default;
|
|
98
|
+
$kendo-input-flat-hover-text: null !default;
|
|
99
|
+
$kendo-input-flat-hover-border: $kendo-input-hover-border !default;
|
|
96
100
|
|
|
97
101
|
$kendo-input-flat-focus-bg: null !default;
|
|
98
102
|
$kendo-input-flat-focus-text: null !default;
|
|
99
|
-
$kendo-input-flat-focus-border:
|
|
100
|
-
|
|
101
|
-
$kendo-input-flat-border-radius: null !default;
|
|
103
|
+
$kendo-input-flat-focus-border: $kendo-input-focus-border !default;
|
|
104
|
+
$kendo-input-flat-focus-shadow: $kendo-input-focus-shadow !default;
|
|
102
105
|
|
|
103
106
|
$kendo-picker-bg: $kendo-input-bg !default;
|
|
104
107
|
$kendo-picker-text: $kendo-input-text !default;
|
|
@@ -124,34 +127,34 @@ $kendo-picker-disabled-border: $kendo-input-disabled-border !default;
|
|
|
124
127
|
$kendo-picker-disabled-gradient: null !default;
|
|
125
128
|
$kendo-picker-disabled-shadow: null !default;
|
|
126
129
|
|
|
127
|
-
$kendo-picker-outline-bg:
|
|
128
|
-
$kendo-picker-outline-text:
|
|
129
|
-
$kendo-picker-outline-border:
|
|
130
|
+
$kendo-picker-outline-bg: null !default;
|
|
131
|
+
$kendo-picker-outline-text: $kendo-picker-text !default;
|
|
132
|
+
$kendo-picker-outline-border: $kendo-picker-border !default;
|
|
130
133
|
|
|
131
134
|
$kendo-picker-outline-hover-bg: null !default;
|
|
132
135
|
$kendo-picker-outline-hover-text: null !default;
|
|
133
|
-
$kendo-picker-outline-hover-border:
|
|
136
|
+
$kendo-picker-outline-hover-border: $kendo-picker-hover-border !default;
|
|
134
137
|
|
|
135
138
|
$kendo-picker-outline-focus-bg: nul !default;
|
|
136
139
|
$kendo-picker-outline-focus-text: null !default;
|
|
137
|
-
$kendo-picker-outline-focus-border:
|
|
140
|
+
$kendo-picker-outline-focus-border: $kendo-picker-focus-border !default;
|
|
138
141
|
$kendo-picker-outline-focus-shadow: null !default;
|
|
139
142
|
|
|
140
143
|
$kendo-picker-outline-hover-focus-bg: null !default;
|
|
141
144
|
$kendo-picker-outline-hover-focus-text: null !default;
|
|
142
145
|
$kendo-picker-outline-hover-focus-border: null !default;
|
|
143
146
|
|
|
144
|
-
$kendo-picker-flat-bg:
|
|
145
|
-
$kendo-picker-flat-text:
|
|
146
|
-
$kendo-picker-flat-border:
|
|
147
|
+
$kendo-picker-flat-bg: null !default;
|
|
148
|
+
$kendo-picker-flat-text: $kendo-picker-text !default;
|
|
149
|
+
$kendo-picker-flat-border: $kendo-picker-border !default;
|
|
147
150
|
|
|
148
151
|
$kendo-picker-flat-hover-bg: null !default;
|
|
149
152
|
$kendo-picker-flat-hover-text: null !default;
|
|
150
|
-
$kendo-picker-flat-hover-border:
|
|
153
|
+
$kendo-picker-flat-hover-border: $kendo-picker-hover-border !default;
|
|
151
154
|
|
|
152
155
|
$kendo-picker-flat-focus-bg: null !default;
|
|
153
156
|
$kendo-picker-flat-focus-text: null !default;
|
|
154
|
-
$kendo-picker-flat-focus-border:
|
|
157
|
+
$kendo-picker-flat-focus-border: $kendo-picker-focus-border !default;
|
|
155
158
|
$kendo-picker-flat-focus-shadow: null !default;
|
|
156
159
|
|
|
157
160
|
$kendo-picker-flat-hover-focus-bg: null !default;
|
|
@@ -5,6 +5,7 @@ $panelbar-font-family: $font-family !default;
|
|
|
5
5
|
$panelbar-font-size: $font-size !default;
|
|
6
6
|
$panelbar-line-height: (20 / 14) !default;
|
|
7
7
|
$panelbar-border-width: 1px !default;
|
|
8
|
+
$panelbar-border-style: solid !default;
|
|
8
9
|
$panelbar-item-border-width: 1px !default;
|
|
9
10
|
$panelbar-item-border-style: solid !default;
|
|
10
11
|
|
package/scss/toolbar/_theme.scss
CHANGED
|
@@ -7,6 +7,13 @@
|
|
|
7
7
|
.k-button-solid-base {
|
|
8
8
|
background-color: try-shade( $kendo-button-bg );
|
|
9
9
|
border-color: try-shade( $kendo-button-bg );
|
|
10
|
+
|
|
11
|
+
&.k-input-button,
|
|
12
|
+
&.k-input-spinner .k-spinner-increase,
|
|
13
|
+
&.k-input-spinner .k-spinner-decrease {
|
|
14
|
+
background: none;
|
|
15
|
+
border-color: transparent;
|
|
16
|
+
}
|
|
10
17
|
}
|
|
11
18
|
|
|
12
19
|
}
|