@progress/kendo-theme-material 4.43.1-dev.5 → 4.44.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 +2228 -1217
- package/dist/all.scss +2266 -2047
- 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/appbar/_layout.scss +6 -1
- package/modules/@progress/kendo-theme-default/scss/autocomplete/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/avatar/_layout.scss +6 -0
- 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 +80 -92
- package/modules/@progress/kendo-theme-default/scss/button/_theme.scss +177 -112
- package/modules/@progress/kendo-theme-default/scss/button/_variables.scss +80 -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/chat/_layout.scss +9 -2
- 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 +15 -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/_layout.scss +6 -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/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/grid/_layout.scss +4 -3
- package/modules/@progress/kendo-theme-default/scss/grid/_theme.scss +2 -8
- package/modules/@progress/kendo-theme-default/scss/imageeditor/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/list/_layout.scss +10 -28
- package/modules/@progress/kendo-theme-default/scss/list/_theme.scss +4 -4
- package/modules/@progress/kendo-theme-default/scss/listbox/_layout.scss +9 -0
- package/modules/@progress/kendo-theme-default/scss/map/_layout.scss +7 -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/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 +6 -2
- package/modules/@progress/kendo-theme-default/scss/orgchart/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/pager/_layout.scss +6 -2
- package/modules/@progress/kendo-theme-default/scss/panelbar/_layout.scss +6 -0
- 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/rating/_layout.scss +6 -1
- package/modules/@progress/kendo-theme-default/scss/scheduler/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/searchbox/_layout.scss +6 -0
- 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 +1 -0
- 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/tabstrip/_layout.scss +26 -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 +8 -4
- package/modules/@progress/kendo-theme-default/scss/timepicker/_layout.scss +6 -1
- package/modules/@progress/kendo-theme-default/scss/timeselector/_layout.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/toolbar/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/toolbar/_layout.scss +1 -0
- 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 +17 -18
- 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/wizard/_layout.scss +4 -0
- package/package.json +3 -3
- package/scss/action-buttons/_theme.scss +1 -2
- package/scss/button/_layout.scss +29 -4
- package/scss/button/_theme.scss +43 -56
- package/scss/button/_variables.scss +80 -14
- package/scss/grid/_theme.scss +2 -2
- package/scss/maskedtextbox/_layout.scss +11 -0
- package/scss/pivotgrid/_layout.scss +0 -54
- package/scss/pivotgrid/_theme.scss +0 -140
- package/scss/switch/_variables.scss +124 -30
- package/scss/toolbar/_index.scss +1 -0
- package/scss/toolbar/_theme.scss +2 -4
- package/scss/treeview/_variables.scss +1 -1
|
@@ -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;
|
package/scss/grid/_theme.scss
CHANGED
|
@@ -1 +1,12 @@
|
|
|
1
1
|
@import "../../modules/@progress/kendo-theme-default/scss/maskedtextbox/_layout.scss";
|
|
2
|
+
|
|
3
|
+
@include exports( "maskedtextbox/layout/material" ) {
|
|
4
|
+
|
|
5
|
+
// Masked textbox
|
|
6
|
+
.k-maskedtextbox {
|
|
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
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
}
|
|
@@ -2,62 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
@include exports ("pivotgrid/layout/material/legacy") {
|
|
4
4
|
|
|
5
|
-
.k-pivot-toolbar .k-button,
|
|
6
|
-
.k-fieldselector .k-list li.k-item {
|
|
7
|
-
@include border-radius( 16px );
|
|
8
|
-
|
|
9
|
-
.k-field-actions {
|
|
10
|
-
top: initial;
|
|
11
|
-
|
|
12
|
-
.k-setting-delete {
|
|
13
|
-
border-radius: 50%;
|
|
14
|
-
padding: 2px;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&::before {
|
|
19
|
-
display: none;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&.k-empty {
|
|
23
|
-
border: 0;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
5
|
.k-pivot-rowheaders .k-grid tr .k-grid-footer {
|
|
28
6
|
border-bottom-width: 0;
|
|
29
7
|
}
|
|
30
8
|
|
|
31
|
-
.k-fieldselector .k-list .k-item {
|
|
32
|
-
border-width: 0;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.k-fieldselector p,
|
|
36
|
-
.k-pivot-layout .k-button {
|
|
37
|
-
text-transform: none;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.k-fieldselector,
|
|
41
|
-
.k-pivot {
|
|
42
|
-
.k-i-arrow-60-right,
|
|
43
|
-
.k-i-arrow-e,
|
|
44
|
-
.k-i-sarrow-e,
|
|
45
|
-
.k-i-expand,
|
|
46
|
-
.k-i-expand-e {
|
|
47
|
-
&::before {
|
|
48
|
-
content: "\E014";
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.k-i-arrow-60-down,
|
|
53
|
-
.k-i-arrow-s,
|
|
54
|
-
.k-i-sarrow-s,
|
|
55
|
-
.k-i-collapse,
|
|
56
|
-
.k-i-expand-s {
|
|
57
|
-
&::before {
|
|
58
|
-
content: "\E015";
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
9
|
}
|
|
@@ -13,143 +13,3 @@
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
@include exports("pivotgrid/theme/material/legacy") {
|
|
19
|
-
|
|
20
|
-
.k-pivot {
|
|
21
|
-
border-color: $pivotgrid-border;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.k-fieldselector,
|
|
25
|
-
.k-pivot-layout .k-grid-footer,
|
|
26
|
-
.k-pivot-layout > tbody > tr:first-child > td:first-child {
|
|
27
|
-
background-color: $pivotgrid-alt-bg;
|
|
28
|
-
border-color: $pivotgrid-chrome-border;
|
|
29
|
-
}
|
|
30
|
-
.k-pivot-rowheaders .k-grid {
|
|
31
|
-
background: none;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.k-fieldselector {
|
|
35
|
-
color: $pivotgrid-configurator-text;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.k-fieldselector .k-list-container {
|
|
39
|
-
background-color: $grid-bg;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.k-pivot-toolbar,
|
|
43
|
-
.k-pivot-table,
|
|
44
|
-
.k-fieldselector .k-list-container,
|
|
45
|
-
.k-fieldselector .k-columns > div,
|
|
46
|
-
.k-pivot-rowheaders > .k-grid td:first-child,
|
|
47
|
-
.k-pivot-table .k-grid-header .k-header.k-first {
|
|
48
|
-
border-color: $pivotgrid-chrome-border;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.k-pivot-rowheaders > .k-grid td,
|
|
52
|
-
.k-pivot-rowheaders > .k-grid td:first-child:not(.k-first) {
|
|
53
|
-
border-bottom-color: transparent;
|
|
54
|
-
border-left-color: $pivotgrid-chrome-border;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.k-pivot-rowheaders > .k-grid tr {
|
|
58
|
-
&:last-child td:not(.k-grid-footer),
|
|
59
|
-
&:nth-last-child(2) td:not(.k-grid-footer) {
|
|
60
|
-
border-bottom-color: $pivotgrid-chrome-border;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.k-pivot-layout .k-grid .k-alt {
|
|
65
|
-
border-left-color: $pivotgrid-chrome-border;
|
|
66
|
-
|
|
67
|
-
+ .k-alt {
|
|
68
|
-
border-left-color: transparent;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.k-pivot-layout .k-grid-footer,
|
|
73
|
-
.k-pivot-layout .k-grid .k-alt {
|
|
74
|
-
color: $pivotgrid-alt-text;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.k-pivot-toolbar .k-button,
|
|
78
|
-
.k-fieldselector .k-list li.k-item {
|
|
79
|
-
@include fill(
|
|
80
|
-
$pivotgrid-button-text,
|
|
81
|
-
$pivotgrid-button-bg
|
|
82
|
-
);
|
|
83
|
-
box-shadow: unset;
|
|
84
|
-
|
|
85
|
-
.k-field-actions .k-setting-delete {
|
|
86
|
-
@include fill(
|
|
87
|
-
$pivotgrid-remove-text,
|
|
88
|
-
$pivotgrid-remove-bg
|
|
89
|
-
);
|
|
90
|
-
opacity: .75;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
&:hover,
|
|
94
|
-
&.k-state-hover {
|
|
95
|
-
@include fill(
|
|
96
|
-
$pivotgrid-button-hover-text,
|
|
97
|
-
$pivotgrid-button-hover-bg
|
|
98
|
-
);
|
|
99
|
-
|
|
100
|
-
.k-field-actions .k-setting-delete {
|
|
101
|
-
opacity: 1;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// Pressed state
|
|
106
|
-
&:active,
|
|
107
|
-
&.k-state-active {
|
|
108
|
-
@include fill(
|
|
109
|
-
$pivotgrid-button-active-text,
|
|
110
|
-
$pivotgrid-button-active-bg
|
|
111
|
-
);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
// Focused state
|
|
115
|
-
&:focus,
|
|
116
|
-
&.k-state-focused {
|
|
117
|
-
box-shadow: $button-focused-shadow;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
&.k-empty {
|
|
121
|
-
background-color: $pivotgrid-container-bg;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
// Loading indicator
|
|
126
|
-
.k-fieldselector {
|
|
127
|
-
.k-i-loading {
|
|
128
|
-
border-color: $header-bg;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.k-i-loading::before,
|
|
132
|
-
.k-i-loading::after {
|
|
133
|
-
background-color: $header-bg;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
// KPI icons
|
|
138
|
-
.k-i-kpi-trend-increase,
|
|
139
|
-
.k-i-kpi-trend-decrease,
|
|
140
|
-
.k-i-kpi-trend-equal {
|
|
141
|
-
color: inherit;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.k-i-kpi-status-hold {
|
|
145
|
-
color: $warning;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.k-i-kpi-status-deny {
|
|
149
|
-
color: $error;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.k-i-kpi-status-open {
|
|
153
|
-
color: $success;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
@@ -2,17 +2,22 @@
|
|
|
2
2
|
$switch-size: 32px !default;
|
|
3
3
|
$switch-border-radius: $switch-size !default;
|
|
4
4
|
|
|
5
|
+
/// Font family of the switch.
|
|
6
|
+
/// @group switch
|
|
5
7
|
$switch-font-family: $font-family !default;
|
|
6
8
|
$switch-font-size: $font-size-xs !default;
|
|
7
|
-
$switch-line-height: $line-height !default;
|
|
8
9
|
|
|
9
10
|
$switch-track-size: 14px !default;
|
|
11
|
+
/// Border width of the switch track.
|
|
12
|
+
/// @group switch
|
|
10
13
|
$switch-container-border-width: null !default;
|
|
11
14
|
$switch-container-padding-x: null !default;
|
|
12
15
|
$switch-container-padding-y: null !default;
|
|
13
16
|
|
|
14
17
|
$switch-handle-size: 20px !default;
|
|
15
18
|
$switch-handle-border-radius: 9999px !default;
|
|
19
|
+
/// Border width of the switch thumb.
|
|
20
|
+
/// @group switch
|
|
16
21
|
$switch-handle-border-width: 0px !default;
|
|
17
22
|
$switch-thumb-start-x: calc( ( #{$switch-handle-size} - #{$switch-track-size} ) / -2 ) !default;
|
|
18
23
|
// TODO: Remove width property from jQuery and Blazor, and do not use 100% for thumb X calc
|
|
@@ -20,65 +25,154 @@ $switch-thumb-end-x: calc( 100% - #{$switch-handle-size} + ( ( #{$switch-handle-
|
|
|
20
25
|
|
|
21
26
|
$switch-label-offset: null !default;
|
|
22
27
|
$switch-label-width: null !default;
|
|
28
|
+
/// Text transform of the switch label.
|
|
29
|
+
/// @group switch
|
|
23
30
|
$switch-label-text-transform: null !default;
|
|
31
|
+
/// Display of the switch label.
|
|
32
|
+
/// @group switch
|
|
24
33
|
$switch-label-display: none !default;
|
|
25
34
|
|
|
26
35
|
$switch-container-shadow: null !default;
|
|
27
36
|
$switch-container-hovered-shadow: null !default;
|
|
28
37
|
$switch-container-focused-shadow: null !default;
|
|
29
38
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
$switch-on-border: null !default;
|
|
33
|
-
$switch-on-gradient: null !default;
|
|
34
|
-
$switch-on-shadow: null !default;
|
|
35
|
-
|
|
36
|
-
$switch-on-hovered-bg: null !default;
|
|
37
|
-
$switch-on-hovered-text: null !default;
|
|
38
|
-
$switch-on-hovered-border: null !default;
|
|
39
|
-
$switch-on-hovered-gradient: null !default;
|
|
40
|
-
|
|
41
|
-
$switch-on-focused-bg: null !default;
|
|
42
|
-
$switch-on-focused-text: null !default;
|
|
43
|
-
$switch-on-focused-border: null !default;
|
|
44
|
-
$switch-on-focused-gradient: null !default;
|
|
45
|
-
$switch-on-focused-shadow: null !default;
|
|
46
|
-
|
|
47
|
-
$switch-on-handle-bg: $primary !default;
|
|
48
|
-
$switch-on-handle-text: null !default;
|
|
49
|
-
$switch-on-handle-border: null !default;
|
|
50
|
-
$switch-on-handle-gradient: null !default;
|
|
51
|
-
$switch-on-handle-shadow: $box-shadow-depth-2 !default;
|
|
52
|
-
|
|
53
|
-
$switch-on-handle-hovered-bg: $switch-on-handle-bg !default;
|
|
54
|
-
$switch-on-handle-hovered-text: null !default;
|
|
55
|
-
$switch-on-handle-hovered-border: null !default;
|
|
56
|
-
$switch-on-handle-hovered-gradient: null !default;
|
|
57
|
-
|
|
39
|
+
/// The background of the track when the switch is not checked.
|
|
40
|
+
/// @group switch
|
|
58
41
|
$switch-off-bg: rgba( black, .38 ) !default;
|
|
42
|
+
/// The text color of the track when the switch is not checked.
|
|
43
|
+
/// @group switch
|
|
59
44
|
$switch-off-text: null !default;
|
|
45
|
+
/// The border color of the track when the switch is not checked.
|
|
46
|
+
/// @group switch
|
|
60
47
|
$switch-off-border: null !default;
|
|
48
|
+
/// The background gradient of the track when the switch is not checked.
|
|
49
|
+
/// @group switch
|
|
61
50
|
$switch-off-gradient: null !default;
|
|
62
51
|
$switch-off-shadow: null !default;
|
|
63
52
|
|
|
53
|
+
/// The background of the track when the hovered switch is not checked.
|
|
54
|
+
/// @group switch
|
|
64
55
|
$switch-off-hovered-bg: null !default;
|
|
56
|
+
/// The text color of the track when the hovered switch is not checked.
|
|
57
|
+
/// @group switch
|
|
65
58
|
$switch-off-hovered-text: null !default;
|
|
59
|
+
/// The border color of the track when the hovered switch is not checked.
|
|
60
|
+
/// @group switch
|
|
66
61
|
$switch-off-hovered-border: null !default;
|
|
62
|
+
/// The background gradient of the track when the hovered switch is not checked.
|
|
63
|
+
/// @group switch
|
|
67
64
|
$switch-off-hovered-gradient: null !default;
|
|
68
65
|
|
|
66
|
+
/// The background of the track when the focused switch is not checked.
|
|
67
|
+
/// @group switch
|
|
69
68
|
$switch-off-focused-bg: null !default;
|
|
69
|
+
/// The text color of the track when the focused switch is not checked.
|
|
70
|
+
/// @group switch
|
|
70
71
|
$switch-off-focused-text: null !default;
|
|
72
|
+
/// The border color of the track when the focused switch is not checked.
|
|
73
|
+
/// @group switch
|
|
71
74
|
$switch-off-focused-border: null !default;
|
|
75
|
+
/// The background gradient of the track when the focused switch is not checked.
|
|
76
|
+
/// @group switch
|
|
72
77
|
$switch-off-focused-gradient: null !default;
|
|
78
|
+
/// The ring around the track when the focused switch is not checked.
|
|
79
|
+
/// @group switch
|
|
73
80
|
$switch-off-focused-shadow: null !default;
|
|
74
81
|
|
|
82
|
+
/// The background of the thumb when the switch is not checked.
|
|
83
|
+
/// @group switch
|
|
75
84
|
$switch-off-handle-bg: $white !default;
|
|
85
|
+
/// The text color of the thumb when the switch is not checked.
|
|
86
|
+
/// @group switch
|
|
76
87
|
$switch-off-handle-text: $switch-off-text !default;
|
|
88
|
+
/// The border color of the thumb when the switch is not checked.
|
|
89
|
+
/// @group switch
|
|
77
90
|
$switch-off-handle-border: null !default;
|
|
91
|
+
/// The background gradient of the thumb when the switch is not checked.
|
|
92
|
+
/// @group switch
|
|
78
93
|
$switch-off-handle-gradient: null !default;
|
|
79
|
-
$switch-off-handle-shadow: $
|
|
94
|
+
$switch-off-handle-shadow: $box-shadow-depth-2 !default;
|
|
80
95
|
|
|
96
|
+
/// The background of the thumb when the hovered switch is not checked.
|
|
97
|
+
/// @group switch
|
|
81
98
|
$switch-off-handle-hovered-bg: null !default;
|
|
99
|
+
/// The text color of the thumb when the hovered switch is not checked.
|
|
100
|
+
/// @group switch
|
|
82
101
|
$switch-off-handle-hovered-text: null !default;
|
|
102
|
+
/// The border color of the thumb when the hovered switch is not checked.
|
|
103
|
+
/// @group switch
|
|
83
104
|
$switch-off-handle-hovered-border: null !default;
|
|
105
|
+
/// The background gradient of the thumb when the hovered switch is not checked.
|
|
106
|
+
/// @group switch
|
|
84
107
|
$switch-off-handle-hovered-gradient: null !default;
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
/// The background of the track when the switch is checked.
|
|
111
|
+
/// @group switch
|
|
112
|
+
$switch-on-bg: rgba( $primary, .54 ) !default;
|
|
113
|
+
/// The text color of the track when the switch is checked.
|
|
114
|
+
/// @group switch
|
|
115
|
+
$switch-on-text: null !default;
|
|
116
|
+
/// The border color of the track when the switch is checked.
|
|
117
|
+
/// @group switch
|
|
118
|
+
$switch-on-border: null !default;
|
|
119
|
+
/// The background gradient of the track when the switch is checked.
|
|
120
|
+
/// @group switch
|
|
121
|
+
$switch-on-gradient: null !default;
|
|
122
|
+
$switch-on-shadow: null !default;
|
|
123
|
+
|
|
124
|
+
/// The background of the track wen the hovered switch is checked.
|
|
125
|
+
/// @group switch
|
|
126
|
+
$switch-on-hovered-bg: null !default;
|
|
127
|
+
/// The text color of the track wen the hovered switch is checked.
|
|
128
|
+
/// @group switch
|
|
129
|
+
$switch-on-hovered-text: null !default;
|
|
130
|
+
/// The border color of the track wen the hovered switch is checked.
|
|
131
|
+
/// @group switch
|
|
132
|
+
$switch-on-hovered-border: null !default;
|
|
133
|
+
/// The background gradient of the track wen the hovered switch is checked.
|
|
134
|
+
/// @group switch
|
|
135
|
+
$switch-on-hovered-gradient: null !default;
|
|
136
|
+
|
|
137
|
+
/// The background of the track wen the focused switch is checked.
|
|
138
|
+
/// @group switch
|
|
139
|
+
$switch-on-focused-bg: null !default;
|
|
140
|
+
/// The text color of the track wen the focused switch is checked.
|
|
141
|
+
/// @group switch
|
|
142
|
+
$switch-on-focused-text: null !default;
|
|
143
|
+
/// The border color of the track wen the focused switch is checked.
|
|
144
|
+
/// @group switch
|
|
145
|
+
$switch-on-focused-border: null !default;
|
|
146
|
+
/// The background gradient of the track wen the focused switch is checked.
|
|
147
|
+
/// @group switch
|
|
148
|
+
$switch-on-focused-gradient: null !default;
|
|
149
|
+
/// The ring around the track wen the focused switch is checked.
|
|
150
|
+
/// @group switch
|
|
151
|
+
$switch-on-focused-shadow: null !default;
|
|
152
|
+
|
|
153
|
+
/// The background of the thumb when the switch is checked.
|
|
154
|
+
/// @group switch
|
|
155
|
+
$switch-on-handle-bg: $primary !default;
|
|
156
|
+
/// The text color of the thumb when the switch is checked.
|
|
157
|
+
/// @group switch
|
|
158
|
+
$switch-on-handle-text: null !default;
|
|
159
|
+
/// The border color of the thumb when the switch is checked.
|
|
160
|
+
/// @group switch
|
|
161
|
+
$switch-on-handle-border: null !default;
|
|
162
|
+
/// The background gradient of the thumb when the switch is checked.
|
|
163
|
+
/// @group switch
|
|
164
|
+
$switch-on-handle-gradient: null !default;
|
|
165
|
+
$switch-on-handle-shadow: $switch-off-handle-shadow !default;
|
|
166
|
+
|
|
167
|
+
/// The background of the thumb when the hovered switch is checked.
|
|
168
|
+
/// @group switch
|
|
169
|
+
$switch-on-handle-hovered-bg: null !default;
|
|
170
|
+
/// The text color of the thumb when the hovered switch is checked.
|
|
171
|
+
/// @group switch
|
|
172
|
+
$switch-on-handle-hovered-text: null !default;
|
|
173
|
+
/// The border color of the thumb when the hovered switch is checked.
|
|
174
|
+
/// @group switch
|
|
175
|
+
$switch-on-handle-hovered-border: null !default;
|
|
176
|
+
/// The background gradient of the thumb when the hovered switch is checked.
|
|
177
|
+
/// @group switch
|
|
178
|
+
$switch-on-handle-hovered-gradient: null !default;
|
package/scss/toolbar/_index.scss
CHANGED
package/scss/toolbar/_theme.scss
CHANGED
|
@@ -4,13 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
.k-toolbar {
|
|
6
6
|
|
|
7
|
-
.k-button
|
|
8
|
-
.k-button-secondary {
|
|
7
|
+
.k-button {
|
|
9
8
|
background-color: try-shade( $button-bg );
|
|
10
9
|
}
|
|
11
10
|
|
|
12
|
-
.k-button-primary
|
|
13
|
-
.k-button.k-primary {
|
|
11
|
+
.k-button-primary {
|
|
14
12
|
background-color: $primary-button-bg;
|
|
15
13
|
|
|
16
14
|
&:disabled,
|