@progress/kendo-theme-default 5.3.2-dev.2 → 5.4.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/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": "5.3.2-dev.2",
4
+ "version": "5.4.0",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -47,5 +47,5 @@
47
47
  "prepublishOnly": "node ../../scripts/themes-prepublish.js",
48
48
  "postpublish": "echo 'no postpublish for default theme'"
49
49
  },
50
- "gitHead": "be486e034baed68c866f3b61313899b350317d60"
50
+ "gitHead": "b22eb7cb9edd01d6088487b6f0c0178dd1eb3847"
51
51
  }
@@ -360,7 +360,7 @@ $placeholder-bg: rgba(0, 0, 0, .1) !default;
360
360
  // Validator
361
361
  $invalid-bg: null !default;
362
362
  $invalid-text: $error !default;
363
- $invalid-border: rgba( $error, .5 ) !default;
363
+ $invalid-border: $error !default;
364
364
  $invalid-shadow: null !default;
365
365
 
366
366
 
@@ -29,9 +29,11 @@
29
29
  color: $calendar-today-nav-text;
30
30
 
31
31
  &:hover,
32
+ &.k-hover,
32
33
  &.k-state-hover,
33
34
  &:focus,
34
- &.k-state-focus {
35
+ &.k-state-focus,
36
+ &.k-focus {
35
37
  color: $calendar-today-nav-hover-text;
36
38
  }
37
39
  }
@@ -52,7 +54,8 @@
52
54
  .k-link {
53
55
  box-shadow: inset 0 0 0 1px $calendar-today-color;
54
56
  }
