@progress/kendo-theme-default 8.0.0-dev.0 → 8.0.0-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 +6721 -6996
- package/dist/all.scss +5331 -5045
- package/dist/default-nordic.scss +9 -9
- package/dist/default-ocean-blue-a11y.scss +7 -7
- package/dist/meta/sassdoc-data.json +30658 -29032
- package/dist/meta/sassdoc-raw-data.json +3341 -2591
- package/dist/meta/variables.json +2237 -2133
- 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 +10 -10
- package/lib/swatches/default-ocean-blue-a11y.json +8 -8
- 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/_variables.scss +0 -172
- package/scss/action-buttons/_variables.scss +4 -4
- package/scss/action-sheet/_layout.scss +1 -1
- package/scss/action-sheet/_variables.scss +17 -17
- package/scss/adaptive/_layout.scss +8 -8
- package/scss/adaptive/_variables.scss +3 -3
- package/scss/appbar/_variables.scss +6 -6
- package/scss/avatar/_variables.scss +6 -6
- package/scss/badge/_variables.scss +17 -17
- package/scss/bottom-navigation/_layout.scss +2 -2
- package/scss/bottom-navigation/_variables.scss +9 -9
- package/scss/breadcrumb/_variables.scss +17 -17
- package/scss/button/_variables.scss +21 -21
- package/scss/calendar/_layout.scss +2 -2
- package/scss/calendar/_theme.scss +1 -1
- package/scss/calendar/_variables.scss +33 -61
- package/scss/captcha/_variables.scss +6 -6
- package/scss/card/_variables.scss +18 -18
- package/scss/chat/_layout.scss +7 -7
- package/scss/chat/_variables.scss +13 -13
- package/scss/checkbox/_layout.scss +1 -1
- package/scss/checkbox/_variables.scss +9 -9
- package/scss/chip/_layout.scss +1 -1
- package/scss/chip/_variables.scss +15 -15
- package/scss/color-preview/_variables.scss +1 -1
- package/scss/coloreditor/_variables.scss +7 -7
- package/scss/colorgradient/_layout.scss +1 -1
- package/scss/colorgradient/_variables.scss +10 -10
- package/scss/colorpalette/_variables.scss +3 -3
- package/scss/common/_base.scss +7 -7
- package/scss/core/_index.scss +12 -0
- package/scss/core/border-radii/index.import.scss +1 -0
- package/scss/core/spacing/index.import.scss +29 -0
- package/scss/core/typography/index.import.scss +1 -0
- package/scss/dataviz/_layout.scss +8 -8
- package/scss/dataviz/_variables.scss +8 -8
- package/scss/daterangepicker/_layout.scss +1 -1
- package/scss/datetimepicker/_variables.scss +1 -1
- package/scss/dock-manager/_variables.scss +10 -10
- package/scss/draggable/_variables.scss +4 -4
- package/scss/drawer/_layout.scss +3 -3
- package/scss/drawer/_variables.scss +8 -18
- package/scss/dropdowntree/_layout.scss +2 -2
- package/scss/dropdowntree/_variables.scss +2 -2
- package/scss/dropzone/_variables.scss +8 -8
- package/scss/editor/_layout.scss +5 -5
- package/scss/editor/_variables.scss +3 -3
- package/scss/expansion-panel/_variables.scss +9 -9
- package/scss/fab/_layout.scss +4 -4
- package/scss/fab/_variables.scss +18 -18
- package/scss/filemanager/_layout.scss +3 -3
- package/scss/filemanager/_variables.scss +9 -9
- package/scss/filter/_layout.scss +4 -4
- package/scss/filter/_variables.scss +2 -2
- package/scss/forms/_layout.scss +16 -16
- package/scss/forms/_variables.scss +17 -17
- package/scss/gantt/_layout.scss +12 -12
- package/scss/gantt/_variables.scss +151 -7
- package/scss/grid/_layout.scss +10 -10
- package/scss/grid/_variables.scss +64 -64
- package/scss/imageeditor/_variables.scss +7 -7
- package/scss/input/_layout.scss +5 -5
- package/scss/input/_variables.scss +14 -14
- package/scss/list/_variables.scss +27 -27
- package/scss/listbox/_variables.scss +6 -6
- package/scss/listgroup/_layout.scss +7 -7
- package/scss/listgroup/_variables.scss +5 -5
- package/scss/listview/_variables.scss +7 -7
- package/scss/loader/_layout.scss +9 -9
- package/scss/loader/_variables.scss +25 -25
- package/scss/map/_layout.scss +1 -1
- package/scss/map/_variables.scss +8 -8
- package/scss/mediaplayer/_variables.scss +5 -5
- package/scss/menu/_layout.scss +1 -1
- package/scss/menu/_variables.scss +30 -30
- package/scss/menu-button/_layout.scss +3 -3
- package/scss/messagebox/_variables.scss +3 -3
- package/scss/notification/_variables.scss +7 -7
- package/scss/orgchart/_variables.scss +11 -11
- package/scss/pager/_variables.scss +10 -10
- package/scss/panelbar/_layout.scss +2 -2
- package/scss/panelbar/_variables.scss +9 -9
- package/scss/pdf-viewer/_variables.scss +5 -5
- package/scss/pivotgrid/_layout.scss +12 -12
- package/scss/pivotgrid/_variables.scss +15 -15
- package/scss/popup/_layout.scss +1 -1
- package/scss/popup/_theme.scss +1 -1
- package/scss/popup/_variables.scss +4 -4
- package/scss/progressbar/_layout.scss +2 -2
- package/scss/progressbar/_variables.scss +2 -2
- package/scss/prompt/_variables.scss +7 -7
- package/scss/radio/_layout.scss +1 -1
- package/scss/radio/_variables.scss +9 -9
- package/scss/rating/_variables.scss +4 -4
- package/scss/scheduler/_layout.scss +5 -5
- package/scss/scheduler/_variables.scss +18 -18
- package/scss/scrollview/_layout.scss +1 -1
- package/scss/scrollview/_variables.scss +5 -5
- package/scss/signature/_variables.scss +5 -5
- package/scss/skeleton/_variables.scss +1 -1
- package/scss/slider/_theme.scss +1 -1
- package/scss/slider/_variables.scss +3 -3
- package/scss/splitter/_variables.scss +6 -6
- package/scss/spreadsheet/_layout.scss +11 -11
- package/scss/spreadsheet/_variables.scss +17 -17
- package/scss/stepper/_variables.scss +8 -8
- package/scss/table/_layout.scss +1 -1
- package/scss/table/_variables.scss +12 -12
- package/scss/tabstrip/_layout.scss +2 -2
- package/scss/tabstrip/_variables.scss +11 -11
- package/scss/taskboard/_variables.scss +16 -16
- package/scss/tilelayout/_variables.scss +2 -2
- package/scss/timeline/_layout.scss +4 -4
- package/scss/timeline/_variables.scss +10 -10
- package/scss/timeselector/_layout.scss +1 -1
- package/scss/timeselector/_variables.scss +6 -6
- package/scss/toolbar/_layout.scss +2 -2
- package/scss/toolbar/_variables.scss +12 -12
- package/scss/tooltip/_layout.scss +10 -10
- package/scss/tooltip/_variables.scss +4 -4
- package/scss/treelist/_layout.scss +1 -1
- package/scss/treelist/_variables.scss +5 -0
- package/scss/treeview/_layout.scss +1 -1
- package/scss/treeview/_variables.scss +20 -20
- package/scss/typography/_layout.scss +51 -111
- package/scss/typography/_variables.scss +136 -53
- package/scss/upload/_layout.scss +3 -3
- package/scss/upload/_variables.scss +8 -8
- package/scss/window/_variables.scss +7 -7
- package/scss/wizard/_variables.scss +7 -7
|
@@ -4,32 +4,32 @@
|
|
|
4
4
|
|
|
5
5
|
/// The horizontal padding of the Card.
|
|
6
6
|
/// @group card
|
|
7
|
-
$kendo-card-padding-x: k-
|
|
7
|
+
$kendo-card-padding-x: k-spacing(4) !default;
|
|
8
8
|
/// The vertical padding of the Card.
|
|
9
9
|
/// @group card
|
|
10
|
-
$kendo-card-padding-y: k-
|
|
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: 1px !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(lg) !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;
|
|
20
20
|
/// The font family of the Card.
|
|
21
21
|
/// @group card
|
|
22
|
-
$kendo-card-font-family:
|
|
22
|
+
$kendo-card-font-family: var( --kendo-font-family, inherit ) !default;
|
|
23
23
|
/// The font size of the Card.
|
|
24
24
|
/// @group card
|
|
25
|
-
$kendo-card-font-size:
|
|
25
|
+
$kendo-card-font-size: var( --kendo-font-size, inherit ) !default;
|
|
26
26
|
/// The line height of the Card.
|
|
27
27
|
/// @group card
|
|
28
|
-
$kendo-card-line-height:
|
|
28
|
+
$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: k-
|
|
32
|
+
$kendo-card-deck-gap: k-spacing(4) !default;
|
|
33
33
|
|
|
34
34
|
/// The background color of the Card.
|
|
35
35
|
/// @group card
|
|
@@ -81,10 +81,10 @@ $kendo-card-header-border: $kendo-component-header-border !default;
|
|
|
81
81
|
|
|
82
82
|
/// The horizontal padding of the Card body.
|
|
83
83
|
/// @group card
|
|
84
|
-
$kendo-card-body-padding-x: k-
|
|
84
|
+
$kendo-card-body-padding-x: k-spacing(4) !default;
|
|
85
85
|
/// The vertical padding of the Card body.
|
|
86
86
|
/// @group card
|
|
87
|
-
$kendo-card-body-padding-y: k-
|
|
87
|
+
$kendo-card-body-padding-y: k-spacing(4) !default;
|
|
88
88
|
|
|
89
89
|
/// The horizontal padding of the Card footer.
|
|
90
90
|
/// @group card
|
|
@@ -107,10 +107,10 @@ $kendo-card-footer-border: $kendo-component-header-border !default;
|
|
|
107
107
|
|
|
108
108
|
/// The bottom margin of the Card title.
|
|
109
109
|
/// @group card
|
|
110
|
-
$kendo-card-title-margin-bottom: k-
|
|
110
|
+
$kendo-card-title-margin-bottom: k-spacing(2) !default;
|
|
111
111
|
/// The font size of the Card title.
|
|
112
112
|
/// @group card
|
|
113
|
-
$kendo-card-title-font-size:
|
|
113
|
+
$kendo-card-title-font-size: var( --kendo-font-size-lg, inherit ) !default;
|
|
114
114
|
/// The font family of the Card title.
|
|
115
115
|
/// @group card
|
|
116
116
|
$kendo-card-title-font-family: null !default;
|
|
@@ -119,17 +119,17 @@ $kendo-card-title-font-family: null !default;
|
|
|
119
119
|
$kendo-card-title-line-height: 1.25 !default;
|
|
120
120
|
/// The font weight of the Card title.
|
|
121
121
|
/// @group card
|
|
122
|
-
$kendo-card-title-font-weight:
|
|
122
|
+
$kendo-card-title-font-weight: var( --kendo-font-weight-normal, normal ) !default;
|
|
123
123
|
/// The letter spacing of the Card title.
|
|
124
124
|
/// @group card
|
|
125
125
|
$kendo-card-title-letter-spacing: null !default;
|
|
126
126
|
|
|
127
127
|
/// The bottom margin of the Card subtitle.
|
|
128
128
|
/// @group card
|
|
129
|
-
$kendo-card-subtitle-margin-bottom: k-
|
|
129
|
+
$kendo-card-subtitle-margin-bottom: k-spacing(2) !default;
|
|
130
130
|
/// The font size of the Card subtitle.
|
|
131
131
|
/// @group card
|
|
132
|
-
$kendo-card-subtitle-font-size:
|
|
132
|
+
$kendo-card-subtitle-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
133
133
|
/// The font family of the Card subtitle.
|
|
134
134
|
/// @group card
|
|
135
135
|
$kendo-card-subtitle-font-family: null !default;
|
|
@@ -138,7 +138,7 @@ $kendo-card-subtitle-font-family: null !default;
|
|
|
138
138
|
$kendo-card-subtitle-line-height: normal !default;
|
|
139
139
|
/// The font weight of the Card subtitle.
|
|
140
140
|
/// @group card
|
|
141
|
-
$kendo-card-subtitle-font-weight:
|
|
141
|
+
$kendo-card-subtitle-font-weight: var( --kendo-font-weight-normal, normal ) !default;
|
|
142
142
|
/// The letter spacing of the Card subtitle.
|
|
143
143
|
/// @group card
|
|
144
144
|
$kendo-card-subtitle-letter-spacing: null !default;
|
|
@@ -158,16 +158,16 @@ $kendo-card-avatar-spacing: $kendo-card-header-padding-x !default;
|
|
|
158
158
|
|
|
159
159
|
/// The horizontal padding of the Card actions.
|
|
160
160
|
/// @group card
|
|
161
|
-
$kendo-card-actions-padding-x: k-
|
|
161
|
+
$kendo-card-actions-padding-x: k-spacing(2) !default;
|
|
162
162
|
/// The vertical padding of the Card actions.
|
|
163
163
|
/// @group card
|
|
164
|
-
$kendo-card-actions-padding-y: k-
|
|
164
|
+
$kendo-card-actions-padding-y: k-spacing(2) !default;
|
|
165
165
|
/// The top border width of the Card actions.
|
|
166
166
|
/// @group card
|
|
167
167
|
$kendo-card-actions-border-width: 1px !default;
|
|
168
168
|
/// The spacing between the Card actions.
|
|
169
169
|
/// @group card
|
|
170
|
-
$kendo-card-actions-gap: k-
|
|
170
|
+
$kendo-card-actions-gap: k-spacing(2) !default;
|
|
171
171
|
|
|
172
172
|
/// The border radius of the scroll button in the Card deck.
|
|
173
173
|
/// @group card
|
package/scss/chat/_layout.scss
CHANGED
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
.k-quick-reply {
|
|
225
225
|
@include border-radius( 100px );
|
|
226
226
|
margin-inline-end: $kendo-chat-quick-reply-spacing;
|
|
227
|
-
margin-block-end:
|
|
227
|
+
margin-block-end: calc( #{$kendo-chat-quick-reply-spacing} / 2 );
|
|
228
228
|
padding-block: $kendo-chat-quick-reply-padding-y;
|
|
229
229
|
padding-inline: $kendo-chat-quick-reply-padding-x;
|
|
230
230
|
border-width: 1px;
|
|
@@ -322,10 +322,10 @@
|
|
|
322
322
|
}
|
|
323
323
|
|
|
324
324
|
.k-chat .k-card-deck {
|
|
325
|
-
max-width: calc(100% + #{$kendo-chat-message-list-padding-y * 2
|
|
325
|
+
max-width: calc(100% + calc( #{$kendo-chat-message-list-padding-y} * 2 )); // prevent overflowing in the parent element
|
|
326
326
|
box-sizing: border-box;
|
|
327
|
-
margin-inline-start:
|
|
328
|
-
margin-inline-end:
|
|
327
|
+
margin-inline-start: calc( #{$kendo-chat-message-list-padding-y} * -1 );
|
|
328
|
+
margin-inline-end: calc( #{$kendo-chat-message-list-padding-y} * -1 );
|
|
329
329
|
padding: $kendo-chat-message-list-padding-y $kendo-chat-message-list-padding-y $kendo-chat-message-list-padding-x;
|
|
330
330
|
overflow: hidden;
|
|
331
331
|
overflow-x: auto;
|
|
@@ -336,8 +336,8 @@
|
|
|
336
336
|
}
|
|
337
337
|
|
|
338
338
|
.k-chat .k-card-deck-scrollwrap {
|
|
339
|
-
margin-right:
|
|
340
|
-
margin-left:
|
|
339
|
+
margin-right: calc( #{$kendo-chat-message-list-padding-y} * -1 );
|
|
340
|
+
margin-left: calc( #{$kendo-chat-message-list-padding-y} * -1 );
|
|
341
341
|
padding-left: $kendo-chat-message-list-padding-y;
|
|
342
342
|
padding-right: $kendo-chat-message-list-padding-y;
|
|
343
343
|
}
|
|
@@ -440,7 +440,7 @@
|
|
|
440
440
|
|
|
441
441
|
.k-scroll-button {
|
|
442
442
|
// IMPORTANT: if we don't set padding, the browser will set for us
|
|
443
|
-
padding: 0 k-
|
|
443
|
+
padding: 0 k-spacing(1);
|
|
444
444
|
height: 100%;
|
|
445
445
|
aspect-ratio: auto;
|
|
446
446
|
position: absolute;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
/// The horizontal padding of the Chat.
|
|
4
4
|
/// @group chat
|
|
5
|
-
$kendo-chat-padding-x:
|
|
5
|
+
$kendo-chat-padding-x: k-spacing(4) !default;
|
|
6
6
|
/// The vertical padding of the Chat.
|
|
7
7
|
/// @group chat
|
|
8
|
-
$kendo-chat-padding-y:
|
|
8
|
+
$kendo-chat-padding-y: k-spacing(4) !default;
|
|
9
9
|
/// The width of the Chat.
|
|
10
10
|
/// @group chat
|
|
11
11
|
$kendo-chat-width: 500px !default;
|
|
@@ -17,20 +17,20 @@ $kendo-chat-height: 600px !default;
|
|
|
17
17
|
$kendo-chat-border-width: 1px !default;
|
|
18
18
|
/// The font family of the Chat.
|
|
19
19
|
/// @group chat
|
|
20
|
-
$kendo-chat-font-family:
|
|
20
|
+
$kendo-chat-font-family: var( --kendo-font-family, inherit ) !default;
|
|
21
21
|
/// The font size of the Chat.
|
|
22
22
|
/// @group chat
|
|
23
|
-
$kendo-chat-font-size:
|
|
23
|
+
$kendo-chat-font-size: var( --kendo-font-size, inherit ) !default;
|
|
24
24
|
/// The line height of the Chat.
|
|
25
25
|
/// @group chat
|
|
26
|
-
$kendo-chat-line-height:
|
|
26
|
+
$kendo-chat-line-height: var( --kendo-line-height, normal ) !default;
|
|
27
27
|
|
|
28
28
|
/// The horizontal spacing between the items of the Chat.
|
|
29
29
|
/// @group chat
|
|
30
|
-
$kendo-chat-item-spacing-x:
|
|
30
|
+
$kendo-chat-item-spacing-x: k-spacing(2) !default;
|
|
31
31
|
/// The vertical spacing between the items of the Chat.
|
|
32
32
|
/// @group chat
|
|
33
|
-
$kendo-chat-item-spacing-y:
|
|
33
|
+
$kendo-chat-item-spacing-y: k-spacing(4) !default;
|
|
34
34
|
|
|
35
35
|
/// The horizontal padding of the Chat message list.
|
|
36
36
|
/// @group chat
|
|
@@ -60,13 +60,13 @@ $kendo-chat-timestamp-bg: null !default;
|
|
|
60
60
|
|
|
61
61
|
/// The horizontal padding of the Chat bubble message.
|
|
62
62
|
/// @group chat
|
|
63
|
-
$kendo-chat-bubble-padding-x:
|
|
63
|
+
$kendo-chat-bubble-padding-x: k-spacing(3) !default;
|
|
64
64
|
/// The vertical padding of the Chat bubble message.
|
|
65
65
|
/// @group chat
|
|
66
|
-
$kendo-chat-bubble-padding-y:
|
|
66
|
+
$kendo-chat-bubble-padding-y: k-spacing(2) !default;
|
|
67
67
|
/// The spacing of the Chat bubble message.
|
|
68
68
|
/// @group chat
|
|
69
|
-
$kendo-chat-bubble-spacing:
|
|
69
|
+
$kendo-chat-bubble-spacing: k-spacing(0.5) !default;
|
|
70
70
|
/// The line height of the Chat bubble message.
|
|
71
71
|
/// @group chat
|
|
72
72
|
$kendo-chat-bubble-line-height: 18px !default;
|
|
@@ -106,13 +106,13 @@ $kendo-chat-toolbar-border: inherit !default;
|
|
|
106
106
|
|
|
107
107
|
/// The horizontal padding of the Chat quick reply.
|
|
108
108
|
/// @group chat
|
|
109
|
-
$kendo-chat-quick-reply-padding-x:
|
|
109
|
+
$kendo-chat-quick-reply-padding-x: k-spacing(3) !default;
|
|
110
110
|
/// The vertical padding of the Chat quick reply.
|
|
111
111
|
/// @group chat
|
|
112
|
-
$kendo-chat-quick-reply-padding-y:
|
|
112
|
+
$kendo-chat-quick-reply-padding-y: k-spacing(2) !default;
|
|
113
113
|
/// The spacing of the Chat quick reply.
|
|
114
114
|
/// @group chat
|
|
115
|
-
$kendo-chat-quick-reply-spacing:
|
|
115
|
+
$kendo-chat-quick-reply-spacing: k-spacing(2) !default;
|
|
116
116
|
/// The line height of the Chat quick reply.
|
|
117
117
|
/// @group chat
|
|
118
118
|
$kendo-chat-quick-reply-line-height: $kendo-chat-bubble-line-height !default;
|
|
@@ -9,23 +9,23 @@ $kendo-checkbox-border-width: 1px !default;
|
|
|
9
9
|
|
|
10
10
|
/// The size of a small CheckBox.
|
|
11
11
|
/// @group checkbox
|
|
12
|
-
$kendo-checkbox-sm-size: k-
|
|
12
|
+
$kendo-checkbox-sm-size: k-spacing(3) !default;
|
|
13
13
|
/// The size of a medium CheckBox.
|
|
14
14
|
/// @group checkbox
|
|
15
|
-
$kendo-checkbox-md-size: k-
|
|
15
|
+
$kendo-checkbox-md-size: k-spacing(4) !default;
|
|
16
16
|
/// The size of a large CheckBox.
|
|
17
17
|
/// @group checkbox
|
|
18
|
-
$kendo-checkbox-lg-size: k-
|
|
18
|
+
$kendo-checkbox-lg-size: k-spacing(5) !default;
|
|
19
19
|
|
|
20
20
|
/// The glyph size of a small CheckBox.
|
|
21
21
|
/// @group checkbox
|
|
22
|
-
$kendo-checkbox-sm-glyph-size: k-
|
|
22
|
+
$kendo-checkbox-sm-glyph-size: k-spacing(2.5) !default;
|
|
23
23
|
/// The glyph size of a medium CheckBox.
|
|
24
24
|
/// @group checkbox
|
|
25
|
-
$kendo-checkbox-md-glyph-size: k-
|
|
25
|
+
$kendo-checkbox-md-glyph-size: k-spacing(3.5) !default;
|
|
26
26
|
/// The glyph size of a large CheckBox.
|
|
27
27
|
/// @group checkbox
|
|
28
|
-
$kendo-checkbox-lg-glyph-size: k-
|
|
28
|
+
$kendo-checkbox-lg-glyph-size: k-spacing(4.5) !default;
|
|
29
29
|
|
|
30
30
|
/// The ripple size of a small CheckBox.
|
|
31
31
|
/// @group checkbox
|
|
@@ -168,17 +168,17 @@ $kendo-checkbox-indeterminate-image: k-escape-svg( url("data:image/svg+xml,<svg
|
|
|
168
168
|
|
|
169
169
|
/// The horizontal margin of the CheckBox inside a label.
|
|
170
170
|
/// @group checkbox
|
|
171
|
-
$kendo-checkbox-label-margin-x: k-
|
|
171
|
+
$kendo-checkbox-label-margin-x: k-spacing(1) !default;
|
|
172
172
|
|
|
173
173
|
|
|
174
174
|
// CheckBox list
|
|
175
175
|
|
|
176
176
|
/// The spacing between the items in a horizontal CheckBox list.
|
|
177
177
|
/// @group checkbox
|
|
178
|
-
$kendo-checkbox-list-spacing: k-
|
|
178
|
+
$kendo-checkbox-list-spacing: k-spacing(4) !default;
|
|
179
179
|
/// The horizontal padding of the CheckBox list items.
|
|
180
180
|
/// @group checkbox
|
|
181
|
-
$kendo-checkbox-list-item-padding-x:
|
|
181
|
+
$kendo-checkbox-list-item-padding-x: k-spacing(0) !default;
|
|
182
182
|
/// The vertical padding of the CheckBox list items.
|
|
183
183
|
/// @group checkbox
|
|
184
184
|
$kendo-checkbox-list-item-padding-y: $kendo-list-md-item-padding-y !default;
|
package/scss/chip/_layout.scss
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
border-width: $kendo-chip-border-width;
|
|
8
8
|
border-style: solid;
|
|
9
9
|
outline: 0;
|
|
10
|
-
font-family:
|
|
10
|
+
font-family: var( --kendo-font-family, inherit );
|
|
11
11
|
font-size: $kendo-chip-font-size;
|
|
12
12
|
line-height: $kendo-chip-line-height;
|
|
13
13
|
display: inline-flex;
|
|
@@ -8,46 +8,46 @@
|
|
|
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: k-
|
|
11
|
+
$kendo-chip-spacing: k-spacing(1) !default;
|
|
12
12
|
|
|
13
13
|
/// The horizontal padding of the Chip.
|
|
14
14
|
/// @group chip
|
|
15
|
-
$kendo-chip-padding-x: k-
|
|
15
|
+
$kendo-chip-padding-x: k-spacing(1) !default;
|
|
16
16
|
/// The horizontal padding of the small Chip.
|
|
17
17
|
/// @group chip
|
|
18
|
-
$kendo-chip-sm-padding-x: k-
|
|
18
|
+
$kendo-chip-sm-padding-x: k-spacing(1) !default;
|
|
19
19
|
/// The horizontal padding of the medium Chip.
|
|
20
20
|
/// @group chip
|
|
21
21
|
$kendo-chip-md-padding-x: $kendo-chip-padding-x !default;
|
|
22
22
|
/// The horizontal padding of the large Chip.
|
|
23
23
|
/// @group chip
|
|
24
|
-
$kendo-chip-lg-padding-x: k-
|
|
24
|
+
$kendo-chip-lg-padding-x: k-spacing(1) !default;
|
|
25
25
|
|
|
26
26
|
/// The vertical padding of the Chip.
|
|
27
27
|
/// @group chip
|
|
28
|
-
$kendo-chip-padding-y: k-
|
|
28
|
+
$kendo-chip-padding-y: k-spacing(1) !default;
|
|
29
29
|
/// The vertical padding of the small Chip.
|
|
30
30
|
/// @group chip
|
|
31
|
-
$kendo-chip-sm-padding-y: k-
|
|
31
|
+
$kendo-chip-sm-padding-y: k-spacing(0.5) !default;
|
|
32
32
|
/// The vertical padding of the medium Chip.
|
|
33
33
|
/// @group chip
|
|
34
34
|
$kendo-chip-md-padding-y: $kendo-chip-padding-y !default;
|
|
35
35
|
/// The vertical padding of the large Chip.
|
|
36
36
|
/// @group chip
|
|
37
|
-
$kendo-chip-lg-padding-y: k-
|
|
37
|
+
$kendo-chip-lg-padding-y: k-spacing(1.5) !default;
|
|
38
38
|
|
|
39
39
|
/// The font size of the Chip.
|
|
40
40
|
/// @group chip
|
|
41
|
-
$kendo-chip-font-size:
|
|
41
|
+
$kendo-chip-font-size: var( --kendo-font-size, inherit ) !default;
|
|
42
42
|
/// The font size of the small Chip.
|
|
43
43
|
/// @group chip
|
|
44
|
-
$kendo-chip-sm-font-size:
|
|
44
|
+
$kendo-chip-sm-font-size: var( --kendo-font-size, inherit ) !default;
|
|
45
45
|
/// The font size of the medium Chip.
|
|
46
46
|
/// @group chip
|
|
47
47
|
$kendo-chip-md-font-size: $kendo-chip-font-size !default;
|
|
48
48
|
/// The font size of the large Chip.
|
|
49
49
|
/// @group chip
|
|
50
|
-
$kendo-chip-lg-font-size:
|
|
50
|
+
$kendo-chip-lg-font-size: var( --kendo-font-size, inherit ) !default;
|
|
51
51
|
|
|
52
52
|
/// The Chip's line height that is related to the $kendo-font-size.
|
|
53
53
|
/// @group chip
|
|
@@ -64,8 +64,8 @@ $kendo-chip-lg-line-height: $kendo-chip-line-height !default;
|
|
|
64
64
|
|
|
65
65
|
/// The calculated height of the Chip.
|
|
66
66
|
/// @group chip
|
|
67
|
-
$kendo-chip-calc-size: calc( #{$kendo-chip-line-height * 1em} + #{$kendo-chip-padding-y * 2
|
|
68
|
-
$kendo-chip-sm-calc-size: calc( #{$kendo-chip-sm-line-height * 1em} + #{$kendo-chip-sm-padding-y * 2
|
|
67
|
+
$kendo-chip-calc-size: calc( #{$kendo-chip-line-height * 1em} + calc( #{$kendo-chip-padding-y} * 2 ) + #{$kendo-chip-border-width * 2} ) !default;
|
|
68
|
+
$kendo-chip-sm-calc-size: calc( #{$kendo-chip-sm-line-height * 1em} + calc( #{$kendo-chip-sm-padding-y} * 2 ) + #{$kendo-chip-border-width * 2} ) !default;
|
|
69
69
|
|
|
70
70
|
/// The map with the sizes of the Chip.
|
|
71
71
|
/// @group chip
|
|
@@ -173,7 +173,7 @@ $kendo-chip-outline-selected-text: $kendo-chip-outline-hover-text !default;
|
|
|
173
173
|
/// The sizes of the Chip list.
|
|
174
174
|
/// @group chip
|
|
175
175
|
$kendo-chip-list-sizes: (
|
|
176
|
-
sm: k-
|
|
177
|
-
md: k-
|
|
178
|
-
lg: k-
|
|
176
|
+
sm: k-spacing(1),
|
|
177
|
+
md: k-spacing(1),
|
|
178
|
+
lg: k-spacing(1)
|
|
179
179
|
) !default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Color Preview
|
|
2
|
-
$kendo-color-preview-border-radius:
|
|
2
|
+
$kendo-color-preview-border-radius: k-border-radius(md)!default;
|
|
3
3
|
$kendo-color-preview-border-width: 1px !default;
|
|
4
4
|
$kendo-color-preview-bg: null !default;
|
|
5
5
|
$kendo-color-preview-text: null !default;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/// The spacer of the ColorEditor.
|
|
4
4
|
/// @group coloreditor
|
|
5
|
-
$kendo-color-editor-spacer: k-
|
|
5
|
+
$kendo-color-editor-spacer: k-spacing(3) !default;
|
|
6
6
|
|
|
7
7
|
/// The minimum width of the ColorEditor.
|
|
8
8
|
/// @group coloreditor
|
|
@@ -12,16 +12,16 @@ $kendo-color-editor-min-width: 272px !default;
|
|
|
12
12
|
$kendo-color-editor-border-width: 1px !default;
|
|
13
13
|
/// The border radius of the ColorEditor.
|
|
14
14
|
/// @group coloreditor
|
|
15
|
-
$kendo-color-editor-border-radius:
|
|
15
|
+
$kendo-color-editor-border-radius: k-border-radius(md) !default;
|
|
16
16
|
/// The font family of the ColorEditor.
|
|
17
17
|
/// @group coloreditor
|
|
18
|
-
$kendo-color-editor-font-family:
|
|
18
|
+
$kendo-color-editor-font-family: var( --kendo-font-family, inherit ) !default;
|
|
19
19
|
/// The font size of the ColorEditor.
|
|
20
20
|
/// @group coloreditor
|
|
21
|
-
$kendo-color-editor-font-size:
|
|
21
|
+
$kendo-color-editor-font-size: var( --kendo-font-size, inherit ) !default;
|
|
22
22
|
/// The line height of the ColorEditor.
|
|
23
23
|
/// @group coloreditor
|
|
24
|
-
$kendo-color-editor-line-height:
|
|
24
|
+
$kendo-color-editor-line-height: var( --kendo-line-height, normal ) !default;
|
|
25
25
|
/// The text color of the ColorEditor.
|
|
26
26
|
/// @group coloreditor
|
|
27
27
|
$kendo-color-editor-text: $kendo-component-text !default;
|
|
@@ -48,7 +48,7 @@ $kendo-color-editor-header-padding-y: $kendo-color-editor-spacer !default;
|
|
|
48
48
|
$kendo-color-editor-header-padding-x: $kendo-color-editor-header-padding-y !default;
|
|
49
49
|
/// The spacing between the ColorEditor header actions.
|
|
50
50
|
/// @group coloreditor
|
|
51
|
-
$kendo-color-editor-header-actions-gap:
|
|
51
|
+
$kendo-color-editor-header-actions-gap: calc( #{$kendo-color-editor-spacer} / 1.5 ) !default;
|
|
52
52
|
|
|
53
53
|
/// The width of the ColorEditor preview.
|
|
54
54
|
/// @group coloreditor
|
|
@@ -58,7 +58,7 @@ $kendo-color-editor-color-preview-width: 32px !default;
|
|
|
58
58
|
$kendo-color-editor-color-preview-height: 12px !default;
|
|
59
59
|
/// The spacing between the colors in the ColorEditor preview.
|
|
60
60
|
/// @group coloreditor
|
|
61
|
-
$kendo-color-editor-preview-gap: k-
|
|
61
|
+
$kendo-color-editor-preview-gap: k-spacing(1) !default;
|
|
62
62
|
|
|
63
63
|
/// The vertical padding of the ColorEditor views container.
|
|
64
64
|
/// @group coloreditor
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
.k-contrast-validation {
|
|
165
165
|
display: inline-flex;
|
|
166
166
|
align-items: center;
|
|
167
|
-
gap:
|
|
167
|
+
gap: calc( #{$kendo-color-gradient-contrast-spacer} / 2 );
|
|
168
168
|
|
|
169
169
|
.k-icon {
|
|
170
170
|
vertical-align: middle;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
/// The spacer of the ColorGradient.
|
|
6
6
|
/// @group cologradient
|
|
7
|
-
$kendo-color-gradient-spacer: k-
|
|
7
|
+
$kendo-color-gradient-spacer: k-spacing(3) !default;
|
|
8
8
|
|
|
9
9
|
/// The width of the ColorGradient.
|
|
10
10
|
/// @group cologradient
|
|
@@ -14,7 +14,7 @@ $kendo-color-gradient-width: 272px !default;
|
|
|
14
14
|
$kendo-color-gradient-border-width: 1px !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;
|
|
@@ -26,13 +26,13 @@ $kendo-color-gradient-padding-x: $kendo-color-gradient-padding-y !default;
|
|
|
26
26
|
$kendo-color-gradient-gap: $kendo-color-gradient-spacer !default;
|
|
27
27
|
/// The font family of the ColorGradient.
|
|
28
28
|
/// @group cologradient
|
|
29
|
-
$kendo-color-gradient-font-family:
|
|
29
|
+
$kendo-color-gradient-font-family: var( --kendo-font-family, inherit ) !default;
|
|
30
30
|
/// The font size of the ColorGradient.
|
|
31
31
|
/// @group cologradient
|
|
32
|
-
$kendo-color-gradient-font-size:
|
|
32
|
+
$kendo-color-gradient-font-size: var( --kendo-font-size, inherit ) !default;
|
|
33
33
|
/// The line height of the ColorGradient.
|
|
34
34
|
/// @group cologradient
|
|
35
|
-
$kendo-color-gradient-line-height:
|
|
35
|
+
$kendo-color-gradient-line-height: var( --kendo-line-height, normal ) !default;
|
|
36
36
|
/// The text color of the ColorGradient.
|
|
37
37
|
/// @group cologradient
|
|
38
38
|
$kendo-color-gradient-text: $kendo-component-text !default;
|
|
@@ -52,7 +52,7 @@ $kendo-color-gradient-focus-shadow: k-elevation(3) !default;
|
|
|
52
52
|
|
|
53
53
|
/// The border radius of the ColorGradient canvas.
|
|
54
54
|
/// @group cologradient
|
|
55
|
-
$kendo-color-gradient-canvas-border-radius:
|
|
55
|
+
$kendo-color-gradient-canvas-border-radius: k-border-radius(md) !default;
|
|
56
56
|
/// The spacing between the items of the ColorGradient canvas.
|
|
57
57
|
/// @group cologradient
|
|
58
58
|
$kendo-color-gradient-canvas-gap: $kendo-color-gradient-spacer !default;
|
|
@@ -126,17 +126,17 @@ $kendo-color-gradient-canvas-draghandle-margin-x: - k-math-div( $kendo-color-gra
|
|
|
126
126
|
$kendo-color-gradient-input-width: 46px !default;
|
|
127
127
|
/// The spacing between the ColorGradient inputs.
|
|
128
128
|
/// @group cologradient
|
|
129
|
-
$kendo-color-gradient-input-gap:
|
|
129
|
+
$kendo-color-gradient-input-gap: calc( #{$kendo-color-gradient-spacer} / 1.5 ) !default;
|
|
130
130
|
/// The spacing between the ColorGradient inputs and their labels.
|
|
131
131
|
/// @group cologradient
|
|
132
|
-
$kendo-color-gradient-input-label-gap:
|
|
132
|
+
$kendo-color-gradient-input-label-gap: calc( #{$kendo-color-gradient-spacer} / 3 ) !default;
|
|
133
133
|
/// The text color of the ColorGradient input labels.
|
|
134
134
|
/// @group cologradient
|
|
135
135
|
$kendo-color-gradient-input-label-text: $kendo-subtle-text !default;
|
|
136
136
|
|
|
137
137
|
/// The font weight of the ColorGradient contrast ratio text.
|
|
138
138
|
/// @group cologradient
|
|
139
|
-
$kendo-color-gradient-contrast-ratio-font-weight:
|
|
139
|
+
$kendo-color-gradient-contrast-ratio-font-weight: var( --kendo-font-weight-bold, normal ) !default;
|
|
140
140
|
/// The spacing between the items in the ColorGradient contrast tool.
|
|
141
141
|
/// @group cologradient
|
|
142
|
-
$kendo-color-gradient-contrast-spacer:
|
|
142
|
+
$kendo-color-gradient-contrast-spacer: calc( #{$kendo-color-gradient-spacer} / 1.5 ) !default;
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
/// The font family of the ColorPalette.
|
|
4
4
|
/// @group colorpalette
|
|
5
|
-
$kendo-color-palette-font-family:
|
|
5
|
+
$kendo-color-palette-font-family: var( --kendo-font-family, inherit ) !default;
|
|
6
6
|
/// The font size of the ColorPalette.
|
|
7
7
|
/// @group colorpalette
|
|
8
|
-
$kendo-color-palette-font-size:
|
|
8
|
+
$kendo-color-palette-font-size: var( --kendo-font-size, inherit ) !default;
|
|
9
9
|
/// The line height of the ColorPalette.
|
|
10
10
|
/// @group colorpalette
|
|
11
11
|
$kendo-color-palette-line-height: 0 !default;
|
|
12
12
|
|
|
13
13
|
/// The width of the ColorPalette tile.
|
|
14
14
|
/// @group colorpalette
|
|
15
|
-
$kendo-color-palette-tile-width: k-
|
|
15
|
+
$kendo-color-palette-tile-width: k-spacing(6) !default;
|
|
16
16
|
/// The height of the ColorPalette tile.
|
|
17
17
|
/// @group colorpalette
|
|
18
18
|
$kendo-color-palette-tile-height: $kendo-color-palette-tile-width !default;
|
package/scss/common/_base.scss
CHANGED
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
// Panels
|
|
76
76
|
.k-block,
|
|
77
77
|
.k-panel {
|
|
78
|
-
@include border-radius(
|
|
78
|
+
@include border-radius( k-border-radius(md) );
|
|
79
79
|
@include fill(
|
|
80
80
|
$kendo-component-text,
|
|
81
81
|
$kendo-component-bg,
|
|
@@ -87,19 +87,19 @@
|
|
|
87
87
|
box-sizing: border-box;
|
|
88
88
|
|
|
89
89
|
> .k-header {
|
|
90
|
-
@include border-top-radius(
|
|
90
|
+
@include border-top-radius( k-border-radius(md) );
|
|
91
91
|
@include fill(
|
|
92
92
|
$kendo-component-header-text,
|
|
93
93
|
$kendo-component-header-bg,
|
|
94
94
|
$kendo-component-header-border,
|
|
95
95
|
$kendo-component-header-gradient
|
|
96
96
|
);
|
|
97
|
-
padding-inline: k-
|
|
98
|
-
padding-block: k-
|
|
97
|
+
padding-inline: k-spacing(2);
|
|
98
|
+
padding-block: k-spacing(1);
|
|
99
99
|
}
|
|
100
100
|
> .k-content {
|
|
101
|
-
padding-inline: k-
|
|
102
|
-
padding-block: k-
|
|
101
|
+
padding-inline: k-spacing(2);
|
|
102
|
+
padding-block: k-spacing(1);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
.k-content {
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
@include exports( "common/misc/hr" ) {
|
|
142
142
|
|
|
143
143
|
.k-hr {
|
|
144
|
-
margin: k-
|
|
144
|
+
margin: k-spacing(4) auto;
|
|
145
145
|
padding: 0;
|
|
146
146
|
height: 0;
|
|
147
147
|
border-width: 1px 0 0;
|
package/scss/core/_index.scss
CHANGED
|
@@ -6,6 +6,12 @@ $wcag-min-contrast-ratio: 4.5 !default;
|
|
|
6
6
|
// Color System
|
|
7
7
|
@import "./color-system/_swatch.scss";
|
|
8
8
|
|
|
9
|
+
// Typography
|
|
10
|
+
@import "./typography/index.import.scss";
|
|
11
|
+
|
|
12
|
+
// Spacing
|
|
13
|
+
@import "./spacing/index.import.scss";
|
|
14
|
+
|
|
9
15
|
@import "@progress/kendo-theme-core/scss/index.import.scss";
|
|
10
16
|
|
|
11
17
|
// Backward compatibility
|
|
@@ -17,4 +23,10 @@ $wcag-min-contrast-ratio: 4.5 !default;
|
|
|
17
23
|
|
|
18
24
|
// Elevation System
|
|
19
25
|
@include kendo-elevation--styles();
|
|
26
|
+
// Typography
|
|
27
|
+
@include kendo-core--typography--styles();
|
|
28
|
+
// Spacing
|
|
29
|
+
@include kendo-spacing--styles();
|
|
30
|
+
// Radii
|
|
31
|
+
@include kendo-border-radius--styles();
|
|
20
32
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "@progress/kendo-theme-core/scss/border-radii/index.import.scss";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@import "@progress/kendo-theme-core/scss/spacing/index.import.scss";
|
|
2
|
+
|
|
3
|
+
$kendo-icon-spacing: k-spacing(1) !default;
|
|
4
|
+
$kendo-icon-padding: k-spacing(1) !default;
|
|
5
|
+
|
|
6
|
+
/// Horizontal padding.
|
|
7
|
+
/// @group common
|
|
8
|
+
$kendo-padding-x: k-spacing(2) !default;
|
|
9
|
+
/// Vertical padding.
|
|
10
|
+
/// @group common
|
|
11
|
+
$kendo-padding-y: k-spacing(1) !default;
|
|
12
|
+
/// Small horizontal padding.
|
|
13
|
+
/// @group common
|
|
14
|
+
$kendo-padding-sm-x: k-spacing(1) !default;
|
|
15
|
+
/// Small vertical padding.
|
|
16
|
+
/// @group common
|
|
17
|
+
$kendo-padding-sm-y: k-spacing(0.5) !default;
|
|
18
|
+
/// Medium horizontal padding.
|
|
19
|
+
/// @group common
|
|
20
|
+
$kendo-padding-md-x: k-spacing(2) !default;
|
|
21
|
+
/// Medium vertical padding.
|
|
22
|
+
/// @group common
|
|
23
|
+
$kendo-padding-md-y: k-spacing(1) !default;
|
|
24
|
+
/// Large horizontal padding.
|
|
25
|
+
/// @group common
|
|
26
|
+
$kendo-padding-lg-x: k-spacing(3) !default;
|
|
27
|
+
/// Large vertical padding.
|
|
28
|
+
/// @group common
|
|
29
|
+
$kendo-padding-lg-y: k-spacing(1.5) !default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "@progress/kendo-theme-core/scss/typography/index.import.scss";
|