@progress/kendo-theme-default 5.5.1-dev.0 → 5.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/all.css +363 -112
- package/dist/all.scss +445 -153
- package/lib/swatches/default-blue.json +1 -1
- package/lib/swatches/default-dataviz-v4.json +1 -1
- package/lib/swatches/default-green.json +1 -1
- package/lib/swatches/default-main-dark.json +1 -1
- package/lib/swatches/default-main.json +1 -1
- package/lib/swatches/default-nordic.json +1 -1
- package/lib/swatches/default-ocean-blue.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 +2 -2
- package/scss/action-sheet/_layout.scss +64 -0
- package/scss/button/_layout.scss +17 -35
- package/scss/button/_variables.scss +34 -14
- package/scss/calendar/_layout.scss +98 -40
- package/scss/calendar/_theme.scss +30 -48
- package/scss/calendar/_variables.scss +44 -1
- package/scss/dataviz/_theme.scss +0 -2
- package/scss/input/_variables.scss +21 -4
- package/scss/list/_variables.scss +6 -6
- package/scss/progressbar/_layout.scss +43 -0
- package/scss/progressbar/_theme.scss +13 -0
- package/scss/progressbar/_variables.scss +4 -0
- package/scss/timeselector/_layout.scss +30 -0
- package/scss/timeselector/_variables.scss +38 -0
- package/scss/treeview/_variables.scss +4 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-theme-default",
|
|
3
3
|
"description": "SASS resources for the default Kendo UI theme",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.6.0",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"sass-build": "^0.0.1"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "ef24d215b0a733af85dbc621ccc41f4f80b84d90"
|
|
48
48
|
}
|
|
@@ -34,6 +34,10 @@
|
|
|
34
34
|
box-sizing: border-box;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
+
.k-actionsheet-fullscreen {
|
|
38
|
+
max-height: 100%;
|
|
39
|
+
height: 100%;
|
|
40
|
+
}
|
|
37
41
|
|
|
38
42
|
|
|
39
43
|
// Actionsheet header
|
|
@@ -47,6 +51,35 @@
|
|
|
47
51
|
font-size: $actionsheet-header-font-size;
|
|
48
52
|
font-family: $actionsheet-header-font-family;
|
|
49
53
|
line-height: $actionsheet-header-line-height;
|
|
54
|
+
flex: none;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
// Actionsheet titlebar
|
|
59
|
+
.k-actionsheet-titlebar {
|
|
60
|
+
@extend .k-actionsheet-header !optional;
|
|
61
|
+
display: flex;
|
|
62
|
+
flex-flow: row nowrap;
|
|
63
|
+
align-items: center;
|
|
64
|
+
}
|
|
65
|
+
.k-actionsheet-title {
|
|
66
|
+
flex: 1;
|
|
67
|
+
}
|
|
68
|
+
.k-actionsheet-actions {
|
|
69
|
+
flex: none;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
// Actionsheet content
|
|
74
|
+
.k-actionsheet-content {
|
|
75
|
+
flex: 1;
|
|
76
|
+
overflow: auto;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
// Actionsheet footer
|
|
81
|
+
.k-actionsheet-footer {
|
|
82
|
+
flex: none;
|
|
50
83
|
}
|
|
51
84
|
|
|
52
85
|
|
|
@@ -143,4 +176,35 @@
|
|
|
143
176
|
transform: none;
|
|
144
177
|
}
|
|
145
178
|
|
|
179
|
+
|
|
180
|
+
// Adaptive action sheet
|
|
181
|
+
.k-adaptive-actionsheet {
|
|
182
|
+
max-width: 100%;
|
|
183
|
+
width: 100%;
|
|
184
|
+
|
|
185
|
+
// TMP: this should be moved to action sheet
|
|
186
|
+
display: flex;
|
|
187
|
+
flex-flow: column nowrap;
|
|
188
|
+
|
|
189
|
+
.k-calendar {
|
|
190
|
+
margin-inline: auto;
|
|
191
|
+
border-width: 0;
|
|
192
|
+
display: flex;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.k-timeselector {
|
|
196
|
+
height: 100%;
|
|
197
|
+
border-width: 0;
|
|
198
|
+
overflow: hidden;
|
|
199
|
+
|
|
200
|
+
.k-time-part {
|
|
201
|
+
display: contents;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.k-time-list-wrapper {
|
|
205
|
+
height: 100%;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
146
210
|
}
|
package/scss/button/_layout.scss
CHANGED
|
@@ -68,45 +68,27 @@
|
|
|
68
68
|
|
|
69
69
|
.k-button-text {}
|
|
70
70
|
|
|
71
|
-
// Sizes
|
|
72
|
-
.k-button-sm {
|
|
73
|
-
padding: $kendo-button-padding-y-sm $kendo-button-padding-x-sm;
|
|
74
|
-
font-size: $kendo-button-font-size-sm;
|
|
75
|
-
line-height: $kendo-button-line-height-sm;
|
|
76
|
-
}
|
|
77
|
-
.k-button-md {
|
|
78
|
-
padding: $kendo-button-padding-y-md $kendo-button-padding-x-md;
|
|
79
|
-
font-size: $kendo-button-font-size-md;
|
|
80
|
-
line-height: $kendo-button-line-height-md;
|
|
81
|
-
}
|
|
82
|
-
.k-button-lg {
|
|
83
|
-
padding: $kendo-button-padding-y-lg $kendo-button-padding-x-lg;
|
|
84
|
-
font-size: $kendo-button-font-size-lg;
|
|
85
|
-
line-height: $kendo-button-line-height-lg;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.k-icon-button.k-button-sm {
|
|
89
|
-
padding: $kendo-button-padding-y-sm;
|
|
90
71
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
72
|
+
// Sizes
|
|
73
|
+
@each $size, $size-props in $kendo-button-sizes {
|
|
74
|
+
$_padding-x: map-get( $size-props, padding-x );
|
|
75
|
+
$_padding-y: map-get( $size-props, padding-y );
|
|
76
|
+
$_font-size: map-get( $size-props, font-size );
|
|
77
|
+
$_line-height: map-get( $size-props, line-height );
|
|
78
|
+
|
|
79
|
+
.k-button-#{$size} {
|
|
80
|
+
padding: $_padding-y $_padding-x;
|
|
81
|
+
font-size: $_font-size;
|
|
82
|
+
line-height: $_line-height;
|
|
94
83
|
}
|
|
95
|
-
}
|
|
96
|
-
.k-icon-button.k-button-md {
|
|
97
|
-
padding: $kendo-button-padding-y-md;
|
|
98
84
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
min-height: calc( #{$kendo-button-font-size-md} * #{$kendo-button-line-height-md} );
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
.k-icon-button.k-button-lg {
|
|
105
|
-
padding: $kendo-button-padding-y-lg;
|
|
85
|
+
.k-button-#{$size}.k-icon-button {
|
|
86
|
+
padding: $_padding-y;
|
|
106
87
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
88
|
+
> .k-button-icon {
|
|
89
|
+
min-width: calc( #{$_font-size} * #{$_line-height} );
|
|
90
|
+
min-height: calc( #{$_font-size} * #{$_line-height} );
|
|
91
|
+
}
|
|
110
92
|
}
|
|
111
93
|
}
|
|
112
94
|
|
|
@@ -11,34 +11,33 @@ $kendo-button-border-radius: null !default;
|
|
|
11
11
|
/// Horizontal padding of the button.
|
|
12
12
|
/// @group button
|
|
13
13
|
$kendo-button-padding-x: map-get( $spacing, 2 ) !default;
|
|
14
|
-
$kendo-button-padding-x-sm: map-get( $spacing, 2 ) !default;
|
|
15
|
-
$kendo-button-padding-x-md: map-get( $spacing, 2 ) !default;
|
|
16
|
-
$kendo-button-padding-x-lg: map-get( $spacing, 2 ) !default;
|
|
17
|
-
|
|
18
14
|
/// Vertical padding of the button.
|
|
19
15
|
/// @group button
|
|
20
16
|
$kendo-button-padding-y: map-get( $spacing, 1 ) !default;
|
|
21
|
-
$kendo-button-padding-y-sm: map-get( $spacing, 1 ) - map-get( $spacing, thin ) !default;
|
|
22
|
-
$kendo-button-padding-y-md: map-get( $spacing, 1 ) !default;
|
|
23
|
-
$kendo-button-padding-y-lg: map-get( $spacing, 1 ) + map-get( $spacing, thin ) !default;
|
|
24
|
-
|
|
25
17
|
/// Font family of the button.
|
|
26
18
|
/// @group button
|
|
27
19
|
$kendo-button-font-family: $font-family !default;
|
|
28
|
-
|
|
29
20
|
/// Font sizes of the button.
|
|
30
21
|
/// @group button
|
|
31
22
|
$kendo-button-font-size: $font-size-md !default;
|
|
32
|
-
$kendo-button-font-size-sm: $font-size-md !default;
|
|
33
|
-
$kendo-button-font-size-md: $font-size-md !default;
|
|
34
|
-
$kendo-button-font-size-lg: $font-size-md !default;
|
|
35
|
-
|
|
36
23
|
/// Line heights used along with $font-size.
|
|
37
24
|
/// @group button
|
|
38
25
|
$kendo-button-line-height: $line-height-md !default;
|
|
26
|
+
|
|
27
|
+
$kendo-button-padding-x-sm: map-get( $spacing, 2 ) !default;
|
|
28
|
+
$kendo-button-padding-y-sm: map-get( $spacing, 1 ) - map-get( $spacing, thin ) !default;
|
|
29
|
+
$kendo-button-font-size-sm: $font-size-md !default;
|
|
39
30
|
$kendo-button-line-height-sm: $line-height-md !default;
|
|
31
|
+
|
|
32
|
+
$kendo-button-padding-x-md: map-get( $spacing, 2 ) !default;
|
|
33
|
+
$kendo-button-padding-y-md: map-get( $spacing, 1 ) !default;
|
|
34
|
+
$kendo-button-font-size-md: $font-size-md !default;
|
|
40
35
|
$kendo-button-line-height-md: $line-height-md !default;
|
|
41
|
-
|
|
36
|
+
|
|
37
|
+
$kendo-button-padding-x-lg: map-get( $spacing, 3 ) !default;
|
|
38
|
+
$kendo-button-padding-y-lg: map-get( $spacing, 2 );
|
|
39
|
+
$kendo-button-font-size-lg: $font-size-lg !default;
|
|
40
|
+
$kendo-button-line-height-lg: $line-height-lg !default;
|
|
42
41
|
|
|
43
42
|
/// Calculated height of the button.
|
|
44
43
|
/// @group button
|
|
@@ -48,6 +47,27 @@ $kendo-button-calc-size: calc( #{$kendo-button-line-height * 1em} + #{$kendo-but
|
|
|
48
47
|
/// @group button
|
|
49
48
|
$kendo-button-inner-calc-size: calc( #{$kendo-button-line-height * 1em} + #{$kendo-button-padding-y * 2} ) !default;
|
|
50
49
|
|
|
50
|
+
$kendo-button-sizes: (
|
|
51
|
+
sm: (
|
|
52
|
+
padding-x: $kendo-button-padding-x-sm,
|
|
53
|
+
padding-y: $kendo-button-padding-y-sm,
|
|
54
|
+
font-size: $kendo-button-font-size-sm,
|
|
55
|
+
line-height: $kendo-button-line-height-sm
|
|
56
|
+
),
|
|
57
|
+
md: (
|
|
58
|
+
padding-x: $kendo-button-padding-x-md,
|
|
59
|
+
padding-y: $kendo-button-padding-y-md,
|
|
60
|
+
font-size: $kendo-button-font-size-md,
|
|
61
|
+
line-height: $kendo-button-line-height-md
|
|
62
|
+
),
|
|
63
|
+
lg: (
|
|
64
|
+
padding-x: $kendo-button-padding-x-lg,
|
|
65
|
+
padding-y: $kendo-button-padding-y-lg,
|
|
66
|
+
font-size: $kendo-button-font-size-lg,
|
|
67
|
+
line-height: $kendo-button-line-height-lg
|
|
68
|
+
)
|
|
69
|
+
) !default;
|
|
70
|
+
|
|
51
71
|
/// Theme colors map for the button.
|
|
52
72
|
/// @group button
|
|
53
73
|
$kendo-button-theme-colors: map-merge(
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
// Base
|
|
4
4
|
.k-calendar {
|
|
5
|
+
inline-size: var( --INTERNAL--kendo-calendar-width, min-content );
|
|
6
|
+
block-size: var( --INTERNAL--kendo-calendar-height, min-content );
|
|
5
7
|
border-width: $calendar-border-width;
|
|
6
8
|
border-style: solid;
|
|
7
9
|
box-sizing: border-box;
|
|
@@ -22,19 +24,12 @@
|
|
|
22
24
|
> .k-calendar {
|
|
23
25
|
border: 0;
|
|
24
26
|
}
|
|
25
|
-
|
|
26
|
-
// Common
|
|
27
|
-
.k-link {
|
|
28
|
-
white-space: normal;
|
|
29
|
-
position: relative;
|
|
30
|
-
overflow: hidden;
|
|
31
|
-
}
|
|
32
27
|
}
|
|
33
28
|
|
|
34
29
|
|
|
35
30
|
// Calendar table
|
|
36
31
|
.k-calendar-table {
|
|
37
|
-
margin: 0;
|
|
32
|
+
margin: 0 auto;
|
|
38
33
|
border-width: 0;
|
|
39
34
|
border-color: inherit;
|
|
40
35
|
border-spacing: 0;
|
|
@@ -42,8 +37,7 @@
|
|
|
42
37
|
table-layout: fixed;
|
|
43
38
|
text-align: center;
|
|
44
39
|
outline: 0;
|
|
45
|
-
display:
|
|
46
|
-
vertical-align: top;
|
|
40
|
+
display: table;
|
|
47
41
|
position: relative;
|
|
48
42
|
z-index: 1;
|
|
49
43
|
}
|
|
@@ -61,6 +55,9 @@
|
|
|
61
55
|
font-weight: $calendar-caption-font-weight;
|
|
62
56
|
cursor: default;
|
|
63
57
|
}
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
// Calendar cell
|
|
64
61
|
.k-calendar-th,
|
|
65
62
|
.k-calendar-td {
|
|
66
63
|
border-width: 0;
|
|
@@ -82,10 +79,32 @@
|
|
|
82
79
|
}
|
|
83
80
|
.k-calendar-td {
|
|
84
81
|
@include border-radius( $calendar-cell-border-radius );
|
|
82
|
+
inline-size: var( --INTERNAL--kendo-calendar-cell-size, min-content );
|
|
83
|
+
block-size: var( --INTERNAL--kendo-calendar-cell-size, min-content );
|
|
85
84
|
border-color: transparent;
|
|
86
85
|
}
|
|
87
86
|
|
|
88
87
|
|
|
88
|
+
// Calendar cell inner
|
|
89
|
+
// Remove .k-calendar once we remove k-link
|
|
90
|
+
.k-calendar .k-calendar-cell-inner {
|
|
91
|
+
@include border-radius( $calendar-cell-border-radius );
|
|
92
|
+
padding: $calendar-cell-padding-y $calendar-cell-padding-x;
|
|
93
|
+
padding-inline: var( --INTERNAL--kendo-calendar-cell-padding-x, #{$calendar-cell-padding-x} );
|
|
94
|
+
padding-block: var( --INTERNAL--kendo-calendar-cell-padding-y, #{$calendar-cell-padding-y} );
|
|
95
|
+
width: 100%;
|
|
96
|
+
height: 100%;
|
|
97
|
+
box-sizing: border-box;
|
|
98
|
+
display: flex;
|
|
99
|
+
flex-direction: row;
|
|
100
|
+
align-items: center;
|
|
101
|
+
justify-content: center;
|
|
102
|
+
white-space: normal;
|
|
103
|
+
position: relative;
|
|
104
|
+
overflow: hidden;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
|
|
89
108
|
// Calendar header
|
|
90
109
|
.k-calendar .k-header {
|
|
91
110
|
padding: $calendar-header-padding-y $calendar-header-padding-x;
|
|
@@ -103,7 +122,7 @@
|
|
|
103
122
|
// Calendar header
|
|
104
123
|
.k-calendar-header {
|
|
105
124
|
padding: $calendar-header-padding-y $calendar-header-padding-x;
|
|
106
|
-
min-width: $calendar-
|
|
125
|
+
min-width: ($calendar-cell-size * 8);
|
|
107
126
|
box-sizing: border-box;
|
|
108
127
|
display: flex;
|
|
109
128
|
align-items: center;
|
|
@@ -145,22 +164,13 @@
|
|
|
145
164
|
padding: 0 $calendar-header-padding-x;
|
|
146
165
|
// setting width / height prevents layout changes in meta views
|
|
147
166
|
width: $calendar-view-width;
|
|
167
|
+
inline-size: var( --INTERNAL--kendo-calendar-view-width, #{$calendar-view-width});
|
|
148
168
|
min-height: $calendar-view-height;
|
|
149
169
|
box-sizing: content-box;
|
|
150
170
|
gap: $calendar-view-gap;
|
|
151
171
|
position: relative;
|
|
152
172
|
z-index: 1;
|
|
153
173
|
overflow: hidden;
|
|
154
|
-
|
|
155
|
-
.k-link {
|
|
156
|
-
@include border-radius( $calendar-cell-border-radius );
|
|
157
|
-
padding: $calendar-cell-padding-y $calendar-cell-padding-x;
|
|
158
|
-
box-sizing: border-box;
|
|
159
|
-
display: flex;
|
|
160
|
-
flex-direction: row;
|
|
161
|
-
align-items: center;
|
|
162
|
-
justify-content: center;
|
|
163
|
-
}
|
|
164
174
|
}
|
|
165
175
|
.k-week-number .k-calendar-view {
|
|
166
176
|
width: (8 * $calendar-cell-size);
|
|
@@ -168,61 +178,59 @@
|
|
|
168
178
|
|
|
169
179
|
|
|
170
180
|
// Month view
|
|
181
|
+
.k-month-calendar,
|
|
171
182
|
.k-calendar-monthview {
|
|
172
183
|
$_month-cell-size: $calendar-cell-size;
|
|
173
184
|
|
|
174
185
|
.k-calendar-td {
|
|
175
186
|
width: $_month-cell-size;
|
|
176
187
|
height: $_month-cell-size;
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
width: $_month-cell-size;
|
|
180
|
-
height: $_month-cell-size;
|
|
188
|
+
inline-size: var( --INTERNAL--kendo-calendar-cell-size, #{$_month-cell-size} );
|
|
189
|
+
block-size: var( --INTERNAL--kendo-calendar-cell-size, #{$_month-cell-size} );
|
|
181
190
|
}
|
|
182
191
|
}
|
|
183
192
|
|
|
184
193
|
|
|
185
194
|
// Year view
|
|
195
|
+
.k-year-calendar,
|
|
186
196
|
.k-calendar-yearview {
|
|
187
|
-
$_year-cell-size: (
|
|
197
|
+
$_year-cell-size: ( 1.75 * $calendar-cell-size ); // 7 / 4 => 1.75
|
|
188
198
|
|
|
189
199
|
.k-calendar-td {
|
|
190
|
-
width: auto;
|
|
191
|
-
height: auto;
|
|
192
|
-
}
|
|
193
|
-
.k-link {
|
|
194
200
|
width: $_year-cell-size;
|
|
195
201
|
height: $_year-cell-size;
|
|
202
|
+
inline-size: var( --INTERNAL--kendo-calendar-cell-size, #{$_year-cell-size} );
|
|
203
|
+
block-size: var( --INTERNAL--kendo-calendar-cell-size, #{$_year-cell-size} );
|
|
196
204
|
}
|
|
197
205
|
}
|
|
198
206
|
|
|
199
207
|
|
|
200
208
|
// Decade view
|
|
209
|
+
.k-decade-calendar,
|
|
201
210
|
.k-calendar-decadeview {
|
|
202
|
-
$_decade-cell-size: (
|
|
211
|
+
$_decade-cell-size: ( 1.75 * $calendar-cell-size ); // 7 / 4 => 1.75
|
|
203
212
|
|
|
204
213
|
.k-calendar-td {
|
|
205
|
-
width: auto;
|
|
206
|
-
height: auto;
|
|
207
|
-
}
|
|
208
|
-
.k-link {
|
|
209
214
|
width: $_decade-cell-size;
|
|
210
215
|
height: $_decade-cell-size;
|
|
216
|
+
inline-size: var( --INTERNAL--kendo-calendar-cell-size, #{$_decade-cell-size} );
|
|
217
|
+
block-size: var( --INTERNAL--kendo-calendar-cell-size, #{$_decade-cell-size} );
|
|
211
218
|
}
|
|
212
219
|
}
|
|
213
220
|
|
|
214
221
|
|
|
215
222
|
// Century view
|
|
223
|
+
.k-century-calendar,
|
|
216
224
|
.k-calendar-centuryview {
|
|
217
|
-
$_century-cell-size: (
|
|
225
|
+
$_century-cell-size: ( 1.75 * $calendar-cell-size ); // 7 / 4 => 1.75
|
|
218
226
|
|
|
219
227
|
.k-calendar-td {
|
|
220
|
-
width: auto;
|
|
221
|
-
height: auto;
|
|
222
|
-
}
|
|
223
|
-
.k-link {
|
|
224
228
|
width: $_century-cell-size;
|
|
225
229
|
height: $_century-cell-size;
|
|
230
|
+
inline-size: var( --INTERNAL--kendo-calendar-cell-size, #{$_century-cell-size} );
|
|
231
|
+
block-size: var( --INTERNAL--kendo-calendar-cell-size, #{$_century-cell-size} );
|
|
232
|
+
}
|
|
233
|
+
.k-calendar-cell-inner {
|
|
226
234
|
text-align: left;
|
|
227
235
|
}
|
|
228
236
|
}
|
|
@@ -262,6 +270,56 @@
|
|
|
262
270
|
top: 0;
|
|
263
271
|
right: 0;
|
|
264
272
|
}
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
// Calendar sizes
|
|
278
|
+
@each $size, $size-props in $kendo-calendar-sizes {
|
|
279
|
+
$_font-size: map-get( $size-props, font-size );
|
|
280
|
+
$_line-height: map-get( $size-props, line-height );
|
|
281
|
+
$_cell-size: map-get( $size-props, cell-size );
|
|
282
|
+
$_cell-padding-x: map-get( $size-props, cell-padding-x );
|
|
283
|
+
$_cell-padding-y: map-get( $size-props, cell-padding-y );
|
|
284
|
+
|
|
285
|
+
$_month-cell-size: $_cell-size;
|
|
286
|
+
$_year-cell-size: ( 1.75 * $_cell-size ); // 7 / 4 => 1.75
|
|
287
|
+
$_decade-cell-size: ( 1.75 * $_cell-size ); // 7 / 4 => 1.75
|
|
288
|
+
$_century-cell-size: ( 1.75 * $_cell-size ); // 7 / 4 => 1.75
|
|
289
|
+
|
|
290
|
+
.k-calendar-#{$size} {
|
|
291
|
+
--INTERNAL--kendo-calendar-view-width: #{8 * $_cell-size};
|
|
292
|
+
--INTERNAL--kendo-calendar-cell-padding-x: var( --kendo-calendar-#{$size}-cell-padding-x, #{$_cell-padding-x} );
|
|
293
|
+
--INTERNAL--kendo-calendar-cell-padding-y: var( --kendo-calendar-#{$size}-cell-padding-y, #{$_cell-padding-y} );
|
|
294
|
+
font-size: $_font-size;
|
|
295
|
+
line-height: $_line-height;
|
|
296
|
+
|
|
297
|
+
&.k-month-calendar,
|
|
298
|
+
.k-calendar-monthview {
|
|
299
|
+
--INTERNAL--kendo-calendar-cell-size: var( --kendo-calendar-#{$size}-month-cell-size, #{$_month-cell-size} );
|
|
300
|
+
}
|
|
301
|
+
&.k-year-calendar,
|
|
302
|
+
.k-calendar-yearview {
|
|
303
|
+
--INTERNAL--kendo-calendar-cell-size: var( --kendo-calendar-#{$size}-year-cell-size, #{$_year-cell-size} );
|
|
304
|
+
}
|
|
305
|
+
&.k-decade-calendar,
|
|
306
|
+
.k-calendar-decadeview {
|
|
307
|
+
--INTERNAL--kendo-calendar-cell-size: var( --kendo-calendar-#{$size}-decade-cell-size, #{$_decade-cell-size} );
|
|
308
|
+
}
|
|
309
|
+
&.k-century-calendar,
|
|
310
|
+
.k-calendar-centuryview {
|
|
311
|
+
--INTERNAL--kendo-calendar-cell-size: var( --kendo-calendar-#{$size}-century-cell-size, #{$_century-cell-size} );
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
// Alias
|
|
320
|
+
.k-link {
|
|
321
|
+
@extend .k-calendar-cell-inner;
|
|
322
|
+
}
|
|
265
323
|
}
|
|
266
324
|
|
|
267
325
|
|