@progress/kendo-theme-material 10.1.0-dev.4 → 10.1.0-dev.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/all.css +1 -1
- package/dist/material-aqua-dark.css +1 -1
- package/dist/material-arctic.css +1 -1
- package/dist/material-burnt-teal.css +1 -1
- package/dist/material-dataviz-v4.css +1 -1
- package/dist/material-eggplant.css +1 -1
- package/dist/material-lime-dark.css +1 -1
- package/dist/material-lime.css +1 -1
- package/dist/material-main-dark.css +1 -1
- package/dist/material-main.css +1 -1
- package/dist/material-nova.css +1 -1
- package/dist/material-pacific-dark.css +1 -1
- package/dist/material-pacific.css +1 -1
- package/dist/material-sky-dark.css +1 -1
- package/dist/material-sky.css +1 -1
- package/dist/material-smoke.css +1 -1
- package/dist/meta/sassdoc-data.json +3440 -1552
- package/dist/meta/sassdoc-raw-data.json +1600 -750
- package/dist/meta/variables.json +227 -35
- package/lib/swatches/material-aqua-dark.json +1 -1
- package/lib/swatches/material-arctic.json +1 -1
- package/lib/swatches/material-burnt-teal.json +1 -1
- package/lib/swatches/material-dataviz-v4.json +1 -1
- package/lib/swatches/material-eggplant.json +1 -1
- package/lib/swatches/material-lime-dark.json +1 -1
- package/lib/swatches/material-lime.json +1 -1
- package/lib/swatches/material-main-dark.json +1 -1
- package/lib/swatches/material-main.json +1 -1
- package/lib/swatches/material-nova.json +1 -1
- package/lib/swatches/material-pacific-dark.json +1 -1
- package/lib/swatches/material-pacific.json +1 -1
- package/lib/swatches/material-sky-dark.json +1 -1
- package/lib/swatches/material-sky.json +1 -1
- package/lib/swatches/material-smoke.json +1 -1
- package/package.json +5 -5
- package/scss/button/_variables.scss +8 -8
- package/scss/checkbox/_variables.scss +3 -3
- package/scss/index.scss +3 -2
- package/scss/input/_variables.scss +11 -0
- package/scss/otp/_index.scss +18 -0
- package/scss/otp/_layout.scss +5 -0
- package/scss/otp/_theme.scss +5 -0
- package/scss/otp/_variables.scss +77 -0
- package/scss/radio/_variables.scss +2 -2
- package/scss/tabstrip/_variables.scss +78 -1
- package/scss/toolbar/_layout.scss +2 -1
- package/scss/toolbar/_theme.scss +2 -1
- package/scss/toolbar/_variables.scss +38 -9
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-theme-material",
|
|
3
3
|
"description": "Material theme for Kendo UI",
|
|
4
|
-
"version": "10.1.0-dev.
|
|
4
|
+
"version": "10.1.0-dev.6",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -54,13 +54,13 @@
|
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@progress/kendo-svg-icons": "^4.0.0",
|
|
57
|
-
"@progress/kendo-theme-core": "10.1.0-dev.
|
|
58
|
-
"@progress/kendo-theme-default": "10.1.0-dev.
|
|
59
|
-
"@progress/kendo-theme-utils": "10.1.0-dev.
|
|
57
|
+
"@progress/kendo-theme-core": "10.1.0-dev.6",
|
|
58
|
+
"@progress/kendo-theme-default": "10.1.0-dev.6",
|
|
59
|
+
"@progress/kendo-theme-utils": "10.1.0-dev.6"
|
|
60
60
|
},
|
|
61
61
|
"directories": {
|
|
62
62
|
"doc": "docs",
|
|
63
63
|
"lib": "lib"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "202e78d7f12ef7ae4a2f25de43f1216470d378f2"
|
|
66
66
|
}
|
|
@@ -71,17 +71,17 @@ $kendo-button-lg-line-height: math.div( 20, 14 ) !default;
|
|
|
71
71
|
|
|
72
72
|
/// The calculated height of the Button.
|
|
73
73
|
/// @group button
|
|
74
|
-
$kendo-button-calc-size: calc( #{$kendo-button-line-height * 1em
|
|
75
|
-
$kendo-button-sm-calc-size: calc( #{$kendo-button-sm-line-height * 1em
|
|
76
|
-
$kendo-button-md-calc-size: calc( #{$kendo-button-md-line-height * 1em
|
|
77
|
-
$kendo-button-lg-calc-size: calc( #{$kendo-button-lg-line-height * 1em
|
|
74
|
+
$kendo-button-calc-size: calc( ( #{$kendo-button-line-height} * 1em ) + ( #{$kendo-button-padding-y} * 2 ) + ( #{$kendo-button-border-width} * 2 ) ) !default;
|
|
75
|
+
$kendo-button-sm-calc-size: calc( ( #{$kendo-button-sm-line-height} * 1em ) + ( #{$kendo-button-sm-padding-y} * 2 ) + ( #{$kendo-button-border-width} * 2 ) ) !default;
|
|
76
|
+
$kendo-button-md-calc-size: calc( ( #{$kendo-button-md-line-height} * 1em ) + ( #{$kendo-button-md-padding-y} * 2 ) + ( #{$kendo-button-border-width} * 2 ) ) !default;
|
|
77
|
+
$kendo-button-lg-calc-size: calc( ( #{$kendo-button-lg-line-height} * 1em ) + ( #{$kendo-button-lg-padding-y} * 2 ) + ( #{$kendo-button-border-width} * 2 ) ) !default;
|
|
78
78
|
|
|
79
79
|
/// The calculated inner height of the Button excluding the border width.
|
|
80
80
|
/// @group button
|
|
81
|
-
$kendo-button-inner-calc-size: calc( #{$kendo-button-line-height * 1em
|
|
82
|
-
$kendo-button-sm-inner-calc-size: calc( #{$kendo-button-sm-line-height * 1em
|
|
83
|
-
$kendo-button-md-inner-calc-size: calc( #{$kendo-button-md-line-height * 1em
|
|
84
|
-
$kendo-button-lg-inner-calc-size: calc( #{$kendo-button-lg-line-height * 1em
|
|
81
|
+
$kendo-button-inner-calc-size: calc( ( #{$kendo-button-line-height} * 1em ) + ( #{$kendo-button-padding-y} * 2 ) ) !default;
|
|
82
|
+
$kendo-button-sm-inner-calc-size: calc( ( #{$kendo-button-sm-line-height} * 1em ) + ( #{$kendo-button-sm-padding-y} * 2 ) ) !default;
|
|
83
|
+
$kendo-button-md-inner-calc-size: calc( ( #{$kendo-button-md-line-height} * 1em ) + ( #{$kendo-button-md-padding-y} * 2 ) ) !default;
|
|
84
|
+
$kendo-button-lg-inner-calc-size: calc( ( #{$kendo-button-lg-line-height} * 1em ) + ( #{$kendo-button-lg-padding-y} * 2 ) ) !default;
|
|
85
85
|
|
|
86
86
|
/// The sizes map for the Button.
|
|
87
87
|
/// @group button
|
|
@@ -127,7 +127,7 @@ $kendo-checkbox-disabled-border: if($kendo-enable-color-system, k-color( base-em
|
|
|
127
127
|
$kendo-checkbox-disabled-checked-bg: $kendo-checkbox-disabled-border !default;
|
|
128
128
|
/// The text color of the disabled and checked CheckBox.
|
|
129
129
|
/// @group checkbox
|
|
130
|
-
$kendo-checkbox-disabled-checked-text: if($kendo-enable-color-system, k-color( on-
|
|
130
|
+
$kendo-checkbox-disabled-checked-text: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-color( $kendo-checkbox-disabled-checked-bg )) !default;
|
|
131
131
|
/// The border color of the disabled and checked CheckBox.
|
|
132
132
|
/// @group checkbox
|
|
133
133
|
$kendo-checkbox-disabled-checked-border: $kendo-checkbox-disabled-checked-bg !default;
|
|
@@ -162,10 +162,10 @@ $kendo-checkbox-indeterminate-glyph: "\e121" !default;
|
|
|
162
162
|
|
|
163
163
|
/// The image for a checked CheckBox indicator.
|
|
164
164
|
/// @group checkbox
|
|
165
|
-
$kendo-checkbox-checked-image: k-escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='#
|
|
165
|
+
$kendo-checkbox-checked-image: k-escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='#ffffff' stroke-width='3' d='M4.1,12.7 9,17.6 20.3,6.3'/></svg>") ) !default;
|
|
166
166
|
/// The image for a indeterminate CheckBox indicator.
|
|
167
167
|
/// @group checkbox
|
|
168
|
-
$kendo-checkbox-indeterminate-image: k-escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#
|
|
168
|
+
$kendo-checkbox-indeterminate-image: k-escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#ffffff' stroke-width='3' d='M4 10h12'/></svg>") ) !default;
|
|
169
169
|
|
|
170
170
|
|
|
171
171
|
// CheckBox label
|
package/scss/index.scss
CHANGED
|
@@ -114,6 +114,7 @@
|
|
|
114
114
|
@forward "./map/_index.scss";
|
|
115
115
|
@forward "./orgchart/_index.scss";
|
|
116
116
|
@forward "./signature/_index.scss";
|
|
117
|
+
@forward "./otp/_index.scss";
|
|
117
118
|
|
|
118
119
|
|
|
119
120
|
// Use component modules
|
|
@@ -200,8 +201,7 @@
|
|
|
200
201
|
@use "./switch/_index.scss" as *;
|
|
201
202
|
@use "./upload/_index.scss" as *;
|
|
202
203
|
@use "./dropzone/_index.scss" as *;
|
|
203
|
-
|
|
204
|
-
|
|
204
|
+
@use "./otp/_index.scss" as *;
|
|
205
205
|
// Command interfaces
|
|
206
206
|
@use "./action-buttons/_index.scss" as *;
|
|
207
207
|
@use "./appbar/_index.scss" as *;
|
|
@@ -372,6 +372,7 @@
|
|
|
372
372
|
@include kendo-switch--styles();
|
|
373
373
|
@include kendo-upload--styles();
|
|
374
374
|
@include kendo-dropzone--styles();
|
|
375
|
+
@include kendo-otp--styles();
|
|
375
376
|
|
|
376
377
|
|
|
377
378
|
// Command interfaces
|
|
@@ -73,6 +73,13 @@ $kendo-input-md-line-height: 1.25 !default;
|
|
|
73
73
|
/// @group input
|
|
74
74
|
$kendo-input-lg-line-height: 1.5 !default;
|
|
75
75
|
|
|
76
|
+
/// The calculated height of the Input.
|
|
77
|
+
/// @group input
|
|
78
|
+
$kendo-input-calc-size: calc( ( #{$kendo-input-line-height} * 1em ) + ( #{$kendo-input-padding-y} * 2 ) + ( #{$kendo-input-border-width * 2} ) ) !default;
|
|
79
|
+
$kendo-input-sm-calc-size: calc( ( #{$kendo-input-sm-line-height} * 1em ) + ( #{$kendo-input-sm-padding-y} * 2 ) + ( #{$kendo-input-border-width * 2} ) ) !default;
|
|
80
|
+
$kendo-input-md-calc-size: calc( ( #{$kendo-input-md-line-height} * 1em ) + ( #{$kendo-input-md-padding-y} * 2 ) + ( #{$kendo-input-border-width * 2} ) ) !default;
|
|
81
|
+
$kendo-input-lg-calc-size: calc( ( #{$kendo-input-lg-line-height} * 1em ) + ( #{$kendo-input-lg-padding-y} * 2 ) + ( #{$kendo-input-border-width * 2} ) ) !default;
|
|
82
|
+
|
|
76
83
|
/// The sizes map for the Input components.
|
|
77
84
|
/// @group input
|
|
78
85
|
$kendo-input-sizes: (
|
|
@@ -464,6 +471,10 @@ $kendo-picker-flat-hover-focus-border: null !default;
|
|
|
464
471
|
$kendo-input-md-line-height: $kendo-input-md-line-height,
|
|
465
472
|
$kendo-input-lg-line-height: $kendo-input-lg-line-height,
|
|
466
473
|
$kendo-input-sizes: $kendo-input-sizes,
|
|
474
|
+
$kendo-input-calc-size: $kendo-input-calc-size,
|
|
475
|
+
$kendo-input-sm-calc-size: $kendo-input-sm-calc-size,
|
|
476
|
+
$kendo-input-md-calc-size: $kendo-input-md-calc-size,
|
|
477
|
+
$kendo-input-lg-calc-size: $kendo-input-lg-calc-size,
|
|
467
478
|
$kendo-input-bg: $kendo-input-bg,
|
|
468
479
|
$kendo-input-text: $kendo-input-text,
|
|
469
480
|
$kendo-input-border: $kendo-input-border,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Dependencies
|
|
2
|
+
@use "../core/_index.scss" as *;
|
|
3
|
+
@use "../input/_index.scss" as *;
|
|
4
|
+
|
|
5
|
+
// Component
|
|
6
|
+
@forward "./_variables.scss";
|
|
7
|
+
@use "./_layout.scss" as *;
|
|
8
|
+
@use "./_theme.scss" as *;
|
|
9
|
+
|
|
10
|
+
// Expose
|
|
11
|
+
@mixin kendo-otp--styles() {
|
|
12
|
+
@include import-once( "otp" ) {
|
|
13
|
+
@include core-styles();
|
|
14
|
+
@include kendo-input--styles();
|
|
15
|
+
@include kendo-otp--layout();
|
|
16
|
+
@include kendo-otp--theme();
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
@use "../core/_index.scss" as *;
|
|
2
|
+
@use "../input/_variables.scss" as *;
|
|
3
|
+
|
|
4
|
+
// OTP
|
|
5
|
+
|
|
6
|
+
/// The gap between the items in the OTP.
|
|
7
|
+
/// @group one-time-password
|
|
8
|
+
$kendo-otp-gap: k-spacing(1.5) !default;
|
|
9
|
+
/// The gap between the items in the small OTP.
|
|
10
|
+
/// @group one-time-password
|
|
11
|
+
$kendo-otp-sm-gap: k-spacing(1) !default;
|
|
12
|
+
/// The gap between the items in the medium OTP.
|
|
13
|
+
/// @group one-time-password
|
|
14
|
+
$kendo-otp-md-gap: $kendo-otp-gap !default;
|
|
15
|
+
/// The gap between the items in the large OTP.
|
|
16
|
+
/// @group one-time-password
|
|
17
|
+
$kendo-otp-lg-gap: k-spacing(2) !default;
|
|
18
|
+
|
|
19
|
+
/// The horizontal padding of the OTP separator.
|
|
20
|
+
/// @group one-time-password
|
|
21
|
+
$kendo-otp-separator-padding-x: $kendo-otp-gap !default;
|
|
22
|
+
/// The horizontal padding of the small OTP separator.
|
|
23
|
+
/// @group one-time-password
|
|
24
|
+
$kendo-otp-sm-separator-padding-x: $kendo-otp-sm-gap !default;
|
|
25
|
+
/// The horizontal padding of the medium OTP separator.
|
|
26
|
+
/// @group one-time-password
|
|
27
|
+
$kendo-otp-md-separator-padding-x: $kendo-otp-separator-padding-x !default;
|
|
28
|
+
/// The horizontal padding of the large OTP separator.
|
|
29
|
+
/// @group one-time-password
|
|
30
|
+
$kendo-otp-lg-separator-padding-x: $kendo-otp-lg-gap !default;
|
|
31
|
+
|
|
32
|
+
/// The horizontal padding of the OTP separator.
|
|
33
|
+
/// @group one-time-password
|
|
34
|
+
$kendo-otp-input-width: $kendo-input-calc-size !default;
|
|
35
|
+
/// The horizontal padding of the small OTP separator.
|
|
36
|
+
/// @group one-time-password
|
|
37
|
+
$kendo-otp-sm-input-width: $kendo-input-sm-calc-size !default;
|
|
38
|
+
/// The horizontal padding of the medium OTP separator.
|
|
39
|
+
/// @group one-time-password
|
|
40
|
+
$kendo-otp-md-input-width: $kendo-otp-input-width !default;
|
|
41
|
+
/// The horizontal padding of the large OTP separator.
|
|
42
|
+
/// @group one-time-password
|
|
43
|
+
$kendo-otp-lg-input-width: $kendo-input-lg-calc-size !default;
|
|
44
|
+
|
|
45
|
+
$kendo-otp-sizes: (
|
|
46
|
+
sm: (
|
|
47
|
+
gap: $kendo-otp-sm-gap,
|
|
48
|
+
separator-padding-x: $kendo-otp-sm-separator-padding-x,
|
|
49
|
+
input-width: $kendo-otp-sm-input-width
|
|
50
|
+
),
|
|
51
|
+
md: (
|
|
52
|
+
gap: $kendo-otp-md-gap,
|
|
53
|
+
separator-padding-x: $kendo-otp-md-separator-padding-x,
|
|
54
|
+
input-width: $kendo-otp-md-input-width
|
|
55
|
+
),
|
|
56
|
+
lg: (
|
|
57
|
+
gap: $kendo-otp-lg-gap,
|
|
58
|
+
separator-padding-x: $kendo-otp-lg-separator-padding-x,
|
|
59
|
+
input-width: $kendo-otp-lg-input-width
|
|
60
|
+
)
|
|
61
|
+
) !default;
|
|
62
|
+
|
|
63
|
+
@forward "@progress/kendo-theme-default/scss/otp/_variables.scss" with (
|
|
64
|
+
$kendo-otp-gap: $kendo-otp-gap,
|
|
65
|
+
$kendo-otp-sm-gap: $kendo-otp-sm-gap,
|
|
66
|
+
$kendo-otp-md-gap: $kendo-otp-md-gap,
|
|
67
|
+
$kendo-otp-lg-gap: $kendo-otp-lg-gap,
|
|
68
|
+
$kendo-otp-separator-padding-x: $kendo-otp-separator-padding-x,
|
|
69
|
+
$kendo-otp-sm-separator-padding-x: $kendo-otp-sm-separator-padding-x,
|
|
70
|
+
$kendo-otp-md-separator-padding-x: $kendo-otp-md-separator-padding-x,
|
|
71
|
+
$kendo-otp-lg-separator-padding-x: $kendo-otp-lg-separator-padding-x,
|
|
72
|
+
$kendo-otp-input-width: $kendo-otp-input-width,
|
|
73
|
+
$kendo-otp-sm-input-width: $kendo-otp-sm-input-width,
|
|
74
|
+
$kendo-otp-md-input-width: $kendo-otp-md-input-width,
|
|
75
|
+
$kendo-otp-lg-input-width: $kendo-otp-lg-input-width,
|
|
76
|
+
$kendo-otp-sizes: $kendo-otp-sizes
|
|
77
|
+
);
|
|
@@ -153,10 +153,10 @@ $kendo-radio-checked-glyph: "\e308" !default;
|
|
|
153
153
|
|
|
154
154
|
/// The image of the checked RadioButton indicator.
|
|
155
155
|
/// @group radio
|
|
156
|
-
$kendo-radio-checked-image: k-escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><circle cx='50%' cy='50%' r='4' fill='#
|
|
156
|
+
$kendo-radio-checked-image: k-escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><circle cx='50%' cy='50%' r='4' fill='#ffffff'/></svg>") ) !default;
|
|
157
157
|
/// The image of the disabled and checked RadioButton indicator.
|
|
158
158
|
/// @group radio
|
|
159
|
-
$kendo-radio-disabled-checked-image: k-escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><circle cx='50%' cy='50%' r='4' fill='#
|
|
159
|
+
$kendo-radio-disabled-checked-image: k-escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><circle cx='50%' cy='50%' r='4' fill='#adadad'/></svg>") ) !default;
|
|
160
160
|
|
|
161
161
|
|
|
162
162
|
// Radio label
|
|
@@ -29,6 +29,25 @@ $kendo-tabstrip-line-height: math.div( 20, 14 ) !default;
|
|
|
29
29
|
/// @group tabstrip
|
|
30
30
|
$kendo-tabstrip-border-width: 1px !default;
|
|
31
31
|
|
|
32
|
+
/// The font size of the small TabStrip.
|
|
33
|
+
/// @group tabstrip
|
|
34
|
+
$kendo-tabstrip-sm-font-size: $kendo-tabstrip-font-size !default;
|
|
35
|
+
/// The line height of the small TabStrip.
|
|
36
|
+
/// @group tabstrip
|
|
37
|
+
$kendo-tabstrip-sm-line-height: $kendo-tabstrip-line-height !default;
|
|
38
|
+
/// The font size of the medium TabStrip.
|
|
39
|
+
/// @group tabstrip
|
|
40
|
+
$kendo-tabstrip-md-font-size: $kendo-tabstrip-font-size !default;
|
|
41
|
+
/// The line height of the medium TabStrip.
|
|
42
|
+
/// @group tabstrip
|
|
43
|
+
$kendo-tabstrip-md-line-height: $kendo-tabstrip-line-height !default;
|
|
44
|
+
/// The font size of the large TabStrip.
|
|
45
|
+
/// @group tabstrip
|
|
46
|
+
$kendo-tabstrip-lg-font-size: $kendo-tabstrip-font-size !default;
|
|
47
|
+
/// The line height of the large TabStrip.
|
|
48
|
+
/// @group tabstrip
|
|
49
|
+
$kendo-tabstrip-lg-line-height: $kendo-tabstrip-line-height !default;
|
|
50
|
+
|
|
32
51
|
/// The background color of the TabStrip wrapper.
|
|
33
52
|
/// @group tabstrip
|
|
34
53
|
$kendo-tabstrip-wrapper-bg: null !default;
|
|
@@ -64,6 +83,24 @@ $kendo-tabstrip-item-border-radius: 0px !default;
|
|
|
64
83
|
/// The gap between the TabStrip items.
|
|
65
84
|
/// @group tabstrip
|
|
66
85
|
$kendo-tabstrip-item-gap: k-spacing(0) !default;
|
|
86
|
+
/// The horizontal padding of the small TabStrip items.
|
|
87
|
+
/// @group tabstrip
|
|
88
|
+
$kendo-tabstrip-sm-item-padding-x: k-spacing(6) !default;
|
|
89
|
+
/// The vertical padding of the small TabStrip items.
|
|
90
|
+
/// @group tabstrip
|
|
91
|
+
$kendo-tabstrip-sm-item-padding-y: k-spacing(3) !default;
|
|
92
|
+
/// The horizontal padding of the medium TabStrip items.
|
|
93
|
+
/// @group tabstrip
|
|
94
|
+
$kendo-tabstrip-md-item-padding-x: $kendo-tabstrip-item-padding-x !default;
|
|
95
|
+
/// The vertical padding of the medium TabStrip items.
|
|
96
|
+
/// @group tabstrip
|
|
97
|
+
$kendo-tabstrip-md-item-padding-y: $kendo-tabstrip-item-padding-y !default;
|
|
98
|
+
/// The horizontal padding of the large TabStrip items.
|
|
99
|
+
/// @group tabstrip
|
|
100
|
+
$kendo-tabstrip-lg-item-padding-x: k-spacing(6) !default;
|
|
101
|
+
/// The vertical padding of the large TabStrip items.
|
|
102
|
+
/// @group tabstrip
|
|
103
|
+
$kendo-tabstrip-lg-item-padding-y: k-spacing(4) !default;
|
|
67
104
|
|
|
68
105
|
/// The background color of the TabStrip items.
|
|
69
106
|
/// @group tabstrip
|
|
@@ -164,6 +201,33 @@ $kendo-tabstrip-content-border: unset !default;
|
|
|
164
201
|
/// @group tabstrip
|
|
165
202
|
$kendo-tabstrip-content-focus-border: $kendo-component-text !default;
|
|
166
203
|
|
|
204
|
+
/// The left and right scroll overlay of the TabStrip.
|
|
205
|
+
/// @group tabstrip
|
|
206
|
+
$kendo-tabstrip-scroll-overlay: if($kendo-enable-color-system, k-color( app-surface ), rgba( $kendo-color-white, 0)), if($kendo-enable-color-system, color-mix(in srgb, k-color( app-surface ) 0%, transparent), rgba( $kendo-color-white, 0)) !default;
|
|
207
|
+
|
|
208
|
+
/// The size map of the TabStrip.
|
|
209
|
+
/// @group tabstrip
|
|
210
|
+
$kendo-tabstrip-sizes: (
|
|
211
|
+
sm: (
|
|
212
|
+
font-size: $kendo-tabstrip-sm-font-size,
|
|
213
|
+
line-height: $kendo-tabstrip-sm-line-height,
|
|
214
|
+
item-padding-x: $kendo-tabstrip-sm-item-padding-x,
|
|
215
|
+
item-padding-y: $kendo-tabstrip-sm-item-padding-y
|
|
216
|
+
),
|
|
217
|
+
md: (
|
|
218
|
+
font-size: $kendo-tabstrip-md-font-size,
|
|
219
|
+
line-height: $kendo-tabstrip-md-line-height,
|
|
220
|
+
item-padding-x: $kendo-tabstrip-md-item-padding-x,
|
|
221
|
+
item-padding-y: $kendo-tabstrip-md-item-padding-y
|
|
222
|
+
),
|
|
223
|
+
lg: (
|
|
224
|
+
font-size: $kendo-tabstrip-lg-font-size,
|
|
225
|
+
line-height: $kendo-tabstrip-lg-line-height,
|
|
226
|
+
item-padding-x: $kendo-tabstrip-lg-item-padding-x,
|
|
227
|
+
item-padding-y: $kendo-tabstrip-lg-item-padding-y
|
|
228
|
+
)
|
|
229
|
+
) !default;
|
|
230
|
+
|
|
167
231
|
@forward "@progress/kendo-theme-default/scss/tabstrip/_variables.scss" with (
|
|
168
232
|
$kendo-tabstrip-wrapper-padding-x: $kendo-tabstrip-wrapper-padding-x,
|
|
169
233
|
$kendo-tabstrip-wrapper-padding-y: $kendo-tabstrip-wrapper-padding-y,
|
|
@@ -172,6 +236,12 @@ $kendo-tabstrip-content-focus-border: $kendo-component-text !default;
|
|
|
172
236
|
$kendo-tabstrip-font-size: $kendo-tabstrip-font-size,
|
|
173
237
|
$kendo-tabstrip-line-height: $kendo-tabstrip-line-height,
|
|
174
238
|
$kendo-tabstrip-border-width: $kendo-tabstrip-border-width,
|
|
239
|
+
$kendo-tabstrip-sm-font-size: $kendo-tabstrip-sm-font-size,
|
|
240
|
+
$kendo-tabstrip-sm-line-height: $kendo-tabstrip-sm-line-height,
|
|
241
|
+
$kendo-tabstrip-md-font-size: $kendo-tabstrip-md-font-size,
|
|
242
|
+
$kendo-tabstrip-md-line-height: $kendo-tabstrip-md-line-height,
|
|
243
|
+
$kendo-tabstrip-lg-font-size: $kendo-tabstrip-lg-font-size,
|
|
244
|
+
$kendo-tabstrip-lg-line-height: $kendo-tabstrip-lg-line-height,
|
|
175
245
|
$kendo-tabstrip-wrapper-bg: $kendo-tabstrip-wrapper-bg,
|
|
176
246
|
$kendo-tabstrip-wrapper-text: $kendo-tabstrip-wrapper-text,
|
|
177
247
|
$kendo-tabstrip-wrapper-border: $kendo-tabstrip-wrapper-border,
|
|
@@ -184,6 +254,12 @@ $kendo-tabstrip-content-focus-border: $kendo-component-text !default;
|
|
|
184
254
|
$kendo-tabstrip-item-border-radius: $kendo-tabstrip-item-border-radius,
|
|
185
255
|
$kendo-tabstrip-item-gap: $kendo-tabstrip-item-gap,
|
|
186
256
|
$kendo-tabstrip-item-bg: $kendo-tabstrip-item-bg,
|
|
257
|
+
$kendo-tabstrip-sm-item-padding-x: $kendo-tabstrip-sm-item-padding-x,
|
|
258
|
+
$kendo-tabstrip-sm-item-padding-y: $kendo-tabstrip-sm-item-padding-y,
|
|
259
|
+
$kendo-tabstrip-md-item-padding-x: $kendo-tabstrip-md-item-padding-x,
|
|
260
|
+
$kendo-tabstrip-md-item-padding-y: $kendo-tabstrip-md-item-padding-y,
|
|
261
|
+
$kendo-tabstrip-lg-item-padding-x: $kendo-tabstrip-lg-item-padding-x,
|
|
262
|
+
$kendo-tabstrip-lg-item-padding-y: $kendo-tabstrip-lg-item-padding-y,
|
|
187
263
|
$kendo-tabstrip-item-text: $kendo-tabstrip-item-text,
|
|
188
264
|
$kendo-tabstrip-item-border: $kendo-tabstrip-item-border,
|
|
189
265
|
$kendo-tabstrip-item-gradient: $kendo-tabstrip-item-gradient,
|
|
@@ -212,5 +288,6 @@ $kendo-tabstrip-content-focus-border: $kendo-component-text !default;
|
|
|
212
288
|
$kendo-tabstrip-content-bg: $kendo-tabstrip-content-bg,
|
|
213
289
|
$kendo-tabstrip-content-text: $kendo-tabstrip-content-text,
|
|
214
290
|
$kendo-tabstrip-content-border: $kendo-tabstrip-content-border,
|
|
215
|
-
$kendo-tabstrip-content-focus-border: $kendo-tabstrip-content-focus-border
|
|
291
|
+
$kendo-tabstrip-content-focus-border: $kendo-tabstrip-content-focus-border,
|
|
292
|
+
$kendo-tabstrip-scroll-overlay: $kendo-tabstrip-scroll-overlay
|
|
216
293
|
);
|
package/scss/toolbar/_theme.scss
CHANGED
|
@@ -1,48 +1,62 @@
|
|
|
1
1
|
@use "sass:math";
|
|
2
2
|
@use "../core/_index.scss" as *;
|
|
3
3
|
@use "../menu/_variables.scss" as *;
|
|
4
|
+
@use "../button/_variables.scss" as *;
|
|
4
5
|
|
|
5
6
|
// Toolbar
|
|
6
7
|
|
|
7
8
|
/// The horizontal padding of the Toolbar.
|
|
8
9
|
/// @group toolbar
|
|
9
|
-
$kendo-toolbar-padding-x:
|
|
10
|
+
$kendo-toolbar-padding-x: k-spacing(2) !default;
|
|
10
11
|
/// The horizontal padding of the small Toolbar.
|
|
11
12
|
/// @group toolbar
|
|
12
13
|
$kendo-toolbar-sm-padding-x: k-spacing(1) !default;
|
|
13
14
|
/// The horizontal padding of the medium Toolbar.
|
|
14
15
|
/// @group toolbar
|
|
15
|
-
$kendo-toolbar-md-padding-x:
|
|
16
|
+
$kendo-toolbar-md-padding-x: $kendo-toolbar-padding-x !default;
|
|
16
17
|
/// The horizontal padding of the large Toolbar.
|
|
17
18
|
/// @group toolbar
|
|
18
19
|
$kendo-toolbar-lg-padding-x: k-spacing(2.5) !default;
|
|
19
20
|
|
|
20
21
|
/// The vertical padding of the Toolbar.
|
|
21
22
|
/// @group toolbar
|
|
22
|
-
$kendo-toolbar-padding-y:
|
|
23
|
+
$kendo-toolbar-padding-y: k-spacing(2) !default;
|
|
23
24
|
/// The vertical padding of the small Toolbar.
|
|
24
25
|
/// @group toolbar
|
|
25
26
|
$kendo-toolbar-sm-padding-y: k-spacing(1) !default;
|
|
26
27
|
/// The vertical padding of the medium Toolbar.
|
|
27
28
|
/// @group toolbar
|
|
28
|
-
$kendo-toolbar-md-padding-y:
|
|
29
|
+
$kendo-toolbar-md-padding-y: $kendo-toolbar-padding-y !default;
|
|
29
30
|
/// The vertical padding of the large Toolbar.
|
|
30
31
|
/// @group toolbar
|
|
31
32
|
$kendo-toolbar-lg-padding-y: k-spacing(2.5) !default;
|
|
32
33
|
|
|
33
34
|
/// The spacing between the Toolbar tools.
|
|
34
35
|
/// @group toolbar
|
|
35
|
-
$kendo-toolbar-spacing:
|
|
36
|
+
$kendo-toolbar-spacing: k-spacing(2) !default;
|
|
36
37
|
/// The spacing between the tools of the small Toolbar.
|
|
37
38
|
/// @group toolbar
|
|
38
39
|
$kendo-toolbar-sm-spacing: k-spacing(1.5) !default;
|
|
39
40
|
/// The spacing between the tools of the medium Toolbar.
|
|
40
41
|
/// @group toolbar
|
|
41
|
-
$kendo-toolbar-md-spacing:
|
|
42
|
+
$kendo-toolbar-md-spacing: $kendo-toolbar-spacing !default;
|
|
42
43
|
/// The spacing between the tools of the large Toolbar.
|
|
43
44
|
/// @group toolbar
|
|
44
45
|
$kendo-toolbar-lg-spacing: k-spacing(2.5) !default;
|
|
45
46
|
|
|
47
|
+
/// The height of the Toolbar button separator.
|
|
48
|
+
/// @group toolbar
|
|
49
|
+
$kendo-toolbar-separator-height: $kendo-button-md-calc-size !default;
|
|
50
|
+
/// The height of the small Toolbar button separator.
|
|
51
|
+
/// @group toolbar
|
|
52
|
+
$kendo-toolbar-sm-separator-height: $kendo-button-sm-calc-size !default;
|
|
53
|
+
/// The height of the medium Toolbar button separator.
|
|
54
|
+
/// @group toolbar
|
|
55
|
+
$kendo-toolbar-md-separator-height: $kendo-toolbar-separator-height !default;
|
|
56
|
+
/// The height of the large Toolbar button separator.
|
|
57
|
+
/// @group toolbar
|
|
58
|
+
$kendo-toolbar-lg-separator-height: $kendo-button-lg-calc-size !default;
|
|
59
|
+
|
|
46
60
|
/// The width of the border around the Toolbar.
|
|
47
61
|
/// @group toolbar
|
|
48
62
|
$kendo-toolbar-border-width: 0 !default;
|
|
@@ -75,6 +89,10 @@ $kendo-toolbar-gradient: null !default;
|
|
|
75
89
|
/// The box shadow of the Toolbar.
|
|
76
90
|
/// @group toolbar
|
|
77
91
|
$kendo-toolbar-shadow: k-elevation(4) !default;
|
|
92
|
+
/// The left and right scroll overlay of the Toolbar.
|
|
93
|
+
/// @group toolbar
|
|
94
|
+
$kendo-toolbar-scroll-overlay: $kendo-toolbar-bg, if($kendo-enable-color-system, color-mix(in srgb, k-color( app-surface ) 0%, transparent), rgba( $kendo-color-white, 0)) !default;
|
|
95
|
+
|
|
78
96
|
|
|
79
97
|
/// The text color of the outline Toolbar.
|
|
80
98
|
/// @group toolbar
|
|
@@ -91,6 +109,10 @@ $kendo-toolbar-outline-shadow: null !default;
|
|
|
91
109
|
/// The width of the border around the outline Toolbar.
|
|
92
110
|
/// @group toolbar
|
|
93
111
|
$kendo-toolbar-outline-border-width: 1px !default;
|
|
112
|
+
/// The left and right scroll overlay of the outline Toolbar.
|
|
113
|
+
/// @group toolbar
|
|
114
|
+
$kendo-toolbar-outline-scroll-overlay: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white), if($kendo-enable-color-system, color-mix(in srgb, k-color( app-surface ) 0%, transparent), rgba( $kendo-color-white, 0)) !default;
|
|
115
|
+
|
|
94
116
|
|
|
95
117
|
/// The text color of the flat Toolbar.
|
|
96
118
|
/// @group toolbar
|
|
@@ -107,6 +129,10 @@ $kendo-toolbar-flat-shadow: 0 2px 0 -1px $kendo-component-border !default;
|
|
|
107
129
|
/// Border width of the flat Toolbar.
|
|
108
130
|
/// @group toolbar
|
|
109
131
|
$kendo-toolbar-flat-border-width: 1px !default;
|
|
132
|
+
/// The left and right scroll overlay of the flat Toolbar.
|
|
133
|
+
/// @group toolbar
|
|
134
|
+
$kendo-toolbar-flat-scroll-overlay: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white), if($kendo-enable-color-system, color-mix(in srgb, k-color( app-surface ) 0%, transparent), rgba( $kendo-color-white, 0)) !default;
|
|
135
|
+
|
|
110
136
|
|
|
111
137
|
/// The color of the separator border of the Toolbar.
|
|
112
138
|
/// @group toolbar
|
|
@@ -139,17 +165,20 @@ $kendo-toolbar-sizes: (
|
|
|
139
165
|
sm: (
|
|
140
166
|
padding-x: $kendo-toolbar-sm-padding-x,
|
|
141
167
|
padding-y: $kendo-toolbar-sm-padding-y,
|
|
142
|
-
spacing: $kendo-toolbar-sm-spacing
|
|
168
|
+
spacing: $kendo-toolbar-sm-spacing,
|
|
169
|
+
separator-height: $kendo-toolbar-sm-separator-height
|
|
143
170
|
),
|
|
144
171
|
md: (
|
|
145
172
|
padding-x: $kendo-toolbar-md-padding-x,
|
|
146
173
|
padding-y: $kendo-toolbar-md-padding-y,
|
|
147
|
-
spacing: $kendo-toolbar-md-spacing
|
|
174
|
+
spacing: $kendo-toolbar-md-spacing,
|
|
175
|
+
separator-height: $kendo-toolbar-md-separator-height
|
|
148
176
|
),
|
|
149
177
|
lg: (
|
|
150
178
|
padding-x: $kendo-toolbar-lg-padding-x,
|
|
151
179
|
padding-y: $kendo-toolbar-lg-padding-y,
|
|
152
|
-
spacing: $kendo-toolbar-lg-spacing
|
|
180
|
+
spacing: $kendo-toolbar-lg-spacing,
|
|
181
|
+
separator-height: $kendo-toolbar-lg-separator-height
|
|
153
182
|
)
|
|
154
183
|
) !default;
|
|
155
184
|
|