@progress/kendo-theme-material 5.5.0 → 5.5.1-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/dist/all.css +326 -341
- package/dist/all.scss +366 -230
- 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 +8 -11
- package/scss/calendar/_theme.scss +2 -2
- package/scss/chip/_variables.scss +1 -1
- package/scss/drawer/_theme.scss +2 -2
- package/scss/editor/_theme.scss +2 -2
- package/scss/grid/_theme.scss +13 -13
- package/scss/index.scss +1 -0
- package/scss/listview/_theme.scss +1 -1
- package/scss/progressbar/_theme.scss +1 -1
- package/scss/progressbar/_variables.scss +1 -0
- package/scss/scheduler/_layout.scss +1 -1
- package/scss/signature/_index.scss +10 -0
- package/scss/signature/_layout.scss +1 -0
- package/scss/signature/_theme.scss +1 -0
- package/scss/signature/_variables.scss +45 -0
- package/scss/slider/_theme.scss +1 -1
- package/scss/spreadsheet/_theme.scss +7 -7
- package/scss/timeline/_layout.scss +2 -2
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.5.0",
|
|
4
|
+
"version": "5.5.1-dev.0",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -38,19 +38,16 @@
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
|
-
"
|
|
42
|
-
"sass
|
|
43
|
-
"sass:swatches": "gulp sass:swatches",
|
|
44
|
-
"sass:flat": "gulp sass:flat",
|
|
45
|
-
"dart": "gulp dart",
|
|
46
|
-
"dart:watch": "gulp dart:watch",
|
|
47
|
-
"dart:swatches": "gulp dart:swatches",
|
|
48
|
-
"dart:flat": "gulp dart:flat",
|
|
41
|
+
"build": "sass-build",
|
|
42
|
+
"sass": "sass-build",
|
|
49
43
|
"prepublishOnly": "node ../../scripts/themes-prepublish.js",
|
|
50
44
|
"postpublish": "echo 'no postpublish for material theme'"
|
|
51
45
|
},
|
|
52
46
|
"dependencies": {
|
|
53
|
-
"@progress/kendo-theme-default": "^5.5.0"
|
|
47
|
+
"@progress/kendo-theme-default": "^5.5.1-dev.0"
|
|
54
48
|
},
|
|
55
|
-
"
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"sass-build": "^0.0.1"
|
|
51
|
+
},
|
|
52
|
+
"gitHead": "f9e886d7414c48c7a576210e6b46d938d27b3125"
|
|
56
53
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
.k-calendar {
|
|
6
6
|
|
|
7
|
-
.k-state-focused .k-link
|
|
7
|
+
.k-state-focused .k-link,
|
|
8
8
|
.k-focus .k-link {
|
|
9
9
|
@include fill(
|
|
10
10
|
$calendar-cell-hover-text,
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
$calendar-cell-hover-border
|
|
13
13
|
);
|
|
14
14
|
}
|
|
15
|
-
.k-state-selected.k-state-focused .k-link
|
|
15
|
+
.k-state-selected.k-state-focused .k-link,
|
|
16
16
|
.k-selected.k-focused .k-link {
|
|
17
17
|
@include fill(
|
|
18
18
|
$calendar-cell-selected-text,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
$kendo-chip-border-width: 1px !default;
|
|
6
6
|
/// The spacing between the text and the icons of the chip.
|
|
7
7
|
/// @group chip
|
|
8
|
-
$kendo-chip-spacing: map-get( $spacing, 1 );
|
|
8
|
+
$kendo-chip-spacing: map-get( $spacing, 1 ) !default;
|
|
9
9
|
|
|
10
10
|
/// Horizontal padding of the chip.
|
|
11
11
|
/// @group chip
|
package/scss/drawer/_theme.scss
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
@include exports( "drawer/theme/material" ) {
|
|
4
4
|
.k-drawer-item {
|
|
5
|
-
&.k-state-selected
|
|
5
|
+
&.k-state-selected,
|
|
6
6
|
&.k-selected {
|
|
7
7
|
|
|
8
8
|
&:focus,
|
|
9
|
-
&.k-state-focused
|
|
9
|
+
&.k-state-focused,
|
|
10
10
|
&.k-focus {
|
|
11
11
|
background-color: $drawer-focused-bg;
|
|
12
12
|
box-shadow: $drawer-focused-shadow;
|
package/scss/editor/_theme.scss
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
|
|
45
45
|
// Hover & Actve state
|
|
46
46
|
&:hover,
|
|
47
|
-
&.k-state-active
|
|
47
|
+
&.k-state-active,
|
|
48
48
|
&.k-active {
|
|
49
49
|
border-color: $panel-border;
|
|
50
50
|
}
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
|
|
63
63
|
// Insert table
|
|
64
64
|
.k-ct-popup {
|
|
65
|
-
.k-state-selected
|
|
65
|
+
.k-state-selected,
|
|
66
66
|
.k-selected {
|
|
67
67
|
@include fill( $selected-text, $selected-bg, $selected-border, none );
|
|
68
68
|
}
|
package/scss/grid/_theme.scss
CHANGED
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
// Selected state
|
|
9
9
|
td.k-state-selected,
|
|
10
10
|
td.k-selected,
|
|
11
|
-
tr.k-state-selected
|
|
11
|
+
tr.k-state-selected,
|
|
12
12
|
tr.k-selected {
|
|
13
13
|
color: $grid-selected-text;
|
|
14
14
|
background-color: $grid-selected-bg;
|
|
15
15
|
}
|
|
16
|
-
tr.k-state-selected > td
|
|
16
|
+
tr.k-state-selected > td,
|
|
17
17
|
tr.k-selected > td {
|
|
18
18
|
color: inherit;
|
|
19
19
|
background-color: transparent;
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
|
|
22
22
|
// Hover, Focused state
|
|
23
23
|
table {
|
|
24
|
-
tr:not(.k-detail-row):hover,
|
|
25
|
-
tr:not(.k-detail-row).k-state-hover,
|
|
26
|
-
tr:not(.k-detail-row).k-hover,
|
|
24
|
+
>tr:not(.k-detail-row):hover,
|
|
25
|
+
>tr:not(.k-detail-row).k-state-hover,
|
|
26
|
+
>tr:not(.k-detail-row).k-hover,
|
|
27
27
|
td.k-state-focused,
|
|
28
28
|
td.k-focus,
|
|
29
29
|
th.k-state-focused,
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
tr:hover,
|
|
41
|
-
tr.k-state-hover
|
|
41
|
+
tr.k-state-hover,
|
|
42
42
|
tr.k-hover {
|
|
43
43
|
.k-grid-header-sticky,
|
|
44
44
|
.k-grid-footer-sticky {
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
|
|
67
67
|
}
|
|
68
68
|
.k-grid-pager:focus,
|
|
69
|
-
.k-grid-pager.k-state-focused
|
|
69
|
+
.k-grid-pager.k-state-focused,
|
|
70
70
|
.k-grid-pager.k-focus {
|
|
71
71
|
color: inherit;
|
|
72
72
|
}
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
|
|
121
121
|
.k-group-footer {
|
|
122
122
|
&:hover td,
|
|
123
|
-
&.k-state-hover td
|
|
123
|
+
&.k-state-hover td,
|
|
124
124
|
&.k-hover td {
|
|
125
125
|
color: inherit;
|
|
126
126
|
@include fill( $bg: $grid-sticky-footer-hovered-bg );
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
box-shadow: none;
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
&.k-state-active
|
|
181
|
+
&.k-state-active,
|
|
182
182
|
&.k-active {
|
|
183
183
|
color: $primary-contrast;
|
|
184
184
|
background-color: $primary;
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
&:hover td,
|
|
222
|
-
&.k-state-hover td
|
|
222
|
+
&.k-state-hover td,
|
|
223
223
|
&.k-hover td {
|
|
224
224
|
@include fill( $bg: $grid-sticky-footer-hovered-bg );
|
|
225
225
|
}
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
.k-columnmenu-item {
|
|
255
|
-
&.k-state-selected
|
|
255
|
+
&.k-state-selected,
|
|
256
256
|
&.k-selected {
|
|
257
257
|
@include fill(
|
|
258
258
|
$kendo-list-item-selected-text,
|
|
@@ -261,7 +261,7 @@
|
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
263
|
.k-columnmenu-item:focus,
|
|
264
|
-
.k-columnmenu-item.k-state-focus
|
|
264
|
+
.k-columnmenu-item.k-state-focus,
|
|
265
265
|
.k-columnmenu-item.k-focus {
|
|
266
266
|
background: $kendo-list-item-hover-bg;
|
|
267
267
|
}
|
|
@@ -270,7 +270,7 @@
|
|
|
270
270
|
|
|
271
271
|
.k-item {
|
|
272
272
|
// Selected state
|
|
273
|
-
&.k-state-selected
|
|
273
|
+
&.k-state-selected,
|
|
274
274
|
&.k-selected {
|
|
275
275
|
background: $kendo-list-item-hover-bg;
|
|
276
276
|
}
|
package/scss/index.scss
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
// Listview content
|
|
10
10
|
.k-listview-content {}
|
|
11
|
-
.k-listview-content > .k-state-selected.k-state-focused
|
|
11
|
+
.k-listview-content > .k-state-selected.k-state-focused,
|
|
12
12
|
.k-listview-content > .k-selected.k-focused {
|
|
13
13
|
background-color: rgba( contrast-wcag( $listview-bg ), .12 );
|
|
14
14
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "~@progress/kendo-theme-default/scss/signature/_layout.scss";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "~@progress/kendo-theme-default/scss/signature/_theme.scss";
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
$kendo-signature-width: 246px !default;
|
|
2
|
+
$kendo-signature-height: 108px !default;
|
|
3
|
+
|
|
4
|
+
$kendo-signature-maximized-width: 750px !default;
|
|
5
|
+
$kendo-signature-maximized-height: 252px !default;
|
|
6
|
+
|
|
7
|
+
$kendo-signature-padding: map-get( $spacing, 2 ) !default;
|
|
8
|
+
$kendo-signature-padding-sm: map-get( $spacing, 2 ) - map-get( $spacing, thin ) !default;
|
|
9
|
+
$kendo-signature-padding-md: $kendo-signature-padding !default;
|
|
10
|
+
$kendo-signature-padding-lg: map-get( $spacing, 2 ) + map-get( $spacing, thin ) !default;
|
|
11
|
+
|
|
12
|
+
$kendo-signature-line-width: 1px !default;
|
|
13
|
+
$kendo-signature-line-style: dashed !default;
|
|
14
|
+
$kendo-signature-line-color: rgba( $info, .24 ) !default;
|
|
15
|
+
|
|
16
|
+
$kendo-signature-line-size: calc( 100% - 2 * #{$kendo-signature-padding} ) !default;
|
|
17
|
+
$kendo-signature-line-size-sm: calc( 100% - 2 * #{$kendo-signature-padding-sm} ) !default;
|
|
18
|
+
$kendo-signature-line-size-md: calc( 100% - 2 * #{$kendo-signature-padding-md} ) !default;
|
|
19
|
+
$kendo-signature-line-size-lg: calc( 100% - 2 * #{$kendo-signature-padding-lg} ) !default;
|
|
20
|
+
|
|
21
|
+
$kendo-signature-line-bottom-offset: calc( #{$kendo-button-calc-size} + #{$kendo-signature-padding} ) !default;
|
|
22
|
+
$kendo-signature-line-bottom-offset-sm: calc( #{$kendo-button-calc-size} + #{$kendo-signature-padding-sm} ) !default;
|
|
23
|
+
$kendo-signature-line-bottom-offset-md: calc( #{$kendo-button-calc-size} + #{$kendo-signature-padding-md} ) !default;
|
|
24
|
+
$kendo-signature-line-bottom-offset-lg: calc( #{$kendo-button-calc-size} + #{$kendo-signature-padding-lg} ) !default;
|
|
25
|
+
|
|
26
|
+
$kendo-signature-sizes: (
|
|
27
|
+
sm: (
|
|
28
|
+
padding: $kendo-signature-padding-sm,
|
|
29
|
+
line-size: $kendo-signature-line-size-sm,
|
|
30
|
+
line-offset: $kendo-signature-line-bottom-offset-sm
|
|
31
|
+
),
|
|
32
|
+
md: (
|
|
33
|
+
padding: $kendo-signature-padding-md,
|
|
34
|
+
line-size: $kendo-signature-line-size-md,
|
|
35
|
+
line-offset: $kendo-signature-line-bottom-offset-md
|
|
36
|
+
),
|
|
37
|
+
lg: (
|
|
38
|
+
padding: $kendo-signature-padding-lg,
|
|
39
|
+
line-size: $kendo-signature-line-size-lg,
|
|
40
|
+
line-offset: $kendo-signature-line-bottom-offset-lg
|
|
41
|
+
)
|
|
42
|
+
) !default;
|
|
43
|
+
|
|
44
|
+
$kendo-signature-actions-gap: map-get( $spacing, 1 ) !default;
|
|
45
|
+
$kendo-signature-maximized-line-width: map-get( $spacing, 1 ) - map-get( $spacing, hair ) !default;
|
package/scss/slider/_theme.scss
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
.k-tabstrip-items .k-item {
|
|
21
21
|
color: inherit;
|
|
22
22
|
}
|
|
23
|
-
.k-tabstrip-items .k-item.k-state-active::after
|
|
23
|
+
.k-tabstrip-items .k-item.k-state-active::after,
|
|
24
24
|
.k-tabstrip-items .k-item.k-active::after {
|
|
25
25
|
border-color: $primary-contrast;
|
|
26
26
|
}
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
$toolbar-gradient
|
|
44
44
|
);
|
|
45
45
|
|
|
46
|
-
.k-tabstrip-items .k-item.k-state-active
|
|
46
|
+
.k-tabstrip-items .k-item.k-state-active,
|
|
47
47
|
.k-tabstrip-items .k-item.k-active {
|
|
48
48
|
border-color: $secondary;
|
|
49
49
|
}
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
);
|
|
166
166
|
box-shadow: inset 0 0 0 1px $kendo-button-border;
|
|
167
167
|
|
|
168
|
-
&.k-state-active
|
|
168
|
+
&.k-state-active,
|
|
169
169
|
&.k-active {
|
|
170
170
|
@include fill(
|
|
171
171
|
$kendo-button-active-text,
|
|
@@ -211,13 +211,13 @@
|
|
|
211
211
|
|
|
212
212
|
.k-spreadsheet-has-image {
|
|
213
213
|
&:hover,
|
|
214
|
-
&.k-state-hovered
|
|
214
|
+
&.k-state-hovered,
|
|
215
215
|
&.k-hover {
|
|
216
216
|
box-shadow: $spreadsheet-insert-image-dialog-preview-overlay-shadow;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
&:hover div,
|
|
220
|
-
&.k-state-hovered div
|
|
220
|
+
&.k-state-hovered div,
|
|
221
221
|
&.k-hover div {
|
|
222
222
|
color: $spreadsheet-insert-image-dialog-overlay-hovered-text;
|
|
223
223
|
}
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
.k-button {}
|
|
253
253
|
|
|
254
254
|
.k-button:hover,
|
|
255
|
-
.k-button.k-state-hover
|
|
255
|
+
.k-button.k-state-hover,
|
|
256
256
|
.k-button.k-hover {
|
|
257
257
|
@include fill(
|
|
258
258
|
$kendo-list-item-hover-text,
|
|
@@ -262,7 +262,7 @@
|
|
|
262
262
|
.k-button:active,
|
|
263
263
|
.k-button.k-state-active,
|
|
264
264
|
.k-button.k-active,
|
|
265
|
-
.k-button.k-state-selected
|
|
265
|
+
.k-button.k-state-selected,
|
|
266
266
|
.k-button.k-selected {
|
|
267
267
|
@include fill(
|
|
268
268
|
$kendo-list-item-selected-text,
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.k-timeline-track-item:hover .k-timeline-circle::before,
|
|
13
|
-
.k-timeline-track-item.k-state-hover .k-timeline-circle::before
|
|
13
|
+
.k-timeline-track-item.k-state-hover .k-timeline-circle::before,
|
|
14
14
|
.k-timeline-track-item.k-hover .k-timeline-circle::before {
|
|
15
15
|
opacity: $kendo-flat-button-hover-opacity;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.k-timeline-track-item.k-state-focus .k-timeline-circle::before
|
|
18
|
+
.k-timeline-track-item.k-state-focus .k-timeline-circle::before,
|
|
19
19
|
.k-timeline-track-item.k-focus .k-timeline-circle::before {
|
|
20
20
|
opacity: $kendo-flat-button-focus-opacity;
|
|
21
21
|
}
|