@progress/kendo-theme-material 4.43.1-dev.3 → 4.43.1-dev.7
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 +2469 -1772
- package/dist/all.scss +2585 -2467
- package/modules/@progress/kendo-theme-default/package.json +2 -2
- package/modules/@progress/kendo-theme-default/scss/adaptive/_layout.scss +40 -86
- package/modules/@progress/kendo-theme-default/scss/adaptive/_theme.scss +0 -9
- package/modules/@progress/kendo-theme-default/scss/appbar/_layout.scss +13 -0
- package/modules/@progress/kendo-theme-default/scss/appbar/_variables.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/autocomplete/_layout.scss +4 -4
- package/modules/@progress/kendo-theme-default/scss/autocomplete/_theme.scss +20 -39
- package/modules/@progress/kendo-theme-default/scss/autocomplete/_variables.scss +0 -19
- package/modules/@progress/kendo-theme-default/scss/avatar/_variables.scss +11 -1
- package/modules/@progress/kendo-theme-default/scss/button/_layout.scss +77 -101
- package/modules/@progress/kendo-theme-default/scss/button/_theme.scss +177 -112
- package/modules/@progress/kendo-theme-default/scss/button/_variables.scss +77 -11
- package/modules/@progress/kendo-theme-default/scss/calendar/_layout.scss +2 -14
- package/modules/@progress/kendo-theme-default/scss/card/_variables.scss +4 -4
- package/modules/@progress/kendo-theme-default/scss/chat/_layout.scss +9 -9
- package/modules/@progress/kendo-theme-default/scss/chat/_theme.scss +0 -21
- package/modules/@progress/kendo-theme-default/scss/chat/_variables.scss +0 -7
- package/modules/@progress/kendo-theme-default/scss/checkbox/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/checkbox/_layout.scss +80 -146
- package/modules/@progress/kendo-theme-default/scss/checkbox/_theme.scss +6 -2
- package/modules/@progress/kendo-theme-default/scss/checkbox/_variables.scss +87 -18
- package/modules/@progress/kendo-theme-default/scss/color-preview/_layout.scss +49 -7
- package/modules/@progress/kendo-theme-default/scss/color-preview/_theme.scss +0 -14
- package/modules/@progress/kendo-theme-default/scss/coloreditor/_layout.scss +5 -1
- package/modules/@progress/kendo-theme-default/scss/coloreditor/_variables.scss +3 -3
- package/modules/@progress/kendo-theme-default/scss/colorgradient/_layout.scss +0 -4
- package/modules/@progress/kendo-theme-default/scss/colorpicker/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/combobox/_layout.scss +22 -29
- package/modules/@progress/kendo-theme-default/scss/combobox/_theme.scss +59 -99
- package/modules/@progress/kendo-theme-default/scss/combobox/_variables.scss +1 -32
- package/modules/@progress/kendo-theme-default/scss/common/_loading.scss +1 -13
- package/modules/@progress/kendo-theme-default/scss/daterangepicker/_index.scss +10 -0
- package/modules/@progress/kendo-theme-default/scss/daterangepicker/_layout.scss +27 -0
- package/modules/@progress/kendo-theme-default/scss/daterangepicker/_theme.scss +3 -0
- package/modules/@progress/kendo-theme-default/scss/daterangepicker/_variables.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/dropdowngrid/_layout.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/dropdownlist/_layout.scss +37 -55
- package/modules/@progress/kendo-theme-default/scss/dropdownlist/_theme.scss +33 -75
- package/modules/@progress/kendo-theme-default/scss/editor/_layout.scss +7 -22
- package/modules/@progress/kendo-theme-default/scss/forms/_layout.scss +6 -12
- package/modules/@progress/kendo-theme-default/scss/gantt/_layout.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/grid/_layout.scss +128 -97
- package/modules/@progress/kendo-theme-default/scss/grid/_theme.scss +0 -6
- package/modules/@progress/kendo-theme-default/scss/grid/_variables.scss +7 -9
- package/modules/@progress/kendo-theme-default/scss/imageeditor/_layout.scss +4 -8
- package/modules/@progress/kendo-theme-default/scss/imageeditor/_variables.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/input/_layout.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/input/_variables.scss +5 -5
- package/modules/@progress/kendo-theme-default/scss/list/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/list/_layout.scss +16 -51
- package/modules/@progress/kendo-theme-default/scss/list/_theme.scss +4 -3
- package/modules/@progress/kendo-theme-default/scss/list/_variables.scss +66 -6
- package/modules/@progress/kendo-theme-default/scss/listbox/_layout.scss +9 -0
- package/modules/@progress/kendo-theme-default/scss/listbox/_variables.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/listview/_layout.scss +2 -9
- package/modules/@progress/kendo-theme-default/scss/map/_layout.scss +7 -5
- package/modules/@progress/kendo-theme-default/scss/maskedtextbox/_layout.scss +17 -31
- package/modules/@progress/kendo-theme-default/scss/maskedtextbox/_theme.scss +44 -14
- package/modules/@progress/kendo-theme-default/scss/mediaplayer/_layout.scss +13 -1
- package/modules/@progress/kendo-theme-default/scss/menu/_layout.scss +48 -5
- package/modules/@progress/kendo-theme-default/scss/menu/_theme.scss +6 -2
- package/modules/@progress/kendo-theme-default/scss/menu/_variables.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/multiselect/_layout.scss +2 -2
- package/modules/@progress/kendo-theme-default/scss/numerictextbox/_layout.scss +9 -27
- package/modules/@progress/kendo-theme-default/scss/numerictextbox/_theme.scss +64 -84
- package/modules/@progress/kendo-theme-default/scss/numerictextbox/_variables.scss +0 -27
- package/modules/@progress/kendo-theme-default/scss/orgchart/_variables.scss +2 -2
- package/modules/@progress/kendo-theme-default/scss/pager/_variables.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/pdf-viewer/_layout.scss +20 -29
- package/modules/@progress/kendo-theme-default/scss/pdf-viewer/_variables.scss +2 -5
- package/modules/@progress/kendo-theme-default/scss/radio/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/radio/_layout.scss +90 -136
- package/modules/@progress/kendo-theme-default/scss/radio/_theme.scss +2 -2
- package/modules/@progress/kendo-theme-default/scss/radio/_variables.scss +88 -26
- package/modules/@progress/kendo-theme-default/scss/scheduler/_layout.scss +26 -13
- package/modules/@progress/kendo-theme-default/scss/searchbox/_layout.scss +22 -8
- package/modules/@progress/kendo-theme-default/scss/searchbox/_theme.scss +16 -25
- package/modules/@progress/kendo-theme-default/scss/searchbox/_variables.scss +0 -20
- package/modules/@progress/kendo-theme-default/scss/skeleton/_layout.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/slider/_layout.scss +69 -146
- package/modules/@progress/kendo-theme-default/scss/slider/_theme.scss +0 -6
- package/modules/@progress/kendo-theme-default/scss/spreadsheet/_layout.scss +32 -23
- package/modules/@progress/kendo-theme-default/scss/table/_layout.scss +29 -6
- package/modules/@progress/kendo-theme-default/scss/table/_theme.scss +3 -2
- package/modules/@progress/kendo-theme-default/scss/table/_variables.scss +3 -3
- 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/timeselector/_layout.scss +3 -2
- package/modules/@progress/kendo-theme-default/scss/toolbar/_layout.scss +37 -2
- package/modules/@progress/kendo-theme-default/scss/toolbar/_theme.scss +35 -7
- package/modules/@progress/kendo-theme-default/scss/treelist/_layout.scss +4 -0
- package/modules/@progress/kendo-theme-default/scss/treeview/_layout.scss +130 -116
- package/modules/@progress/kendo-theme-default/scss/treeview/_theme.scss +36 -25
- package/modules/@progress/kendo-theme-default/scss/treeview/_variables.scss +67 -13
- package/modules/@progress/kendo-theme-default/scss/typography/_variables.scss +3 -3
- package/modules/@progress/kendo-theme-default/scss/window/_layout.scss +2 -2
- package/modules/@progress/kendo-theme-default/scss/window/_variables.scss +1 -1
- package/package.json +3 -3
- package/scss/action-buttons/_theme.scss +1 -2
- package/scss/appbar/_variables.scss +1 -1
- package/scss/autocomplete/_variables.scss +0 -19
- package/scss/avatar/_variables.scss +11 -1
- package/scss/button/_layout.scss +29 -4
- package/scss/button/_theme.scss +43 -56
- package/scss/button/_variables.scss +80 -14
- package/scss/chat/_variables.scss +0 -7
- package/scss/checkbox/_index.scss +1 -0
- package/scss/checkbox/_theme.scss +2 -9
- package/scss/checkbox/_variables.scss +89 -19
- package/scss/coloreditor/_variables.scss +3 -3
- package/scss/combobox/_layout.scss +4 -5
- package/scss/combobox/_variables.scss +1 -32
- package/scss/daterangepicker/_index.scss +10 -0
- package/scss/daterangepicker/_layout.scss +1 -0
- package/scss/daterangepicker/_theme.scss +1 -0
- package/scss/daterangepicker/_variables.scss +1 -0
- package/scss/dropdownlist/_layout.scss +2 -11
- package/scss/dropdownlist/_theme.scss +0 -31
- package/scss/fab/index.md +0 -0
- package/scss/filter/_variables.scss +1 -1
- package/scss/grid/_layout.scss +0 -8
- package/scss/grid/_variables.scss +7 -9
- package/scss/imageeditor/_variables.scss +1 -0
- package/scss/index.scss +1 -0
- package/scss/input/_variables.scss +7 -7
- package/scss/list/_index.scss +1 -0
- package/scss/list/_layout.scss +4 -10
- package/scss/list/_variables.scss +65 -5
- package/scss/listbox/_variables.scss +5 -5
- package/scss/maskedtextbox/_layout.scss +11 -0
- package/scss/menu/_theme.scss +2 -0
- package/scss/menu/_variables.scss +3 -3
- package/scss/numerictextbox/_layout.scss +4 -5
- package/scss/numerictextbox/_variables.scss +0 -27
- package/scss/orgchart/_variables.scss +2 -2
- package/scss/pager/_variables.scss +1 -1
- package/scss/pdf-viewer/_variables.scss +2 -5
- package/scss/radio/_index.scss +1 -0
- package/scss/radio/_theme.scss +2 -9
- package/scss/radio/_variables.scss +83 -23
- package/scss/scheduler/_layout.scss +0 -16
- package/scss/searchbox/_variables.scss +0 -20
- package/scss/table/_variables.scss +3 -3
- package/scss/toolbar/_layout.scss +7 -1
- package/scss/toolbar/_theme.scss +2 -4
- package/scss/treeview/_theme.scss +29 -22
- package/scss/treeview/_variables.scss +70 -16
|
@@ -110,10 +110,10 @@
|
|
|
110
110
|
margin-top: -($window-inner-padding-y / 2);
|
|
111
111
|
}
|
|
112
112
|
.k-window-content:first-child {
|
|
113
|
-
padding-top:
|
|
113
|
+
padding-top: clamp( #{$window-inner-padding-y}, #{$window-titlebar-padding-y}, #{$window-titlebar-padding-y} );
|
|
114
114
|
}
|
|
115
115
|
.k-window-content:last-child {
|
|
116
|
-
padding-bottom:
|
|
116
|
+
padding-bottom: clamp( #{$window-inner-padding-y}, #{$window-titlebar-padding-y}, #{$window-titlebar-padding-y} );
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
.k-window-iframecontent {
|
|
@@ -11,7 +11,7 @@ $window-titlebar-border-width: 0 0 1px !default;
|
|
|
11
11
|
$window-titlebar-border-style: solid !default;
|
|
12
12
|
|
|
13
13
|
$window-title-font-size: $font-size-lg !default;
|
|
14
|
-
$window-title-line-height:
|
|
14
|
+
$window-title-line-height: 1.25 !default;
|
|
15
15
|
|
|
16
16
|
$window-actions-gap: null !default;
|
|
17
17
|
|
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": "4.43.1-dev.
|
|
4
|
+
"version": "4.43.1-dev.7",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"postpublish": "rm -rf modules && git checkout scss"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@progress/kendo-theme-default": "^4.43.1-dev.
|
|
54
|
+
"@progress/kendo-theme-default": "^4.43.1-dev.7"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "634466e18a3f771f8e1da5dc5efdefca1f4fd344"
|
|
57
57
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
$appbar-margin-y: null !default;
|
|
3
3
|
$appbar-margin-x: null !default;
|
|
4
4
|
$appbar-padding-y: map-get( $spacing, 2 ) !default;
|
|
5
|
-
$appbar-padding-x: map-get( $spacing,
|
|
5
|
+
$appbar-padding-x: map-get( $spacing, 2 ) !default;
|
|
6
6
|
$appbar-border-width: 0px !default;
|
|
7
7
|
|
|
8
8
|
$appbar-zindex: 1000 !default;
|
|
@@ -1,20 +1 @@
|
|
|
1
1
|
// Autocomplete
|
|
2
|
-
$autocomplete-bg: $input-bg !default;
|
|
3
|
-
$autocomplete-text: $input-text !default;
|
|
4
|
-
$autocomplete-border: $input-border !default;
|
|
5
|
-
$autocomplete-shadow: $input-shadow !default;
|
|
6
|
-
|
|
7
|
-
$autocomplete-hovered-bg: $input-hovered-bg !default;
|
|
8
|
-
$autocomplete-hovered-text: $input-hovered-text !default;
|
|
9
|
-
$autocomplete-hovered-border: $input-hovered-border !default;
|
|
10
|
-
$autocomplete-hovered-shadow: $input-hovered-shadow !default;
|
|
11
|
-
|
|
12
|
-
$autocomplete-focused-bg: $input-focused-bg !default;
|
|
13
|
-
$autocomplete-focused-text: $input-focused-text !default;
|
|
14
|
-
$autocomplete-focused-border: $input-focused-border !default;
|
|
15
|
-
$autocomplete-focused-shadow: $input-focused-shadow !default;
|
|
16
|
-
|
|
17
|
-
$autocomplete-disabled-bg: null !default;
|
|
18
|
-
$autocomplete-disabled-text: null !default;
|
|
19
|
-
$autocomplete-disabled-border: null !default;
|
|
20
|
-
$autocomplete-disabled-shadow: null !default;
|
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
// Avatar
|
|
2
|
+
|
|
3
|
+
/// Border width of the avatar.
|
|
4
|
+
/// @group avatar
|
|
2
5
|
$avatar-border-width: 1px !default;
|
|
3
6
|
$avatar-border-radius: map-get( $spacing, 1 ) !default;
|
|
4
7
|
|
|
8
|
+
/// Font family of the avatar.
|
|
9
|
+
/// @group avatar
|
|
5
10
|
$avatar-font-family: $font-family !default;
|
|
11
|
+
/// Font size of the avatar.
|
|
12
|
+
/// @group avatar
|
|
6
13
|
$avatar-font-size: $font-size !default;
|
|
14
|
+
/// Line height of the avatar.
|
|
15
|
+
/// @group avatar
|
|
7
16
|
$avatar-line-height: $line-height !default;
|
|
8
17
|
|
|
9
|
-
|
|
18
|
+
/// The sizes of the avatar.
|
|
19
|
+
/// @group avatar
|
|
10
20
|
$avatar-sizes: (
|
|
11
21
|
sm: map-get( $spacing, 4 ),
|
|
12
22
|
md: map-get( $spacing, 8 ),
|
package/scss/button/_layout.scss
CHANGED
|
@@ -15,6 +15,14 @@
|
|
|
15
15
|
&::after {
|
|
16
16
|
display: none !important; // sass-lint:disable-line no-important
|
|
17
17
|
}
|
|
18
|
+
|
|
19
|
+
&:disabled,
|
|
20
|
+
&[disabled],
|
|
21
|
+
&.k-disabled,
|
|
22
|
+
&.k-state-disabled {
|
|
23
|
+
opacity: 1;
|
|
24
|
+
filter: none;
|
|
25
|
+
}
|
|
18
26
|
}
|
|
19
27
|
|
|
20
28
|
|
|
@@ -29,11 +37,28 @@
|
|
|
29
37
|
// Outline button
|
|
30
38
|
.k-button-outline {
|
|
31
39
|
background-color: transparent !important; // sass-lint:disable-line no-important
|
|
40
|
+
box-shadow: none !important; // sass-lint:disable-line no-important
|
|
41
|
+
}
|
|
32
42
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
43
|
+
|
|
44
|
+
// Link button
|
|
45
|
+
.k-button.k-button-link {
|
|
46
|
+
|
|
47
|
+
&:hover,
|
|
48
|
+
&.k-state-hover,
|
|
49
|
+
&:active,
|
|
50
|
+
&.k-state-active,
|
|
51
|
+
&.k-state-selected {
|
|
52
|
+
&::before {
|
|
53
|
+
opacity: 0;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&:focus,
|
|
58
|
+
&.k-state-focus {
|
|
59
|
+
&::before {
|
|
60
|
+
opacity: $flat-button-focus-opacity;
|
|
61
|
+
}
|
|
37
62
|
}
|
|
38
63
|
}
|
|
39
64
|
|
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,71 @@
|
|
|
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
|
+
$button-arrow-padding-x: map-get( $spacing, 1 ) !default;
|
|
52
|
+
$button-arrow-padding-y: $button-padding-y !default;
|
|
53
|
+
|
|
54
|
+
/// Theme colors map for the button.
|
|
55
|
+
/// @group button
|
|
56
|
+
$button-theme-colors: (
|
|
57
|
+
"primary": map-get( $theme-colors, primary ),
|
|
58
|
+
"secondary": map-get( $theme-colors, secondary ),
|
|
59
|
+
"tertiary": map-get( $theme-colors, tertiary ),
|
|
60
|
+
"info": map-get( $theme-colors, info ),
|
|
61
|
+
"success": map-get( $theme-colors, success ),
|
|
62
|
+
"warning": map-get( $theme-colors, warning ),
|
|
63
|
+
"error": map-get( $theme-colors, error ),
|
|
64
|
+
"dark": map-get( $theme-colors, dark ),
|
|
65
|
+
"light": map-get( $theme-colors, light ),
|
|
66
|
+
"inverse": map-get( $theme-colors, inverse )
|
|
67
|
+
) !default;
|
|
68
|
+
|
|
27
69
|
/// The background of the buttons.
|
|
28
70
|
/// @group button
|
|
29
71
|
$button-bg: $base-bg !default;
|
|
@@ -88,7 +130,7 @@ $button-focused-shadow: null !default;
|
|
|
88
130
|
// Disabled button
|
|
89
131
|
$button-disabled-bg: try-shade( $body-bg, 12% ) !default;
|
|
90
132
|
$button-disabled-text: $disabled-text !default;
|
|
91
|
-
$button-disabled-border:
|
|
133
|
+
$button-disabled-border: $button-disabled-bg !default;
|
|
92
134
|
$button-disabled-gradient: null !default;
|
|
93
135
|
$button-disabled-shadow: none !default;
|
|
94
136
|
|
|
@@ -120,7 +162,31 @@ $primary-button-selected-shadow: null !default;
|
|
|
120
162
|
|
|
121
163
|
$primary-button-focused-shadow: null !default;
|
|
122
164
|
|
|
123
|
-
$button-
|
|
165
|
+
$solid-button-gradient: null !default;
|
|
166
|
+
$solid-button-shade-function: "try-shade";
|
|
167
|
+
$solid-button-shade-text-amount: null !default;
|
|
168
|
+
$solid-button-shade-bg-amount: 0 !default;
|
|
169
|
+
$solid-button-shade-border-amount: 0 !default;
|
|
170
|
+
$solid-button-hover-shade-text-amount: null !default;
|
|
171
|
+
$solid-button-hover-shade-bg-amount: null !default;
|
|
172
|
+
$solid-button-hover-shade-border-amount: null !default;
|
|
173
|
+
$solid-button-active-shade-text-amount: null !default;
|
|
174
|
+
$solid-button-active-shade-bg-amount: null !default;
|
|
175
|
+
$solid-button-active-shade-border-amount: null !default;
|
|
176
|
+
$solid-button-shadow: null !default;
|
|
177
|
+
$solid-button-shadow-blur: null !default;
|
|
178
|
+
$solid-button-shadow-spread: null !default;
|
|
179
|
+
$solid-button-shadow-opacity: null !default;
|
|
180
|
+
|
|
181
|
+
$outline-button-shadow: null !default;
|
|
182
|
+
$outline-button-shadow-blur: null !default;
|
|
183
|
+
$outline-button-shadow-spread: null !default;
|
|
184
|
+
$outline-button-shadow-opacity: null !default;
|
|
185
|
+
|
|
186
|
+
$link-button-shadow: null !default;
|
|
187
|
+
$link-button-shadow-blur: null !default;
|
|
188
|
+
$link-button-shadow-spread: null !default;
|
|
189
|
+
$link-button-shadow-opacity: null !default;
|
|
124
190
|
|
|
125
191
|
$flat-button-hover-opacity: .08 !default;
|
|
126
192
|
$flat-button-focus-opacity: .12 !default;
|
|
@@ -70,10 +70,3 @@ $chat-quick-reply-border: $primary !default;
|
|
|
70
70
|
$chat-quick-reply-hover-bg: $primary !default;
|
|
71
71
|
$chat-quick-reply-hover-text: $primary-contrast !default;
|
|
72
72
|
$chat-quick-reply-hover-border: $primary !default;
|
|
73
|
-
|
|
74
|
-
$chat-message-box-bg: $component-bg !default;
|
|
75
|
-
$chat-message-box-text: $input-text !default;
|
|
76
|
-
$chat-message-box-border: inherit !default;
|
|
77
|
-
$chat-message-box-focus-shadow: 0 0 40px rgba( $input-text, .1 ) !default;
|
|
78
|
-
|
|
79
|
-
$chat-toolbar-box-scroll-button-shadow: 0 0 20px 5px $chat-bg !default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@import "../../modules/@progress/kendo-theme-default/scss/checkbox/_theme.scss";
|
|
2
2
|
|
|
3
|
-
@include exports("checkbox/theme/material") {
|
|
3
|
+
@include exports( "checkbox/theme/material" ) {
|
|
4
4
|
|
|
5
5
|
// Checkbox
|
|
6
6
|
.k-checkbox-label {
|
|
@@ -11,13 +11,6 @@
|
|
|
11
11
|
opacity: 1;
|
|
12
12
|
filter: none;
|
|
13
13
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
// Ripple
|
|
17
|
-
.k-ripple-blob {
|
|
18
|
-
opacity: .2;
|
|
19
|
-
background-color: $checkbox-checked-bg;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
14
|
}
|
|
15
|
+
|
|
23
16
|
}
|
|
@@ -1,73 +1,143 @@
|
|
|
1
1
|
// Checkbox
|
|
2
|
+
|
|
2
3
|
$checkbox-size: map-get( $spacing, 4 ) !default;
|
|
3
4
|
$checkbox-radius: map-get( $spacing, thin ) !default;
|
|
5
|
+
/// Border width of checkbox.
|
|
6
|
+
/// @group checkbox
|
|
4
7
|
$checkbox-border-width: 2px !default;
|
|
5
|
-
$checkbox-line-height: calc( #{$checkbox-size} + #{$checkbox-border-width} ) !default;
|
|
6
8
|
|
|
9
|
+
/// Background color of checkbox.
|
|
10
|
+
/// @group checkbox
|
|
7
11
|
$checkbox-bg: null !default;
|
|
8
|
-
|
|
12
|
+
/// Color of checkbox.
|
|
13
|
+
/// @group checkbox
|
|
14
|
+
$checkbox-text: null !default;
|
|
15
|
+
/// Border color of checkbox.
|
|
16
|
+
/// @group checkbox
|
|
9
17
|
$checkbox-border: rgba( if( $dark-theme, $white, $black ), .54 ) !default;
|
|
10
18
|
|
|
19
|
+
/// Background color of hovered checkbox.
|
|
20
|
+
/// @group checkbox
|
|
11
21
|
$checkbox-hovered-bg: null !default;
|
|
22
|
+
/// Color of hovered checkbox.
|
|
23
|
+
/// @group checkbox
|
|
12
24
|
$checkbox-hovered-text: null !default;
|
|
13
|
-
|
|
25
|
+
/// Border color of hovered checkbox.
|
|
26
|
+
/// @group checkbox
|
|
27
|
+
$checkbox-hovered-border: null !default;
|
|
14
28
|
|
|
29
|
+
/// Background color of checked checkbox.
|
|
30
|
+
/// @group checkbox
|
|
15
31
|
$checkbox-checked-bg: $primary !default;
|
|
32
|
+
/// Color of checked checkbox.
|
|
33
|
+
/// @group checkbox
|
|
16
34
|
$checkbox-checked-text: contrast-wcag( $checkbox-checked-bg ) !default;
|
|
35
|
+
/// Border color of checked checkbox.
|
|
36
|
+
/// @group checkbox
|
|
17
37
|
$checkbox-checked-border: $checkbox-checked-bg !default;
|
|
18
38
|
|
|
39
|
+
/// Background color of indeterminate checkbox.
|
|
40
|
+
/// @group checkbox
|
|
19
41
|
$checkbox-indeterminate-bg: $checkbox-checked-bg !default;
|
|
42
|
+
/// Color of indeterminate checkbox.
|
|
43
|
+
/// @group checkbox
|
|
20
44
|
$checkbox-indeterminate-text: $checkbox-checked-text !default;
|
|
45
|
+
/// Border color of indeterminate checkbox.
|
|
46
|
+
/// @group checkbox
|
|
21
47
|
$checkbox-indeterminate-border: $checkbox-checked-border !default;
|
|
22
48
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
$checkbox-focused-
|
|
26
|
-
|
|
27
|
-
|
|
49
|
+
/// Border color of focused checkbox.
|
|
50
|
+
/// @group checkbox
|
|
51
|
+
$checkbox-focused-border: null !default;
|
|
52
|
+
/// Box shadow of focused checkbox.
|
|
53
|
+
/// @group checkbox
|
|
54
|
+
$checkbox-focused-shadow: null !default;
|
|
55
|
+
/// Border color of focused and checked checkbox.
|
|
56
|
+
/// @group checkbox
|
|
57
|
+
$checkbox-focused-checked-border: null !default;
|
|
58
|
+
/// Box shadow of focused and checked checkbox.
|
|
59
|
+
/// @group checkbox
|
|
60
|
+
$checkbox-focused-checked-shadow: null !default;
|
|
61
|
+
|
|
62
|
+
/// Background color of disabled checkbox.
|
|
63
|
+
/// @group checkbox
|
|
28
64
|
$checkbox-disabled-bg: null !default;
|
|
65
|
+
/// Color of disabled checkbox.
|
|
66
|
+
/// @group checkbox
|
|
29
67
|
$checkbox-disabled-text: null !default;
|
|
68
|
+
/// Border color of disabled checkbox.
|
|
69
|
+
/// @group checkbox
|
|
30
70
|
$checkbox-disabled-border: try-shade( $component-bg, 4 ) !default;
|
|
31
71
|
|
|
72
|
+
|
|
73
|
+
/// Background color of disabled and checked checkbox.
|
|
74
|
+
/// @group checkbox
|
|
32
75
|
$checkbox-disabled-checked-bg: $checkbox-disabled-border !default;
|
|
76
|
+
/// Color of disabled and checked checkbox.
|
|
77
|
+
/// @group checkbox
|
|
33
78
|
$checkbox-disabled-checked-text: contrast-wcag( $checkbox-disabled-checked-bg ) !default;
|
|
79
|
+
/// Border color of disabled and checked checkbox.
|
|
80
|
+
/// @group checkbox
|
|
34
81
|
$checkbox-disabled-checked-border: $checkbox-disabled-checked-bg !default;
|
|
35
82
|
|
|
83
|
+
/// Background color of invalid checkbox.
|
|
84
|
+
/// @group checkbox
|
|
36
85
|
$checkbox-invalid-bg: null !default;
|
|
86
|
+
/// Color of invalid checkbox.
|
|
87
|
+
/// @group checkbox
|
|
37
88
|
$checkbox-invalid-text: $invalid-text !default;
|
|
89
|
+
/// Border color of invalid checkbox.
|
|
90
|
+
/// @group checkbox
|
|
38
91
|
$checkbox-invalid-border: $invalid-border !default;
|
|
39
92
|
|
|
40
93
|
|
|
41
94
|
// Checkbox indicator
|
|
42
|
-
$checkbox-icon-type: image !default;
|
|
43
95
|
|
|
96
|
+
/// Type of checkbox indicator.
|
|
97
|
+
/// @group checkbox
|
|
98
|
+
$checkbox-indicator-type: image !default;
|
|
99
|
+
|
|
100
|
+
/// Glyph font family of checkbox indicator.
|
|
101
|
+
/// @group checkbox
|
|
44
102
|
$checkbox-glyph-font-family: "WebComponentsIcons", monospace !default;
|
|
45
103
|
$checkbox-glyph-size: 10px !default;
|
|
104
|
+
/// Glyph of checkbox indicator.
|
|
105
|
+
/// @group checkbox
|
|
46
106
|
$checkbox-checked-glyph: "\e118" !default;
|
|
107
|
+
/// Glyph of indeterminate checkbox indicator.
|
|
108
|
+
/// @group checkbox
|
|
47
109
|
$checkbox-indeterminate-glyph: "\e121" !default;
|
|
48
110
|
|
|
111
|
+
/// Image of checked checkbox indicator.
|
|
112
|
+
/// @group checkbox
|
|
49
113
|
$checkbox-checked-image: escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='#{$checkbox-checked-text}' stroke-width='3' d='M4.1,12.7 9,17.6 20.3,6.3'/></svg>") ) !default;
|
|
114
|
+
/// Image of checked checkbox indicator.
|
|
115
|
+
/// @group checkbox
|
|
50
116
|
$checkbox-indeterminate-image: escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$checkbox-indeterminate-text}' stroke-width='3' d='M4 10h12'/></svg>") ) !default;
|
|
51
117
|
|
|
52
|
-
$checkbox-marker-checked-width: 10px !default;
|
|
53
|
-
$checkbox-marker-checked-height: 10px !default;
|
|
54
|
-
$checkbox-marker-indeterminate-width: 10px !default;
|
|
55
|
-
$checkbox-marker-indeterminate-height: 2px !default;
|
|
56
|
-
|
|
57
118
|
|
|
58
119
|
// Checkbox label
|
|
59
120
|
$checkbox-label-margin-x: map-get( $spacing, 1 ) !default;
|
|
60
121
|
|
|
61
122
|
|
|
62
123
|
// Checkbox list
|
|
63
|
-
|
|
64
|
-
|
|
124
|
+
|
|
125
|
+
/// Spacing between items of horizontal checkbox list.
|
|
126
|
+
/// @group checkbox
|
|
127
|
+
$checkbox-list-spacing: map-get( $spacing, 4 ) !default;
|
|
128
|
+
/// Horizontal padding of checkbox list items.
|
|
129
|
+
/// @group checkbox
|
|
65
130
|
$checkbox-list-item-padding-x: 0px !default;
|
|
131
|
+
/// Vertical padding of checkbox list items.
|
|
132
|
+
/// @group checkbox
|
|
66
133
|
$checkbox-list-item-padding-y: $list-item-padding-y !default;
|
|
67
|
-
$checkbox-list-horizontal-item-margin-x: 32px !default;
|
|
68
134
|
|
|
69
135
|
|
|
70
136
|
// Checkbox ripple
|
|
71
137
|
$checkbox-ripple-size: $checkbox-size * 3 !default;
|
|
72
|
-
|
|
73
|
-
|
|
138
|
+
/// Background color of checkbox ripple.
|
|
139
|
+
/// @group checkbox
|
|
140
|
+
$checkbox-ripple-bg: $primary !default;
|
|
141
|
+
/// Opacity of checkbox ripple.
|
|
142
|
+
/// @group checkbox
|
|
143
|
+
$checkbox-ripple-opacity: .2 !default;
|
|
@@ -18,9 +18,9 @@ $coloreditor-header-padding-y: $coloreditor-spacer !default;
|
|
|
18
18
|
$coloreditor-header-padding-x: $coloreditor-header-padding-y !default;
|
|
19
19
|
$coloreditor-header-actions-gap: map-get( $spacing, 2 ) !default;
|
|
20
20
|
|
|
21
|
-
$coloreditor-preview-gap:
|
|
22
|
-
$coloreditor-color-preview-width:
|
|
23
|
-
$coloreditor-color-preview-height:
|
|
21
|
+
$coloreditor-preview-gap: map-get( $spacing, 1 ) !default;
|
|
22
|
+
$coloreditor-color-preview-width: 32px !default;
|
|
23
|
+
$coloreditor-color-preview-height: 12px !default;
|
|
24
24
|
|
|
25
25
|
$coloreditor-views-padding-y: $coloreditor-spacer !default;
|
|
26
26
|
$coloreditor-views-padding-x: $coloreditor-views-padding-y !default;
|
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
@include exports( "combobox/layout/material" ) {
|
|
4
4
|
|
|
5
|
+
// Combobox
|
|
5
6
|
.k-combobox {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
border-top-color: transparent !important; // sass-lint:disable-line no-important
|
|
10
|
-
}
|
|
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
|
|
11
10
|
}
|
|
12
11
|
|
|
13
12
|
}
|