@progress/kendo-theme-fluent 11.2.1-dev.0 → 11.3.0-dev.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 +1 -1
- package/dist/fluent-main-dark.css +1 -1
- package/dist/fluent-main.css +1 -1
- package/dist/meta/sassdoc-data.json +24099 -27323
- package/dist/meta/sassdoc-raw-data.json +8421 -7718
- package/dist/meta/variables.json +7880 -8036
- package/lib/swatches/all.json +1 -1
- package/lib/swatches/fluent-main-dark.json +1 -1
- package/lib/swatches/fluent-main.json +1 -1
- package/package.json +4 -4
- package/scss/action-buttons/_layout.scss +2 -55
- package/scss/action-buttons/_theme.scss +2 -11
- package/scss/action-buttons/_variables.scss +17 -7
- package/scss/action-sheet/_layout.scss +11 -399
- package/scss/action-sheet/_theme.scss +14 -69
- package/scss/action-sheet/_variables.scss +129 -66
- package/scss/adaptive/_index.scss +0 -3
- package/scss/adaptive/_layout.scss +2 -457
- package/scss/adaptive/_theme.scss +2 -75
- package/scss/adaptive/_variables.scss +39 -18
- package/scss/appbar/_layout.scss +2 -114
- package/scss/appbar/_theme.scss +9 -20
- package/scss/appbar/_variables.scss +38 -71
- package/scss/avatar/_layout.scss +2 -73
- package/scss/avatar/_theme.scss +2 -16
- package/scss/avatar/_variables.scss +24 -82
- package/scss/badge/_layout.scss +3 -146
- package/scss/badge/_theme.scss +8 -21
- package/scss/badge/_variables.scss +41 -88
- package/scss/bottom-navigation/_layout.scss +5 -108
- package/scss/bottom-navigation/_theme.scss +73 -74
- package/scss/bottom-navigation/_variables.scss +58 -117
- package/scss/breadcrumb/_layout.scss +8 -132
- package/scss/breadcrumb/_theme.scss +15 -71
- package/scss/breadcrumb/_variables.scss +133 -71
- package/scss/button/_layout.scss +18 -182
- package/scss/button/_theme.scss +132 -113
- package/scss/button/_variables.scss +156 -301
- package/scss/calendar/_layout.scss +27 -383
- package/scss/calendar/_theme.scss +55 -127
- package/scss/calendar/_variables.scss +185 -100
- package/scss/captcha/_layout.scss +2 -59
- package/scss/captcha/_theme.scss +2 -9
- package/scss/captcha/_variables.scss +25 -9
- package/scss/card/_layout.scss +9 -314
- package/scss/card/_theme.scss +3 -103
- package/scss/card/_variables.scss +110 -60
- package/scss/chart-wizard/_layout.scss +2 -38
- package/scss/chart-wizard/_theme.scss +2 -28
- package/scss/chart-wizard/_variables.scss +25 -11
- package/scss/chat/_index.scss +0 -3
- package/scss/chat/_layout.scss +26 -450
- package/scss/chat/_theme.scss +9 -80
- package/scss/chat/_variables.scss +143 -71
- package/scss/checkbox/_layout.scss +14 -191
- package/scss/checkbox/_theme.scss +11 -100
- package/scss/checkbox/_variables.scss +165 -78
- package/scss/chip/_layout.scss +11 -137
- package/scss/chip/_theme.scss +56 -57
- package/scss/chip/_variables.scss +99 -94
- package/scss/color-preview/_layout.scss +4 -64
- package/scss/color-preview/_theme.scss +2 -27
- package/scss/color-preview/_variables.scss +23 -9
- package/scss/coloreditor/_layout.scss +21 -109
- package/scss/coloreditor/_theme.scss +3 -24
- package/scss/coloreditor/_variables.scss +92 -57
- package/scss/colorgradient/_layout.scss +12 -196
- package/scss/colorgradient/_theme.scss +27 -65
- package/scss/colorgradient/_variables.scss +134 -76
- package/scss/colorpalette/_layout.scss +6 -40
- package/scss/colorpalette/_theme.scss +10 -20
- package/scss/colorpalette/_variables.scss +39 -21
- package/scss/colorpicker/_layout.scss +2 -11
- package/scss/colorpicker/_theme.scss +2 -1
- package/scss/column-menu/_layout.scss +5 -56
- package/scss/column-menu/_theme.scss +1 -24
- package/scss/column-menu/_variables.scss +38 -17
- package/scss/combobox/_layout.scss +4 -2
- package/scss/combobox/_theme.scss +4 -2
- package/scss/core/functions/index.import.scss +1 -0
- package/scss/dataviz/_layout.scss +6 -543
- package/scss/dataviz/_theme.scss +12 -76
- package/scss/dataviz/_variables.scss +152 -33
- package/scss/daterangepicker/_layout.scss +2 -37
- package/scss/daterangepicker/_theme.scss +16 -7
- package/scss/daterangepicker/_variables.scss +9 -0
- package/scss/datetimepicker/_layout.scss +3 -41
- package/scss/datetimepicker/_theme.scss +3 -2
- package/scss/datetimepicker/_variables.scss +5 -1
- package/scss/dialog/_layout.scss +8 -53
- package/scss/dialog/_theme.scss +5 -25
- package/scss/dialog/_variables.scss +31 -60
- package/scss/dock-manager/_layout.scss +9 -193
- package/scss/dock-manager/_theme.scss +6 -28
- package/scss/dock-manager/_variables.scss +74 -36
- package/scss/draggable/_layout.scss +13 -59
- package/scss/draggable/_theme.scss +10 -15
- package/scss/draggable/_variables.scss +45 -23
- package/scss/drawer/_layout.scss +7 -198
- package/scss/drawer/_theme.scss +25 -52
- package/scss/drawer/_variables.scss +73 -45
- package/scss/dropdowngrid/_layout.scss +3 -11
- package/scss/dropdowngrid/_theme.scss +3 -3
- package/scss/dropdownlist/_layout.scss +4 -28
- package/scss/dropdownlist/_theme.scss +3 -7
- package/scss/dropdowntree/_layout.scss +2 -35
- package/scss/dropdowntree/_theme.scss +3 -4
- package/scss/dropdowntree/_variables.scss +4 -3
- package/scss/dropzone/_layout.scss +7 -31
- package/scss/dropzone/_theme.scss +2 -30
- package/scss/dropzone/_variables.scss +43 -21
- package/scss/editor/_layout.scss +3 -588
- package/scss/editor/_theme.scss +12 -78
- package/scss/editor/_variables.scss +45 -26
- package/scss/expansion-panel/_layout.scss +22 -57
- package/scss/expansion-panel/_theme.scss +13 -36
- package/scss/expansion-panel/_variables.scss +49 -28
- package/scss/fab/_layout.scss +11 -134
- package/scss/fab/_theme.scss +37 -126
- package/scss/fab/_variables.scss +104 -56
- package/scss/filemanager/_layout.scss +2 -240
- package/scss/filemanager/_theme.scss +8 -89
- package/scss/filemanager/_variables.scss +109 -56
- package/scss/filter/_layout.scss +8 -71
- package/scss/filter/_theme.scss +5 -14
- package/scss/filter/_variables.scss +20 -10
- package/scss/floating-label/_layout.scss +3 -75
- package/scss/floating-label/_theme.scss +4 -20
- package/scss/floating-label/_variables.scss +35 -17
- package/scss/forms/_index.scss +0 -1
- package/scss/forms/_layout.scss +5 -302
- package/scss/forms/_theme.scss +5 -24
- package/scss/forms/_variables.scss +73 -39
- package/scss/gantt/_layout.scss +5 -801
- package/scss/gantt/_theme.scss +17 -236
- package/scss/gantt/_variables.scss +142 -73
- package/scss/grid/_layout.scss +60 -1276
- package/scss/grid/_theme.scss +35 -343
- package/scss/grid/_variables.scss +306 -183
- package/scss/gridlayout/_layout.scss +1 -6
- package/scss/gridlayout/_theme.scss +1 -6
- package/scss/icons/_layout.scss +4 -33
- package/scss/icons/_theme.scss +7 -1
- package/scss/icons/_variables.scss +35 -9
- package/scss/imageeditor/_layout.scss +2 -152
- package/scss/imageeditor/_theme.scss +5 -42
- package/scss/imageeditor/_variables.scss +66 -32
- package/scss/index.scss +2 -1
- package/scss/input/_layout.scss +36 -468
- package/scss/input/_theme.scss +52 -128
- package/scss/input/_variables.scss +153 -208
- package/scss/list/_layout.scss +3 -252
- package/scss/list/_theme.scss +10 -81
- package/scss/list/_variables.scss +176 -92
- package/scss/listbox/_layout.scss +2 -80
- package/scss/listbox/_theme.scss +5 -8
- package/scss/listbox/_variables.scss +28 -13
- package/scss/listgroup/_layout.scss +2 -174
- package/scss/listgroup/_theme.scss +2 -8
- package/scss/listgroup/_variables.scss +23 -10
- package/scss/listview/_layout.scss +6 -133
- package/scss/listview/_theme.scss +8 -37
- package/scss/listview/_variables.scss +66 -39
- package/scss/loader/_layout.scss +15 -572
- package/scss/loader/_theme.scss +2 -14
- package/scss/loader/_variables.scss +90 -92
- package/scss/map/_layout.scss +7 -121
- package/scss/map/_theme.scss +5 -17
- package/scss/map/_variables.scss +40 -22
- package/scss/maskedtextbox/_layout.scss +3 -3
- package/scss/maskedtextbox/_theme.scss +3 -3
- package/scss/mediaplayer/_layout.scss +5 -72
- package/scss/mediaplayer/_theme.scss +5 -15
- package/scss/mediaplayer/_variables.scss +27 -14
- package/scss/menu/_layout.scss +25 -267
- package/scss/menu/_theme.scss +14 -73
- package/scss/menu/_variables.scss +135 -76
- package/scss/menu-button/_layout.scss +9 -14
- package/scss/menu-button/_theme.scss +5 -1
- package/scss/menu-button/_variables.scss +10 -0
- package/scss/messagebox/_layout.scss +2 -18
- package/scss/messagebox/_theme.scss +4 -19
- package/scss/messagebox/_variables.scss +33 -37
- package/scss/multiselect/_layout.scss +3 -4
- package/scss/multiselect/_theme.scss +3 -4
- package/scss/no-data/_layout.scss +2 -17
- package/scss/no-data/_theme.scss +2 -5
- package/scss/no-data/_variables.scss +7 -2
- package/scss/notification/_functions.scss +17 -0
- package/scss/notification/_layout.scss +2 -68
- package/scss/notification/_theme.scss +4 -28
- package/scss/notification/_variables.scss +50 -91
- package/scss/numerictextbox/_layout.scss +3 -7
- package/scss/numerictextbox/_theme.scss +3 -3
- package/scss/orgchart/_layout.scss +8 -99
- package/scss/orgchart/_theme.scss +4 -45
- package/scss/orgchart/_variables.scss +87 -45
- package/scss/otp/_layout.scss +1 -34
- package/scss/otp/_theme.scss +1 -7
- package/scss/otp/_variables.scss +25 -12
- package/scss/overlay/_layout.scss +2 -11
- package/scss/overlay/_theme.scss +4 -3
- package/scss/overlay/_variables.scss +7 -3
- package/scss/pager/_layout.scss +11 -145
- package/scss/pager/_theme.scss +7 -15
- package/scss/pager/_variables.scss +49 -26
- package/scss/panel/_layout.scss +2 -24
- package/scss/panel/_theme.scss +10 -13
- package/scss/panel/_variables.scss +23 -10
- package/scss/panelbar/_layout.scss +17 -95
- package/scss/panelbar/_theme.scss +15 -164
- package/scss/panelbar/_variables.scss +134 -68
- package/scss/pdf-viewer/_layout.scss +3 -327
- package/scss/pdf-viewer/_theme.scss +2 -80
- package/scss/pdf-viewer/_variables.scss +75 -36
- package/scss/pivotgrid/_index.scss +0 -6
- package/scss/pivotgrid/_layout.scss +44 -579
- package/scss/pivotgrid/_theme.scss +5 -192
- package/scss/pivotgrid/_variables.scss +144 -70
- package/scss/popover/_layout.scss +6 -73
- package/scss/popover/_theme.scss +2 -36
- package/scss/popover/_variables.scss +54 -27
- package/scss/popup/_layout.scss +5 -70
- package/scss/popup/_theme.scss +2 -9
- package/scss/popup/_variables.scss +25 -12
- package/scss/progressbar/_layout.scss +10 -196
- package/scss/progressbar/_theme.scss +11 -46
- package/scss/progressbar/_variables.scss +57 -34
- package/scss/prompt/_layout.scss +2 -75
- package/scss/prompt/_theme.scss +2 -35
- package/scss/prompt/_variables.scss +43 -20
- package/scss/radio/_layout.scss +12 -178
- package/scss/radio/_theme.scss +7 -75
- package/scss/radio/_variables.scss +72 -36
- package/scss/rating/_layout.scss +11 -57
- package/scss/rating/_theme.scss +8 -6
- package/scss/rating/_variables.scss +21 -13
- package/scss/responsivepanel/_layout.scss +2 -45
- package/scss/responsivepanel/_theme.scss +3 -3
- package/scss/ripple/_layout.scss +2 -50
- package/scss/ripple/_theme.scss +2 -2
- package/scss/scheduler/_layout.scss +11 -773
- package/scss/scheduler/_theme.scss +32 -167
- package/scss/scheduler/_variables.scss +149 -77
- package/scss/scroller/_layout.scss +2 -80
- package/scss/scroller/_theme.scss +2 -5
- package/scss/scrollview/_layout.scss +2 -159
- package/scss/scrollview/_theme.scss +11 -35
- package/scss/scrollview/_variables.scss +52 -29
- package/scss/searchbox/_layout.scss +2 -0
- package/scss/searchbox/_theme.scss +4 -1
- package/scss/searchbox/_variables.scss +1 -1
- package/scss/signature/_layout.scss +3 -67
- package/scss/signature/_theme.scss +3 -8
- package/scss/signature/_variables.scss +46 -25
- package/scss/skeleton/_layout.scss +2 -79
- package/scss/skeleton/_theme.scss +2 -17
- package/scss/skeleton/_variables.scss +15 -6
- package/scss/slider/_layout.scss +18 -203
- package/scss/slider/_theme.scss +31 -40
- package/scss/slider/_variables.scss +58 -41
- package/scss/speech-to-text-button/_layout.scss +1 -9
- package/scss/speech-to-text-button/_theme.scss +1 -3
- package/scss/split-button/_layout.scss +22 -18
- package/scss/split-button/_theme.scss +2 -1
- package/scss/split-button/_variables.scss +18 -9
- package/scss/splitter/_layout.scss +8 -171
- package/scss/splitter/_theme.scss +2 -31
- package/scss/splitter/_variables.scss +42 -20
- package/scss/spreadsheet/_layout.scss +50 -724
- package/scss/spreadsheet/_theme.scss +14 -182
- package/scss/spreadsheet/_variables.scss +172 -99
- package/scss/stacklayout/_layout.scss +1 -5
- package/scss/stacklayout/_theme.scss +1 -5
- package/scss/stepper/_layout.scss +9 -255
- package/scss/stepper/_theme.scss +4 -186
- package/scss/stepper/_variables.scss +125 -60
- package/scss/suggestion/_layout.scss +2 -38
- package/scss/suggestion/_theme.scss +3 -66
- package/scss/suggestion/_variables.scss +42 -19
- package/scss/switch/_layout.scss +2 -138
- package/scss/switch/_theme.scss +2 -136
- package/scss/switch/_variables.scss +99 -49
- package/scss/table/_layout.scss +6 -249
- package/scss/table/_theme.scss +9 -95
- package/scss/table/_variables.scss +100 -64
- package/scss/tabstrip/_layout.scss +2 -421
- package/scss/tabstrip/_theme.scss +12 -123
- package/scss/tabstrip/_variables.scss +113 -61
- package/scss/taskboard/_layout.scss +28 -178
- package/scss/taskboard/_theme.scss +20 -55
- package/scss/taskboard/_variables.scss +122 -63
- package/scss/textarea/_layout.scss +3 -6
- package/scss/textarea/_theme.scss +3 -4
- package/scss/textbox/_layout.scss +3 -4
- package/scss/textbox/_theme.scss +3 -4
- package/scss/tilelayout/_layout.scss +2 -36
- package/scss/tilelayout/_theme.scss +13 -10
- package/scss/tilelayout/_variables.scss +19 -8
- package/scss/time-marker/_layout.scss +2 -15
- package/scss/time-marker/_theme.scss +2 -17
- package/scss/time-marker/_variables.scss +7 -2
- package/scss/timedurationpicker/_layout.scss +3 -4
- package/scss/timedurationpicker/_theme.scss +3 -4
- package/scss/timeline/_layout.scss +8 -423
- package/scss/timeline/_theme.scss +11 -34
- package/scss/timeline/_variables.scss +108 -61
- package/scss/timepicker/_layout.scss +7 -3
- package/scss/timepicker/_theme.scss +3 -4
- package/scss/timeselector/_layout.scss +3 -223
- package/scss/timeselector/_theme.scss +5 -55
- package/scss/timeselector/_variables.scss +84 -41
- package/scss/toolbar/_layout.scss +11 -297
- package/scss/toolbar/_theme.scss +3 -167
- package/scss/toolbar/_variables.scss +65 -32
- package/scss/tooltip/_functions.scss +17 -0
- package/scss/tooltip/_layout.scss +13 -74
- package/scss/tooltip/_theme.scss +17 -23
- package/scss/tooltip/_variables.scss +50 -72
- package/scss/treelist/_layout.scss +3 -82
- package/scss/treelist/_theme.scss +4 -6
- package/scss/treelist/_variables.scss +7 -2
- package/scss/treeview/_layout.scss +8 -137
- package/scss/treeview/_theme.scss +20 -65
- package/scss/treeview/_variables.scss +88 -48
- package/scss/typography/_layout.scss +3 -113
- package/scss/typography/_theme.scss +2 -17
- package/scss/typography/_variables.scss +84 -3
- package/scss/upload/_layout.scss +7 -219
- package/scss/upload/_theme.scss +4 -90
- package/scss/upload/_variables.scss +66 -29
- package/scss/validator/_layout.scss +2 -16
- package/scss/validator/_theme.scss +2 -2
- package/scss/virtual-scroller/_layout.scss +2 -34
- package/scss/virtual-scroller/_theme.scss +2 -2
- package/scss/window/_layout.scss +9 -141
- package/scss/window/_theme.scss +7 -35
- package/scss/window/_variables.scss +65 -70
- package/scss/wizard/_layout.scss +8 -95
- package/scss/wizard/_theme.scss +4 -7
- package/scss/wizard/_variables.scss +24 -11
package/scss/window/_layout.scss
CHANGED
|
@@ -1,156 +1,24 @@
|
|
|
1
1
|
@use "../core/_index.scss" as *;
|
|
2
2
|
@use "./_variables.scss" as *;
|
|
3
|
+
@use "@progress/kendo-theme-core/scss/components/window/_layout.scss" as *;
|
|
3
4
|
|
|
4
5
|
@mixin kendo-window--layout() {
|
|
6
|
+
@include kendo-window--layout-base();
|
|
5
7
|
|
|
6
|
-
.k-window
|
|
7
|
-
|
|
8
|
-
padding:
|
|
9
|
-
|
|
10
|
-
border-style: solid;
|
|
11
|
-
box-sizing: border-box;
|
|
12
|
-
outline: 0;
|
|
13
|
-
font-family: var( --kendo-window-font-family, #{$kendo-window-font-family} );
|
|
14
|
-
font-size: var( --kendo-window-font-size, #{$kendo-window-font-size} );
|
|
15
|
-
line-height: var( --kendo-window-line-height, #{$kendo-window-line-height} );
|
|
16
|
-
display: inline-flex;
|
|
17
|
-
flex-direction: column;
|
|
18
|
-
position: absolute;
|
|
19
|
-
z-index: 10002;
|
|
20
|
-
-webkit-touch-callout: none;
|
|
21
|
-
-webkit-tap-highlight-color: $kendo-color-rgba-transparent;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.k-window.k-window-maximized {
|
|
25
|
-
max-width: 100vw;
|
|
26
|
-
max-height: 100vh;
|
|
27
|
-
box-shadow: none;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
// Window sizes
|
|
31
|
-
@each $size, $kendo-width in $kendo-window-sizes {
|
|
32
|
-
.k-window-#{$size} { width: $kendo-width; }
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
// Title bar
|
|
37
|
-
.k-window-titlebar {
|
|
38
|
-
@include border-top-radius( var( --kendo-window-border-radius, #{$kendo-window-border-radius} ) );
|
|
39
|
-
padding-inline: var( --kendo-window-titlebar-padding-x, #{$kendo-window-titlebar-padding-x} );
|
|
40
|
-
padding-block: var( --kendo-window-titlebar-padding-y, #{$kendo-window-titlebar-padding-y} );
|
|
41
|
-
white-space: nowrap;
|
|
42
|
-
display: flex;
|
|
43
|
-
flex-direction: row;
|
|
44
|
-
flex-shrink: 0;
|
|
45
|
-
align-items: center;
|
|
8
|
+
.k-window-content:first-child,
|
|
9
|
+
.k-window-content:last-child {
|
|
10
|
+
padding-block: $kendo-window-inner-padding-y;
|
|
11
|
+
padding-inline: $kendo-window-inner-padding-x;
|
|
46
12
|
}
|
|
47
13
|
|
|
48
14
|
// Title bar title text
|
|
49
15
|
.k-window-title {
|
|
50
|
-
|
|
51
|
-
padding-inline: 0;
|
|
52
|
-
margin-block: -.5em;
|
|
53
|
-
margin-inline: 0;
|
|
54
|
-
font-size: var( --kendo-window-title-font-size, #{$kendo-window-title-font-size} );
|
|
55
|
-
line-height: var( --kendo-window-title-line-height, #{$kendo-window-title-line-height} );
|
|
56
|
-
font-weight: var( --kendo-window-title-font-weight, #{$kendo-window-title-font-weight} );
|
|
57
|
-
text-overflow: ellipsis;
|
|
58
|
-
overflow: hidden;
|
|
59
|
-
cursor: default;
|
|
60
|
-
flex: 1;
|
|
61
|
-
|
|
62
|
-
&:empty::before {
|
|
63
|
-
content: "\200b";
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
// Actions
|
|
69
|
-
.k-window-titlebar-actions {
|
|
70
|
-
margin-block: -5em;
|
|
71
|
-
margin-inline: 0;
|
|
72
|
-
margin-inline-end: calc( #{$kendo-window-titlebar-padding-y} - #{$kendo-window-titlebar-padding-x} );
|
|
73
|
-
line-height: 1;
|
|
74
|
-
display: flex;
|
|
75
|
-
gap: var( --kendo-window-actions-gap, #{$kendo-window-actions-gap} );
|
|
76
|
-
flex-flow: row nowrap;
|
|
77
|
-
flex-shrink: 0;
|
|
78
|
-
align-items: center;
|
|
79
|
-
vertical-align: top;
|
|
80
|
-
}
|
|
81
|
-
.k-window-titlebar-action {
|
|
82
|
-
flex-shrink: 0;
|
|
83
|
-
opacity: var( --kendo-window-action-opacity, #{$kendo-window-action-opacity} );
|
|
84
|
-
|
|
85
|
-
&:hover,
|
|
86
|
-
&.k-hover {
|
|
87
|
-
opacity: var( --kendo-window-action-hover-opacity, #{$kendo-window-action-hover-opacity} );
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
// Content
|
|
93
|
-
.k-window-content,
|
|
94
|
-
.k-prompt-container {
|
|
95
|
-
padding-inline: var( --kendo-window-inner-padding-x, #{$kendo-window-inner-padding-x} );
|
|
96
|
-
padding-block: var( --kendo-window-inner-padding-y, #{$kendo-window-inner-padding-y} );
|
|
97
|
-
border-width: 0;
|
|
98
|
-
border-color: inherit;
|
|
99
|
-
color: inherit;
|
|
100
|
-
background: none;
|
|
101
|
-
outline: 0;
|
|
102
|
-
overflow: auto;
|
|
103
|
-
position: relative;
|
|
104
|
-
flex: 1 1 auto;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.k-window-content + .k-prompt-container {
|
|
108
|
-
margin-block-start: calc( -1 * var( --kendo-window-inner-padding-y, #{$kendo-window-inner-padding-y} ) / 2 );
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.k-window-iframecontent {
|
|
112
|
-
padding: 0;
|
|
113
|
-
overflow: visible;
|
|
114
|
-
|
|
115
|
-
.k-content-frame {
|
|
116
|
-
vertical-align: top;
|
|
117
|
-
border: 0;
|
|
118
|
-
width: 100%;
|
|
119
|
-
height: 100%;
|
|
120
|
-
}
|
|
16
|
+
font-weight: $kendo-window-title-font-weight;
|
|
121
17
|
}
|
|
122
18
|
|
|
123
19
|
// Buttons Layout
|
|
124
20
|
.k-window-actions {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
padding-block: 0 var( --kendo-window-buttongroup-padding-y, #{$kendo-window-buttongroup-padding-y} );
|
|
128
|
-
border-width: var( --kendo-window-buttongroup-border-width, #{$kendo-window-buttongroup-border-width} ) 0 0;
|
|
129
|
-
border-style: solid;
|
|
130
|
-
border-color: inherit;
|
|
131
|
-
flex: 0 0 auto;
|
|
132
|
-
display: flex;
|
|
133
|
-
flex-flow: row wrap;
|
|
134
|
-
align-items: center;
|
|
135
|
-
gap: var( --kendo-window-buttongroup-spacing, #{$kendo-window-buttongroup-spacing} );
|
|
136
|
-
overflow: hidden;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
// Prompt
|
|
141
|
-
.k-prompt-container {
|
|
142
|
-
|
|
143
|
-
> .k-textarea {
|
|
144
|
-
width: 100%;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
// Resize Handles
|
|
150
|
-
.k-window {
|
|
151
|
-
.k-resize-n { top: 0; }
|
|
152
|
-
.k-resize-e { right: 0; }
|
|
153
|
-
.k-resize-s { bottom: 0; }
|
|
154
|
-
.k-resize-w { left: 0; }
|
|
21
|
+
padding-block-start: 0;
|
|
22
|
+
gap: $kendo-window-buttongroup-spacing;
|
|
155
23
|
}
|
|
156
24
|
}
|
package/scss/window/_theme.scss
CHANGED
|
@@ -1,51 +1,23 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../core/_index.scss" as *;
|
|
3
3
|
@use "./_variables.scss" as *;
|
|
4
|
+
@use "@progress/kendo-theme-core/scss/components/window/_theme.scss" as *;
|
|
4
5
|
|
|
5
6
|
@mixin kendo-window--theme() {
|
|
6
|
-
|
|
7
|
-
// Window
|
|
8
|
-
.k-window {
|
|
9
|
-
@include fill(
|
|
10
|
-
var( --kendo-window-text, #{$kendo-window-text} ),
|
|
11
|
-
var( --kendo-window-bg, #{$kendo-window-bg} ),
|
|
12
|
-
var( --kendo-window-border, #{$kendo-window-border} )
|
|
13
|
-
);
|
|
14
|
-
@include box-shadow( var( --kendo-window-shadow, #{$kendo-window-shadow} ) );
|
|
15
|
-
|
|
16
|
-
&:focus,
|
|
17
|
-
&.k-focus {
|
|
18
|
-
@include box-shadow( var( --kendo-window-focus-shadow, #{$kendo-window-focus-shadow} ) );
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
7
|
+
@include kendo-window--theme-base();
|
|
22
8
|
|
|
23
9
|
// Titlebar
|
|
24
10
|
.k-window-titlebar {
|
|
25
|
-
|
|
26
|
-
$bg: var( --kendo-window-titlebar-bg, #{$kendo-window-titlebar-bg} ),
|
|
27
|
-
$border: var( --kendo-window-titlebar-border, #{$kendo-window-titlebar-border} )
|
|
28
|
-
);
|
|
11
|
+
color: inherit;
|
|
29
12
|
}
|
|
30
13
|
|
|
31
14
|
.k-window-title {
|
|
32
|
-
color:
|
|
15
|
+
color: $kendo-window-titlebar-text,
|
|
33
16
|
}
|
|
34
17
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
$_text: map.get( $color-props, text );
|
|
39
|
-
$_bg: map.get( $color-props, bg );
|
|
40
|
-
$_border: map.get( $color-props, border );
|
|
41
|
-
|
|
42
|
-
.k-window-#{$theme-color} .k-window-titlebar {
|
|
43
|
-
color: var( --kendo-window-titlebar-text, #{$kendo-window-titlebar-text} );
|
|
44
|
-
|
|
45
|
-
--kendo-window-titlebar-text: var( --kendo-window-#{$theme-color}-text, #{$_text} );
|
|
46
|
-
--kendo-window-titlebar-bg: var( --kendo-window-#{$theme-color}-bg, #{$_bg} );
|
|
47
|
-
--kendo-window-titlebar-border: var( --kendo-window-#{$theme-color}-border, #{$_border} );
|
|
18
|
+
@each $name, $color in $kendo-window-theme-colors {
|
|
19
|
+
.k-window-#{$name} .k-window-title {
|
|
20
|
+
color: k-color(on-#{$name});
|
|
48
21
|
}
|
|
49
22
|
}
|
|
50
|
-
|
|
51
23
|
}
|
|
@@ -3,98 +3,98 @@
|
|
|
3
3
|
|
|
4
4
|
/// The width of the border around the Window.
|
|
5
5
|
/// @group window
|
|
6
|
-
$kendo-window-border-width: k-spacing(1) 0 0 !default;
|
|
6
|
+
$kendo-window-border-width: var(--kendo-window-border-width, k-spacing(1) 0 0) !default;
|
|
7
7
|
/// The border radius of the Window.
|
|
8
8
|
/// @group window
|
|
9
|
-
$kendo-window-border-radius: k-border-radius(md) !default;
|
|
9
|
+
$kendo-window-border-radius: var(--kendo-window-border-radius, k-border-radius(md)) !default;
|
|
10
10
|
/// The font family of the Window.
|
|
11
11
|
/// @group window
|
|
12
|
-
$kendo-window-font-family: var( --kendo-font-family, inherit ) !default;
|
|
12
|
+
$kendo-window-font-family: var( --kendo-window-font-family, var( --kendo-font-family, inherit ) ) !default;
|
|
13
13
|
/// The font size of the Window.
|
|
14
14
|
/// @group window
|
|
15
|
-
$kendo-window-font-size: var( --kendo-font-size, inherit ) !default;
|
|
15
|
+
$kendo-window-font-size: var( --kendo-window-font-size, var( --kendo-font-size, inherit ) ) !default;
|
|
16
16
|
/// The line height of the Window.
|
|
17
17
|
/// @group window
|
|
18
|
-
$kendo-window-line-height: var( --kendo-line-height, normal ) !default;
|
|
18
|
+
$kendo-window-line-height: var( --kendo-window-line-height, var( --kendo-line-height, normal ) ) !default;
|
|
19
19
|
|
|
20
20
|
/// The horizontal padding of the Window titlebar.
|
|
21
21
|
/// @group window
|
|
22
|
-
$kendo-window-titlebar-padding-x: k-spacing(6) !default;
|
|
22
|
+
$kendo-window-titlebar-padding-x: var( --kendo-window-titlebar-padding-x, k-spacing(6) ) !default;
|
|
23
23
|
/// The vertical padding of the Window titlebar.
|
|
24
24
|
/// @group window
|
|
25
|
-
$kendo-window-titlebar-padding-y: k-spacing(5) !default;
|
|
25
|
+
$kendo-window-titlebar-padding-y: var( --kendo-window-titlebar-padding-y, k-spacing(5) ) !default;
|
|
26
26
|
/// The width of the border of the Window titlebar.
|
|
27
27
|
/// @group window
|
|
28
|
-
$kendo-window-titlebar-border-width: 0 !default;
|
|
28
|
+
$kendo-window-titlebar-border-width: var( --kendo-window-titlebar-border-width, 0 ) !default;
|
|
29
29
|
/// The style of the border of the Window titlebar.
|
|
30
30
|
/// @group window
|
|
31
31
|
$kendo-window-titlebar-border-style: solid !default;
|
|
32
32
|
|
|
33
33
|
/// The font size of the title of the Window.
|
|
34
34
|
/// @group window
|
|
35
|
-
$kendo-window-title-font-size: var( --kendo-font-size-xl, inherit ) !default;
|
|
35
|
+
$kendo-window-title-font-size: var( --kendo-window-title-font-size, var( --kendo-font-size-xl, inherit ) ) !default;
|
|
36
36
|
/// The line height of the title of the Window.
|
|
37
37
|
/// @group window
|
|
38
|
-
$kendo-window-title-line-height: var( --kendo-line-height, normal ) !default;
|
|
38
|
+
$kendo-window-title-line-height: var( --kendo-window-title-line-height, var( --kendo-line-height, normal ) ) !default;
|
|
39
39
|
/// The font weight of the title of the Window.
|
|
40
40
|
/// @group window
|
|
41
|
-
$kendo-window-title-font-weight: var( --kendo-font-weight-bold, bold ) !default;
|
|
41
|
+
$kendo-window-title-font-weight: var( --kendo-window-title-font-weight, var( --kendo-font-weight-bold, bold ) ) !default;
|
|
42
42
|
|
|
43
43
|
/// The spacing between the buttons in the Window titlebar.
|
|
44
44
|
/// @group window
|
|
45
|
-
$kendo-window-actions-gap: k-spacing(0) !default;
|
|
46
|
-
///
|
|
45
|
+
$kendo-window-actions-gap: var( --kendo-window-actions-gap, k-spacing(0) ) !default;
|
|
46
|
+
/// The opacity of the buttons in the Window titlebar.
|
|
47
47
|
/// @group window
|
|
48
|
-
$kendo-window-action-opacity: 1 !default;
|
|
48
|
+
$kendo-window-action-opacity: var( --kendo-window-action-opacity, 1 ) !default;
|
|
49
49
|
/// The opacity of the hovered buttons in the Window titlebar.
|
|
50
50
|
/// @group window
|
|
51
|
-
$kendo-window-action-hover-opacity: 1 !default;
|
|
51
|
+
$kendo-window-action-hover-opacity: var( --kendo-window-action-hover-opacity, 1 ) !default;
|
|
52
52
|
|
|
53
53
|
/// The horizontal padding of the content of the Window.
|
|
54
54
|
/// @group window
|
|
55
|
-
$kendo-window-inner-padding-x: k-spacing(6) !default;
|
|
55
|
+
$kendo-window-inner-padding-x: var( --kendo-window-inner-padding-x, k-spacing(6) ) !default;
|
|
56
56
|
/// The vertical padding of the content of the Window.
|
|
57
57
|
/// @group window
|
|
58
|
-
$kendo-window-inner-padding-y: k-spacing(3) !default;
|
|
58
|
+
$kendo-window-inner-padding-y: var( --kendo-window-inner-padding-y, k-spacing(3) ) !default;
|
|
59
59
|
|
|
60
60
|
/// The horizontal padding of the Window action buttons.
|
|
61
61
|
/// @group window
|
|
62
|
-
$kendo-window-buttongroup-padding-x: k-spacing(6) !default; // $kendo-actions-padding-x
|
|
62
|
+
$kendo-window-buttongroup-padding-x: var( --kendo-window-buttongroup-padding-x, k-spacing(6) ) !default; // $kendo-actions-padding-x
|
|
63
63
|
/// The vertical padding of the Window action buttons.
|
|
64
64
|
/// @group window
|
|
65
|
-
$kendo-window-buttongroup-padding-y: k-spacing(6) !default; // $kendo-actions-padding-y
|
|
65
|
+
$kendo-window-buttongroup-padding-y: var( --kendo-window-buttongroup-padding-y, k-spacing(6) ) !default; // $kendo-actions-padding-y
|
|
66
66
|
/// The width of the top border of the Window action buttons.
|
|
67
67
|
/// @group window
|
|
68
|
-
$kendo-window-buttongroup-border-width: 0 !default;
|
|
68
|
+
$kendo-window-buttongroup-border-width: var( --kendo-window-buttongroup-border-width, 0 ) !default;
|
|
69
69
|
/// The spacing between the Window action buttons.
|
|
70
70
|
/// @group window
|
|
71
|
-
$kendo-window-buttongroup-spacing: k-spacing(3) !default;
|
|
71
|
+
$kendo-window-buttongroup-spacing: var( --kendo-window-buttongroup-spacing, k-spacing(3) ) !default;
|
|
72
72
|
|
|
73
73
|
/// The background color of the Window.
|
|
74
74
|
/// @group window
|
|
75
|
-
$kendo-window-bg: k-color(surface-alt) !default;
|
|
75
|
+
$kendo-window-bg: var( --kendo-window-bg, k-color(surface-alt) ) !default;
|
|
76
76
|
/// The text color of the Window.
|
|
77
77
|
/// @group window
|
|
78
|
-
$kendo-window-text: k-color(on-app-surface) !default;
|
|
78
|
+
$kendo-window-text: var( --kendo-window-text, k-color(on-app-surface) ) !default;
|
|
79
79
|
/// The border color of the Window.
|
|
80
80
|
/// @group window
|
|
81
|
-
$kendo-window-border: k-color(primary) !default;
|
|
81
|
+
$kendo-window-border: var( --kendo-window-border, k-color(primary) ) !default;
|
|
82
82
|
/// The box shadow of the Window.
|
|
83
83
|
/// @group window
|
|
84
|
-
$kendo-window-shadow: var( --kendo-
|
|
84
|
+
$kendo-window-shadow: var( --kendo-window-shadow, var( --kendo-elevation-8, none ) ) !default;
|
|
85
85
|
/// The box shadow of the focused Window.
|
|
86
86
|
/// @group window
|
|
87
|
-
$kendo-window-focus-shadow: var( --kendo-
|
|
87
|
+
$kendo-window-focus-shadow: var( --kendo-window-focus-shadow, var( --kendo-elevation-9, none ) ) !default;
|
|
88
88
|
|
|
89
89
|
/// The background color of the Window titlebar.
|
|
90
90
|
/// @group window
|
|
91
|
-
$kendo-window-titlebar-bg: k-color(surface-alt) !default; // $kendo-component-header-bg
|
|
91
|
+
$kendo-window-titlebar-bg: var( --kendo-window-titlebar-bg, k-color(surface-alt) ) !default; // $kendo-component-header-bg
|
|
92
92
|
/// The text color of the Window titlebar.
|
|
93
93
|
/// @group window
|
|
94
|
-
$kendo-window-titlebar-text: k-color(primary) !default; // $kendo-component-header-text
|
|
94
|
+
$kendo-window-titlebar-text: var( --kendo-window-titlebar-text, k-color(primary) ) !default; // $kendo-component-header-text
|
|
95
95
|
/// The border color of the Window titlebar.
|
|
96
96
|
/// @group window
|
|
97
|
-
$kendo-window-titlebar-border: k-color(primary) !default;
|
|
97
|
+
$kendo-window-titlebar-border: var( --kendo-window-titlebar-border, k-color(primary) ) !default;
|
|
98
98
|
|
|
99
99
|
/// The map of the width of the different Window sizes.
|
|
100
100
|
/// @group window
|
|
@@ -104,48 +104,43 @@ $kendo-window-sizes: (
|
|
|
104
104
|
lg: 1200px
|
|
105
105
|
) !default;
|
|
106
106
|
|
|
107
|
-
/// The theme variations for the Window.
|
|
108
|
-
/// @group window
|
|
109
|
-
$kendo-window-brand-colors: (
|
|
110
|
-
primary: primary
|
|
111
|
-
) !default;
|
|
112
|
-
|
|
113
|
-
// Matrix with window theme colors in the order: bg, color, border
|
|
114
|
-
$_tc-window-matrix: (
|
|
115
|
-
(normal: (color, on-color, color)),
|
|
116
|
-
) !default;
|
|
117
|
-
|
|
118
|
-
$_tc-window-dark-matrix: (
|
|
119
|
-
(normal: (color, on-color, color)),
|
|
120
|
-
) !default;
|
|
121
|
-
|
|
122
|
-
$_tc-window-light-matrix: (
|
|
123
|
-
(normal: (color, on-color, color)),
|
|
124
|
-
) !default;
|
|
125
|
-
|
|
126
107
|
/// The theme colors map for the Window.
|
|
127
108
|
/// @group window
|
|
128
|
-
$kendo-window-theme-colors: (
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
$kendo-window-theme-colors,
|
|
134
|
-
k-generate-theme-variation( $brand-color, $palette, $ui-states )
|
|
135
|
-
);
|
|
136
|
-
};
|
|
137
|
-
}
|
|
109
|
+
$kendo-window-theme-colors: (
|
|
110
|
+
"primary": k-color(primary),
|
|
111
|
+
"light": k-color(light),
|
|
112
|
+
"dark": k-color(dark)
|
|
113
|
+
) !default;
|
|
138
114
|
|
|
139
|
-
@
|
|
140
|
-
$kendo-window-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
115
|
+
@forward "@progress/kendo-theme-core/scss/components/window/_variables.scss" with (
|
|
116
|
+
$kendo-window-border-width: $kendo-window-border-width,
|
|
117
|
+
$kendo-window-border-radius: $kendo-window-border-radius,
|
|
118
|
+
$kendo-window-font-family: $kendo-window-font-family,
|
|
119
|
+
$kendo-window-font-size: $kendo-window-font-size,
|
|
120
|
+
$kendo-window-line-height: $kendo-window-line-height,
|
|
121
|
+
$kendo-window-titlebar-padding-x: $kendo-window-titlebar-padding-x,
|
|
122
|
+
$kendo-window-titlebar-padding-y: $kendo-window-titlebar-padding-y,
|
|
123
|
+
$kendo-window-titlebar-border-width: $kendo-window-titlebar-border-width,
|
|
124
|
+
$kendo-window-titlebar-border-style: $kendo-window-titlebar-border-style,
|
|
125
|
+
$kendo-window-title-font-size: $kendo-window-title-font-size,
|
|
126
|
+
$kendo-window-title-line-height: $kendo-window-title-line-height,
|
|
127
|
+
$kendo-window-actions-gap: $kendo-window-actions-gap,
|
|
128
|
+
$kendo-window-action-opacity: $kendo-window-action-opacity,
|
|
129
|
+
$kendo-window-action-hover-opacity: $kendo-window-action-hover-opacity,
|
|
130
|
+
$kendo-window-inner-padding-x: $kendo-window-inner-padding-x,
|
|
131
|
+
$kendo-window-inner-padding-y: $kendo-window-inner-padding-y,
|
|
132
|
+
$kendo-window-buttongroup-padding-x: $kendo-window-buttongroup-padding-x,
|
|
133
|
+
$kendo-window-buttongroup-padding-y: $kendo-window-buttongroup-padding-y,
|
|
134
|
+
$kendo-window-buttongroup-border-width: $kendo-window-buttongroup-border-width,
|
|
135
|
+
$kendo-window-bg: $kendo-window-bg,
|
|
136
|
+
$kendo-window-text: $kendo-window-text,
|
|
137
|
+
$kendo-window-border: $kendo-window-border,
|
|
138
|
+
$kendo-window-shadow: $kendo-window-shadow,
|
|
139
|
+
$kendo-window-focus-shadow: $kendo-window-focus-shadow,
|
|
140
|
+
$kendo-window-titlebar-bg: $kendo-window-titlebar-bg,
|
|
141
|
+
$kendo-window-titlebar-text: $kendo-window-titlebar-text,
|
|
142
|
+
$kendo-window-titlebar-border: $kendo-window-titlebar-border,
|
|
143
|
+
$kendo-window-sizes: $kendo-window-sizes,
|
|
144
|
+
$kendo-window-theme-colors: $kendo-window-theme-colors
|
|
145
|
+
);
|
|
145
146
|
|
|
146
|
-
@each $ui-states in $_tc-window-light-matrix {
|
|
147
|
-
$kendo-window-theme-colors: map.deep-merge(
|
|
148
|
-
$kendo-window-theme-colors,
|
|
149
|
-
k-generate-theme-variation( light, light, $ui-states )
|
|
150
|
-
);
|
|
151
|
-
}
|
package/scss/wizard/_layout.scss
CHANGED
|
@@ -1,128 +1,41 @@
|
|
|
1
1
|
@use "../core/_index.scss" as *;
|
|
2
2
|
@use "./_variables.scss" as *;
|
|
3
|
+
@use "@progress/kendo-theme-core/scss/components/wizard/_layout.scss" as *;
|
|
3
4
|
|
|
4
5
|
@mixin kendo-wizard--layout() {
|
|
6
|
+
@include kendo-wizard--layout-base();
|
|
5
7
|
|
|
6
8
|
.k-wizard {
|
|
7
|
-
padding-inline: var( --kendo-wizard-padding-x, #{$kendo-wizard-padding-x} );
|
|
8
|
-
padding-block: var( --kendo-wizard-padding-y, #{$kendo-wizard-padding-y} );
|
|
9
|
-
border-width: var( --kendo-wizard-border-width, #{$kendo-wizard-border-width} );
|
|
10
|
-
border-style: solid;
|
|
11
|
-
box-sizing: border-box;
|
|
12
|
-
outline: 0;
|
|
13
|
-
font-size: var( --kendo-wizard-font-size, #{$kendo-wizard-font-size} );
|
|
14
|
-
line-height: var( --kendo-wizard-line-height, #{$kendo-wizard-line-height} );
|
|
15
|
-
font-family: var( --kendo-wizard-font-family, #{$kendo-wizard-font-family} );
|
|
16
|
-
position: relative;
|
|
17
|
-
color: inherit;
|
|
18
|
-
background: none;
|
|
19
|
-
display: flex;
|
|
20
|
-
align-items: stretch;
|
|
21
|
-
overflow: hidden;
|
|
22
|
-
|
|
23
|
-
.k-wizard-steps {
|
|
24
|
-
box-sizing: border-box;
|
|
25
|
-
display: flex;
|
|
26
|
-
overflow: hidden;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
9
|
.k-wizard-step {
|
|
30
|
-
|
|
31
|
-
padding-
|
|
32
|
-
padding-block: var( --kendo-wizard-content-padding-y, #{$kendo-wizard-content-padding-y} );
|
|
33
|
-
width: 100%;
|
|
34
|
-
display: flex;
|
|
35
|
-
flex-direction: column;
|
|
36
|
-
align-items: stretch;
|
|
37
|
-
justify-content: space-between;
|
|
10
|
+
padding-inline: $kendo-wizard-content-padding-x;
|
|
11
|
+
padding-block: $kendo-wizard-content-padding-y;
|
|
38
12
|
|
|
39
13
|
&:focus,
|
|
40
14
|
&.k-focus {
|
|
41
|
-
outline-width: 1px;
|
|
42
15
|
outline-style: solid;
|
|
43
|
-
outline-offset: -1px;
|
|
44
16
|
}
|
|
45
17
|
}
|
|
46
18
|
|
|
47
19
|
.k-wizard-content {
|
|
48
|
-
padding-inline:
|
|
49
|
-
padding-block:
|
|
50
|
-
box-sizing: border-box;
|
|
51
|
-
overflow-y: auto;
|
|
20
|
+
padding-inline: $kendo-wizard-content-padding-x;
|
|
21
|
+
padding-block: $kendo-wizard-content-padding-y;
|
|
52
22
|
}
|
|
53
23
|
|
|
54
24
|
.k-wizard-buttons {
|
|
55
|
-
margin-block-start:
|
|
56
|
-
box-sizing: border-box;
|
|
57
|
-
display: flex;
|
|
58
|
-
flex-wrap: nowrap;
|
|
59
|
-
align-items: center;
|
|
60
|
-
justify-content: space-between;
|
|
61
|
-
flex-shrink: 0;
|
|
62
|
-
|
|
63
|
-
.k-button {
|
|
64
|
-
margin-inline-end: var( --kendo-wizard-buttons-margin-x, #{$kendo-wizard-buttons-margin-x} );
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.k-wizard-pager {
|
|
68
|
-
vertical-align: middle;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.k-wizard-buttons-right {
|
|
73
|
-
.k-button:last-of-type {
|
|
74
|
-
margin-inline-end: 0;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.k-stepper {
|
|
79
|
-
.k-step-list-vertical {
|
|
80
|
-
.k-step {
|
|
81
|
-
flex: 1 0 auto;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.k-step-indicator {
|
|
86
|
-
flex-shrink: 0;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.k-wizard-horizontal {
|
|
92
|
-
flex-direction: column;
|
|
93
|
-
|
|
94
|
-
.k-wizard-steps {
|
|
95
|
-
margin-block-start: var( --kendo-wizard-content-padding-y, #{$kendo-wizard-content-padding-y} );
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.k-wizard-steps,
|
|
99
|
-
.k-wizard-content {
|
|
100
|
-
flex: 1 1 auto;
|
|
25
|
+
margin-block-start: $kendo-wizard-buttons-margin-y;
|
|
101
26
|
}
|
|
102
27
|
}
|
|
103
28
|
|
|
104
29
|
.k-wizard-vertical {
|
|
105
|
-
|
|
106
30
|
.k-wizard-steps {
|
|
107
|
-
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.k-wizard-content {
|
|
111
|
-
flex: 1 1 0%;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.k-wizard-steps {
|
|
115
|
-
margin-inline-start: var( --kendo-wizard-steps-padding-x, #{$kendo-wizard-steps-padding-x} );
|
|
31
|
+
margin-inline-start: $kendo-wizard-steps-padding-x;
|
|
116
32
|
}
|
|
117
33
|
}
|
|
118
34
|
|
|
119
35
|
.k-wizard-left {
|
|
120
|
-
flex-direction: row-reverse;
|
|
121
|
-
|
|
122
36
|
.k-wizard-steps {
|
|
123
37
|
margin-inline-end: var( --kendo-wizard-content-padding-x, #{$kendo-wizard-content-padding-x} );
|
|
124
38
|
margin-inline-start: 0;
|
|
125
39
|
}
|
|
126
40
|
}
|
|
127
|
-
|
|
128
41
|
}
|
package/scss/wizard/_theme.scss
CHANGED
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
@use "../core/_index.scss" as *;
|
|
2
2
|
@use "./_variables.scss" as *;
|
|
3
|
+
@use "@progress/kendo-theme-core/scss/components/wizard/_theme.scss" as *;
|
|
3
4
|
|
|
4
5
|
@mixin kendo-wizard--theme() {
|
|
6
|
+
@include kendo-wizard--theme-base();
|
|
5
7
|
|
|
6
8
|
.k-wizard-step {
|
|
7
9
|
.k-wizard-content {
|
|
8
10
|
@include fill(
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
$kendo-wizard-content-text,
|
|
12
|
+
$kendo-wizard-content-bg
|
|
11
13
|
);
|
|
12
14
|
}
|
|
13
|
-
|
|
14
|
-
&:focus,
|
|
15
|
-
&.k-focus {
|
|
16
|
-
outline-color: var( --kendo-wizard-step-focus-border, #{$kendo-wizard-step-focus-border} );
|
|
17
|
-
}
|
|
18
15
|
}
|
|
19
16
|
|
|
20
17
|
}
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
/// The border width of the Wizard.
|
|
5
5
|
/// @group wizard
|
|
6
|
-
$kendo-wizard-border-width: 0px !default;
|
|
6
|
+
$kendo-wizard-border-width: var( --kendo-wizard-border-width, 0px ) !default;
|
|
7
7
|
/// The horizontal padding of the Wizard.
|
|
8
8
|
/// @group wizard
|
|
9
|
-
$kendo-wizard-padding-x: k-spacing(6) !default;
|
|
9
|
+
$kendo-wizard-padding-x: var( --kendo-wizard-padding-x, k-spacing(6) ) !default;
|
|
10
10
|
/// The vertical padding of the Wizard.
|
|
11
11
|
/// @group wizard
|
|
12
|
-
$kendo-wizard-padding-y: k-spacing(6) !default;
|
|
12
|
+
$kendo-wizard-padding-y: var( --kendo-wizard-padding-y, k-spacing(6) ) !default;
|
|
13
13
|
/// The font size of the Wizard.
|
|
14
14
|
/// @group wizard
|
|
15
15
|
$kendo-wizard-font-size: var( --kendo-font-size, inherit ) !default;
|
|
@@ -23,28 +23,41 @@ $kendo-wizard-font-family: var( --kendo-font-family, inherit ) !default;
|
|
|
23
23
|
|
|
24
24
|
/// The horizontal padding of the Wizard steps.
|
|
25
25
|
/// @group wizard
|
|
26
|
-
$kendo-wizard-steps-padding-x: k-spacing(3) !default;
|
|
26
|
+
$kendo-wizard-steps-padding-x: var( --kendo-wizard-steps-padding-x, k-spacing(3) ) !default;
|
|
27
27
|
|
|
28
28
|
/// The horizontal padding of the Wizard content.
|
|
29
29
|
/// @group wizard
|
|
30
|
-
$kendo-wizard-content-padding-x: k-spacing(0) !default;
|
|
30
|
+
$kendo-wizard-content-padding-x: var( --kendo-wizard-content-padding-x, k-spacing(0) ) !default;
|
|
31
31
|
/// The vertical padding of the Wizard content.
|
|
32
32
|
/// @group wizard
|
|
33
|
-
$kendo-wizard-content-padding-y: k-spacing(0) !default;
|
|
33
|
+
$kendo-wizard-content-padding-y: var( --kendo-wizard-content-padding-y, k-spacing(0) ) !default;
|
|
34
34
|
/// The text color of the Wizard content.
|
|
35
35
|
/// @group wizard
|
|
36
|
-
$kendo-wizard-content-text: k-color(on-app-surface) !default;
|
|
36
|
+
$kendo-wizard-content-text: var( --kendo-wizard-content-text, k-color(on-app-surface) ) !default;
|
|
37
37
|
/// The background color of the Wizard content.
|
|
38
38
|
/// @group wizard
|
|
39
|
-
$kendo-wizard-content-bg: k-color(surface-alt) !default;
|
|
39
|
+
$kendo-wizard-content-bg: var( --kendo-wizard-content-bg, k-color(surface-alt) ) !default;
|
|
40
40
|
|
|
41
41
|
/// The horizontal margin of the Wizard's Button container.
|
|
42
42
|
/// @group wizard
|
|
43
|
-
$kendo-wizard-buttons-margin-x: k-spacing(7) !default;
|
|
43
|
+
$kendo-wizard-buttons-margin-x: var( --kendo-wizard-buttons-margin-x, k-spacing(7) ) !default;
|
|
44
44
|
/// The vertical margin of the Wizard Button container.
|
|
45
45
|
/// @group wizard
|
|
46
|
-
$kendo-wizard-buttons-margin-y: k-spacing(6) !default;
|
|
46
|
+
$kendo-wizard-buttons-margin-y: var( --kendo-wizard-buttons-margin-y, k-spacing(6) ) !default;
|
|
47
47
|
|
|
48
48
|
/// The outline of the focused Wizard step.
|
|
49
49
|
/// @group wizard
|
|
50
|
-
$kendo-wizard-step-focus-border: k-color(base-emphasis) !default;
|
|
50
|
+
$kendo-wizard-step-focus-border: var( --kendo-wizard-step-focus-border, k-color(base-emphasis) ) !default;
|
|
51
|
+
|
|
52
|
+
@forward "@progress/kendo-theme-core/scss/components/wizard/_variables.scss" with (
|
|
53
|
+
$kendo-wizard-padding-x: $kendo-wizard-padding-x,
|
|
54
|
+
$kendo-wizard-padding-y: $kendo-wizard-padding-y,
|
|
55
|
+
$kendo-wizard-content-padding-x: $kendo-wizard-content-padding-x,
|
|
56
|
+
$kendo-wizard-content-padding-y: $kendo-wizard-content-padding-y,
|
|
57
|
+
$kendo-wizard-buttons-margin-x: $kendo-wizard-buttons-margin-x,
|
|
58
|
+
$kendo-wizard-border-width: $kendo-wizard-border-width,
|
|
59
|
+
$kendo-wizard-font-size: $kendo-wizard-font-size,
|
|
60
|
+
$kendo-wizard-line-height: $kendo-wizard-line-height,
|
|
61
|
+
$kendo-wizard-font-family: $kendo-wizard-font-family,
|
|
62
|
+
$kendo-wizard-step-focus-border: $kendo-wizard-step-focus-border
|
|
63
|
+
);
|