@progress/kendo-theme-classic 4.43.1-dev.4 → 4.43.1-dev.5
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 +746 -799
- package/dist/all.scss +1296 -1170
- 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/_variables.scss +1 -1
- 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 +2 -2
- package/modules/@progress/kendo-theme-default/scss/button/_variables.scss +3 -3
- 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 +3 -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/_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/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/editor/_layout.scss +2 -10
- 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/_variables.scss +1 -3
- 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 +9 -41
- package/modules/@progress/kendo-theme-default/scss/list/_theme.scss +4 -3
- package/modules/@progress/kendo-theme-default/scss/list/_variables.scss +64 -8
- 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 +5 -0
- 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/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/_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/scheduler/_layout.scss +25 -12
- 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/spreadsheet/_layout.scss +27 -15
- 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/timeselector/_layout.scss +2 -2
- package/modules/@progress/kendo-theme-default/scss/toolbar/_layout.scss +21 -2
- package/modules/@progress/kendo-theme-default/scss/toolbar/_theme.scss +35 -7
- package/modules/@progress/kendo-theme-default/scss/treeview/_layout.scss +130 -110
- 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/_variables.scss +1 -1
- package/package.json +3 -3
- package/scss/appbar/_variables.scss +1 -1
- package/scss/autocomplete/_variables.scss +0 -19
- package/scss/avatar/_variables.scss +13 -2
- package/scss/card/_variables.scss +4 -4
- package/scss/chat/_variables.scss +0 -7
- package/scss/checkbox/_variables.scss +88 -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/_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 +1 -1
- package/scss/menu/_variables.scss +1 -1
- 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/_variables.scss +86 -27
- package/scss/searchbox/_variables.scss +0 -20
- package/scss/table/_variables.scss +3 -3
- package/scss/treeview/_variables.scss +70 -16
- package/scss/typography/_variables.scss +3 -3
|
@@ -23,9 +23,10 @@
|
|
|
23
23
|
-webkit-appearance: none;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
|
|
26
27
|
// Radio indicator
|
|
27
28
|
.k-radio::before {
|
|
28
|
-
@if $radio-
|
|
29
|
+
@if $radio-indicator-type == "glyph" {
|
|
29
30
|
content: $radio-checked-glyph;
|
|
30
31
|
width: $radio-glyph-size;
|
|
31
32
|
height: $radio-glyph-size;
|
|
@@ -38,179 +39,151 @@
|
|
|
38
39
|
top: 50%;
|
|
39
40
|
left: 50%;
|
|
40
41
|
}
|
|
41
|
-
|
|
42
|
-
@if $radio-icon-type == "marker" {
|
|
43
|
-
content: "";
|
|
44
|
-
width: $radio-marker-checked-width;
|
|
45
|
-
height: $radio-marker-checked-width;
|
|
46
|
-
border-radius: 50%;
|
|
47
|
-
background-color: currentColor;
|
|
48
|
-
transform: scale(0) translate(-50%, -50%);
|
|
49
|
-
overflow: hidden;
|
|
50
|
-
position: absolute;
|
|
51
|
-
top: 50%;
|
|
52
|
-
left: 50%;
|
|
53
|
-
}
|
|
54
42
|
}
|
|
55
43
|
|
|
44
|
+
|
|
56
45
|
// Checked state
|
|
57
46
|
.k-radio:checked,
|
|
58
47
|
.k-radio.k-checked {
|
|
59
|
-
@if $radio-
|
|
48
|
+
@if $radio-indicator-type == "image" {
|
|
60
49
|
background-image: $radio-checked-image;
|
|
61
50
|
}
|
|
62
51
|
|
|
63
|
-
@if $radio-
|
|
64
|
-
&::before {
|
|
65
|
-
transform: scale(1) translate(-50%, -50%);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
@if $radio-icon-type == "marker" {
|
|
52
|
+
@if $radio-indicator-type == "glyph" {
|
|
70
53
|
&::before {
|
|
71
54
|
transform: scale(1) translate(-50%, -50%);
|
|
72
55
|
}
|
|
73
56
|
}
|
|
74
57
|
}
|
|
75
58
|
|
|
59
|
+
|
|
76
60
|
// Disabled state
|
|
77
61
|
.k-radio:disabled,
|
|
78
|
-
.k-radio.k-disabled
|
|
79
|
-
.k-radio:disabled + .k-radio-label,
|
|
80
|
-
.k-radio.k-disabled + .k-radio-label {
|
|
62
|
+
.k-radio.k-disabled {
|
|
81
63
|
@include disabled( $disabled-styling );
|
|
82
64
|
}
|
|
65
|
+
.k-radio:disabled:checked,
|
|
66
|
+
.k-radio.k-disabled.k-checked {
|
|
67
|
+
@if $radio-indicator-type == "image" {
|
|
68
|
+
background-image: $radio-disabled-checked-image;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
83
71
|
|
|
84
|
-
|
|
85
|
-
|
|
72
|
+
|
|
73
|
+
// Radio wrap
|
|
74
|
+
.k-radio-wrap {
|
|
75
|
+
flex: none;
|
|
76
|
+
display: inline-flex;
|
|
77
|
+
flex-flow: row nowrap;
|
|
78
|
+
gap: 0;
|
|
79
|
+
align-items: center;
|
|
80
|
+
align-self: start;
|
|
81
|
+
vertical-align: middle;
|
|
82
|
+
position: relative;
|
|
83
|
+
|
|
84
|
+
&::before {
|
|
85
|
+
content: "\200b";
|
|
86
|
+
width: 0px;
|
|
87
|
+
overflow: hidden;
|
|
88
|
+
flex: none;
|
|
89
|
+
display: inline-block;
|
|
90
|
+
vertical-align: top;
|
|
91
|
+
}
|
|
86
92
|
}
|
|
87
93
|
|
|
94
|
+
|
|
88
95
|
// Radio label
|
|
89
96
|
.k-radio-label {
|
|
90
97
|
margin: 0;
|
|
91
98
|
padding: 0;
|
|
92
|
-
line-height: $radio-line-height;
|
|
93
99
|
display: inline-flex;
|
|
94
100
|
align-items: flex-start;
|
|
101
|
+
gap: $radio-label-margin-x;
|
|
95
102
|
vertical-align: middle;
|
|
96
103
|
position: relative;
|
|
97
104
|
cursor: pointer;
|
|
98
105
|
|
|
99
|
-
.k-label {
|
|
100
|
-
cursor: pointer;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// Hide empty label
|
|
104
|
-
&:empty {
|
|
105
|
-
display: none !important; // sass-lint:disable-line no-important
|
|
106
|
-
}
|
|
107
|
-
|
|
108
106
|
.k-ripple {
|
|
109
|
-
top: $radio-size / 2;
|
|
110
|
-
left: $radio-size / 2;
|
|
111
|
-
right: auto;
|
|
112
|
-
bottom: auto;
|
|
113
|
-
width: $radio-size * 5 / 2;
|
|
114
|
-
height: $radio-size * 5 / 2;
|
|
115
|
-
transform: translate(-50%, -50%);
|
|
116
|
-
border-radius: 50%;
|
|
117
|
-
|
|
118
107
|
// Hide ripple temporarily
|
|
119
108
|
visibility: hidden !important; // sass-lint:disable-line no-important
|
|
120
109
|
}
|
|
121
|
-
|
|
122
|
-
.k-ripple-blob {
|
|
123
|
-
// sass-lint:disable-block no-important
|
|
124
|
-
// use !important until ripple can apply these styles from the script
|
|
125
|
-
top: 50% !important;
|
|
126
|
-
left: 50% !important;
|
|
127
|
-
width: 200% !important;
|
|
128
|
-
height: 200% !important;
|
|
129
|
-
}
|
|
130
110
|
}
|
|
131
|
-
|
|
111
|
+
.k-radio + .k-label,
|
|
112
|
+
.k-radio-wrap + .k-label,
|
|
132
113
|
.k-radio + .k-radio-label,
|
|
133
|
-
.k-radio-
|
|
134
|
-
|
|
135
|
-
margin-
|
|
114
|
+
.k-radio-wrap + .k-radio-label {
|
|
115
|
+
display: inline;
|
|
116
|
+
margin-inline-start: $radio-label-margin-x;
|
|
136
117
|
}
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
// Empty label
|
|
121
|
+
.k-radio-label:empty {
|
|
122
|
+
display: none !important; // sass-lint:disable-line no-important
|
|
140
123
|
}
|
|
141
|
-
|
|
142
|
-
|
|
124
|
+
.k-radio-label.k-no-text {
|
|
125
|
+
min-width: 1px;
|
|
143
126
|
}
|
|
144
127
|
|
|
128
|
+
|
|
145
129
|
// Radio list
|
|
146
130
|
.k-radio-list {
|
|
147
|
-
margin:
|
|
148
|
-
padding:
|
|
131
|
+
margin: 0;
|
|
132
|
+
padding: 0;
|
|
133
|
+
display: flex;
|
|
134
|
+
flex-flow: column nowrap;
|
|
135
|
+
gap: 0;
|
|
149
136
|
list-style: none;
|
|
150
|
-
|
|
151
|
-
.k-radio-item {
|
|
152
|
-
padding: $radio-list-item-padding-y $radio-list-item-padding-x;
|
|
153
|
-
}
|
|
154
137
|
}
|
|
155
|
-
|
|
156
|
-
.k-list-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
138
|
+
.k-radio-item,
|
|
139
|
+
.k-radio-list-item {
|
|
140
|
+
padding: $radio-list-item-padding-y $radio-list-item-padding-x;
|
|
141
|
+
display: flex;
|
|
142
|
+
flex-flow: row nowrap;
|
|
143
|
+
align-items: center;
|
|
144
|
+
align-content: center;
|
|
145
|
+
gap: map-get( $spacing, 1 );
|
|
146
|
+
|
|
147
|
+
.k-radio-label {
|
|
148
|
+
margin: 0;
|
|
164
149
|
}
|
|
165
150
|
}
|
|
151
|
+
.k-radio-list-horizontal,
|
|
152
|
+
.k-radio-list.k-list-horizontal {
|
|
153
|
+
display: flex;
|
|
154
|
+
flex-flow: row wrap;
|
|
155
|
+
gap: $radio-list-spacing;
|
|
156
|
+
}
|
|
166
157
|
|
|
167
|
-
// RTL
|
|
168
|
-
.k-rtl,
|
|
169
|
-
[dir="rtl"] {
|
|
170
|
-
.k-radio + .k-radio-label,
|
|
171
|
-
.k-radio-label + .k-radio,
|
|
172
|
-
.k-label + .k-radio {
|
|
173
|
-
margin-left: 0;
|
|
174
|
-
margin-right: $radio-label-margin-x;
|
|
175
|
-
}
|
|
176
|
-
.k-radio-label > .k-radio {
|
|
177
|
-
margin-right: 0;
|
|
178
|
-
margin-left: $radio-label-margin-x;
|
|
179
|
-
}
|
|
180
|
-
kendo-label.k-radio-label > .k-radio:last-child {
|
|
181
|
-
margin-left: 0;
|
|
182
|
-
}
|
|
183
|
-
kendo-label.k-radio-label > .k-label:first-child {
|
|
184
|
-
margin-right: 0;
|
|
185
|
-
margin-left: $radio-label-margin-x;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.k-list-horizontal {
|
|
189
|
-
.k-radio-item {
|
|
190
|
-
margin-right: 0;
|
|
191
|
-
margin-left: $radio-list-horizontal-item-margin-x;
|
|
192
158
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
}
|
|
159
|
+
// Ripple
|
|
160
|
+
.k-radio-wrap .k-ripple-blob {
|
|
161
|
+
width: $radio-ripple-size;
|
|
162
|
+
height: $radio-ripple-size;
|
|
198
163
|
}
|
|
199
|
-
|
|
200
164
|
.k-ripple-container {
|
|
201
165
|
.k-radio::after {
|
|
202
166
|
content: "";
|
|
203
167
|
display: block;
|
|
204
168
|
position: absolute;
|
|
205
|
-
left:
|
|
206
|
-
top:
|
|
169
|
+
left: 50%;
|
|
170
|
+
top: 50%;
|
|
207
171
|
width: $radio-ripple-size;
|
|
208
172
|
height: $radio-ripple-size;
|
|
209
|
-
margin-left: $radio-ripple-margin;
|
|
210
|
-
margin-top: $radio-ripple-margin;
|
|
211
173
|
border-radius: 100%;
|
|
212
|
-
z-index: 1;
|
|
213
|
-
|
|
174
|
+
z-index: -1;
|
|
175
|
+
transition: opacity 100ms linear, transform 150ms cubic-bezier(.4, 0, .2, 1);
|
|
176
|
+
transform: translate(-50%, -50%) scale(0);
|
|
177
|
+
transform-origin: center center;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.k-radio:focus,
|
|
181
|
+
.k-radio.k-state-focus {
|
|
182
|
+
box-shadow: none !important; // sass-lint:disable-line no-important
|
|
183
|
+
|
|
184
|
+
&::after {
|
|
185
|
+
transform: translate(-50%, -50%) scale(1);
|
|
186
|
+
}
|
|
214
187
|
}
|
|
215
188
|
|
|
216
189
|
.k-radio:disabled::after,
|
|
@@ -218,25 +191,5 @@
|
|
|
218
191
|
display: none;
|
|
219
192
|
}
|
|
220
193
|
}
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
@include exports( "radio/layout/edge" ) {
|
|
227
|
-
|
|
228
|
-
.k-radio::-ms-check {
|
|
229
|
-
border-width: 0;
|
|
230
|
-
border-color: inherit;
|
|
231
|
-
color: inherit;
|
|
232
|
-
background-color: inherit;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
// IE 11 hack
|
|
236
|
-
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
237
|
-
.k-radio::-ms-check {
|
|
238
|
-
border-width: 1px;
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
194
|
|
|
242
195
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@include exports("radio/theme") {
|
|
1
|
+
@include exports( "radio/theme" ) {
|
|
2
2
|
|
|
3
3
|
// Radio
|
|
4
4
|
.k-radio {
|
|
@@ -53,7 +53,6 @@
|
|
|
53
53
|
$radio-checked-border
|
|
54
54
|
);
|
|
55
55
|
}
|
|
56
|
-
|
|
57
56
|
.k-radio:checked:focus,
|
|
58
57
|
.k-radio.k-checked.k-state-focus {
|
|
59
58
|
@include fill( $border: $radio-focused-checked-border );
|
|
@@ -79,6 +78,7 @@
|
|
|
79
78
|
);
|
|
80
79
|
}
|
|
81
80
|
|
|
81
|
+
|
|
82
82
|
// Ripple
|
|
83
83
|
.k-ripple-container {
|
|
84
84
|
.k-radio::after {
|
|
@@ -1,54 +1,107 @@
|
|
|
1
1
|
// Radio button
|
|
2
|
+
|
|
2
3
|
$radio-size: map-get( $spacing, 4 ) !default;
|
|
4
|
+
/// Border radius of radio button.
|
|
5
|
+
/// @group radio
|
|
3
6
|
$radio-radius: 50% !default;
|
|
7
|
+
/// Border width of radio button.
|
|
8
|
+
/// @group radio
|
|
4
9
|
$radio-border-width: 1px !default;
|
|
5
|
-
$radio-line-height: calc(#{$radio-size} + #{$radio-border-width}) !default;
|
|
6
10
|
|
|
11
|
+
/// Background color of radio button.
|
|
12
|
+
/// @group radio
|
|
7
13
|
$radio-bg: $checkbox-bg !default;
|
|
14
|
+
/// Color of radio button.
|
|
15
|
+
/// @group radio
|
|
8
16
|
$radio-text: $checkbox-text !default;
|
|
17
|
+
/// Border color of radio button.
|
|
18
|
+
/// @group radio
|
|
9
19
|
$radio-border: $checkbox-border !default;
|
|
10
20
|
|
|
21
|
+
/// Background color of hovered radio button.
|
|
22
|
+
/// @group radio
|
|
11
23
|
$radio-hovered-bg: $checkbox-hovered-bg !default;
|
|
24
|
+
/// Color of hovered radio button.
|
|
25
|
+
/// @group radio
|
|
12
26
|
$radio-hovered-text: $checkbox-hovered-text !default;
|
|
27
|
+
/// Border color of hovered radio button.
|
|
28
|
+
/// @group radio
|
|
13
29
|
$radio-hovered-border: $checkbox-hovered-border !default;
|
|
14
30
|
|
|
31
|
+
/// Background color of checked radio button.
|
|
32
|
+
/// @group radio
|
|
15
33
|
$radio-checked-bg: $checkbox-checked-bg !default;
|
|
34
|
+
/// Color of checked radio button.
|
|
35
|
+
/// @group radio
|
|
16
36
|
$radio-checked-text: $checkbox-checked-text !default;
|
|
37
|
+
/// Border color of checked radio button.
|
|
38
|
+
/// @group radio
|
|
17
39
|
$radio-checked-border: $checkbox-checked-border !default;
|
|
18
40
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
$radio-indeterminate-border: $radio-checked-border !default;
|
|
22
|
-
|
|
41
|
+
/// Border color of focused radio button.
|
|
42
|
+
/// @group radio
|
|
23
43
|
$radio-focused-border: $checkbox-hovered-border !default;
|
|
44
|
+
/// Box shadow of focused radio button.
|
|
45
|
+
/// @group radio
|
|
24
46
|
$radio-focused-shadow: $checkbox-focused-shadow !default;
|
|
47
|
+
/// Border color of focused and checked radio button.
|
|
48
|
+
/// @group radio
|
|
25
49
|
$radio-focused-checked-border: $checkbox-checked-border !default;
|
|
50
|
+
/// Box shadow of focused and checked radio button.
|
|
51
|
+
/// @group radio
|
|
26
52
|
$radio-focused-checked-shadow: $checkbox-focused-checked-shadow !default;
|
|
27
53
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
$radio-disabled-
|
|
54
|
+
/// Background color of disabled radio button.
|
|
55
|
+
/// @group radio
|
|
56
|
+
$radio-disabled-bg: $checkbox-disabled-bg !default;
|
|
57
|
+
/// Color of disabled radio button.
|
|
58
|
+
/// @group radio
|
|
59
|
+
$radio-disabled-text: $checkbox-disabled-text !default;
|
|
60
|
+
/// Border color of disabled radio button.
|
|
61
|
+
/// @group radio
|
|
62
|
+
$radio-disabled-border: $checkbox-disabled-border !default;
|
|
63
|
+
|
|
64
|
+
/// Background color of disabled and checked radio button.
|
|
65
|
+
/// @group radio
|
|
66
|
+
$radio-disabled-checked-bg: $checkbox-disabled-checked-bg !default;
|
|
67
|
+
/// Color of disabled and checked radio button.
|
|
68
|
+
/// @group radio
|
|
69
|
+
$radio-disabled-checked-text: $checkbox-disabled-checked-text !default;
|
|
70
|
+
/// Border color of disabled and checked radio button.
|
|
71
|
+
/// @group radio
|
|
72
|
+
$radio-disabled-checked-border: $checkbox-disabled-checked-border !default;
|
|
73
|
+
|
|
74
|
+
/// Background color of invalid radio button.
|
|
75
|
+
/// @group radio
|
|
76
|
+
$radio-invalid-bg: $checkbox-invalid-bg !default;
|
|
77
|
+
/// Color of invalid radio button.
|
|
78
|
+
/// @group radio
|
|
79
|
+
$radio-invalid-text: $checkbox-invalid-text !default;
|
|
80
|
+
/// Border color of invalid radio button.
|
|
81
|
+
/// @group radio
|
|
82
|
+
$radio-invalid-border: $checkbox-invalid-border !default;
|
|
31
83
|
|
|
32
|
-
|
|
33
|
-
$radio-disabled-checked-text: null !default;
|
|
34
|
-
$radio-disabled-checked-border: null !default;
|
|
84
|
+
// Radio indicator
|
|
35
85
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
$radio-
|
|
86
|
+
/// Type of radio button indicator.
|
|
87
|
+
/// @group radio
|
|
88
|
+
$radio-indicator-type: image !default;
|
|
39
89
|
|
|
40
90
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
91
|
+
/// Glyph font family of radio button indicator.
|
|
92
|
+
/// @group radio
|
|
44
93
|
$radio-glyph-font-family: "WebComponentsIcons", monospace !default;
|
|
45
94
|
$radio-glyph-size: 12px !default;
|
|
95
|
+
/// Glyph of radio button indicator.
|
|
96
|
+
/// @group radio
|
|
46
97
|
$radio-checked-glyph: "\e308" !default;
|
|
47
98
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
$radio-
|
|
51
|
-
|
|
99
|
+
/// Image of checked radio button indicator.
|
|
100
|
+
/// @group radio
|
|
101
|
+
$radio-checked-image: escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><circle cx='50%' cy='50%' r='4' fill='#{$radio-checked-text}'/></svg>") ) !default;
|
|
102
|
+
/// Image of disabled and checked radio button indicator.
|
|
103
|
+
/// @group radio
|
|
104
|
+
$radio-disabled-checked-image: null !default;
|
|
52
105
|
|
|
53
106
|
|
|
54
107
|
// Radio label
|
|
@@ -56,14 +109,23 @@ $radio-label-margin-x: map-get( $spacing, 1 ) !default;
|
|
|
56
109
|
|
|
57
110
|
|
|
58
111
|
// Radio list
|
|
59
|
-
|
|
60
|
-
|
|
112
|
+
|
|
113
|
+
/// Spacing between items of horizontal radio button list.
|
|
114
|
+
/// @group radio
|
|
115
|
+
$radio-list-spacing: map-get( $spacing, 4 ) !default;
|
|
116
|
+
/// Horizontal padding of radio button list items.
|
|
117
|
+
/// @group radio
|
|
61
118
|
$radio-list-item-padding-x: 0px !default;
|
|
119
|
+
/// Vertical padding of radio button list items.
|
|
120
|
+
/// @group radio
|
|
62
121
|
$radio-list-item-padding-y: $list-item-padding-y !default;
|
|
63
|
-
$radio-list-horizontal-item-margin-x: 32px !default;
|
|
64
122
|
|
|
65
123
|
|
|
66
124
|
// Radio ripple
|
|
67
125
|
$radio-ripple-size: $radio-size * 3 !default;
|
|
68
|
-
|
|
69
|
-
|
|
126
|
+
/// Background color of radio button ripple.
|
|
127
|
+
/// @group radio
|
|
128
|
+
$radio-ripple-bg: $radio-checked-bg !default;
|
|
129
|
+
/// Opacity of radio button ripple.
|
|
130
|
+
/// @group radio
|
|
131
|
+
$radio-ripple-opacity: .25 !default;
|
|
@@ -858,7 +858,7 @@
|
|
|
858
858
|
// TODO: add this class to jQuery rendering
|
|
859
859
|
// after refactoring jQuery scheduler layout to be flex
|
|
860
860
|
.k-recurrence-editor {
|
|
861
|
-
display:
|
|
861
|
+
display: flex;
|
|
862
862
|
flex-direction: column;
|
|
863
863
|
}
|
|
864
864
|
kendo-scheduler .k-recurrence-editor {
|
|
@@ -1110,27 +1110,40 @@
|
|
|
1110
1110
|
|
|
1111
1111
|
.k-scheduler-edit-form {
|
|
1112
1112
|
|
|
1113
|
-
.k-edit-form-container { width:
|
|
1113
|
+
.k-edit-form-container { width: 100%; }
|
|
1114
1114
|
.k-edit-label { width: 17%; }
|
|
1115
1115
|
.k-edit-field { width: 77%; }
|
|
1116
1116
|
|
|
1117
|
-
.k-
|
|
1118
|
-
|
|
1117
|
+
.k-edit-field > ul > li {
|
|
1118
|
+
display: flex;
|
|
1119
|
+
flex-flow: row nowrap;
|
|
1120
|
+
align-items: center;
|
|
1121
|
+
}
|
|
1122
|
+
.k-recurrence-editor {
|
|
1123
|
+
.k-radio-list .k-radio-wrap,
|
|
1124
|
+
.k-checkbox-list .k-checkbox-wrap {
|
|
1125
|
+
align-self: center;
|
|
1126
|
+
}
|
|
1119
1127
|
}
|
|
1120
1128
|
|
|
1121
|
-
|
|
1122
|
-
.k-
|
|
1123
|
-
.k-
|
|
1124
|
-
.k-widget.k-recur-monthday {
|
|
1129
|
+
.k-recur-interval,
|
|
1130
|
+
.k-recur-count,
|
|
1131
|
+
.k-recur-monthday {
|
|
1125
1132
|
width: 5em;
|
|
1126
1133
|
}
|
|
1127
|
-
.k-
|
|
1128
|
-
.k-
|
|
1129
|
-
.k-
|
|
1130
|
-
.k-
|
|
1134
|
+
.k-recur-until,
|
|
1135
|
+
.k-recur-month,
|
|
1136
|
+
.k-recur-weekday,
|
|
1137
|
+
.k-recur-weekday-offset {
|
|
1131
1138
|
width: 10em;
|
|
1132
1139
|
}
|
|
1133
1140
|
|
|
1141
|
+
.k-scheduler-datetime-picker {
|
|
1142
|
+
display: flex;
|
|
1143
|
+
flex-flow: row nowrap;
|
|
1144
|
+
gap: map-get( $spacing, 2 );
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1134
1147
|
}
|
|
1135
1148
|
|
|
1136
1149
|
}
|
|
@@ -2,22 +2,36 @@
|
|
|
2
2
|
|
|
3
3
|
// Searchbox
|
|
4
4
|
.k-searchbox {
|
|
5
|
-
@include border-radius( $
|
|
6
|
-
|
|
5
|
+
@include border-radius( $input-border-radius );
|
|
6
|
+
width: $input-default-width;
|
|
7
|
+
border-width: $input-border-width;
|
|
7
8
|
border-style: solid;
|
|
8
9
|
box-sizing: border-box;
|
|
9
|
-
|
|
10
|
-
font-
|
|
11
|
-
|
|
10
|
+
outline: 0;
|
|
11
|
+
font-family: $input-font-family;
|
|
12
|
+
font-size: $input-font-size;
|
|
13
|
+
line-height: $input-line-height;
|
|
14
|
+
text-align: start;
|
|
15
|
+
white-space: nowrap;
|
|
12
16
|
display: inline-flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
vertical-align: middle;
|
|
15
17
|
flex-flow: row nowrap;
|
|
18
|
+
vertical-align: middle;
|
|
16
19
|
position: relative;
|
|
17
20
|
overflow: hidden;
|
|
21
|
+
transition: all .1s ease; // sass-lint:disable-line no-transition-all
|
|
22
|
+
-webkit-touch-callout: none;
|
|
23
|
+
-webkit-tap-highlight-color: $rgba-transparent;
|
|
18
24
|
|
|
25
|
+
// Input
|
|
19
26
|
> .k-input {
|
|
20
|
-
padding: $
|
|
27
|
+
padding: $input-padding-y $input-padding-x;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
// Loading icon
|
|
32
|
+
.k-i-loading {
|
|
33
|
+
width: $input-icon-width;
|
|
34
|
+
height: $input-icon-height;
|
|
21
35
|
}
|
|
22
36
|
}
|
|
23
37
|
|
|
@@ -3,53 +3,44 @@
|
|
|
3
3
|
// Searchbox
|
|
4
4
|
.k-searchbox {
|
|
5
5
|
@include fill(
|
|
6
|
-
$
|
|
7
|
-
$
|
|
8
|
-
$
|
|
6
|
+
$input-text,
|
|
7
|
+
$input-bg,
|
|
8
|
+
$input-border
|
|
9
9
|
);
|
|
10
10
|
|
|
11
|
-
|
|
12
11
|
// Hover state
|
|
13
12
|
&:hover,
|
|
14
13
|
&.k-state-hover {
|
|
15
14
|
@include fill(
|
|
16
|
-
$
|
|
17
|
-
$
|
|
18
|
-
$
|
|
15
|
+
$input-hovered-text,
|
|
16
|
+
$input-hovered-bg,
|
|
17
|
+
$input-hovered-border
|
|
19
18
|
);
|
|
20
19
|
}
|
|
21
20
|
|
|
22
|
-
|
|
23
21
|
// Focus state
|
|
24
22
|
&:focus,
|
|
25
|
-
// &:focus-within,
|
|
26
23
|
&.k-state-focus {
|
|
27
24
|
@include fill(
|
|
28
|
-
$
|
|
29
|
-
$
|
|
30
|
-
$
|
|
25
|
+
$input-focused-text,
|
|
26
|
+
$input-focused-bg,
|
|
27
|
+
$input-focused-border
|
|
31
28
|
);
|
|
32
29
|
@include box-shadow( $input-focused-shadow );
|
|
33
30
|
}
|
|
34
31
|
&:focus-within {
|
|
35
32
|
@include fill(
|
|
36
|
-
$
|
|
37
|
-
$
|
|
38
|
-
$
|
|
33
|
+
$input-focused-text,
|
|
34
|
+
$input-focused-bg,
|
|
35
|
+
$input-focused-border
|
|
39
36
|
);
|
|
40
37
|
@include box-shadow( $input-focused-shadow );
|
|
41
38
|
}
|
|
42
39
|
|
|
43
40
|
|
|
44
|
-
//
|
|
45
|
-
&:disabled,
|
|
46
|
-
&.k-state-disabled {
|
|
47
|
-
@include disabled( $disabled-styling );
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
// Invalid
|
|
41
|
+
// Invalid state
|
|
52
42
|
&.k-invalid,
|
|
43
|
+
&.ng-invalid,
|
|
53
44
|
&.k-state-invalid {
|
|
54
45
|
border-color: $invalid-border;
|
|
55
46
|
|
|
@@ -57,11 +48,11 @@
|
|
|
57
48
|
color: $invalid-text;
|
|
58
49
|
}
|
|
59
50
|
|
|
60
|
-
&:focus,
|
|
51
|
+
&:focus-within,
|
|
61
52
|
&.k-state-focus {
|
|
62
53
|
@include box-shadow($invalid-shadow);
|
|
63
54
|
}
|
|
64
55
|
}
|
|
65
|
-
|
|
66
56
|
}
|
|
57
|
+
|
|
67
58
|
}
|