@progress/kendo-theme-fluent 5.7.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/LICENSE.md +17 -0
- package/README.md +72 -0
- package/dist/all.scss +7 -0
- package/package.json +54 -0
- package/scss/action-buttons/_layout.scss +54 -0
- package/scss/action-buttons/_theme.scss +14 -0
- package/scss/action-buttons/_variables.scss +24 -0
- package/scss/action-buttons/index.scss +26 -0
- package/scss/action-sheet/_layout.scss +233 -0
- package/scss/action-sheet/_theme.scss +89 -0
- package/scss/action-sheet/_variables.scss +163 -0
- package/scss/action-sheet/index.scss +27 -0
- package/scss/all.scss +4 -0
- package/scss/appbar/_layout.scss +119 -0
- package/scss/appbar/_theme.scss +40 -0
- package/scss/appbar/_variables.scss +106 -0
- package/scss/appbar/index.scss +25 -0
- package/scss/autocomplete/_layout.scss +4 -0
- package/scss/autocomplete/_theme.scss +4 -0
- package/scss/autocomplete/_variables.scss +1 -0
- package/scss/autocomplete/index.scss +28 -0
- package/scss/avatar/_layout.scss +77 -0
- package/scss/avatar/_theme.scss +20 -0
- package/scss/avatar/_variables.scss +105 -0
- package/scss/avatar/index.scss +25 -0
- package/scss/badge/_layout.scss +155 -0
- package/scss/badge/_theme.scss +31 -0
- package/scss/badge/_variables.scss +159 -0
- package/scss/badge/index.scss +23 -0
- package/scss/bottom-navigation/_layout.scss +130 -0
- package/scss/bottom-navigation/_theme.scss +92 -0
- package/scss/bottom-navigation/_variables.scss +178 -0
- package/scss/bottom-navigation/index.scss +25 -0
- package/scss/breadcrumb/_layout.scss +132 -0
- package/scss/breadcrumb/_theme.scss +134 -0
- package/scss/breadcrumb/_variables.scss +170 -0
- package/scss/breadcrumb/index.scss +26 -0
- package/scss/button/_layout.scss +329 -0
- package/scss/button/_theme.scss +155 -0
- package/scss/button/_variables.scss +392 -0
- package/scss/button/index.scss +25 -0
- package/scss/calendar/_layout.scss +456 -0
- package/scss/calendar/_theme.scss +203 -0
- package/scss/calendar/_variables.scss +267 -0
- package/scss/calendar/index.scss +25 -0
- package/scss/captcha/_layout.scss +63 -0
- package/scss/captcha/_theme.scss +15 -0
- package/scss/captcha/_variables.scss +45 -0
- package/scss/captcha/index.scss +29 -0
- package/scss/card/_layout.scss +364 -0
- package/scss/card/_theme.scss +116 -0
- package/scss/card/_variables.scss +170 -0
- package/scss/card/index.scss +29 -0
- package/scss/checkbox/_layout.scss +248 -0
- package/scss/checkbox/_theme.scss +142 -0
- package/scss/checkbox/_variables.scss +234 -0
- package/scss/checkbox/index.scss +25 -0
- package/scss/chip/_layout.scss +156 -0
- package/scss/chip/_theme.scss +97 -0
- package/scss/chip/_variables.scss +210 -0
- package/scss/chip/index.scss +26 -0
- package/scss/color-preview/_layout.scss +78 -0
- package/scss/color-preview/_theme.scss +32 -0
- package/scss/color-preview/_variables.scss +36 -0
- package/scss/color-preview/index.scss +25 -0
- package/scss/coloreditor/_layout.scss +82 -0
- package/scss/coloreditor/_theme.scss +27 -0
- package/scss/coloreditor/_variables.scss +75 -0
- package/scss/coloreditor/index.scss +29 -0
- package/scss/colorgradient/_layout.scss +184 -0
- package/scss/colorgradient/_theme.scss +118 -0
- package/scss/colorgradient/_variables.scss +149 -0
- package/scss/colorgradient/index.scss +29 -0
- package/scss/colorpalette/_layout.scss +60 -0
- package/scss/colorpalette/_theme.scss +53 -0
- package/scss/colorpalette/_variables.scss +48 -0
- package/scss/colorpalette/index.scss +23 -0
- package/scss/colorpicker/_layout.scss +15 -0
- package/scss/colorpicker/_theme.scss +5 -0
- package/scss/colorpicker/_variables.scss +1 -0
- package/scss/colorpicker/index.scss +29 -0
- package/scss/combobox/_layout.scss +4 -0
- package/scss/combobox/_theme.scss +4 -0
- package/scss/combobox/_variables.scss +1 -0
- package/scss/combobox/index.scss +28 -0
- package/scss/core/_index.scss +33 -0
- package/scss/core/_layout.scss +13 -0
- package/scss/core/_theme.scss +9 -0
- package/scss/core/_variables.scss +132 -0
- package/scss/core/color-system/_index.scss +3 -0
- package/scss/core/color-system/_palettes.scss +316 -0
- package/scss/core/color-system/_variables.scss +169 -0
- package/scss/core/color-system/utils/_functions.scss +67 -0
- package/scss/core/color-system/utils/_index.scss +2 -0
- package/scss/core/color-system/utils/_mixins.scss +9 -0
- package/scss/core/functions/_index.scss +3 -0
- package/scss/core/functions/_strings.scss +35 -0
- package/scss/core/helpers/_animations.scss +708 -0
- package/scss/core/helpers/_asp-fallback.scss +4 -0
- package/scss/core/helpers/_base.scss +146 -0
- package/scss/core/helpers/_extra.scss +22 -0
- package/scss/core/helpers/_index.scss +11 -0
- package/scss/core/helpers/_layout.scss +64 -0
- package/scss/core/helpers/_loading.scss +120 -0
- package/scss/core/helpers/_normalize.scss +11 -0
- package/scss/core/helpers/_reset.scss +19 -0
- package/scss/core/helpers/_resizing.scss +120 -0
- package/scss/core/helpers/_selection.scss +27 -0
- package/scss/core/helpers/_spacer.scss +13 -0
- package/scss/core/mixins/_border-radius.scss +60 -0
- package/scss/core/mixins/_box-shadow.scss +7 -0
- package/scss/core/mixins/_decoration.scss +27 -0
- package/scss/core/mixins/_disabled.scss +10 -0
- package/scss/core/mixins/_hide-scrollbar.scss +13 -0
- package/scss/core/mixins/_index.scss +6 -0
- package/scss/core/mixins/_typography.scss +17 -0
- package/scss/core/module-system/_components.scss +144 -0
- package/scss/core/module-system/index.scss +38 -0
- package/scss/dataviz/_layout.scss +474 -0
- package/scss/dataviz/_theme.scss +150 -0
- package/scss/dataviz/_variables.scss +242 -0
- package/scss/dataviz/index.scss +27 -0
- package/scss/dateinput/_layout.scss +4 -0
- package/scss/dateinput/_theme.scss +4 -0
- package/scss/dateinput/_variables.scss +1 -0
- package/scss/dateinput/index.scss +24 -0
- package/scss/datepicker/_layout.scss +4 -0
- package/scss/datepicker/_theme.scss +4 -0
- package/scss/datepicker/_variables.scss +1 -0
- package/scss/datepicker/index.scss +28 -0
- package/scss/daterangepicker/_layout.scss +39 -0
- package/scss/daterangepicker/_theme.scss +28 -0
- package/scss/daterangepicker/_variables.scss +5 -0
- package/scss/daterangepicker/index.scss +28 -0
- package/scss/datetimepicker/_layout.scss +60 -0
- package/scss/datetimepicker/_theme.scss +4 -0
- package/scss/datetimepicker/_variables.scss +3 -0
- package/scss/datetimepicker/index.scss +30 -0
- package/scss/dialog/_layout.scss +71 -0
- package/scss/dialog/_theme.scss +21 -0
- package/scss/dialog/_variables.scss +46 -0
- package/scss/dialog/index.scss +25 -0
- package/scss/draggable/_layout.scss +66 -0
- package/scss/draggable/_theme.scss +21 -0
- package/scss/draggable/_variables.scss +72 -0
- package/scss/draggable/index.scss +23 -0
- package/scss/drawer/_layout.scss +271 -0
- package/scss/drawer/_theme.scss +94 -0
- package/scss/drawer/_variables.scss +132 -0
- package/scss/drawer/index.scss +26 -0
- package/scss/dropdowngrid/_layout.scss +13 -0
- package/scss/dropdowngrid/_theme.scss +5 -0
- package/scss/dropdowngrid/_variables.scss +1 -0
- package/scss/dropdowngrid/index.scss +33 -0
- package/scss/dropdownlist/_layout.scss +36 -0
- package/scss/dropdownlist/_theme.scss +9 -0
- package/scss/dropdownlist/_variables.scss +1 -0
- package/scss/dropdownlist/index.scss +29 -0
- package/scss/dropdowntree/_layout.scss +22 -0
- package/scss/dropdowntree/_theme.scss +6 -0
- package/scss/dropdowntree/_variables.scss +5 -0
- package/scss/dropdowntree/index.scss +28 -0
- package/scss/dropzone/_layout.scss +49 -0
- package/scss/dropzone/_theme.scss +35 -0
- package/scss/dropzone/_variables.scss +75 -0
- package/scss/dropzone/index.scss +25 -0
- package/scss/editor/_layout.scss +688 -0
- package/scss/editor/_theme.scss +101 -0
- package/scss/editor/_variables.scss +81 -0
- package/scss/editor/index.scss +32 -0
- package/scss/expansion-panel/_layout.scss +83 -0
- package/scss/expansion-panel/_theme.scss +69 -0
- package/scss/expansion-panel/_variables.scss +99 -0
- package/scss/expansion-panel/index.scss +24 -0
- package/scss/fab/_layout.scss +173 -0
- package/scss/fab/_theme.scss +201 -0
- package/scss/fab/_variables.scss +180 -0
- package/scss/fab/index.scss +28 -0
- package/scss/filemanager/_layout.scss +248 -0
- package/scss/filemanager/_theme.scss +110 -0
- package/scss/filemanager/_variables.scss +185 -0
- package/scss/filemanager/index.scss +35 -0
- package/scss/filter/_layout.scss +93 -0
- package/scss/filter/_theme.scss +25 -0
- package/scss/filter/_variables.scss +35 -0
- package/scss/filter/index.scss +31 -0
- package/scss/floating-label/_layout.scss +94 -0
- package/scss/floating-label/_theme.scss +31 -0
- package/scss/floating-label/_variables.scss +67 -0
- package/scss/floating-label/index.scss +24 -0
- package/scss/forms/_layout.scss +326 -0
- package/scss/forms/_theme.scss +44 -0
- package/scss/forms/_variables.scss +143 -0
- package/scss/forms/index.scss +30 -0
- package/scss/grid/_layout.scss +1268 -0
- package/scss/grid/_theme.scss +488 -0
- package/scss/grid/_variables.scss +476 -0
- package/scss/grid/index.scss +45 -0
- package/scss/icon/_layout.scss +60 -0
- package/scss/icon/_theme.scss +1 -0
- package/scss/icon/_variables.scss +18 -0
- package/scss/icon/index.scss +23 -0
- package/scss/imageeditor/_layout.scss +160 -0
- package/scss/imageeditor/_theme.scss +49 -0
- package/scss/imageeditor/_variables.scss +108 -0
- package/scss/imageeditor/index.scss +28 -0
- package/scss/index.scss +320 -0
- package/scss/input/_layout.scss +441 -0
- package/scss/input/_theme.scss +202 -0
- package/scss/input/_variables.scss +612 -0
- package/scss/input/index.scss +26 -0
- package/scss/list/_layout.scss +255 -0
- package/scss/list/_theme.scss +104 -0
- package/scss/list/_variables.scss +273 -0
- package/scss/list/index.scss +26 -0
- package/scss/listbox/_layout.scss +119 -0
- package/scss/listbox/_theme.scss +19 -0
- package/scss/listbox/_variables.scss +45 -0
- package/scss/listbox/index.scss +28 -0
- package/scss/listgroup/_layout.scss +189 -0
- package/scss/listgroup/_theme.scss +14 -0
- package/scss/listgroup/_variables.scss +36 -0
- package/scss/listgroup/index.scss +25 -0
- package/scss/listview/_layout.scss +149 -0
- package/scss/listview/_theme.scss +50 -0
- package/scss/listview/_variables.scss +91 -0
- package/scss/listview/index.scss +27 -0
- package/scss/loader/_layout.scss +458 -0
- package/scss/loader/_theme.scss +18 -0
- package/scss/loader/_variables.scss +143 -0
- package/scss/loader/index.scss +25 -0
- package/scss/map/_index.scss +26 -0
- package/scss/map/_layout.scss +134 -0
- package/scss/map/_theme.scss +32 -0
- package/scss/map/_variables.scss +88 -0
- package/scss/maskedtextbox/_layout.scss +6 -0
- package/scss/maskedtextbox/_theme.scss +6 -0
- package/scss/maskedtextbox/_variables.scss +1 -0
- package/scss/maskedtextbox/index.scss +26 -0
- package/scss/mediaplayer/_layout.scss +102 -0
- package/scss/mediaplayer/_theme.scss +29 -0
- package/scss/mediaplayer/_variables.scss +46 -0
- package/scss/mediaplayer/index.scss +27 -0
- package/scss/menu/_layout.scss +343 -0
- package/scss/menu/_theme.scss +97 -0
- package/scss/menu/_variables.scss +255 -0
- package/scss/menu/index.scss +29 -0
- package/scss/menu-button/_layout.scss +20 -0
- package/scss/menu-button/_theme.scss +1 -0
- package/scss/menu-button/_variables.scss +1 -0
- package/scss/menu-button/index.scss +26 -0
- package/scss/messagebox/_layout.scss +22 -0
- package/scss/messagebox/_theme.scss +44 -0
- package/scss/messagebox/_variables.scss +40 -0
- package/scss/messagebox/index.scss +23 -0
- package/scss/multiselect/_layout.scss +6 -0
- package/scss/multiselect/_theme.scss +6 -0
- package/scss/multiselect/_variables.scss +1 -0
- package/scss/multiselect/index.scss +31 -0
- package/scss/notification/_layout.scss +73 -0
- package/scss/notification/_theme.scss +55 -0
- package/scss/notification/_variables.scss +102 -0
- package/scss/notification/index.scss +26 -0
- package/scss/numerictextbox/_layout.scss +10 -0
- package/scss/numerictextbox/_theme.scss +6 -0
- package/scss/numerictextbox/_variables.scss +1 -0
- package/scss/numerictextbox/index.scss +27 -0
- package/scss/orgchart/_layout.scss +121 -0
- package/scss/orgchart/_theme.scss +60 -0
- package/scss/orgchart/_variables.scss +152 -0
- package/scss/orgchart/index.scss +34 -0
- package/scss/overlay/_layout.scss +15 -0
- package/scss/overlay/_theme.scss +14 -0
- package/scss/overlay/_variables.scss +12 -0
- package/scss/overlay/index.scss +23 -0
- package/scss/pager/_layout.scss +240 -0
- package/scss/pager/_theme.scss +130 -0
- package/scss/pager/_variables.scss +194 -0
- package/scss/pager/index.scss +29 -0
- package/scss/panelbar/_layout.scss +152 -0
- package/scss/panelbar/_theme.scss +245 -0
- package/scss/panelbar/_variables.scss +235 -0
- package/scss/panelbar/index.scss +26 -0
- package/scss/popover/_layout.scss +101 -0
- package/scss/popover/_theme.scss +41 -0
- package/scss/popover/_variables.scss +90 -0
- package/scss/popover/index.scss +27 -0
- package/scss/popup/_layout.scss +53 -0
- package/scss/popup/_theme.scss +14 -0
- package/scss/popup/_variables.scss +42 -0
- package/scss/popup/index.scss +23 -0
- package/scss/progressbar/_layout.scss +279 -0
- package/scss/progressbar/_theme.scss +93 -0
- package/scss/progressbar/_variables.scss +114 -0
- package/scss/progressbar/index.scss +23 -0
- package/scss/radio/_layout.scss +277 -0
- package/scss/radio/_theme.scss +125 -0
- package/scss/radio/_variables.scss +203 -0
- package/scss/radio/index.scss +26 -0
- package/scss/rating/_layout.scss +98 -0
- package/scss/rating/_theme.scss +46 -0
- package/scss/rating/_variables.scss +50 -0
- package/scss/rating/index.scss +25 -0
- package/scss/responsivepanel/_layout.scss +51 -0
- package/scss/responsivepanel/_theme.scss +5 -0
- package/scss/responsivepanel/_variables.scss +1 -0
- package/scss/responsivepanel/index.scss +25 -0
- package/scss/ripple/_layout.scss +53 -0
- package/scss/ripple/_theme.scss +5 -0
- package/scss/ripple/_variables.scss +1 -0
- package/scss/ripple/index.scss +23 -0
- package/scss/scheduler/_layout.scss +979 -0
- package/scss/scheduler/_theme.scss +249 -0
- package/scss/scheduler/_variables.scss +260 -0
- package/scss/scheduler/index.scss +34 -0
- package/scss/scroller/_layout.scss +84 -0
- package/scss/scroller/_theme.scss +8 -0
- package/scss/scroller/_variables.scss +1 -0
- package/scss/scroller/index.scss +23 -0
- package/scss/searchbox/_layout.scss +22 -0
- package/scss/searchbox/_theme.scss +9 -0
- package/scss/searchbox/_variables.scss +5 -0
- package/scss/searchbox/index.scss +27 -0
- package/scss/signature/_layout.scss +68 -0
- package/scss/signature/_theme.scss +13 -0
- package/scss/signature/_variables.scss +73 -0
- package/scss/signature/index.scss +26 -0
- package/scss/skeleton/_layout.scss +76 -0
- package/scss/skeleton/_theme.scss +22 -0
- package/scss/skeleton/_variables.scss +22 -0
- package/scss/skeleton/index.scss +23 -0
- package/scss/slider/_layout.scss +392 -0
- package/scss/slider/_theme.scss +76 -0
- package/scss/slider/_variables.scss +136 -0
- package/scss/slider/index.scss +27 -0
- package/scss/split-button/_layout.scss +58 -0
- package/scss/split-button/_theme.scss +5 -0
- package/scss/split-button/_variables.scss +24 -0
- package/scss/split-button/index.scss +26 -0
- package/scss/splitter/_layout.scss +208 -0
- package/scss/splitter/_theme.scss +36 -0
- package/scss/splitter/_variables.scss +66 -0
- package/scss/splitter/index.scss +25 -0
- package/scss/stepper/_layout.scss +251 -0
- package/scss/stepper/_theme.scss +189 -0
- package/scss/stepper/_variables.scss +200 -0
- package/scss/stepper/index.scss +26 -0
- package/scss/switch/_layout.scss +164 -0
- package/scss/switch/_theme.scss +171 -0
- package/scss/switch/_variables.scss +173 -0
- package/scss/switch/index.scss +23 -0
- package/scss/table/_layout.scss +289 -0
- package/scss/table/_theme.scss +106 -0
- package/scss/table/_variables.scss +169 -0
- package/scss/table/index.scss +30 -0
- package/scss/tabstrip/_layout.scss +428 -0
- package/scss/tabstrip/_theme.scss +102 -0
- package/scss/tabstrip/_variables.scss +145 -0
- package/scss/tabstrip/index.scss +27 -0
- package/scss/taskboard/_layout.scss +205 -0
- package/scss/taskboard/_theme.scss +83 -0
- package/scss/taskboard/_variables.scss +207 -0
- package/scss/taskboard/index.scss +31 -0
- package/scss/textarea/_layout.scss +6 -0
- package/scss/textarea/_theme.scss +6 -0
- package/scss/textarea/_variables.scss +0 -0
- package/scss/textarea/index.scss +25 -0
- package/scss/textbox/_layout.scss +6 -0
- package/scss/textbox/_theme.scss +6 -0
- package/scss/textbox/_variables.scss +1 -0
- package/scss/textbox/index.scss +25 -0
- package/scss/tilelayout/_layout.scss +39 -0
- package/scss/tilelayout/_theme.scss +18 -0
- package/scss/tilelayout/_variables.scss +24 -0
- package/scss/tilelayout/index.scss +25 -0
- package/scss/timepicker/_layout.scss +6 -0
- package/scss/timepicker/_theme.scss +6 -0
- package/scss/timepicker/_variables.scss +1 -0
- package/scss/timepicker/index.scss +28 -0
- package/scss/timeselector/_layout.scss +237 -0
- package/scss/timeselector/_theme.scss +66 -0
- package/scss/timeselector/_variables.scss +130 -0
- package/scss/timeselector/index.scss +27 -0
- package/scss/toolbar/_layout.scss +214 -0
- package/scss/toolbar/_theme.scss +66 -0
- package/scss/toolbar/_variables.scss +40 -0
- package/scss/toolbar/index.scss +28 -0
- package/scss/tooltip/_layout.scss +108 -0
- package/scss/tooltip/_theme.scss +42 -0
- package/scss/tooltip/_variables.scss +98 -0
- package/scss/tooltip/index.scss +26 -0
- package/scss/treelist/_layout.scss +92 -0
- package/scss/treelist/_theme.scss +14 -0
- package/scss/treelist/_variables.scss +9 -0
- package/scss/treelist/index.scss +26 -0
- package/scss/treeview/_layout.scss +160 -0
- package/scss/treeview/_theme.scss +102 -0
- package/scss/treeview/_variables.scss +164 -0
- package/scss/treeview/index.scss +26 -0
- package/scss/typography/_layout.scss +110 -0
- package/scss/typography/_theme.scss +15 -0
- package/scss/typography/_variables.scss +126 -0
- package/scss/typography/index.scss +23 -0
- package/scss/upload/_layout.scss +275 -0
- package/scss/upload/_theme.scss +111 -0
- package/scss/upload/_variables.scss +107 -0
- package/scss/upload/index.scss +29 -0
- package/scss/utils/_layout.scss +7 -0
- package/scss/utils/_theme.scss +1 -0
- package/scss/utils/_variables.scss +13 -0
- package/scss/utils/index.scss +23 -0
- package/scss/validator/_layout.scss +19 -0
- package/scss/validator/_theme.scss +5 -0
- package/scss/validator/_variables.scss +1 -0
- package/scss/validator/index.scss +26 -0
- package/scss/virtual-scroller/_layout.scss +37 -0
- package/scss/virtual-scroller/_theme.scss +5 -0
- package/scss/virtual-scroller/_variables.scss +1 -0
- package/scss/virtual-scroller/index.scss +23 -0
- package/scss/window/_layout.scss +162 -0
- package/scss/window/_theme.scss +31 -0
- package/scss/window/_variables.scss +107 -0
- package/scss/window/index.scss +28 -0
- package/scss/wizard/_layout.scss +128 -0
- package/scss/wizard/_theme.scss +21 -0
- package/scss/wizard/_variables.scss +54 -0
- package/scss/wizard/index.scss +27 -0
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
@use "../core/" as *;
|
|
2
|
+
@use "../icon/_variables.scss" as *;
|
|
3
|
+
|
|
4
|
+
/// The horizontal margin of the breadcrumb
|
|
5
|
+
/// @group breadcrumb
|
|
6
|
+
$kendo-breadcrumb-margin-x: 0px !default;
|
|
7
|
+
/// The vertical margin of the breadcrumb
|
|
8
|
+
/// @group breadcrumb
|
|
9
|
+
$kendo-breadcrumb-margin-y: 0px !default;
|
|
10
|
+
/// The horizontal padding of the breadcrumb
|
|
11
|
+
/// @group breadcrumb
|
|
12
|
+
$kendo-breadcrumb-padding-x: 0px !default;
|
|
13
|
+
/// The vertical padding of the breadcrumb
|
|
14
|
+
/// @group breadcrumb
|
|
15
|
+
$kendo-breadcrumb-padding-y: 0px !default;
|
|
16
|
+
/// The width of the border around the breadcrumb
|
|
17
|
+
/// @group breadcrumb
|
|
18
|
+
$kendo-breadcrumb-border-width: 0px !default;
|
|
19
|
+
/// The font family of the breadcrumb
|
|
20
|
+
/// @group breadcrumb
|
|
21
|
+
$kendo-breadcrumb-font-family: var( --kendo-font-family, inherit ) !default;
|
|
22
|
+
/// The font size of the breadcrumb
|
|
23
|
+
/// @group breadcrumb
|
|
24
|
+
$kendo-breadcrumb-font-size: var( --kendo-font-size, inherit ) !default;
|
|
25
|
+
/// The line height of the breadcrumb
|
|
26
|
+
/// @group breadcrumb
|
|
27
|
+
$kendo-breadcrumb-line-height: var( --kendo-line-height, normal ) !default;
|
|
28
|
+
/// The background color of the breadcrumb
|
|
29
|
+
/// @group breadcrumb
|
|
30
|
+
$kendo-breadcrumb-bg: var( --kendo-component-bg, initial ) !default;
|
|
31
|
+
/// The text color of the breadcrumb
|
|
32
|
+
/// @group breadcrumb
|
|
33
|
+
$kendo-breadcrumb-text: get-theme-color-var( neutral-130 ) !default;
|
|
34
|
+
/// The border color of the breadcrumb
|
|
35
|
+
/// @group breadcrumb
|
|
36
|
+
$kendo-breadcrumb-border: transparent !default;
|
|
37
|
+
/// The box shadow of the focused breadcrumb
|
|
38
|
+
/// @group breadcrumb
|
|
39
|
+
$kendo-breadcrumb-focus-shadow: 0 0 0 1px get-theme-color-var( neutral-30 ) !default;
|
|
40
|
+
|
|
41
|
+
/// The horizontal padding of the breadcrumb link
|
|
42
|
+
/// @group breadcrumb
|
|
43
|
+
$kendo-breadcrumb-link-padding-x: map-get( $kendo-spacing, 2 ) !default;
|
|
44
|
+
/// The vertical padding of the breadcrumb link
|
|
45
|
+
/// @group breadcrumb
|
|
46
|
+
$kendo-breadcrumb-link-padding-y: map-get( $kendo-spacing, 1 ) + map-get( $kendo-spacing, thin ) !default;
|
|
47
|
+
/// The radius of the border around the breadcrumb link
|
|
48
|
+
/// @group breadcrumb
|
|
49
|
+
$kendo-breadcrumb-link-border-radius: 0px !default;
|
|
50
|
+
/// The initial text color of the breadcrumb link
|
|
51
|
+
/// @group breadcrumb
|
|
52
|
+
$kendo-breadcrumb-link-initial-text: inherit !default;
|
|
53
|
+
/// The background color of the breadcrumb link
|
|
54
|
+
/// @group breadcrumb
|
|
55
|
+
$kendo-breadcrumb-link-bg: transparent !default;
|
|
56
|
+
/// The text color of the breadcrumb link
|
|
57
|
+
/// @group breadcrumb
|
|
58
|
+
$kendo-breadcrumb-link-text: get-theme-color-var( neutral-130 ) !default;
|
|
59
|
+
/// The borer color of the breadcrumb link
|
|
60
|
+
/// @group breadcrumb
|
|
61
|
+
$kendo-breadcrumb-link-border: transparent !default;
|
|
62
|
+
/// The background color of the hovered breadcrumb link
|
|
63
|
+
/// @group breadcrumb
|
|
64
|
+
$kendo-breadcrumb-link-hover-bg: var( --kendo-hover-bg, initial ) !default;
|
|
65
|
+
/// The text color of the hovered breadcrumb link
|
|
66
|
+
/// @group breadcrumb
|
|
67
|
+
$kendo-breadcrumb-link-hover-text: get-theme-color-var( neutral-160 ) !default;
|
|
68
|
+
/// The border color of the hovered breadcrumb link
|
|
69
|
+
/// @group breadcrumb
|
|
70
|
+
$kendo-breadcrumb-link-hover-border: var( --kendo-hover-border, initial ) !default;
|
|
71
|
+
/// The background color of the active breadcrumb link
|
|
72
|
+
/// @group breadcrumb
|
|
73
|
+
$kendo-breadcrumb-link-active-bg: var( --kendo-selected-bg, initial ) !default;
|
|
74
|
+
/// The text color of the active breadcrumb link
|
|
75
|
+
/// @group breadcrumb
|
|
76
|
+
$kendo-breadcrumb-link-active-text: var( --kendo-selected-text, initial ) !default;
|
|
77
|
+
/// The border color of the active breadcrumb link
|
|
78
|
+
/// @group breadcrumb
|
|
79
|
+
$kendo-breadcrumb-link-active-border: get-theme-color-var( neutral-30 ) !default;
|
|
80
|
+
/// The background color of the focused breadcrumb link
|
|
81
|
+
/// @group breadcrumb
|
|
82
|
+
$kendo-breadcrumb-link-focus-bg: transparent !default;
|
|
83
|
+
/// The text color of the focused breadcrumb link
|
|
84
|
+
/// @group breadcrumb
|
|
85
|
+
$kendo-breadcrumb-link-focus-text: get-theme-color-var( neutral-190 ) !default;
|
|
86
|
+
/// The box shadow of the focused breadcrumb link
|
|
87
|
+
/// @group breadcrumb
|
|
88
|
+
$kendo-breadcrumb-link-focus-shadow: inset 0 0 0 1px get-theme-color-var( neutral-130 ) !default;
|
|
89
|
+
/// The focus and hover background color of the breadcrumb link
|
|
90
|
+
/// @group breadcrumb
|
|
91
|
+
$kendo-breadcrumb-link-focus-hover-bg: var( --kendo-hover-bg, initial ) !default;
|
|
92
|
+
/// The background color of the disabled breadcrumb link
|
|
93
|
+
/// @group breadcrumb
|
|
94
|
+
$kendo-breadcrumb-link-disabled-bg: none !default;
|
|
95
|
+
/// The text color of the disabled breadcrumb link
|
|
96
|
+
/// @group breadcrumb
|
|
97
|
+
$kendo-breadcrumb-link-disabled-text: var( --kendo-disabled-text, initial ) !default;
|
|
98
|
+
/// The border color of the disabled breadcrumb link
|
|
99
|
+
/// @group breadcrumb
|
|
100
|
+
$kendo-breadcrumb-link-disabled-border: none !default;
|
|
101
|
+
/// The background color of selected the breadcrumb link
|
|
102
|
+
/// @group breadcrumb
|
|
103
|
+
$kendo-breadcrumb-link-selected-bg: var( --kendo-component-bg, initial ) !default;
|
|
104
|
+
/// The text color of the selected breadcrumb link
|
|
105
|
+
/// @group breadcrumb
|
|
106
|
+
$kendo-breadcrumb-link-selected-text: get-theme-color-var( neutral-160 ) !default;
|
|
107
|
+
/// The border color of the selected breadcrumb link
|
|
108
|
+
/// @group breadcrumb
|
|
109
|
+
$kendo-breadcrumb-link-selected-border: transparent !default;
|
|
110
|
+
/// The font weight of the selected breadcrumb link
|
|
111
|
+
/// @group breadcrumb
|
|
112
|
+
$kendo-breadcrumb-link-selected-font-weight: var( --kendo-font-weight-bold, bold ) !default;
|
|
113
|
+
|
|
114
|
+
/// The background color of the breadcrumb root link
|
|
115
|
+
/// @group breadcrumb
|
|
116
|
+
$kendo-breadcrumb-root-link-bg: $kendo-breadcrumb-link-bg !default;
|
|
117
|
+
/// The text color of the breadcrumb root link
|
|
118
|
+
/// @group breadcrumb
|
|
119
|
+
$kendo-breadcrumb-root-link-text: $kendo-breadcrumb-link-text !default;
|
|
120
|
+
/// The border color of the breadcrumb root link
|
|
121
|
+
/// @group breadcrumb
|
|
122
|
+
$kendo-breadcrumb-root-link-border: $kendo-breadcrumb-link-border !default;
|
|
123
|
+
/// The background color of the hovered breadcrumb root link
|
|
124
|
+
/// @group breadcrumb
|
|
125
|
+
$kendo-breadcrumb-root-link-hover-bg: $kendo-breadcrumb-link-hover-bg !default;
|
|
126
|
+
/// The text color of the hovered breadcrumb root link
|
|
127
|
+
/// @group breadcrumb
|
|
128
|
+
$kendo-breadcrumb-root-link-hover-text: $kendo-breadcrumb-link-hover-text !default;
|
|
129
|
+
/// The border color of the hovered breadcrumb root link
|
|
130
|
+
/// @group breadcrumb
|
|
131
|
+
$kendo-breadcrumb-root-link-hover-border: $kendo-breadcrumb-link-hover-border !default;
|
|
132
|
+
/// The background color of the active breadcrumb root link
|
|
133
|
+
/// @group breadcrumb
|
|
134
|
+
$kendo-breadcrumb-root-link-active-bg: $kendo-breadcrumb-link-active-bg !default;
|
|
135
|
+
/// The text color of the active breadcrumb root link
|
|
136
|
+
/// @group breadcrumb
|
|
137
|
+
$kendo-breadcrumb-root-link-active-text: $kendo-breadcrumb-link-active-text !default;
|
|
138
|
+
/// The border color of the active breadcrumb root link
|
|
139
|
+
/// @group breadcrumb
|
|
140
|
+
$kendo-breadcrumb-root-link-active-border: $kendo-breadcrumb-link-active-border !default;
|
|
141
|
+
/// The background color of the focused breadcrumb root link
|
|
142
|
+
/// @group breadcrumb
|
|
143
|
+
$kendo-breadcrumb-root-link-focus-bg: $kendo-breadcrumb-link-focus-bg !default;
|
|
144
|
+
/// The text color of the focused breadcrumb root link
|
|
145
|
+
/// @group breadcrumb
|
|
146
|
+
$kendo-breadcrumb-root-link-focus-text: $kendo-breadcrumb-link-focus-text !default;
|
|
147
|
+
/// The border color of the focused breadcrumb root link
|
|
148
|
+
/// @group breadcrumb
|
|
149
|
+
$kendo-breadcrumb-root-link-focus-shadow: $kendo-breadcrumb-link-focus-shadow !default;
|
|
150
|
+
/// The focus and hover background color of the breadcrumb root link
|
|
151
|
+
/// @group breadcrumb
|
|
152
|
+
$kendo-breadcrumb-root-link-focus-hover-bg: $kendo-breadcrumb-link-focus-hover-bg !default;
|
|
153
|
+
/// The text color of the disabled breadcrumb root link
|
|
154
|
+
/// @group breadcrumb
|
|
155
|
+
$kendo-breadcrumb-root-link-disabled-text: $kendo-breadcrumb-link-disabled-text !default;
|
|
156
|
+
|
|
157
|
+
/// The horizontal padding of the breadcrumb link icon
|
|
158
|
+
/// @group breadcrumb
|
|
159
|
+
$kendo-breadcrumb-icon-link-padding-x: $kendo-breadcrumb-link-padding-x !default;
|
|
160
|
+
/// The vertical padding of the breadcrumb link icon
|
|
161
|
+
/// @group breadcrumb
|
|
162
|
+
$kendo-breadcrumb-icon-link-padding-y: $kendo-breadcrumb-icon-link-padding-x !default;
|
|
163
|
+
|
|
164
|
+
/// The font size of the breadcrumb delimiter icon
|
|
165
|
+
/// @group breadcrumb
|
|
166
|
+
$kendo-breadcrumb-delimiter-icon-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
167
|
+
|
|
168
|
+
// Root link spacing
|
|
169
|
+
$kendo-breadcrumb-root-link-spacing: 0px !default;
|
|
170
|
+
$kendo-breadcrumb-link-icon-spacing: var( --kendo-icon-spacing, #{$kendo-icon-spacing} ) !default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// Module meta
|
|
2
|
+
$_kendo-module-meta: (
|
|
3
|
+
name: "breadcrumb",
|
|
4
|
+
dependencies: (
|
|
5
|
+
"icon",
|
|
6
|
+
"input"
|
|
7
|
+
)
|
|
8
|
+
);
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
// Component
|
|
12
|
+
@forward "_variables.scss";
|
|
13
|
+
@use "_layout.scss" as *;
|
|
14
|
+
@use "_theme.scss" as *;
|
|
15
|
+
|
|
16
|
+
// Register
|
|
17
|
+
@use "../core/module-system/" as module;
|
|
18
|
+
@include module.register( $_kendo-module-meta... );
|
|
19
|
+
|
|
20
|
+
// Expose
|
|
21
|
+
@mixin styles() {
|
|
22
|
+
@include module.render( "breadcrumb" ) {
|
|
23
|
+
@include kendo-breadcrumb--layout();
|
|
24
|
+
@include kendo-breadcrumb--theme();
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
@use "../core" as *;
|
|
2
|
+
@use "_variables.scss" as *;
|
|
3
|
+
|
|
4
|
+
@mixin kendo-button--layout() {
|
|
5
|
+
|
|
6
|
+
// Button
|
|
7
|
+
.k-button {
|
|
8
|
+
padding-inline: var( --INTERNAL--kendo-button-padding-x, 0 );
|
|
9
|
+
padding-block: var( --INTERNAL--kendo-button-padding-y, 0 );
|
|
10
|
+
border-width: var( --kendo-button-border-width, #{$kendo-button-border-width} );
|
|
11
|
+
border-style: solid;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
font-family: var( --kendo-button-font-family, #{$kendo-button-font-family} );
|
|
14
|
+
font-size: var( --INTERNAL--kendo-button-font-size, 1rem );
|
|
15
|
+
font-weight: var( --kendo-button-font-weight, #{$kendo-button-font-weight} );
|
|
16
|
+
line-height: var( --INTERNAL--kendo-button-line-height, normal );
|
|
17
|
+
text-align: center;
|
|
18
|
+
white-space: nowrap;
|
|
19
|
+
text-decoration: none;
|
|
20
|
+
vertical-align: middle;
|
|
21
|
+
display: inline-flex;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
align-items: center;
|
|
24
|
+
gap: var( --kendo-button-spacing, #{$kendo-button-spacing} );
|
|
25
|
+
position: relative;
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
color: inherit;
|
|
28
|
+
background: none;
|
|
29
|
+
outline: none;
|
|
30
|
+
user-select: none;
|
|
31
|
+
-webkit-appearance: none;
|
|
32
|
+
|
|
33
|
+
*,
|
|
34
|
+
*::before,
|
|
35
|
+
*::after {
|
|
36
|
+
box-sizing: border-box;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&::-moz-focus-inner {
|
|
40
|
+
padding: 0;
|
|
41
|
+
outline: 0;
|
|
42
|
+
border: 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&:hover,
|
|
46
|
+
&:focus {
|
|
47
|
+
outline: 0;
|
|
48
|
+
text-decoration: none;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&:focus::after,
|
|
52
|
+
&.k-focus::after {
|
|
53
|
+
content: "";
|
|
54
|
+
position: absolute;
|
|
55
|
+
border: medium none;
|
|
56
|
+
inset: var( --kendo-button-focus-offset, #{$kendo-button-focus-offset} );
|
|
57
|
+
outline-width: var( --kendo-button-focus-outline-width, #{$kendo-button-focus-outline-width} );
|
|
58
|
+
outline-style: var( --kendo-button-focus-outline-style, #{$kendo-button-focus-outline-style} );
|
|
59
|
+
z-index: 1;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// Fix for focused button with full roundness
|
|
63
|
+
&.k-rounded-full {
|
|
64
|
+
&:focus::after,
|
|
65
|
+
&.k-focus::after {
|
|
66
|
+
border-radius: inherit;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
// Sizing
|
|
73
|
+
@each $size, $size-props in $kendo-button-sizes {
|
|
74
|
+
$_padding-x: map-get( $size-props, padding-x );
|
|
75
|
+
$_padding-y: map-get( $size-props, padding-y );
|
|
76
|
+
$_font-size: map-get( $size-props, font-size );
|
|
77
|
+
$_line-height: map-get( $size-props, line-height );
|
|
78
|
+
|
|
79
|
+
$_icon-button-padding: calc( $_padding-x / 2 );
|
|
80
|
+
|
|
81
|
+
.k-button-#{$size} {
|
|
82
|
+
--INTERNAL--kendo-button-padding-x: var( --kendo-button-#{$size}-padding-x, #{$_padding-x} );
|
|
83
|
+
--INTERNAL--kendo-button-padding-y: var( --kendo-button-#{$size}-padding-y, #{$_padding-y} );
|
|
84
|
+
--INTERNAL--kendo-button-font-size: var( --kendo-button-#{$size}-font-size, #{$_font-size} );
|
|
85
|
+
--INTERNAL--kendo-button-line-height: var( --kendo-button-#{$size}-line-height, #{$_line-height} );
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.k-icon-button.k-button-#{$size} {
|
|
89
|
+
--INTERNAL--kendo-button-padding-x: var( --kendo-icon-button-#{$size}-padding-y, #{$_padding-y} );
|
|
90
|
+
--INTERNAL--kendo-button-padding-y: var( --kendo-icon-button-#{$size}-padding-y, #{$_padding-y} );
|
|
91
|
+
|
|
92
|
+
> .k-button-icon {
|
|
93
|
+
min-width: calc( #{$_font-size} * #{$_line-height} );
|
|
94
|
+
min-height: calc( #{$_font-size} * #{$_line-height} );
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
// Icon Button
|
|
100
|
+
.k-icon-button {
|
|
101
|
+
gap: 0;
|
|
102
|
+
|
|
103
|
+
.k-icon {
|
|
104
|
+
display: inline-flex;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
// Content
|
|
110
|
+
.k-button-icon {
|
|
111
|
+
align-self: center;
|
|
112
|
+
position: relative;
|
|
113
|
+
color: inherit;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
// Flat button
|
|
118
|
+
.k-button-flat {
|
|
119
|
+
color: inherit;
|
|
120
|
+
border-color: transparent !important; // sass-lint:disable-line no-important
|
|
121
|
+
box-shadow: none;
|
|
122
|
+
|
|
123
|
+
&:focus::after,
|
|
124
|
+
&.k-focus::after {
|
|
125
|
+
@include border-radius( inherit );
|
|
126
|
+
inset: var( --kendo-button-flat-focus-offset, #{$kendo-button-flat-focus-offset} );
|
|
127
|
+
outline-width: var( --kendo-button-flat-focus-outline-width, #{$kendo-button-flat-focus-outline-width} );
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.k-button-flat-base {
|
|
132
|
+
color: inherit;
|
|
133
|
+
background: none !important;
|
|
134
|
+
border-color: transparent !important;
|
|
135
|
+
|
|
136
|
+
// Overlay
|
|
137
|
+
&::before {
|
|
138
|
+
@include border-radius( inherit );
|
|
139
|
+
content: "";
|
|
140
|
+
background: currentColor;
|
|
141
|
+
opacity: 0;
|
|
142
|
+
display: block;
|
|
143
|
+
pointer-events: none;
|
|
144
|
+
position: absolute;
|
|
145
|
+
left: -$kendo-button-border-width;
|
|
146
|
+
right: -$kendo-button-border-width;
|
|
147
|
+
top: -$kendo-button-border-width;
|
|
148
|
+
bottom: -$kendo-button-border-width;
|
|
149
|
+
z-index: 0;
|
|
150
|
+
transition: opacity .2s ease-in-out;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
// Hovered state
|
|
154
|
+
&:hover,
|
|
155
|
+
&.k-hover {
|
|
156
|
+
&::before {
|
|
157
|
+
opacity: .05;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
// Focused state
|
|
162
|
+
&:focus,
|
|
163
|
+
&.k-focus {
|
|
164
|
+
&::before {
|
|
165
|
+
opacity: 0;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
&::after {
|
|
169
|
+
outline-color: currentColor !important;
|
|
170
|
+
opacity: .13;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
// Focus and hovered state
|
|
174
|
+
&:hover,
|
|
175
|
+
&.k-hover {
|
|
176
|
+
&::before {
|
|
177
|
+
opacity: .05;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
&.k-no-focus:not(:hover),
|
|
183
|
+
&.k-no-focus:not(.k-hover) {
|
|
184
|
+
&::before {
|
|
185
|
+
opacity: 0;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
// Active state
|
|
190
|
+
&:active,
|
|
191
|
+
&.k-active {
|
|
192
|
+
&::before {
|
|
193
|
+
opacity: .08;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
// Active and hovered state
|
|
197
|
+
&:hover,
|
|
198
|
+
&.k-hover {
|
|
199
|
+
&::before {
|
|
200
|
+
opacity: .05;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
// Selected state
|
|
206
|
+
&.k-selected {
|
|
207
|
+
&::before {
|
|
208
|
+
opacity: .08;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
// Selected and hovered state
|
|
212
|
+
&:hover,
|
|
213
|
+
&.k-hover {
|
|
214
|
+
&::before {
|
|
215
|
+
opacity: .05;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
&.k-disabled {
|
|
221
|
+
color: var( --kendo-disabled-text, inherit );
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
// Outline button
|
|
227
|
+
.k-button-outline {
|
|
228
|
+
color: inherit;
|
|
229
|
+
border-color: currentColor;
|
|
230
|
+
background: none;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
// Link button
|
|
234
|
+
.k-button-link {
|
|
235
|
+
border-color: transparent !important; // sass-lint:disable-line no-important
|
|
236
|
+
text-decoration: none;
|
|
237
|
+
background: none;
|
|
238
|
+
|
|
239
|
+
&:focus::after,
|
|
240
|
+
&.k-focus::after {
|
|
241
|
+
@include border-radius( inherit );
|
|
242
|
+
inset: var( --kendo-button-link-focus-offset, #{$kendo-button-link-focus-offset} );
|
|
243
|
+
outline-width: var( --kendo-button-link-focus-outline-width, #{$kendo-button-link-focus-outline-width} );
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
&:hover,
|
|
247
|
+
&.k-hover,
|
|
248
|
+
&:focus,
|
|
249
|
+
&.k-focus {
|
|
250
|
+
text-decoration: underline;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
// Clear button
|
|
256
|
+
.k-button-clear {
|
|
257
|
+
border-color: transparent !important; // sass-lint:disable-line no-important
|
|
258
|
+
color: inherit;
|
|
259
|
+
background: none;
|
|
260
|
+
|
|
261
|
+
&:focus::after,
|
|
262
|
+
&.k-focus::after {
|
|
263
|
+
inset: auto;
|
|
264
|
+
outline-width: 0;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
// Button group
|
|
270
|
+
.k-button-group {
|
|
271
|
+
margin: 0;
|
|
272
|
+
padding: 0;
|
|
273
|
+
border-width: 0;
|
|
274
|
+
box-sizing: border-box;
|
|
275
|
+
list-style: none;
|
|
276
|
+
outline: 0;
|
|
277
|
+
display: inline-flex;
|
|
278
|
+
flex-flow: row nowrap;
|
|
279
|
+
vertical-align: middle;
|
|
280
|
+
position: relative;
|
|
281
|
+
-webkit-touch-callout: none;
|
|
282
|
+
-webkit-tap-highlight-color: $rgba-transparent;
|
|
283
|
+
|
|
284
|
+
> .k-button + .k-button {
|
|
285
|
+
margin-inline-start: if( $kendo-button-border-width == 0, null, -$kendo-button-border-width );
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
> .k-button:hover,
|
|
289
|
+
> .k-button.k-hover,
|
|
290
|
+
> .k-button:focus,
|
|
291
|
+
> .k-button.k-focus,
|
|
292
|
+
> .k-button:active,
|
|
293
|
+
> .k-button.k-active,
|
|
294
|
+
> .k-button.k-selected {
|
|
295
|
+
z-index: 2;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.k-button:not(:first-child):not(:last-child) {
|
|
299
|
+
border-start-end-radius: 0;
|
|
300
|
+
border-end-end-radius: 0;
|
|
301
|
+
border-start-start-radius: 0;
|
|
302
|
+
border-end-start-radius: 0;
|
|
303
|
+
}
|
|
304
|
+
> .k-button:first-child:not(:only-child) {
|
|
305
|
+
border-start-end-radius: 0;
|
|
306
|
+
border-end-end-radius: 0;
|
|
307
|
+
}
|
|
308
|
+
> .k-button:last-child:not(:only-child) {
|
|
309
|
+
border-start-start-radius: 0;
|
|
310
|
+
border-end-start-radius: 0;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
&:disabled,
|
|
314
|
+
&[disabled],
|
|
315
|
+
&.k-disabled {
|
|
316
|
+
opacity: 1;
|
|
317
|
+
filter: none;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.k-button-group-stretched {
|
|
322
|
+
width: 100%;
|
|
323
|
+
|
|
324
|
+
> * {
|
|
325
|
+
flex: 1 0 0%;
|
|
326
|
+
overflow: hidden;
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
@use "../core/mixins" as *;
|
|
2
|
+
@use "_variables.scss" as *;
|
|
3
|
+
|
|
4
|
+
@mixin kendo-button--theme() {
|
|
5
|
+
.k-button {
|
|
6
|
+
--INTERNAL--kendo-button-text: var( --kendo-button-text );
|
|
7
|
+
--INTERNAL--kendo-button-bg: var( --kendo-button-bg );
|
|
8
|
+
--INTERNAL--kendo-button-border: var( --kendo-button-border );
|
|
9
|
+
--INTERNAL--kendo-button-gradient: var( --kendo-button-gradient );
|
|
10
|
+
--INTERNAL--kendo-button-shadow: var( --kendo-button-shadow );
|
|
11
|
+
|
|
12
|
+
border-color: var( --INTERNAL--kendo-button-border, initial );
|
|
13
|
+
color: var( --INTERNAL--kendo-button-text, inherit );
|
|
14
|
+
background-color: var( --INTERNAL--kendo-button-bg, initial );
|
|
15
|
+
background-image: linear-gradient(
|
|
16
|
+
var( --INTERNAL--kendo-button-gradient, transparent, transparent )
|
|
17
|
+
);
|
|
18
|
+
box-shadow: var( --INTERNAL--kendo-button-shadow, none );
|
|
19
|
+
|
|
20
|
+
&:hover,
|
|
21
|
+
&.k-hover {
|
|
22
|
+
--INTERNAL--kendo-button-text: var( --kendo-button-hover-text );
|
|
23
|
+
--INTERNAL--kendo-button-bg: var( --kendo-button-hover-bg );
|
|
24
|
+
--INTERNAL--kendo-button-border: var( --kendo-button-hover-border );
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&:focus,
|
|
28
|
+
&.k-focus {
|
|
29
|
+
--INTERNAL--kendo-button-text: var( --kendo-button-focus-text );
|
|
30
|
+
--INTERNAL--kendo-button-bg: var( --kendo-button-focus-bg );
|
|
31
|
+
--INTERNAL--kendo-button-border: var( --kendo-button-focus-border );
|
|
32
|
+
|
|
33
|
+
&:hover,
|
|
34
|
+
&.k-hover {
|
|
35
|
+
--INTERNAL--kendo-button-text: var( --kendo-button-focus-hover-text );
|
|
36
|
+
--INTERNAL--kendo-button-bg: var( --kendo-button-focus-hover-bg );
|
|
37
|
+
--INTERNAL--kendo-button-border: var( --kendo-button-focus-hover-border );
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&:focus::after,
|
|
42
|
+
&.k-focus::after {
|
|
43
|
+
outline-color: var( --kendo-button-focus-outline, initial );
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:active,
|
|
47
|
+
&.k-active {
|
|
48
|
+
--INTERNAL--kendo-button-text: var( --kendo-button-active-text );
|
|
49
|
+
--INTERNAL--kendo-button-bg: var( --kendo-button-active-bg );
|
|
50
|
+
--INTERNAL--kendo-button-border: var( --kendo-button-active-border );
|
|
51
|
+
|
|
52
|
+
&:hover,
|
|
53
|
+
&.k-hover {
|
|
54
|
+
--INTERNAL--kendo-button-text: var( --kendo-button-active-hover-text );
|
|
55
|
+
--INTERNAL--kendo-button-bg: var( --kendo-button-active-hover-bg );
|
|
56
|
+
--INTERNAL--kendo-button-border: var( --kendo-button-active-hover-border );
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&.k-selected {
|
|
61
|
+
--INTERNAL--kendo-button-text: var( --kendo-button-selected-text );
|
|
62
|
+
--INTERNAL--kendo-button-bg: var( --kendo-button-selected-bg );
|
|
63
|
+
--INTERNAL--kendo-button-border: var( --kendo-button-selected-border );
|
|
64
|
+
|
|
65
|
+
&:hover,
|
|
66
|
+
&.k-hover {
|
|
67
|
+
--INTERNAL--kendo-button-text: var( --kendo-button-selected-hover-text );
|
|
68
|
+
--INTERNAL--kendo-button-bg: var( --kendo-button-selected-hover-bg );
|
|
69
|
+
--INTERNAL--kendo-button-border: var( --kendo-button-selected-hover-border );
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&:disabled,
|
|
74
|
+
&.k-disabled,
|
|
75
|
+
.k-disabled &,
|
|
76
|
+
:disabled & {
|
|
77
|
+
--INTERNAL--kendo-button-text: var( --kendo-button-disabled-text );
|
|
78
|
+
--INTERNAL--kendo-button-bg: var( --kendo-button-disabled-bg );
|
|
79
|
+
--INTERNAL--kendo-button-border: var( --kendo-button-disabled-border );
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@each $fill-mode, $theme-colors in $kendo-button-theme-colors {
|
|
84
|
+
@each $theme-color, $color-props in $theme-colors {
|
|
85
|
+
$_text-color: map-get( $color-props, text );
|
|
86
|
+
$_bg: map-get( $color-props, bg );
|
|
87
|
+
$_border-color: map-get( $color-props, border );
|
|
88
|
+
|
|
89
|
+
$_focus-text: map-get( $color-props, focus-text );
|
|
90
|
+
$_focus-bg: map-get( $color-props, focus-bg );
|
|
91
|
+
$_focus-border: map-get( $color-props, focus-border );
|
|
92
|
+
$_focus-outline: map-get( $color-props, focus-outline );
|
|
93
|
+
|
|
94
|
+
$_focus-hover-text: map-get( $color-props, focus-hover-text );
|
|
95
|
+
$_focus-hover-bg: map-get( $color-props, focus-hover-bg );
|
|
96
|
+
$_focus-hover-border: map-get( $color-props, focus-hover-border );
|
|
97
|
+
|
|
98
|
+
$_hover-text: map-get( $color-props, hover-text );
|
|
99
|
+
$_hover-bg: map-get( $color-props, hover-bg );
|
|
100
|
+
$_hover-border: map-get( $color-props, hover-border );
|
|
101
|
+
|
|
102
|
+
$_active-text: map-get( $color-props, active-text );
|
|
103
|
+
$_active-bg: map-get( $color-props, active-bg );
|
|
104
|
+
$_active-border: map-get( $color-props, active-border );
|
|
105
|
+
|
|
106
|
+
$_active-hover-text: map-get( $color-props, active-hover-text );
|
|
107
|
+
$_active-hover-bg: map-get( $color-props, active-hover-bg );
|
|
108
|
+
$_active-hover-border: map-get( $color-props, active-hover-border );
|
|
109
|
+
|
|
110
|
+
$_disabled-text: map-get( $color-props, disabled-text );
|
|
111
|
+
$_disabled-bg: map-get( $color-props, disabled-bg );
|
|
112
|
+
$_disabled-border: map-get( $color-props, disabled-border );
|
|
113
|
+
|
|
114
|
+
.k-button-#{$fill-mode}-#{$theme-color} {
|
|
115
|
+
--kendo-button-text: var( --kendo-button-#{$fill-mode}-#{$theme-color}-text, #{$_text-color} );
|
|
116
|
+
--kendo-button-bg: var( --kendo-button-#{$fill-mode}-#{$theme-color}-bg, #{$_bg} );
|
|
117
|
+
--kendo-button-border: var( --kendo-button-#{$fill-mode}-#{$theme-color}-border, #{$_border-color} );
|
|
118
|
+
|
|
119
|
+
--kendo-button-hover-text: var( --kendo-button-#{$fill-mode}-#{$theme-color}-hover-text, #{$_hover-text} );
|
|
120
|
+
--kendo-button-hover-bg: var( --kendo-button-#{$fill-mode}-#{$theme-color}-hover-bg, #{$_hover-bg} );
|
|
121
|
+
--kendo-button-hover-border: var( --kendo-button-#{$fill-mode}-#{$theme-color}-hover-border, #{$_hover-border} );
|
|
122
|
+
|
|
123
|
+
--kendo-button-focus-text: var( --kendo-button-#{$fill-mode}-#{$theme-color}-focus-text, #{$_focus-text} );
|
|
124
|
+
--kendo-button-focus-bg: var( --kendo-button-#{$fill-mode}-#{$theme-color}-focus-bg, #{$_focus-bg} );
|
|
125
|
+
--kendo-button-focus-border: var( --kendo-button-#{$fill-mode}-#{$theme-color}-focus-border, #{$_focus-border} );
|
|
126
|
+
--kendo-button-focus-outline: var( --kendo-button-#{$fill-mode}-#{$theme-color}-focus-outline, #{$_focus-outline} );
|
|
127
|
+
|
|
128
|
+
--kendo-button-focus-hover-text: var( --kendo-button-#{$fill-mode}-#{$theme-color}-focus-hover-text, #{$_focus-hover-text} );
|
|
129
|
+
--kendo-button-focus-hover-bg: var( --kendo-button-#{$fill-mode}-#{$theme-color}-focus-hover-bg, #{$_focus-hover-bg} );
|
|
130
|
+
--kendo-button-focus-hover-border: var( --kendo-button-#{$fill-mode}-#{$theme-color}-focus-hover-border, #{$_focus-hover-border} );
|
|
131
|
+
|
|
132
|
+
--kendo-button-active-text: var( --kendo-button-#{$fill-mode}-#{$theme-color}-active-text, #{$_active-text} );
|
|
133
|
+
--kendo-button-active-bg: var( --kendo-button-#{$fill-mode}-#{$theme-color}-active-bg, #{$_active-bg} );
|
|
134
|
+
--kendo-button-active-border: var( --kendo-button-#{$fill-mode}-#{$theme-color}-active-border, #{$_active-border} );
|
|
135
|
+
|
|
136
|
+
--kendo-button-active-hover-text: var( --kendo-button-#{$fill-mode}-#{$theme-color}-active-hover-text, #{$_active-hover-text} );
|
|
137
|
+
--kendo-button-active-hover-bg: var( --kendo-button-#{$fill-mode}-#{$theme-color}-active-hover-bg, #{$_active-hover-bg} );
|
|
138
|
+
--kendo-button-active-hover-border: var( --kendo-button-#{$fill-mode}-#{$theme-color}-active-hover-border, #{$_active-hover-border} );
|
|
139
|
+
|
|
140
|
+
--kendo-button-selected-text: var( --kendo-button-#{$fill-mode}-#{$theme-color}-selected-text, #{$_active-text} );
|
|
141
|
+
--kendo-button-selected-bg: var( --kendo-button-#{$fill-mode}-#{$theme-color}-selected-bg, #{$_active-bg} );
|
|
142
|
+
--kendo-button-selected-border: var( --kendo-button-#{$fill-mode}-#{$theme-color}-selected-border, #{$_active-border} );
|
|
143
|
+
|
|
144
|
+
--kendo-button-selected-hover-text: var( --kendo-button-#{$fill-mode}-#{$theme-color}-selected-hover-text, #{$_active-hover-text} );
|
|
145
|
+
--kendo-button-selected-hover-bg: var( --kendo-button-#{$fill-mode}-#{$theme-color}-selected-hover-bg, #{$_active-hover-bg} );
|
|
146
|
+
--kendo-button-selected-hover-border: var( --kendo-button-#{$fill-mode}-#{$theme-color}-selected-hover-border, #{$_active-hover-border} );
|
|
147
|
+
|
|
148
|
+
--kendo-button-disabled-text: var( --kendo-button-#{$fill-mode}-#{$theme-color}-disabled-text, #{$_disabled-text} );
|
|
149
|
+
--kendo-button-disabled-bg: var( --kendo-button-#{$fill-mode}-#{$theme-color}-disabled-bg, #{$_disabled-bg} );
|
|
150
|
+
--kendo-button-disabled-border: var( --kendo-button-#{$fill-mode}-#{$theme-color}-disabled-border, #{$_disabled-border} );
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
}
|