@progress/kendo-theme-classic 4.41.3-dev.3 → 4.42.0-dev.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/dist/all.css +1450 -543
- package/dist/all.scss +858 -560
- package/modules/@progress/kendo-theme-default/package.json +2 -2
- package/modules/@progress/kendo-theme-default/scss/action-buttons/_layout.scss +9 -1
- package/modules/@progress/kendo-theme-default/scss/all.scss +4 -0
- package/modules/@progress/kendo-theme-default/scss/button/_index.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/color-preview/_index.scss +11 -0
- package/modules/@progress/kendo-theme-default/scss/color-preview/_layout.scss +34 -0
- package/modules/@progress/kendo-theme-default/scss/color-preview/_theme.scss +31 -0
- package/modules/@progress/kendo-theme-default/scss/color-preview/_variables.scss +13 -0
- package/modules/@progress/kendo-theme-default/scss/coloreditor/_index.scss +15 -0
- package/modules/@progress/kendo-theme-default/scss/coloreditor/_layout.scss +65 -0
- package/modules/@progress/kendo-theme-default/scss/coloreditor/_theme.scss +19 -0
- package/modules/@progress/kendo-theme-default/scss/coloreditor/_variables.scss +27 -0
- package/modules/@progress/kendo-theme-default/scss/colorgradient/_index.scss +18 -0
- package/modules/@progress/kendo-theme-default/scss/colorgradient/_layout.scss +188 -0
- package/modules/@progress/kendo-theme-default/scss/colorgradient/_theme.scss +82 -0
- package/modules/@progress/kendo-theme-default/scss/colorgradient/_variables.scss +51 -0
- package/modules/@progress/kendo-theme-default/scss/colorgradient/images/alpha-slider-bgr.png +0 -0
- package/modules/@progress/kendo-theme-default/scss/colorgradient/images/alpha-slider-bgr.scss +3 -0
- package/modules/@progress/kendo-theme-default/scss/colorpalette/_index.scss +12 -0
- package/modules/@progress/kendo-theme-default/scss/colorpalette/_layout.scss +50 -0
- package/modules/@progress/kendo-theme-default/scss/colorpalette/_theme.scss +25 -0
- package/modules/@progress/kendo-theme-default/scss/colorpalette/_variables.scss +10 -0
- package/modules/@progress/kendo-theme-default/scss/colorpicker/_index.scss +2 -4
- package/modules/@progress/kendo-theme-default/scss/colorpicker/_layout.scss +4 -340
- package/modules/@progress/kendo-theme-default/scss/colorpicker/_theme.scss +4 -127
- package/modules/@progress/kendo-theme-default/scss/colorpicker/_variables.scss +0 -18
- package/modules/@progress/kendo-theme-default/scss/editor/_layout.scss +5 -0
- package/modules/@progress/kendo-theme-default/scss/fab/_layout.scss +2 -0
- package/modules/@progress/kendo-theme-default/scss/fab/_theme.scss +27 -34
- package/modules/@progress/kendo-theme-default/scss/fab/_variables.scss +12 -11
- package/modules/@progress/kendo-theme-default/scss/icons/_layout.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/icons/font/WebComponentsIcons.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/icons/font/WebComponentsIcons.ttf +0 -0
- package/modules/@progress/kendo-theme-default/scss/map/_layout.scss +2 -0
- package/modules/@progress/kendo-theme-default/scss/popup/_layout.scss +0 -5
- package/modules/@progress/kendo-theme-default/scss/utils/_border.scss +3 -3
- package/modules/@progress/kendo-theme-default/scss/utils/_spacing.scss +24 -0
- package/package.json +3 -3
- package/scss/all.scss +4 -0
- package/scss/button/_index.scss +1 -2
- package/scss/color-preview/_index.scss +11 -0
- package/scss/color-preview/_layout.scss +1 -0
- package/scss/color-preview/_theme.scss +1 -0
- package/scss/color-preview/_variables.scss +13 -0
- package/scss/coloreditor/_index.scss +15 -0
- package/scss/coloreditor/_layout.scss +1 -0
- package/scss/coloreditor/_theme.scss +1 -0
- package/scss/coloreditor/_variables.scss +27 -0
- package/scss/colorgradient/_index.scss +19 -0
- package/scss/colorgradient/_layout.scss +1 -0
- package/scss/colorgradient/_theme.scss +1 -0
- package/scss/colorgradient/_variables.scss +52 -0
- package/scss/colorgradient/images/alpha-slider-bgr.png +0 -0
- package/scss/colorgradient/images/alpha-slider-bgr.scss +3 -0
- package/scss/colorpalette/_index.scss +12 -0
- package/scss/colorpalette/_layout.scss +1 -0
- package/scss/colorpalette/_theme.scss +1 -0
- package/scss/colorpalette/_variables.scss +10 -0
- package/scss/colorpicker/_index.scss +2 -4
- package/scss/colorpicker/_variables.scss +0 -18
- package/scss/fab/_variables.scss +13 -13
- package/modules/@progress/kendo-theme-default/scss/colorpicker/images/alpha-slider-bgr-reversed.png +0 -0
- package/modules/@progress/kendo-theme-default/scss/colorpicker/images/alpha-slider-bgr-reversed.scss +0 -3
- package/modules/@progress/kendo-theme-default/scss/colorpicker/images/alpha-slider-bgr.png +0 -0
- package/modules/@progress/kendo-theme-default/scss/colorpicker/images/alpha-slider-bgr.scss +0 -3
- package/scss/colorpicker/images/alpha-slider-bgr-reversed.png +0 -0
- package/scss/colorpicker/images/alpha-slider-bgr-reversed.scss +0 -3
- package/scss/colorpicker/images/alpha-slider-bgr.png +0 -0
- package/scss/colorpicker/images/alpha-slider-bgr.scss +0 -3
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
@include exports("colorpalette/layout") {
|
|
2
|
+
|
|
3
|
+
// ColorPalette
|
|
4
|
+
.k-colorpalette {
|
|
5
|
+
border-width: 0;
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
outline: 0;
|
|
8
|
+
font-size: $colorpalette-font-size;
|
|
9
|
+
font-family: $colorpalette-font-family;
|
|
10
|
+
line-height: $colorpalette-line-height;
|
|
11
|
+
display: inline-flex;
|
|
12
|
+
position: relative;
|
|
13
|
+
-webkit-touch-callout: none;
|
|
14
|
+
-webkit-tap-highlight-color: $rgba-transparent;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// Table
|
|
18
|
+
.k-colorpalette-table {
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 100%;
|
|
21
|
+
border-collapse: collapse;
|
|
22
|
+
position: relative;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// Tile
|
|
26
|
+
.k-colorpalette-tile {
|
|
27
|
+
width: $colorpalette-tile-width;
|
|
28
|
+
height: $colorpalette-tile-height;
|
|
29
|
+
box-sizing: border-box;
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
-ms-high-contrast-adjust: none;
|
|
33
|
+
|
|
34
|
+
&:hover,
|
|
35
|
+
&.k-state-hover,
|
|
36
|
+
&.k-hover {
|
|
37
|
+
position: relative;
|
|
38
|
+
z-index: 101;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&:focus,
|
|
42
|
+
&.k-state-focus,
|
|
43
|
+
&.k-state-selected,
|
|
44
|
+
&.k-state-selected:hover {
|
|
45
|
+
position: relative;
|
|
46
|
+
z-index: 100;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@include exports("colorpalette/theme") {
|
|
2
|
+
|
|
3
|
+
// Tile
|
|
4
|
+
.k-colorpalette-tile {
|
|
5
|
+
|
|
6
|
+
&:focus,
|
|
7
|
+
&.k-state-focus,
|
|
8
|
+
&.k-focus {
|
|
9
|
+
@include box-shadow( $colorpalette-tile-focus-shadow );
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&:hover,
|
|
13
|
+
&.k-state-hover,
|
|
14
|
+
&.k-hover {
|
|
15
|
+
@include box-shadow( $colorpalette-tile-hover-shadow );
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.k-state-selected,
|
|
19
|
+
&.k-state-selected:hover {
|
|
20
|
+
@include box-shadow( $colorpalette-tile-selected-shadow );
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Colorpalette
|
|
2
|
+
$colorpalette-font-family: $font-family !default;
|
|
3
|
+
$colorpalette-font-size: $font-size !default;
|
|
4
|
+
$colorpalette-line-height: 0 !default;
|
|
5
|
+
|
|
6
|
+
$colorpalette-tile-width: map-get( $spacing, 6 ) !default;
|
|
7
|
+
$colorpalette-tile-height: $colorpalette-tile-width !default;
|
|
8
|
+
$colorpalette-tile-focus-shadow: 0 0 3px 1px rgba( black, .3 ), inset 0 0 0 1px rgba( white, .5 ) !default;
|
|
9
|
+
$colorpalette-tile-hover-shadow: 0 0 3px 1px rgba( black, .3 ), inset 0 0 0 1px rgba( white, .8 ) !default;
|
|
10
|
+
$colorpalette-tile-selected-shadow: 0 1px 3px 1px rgba( black, .3 ), inset 0 0 0 1px rgba( white, 1 ) !default;
|
|
@@ -5,15 +5,13 @@
|
|
|
5
5
|
@import "../common/_index.scss";
|
|
6
6
|
@import "../utils/_flex.scss";
|
|
7
7
|
@import "../button/_index.scss";
|
|
8
|
-
@import "../
|
|
9
|
-
@import "../
|
|
8
|
+
@import "../colorpalette/_index.scss";
|
|
9
|
+
@import "../colorgradient/_index.scss";
|
|
10
10
|
@import "../popup/_index.scss";
|
|
11
11
|
@import "../icons/_index.scss";
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
// Component
|
|
15
15
|
@import "_variables.scss";
|
|
16
|
-
@import "images/alpha-slider-bgr.scss";
|
|
17
|
-
@import "images/alpha-slider-bgr-reversed.scss";
|
|
18
16
|
@import "_layout.scss";
|
|
19
17
|
@import "_theme.scss";
|
|
@@ -124,349 +124,13 @@
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
}
|
|
127
|
-
.k-colorpicker + .k-animation-container {
|
|
128
|
-
.k-popup {
|
|
129
|
-
padding: 0;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
@include exports( "flatcolorpicker/layout" ) {
|
|
138
|
-
|
|
139
|
-
.k-flatcolorpicker {
|
|
140
|
-
@include border-radius( $input-border-radius );
|
|
141
|
-
border-width: $colorpicker-border-width;
|
|
142
|
-
border-style: solid;
|
|
143
|
-
box-sizing: border-box;
|
|
144
|
-
outline: 0;
|
|
145
|
-
font-family: $colorpicker-font-family;
|
|
146
|
-
font-size: $colorpicker-font-size;
|
|
147
|
-
line-height: $colorpicker-line-height;
|
|
148
|
-
display: flex;
|
|
149
|
-
flex-direction: column;
|
|
150
|
-
align-items: stretch;
|
|
151
|
-
width: $colorpicker-width;
|
|
152
|
-
padding: $colorpicker-rect-padding;
|
|
153
|
-
-webkit-touch-callout: none;
|
|
154
|
-
-webkit-tap-highlight-color: $rgba-transparent;
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
// HSV wrap
|
|
158
|
-
.k-hsv-wrap {}
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
// HSV rectangle
|
|
162
|
-
.k-hsv-rectangle {
|
|
163
|
-
position: relative;
|
|
164
|
-
flex: 1 1 auto;
|
|
165
|
-
user-select: none;
|
|
166
|
-
-ms-touch-action: pinch-zoom double-tap-zoom;
|
|
167
|
-
|
|
168
|
-
.k-draghandle {
|
|
169
|
-
margin: -7px 0 0 -7px;
|
|
170
|
-
cursor: pointer;
|
|
171
|
-
position: absolute;
|
|
172
|
-
z-index: 10;
|
|
173
|
-
left: 50%;
|
|
174
|
-
top: 50%;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
.k-hsv-gradient {
|
|
178
|
-
height: 180px;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
// Sliders wrap
|
|
183
|
-
.k-sliders-wrap {
|
|
184
|
-
flex-shrink: 0;
|
|
185
|
-
position: relative;
|
|
186
|
-
|
|
187
|
-
&.k-hbox,
|
|
188
|
-
&.k-hstack {
|
|
189
|
-
margin-left: $colorpicker-margin;
|
|
190
|
-
|
|
191
|
-
.k-slider + .k-slider {
|
|
192
|
-
margin-left: $colorpicker-margin;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
&.k-vbox,
|
|
197
|
-
&.k-vstack {
|
|
198
|
-
margin-top: $colorpicker-margin;
|
|
199
|
-
|
|
200
|
-
.k-slider + .k-slider {
|
|
201
|
-
margin-top: $colorpicker-margin;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
}
|
|
206
|
-
.k-sliders-wrap-clearable {
|
|
207
|
-
|
|
208
|
-
&.k-hbox,
|
|
209
|
-
&.k-hstack {
|
|
210
|
-
|
|
211
|
-
.k-clear-color {
|
|
212
|
-
position: absolute;
|
|
213
|
-
left: 50%;
|
|
214
|
-
transform: translateX(-50%);
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.k-hue-slider,
|
|
218
|
-
.k-alpha-slider {
|
|
219
|
-
height: 140px;
|
|
220
|
-
align-self: flex-end;
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
&.k-vbox {}
|
|
225
|
-
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
// Sliders
|
|
230
|
-
.k-slider {
|
|
231
|
-
display: block;
|
|
232
|
-
|
|
233
|
-
.k-slider-wrap {
|
|
234
|
-
z-index: 1;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
.k-slider-selection {
|
|
238
|
-
display: none;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
// Draghandle
|
|
242
|
-
.k-draghandle {
|
|
243
|
-
border-width: 3px;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
// Slider orientation
|
|
250
|
-
.k-slider-horizontal {
|
|
251
|
-
width: 100%;
|
|
252
|
-
height: $colorpicker-slider-track-size;
|
|
253
|
-
flex: 0 0 $colorpicker-slider-track-size;
|
|
254
|
-
|
|
255
|
-
.k-slider-track {
|
|
256
|
-
margin-top: -($colorpicker-slider-track-size / 2);
|
|
257
|
-
height: $colorpicker-slider-track-size;
|
|
258
|
-
border-radius: $colorpicker-slider-border-radius;
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
.k-slider-vertical {
|
|
262
|
-
width: $colorpicker-slider-track-size;
|
|
263
|
-
height: 180px;
|
|
264
|
-
flex: 0 0 $colorpicker-slider-track-size;
|
|
265
|
-
|
|
266
|
-
.k-slider-track {
|
|
267
|
-
margin-left: -($colorpicker-slider-track-size / 2);
|
|
268
|
-
width: $colorpicker-slider-track-size;
|
|
269
|
-
border-radius: $colorpicker-slider-border-radius;
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
.k-draghandle {
|
|
275
|
-
@include border-radius( 50% );
|
|
276
|
-
width: $colorpicker-draghandle-width;
|
|
277
|
-
height: $colorpicker-draghandle-height;
|
|
278
|
-
border-width: 1px;
|
|
279
|
-
border-style: solid;
|
|
280
|
-
box-sizing: border-box;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
// Color inputs
|
|
285
|
-
.k-colorinputs {
|
|
286
|
-
margin-top: ($colorpicker-margin * 2);
|
|
287
|
-
|
|
288
|
-
> .k-gradient-values + .k-gradient-values {
|
|
289
|
-
margin-top: $colorpicker-margin;
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
.k-gradient-values {
|
|
293
|
-
justify-content: space-between;
|
|
294
127
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
padding: $colorpicker-input-padding-y $colorpicker-input-padding-x;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
div,
|
|
301
|
-
input,
|
|
302
|
-
.k-numerictextbox {
|
|
303
|
-
width: $colorpicker-input-width;
|
|
304
|
-
text-align: center;
|
|
305
|
-
}
|
|
306
|
-
div {
|
|
307
|
-
text-transform: uppercase;
|
|
308
|
-
text-align: center;
|
|
309
|
-
}
|
|
310
|
-
.k-hex-value {
|
|
311
|
-
width: $colorpicker-hex-input-width;
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
// Color contrast
|
|
317
|
-
.k-color-contrast {
|
|
318
|
-
.k-separator {
|
|
319
|
-
margin: map-get( $spacing, 2 ) 0;
|
|
320
|
-
border-width: 0;
|
|
321
|
-
border-top-width: 1px;
|
|
322
|
-
border-style: solid;
|
|
323
|
-
border-color: inherit;
|
|
324
|
-
display: block;
|
|
325
|
-
flex: 0 0 auto;
|
|
326
|
-
align-self: stretch;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
.k-contrast-ratio {
|
|
330
|
-
margin-bottom: map-get( $spacing, 2 );
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
.k-contrast-ratio-text {
|
|
334
|
-
font-weight: $font-weight-bold;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
.k-contrast-validation {
|
|
338
|
-
margin-left: map-get( $spacing, 2 );
|
|
339
|
-
|
|
340
|
-
.k-icon {
|
|
341
|
-
vertical-align: middle;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
// Needed for the double check icons.
|
|
345
|
-
// Once we have double check icon, this can be removed.
|
|
346
|
-
.k-i-check + .k-i-check {
|
|
347
|
-
margin-left: -14px;
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
// Selected color
|
|
354
|
-
.k-selected-color {
|
|
355
|
-
border-width: 0 0 1px;
|
|
356
|
-
border-style: solid;
|
|
357
|
-
border-color: inherit;
|
|
358
|
-
background-position: 50% 50%;
|
|
359
|
-
}
|
|
360
|
-
.k-color-input {
|
|
361
|
-
display: flex;
|
|
362
|
-
flex-direction: row;
|
|
363
|
-
position: relative;
|
|
364
|
-
}
|
|
365
|
-
.k-color-value {
|
|
366
|
-
margin: 0 0 0 calc( #{$button-inner-calc-size} * 2 );
|
|
367
|
-
padding: $input-padding-y $input-padding-x;
|
|
368
|
-
width: 100%;
|
|
369
|
-
border: 0;
|
|
370
|
-
box-sizing: border-box;
|
|
371
|
-
font-size: $input-font-size;
|
|
372
|
-
line-height: $input-line-height;
|
|
373
|
-
font-family: $input-font-family;
|
|
374
|
-
outline: 0;
|
|
375
|
-
flex: 1;
|
|
376
|
-
}
|
|
377
|
-
.k-clear-color-container {
|
|
378
|
-
display: flex;
|
|
379
|
-
flex-direction: row;
|
|
380
|
-
}
|
|
381
|
-
.k-clear-color {
|
|
382
|
-
flex: 1;
|
|
383
|
-
}
|
|
384
|
-
.k-color-value + .k-clear-color {
|
|
385
|
-
flex: none;
|
|
386
|
-
position: absolute;
|
|
387
|
-
top: 0;
|
|
388
|
-
right: 0;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
// Buttons
|
|
393
|
-
.k-controls {
|
|
394
|
-
margin-top: ($colorpicker-margin * 2);
|
|
395
|
-
text-align: center;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
.k-rtl &,
|
|
400
|
-
&[dir="rtl"],
|
|
401
|
-
[dir="rtl"] & {
|
|
402
|
-
.k-sliders-wrap.k-hbox,
|
|
403
|
-
.k-sliders-wrap.k-hstack {
|
|
404
|
-
margin-left: 0;
|
|
405
|
-
margin-right: $colorpicker-margin;
|
|
406
|
-
|
|
407
|
-
.k-slider + .k-slider {
|
|
408
|
-
margin-left: 0;
|
|
409
|
-
margin-right: $colorpicker-margin;
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
.k-color-value {
|
|
414
|
-
margin: 0 calc( #{$button-inner-calc-size} * 2 ) 0 0;
|
|
415
|
-
direction: initial;
|
|
416
|
-
text-align: right;
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
.k-color-value + .k-clear-color {
|
|
420
|
-
right: auto;
|
|
421
|
-
left: 0;
|
|
422
|
-
}
|
|
423
|
-
}
|
|
128
|
+
.k-colorpicker-popup .k-coloreditor {
|
|
129
|
+
border-color: transparent;
|
|
424
130
|
}
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
@include exports( "colorpalette/layout" ) {
|
|
431
131
|
|
|
432
|
-
.k-
|
|
433
|
-
|
|
434
|
-
box-sizing: border-box;
|
|
435
|
-
outline: 0;
|
|
436
|
-
font-family: $colorpicker-font-family;
|
|
437
|
-
font-size: $colorpicker-font-size;
|
|
438
|
-
line-height: 0;
|
|
439
|
-
display: inline-block;
|
|
440
|
-
position: relative;
|
|
441
|
-
-webkit-touch-callout: none;
|
|
442
|
-
-webkit-tap-highlight-color: $rgba-transparent;
|
|
443
|
-
|
|
444
|
-
.k-palette {
|
|
445
|
-
width: 100%;
|
|
446
|
-
height: 100%;
|
|
447
|
-
border-collapse: collapse;
|
|
448
|
-
position: relative;
|
|
449
|
-
}
|
|
450
|
-
.k-item {
|
|
451
|
-
width: 14px;
|
|
452
|
-
height: 14px;
|
|
453
|
-
box-sizing: border-box;
|
|
454
|
-
overflow: hidden;
|
|
455
|
-
-ms-high-contrast-adjust: none;
|
|
456
|
-
cursor: pointer;
|
|
457
|
-
}
|
|
458
|
-
.k-item:hover,
|
|
459
|
-
.k-item.k-state-hover {
|
|
460
|
-
position: relative;
|
|
461
|
-
z-index: 101;
|
|
462
|
-
}
|
|
463
|
-
.k-item.k-state-selected,
|
|
464
|
-
.k-item.k-state-selected:hover,
|
|
465
|
-
.k-item.k-state-focused,
|
|
466
|
-
.k-item:focus {
|
|
467
|
-
position: relative;
|
|
468
|
-
z-index: 100;
|
|
469
|
-
}
|
|
132
|
+
.k-colorpicker-popup {
|
|
133
|
+
padding: 0;
|
|
470
134
|
}
|
|
471
135
|
|
|
472
136
|
}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
// Hover state
|
|
28
28
|
> :hover,
|
|
29
|
-
.k-state-hover {
|
|
29
|
+
> .k-state-hover {
|
|
30
30
|
@include fill(
|
|
31
31
|
$colorpicker-hovered-text,
|
|
32
32
|
$colorpicker-hovered-bg,
|
|
@@ -38,7 +38,9 @@
|
|
|
38
38
|
&.k-state-active {}
|
|
39
39
|
|
|
40
40
|
// Focus state
|
|
41
|
-
.k-state-focused
|
|
41
|
+
.k-state-focused,
|
|
42
|
+
.k-state-focus,
|
|
43
|
+
.k-focus {
|
|
42
44
|
@include fill(
|
|
43
45
|
$colorpicker-focused-text,
|
|
44
46
|
$colorpicker-focused-bg,
|
|
@@ -64,128 +66,3 @@
|
|
|
64
66
|
}
|
|
65
67
|
|
|
66
68
|
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
@include exports( "flatcolorpicker/theme" ) {
|
|
72
|
-
|
|
73
|
-
.k-flatcolorpicker {
|
|
74
|
-
@include fill(
|
|
75
|
-
$component-text,
|
|
76
|
-
$component-bg,
|
|
77
|
-
$component-border
|
|
78
|
-
);
|
|
79
|
-
|
|
80
|
-
.k-color-value {
|
|
81
|
-
@include fill(
|
|
82
|
-
$input-text,
|
|
83
|
-
$input-bg,
|
|
84
|
-
$input-border
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.k-hsv-gradient {
|
|
89
|
-
background: linear-gradient( to bottom, $gradient-transparent-to-black ), linear-gradient( to right, $gradient-white-to-transparent );
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
// Sliders
|
|
94
|
-
.k-slider {
|
|
95
|
-
|
|
96
|
-
// Draghandle
|
|
97
|
-
.k-draghandle {
|
|
98
|
-
box-shadow: $colorpicker-draghandle-shadow;
|
|
99
|
-
// sass-lint:enable no-color-literals no-color-keywords
|
|
100
|
-
background-color: transparent;
|
|
101
|
-
}
|
|
102
|
-
.k-draghandle:hover,
|
|
103
|
-
.k-draghandle:focus {
|
|
104
|
-
// sass-lint:disable no-color-literals no-color-keywords
|
|
105
|
-
border-color: white;
|
|
106
|
-
box-shadow: $colorpicker-draghandle-focused-shadow;
|
|
107
|
-
// sass-lint:enable no-color-literals no-color-keywords
|
|
108
|
-
background-color: transparent;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
&.k-state-focused {
|
|
112
|
-
.k-draghandle {
|
|
113
|
-
box-shadow: $colorpicker-draghandle-focused-shadow;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
// Slider type
|
|
120
|
-
.k-hue-slider {
|
|
121
|
-
&.k-slider-horizontal {
|
|
122
|
-
.k-slider-track {
|
|
123
|
-
background: linear-gradient( to right, $gradient-rainbow );
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
&.k-slider-vertical {
|
|
127
|
-
.k-slider-track {
|
|
128
|
-
background: linear-gradient( to top, $gradient-rainbow );
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
.k-alpha-slider {
|
|
133
|
-
.k-slider-track {
|
|
134
|
-
background: url(map-get($data-uris, "alpha-slider-bgr.png")) center;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
.k-draghandle {
|
|
140
|
-
border-color: rgba(255, 255, 255, .8);
|
|
141
|
-
box-shadow: $colorpicker-draghandle-shadow;
|
|
142
|
-
|
|
143
|
-
&.k-state-focus {
|
|
144
|
-
box-shadow: $colorpicker-draghandle-focused-shadow;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
// Color contrast
|
|
149
|
-
.k-color-contrast .k-separator {
|
|
150
|
-
border-color: $colorpicker-border;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
.k-rtl,
|
|
157
|
-
[dir="rtl"] {
|
|
158
|
-
.k-flatcolorpicker {
|
|
159
|
-
|
|
160
|
-
.k-hue-slider.k-slider-horizontal .k-slider-track {
|
|
161
|
-
background: linear-gradient( to left, $gradient-rainbow );
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.k-alpha-slider .k-slider-track {
|
|
165
|
-
background: url(map-get($data-uris, "alpha-slider-bgr-reversed.png")) center;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
@include exports( "colorpalette/theme" ) {
|
|
177
|
-
|
|
178
|
-
.k-colorpalette {
|
|
179
|
-
.k-item:hover,
|
|
180
|
-
.k-item.k-state-hover {
|
|
181
|
-
box-shadow: $colorpalette-hovered-shadow;
|
|
182
|
-
}
|
|
183
|
-
.k-item.k-state-selected,
|
|
184
|
-
.k-item.k-state-selected:hover,
|
|
185
|
-
.k-item.k-state-focused,
|
|
186
|
-
.k-item:focus {
|
|
187
|
-
box-shadow: $colorpalette-focused-shadow;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
}
|
|
@@ -1,19 +1,7 @@
|
|
|
1
1
|
// Colorpicker
|
|
2
|
-
$colorpicker-rect-padding: $padding-x !default;
|
|
3
|
-
$colorpicker-margin: 8px !default;
|
|
4
|
-
$colorpicker-width: 310px !default;
|
|
5
|
-
$colorpicker-border-width: 1px !default;
|
|
6
2
|
$colorpicker-font-family: $font-family !default;
|
|
7
3
|
$colorpicker-font-size: $font-size !default;
|
|
8
4
|
$colorpicker-line-height: $line-height !default;
|
|
9
|
-
$colorpicker-draghandle-width: 14px !default;
|
|
10
|
-
$colorpicker-draghandle-height: 14px !default;
|
|
11
|
-
$colorpicker-slider-track-size: 10px !default;
|
|
12
|
-
$colorpicker-slider-border-radius: 10px !default;
|
|
13
|
-
$colorpicker-hex-input-width: 65px !default;
|
|
14
|
-
$colorpicker-input-width: 48px !default;
|
|
15
|
-
$colorpicker-input-padding-x: $input-padding-y !default;
|
|
16
|
-
$colorpicker-input-padding-y: $input-padding-y !default;
|
|
17
5
|
|
|
18
6
|
$colorpicker-select-border-width: 1px !default;
|
|
19
7
|
|
|
@@ -32,9 +20,3 @@ $colorpicker-focused-text: null !default;
|
|
|
32
20
|
$colorpicker-focused-border: null !default;
|
|
33
21
|
$colorpicker-focused-gradient: null !default;
|
|
34
22
|
$colorpicker-focused-shadow: $button-focused-shadow !default;
|
|
35
|
-
|
|
36
|
-
$colorpicker-draghandle-shadow: 0 1px 4px rgba(0, 0, 0, .5) !default;
|
|
37
|
-
$colorpicker-draghandle-focused-shadow: 0 1px 4px black !default;
|
|
38
|
-
|
|
39
|
-
$colorpalette-hovered-shadow: 0 0 3px 1px rgba( black, .3 ), inset 0 0 0 1px rgba( white, .8 ) !default;
|
|
40
|
-
$colorpalette-focused-shadow: 0 1px 3px 1px rgba( black, .3 ), inset 0 0 0 1px rgba( white, 1 ) !default;
|
|
@@ -149,6 +149,8 @@
|
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
.k-fab-item-icon {
|
|
152
|
+
width: $fab-item-icon-width;
|
|
153
|
+
height: $fab-item-icon-height;
|
|
152
154
|
padding: $fab-item-icon-padding-y $fab-item-icon-padding-x;
|
|
153
155
|
border-width: $fab-item-icon-border-width;
|
|
154
156
|
border-radius: $fab-item-icon-border-radius;
|