@progress/kendo-theme-fluent 11.2.1-dev.1 → 11.3.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/_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 -296
- 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
|
@@ -1,56 +1,24 @@
|
|
|
1
1
|
@use "../core/_index.scss" as *;
|
|
2
2
|
@use "./_variables.scss" as *;
|
|
3
|
+
@use "@progress/kendo-theme-core/scss/components/popover/_layout.scss" as *;
|
|
3
4
|
|
|
4
5
|
@mixin kendo-popover--layout() {
|
|
6
|
+
@include kendo-popover--layout-base();
|
|
5
7
|
|
|
6
|
-
// Popover
|
|
7
8
|
.k-popover {
|
|
8
|
-
@include border-radius( var( --kendo-popover-border-radius, #{$kendo-popover-border-radius} ) );
|
|
9
|
-
padding: 0;
|
|
10
|
-
border-width: var( --kendo-popover-border-width, #{$kendo-popover-border-width} );
|
|
11
|
-
border-style: var( --kendo-popover-border-style, #{$kendo-popover-border-style} );
|
|
12
|
-
box-sizing: border-box;
|
|
13
|
-
outline: 0;
|
|
14
|
-
font-size: var( --kendo-popover-font-size, #{$kendo-popover-font-size} );
|
|
15
|
-
font-family: var( --kendo-popover-font-family, #{$kendo-popover-font-family} );
|
|
16
|
-
line-height: var( --kendo-popover-line-height, #{$kendo-popover-line-height} );
|
|
17
|
-
display: flex;
|
|
18
|
-
flex-flow: column nowrap;
|
|
19
|
-
z-index: 12000;
|
|
20
|
-
-webkit-touch-callout: none;
|
|
21
|
-
-webkit-tap-highlight-color: $kendo-color-rgba-transparent;
|
|
22
|
-
|
|
23
|
-
*,
|
|
24
|
-
*::before,
|
|
25
|
-
*::after {
|
|
26
|
-
box-sizing: border-box;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
9
|
.k-popover-header {
|
|
30
10
|
margin-block-end: 0;
|
|
31
11
|
}
|
|
32
12
|
}
|
|
33
13
|
|
|
34
|
-
// Inner
|
|
35
|
-
.k-popover-inner {
|
|
36
|
-
position: relative;
|
|
37
|
-
border-radius: inherit;
|
|
38
|
-
height: inherit;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
14
|
// Header
|
|
42
15
|
.k-popover-header {
|
|
43
16
|
@extend .k-card-title !optional;
|
|
44
|
-
border-width: 0 0 var( --kendo-popover-header-border-width, #{$kendo-popover-header-border-width} );
|
|
45
|
-
border-style: var( --kendo-popover-header-border-style, #{$kendo-popover-header-border-style} );
|
|
46
|
-
padding-inline: var( --kendo-popover-header-padding-x, #{$kendo-popover-header-padding-x} );
|
|
47
|
-
padding-block: var( --kendo-popover-header-padding-y, #{$kendo-popover-header-padding-y} );
|
|
48
17
|
}
|
|
49
18
|
|
|
50
19
|
// Body
|
|
51
20
|
.k-popover-body {
|
|
52
|
-
padding-
|
|
53
|
-
padding-block-start: var( --kendo-popover-body-padding-y, #{$kendo-popover-body-padding-y} );
|
|
21
|
+
padding-block-start: $kendo-popover-body-padding-y;
|
|
54
22
|
padding-block-end: 0;
|
|
55
23
|
|
|
56
24
|
@at-root .k-popover-header + .k-popover-body {
|
|
@@ -60,43 +28,8 @@
|
|
|
60
28
|
|
|
61
29
|
// Actions
|
|
62
30
|
.k-popover-actions {
|
|
63
|
-
|
|
64
|
-
padding-
|
|
65
|
-
|
|
66
|
-
gap: var( --kendo-popover-actions-gap, $kendo-popover-actions-gap );
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
// Callout
|
|
70
|
-
.k-popover-callout {
|
|
71
|
-
margin: 0;
|
|
72
|
-
width: var( --kendo-popover-callout-width, #{$kendo-popover-callout-width} );
|
|
73
|
-
height: var( --kendo-popover-callout-height, #{$kendo-popover-callout-height} );
|
|
74
|
-
border-width: var( --kendo-popover-callout-border-width, #{$kendo-popover-callout-border-width} );
|
|
75
|
-
border-style: var( --kendo-popover-callout-border-style, #{$kendo-popover-callout-border-style} );
|
|
76
|
-
position: absolute;
|
|
77
|
-
|
|
78
|
-
&.k-callout-n {
|
|
79
|
-
top: 0;
|
|
80
|
-
left: 50%;
|
|
81
|
-
transform: translate(-50%, -50%) rotate(45deg);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&.k-callout-e {
|
|
85
|
-
top: 50%;
|
|
86
|
-
right: 0;
|
|
87
|
-
transform: translate(50%, -50%) rotate(-45deg);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
&.k-callout-s {
|
|
91
|
-
bottom: 0;
|
|
92
|
-
left: 50%;
|
|
93
|
-
transform: translate(-50%, 50%) rotate(45deg);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
&.k-callout-w {
|
|
97
|
-
top: 50%;
|
|
98
|
-
left: 0;
|
|
99
|
-
transform: translate(-50%, -50%) rotate(45deg);
|
|
100
|
-
}
|
|
31
|
+
padding-inline: $kendo-popover-actions-padding-x;
|
|
32
|
+
padding-block: $kendo-popover-actions-padding-y;
|
|
33
|
+
gap: $kendo-popover-actions-gap;
|
|
101
34
|
}
|
|
102
35
|
}
|
package/scss/popover/_theme.scss
CHANGED
|
@@ -1,41 +1,7 @@
|
|
|
1
1
|
@use "../core/_index.scss" as *;
|
|
2
2
|
@use "./_variables.scss" as *;
|
|
3
|
+
@use "@progress/kendo-theme-core/scss/components/popover/_theme.scss" as *;
|
|
3
4
|
|
|
4
5
|
@mixin kendo-popover--theme() {
|
|
5
|
-
|
|
6
|
-
// Popover
|
|
7
|
-
.k-popover {
|
|
8
|
-
@include box-shadow( var( --kendo-popover-shadow, $kendo-popover-shadow ) );
|
|
9
|
-
|
|
10
|
-
@include fill(
|
|
11
|
-
var( --kendo-popover-text, $kendo-popover-text ),
|
|
12
|
-
var( --kendo-popover-bg, $kendo-popover-bg ),
|
|
13
|
-
var( --kendo-popover-border, $kendo-popover-border )
|
|
14
|
-
);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// Inner
|
|
18
|
-
.k-popover-inner {
|
|
19
|
-
background-color: inherit;
|
|
20
|
-
border-color: inherit;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
// Header
|
|
24
|
-
.k-popover-header {
|
|
25
|
-
@include fill(
|
|
26
|
-
var( --kendo-popover-header-text, $kendo-popover-header-text ),
|
|
27
|
-
var( --kendo-popover-header-bg, $kendo-popover-header-bg ),
|
|
28
|
-
var( --kendo-popover-header-border, $kendo-popover-header-border )
|
|
29
|
-
);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
// Callout
|
|
33
|
-
.k-popover-callout {
|
|
34
|
-
@include fill(
|
|
35
|
-
$bg: inherit,
|
|
36
|
-
$border: inherit
|
|
37
|
-
);
|
|
38
|
-
|
|
39
|
-
@include box-shadow( inherit )
|
|
40
|
-
}
|
|
6
|
+
@include kendo-popover--theme-base();
|
|
41
7
|
}
|
|
@@ -5,87 +5,114 @@
|
|
|
5
5
|
|
|
6
6
|
/// The width of the border around the Popover.
|
|
7
7
|
/// @group popover
|
|
8
|
-
$kendo-popover-border-width: $kendo-dialog-border-width !default;
|
|
8
|
+
$kendo-popover-border-width: var( --kendo-popover-border-width, #{$kendo-dialog-border-width} ) !default;
|
|
9
9
|
/// The style of the border around the Popover.
|
|
10
10
|
/// @group popover
|
|
11
|
-
$kendo-popover-border-style: solid !default;
|
|
11
|
+
$kendo-popover-border-style: var( --kendo-popover-border-style, solid ) !default;
|
|
12
12
|
/// The radius of the border around the Popover.
|
|
13
13
|
/// @group popover
|
|
14
|
-
$kendo-popover-border-radius: $kendo-window-border-radius !default;
|
|
14
|
+
$kendo-popover-border-radius: var( --kendo-popover-border-radius, #{$kendo-window-border-radius} ) !default;
|
|
15
15
|
/// The font family of the Popover.
|
|
16
16
|
/// @group popover
|
|
17
|
-
$kendo-popover-font-family: $kendo-window-font-family !default;
|
|
17
|
+
$kendo-popover-font-family: var( --kendo-popover-font-family, #{$kendo-window-font-family} ) !default;
|
|
18
18
|
/// The font size of the Popover.
|
|
19
19
|
/// @group popover
|
|
20
|
-
$kendo-popover-font-size: $kendo-window-font-size !default;
|
|
20
|
+
$kendo-popover-font-size: var( --kendo-popover-font-size, #{$kendo-window-font-size} ) !default;
|
|
21
21
|
/// The line height of the Popover.
|
|
22
22
|
/// @group popover
|
|
23
|
-
$kendo-popover-line-height: $kendo-window-line-height !default;
|
|
23
|
+
$kendo-popover-line-height: var( --kendo-popover-line-height, #{$kendo-window-line-height} ) !default;
|
|
24
24
|
|
|
25
25
|
/// The text color of the Popover.
|
|
26
26
|
/// @group popover
|
|
27
|
-
$kendo-popover-text: k-color(on-app-surface) !default;
|
|
27
|
+
$kendo-popover-text: var( --kendo-popover-text, #{k-color(on-app-surface)} ) !default;
|
|
28
28
|
/// The background color of the Popover.
|
|
29
29
|
/// @group popover
|
|
30
|
-
$kendo-popover-bg: k-color(surface-alt) !default;
|
|
30
|
+
$kendo-popover-bg: var( --kendo-popover-bg, #{k-color(surface-alt)} ) !default;
|
|
31
31
|
/// The border color of the Popover.
|
|
32
32
|
/// @group popover
|
|
33
|
-
$kendo-popover-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
|
|
33
|
+
$kendo-popover-border: var( --kendo-popover-border, #{color-mix(in srgb, k-color(border) 16%, transparent)} ) !default;
|
|
34
34
|
/// The box shadow of the Popover.
|
|
35
35
|
/// @group popover
|
|
36
|
-
$kendo-popover-shadow: var( --kendo-box-shadow-depth-6, none ) !default;
|
|
36
|
+
$kendo-popover-shadow: var( --kendo-popover-shadow, var( --kendo-box-shadow-depth-6, none ) ) !default;
|
|
37
37
|
|
|
38
38
|
/// The horizontal padding of the Popover header.
|
|
39
39
|
/// @group popover
|
|
40
|
-
$kendo-popover-header-padding-x: $kendo-dialog-titlebar-padding-x !default;
|
|
40
|
+
$kendo-popover-header-padding-x: var( --kendo-popover-header-padding-x, #{$kendo-dialog-titlebar-padding-x} ) !default;
|
|
41
41
|
/// The vertical padding of the Popover header.
|
|
42
42
|
/// @group popover
|
|
43
|
-
$kendo-popover-header-padding-y: $kendo-dialog-titlebar-padding-y !default;
|
|
43
|
+
$kendo-popover-header-padding-y: var( --kendo-popover-header-padding-y, #{$kendo-dialog-titlebar-padding-y} ) !default;
|
|
44
44
|
/// The border width of the Popover header.
|
|
45
45
|
/// @group popover
|
|
46
|
-
$kendo-popover-header-border-width: $kendo-dialog-titlebar-border-width !default;
|
|
46
|
+
$kendo-popover-header-border-width: var( --kendo-popover-header-border-width, #{$kendo-dialog-titlebar-border-width} ) !default;
|
|
47
47
|
/// The border style of the Popover header.
|
|
48
48
|
/// @group popover
|
|
49
|
-
$kendo-popover-header-border-style: $kendo-popover-border-style !default;
|
|
49
|
+
$kendo-popover-header-border-style: var( --kendo-popover-header-border-style, #{$kendo-popover-border-style} ) !default;
|
|
50
50
|
/// The text color of the Popover header.
|
|
51
51
|
/// @group popover
|
|
52
|
-
$kendo-popover-header-text: $kendo-dialog-titlebar-text !default;
|
|
52
|
+
$kendo-popover-header-text: var( --kendo-popover-header-text, #{$kendo-dialog-titlebar-text} ) !default;
|
|
53
53
|
/// The background color of the Popover header.
|
|
54
54
|
/// @group popover
|
|
55
|
-
$kendo-popover-header-bg: $kendo-dialog-titlebar-bg !default;
|
|
55
|
+
$kendo-popover-header-bg: var( --kendo-popover-header-bg, #{$kendo-dialog-titlebar-bg} ) !default;
|
|
56
56
|
/// The border color of the Popover header.
|
|
57
57
|
/// @group popover
|
|
58
|
-
$kendo-popover-header-border: $kendo-dialog-titlebar-border !default;
|
|
58
|
+
$kendo-popover-header-border: var( --kendo-popover-header-border, #{$kendo-dialog-titlebar-border} ) !default;
|
|
59
59
|
|
|
60
60
|
/// The horizontal padding of the Popover body.
|
|
61
61
|
/// @group popover
|
|
62
|
-
$kendo-popover-body-padding-x: $kendo-window-inner-padding-x !default;
|
|
62
|
+
$kendo-popover-body-padding-x: var( --kendo-popover-body-padding-x, #{$kendo-window-inner-padding-x} ) !default;
|
|
63
63
|
/// The vertical padding of the Popover body.
|
|
64
64
|
/// @group popover
|
|
65
|
-
$kendo-popover-body-padding-y: $kendo-window-inner-padding-y !default;
|
|
65
|
+
$kendo-popover-body-padding-y: var( --kendo-popover-body-padding-y, #{$kendo-window-inner-padding-y} ) !default;
|
|
66
66
|
|
|
67
67
|
/// The border width of the Popover actions.
|
|
68
68
|
/// @group popover
|
|
69
|
-
$kendo-popover-actions-border-width: 0 !default;
|
|
69
|
+
$kendo-popover-actions-border-width: var( --kendo-popover-actions-border-width, 0 ) !default;
|
|
70
70
|
/// The horizontal padding of the Popover actions.
|
|
71
71
|
/// @group popover
|
|
72
|
-
$kendo-popover-actions-padding-x: $kendo-popover-body-padding-x !default;
|
|
72
|
+
$kendo-popover-actions-padding-x: var( --kendo-popover-actions-padding-x, #{$kendo-popover-body-padding-x} ) !default;
|
|
73
73
|
/// The vertical padding of the Popover actions.
|
|
74
74
|
/// @group popover
|
|
75
|
-
$kendo-popover-actions-padding-y: $kendo-popover-body-padding-y !default;
|
|
75
|
+
$kendo-popover-actions-padding-y: var( --kendo-popover-actions-padding-y, #{$kendo-popover-body-padding-y} ) !default;
|
|
76
76
|
/// The spacing between the Popover actions.
|
|
77
77
|
/// @group popover
|
|
78
|
-
$kendo-popover-actions-gap: k-spacing(3) !default;
|
|
78
|
+
$kendo-popover-actions-gap: var( --kendo-popover-actions-gap, #{k-spacing(3)} ) !default;
|
|
79
79
|
|
|
80
80
|
/// The width of the Popover callout.
|
|
81
81
|
/// @group popover
|
|
82
|
-
$kendo-popover-callout-width: k-spacing(5) !default;
|
|
82
|
+
$kendo-popover-callout-width: var( --kendo-popover-callout-width, #{k-spacing(5)} ) !default;
|
|
83
83
|
/// The height of the Popover callout.
|
|
84
84
|
/// @group popover
|
|
85
|
-
$kendo-popover-callout-height: $kendo-popover-callout-width !default;
|
|
85
|
+
$kendo-popover-callout-height: var( --kendo-popover-callout-height, #{$kendo-popover-callout-width} ) !default;
|
|
86
86
|
/// The border width of the Popover callout.
|
|
87
87
|
/// @group popover
|
|
88
|
-
$kendo-popover-callout-border-width: $kendo-popover-border-width !default;
|
|
88
|
+
$kendo-popover-callout-border-width: var( --kendo-popover-callout-border-width, #{$kendo-popover-border-width} ) !default;
|
|
89
89
|
/// The border style of the Popover callout.
|
|
90
90
|
/// @group popover
|
|
91
|
-
$kendo-popover-callout-border-style: $kendo-popover-border-style !default;
|
|
91
|
+
$kendo-popover-callout-border-style: var( --kendo-popover-callout-border-style, #{$kendo-popover-border-style} ) !default;
|
|
92
|
+
|
|
93
|
+
@forward "@progress/kendo-theme-core/scss/components/popover/_variables.scss" with (
|
|
94
|
+
$kendo-popover-border-width: $kendo-popover-border-width,
|
|
95
|
+
$kendo-popover-border-style: $kendo-popover-border-style,
|
|
96
|
+
$kendo-popover-border-radius: $kendo-popover-border-radius,
|
|
97
|
+
$kendo-popover-font-family: $kendo-popover-font-family,
|
|
98
|
+
$kendo-popover-font-size: $kendo-popover-font-size,
|
|
99
|
+
$kendo-popover-line-height: $kendo-popover-line-height,
|
|
100
|
+
$kendo-popover-text: $kendo-popover-text,
|
|
101
|
+
$kendo-popover-bg: $kendo-popover-bg,
|
|
102
|
+
$kendo-popover-border: $kendo-popover-border,
|
|
103
|
+
$kendo-popover-shadow: $kendo-popover-shadow,
|
|
104
|
+
$kendo-popover-header-padding-x: $kendo-popover-header-padding-x,
|
|
105
|
+
$kendo-popover-header-padding-y: $kendo-popover-header-padding-y,
|
|
106
|
+
$kendo-popover-header-border-width: $kendo-popover-header-border-width,
|
|
107
|
+
$kendo-popover-header-border-style: $kendo-popover-header-border-style,
|
|
108
|
+
$kendo-popover-header-text: $kendo-popover-header-text,
|
|
109
|
+
$kendo-popover-header-bg: $kendo-popover-header-bg,
|
|
110
|
+
$kendo-popover-header-border: $kendo-popover-header-border,
|
|
111
|
+
$kendo-popover-body-padding-x: $kendo-popover-body-padding-x,
|
|
112
|
+
$kendo-popover-body-padding-y: $kendo-popover-body-padding-y,
|
|
113
|
+
$kendo-popover-actions-border-width: $kendo-popover-actions-border-width,
|
|
114
|
+
$kendo-popover-callout-width: $kendo-popover-callout-width,
|
|
115
|
+
$kendo-popover-callout-height: $kendo-popover-callout-height,
|
|
116
|
+
$kendo-popover-callout-border-width: $kendo-popover-callout-border-width,
|
|
117
|
+
$kendo-popover-callout-border-style: $kendo-popover-callout-border-style
|
|
118
|
+
);
|
package/scss/popup/_layout.scss
CHANGED
|
@@ -1,85 +1,20 @@
|
|
|
1
1
|
@use "../core/_index.scss" as *;
|
|
2
2
|
@use "./_variables.scss" as *;
|
|
3
|
+
@use "@progress/kendo-theme-core/scss/components/popup/_layout.scss" as *;
|
|
3
4
|
|
|
4
5
|
@mixin kendo-popup--layout() {
|
|
6
|
+
@include kendo-popup--layout-base();
|
|
5
7
|
|
|
6
|
-
// Animation Container
|
|
7
8
|
.k-animation-container {
|
|
8
|
-
|
|
9
|
-
overflow: hidden;
|
|
10
|
-
z-index: 100;
|
|
11
|
-
outline: none;
|
|
12
|
-
|
|
13
|
-
&-fixed {
|
|
14
|
-
position: fixed;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&-relative {
|
|
18
|
-
position: relative;
|
|
19
|
-
display: inline-block;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.k-animation-container {
|
|
24
|
-
@include border-bottom-radius-only( var( --kendo-popup-border-radius, #{$kendo-popup-border-radius} ) );
|
|
9
|
+
@include border-bottom-radius-only( $kendo-popup-border-radius );
|
|
25
10
|
}
|
|
26
11
|
|
|
27
|
-
.k-animation-container-shown {
|
|
28
|
-
overflow: visible;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
// Popup
|
|
32
12
|
.k-popup {
|
|
33
|
-
|
|
34
|
-
padding-
|
|
35
|
-
padding-block: var( --kendo-popup-padding-y, #{$kendo-popup-padding-y} );
|
|
36
|
-
border-width: var( --kendo-popup-border-width, #{$kendo-popup-border-width} );
|
|
37
|
-
border-style: solid;
|
|
38
|
-
border-radius: var( --kendo-popup-border-radius, #{$kendo-popup-border-radius} );
|
|
39
|
-
box-sizing: border-box;
|
|
40
|
-
font-size: var( --kendo-popup-font-size, #{$kendo-popup-font-size} );
|
|
41
|
-
line-height: var( --kendo-popup-line-height, #{$kendo-popup-line-height} );
|
|
42
|
-
display: flex;
|
|
43
|
-
flex-direction: column;
|
|
44
|
-
align-items: stretch;
|
|
45
|
-
|
|
46
|
-
.k-item {
|
|
47
|
-
outline: none;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.k-popup > .k-colorpalette {
|
|
52
|
-
padding-inline: var( --kendo-popup-content-padding-x, #{$kendo-popup-content-padding-x} );
|
|
53
|
-
padding-block: var( --kendo-popup-content-padding-y, #{$kendo-popup-content-padding-y} );
|
|
13
|
+
padding-inline: $kendo-popup-padding-x;
|
|
14
|
+
padding-block: $kendo-popup-padding-y;
|
|
54
15
|
}
|
|
55
16
|
|
|
56
|
-
// Transparent popup
|
|
57
|
-
.k-popup.k-popup-transparent {
|
|
58
|
-
border-width: 0;
|
|
59
|
-
background-color: transparent;
|
|
60
|
-
box-shadow: none;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
// Flush popup
|
|
64
|
-
.k-popup.k-popup-flush {
|
|
65
|
-
padding: 0;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
// Child components
|
|
69
17
|
.k-popup > .k-coloreditor {
|
|
70
|
-
border-width: 0;
|
|
71
18
|
box-shadow: none;
|
|
72
19
|
}
|
|
73
|
-
|
|
74
|
-
.k-popup .k-column-list {
|
|
75
|
-
max-height: 200px;
|
|
76
|
-
overflow-x: hidden;
|
|
77
|
-
overflow-y: auto;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.k-popup .k-multicheck-wrap {
|
|
81
|
-
max-height: 300px;
|
|
82
|
-
overflow: auto;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
20
|
}
|
package/scss/popup/_theme.scss
CHANGED
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
@use "../core/_index.scss" as *;
|
|
2
2
|
@use "./_variables.scss" as *;
|
|
3
|
+
@use "@progress/kendo-theme-core/scss/components/popup/_theme.scss" as *;
|
|
3
4
|
|
|
4
5
|
@mixin kendo-popup--theme() {
|
|
5
|
-
|
|
6
|
-
@include fill(
|
|
7
|
-
var( --kendo-popup-text, #{$kendo-popup-text} ),
|
|
8
|
-
var( --kendo-popup-bg, #{$kendo-popup-bg} ),
|
|
9
|
-
var( --kendo-popup-border, #{$kendo-popup-border} )
|
|
10
|
-
);
|
|
11
|
-
@include box-shadow( var( --kendo-popup-shadow, #{$kendo-popup-shadow} ) );
|
|
12
|
-
}
|
|
13
|
-
|
|
6
|
+
@include kendo-popup--theme-base();
|
|
14
7
|
}
|
|
@@ -3,40 +3,53 @@
|
|
|
3
3
|
|
|
4
4
|
/// Horizontal padding of the popup.
|
|
5
5
|
/// @group popup
|
|
6
|
-
$kendo-popup-padding-x: k-spacing(0) !default;
|
|
6
|
+
$kendo-popup-padding-x: var( --kendo-popup-padding-x, #{k-spacing(0)} ) !default;
|
|
7
7
|
/// Vertical padding of the popup.
|
|
8
8
|
/// @group popup
|
|
9
|
-
$kendo-popup-padding-y: k-spacing(0) !default;
|
|
9
|
+
$kendo-popup-padding-y: var( --kendo-popup-padding-y, #{k-spacing(0)} ) !default;
|
|
10
10
|
/// Width of the border around the popup.
|
|
11
11
|
/// @group popup
|
|
12
|
-
$kendo-popup-border-width: 0 !default;
|
|
12
|
+
$kendo-popup-border-width: var( --kendo-popup-border-width, 0 ) !default;
|
|
13
13
|
/// Border radius of the popup.
|
|
14
14
|
/// @group popup
|
|
15
|
-
$kendo-popup-border-radius: k-border-radius(md) !default;
|
|
15
|
+
$kendo-popup-border-radius: var( --kendo-popup-border-radius, #{k-border-radius(md)} ) !default;
|
|
16
16
|
|
|
17
17
|
/// Font size of the popup.
|
|
18
18
|
/// @group popup
|
|
19
|
-
$kendo-popup-font-size: var( --kendo-font-size, inherit) !default;
|
|
19
|
+
$kendo-popup-font-size: var( --kendo-popup-font-size, var( --kendo-font-size, inherit) ) !default;
|
|
20
20
|
/// Line height of the popup.
|
|
21
21
|
/// @group popup
|
|
22
|
-
$kendo-popup-line-height: var( --kendo-line-height, normal) !default;
|
|
22
|
+
$kendo-popup-line-height: var( --kendo-popup-line-height, var( --kendo-line-height, normal) ) !default;
|
|
23
23
|
|
|
24
24
|
/// Horizontal padding of the content inside the popup.
|
|
25
25
|
/// @group popup
|
|
26
|
-
$kendo-popup-content-padding-x: k-spacing(2) !default;
|
|
26
|
+
$kendo-popup-content-padding-x: var( --kendo-popup-content-padding-x, #{k-spacing(2)} ) !default;
|
|
27
27
|
/// Vertical padding of the content inside the popup.
|
|
28
28
|
/// @group popup
|
|
29
|
-
$kendo-popup-content-padding-y: k-spacing(2) !default;
|
|
29
|
+
$kendo-popup-content-padding-y: var( --kendo-popup-content-padding-y, #{k-spacing(2)} ) !default;
|
|
30
30
|
|
|
31
31
|
/// Background color of the popup.
|
|
32
32
|
/// @group popup
|
|
33
|
-
$kendo-popup-bg: k-color(surface-alt) !default;
|
|
33
|
+
$kendo-popup-bg: var( --kendo-popup-bg, #{k-color(surface-alt)} ) !default;
|
|
34
34
|
/// Text color of the popup.
|
|
35
35
|
/// @group popup
|
|
36
|
-
$kendo-popup-text: k-color(on-app-surface) !default;
|
|
36
|
+
$kendo-popup-text: var( --kendo-popup-text, #{k-color(on-app-surface)} ) !default;
|
|
37
37
|
/// Border color of the popup.
|
|
38
38
|
/// @group popup
|
|
39
|
-
$kendo-popup-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
|
|
39
|
+
$kendo-popup-border: var( --kendo-popup-border, #{color-mix(in srgb, k-color(border) 16%, transparent)} ) !default;
|
|
40
40
|
/// Box shadow around the popup.
|
|
41
41
|
/// @group popup
|
|
42
|
-
$kendo-popup-shadow: var( --kendo-box-shadow-depth-4, none ) !default;
|
|
42
|
+
$kendo-popup-shadow: var( --kendo-popup-shadow, var( --kendo-box-shadow-depth-4, none ) ) !default;
|
|
43
|
+
|
|
44
|
+
@forward "@progress/kendo-theme-core/scss/components/popup/_variables.scss" with (
|
|
45
|
+
$kendo-popup-border-width: $kendo-popup-border-width,
|
|
46
|
+
$kendo-popup-border-radius: $kendo-popup-border-radius,
|
|
47
|
+
$kendo-popup-font-size: $kendo-popup-font-size,
|
|
48
|
+
$kendo-popup-line-height: $kendo-popup-line-height,
|
|
49
|
+
$kendo-popup-content-padding-x: $kendo-popup-content-padding-x,
|
|
50
|
+
$kendo-popup-content-padding-y: $kendo-popup-content-padding-y,
|
|
51
|
+
$kendo-popup-bg: $kendo-popup-bg,
|
|
52
|
+
$kendo-popup-text: $kendo-popup-text,
|
|
53
|
+
$kendo-popup-border: $kendo-popup-border,
|
|
54
|
+
$kendo-popup-shadow: $kendo-popup-shadow
|
|
55
|
+
);
|