@progress/kendo-theme-default 5.8.2-dev.5 → 5.9.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.
Files changed (35) hide show
  1. package/dist/all.css +261 -73
  2. package/dist/all.scss +370 -88
  3. package/lib/swatches/default-blue.json +1 -1
  4. package/lib/swatches/default-dataviz-v4.json +1 -1
  5. package/lib/swatches/default-green.json +1 -1
  6. package/lib/swatches/default-main-dark.json +1 -1
  7. package/lib/swatches/default-main.json +1 -1
  8. package/lib/swatches/default-nordic.json +1 -1
  9. package/lib/swatches/default-ocean-blue.json +1 -1
  10. package/lib/swatches/default-orange.json +1 -1
  11. package/lib/swatches/default-purple.json +1 -1
  12. package/lib/swatches/default-turquoise.json +1 -1
  13. package/lib/swatches/default-urban.json +1 -1
  14. package/package.json +2 -2
  15. package/scss/action-sheet/_layout.scss +162 -28
  16. package/scss/action-sheet/_theme.scss +27 -18
  17. package/scss/action-sheet/_variables.scss +31 -12
  18. package/scss/calendar/_layout.scss +6 -19
  19. package/scss/coloreditor/_layout.scss +6 -0
  20. package/scss/coloreditor/_theme.scss +6 -0
  21. package/scss/coloreditor/_variables.scss +4 -0
  22. package/scss/colorgradient/_layout.scss +1 -1
  23. package/scss/editor/_layout.scss +23 -1
  24. package/scss/icons/_layout.scss +22 -0
  25. package/scss/icons/font/WebComponentsIcons.scss +1 -1
  26. package/scss/icons/font/WebComponentsIcons.ttf +0 -0
  27. package/scss/index.scss +1 -0
  28. package/scss/list/_layout.scss +12 -1
  29. package/scss/signature/_layout.scss +1 -0
  30. package/scss/timedurationpicker/_index.scss +16 -0
  31. package/scss/timedurationpicker/_layout.scss +1 -0
  32. package/scss/timedurationpicker/_theme.scss +5 -0
  33. package/scss/timedurationpicker/_variables.scss +1 -0
  34. package/scss/timeselector/_layout.scss +20 -5
  35. package/scss/timeselector/_variables.scss +2 -2
@@ -3,7 +3,7 @@
3
3
  "name": "Default Blue",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-default",
6
- "version": "5.8.2-dev.5",
6
+ "version": "5.9.0",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#f5f5f5",
@@ -3,7 +3,7 @@
3
3
  "name": "Default Dataviz v4",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-default",
