@progress/kendo-theme-bootstrap 5.8.2-dev.4 → 5.8.2-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 +196 -35
- package/dist/all.scss +1485 -579
- package/lib/swatches/bootstrap-3-dark.json +1 -1
- package/lib/swatches/bootstrap-3.json +1 -1
- package/lib/swatches/bootstrap-4-dark.json +1 -1
- package/lib/swatches/bootstrap-4.json +1 -1
- package/lib/swatches/bootstrap-dataviz-v4.json +1 -1
- package/lib/swatches/bootstrap-main-dark.json +1 -1
- package/lib/swatches/bootstrap-main.json +1 -1
- package/lib/swatches/bootstrap-nordic.json +1 -1
- package/lib/swatches/bootstrap-turquoise-dark.json +1 -1
- package/lib/swatches/bootstrap-turquoise.json +1 -1
- package/lib/swatches/bootstrap-urban.json +1 -1
- package/lib/swatches/bootstrap-vintage.json +1 -1
- package/package.json +4 -3
- package/scss/_bootstrap-overrides.scss +7 -7
- package/scss/_variables.scss +34 -34
- package/scss/action-buttons/_variables.scss +4 -4
- package/scss/action-sheet/_variables.scss +35 -16
- package/scss/adaptive/_variables.scss +1 -1
- package/scss/appbar/_variables.scss +7 -7
- package/scss/avatar/_variables.scss +3 -3
- package/scss/badge/_theme.scss +0 -4
- package/scss/badge/_variables.scss +2 -2
- package/scss/bottom-navigation/_variables.scss +6 -6
- package/scss/breadcrumb/_variables.scss +2 -2
- package/scss/button/_variables.scss +13 -13
- package/scss/calendar/_variables.scss +18 -18
- package/scss/captcha/_variables.scss +2 -2
- package/scss/card/_variables.scss +6 -6
- package/scss/chat/_variables.scss +1 -1
- package/scss/checkbox/_variables.scss +14 -14
- package/scss/chip/_variables.scss +22 -22
- package/scss/coloreditor/_variables.scss +3 -4
- package/scss/colorgradient/_variables.scss +9 -9
- package/scss/colorpalette/_variables.scss +1 -1
- package/scss/common/_loading.scss +1 -1
- package/scss/core/functions/_index.scss +3 -0
- package/scss/dataviz/_variables.scss +25 -25
- package/scss/dialog/_theme.scss +1 -1
- package/scss/drawer/_variables.scss +6 -6
- package/scss/dropdowntree/_variables.scss +2 -2
- package/scss/dropzone/_variables.scss +6 -6
- package/scss/editor/_variables.scss +1 -1
- package/scss/expansion-panel/_variables.scss +2 -2
- package/scss/fab/_theme.scss +27 -27
- package/scss/fab/_variables.scss +8 -8
- package/scss/filemanager/_variables.scss +7 -7
- package/scss/filter/_variables.scss +2 -0
- package/scss/forms/_layout.scss +2 -3
- package/scss/gantt/_variables.scss +15 -15
- package/scss/grid/_theme.scss +2 -2
- package/scss/grid/_variables.scss +15 -15
- package/scss/imageeditor/_variables.scss +4 -4
- package/scss/input/_layout.scss +1 -1
- package/scss/input/_variables.scss +4 -4
- package/scss/list/_variables.scss +25 -25
- package/scss/listgroup/_variables.scss +3 -3
- package/scss/listview/_variables.scss +4 -4
- package/scss/loader/_variables.scss +12 -12
- package/scss/mediaplayer/_variables.scss +2 -2
- package/scss/menu/_layout.scss +1 -1
- package/scss/menu/_variables.scss +9 -9
- package/scss/notification/_variables.scss +4 -4
- package/scss/orgchart/_variables.scss +1 -1
- package/scss/pager/_layout.scss +1 -1
- package/scss/pager/_variables.scss +7 -7
- package/scss/panelbar/_variables.scss +8 -8
- package/scss/pdf-viewer/_variables.scss +2 -2
- package/scss/pivotgrid/_variables.scss +13 -13
- package/scss/popup/_variables.scss +3 -3
- package/scss/progressbar/_variables.scss +1 -1
- package/scss/radio/_variables.scss +11 -11
- package/scss/rating/_variables.scss +2 -2
- package/scss/responsivepanel/_theme.scss +0 -5
- package/scss/scheduler/_variables.scss +10 -10
- package/scss/scrollview/_theme.scss +2 -2
- package/scss/scrollview/_variables.scss +5 -5
- package/scss/signature/_variables.scss +8 -8
- package/scss/slider/_variables.scss +7 -7
- package/scss/splitter/_variables.scss +1 -1
- package/scss/spreadsheet/_layout.scss +1 -1
- package/scss/spreadsheet/_theme.scss +2 -2
- package/scss/spreadsheet/_variables.scss +1 -1
- package/scss/stepper/_variables.scss +5 -5
- package/scss/switch/_variables.scss +3 -3
- package/scss/table/_variables.scss +6 -6
- package/scss/tabstrip/_theme.scss +1 -1
- package/scss/tabstrip/_variables.scss +4 -4
- package/scss/taskboard/_variables.scss +8 -8
- package/scss/tilelayout/_variables.scss +1 -1
- package/scss/timeline/_variables.scss +5 -5
- package/scss/timeselector/_variables.scss +3 -3
- package/scss/toolbar/_variables.scss +4 -2
- package/scss/tooltip/_variables.scss +6 -6
- package/scss/treelist/_layout.scss +1 -2
- package/scss/treelist/_theme.scss +1 -1
- package/scss/treeview/_variables.scss +10 -10
- package/scss/typography/_variables.scss +4 -4
- package/scss/upload/_variables.scss +5 -5
- package/scss/window/_variables.scss +4 -4
- package/scss/wizard/_variables.scss +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-theme-bootstrap",
|
|
3
3
|
"description": "Bootstrap theme for Kendo UI",
|
|
4
|
-
"version": "5.8.2-dev.
|
|
4
|
+
"version": "5.8.2-dev.6",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -43,11 +43,12 @@
|
|
|
43
43
|
"postpublish": "echo 'no postpublish for bootstrap theme'"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@progress/kendo-theme-
|
|
46
|
+
"@progress/kendo-theme-core": "^5.8.2-dev.6",
|
|
47
|
+
"@progress/kendo-theme-default": "^5.8.2-dev.6",
|
|
47
48
|
"bootstrap": "^5.2.1"
|
|
48
49
|
},
|
|
49
50
|
"devDependencies": {
|
|
50
51
|
"sass-build": "^1.0.0"
|
|
51
52
|
},
|
|
52
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "b1b2e33a3ce1b92bcefae87e8c46cbd797d814d1"
|
|
53
54
|
}
|
|
@@ -21,16 +21,16 @@ $black: #000000 !default;
|
|
|
21
21
|
// stylelint-enable scss/dollar-variable-colon-space-after
|
|
22
22
|
|
|
23
23
|
$body-bg: $white !default;
|
|
24
|
-
$body-color: contrast-
|
|
24
|
+
$body-color: k-contrast-color( $body-bg, $gray-900, $gray-100 ) !default;
|
|
25
25
|
|
|
26
26
|
$component-bg: $body-bg !default;
|
|
27
|
-
$component-text: contrast-
|
|
28
|
-
$component-border:
|
|
27
|
+
$component-text: k-contrast-color( $component-bg, $gray-900, $gray-100 ) !default;
|
|
28
|
+
$component-border: if( k-is-light( $component-bg ), $gray-300, $gray-700 ) !default;
|
|
29
29
|
|
|
30
30
|
$input-bg: $component-bg !default;
|
|
31
|
-
$input-color: contrast-
|
|
32
|
-
$input-border-color:
|
|
33
|
-
$input-placeholder-color: contrast-
|
|
31
|
+
$input-color: k-contrast-color( $input-bg, $gray-700, $gray-300 ) !default;
|
|
32
|
+
$input-border-color: if( k-is-light( $input-bg ), $gray-400, $gray-600 ) !default;
|
|
33
|
+
$input-placeholder-color: k-contrast-color( $input-bg, $gray-600, $gray-400 ) !default;
|
|
34
34
|
|
|
35
35
|
$card-bg: $component-bg !default;
|
|
36
36
|
$card-color: $component-text !default;
|
|
@@ -45,7 +45,7 @@ $table-color: $component-text !default;
|
|
|
45
45
|
$table-border-color: $component-border !default;
|
|
46
46
|
|
|
47
47
|
$tooltip-bg: if( $dark-theme, $white, $black ) !default;
|
|
48
|
-
$tooltip-color: contrast-
|
|
48
|
+
$tooltip-color: k-contrast-color( $tooltip-bg ) !default;
|
|
49
49
|
|
|
50
50
|
$popover-font-size: $font-size-base !default;
|
|
51
51
|
|
package/scss/_variables.scss
CHANGED
|
@@ -65,7 +65,7 @@ $default-scrollbar-width: 17px !default;
|
|
|
65
65
|
// Icons
|
|
66
66
|
$icon-size: 16px !default;
|
|
67
67
|
$icon-size-lg: 32px !default;
|
|
68
|
-
$icon-spacing: map-get( $spacing, 2 ) !default;
|
|
68
|
+
$icon-spacing: k-map-get( $spacing, 2 ) !default;
|
|
69
69
|
|
|
70
70
|
/// The URL to the icon font that will be used by the theme
|
|
71
71
|
/// The default value of `null` embeds the package font with a `data:` URL
|
|
@@ -75,15 +75,15 @@ $icon-font-url: null !default;
|
|
|
75
75
|
|
|
76
76
|
// Metrics
|
|
77
77
|
$padding-x: $spacer !default;
|
|
78
|
-
$padding-y: $spacer
|
|
79
|
-
$padding-x-sm: $padding-x
|
|
80
|
-
$padding-y-sm: $padding-y
|
|
78
|
+
$padding-y: k-math-div( $spacer, 2 ) !default;
|
|
79
|
+
$padding-x-sm: k-math-div( $padding-x, 2 ) !default;
|
|
80
|
+
$padding-y-sm: k-math-div( $padding-y, 2 ) !default;
|
|
81
81
|
$padding-x-lg: $padding-x * 1.5 !default;
|
|
82
82
|
$padding-y-lg: $padding-y * 1.5 !default;
|
|
83
83
|
|
|
84
84
|
/// Border radius for all components.
|
|
85
85
|
$kendo-border-radius: $border-radius !default;
|
|
86
|
-
$kendo-border-radius-sm: $kendo-border-radius
|
|
86
|
+
$kendo-border-radius-sm: k-math-div( $kendo-border-radius, 2 ) !default;
|
|
87
87
|
$kendo-border-radius-md: $kendo-border-radius !default;
|
|
88
88
|
$kendo-border-radius-lg: $kendo-border-radius * 1.5 !default;
|
|
89
89
|
|
|
@@ -122,7 +122,7 @@ $accent: $primary !default;
|
|
|
122
122
|
/// @deprecated Will be removed in v5. Use `$primary-contrast` variable instead.
|
|
123
123
|
/// @group color-system
|
|
124
124
|
/// @type Color
|
|
125
|
-
$accent-contrast: contrast-
|
|
125
|
+
$accent-contrast: k-contrast-color( $accent ) !default;
|
|
126
126
|
|
|
127
127
|
|
|
128
128
|
// Theme colors
|
|
@@ -131,68 +131,68 @@ $accent-contrast: contrast-wcag( $accent ) !default;
|
|
|
131
131
|
/// @group color-system
|
|
132
132
|
/// @type Color
|
|
133
133
|
$primary: $primary !default;
|
|
134
|
-
$primary-lighter: tint( $primary, 2 ) !default;
|
|
135
|
-
$primary-darker: shade( $primary, 2 ) !default;
|
|
134
|
+
$primary-lighter: k-color-tint( $primary, 2 ) !default;
|
|
135
|
+
$primary-darker: k-color-shade( $primary, 2 ) !default;
|
|
136
136
|
|
|
137
137
|
/// The color used along with the primary color denoted by $primary.
|
|
138
138
|
/// Used to provide contrast between the background and foreground colors.
|
|
139
139
|
/// @group color-system
|
|
140
140
|
/// @type Color
|
|
141
|
-
$primary-contrast: contrast-
|
|
141
|
+
$primary-contrast: k-contrast-color( $primary ) !default;
|
|
142
142
|
|
|
143
143
|
/// The secondary color of the theme.
|
|
144
144
|
/// @group color-system
|
|
145
145
|
/// @type Color
|
|
146
146
|
$secondary: $secondary !default;
|
|
147
|
-
$secondary-lighter: tint( $secondary, 2 ) !default;
|
|
148
|
-
$secondary-darker: shade( $secondary, 2 ) !default;
|
|
147
|
+
$secondary-lighter: k-color-tint( $secondary, 2 ) !default;
|
|
148
|
+
$secondary-darker: k-color-shade( $secondary, 2 ) !default;
|
|
149
149
|
|
|
150
150
|
/// The color used along with the secondary color denoted by $secondary.
|
|
151
151
|
/// Used to provide contrast between the background and foreground colors.
|
|
152
152
|
/// @group color-system
|
|
153
153
|
/// @type Color
|
|
154
|
-
$secondary-contrast: contrast-
|
|
154
|
+
$secondary-contrast: k-contrast-color( $secondary ) !default;
|
|
155
155
|
|
|
156
156
|
/// The tertiary color of the theme.
|
|
157
157
|
/// @group color-system
|
|
158
158
|
/// @type Color
|
|
159
159
|
$tertiary: $purple !default;
|
|
160
|
-
$tertiary-lighter: tint( $tertiary, 2 ) !default;
|
|
161
|
-
$tertiary-darker: shade( $tertiary, 2 ) !default;
|
|
160
|
+
$tertiary-lighter: k-color-tint( $tertiary, 2 ) !default;
|
|
161
|
+
$tertiary-darker: k-color-shade( $tertiary, 2 ) !default;
|
|
162
162
|
|
|
163
163
|
/// The color used along with the tertiary color denoted by $tertiary.
|
|
164
164
|
/// Used to provide contrast between the background and foreground colors.
|
|
165
165
|
/// @group color-system
|
|
166
166
|
/// @type Color
|
|
167
|
-
$tertiary-contrast: contrast-
|
|
167
|
+
$tertiary-contrast: k-contrast-color( $tertiary ) !default;
|
|
168
168
|
|
|
169
169
|
/// The color for informational messages and states.
|
|
170
170
|
/// @group color-system
|
|
171
171
|
/// @type Color
|
|
172
172
|
$info: $info !default;
|
|
173
|
-
$info-lighter: tint( $info, 2 ) !default;
|
|
174
|
-
$info-darker: shade( $info, 2 ) !default;
|
|
173
|
+
$info-lighter: k-color-tint( $info, 2 ) !default;
|
|
174
|
+
$info-darker: k-color-shade( $info, 2 ) !default;
|
|
175
175
|
|
|
176
176
|
/// The color for success messages and states.
|
|
177
177
|
/// @group color-system
|
|
178
178
|
/// @type Color
|
|
179
179
|
$success: $success !default;
|
|
180
|
-
$success-lighter: tint( $success, 2 ) !default;
|
|
181
|
-
$success-darker: shade( $success, 2 ) !default;
|
|
180
|
+
$success-lighter: k-color-tint( $success, 2 ) !default;
|
|
181
|
+
$success-darker: k-color-shade( $success, 2 ) !default;
|
|
182
182
|
|
|
183
183
|
/// The color for warning messages and states.
|
|
184
184
|
/// @group color-system
|
|
185
185
|
/// @type Color
|
|
186
186
|
$warning: $warning !default;
|
|
187
|
-
$warning-lighter: tint( $warning, 2 ) !default;
|
|
188
|
-
$warning-darker: shade( $warning, 2 ) !default;
|
|
187
|
+
$warning-lighter: k-color-tint( $warning, 2 ) !default;
|
|
188
|
+
$warning-darker: k-color-shade( $warning, 2 ) !default;
|
|
189
189
|
|
|
190
190
|
/// The color for error messages and states.
|
|
191
191
|
/// @group color-system
|
|
192
192
|
/// @type Color
|
|
193
193
|
$error: $danger !default;
|
|
194
|
-
$error-lighter: tint( $error, 2 ) !default;
|
|
195
|
-
$error-darker: shade( $error, 2 ) !default;
|
|
194
|
+
$error-lighter: k-color-tint( $error, 2 ) !default;
|
|
195
|
+
$error-darker: k-color-shade( $error, 2 ) !default;
|
|
196
196
|
|
|
197
197
|
/// The dark color of the theme.
|
|
198
198
|
/// @group color-system
|
|
@@ -246,9 +246,9 @@ $body-text: $body-color !default;
|
|
|
246
246
|
$subtle-text: if( $dark-theme, $gray-400, $text-muted ) !default;
|
|
247
247
|
$disabled-text: if( $dark-theme, $gray-600, $gray-500) !default;
|
|
248
248
|
|
|
249
|
-
$app-bg: try-shade( $body-bg, .25 ) !default;
|
|
249
|
+
$app-bg: k-try-shade( $body-bg, .25 ) !default;
|
|
250
250
|
$app-text: $body-text !default;
|
|
251
|
-
$app-border:
|
|
251
|
+
$app-border: if( k-is-light( $app-bg ), $gray-300, $gray-700 ) !default;
|
|
252
252
|
|
|
253
253
|
|
|
254
254
|
// Components
|
|
@@ -265,7 +265,7 @@ $component-text: $body-text !default;
|
|
|
265
265
|
/// Border color of a component.
|
|
266
266
|
/// Note: do not use this variable directly. Instead derive it as `$component-name-border` e.g. `$grid-border: component-border !default;`.
|
|
267
267
|
/// @group component
|
|
268
|
-
$component-border:
|
|
268
|
+
$component-border: if( k-is-light( $component-bg ), $gray-300, $gray-700 ) !default;
|
|
269
269
|
|
|
270
270
|
|
|
271
271
|
/// The background of the components' chrome area.
|
|
@@ -273,7 +273,7 @@ $base-bg: $gray-100 !default;
|
|
|
273
273
|
/// The text color of the components' chrome area.
|
|
274
274
|
$base-text: $body-text !default;
|
|
275
275
|
/// The border color of the components' chrome area.
|
|
276
|
-
$base-border: try-shade( $base-bg, 1 ) !default;
|
|
276
|
+
$base-border: k-try-shade( $base-bg, 1 ) !default;
|
|
277
277
|
/// The gradient background of the components' chrome area.
|
|
278
278
|
$base-gradient: null !default;
|
|
279
279
|
|
|
@@ -282,20 +282,20 @@ $hovered-bg: $gray-200 !default;
|
|
|
282
282
|
/// The text color of hovered items.
|
|
283
283
|
$hovered-text: $base-text !default;
|
|
284
284
|
/// The border color of hovered items.
|
|
285
|
-
$hovered-border: try-shade( $hovered-bg, 1 ) !default;
|
|
285
|
+
$hovered-border: k-try-shade( $hovered-bg, 1 ) !default;
|
|
286
286
|
/// The gradient background of hovered items.
|
|
287
287
|
$hovered-gradient: null !default;
|
|
288
288
|
|
|
289
289
|
/// The background of selected items.
|
|
290
290
|
$selected-bg: $primary !default;
|
|
291
291
|
/// The text color of selected items.
|
|
292
|
-
$selected-text: contrast-
|
|
292
|
+
$selected-text: k-contrast-color( $selected-bg ) !default;
|
|
293
293
|
/// The border color of selected items.
|
|
294
|
-
$selected-border: try-shade( $selected-bg, 1 ) !default;
|
|
294
|
+
$selected-border: k-try-shade( $selected-bg, 1 ) !default;
|
|
295
295
|
/// The gradient background of selected items.
|
|
296
296
|
$selected-gradient: null !default;
|
|
297
297
|
|
|
298
|
-
$selected-hover-bg: try-shade( $selected-bg, .5 ) !default;
|
|
298
|
+
$selected-hover-bg: k-try-shade( $selected-bg, .5 ) !default;
|
|
299
299
|
$selected-hover-text: $selected-text !default;
|
|
300
300
|
$selected-hover-border: $base-border !default;
|
|
301
301
|
$selected-hover-gradient: null !default;
|
|
@@ -326,7 +326,7 @@ $equilateral-index: 1.7320508076 !default;
|
|
|
326
326
|
$equilateral-height: .8660254038 !default;
|
|
327
327
|
|
|
328
328
|
$drop-hint-arrow-size: 8px !default;
|
|
329
|
-
$drop-hint-arrow-spacing: ($drop-hint-arrow-size
|
|
329
|
+
$drop-hint-arrow-spacing: k-math-div( $drop-hint-arrow-size, 2 ) !default;
|
|
330
330
|
$drop-hint-line-h-width: 20px !default;
|
|
331
331
|
$drop-hint-line-h-height: 1px !default;
|
|
332
332
|
$drop-hint-line-v-width: $drop-hint-line-h-height !default;
|
|
@@ -365,7 +365,7 @@ $zindex-loading: 100 !default;
|
|
|
365
365
|
// Placeholder
|
|
366
366
|
$placeholder-line-width: 100% !default;
|
|
367
367
|
$placeholder-line-height: 10px !default;
|
|
368
|
-
$placeholder-bg: rgba(
|
|
368
|
+
$placeholder-bg: rgba( black, .1 ) !default;
|
|
369
369
|
|
|
370
370
|
|
|
371
371
|
// Table
|
|
@@ -375,7 +375,7 @@ $placeholder-bg: rgba(0, 0, 0, .1) !default;
|
|
|
375
375
|
$invalid-bg: null !default;
|
|
376
376
|
$invalid-text: $error !default;
|
|
377
377
|
$invalid-border: $error !default;
|
|
378
|
-
$invalid-shadow: 0 0 0 .25rem rgba($invalid-border, .25) !default;
|
|
378
|
+
$invalid-shadow: 0 0 0 .25rem rgba( $invalid-border, .25 ) !default;
|
|
379
379
|
|
|
380
380
|
|
|
381
381
|
// Drag clue
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// Actions
|
|
2
|
-
$actions-margin-top: map-get( $spacing, 4 ) !default;
|
|
3
|
-
$actions-padding-x: map-get( $spacing, 2 ) !default;
|
|
4
|
-
$actions-padding-y: map-get( $spacing, 2 ) !default;
|
|
2
|
+
$actions-margin-top: k-map-get( $spacing, 4 ) !default;
|
|
3
|
+
$actions-padding-x: k-map-get( $spacing, 2 ) !default;
|
|
4
|
+
$actions-padding-y: k-map-get( $spacing, 2 ) !default;
|
|
5
5
|
$actions-border-width: 0px !default;
|
|
6
|
-
$actions-button-spacing: map-get( $spacing, 2 ) !default;
|
|
6
|
+
$actions-button-spacing: k-map-get( $spacing, 2 ) !default;
|
|
7
7
|
|
|
8
8
|
$actions-bg: null !default;
|
|
9
9
|
$actions-text: null !default;
|
|
@@ -3,7 +3,8 @@ $actionsheet-padding-x: null !default;
|
|
|
3
3
|
$actionsheet-padding-y: null !default;
|
|
4
4
|
$actionsheet-width: 360px !default;
|
|
5
5
|
$actionsheet-max-width: 100% !default;
|
|
6
|
-
$actionsheet-
|
|
6
|
+
$actionsheet-height: 60vh !default;
|
|
7
|
+
$actionsheet-max-height: 60vh !default;
|
|
7
8
|
|
|
8
9
|
$actionsheet-border-width: 0px !default;
|
|
9
10
|
$actionsheet-border-radius: 0px !default;
|
|
@@ -15,28 +16,33 @@ $actionsheet-line-height: $line-height !default;
|
|
|
15
16
|
$actionsheet-bg: $component-bg !default;
|
|
16
17
|
$actionsheet-text: $component-text !default;
|
|
17
18
|
$actionsheet-border: $component-border !default;
|
|
18
|
-
$actionsheet-shadow: 0 8px 10px -5px rgba(
|
|
19
|
+
$actionsheet-shadow: 0 8px 10px -5px rgba( black, .2 ), 0 16px 24px 2px rgba( black, .14 ), 0 6px 30px 5px rgba( black, .12 ) !default;
|
|
19
20
|
|
|
20
21
|
|
|
21
22
|
// Actionsheet header
|
|
22
|
-
$actionsheet-
|
|
23
|
-
$actionsheet-
|
|
24
|
-
$actionsheet-
|
|
25
|
-
$actionsheet-
|
|
26
|
-
$actionsheet-
|
|
27
|
-
$actionsheet-
|
|
23
|
+
$actionsheet-titlebar-padding-x: k-map-get( $spacing, 4 ) !default;
|
|
24
|
+
$actionsheet-titlebar-padding-y: k-map-get( $spacing, 2 ) !default;
|
|
25
|
+
$actionsheet-titlebar-border-width: null !default;
|
|
26
|
+
$actionsheet-titlebar-font-size: null !default;
|
|
27
|
+
$actionsheet-titlebar-font-family: null !default;
|
|
28
|
+
$actionsheet-titlebar-line-height: null !default;
|
|
29
|
+
$actionsheet-titlebar-gap: k-map-get( $spacing, 4 ) !default;
|
|
28
30
|
|
|
29
|
-
$actionsheet-
|
|
30
|
-
$actionsheet-
|
|
31
|
-
$actionsheet-
|
|
32
|
-
$actionsheet-
|
|
33
|
-
$actionsheet-
|
|
31
|
+
$actionsheet-titlebar-bg: null !default;
|
|
32
|
+
$actionsheet-titlebar-text: null !default;
|
|
33
|
+
$actionsheet-titlebar-border: null !default;
|
|
34
|
+
$actionsheet-titlebar-gradient: null !default;
|
|
35
|
+
$actionsheet-titlebar-shadow: null !default;
|
|
36
|
+
|
|
37
|
+
$actionsheet-subtitle-font-size: $font-size-sm !default;
|
|
38
|
+
$actionsheet-subtitle-line-height: $line-height-sm !default;
|
|
39
|
+
$actionsheet-subtitle-text: $subtle-text !default;
|
|
34
40
|
|
|
35
41
|
|
|
36
42
|
// Actionsheet item
|
|
37
43
|
$actionsheet-item-min-height: 40px !default;
|
|
38
|
-
$actionsheet-item-padding-x: map-get( $spacing, 4 ) !default;
|
|
39
|
-
$actionsheet-item-padding-y: map-get( $spacing, 2 ) !default;
|
|
44
|
+
$actionsheet-item-padding-x: k-map-get( $spacing, 4 ) !default;
|
|
45
|
+
$actionsheet-item-padding-y: k-map-get( $spacing, 2 ) !default;
|
|
40
46
|
$actionsheet-item-border-width: 1px !default;
|
|
41
47
|
$actionsheet-item-spacing: 12px !default;
|
|
42
48
|
|
|
@@ -58,10 +64,23 @@ $actionsheet-item-focus-bg: null !default;
|
|
|
58
64
|
$actionsheet-item-focus-text: null !default;
|
|
59
65
|
$actionsheet-item-focus-border: null !default;
|
|
60
66
|
$actionsheet-item-focus-gradient: null !default;
|
|
61
|
-
$actionsheet-item-focus-shadow: inset 0 0 0 2px rgba(
|
|
67
|
+
$actionsheet-item-focus-shadow: inset 0 0 0 2px rgba( black, .13 ) !default;
|
|
62
68
|
|
|
63
69
|
$actionsheet-item-disabled-bg: null !default;
|
|
64
70
|
$actionsheet-item-disabled-text: null !default;
|
|
65
71
|
$actionsheet-item-disabled-border: null !default;
|
|
66
72
|
$actionsheet-item-disabled-gradient: null !default;
|
|
67
73
|
$actionsheet-item-disabled-shadow: null !default;
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
// Adaptive Actionsheet
|
|
77
|
+
$adaptive-actionsheet-titlebar-border-width: 1px !default;
|
|
78
|
+
$adaptive-actionsheet-titlebar-padding-y: k-map-get( $spacing, 4 ) !default;
|
|
79
|
+
$adaptive-actionsheet-titlebar-padding-x: $adaptive-actionsheet-titlebar-padding-y !default;
|
|
80
|
+
$adaptive-actionsheet-titlebar-border: $component-border !default;
|
|
81
|
+
|
|
82
|
+
$adaptive-actionsheet-content-padding-y: k-map-get( $spacing, 2 ) !default;
|
|
83
|
+
$adaptive-actionsheet-content-padding-x: k-map-get( $spacing, 4 ) !default;
|
|
84
|
+
|
|
85
|
+
$adaptive-actionsheet-footer-padding-y: k-map-get( $spacing, 2 ) !default;
|
|
86
|
+
$adaptive-actionsheet-footer-padding-x: k-map-get( $spacing, 4 ) !default;
|
|
@@ -7,7 +7,7 @@ $adaptive-content-bg: $app-bg !default;
|
|
|
7
7
|
$adaptive-content-text: $app-text !default;
|
|
8
8
|
|
|
9
9
|
$adaptive-menu-bg: $primary !default;
|
|
10
|
-
$adaptive-menu-text: contrast-
|
|
10
|
+
$adaptive-menu-text: k-contrast-color( $adaptive-menu-bg ) !default;
|
|
11
11
|
|
|
12
12
|
$adaptive-menu-clear-text: $primary !default;
|
|
13
13
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Appbar
|
|
2
2
|
$appbar-margin-y: null !default;
|
|
3
3
|
$appbar-margin-x: null !default;
|
|
4
|
-
$appbar-padding-y: map-get( $spacing, 2 ) !default;
|
|
5
|
-
$appbar-padding-x: map-get( $spacing, 2 ) !default;
|
|
4
|
+
$appbar-padding-y: k-map-get( $spacing, 2 ) !default;
|
|
5
|
+
$appbar-padding-x: k-map-get( $spacing, 2 ) !default;
|
|
6
6
|
$appbar-border-width: 0px !default;
|
|
7
7
|
|
|
8
8
|
$appbar-zindex: 1000 !default;
|
|
@@ -10,13 +10,13 @@ $appbar-zindex: 1000 !default;
|
|
|
10
10
|
$appbar-font-size: $font-size !default;
|
|
11
11
|
$appbar-line-height: $line-height !default;
|
|
12
12
|
$appbar-font-family: $font-family !default;
|
|
13
|
-
$appbar-gap: map-get( $spacing, 2 ) !default;
|
|
13
|
+
$appbar-gap: k-map-get( $spacing, 2 ) !default;
|
|
14
14
|
|
|
15
15
|
$appbar-light-bg: $light !default;
|
|
16
|
-
$appbar-light-text: contrast-
|
|
16
|
+
$appbar-light-text: k-contrast-color( $light ) !default;
|
|
17
17
|
|
|
18
18
|
$appbar-dark-bg: $dark !default;
|
|
19
|
-
$appbar-dark-text: contrast-
|
|
19
|
+
$appbar-dark-text: k-contrast-color( $dark ) !default;
|
|
20
20
|
|
|
21
|
-
$appbar-box-shadow: 0px 1px 1px rgba(
|
|
22
|
-
$appbar-bottom-box-shadow: 0px -1px 1px rgba(
|
|
21
|
+
$appbar-box-shadow: 0px 1px 1px rgba( black, .16 ) !default;
|
|
22
|
+
$appbar-bottom-box-shadow: 0px -1px 1px rgba( black, .16 ) !default;
|
|
@@ -17,9 +17,9 @@ $kendo-avatar-line-height: $line-height !default;
|
|
|
17
17
|
/// The sizes of the avatar.
|
|
18
18
|
/// @group avatar
|
|
19
19
|
$kendo-avatar-sizes: (
|
|
20
|
-
sm: map-get( $spacing, 4 ),
|
|
21
|
-
md: map-get( $spacing, 8 ),
|
|
22
|
-
lg: map-get( $spacing, 16 )
|
|
20
|
+
sm: k-map-get( $spacing, 4 ),
|
|
21
|
+
md: k-map-get( $spacing, 8 ),
|
|
22
|
+
lg: k-map-get( $spacing, 16 )
|
|
23
23
|
) !default;
|
|
24
24
|
|
|
25
25
|
/// Theme colors map of the avatar.
|
package/scss/badge/_theme.scss
CHANGED
|
@@ -12,14 +12,14 @@ $kendo-badge-border-radius: $badge-border-radius !default;
|
|
|
12
12
|
/// Horizontal padding of the badge.
|
|
13
13
|
/// @group badge
|
|
14
14
|
$kendo-badge-padding-x: $badge-padding-x !default;
|
|
15
|
-
$kendo-badge-padding-x-sm: ( $badge-padding-x
|
|
15
|
+
$kendo-badge-padding-x-sm: k-math-div( $badge-padding-x, 2 ) !default;
|
|
16
16
|
$kendo-badge-padding-x-md: $badge-padding-x !default;
|
|
17
17
|
$kendo-badge-padding-x-lg: ( $badge-padding-x * 1.5 ) !default;
|
|
18
18
|
|
|
19
19
|
/// Vertical padding of the badge.
|
|
20
20
|
/// @group badge
|
|
21
21
|
$kendo-badge-padding-y: $badge-padding-y !default;
|
|
22
|
-
$kendo-badge-padding-y-sm: ( $badge-padding-y
|
|
22
|
+
$kendo-badge-padding-y-sm: k-math-div( $badge-padding-y, 2 ) !default;
|
|
23
23
|
$kendo-badge-padding-y-md: $badge-padding-y !default;
|
|
24
24
|
$kendo-badge-padding-y-lg: ( $badge-padding-y * 1.5 ) !default;
|
|
25
25
|
|
|
@@ -9,20 +9,20 @@ $bottom-nav-font-size: $font-size !default;
|
|
|
9
9
|
$bottom-nav-line-height: normal !default;
|
|
10
10
|
$bottom-nav-letter-spacing: .2px !default;
|
|
11
11
|
|
|
12
|
-
$bottom-nav-item-padding-x: map-get( $spacing, 2 ) !default;
|
|
12
|
+
$bottom-nav-item-padding-x: k-map-get( $spacing, 2 ) !default;
|
|
13
13
|
$bottom-nav-item-padding-y: 0 !default;
|
|
14
14
|
$bottom-nav-item-min-width: 72px !default;
|
|
15
15
|
$bottom-nav-item-max-width: null !default;
|
|
16
|
-
$bottom-nav-item-min-height: calc( #{$icon-size * 2.5} + #{map-get( $spacing, 2 ) * 2} - #{$bottom-nav-padding-x * 2} ) !default;
|
|
16
|
+
$bottom-nav-item-min-height: calc( #{$icon-size * 2.5} + #{k-map-get( $spacing, 2 ) * 2} - #{$bottom-nav-padding-x * 2} ) !default;
|
|
17
17
|
$bottom-nav-item-border-radius: null !default;
|
|
18
|
-
$bottom-nav-item-gap: 0 map-get( $spacing, 1 ) !default;
|
|
18
|
+
$bottom-nav-item-gap: 0 k-map-get( $spacing, 1 ) !default;
|
|
19
19
|
|
|
20
|
-
$bottom-nav-item-icon-margin-y: map-get( $spacing, 2 ) !default;
|
|
20
|
+
$bottom-nav-item-icon-margin-y: k-map-get( $spacing, 2 ) !default;
|
|
21
21
|
$bottom-nav-item-icon-margin-x: $bottom-nav-item-icon-margin-y !default;
|
|
22
|
-
$bottom-nav-item-icon-size: map-get( $spacing, 6 ) !default;
|
|
22
|
+
$bottom-nav-item-icon-size: k-map-get( $spacing, 6 ) !default;
|
|
23
23
|
$bottom-nav-item-disabled-opacity: .5 !default;
|
|
24
24
|
|
|
25
|
-
$bottom-nav-shadow: 0px 0px 5px rgba(
|
|
25
|
+
$bottom-nav-shadow: 0px 0px 5px rgba( black, .12 ) !default;
|
|
26
26
|
|
|
27
27
|
$bottom-nav-flat-bg: $component-bg !default;
|
|
28
28
|
$bottom-nav-flat-text: $component-text !default;
|
|
@@ -17,7 +17,7 @@ $breadcrumb-delimiter-icon-font-size: $icon-size * .75 !default;
|
|
|
17
17
|
$breadcrumb-delimiter-icon-padding-x: $kendo-button-padding-y !default;
|
|
18
18
|
$breadcrumb-delimiter-icon-padding-y: 0px !default;
|
|
19
19
|
|
|
20
|
-
$breadcrumb-link-padding-x: $padding-x-lg
|
|
20
|
+
$breadcrumb-link-padding-x: k-math-div( $padding-x-lg, 2 ) !default;
|
|
21
21
|
$breadcrumb-link-padding-y: $padding-y !default;
|
|
22
22
|
$breadcrumb-link-border-radius: $kendo-border-radius-md !default;
|
|
23
23
|
|
|
@@ -55,4 +55,4 @@ $breadcrumb-root-link-focused-text: null !default;
|
|
|
55
55
|
$breadcrumb-root-link-focused-border: null !default;
|
|
56
56
|
$breadcrumb-root-link-focused-shadow: $breadcrumb-link-focused-shadow !default;
|
|
57
57
|
|
|
58
|
-
$breadcrumb-focused-shadow: 0 0 2px 1px rgba(
|
|
58
|
+
$breadcrumb-focused-shadow: 0 0 2px 1px rgba( black, .06 ) !default;
|