@progress/kendo-theme-material 4.43.1-dev.4 → 4.43.1-dev.8
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 +0 -3
- package/dist/all.css +3078 -2182
- package/dist/all.scss +4679 -4316
- package/modules/@progress/kendo-theme-default/package.json +2 -2
- package/modules/@progress/kendo-theme-default/scss/action-buttons/_layout.scss +7 -0
- package/modules/@progress/kendo-theme-default/scss/action-sheet/_layout.scss +6 -0
- 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 +6 -1
- package/modules/@progress/kendo-theme-default/scss/appbar/_variables.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/autocomplete/_layout.scss +6 -0
- 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/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/avatar/_variables.scss +11 -1
- package/modules/@progress/kendo-theme-default/scss/badge/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/bottom-navigation/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/breadcrumb/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/button/_layout.scss +82 -94
- 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/captcha/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/card/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/card/_variables.scss +4 -4
- package/modules/@progress/kendo-theme-default/scss/chat/_layout.scss +12 -11
- 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/_layout.scss +78 -145
- 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/chip/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/color-preview/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/coloreditor/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/colorgradient/_layout.scss +6 -4
- package/modules/@progress/kendo-theme-default/scss/colorpalette/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/colorpicker/_layout.scss +6 -3
- package/modules/@progress/kendo-theme-default/scss/combobox/_layout.scss +6 -1
- package/modules/@progress/kendo-theme-default/scss/common/_loading.scss +1 -13
- package/modules/@progress/kendo-theme-default/scss/dateinput/_layout.scss +7 -1
- package/modules/@progress/kendo-theme-default/scss/datepicker/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/daterangepicker/_index.scss +10 -0
- package/modules/@progress/kendo-theme-default/scss/daterangepicker/_layout.scss +33 -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/datetimepicker/_layout.scss +6 -2
- package/modules/@progress/kendo-theme-default/scss/drawer/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/dropdownlist/_layout.scss +6 -1
- package/modules/@progress/kendo-theme-default/scss/editor/_layout.scss +2 -10
- package/modules/@progress/kendo-theme-default/scss/expansion-panel/_layout.scss +6 -1
- package/modules/@progress/kendo-theme-default/scss/fab/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/filter/_layout.scss +8 -0
- package/modules/@progress/kendo-theme-default/scss/floating-label/_layout.scss +7 -0
- package/modules/@progress/kendo-theme-default/scss/forms/_layout.scss +7 -9
- 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 +1 -3
- package/modules/@progress/kendo-theme-default/scss/imageeditor/_layout.scss +6 -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/_layout.scss +16 -66
- package/modules/@progress/kendo-theme-default/scss/list/_theme.scss +5 -4
- package/modules/@progress/kendo-theme-default/scss/list/_variables.scss +64 -8
- 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 +12 -0
- package/modules/@progress/kendo-theme-default/scss/maskedtextbox/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/mediaplayer/_layout.scss +14 -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 +8 -2
- package/modules/@progress/kendo-theme-default/scss/notification/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/numerictextbox/_layout.scss +12 -26
- 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/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/orgchart/_variables.scss +2 -2
- package/modules/@progress/kendo-theme-default/scss/pager/_layout.scss +6 -2
- package/modules/@progress/kendo-theme-default/scss/pager/_variables.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/panelbar/_layout.scss +6 -0
- 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/pivotgrid/_layout.scss +55 -83
- package/modules/@progress/kendo-theme-default/scss/pivotgrid/_theme.scss +39 -73
- package/modules/@progress/kendo-theme-default/scss/popover/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/progressbar/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/radio/_layout.scss +89 -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/rating/_layout.scss +6 -1
- package/modules/@progress/kendo-theme-default/scss/scheduler/_layout.scss +31 -12
- package/modules/@progress/kendo-theme-default/scss/searchbox/_layout.scss +28 -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 +71 -144
- package/modules/@progress/kendo-theme-default/scss/slider/_theme.scss +0 -6
- package/modules/@progress/kendo-theme-default/scss/spreadsheet/_layout.scss +28 -15
- package/modules/@progress/kendo-theme-default/scss/stepper/_layout.scss +6 -1
- package/modules/@progress/kendo-theme-default/scss/switch/_layout.scss +14 -9
- package/modules/@progress/kendo-theme-default/scss/switch/_variables.scss +127 -33
- 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 +16 -4
- package/modules/@progress/kendo-theme-default/scss/taskboard/_layout.scss +6 -2
- package/modules/@progress/kendo-theme-default/scss/textarea/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/textbox/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/timeline/_layout.scss +6 -4
- package/modules/@progress/kendo-theme-default/scss/timepicker/_layout.scss +6 -1
- package/modules/@progress/kendo-theme-default/scss/timeselector/_layout.scss +3 -2
- package/modules/@progress/kendo-theme-default/scss/toolbar/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/toolbar/_layout.scss +22 -2
- package/modules/@progress/kendo-theme-default/scss/toolbar/_theme.scss +35 -7
- package/modules/@progress/kendo-theme-default/scss/tooltip/_layout.scss +6 -1
- package/modules/@progress/kendo-theme-default/scss/treelist/_layout.scss +4 -0
- package/modules/@progress/kendo-theme-default/scss/treeview/_layout.scss +134 -115
- 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/upload/_layout.scss +6 -1
- 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/_theme.scss +2 -9
- package/scss/checkbox/_variables.scss +89 -19
- 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/grid/_layout.scss +0 -8
- package/scss/grid/_variables.scss +1 -3
- package/scss/index.scss +1 -0
- package/scss/input/_variables.scss +5 -5
- package/scss/list/_variables.scss +64 -8
- 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/pivotgrid/_layout.scss +0 -54
- package/scss/pivotgrid/_theme.scss +0 -140
- 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/switch/_variables.scss +124 -30
- package/scss/table/_variables.scss +3 -3
- package/scss/toolbar/_index.scss +1 -0
- 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 +69 -15
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "../../modules/@progress/kendo-theme-default/scss/daterangepicker/_layout.scss";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "../../modules/@progress/kendo-theme-default/scss/daterangepicker/_theme.scss";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// Daterangepicker
|
package/scss/grid/_layout.scss
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
$grid-hierarchy-col-width: 32px !default;
|
|
2
|
-
$grid-form-component-vertical-align: middle !default;
|
|
3
2
|
// TODO: perhaps these should be the values for cell-padding-x/-y
|
|
4
3
|
$grid-grouping-row-border-top: 0px !default;
|
|
5
4
|
$grid-group-footer-border-y: 1px !default;
|
|
@@ -16,15 +15,8 @@ $grid-group-dropclue-top: calc( ( #{$button-calc-size} + #{$grid-grouping-header
|
|
|
16
15
|
@import "../../modules/@progress/kendo-theme-default/scss/grid/_layout.scss";
|
|
17
16
|
|
|
18
17
|
@include exports ("grid/layout/material") {
|
|
19
|
-
$text-field-border-width: 2px;
|
|
20
|
-
$text-field-radius: $text-field-border-width + 1px;
|
|
21
|
-
$text-field-padding: (2 * $grid-cell-padding-x / 3);
|
|
22
18
|
|
|
23
19
|
.k-grid {
|
|
24
|
-
.k-checkbox-label,
|
|
25
|
-
.k-radio-label {
|
|
26
|
-
line-height: normal;
|
|
27
|
-
}
|
|
28
20
|
|
|
29
21
|
.k-button,
|
|
30
22
|
.k-button:active {
|
|
@@ -114,8 +114,6 @@ $grid-edit-cell-padding-y: 6px !default;
|
|
|
114
114
|
|
|
115
115
|
$grid-command-cell-button-spacing: map-get( $spacing, 2 ) !default;
|
|
116
116
|
|
|
117
|
-
$grid-search-width: $input-default-width !default;
|
|
118
|
-
|
|
119
117
|
$grid-sticky-bg: $grid-bg !default;
|
|
120
118
|
$grid-sticky-text: $grid-text !default;
|
|
121
119
|
$grid-sticky-border: rgba( contrast-wcag( $grid-bg ), .5 ) !default;
|
|
@@ -135,7 +133,7 @@ $grid-sticky-selected-alt-bg: $grid-sticky-selected-bg !default;
|
|
|
135
133
|
$grid-sticky-hovered-bg: try-shade($grid-bg, 7%) !default;
|
|
136
134
|
$grid-sticky-selected-hovered-bg: try-shade($grid-sticky-selected-bg, .87) !default;
|
|
137
135
|
|
|
138
|
-
$grid-
|
|
136
|
+
$grid-column-menu-width: 250px !default;
|
|
139
137
|
|
|
140
138
|
$grid-filter-menu-check-all-border-bottom-width: 0 !default;
|
|
141
139
|
|
package/scss/index.scss
CHANGED
|
@@ -69,6 +69,7 @@
|
|
|
69
69
|
@import "datepicker/_index.scss";
|
|
70
70
|
@import "timepicker/_index.scss";
|
|
71
71
|
@import "datetimepicker/_index.scss";
|
|
72
|
+
@import "daterangepicker/_index.scss";
|
|
72
73
|
@import "dropdowngrid/_index.scss";
|
|
73
74
|
@import "dropdownlist/_index.scss";
|
|
74
75
|
@import "dropdowntree/_index.scss";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Input
|
|
2
|
-
$input-default-width:
|
|
2
|
+
$input-default-width: 10em !default;
|
|
3
3
|
|
|
4
4
|
$input-border-width: 1px !default;
|
|
5
5
|
$input-border-height: 1px !default;
|
|
@@ -10,19 +10,19 @@ $input-border-radius-lg: 0px !default;
|
|
|
10
10
|
$input-padding-x: map-get( $spacing, 4 ) !default;
|
|
11
11
|
$input-padding-y: map-get( $spacing, 2 ) !default;
|
|
12
12
|
$input-font-family: $font-family !default;
|
|
13
|
-
$input-font-size: $font-size-
|
|
14
|
-
$input-line-height:
|
|
13
|
+
$input-font-size: $font-size-lg !default;
|
|
14
|
+
$input-line-height: 1.25 !default;
|
|
15
15
|
$input-line-height-em: $input-line-height * 1em !default;
|
|
16
16
|
|
|
17
17
|
$input-padding-x-sm: ($input-padding-x / 2) !default;
|
|
18
18
|
$input-padding-y-sm: ($input-padding-y / 2) !default;
|
|
19
19
|
$input-font-size-sm: $input-font-size !default;
|
|
20
|
-
$input-line-height-sm:
|
|
20
|
+
$input-line-height-sm: $input-line-height !default;
|
|
21
21
|
|
|
22
22
|
$input-padding-x-lg: ($input-padding-x * 1.5) !default;
|
|
23
23
|
$input-padding-y-lg: ($input-padding-y * 1.5) !default;
|
|
24
24
|
$input-font-size-lg: $input-font-size !default;
|
|
25
|
-
$input-line-height-lg:
|
|
25
|
+
$input-line-height-lg: $input-line-height !default;
|
|
26
26
|
|
|
27
27
|
$input-calc-height: calc( #{$input-line-height * 1em} + #{$input-padding-y * 2} + #{$input-border-width * 2} ) !default;
|
|
28
28
|
$input-calc-height-sm: calc( #{$input-line-height-sm * 1em} + #{$input-padding-y-sm * 2} + #{$input-border-width * 2} ) !default;
|