@progress/kendo-theme-default 5.5.0 → 5.5.1-dev.2
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 +672 -436
- package/dist/all.scss +783 -361
- package/lib/swatches/default-blue.json +1 -1
- package/lib/swatches/default-dataviz-v4.json +1 -1
- package/lib/swatches/default-green.json +1 -1
- package/lib/swatches/default-main-dark.json +1 -1
- package/lib/swatches/default-main.json +1 -1
- package/lib/swatches/default-nordic.json +1 -1
- package/lib/swatches/default-ocean-blue.json +1 -1
- package/lib/swatches/default-orange.json +1 -1
- package/lib/swatches/default-purple.json +1 -1
- package/lib/swatches/default-turquoise.json +1 -1
- package/lib/swatches/default-urban.json +1 -1
- package/package.json +7 -10
- package/scss/action-sheet/_layout.scss +64 -0
- package/scss/action-sheet/_theme.scss +3 -3
- package/scss/adaptive/_theme.scss +2 -2
- package/scss/bottom-navigation/_layout.scss +1 -1
- package/scss/bottom-navigation/_theme.scss +2 -2
- package/scss/breadcrumb/_theme.scss +5 -5
- package/scss/button/_layout.scss +17 -35
- package/scss/button/_variables.scss +34 -14
- package/scss/calendar/_layout.scss +103 -41
- package/scss/calendar/_theme.scss +30 -48
- package/scss/calendar/_variables.scss +44 -1
- package/scss/chat/_layout.scss +2 -2
- package/scss/chat/_theme.scss +2 -2
- package/scss/chip/_variables.scss +1 -1
- package/scss/colorpalette/_layout.scss +1 -1
- package/scss/dataviz/_theme.scss +1 -3
- package/scss/drawer/_theme.scss +5 -5
- package/scss/editor/_layout.scss +2 -2
- package/scss/editor/_theme.scss +3 -3
- package/scss/expansion-panel/_theme.scss +3 -3
- package/scss/filemanager/_theme.scss +1 -1
- package/scss/forms/_layout.scss +2 -1
- package/scss/gantt/_layout.scss +3 -3
- package/scss/gantt/_theme.scss +7 -7
- package/scss/grid/_layout.scss +6 -27
- package/scss/grid/_theme.scss +25 -25
- package/scss/index.scss +1 -0
- package/scss/input/_variables.scss +21 -4
- package/scss/list/_variables.scss +6 -6
- package/scss/listview/_theme.scss +2 -2
- package/scss/orgchart/_theme.scss +1 -1
- package/scss/pager/_layout.scss +3 -3
- package/scss/pager/_theme.scss +10 -10
- package/scss/panelbar/_theme.scss +14 -14
- package/scss/pivotgrid/_theme.scss +1 -1
- package/scss/progressbar/_layout.scss +54 -11
- package/scss/progressbar/_theme.scss +14 -1
- package/scss/progressbar/_variables.scss +5 -0
- package/scss/radio/_layout.scss +1 -1
- package/scss/radio/_theme.scss +3 -3
- package/scss/rating/_theme.scss +5 -5
- package/scss/scheduler/_layout.scss +4 -4
- package/scss/scheduler/_theme.scss +8 -8
- package/scss/scrollview/_theme.scss +4 -4
- package/scss/signature/_index.scss +10 -0
- package/scss/signature/_layout.scss +63 -0
- package/scss/signature/_theme.scss +12 -0
- package/scss/signature/_variables.scss +45 -0
- package/scss/slider/_layout.scss +1 -1
- package/scss/slider/_theme.scss +3 -3
- package/scss/splitter/_theme.scss +1 -1
- package/scss/spreadsheet/_layout.scss +3 -3
- package/scss/spreadsheet/_theme.scss +6 -6
- package/scss/stepper/_layout.scss +1 -1
- package/scss/stepper/_theme.scss +1 -1
- package/scss/tabstrip/_layout.scss +7 -7
- package/scss/tabstrip/_theme.scss +5 -5
- package/scss/taskboard/_theme.scss +1 -1
- package/scss/tilelayout/_theme.scss +1 -1
- package/scss/timeline/_theme.scss +2 -2
- package/scss/timeselector/_layout.scss +31 -1
- package/scss/timeselector/_theme.scss +1 -1
- package/scss/timeselector/_variables.scss +38 -0
- package/scss/treelist/_layout.scss +1 -1
- package/scss/treeview/_variables.scss +4 -4
- package/scss/upload/_layout.scss +1 -1
- package/scss/upload/_theme.scss +2 -2
- package/scss/window/_theme.scss +1 -1
- package/scss/wizard/_layout.scss +1 -1
- package/scss/wizard/_theme.scss +2 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-theme-default",
|
|
3
3
|
"description": "SASS resources for the default Kendo UI theme",
|
|
4
|
-
"version": "5.5.
|
|
4
|
+
"version": "5.5.1-dev.2",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -36,16 +36,13 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
|
-
"
|
|
40
|
-
"sass
|
|
41
|
-
"sass:swatches": "gulp sass:swatches",
|
|
42
|
-
"sass:flat": "gulp sass:flat",
|
|
43
|
-
"dart": "gulp dart",
|
|
44
|
-
"dart:watch": "gulp dart:watch",
|
|
45
|
-
"dart:swatches": "gulp dart:swatches",
|
|
46
|
-
"dart:flat": "gulp dart:flat",
|
|
39
|
+
"build": "sass-build",
|
|
40
|
+
"sass": "sass-build",
|
|
47
41
|
"prepublishOnly": "node ../../scripts/themes-prepublish.js",
|
|
48
42
|
"postpublish": "echo 'no postpublish for default theme'"
|
|
49
43
|
},
|
|
50
|
-
"
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"sass-build": "^0.0.1"
|
|
46
|
+
},
|
|
47
|
+
"gitHead": "e5846f8654884b442bfb81cac2682716edf60433"
|
|
51
48
|
}
|
|
@@ -34,6 +34,10 @@
|
|
|
34
34
|
box-sizing: border-box;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
+
.k-actionsheet-fullscreen {
|
|
38
|
+
max-height: 100%;
|
|
39
|
+
height: 100%;
|
|
40
|
+
}
|
|
37
41
|
|
|
38
42
|
|
|
39
43
|
// Actionsheet header
|
|
@@ -47,6 +51,35 @@
|
|
|
47
51
|
font-size: $actionsheet-header-font-size;
|
|
48
52
|
font-family: $actionsheet-header-font-family;
|
|
49
53
|
line-height: $actionsheet-header-line-height;
|
|
54
|
+
flex: none;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
// Actionsheet titlebar
|
|
59
|
+
.k-actionsheet-titlebar {
|
|
60
|
+
@extend .k-actionsheet-header !optional;
|
|
61
|
+
display: flex;
|
|
62
|
+
flex-flow: row nowrap;
|
|
63
|
+
align-items: center;
|
|
64
|
+
}
|
|
65
|
+
.k-actionsheet-title {
|
|
66
|
+
flex: 1;
|
|
67
|
+
}
|
|
68
|
+
.k-actionsheet-actions {
|
|
69
|
+
flex: none;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
// Actionsheet content
|
|
74
|
+
.k-actionsheet-content {
|
|
75
|
+
flex: 1;
|
|
76
|
+
overflow: auto;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
// Actionsheet footer
|
|
81
|
+
.k-actionsheet-footer {
|
|
82
|
+
flex: none;
|
|
50
83
|
}
|
|
51
84
|
|
|
52
85
|
|
|
@@ -143,4 +176,35 @@
|
|
|
143
176
|
transform: none;
|
|
144
177
|
}
|
|
145
178
|
|
|
179
|
+
|
|
180
|
+
// Adaptive action sheet
|
|
181
|
+
.k-adaptive-actionsheet {
|
|
182
|
+
max-width: 100%;
|
|
183
|
+
width: 100%;
|
|
184
|
+
|
|
185
|
+
// TMP: this should be moved to action sheet
|
|
186
|
+
display: flex;
|
|
187
|
+
flex-flow: column nowrap;
|
|
188
|
+
|
|
189
|
+
.k-calendar {
|
|
190
|
+
margin-inline: auto;
|
|
191
|
+
border-width: 0;
|
|
192
|
+
display: flex;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.k-timeselector {
|
|
196
|
+
height: 100%;
|
|
197
|
+
border-width: 0;
|
|
198
|
+
overflow: hidden;
|
|
199
|
+
|
|
200
|
+
.k-time-part {
|
|
201
|
+
display: contents;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.k-time-list-wrapper {
|
|
205
|
+
height: 100%;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
146
210
|
}
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
|
|
44
44
|
// Hover state
|
|
45
45
|
&:hover,
|
|
46
|
-
&.k-state-hover
|
|
46
|
+
&.k-state-hover,
|
|
47
47
|
&.k-hover {
|
|
48
48
|
@include fill(
|
|
49
49
|
$actionsheet-item-hover-text,
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
|
|
58
58
|
// Focus state
|
|
59
59
|
&:focus,
|
|
60
|
-
&.k-state-focus
|
|
60
|
+
&.k-state-focus,
|
|
61
61
|
&.k-focus {
|
|
62
62
|
@include fill(
|
|
63
63
|
$actionsheet-item-focus-text,
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
|
|
72
72
|
// Disabed state
|
|
73
73
|
&:disabled,
|
|
74
|
-
&.k-state-disabled
|
|
74
|
+
&.k-state-disabled,
|
|
75
75
|
&.k-disabled {
|
|
76
76
|
@include fill(
|
|
77
77
|
$actionsheet-item-disabled-text,
|
|
@@ -82,12 +82,12 @@
|
|
|
82
82
|
|
|
83
83
|
.k-column-menu {
|
|
84
84
|
|
|
85
|
-
.k-listgroup-item.k-state-selected
|
|
85
|
+
.k-listgroup-item.k-state-selected,
|
|
86
86
|
.k-listgroup-item.k-selected {
|
|
87
87
|
color: $adaptive-grid-sort-text;
|
|
88
88
|
background: none;
|
|
89
89
|
}
|
|
90
|
-
.k-listgroup-item.k-state-selected .k-link
|
|
90
|
+
.k-listgroup-item.k-state-selected .k-link,
|
|
91
91
|
.k-listgroup-item.k-selected .k-link {
|
|
92
92
|
color: inherit;
|
|
93
93
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
@include fill( $bg: rgba(true-mix( $color, contrast-wcag( $color ), 35%), .2));
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
.k-bottom-nav-item.k-state-selected
|
|
19
|
+
.k-bottom-nav-item.k-state-selected,
|
|
20
20
|
.k-bottom-nav-item.k-selected {
|
|
21
21
|
@include fill( $color: contrast-wcag( $color ) );
|
|
22
22
|
}
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
@each $name, $color in $kendo-theme-colors {
|
|
43
|
-
&.k-bottom-nav-#{$name} .k-bottom-nav-item.k-state-selected
|
|
43
|
+
&.k-bottom-nav-#{$name} .k-bottom-nav-item.k-state-selected,
|
|
44
44
|
&.k-bottom-nav-#{$name} .k-bottom-nav-item.k-selected {
|
|
45
45
|
@if $name == "secondary" or $name == "light" {
|
|
46
46
|
@include fill( $color: try-shade($color, 3) );
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
);
|
|
10
10
|
|
|
11
11
|
&:focus,
|
|
12
|
-
&.k-state-focused
|
|
12
|
+
&.k-state-focused,
|
|
13
13
|
&.k-focus {
|
|
14
14
|
@include box-shadow( $breadcrumb-focused-shadow );
|
|
15
15
|
}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
// Hovered state
|
|
28
28
|
&:hover,
|
|
29
|
-
&.k-state-hover
|
|
29
|
+
&.k-state-hover,
|
|
30
30
|
&.k-hover {
|
|
31
31
|
@include fill(
|
|
32
32
|
$breadcrumb-link-hovered-text,
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
|
|
38
38
|
// Focused state
|
|
39
39
|
&:focus,
|
|
40
|
-
&.k-state-focused
|
|
40
|
+
&.k-state-focused,
|
|
41
41
|
&.k-focus {
|
|
42
42
|
@include fill(
|
|
43
43
|
$breadcrumb-link-focused-text,
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
|
|
60
60
|
// Hovered state
|
|
61
61
|
&:hover,
|
|
62
|
-
&.k-state-hover
|
|
62
|
+
&.k-state-hover,
|
|
63
63
|
&.k-hover {
|
|
64
64
|
@include fill(
|
|
65
65
|
$breadcrumb-root-link-hovered-text,
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
|
|
71
71
|
// Focused state
|
|
72
72
|
&:focus,
|
|
73
|
-
&.k-state-focused
|
|
73
|
+
&.k-state-focused,
|
|
74
74
|
&.k-focus {
|
|
75
75
|
@include fill(
|
|
76
76
|
$breadcrumb-root-link-focused-text,
|
package/scss/button/_layout.scss
CHANGED
|
@@ -68,45 +68,27 @@
|
|
|
68
68
|
|
|
69
69
|
.k-button-text {}
|
|
70
70
|
|
|
71
|
-
// Sizes
|
|
72
|
-
.k-button-sm {
|
|
73
|
-
padding: $kendo-button-padding-y-sm $kendo-button-padding-x-sm;
|
|
74
|
-
font-size: $kendo-button-font-size-sm;
|
|
75
|
-
line-height: $kendo-button-line-height-sm;
|
|
76
|
-
}
|
|
77
|
-
.k-button-md {
|
|
78
|
-
padding: $kendo-button-padding-y-md $kendo-button-padding-x-md;
|
|
79
|
-
font-size: $kendo-button-font-size-md;
|
|
80
|
-
line-height: $kendo-button-line-height-md;
|
|
81
|
-
}
|
|
82
|
-
.k-button-lg {
|
|
83
|
-
padding: $kendo-button-padding-y-lg $kendo-button-padding-x-lg;
|
|
84
|
-
font-size: $kendo-button-font-size-lg;
|
|
85
|
-
line-height: $kendo-button-line-height-lg;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.k-icon-button.k-button-sm {
|
|
89
|
-
padding: $kendo-button-padding-y-sm;
|
|
90
71
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
72
|
+
// Sizes
|
|
73
|
+
@each $size, $size-props in $kendo-button-sizes {
|
|
74
|
+
$_padding-x: map-get( $size-props, padding-x );
|
|
75
|
+
$_padding-y: map-get( $size-props, padding-y );
|
|
76
|
+
$_font-size: map-get( $size-props, font-size );
|
|
77
|
+
$_line-height: map-get( $size-props, line-height );
|
|
78
|
+
|
|
79
|
+
.k-button-#{$size} {
|
|
80
|
+
padding: $_padding-y $_padding-x;
|
|
81
|
+
font-size: $_font-size;
|
|
82
|
+
line-height: $_line-height;
|
|
94
83
|
}
|
|
95
|
-
}
|
|
96
|
-
.k-icon-button.k-button-md {
|
|
97
|
-
padding: $kendo-button-padding-y-md;
|
|
98
84
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
min-height: calc( #{$kendo-button-font-size-md} * #{$kendo-button-line-height-md} );
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
.k-icon-button.k-button-lg {
|
|
105
|
-
padding: $kendo-button-padding-y-lg;
|
|
85
|
+
.k-button-#{$size}.k-icon-button {
|
|
86
|
+
padding: $_padding-y;
|
|
106
87
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
88
|
+
> .k-button-icon {
|
|
89
|
+
min-width: calc( #{$_font-size} * #{$_line-height} );
|
|
90
|
+
min-height: calc( #{$_font-size} * #{$_line-height} );
|
|
91
|
+
}
|
|
110
92
|
}
|
|
111
93
|
}
|
|
112
94
|
|
|
@@ -11,34 +11,33 @@ $kendo-button-border-radius: null !default;
|
|
|
11
11
|
/// Horizontal padding of the button.
|
|
12
12
|
/// @group button
|
|
13
13
|
$kendo-button-padding-x: map-get( $spacing, 2 ) !default;
|
|
14
|
-
$kendo-button-padding-x-sm: map-get( $spacing, 2 ) !default;
|
|
15
|
-
$kendo-button-padding-x-md: map-get( $spacing, 2 ) !default;
|
|
16
|
-
$kendo-button-padding-x-lg: map-get( $spacing, 2 ) !default;
|
|
17
|
-
|
|
18
14
|
/// Vertical padding of the button.
|
|
19
15
|
/// @group button
|
|
20
16
|
$kendo-button-padding-y: map-get( $spacing, 1 ) !default;
|
|
21
|
-
$kendo-button-padding-y-sm: map-get( $spacing, 1 ) - map-get( $spacing, thin ) !default;
|
|
22
|
-
$kendo-button-padding-y-md: map-get( $spacing, 1 ) !default;
|
|
23
|
-
$kendo-button-padding-y-lg: map-get( $spacing, 1 ) + map-get( $spacing, thin ) !default;
|
|
24
|
-
|
|
25
17
|
/// Font family of the button.
|
|
26
18
|
/// @group button
|
|
27
19
|
$kendo-button-font-family: $font-family !default;
|
|
28
|
-
|
|
29
20
|
/// Font sizes of the button.
|
|
30
21
|
/// @group button
|
|
31
22
|
$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
23
|
/// Line heights used along with $font-size.
|
|
37
24
|
/// @group button
|
|
38
25
|
$kendo-button-line-height: $line-height-md !default;
|
|
26
|
+
|
|
27
|
+
$kendo-button-padding-x-sm: map-get( $spacing, 2 ) !default;
|
|
28
|
+
$kendo-button-padding-y-sm: map-get( $spacing, 1 ) - map-get( $spacing, thin ) !default;
|
|
29
|
+
$kendo-button-font-size-sm: $font-size-md !default;
|
|
39
30
|
$kendo-button-line-height-sm: $line-height-md !default;
|
|
31
|
+
|
|
32
|
+
$kendo-button-padding-x-md: map-get( $spacing, 2 ) !default;
|
|
33
|
+
$kendo-button-padding-y-md: map-get( $spacing, 1 ) !default;
|
|
34
|
+
$kendo-button-font-size-md: $font-size-md !default;
|
|
40
35
|
$kendo-button-line-height-md: $line-height-md !default;
|
|
41
|
-
|
|
36
|
+
|
|
37
|
+
$kendo-button-padding-x-lg: map-get( $spacing, 3 ) !default;
|
|
38
|
+
$kendo-button-padding-y-lg: map-get( $spacing, 2 );
|
|
39
|
+
$kendo-button-font-size-lg: $font-size-lg !default;
|
|
40
|
+
$kendo-button-line-height-lg: $line-height-lg !default;
|
|
42
41
|
|
|
43
42
|
/// Calculated height of the button.
|
|
44
43
|
/// @group button
|
|
@@ -48,6 +47,27 @@ $kendo-button-calc-size: calc( #{$kendo-button-line-height * 1em} + #{$kendo-but
|
|
|
48
47
|
/// @group button
|
|
49
48
|
$kendo-button-inner-calc-size: calc( #{$kendo-button-line-height * 1em} + #{$kendo-button-padding-y * 2} ) !default;
|
|
50
49
|
|
|
50
|
+
$kendo-button-sizes: (
|
|
51
|
+
sm: (
|
|
52
|
+
padding-x: $kendo-button-padding-x-sm,
|
|
53
|
+
padding-y: $kendo-button-padding-y-sm,
|
|
54
|
+
font-size: $kendo-button-font-size-sm,
|
|
55
|
+
line-height: $kendo-button-line-height-sm
|
|
56
|
+
),
|
|
57
|
+
md: (
|
|
58
|
+
padding-x: $kendo-button-padding-x-md,
|
|
59
|
+
padding-y: $kendo-button-padding-y-md,
|
|
60
|
+
font-size: $kendo-button-font-size-md,
|
|
61
|
+
line-height: $kendo-button-line-height-md
|
|
62
|
+
),
|
|
63
|
+
lg: (
|
|
64
|
+
padding-x: $kendo-button-padding-x-lg,
|
|
65
|
+
padding-y: $kendo-button-padding-y-lg,
|
|
66
|
+
font-size: $kendo-button-font-size-lg,
|
|
67
|
+
line-height: $kendo-button-line-height-lg
|
|
68
|
+
)
|
|
69
|
+
) !default;
|
|
70
|
+
|
|
51
71
|
/// Theme colors map for the button.
|
|
52
72
|
/// @group button
|
|
53
73
|
$kendo-button-theme-colors: map-merge(
|