@progress/kendo-theme-default 4.42.1-dev.4 → 4.43.1-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/all.css +4013 -5533
- package/dist/all.scss +5317 -4828
- package/package.json +2 -2
- package/scss/_variables.scss +0 -19
- package/scss/action-buttons/_layout.scss +1 -0
- package/scss/adaptive/_layout.scss +6 -12
- package/scss/autocomplete/_index.scss +1 -0
- package/scss/autocomplete/_theme.scss +7 -8
- package/scss/autocomplete/_variables.scss +0 -5
- package/scss/avatar/_layout.scss +4 -1
- package/scss/avatar/_variables.scss +1 -1
- package/scss/avatar/index.md +0 -0
- package/scss/button/_index.scss +2 -0
- package/scss/button/_variables.scss +21 -21
- package/scss/button/index.md +3 -0
- package/scss/calendar/_index.scss +1 -0
- package/scss/calendar/_theme.scss +0 -17
- package/scss/chat/_layout.scss +3 -5
- package/scss/chat/_theme.scss +0 -10
- package/scss/chat/_variables.scss +0 -8
- package/scss/checkbox/_index.scss +1 -0
- package/scss/checkbox/index.md +0 -0
- package/scss/chip/_layout.scss +103 -123
- package/scss/chip/_theme.scss +289 -300
- package/scss/chip/_variables.scss +7 -9
- package/scss/chip/index.md +0 -0
- package/scss/color-preview/_layout.scss +6 -2
- package/scss/color-preview/_theme.scss +3 -2
- package/scss/color-preview/_variables.scss +2 -1
- package/scss/colorgradient/_layout.scss +7 -0
- package/scss/colorpicker/_layout.scss +21 -58
- package/scss/colorpicker/_theme.scss +34 -35
- package/scss/colorpicker/_variables.scss +0 -2
- package/scss/combobox/_index.scss +1 -0
- package/scss/combobox/_layout.scss +4 -7
- package/scss/combobox/_theme.scss +20 -21
- package/scss/combobox/_variables.scss +0 -1
- package/scss/core/functions/_colors.scss +4 -1
- package/scss/dataviz/_index.scss +1 -0
- package/scss/dateinput/_index.scss +11 -0
- package/scss/dateinput/_layout.scss +81 -0
- package/scss/dateinput/_theme.scss +86 -0
- package/scss/dateinput/_variables.scss +1 -0
- package/scss/datepicker/_index.scss +13 -0
- package/scss/datepicker/_layout.scss +48 -0
- package/scss/datepicker/_theme.scss +87 -0
- package/scss/datepicker/_variables.scss +1 -0
- package/scss/{datetime → datetimepicker}/_index.scss +5 -4
- package/scss/datetimepicker/_layout.scss +120 -0
- package/scss/datetimepicker/_theme.scss +89 -0
- package/scss/datetimepicker/_variables.scss +2 -0
- package/scss/drawer/_index.scss +1 -0
- package/scss/dropdowngrid/_layout.scss +5 -4
- package/scss/dropdowngrid/_theme.scss +6 -2
- package/scss/dropdowngrid/index.md +0 -0
- package/scss/dropdownlist/_index.scss +1 -0
- package/scss/dropdownlist/_layout.scss +4 -5
- package/scss/dropdownlist/_theme.scss +8 -0
- package/scss/dropdowntree/_layout.scss +1 -9
- package/scss/editor/_layout.scss +2 -23
- package/scss/editor/_variables.scss +1 -1
- package/scss/expansion-panel/_index.scss +1 -0
- package/scss/filter/_index.scss +1 -1
- package/scss/filter/_layout.scss +9 -2
- package/scss/filter/_theme.scss +3 -1
- package/scss/forms/_index.scss +1 -1
- package/scss/forms/_layout.scss +3 -76
- package/scss/gantt/_index.scss +1 -1
- package/scss/gantt/_layout.scss +5 -3
- package/scss/grid/_index.scss +2 -1
- package/scss/grid/_layout.scss +14 -70
- package/scss/icons/_layout.scss +6 -0
- package/scss/icons/font/WebComponentsIcons.scss +1 -1
- package/scss/icons/font/WebComponentsIcons.ttf +0 -0
- package/scss/index.scss +7 -3
- package/scss/input/_layout.scss +25 -26
- package/scss/input/_variables.scss +15 -0
- package/scss/list/_index.scss +11 -0
- package/scss/list/_layout.scss +200 -0
- package/scss/list/_theme.scss +104 -0
- package/scss/list/_variables.scss +17 -0
- package/scss/list/index.md +0 -0
- package/scss/listbox/_index.scss +1 -0
- package/scss/maskedtextbox/_layout.scss +1 -0
- package/scss/maskedtextbox/_theme.scss +4 -0
- package/scss/menu/_index.scss +1 -0
- package/scss/menu/_layout.scss +4 -6
- package/scss/menu/_variables.scss +2 -2
- package/scss/multiselect/_index.scss +2 -0
- package/scss/multiselect/_layout.scss +1 -1
- package/scss/multiselect/_theme.scss +12 -0
- package/scss/numerictextbox/_layout.scss +4 -8
- package/scss/numerictextbox/_theme.scss +8 -0
- package/scss/numerictextbox/_variables.scss +0 -4
- package/scss/pager/_index.scss +1 -0
- package/scss/panelbar/_index.scss +1 -0
- package/scss/panelbar/_theme.scss +9 -2
- package/scss/panelbar/_variables.scss +4 -0
- package/scss/pivotgrid/_index.scss +1 -0
- package/scss/pivotgrid/_layout.scss +0 -24
- package/scss/pivotgrid/_variables.scss +0 -3
- package/scss/popover/_layout.scss +0 -1
- package/scss/popup/_index.scss +0 -4
- package/scss/popup/_layout.scss +2 -271
- package/scss/popup/_theme.scss +4 -148
- package/scss/popup/_variables.scss +2 -7
- package/scss/radio/_index.scss +1 -0
- package/scss/radio/index.md +0 -0
- package/scss/scheduler/_index.scss +1 -1
- package/scss/scrollview/_layout.scss +6 -1
- package/scss/searchbox/_theme.scss +16 -0
- package/scss/spreadsheet/_index.scss +2 -1
- package/scss/spreadsheet/_layout.scss +2 -4
- package/scss/switch/index.md +0 -0
- package/scss/table/_index.scss +19 -0
- package/scss/table/_layout.scss +228 -0
- package/scss/table/_theme.scss +81 -0
- package/scss/table/_variables.scss +114 -0
- package/scss/tabstrip/_index.scss +1 -0
- package/scss/tabstrip/_layout.scss +10 -0
- package/scss/tabstrip/_theme.scss +1 -0
- package/scss/tabstrip/_variables.scss +2 -2
- package/scss/textarea/_theme.scss +4 -0
- package/scss/textbox/_theme.scss +5 -1
- package/scss/timepicker/_index.scss +15 -0
- package/scss/timepicker/_layout.scss +48 -0
- package/scss/timepicker/_theme.scss +87 -0
- package/scss/timepicker/_variables.scss +1 -0
- package/scss/timeselector/_index.scss +13 -0
- package/scss/timeselector/_layout.scss +207 -0
- package/scss/timeselector/_theme.scss +70 -0
- package/scss/timeselector/_variables.scss +32 -0
- package/scss/utils/_border.scss +1 -2
- package/scss/datetime/_layout.scss +0 -483
- package/scss/datetime/_theme.scss +0 -297
- package/scss/datetime/_variables.scss +0 -53
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-theme-default",
|
|
3
3
|
"description": "SASS resources for the default Kendo UI theme",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.43.1-dev.2",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"dart:flat": "gulp dart:flat",
|
|
48
48
|
"prepublishOnly": "echo 'no prebublish for default theme'"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "c8f3818a458d171ff85a688531bb94ea3ab9799c"
|
|
51
51
|
}
|
package/scss/_variables.scss
CHANGED
|
@@ -338,25 +338,6 @@ $header-border: $base-border !default;
|
|
|
338
338
|
$header-gradient: null !default;
|
|
339
339
|
|
|
340
340
|
|
|
341
|
-
// List
|
|
342
|
-
$list-item-padding-x: $padding-x !default;
|
|
343
|
-
$list-item-padding-y: $padding-y !default;
|
|
344
|
-
|
|
345
|
-
$list-item-bg: null !default;
|
|
346
|
-
$list-item-text: $component-text !default;
|
|
347
|
-
|
|
348
|
-
$list-item-hovered-bg: $hovered-bg !default;
|
|
349
|
-
$list-item-hovered-text: $hovered-text !default;
|
|
350
|
-
|
|
351
|
-
$list-item-selected-bg: $selected-bg !default;
|
|
352
|
-
$list-item-selected-text: $selected-text !default;
|
|
353
|
-
|
|
354
|
-
$list-item-focused-shadow: inset 0 0 0 2px rgba(0, 0, 0, .12) !default;
|
|
355
|
-
|
|
356
|
-
$list-container-shadow: 0 5px 10px 0 rgba(0, 0, 0, .06) !default;
|
|
357
|
-
$list-container-no-data-text: rgba( $component-text, .5 ) !default;
|
|
358
|
-
|
|
359
|
-
|
|
360
341
|
// Loading
|
|
361
342
|
|
|
362
343
|
|
|
@@ -159,10 +159,6 @@
|
|
|
159
159
|
.k-scheduler-recur-end-wrap {
|
|
160
160
|
white-space: nowrap;
|
|
161
161
|
}
|
|
162
|
-
|
|
163
|
-
.k-edit-buttons {
|
|
164
|
-
border-width: 0;
|
|
165
|
-
}
|
|
166
162
|
}
|
|
167
163
|
}
|
|
168
164
|
|
|
@@ -213,6 +209,12 @@
|
|
|
213
209
|
font-size: 12px;
|
|
214
210
|
}
|
|
215
211
|
}
|
|
212
|
+
|
|
213
|
+
.k-scheduler-views-wrapper {
|
|
214
|
+
.k-views-dropdown {
|
|
215
|
+
display: inline-block;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
216
218
|
}
|
|
217
219
|
|
|
218
220
|
.k-scheduler-footer {
|
|
@@ -458,14 +460,6 @@
|
|
|
458
460
|
overflow-y: auto;
|
|
459
461
|
}
|
|
460
462
|
|
|
461
|
-
.k-state-disabled {
|
|
462
|
-
opacity: 1;
|
|
463
|
-
|
|
464
|
-
> * {
|
|
465
|
-
opacity: .7;
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
|
|
469
463
|
// Pager
|
|
470
464
|
|
|
471
465
|
.k-pager-wrap.k-pager-sm {
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
|
|
24
24
|
// Focus state
|
|
25
25
|
// &:focus-within,
|
|
26
|
-
&.k-state-open,
|
|
27
26
|
&.k-state-focused,
|
|
28
27
|
&.k-state-focus {
|
|
29
28
|
@include fill(
|
|
@@ -58,19 +57,19 @@
|
|
|
58
57
|
&.k-state-invalid,
|
|
59
58
|
&.ng-invalid.ng-touched,
|
|
60
59
|
&.ng-invalid.ng-dirty {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
$
|
|
65
|
-
|
|
60
|
+
border-color: $invalid-border;
|
|
61
|
+
|
|
62
|
+
.k-input-validation-icon {
|
|
63
|
+
color: $invalid-text;
|
|
64
|
+
}
|
|
66
65
|
|
|
67
66
|
// &:focus-within,
|
|
68
67
|
&.k-state-focused,
|
|
69
68
|
&.k-state-focus {
|
|
70
|
-
@include box-shadow(
|
|
69
|
+
@include box-shadow($invalid-shadow);
|
|
71
70
|
}
|
|
72
71
|
&:focus-within {
|
|
73
|
-
@include box-shadow(
|
|
72
|
+
@include box-shadow($invalid-shadow);
|
|
74
73
|
}
|
|
75
74
|
}
|
|
76
75
|
}
|
|
@@ -18,8 +18,3 @@ $autocomplete-disabled-bg: null !default;
|
|
|
18
18
|
$autocomplete-disabled-text: null !default;
|
|
19
19
|
$autocomplete-disabled-border: null !default;
|
|
20
20
|
$autocomplete-disabled-shadow: null !default;
|
|
21
|
-
|
|
22
|
-
$autocomplete-invalid-bg: null !default;
|
|
23
|
-
$autocomplete-invalid-text: null !default;
|
|
24
|
-
$autocomplete-invalid-border: $invalid-border !default;
|
|
25
|
-
$autocomplete-invalid-shadow: $invalid-shadow !default;
|
package/scss/avatar/_layout.scss
CHANGED
|
File without changes
|
package/scss/button/_index.scss
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
// Button
|
|
2
2
|
|
|
3
3
|
/// Width of border around buttons
|
|
4
|
-
/// @group
|
|
4
|
+
/// @group button
|
|
5
5
|
$button-border-width: 1px !default;
|
|
6
6
|
/// Border radius of buttons
|
|
7
|
-
/// @group
|
|
7
|
+
/// @group button
|
|
8
8
|
$button-border-radius: $border-radius !default;
|
|
9
9
|
|
|
10
10
|
/// Horizontal padding of buttons
|
|
11
|
-
/// @group
|
|
11
|
+
/// @group button
|
|
12
12
|
$button-padding-x: $padding-x !default;
|
|
13
13
|
/// Vertical padding of buttons
|
|
14
|
-
/// @group
|
|
14
|
+
/// @group button
|
|
15
15
|
$button-padding-y: $padding-y !default;
|
|
16
16
|
$button-font-family: $font-family !default;
|
|
17
17
|
$button-font-size: $font-size !default;
|
|
@@ -25,63 +25,63 @@ $button-calc-size: calc( #{$button-line-height * 1em} + #{$button-padding-y * 2}
|
|
|
25
25
|
$button-inner-calc-size: calc( #{$button-line-height * 1em} + #{$button-padding-y * 2} ) !default;
|
|
26
26
|
|
|
27
27
|
/// The background of the buttons.
|
|
28
|
-
/// @group
|
|
28
|
+
/// @group button
|
|
29
29
|
$button-bg: #f5f5f5 !default;
|
|
30
30
|
/// The text color of the buttons.
|
|
31
|
-
/// @group
|
|
31
|
+
/// @group button
|
|
32
32
|
$button-text: #424242 !default;
|
|
33
33
|
/// The border color of the buttons.
|
|
34
|
-
/// @group
|
|
34
|
+
/// @group button
|
|
35
35
|
$button-border: rgba( black, .08 ) !default;
|
|
36
36
|
/// The background gradient of the buttons.
|
|
37
|
-
/// @group
|
|
37
|
+
/// @group button
|
|
38
38
|
$button-gradient: rgba( black, 0 ), rgba( black, .02 ) !default;
|
|
39
39
|
$button-shadow: null !default;
|
|
40
40
|
|
|
41
41
|
/// The background of hovered buttons.
|
|
42
|
-
/// @group
|
|
42
|
+
/// @group button
|
|
43
43
|
$button-hovered-bg: try-shade( $button-bg, .5 ) !default;
|
|
44
44
|
/// The text color of hovered buttons.
|
|
45
|
-
/// @group
|
|
45
|
+
/// @group button
|
|
46
46
|
$button-hovered-text: null !default;
|
|
47
47
|
/// The border color of hovered buttons.
|
|
48
|
-
/// @group
|
|
48
|
+
/// @group button
|
|
49
49
|
$button-hovered-border: null !default;
|
|
50
50
|
/// The background gradient of hovered buttons.
|
|
51
|
-
/// @group
|
|
51
|
+
/// @group button
|
|
52
52
|
$button-hovered-gradient: null !default;
|
|
53
53
|
$button-hovered-shadow: null !default;
|
|
54
54
|
|
|
55
55
|
/// The background color of active buttons.
|
|
56
|
-
/// @group
|
|
56
|
+
/// @group button
|
|
57
57
|
$button-active-bg: try-shade( $button-bg, 1.5 ) !default;
|
|
58
58
|
/// The text color of active buttons.
|
|
59
|
-
/// @group
|
|
59
|
+
/// @group button
|
|
60
60
|
$button-active-text: null !default;
|
|
61
61
|
/// The border color of active buttons.
|
|
62
|
-
/// @group
|
|
62
|
+
/// @group button
|
|
63
63
|
$button-active-border: null !default;
|
|
64
64
|
/// The background gradient of active buttons.
|
|
65
|
-
/// @group
|
|
65
|
+
/// @group button
|
|
66
66
|
$button-active-gradient: null !default;
|
|
67
67
|
$button-active-shadow: null !default;
|
|
68
68
|
|
|
69
69
|
/// The background color of selected buttons.
|
|
70
|
-
/// @group
|
|
70
|
+
/// @group button
|
|
71
71
|
$button-selected-bg: $primary !default;
|
|
72
72
|
/// The text color of selected buttons.
|
|
73
|
-
/// @group
|
|
73
|
+
/// @group button
|
|
74
74
|
$button-selected-text: contrast-wcag( $button-selected-bg ) !default;
|
|
75
75
|
/// The border color of selected buttons.
|
|
76
|
-
/// @group
|
|
76
|
+
/// @group button
|
|
77
77
|
$button-selected-border: $button-selected-bg !default;
|
|
78
78
|
/// The background gradient of selected buttons.
|
|
79
|
-
/// @group
|
|
79
|
+
/// @group button
|
|
80
80
|
$button-selected-gradient: null !default;
|
|
81
81
|
$button-selected-shadow: null !default;
|
|
82
82
|
|
|
83
83
|
/// The shadow of focused buttons.
|
|
84
|
-
/// @group
|
|
84
|
+
/// @group button
|
|
85
85
|
$button-focused-shadow: 0 0 0 2px rgba( $button-border, .08 ) !default;
|
|
86
86
|
|
|
87
87
|
|
|
@@ -248,20 +248,3 @@
|
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
}
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
@include exports( "daterangepicker/theme" ) {
|
|
256
|
-
|
|
257
|
-
// jQuery DateRangePicker
|
|
258
|
-
.k-daterangepicker {
|
|
259
|
-
// Invalid
|
|
260
|
-
&.k-state-invalid {
|
|
261
|
-
.k-dateinput-wrap {
|
|
262
|
-
border-color: $invalid-border;
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
}
|
package/scss/chat/_layout.scss
CHANGED
|
@@ -268,10 +268,10 @@
|
|
|
268
268
|
.k-message-box {
|
|
269
269
|
width: 100%;
|
|
270
270
|
height: auto;
|
|
271
|
-
padding: $chat-message-box-padding-y $chat-message-box-padding-x;
|
|
272
271
|
box-sizing: border-box;
|
|
273
272
|
border-width: 1px 0 0;
|
|
274
273
|
border-style: solid;
|
|
274
|
+
border-radius: 0;
|
|
275
275
|
flex: none;
|
|
276
276
|
display: flex;
|
|
277
277
|
flex-flow: row nowrap;
|
|
@@ -285,12 +285,9 @@
|
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
// Input
|
|
288
|
-
.k-input {
|
|
289
|
-
padding: 0;
|
|
290
|
-
}
|
|
288
|
+
.k-input {}
|
|
291
289
|
|
|
292
290
|
.k-button {
|
|
293
|
-
padding: 0;
|
|
294
291
|
flex-shrink: 0;
|
|
295
292
|
|
|
296
293
|
svg {
|
|
@@ -453,6 +450,7 @@
|
|
|
453
450
|
|
|
454
451
|
|
|
455
452
|
.k-scroll-button {
|
|
453
|
+
height: 100%;
|
|
456
454
|
position: absolute;
|
|
457
455
|
z-index: 2;
|
|
458
456
|
top: 50%;
|
package/scss/chat/_theme.scss
CHANGED
|
@@ -86,9 +86,6 @@
|
|
|
86
86
|
.k-message-box.k-state-focused {
|
|
87
87
|
@include box-shadow( $chat-message-box-focus-shadow );
|
|
88
88
|
}
|
|
89
|
-
.k-message-box .k-button:hover {
|
|
90
|
-
@include fill( $chat-message-box-button-hover-text );
|
|
91
|
-
}
|
|
92
89
|
|
|
93
90
|
}
|
|
94
91
|
|
|
@@ -102,13 +99,6 @@
|
|
|
102
99
|
$chat-toolbar-border
|
|
103
100
|
);
|
|
104
101
|
|
|
105
|
-
.k-button:hover {
|
|
106
|
-
@include fill(
|
|
107
|
-
$chat-toolbar-box-button-hover-text,
|
|
108
|
-
$chat-toolbar-box-button-hover-bg
|
|
109
|
-
);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
102
|
.k-scroll-button {
|
|
113
103
|
@include fill( $bg: $chat-bg );
|
|
114
104
|
@include box-shadow( $chat-toolbar-box-scroll-button-shadow );
|
|
@@ -32,9 +32,6 @@ $chat-bubble-border-radius-sm: 2px !default;
|
|
|
32
32
|
$chat-avatar-size: 32px !default;
|
|
33
33
|
$chat-avatar-spacing: $chat-item-spacing-x !default;
|
|
34
34
|
|
|
35
|
-
$chat-message-box-padding-x: $input-padding-x !default;
|
|
36
|
-
$chat-message-box-padding-y: $input-padding-y !default;
|
|
37
|
-
|
|
38
35
|
$chat-toolbar-padding-x: $toolbar-padding-x !default;
|
|
39
36
|
$chat-toolbar-padding-y: $toolbar-padding-y !default;
|
|
40
37
|
$chat-toolbar-spacing: $toolbar-spacing !default;
|
|
@@ -79,9 +76,4 @@ $chat-message-box-text: $input-text !default;
|
|
|
79
76
|
$chat-message-box-border: inherit !default;
|
|
80
77
|
$chat-message-box-focus-shadow: 0 0 40px rgba( $input-text, .1 ) !default;
|
|
81
78
|
|
|
82
|
-
$chat-message-box-button-hover-text: $primary !default;
|
|
83
|
-
|
|
84
|
-
$chat-toolbar-box-button-hover-text: $primary !default;
|
|
85
|
-
$chat-toolbar-box-button-hover-bg: transparent !default;
|
|
86
|
-
|
|
87
79
|
$chat-toolbar-box-scroll-button-shadow: 0 0 20px 5px $chat-bg !default;
|
|
File without changes
|
package/scss/chip/_layout.scss
CHANGED
|
@@ -1,171 +1,151 @@
|
|
|
1
1
|
@include exports("chip/layout") {
|
|
2
2
|
|
|
3
|
-
.k-chip-list {
|
|
4
|
-
display: inline-flex;
|
|
5
|
-
|
|
6
|
-
> * {
|
|
7
|
-
margin-right: $chips-margin;
|
|
8
|
-
|
|
9
|
-
&:last-child {
|
|
10
|
-
margin-right: 0;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.k-selection-single {
|
|
16
|
-
.k-selected-icon-wrapper {
|
|
17
|
-
display: none;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.k-selection-multiple {
|
|
22
|
-
.k-selected-icon-wrapper {
|
|
23
|
-
width: 0;
|
|
24
|
-
height: $chip-selected-icon-size;
|
|
25
|
-
position: relative;
|
|
26
|
-
left: $chip-selected-icon-offset;
|
|
27
|
-
display: flex;
|
|
28
|
-
align-items: center;
|
|
29
|
-
justify-content: center;
|
|
30
|
-
visibility: hidden;
|
|
31
|
-
z-index: 1;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.k-selected-icon {
|
|
35
|
-
font-size: $chip-selected-icon-font-size;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.k-chip.k-state-selected .k-selected-icon-wrapper,
|
|
39
|
-
.k-chip.k-selected .k-selected-icon-wrapper {
|
|
40
|
-
width: $chip-selected-icon-size;
|
|
41
|
-
visibility: visible;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
> .k-chip-has-icon {
|
|
45
|
-
.k-selected-icon-wrapper {
|
|
46
|
-
border-radius: 50%;
|
|
47
|
-
position: absolute;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
:not(.k-chip-has-icon) {
|
|
52
|
-
.k-selected-icon-wrapper {
|
|
53
|
-
left: $chip-selected-icon-no-icon-offset;
|
|
54
|
-
opacity: 0;
|
|
55
|
-
transition: width .2s, opacity .2s;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&.k-state-selected .k-selected-icon-wrapper,
|
|
59
|
-
&.k-selected .k-selected-icon-wrapper {
|
|
60
|
-
opacity: 1;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
3
|
.k-chip {
|
|
66
|
-
overflow: hidden;
|
|
67
|
-
padding: $chip-padding-y $chip-padding-x;
|
|
68
4
|
height: $chip-height;
|
|
5
|
+
padding: $chip-padding-y $chip-padding-x;
|
|
69
6
|
border-radius: $chip-border-radius;
|
|
70
|
-
position: relative;
|
|
71
7
|
box-sizing: border-box;
|
|
72
8
|
border-width: 1px;
|
|
73
9
|
border-style: solid;
|
|
10
|
+
outline: 0;
|
|
11
|
+
font-size: $chip-font-size;
|
|
74
12
|
display: inline-flex;
|
|
13
|
+
flex-flow: row nowrap;
|
|
75
14
|
align-items: center;
|
|
76
15
|
justify-content: center;
|
|
77
|
-
|
|
16
|
+
gap: $chip-gap;
|
|
17
|
+
position: relative;
|
|
18
|
+
overflow: hidden;
|
|
78
19
|
cursor: pointer;
|
|
79
20
|
user-select: none;
|
|
80
21
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
outline: 0;
|
|
22
|
+
.k-selected-icon-wrapper {
|
|
23
|
+
display: none !important; // sass-lint:disable-line no-important
|
|
84
24
|
}
|
|
85
25
|
}
|
|
86
26
|
|
|
27
|
+
|
|
28
|
+
// Chip content
|
|
87
29
|
.k-chip-content {
|
|
88
30
|
min-width: 0;
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-flow: row nowrap;
|
|
33
|
+
align-items: center;
|
|
89
34
|
overflow: hidden;
|
|
90
|
-
|
|
35
|
+
flex: 1 1 auto;
|
|
36
|
+
}
|
|
37
|
+
.k-chip-content:first-child {
|
|
38
|
+
margin-inline-start: $chip-gap;
|
|
39
|
+
}
|
|
40
|
+
.k-chip-content:last-child {
|
|
41
|
+
margin-inline-end: $chip-gap;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
// Chip text
|
|
46
|
+
.k-chip-text,
|
|
47
|
+
.k-chip-label {
|
|
91
48
|
white-space: nowrap;
|
|
92
|
-
|
|
49
|
+
text-overflow: ellipsis;
|
|
50
|
+
overflow: hidden;
|
|
93
51
|
flex: 1 1 auto;
|
|
94
52
|
}
|
|
95
53
|
|
|
96
|
-
|
|
97
|
-
|
|
54
|
+
|
|
55
|
+
// Chip avatar
|
|
56
|
+
.k-chip-avatar {
|
|
57
|
+
width: $chip-avatar-size;
|
|
58
|
+
height: $chip-avatar-size;
|
|
59
|
+
border-radius: 50%;
|
|
60
|
+
background-size: cover;
|
|
61
|
+
background-position: center;
|
|
62
|
+
flex: none;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
// Chip icon
|
|
67
|
+
.k-chip-icon {
|
|
98
68
|
width: $chip-icons-size;
|
|
99
69
|
height: $chip-icons-size;
|
|
100
70
|
display: flex;
|
|
101
71
|
align-items: center;
|
|
102
72
|
justify-content: center;
|
|
103
|
-
flex:
|
|
73
|
+
flex: none;
|
|
74
|
+
}
|
|
75
|
+
.k-ie .k-chip-icon {
|
|
76
|
+
margin-right: $chip-gap;
|
|
104
77
|
}
|
|
105
78
|
|
|
106
|
-
|
|
107
|
-
|
|
79
|
+
|
|
80
|
+
// Actions
|
|
81
|
+
.k-chip-actions {
|
|
82
|
+
flex: none;
|
|
83
|
+
display: flex;
|
|
84
|
+
flex-flow: row nowrap;
|
|
85
|
+
align-items: center;
|
|
86
|
+
align-self: center;
|
|
87
|
+
}
|
|
88
|
+
.k-chip-action {
|
|
89
|
+
flex: none;
|
|
90
|
+
display: flex;
|
|
91
|
+
flex-flow: row nowrap;
|
|
92
|
+
align-items: center;
|
|
93
|
+
align-self: center;
|
|
108
94
|
}
|
|
109
95
|
|
|
96
|
+
|
|
97
|
+
// Legacy chip icons
|
|
110
98
|
.k-remove-icon {
|
|
111
|
-
|
|
99
|
+
width: $chip-icons-size;
|
|
100
|
+
height: $chip-icons-size;
|
|
112
101
|
font-size: $chip-remove-icon-font-size;
|
|
102
|
+
display: flex;
|
|
103
|
+
align-items: center;
|
|
104
|
+
justify-content: center;
|
|
105
|
+
flex: none;
|
|
113
106
|
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
height: $chip-avatar-size;
|
|
118
|
-
border-radius: 50%;
|
|
119
|
-
background-size: cover;
|
|
120
|
-
background-position: center;
|
|
107
|
+
.k-ie .k-remove-icon {
|
|
108
|
+
margin-right: 0;
|
|
109
|
+
margin-left: $chip-gap;
|
|
121
110
|
}
|
|
122
111
|
|
|
123
|
-
}
|
|
124
112
|
|
|
113
|
+
// Chip list
|
|
114
|
+
.k-chip-list {
|
|
115
|
+
display: inline-flex;
|
|
116
|
+
gap: $chip-list-gap;
|
|
117
|
+
}
|
|
118
|
+
.k-ie .k-chip-list > * {
|
|
119
|
+
margin-right: $chip-list-gap;
|
|
120
|
+
}
|
|
121
|
+
.k-ie .k-chip-list > :last-child {
|
|
122
|
+
margin-right: 0;
|
|
123
|
+
}
|
|
125
124
|
|
|
126
|
-
@include exports("chip/layout/rtl") {
|
|
127
125
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
126
|
+
// RTL
|
|
127
|
+
.k-ie .k-chip.k-rtl,
|
|
128
|
+
.k-ie .k-rtl .k-chip,
|
|
129
|
+
.k-ie .k-chip[dir="rtl"] {
|
|
130
|
+
.k-chip-icon {
|
|
131
|
+
margin-right: 0;
|
|
132
|
+
margin-left: $chip-gap;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.k-remove-icon {
|
|
136
|
+
margin-left: 0;
|
|
137
|
+
margin-right: $chip-gap;
|
|
140
138
|
}
|
|
141
139
|
}
|
|
140
|
+
.k-ie .k-chip-list.k-rtl,
|
|
141
|
+
.k-ie .k-rtl .k-chip-list,
|
|
142
|
+
.k-ie .k-chip-list[dir="rtl"] {
|
|
143
|
+
> * {
|
|
144
|
+
margin-right: 0;
|
|
145
|
+
margin-left: $chip-list-gap;
|
|
142
146
|
|
|
143
|
-
|
|
144
|
-
&[dir="rtl"],
|
|
145
|
-
.k-rtl &,
|
|
146
|
-
&.k-rtl {
|
|
147
|
-
.k-chip-icon {
|
|
147
|
+
&:last-child {
|
|
148
148
|
margin-left: 0;
|
|
149
|
-
margin-right: $chip-icon-margin;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.k-remove-icon {
|
|
153
|
-
margin-right: 0;
|
|
154
|
-
margin-left: $chip-remove-icon-margin;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.k-selection-multiple & {
|
|
158
|
-
.k-selected-icon-wrapper {
|
|
159
|
-
left: 0;
|
|
160
|
-
right: $chip-selected-icon-offset;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
&:not(.k-chip-has-icon) {
|
|
164
|
-
.k-selected-icon-wrapper {
|
|
165
|
-
left: 0;
|
|
166
|
-
right: $chip-selected-icon-no-icon-offset;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
149
|
}
|
|
170
150
|
}
|
|
171
151
|
}
|