@progress/kendo-theme-fluent 11.2.1-dev.1 → 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/_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
package/scss/toolbar/_theme.scss
CHANGED
|
@@ -1,178 +1,14 @@
|
|
|
1
1
|
@use "../core/_index.scss" as *;
|
|
2
2
|
@use "./_variables.scss" as *;
|
|
3
|
+
@use "@progress/kendo-theme-core/scss/components/toolbar/_theme.scss" as *;
|
|
3
4
|
|
|
4
5
|
@mixin kendo-toolbar--theme() {
|
|
6
|
+
@include kendo-toolbar--theme-base();
|
|
5
7
|
|
|
6
|
-
// Theme
|
|
7
8
|
.k-toolbar {
|
|
8
|
-
|
|
9
|
-
// Template item
|
|
10
9
|
.k-toolbar-item:focus,
|
|
11
10
|
.k-toolbar-item.k-focus {
|
|
12
|
-
outline-color:
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// Separator
|
|
18
|
-
.k-toolbar .k-separator,
|
|
19
|
-
.k-toolbar-separator {
|
|
20
|
-
border-color: var( --kendo-toolbar-separator-border, #{$kendo-toolbar-separator-border} );
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.k-toolbar-items {
|
|
24
|
-
border-color: inherit;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
// Solid Toolbar
|
|
28
|
-
.k-toolbar-solid {
|
|
29
|
-
@include fill (
|
|
30
|
-
var( --kendo-toolbar-text, #{$kendo-toolbar-text} ),
|
|
31
|
-
var( --kendo-toolbar-bg, #{$kendo-toolbar-bg} ),
|
|
32
|
-
var( --kendo-toolbar-border, #{$kendo-toolbar-border} )
|
|
33
|
-
);
|
|
34
|
-
|
|
35
|
-
&.k-toolbar-scrollable-overlay {
|
|
36
|
-
&::before {
|
|
37
|
-
background: linear-gradient(90deg, var( --kendo-toolbar-scroll-overlay, #{$kendo-toolbar-scroll-overlay} ));
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&::after {
|
|
41
|
-
background: linear-gradient(270deg, var( --kendo-toolbar-scroll-overlay, #{$kendo-toolbar-scroll-overlay} ));
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.k-toolbar-items-list-solid {
|
|
47
|
-
border-color: var( --kendo-toolbar-border, #{$kendo-toolbar-border} );
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
// Outline Toolbar
|
|
51
|
-
.k-toolbar-outline {
|
|
52
|
-
@include fill (
|
|
53
|
-
$color: var( --kendo-toolbar-outline-text, #{$kendo-toolbar-outline-text} ),
|
|
54
|
-
$border: var( --kendo-toolbar-outline-border, #{$kendo-toolbar-outline-border} )
|
|
55
|
-
);
|
|
56
|
-
|
|
57
|
-
&.k-toolbar-scrollable-overlay {
|
|
58
|
-
&::before {
|
|
59
|
-
background: linear-gradient(90deg, var( --kendo-toolbar-outline-scroll-overlay, #{$kendo-toolbar-outline-scroll-overlay} ));
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&::after {
|
|
63
|
-
background: linear-gradient(270deg, var( --kendo-toolbar-outline-scroll-overlay, #{$kendo-toolbar-outline-scroll-overlay} ));
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.k-toolbar-items-list-outline {
|
|
69
|
-
border-color: var( --kendo-toolbar-outline-border, #{$kendo-toolbar-outline-border} );
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
// Flat Toolbar
|
|
73
|
-
.k-toolbar-flat {
|
|
74
|
-
@include fill (
|
|
75
|
-
$color: var( --kendo-toolbar-flat-text, #{$kendo-toolbar-flat-text} ),
|
|
76
|
-
$border: var( --kendo-toolbar-flat-border, #{$kendo-toolbar-flat-border} )
|
|
77
|
-
);
|
|
78
|
-
|
|
79
|
-
> .k-separator,
|
|
80
|
-
.k-toolbar-separator {
|
|
81
|
-
border-inline-color: var( --kendo-toolbar-flat-border, #{$kendo-toolbar-flat-border} );
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&.k-toolbar-scrollable-overlay {
|
|
85
|
-
&::before {
|
|
86
|
-
background: linear-gradient(90deg, var( --kendo-toolbar-flat-scroll-overlay, #{$kendo-toolbar-flat-scroll-overlay} ));
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
&::after {
|
|
90
|
-
background: linear-gradient(270deg, var( --kendo-toolbar-flat-scroll-overlay, #{$kendo-toolbar-flat-scroll-overlay} ));
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.k-toolbar-items-list-flat {
|
|
96
|
-
border-color: var( --kendo-toolbar-flat-border, #{$kendo-toolbar-flat-border} );
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// stylelint-disable selector-class-pattern
|
|
100
|
-
.k-floating-toolbar,
|
|
101
|
-
.editorToolbarWindow.k-window-content {
|
|
102
|
-
color: var( --kendo-toolbar-text, #{$kendo-toolbar-text} );
|
|
103
|
-
background-color: var( --kendo-toolbar-bg, #{$kendo-toolbar-bg} );
|
|
104
|
-
border-color: var( --kendo-toolbar-border, #{$kendo-toolbar-border} );
|
|
105
|
-
}
|
|
106
|
-
// stylelint-enable selector-class-pattern
|
|
107
|
-
|
|
108
|
-
// Remove once the Overflow Popup uses
|
|
109
|
-
// the proper Menu rendering in all suites.
|
|
110
|
-
.k-overflow-container {
|
|
111
|
-
|
|
112
|
-
.k-button {
|
|
113
|
-
|
|
114
|
-
// Hover state
|
|
115
|
-
&:hover,
|
|
116
|
-
&.k-hover {
|
|
117
|
-
color: var( --kendo-menu-popup-item-hover-text, initial );
|
|
118
|
-
background: var( --kendo-menu-popup-item-hover-bg, initial );
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
// Button focus state
|
|
122
|
-
&:focus,
|
|
123
|
-
&.k-focus {
|
|
124
|
-
box-shadow: var( --kendo-menu-popup-item-focus-shadow, initial );
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
// Active state
|
|
128
|
-
&:active,
|
|
129
|
-
&.k-active {
|
|
130
|
-
color: var( --kendo-menu-popup-item-hover-text, initial );
|
|
131
|
-
background: var( --kendo-menu-popup-item-hover-bg, initial );
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
// Selected
|
|
135
|
-
&.k-selected {
|
|
136
|
-
color: var( --kendo-menu-popup-item-expanded-text, initial );
|
|
137
|
-
background: var( --kendo-menu-popup-item-expanded-bg, initial );
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
// Disabled state
|
|
141
|
-
&:disabled,
|
|
142
|
-
&.k-disabled {
|
|
143
|
-
color: inherit;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
// RTL
|
|
149
|
-
:is(.k-rtl .k-toolbar-scrollable-overlay, [dir="rtl"] .k-toolbar-scrollable-overlay, .k-toolbar-scrollable-overlay.k-rtl, .k-toolbar-scrollable-overlay[dir="rtl"] ) {
|
|
150
|
-
&::before {
|
|
151
|
-
background: linear-gradient(270deg, var(--kendo-toolbar-scroll-overlay, #{$kendo-toolbar-scroll-overlay}));
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
&::after {
|
|
155
|
-
background: linear-gradient(90deg, var(--kendo-toolbar-scroll-overlay, #{$kendo-toolbar-scroll-overlay}));
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
&.k-toolbar-outline {
|
|
159
|
-
&::before {
|
|
160
|
-
background: linear-gradient(270deg, var(--kendo-toolbar-outline-scroll-overlay, #{$kendo-toolbar-outline-scroll-overlay}));
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
&::after {
|
|
164
|
-
background: linear-gradient(90deg, var(--kendo-toolbar-outline-scroll-overlay, #{$kendo-toolbar-outline-scroll-overlay}));
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
&.k-toolbar-flat {
|
|
169
|
-
&::before {
|
|
170
|
-
background: linear-gradient(270deg, var(--kendo-toolbar-flat-scroll-overlay, #{$kendo-toolbar-flat-scroll-overlay}));
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
&::after {
|
|
174
|
-
background: linear-gradient(90deg, var(--kendo-toolbar-flat-scroll-overlay, #{$kendo-toolbar-flat-scroll-overlay}));
|
|
175
|
-
}
|
|
11
|
+
outline-color: $kendo-toolbar-item-focus-outline-color;
|
|
176
12
|
}
|
|
177
13
|
}
|
|
178
14
|
|
|
@@ -4,114 +4,114 @@
|
|
|
4
4
|
|
|
5
5
|
/// The horizontal padding of the small Toolbar.
|
|
6
6
|
/// @group toolbar
|
|
7
|
-
$kendo-toolbar-sm-padding-x: k-spacing(1) !default;
|
|
7
|
+
$kendo-toolbar-sm-padding-x: var( --kendo-toolbar-sm-padding-x, #{k-spacing(1)} ) !default;
|
|
8
8
|
/// The horizontal padding of the medium Toolbar.
|
|
9
9
|
/// @group toolbar
|
|
10
|
-
$kendo-toolbar-md-padding-x: k-spacing(2) !default;
|
|
10
|
+
$kendo-toolbar-md-padding-x: var( --kendo-toolbar-md-padding-x, #{k-spacing(2)} ) !default;
|
|
11
11
|
/// The horizontal padding of the large Toolbar.
|
|
12
12
|
/// @group toolbar
|
|
13
|
-
$kendo-toolbar-lg-padding-x: k-spacing(2.5) !default;
|
|
13
|
+
$kendo-toolbar-lg-padding-x: var( --kendo-toolbar-lg-padding-x, #{k-spacing(2.5)} ) !default;
|
|
14
14
|
|
|
15
15
|
/// The vertical padding of the small Toolbar.
|
|
16
16
|
/// @group toolbar
|
|
17
|
-
$kendo-toolbar-sm-padding-y: k-spacing(1) !default;
|
|
17
|
+
$kendo-toolbar-sm-padding-y: var( --kendo-toolbar-sm-padding-y, #{k-spacing(1)} ) !default;
|
|
18
18
|
/// The vertical padding of the medium Toolbar.
|
|
19
19
|
/// @group toolbar
|
|
20
|
-
$kendo-toolbar-md-padding-y: k-spacing(2) !default;
|
|
20
|
+
$kendo-toolbar-md-padding-y: var( --kendo-toolbar-md-padding-y, #{k-spacing(2)} ) !default;
|
|
21
21
|
/// The vertical padding of the large Toolbar.
|
|
22
22
|
/// @group toolbar
|
|
23
|
-
$kendo-toolbar-lg-padding-y: k-spacing(2.5) !default;
|
|
23
|
+
$kendo-toolbar-lg-padding-y: var( --kendo-toolbar-lg-padding-y, #{k-spacing(2.5)} ) !default;
|
|
24
24
|
|
|
25
25
|
/// The spacing between the tools of the small Toolbar.
|
|
26
26
|
/// @group toolbar
|
|
27
|
-
$kendo-toolbar-sm-spacing: k-spacing(2) !default;
|
|
27
|
+
$kendo-toolbar-sm-spacing: var( --kendo-toolbar-sm-spacing, #{k-spacing(2)} ) !default;
|
|
28
28
|
/// The spacing between the tools of the medium Toolbar.
|
|
29
29
|
/// @group toolbar
|
|
30
|
-
$kendo-toolbar-md-spacing: k-spacing(2) !default;
|
|
30
|
+
$kendo-toolbar-md-spacing: var( --kendo-toolbar-md-spacing, #{k-spacing(2)} ) !default;
|
|
31
31
|
/// The spacing between the tools of the large Toolbar.
|
|
32
32
|
/// @group toolbar
|
|
33
|
-
$kendo-toolbar-lg-spacing: k-spacing(2) !default;
|
|
33
|
+
$kendo-toolbar-lg-spacing: var( --kendo-toolbar-lg-spacing, #{k-spacing(2)} ) !default;
|
|
34
34
|
|
|
35
35
|
/// The height of the small Toolbar button separator.
|
|
36
36
|
/// @group toolbar
|
|
37
|
-
$kendo-toolbar-sm-separator-height: $kendo-button-sm-calc-size !default;
|
|
37
|
+
$kendo-toolbar-sm-separator-height: var( --kendo-toolbar-sm-separator-height, #{$kendo-button-sm-calc-size} ) !default;
|
|
38
38
|
/// The height of the medium Toolbar button separator.
|
|
39
39
|
/// @group toolbar
|
|
40
|
-
$kendo-toolbar-md-separator-height: $kendo-button-md-calc-size !default;
|
|
40
|
+
$kendo-toolbar-md-separator-height: var( --kendo-toolbar-md-separator-height, #{$kendo-button-md-calc-size} ) !default;
|
|
41
41
|
/// The height of the large Toolbar button separator.
|
|
42
42
|
/// @group toolbar
|
|
43
|
-
$kendo-toolbar-lg-separator-height: $kendo-button-lg-calc-size !default;
|
|
43
|
+
$kendo-toolbar-lg-separator-height: var( --kendo-toolbar-lg-separator-height, #{$kendo-button-lg-calc-size} ) !default;
|
|
44
44
|
|
|
45
45
|
/// The width of the border around the Toolbar.
|
|
46
46
|
/// @group toolbar
|
|
47
|
-
$kendo-toolbar-border-width: 1px !default;
|
|
47
|
+
$kendo-toolbar-border-width: var( --kendo-toolbar-border-width, 1px ) !default;
|
|
48
48
|
|
|
49
49
|
/// The font family of the Toolbar.
|
|
50
50
|
/// @group toolbar
|
|
51
|
-
$kendo-toolbar-font-family: var( --kendo-font-family, inherit ) !default;
|
|
51
|
+
$kendo-toolbar-font-family: var( --kendo-toolbar-font-family, var( --kendo-font-family, inherit ) ) !default;
|
|
52
52
|
/// The font size of the Toolbar.
|
|
53
53
|
/// @group toolbar
|
|
54
|
-
$kendo-toolbar-font-size: var( --kendo-font-size, inherit ) !default;
|
|
54
|
+
$kendo-toolbar-font-size: var( --kendo-toolbar-font-size, var( --kendo-font-size, inherit ) ) !default;
|
|
55
55
|
/// The line height of the Toolbar.
|
|
56
56
|
/// @group toolbar
|
|
57
|
-
$kendo-toolbar-line-height: var( --kendo-line-height, normal ) !default;
|
|
57
|
+
$kendo-toolbar-line-height: var( --kendo-toolbar-line-height, var( --kendo-line-height, normal ) ) !default;
|
|
58
58
|
|
|
59
59
|
/// The background color of the Toolbar.
|
|
60
60
|
/// @group toolbar
|
|
61
|
-
$kendo-toolbar-bg: k-color(surface) !default;
|
|
61
|
+
$kendo-toolbar-bg: var( --kendo-toolbar-bg, #{k-color(surface)} ) !default;
|
|
62
62
|
/// The text color of the Toolbar.
|
|
63
63
|
/// @group toolbar
|
|
64
|
-
$kendo-toolbar-text: k-color(on-app-surface) !default;
|
|
64
|
+
$kendo-toolbar-text: var( --kendo-toolbar-text, #{k-color(on-app-surface)} ) !default;
|
|
65
65
|
/// The color of the border around the Toolbar.
|
|
66
66
|
/// @group toolbar
|
|
67
|
-
$kendo-toolbar-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
|
|
67
|
+
$kendo-toolbar-border: var( --kendo-toolbar-border, #{color-mix(in srgb, k-color(border) 16%, transparent)} ) !default;
|
|
68
68
|
/// The left and right scroll overlay of the Toolbar.
|
|
69
69
|
/// @group toolbar
|
|
70
|
-
$kendo-toolbar-scroll-overlay: $kendo-toolbar-bg, color-mix(in srgb, k-color(app-surface) 0%, transparent) !default;
|
|
70
|
+
$kendo-toolbar-scroll-overlay: var( --kendo-toolbar-scroll-overlay, #{$kendo-toolbar-bg, color-mix(in srgb, k-color(app-surface) 0%, transparent)} ) !default;
|
|
71
71
|
|
|
72
72
|
|
|
73
73
|
/// The text color of the outline Toolbar.
|
|
74
74
|
/// @group toolbar
|
|
75
|
-
$kendo-toolbar-outline-text: null !default;
|
|
75
|
+
$kendo-toolbar-outline-text: var( --kendo-toolbar-outline-text, null ) !default;
|
|
76
76
|
/// The color of the border around the outline Toolbar.
|
|
77
77
|
/// @group toolbar
|
|
78
|
-
$kendo-toolbar-outline-border: k-color(border) !default;
|
|
78
|
+
$kendo-toolbar-outline-border: var( --kendo-toolbar-outline-border, #{k-color(border)} ) !default;
|
|
79
79
|
/// The width of the border around the outline Toolbar.
|
|
80
80
|
/// @group toolbar
|
|
81
|
-
$kendo-toolbar-outline-border-width: $kendo-toolbar-border-width !default;
|
|
81
|
+
$kendo-toolbar-outline-border-width: var( --kendo-toolbar-outline-border-width, #{$kendo-toolbar-border-width} ) !default;
|
|
82
82
|
/// The left and right scroll overlay of the outline Toolbar.
|
|
83
83
|
/// @group toolbar
|
|
84
|
-
$kendo-toolbar-outline-scroll-overlay: k-color(app-surface), color-mix(in srgb, k-color(app-surface) 0%, transparent) !default;
|
|
84
|
+
$kendo-toolbar-outline-scroll-overlay: var( --kendo-toolbar-outline-scroll-overlay, #{k-color(app-surface), color-mix(in srgb, k-color(app-surface) 0%, transparent)} ) !default;
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
/// The text color of the flat Toolbar.
|
|
88
88
|
/// @group toolbar
|
|
89
|
-
$kendo-toolbar-flat-text: null !default;
|
|
89
|
+
$kendo-toolbar-flat-text: var( --kendo-toolbar-flat-text, null ) !default;
|
|
90
90
|
/// The color of the border around the flat Toolbar.
|
|
91
91
|
/// @group toolbar
|
|
92
|
-
$kendo-toolbar-flat-border: $kendo-toolbar-border !default;
|
|
92
|
+
$kendo-toolbar-flat-border: var( --kendo-toolbar-flat-border, #{$kendo-toolbar-border} ) !default;
|
|
93
93
|
/// The left and right scroll overlay of the flat Toolbar.
|
|
94
94
|
/// @group toolbar
|
|
95
|
-
$kendo-toolbar-flat-scroll-overlay: k-color(app-surface), color-mix(in srgb, k-color(app-surface) 0%, transparent) !default;
|
|
95
|
+
$kendo-toolbar-flat-scroll-overlay: var( --kendo-toolbar-flat-scroll-overlay, #{k-color(app-surface), color-mix(in srgb, k-color(app-surface) 0%, transparent)} ) !default;
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
/// The color of the separator border of the Toolbar.
|
|
99
99
|
/// @group toolbar
|
|
100
|
-
$kendo-toolbar-separator-border: inherit !default;
|
|
100
|
+
$kendo-toolbar-separator-border: var( --kendo-toolbar-separator-border, inherit ) !default;
|
|
101
101
|
|
|
102
102
|
/// The width of the input in the Toolbar.
|
|
103
103
|
/// @group toolbar
|
|
104
|
-
$kendo-toolbar-input-width: 10em !default;
|
|
104
|
+
$kendo-toolbar-input-width: var( --kendo-toolbar-input-width, 10em ) !default;
|
|
105
105
|
|
|
106
106
|
/// The border width of the focused Toolbar item.
|
|
107
107
|
/// @group toolbar
|
|
108
|
-
$kendo-toolbar-item-focus-outline-width: 1px !default;
|
|
108
|
+
$kendo-toolbar-item-focus-outline-width: var( --kendo-toolbar-item-focus-outline-width, 1px ) !default;
|
|
109
109
|
/// The border style of the focused Toolbar item.
|
|
110
110
|
/// @group toolbar
|
|
111
|
-
$kendo-toolbar-item-focus-outline-style: solid !default;
|
|
111
|
+
$kendo-toolbar-item-focus-outline-style: var( --kendo-toolbar-item-focus-outline-style, solid ) !default;
|
|
112
112
|
/// The border color of the focused Toolbar item.
|
|
113
113
|
/// @group toolbar
|
|
114
|
-
$kendo-toolbar-item-focus-outline-color: k-color(base-emphasis) !default;
|
|
114
|
+
$kendo-toolbar-item-focus-outline-color: var( --kendo-toolbar-item-focus-outline-color, #{k-color(base-emphasis)} ) !default;
|
|
115
115
|
|
|
116
116
|
/// The sizes map for the Toolbar.
|
|
117
117
|
/// @group toolbar
|
|
@@ -135,3 +135,36 @@ $kendo-toolbar-sizes: (
|
|
|
135
135
|
separator-height: $kendo-toolbar-lg-separator-height
|
|
136
136
|
)
|
|
137
137
|
) !default;
|
|
138
|
+
|
|
139
|
+
@forward "@progress/kendo-theme-core/scss/components/toolbar/_variables.scss" with (
|
|
140
|
+
$kendo-toolbar-sm-padding-x: $kendo-toolbar-sm-padding-x,
|
|
141
|
+
$kendo-toolbar-md-padding-x: $kendo-toolbar-md-padding-x,
|
|
142
|
+
$kendo-toolbar-lg-padding-x: $kendo-toolbar-lg-padding-x,
|
|
143
|
+
$kendo-toolbar-sm-padding-y: $kendo-toolbar-sm-padding-y,
|
|
144
|
+
$kendo-toolbar-md-padding-y: $kendo-toolbar-md-padding-y,
|
|
145
|
+
$kendo-toolbar-lg-padding-y: $kendo-toolbar-lg-padding-y,
|
|
146
|
+
$kendo-toolbar-sm-spacing: $kendo-toolbar-sm-spacing,
|
|
147
|
+
$kendo-toolbar-md-spacing: $kendo-toolbar-md-spacing,
|
|
148
|
+
$kendo-toolbar-lg-spacing: $kendo-toolbar-lg-spacing,
|
|
149
|
+
$kendo-toolbar-sm-separator-height: $kendo-toolbar-sm-separator-height,
|
|
150
|
+
$kendo-toolbar-md-separator-height: $kendo-toolbar-md-separator-height,
|
|
151
|
+
$kendo-toolbar-lg-separator-height: $kendo-toolbar-lg-separator-height,
|
|
152
|
+
$kendo-toolbar-border-width: $kendo-toolbar-border-width,
|
|
153
|
+
$kendo-toolbar-font-family: $kendo-toolbar-font-family,
|
|
154
|
+
$kendo-toolbar-font-size: $kendo-toolbar-font-size,
|
|
155
|
+
$kendo-toolbar-line-height: $kendo-toolbar-line-height,
|
|
156
|
+
$kendo-toolbar-bg: $kendo-toolbar-bg,
|
|
157
|
+
$kendo-toolbar-text: $kendo-toolbar-text,
|
|
158
|
+
$kendo-toolbar-border: $kendo-toolbar-border,
|
|
159
|
+
$kendo-toolbar-scroll-overlay: $kendo-toolbar-scroll-overlay,
|
|
160
|
+
$kendo-toolbar-outline-text: $kendo-toolbar-outline-text,
|
|
161
|
+
$kendo-toolbar-outline-border: $kendo-toolbar-outline-border,
|
|
162
|
+
$kendo-toolbar-outline-border-width: $kendo-toolbar-outline-border-width,
|
|
163
|
+
$kendo-toolbar-outline-scroll-overlay: $kendo-toolbar-outline-scroll-overlay,
|
|
164
|
+
$kendo-toolbar-flat-text: $kendo-toolbar-flat-text,
|
|
165
|
+
$kendo-toolbar-flat-border: $kendo-toolbar-flat-border,
|
|
166
|
+
$kendo-toolbar-flat-scroll-overlay: $kendo-toolbar-flat-scroll-overlay,
|
|
167
|
+
$kendo-toolbar-separator-border: $kendo-toolbar-separator-border,
|
|
168
|
+
$kendo-toolbar-input-width: $kendo-toolbar-input-width,
|
|
169
|
+
$kendo-toolbar-sizes: $kendo-toolbar-sizes
|
|
170
|
+
);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "../core/_index.scss" as *;
|
|
3
|
+
@use "../core/functions/index.import.scss" as *;
|
|
4
|
+
|
|
5
|
+
@function tooltip-theme( $colors ) {
|
|
6
|
+
$_theme: ();
|
|
7
|
+
|
|
8
|
+
@each $name, $color in $colors {
|
|
9
|
+
$_theme: map.merge(( $name: (
|
|
10
|
+
color: k-color(on-#{$name}),
|
|
11
|
+
background-color: $color,
|
|
12
|
+
border: $color,
|
|
13
|
+
)), $_theme );
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@return $_theme;
|
|
17
|
+
}
|
|
@@ -1,108 +1,47 @@
|
|
|
1
1
|
@use "../core/_index.scss" as *;
|
|
2
2
|
@use "./_variables.scss" as *;
|
|
3
|
+
@use "@progress/kendo-theme-core/scss/components/tooltip/_layout.scss" as *;
|
|
3
4
|
|
|
4
5
|
@mixin kendo-tooltip--layout() {
|
|
6
|
+
@include kendo-tooltip--layout-base();
|
|
5
7
|
|
|
6
8
|
.k-tooltip {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
box-sizing: border-box;
|
|
14
|
-
background-repeat: repeat-x;
|
|
15
|
-
outline: 0;
|
|
16
|
-
font-family: var( --kendo-tooltip-font-family, #{$kendo-tooltip-font-family} );
|
|
17
|
-
font-size: var( --kendo-tooltip-font-size, #{$kendo-tooltip-font-size} );
|
|
18
|
-
line-height: var( --kendo-tooltip-line-height, #{$kendo-tooltip-line-height} );
|
|
19
|
-
display: flex;
|
|
20
|
-
flex-flow: row nowrap;
|
|
21
|
-
align-items: flex-start;
|
|
22
|
-
position: absolute;
|
|
23
|
-
z-index: 12000;
|
|
24
|
-
-webkit-touch-callout: none;
|
|
25
|
-
-webkit-tap-highlight-color: $kendo-color-rgba-transparent;
|
|
26
|
-
|
|
27
|
-
*,
|
|
28
|
-
*::before,
|
|
29
|
-
*::after {
|
|
30
|
-
box-sizing: border-box;
|
|
31
|
-
}
|
|
9
|
+
padding-inline: $kendo-tooltip-padding-x;
|
|
10
|
+
padding-block: $kendo-tooltip-padding-y;
|
|
11
|
+
border-width: $kendo-tooltip-border-width;
|
|
12
|
+
font-family: $kendo-tooltip-font-family;
|
|
13
|
+
font-size: $kendo-tooltip-font-size;
|
|
14
|
+
line-height: $kendo-tooltip-line-height;
|
|
32
15
|
}
|
|
33
16
|
|
|
34
17
|
.k-tooltip-icon {
|
|
35
|
-
margin-inline-end:
|
|
36
|
-
flex-shrink: 0;
|
|
18
|
+
margin-inline-end: .5rem;
|
|
37
19
|
}
|
|
38
20
|
|
|
39
21
|
.k-tooltip-title {
|
|
40
|
-
margin-block-end:
|
|
41
|
-
font-size:
|
|
42
|
-
line-height:
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.k-tooltip-content {
|
|
46
|
-
align-self: stretch;
|
|
47
|
-
flex: 1 1 auto;
|
|
48
|
-
overflow: hidden;
|
|
49
|
-
text-overflow: ellipsis;
|
|
22
|
+
margin-block-end: $kendo-tooltip-title-margin;
|
|
23
|
+
font-size: $kendo-tooltip-title-font-size;
|
|
24
|
+
line-height: $kendo-tooltip-title-line-height;
|
|
50
25
|
}
|
|
51
26
|
|
|
52
27
|
.k-tooltip-button {
|
|
53
|
-
margin-inline-start:
|
|
54
|
-
flex-shrink: 0;
|
|
55
|
-
|
|
56
|
-
.k-icon {
|
|
57
|
-
color: inherit;
|
|
58
|
-
vertical-align: top;
|
|
59
|
-
}
|
|
28
|
+
margin-inline-start: .5rem;
|
|
60
29
|
}
|
|
61
30
|
|
|
62
|
-
|
|
63
|
-
// Callout
|
|
64
31
|
.k-callout {
|
|
65
|
-
width: calc( #{$kendo-tooltip-callout-size} * 2 );
|
|
66
|
-
height: calc( #{$kendo-tooltip-callout-size} * 2 );
|
|
67
|
-
border-width: $kendo-tooltip-callout-size;
|
|
68
|
-
border-style: solid;
|
|
69
|
-
border-color: transparent;
|
|
70
|
-
position: absolute;
|
|
71
|
-
pointer-events: none;
|
|
72
32
|
color: inherit;
|
|
73
33
|
}
|
|
74
34
|
|
|
75
|
-
// TODO:
|
|
76
|
-
// Some implementations rely on margin + transform-rotate to position callout
|
|
77
|
-
// Remove margin tweaking and uncomment when their implementation is fixed.
|
|
78
|
-
|
|
79
35
|
.k-callout-n {
|
|
80
36
|
margin-inline-start: calc( #{$kendo-tooltip-callout-size} * -1 );
|
|
81
|
-
border-bottom-color: currentColor;
|
|
82
|
-
top: calc( calc( #{$kendo-tooltip-callout-size} * -1 ) * 2 );
|
|
83
|
-
left: 50%;
|
|
84
|
-
pointer-events: none;
|
|
85
37
|
}
|
|
86
38
|
.k-callout-e {
|
|
87
39
|
margin-block-start: calc( #{$kendo-tooltip-callout-size} * -1 );
|
|
88
|
-
border-left-color: currentColor;
|
|
89
|
-
top: 50%;
|
|
90
|
-
right: calc( calc( #{$kendo-tooltip-callout-size} * -1 ) * 2 );
|
|
91
|
-
pointer-events: none;
|
|
92
40
|
}
|
|
93
41
|
.k-callout-s {
|
|
94
42
|
margin-inline-start: calc( #{$kendo-tooltip-callout-size} * -1 );
|
|
95
|
-
border-top-color: currentColor;
|
|
96
|
-
bottom: calc( calc( #{$kendo-tooltip-callout-size} * -1 ) * 2);
|
|
97
|
-
left: 50%;
|
|
98
|
-
pointer-events: none;
|
|
99
43
|
}
|
|
100
44
|
.k-callout-w {
|
|
101
45
|
margin-block-start: calc( #{$kendo-tooltip-callout-size} * -1 );
|
|
102
|
-
border-right-color: currentColor;
|
|
103
|
-
top: 50%;
|
|
104
|
-
left: calc( calc( #{$kendo-tooltip-callout-size} * -1 ) * 2);
|
|
105
|
-
pointer-events: none;
|
|
106
46
|
}
|
|
107
|
-
|
|
108
47
|
}
|
package/scss/tooltip/_theme.scss
CHANGED
|
@@ -1,34 +1,28 @@
|
|
|
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/tooltip/_theme.scss" as *;
|
|
4
5
|
|
|
5
6
|
@mixin kendo-tooltip--theme() {
|
|
6
|
-
|
|
7
|
-
@include box-shadow( var( --kendo-tooltip-shadow, #{$kendo-tooltip-shadow} ) );
|
|
7
|
+
@include kendo-tooltip--theme-base();
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
border-color: var( --kendo-tooltip-border, #{$kendo-tooltip-border} );
|
|
12
|
-
|
|
13
|
-
.k-callout {
|
|
14
|
-
color: var( --kendo-tooltip-bg, #{$kendo-tooltip-bg} );
|
|
15
|
-
}
|
|
9
|
+
.k-tooltip-button {
|
|
10
|
+
color: $kendo-tooltip-button-text;
|
|
16
11
|
}
|
|
17
12
|
|
|
18
|
-
@each $
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
13
|
+
@each $name, $color in $kendo-tooltip-theme-colors {
|
|
14
|
+
@if($name == "primary" or $name == "dark" or $name == "light" or $name == "inverse") {
|
|
15
|
+
.k-tooltip-#{$name} {
|
|
16
|
+
color: k-color(on-#{$name});
|
|
17
|
+
background-color: k-color(#{$name});
|
|
18
|
+
border-color: k-color(#{$name});
|
|
19
|
+
}
|
|
20
|
+
} @else {
|
|
21
|
+
.k-tooltip-#{$name} {
|
|
22
|
+
color: k-color(#{$name}-on-subtle);
|
|
23
|
+
background-color: k-color(#{$name}-subtle);
|
|
24
|
+
border-color: k-color(#{$name}-subtle);
|
|
25
|
+
}
|
|
27
26
|
}
|
|
28
27
|
}
|
|
29
|
-
|
|
30
|
-
.k-tooltip-button {
|
|
31
|
-
color: var( --kendo-tooltip-button-text, #{$kendo-tooltip-button-text} );
|
|
32
|
-
}
|
|
33
|
-
|
|
34
28
|
}
|