@progress/kendo-theme-fluent 8.0.0-dev.0 → 8.0.0-dev.10
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 +6809 -3721
- package/dist/meta/sassdoc-data.json +40427 -33117
- package/dist/meta/sassdoc-raw-data.json +7826 -3729
- package/lib/swatches/all.json +1 -1
- package/lib/swatches/fluent-main.json +1 -1
- package/package.json +5 -5
- package/scss/action-buttons/_variables.scss +3 -3
- package/scss/action-sheet/_layout.scss +1 -1
- package/scss/action-sheet/_variables.scss +13 -13
- package/scss/adaptive/_layout.scss +8 -8
- package/scss/appbar/_variables.scss +6 -6
- package/scss/avatar/_variables.scss +3 -3
- package/scss/badge/_theme.scss +4 -0
- package/scss/badge/_variables.scss +10 -10
- package/scss/bottom-navigation/_variables.scss +8 -8
- package/scss/breadcrumb/_variables.scss +16 -16
- package/scss/button/_layout.scss +1 -1
- package/scss/button/_variables.scss +58 -58
- package/scss/calendar/_layout.scss +44 -40
- package/scss/calendar/_theme.scss +4 -0
- package/scss/calendar/_variables.scss +40 -35
- package/scss/captcha/_variables.scss +3 -3
- package/scss/card/_variables.scss +13 -13
- package/scss/chat/_layout.scss +2 -2
- package/scss/chat/_variables.scss +13 -13
- package/scss/checkbox/_layout.scss +1 -1
- package/scss/checkbox/_variables.scss +15 -15
- package/scss/chip/_variables.scss +11 -11
- package/scss/color-preview/_variables.scss +1 -1
- package/scss/coloreditor/_variables.scss +6 -6
- package/scss/colorgradient/_variables.scss +9 -9
- package/scss/colorpalette/_variables.scss +1 -1
- package/scss/core/_index.scss +18 -1
- package/scss/core/_variables.scss +3 -59
- package/scss/core/border-radii/_index.scss +42 -0
- package/scss/core/color-system/_swatch-legacy.scss +0 -4
- package/scss/core/spacing/_index.scss +28 -0
- package/scss/core/typography/_index.scss +70 -0
- package/scss/dataviz/_layout.scss +11 -5
- package/scss/dataviz/_variables.scss +1 -1
- package/scss/daterangepicker/_layout.scss +1 -1
- package/scss/datetimepicker/_variables.scss +1 -1
- package/scss/dialog/_variables.scss +8 -8
- package/scss/dock-manager/_layout.scss +1 -0
- package/scss/dock-manager/_variables.scss +5 -5
- package/scss/draggable/_variables.scss +2 -1
- package/scss/drawer/_layout.scss +2 -0
- package/scss/drawer/_variables.scss +9 -7
- package/scss/dropdowntree/_variables.scss +1 -1
- package/scss/dropzone/_variables.scss +5 -5
- package/scss/editor/_layout.scss +6 -5
- package/scss/editor/_variables.scss +3 -3
- package/scss/expansion-panel/_variables.scss +6 -6
- package/scss/fab/_variables.scss +16 -16
- package/scss/filemanager/_variables.scss +6 -6
- package/scss/filter/_variables.scss +2 -1
- package/scss/forms/_layout.scss +6 -5
- package/scss/forms/_variables.scss +15 -14
- package/scss/gantt/_layout.scss +10 -9
- package/scss/gantt/_variables.scss +77 -76
- package/scss/grid/_layout.scss +2 -1
- package/scss/grid/_variables.scss +172 -172
- package/scss/icon/_variables.scss +2 -2
- package/scss/imageeditor/_variables.scss +11 -11
- package/scss/index.scss +8 -1
- package/scss/input/_variables.scss +9 -34
- package/scss/list/_layout.scss +1 -0
- package/scss/list/_variables.scss +24 -24
- package/scss/listbox/_variables.scss +2 -2
- package/scss/listgroup/_layout.scss +6 -6
- package/scss/listgroup/_variables.scss +3 -3
- package/scss/listview/_layout.scss +1 -0
- package/scss/listview/_variables.scss +8 -8
- package/scss/loader/_layout.scss +1 -1
- package/scss/loader/_variables.scss +29 -29
- package/scss/map/_variables.scss +6 -5
- package/scss/mediaplayer/_variables.scss +2 -2
- package/scss/menu/_variables.scss +16 -16
- package/scss/messagebox/_variables.scss +3 -3
- package/scss/notification/_variables.scss +6 -6
- package/scss/orgchart/_variables.scss +10 -10
- package/scss/pager/_variables.scss +8 -8
- package/scss/panelbar/_layout.scss +1 -0
- package/scss/panelbar/_variables.scss +9 -7
- package/scss/pdf-viewer/_variables.scss +4 -4
- package/scss/pivotgrid/_layout.scss +3 -3
- package/scss/pivotgrid/_variables.scss +17 -17
- package/scss/popover/_variables.scss +2 -2
- package/scss/popup/_variables.scss +5 -5
- package/scss/progressbar/_variables.scss +4 -4
- package/scss/prompt/_variables.scss +7 -7
- package/scss/radio/_variables.scss +13 -13
- package/scss/rating/_variables.scss +3 -3
- package/scss/scheduler/_layout.scss +2 -2
- package/scss/scheduler/_variables.scss +91 -91
- package/scss/scrollview/_variables.scss +2 -2
- package/scss/signature/_variables.scss +5 -5
- package/scss/skeleton/_variables.scss +2 -2
- package/scss/slider/_variables.scss +7 -7
- package/scss/splitter/_variables.scss +6 -6
- package/scss/spreadsheet/_layout.scss +9 -8
- package/scss/spreadsheet/_variables.scss +19 -18
- package/scss/stepper/_variables.scss +8 -8
- package/scss/table/_variables.scss +10 -10
- package/scss/tabstrip/_variables.scss +59 -54
- package/scss/taskboard/_variables.scss +23 -23
- package/scss/tilelayout/_variables.scss +1 -1
- package/scss/timeline/_variables.scss +24 -24
- package/scss/timeselector/_layout.scss +1 -1
- package/scss/timeselector/_variables.scss +6 -6
- package/scss/toolbar/_layout.scss +1 -1
- package/scss/toolbar/_variables.scss +9 -9
- package/scss/tooltip/_layout.scss +10 -10
- package/scss/tooltip/_variables.scss +6 -6
- package/scss/treelist/_layout.scss +2 -2
- package/scss/treelist/_variables.scss +2 -2
- package/scss/treeview/_variables.scss +11 -11
- package/scss/typography/_layout.scss +9 -0
- package/scss/typography/_theme.scss +7 -0
- package/scss/typography/_variables.scss +279 -66
- package/scss/upload/_layout.scss +1 -0
- package/scss/upload/_variables.scss +5 -5
- package/scss/window/_layout.scss +1 -1
- package/scss/window/_variables.scss +10 -10
- package/scss/wizard/_variables.scss +8 -8
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
|
|
5
5
|
/// The horizontal padding of the Card.
|
|
6
6
|
/// @group card
|
|
7
|
-
$kendo-card-padding-x:
|
|
7
|
+
$kendo-card-padding-x: k-spacing(3) !default;
|
|
8
8
|
/// The vertical padding of the Card.
|
|
9
9
|
/// @group card
|
|
10
|
-
$kendo-card-padding-y:
|
|
10
|
+
$kendo-card-padding-y: k-spacing(3) !default;
|
|
11
11
|
/// The width of the border around the Card.
|
|
12
12
|
/// @group card
|
|
13
13
|
$kendo-card-border-width: 0px !default;
|
|
14
14
|
/// The border radius of the Card.
|
|
15
15
|
/// @group card
|
|
16
|
-
$kendo-card-border-radius:
|
|
16
|
+
$kendo-card-border-radius: k-border-radius(md) !default;
|
|
17
17
|
/// The inner border radius of the Card.
|
|
18
18
|
/// @group card
|
|
19
19
|
$kendo-card-inner-border-radius: calc( #{$kendo-card-border-radius} - #{$kendo-card-border-width} ) !default;
|
|
@@ -29,7 +29,7 @@ $kendo-card-line-height: var( --kendo-line-height, normal ) !default;
|
|
|
29
29
|
|
|
30
30
|
/// The spacing between the Cards in the Card deck.
|
|
31
31
|
/// @group card
|
|
32
|
-
$kendo-card-deck-gap:
|
|
32
|
+
$kendo-card-deck-gap: k-spacing(4) !default;
|
|
33
33
|
|
|
34
34
|
/// The background color of the Card.
|
|
35
35
|
/// @group card
|
|
@@ -71,10 +71,10 @@ $kendo-card-header-font-weight: var( --kendo-font-weight, initial ) !default;
|
|
|
71
71
|
$kendo-card-header-line-height: var( --kendo-line-height, normal ) !default;
|
|
72
72
|
/// The horizontal padding of the Card header.
|
|
73
73
|
/// @group card
|
|
74
|
-
$kendo-card-header-padding-x:
|
|
74
|
+
$kendo-card-header-padding-x: k-spacing(3) !default;
|
|
75
75
|
/// The vertical padding of the Card header.
|
|
76
76
|
/// @group card
|
|
77
|
-
$kendo-card-header-padding-y:
|
|
77
|
+
$kendo-card-header-padding-y: k-spacing(3) !default;
|
|
78
78
|
/// The bottom border width of the Card header.
|
|
79
79
|
/// @group card
|
|
80
80
|
$kendo-card-header-border-width: 0 !default;
|
|
@@ -90,10 +90,10 @@ $kendo-card-header-border: inherit !default; // header-border
|
|
|
90
90
|
|
|
91
91
|
/// The horizontal padding of the Card body.
|
|
92
92
|
/// @group card
|
|
93
|
-
$kendo-card-body-padding-x:
|
|
93
|
+
$kendo-card-body-padding-x: k-spacing(3) !default;
|
|
94
94
|
/// The vertical padding of the Card body.
|
|
95
95
|
/// @group card
|
|
96
|
-
$kendo-card-body-padding-y:
|
|
96
|
+
$kendo-card-body-padding-y: k-spacing(3) !default;
|
|
97
97
|
|
|
98
98
|
/// The horizontal padding of the Card footer.
|
|
99
99
|
/// @group card
|
|
@@ -128,7 +128,7 @@ $kendo-card-title-font-weight: $kendo-card-header-font-weight !default;
|
|
|
128
128
|
$kendo-card-title-line-height: var( --kendo-line-height, normal ) !default;
|
|
129
129
|
/// The bottom margin of the Card title.
|
|
130
130
|
/// @group card
|
|
131
|
-
$kendo-card-title-margin-bottom:
|
|
131
|
+
$kendo-card-title-margin-bottom: k-spacing(3) !default;
|
|
132
132
|
/// The font size of the Card subtitle.
|
|
133
133
|
/// @group card
|
|
134
134
|
$kendo-card-subtitle-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
@@ -140,7 +140,7 @@ $kendo-card-subtitle-font-family: var( --kendo-font-family, inherit ) !default;
|
|
|
140
140
|
$kendo-card-subtitle-line-height: var( --kendo-line-height, normal ) !default;
|
|
141
141
|
/// The bottom margin of the Card subtitle.
|
|
142
142
|
/// @group card
|
|
143
|
-
$kendo-card-subtitle-margin-bottom:
|
|
143
|
+
$kendo-card-subtitle-margin-bottom: k-spacing(3) !default;
|
|
144
144
|
/// The text color of the Card subtitle.
|
|
145
145
|
/// @group card
|
|
146
146
|
$kendo-card-subtitle-text: $kendo-subtle-text !default;
|
|
@@ -157,16 +157,16 @@ $kendo-card-avatar-spacing: $kendo-card-header-padding-x !default;
|
|
|
157
157
|
|
|
158
158
|
/// The horizontal padding of the Card actions.
|
|
159
159
|
/// @group card
|
|
160
|
-
$kendo-card-actions-padding-x:
|
|
160
|
+
$kendo-card-actions-padding-x: k-spacing(3) !default;
|
|
161
161
|
/// The vertical padding of the Card actions.
|
|
162
162
|
/// @group card
|
|
163
|
-
$kendo-card-actions-padding-y:
|
|
163
|
+
$kendo-card-actions-padding-y: k-spacing(3) !default;
|
|
164
164
|
/// The top border width of the Card actions.
|
|
165
165
|
/// @group card
|
|
166
166
|
$kendo-card-actions-border-width: 0 !default;
|
|
167
167
|
/// The spacing between the Card actions.
|
|
168
168
|
/// @group card
|
|
169
|
-
$kendo-card-actions-gap:
|
|
169
|
+
$kendo-card-actions-gap: k-spacing(2) !default;
|
|
170
170
|
|
|
171
171
|
/// The border radius of the scroll button in the Card deck.
|
|
172
172
|
/// @group card
|
package/scss/chat/_layout.scss
CHANGED
|
@@ -321,8 +321,8 @@
|
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
.k-chat .k-card-deck {
|
|
324
|
-
max-width: calc( 100% + #{ $kendo-chat-message-list-padding-y * 2
|
|
325
|
-
max-width: calc( 100% + var( --kendo-chat-message-list-padding-y, #{ $kendo-chat-message-list-padding-y * 2
|
|
324
|
+
max-width: calc( 100% + calc( #{ $kendo-chat-message-list-padding-y} * 2 ) ); // prevent overflowing in the parent element
|
|
325
|
+
max-width: calc( 100% + var( --kendo-chat-message-list-padding-y, calc( #{ $kendo-chat-message-list-padding-y} * 2 ) ) );
|
|
326
326
|
box-sizing: border-box;
|
|
327
327
|
margin-inline: calc( var( --kendo-chat-message-list-padding-x, #{ $kendo-chat-message-list-padding-x } ) * -1 );
|
|
328
328
|
padding-block-start: var( --kendo-chat-message-list-padding-y, #{ $kendo-chat-message-list-padding-y } );
|
|
@@ -15,10 +15,10 @@ $kendo-chat-link-hover-text: var( --kendo-link-hover-text, inherit ) !default;
|
|
|
15
15
|
$kendo-chat-link-text: var( --kendo-link-text, inherit ) !default;
|
|
16
16
|
/// The horizontal padding of the Chat.
|
|
17
17
|
/// @group chat
|
|
18
|
-
$kendo-chat-padding-x:
|
|
18
|
+
$kendo-chat-padding-x: k-spacing(4) !default;
|
|
19
19
|
/// The vertical padding of the Chat.
|
|
20
20
|
/// @group chat
|
|
21
|
-
$kendo-chat-padding-y:
|
|
21
|
+
$kendo-chat-padding-y: k-spacing(4) !default;
|
|
22
22
|
/// The width of the Chat.
|
|
23
23
|
/// @group chat
|
|
24
24
|
$kendo-chat-width: 500px !default;
|
|
@@ -43,14 +43,14 @@ $kendo-chat-line-height: var( --kendo-line-height, normal ) !default;
|
|
|
43
43
|
$kendo-chat-typing-indicator-dot-size: 8px !default;
|
|
44
44
|
/// The spacing of the Chat typing indicator dot.
|
|
45
45
|
/// @group chat
|
|
46
|
-
$kendo-chat-typing-indicator-dot-spacing:
|
|
46
|
+
$kendo-chat-typing-indicator-dot-spacing: calc( #{k-spacing(2.5)} / 2 ) !default;
|
|
47
47
|
|
|
48
48
|
/// The horizontal spacing between the items of the Chat.
|
|
49
49
|
/// @group chat
|
|
50
|
-
$kendo-chat-item-spacing-x:
|
|
50
|
+
$kendo-chat-item-spacing-x: k-spacing(2) !default;
|
|
51
51
|
/// The vertical spacing between the items of the Chat.
|
|
52
52
|
/// @group chat
|
|
53
|
-
$kendo-chat-item-spacing-y:
|
|
53
|
+
$kendo-chat-item-spacing-y: k-spacing(4) !default;
|
|
54
54
|
|
|
55
55
|
/// The horizontal padding of the Chat message list.
|
|
56
56
|
/// @group chat
|
|
@@ -80,27 +80,27 @@ $kendo-chat-timestamp-bg: normal !default;
|
|
|
80
80
|
|
|
81
81
|
/// The horizontal padding of the Chat bubble message.
|
|
82
82
|
/// @group chat
|
|
83
|
-
$kendo-chat-bubble-padding-x:
|
|
83
|
+
$kendo-chat-bubble-padding-x: k-spacing(3) !default;
|
|
84
84
|
/// The vertical padding of the Chat bubble message.
|
|
85
85
|
/// @group chat
|
|
86
|
-
$kendo-chat-bubble-padding-y:
|
|
86
|
+
$kendo-chat-bubble-padding-y: k-spacing(2) !default;
|
|
87
87
|
/// The spacing of the Chat bubble message.
|
|
88
88
|
/// @group chat
|
|
89
|
-
$kendo-chat-bubble-spacing:
|
|
89
|
+
$kendo-chat-bubble-spacing: k-spacing(0.5) !default;
|
|
90
90
|
/// The line height of the Chat bubble message.
|
|
91
91
|
/// @group chat
|
|
92
92
|
$kendo-chat-bubble-line-height: var( --kendo-line-height, normal ) !default;
|
|
93
93
|
|
|
94
94
|
/// The spacing of the Chat scroll button.
|
|
95
95
|
/// @group chat
|
|
96
|
-
$kendo-chat-scroll-button:
|
|
96
|
+
$kendo-chat-scroll-button: k-spacing(2) !default;
|
|
97
97
|
/// The size of the Chat Card deck scrollbar.
|
|
98
98
|
/// @group chat
|
|
99
99
|
$kendo-card-deck-scrollbar-size: 20px !default;
|
|
100
100
|
|
|
101
101
|
/// The border radius of the Chat bubble message.
|
|
102
102
|
/// @group chat
|
|
103
|
-
$kendo-chat-bubble-border-radius:
|
|
103
|
+
$kendo-chat-bubble-border-radius: k-spacing(3) !default;
|
|
104
104
|
/// The border radius of the Chat small bubble message
|
|
105
105
|
/// @group chat
|
|
106
106
|
$kendo-chat-bubble-border-radius-sm: var( --kendo-border-radius, 0 ) !default;
|
|
@@ -133,13 +133,13 @@ $kendo-chat-toolbar-border: inherit !default;
|
|
|
133
133
|
|
|
134
134
|
/// The horizontal padding of the Chat quick reply.
|
|
135
135
|
/// @group chat
|
|
136
|
-
$kendo-chat-quick-reply-padding-x:
|
|
136
|
+
$kendo-chat-quick-reply-padding-x: k-spacing(3) !default;
|
|
137
137
|
/// The vertical padding of the Chat quick reply.
|
|
138
138
|
/// @group chat
|
|
139
|
-
$kendo-chat-quick-reply-padding-y:
|
|
139
|
+
$kendo-chat-quick-reply-padding-y: k-spacing(2) !default;
|
|
140
140
|
/// The spacing of the Chat quick reply.
|
|
141
141
|
/// @group chat
|
|
142
|
-
$kendo-chat-quick-reply-spacing:
|
|
142
|
+
$kendo-chat-quick-reply-spacing: k-spacing(2) !default;
|
|
143
143
|
/// The line height of the Chat quick reply.
|
|
144
144
|
/// @group chat
|
|
145
145
|
$kendo-chat-quick-reply-line-height: $kendo-chat-bubble-line-height !default;
|
|
@@ -15,24 +15,24 @@ $kendo-checkbox-border-width: 1px !default;
|
|
|
15
15
|
// A map with the different CheckBox sizes.
|
|
16
16
|
$kendo-checkbox-sizes: (
|
|
17
17
|
sm: (
|
|
18
|
-
size:
|
|
19
|
-
glyph-size:
|
|
20
|
-
indicator-size:
|
|
21
|
-
indeterminate-size:
|
|
18
|
+
size: k-spacing(4),
|
|
19
|
+
glyph-size: k-spacing(3.5),
|
|
20
|
+
indicator-size: k-spacing(4),
|
|
21
|
+
indeterminate-size: k-spacing(3),
|
|
22
22
|
ripple-size: 300%
|
|
23
23
|
),
|
|
24
24
|
md: (
|
|
25
|
-
size:
|
|
26
|
-
glyph-size:
|
|
27
|
-
indicator-size:
|
|
28
|
-
indeterminate-size:
|
|
25
|
+
size: k-spacing(5),
|
|
26
|
+
glyph-size: k-spacing(4.5),
|
|
27
|
+
indicator-size: k-spacing(4),
|
|
28
|
+
indeterminate-size: k-spacing(4),
|
|
29
29
|
ripple-size: 300%
|
|
30
30
|
),
|
|
31
31
|
lg: (
|
|
32
|
-
size:
|
|
33
|
-
glyph-size:
|
|
34
|
-
indicator-size:
|
|
35
|
-
indeterminate-size:
|
|
32
|
+
size: k-spacing(6),
|
|
33
|
+
glyph-size: k-spacing(5.5),
|
|
34
|
+
indicator-size: k-spacing(4),
|
|
35
|
+
indeterminate-size: k-spacing(5),
|
|
36
36
|
ripple-size: 300%
|
|
37
37
|
)
|
|
38
38
|
) !default;
|
|
@@ -192,17 +192,17 @@ $kendo-checkbox-disabled-indeterminate-image: escape-svg( url("data:image/svg+xm
|
|
|
192
192
|
|
|
193
193
|
/// The horizontal margin of the CheckBox inside a label.
|
|
194
194
|
/// @group checkbox
|
|
195
|
-
$kendo-checkbox-label-margin-x:
|
|
195
|
+
$kendo-checkbox-label-margin-x: k-spacing(2) !default;
|
|
196
196
|
|
|
197
197
|
|
|
198
198
|
// Checkbox list
|
|
199
199
|
|
|
200
200
|
/// The spacing between the items in a horizontal CheckBox list.
|
|
201
201
|
/// @group checkbox
|
|
202
|
-
$kendo-checkbox-list-spacing:
|
|
202
|
+
$kendo-checkbox-list-spacing: k-spacing(4) !default;
|
|
203
203
|
/// The horizontal padding of the CheckBox list items.
|
|
204
204
|
/// @group checkbox
|
|
205
|
-
$kendo-checkbox-list-item-padding-x:
|
|
205
|
+
$kendo-checkbox-list-item-padding-x: k-spacing(0) !default;
|
|
206
206
|
/// The vertical padding of the CheckBox list items.
|
|
207
207
|
/// @group checkbox
|
|
208
208
|
$kendo-checkbox-list-item-padding-y: $kendo-list-md-item-padding-y !default;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
$kendo-chip-border-width: 1px !default;
|
|
9
9
|
/// The spacing between the text and the icons of the Chip.
|
|
10
10
|
/// @group chip
|
|
11
|
-
$kendo-chip-spacing:
|
|
11
|
+
$kendo-chip-spacing: k-spacing(1) !default;
|
|
12
12
|
|
|
13
13
|
/// The font family of the Chip.
|
|
14
14
|
/// @group chip
|
|
@@ -41,7 +41,7 @@ $kendo-chip-outline-disabled-border: if($kendo-enable-color-system, color-mix(in
|
|
|
41
41
|
|
|
42
42
|
/// The offset of the outline focused Chip.
|
|
43
43
|
/// @group chip
|
|
44
|
-
$kendo-chip-focus-offset:
|
|
44
|
+
$kendo-chip-focus-offset: k-spacing(0.5) !default;
|
|
45
45
|
/// The outline width of the outline focused Chip.
|
|
46
46
|
/// @group chip
|
|
47
47
|
$kendo-chip-focus-outline-width: 1px !default;
|
|
@@ -51,23 +51,23 @@ $kendo-chip-focus-outline-style: solid !default;
|
|
|
51
51
|
|
|
52
52
|
/// The horizontal padding of the small Chip.
|
|
53
53
|
/// @group chip
|
|
54
|
-
$kendo-chip-sm-padding-x:
|
|
54
|
+
$kendo-chip-sm-padding-x: k-spacing(2) !default;
|
|
55
55
|
/// The horizontal padding of the medium Chip.
|
|
56
56
|
/// @group chip
|
|
57
|
-
$kendo-chip-md-padding-x:
|
|
57
|
+
$kendo-chip-md-padding-x: k-spacing(2) !default;
|
|
58
58
|
/// The horizontal padding of the large Chip.
|
|
59
59
|
/// @group chip
|
|
60
|
-
$kendo-chip-lg-padding-x:
|
|
60
|
+
$kendo-chip-lg-padding-x: k-spacing(2) !default;
|
|
61
61
|
|
|
62
62
|
/// The vertical padding of the small Chip.
|
|
63
63
|
/// @group chip
|
|
64
|
-
$kendo-chip-sm-padding-y:
|
|
64
|
+
$kendo-chip-sm-padding-y: k-spacing(0.5) !default;
|
|
65
65
|
/// The vertical padding of the medium Chip.
|
|
66
66
|
/// @group chip
|
|
67
|
-
$kendo-chip-md-padding-y:
|
|
67
|
+
$kendo-chip-md-padding-y: k-spacing(1) !default;
|
|
68
68
|
/// The vertical padding of the large Chip.
|
|
69
69
|
/// @group chip
|
|
70
|
-
$kendo-chip-lg-padding-y:
|
|
70
|
+
$kendo-chip-lg-padding-y: k-spacing(1.5) !default;
|
|
71
71
|
|
|
72
72
|
/// The font size of the small Chip.
|
|
73
73
|
/// @group chip
|
|
@@ -223,7 +223,7 @@ $kendo-chip-theme-colors: () !default;
|
|
|
223
223
|
/// The sizes of the Chip list.
|
|
224
224
|
/// @group chip
|
|
225
225
|
$kendo-chip-list-sizes: (
|
|
226
|
-
sm:
|
|
227
|
-
md:
|
|
228
|
-
lg:
|
|
226
|
+
sm: k-spacing(1),
|
|
227
|
+
md: k-spacing(1),
|
|
228
|
+
lg: k-spacing(1)
|
|
229
229
|
) !default;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/// Border radius of the color preview.
|
|
4
4
|
/// @group color-preview
|
|
5
|
-
$kendo-color-preview-border-radius:
|
|
5
|
+
$kendo-color-preview-border-radius: k-border-radius(md) !default;
|
|
6
6
|
/// Border width of the color preview.
|
|
7
7
|
/// @group color-preview
|
|
8
8
|
$kendo-color-preview-border-width: 1px !default;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
/// The spacer of the ColorEditor.
|
|
6
6
|
/// @group coloreditor
|
|
7
|
-
$kendo-color-editor-spacer:
|
|
7
|
+
$kendo-color-editor-spacer: k-spacing(2) !default;
|
|
8
8
|
|
|
9
9
|
/// The minimum width of the ColorEditor.
|
|
10
10
|
/// @group coloreditor
|
|
@@ -14,7 +14,7 @@ $kendo-color-editor-min-width: 260px !default;
|
|
|
14
14
|
$kendo-color-editor-border-width: 1px !default;
|
|
15
15
|
/// The border radius of the ColorEditor.
|
|
16
16
|
/// @group coloreditor
|
|
17
|
-
$kendo-color-editor-border-radius:
|
|
17
|
+
$kendo-color-editor-border-radius: k-border-radius(md) !default;
|
|
18
18
|
/// The font family of the ColorEditor.
|
|
19
19
|
/// @group coloreditor
|
|
20
20
|
$kendo-color-editor-font-family: var( --kendo-font-family, inherit ) !default;
|
|
@@ -52,7 +52,7 @@ $kendo-color-editor-header-padding-y: $kendo-color-editor-spacer !default;
|
|
|
52
52
|
$kendo-color-editor-header-padding-x: $kendo-color-editor-header-padding-y !default;
|
|
53
53
|
/// The spacing between the ColorEditor header actions.
|
|
54
54
|
/// @group coloreditor
|
|
55
|
-
$kendo-color-editor-header-actions-spacing:
|
|
55
|
+
$kendo-color-editor-header-actions-spacing: calc( #{$kendo-color-editor-spacer} / 2 ) !default;
|
|
56
56
|
|
|
57
57
|
/// The width of the ColorEditor preview.
|
|
58
58
|
/// @group coloreditor
|
|
@@ -62,7 +62,7 @@ $kendo-color-editor-color-preview-width: 34px !default;
|
|
|
62
62
|
$kendo-color-editor-color-preview-height: 14px !default;
|
|
63
63
|
/// The spacing between the colors in the ColorEditor preview.
|
|
64
64
|
/// @group coloreditor
|
|
65
|
-
$kendo-color-editor-preview-spacing:
|
|
65
|
+
$kendo-color-editor-preview-spacing: k-spacing(1) !default;
|
|
66
66
|
|
|
67
67
|
/// The vertical padding of the ColorEditor views container.
|
|
68
68
|
/// @group coloreditor
|
|
@@ -76,10 +76,10 @@ $kendo-color-editor-views-spacing: $kendo-color-editor-spacer !default;
|
|
|
76
76
|
|
|
77
77
|
/// The vertical padding of the ColorEditor footer.
|
|
78
78
|
/// @group coloreditor
|
|
79
|
-
$kendo-color-editor-footer-padding-y:
|
|
79
|
+
$kendo-color-editor-footer-padding-y: k-spacing(2) !default;
|
|
80
80
|
/// The horizontal padding of the ColorEditor footer.
|
|
81
81
|
/// @group coloreditor
|
|
82
|
-
$kendo-color-editor-footer-padding-x:
|
|
82
|
+
$kendo-color-editor-footer-padding-x: k-spacing(2) !default;
|
|
83
83
|
|
|
84
84
|
/// The outline color of the focused ColorGradient.
|
|
85
85
|
/// @group coloreditor
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
/// The spacer of the ColorGradient.
|
|
6
6
|
/// @group cologradient
|
|
7
|
-
$kendo-color-gradient-spacer:
|
|
7
|
+
$kendo-color-gradient-spacer: k-spacing(4) !default;
|
|
8
8
|
|
|
9
9
|
/// The width of the ColorGradient.
|
|
10
10
|
/// @group cologradient
|
|
@@ -14,13 +14,13 @@ $kendo-color-gradient-width: 260px !default;
|
|
|
14
14
|
$kendo-color-gradient-border-width: 2px !default;
|
|
15
15
|
/// The border radius of the ColorGradient.
|
|
16
16
|
/// @group cologradient
|
|
17
|
-
$kendo-color-gradient-border-radius:
|
|
17
|
+
$kendo-color-gradient-border-radius: k-border-radius(md) !default;
|
|
18
18
|
/// The vertical padding of the ColorGradient.
|
|
19
19
|
/// @group cologradient
|
|
20
20
|
$kendo-color-gradient-padding-y: $kendo-color-gradient-spacer !default;
|
|
21
21
|
/// The horizontal padding of the ColorGradient.
|
|
22
22
|
/// @group cologradient
|
|
23
|
-
$kendo-color-gradient-padding-x:
|
|
23
|
+
$kendo-color-gradient-padding-x: calc( #{$kendo-color-gradient-spacer} / 2 ) !default;
|
|
24
24
|
/// The spacing between the sections of the ColorGradient.
|
|
25
25
|
/// @group cologradient
|
|
26
26
|
$kendo-color-gradient-spacing: $kendo-color-gradient-spacer !default;
|
|
@@ -59,10 +59,10 @@ $kendo-color-gradient-focus-shadow: var( --kendo-box-shadow-depth-3, none ) !def
|
|
|
59
59
|
$kendo-color-gradient-canvas-border-width: 0 !default;
|
|
60
60
|
/// The border radius of the ColorGradient canvas.
|
|
61
61
|
/// @group cologradient
|
|
62
|
-
$kendo-color-gradient-canvas-border-radius:
|
|
62
|
+
$kendo-color-gradient-canvas-border-radius: k-border-radius(md) !default;
|
|
63
63
|
/// The spacing between the items of the ColorGradient canvas.
|
|
64
64
|
/// @group cologradient
|
|
65
|
-
$kendo-color-gradient-canvas-spacing:
|
|
65
|
+
$kendo-color-gradient-canvas-spacing: calc( #{$kendo-color-gradient-spacer} / 2 ) !default;
|
|
66
66
|
/// The height the ColorGradient canvas hsv rectangle.
|
|
67
67
|
/// @group cologradient
|
|
68
68
|
$kendo-color-gradient-canvas-rectangle-height: 180px !default;
|
|
@@ -78,7 +78,7 @@ $kendo-color-gradient-canvas-draghandle-shadow: var( --kendo-box-shadow-depth-2,
|
|
|
78
78
|
$kendo-color-gradient-slider-track-size: 20px !default;
|
|
79
79
|
/// The border radius of the ColorGradient slider.
|
|
80
80
|
/// @group cologradient
|
|
81
|
-
$kendo-color-gradient-slider-border-radius:
|
|
81
|
+
$kendo-color-gradient-slider-border-radius: k-border-radius(md) !default;
|
|
82
82
|
/// The width of the border around the ColorGradient slider.
|
|
83
83
|
/// @group cologradient
|
|
84
84
|
$kendo-color-gradient-slider-border-width: if($kendo-enable-color-system, 0, 1px) !default;
|
|
@@ -139,13 +139,13 @@ $kendo-color-gradient-canvas-draghandle-offset-x: ( -1 * math.div( $kendo-color-
|
|
|
139
139
|
$kendo-color-gradient-input-width: 48px !default;
|
|
140
140
|
/// The spacing between the ColorGradient inputs.
|
|
141
141
|
/// @group cologradient
|
|
142
|
-
$kendo-color-gradient-input-spacing:
|
|
142
|
+
$kendo-color-gradient-input-spacing: calc( #{$kendo-color-gradient-spacer} / 4 ) !default;
|
|
143
143
|
/// The font size of the ColorGradient input labels.
|
|
144
144
|
/// @group cologradient
|
|
145
145
|
$kendo-color-gradient-input-label-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
146
146
|
/// The spacing between the ColorGradient inputs and their labels.
|
|
147
147
|
/// @group cologradient
|
|
148
|
-
$kendo-color-gradient-input-label-spacing:
|
|
148
|
+
$kendo-color-gradient-input-label-spacing: calc( #{$kendo-color-gradient-spacer} / 4 ) !default;
|
|
149
149
|
/// The text color of the ColorGradient input labels.
|
|
150
150
|
/// @group cologradient
|
|
151
151
|
$kendo-color-gradient-input-label-text: var( --kendo-subtle-text, inherit ) !default;
|
|
@@ -155,4 +155,4 @@ $kendo-color-gradient-input-label-text: var( --kendo-subtle-text, inherit ) !def
|
|
|
155
155
|
$kendo-color-gradient-contrast-ratio-font-weight: var( --kendo-font-weight-bold, normal ) !default;
|
|
156
156
|
/// The spacing between the items in the ColorGradient contrast tool.
|
|
157
157
|
/// @group cologradient
|
|
158
|
-
$kendo-color-gradient-contrast-spacing:
|
|
158
|
+
$kendo-color-gradient-contrast-spacing: calc( #{$kendo-color-gradient-spacer} / 1.5 ) !default;
|
|
@@ -22,7 +22,7 @@ $kendo-color-palette-tile-outline-style: solid !default;
|
|
|
22
22
|
$kendo-color-palette-tile-outline: transparent !default;
|
|
23
23
|
/// The width of the ColorPalette tile.
|
|
24
24
|
/// @group colorpalette
|
|
25
|
-
$kendo-color-palette-tile-width:
|
|
25
|
+
$kendo-color-palette-tile-width: k-spacing(6) !default;
|
|
26
26
|
/// The height of the ColorPalette tile.
|
|
27
27
|
/// @group colorpalette
|
|
28
28
|
$kendo-color-palette-tile-height: $kendo-color-palette-tile-width !default;
|
package/scss/core/_index.scss
CHANGED
|
@@ -7,6 +7,15 @@
|
|
|
7
7
|
@use "./elevation" as *;
|
|
8
8
|
@forward "./elevation/legacy";
|
|
9
9
|
|
|
10
|
+
// Typography
|
|
11
|
+
@use "./typography/" as *;
|
|
12
|
+
|
|
13
|
+
// Spacing
|
|
14
|
+
@use "./spacing" as *;
|
|
15
|
+
|
|
16
|
+
// Radii
|
|
17
|
+
@use "./border-radii/" as *;
|
|
18
|
+
|
|
10
19
|
// Variables
|
|
11
20
|
@forward "./variables";
|
|
12
21
|
|
|
@@ -46,7 +55,15 @@
|
|
|
46
55
|
$kendo-loading-text: $kendo-loading-text !default,
|
|
47
56
|
// Elevation
|
|
48
57
|
$_default-elevation: $kendo-elevation,
|
|
49
|
-
$kendo-elevation: $kendo-elevation !default
|
|
58
|
+
$kendo-elevation: $kendo-elevation !default,
|
|
59
|
+
// Typography
|
|
60
|
+
$kendo-letter-spacing: $kendo-letter-spacing !default,
|
|
61
|
+
$kendo-font-family: $kendo-font-family !default,
|
|
62
|
+
$kendo-font-sizes: $kendo-font-sizes !default,
|
|
63
|
+
$kendo-line-heights: $kendo-line-heights !default,
|
|
64
|
+
// Radii
|
|
65
|
+
$_default-border-radii: $kendo-border-radii,
|
|
66
|
+
$kendo-border-radii: $kendo-border-radii !default
|
|
50
67
|
);
|
|
51
68
|
|
|
52
69
|
@forward "./color-system/swatch-legacy";
|
|
@@ -2,47 +2,13 @@
|
|
|
2
2
|
@use "sass:math";
|
|
3
3
|
@use "sass:meta";
|
|
4
4
|
|
|
5
|
+
// Options
|
|
6
|
+
$kendo-enable-typography: false !default;
|
|
7
|
+
|
|
5
8
|
$kendo-use-input-button-width: true !default;
|
|
6
9
|
$kendo-use-input-spinner-width: true !default;
|
|
7
10
|
$kendo-use-input-spinner-icon-offset: false !default;
|
|
8
11
|
|
|
9
|
-
/// Base font size across all components.
|
|
10
|
-
$kendo-font-size: 14px !default;
|
|
11
|
-
$kendo-font-size-xs: 10px !default;
|
|
12
|
-
$kendo-font-size-sm: 12px !default;
|
|
13
|
-
$kendo-font-size-md: $kendo-font-size !default;
|
|
14
|
-
$kendo-font-size-lg: 16px !default;
|
|
15
|
-
$kendo-font-size-xl: 20px !default;
|
|
16
|
-
|
|
17
|
-
$kendo-font-sizes: (
|
|
18
|
-
xs: $kendo-font-size-xs,
|
|
19
|
-
sm: $kendo-font-size-sm,
|
|
20
|
-
md: $kendo-font-size-md,
|
|
21
|
-
lg: $kendo-font-size-lg,
|
|
22
|
-
xl: $kendo-font-size-xl
|
|
23
|
-
) !default;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
/// Font family across all components.
|
|
27
|
-
$kendo-font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif !default;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
/// Line height used along with $kendo-font-size.
|
|
31
|
-
$kendo-line-height: math.div( 20, 14 ) !default;
|
|
32
|
-
$kendo-line-height-xs: 1 !default;
|
|
33
|
-
$kendo-line-height-sm: 1.25 !default;
|
|
34
|
-
$kendo-line-height-md: $kendo-line-height !default;
|
|
35
|
-
$kendo-line-height-lg: 1.5 !default;
|
|
36
|
-
$kendo-line-height-em: calc( #{$kendo-line-height} * 1em) !default;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
/// Font weight.
|
|
40
|
-
$kendo-font-weight: 400 !default;
|
|
41
|
-
$kendo-font-weight-light: 300 !default;
|
|
42
|
-
$kendo-font-weight-bold: 600 !default;
|
|
43
|
-
|
|
44
|
-
$kendo-letter-spacing: normal !default;
|
|
45
|
-
|
|
46
12
|
// $kendo-scrollbar-width: 17px !default;
|
|
47
13
|
|
|
48
14
|
// Default transition
|
|
@@ -50,28 +16,6 @@ $kendo-transition: color .2s ease-in-out, background-color .2s ease-in-out, bord
|
|
|
50
16
|
|
|
51
17
|
@mixin core-styles() {
|
|
52
18
|
:root {
|
|
53
|
-
--kendo-font-family: #{meta.inspect($kendo-font-family)};
|
|
54
|
-
|
|
55
|
-
--kendo-font-size: #{$kendo-font-size};
|
|
56
|
-
--kendo-font-size-xs: #{$kendo-font-size-xs};
|
|
57
|
-
--kendo-font-size-sm: #{$kendo-font-size-sm};
|
|
58
|
-
--kendo-font-size-md: #{$kendo-font-size-md};
|
|
59
|
-
--kendo-font-size-lg: #{$kendo-font-size-lg};
|
|
60
|
-
--kendo-font-size-xl: #{$kendo-font-size-xl};
|
|
61
|
-
|
|
62
|
-
--kendo-line-height: #{$kendo-line-height};
|
|
63
|
-
--kendo-line-height-xs: #{$kendo-line-height-xs};
|
|
64
|
-
--kendo-line-height-sm: #{$kendo-line-height-sm};
|
|
65
|
-
--kendo-line-height-md: #{$kendo-line-height-md};
|
|
66
|
-
--kendo-line-height-lg: #{$kendo-line-height-lg};
|
|
67
|
-
|
|
68
|
-
--kendo-font-weight: #{$kendo-font-weight};
|
|
69
|
-
--kendo-font-weight-light: #{$kendo-font-weight-light};
|
|
70
|
-
--kendo-font-weight-bold: #{$kendo-font-weight-bold};
|
|
71
|
-
|
|
72
|
-
--kendo-letter-spacing: #{$kendo-letter-spacing};
|
|
73
|
-
|
|
74
|
-
|
|
75
19
|
--kendo-transition: #{$kendo-transition};
|
|
76
20
|
}
|
|
77
21
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "@progress/kendo-theme-core/scss/spacing/index.import.scss" as *;
|
|
3
|
+
|
|
4
|
+
/// The none border radius used across the Components.
|
|
5
|
+
/// @group radii
|
|
6
|
+
$kendo-border-radius-none: map.get($kendo-spacing, 0) !default;
|
|
7
|
+
/// The extra small border radius used across the Components.
|
|
8
|
+
/// @group radii
|
|
9
|
+
$kendo-border-radius-xs: map.get($kendo-spacing, 1px) !default;
|
|
10
|
+
/// The small border radius used across the Components.
|
|
11
|
+
/// @group radii
|
|
12
|
+
$kendo-border-radius-sm: map.get($kendo-spacing, 0.5) !default;
|
|
13
|
+
/// The medium border radius used across the Components.
|
|
14
|
+
/// @group radii
|
|
15
|
+
$kendo-border-radius-md: map.get($kendo-spacing, 1) !default;
|
|
16
|
+
/// The large border radius used across the Components.
|
|
17
|
+
/// @group radii
|
|
18
|
+
$kendo-border-radius-lg: map.get($kendo-spacing, 2) !default;
|
|
19
|
+
/// The extra large border radius used across the Components.
|
|
20
|
+
/// @group radii
|
|
21
|
+
$kendo-border-radius-xl: map.get($kendo-spacing, 3) !default;
|
|
22
|
+
/// The third largest border radius used across the Components.
|
|
23
|
+
/// @group radii
|
|
24
|
+
$kendo-border-radius-xxl: map.get($kendo-spacing, 4) !default;
|
|
25
|
+
/// The second largest border radius used across the Components.
|
|
26
|
+
/// @group radii
|
|
27
|
+
$kendo-border-radius-xxxl: map.get($kendo-spacing, 5) !default;
|
|
28
|
+
|
|
29
|
+
$_default-border-radii: (
|
|
30
|
+
none: $kendo-border-radius-none,
|
|
31
|
+
xs: $kendo-border-radius-xs,
|
|
32
|
+
sm: $kendo-border-radius-sm,
|
|
33
|
+
md: $kendo-border-radius-md,
|
|
34
|
+
lg: $kendo-border-radius-lg,
|
|
35
|
+
xl: $kendo-border-radius-xl,
|
|
36
|
+
xxl: $kendo-border-radius-xxl,
|
|
37
|
+
xxxl: $kendo-border-radius-xxxl
|
|
38
|
+
) !default;
|
|
39
|
+
|
|
40
|
+
/// The global radii Map.
|
|
41
|
+
/// @group radii
|
|
42
|
+
$kendo-border-radii: $_default-border-radii !default;
|
|
@@ -93,8 +93,4 @@
|
|
|
93
93
|
--kendo-invalid-text: #{core.$kendo-invalid-text};
|
|
94
94
|
--kendo-invalid-border: #{core.$kendo-invalid-border};
|
|
95
95
|
--kendo-invalid-shadow: #{core.$kendo-invalid-shadow};
|
|
96
|
-
|
|
97
|
-
--kendo-border-radius-sm: #{core.$kendo-border-radius-sm};
|
|
98
|
-
--kendo-border-radius-md: #{core.$kendo-border-radius-md};
|
|
99
|
-
--kendo-border-radius-lg: #{core.$kendo-border-radius-lg};
|
|
100
96
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "@progress/kendo-theme-core/scss/spacing/index.import.scss" as *;
|
|
3
|
+
|
|
4
|
+
/// Horizontal padding.
|
|
5
|
+
/// @group common
|
|
6
|
+
$kendo-padding-x: k-spacing(2) !default;
|
|
7
|
+
/// Vertical padding.
|
|
8
|
+
/// @group common
|
|
9
|
+
$kendo-padding-y: k-spacing(1) !default;
|
|
10
|
+
/// Small horizontal padding.
|
|
11
|
+
/// @group common
|
|
12
|
+
$kendo-padding-sm-x: k-spacing(1) !default;
|
|
13
|
+
/// Small vertical padding.
|
|
14
|
+
/// @group common
|
|
15
|
+
$kendo-padding-sm-y: k-spacing(0.5) !default;
|
|
16
|
+
/// Medium horizontal padding.
|
|
17
|
+
/// @group common
|
|
18
|
+
$kendo-padding-md-x: k-spacing(2) !default;
|
|
19
|
+
/// Medium vertical padding.
|
|
20
|
+
/// @group common
|
|
21
|
+
$kendo-padding-md-y: k-spacing(1) !default;
|
|
22
|
+
/// Large horizontal padding.
|
|
23
|
+
/// @group common
|
|
24
|
+
$kendo-padding-lg-x: k-spacing(3) !default;
|
|
25
|
+
/// Large vertical padding.
|
|
26
|
+
/// @group common
|
|
27
|
+
$kendo-padding-lg-y: k-spacing(1.5) !default;
|
|
28
|
+
|