@progress/kendo-theme-default 5.0.0-alpha.2 → 5.0.0-beta.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 +8420 -10054
- package/dist/all.scss +13531 -13419
- package/package.json +2 -2
- package/scss/_variables.scss +0 -19
- package/scss/action-buttons/_layout.scss +1 -0
- package/scss/adaptive/_layout.scss +7 -19
- package/scss/all.scss +1 -159
- package/scss/autocomplete/_index.scss +1 -0
- package/scss/autocomplete/_variables.scss +0 -5
- package/scss/avatar/_layout.scss +13 -17
- package/scss/avatar/_theme.scss +4 -4
- package/scss/avatar/_variables.scss +18 -8
- package/scss/avatar/index.md +0 -0
- package/scss/breadcrumb/_layout.scss +0 -13
- package/scss/button/_index.scss +2 -0
- package/scss/button/_layout.scss +23 -62
- package/scss/button/_variables.scss +7 -5
- package/scss/calendar/_index.scss +1 -0
- package/scss/calendar/_theme.scss +1 -2
- 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 +2 -0
- package/scss/checkbox/_variables.scss +1 -1
- package/scss/checkbox/index.md +0 -0
- package/scss/chip/_index.scss +1 -0
- package/scss/chip/_layout.scss +124 -131
- package/scss/chip/_theme.scss +90 -388
- package/scss/chip/_variables.scss +127 -191
- package/scss/chip/index.md +0 -0
- package/scss/color-preview/_layout.scss +47 -9
- package/scss/color-preview/_theme.scss +4 -4
- package/scss/color-preview/_variables.scss +1 -0
- package/scss/colorgradient/_layout.scss +7 -0
- package/scss/colorpicker/_index.scss +1 -2
- package/scss/colorpicker/_layout.scss +1 -1
- package/scss/colorpicker/_theme.scss +1 -1
- package/scss/colorpicker/_variables.scss +1 -22
- package/scss/combobox/_index.scss +1 -0
- package/scss/combobox/_variables.scss +0 -2
- package/scss/core/functions/_colors.scss +4 -1
- package/scss/core/mixins/_index.scss +1 -0
- package/scss/core/mixins/_module-system.scss +149 -0
- package/scss/dataviz/_index.scss +1 -0
- package/scss/dateinput/_index.scss +0 -4
- package/scss/dateinput/_variables.scss +1 -1
- package/scss/datepicker/_index.scss +1 -3
- package/scss/datetimepicker/_index.scss +5 -3
- package/scss/datetimepicker/_layout.scss +2 -2
- package/scss/datetimepicker/_theme.scss +2 -2
- package/scss/datetimepicker/_variables.scss +2 -1
- package/scss/drawer/_index.scss +1 -0
- package/scss/drawer/_variables.scss +1 -1
- 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 +11 -0
- package/scss/dropzone/_layout.scss +0 -16
- package/scss/editor/_layout.scss +2 -47
- package/scss/editor/_variables.scss +1 -1
- package/scss/expansion-panel/_index.scss +1 -0
- package/scss/expansion-panel/_variables.scss +2 -2
- package/scss/filemanager/_theme.scss +1 -1
- 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 +9 -78
- 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 +23 -46
- package/scss/grid/_theme.scss +12 -12
- package/scss/grid/_variables.scss +3 -3
- package/scss/icons/_layout.scss +6 -1
- package/scss/icons/font/WebComponentsIcons.scss +1 -1
- package/scss/icons/font/WebComponentsIcons.ttf +0 -0
- package/scss/index.scss +156 -0
- package/scss/input/_index.scss +1 -1
- package/scss/input/_layout.scss +151 -17
- package/scss/input/_theme.scss +13 -2
- package/scss/input/_variables.scss +45 -44
- package/scss/list/_index.scss +11 -0
- package/scss/list/_layout.scss +219 -0
- package/scss/list/_theme.scss +91 -0
- package/scss/list/_variables.scss +248 -0
- package/scss/list/index.md +0 -0
- package/scss/listbox/_index.scss +2 -0
- package/scss/menu/_index.scss +2 -0
- package/scss/menu/_layout.scss +72 -41
- package/scss/menu/_theme.scss +27 -24
- package/scss/menu/_variables.scss +114 -35
- package/scss/multiselect/_index.scss +2 -0
- package/scss/multiselect/_layout.scss +0 -180
- package/scss/multiselect/_theme.scss +0 -139
- package/scss/multiselect/_variables.scss +0 -36
- package/scss/notification/_layout.scss +0 -22
- package/scss/pager/_index.scss +1 -0
- package/scss/pager/_theme.scss +4 -4
- package/scss/pager/_variables.scss +5 -5
- package/scss/panelbar/_index.scss +1 -0
- package/scss/panelbar/_layout.scss +0 -53
- package/scss/panelbar/_theme.scss +9 -2
- package/scss/panelbar/_variables.scss +6 -2
- package/scss/pivotgrid/_index.scss +1 -0
- package/scss/pivotgrid/_layout.scss +1 -45
- package/scss/pivotgrid/_theme.scss +1 -2
- package/scss/pivotgrid/_variables.scss +1 -4
- package/scss/popover/_layout.scss +0 -1
- package/scss/popup/_index.scss +0 -4
- package/scss/popup/_layout.scss +2 -242
- package/scss/popup/_theme.scss +2 -159
- package/scss/popup/_variables.scss +2 -7
- package/scss/radio/_index.scss +2 -0
- package/scss/radio/_variables.scss +1 -1
- package/scss/radio/index.md +0 -0
- package/scss/rating/_layout.scss +0 -8
- package/scss/scheduler/_index.scss +1 -1
- package/scss/scrollview/_layout.scss +6 -1
- package/scss/slider/_layout.scss +2 -18
- package/scss/spreadsheet/_index.scss +2 -1
- package/scss/spreadsheet/_layout.scss +3 -5
- package/scss/spreadsheet/_theme.scss +6 -6
- package/scss/switch/_layout.scss +4 -2
- package/scss/switch/index.md +0 -0
- package/scss/{datetime → table}/_index.scss +5 -2
- package/scss/table/_layout.scss +254 -0
- package/scss/table/_theme.scss +81 -0
- package/scss/table/_variables.scss +141 -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 +3 -3
- package/scss/taskboard/_layout.scss +2 -1
- package/scss/taskboard/_variables.scss +0 -2
- package/scss/timepicker/_index.scss +3 -3
- package/scss/timepicker/_variables.scss +1 -1
- package/scss/timeselector/_index.scss +13 -0
- package/scss/timeselector/_layout.scss +207 -0
- package/scss/{datetime → timeselector}/_theme.scss +21 -21
- package/scss/timeselector/_variables.scss +32 -0
- package/scss/toolbar/_layout.scss +2 -1
- package/scss/treeview/_layout.scss +49 -33
- package/scss/treeview/_theme.scss +31 -32
- package/scss/treeview/_variables.scss +142 -46
- package/scss/upload/_layout.scss +0 -80
- package/scss/utils/_border.scss +1 -2
- package/scss/utils/_flex.scss +11 -3
- package/scss/datetime/_layout.scss +0 -222
- package/scss/datetime/_variables.scss +0 -53
- package/scss/no-flexbox.scss +0 -38
|
Binary file
|
package/scss/index.scss
ADDED
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
@import "core/_index.scss";
|
|
2
|
+
@import "common/_index.scss";
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
// Typography and utils
|
|
6
|
+
@import "typography/_index.scss";
|
|
7
|
+
@import "utils/_index.scss";
|
|
8
|
+
@import "cursor/_index.scss";
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
// Generic content
|
|
12
|
+
@import "styling/_index.scss";
|
|
13
|
+
@import "icons/_index.scss";
|
|
14
|
+
@import "messagebox/_index.scss";
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
// Primitive components
|
|
18
|
+
@import "list/_index.scss";
|
|
19
|
+
@import "listgroup/_index.scss";
|
|
20
|
+
@import "overlay/_index.scss";
|
|
21
|
+
@import "popup/_index.scss";
|
|
22
|
+
@import "ripple/_index.scss";
|
|
23
|
+
@import "table/_index.scss";
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
// Indicators
|
|
27
|
+
@import "avatar/_index.scss";
|
|
28
|
+
@import "badge/_index.scss";
|
|
29
|
+
@import "chip/_index.scss";
|
|
30
|
+
@import "color-preview/_index.scss";
|
|
31
|
+
@import "loader/_index.scss";
|
|
32
|
+
// @import "loading/_index.scss";
|
|
33
|
+
@import "skeleton/_index.scss";
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
// Form helpers
|
|
37
|
+
@import "forms/_index.scss";
|
|
38
|
+
@import "validator/_index.scss";
|
|
39
|
+
@import "floating-label/_index.scss";
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
// Native forms
|
|
43
|
+
@import "button/_index.scss";
|
|
44
|
+
@import "input/_index.scss";
|
|
45
|
+
@import "textbox/_index.scss";
|
|
46
|
+
@import "textarea/_index.scss";
|
|
47
|
+
@import "checkbox/_index.scss";
|
|
48
|
+
@import "listbox/_index.scss";
|
|
49
|
+
@import "progressbar/_index.scss";
|
|
50
|
+
@import "radio/_index.scss";
|
|
51
|
+
@import "slider/_index.scss";
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
// Form requirements
|
|
55
|
+
@import "calendar/_index.scss";
|
|
56
|
+
@import "timeselector/_index.scss";
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
// Augmented forms
|
|
60
|
+
@import "autocomplete/_index.scss";
|
|
61
|
+
@import "captcha/_index.scss";
|
|
62
|
+
@import "colorpalette/_index.scss";
|
|
63
|
+
@import "colorgradient/_index.scss";
|
|
64
|
+
@import "coloreditor/_index.scss";
|
|
65
|
+
@import "colorpicker/_index.scss";
|
|
66
|
+
@import "combobox/_index.scss";
|
|
67
|
+
@import "dateinput/_index.scss";
|
|
68
|
+
@import "datepicker/_index.scss";
|
|
69
|
+
@import "timepicker/_index.scss";
|
|
70
|
+
@import "datetimepicker/_index.scss";
|
|
71
|
+
@import "daterangepicker/_index.scss";
|
|
72
|
+
@import "dropdowngrid/_index.scss";
|
|
73
|
+
@import "dropdownlist/_index.scss";
|
|
74
|
+
@import "dropdowntree/_index.scss";
|
|
75
|
+
@import "maskedtextbox/_index.scss";
|
|
76
|
+
@import "multiselect/_index.scss";
|
|
77
|
+
@import "numerictextbox/_index.scss";
|
|
78
|
+
@import "rating/_index.scss";
|
|
79
|
+
@import "searchbox/_index.scss";
|
|
80
|
+
@import "switch/_index.scss";
|
|
81
|
+
@import "upload/_index.scss";
|
|
82
|
+
@import "dropzone/_index.scss";
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
// Command interfaces
|
|
86
|
+
@import "action-buttons/_index.scss";
|
|
87
|
+
@import "appbar/_index.scss";
|
|
88
|
+
@import "fab/_index.scss";
|
|
89
|
+
@import "menu/_index.scss";
|
|
90
|
+
@import "toolbar/_index.scss";
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
// Popups and modals
|
|
94
|
+
@import "action-sheet/_index.scss";
|
|
95
|
+
@import "dialog/_index.scss";
|
|
96
|
+
@import "drawer/_index.scss";
|
|
97
|
+
@import "notification/_index.scss";
|
|
98
|
+
@import "popover/_index.scss";
|
|
99
|
+
@import "responsivepanel/_index.scss";
|
|
100
|
+
@import "tooltip/_index.scss";
|
|
101
|
+
@import "window/_index.scss";
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
// Navigation
|
|
105
|
+
@import "bottom-navigation/_index.scss";
|
|
106
|
+
@import "breadcrumb/_index.scss";
|
|
107
|
+
@import "pager/_index.scss";
|
|
108
|
+
@import "stepper/_index.scss";
|
|
109
|
+
@import "tabstrip/_index.scss";
|
|
110
|
+
@import "treeview/_index.scss";
|
|
111
|
+
@import "wizard/_index.scss";
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
// Layout & containers
|
|
115
|
+
@import "card/_index.scss";
|
|
116
|
+
@import "expansion-panel/_index.scss";
|
|
117
|
+
@import "panelbar/_index.scss";
|
|
118
|
+
@import "splitter/_index.scss";
|
|
119
|
+
@import "tilelayout/_index.scss";
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
// Data management
|
|
123
|
+
@import "grid/_index.scss";
|
|
124
|
+
@import "listview/_index.scss";
|
|
125
|
+
@import "spreadsheet/_index.scss";
|
|
126
|
+
@import "pivotgrid/_index.scss";
|
|
127
|
+
@import "treelist/_index.scss";
|
|
128
|
+
@import "filter/_index.scss";
|
|
129
|
+
@import "filemanager/_index.scss";
|
|
130
|
+
@import "taskboard/_index.scss";
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
// Editors
|
|
134
|
+
@import "editor/_index.scss";
|
|
135
|
+
@import "imageeditor/_index.scss";
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
// Scheduling
|
|
139
|
+
@import "gantt/_index.scss";
|
|
140
|
+
@import "scheduler/_index.scss";
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
// Misc
|
|
144
|
+
@import "adaptive/_index.scss";
|
|
145
|
+
@import "chat/_index.scss";
|
|
146
|
+
@import "mediaplayer/_index.scss";
|
|
147
|
+
@import "timeline/_index.scss";
|
|
148
|
+
@import "pdf-viewer/_index.scss";
|
|
149
|
+
@import "scroller/_index.scss";
|
|
150
|
+
@import "scrollview/_index.scss";
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
// Dataviz
|
|
154
|
+
@import "dataviz/_index.scss";
|
|
155
|
+
@import "map/_index.scss";
|
|
156
|
+
@import "orgchart/_index.scss";
|
package/scss/input/_index.scss
CHANGED
package/scss/input/_layout.scss
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
@include border-radius( $kendo-input-border-radius );
|
|
7
7
|
margin: 0;
|
|
8
8
|
padding: 0;
|
|
9
|
-
width:
|
|
9
|
+
width: $kendo-input-default-width;
|
|
10
10
|
min-width: 0;
|
|
11
11
|
border-width: $kendo-input-border-width;
|
|
12
12
|
border-style: solid;
|
|
@@ -22,6 +22,16 @@
|
|
|
22
22
|
overflow: hidden;
|
|
23
23
|
text-overflow: ellipsis;
|
|
24
24
|
-webkit-appearance: none;
|
|
25
|
+
|
|
26
|
+
.k-input,
|
|
27
|
+
.k-picker {
|
|
28
|
+
border-width: 0 !important; // sass-lint:disable-line no-important
|
|
29
|
+
color: inherit;
|
|
30
|
+
background: none;
|
|
31
|
+
font: inherit;
|
|
32
|
+
outline: 0;
|
|
33
|
+
box-shadow: none;
|
|
34
|
+
}
|
|
25
35
|
}
|
|
26
36
|
input.k-input {
|
|
27
37
|
padding: $kendo-input-padding-y $kendo-input-padding-x;
|
|
@@ -70,14 +80,42 @@
|
|
|
70
80
|
display: flex;
|
|
71
81
|
flex-flow: row nowrap;
|
|
72
82
|
align-items: center;
|
|
83
|
+
}
|
|
84
|
+
textarea.k-input-inner {
|
|
85
|
+
margin: 0;
|
|
86
|
+
}
|
|
73
87
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
88
|
+
|
|
89
|
+
// Input value
|
|
90
|
+
.k-input-value-icon {
|
|
91
|
+
flex: none;
|
|
92
|
+
}
|
|
93
|
+
.k-input-value-text {
|
|
94
|
+
flex: 1;
|
|
95
|
+
overflow: hidden;
|
|
96
|
+
text-overflow: ellipsis;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
// Input multiple values
|
|
101
|
+
.k-input-values {
|
|
102
|
+
width: 100%;
|
|
103
|
+
padding: $kendo-input-values-margin-y $kendo-input-values-margin-x;
|
|
104
|
+
cursor: text;
|
|
105
|
+
}
|
|
106
|
+
.k-input-values > .k-input-inner {
|
|
107
|
+
margin: (-$kendo-input-values-margin-y) (-$kendo-input-values-margin-x);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
// Icon picker
|
|
112
|
+
.k-icon-picker {
|
|
113
|
+
.k-input-inner {
|
|
114
|
+
padding: $kendo-input-padding-y;
|
|
115
|
+
// TODO we need better way
|
|
116
|
+
// width: $kendo-input-inner-calc-height;
|
|
117
|
+
// height: $kendo-input-inner-calc-height;
|
|
118
|
+
justify-content: center;
|
|
81
119
|
}
|
|
82
120
|
}
|
|
83
121
|
|
|
@@ -85,6 +123,7 @@
|
|
|
85
123
|
// Input prefix and suffix
|
|
86
124
|
.k-input-prefix,
|
|
87
125
|
.k-input-suffix {
|
|
126
|
+
border-color: inherit;
|
|
88
127
|
display: flex;
|
|
89
128
|
flex-flow: row nowrap;
|
|
90
129
|
align-items: center;
|
|
@@ -96,13 +135,24 @@
|
|
|
96
135
|
}
|
|
97
136
|
|
|
98
137
|
|
|
138
|
+
// Input separator
|
|
139
|
+
.k-input-separator {
|
|
140
|
+
margin: 0;
|
|
141
|
+
width: 0;
|
|
142
|
+
height: $icon-size;
|
|
143
|
+
border-width: 0 0 0 1px;
|
|
144
|
+
border-style: solid;
|
|
145
|
+
border-color: inherit;
|
|
146
|
+
align-self: center;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
|
|
99
150
|
// Input with icon styles
|
|
100
151
|
.k-input-icon,
|
|
101
152
|
.k-input-validation-icon,
|
|
102
153
|
.k-input-loading-icon {
|
|
103
|
-
width: $kendo-input-icon-width;
|
|
104
|
-
height: $kendo-input-icon-height;
|
|
105
154
|
flex: none;
|
|
155
|
+
align-self: center;
|
|
106
156
|
display: inline-flex;
|
|
107
157
|
flex-flow: row nowrap;
|
|
108
158
|
align-items: center;
|
|
@@ -112,19 +162,20 @@
|
|
|
112
162
|
|
|
113
163
|
// Clear value
|
|
114
164
|
.k-clear-value {
|
|
115
|
-
width: $kendo-input-icon-width;
|
|
116
|
-
height: $kendo-input-icon-height;
|
|
117
165
|
outline: 0;
|
|
166
|
+
color: $kendo-input-clear-value-text;
|
|
118
167
|
flex: none;
|
|
168
|
+
align-self: center;
|
|
119
169
|
display: inline-flex;
|
|
120
170
|
align-items: center;
|
|
121
171
|
justify-content: center;
|
|
122
172
|
cursor: pointer;
|
|
123
|
-
opacity:
|
|
173
|
+
opacity: $kendo-input-clear-value-opacity;
|
|
124
174
|
}
|
|
125
175
|
.k-clear-value:hover,
|
|
126
176
|
.k-clear-value.k-hover {
|
|
127
|
-
|
|
177
|
+
color: $kendo-input-clear-value-hover-text;
|
|
178
|
+
opacity: $kendo-input-clear-value-hover-opacity;
|
|
128
179
|
}
|
|
129
180
|
|
|
130
181
|
|
|
@@ -132,10 +183,9 @@
|
|
|
132
183
|
.k-input-button {
|
|
133
184
|
width: if( $use-input-button-width, $kendo-input-button-width, auto );
|
|
134
185
|
border-width: 0;
|
|
186
|
+
border-inline-start-width: $kendo-input-button-border-width;
|
|
135
187
|
flex: none;
|
|
136
188
|
aspect-ratio: auto;
|
|
137
|
-
color: inherit;
|
|
138
|
-
background: none;
|
|
139
189
|
box-shadow: none;
|
|
140
190
|
|
|
141
191
|
> .k-button-icon {
|
|
@@ -146,6 +196,7 @@
|
|
|
146
196
|
.k-picker .k-input-button {
|
|
147
197
|
color: inherit;
|
|
148
198
|
background: none;
|
|
199
|
+
border-color: transparent;
|
|
149
200
|
}
|
|
150
201
|
|
|
151
202
|
|
|
@@ -159,14 +210,24 @@
|
|
|
159
210
|
.k-spinner-increase,
|
|
160
211
|
.k-spinner-decrease {
|
|
161
212
|
border-width: 0;
|
|
213
|
+
border-inline-start-width: $kendo-input-button-border-width;
|
|
162
214
|
flex: 1 1 50%;
|
|
163
|
-
aspect-ratio: auto;
|
|
164
215
|
box-shadow: none;
|
|
216
|
+
position: relative;
|
|
217
|
+
aspect-ratio: auto;
|
|
165
218
|
|
|
166
219
|
> .k-button-icon {
|
|
167
220
|
margin: -1em 0;
|
|
221
|
+
min-width: auto !important; // sass-lint:disable-line no-important
|
|
222
|
+
min-height: auto !important; // sass-lint:disable-line no-important
|
|
168
223
|
}
|
|
169
224
|
}
|
|
225
|
+
.k-spinner-increase .k-icon {
|
|
226
|
+
bottom: -$kendo-input-spinner-icon-offset;
|
|
227
|
+
}
|
|
228
|
+
.k-spinner-decrease .k-icon {
|
|
229
|
+
top: -$kendo-input-spinner-icon-offset;
|
|
230
|
+
}
|
|
170
231
|
}
|
|
171
232
|
|
|
172
233
|
|
|
@@ -177,6 +238,79 @@
|
|
|
177
238
|
flex-flow: row nowrap;
|
|
178
239
|
}
|
|
179
240
|
|
|
241
|
+
|
|
242
|
+
// Legacy wrappers
|
|
243
|
+
.k-picker-wrap,
|
|
244
|
+
.k-dropdown-wrap,
|
|
245
|
+
.k-dateinput-wrap,
|
|
246
|
+
.k-multiselect-wrap,
|
|
247
|
+
.k-numeric-wrap {
|
|
248
|
+
width: 100%;
|
|
249
|
+
border-width: 0;
|
|
250
|
+
border-color: inherit;
|
|
251
|
+
box-sizing: border-box;
|
|
252
|
+
flex: 1 1 auto;
|
|
253
|
+
display: flex;
|
|
254
|
+
flex-flow: row nowrap;
|
|
255
|
+
overflow: hidden;
|
|
256
|
+
position: relative;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
// Fill mode
|
|
261
|
+
.k-input-flat,
|
|
262
|
+
.k-picker-flat {
|
|
263
|
+
@include border-radius( 0 !important ); // sass-lint:disable-line no-important
|
|
264
|
+
border-width: $kendo-input-border-width 0;
|
|
265
|
+
border-top-color: transparent !important; // sass-lint:disable-line no-important
|
|
266
|
+
background: none !important; // sass-lint:disable-line no-important
|
|
267
|
+
|
|
268
|
+
.k-input-inner {
|
|
269
|
+
padding-left: 0 !important; // sass-lint:disable-line no-important
|
|
270
|
+
padding-right: 0 !important; // sass-lint:disable-line no-important
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.k-input-outline,
|
|
275
|
+
.k-picker-outline {
|
|
276
|
+
background: none !important; // sass-lint:disable-line no-important
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
// Sizing
|
|
281
|
+
@each $size, $size-props in $kendo-input-sizes {
|
|
282
|
+
$_padding-x: map-get( $size-props, padding-x );
|
|
283
|
+
$_padding-y: map-get( $size-props, padding-y );
|
|
284
|
+
$_font-size: map-get( $size-props, font-size );
|
|
285
|
+
$_line-height: map-get( $size-props, line-height );
|
|
286
|
+
$_icon-size: map-get( $size-props, icon-size );
|
|
287
|
+
|
|
288
|
+
.k-input-#{$size},
|
|
289
|
+
.k-picker-#{$size} {
|
|
290
|
+
font-size: $_font-size;
|
|
291
|
+
line-height: $_line-height;
|
|
292
|
+
|
|
293
|
+
.k-input-inner {
|
|
294
|
+
padding: $_padding-y $_padding-x;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.k-input-icon,
|
|
298
|
+
.k-input-validation-icon,
|
|
299
|
+
.k-input-loading-icon,
|
|
300
|
+
.k-clear-value {
|
|
301
|
+
width: $_icon-size;
|
|
302
|
+
height: $_icon-size;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
&.k-icon-picker .k-input-inner {
|
|
306
|
+
width: calc( #{$_line-height * 1em} );
|
|
307
|
+
height: calc( #{$_line-height * 1em} );
|
|
308
|
+
padding: $_padding-y;
|
|
309
|
+
box-sizing: content-box;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
180
314
|
}
|
|
181
315
|
|
|
182
316
|
|
package/scss/input/_theme.scss
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@include exports( "input/theme" ) {
|
|
2
2
|
|
|
3
|
+
// Solid input
|
|
3
4
|
.k-input {
|
|
4
5
|
@include fill(
|
|
5
6
|
$kendo-input-text,
|
|
@@ -30,9 +31,14 @@
|
|
|
30
31
|
|
|
31
32
|
// Invalid
|
|
32
33
|
&:invalid,
|
|
33
|
-
&.k-invalid
|
|
34
|
+
&.k-invalid,
|
|
35
|
+
&.ng-invalid {
|
|
34
36
|
@include fill( $border: $invalid-border );
|
|
35
37
|
|
|
38
|
+
.k-input-validation-icon {
|
|
39
|
+
color: $invalid-text;
|
|
40
|
+
}
|
|
41
|
+
|
|
36
42
|
&:focus,
|
|
37
43
|
&.k-focus {
|
|
38
44
|
@include box-shadow($invalid-shadow);
|
|
@@ -74,9 +80,14 @@
|
|
|
74
80
|
|
|
75
81
|
// Invalid
|
|
76
82
|
&:invalid,
|
|
77
|
-
&.k-invalid
|
|
83
|
+
&.k-invalid,
|
|
84
|
+
&.ng-invalid {
|
|
78
85
|
@include fill( $border: $kendo-input-invalid-border );
|
|
79
86
|
|
|
87
|
+
.k-input-validation-icon {
|
|
88
|
+
color: $invalid-text;
|
|
89
|
+
}
|
|
90
|
+
|
|
80
91
|
&:focus,
|
|
81
92
|
&.k-focus {
|
|
82
93
|
@include box-shadow( $kendo-input-invalid-shadow );
|
|
@@ -1,38 +1,54 @@
|
|
|
1
1
|
// Input
|
|
2
|
+
$kendo-input-default-width: 100% !default;
|
|
2
3
|
|
|
3
4
|
$kendo-input-border-width: 1px !default;
|
|
4
5
|
$kendo-input-border-height: ( $kendo-input-border-width * 2 ) !default;
|
|
5
|
-
$kendo-input-border-radius:
|
|
6
|
-
$kendo-input-border-radius-sm: $border-radius !default;
|
|
7
|
-
$kendo-input-border-radius-lg: $border-radius !default;
|
|
6
|
+
$kendo-input-border-radius: null !default;
|
|
8
7
|
|
|
9
8
|
$kendo-input-padding-x: $padding-x !default;
|
|
10
9
|
$kendo-input-padding-y: $padding-y !default;
|
|
11
10
|
$kendo-input-font-family: $font-family !default;
|
|
12
11
|
$kendo-input-font-size: $font-size !default;
|
|
13
12
|
$kendo-input-line-height: $line-height !default;
|
|
14
|
-
$kendo-input-line-height-em: $kendo-input-line-height * 1em !default;
|
|
15
13
|
|
|
16
14
|
$kendo-input-padding-x-sm: ($kendo-input-padding-x / 2) !default;
|
|
17
15
|
$kendo-input-padding-y-sm: ($kendo-input-padding-y / 2) !default;
|
|
18
|
-
$kendo-input-font-size-sm: $
|
|
19
|
-
$kendo-input-line-height-sm: $line-height-
|
|
16
|
+
$kendo-input-font-size-sm: $font-size !default;
|
|
17
|
+
$kendo-input-line-height-sm: $line-height-md !default;
|
|
18
|
+
|
|
19
|
+
$kendo-input-padding-x-md: $kendo-input-padding-x !default;
|
|
20
|
+
$kendo-input-padding-y-md: $kendo-input-padding-y !default;
|
|
21
|
+
$kendo-input-font-size-md: $font-size !default;
|
|
22
|
+
$kendo-input-line-height-md: $line-height-md !default;
|
|
20
23
|
|
|
21
24
|
$kendo-input-padding-x-lg: ($kendo-input-padding-x * 1.5) !default;
|
|
22
25
|
$kendo-input-padding-y-lg: ($kendo-input-padding-y * 1.5) !default;
|
|
23
|
-
$kendo-input-font-size-lg: $
|
|
24
|
-
$kendo-input-line-height-lg: $line-height-
|
|
25
|
-
|
|
26
|
-
$kendo-input-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
26
|
+
$kendo-input-font-size-lg: $font-size !default;
|
|
27
|
+
$kendo-input-line-height-lg: $line-height-md !default;
|
|
28
|
+
|
|
29
|
+
$kendo-input-sizes: (
|
|
30
|
+
sm: (
|
|
31
|
+
padding-x: $kendo-input-padding-x-sm,
|
|
32
|
+
padding-y: $kendo-input-padding-y-sm,
|
|
33
|
+
font-size: $kendo-input-font-size-sm,
|
|
34
|
+
line-height: $kendo-input-line-height-sm,
|
|
35
|
+
icon-size: calc( #{$icon-size} + #{$kendo-input-padding-y-sm * 2} )
|
|
36
|
+
),
|
|
37
|
+
md: (
|
|
38
|
+
padding-x: $kendo-input-padding-x-md,
|
|
39
|
+
padding-y: $kendo-input-padding-y-md,
|
|
40
|
+
font-size: $kendo-input-font-size-md,
|
|
41
|
+
line-height: $kendo-input-line-height-md,
|
|
42
|
+
icon-size: calc( #{$icon-size} + #{$kendo-input-padding-y-md * 2} )
|
|
43
|
+
),
|
|
44
|
+
lg: (
|
|
45
|
+
padding-x: $kendo-input-padding-x-lg,
|
|
46
|
+
padding-y: $kendo-input-padding-y-lg,
|
|
47
|
+
font-size: $kendo-input-font-size-lg,
|
|
48
|
+
line-height: $kendo-input-line-height-lg,
|
|
49
|
+
icon-size: calc( #{$icon-size} + #{$kendo-input-padding-y-lg * 2} )
|
|
50
|
+
)
|
|
51
|
+
) !default;
|
|
36
52
|
|
|
37
53
|
$kendo-input-bg: $component-bg !default;
|
|
38
54
|
$kendo-input-text: $component-text !default;
|
|
@@ -52,38 +68,23 @@ $kendo-input-focus-shadow: 0 0 0 2px rgba( $kendo-input-focus-border, .08 ) !def
|
|
|
52
68
|
$kendo-input-placeholder-text: $subtle-text !default;
|
|
53
69
|
$kendo-input-placeholder-opacity: 1 !default;
|
|
54
70
|
|
|
55
|
-
$kendo-input-selected-bg:
|
|
56
|
-
$kendo-input-selected-text:
|
|
57
|
-
|
|
58
|
-
$kendo-input-clear-button-focused-background: $base-text !default;
|
|
59
|
-
$kendo-input-clear-button-focused-opacity: .2 !default;
|
|
60
|
-
|
|
71
|
+
$kendo-input-selected-bg: null !default;
|
|
72
|
+
$kendo-input-selected-text: null !default;
|
|
61
73
|
|
|
62
|
-
|
|
63
|
-
$
|
|
74
|
+
$kendo-input-clear-value-text: null !default;
|
|
75
|
+
$kendo-input-clear-value-opacity: .5 !default;
|
|
76
|
+
$kendo-input-clear-value-hover-text: null !default;
|
|
77
|
+
$kendo-input-clear-value-hover-opacity: 1 !default;
|
|
64
78
|
|
|
65
|
-
$
|
|
66
|
-
$
|
|
67
|
-
|
|
68
|
-
$picker-select-padding-x-sm: $kendo-input-padding-y-sm !default;
|
|
69
|
-
$picker-select-padding-y-sm: $kendo-input-padding-y-sm !default;
|
|
70
|
-
|
|
71
|
-
$picker-select-padding-x-lg: $kendo-input-padding-y-sm !default;
|
|
72
|
-
$picker-select-padding-y-lg: $kendo-input-padding-y-sm !default;
|
|
73
|
-
|
|
74
|
-
$picker-select-calc-size: $kendo-input-inner-calc-height !default;
|
|
75
|
-
$picker-select-calc-size-sm: $kendo-input-inner-calc-height-sm !default;
|
|
76
|
-
$picker-select-calc-size-lg: $kendo-input-inner-calc-height-lg !default;
|
|
79
|
+
$kendo-input-values-margin-y: map-get( $spacing, thin ) !default;
|
|
80
|
+
$kendo-input-values-margin-x: $kendo-input-values-margin-y !default;
|
|
77
81
|
|
|
78
82
|
|
|
79
83
|
// Input actions
|
|
80
84
|
$kendo-input-button-width: $kendo-button-inner-calc-size !default;
|
|
85
|
+
$kendo-input-button-border-width: 0px !default;
|
|
81
86
|
$kendo-input-spinner-width: $kendo-button-inner-calc-size !default;
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
// Input icon
|
|
85
|
-
$kendo-input-icon-width: calc( #{$icon-size} + #{$kendo-input-padding-y * 2} ) !default;
|
|
86
|
-
$kendo-input-icon-height: calc( #{$kendo-input-line-height * $kendo-input-font-size} + #{$kendo-input-padding-y * 2} ) !default;
|
|
87
|
+
$kendo-input-spinner-icon-offset: 2px !default;
|
|
87
88
|
|
|
88
89
|
|
|
89
90
|
// Input separator
|