6
- "version": "5.8.2-dev.5",
6
+ "version": "5.9.0",
7
7
  "previewColors": [
8
8
  "#ff6358",
9
9
  "#ffd246",
@@ -3,7 +3,7 @@
3
3
  "name": "Default Green",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-default",
6
- "version": "5.8.2-dev.5",
6
+ "version": "5.9.0",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#f5f5f5",
@@ -3,7 +3,7 @@
3
3
  "name": "Default Main Dark",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-default",
6
- "version": "5.8.2-dev.5",
6
+ "version": "5.9.0",
7
7
  "previewColors": [
8
8
  "#000000",
9
9
  "#151515",
@@ -3,7 +3,7 @@
3
3
  "name": "Default Main",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-default",
6
- "version": "5.8.2-dev.5",
6
+ "version": "5.9.0",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#f5f5f5",
@@ -3,7 +3,7 @@
3
3
  "name": "Default Nordic",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-default",
6
- "version": "5.8.2-dev.5",
6
+ "version": "5.9.0",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#50686e",
@@ -3,7 +3,7 @@
3
3
  "name": "Default Ocean Blue",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-default",
6
- "version": "5.8.2-dev.5",
6
+ "version": "5.9.0",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#f5f5f5",
@@ -3,7 +3,7 @@
3
3
  "name": "Default Orange",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-default",
6
- "version": "5.8.2-dev.5",
6
+ "version": "5.9.0",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#f5f5f5",
@@ -3,7 +3,7 @@
3
3
  "name": "Default Purple",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-default",
6
- "version": "5.8.2-dev.5",
6
+ "version": "5.9.0",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#f5f5f5",
@@ -3,7 +3,7 @@
3
3
  "name": "Default Turquoise",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-default",
6
- "version": "5.8.2-dev.5",
6
+ "version": "5.9.0",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#f5f5f5",
@@ -3,7 +3,7 @@
3
3
  "name": "Default Urban",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-default",
6
- "version": "5.8.2-dev.5",
6
+ "version": "5.9.0",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#e3eef4",
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.8.2-dev.5",
4
+ "version": "5.9.0",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -44,5 +44,5 @@
44
44
  "devDependencies": {
45
45
  "sass-build": "^1.0.0"
46
46
  },
47
- "gitHead": "071af936605691a801eaa4de3b8714e6223670f4"
47
+ "gitHead": "ac592f3dc96e799eb8a5da3513542a68a7984458"
48
48
  }
@@ -1,21 +1,67 @@
1
1
  @include exports("action-sheet/layout") {
2
2
 
3
+ // Action sheet container
3
4
  .k-actionsheet-container {
4
- width: 100vw;
5
- height: 100vh;
5
+ width: 100%;
6
+ height: 100%;
7
+ max-width: unquote("max(100%, 100vw)");
8
+ max-height: unquote("max(100%, 100vh)");
6
9
  position: fixed;
7
10
  top: 0;
8
11
  left: 0;
9
12
  z-index: 9999;
10
13
  overflow: hidden;
14
+ transform: translateZ(0);
11
15
  }
12
16
 
17
+
18
+ // Animation container
19
+ .k-actionsheet-container {
20
+
21
+ // Overlay
22
+ > .k-overlay {
23
+ position: absolute;
24
+ z-index: 1;
25
+ }
26
+
27
+ // Nested animation container
28
+ > .k-animation-container {
29
+ width: 100%;
30
+ height: 100%;
31
+ border-radius: 0;
32
+ overflow: hidden;
33
+ position: absolute;
34
+ z-index: 2;
35
+ top: 0;
36
+ left: 0;
37
+ pointer-events: none;
38
+
39
+ > .k-child-animation-container {
40
+ position: absolute;
41
+ }
42
+ }
43
+
44
+ // No animation container
45
+ > .k-actionsheet {
46
+ position: absolute;
47
+ z-index: 2;
48
+ }
49
+
50
+ // Enable mouse events for action sheet
51
+ .k-actionsheet {
52
+ pointer-events: all;
53
+ }
54
+ }
55
+
56
+
13
57
  // Actionsheet
14
58
  .k-actionsheet {
15
- padding: $actionsheet-padding-y $actionsheet-padding-y;
16
- width: $actionsheet-width;
17
- max-width: $actionsheet-max-width;
18
- max-height: $actionsheet-max-height;
59
+ padding-block: $actionsheet-padding-y;
60
+ padding-inline: $actionsheet-padding-y;
61
+ width: var( --kendo-actionsheet-width, #{$actionsheet-width} );
62
+ height: var( --kendo-actionsheet-height, #{$actionsheet-height} );
63
+ max-width: var( --kendo-actionsheet-max-width, #{$actionsheet-max-width} );
64
+ max-height: var( --kendo-actionsheet-max-height, #{$actionsheet-max-height} );
19
65
  border-width: 0;
20
66
  border-style: solid;
21
67
  border-color: transparent;
@@ -23,10 +69,8 @@
23
69
  font-size: $actionsheet-font-size;
24
70
  font-family: $actionsheet-font-family;
25
71
  line-height: $actionsheet-line-height;
26
- overflow-x: hidden;
27
- overflow-y: auto;
28
- position: fixed;
29
- z-index: 10002;
72
+ overflow: hidden;
73
+ position: relative;
30
74
 
31
75
  *,
32
76
  *::before,
@@ -34,37 +78,37 @@
34
78
  box-sizing: border-box;
35
79
  }
36
80
  }
37
- .k-actionsheet-fullscreen {
38
- max-height: 100%;
39
- height: 100%;
40
- }
41
81
 
42
82
 
43
- // Actionsheet header
44
- .k-actionsheet-header {
45
- padding: $actionsheet-header-padding-y $actionsheet-header-padding-x;
83
+ // Actionsheet titlebar
84
+ .k-actionsheet-titlebar {
85
+ padding: $actionsheet-titlebar-padding-y $actionsheet-titlebar-padding-x;
46
86
  border-width: 0;
47
- border-bottom-width: if( $actionsheet-header-border-width, $actionsheet-header-border-width, null );
87
+ border-bottom-width: if( $actionsheet-titlebar-border-width, $actionsheet-titlebar-border-width, null );
48
88
  border-style: solid;
49
89
  border-color: transparent;
50
- box-sizing: border-box;
51
- font-size: $actionsheet-header-font-size;
52
- font-family: $actionsheet-header-font-family;
53
- line-height: $actionsheet-header-line-height;
90
+ font-size: $actionsheet-titlebar-font-size;
91
+ font-family: $actionsheet-titlebar-font-family;
92
+ line-height: $actionsheet-titlebar-line-height;
54
93
  flex: none;
94
+ display: flex;
95
+ flex-flow: column nowrap;
96
+ align-items: center;
97
+ gap: $actionsheet-titlebar-gap;
55
98
  }
56
-
57
-
58
- // Actionsheet titlebar
59
- .k-actionsheet-titlebar {
60
- @extend .k-actionsheet-header !optional;
99
+ .k-actionsheet-titlebar-group {
61
100
  display: flex;
62
101
  flex-flow: row nowrap;
63
102
  align-items: center;
103
+ width: 100%;
64
104
  }
65
105
  .k-actionsheet-title {
66
106
  flex: 1;
67
107
  }
108
+ .k-actionsheet-subtitle {
109
+ font-size: $actionsheet-subtitle-font-size;
110
+ line-height: $actionsheet-subtitle-line-height;
111
+ }
68
112
  .k-actionsheet-actions {
69
113
  flex: none;
70
114
  }
@@ -74,6 +118,7 @@
74
118
  .k-actionsheet-content {
75
119
  flex: 1;
76
120
  overflow: auto;
121
+ position: relative;
77
122
  }
78
123
 
79
124
 
@@ -88,6 +133,7 @@
88
133
  margin: 0;
89
134
  padding: 0;
90
135
  list-style: none;
136
+ flex: none;
91
137
  }
92
138
 
93
139
 
@@ -106,7 +152,7 @@
106
152
  outline: 0;
107
153
  display: flex;
108
154
  flex-flow: row nowrap;
109
- align-items: center;
155
+ align-items: flex-start;
110
156
  gap: $actionsheet-item-spacing;
111
157
  }
112
158
  .k-actionsheet-item-icon {
@@ -129,6 +175,7 @@
129
175
  .k-actionsheet > .k-hr {
130
176
  margin: 0;
131
177
  border-color: inherit;
178
+ flex: none;
132
179
  }
133
180
 
134
181
 
@@ -165,6 +212,12 @@
165
212
  top: 50%;
166
213
  transform: translateY( -50% );
167
214
  }
215
+ .k-actionsheet-fullscreen {
216
+ width: 100%;
217
+ max-width: 100%;
218
+ max-height: 100%;
219
+ height: 100%;
220
+ }
168
221
 
169
222
 
170
223
  // Action sheet in popup
@@ -186,6 +239,28 @@
186
239
  display: flex;
187
240
  flex-flow: column nowrap;
188
241
 
242
+ .k-actionsheet-titlebar {
243
+ padding: $adaptive-actionsheet-titlebar-padding-y $adaptive-actionsheet-titlebar-padding-x;
244
+ border-bottom-width: $adaptive-actionsheet-titlebar-border-width;
245
+ }
246
+
247
+ .k-actionsheet-content {
248
+ padding: $adaptive-actionsheet-content-padding-y $adaptive-actionsheet-content-padding-x;
249
+ }
250
+
251
+ .k-actionsheet-footer {
252
+ padding: $adaptive-actionsheet-footer-padding-y $adaptive-actionsheet-footer-padding-x;
253
+ }
254
+
255
+ .k-list-container,
256
+ .k-treeview {
257
+ height: 100%;
258
+ }
259
+ .k-list-filter {
260
+ width: 100%;
261
+ padding-inline: 0;
262
+ }
263
+
189
264
  .k-calendar {
190
265
  margin-inline: auto;
191
266
  border-width: 0;
@@ -205,6 +280,65 @@
205
280
  height: 100%;
206
281
  }
207
282
  }
283
+
284
+ .k-datetime-wrap {
285
+ width: 100%;
286
+ height: 100%;
287
+ display: flex;
288
+ flex-flow: column nowrap;
289
+ }
290
+ .k-datetime-selector {
291
+ flex: 1 1 auto;
292
+ }
293
+
294
+ .k-datetime-calendar-wrap {
295
+ width: 100%;
296
+ position: absolute;
297
+ top: 0;
298
+ left: 0;
299
+ bottom: 0;
300
+ flex: 0 0 100%;
301
+ }
302
+
303
+ .k-datetime-time-wrap {
304
+ width: 100%;
305
+ position: absolute;
306
+ top: 0;
307
+ left: 100%;
308
+ bottom: 0;
309
+ flex: 0 0 100%;
310
+ }
311
+
312
+ .k-scrollable-wrap {
313
+ height: 100%;
314
+ overflow-y: auto;
315
+ }
316
+
317
+ .k-data-table {
318
+ max-height: 100%;
319
+ overflow: hidden;
320
+ display: flex;
321
+ flex-flow: column nowrap;
322
+ }
323
+ }
324
+
325
+ }
326
+
327
+ @include exports("action-sheet/layout/legacy") {
328
+
329
+ .k-actionsheet-jq {
330
+ &.k-actionsheet {
331
+ height: auto;
332
+ }
333
+
334
+ .k-actionsheet-header {
335
+ @extend .k-actionsheet-titlebar !optional;
336
+ align-items: flex-start;
337
+ }
338
+
339
+ .k-actionsheet-action {
340
+ align-items: center;
341
+ }
208
342
  }
209
343
 
210
344
  }
@@ -12,14 +12,17 @@
12
12
 
13
13
 
14
14
  // Actionsheet header
15
- .k-actionsheet-header {
15
+ .k-actionsheet-titlebar {
16
16
  @include fill(
17
- $actionsheet-header-text,
18
- $actionsheet-header-bg,
19
- $actionsheet-header-border,
20
- $actionsheet-header-gradient
17
+ $actionsheet-titlebar-text,
18
+ $actionsheet-titlebar-bg,
19
+ $actionsheet-titlebar-border,
20
+ $actionsheet-titlebar-gradient
21
21
  );
22
- @include box-shadow( $actionsheet-header-shadow );
22
+ @include box-shadow( $actionsheet-titlebar-shadow );
23
+ }
24
+ .k-actionsheet-subtitle {
25
+ @include fill( $color: $actionsheet-subtitle-text );
23
26
  }
24
27
 
25
28
 
@@ -28,17 +31,7 @@
28
31
 
29
32
 
30
33
  // Actionsheet item
31
- .k-actionsheet-item {}
32
-
33
-
34
- // Actionsheet item description
35
- .k-actionsheet-item-description {
36
- @include fill( $color: $actionsheet-item-description-text );
37
- }
38
-
39
-
40
- // Actionsheet action
41
- .k-actionsheet-action {
34
+ .k-actionsheet-item {
42
35
 
43
36
 
44
37
  // Hover state
@@ -67,7 +60,7 @@
67
60
  }
68
61
 
69
62
 
70
- // Disabed state
63
+ // Disabled state
71
64
  &:disabled,
72
65
  &.k-disabled {
73
66
  @include fill(
@@ -80,4 +73,20 @@
80
73
  }
81
74
  }
82
75
 
76
+
77
+ // Actionsheet item description
78
+ .k-actionsheet-item-description {
79
+ @include fill( $color: $actionsheet-item-description-text );
80
+ }
81
+
82
+
83
+ // Actionsheet action
84
+ .k-actionsheet-action {}
85
+
86
+
87
+ // Adaptive Actionsheet
88
+ .k-adaptive-actionsheet .k-actionsheet-titlebar {
89
+ @include fill( $border: $adaptive-actionsheet-titlebar-border );
90
+ }
91
+
83
92
  }
@@ -3,7 +3,8 @@ $actionsheet-padding-x: null !default;
3
3
  $actionsheet-padding-y: null !default;
4
4
  $actionsheet-width: 360px !default;
5
5
  $actionsheet-max-width: 100% !default;
6
- $actionsheet-max-height: 50vh !default;
6
+ $actionsheet-height: 60vh !default;
7
+ $actionsheet-max-height: 60vh !default;
7
8
 
8
9
  $actionsheet-border-width: 0px !default;
9
10
  $actionsheet-border-radius: 0px !default;
@@ -19,18 +20,23 @@ $actionsheet-shadow: 0 8px 10px -5px rgba(0, 0, 0, .2), 0 16px 24px 2px rgba(0,
19
20
 
20
21
 
21
22
  // Actionsheet header
22
- $actionsheet-header-padding-x: map-get( $spacing, 4 ) !default;
23
- $actionsheet-header-padding-y: map-get( $spacing, 2 ) !default;
24
- $actionsheet-header-border-width: null !default;
25
- $actionsheet-header-font-size: null !default;
26
- $actionsheet-header-font-family: null !default;
27
- $actionsheet-header-line-height: null !default;
23
+ $actionsheet-titlebar-padding-x: map-get( $spacing, 4 ) !default;
24
+ $actionsheet-titlebar-padding-y: map-get( $spacing, 2 ) !default;
25
+ $actionsheet-titlebar-border-width: null !default;
26
+ $actionsheet-titlebar-font-size: null !default;
27
+ $actionsheet-titlebar-font-family: null !default;
28
+ $actionsheet-titlebar-line-height: null !default;
29
+ $actionsheet-titlebar-gap: map-get( $spacing, 4 ) !default;
28
30
 
29
- $actionsheet-header-bg: null !default;
30
- $actionsheet-header-text: null !default;
31
- $actionsheet-header-border: null !default;
32
- $actionsheet-header-gradient: null !default;
33
- $actionsheet-header-shadow: null !default;
31
+ $actionsheet-titlebar-bg: null !default;
32
+ $actionsheet-titlebar-text: null !default;
33
+ $actionsheet-titlebar-border: null !default;
34
+ $actionsheet-titlebar-gradient: null !default;
35
+ $actionsheet-titlebar-shadow: null !default;
36
+
37
+ $actionsheet-subtitle-font-size: $font-size-sm !default;
38
+ $actionsheet-subtitle-line-height: $line-height-sm !default;
39
+ $actionsheet-subtitle-text: $subtle-text !default;
34
40
 
35
41
 
36
42
  // Actionsheet item
@@ -65,3 +71,16 @@ $actionsheet-item-disabled-text: null !default;
65
71
  $actionsheet-item-disabled-border: null !default;
66
72
  $actionsheet-item-disabled-gradient: null !default;
67
73
  $actionsheet-item-disabled-shadow: null !default;
74
+
75
+
76
+ // Adaptive Actionsheet
77
+ $adaptive-actionsheet-titlebar-border-width: 1px !default;
78
+ $adaptive-actionsheet-titlebar-padding-y: map-get( $spacing, 4 ) !default;
79
+ $adaptive-actionsheet-titlebar-padding-x: $adaptive-actionsheet-titlebar-padding-y !default;
80
+ $adaptive-actionsheet-titlebar-border: $component-border !default;
81
+
82
+ $adaptive-actionsheet-content-padding-y: map-get( $spacing, 2 ) !default;
83
+ $adaptive-actionsheet-content-padding-x: map-get( $spacing, 4 ) !default;
84
+
85
+ $adaptive-actionsheet-footer-padding-y: map-get( $spacing, 2 ) !default;
86
+ $adaptive-actionsheet-footer-padding-x: map-get( $spacing, 4 ) !default;
@@ -173,9 +173,6 @@
173
173
  z-index: 1;
174
174
  overflow: hidden;
175
175
  }
176
- .k-week-number .k-calendar-view {
177
- width: (8 * $calendar-cell-size);
178
- }
179
176
 
180
177
 
181
178
  // Month view
@@ -195,7 +192,7 @@
195
192
  // Year view
196
193
  .k-year-calendar,
197
194
  .k-calendar-yearview {
198
- $_year-cell-size: ( 1.75 * $calendar-cell-size ); // 7 / 4 => 1.75
195
+ $_year-cell-size: ( 2 * $calendar-cell-size );
199
196
 
200
197
  .k-calendar-td {
201
198
  width: $_year-cell-size;
@@ -209,7 +206,7 @@
209
206
  // Decade view
210
207
  .k-decade-calendar,
211
208
  .k-calendar-decadeview {
212
- $_decade-cell-size: ( 1.75 * $calendar-cell-size ); // 7 / 4 => 1.75
209
+ $_decade-cell-size: ( 2 * $calendar-cell-size );
213
210
 
214
211
  .k-calendar-td {
215
212
  width: $_decade-cell-size;
@@ -223,7 +220,7 @@
223
220
  // Century view
224
221
  .k-century-calendar,
225
222
  .k-calendar-centuryview {
226
- $_century-cell-size: ( 1.75 * $calendar-cell-size ); // 7 / 4 => 1.75
223
+ $_century-cell-size: ( 2 * $calendar-cell-size );
227
224
 
228
225
  .k-calendar-td {
229
226
  width: $_century-cell-size;
@@ -284,9 +281,9 @@
284
281
  $_cell-padding-y: map-get( $size-props, cell-padding-y );
285
282
 
286
283
  $_month-cell-size: $_cell-size;
287
- $_year-cell-size: ( 1.75 * $_cell-size ); // 7 / 4 => 1.75
288
- $_decade-cell-size: ( 1.75 * $_cell-size ); // 7 / 4 => 1.75
289
- $_century-cell-size: ( 1.75 * $_cell-size ); // 7 / 4 => 1.75
284
+ $_year-cell-size: ( 2 * $_cell-size );
285
+ $_decade-cell-size: ( 2 * $_cell-size );
286
+ $_century-cell-size: ( 2 * $_cell-size );
290
287
 
291
288
  .k-calendar-#{$size} {
292
289
  --INTERNAL--kendo-calendar-view-width: #{8 * $_cell-size};
@@ -520,16 +517,6 @@
520
517
  text-align: right;
521
518
  }
522
519
 
523
- // Content
524
- .k-content,
525
- .k-calendar-content {
526
- > table,
527
- > .k-calendar-table {
528
- margin-right: 0;
529
- margin-left: -17px; // scrollbar-size
530
- }
531
- }
532
-
533
520
  }
534
521
 
535
522
  }
@@ -56,6 +56,12 @@
56
56
  width: auto;
57
57
  border-width: 0;
58
58
  }
59
+ .k-colorgradient:focus,
60
+ .k-colorgradient.k-focus {
61
+ outline: $coloreditor-colorgradient-focus-outline dotted;
62
+ outline-offset: $coloreditor-colorgradient-focus-outline-offset;
63
+ border-radius: 0;
64
+ }
59
65
 
60
66
  .k-colorpalette {
61
67
  align-self: center;
@@ -15,4 +15,10 @@
15
15
  @include box-shadow( $coloreditor-focus-shadow );
16
16
  }
17
17
 
18
+ .k-coloreditor .k-colorgradient:focus,
19
+ .k-coloreditor .k-colorgradient.k-focus {
20
+ box-shadow: none;
21
+ outline-color: $coloreditor-colorgradient-focus-outline-color;
22
+ }
23
+
18
24
  }
@@ -25,3 +25,7 @@ $coloreditor-color-preview-height: 12px !default;
25
25
  $coloreditor-views-padding-y: $coloreditor-spacer !default;
26
26
  $coloreditor-views-padding-x: $coloreditor-views-padding-y !default;
27
27
  $coloreditor-views-gap: $coloreditor-spacer !default;
28
+
29
+ $coloreditor-colorgradient-focus-outline-color: rgba(0, 0, 0, .3) !default;
30
+ $coloreditor-colorgradient-focus-outline: 2px !default;
31
+ $coloreditor-colorgradient-focus-outline-offset: 4px !default;
@@ -49,7 +49,7 @@
49
49
  position: absolute;
50
50
  top: 50%;
51
51
  left: 50%;
52
- z-index: 10;
52
+ z-index: 1;
53
53
  cursor: pointer;
54
54
  }
55
55