55
- &.k-state-focused .k-link {
57
+ &.k-state-focused .k-link,
58
+ &.k-focus .k-link {
56
59
  box-shadow: inset 0 0 0 1px $calendar-today-color, $calendar-cell-focused-shadow;
57
60
  }
58
61
  } @else if $calendar-today-style == color {
@@ -87,7 +90,8 @@
87
90
 
88
91
  // Interactive states
89
92
  .k-calendar-td:hover .k-link,
90
- .k-calendar-td.k-state-hover .k-link {
93
+ .k-calendar-td.k-state-hover .k-link,
94
+ .k-calendar-td.k-hover .k-link {
91
95
  @include fill(
92
96
  $calendar-cell-hover-text,
93
97
  $calendar-cell-hover-bg,
@@ -95,7 +99,8 @@
95
99
  $calendar-cell-hover-gradient
96
100
  );
97
101
  }
98
- .k-calendar-td.k-state-selected .k-link {
102
+ .k-calendar-td.k-state-selected .k-link,
103
+ .k-calendar-td.k-selected .k-link {
99
104
  @include fill(
100
105
  $calendar-cell-selected-text,
101
106
  $calendar-cell-selected-bg,
@@ -104,7 +109,9 @@
104
109
  );
105
110
  }
106
111
  .k-calendar-td.k-state-selected:hover .k-link,
107
- .k-calendar-td.k-state-selected.k-state-hover .k-link {
112
+ .k-calendar-td.k-state-selected.k-state-hover .k-link,
113
+ .k-calendar-td.k-selected:hover .k-link,
114
+ .k-calendar-td.k-selected.k-hover .k-link {
108
115
  @include fill(
109
116
  $calendar-cell-selected-hover-text,
110
117
  $calendar-cell-selected-hover-bg,
@@ -113,11 +120,14 @@
113
120
  );
114
121
  }
115
122
  .k-calendar-td.k-state-focused .k-link,
116
- .k-calendar-td.k-state-focus .k-link {
123
+ .k-calendar-td.k-state-focus .k-link,
124
+ .k-calendar-td.k-focus .k-link {
117
125
  box-shadow: $calendar-cell-focused-shadow;
118
126
  }
119
127
  .k-calendar-td.k-state-selected.k-state-focused .k-link,
120
- .k-calendar-td.k-state-selected.k-state-focus .k-link {
128
+ .k-calendar-td.k-state-selected.k-state-focus .k-link,
129
+ .k-calendar-td.k-selected:focus .k-link,
130
+ .k-calendar-td.k-selected.k-focus .k-link {
121
131
  box-shadow: $calendar-cell-selected-focus-shadow;
122
132
  }
123
133
 
@@ -131,7 +141,8 @@
131
141
  box-shadow: inset -1px 0 $calendar-navigation-border;
132
142
 
133
143
  li:hover,
134
- li.k-state-hover {
144
+ li.k-state-hover,
145
+ li.k-hover {
135
146
  color: $calendar-today-nav-hover-text;
136
147
  }
137
148
  }
@@ -214,7 +225,8 @@
214
225
  }
215
226
 
216
227
  .k-range-start.k-state-active,
217
- .k-range-end.k-state-active {
228
+ .k-range-end.k-state-active,
229
+ .k-range-end.k-active {
218
230
  .k-link {
219
231
  box-shadow: inset 0 0 2px 2px rgba(0, 0, 0, .2);
220
232
  }
@@ -10,6 +10,7 @@
10
10
  @include box-shadow( $card-shadow );
11
11
 
12
12
  &:focus,
13
+ &.k-focus,
13
14
  &.k-state-focus {
14
15
  @include fill(
15
16
  $card-focus-text,
@@ -18,6 +19,11 @@
18
19
  );
19
20
  @include box-shadow( $card-focus-shadow );
20
21
  }
22
+
23
+ &.k-selected,
24
+ &.k-state-selected {
25
+ @include box-shadow( $card-focus-shadow );
26
+ }
21
27
  }
22
28
 
23
29
 
@@ -68,7 +74,10 @@
68
74
 
69
75
  .k-card-wrap {
70
76
  &.k-state-focused,
71
- &.k-state-selected {
77
+ &.k-focus,
78
+ &:focus,
79
+ &.k-state-selected,
80
+ &.k-selected {
72
81
  > .k-card {
73
82
  @include box-shadow( $card-focus-shadow );
74
83
  }
@@ -90,6 +99,7 @@
90
99
  .k-card-callout.k-callout-w { @include box-shadow( $card-callout-box-shadow-w ); }
91
100
 
92
101
  .k-card:focus .k-card-callout,
102
+ .k-card.k-focus .k-card-callout,
93
103
  .k-card.k-state-focus .k-card-callout {
94
104
  @include fill(
95
105
  $bg: $card-focus-bg,
@@ -1243,6 +1243,7 @@
1243
1243
  kendo-numeric-filter-menu,
1244
1244
  kendo-grid-string-filter-menu,
1245
1245
  kendo-grid-date-filter-menu,
1246
+ kendo-grid-numeric-filter-menu,
1246
1247
  kendo-grid-filter-menu-input-wrapper {
1247
1248
  display: flex;
1248
1249
  flex-flow: column nowrap;
@@ -341,19 +341,25 @@
341
341
  @include border-radius( 0 !important ); // sass-lint:disable-line no-important
342
342
  border-width: $kendo-input-border-width 0;
343
343
  border-top-color: transparent !important; // sass-lint:disable-line no-important
344
- background: none !important; // sass-lint:disable-line no-important
344
+ background-image: none !important; // sass-lint:disable-line no-important
345
345
 
346
- .k-input-inner {
347
- padding-left: 0 !important; // sass-lint:disable-line no-important
348
- padding-right: 0 !important; // sass-lint:disable-line no-important
346
+ &:focus,
347
+ &.k-focus {
348
+ @include border-radius( $kendo-input-flat-border-radius !important ); // sass-lint:disable-line no-important
349
+ }
350
+ &:focus-within {
351
+ @include border-radius( $kendo-input-flat-border-radius !important ); // sass-lint:disable-line no-important
349
352
  }
350
353
  }
351
354
 
352
- .k-input-outline,
353
- .k-picker-outline {
355
+ .k-input-outline {
354
356
  background: none !important; // sass-lint:disable-line no-important
355
357
  }
356
358
 
359
+ .k-picker.k-picker-flat {
360
+ @include border-radius( $kendo-input-flat-border-radius !important ); // sass-lint:disable-line no-important
361
+ }
362
+
357
363
 
358
364
  // Sizing
359
365
  @each $size, $size-props in $kendo-input-sizes {
@@ -148,4 +148,216 @@
148
148
  }
149
149
  }
150
150
 
151
+ // Outline
152
+ .k-input-outline {
153
+ @include fill (
154
+ $kendo-input-outline-text,
155
+ $kendo-input-outline-bg,
156
+ $kendo-input-outline-border
157
+ );
158
+
159
+ & > .k-input-button {
160
+ border-color: inherit;
161
+ }
162
+
163
+ & > .k-input-spinner {
164
+ border-color: inherit;
165
+
166
+ & > .k-spinner-increase,
167
+ & > .k-spinner-decrease {
168
+ border-color: inherit;
169
+ }
170
+ }
171
+
172
+ &:hover,
173
+ &.k-hover {
174
+ @include fill (
175
+ $kendo-input-outline-hover-text,
176
+ $kendo-input-outline-hover-bg,
177
+ $kendo-input-outline-hover-border
178
+ );
179
+ }
180
+
181
+ &:focus,
182
+ &.k-focus {
183
+ @include fill (
184
+ $kendo-input-outline-focus-text,
185
+ $kendo-input-outline-focus-bg,
186
+ $kendo-input-outline-focus-border
187
+ );
188
+ @include box-shadow ( $kendo-input-outline-focus-shadow );
189
+ }
190
+
191
+ // Invalid
192
+ &.k-invalid,
193
+ &.ng-invalid.ng-touched,
194
+ &.ng-invalid.ng-dirty {
195
+ @include fill( $border: $invalid-border );
196
+
197
+ .k-input-validation-icon {
198
+ color: $invalid-text;
199
+ }
200
+
201
+ &:focus,
202
+ &.k-focus {
203
+ @include box-shadow($invalid-shadow);
204
+ }
205
+ &:focus-within {
206
+ @include box-shadow($invalid-shadow);
207
+ }
208
+ }
209
+
210
+ }
211
+
212
+ .k-picker-outline {
213
+ @include fill (
214
+ $kendo-picker-outline-text,
215
+ $kendo-picker-outline-bg,
216
+ $kendo-picker-outline-border
217
+ );
218
+
219
+ &:hover,
220
+ &.k-hover {
221
+ @include fill (
222
+ $kendo-picker-outline-hover-text,
223
+ $kendo-picker-outline-hover-bg,
224
+ $kendo-picker-outline-hover-border
225
+ );
226
+ }
227
+
228
+ &:focus,
229
+ &.k-focus {
230
+ @include fill (
231
+ $kendo-picker-outline-focus-text,
232
+ $kendo-picker-outline-focus-bg,
233
+ $kendo-picker-outline-focus-border
234
+ );
235
+ @include box-shadow ( $kendo-picker-outline-focus-shadow );
236
+ }
237
+
238
+ &:focus:hover,
239
+ &:focus.k-hover,
240
+ &.k-focus:hover,
241
+ &.k-focus.k-hover {
242
+ @include fill (
243
+ $kendo-picker-outline-hover-focus-text,
244
+ $kendo-picker-outline-hover-focus-bg,
245
+ $kendo-picker-outline-hover-focus-border
246
+ );
247
+ }
248
+
249
+ // Invalid
250
+ &.k-invalid,
251
+ &.ng-invalid.ng-touched,
252
+ &.ng-invalid.ng-dirty {
253
+ @include fill( $border: $invalid-border );
254
+
255
+ .k-input-validation-icon {
256
+ color: $invalid-text;
257
+ }
258
+
259
+ &:focus,
260
+ &.k-focus {
261
+ @include box-shadow($invalid-shadow);
262
+ }
263
+ &:focus-within {
264
+ @include box-shadow($invalid-shadow);
265
+ }
266
+ }
267
+ }
268
+
269
+ // Flat
270
+ .k-input-flat {
271
+ @include fill (
272
+ $kendo-input-flat-text,
273
+ $kendo-input-flat-bg,
274
+ $kendo-input-flat-border
275
+ );
276
+
277
+ &:focus,
278
+ &.k-focus {
279
+ @include fill (
280
+ $kendo-input-flat-focus-text,
281
+ $kendo-input-flat-focus-bg,
282
+ $kendo-input-flat-focus-border
283
+ );
284
+ }
285
+
286
+ // Invalid
287
+ &.k-invalid,
288
+ &.ng-invalid.ng-touched,
289
+ &.ng-invalid.ng-dirty {
290
+ @include fill( $border: $kendo-input-invalid-border );
291
+
292
+ .k-input-validation-icon {
293
+ color: $invalid-text;
294
+ }
295
+
296
+ &:focus,
297
+ &.k-focus {
298
+ @include box-shadow( $kendo-input-invalid-shadow );
299
+ }
300
+ &:focus-within {
301
+ @include box-shadow( $kendo-input-invalid-shadow );
302
+ }
303
+ }
304
+ }
305
+
306
+ .k-picker-flat {
307
+ @include fill (
308
+ $kendo-picker-flat-text,
309
+ $kendo-picker-flat-bg,
310
+ $kendo-picker-flat-border
311
+ );
312
+
313
+ &:hover,
314
+ &.k-hover {
315
+ @include fill (
316
+ $kendo-picker-flat-hover-text,
317
+ $kendo-picker-flat-hover-bg,
318
+ $kendo-picker-flat-hover-border
319
+ );
320
+ }
321
+
322
+ &:focus,
323
+ &.k-focus {
324
+ @include fill (
325
+ $kendo-picker-flat-focus-text,
326
+ $kendo-picker-flat-focus-bg,
327
+ $kendo-picker-flat-focus-border
328
+ );
329
+ @include box-shadow( $kendo-picker-flat-focus-shadow );
330
+ }
331
+
332
+ &:focus:hover,
333
+ &:focus.k-hover,
334
+ &.k-focus:hover,
335
+ &.k-focus.k-hover {
336
+ @include fill (
337
+ $kendo-picker-flat-hover-focus-text,
338
+ $kendo-picker-flat-hover-focus-bg,
339
+ $kendo-picker-flat-hover-focus-border
340
+ );
341
+ }
342
+
343
+ // Invalid
344
+ &.k-invalid,
345
+ &.ng-invalid.ng-touched,
346
+ &.ng-invalid.ng-dirty {
347
+ @include fill( $border: $kendo-input-invalid-border );
348
+
349
+ .k-input-validation-icon {
350
+ color: $invalid-text;
351
+ }
352
+
353
+ &:focus,
354
+ &.k-focus {
355
+ @include box-shadow( $kendo-input-invalid-shadow );
356
+ }
357
+ &:focus-within {
358
+ @include box-shadow( $kendo-input-invalid-shadow );
359
+ }
360
+ }
361
+ }
362
+
151
363
  }
@@ -77,6 +77,29 @@ $kendo-input-disabled-border: null !default;
77
77
  $kendo-input-disabled-gradient: null !default;
78
78
  $kendo-input-disabled-shadow: null !default;
79
79
 
80
+ $kendo-input-outline-bg: null !default;
81
+ $kendo-input-outline-text: null !default;
82
+ $kendo-input-outline-border: rgba( $kendo-button-text, .5) !default;
83
+
84
+ $kendo-input-outline-hover-bg: null !default;
85
+ $kendo-input-outline-hover-text: null !default;
86
+ $kendo-input-outline-hover-border: rgba( $kendo-button-text, .8) !default;
87
+
88
+ $kendo-input-outline-focus-bg: null !default;
89
+ $kendo-input-outline-focus-text: null !default;
90
+ $kendo-input-outline-focus-border: $kendo-input-outline-border !default;
91
+ $kendo-input-outline-focus-shadow: $kendo-input-focus-shadow !default;
92
+
93
+ $kendo-input-flat-bg: transparent !default;
94
+ $kendo-input-flat-text: $kendo-input-text !default;
95
+ $kendo-input-flat-border: $kendo-input-border !default;
96
+
97
+ $kendo-input-flat-focus-bg: null !default;
98
+ $kendo-input-flat-focus-text: null !default;
99
+ $kendo-input-flat-focus-border: null !default;
100
+
101
+ $kendo-input-flat-border-radius: $kendo-border-radius $kendo-border-radius 0px 0px !default;
102
+
80
103
  $kendo-picker-bg: $kendo-button-bg !default;
81
104
  $kendo-picker-text: $kendo-button-text !default;
82
105
  $kendo-picker-border: $kendo-button-border !default;
@@ -101,6 +124,40 @@ $kendo-picker-disabled-border: null !default;
101
124
  $kendo-picker-disabled-gradient: null !default;
102
125
  $kendo-picker-disabled-shadow: null !default;
103
126
 
127
+ $kendo-picker-outline-bg: transparent !default;
128
+ $kendo-picker-outline-text: null !default;
129
+ $kendo-picker-outline-border: $kendo-button-text !default;
130
+
131
+ $kendo-picker-outline-hover-bg: $kendo-button-text !default;
132
+ $kendo-picker-outline-hover-text: $body-bg !default;
133
+ $kendo-picker-outline-hover-border: null !default;
134
+
135
+ $kendo-picker-outline-focus-bg: transparent !default;
136
+ $kendo-picker-outline-focus-text: $kendo-picker-outline-text !default;
137
+ $kendo-picker-outline-focus-border: $kendo-picker-outline-border !default;
138
+ $kendo-picker-outline-focus-shadow: $kendo-picker-focus-shadow !default;
139
+
140
+ $kendo-picker-outline-hover-focus-bg: $kendo-picker-outline-hover-bg !default;
141
+ $kendo-picker-outline-hover-focus-text: $kendo-picker-outline-hover-text !default;
142
+ $kendo-picker-outline-hover-focus-border: $kendo-picker-outline-hover-border !default;
143
+
144
+ $kendo-picker-flat-bg: transparent !default;
145
+ $kendo-picker-flat-text: $kendo-button-text !default;
146
+ $kendo-picker-flat-border: $kendo-button-border !default;
147
+
148
+ $kendo-picker-flat-hover-bg: rgba( $kendo-button-text, .04 ) !default;
149
+ $kendo-picker-flat-hover-text: null !default;
150
+ $kendo-picker-flat-hover-border: rgba( $kendo-button-border, .16 ) !default;
151
+
152
+ $kendo-picker-flat-focus-bg: null !default;
153
+ $kendo-picker-flat-focus-text: null !default;
154
+ $kendo-picker-flat-focus-border: null !default;
155
+ $kendo-picker-flat-focus-shadow: null !default;
156
+
157
+ $kendo-picker-flat-hover-focus-bg: null !default;
158
+ $kendo-picker-flat-hover-focus-text: null !default;
159
+ $kendo-picker-flat-hover-focus-border: null !default;
160
+
104
161
  $kendo-input-placeholder-text: $subtle-text !default;
105
162
  $kendo-input-placeholder-opacity: 1 !default;
106
163
 
@@ -118,7 +175,7 @@ $kendo-input-values-margin-x: $kendo-input-values-margin-y !default;
118
175
 
119
176
  // Input actions
120
177
  $kendo-input-button-width: $kendo-button-inner-calc-size !default;
121
- $kendo-input-button-border-width: 0px !default;
178
+ $kendo-input-button-border-width: 1px !default;
122
179
  $kendo-input-spinner-width: $kendo-button-inner-calc-size !default;
123
180
  $kendo-input-spinner-icon-offset: null !default;
124
181
 
@@ -18,6 +18,7 @@
18
18
  }
19
19
 
20
20
  &:focus,
21
+ &.k-focus,
21
22
  &.k-state-focus {
22
23
  @include box-shadow( $orgchart-card-focus-shadow );
23
24
  }
@@ -32,6 +33,7 @@
32
33
  );
33
34
  }
34
35
  .k-orgchart-node-group-container:focus,
36
+ .k-orgchart-node-group-container.k-focus,
35
37
  .k-orgchart-node-group-container.k-state-focus,
36
38
  .k-orgchart-node-group-container.k-state-focused {
37
39
  @include box-shadow( $orgchart-node-group-focus-shadow );
@@ -28,7 +28,7 @@
28
28
  > .k-panelbar-header {
29
29
  // TODO
30
30
  border-width: 0;
31
- border-style: solid;
31
+ border-style: $panelbar-item-border-style;
32
32
  border-color: inherit;
33
33
  display: block;
34
34
 
@@ -51,7 +51,7 @@
51
51
  }
52
52
  > .k-item + .k-item,
53
53
  > .k-panelbar-header + .k-panelbar-header {
54
- border-top-width: 1px;
54
+ border-top-width: $panelbar-item-border-width;
55
55
  }
56
56
 
57
57
 
@@ -5,6 +5,8 @@ $panelbar-font-family: $font-family !default;
5
5
  $panelbar-font-size: $font-size !default;
6
6
  $panelbar-line-height: $line-height !default;
7
7
  $panelbar-border-width: 1px !default;
8
+ $panelbar-item-border-width: 1px !default;
9
+ $panelbar-item-border-style: solid !default;
8
10
 
9
11
  $panelbar-header-padding-x: map-get( $spacing, 4 ) !default;
10
12
  $panelbar-header-padding-y: map-get( $spacing, 3 ) !default;
@@ -181,8 +181,10 @@
181
181
  overflow-wrap: anywhere;
182
182
 
183
183
  &:focus,
184
+ &.k-focus,
184
185
  &.k-state-focus,
185
186
  &:hover,
187
+ &.k-hover,
186
188
  &.k-state-hover {
187
189
  text-decoration: underline;
188
190
  }
@@ -66,32 +66,38 @@
66
66
  @include fill( $color: $taskboard-card-header-text );
67
67
 
68
68
  &:focus,
69
+ &.k-focus,
69
70
  &.k-state-focus {
70
71
  @include fill( $color: $taskboard-card-header-focus-text );
71
72
  }
72
73
 
73
74
  &:hover,
75
+ &.k-hover,
74
76
  &.k-state-hover {
75
77
  @include fill( $color: $taskboard-card-header-hover-text );
76
78
  }
77
79
  }
78
80
 
79
81
  &:focus,
82
+ &.k-focus,
80
83
  &.k-state-focus {
81
84
  @include fill( $border: $taskboard-card-focus-border );
82
85
  @include box-shadow( $taskboard-card-focus-shadow );
83
86
  }
84
87
 
85
88
  &:hover,
89
+ &.k-hover,
86
90
  &.k-state-hover {
87
91
  @include fill( $border: $taskboard-card-hover-border );
88
92
  }
89
93
 
94
+ &.k-selected,
90
95
  &.k-state-selected {
91
96
  @include fill( $border: $taskboard-card-selected-border );
92
97
  @include box-shadow( $taskboard-card-selected-shadow );
93
98
  }
94
99
 
100
+ &.k-disabled,
95
101
  &.k-state-disabled {
96
102
  @include disabled( $disabled-styling );
97
103
  }
@@ -7,6 +7,7 @@
7
7
  }
8
8
 
9
9
  .k-tilelayout-item:focus,
10
+ .k-tilelayout-item.k-focus,
10
11
  .k-tilelayout-item.k-state-focus,
11
12
  .k-tilelayout-item.k-state-focused {
12
13
  @include box-shadow($tilelayout-card-focus-shadow);