@progress/kendo-theme-fluent 5.7.0 → 5.8.1-dev.1
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 +43451 -0
- package/dist/all.scss +1 -1
- package/package.json +5 -5
- package/scss/adaptive/_layout.scss +475 -0
- package/scss/adaptive/_theme.scss +92 -0
- package/scss/adaptive/_variables.scss +33 -0
- package/scss/adaptive/index.scss +32 -0
- package/scss/badge/_variables.scss +2 -2
- package/scss/button/_layout.scss +2 -1
- package/scss/button/_variables.scss +2 -2
- package/scss/calendar/_layout.scss +5 -4
- package/scss/calendar/_theme.scss +9 -9
- package/scss/calendar/_variables.scss +25 -25
- package/scss/captcha/_variables.scss +3 -2
- package/scss/card/_layout.scss +3 -3
- package/scss/card/_variables.scss +1 -1
- package/scss/chat/_layout.scss +460 -0
- package/scss/chat/_theme.scss +93 -0
- package/scss/chat/_variables.scss +213 -0
- package/scss/chat/index.scss +32 -0
- package/scss/checkbox/_layout.scss +3 -3
- package/scss/chip/_layout.scss +1 -1
- package/scss/chip/_theme.scss +3 -3
- package/scss/color-preview/_layout.scss +0 -1
- package/scss/coloreditor/_layout.scss +3 -1
- package/scss/coloreditor/_variables.scss +10 -2
- package/scss/colorgradient/_layout.scss +5 -1
- package/scss/colorgradient/_variables.scss +13 -10
- package/scss/core/_variables.scss +8 -7
- package/scss/core/color-system/utils/_functions.scss +1 -1
- package/scss/core/helpers/_index.scss +1 -0
- package/scss/core/helpers/_scrollbar.scss +25 -0
- package/scss/core/mixins/_decoration.scss +4 -0
- package/scss/dataviz/_layout.scss +5 -5
- package/scss/draggable/_variables.scss +2 -1
- package/scss/drawer/_variables.scss +2 -3
- package/scss/editor/_layout.scss +3 -2
- package/scss/fab/_variables.scss +10 -9
- package/scss/filemanager/_layout.scss +1 -1
- package/scss/filter/_layout.scss +1 -1
- package/scss/forms/_layout.scss +3 -2
- package/scss/forms/_variables.scss +1 -1
- package/scss/gantt/_layout.scss +782 -0
- package/scss/gantt/_theme.scss +275 -0
- package/scss/gantt/_variables.scss +232 -0
- package/scss/gantt/index.scss +35 -0
- package/scss/grid/_layout.scss +3 -3
- package/scss/grid/_theme.scss +7 -0
- package/scss/grid/_variables.scss +2 -2
- package/scss/imageeditor/_layout.scss +0 -2
- package/scss/imageeditor/_variables.scss +5 -4
- package/scss/index.scss +16 -18
- package/scss/input/_variables.scss +1 -1
- package/scss/listgroup/_layout.scss +0 -1
- package/scss/listview/_layout.scss +2 -2
- package/scss/loader/_layout.scss +3 -2
- package/scss/loader/_variables.scss +16 -15
- package/scss/map/_variables.scss +2 -2
- package/scss/menu/_variables.scss +7 -7
- package/scss/messagebox/_theme.scss +1 -1
- package/scss/messagebox/_variables.scss +5 -5
- package/scss/notification/_theme.scss +0 -1
- package/scss/notification/_variables.scss +0 -1
- package/scss/panelbar/_layout.scss +2 -2
- package/scss/pdf-viewer/_layout.scss +177 -0
- package/scss/pdf-viewer/_theme.scss +73 -0
- package/scss/pdf-viewer/_variables.scss +105 -0
- package/scss/pdf-viewer/index.scss +32 -0
- package/scss/pivotgrid/_layout.scss +640 -0
- package/scss/pivotgrid/_theme.scss +218 -0
- package/scss/pivotgrid/_variables.scss +239 -0
- package/scss/pivotgrid/index.scss +36 -0
- package/scss/popup/_variables.scss +2 -2
- package/scss/progressbar/_variables.scss +1 -1
- package/scss/radio/_layout.scss +10 -9
- package/scss/radio/_variables.scss +5 -4
- package/scss/rating/_variables.scss +1 -1
- package/scss/scheduler/_layout.scss +2 -2
- package/scss/scheduler/_variables.scss +1 -1
- package/scss/scrollview/_layout.scss +195 -0
- package/scss/scrollview/_theme.scss +91 -0
- package/scss/scrollview/_variables.scss +109 -0
- package/scss/scrollview/index.scss +26 -0
- package/scss/slider/_layout.scss +8 -8
- package/scss/slider/_theme.scss +4 -4
- package/scss/splitter/_variables.scss +5 -5
- package/scss/spreadsheet/_layout.scss +872 -0
- package/scss/spreadsheet/_theme.scss +254 -0
- package/scss/spreadsheet/_variables.scss +191 -0
- package/scss/spreadsheet/index.scss +41 -0
- package/scss/stepper/_layout.scss +10 -7
- package/scss/stepper/_theme.scss +4 -0
- package/scss/stepper/_variables.scss +9 -7
- package/scss/switch/_layout.scss +2 -2
- package/scss/table/_layout.scss +2 -2
- package/scss/taskboard/_layout.scss +7 -4
- package/scss/taskboard/_variables.scss +10 -9
- package/scss/timeline/_layout.scss +449 -0
- package/scss/timeline/_theme.scss +72 -0
- package/scss/timeline/_variables.scss +197 -0
- package/scss/timeline/index.scss +27 -0
- package/scss/timeselector/_layout.scss +4 -4
- package/scss/timeselector/_variables.scss +1 -1
- package/scss/tooltip/_layout.scss +6 -6
- package/scss/tooltip/_variables.scss +0 -2
- package/scss/treeview/_variables.scss +4 -4
- package/scss/typography/_layout.scss +17 -17
- package/scss/typography/_variables.scss +63 -63
- package/scss/upload/_layout.scss +1 -1
- package/scss/window/_layout.scss +1 -1
- package/scss/wizard/_layout.scss +1 -1
- package/scss/wizard/_variables.scss +2 -3
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
@use "../core/color-system" as *;
|
|
2
|
+
@use "../core/_variables.scss" as *;
|
|
3
|
+
@use "../toolbar/_variables.scss" as *;
|
|
4
|
+
|
|
5
|
+
// Chat
|
|
6
|
+
|
|
7
|
+
/// The box shadow transition of the chat.
|
|
8
|
+
/// @group chat
|
|
9
|
+
$kendo-chat-transition: var( --kendo-transition, inherit );
|
|
10
|
+
/// The hover text of links in the bubble of the chat.
|
|
11
|
+
/// @group chat
|
|
12
|
+
$kendo-chat-link-hover-text: var( --kendo-link-hover-text, inherit );
|
|
13
|
+
/// The text of links in the bubble of the chat.
|
|
14
|
+
/// @group chat
|
|
15
|
+
$kendo-chat-link-text: var( --kendo-link-text, inherit );
|
|
16
|
+
/// The horizontal padding of the chat.
|
|
17
|
+
/// @group chat
|
|
18
|
+
$kendo-chat-padding-x: map-get( $kendo-spacing, 4 ) !default;
|
|
19
|
+
/// The vertical padding of the chat.
|
|
20
|
+
/// @group chat
|
|
21
|
+
$kendo-chat-padding-y: map-get( $kendo-spacing, 4 ) !default;
|
|
22
|
+
/// the width of the chat.
|
|
23
|
+
/// @group chat
|
|
24
|
+
$kendo-chat-width: 500px !default;
|
|
25
|
+
/// The height of the chat.
|
|
26
|
+
/// @group chat
|
|
27
|
+
$kendo-chat-height: 600px !default;
|
|
28
|
+
/// The border width of the chat.
|
|
29
|
+
/// @group chat
|
|
30
|
+
$kendo-chat-border-width: 1px !default;
|
|
31
|
+
/// The font family of the chat.
|
|
32
|
+
/// @group chat
|
|
33
|
+
$kendo-chat-font-family: var( --kendo-font-family, inherit ) !default;
|
|
34
|
+
/// The font size of the chat.
|
|
35
|
+
/// @group chat
|
|
36
|
+
$kendo-chat-font-size: var( --kendo-font-size, inherit ) !default;
|
|
37
|
+
/// The line height of the chat.
|
|
38
|
+
/// @group chat
|
|
39
|
+
$kendo-chat-line-height: var( --kendo-line-height, normal ) !default;
|
|
40
|
+
|
|
41
|
+
/// The size of the chat typeing indicator dot in the chat.
|
|
42
|
+
/// @group chat
|
|
43
|
+
$kendo-chat-typing-indicator-dot-size: 8px !default;
|
|
44
|
+
/// The spacing of the chat typeing indicator dot in the chat.
|
|
45
|
+
/// @group chat
|
|
46
|
+
$kendo-chat-typing-indicator-dot-spacing: 5px !default;
|
|
47
|
+
|
|
48
|
+
/// The horizontal spacing between items of the chat.
|
|
49
|
+
/// @group chat
|
|
50
|
+
$kendo-chat-item-spacing-x: map-get( $kendo-spacing, 2 ) !default;
|
|
51
|
+
/// The vertical spacing between items of the chat.
|
|
52
|
+
/// @group chat
|
|
53
|
+
$kendo-chat-item-spacing-y: map-get( $kendo-spacing, 4 ) !default;
|
|
54
|
+
|
|
55
|
+
/// The horizontal padding of message list of the chat.
|
|
56
|
+
/// @group chat
|
|
57
|
+
$kendo-chat-message-list-padding-x: $kendo-chat-padding-x !default;
|
|
58
|
+
/// The vertical padding of message list of the chat.
|
|
59
|
+
/// @group chat
|
|
60
|
+
$kendo-chat-message-list-padding-y: $kendo-chat-padding-y !default;
|
|
61
|
+
/// The spacing of message list of the chat.
|
|
62
|
+
/// @group chat
|
|
63
|
+
$kendo-chat-message-list-spacing: $kendo-chat-item-spacing-y !default;
|
|
64
|
+
|
|
65
|
+
/// The font size of the timestap.
|
|
66
|
+
/// @group chat
|
|
67
|
+
$kendo-chat-timestamp-font-size: smaller !default;
|
|
68
|
+
/// The line height of the timestamp.
|
|
69
|
+
/// @group chat
|
|
70
|
+
$kendo-chat-timestamp-line-height: var( --kendo-line-height, normal ) !default;
|
|
71
|
+
/// the text transform of the timestamp.
|
|
72
|
+
/// @group chat
|
|
73
|
+
$kendo-chat-timestamp-transform: uppercase !default;
|
|
74
|
+
/// The text of the timestamp.
|
|
75
|
+
/// @group chat
|
|
76
|
+
$kendo-chat-timestamp-text: var( --kendo-subtle-text, inherit ) !default;
|
|
77
|
+
/// the background of the timestamp.
|
|
78
|
+
/// @group chat
|
|
79
|
+
$kendo-chat-timestamp-bg: normal !default;
|
|
80
|
+
|
|
81
|
+
/// The horizontal padding of the bubble message.
|
|
82
|
+
/// @group chat
|
|
83
|
+
$kendo-chat-bubble-padding-x: map-get( $kendo-spacing, 3 ) !default;
|
|
84
|
+
/// The vertical padding of the bubble message.
|
|
85
|
+
/// @group chat
|
|
86
|
+
$kendo-chat-bubble-padding-y: map-get( $kendo-spacing, 2 ) !default;
|
|
87
|
+
/// The spacing of the bubble message.
|
|
88
|
+
/// @group chat
|
|
89
|
+
$kendo-chat-bubble-spacing: map-get( $kendo-spacing, thin ) !default;
|
|
90
|
+
/// The line height of the bubble message.
|
|
91
|
+
/// @group chat
|
|
92
|
+
$kendo-chat-bubble-line-height: var( --kendo-line-height, normal ) !default;
|
|
93
|
+
|
|
94
|
+
/// The padding of the scroll button in the chat.
|
|
95
|
+
/// @group chat
|
|
96
|
+
$kendo-chat-scroll-button: map-get( $kendo-spacing, 2 ) !default;
|
|
97
|
+
/// The size of the card deck scrollbar in the chat.
|
|
98
|
+
/// @group chat
|
|
99
|
+
$kendo-card-deck-scrollbar-size: 20px !default;
|
|
100
|
+
|
|
101
|
+
/// The border radius of the bubble message.
|
|
102
|
+
/// @group chat
|
|
103
|
+
$kendo-chat-bubble-border-radius: map-get( $kendo-spacing, 3 ) !default;
|
|
104
|
+
/// The border radius of the small bubble message
|
|
105
|
+
/// @group chat
|
|
106
|
+
$kendo-chat-bubble-border-radius-sm: var( --kendo-border-radius, 0 ) !default;
|
|
107
|
+
|
|
108
|
+
/// The size of the avatar.
|
|
109
|
+
/// @group chat
|
|
110
|
+
$kendo-chat-avatar-size: 32px !default;
|
|
111
|
+
/// The spacing of the avatar.
|
|
112
|
+
/// @group chat
|
|
113
|
+
$kendo-chat-avatar-spacing: $kendo-chat-item-spacing-x !default;
|
|
114
|
+
|
|
115
|
+
/// The horizontal padding of the toolbar in the chat.
|
|
116
|
+
/// @group chat
|
|
117
|
+
$kendo-chat-toolbar-padding-x: $kendo-toolbar-padding-x !default;
|
|
118
|
+
/// The vertical padding of the toolbar in the chat.
|
|
119
|
+
/// @group chat
|
|
120
|
+
$kendo-chat-toolbar-padding-y: $kendo-toolbar-padding-y !default;
|
|
121
|
+
/// The spacing of the toolbar in the chat.
|
|
122
|
+
/// @group chat
|
|
123
|
+
$kendo-chat-toolbar-spacing: $kendo-toolbar-spacing !default;
|
|
124
|
+
/// The background of the toolbar in the chat.
|
|
125
|
+
/// @group chat
|
|
126
|
+
$kendo-chat-toolbar-bg: $kendo-toolbar-bg !default;
|
|
127
|
+
/// The text of the toolbar in the chat.
|
|
128
|
+
/// @group chat
|
|
129
|
+
$kendo-chat-toolbar-text: $kendo-toolbar-text !default;
|
|
130
|
+
/// The border of the toolbar in the chat.
|
|
131
|
+
/// @group chat
|
|
132
|
+
$kendo-chat-toolbar-border: inherit !default;
|
|
133
|
+
|
|
134
|
+
/// The horizontal padding of the quick reply in the chat.
|
|
135
|
+
/// @group chat
|
|
136
|
+
$kendo-chat-quick-reply-padding-x: map-get( $kendo-spacing, 3 ) !default;
|
|
137
|
+
/// The vertical padding of the quick reply in the chat.
|
|
138
|
+
/// @group chat
|
|
139
|
+
$kendo-chat-quick-reply-padding-y: map-get( $kendo-spacing, 2 ) !default;
|
|
140
|
+
/// The spacing of the quick reply in the chat.
|
|
141
|
+
/// @group chat
|
|
142
|
+
$kendo-chat-quick-reply-spacing: map-get( $kendo-spacing, 2 ) !default;
|
|
143
|
+
/// The line height of the quick reply in the chat.
|
|
144
|
+
/// @group chat
|
|
145
|
+
$kendo-chat-quick-reply-line-height: $kendo-chat-bubble-line-height !default;
|
|
146
|
+
|
|
147
|
+
/// The background of the chat.
|
|
148
|
+
/// @group chat
|
|
149
|
+
$kendo-chat-bg: get-theme-color-var( neutral-10 ) !default;
|
|
150
|
+
/// The text of the chat.
|
|
151
|
+
/// @group chat
|
|
152
|
+
$kendo-chat-text: get-theme-color-var( neutral-190 ) !default;
|
|
153
|
+
/// The border of the chat.
|
|
154
|
+
/// @group chat
|
|
155
|
+
$kendo-chat-border: get-theme-color-var( neutral-30 ) !default;
|
|
156
|
+
|
|
157
|
+
/// The background of the bubble in the chat.
|
|
158
|
+
/// @group chat
|
|
159
|
+
$kendo-chat-bubble-bg: var( --kendo-component-bg, inherit ) !default;
|
|
160
|
+
/// The text of the bubble in the chat.
|
|
161
|
+
/// @group chat
|
|
162
|
+
$kendo-chat-bubble-text: var( --kendo-component-text, inherit ) !default;
|
|
163
|
+
/// The border of the bubble in the chat.
|
|
164
|
+
/// @group chat
|
|
165
|
+
$kendo-chat-bubble-border: $kendo-chat-bubble-bg !default;
|
|
166
|
+
/// The box shadow of the bubble in the chat.
|
|
167
|
+
/// @group chat
|
|
168
|
+
$kendo-chat-bubble-shadow: var( --kendo-box-shadow-depth-1, none ) !default;
|
|
169
|
+
/// The hover shadow of the bubble in the chat.
|
|
170
|
+
/// @group chat
|
|
171
|
+
$kendo-chat-bubble-hover-shadow: var( --kendo-box-shadow-depth-3, none ) !default;
|
|
172
|
+
/// The selected shadow of the bubble in the chat.
|
|
173
|
+
/// @group chat
|
|
174
|
+
$kendo-chat-bubble-selected-shadow: var( --kendo-box-shadow-depth-3, none ) !default;
|
|
175
|
+
|
|
176
|
+
/// The background of the alt bubble in the chat.
|
|
177
|
+
/// @group chat
|
|
178
|
+
$kendo-chat-alt-bubble-bg: get-theme-color-var( primary-100 ) !default;
|
|
179
|
+
/// The text of the alt bubble in the chat.
|
|
180
|
+
/// @group chat
|
|
181
|
+
$kendo-chat-alt-bubble-text: var( --kendo-component-bg, inherit ) !default;
|
|
182
|
+
/// The border of the alt bubble in the chat.
|
|
183
|
+
/// @group chat
|
|
184
|
+
$kendo-chat-alt-bubble-border: $kendo-chat-alt-bubble-bg !default;
|
|
185
|
+
/// The shadow of the alt bubble in the chat.
|
|
186
|
+
/// @group chat
|
|
187
|
+
$kendo-chat-alt-bubble-shadow: var( --kendo-box-shadow-depth-1, none ) !default;
|
|
188
|
+
/// The hover shadow of the alt bubble in the chat.
|
|
189
|
+
/// @group chat
|
|
190
|
+
$kendo-chat-alt-bubble-hover-shadow: var( --kendo-box-shadow-depth-1, none ) !default;
|
|
191
|
+
/// The selected shadow of the alt bubble in the chat.
|
|
192
|
+
/// @group chat
|
|
193
|
+
$kendo-chat-alt-bubble-selected-shadow: var( --kendo-box-shadow-depth-1, none ) !default;
|
|
194
|
+
|
|
195
|
+
/// The background of quick reply in the chat.
|
|
196
|
+
/// @group chat
|
|
197
|
+
$kendo-chat-quick-reply-bg: transparent !default;
|
|
198
|
+
/// The text of quick reply in the chat.
|
|
199
|
+
/// @group chat
|
|
200
|
+
$kendo-chat-quick-reply-text: get-theme-color-var( primary-100 ) !default;
|
|
201
|
+
/// The border of quick reply in the chat.
|
|
202
|
+
/// @group chat
|
|
203
|
+
$kendo-chat-quick-reply-border: get-theme-color-var( primary-100 ) !default;
|
|
204
|
+
|
|
205
|
+
/// The hover background of quick reply in the chat.
|
|
206
|
+
/// @group chat
|
|
207
|
+
$kendo-chat-quick-reply-hover-bg: get-theme-color-var( primary-100 ) !default;
|
|
208
|
+
/// The text of quick reply in the chat.
|
|
209
|
+
/// @group chat
|
|
210
|
+
$kendo-chat-quick-reply-hover-text: var( --kendo-component-bg, inherit ) !default;
|
|
211
|
+
/// The hover border of quick reply in the chat.
|
|
212
|
+
/// @group chat
|
|
213
|
+
$kendo-chat-quick-reply-hover-border: get-theme-color-var( primary-100 ) !default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// Module meta
|
|
2
|
+
$_kendo-module-meta: (
|
|
3
|
+
name: "chat",
|
|
4
|
+
dependencies: (
|
|
5
|
+
"input",
|
|
6
|
+
"card",
|
|
7
|
+
"icon",
|
|
8
|
+
"toolbar"
|
|
9
|
+
)
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
// Component
|
|
14
|
+
@forward "_variables.scss";
|
|
15
|
+
@use "_layout.scss" as *;
|
|
16
|
+
@use "_theme.scss" as *;
|
|
17
|
+
|
|
18
|
+
// Register
|
|
19
|
+
@use "../core/module-system/" as module;
|
|
20
|
+
@include module.register( $_kendo-module-meta... );
|
|
21
|
+
|
|
22
|
+
// Expose
|
|
23
|
+
@mixin styles() {
|
|
24
|
+
@include module.render( "chat" ) {
|
|
25
|
+
@include kendo-chat--layout();
|
|
26
|
+
@include kendo-chat-card--layout();
|
|
27
|
+
@include kendo-chat-typing-indicator--layout();
|
|
28
|
+
@include kendo-chat-toolbar--layout();
|
|
29
|
+
|
|
30
|
+
@include kendo-chat--theme();
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
content: $kendo-checkbox-checked-glyph;
|
|
33
33
|
width: 1em;
|
|
34
34
|
height: 1em;
|
|
35
|
-
font-size: var( --INTERNAL-kendo-glyph-size,
|
|
35
|
+
font-size: var( --INTERNAL-kendo-glyph-size, ( map-get( $kendo-spacing, 4 ) - map-get( $kendo-spacing, thin ) ) );
|
|
36
36
|
font-family: var( --kendo-checkbox-glyph-font-family, #{ $kendo-checkbox-glyph-font-family } );
|
|
37
37
|
line-height: 1;
|
|
38
38
|
transform: translate(-50%, -50%) scale(0);
|
|
@@ -181,8 +181,8 @@
|
|
|
181
181
|
.k-ripple-container {
|
|
182
182
|
.k-checkbox::after {
|
|
183
183
|
content: "";
|
|
184
|
-
width: var( --INTERNAL-kendo-ripple-size-width,
|
|
185
|
-
height: var( --INTERNAL-kendo-ripple-size-height,
|
|
184
|
+
width: var( --INTERNAL-kendo-ripple-size-width, ( map-get( $kendo-spacing, 5 ) * 3 ));
|
|
185
|
+
height: var( --INTERNAL-kendo-ripple-size-height, ( map-get( $kendo-spacing, 5 ) * 3 ));
|
|
186
186
|
display: block;
|
|
187
187
|
position: absolute;
|
|
188
188
|
left: 50%;
|
package/scss/chip/_layout.scss
CHANGED
package/scss/chip/_theme.scss
CHANGED
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
|
|
22
22
|
&:focus,
|
|
23
23
|
&.k-focus {
|
|
24
|
-
--INTERNAL-kendo-chip-text: var(--kendo-chip-focus-text );
|
|
25
|
-
--INTERNAL-kendo-chip-bg: var(--kendo-chip-focus-bg );
|
|
26
|
-
--INTERNAL-kendo-chip-border: var(--kendo-chip-focus-border );
|
|
24
|
+
--INTERNAL-kendo-chip-text: var( --kendo-chip-focus-text );
|
|
25
|
+
--INTERNAL-kendo-chip-bg: var( --kendo-chip-focus-bg );
|
|
26
|
+
--INTERNAL-kendo-chip-border: var( --kendo-chip-focus-border );
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
&.k-chip-outline:focus::after,
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
|
|
52
52
|
// Views
|
|
53
53
|
.k-coloreditor-views {
|
|
54
|
-
min-width: calc( var(--kendo-color-preview-width, #{$kendo-colorpalette-tile-width}) * var(--kendo-color-preview-columns, 10) );
|
|
54
|
+
min-width: calc( var( --kendo-color-preview-width, #{$kendo-colorpalette-tile-width}) * var( --kendo-color-preview-columns, 10) );
|
|
55
55
|
padding-inline: var( --kendo-coloreditor-views-padding-x, #{$kendo-coloreditor-views-padding-x} );
|
|
56
56
|
padding-block-start: calc( var( --kendo-coloreditor-views-padding-y, #{$kendo-coloreditor-views-padding-y} ) * 2 );
|
|
57
57
|
padding-block-end: var( --kendo-coloreditor-views-padding-y, #{$kendo-coloreditor-views-padding-y} );
|
|
@@ -76,6 +76,8 @@
|
|
|
76
76
|
|
|
77
77
|
// Footer
|
|
78
78
|
.k-coloreditor-footer.k-actions {
|
|
79
|
+
padding-block: var( --kendo-coloreditor-footer-padding-y, #{$kendo-coloreditor-footer-padding-y} );
|
|
80
|
+
padding-inline: var( --kendo-coloreditor-footer-padding-y, #{$kendo-coloreditor-footer-padding-y} );
|
|
79
81
|
margin: 0;
|
|
80
82
|
}
|
|
81
83
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use "sass:math";
|
|
1
2
|
@use "../core/color-system" as *;
|
|
2
3
|
@use "../core/_variables.scss" as *;
|
|
3
4
|
|
|
@@ -7,7 +8,7 @@ $kendo-coloreditor-spacer: map-get( $kendo-spacing, 2 ) !default;
|
|
|
7
8
|
|
|
8
9
|
/// Min width of the color editor.
|
|
9
10
|
/// @group coloreditor
|
|
10
|
-
$kendo-coloreditor-min-width:
|
|
11
|
+
$kendo-coloreditor-min-width: 260px !default;
|
|
11
12
|
/// Border width of the color editor.
|
|
12
13
|
/// @group coloreditor
|
|
13
14
|
$kendo-coloreditor-border-width: 1px !default;
|
|
@@ -51,7 +52,7 @@ $kendo-coloreditor-header-padding-y: $kendo-coloreditor-spacer !default;
|
|
|
51
52
|
$kendo-coloreditor-header-padding-x: $kendo-coloreditor-header-padding-y !default;
|
|
52
53
|
/// Spacing of the color editor header.
|
|
53
54
|
/// @group coloreditor
|
|
54
|
-
$kendo-coloreditor-header-actions-spacing:
|
|
55
|
+
$kendo-coloreditor-header-actions-spacing: math.div( $kendo-coloreditor-spacer, 2 ) !default;
|
|
55
56
|
|
|
56
57
|
/// Width of the color editor preview.
|
|
57
58
|
/// @group coloreditor
|
|
@@ -73,3 +74,10 @@ $kendo-coloreditor-views-padding-x: $kendo-coloreditor-views-padding-y !default;
|
|
|
73
74
|
/// Spacing of the color editor views container.
|
|
74
75
|
/// @group coloreditor
|
|
75
76
|
$kendo-coloreditor-views-spacing: $kendo-coloreditor-spacer !default;
|
|
77
|
+
|
|
78
|
+
/// Horizontal padding of the color editor footer.
|
|
79
|
+
/// @group coloreditor
|
|
80
|
+
$kendo-coloreditor-footer-padding-y: map-get( $kendo-spacing, 2 ) !default;
|
|
81
|
+
/// Vertical padding of the color editor footer.
|
|
82
|
+
/// @group coloreditor
|
|
83
|
+
$kendo-coloreditor-footer-padding-x: map-get( $kendo-spacing, 2 ) !default;
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
position: relative;
|
|
42
42
|
flex: 1 1 auto;
|
|
43
43
|
user-select: none;
|
|
44
|
+
overflow: hidden;
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
.k-hsv-gradient {
|
|
47
|
-
@include border-radius( var( --kendo-colorgradient-canvas-border-radius, #{$kendo-colorgradient-canvas-border-radius} ) );
|
|
48
48
|
height: var( --kendo-colorgradient-canvas-rectangle-height, #{$kendo-colorgradient-canvas-rectangle-height} );
|
|
49
49
|
}
|
|
50
50
|
|
|
@@ -85,6 +85,7 @@
|
|
|
85
85
|
&.k-slider-vertical .k-slider-track {
|
|
86
86
|
width: var( --kendo-colorgradient-slider-track-size, #{$kendo-colorgradient-slider-track-size} );
|
|
87
87
|
border-radius: var( --kendo-colorgradient-slider-border-radius, #{$kendo-colorgradient-slider-border-radius} );
|
|
88
|
+
margin-inline-start: calc( -1 * (var( --kendo-colorgradient-slider-track-size, #{$kendo-colorgradient-slider-track-size} ) / 2) );
|
|
88
89
|
}
|
|
89
90
|
|
|
90
91
|
&.k-slider-horizontal {
|
|
@@ -111,6 +112,8 @@
|
|
|
111
112
|
.k-slider-track {
|
|
112
113
|
border-width: var( --kendo-colorgradient-slider-border-width, #{$kendo-colorgradient-slider-border-width} );
|
|
113
114
|
border-style: solid;
|
|
115
|
+
transform: none;
|
|
116
|
+
z-index: auto;
|
|
114
117
|
}
|
|
115
118
|
|
|
116
119
|
.k-slider-wrap,
|
|
@@ -129,6 +132,7 @@
|
|
|
129
132
|
gap: var( --kendo-colorgradient-input-spacing, #{$kendo-colorgradient-input-spacing} );
|
|
130
133
|
|
|
131
134
|
.k-colorgradient-input-label {
|
|
135
|
+
font-size: var( --kendo-colorgradient-input-label-font-size, #{$kendo-colorgradient-input-label-font-size} );
|
|
132
136
|
text-transform: uppercase;
|
|
133
137
|
}
|
|
134
138
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use "sass:math";
|
|
1
2
|
@use "../core/color-system" as *;
|
|
2
3
|
@use "../core/_variables.scss" as *;
|
|
3
4
|
|
|
@@ -7,7 +8,7 @@ $kendo-colorgradient-spacer: map-get( $kendo-spacing, 4 ) !default;
|
|
|
7
8
|
|
|
8
9
|
/// Default width of the color gradient.
|
|
9
10
|
/// @group cologradient
|
|
10
|
-
$kendo-colorgradient-width:
|
|
11
|
+
$kendo-colorgradient-width: 260px !default;
|
|
11
12
|
/// Border width of the color gradient.
|
|
12
13
|
/// @group cologradient
|
|
13
14
|
$kendo-colorgradient-border-width: 1px !default;
|
|
@@ -19,7 +20,7 @@ $kendo-colorgradient-border-radius: var( --kendo-border-radius-md, 0 ) !default;
|
|
|
19
20
|
$kendo-colorgradient-padding-y: $kendo-colorgradient-spacer !default;
|
|
20
21
|
/// Horizontal padding of the color gradient.
|
|
21
22
|
/// @group cologradient
|
|
22
|
-
$kendo-colorgradient-padding-x:
|
|
23
|
+
$kendo-colorgradient-padding-x: math.div( $kendo-colorgradient-spacer, 2 ) !default;
|
|
23
24
|
/// Spacing of the color gradient.
|
|
24
25
|
/// @group cologradient
|
|
25
26
|
$kendo-colorgradient-spacing: $kendo-colorgradient-spacer !default;
|
|
@@ -61,7 +62,7 @@ $kendo-colorgradient-canvas-border-radius: var( --kendo-border-radius-md, 0 ) !d
|
|
|
61
62
|
$kendo-colorgradient-canvas-border-width: 1px !default;
|
|
62
63
|
/// Spacing of the color gradient canvas.
|
|
63
64
|
/// @group cologradient
|
|
64
|
-
$kendo-colorgradient-canvas-spacing:
|
|
65
|
+
$kendo-colorgradient-canvas-spacing: math.div( $kendo-colorgradient-spacer, 2 ) !default;
|
|
65
66
|
/// Height the color gradient canvas hsv rectangle.
|
|
66
67
|
/// @group cologradient
|
|
67
68
|
$kendo-colorgradient-canvas-rectangle-height: 180px !default;
|
|
@@ -74,13 +75,16 @@ $kendo-colorgradient-canvas-draghandle-shadow: 0px 0.6px 1.8px rgba(0, 0, 0, 0.1
|
|
|
74
75
|
|
|
75
76
|
/// Default input width of the color gradient.
|
|
76
77
|
/// @group cologradient
|
|
77
|
-
$kendo-colorgradient-input-width:
|
|
78
|
+
$kendo-colorgradient-input-width: 48px !default;
|
|
78
79
|
/// Input spacing of the color gradient.
|
|
79
80
|
/// @group cologradient
|
|
80
|
-
$kendo-colorgradient-input-spacing:
|
|
81
|
+
$kendo-colorgradient-input-spacing: math.div( $kendo-colorgradient-spacer, 4 ) !default;
|
|
82
|
+
/// Input label font size of the color gradient.
|
|
83
|
+
/// @group cologradient
|
|
84
|
+
$kendo-colorgradient-input-label-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
81
85
|
/// Input label spacing of the color gradient.
|
|
82
86
|
/// @group cologradient
|
|
83
|
-
$kendo-colorgradient-input-label-spacing:
|
|
87
|
+
$kendo-colorgradient-input-label-spacing: math.div( $kendo-colorgradient-spacer, 4 ) !default;
|
|
84
88
|
/// Input label text color of the color gradient.
|
|
85
89
|
/// @group cologradient
|
|
86
90
|
$kendo-colorgradient-input-label-text: var( --kendo-subtle-text, inherit ) !default;
|
|
@@ -90,7 +94,7 @@ $kendo-colorgradient-input-label-text: var( --kendo-subtle-text, inherit ) !defa
|
|
|
90
94
|
$kendo-colorgradient-contrast-ratio-font-weight: var( --kendo-font-weight-bold, normal ) !default;
|
|
91
95
|
/// Spacing of the color gradient contrast tool.
|
|
92
96
|
/// @group cologradient
|
|
93
|
-
$kendo-colorgradient-contrast-spacing:
|
|
97
|
+
$kendo-colorgradient-contrast-spacing: math.div( $kendo-colorgradient-spacer, 1.5 ) !default;
|
|
94
98
|
|
|
95
99
|
/// The size of the color gradient slider.
|
|
96
100
|
/// @group cologradient
|
|
@@ -142,8 +146,7 @@ $kendo-colorgradient-draghandle-hover-shadow: $kendo-colorgradient-draghandle-fo
|
|
|
142
146
|
|
|
143
147
|
/// Vertical offset of the color gradient canvas draghandle.
|
|
144
148
|
/// @group cologradient
|
|
145
|
-
$kendo-colorgradient-canvas-draghandle-offset-y:
|
|
149
|
+
$kendo-colorgradient-canvas-draghandle-offset-y: ( -1 * math.div( $kendo-colorgradient-draghandle-height, 2 ) ) !default;
|
|
146
150
|
/// Horizontal offset of the color gradient canvas draghandle.
|
|
147
151
|
/// @group cologradient
|
|
148
|
-
$kendo-colorgradient-canvas-draghandle-offset-x:
|
|
149
|
-
|
|
152
|
+
$kendo-colorgradient-canvas-draghandle-offset-x: ( -1 * math.div( $kendo-colorgradient-draghandle-width, 2 ) ) !default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use "sass:math";
|
|
1
2
|
@use "sass:meta";
|
|
2
3
|
|
|
3
4
|
// Options
|
|
@@ -64,7 +65,7 @@ $kendo-font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helv
|
|
|
64
65
|
|
|
65
66
|
|
|
66
67
|
/// Line height used along with $font-size.
|
|
67
|
-
$kendo-line-height:
|
|
68
|
+
$kendo-line-height: math.div( 20, 14 ) !default;
|
|
68
69
|
$kendo-line-height-xs: 1 !default;
|
|
69
70
|
$kendo-line-height-sm: 1.25 !default;
|
|
70
71
|
$kendo-line-height-md: $kendo-line-height !default;
|
|
@@ -83,17 +84,17 @@ $default-scrollbar-width: 17px !default;
|
|
|
83
84
|
|
|
84
85
|
/// Border radius for all components.
|
|
85
86
|
$kendo-border-radius: map-get( $kendo-spacing, thin ) !default;
|
|
86
|
-
$kendo-border-radius-sm:
|
|
87
|
+
$kendo-border-radius-sm: math.div( $kendo-border-radius, 2 ) !default;
|
|
87
88
|
$kendo-border-radius-md: $kendo-border-radius !default;
|
|
88
|
-
$kendo-border-radius-lg:
|
|
89
|
+
$kendo-border-radius-lg: ( $kendo-border-radius * 2 ) !default;
|
|
89
90
|
|
|
90
91
|
// Metrics
|
|
91
92
|
$kendo-padding-x: map-get( $kendo-spacing, 2 ) !default;
|
|
92
93
|
$kendo-padding-y: map-get( $kendo-spacing, 1 ) !default;
|
|
93
|
-
$kendo-padding-x-sm:
|
|
94
|
-
$kendo-padding-y-sm:
|
|
95
|
-
$kendo-padding-x-lg:
|
|
96
|
-
$kendo-padding-y-lg:
|
|
94
|
+
$kendo-padding-x-sm: math.div( $kendo-padding-x, 2) !default;
|
|
95
|
+
$kendo-padding-y-sm: math.div( $kendo-padding-y, 2) !default;
|
|
96
|
+
$kendo-padding-x-lg: ( $kendo-padding-x * 1.5) !default;
|
|
97
|
+
$kendo-padding-y-lg: ( $kendo-padding-y * 1.5) !default;
|
|
97
98
|
|
|
98
99
|
// Default transition
|
|
99
100
|
$kendo-transition: color .2s ease-in-out, background-color .2s ease-in-out, border-color .2s ease-in-out, box-shadow .2s ease-in-out, opacity .2s ease-in-out, width .2s ease-in-out, height .2s ease-in-out !default;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
@return map-get( get-theme-palette( $palette ), $hue );
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
@function get-theme-color-var($name, $fallback: "inherit", $prefix: "kendo") {
|
|
13
|
+
@function get-theme-color-var( $name, $fallback: "inherit", $prefix: "kendo") {
|
|
14
14
|
@return var( --#{$prefix}-#{$name}, #{$fallback} );
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// virtual scrollbar
|
|
2
|
+
.k-scrollbar {
|
|
3
|
+
position: absolute;
|
|
4
|
+
overflow: scroll;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.k-scrollbar-vertical {
|
|
8
|
+
top: 0;
|
|
9
|
+
right: 0;
|
|
10
|
+
width: 17px; // scrollbar width
|
|
11
|
+
height: 100%;
|
|
12
|
+
overflow-x: hidden;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.k-touch-scrollbar {
|
|
16
|
+
display: none;
|
|
17
|
+
position: absolute;
|
|
18
|
+
z-index: 200000;
|
|
19
|
+
height: 8px;
|
|
20
|
+
width: 8px;
|
|
21
|
+
border: 1px solid #8a8a8a;
|
|
22
|
+
background-color: #858585;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
@@ -25,3 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
+
|
|
29
|
+
@mixin repeating-striped-gradient( $color: rgba(255,255,255,.15), $background: #FFF, $angle: 45deg, $largeStep: 2px, $smallStep: 1px) {
|
|
30
|
+
background-image: repeating-linear-gradient($angle, $background, $background $smallStep, $color $smallStep, $color $largeStep);
|
|
31
|
+
}
|
|
@@ -154,11 +154,11 @@
|
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
.k-left-handle {
|
|
157
|
-
inset-inline-start: calc( var( kendo-selection-handle-size, #{$kendo-selection-handle-size} ) / -2 );
|
|
157
|
+
inset-inline-start: calc( var( --kendo-selection-handle-size, #{$kendo-selection-handle-size} ) / -2 );
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
.k-right-handle {
|
|
161
|
-
inset-inline-end: calc( var( kendo-selection-handle-size, #{$kendo-selection-handle-size} ) / -2 );
|
|
161
|
+
inset-inline-end: calc( var( --kendo-selection-handle-size, #{$kendo-selection-handle-size} ) / -2 );
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
.k-left-handle div {
|
|
@@ -177,12 +177,12 @@
|
|
|
177
177
|
|
|
178
178
|
.k-left-handle.k-handle-active div {
|
|
179
179
|
margin-inline-start: calc( var( --kendo-selection-handle-size, #{$kendo-selection-handle-size} ) * 2 );
|
|
180
|
-
padding-inline-start: calc(
|
|
180
|
+
padding-inline-start: calc( ( var( --kendo-selection-handle-size, #{$kendo-selection-handle-size} ) * 2 ) + ( var( --kendo-selection-handle-size, #{$kendo-selection-handle-size} ) / 1.5 ) );
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
.k-right-handle.k-handle-active div {
|
|
184
184
|
margin-inline-start: calc( var( --kendo-selection-handle-size, #{$kendo-selection-handle-size} ) * 2 );
|
|
185
|
-
padding-inline-end: calc(
|
|
185
|
+
padding-inline-end: calc( ( var( --kendo-selection-handle-size, #{$kendo-selection-handle-size} ) * 2 ) + ( var( --kendo-selection-handle-size, #{$kendo-selection-handle-size} ) / 1.5 ) );
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
.k-mask {
|
|
@@ -462,7 +462,7 @@
|
|
|
462
462
|
@if $type == "color" {
|
|
463
463
|
// background-color can store any color
|
|
464
464
|
background-color: $value;
|
|
465
|
-
} @else if $type == "string" and string.slice( $value, 1, 4) == "var(" {
|
|
465
|
+
} @else if $type == "string" and string.slice( $value, 1, 4 ) == "var(" {
|
|
466
466
|
background-color: $value;
|
|
467
467
|
} @else if $type == "number" {
|
|
468
468
|
// margin-top can store positive & negative values
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use "sass:math";
|
|
1
2
|
@use "../core/color-system" as *;
|
|
2
3
|
@use "../core/_variables.scss" as *;
|
|
3
4
|
|
|
@@ -53,7 +54,7 @@ $kendo-drag-clue-shadow: var( --kendo-box-shadow-depth-2, none ) !default;
|
|
|
53
54
|
$kendo-drop-hint-arrow-size: 6px !default;
|
|
54
55
|
/// Arrow spacing of the drop hint.
|
|
55
56
|
/// @group draggable
|
|
56
|
-
$kendo-drop-hint-arrow-spacing:
|
|
57
|
+
$kendo-drop-hint-arrow-spacing: math.div( $kendo-drop-hint-arrow-size, 2 ) !default;
|
|
57
58
|
/// Width of the horizontal drop hint line.
|
|
58
59
|
/// @group draggable
|
|
59
60
|
$kendo-drop-hint-line-h-width: 20px !default;
|
|
@@ -125,8 +125,7 @@ $kendo-drawer-item-selected-text: $black !default;
|
|
|
125
125
|
$kendo-drawer-item-selected-icon-text: get-theme-color-var( primary-120 ) !default;
|
|
126
126
|
/// Background color of the selected and hovered drawer item.
|
|
127
127
|
/// @group drawer
|
|
128
|
-
$kendo-drawer-item-selected-hover-bg: var(--kendo-selected-hover-bg, inherit ) !default;
|
|
128
|
+
$kendo-drawer-item-selected-hover-bg: var( --kendo-selected-hover-bg, inherit ) !default;
|
|
129
129
|
/// Text color of the selected and hovered drawer item.
|
|
130
130
|
/// @group drawer
|
|
131
|
-
$kendo-drawer-item-selected-hover-text: var(--kendo-selected-hover-text, inherit ) !default;
|
|
132
|
-
|
|
131
|
+
$kendo-drawer-item-selected-hover-text: var( --kendo-selected-hover-text, inherit ) !default;
|
package/scss/editor/_layout.scss
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use "sass:math";
|
|
1
2
|
@use "../core/" as *;
|
|
2
3
|
@use "_variables.scss" as *;
|
|
3
4
|
@use "../toolbar/_variables.scss" as *;
|
|
@@ -267,8 +268,8 @@
|
|
|
267
268
|
// Insert table
|
|
268
269
|
.k-ct-popup {
|
|
269
270
|
box-sizing: border-box;
|
|
270
|
-
width:
|
|
271
|
-
padding:
|
|
271
|
+
width: ( $ct-cell-size * 10 - math.div($ct-cell-size, 2) );
|
|
272
|
+
padding: math.div( $ct-cell-size, 4 );
|
|
272
273
|
|
|
273
274
|
.k-button {
|
|
274
275
|
width: 100%;
|