@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,93 @@
|
|
|
1
|
+
@use "_variables.scss" as *;
|
|
2
|
+
@use "../core/mixins" as *;
|
|
3
|
+
|
|
4
|
+
@mixin kendo-progressbar--theme {
|
|
5
|
+
|
|
6
|
+
@keyframes progressbar-indeterminate-animation-horizontal {
|
|
7
|
+
from {
|
|
8
|
+
inset-inline-start: -25%;
|
|
9
|
+
}
|
|
10
|
+
to {
|
|
11
|
+
inset-inline-start: 100%;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@keyframes progressbar-indeterminate-animation-vertical {
|
|
16
|
+
from {
|
|
17
|
+
inset-block-end: -25%;
|
|
18
|
+
}
|
|
19
|
+
to {
|
|
20
|
+
inset-block-end: 100%;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.k-progressbar {
|
|
25
|
+
&:not(.k-progressbar-indeterminate) {
|
|
26
|
+
|
|
27
|
+
@include fill(
|
|
28
|
+
var( --kendo-progressbar-text, #{$kendo-progressbar-text} ),
|
|
29
|
+
var( --kendo-progressbar-bg, #{$kendo-progressbar-bg} ),
|
|
30
|
+
var( --kendo-progressbar-border, #{$kendo-progressbar-border} ),
|
|
31
|
+
var( --kendo-progressbar-gradient, #{$kendo-progressbar-gradient} )
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
.k-selected {
|
|
35
|
+
@include fill(
|
|
36
|
+
var( --kendo-progressbar-fill-text, #{$kendo-progressbar-fill-text} ),
|
|
37
|
+
var( --kendo-progressbar-fill-bg, #{$kendo-progressbar-fill-bg} ),
|
|
38
|
+
var( --kendo-progressbar-fill-border, #{$kendo-progressbar-fill-border} ),
|
|
39
|
+
var( --kendo-progressbar-fill-gradient, #{$kendo-progressbar-fill-gradient} )
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.k-item {
|
|
44
|
+
border-color: var( --kendo-progressbar-chunk-border, #{$kendo-progressbar-chunk-border} );
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&[disabled],
|
|
48
|
+
&:disabled,
|
|
49
|
+
&.k-disabled {
|
|
50
|
+
@include fill(
|
|
51
|
+
var( --kendo-progressbar-disabled-text, #{$kendo-progressbar-disabled-text} ),
|
|
52
|
+
var( --kendo-progressbar-disabled-bg, #{$kendo-progressbar-disabled-bg} ),
|
|
53
|
+
var( --kendo-progressbar-disabled-border, #{$kendo-progressbar-disabled-border} )
|
|
54
|
+
);
|
|
55
|
+
|
|
56
|
+
.k-selected {
|
|
57
|
+
background-color: var( --kendo-progressbar-fill-disabled-bg, #{$kendo-progressbar-fill-disabled-bg} );
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.k-progressbar-indeterminate {
|
|
64
|
+
@include fill(
|
|
65
|
+
var( --kendo-progressbar-indeterminate-text, #{$kendo-progressbar-indeterminate-text} ),
|
|
66
|
+
var( --kendo-progressbar-indeterminate-bg, #{$kendo-progressbar-indeterminate-bg} ),
|
|
67
|
+
var( --kendo-progressbar-indeterminate-border, #{$kendo-progressbar-indeterminate-border} )
|
|
68
|
+
);
|
|
69
|
+
|
|
70
|
+
&.k-progressbar-horizontal {
|
|
71
|
+
&::after {
|
|
72
|
+
background: var( --kendo-progressbar-indeterminate-gradient-horizontal, #{$kendo-progressbar-indeterminate-gradient-horizontal} );
|
|
73
|
+
animation: var( --kendo-progressbar-indeterminate-animation-horizontal, #{$kendo-progressbar-indeterminate-animation-horizontal} );
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&.k-progressbar-vertical {
|
|
78
|
+
&::after {
|
|
79
|
+
background: var( --kendo-progressbar-indeterminate-gradient-vertical, #{$kendo-progressbar-indeterminate-gradient-vertical} );
|
|
80
|
+
animation: var( --kendo-progressbar-indeterminate-animation-vertical, #{$kendo-progressbar-indeterminate-animation-vertical} );
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.k-circular-progressbar-scale {
|
|
86
|
+
stroke: var( --kendo-circular-progressbar-scale-stroke, #{$kendo-circular-progressbar-scale-stroke} );
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.k-circular-progressbar-arc {
|
|
90
|
+
stroke: var( --kendo-circular-progressbar-arc-stroke, #{$kendo-circular-progressbar-arc-stroke} );
|
|
91
|
+
transition: stroke .5s ease;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
@use "../core/color-system" as *;
|
|
2
|
+
@use "../core/_variables" as *;
|
|
3
|
+
|
|
4
|
+
/// Height of the progressbar.
|
|
5
|
+
/// @group progressbar
|
|
6
|
+
$kendo-progressbar-height: 4px !default;
|
|
7
|
+
/// Horizontal width of the progressbar.
|
|
8
|
+
/// @group progressbar
|
|
9
|
+
$kendo-progressbar-horizontal-width: 100% !default;
|
|
10
|
+
/// Animation timing of the progressbar.
|
|
11
|
+
/// @group progressbar
|
|
12
|
+
$kendo-progressbar-animation-timing: 1s linear infinite !default;
|
|
13
|
+
/// Border width of the progressbar.
|
|
14
|
+
/// @group progressbar
|
|
15
|
+
$kendo-progressbar-border-width: 0px !default;
|
|
16
|
+
/// Border radius of the progressbar.
|
|
17
|
+
/// @group progressbar
|
|
18
|
+
$kendo-progressbar-border-radius: var( --kendo-border-radius-sm, initial ) !default;
|
|
19
|
+
|
|
20
|
+
/// Font family of the progressbar.
|
|
21
|
+
/// @group progressbar
|
|
22
|
+
$kendo-progressbar-font-family: var( --kendo-font-family, inherit ) !default;
|
|
23
|
+
/// Font size of the progressbar.
|
|
24
|
+
/// @group progressbar
|
|
25
|
+
$kendo-progressbar-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
26
|
+
/// Line height of the progressbar.
|
|
27
|
+
/// @group progressbar
|
|
28
|
+
$kendo-progressbar-line-height: var( --kendo-line-height, inherit ) !default;
|
|
29
|
+
|
|
30
|
+
/// of the progressbar.
|
|
31
|
+
/// @group progressbar
|
|
32
|
+
$kendo-progressbar-offset-y: map-get( $kendo-spacing, 2 ) !default;
|
|
33
|
+
/// of the progressbar.
|
|
34
|
+
/// @group progressbar
|
|
35
|
+
$kendo-progressbar-padding-x: 0 !default;
|
|
36
|
+
/// of the progressbar.
|
|
37
|
+
/// @group progressbar
|
|
38
|
+
$kendo-progressbar-padding-y: 0 !default;
|
|
39
|
+
|
|
40
|
+
/// Background color of the progressbar.
|
|
41
|
+
/// @group progressbar
|
|
42
|
+
$kendo-progressbar-bg: get-theme-color-var( neutral-30 ) !default;
|
|
43
|
+
/// Text color of the progressbar.
|
|
44
|
+
/// @group progressbar
|
|
45
|
+
$kendo-progressbar-text: var( --kendo-component-text, initial ) !default;
|
|
46
|
+
/// Border color of the progressbar.
|
|
47
|
+
/// @group progressbar
|
|
48
|
+
$kendo-progressbar-border: $kendo-progressbar-bg !default;
|
|
49
|
+
/// Background gradient of the progressbar.
|
|
50
|
+
/// @group progressbar
|
|
51
|
+
$kendo-progressbar-gradient: null !default;
|
|
52
|
+
|
|
53
|
+
/// Background color of the disabled progressbar.
|
|
54
|
+
/// @group progressbar
|
|
55
|
+
$kendo-progressbar-disabled-bg: get-theme-color-var( neutral-20 ) !default;
|
|
56
|
+
/// Text color of the disabled progressbar.
|
|
57
|
+
/// @group progressbar
|
|
58
|
+
$kendo-progressbar-disabled-text: get-theme-color-var( neutral-90 ) !default;
|
|
59
|
+
/// Border color of the disabled progressbar.
|
|
60
|
+
/// @group progressbar
|
|
61
|
+
$kendo-progressbar-disabled-border: $kendo-progressbar-disabled-bg !default;
|
|
62
|
+
|
|
63
|
+
/// Progress background color of the progressbar.
|
|
64
|
+
/// @group progressbar
|
|
65
|
+
$kendo-progressbar-fill-bg: get-theme-color-var( primary-100 ) !default;
|
|
66
|
+
/// Progress text color of the progressbar.
|
|
67
|
+
/// @group progressbar
|
|
68
|
+
$kendo-progressbar-fill-text: var( --kendo-component-text, initial ) !default;
|
|
69
|
+
/// Progress border color of the progressbar.
|
|
70
|
+
/// @group progressbar
|
|
71
|
+
$kendo-progressbar-fill-border: $kendo-progressbar-fill-bg !default;
|
|
72
|
+
/// Progress background gradient of the progressbar.
|
|
73
|
+
/// @group progressbar
|
|
74
|
+
$kendo-progressbar-fill-gradient: null !default;
|
|
75
|
+
|
|
76
|
+
/// Progress background color of the disabled progressbar.
|
|
77
|
+
/// @group progressbar
|
|
78
|
+
$kendo-progressbar-fill-disabled-bg: get-theme-color-var( primary-30 ) !default;
|
|
79
|
+
|
|
80
|
+
/// Chunk order color of the progressbar.
|
|
81
|
+
/// @group progressbar
|
|
82
|
+
$kendo-progressbar-chunk-border: var( --kendo-body-bg, initial ) !default;
|
|
83
|
+
|
|
84
|
+
/// Background color of the indeterminate progressbar.
|
|
85
|
+
/// @group progressbar
|
|
86
|
+
$kendo-progressbar-indeterminate-bg: get-theme-color-var( neutral-30 ) !default;
|
|
87
|
+
/// Text color of the indeterminate progressbar.
|
|
88
|
+
/// @group progressbar
|
|
89
|
+
$kendo-progressbar-indeterminate-text: $kendo-progressbar-text !default;
|
|
90
|
+
/// Border color of the indeterminate progressbar.
|
|
91
|
+
/// @group progressbar
|
|
92
|
+
$kendo-progressbar-indeterminate-border: get-theme-color-var( neutral-30 ) !default;
|
|
93
|
+
/// Gradient of the horizontal indeterminate progressbar.
|
|
94
|
+
/// @group progressbar
|
|
95
|
+
$kendo-progressbar-indeterminate-gradient-horizontal: linear-gradient(270deg, get-theme-color-var( neutral-30 ) 15%, get-theme-color-var( primary-100 ) 50%, get-theme-color-var( neutral-30 ) 85%) !default;
|
|
96
|
+
/// Gradient of the vertical indeterminate progressbar.
|
|
97
|
+
/// @group progressbar
|
|
98
|
+
$kendo-progressbar-indeterminate-gradient-vertical: linear-gradient(180deg, get-theme-color-var( neutral-30 ) 15%, get-theme-color-var( primary-100 ) 50%, get-theme-color-var( neutral-30 ) 85%) !default;
|
|
99
|
+
/// Gradient size of the horizontal indeterminate progressbar.
|
|
100
|
+
/// @group progressbar
|
|
101
|
+
$kendo-progressbar-indeterminate-animation-horizontal: 3s ease 0s infinite running progressbar-indeterminate-animation-horizontal;
|
|
102
|
+
/// Gradient size of the vertical indeterminate progressbar.
|
|
103
|
+
/// @group progressbar
|
|
104
|
+
$kendo-progressbar-indeterminate-animation-vertical: 3s ease 0s infinite running progressbar-indeterminate-animation-vertical;
|
|
105
|
+
|
|
106
|
+
// Circular Progressbar
|
|
107
|
+
/// Arc stroke color of the circular progressbar.
|
|
108
|
+
/// @group progressbar
|
|
109
|
+
$kendo-circular-progressbar-arc-stroke: get-theme-color-var( primary-100 ) !default;
|
|
110
|
+
/// Scale stroke background color of the circular progressbar.
|
|
111
|
+
/// @group progressbar
|
|
112
|
+
$kendo-circular-progressbar-scale-stroke: $kendo-progressbar-bg !default;
|
|
113
|
+
|
|
114
|
+
$kendo-progressbar-item-border-width: calc( map-get( $kendo-spacing, thin ) + map-get( $kendo-spacing, hair ) ) !default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Module meta
|
|
2
|
+
$_kendo-module-meta: (
|
|
3
|
+
name: "progressbar",
|
|
4
|
+
dependencies: ()
|
|
5
|
+
);
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
// Component
|
|
9
|
+
@forward "_variables.scss";
|
|
10
|
+
@use "_layout.scss" as *;
|
|
11
|
+
@use "_theme.scss" as *;
|
|
12
|
+
|
|
13
|
+
// Register
|
|
14
|
+
@use "../core/module-system/" as module;
|
|
15
|
+
@include module.register( $_kendo-module-meta... );
|
|
16
|
+
|
|
17
|
+
// Expose
|
|
18
|
+
@mixin styles() {
|
|
19
|
+
@include module.render( "progressbar" ) {
|
|
20
|
+
@include kendo-progressbar--layout();
|
|
21
|
+
@include kendo-progressbar--theme();
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
@use "_variables.scss" as *;
|
|
2
|
+
@use "../core/_variables.scss" as *;
|
|
3
|
+
@use "../core/mixins/border-radius" as *;
|
|
4
|
+
@use "../core/mixins/disabled" as *;
|
|
5
|
+
|
|
6
|
+
@mixin kendo-radio--layout() {
|
|
7
|
+
|
|
8
|
+
.k-radio {
|
|
9
|
+
@include border-radius( $kendo-radio-border-radius );
|
|
10
|
+
width: var( --INTERNAL-kendo-radio-width, #{ $kendo-radio-width } );
|
|
11
|
+
height: var( --INTERNAL-kendo-radio-height, #{ $kendo-radio-height } );
|
|
12
|
+
margin: 0;
|
|
13
|
+
padding: 0;
|
|
14
|
+
line-height: initial;
|
|
15
|
+
border-width: var( --kendo-radio-border-width, #{ $kendo-radio-border-width });
|
|
16
|
+
border-style: solid;
|
|
17
|
+
outline: 0;
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
background-position: center;
|
|
20
|
+
background-repeat: no-repeat;
|
|
21
|
+
background-size: contain;
|
|
22
|
+
display: inline-block;
|
|
23
|
+
flex: none;
|
|
24
|
+
vertical-align: middle;
|
|
25
|
+
position: relative;
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
-webkit-appearance: none;
|
|
28
|
+
|
|
29
|
+
&::before {
|
|
30
|
+
font-size: var( --INTERNAL-kendo-radio-font-size, #{ $kendo-radio-font-size } )
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
// Radio indicator
|
|
36
|
+
.k-radio::before {
|
|
37
|
+
@if $kendo-radio-indicator-type == "glyph" {
|
|
38
|
+
content: var( --kendo-radio-checked-glyph, #{ $kendo-radio-checked-glyph } );
|
|
39
|
+
width: 1em;
|
|
40
|
+
height: 1em;
|
|
41
|
+
font-family: var( --kendo-radio-glyph-font-family, #{ $kendo-radio-glyph-font-family } );
|
|
42
|
+
line-height: 1;
|
|
43
|
+
transform: scale(0) translate(-50%, -50%);
|
|
44
|
+
overflow: hidden;
|
|
45
|
+
position: absolute;
|
|
46
|
+
top: 50%;
|
|
47
|
+
left: 50%;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// Focus state
|
|
52
|
+
.k-radio:focus,
|
|
53
|
+
.k-radio.k-focus {
|
|
54
|
+
&::before {
|
|
55
|
+
content: '';
|
|
56
|
+
display: block;
|
|
57
|
+
position: absolute;
|
|
58
|
+
margin: -4px;
|
|
59
|
+
top: 0;
|
|
60
|
+
bottom: 0;
|
|
61
|
+
left: 0;
|
|
62
|
+
right: 0;
|
|
63
|
+
border: 1px solid;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
.k-radio:hover,
|
|
69
|
+
.k-radio.k-hover {
|
|
70
|
+
&:not(
|
|
71
|
+
.k-radio.k-disabled, .k-radio:disabled,
|
|
72
|
+
.k-radio.k-invalid, .k-radio:invalid
|
|
73
|
+
)::after {
|
|
74
|
+
content: "";
|
|
75
|
+
width: var( --INTERNAL-kendo-radio-checked-width, #{ $kendo-radio-checked-width } );
|
|
76
|
+
height: var( --INTERNAL-kendo-radio-checked-height, #{ $kendo-radio-checked-height } );
|
|
77
|
+
border-width: var( --INTERNAL-kendo-radio-checked-border-width, #{ $kendo-radio-checked-border-width } );
|
|
78
|
+
border-style: solid;
|
|
79
|
+
border-radius: var( --kendo-radio-border-radius, #{ $kendo-radio-border-radius } );
|
|
80
|
+
box-sizing: border-box;
|
|
81
|
+
position: absolute;
|
|
82
|
+
top: var(--INTERNAL-kendo-radio-checked-top, #{ $kendo-radio-checked-top } );
|
|
83
|
+
left: var(--INTERNAL-kendo-radio-checked-left, #{ $kendo-radio-checked-left } );
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// Checked and Hover state
|
|
88
|
+
.k-radio:checked,
|
|
89
|
+
.k-radio.k-checked {
|
|
90
|
+
&::after {
|
|
91
|
+
content: "";
|
|
92
|
+
width: var( --INTERNAL-kendo-radio-checked-width, #{ $kendo-radio-checked-width } );
|
|
93
|
+
height: var( --INTERNAL-kendo-radio-checked-height, #{ $kendo-radio-checked-height } );
|
|
94
|
+
border-width: var( --INTERNAL-kendo-radio-checked-border-width, #{ $kendo-radio-checked-border-width } );
|
|
95
|
+
border-style: solid;
|
|
96
|
+
border-radius: var( --kendo-radio-border-radius, #{ $kendo-radio-border-radius } );
|
|
97
|
+
box-sizing: border-box;
|
|
98
|
+
position: absolute;
|
|
99
|
+
top: var(--INTERNAL-kendo-radio-checked-top, #{ $kendo-radio-checked-top } );
|
|
100
|
+
left: var(--INTERNAL-kendo-radio-checked-left, #{ $kendo-radio-checked-left } );
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@if $kendo-radio-indicator-type == "glyph" {
|
|
104
|
+
&::before {
|
|
105
|
+
transform: scale(1) translate(-50%, -50%);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
.k-radio:disabled:checked,
|
|
112
|
+
.k-radio.k-disabled.k-checked {
|
|
113
|
+
@if $kendo-radio-indicator-type == "image" {
|
|
114
|
+
background-image: var( --kendo-radio-disabled-checked-image, #{ $kendo-radio-disabled-checked-image } );
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
// Radio wrap
|
|
120
|
+
.k-radio-wrap {
|
|
121
|
+
flex: none;
|
|
122
|
+
display: inline-flex;
|
|
123
|
+
flex-flow: row nowrap;
|
|
124
|
+
gap: 0;
|
|
125
|
+
align-items: center;
|
|
126
|
+
align-self: start;
|
|
127
|
+
vertical-align: middle;
|
|
128
|
+
position: relative;
|
|
129
|
+
|
|
130
|
+
&::before {
|
|
131
|
+
content: "\200b";
|
|
132
|
+
width: 0px;
|
|
133
|
+
overflow: hidden;
|
|
134
|
+
flex: none;
|
|
135
|
+
display: inline-block;
|
|
136
|
+
vertical-align: top;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
// Radio label
|
|
142
|
+
.k-radio-label {
|
|
143
|
+
margin: 0;
|
|
144
|
+
padding: 0;
|
|
145
|
+
display: inline-flex;
|
|
146
|
+
align-items: flex-start;
|
|
147
|
+
gap: var( --kendo-radio-label-spacing, #{ $kendo-radio-label-spacing } );
|
|
148
|
+
vertical-align: middle;
|
|
149
|
+
position: relative;
|
|
150
|
+
cursor: pointer;
|
|
151
|
+
|
|
152
|
+
.k-ripple {
|
|
153
|
+
// Hide ripple temporarily
|
|
154
|
+
visibility: hidden !important; // sass-lint:disable-line no-important
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
.k-radio + .k-label,
|
|
158
|
+
.k-radio-wrap + .k-label,
|
|
159
|
+
.k-radio + .k-radio-label,
|
|
160
|
+
.k-radio-wrap + .k-radio-label {
|
|
161
|
+
display: inline;
|
|
162
|
+
margin-inline-start: var( --kendo-radio-label-spacing, #{ $kendo-radio-label-spacing } );
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
// Empty label
|
|
167
|
+
.k-radio-label:empty {
|
|
168
|
+
display: none !important; // sass-lint:disable-line no-important
|
|
169
|
+
}
|
|
170
|
+
.k-radio-label.k-no-text {
|
|
171
|
+
min-width: 1px;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
// Radio list
|
|
176
|
+
.k-radio-list {
|
|
177
|
+
margin: 0;
|
|
178
|
+
padding: 0;
|
|
179
|
+
display: flex;
|
|
180
|
+
flex-flow: column nowrap;
|
|
181
|
+
gap: 0;
|
|
182
|
+
list-style: none;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
.k-radio-item,
|
|
187
|
+
.k-radio-list-item {
|
|
188
|
+
padding-inline: var( --kendo-radio-list-item-padding-x, #{ $kendo-radio-list-item-padding-x } );
|
|
189
|
+
padding-block: var( --kendo-radio-list-item-padding-y, #{ $kendo-radio-list-item-padding-y } );
|
|
190
|
+
display: flex;
|
|
191
|
+
flex-flow: row nowrap;
|
|
192
|
+
align-items: center;
|
|
193
|
+
align-content: center;
|
|
194
|
+
gap: var( --kendo-radio-list-item-gap, #{ $kendo-radio-list-item-gap } );
|
|
195
|
+
|
|
196
|
+
.k-radio-label {
|
|
197
|
+
margin: 0;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
.k-radio-list-horizontal,
|
|
203
|
+
.k-radio-list.k-list-horizontal {
|
|
204
|
+
display: flex;
|
|
205
|
+
flex-flow: row wrap;
|
|
206
|
+
gap: var( --kendo-radio-list-spacing, #{ $kendo-radio-list-spacing } );
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
// Ripple
|
|
211
|
+
.k-ripple-container {
|
|
212
|
+
.k-radio::after {
|
|
213
|
+
content: "";
|
|
214
|
+
width: var( --INTERNAL-kendo-radio-ripple-width, #{ $kendo-radio-ripple-width } );
|
|
215
|
+
height: var( --INTERNAL-kendo-radio-ripple-height, #{ $kendo-radio-ripple-height } );
|
|
216
|
+
display: block;
|
|
217
|
+
position: absolute;
|
|
218
|
+
left: 50%;
|
|
219
|
+
top: 50%;
|
|
220
|
+
border-radius: 100%;
|
|
221
|
+
z-index: -1;
|
|
222
|
+
transition: opacity 100ms linear, transform 150ms cubic-bezier(.4, 0, .2, 1);
|
|
223
|
+
transform: translate(-50%, -50%) scale(0);
|
|
224
|
+
transform-origin: center center;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.k-radio:disabled::after,
|
|
228
|
+
.k-radio.k-disabled::after {
|
|
229
|
+
display: none;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.k-radio:disabled::after,
|
|
233
|
+
.k-radio.k-disabled::after {
|
|
234
|
+
display: none;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
// Radio size
|
|
240
|
+
@each $size, $size-props in $kendo-radio-sizes {
|
|
241
|
+
$_size: map-get( $size-props, size );
|
|
242
|
+
$_glyph-size: map-get( $size-props, glyph-size );
|
|
243
|
+
$_ripple-size: map-get( $size-props, ripple-size );
|
|
244
|
+
$_checked-border-width: map-get( $size-props, checked-border-width);
|
|
245
|
+
$_checked-position: map-get( $size-props, checked-position);
|
|
246
|
+
|
|
247
|
+
.k-radio-#{$size} {
|
|
248
|
+
--INTERNAL-kendo-radio-width: #{ $_size };
|
|
249
|
+
--INTERNAL-kendo-radio-height: #{ $_size };
|
|
250
|
+
|
|
251
|
+
&::before {
|
|
252
|
+
--INTERNAL-kendo-radio-font-size: #{ $_glyph-size };
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.k-radio-#{$size}.k-checked,
|
|
257
|
+
.k-radio-#{$size}:checked,
|
|
258
|
+
.k-radio-#{$size}.k-hover,
|
|
259
|
+
.k-radio-#{$size}:hover {
|
|
260
|
+
&::after {
|
|
261
|
+
--INTERNAL-kendo-radio-checked-width: calc( #{ $_size } / 2 );
|
|
262
|
+
--INTERNAL-kendo-radio-checked-height: calc( #{ $_size } / 2 );
|
|
263
|
+
--INTERNAL-kendo-radio-checked-border-width: #{ $_checked-border-width };
|
|
264
|
+
--INTERNAL-kendo-radio-checked-top: #{ $_checked-position };
|
|
265
|
+
--INTERNAL-kendo-radio-checked-left: #{ $_checked-position };
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.k-ripple-container {
|
|
270
|
+
.k-radio-#{$size}::after {
|
|
271
|
+
--INTERNAL-kendo-radio-ripple-width: #{ $_ripple-size };
|
|
272
|
+
--INTERNAL-kendo-radio-ripple-height: #{ $_ripple-size };
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
@use "_variables.scss" as *;
|
|
2
|
+
@use "../core/mixins/" as *;
|
|
3
|
+
|
|
4
|
+
@mixin kendo-radio--theme() {
|
|
5
|
+
|
|
6
|
+
// Radio
|
|
7
|
+
.k-radio {
|
|
8
|
+
@include fill(
|
|
9
|
+
var( --kendo-radio-text, #{ $kendo-radio-text } ),
|
|
10
|
+
var( --kendo-radio-bg, #{ $kendo-radio-bg } ),
|
|
11
|
+
var( --kendo-radio-border, #{ $kendo-radio-border } )
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// Hover state
|
|
17
|
+
.k-radio:hover,
|
|
18
|
+
.k-radio.k-hover {
|
|
19
|
+
@include fill(
|
|
20
|
+
$border: var( --kendo-radio-hover-border, #{ $kendo-radio-hover-border } )
|
|
21
|
+
);
|
|
22
|
+
|
|
23
|
+
&::after {
|
|
24
|
+
@include fill(
|
|
25
|
+
$bg: var( --kendo-radio-hover-color, #{ $kendo-radio-hover-color } ),
|
|
26
|
+
$border: var( --kendo-radio-hover-color, #{ $kendo-radio-hover-color } )
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
// Checked and Hover state
|
|
33
|
+
.k-radio:checked:hover,
|
|
34
|
+
.k-radio.k-checked.k-hover {
|
|
35
|
+
@include fill(
|
|
36
|
+
$border: var( --kendo-radio-checked-hover-border, #{ $kendo-radio-checked-hover-border } )
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
&::after {
|
|
40
|
+
@include fill(
|
|
41
|
+
$border: var( --kendo-radio-checked-hover-border, #{ $kendo-radio-checked-hover-border } )
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
// Focus state
|
|
48
|
+
.k-radio:focus,
|
|
49
|
+
.k-radio.k-focus {
|
|
50
|
+
&::before {
|
|
51
|
+
@include fill( $border: var( --kendo-radio-focus-checked-border, #{ $kendo-radio-focus-checked-border }) );
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
// Invalid state
|
|
57
|
+
.k-radio.k-invalid,
|
|
58
|
+
.k-radio.ng-invalid.ng-touched,
|
|
59
|
+
.k-radio.ng-invalid.ng-dirty {
|
|
60
|
+
@include fill( $border: var( --kendo-radio-invalid-border, #{ $kendo-radio-invalid-border } ) );
|
|
61
|
+
}
|
|
62
|
+
.k-radio.k-invalid + .k-radio-label,
|
|
63
|
+
.k-radio.ng-invalid.ng-touched + .k-radio-label,
|
|
64
|
+
.k-radio.ng-invalid.ng-dirty + .k-radio-label {
|
|
65
|
+
@include fill( $color: var( --kendo-radio-invalid-text, #{ $kendo-radio-invalid-text } ) );
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
// Checked
|
|
70
|
+
.k-radio:checked,
|
|
71
|
+
.k-radio.k-checked {
|
|
72
|
+
@include fill(
|
|
73
|
+
var( --kendo-radio-checked-text, #{ $kendo-radio-checked-text } ),
|
|
74
|
+
var( --kendo-radio-checked-bg, #{ $kendo-radio-checked-bg } ),
|
|
75
|
+
var( --kendo-radio-checked-border, #{ $kendo-radio-checked-border } )
|
|
76
|
+
);
|
|
77
|
+
|
|
78
|
+
&::after {
|
|
79
|
+
background-color: var( --kendo-radio-checked-border, #{ $kendo-radio-checked-border } );
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
// Disabled
|
|
85
|
+
.k-radio:disabled,
|
|
86
|
+
.k-radio.k-disabled {
|
|
87
|
+
border-color: var( --kendo-radio-disabled-border, #{ $kendo-radio-disabled-border } );
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
// Checked and disabled
|
|
92
|
+
.k-radio:checked:disabled,
|
|
93
|
+
.k-radio.k-checked.k-disabled {
|
|
94
|
+
@include fill(
|
|
95
|
+
var( --kendo-radio-disabled-checked-text, #{ $kendo-radio-disabled-checked-text } ),
|
|
96
|
+
var( --kendo-radio-disabled-checked-bg, #{ $kendo-radio-disabled-checked-bg } ),
|
|
97
|
+
var( --kendo-radio-disabled-checked-border, #{ $kendo-radio-disabled-checked-border } )
|
|
98
|
+
);
|
|
99
|
+
|
|
100
|
+
&::after {
|
|
101
|
+
@include fill(
|
|
102
|
+
$bg: var( --kendo-radio-disabled-checked-border, #{ $kendo-radio-disabled-checked-border } ),
|
|
103
|
+
$border: var( --kendo-radio-disabled-checked-border, #{ $kendo-radio-disabled-checked-border } )
|
|
104
|
+
);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
// Ripple
|
|
110
|
+
.k-ripple-container {
|
|
111
|
+
.k-radio::after {
|
|
112
|
+
background: var( --kendo-radio-checked-bg, #{ $kendo-radio-checked-bg } );
|
|
113
|
+
opacity: var( --kendo-radio-ripple-opacity, #{ $kendo-radio-ripple-opacity } );
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
//Radio items
|
|
118
|
+
.k-radio-item,
|
|
119
|
+
.k-radio-list-item {
|
|
120
|
+
&.k-disabled,
|
|
121
|
+
&:disabled {
|
|
122
|
+
background-color: transparent;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|