@progress/kendo-theme-default 10.1.0-dev.6 → 10.1.1-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 +1 -1
- package/dist/default-blue.css +1 -1
- package/dist/default-dataviz-v4.css +1 -1
- package/dist/default-green.css +1 -1
- package/dist/default-main-dark.css +1 -1
- package/dist/default-main.css +1 -1
- package/dist/default-nordic.css +1 -1
- package/dist/default-ocean-blue-a11y.css +1 -1
- package/dist/default-ocean-blue.css +1 -1
- package/dist/default-orange.css +1 -1
- package/dist/default-purple.css +1 -1
- package/dist/default-turquoise.css +1 -1
- package/dist/default-urban.css +1 -1
- package/dist/meta/sassdoc-data.json +11951 -8891
- package/dist/meta/sassdoc-raw-data.json +1824 -474
- package/dist/meta/variables.json +292 -4
- package/lib/swatches/default-blue.json +1 -1
- package/lib/swatches/default-dataviz-v4.json +1 -1
- package/lib/swatches/default-green.json +1 -1
- package/lib/swatches/default-main-dark.json +1 -1
- package/lib/swatches/default-main.json +1 -1
- package/lib/swatches/default-nordic.json +1 -1
- package/lib/swatches/default-ocean-blue-a11y.json +1 -1
- package/lib/swatches/default-ocean-blue.json +1 -1
- package/lib/swatches/default-orange.json +1 -1
- package/lib/swatches/default-purple.json +1 -1
- package/lib/swatches/default-turquoise.json +1 -1
- package/lib/swatches/default-urban.json +1 -1
- package/package.json +4 -4
- package/scss/action-sheet/_layout.scss +27 -0
- package/scss/coloreditor/_layout.scss +50 -1
- package/scss/coloreditor/_variables.scss +119 -1
- package/scss/colorgradient/_layout.scss +39 -2
- package/scss/colorgradient/_variables.scss +88 -1
- package/scss/colorpalette/_variables.scss +36 -0
|
@@ -9,6 +9,15 @@ $kendo-color-editor-spacer: k-spacing(3) !default;
|
|
|
9
9
|
/// The minimum width of the ColorEditor.
|
|
10
10
|
/// @group color-editor
|
|
11
11
|
$kendo-color-editor-min-width: 272px !default;
|
|
12
|
+
/// The minimum width of the ColorEditor.
|
|
13
|
+
/// @group color-editor
|
|
14
|
+
$kendo-color-editor-sm-min-width: 252px !default;
|
|
15
|
+
/// The minimum width of the ColorEditor.
|
|
16
|
+
/// @group color-editor
|
|
17
|
+
$kendo-color-editor-md-min-width: $kendo-color-editor-min-width !default;
|
|
18
|
+
/// The minimum width of the ColorEditor.
|
|
19
|
+
/// @group color-editor
|
|
20
|
+
$kendo-color-editor-lg-min-width: 362px !default;
|
|
12
21
|
/// The width of the border around the ColorEditor.
|
|
13
22
|
/// @group color-editor
|
|
14
23
|
$kendo-color-editor-border-width: 1px !default;
|
|
@@ -50,7 +59,25 @@ $kendo-color-editor-header-padding-y: $kendo-color-editor-spacer !default;
|
|
|
50
59
|
$kendo-color-editor-header-padding-x: $kendo-color-editor-header-padding-y !default;
|
|
51
60
|
/// The spacing between the ColorEditor header actions.
|
|
52
61
|
/// @group color-editor
|
|
53
|
-
$kendo-color-editor-header-actions-gap:
|
|
62
|
+
$kendo-color-editor-header-actions-gap: k-spacing(2) !default;
|
|
63
|
+
/// The vertical padding of the small ColorEditor header.
|
|
64
|
+
/// @group color-editor
|
|
65
|
+
$kendo-color-editor-sm-header-padding-y: $kendo-color-editor-header-padding-y !default;
|
|
66
|
+
/// The horizontal padding of the small ColorEditor header.
|
|
67
|
+
/// @group color-editor
|
|
68
|
+
$kendo-color-editor-sm-header-padding-x: $kendo-color-editor-header-padding-x !default;
|
|
69
|
+
/// The vertical padding of the medium ColorEditor header.
|
|
70
|
+
/// @group color-editor
|
|
71
|
+
$kendo-color-editor-md-header-padding-y: $kendo-color-editor-header-padding-y !default;
|
|
72
|
+
/// The horizontal padding of the medium ColorEditor header.
|
|
73
|
+
/// @group color-editor
|
|
74
|
+
$kendo-color-editor-md-header-padding-x: $kendo-color-editor-header-padding-x !default;
|
|
75
|
+
/// The vertical padding of the large ColorEditor header.
|
|
76
|
+
/// @group color-editor
|
|
77
|
+
$kendo-color-editor-lg-header-padding-y: k-spacing(4.5) !default;
|
|
78
|
+
/// The horizontal padding of the large ColorEditor header.
|
|
79
|
+
/// @group color-editor
|
|
80
|
+
$kendo-color-editor-lg-header-padding-x: k-spacing(4.5) !default;
|
|
54
81
|
|
|
55
82
|
/// The width of the ColorEditor preview.
|
|
56
83
|
/// @group color-editor
|
|
@@ -61,6 +88,34 @@ $kendo-color-editor-color-preview-height: 12px !default;
|
|
|
61
88
|
/// The spacing between the colors in the ColorEditor preview.
|
|
62
89
|
/// @group color-editor
|
|
63
90
|
$kendo-color-editor-preview-gap: k-spacing(1) !default;
|
|
91
|
+
/// The spacing between the colors in the small ColorEditor preview.
|
|
92
|
+
/// @group color-editor
|
|
93
|
+
$kendo-color-editor-sm-preview-gap: k-spacing(0.5) !default;
|
|
94
|
+
/// The spacing between the colors in the medium ColorEditor preview.
|
|
95
|
+
/// @group color-editor
|
|
96
|
+
$kendo-color-editor-md-preview-gap: $kendo-color-editor-preview-gap !default;
|
|
97
|
+
/// The spacing between the colors in the large ColorEditor preview.
|
|
98
|
+
/// @group color-editor
|
|
99
|
+
$kendo-color-editor-lg-preview-gap: k-spacing(1) !default;
|
|
100
|
+
|
|
101
|
+
/// The width of the small ColorEditor preview.
|
|
102
|
+
/// @group color-editor
|
|
103
|
+
$kendo-color-editor-sm-color-preview-width: 34px !default;
|
|
104
|
+
/// The height of the small ColorEditor preview.
|
|
105
|
+
/// @group color-editor
|
|
106
|
+
$kendo-color-editor-sm-color-preview-height: 12px !default;
|
|
107
|
+
/// The width of the medium ColorEditor preview.
|
|
108
|
+
/// @group color-editor
|
|
109
|
+
$kendo-color-editor-md-color-preview-width: $kendo-color-editor-color-preview-width !default;
|
|
110
|
+
/// The height of the medium ColorEditor preview.
|
|
111
|
+
/// @group color-editor
|
|
112
|
+
$kendo-color-editor-md-color-preview-height: $kendo-color-editor-color-preview-height !default;
|
|
113
|
+
/// The width of the large ColorEditor preview.
|
|
114
|
+
/// @group color-editor
|
|
115
|
+
$kendo-color-editor-lg-color-preview-width: 44px !default;
|
|
116
|
+
/// The height of the large ColorEditor preview.
|
|
117
|
+
/// @group color-editor
|
|
118
|
+
$kendo-color-editor-lg-color-preview-height: 16px !default;
|
|
64
119
|
|
|
65
120
|
/// The vertical padding of the ColorEditor views container.
|
|
66
121
|
/// @group color-editor
|
|
@@ -71,6 +126,33 @@ $kendo-color-editor-views-padding-x: $kendo-color-editor-views-padding-y !defaul
|
|
|
71
126
|
/// The spacing of the ColorEditor views container.
|
|
72
127
|
/// @group color-editor
|
|
73
128
|
$kendo-color-editor-views-gap: $kendo-color-editor-spacer !default;
|
|
129
|
+
/// The vertical padding of the small ColorEditor views container.
|
|
130
|
+
/// @group color-editor
|
|
131
|
+
$kendo-color-editor-sm-views-padding-y: $kendo-color-editor-spacer !default;
|
|
132
|
+
/// The horizontal padding of the small ColorEditor views container.
|
|
133
|
+
/// @group color-editor
|
|
134
|
+
$kendo-color-editor-sm-views-padding-x: $kendo-color-editor-views-padding-y !default;
|
|
135
|
+
/// The spacing of the small ColorEditor views container.
|
|
136
|
+
/// @group color-editor
|
|
137
|
+
$kendo-color-editor-sm-views-gap: $kendo-color-editor-spacer !default;
|
|
138
|
+
/// The vertical padding of the medium ColorEditor views container.
|
|
139
|
+
/// @group color-editor
|
|
140
|
+
$kendo-color-editor-md-views-padding-y: $kendo-color-editor-views-padding-y !default;
|
|
141
|
+
/// The horizontal padding of the medium ColorEditor views container.
|
|
142
|
+
/// @group color-editor
|
|
143
|
+
$kendo-color-editor-md-views-padding-x: $kendo-color-editor-views-padding-x !default;
|
|
144
|
+
/// The spacing of the medium ColorEditor views container.
|
|
145
|
+
/// @group color-editor
|
|
146
|
+
$kendo-color-editor-md-views-gap: $kendo-color-editor-views-gap !default;
|
|
147
|
+
/// The vertical padding of the large ColorEditor views container.
|
|
148
|
+
/// @group color-editor
|
|
149
|
+
$kendo-color-editor-lg-views-padding-y: k-spacing(4.5) !default;
|
|
150
|
+
/// The horizontal padding of the large ColorEditor views container.
|
|
151
|
+
/// @group color-editor
|
|
152
|
+
$kendo-color-editor-lg-views-padding-x: k-spacing(4.5) !default;
|
|
153
|
+
/// The spacing of the large ColorEditor views container.
|
|
154
|
+
/// @group color-editor
|
|
155
|
+
$kendo-color-editor-lg-views-gap: k-spacing(4.5) !default;
|
|
74
156
|
|
|
75
157
|
/// The outline color of the focused ColorGradient.
|
|
76
158
|
/// @group color-editor
|
|
@@ -81,3 +163,39 @@ $kendo-color-editor-color-gradient-focus-outline: 2px !default;
|
|
|
81
163
|
/// The outline offset of the focused ColorGradient.
|
|
82
164
|
/// @group color-editor
|
|
83
165
|
$kendo-color-editor-color-gradient-focus-outline-offset: 4px !default;
|
|
166
|
+
|
|
167
|
+
/// The size map of the ColorEditor.
|
|
168
|
+
/// @group color-editor
|
|
169
|
+
$kendo-color-editor-sizes: (
|
|
170
|
+
sm: (
|
|
171
|
+
min-width: $kendo-color-editor-sm-min-width,
|
|
172
|
+
header-padding-x: $kendo-color-editor-sm-header-padding-x,
|
|
173
|
+
header-padding-y: $kendo-color-editor-sm-header-padding-y,
|
|
174
|
+
views-padding-x: $kendo-color-editor-sm-views-padding-x,
|
|
175
|
+
views-padding-y: $kendo-color-editor-sm-views-padding-y,
|
|
176
|
+
preview-gap: $kendo-color-editor-sm-preview-gap,
|
|
177
|
+
preview-width: $kendo-color-editor-sm-color-preview-width,
|
|
178
|
+
preview-height: $kendo-color-editor-sm-color-preview-height,
|
|
179
|
+
|
|
180
|
+
),
|
|
181
|
+
md: (
|
|
182
|
+
min-width: $kendo-color-editor-md-min-width,
|
|
183
|
+
header-padding-x: $kendo-color-editor-md-header-padding-x,
|
|
184
|
+
header-padding-y: $kendo-color-editor-md-header-padding-y,
|
|
185
|
+
views-padding-x: $kendo-color-editor-md-views-padding-x,
|
|
186
|
+
views-padding-y: $kendo-color-editor-md-views-padding-y,
|
|
187
|
+
preview-gap: $kendo-color-editor-md-preview-gap,
|
|
188
|
+
preview-width: $kendo-color-editor-md-color-preview-width,
|
|
189
|
+
preview-height: $kendo-color-editor-md-color-preview-height,
|
|
190
|
+
),
|
|
191
|
+
lg: (
|
|
192
|
+
min-width: $kendo-color-editor-lg-min-width,
|
|
193
|
+
header-padding-x: $kendo-color-editor-lg-header-padding-x,
|
|
194
|
+
header-padding-y: $kendo-color-editor-lg-header-padding-y,
|
|
195
|
+
views-padding-x: $kendo-color-editor-lg-views-padding-x,
|
|
196
|
+
views-padding-y: $kendo-color-editor-lg-views-padding-y,
|
|
197
|
+
preview-gap: $kendo-color-editor-lg-preview-gap,
|
|
198
|
+
preview-width: $kendo-color-editor-lg-color-preview-width,
|
|
199
|
+
preview-height: $kendo-color-editor-lg-color-preview-height,
|
|
200
|
+
)
|
|
201
|
+
) !default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use "sass:map";
|
|
1
2
|
@use "sass:math";
|
|
2
3
|
@use "../core/_index.scss" as *;
|
|
3
4
|
@use "./variables.scss" as *;
|
|
@@ -78,7 +79,6 @@
|
|
|
78
79
|
|
|
79
80
|
// Sliders
|
|
80
81
|
.k-colorgradient-slider {
|
|
81
|
-
|
|
82
82
|
&.k-slider-vertical {
|
|
83
83
|
width: $kendo-color-gradient-slider-track-size;
|
|
84
84
|
height: $kendo-color-gradient-slider-vertical-size;
|
|
@@ -124,6 +124,44 @@
|
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
+
// ColorGradient sizes
|
|
128
|
+
@each $size, $size-props in $kendo-color-gradient-sizes {
|
|
129
|
+
$_width: map.get( $size-props, width );
|
|
130
|
+
$_gap: map.get( $size-props, gap );
|
|
131
|
+
$_vertical-slider-height: map.get( $size-props, vertical-slider-height );
|
|
132
|
+
$_rectangle-height: map.get( $size-props, rectangle-height );
|
|
133
|
+
$_input-width: map.get( $size-props, input-width );
|
|
134
|
+
$_canvas-gap: map.get( $size-props, canvas-gap );
|
|
135
|
+
|
|
136
|
+
.k-colorgradient-#{$size} {
|
|
137
|
+
width: $_width;
|
|
138
|
+
gap: $_gap;
|
|
139
|
+
|
|
140
|
+
.k-colorgradient-inputs {
|
|
141
|
+
.k-numerictextbox {
|
|
142
|
+
width: $_input-width;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.k-colorgradient-canvas {
|
|
147
|
+
gap: $_canvas-gap;
|
|
148
|
+
|
|
149
|
+
.k-hsv-gradient {
|
|
150
|
+
height: $_rectangle-height;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.k-slider-vertical {
|
|
154
|
+
height: $_vertical-slider-height;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.k-hsv-controls {
|
|
158
|
+
gap: $_canvas-gap;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
|
|
127
165
|
// Inputs
|
|
128
166
|
.k-colorgradient-inputs {
|
|
129
167
|
gap: $kendo-color-gradient-input-gap;
|
|
@@ -188,7 +226,6 @@
|
|
|
188
226
|
overflow: visible;
|
|
189
227
|
pointer-events: none;
|
|
190
228
|
}
|
|
191
|
-
|
|
192
229
|
}
|
|
193
230
|
|
|
194
231
|
|
|
@@ -44,6 +44,26 @@ $kendo-color-gradient-bg: $kendo-component-bg !default;
|
|
|
44
44
|
/// @group color-gradient
|
|
45
45
|
$kendo-color-gradient-border: $kendo-component-border !default;
|
|
46
46
|
|
|
47
|
+
/// The width of the small ColorGradient.
|
|
48
|
+
/// @group color-gradient
|
|
49
|
+
$kendo-color-gradient-sm-width: 226px !default;
|
|
50
|
+
/// The width of the medium ColorGradient.
|
|
51
|
+
/// @group color-gradient
|
|
52
|
+
$kendo-color-gradient-md-width: $kendo-color-gradient-width !default;
|
|
53
|
+
/// The width of the large ColorGradient.
|
|
54
|
+
/// @group color-gradient
|
|
55
|
+
$kendo-color-gradient-lg-width: 324px !default;
|
|
56
|
+
|
|
57
|
+
/// The spacing between the sections of the small ColorGradient.
|
|
58
|
+
/// @group color-gradient
|
|
59
|
+
$kendo-color-gradient-sm-gap: $kendo-color-gradient-gap !default;
|
|
60
|
+
/// The spacing between the sections of the medium ColorGradient.
|
|
61
|
+
/// @group color-gradient
|
|
62
|
+
$kendo-color-gradient-md-gap: $kendo-color-gradient-gap !default;
|
|
63
|
+
/// The spacing between the sections of the large ColorGradient.
|
|
64
|
+
/// @group color-gradient
|
|
65
|
+
$kendo-color-gradient-lg-gap: k-spacing(4.5) !default;
|
|
66
|
+
|
|
47
67
|
/// The border color of the focused ColorGradient.
|
|
48
68
|
/// @group color-gradient
|
|
49
69
|
$kendo-color-gradient-focus-border: null !default;
|
|
@@ -60,6 +80,25 @@ $kendo-color-gradient-canvas-gap: $kendo-color-gradient-spacer !default;
|
|
|
60
80
|
/// The height the ColorGradient canvas hsv rectangle.
|
|
61
81
|
/// @group color-gradient
|
|
62
82
|
$kendo-color-gradient-canvas-rectangle-height: 180px !default;
|
|
83
|
+
/// The height the small ColorGradient canvas hsv rectangle.
|
|
84
|
+
/// @group color-gradient
|
|
85
|
+
$kendo-color-gradient-sm-canvas-rectangle-height: 182px !default;
|
|
86
|
+
/// The height the medium ColorGradient canvas hsv rectangle.
|
|
87
|
+
/// @group color-gradient
|
|
88
|
+
$kendo-color-gradient-md-canvas-rectangle-height: $kendo-color-gradient-canvas-rectangle-height !default;
|
|
89
|
+
/// The height the large ColorGradient canvas hsv rectangle.
|
|
90
|
+
/// @group color-gradient
|
|
91
|
+
$kendo-color-gradient-lg-canvas-rectangle-height: 268px !default;
|
|
92
|
+
|
|
93
|
+
/// The spacing between the items of the small ColorGradient canvas.
|
|
94
|
+
/// @group color-gradient
|
|
95
|
+
$kendo-color-gradient-sm-canvas-gap: $kendo-color-gradient-canvas-gap !default;
|
|
96
|
+
/// The spacing between the items of the medium ColorGradient canvas.
|
|
97
|
+
/// @group color-gradient
|
|
98
|
+
$kendo-color-gradient-md-canvas-gap: $kendo-color-gradient-canvas-gap !default;
|
|
99
|
+
/// The spacing between the items of the large ColorGradient canvas.
|
|
100
|
+
/// @group color-gradient
|
|
101
|
+
$kendo-color-gradient-lg-canvas-gap: k-spacing(4.5) !default;
|
|
63
102
|
|
|
64
103
|
/// The width of the ColorGradient slider.
|
|
65
104
|
/// @group color-gradient
|
|
@@ -80,6 +119,15 @@ $kendo-color-gradient-slider-horizontal-size: 100% !default;
|
|
|
80
119
|
/// The background image of the ColorGradient alpha slider.
|
|
81
120
|
/// @group color-gradient
|
|
82
121
|
$kendo-color-gradient-slider-alpha-bgr: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAuSURBVHgBxYyxDQAwDMJIL+YT+DjtzFRliUfLcklqBCRT4eCTxbD6kdL2/LgYXqpvCbs3kBv/AAAAAElFTkSuQmCC" !default;
|
|
122
|
+
/// The height of the small ColorGradient vertical slider.
|
|
123
|
+
/// @group color-gradient
|
|
124
|
+
$kendo-color-gradient-sm-slider-vertical-size: 182px !default;
|
|
125
|
+
/// The height of the medium ColorGradient vertical slider.
|
|
126
|
+
/// @group color-gradient
|
|
127
|
+
$kendo-color-gradient-md-slider-vertical-size: $kendo-color-gradient-slider-vertical-size !default;
|
|
128
|
+
/// The height of the large ColorGradient vertical slider.
|
|
129
|
+
/// @group color-gradient
|
|
130
|
+
$kendo-color-gradient-lg-slider-vertical-size: 268px !default;
|
|
83
131
|
|
|
84
132
|
/// The width of the ColorGradient canvas drag handle.
|
|
85
133
|
/// @group color-gradient
|
|
@@ -127,7 +175,7 @@ $kendo-color-gradient-canvas-draghandle-margin-x: - math.div( $kendo-color-gradi
|
|
|
127
175
|
$kendo-color-gradient-input-width: 46px !default;
|
|
128
176
|
/// The spacing between the ColorGradient inputs.
|
|
129
177
|
/// @group color-gradient
|
|
130
|
-
$kendo-color-gradient-input-gap:
|
|
178
|
+
$kendo-color-gradient-input-gap: k-spacing(2) !default;
|
|
131
179
|
/// The spacing between the ColorGradient inputs and their labels.
|
|
132
180
|
/// @group color-gradient
|
|
133
181
|
$kendo-color-gradient-input-label-gap: calc( #{$kendo-color-gradient-spacer} / 3 ) !default;
|
|
@@ -135,9 +183,48 @@ $kendo-color-gradient-input-label-gap: calc( #{$kendo-color-gradient-spacer} / 3
|
|
|
135
183
|
/// @group color-gradient
|
|
136
184
|
$kendo-color-gradient-input-label-text: $kendo-subtle-text !default;
|
|
137
185
|
|
|
186
|
+
/// The width of the small ColorGradient input.
|
|
187
|
+
/// @group color-gradient
|
|
188
|
+
$kendo-color-gradient-sm-input-width: 42px !default;
|
|
189
|
+
/// The width of the medium ColorGradient input.
|
|
190
|
+
/// @group color-gradient
|
|
191
|
+
$kendo-color-gradient-md-input-width: $kendo-color-gradient-input-width !default;
|
|
192
|
+
/// The width of the large ColorGradient input.
|
|
193
|
+
/// @group color-gradient
|
|
194
|
+
$kendo-color-gradient-lg-input-width: 62.5px !default;
|
|
195
|
+
|
|
138
196
|
/// The font weight of the ColorGradient contrast ratio text.
|
|
139
197
|
/// @group color-gradient
|
|
140
198
|
$kendo-color-gradient-contrast-ratio-font-weight: var( --kendo-font-weight-bold, normal ) !default;
|
|
141
199
|
/// The spacing between the items in the ColorGradient contrast tool.
|
|
142
200
|
/// @group color-gradient
|
|
143
201
|
$kendo-color-gradient-contrast-spacer: calc( #{$kendo-color-gradient-spacer} / 1.5 ) !default;
|
|
202
|
+
|
|
203
|
+
/// The size map of the ColorGradient.
|
|
204
|
+
/// @group color-gradient
|
|
205
|
+
$kendo-color-gradient-sizes: (
|
|
206
|
+
sm: (
|
|
207
|
+
width: $kendo-color-gradient-sm-width,
|
|
208
|
+
vertical-slider-height: $kendo-color-gradient-sm-slider-vertical-size,
|
|
209
|
+
rectangle-height: $kendo-color-gradient-sm-canvas-rectangle-height,
|
|
210
|
+
input-width: $kendo-color-gradient-sm-input-width,
|
|
211
|
+
gap: $kendo-color-gradient-sm-gap,
|
|
212
|
+
canvas-gap: $kendo-color-gradient-sm-canvas-gap
|
|
213
|
+
),
|
|
214
|
+
md: (
|
|
215
|
+
width: $kendo-color-gradient-md-width,
|
|
216
|
+
vertical-slider-height: $kendo-color-gradient-md-slider-vertical-size,
|
|
217
|
+
rectangle-height: $kendo-color-gradient-md-canvas-rectangle-height,
|
|
218
|
+
input-width: $kendo-color-gradient-md-input-width,
|
|
219
|
+
gap: $kendo-color-gradient-md-gap,
|
|
220
|
+
canvas-gap: $kendo-color-gradient-md-canvas-gap
|
|
221
|
+
),
|
|
222
|
+
lg: (
|
|
223
|
+
width: $kendo-color-gradient-lg-width,
|
|
224
|
+
vertical-slider-height: $kendo-color-gradient-lg-slider-vertical-size,
|
|
225
|
+
rectangle-height: $kendo-color-gradient-lg-canvas-rectangle-height,
|
|
226
|
+
input-width: $kendo-color-gradient-lg-input-width,
|
|
227
|
+
gap: $kendo-color-gradient-lg-gap,
|
|
228
|
+
canvas-gap: $kendo-color-gradient-lg-canvas-gap
|
|
229
|
+
)
|
|
230
|
+
) !default;
|
|
@@ -18,6 +18,25 @@ $kendo-color-palette-tile-width: k-spacing(6) !default;
|
|
|
18
18
|
/// The height of the ColorPalette tile.
|
|
19
19
|
/// @group color-palette
|
|
20
20
|
$kendo-color-palette-tile-height: $kendo-color-palette-tile-width !default;
|
|
21
|
+
/// The width of the small ColorPalette tile.
|
|
22
|
+
/// @group color-palette
|
|
23
|
+
$kendo-color-palette-tile-sm-width: k-spacing(5.5) !default;
|
|
24
|
+
/// The height of the small ColorPalette tile.
|
|
25
|
+
/// @group color-palette
|
|
26
|
+
$kendo-color-palette-tile-sm-height: $kendo-color-palette-tile-sm-width !default;
|
|
27
|
+
/// The width of the medium ColorPalette tile.
|
|
28
|
+
/// @group color-palette
|
|
29
|
+
$kendo-color-palette-tile-md-width: $kendo-color-palette-tile-width !default;
|
|
30
|
+
/// The height of the medium ColorPalette tile.
|
|
31
|
+
/// @group color-palette
|
|
32
|
+
$kendo-color-palette-tile-md-height: $kendo-color-palette-tile-height !default;
|
|
33
|
+
/// The width of the large ColorPalette tile.
|
|
34
|
+
/// @group color-palette
|
|
35
|
+
$kendo-color-palette-tile-lg-width: k-spacing(8) !default;
|
|
36
|
+
/// The height of the large ColorPalette tile.
|
|
37
|
+
/// @group color-palette
|
|
38
|
+
$kendo-color-palette-tile-lg-height: $kendo-color-palette-tile-lg-width !default;
|
|
39
|
+
|
|
21
40
|
/// The shadow of the ColorPalette focused tile.
|
|
22
41
|
/// @group color-palette
|
|
23
42
|
$kendo-color-palette-tile-focus-shadow: 0 0 3px 1px rgba( black, .3 ), inset 0 0 0 1px rgba( white, .5 ) !default;
|
|
@@ -27,3 +46,20 @@ $kendo-color-palette-tile-hover-shadow: 0 0 3px 1px rgba( black, .3 ), inset 0 0
|
|
|
27
46
|
/// The shadow of the ColorPalette selected tile.
|
|
28
47
|
/// @group color-palette
|
|
29
48
|
$kendo-color-palette-tile-selected-shadow: 0 1px 3px 1px rgba( black, .3 ), inset 0 0 0 1px rgba( white, 1 ) !default;
|
|
49
|
+
|
|
50
|
+
/// The size map of the ColorPalette.
|
|
51
|
+
/// @group color-palette
|
|
52
|
+
$kendo-color-palette-sizes: (
|
|
53
|
+
sm: (
|
|
54
|
+
width: $kendo-color-palette-tile-sm-width,
|
|
55
|
+
height: $kendo-color-palette-tile-sm-height
|
|
56
|
+
),
|
|
57
|
+
md: (
|
|
58
|
+
width: $kendo-color-palette-tile-md-width,
|
|
59
|
+
height: $kendo-color-palette-tile-md-height
|
|
60
|
+
),
|
|
61
|
+
lg: (
|
|
62
|
+
width: $kendo-color-palette-tile-lg-width,
|
|
63
|
+
height: $kendo-color-palette-tile-lg-height
|
|
64
|
+
)
|
|
65
|
+
) !default;
|