@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,67 @@
|
|
|
1
|
+
@use "../core/" as *;
|
|
2
|
+
@use "../core/color-system" as *;
|
|
3
|
+
@use "../input/_variables.scss" as *;
|
|
4
|
+
|
|
5
|
+
/// The resize scale of the floating label
|
|
6
|
+
/// @group floating-label
|
|
7
|
+
$kendo-floating-label-scale: 1 !default;
|
|
8
|
+
|
|
9
|
+
/// The font size of the floating label
|
|
10
|
+
/// @group floating-label
|
|
11
|
+
$kendo-floating-label-font-size: var( --kendo-font-size, inherit ) !default;
|
|
12
|
+
|
|
13
|
+
/// The font weight of the floating label
|
|
14
|
+
/// @group floating-label
|
|
15
|
+
$kendo-floating-label-font-weight: var( --kendo-font-weight-bold, inherit ) !default;
|
|
16
|
+
|
|
17
|
+
/// The line height of the floating label
|
|
18
|
+
/// @group floating-label
|
|
19
|
+
$kendo-floating-label-line-height: var( --kendo-line-height, normal ) !default;
|
|
20
|
+
|
|
21
|
+
/// The height of the floating label
|
|
22
|
+
/// @group floating-label
|
|
23
|
+
$kendo-floating-label-height: calc( #{$kendo-floating-label-line-height} * #{$kendo-floating-label-font-size} ) !default;
|
|
24
|
+
|
|
25
|
+
/// The horizontal offset of the floating label
|
|
26
|
+
/// @group floating-label
|
|
27
|
+
$kendo-floating-label-offset-x: calc( #{$kendo-input-padding-x-md} + #{$kendo-input-border-width} ) !default;
|
|
28
|
+
|
|
29
|
+
/// The vertical offset of the floating label
|
|
30
|
+
/// @group floating-label
|
|
31
|
+
$kendo-floating-label-offset-y: calc( #{$kendo-floating-label-height} + #{$kendo-input-border-width} + #{$kendo-input-padding-y-md} ) !default;
|
|
32
|
+
|
|
33
|
+
/// The focus resize scale of the floating label
|
|
34
|
+
/// @group floating-label
|
|
35
|
+
$kendo-floating-label-focus-scale: 1 !default;
|
|
36
|
+
|
|
37
|
+
/// The horizontal focus offset of the floating label
|
|
38
|
+
/// @group floating-label
|
|
39
|
+
$kendo-floating-label-focus-offset-x: 0 !default;
|
|
40
|
+
|
|
41
|
+
/// The vertical focus offset of the floating label
|
|
42
|
+
/// @group floating-label
|
|
43
|
+
$kendo-floating-label-focus-offset-y: 0 !default;
|
|
44
|
+
|
|
45
|
+
/// The transition of the floating label
|
|
46
|
+
/// @group floating-label
|
|
47
|
+
$kendo-floating-label-transition: .2s ease-out !default;
|
|
48
|
+
|
|
49
|
+
/// The background color of the floating label
|
|
50
|
+
/// @group floating-label
|
|
51
|
+
$kendo-floating-label-bg: inherit !default;
|
|
52
|
+
|
|
53
|
+
/// The text color of the floating label
|
|
54
|
+
/// @group floating-label
|
|
55
|
+
$kendo-floating-label-text: inherit !default;
|
|
56
|
+
|
|
57
|
+
/// The focus background color of the floating label
|
|
58
|
+
/// @group floating-label
|
|
59
|
+
$kendo-floating-label-focus-bg: inherit !default;
|
|
60
|
+
|
|
61
|
+
/// The focus text color of the floating label
|
|
62
|
+
/// @group floating-label
|
|
63
|
+
$kendo-floating-label-focus-text: inherit !default;
|
|
64
|
+
|
|
65
|
+
/// The invalid text color of the floating label
|
|
66
|
+
/// @group floating-label
|
|
67
|
+
$kendo-floating-label-invalid-text: var( --kendo-invalid-text, #{$kendo-invalid-text} ) !default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// Module meta
|
|
2
|
+
$_kendo-module-meta: (
|
|
3
|
+
name: "floating-label",
|
|
4
|
+
dependencies: (
|
|
5
|
+
"input"
|
|
6
|
+
)
|
|
7
|
+
);
|
|
8
|
+
|
|
9
|
+
// Component
|
|
10
|
+
@forward "_variables.scss";
|
|
11
|
+
@use "_layout.scss" as *;
|
|
12
|
+
@use "_theme.scss" as *;
|
|
13
|
+
|
|
14
|
+
// Register
|
|
15
|
+
@use "../core/module-system/" as module;
|
|
16
|
+
@include module.register( $_kendo-module-meta... );
|
|
17
|
+
|
|
18
|
+
// Expose
|
|
19
|
+
@mixin styles() {
|
|
20
|
+
@include module.render( "floating-label" ) {
|
|
21
|
+
@include kendo-floating-label--layout();
|
|
22
|
+
@include kendo-floating-label--theme();
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
@use "../core/" as *;
|
|
2
|
+
@use "_variables.scss" as *;
|
|
3
|
+
@use "../input/_variables.scss" as *;
|
|
4
|
+
@use "../window/_variables.scss" as *;
|
|
5
|
+
|
|
6
|
+
@mixin kendo-forms--layout() {
|
|
7
|
+
|
|
8
|
+
// Common
|
|
9
|
+
.k-form,
|
|
10
|
+
.k-form-inline {
|
|
11
|
+
font-size: var( --kendo-form-font-size, #{$kendo-form-font-size} );
|
|
12
|
+
line-height: var( --kendo-form-line-height, #{$kendo-form-line-height} );
|
|
13
|
+
|
|
14
|
+
.k-form-field > .k-label {
|
|
15
|
+
font-weight: var( --kendo-form-label-font-weight, #{$kendo-form-label-font-weight} );
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// Label
|
|
20
|
+
kendo-label > .k-label {
|
|
21
|
+
margin: 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.k-label-optional {
|
|
25
|
+
margin-inline-start: var( --kendo-label-optional-margin-x, #{$kendo-label-optional-margin-x} );
|
|
26
|
+
font-size: var(--kendo-label-optional-font-size, #{$kendo-label-optional-font-size} );
|
|
27
|
+
font-style: var( --kendo-label-optional-font-style, #{$kendo-label-optional-font-style} );
|
|
28
|
+
align-self: center;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.k-label-empty {
|
|
32
|
+
&::before {
|
|
33
|
+
content: "";
|
|
34
|
+
display: inline-block;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.k-input-label {
|
|
39
|
+
margin-inline-end: var( --kendo-horizontal-form-label-margin-x, #{$kendo-horizontal-form-label-margin-x} );
|
|
40
|
+
z-index: 1;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
// Vertical Form
|
|
45
|
+
.k-form {
|
|
46
|
+
border: 0;
|
|
47
|
+
|
|
48
|
+
.k-label,
|
|
49
|
+
kendo-label,
|
|
50
|
+
.k-form-label {
|
|
51
|
+
margin-block-end: var( --kendo-form-label-margin-bottom, #{$kendo-form-label-margin-bottom} );
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-flow: row nowrap;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.k-label + .k-radio {
|
|
57
|
+
margin-inline-start: 0;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.k-form-fieldset {
|
|
61
|
+
margin: var( --kendo-form-fieldset-margin, #{$kendo-form-fieldset-margin} );
|
|
62
|
+
padding: var( --kendo-form-fieldset-padding, #{$kendo-form-fieldset-padding} );
|
|
63
|
+
border: 0;
|
|
64
|
+
|
|
65
|
+
> * {
|
|
66
|
+
&:not(.k-hidden):first-child,
|
|
67
|
+
&.k-hidden + :not(.k-hidden) {
|
|
68
|
+
margin-block-start: 0;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.k-form-legend {
|
|
74
|
+
margin: var( --kendo-form-legend-margin, #{$kendo-form-legend-margin} );
|
|
75
|
+
padding: var( --kendo-form-legend-padding, #{$kendo-form-legend-padding} );
|
|
76
|
+
border-width: var( --kendo-form-legend-border-width, #{$kendo-form-legend-border-width} );
|
|
77
|
+
border-style: var( --kendo-form-legend-border-style, #{$kendo-form-legend-border-style} );
|
|
78
|
+
width: var( --kendo-form-legend-width, #{$kendo-form-legend-width} );
|
|
79
|
+
font-size: var( --kendo-form-legend-font-size, #{$kendo-form-legend-font-size} );
|
|
80
|
+
text-transform: var( --kendo-form-legend-text-transform, #{$kendo-form-legend-text-transform} );
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
// Form group
|
|
85
|
+
.k-form-group {
|
|
86
|
+
padding: 0;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.k-form-field {
|
|
90
|
+
margin-block-start: var( --kendo-form-field-margin-top, #{$kendo-form-field-margin-top} );
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
> * {
|
|
94
|
+
&:not(.k-hidden):first-child,
|
|
95
|
+
&.k-hidden + :not(.k-hidden) {
|
|
96
|
+
margin-block-start: 0;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// Form field
|
|
101
|
+
.k-form-field,
|
|
102
|
+
.k-form-field-wrap {
|
|
103
|
+
display: block;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
.k-alert-error {
|
|
108
|
+
font-size: var( --kendo-font-size-sm, #{$kendo-font-size-sm} );
|
|
109
|
+
margin-block-start: calc( var( --kendo-padding-y, #{$kendo-padding-y} ) * 2 );
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.k-field-info {
|
|
113
|
+
display: inline-block;
|
|
114
|
+
font-size: var( --kendo-font-size-xs, #{$kendo-font-size-xs} );
|
|
115
|
+
line-height: 1;
|
|
116
|
+
margin-inline: var( --kendo-padding-x, #{$kendo-padding-x} );
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
.k-multiselect,
|
|
121
|
+
.k-floating-label-container,
|
|
122
|
+
.k-daterangepicker .k-dateinput,
|
|
123
|
+
.k-signature {
|
|
124
|
+
display: inline-flex;
|
|
125
|
+
width: 100%;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
// Form Buttons Container
|
|
130
|
+
.k-form-buttons {
|
|
131
|
+
@extend .k-actions;
|
|
132
|
+
margin-block-start: calc( var( --kendo-form-field-margin-top, #{$kendo-form-field-margin-top} ) * 2 );
|
|
133
|
+
padding: 0;
|
|
134
|
+
overflow: visible;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
// Form Hint/Error Messages
|
|
138
|
+
.k-form-hint,
|
|
139
|
+
.k-form-error {
|
|
140
|
+
margin-block-start: var( --kendo-form-hint-margin-top, #{$kendo-form-hint-margin-top} );
|
|
141
|
+
display: flex;
|
|
142
|
+
font-size: var( --kendo-form-hint-font-size, #{$kendo-form-hint-font-size} );
|
|
143
|
+
font-style: var( --kendo-form-hint-font-style, #{$kendo-form-hint-font-style} );
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.k-text-start,
|
|
147
|
+
.k-buttons-start {
|
|
148
|
+
justify-content: flex-start;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.k-text-end,
|
|
152
|
+
.k-buttons-end {
|
|
153
|
+
justify-content: flex-end;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
// Form Separator
|
|
157
|
+
.k-form-separator {
|
|
158
|
+
margin: var( --kendo-form-separator-margin, #{$kendo-form-separator-margin} );
|
|
159
|
+
border-width: 1px 0 0;
|
|
160
|
+
border-style: solid;
|
|
161
|
+
display: block;
|
|
162
|
+
flex: 0 0 auto;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
// Horizontal Form
|
|
166
|
+
.k-form-horizontal {
|
|
167
|
+
.k-form-field {
|
|
168
|
+
display: flex;
|
|
169
|
+
|
|
170
|
+
> .k-label,
|
|
171
|
+
> kendo-label,
|
|
172
|
+
> .k-form-label {
|
|
173
|
+
margin-inline-end: var( --kendo-horizontal-form-label-margin-x, #{$kendo-horizontal-form-label-margin-x} );
|
|
174
|
+
padding-block-start: var( --kendo-horizontal-form-label-padding-top, #{$kendo-horizontal-form-label-padding-top} );
|
|
175
|
+
width: var( --kendo-horizontal-form-label-width, #{$kendo-horizontal-form-label-width} );
|
|
176
|
+
text-align: end;
|
|
177
|
+
flex-direction: column;
|
|
178
|
+
align-items: var( --kendo-horizontal-form-label-align, #{$kendo-horizontal-form-label-align} );
|
|
179
|
+
justify-content: flex-start;
|
|
180
|
+
}
|
|
181
|
+
.k-label-optional {
|
|
182
|
+
margin: 0;
|
|
183
|
+
align-self: inherit;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.k-form-field-wrap {
|
|
188
|
+
max-width: var( --kendo-horizontal-form-field-wrap-max-width, #{$kendo-horizontal-form-field-wrap-max-width} );
|
|
189
|
+
flex: 1 1 auto;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
// Scheduler
|
|
194
|
+
.k-form-inline {
|
|
195
|
+
padding: var( --kendo-form-spacer #{$kendo-form-spacer} );
|
|
196
|
+
|
|
197
|
+
fieldset {
|
|
198
|
+
border-width: 1px 0 0;
|
|
199
|
+
border-style: solid;
|
|
200
|
+
margin-block: calc( var( --kendo-form-spacer, #{$kendo-form-spacer}) * 2 );
|
|
201
|
+
padding: 0;
|
|
202
|
+
|
|
203
|
+
&:first-child:first-of-type {
|
|
204
|
+
margin-block-start: 0;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
&:last-child:last-of-type {
|
|
208
|
+
margin-block-end: 0;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
legend {
|
|
213
|
+
font-size: var( --kendo-font-size-sm, #{$kendo-font-size-sm} );
|
|
214
|
+
text-align: left;
|
|
215
|
+
font-weight: 600;
|
|
216
|
+
line-height: 1;
|
|
217
|
+
margin-block-end: calc( var( --kendo-padding-y-lg, #{$kendo-padding-y-lg} ) * 2 );
|
|
218
|
+
text-transform: uppercase;
|
|
219
|
+
padding-inline-end: var( --kendo-padding-x, #{$kendo-padding-x} );
|
|
220
|
+
width: auto;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.k-form-field {
|
|
224
|
+
display: flex;
|
|
225
|
+
align-items: flex-start;
|
|
226
|
+
text-align: left;
|
|
227
|
+
margin-block-end: calc( var( --kendo-padding-y-lg, #{$kendo-padding-y-lg} ) * 2 );
|
|
228
|
+
|
|
229
|
+
> span:not(.k-widget) {
|
|
230
|
+
width: var( --kendo-inline-form-element-width, #{$kendo-inline-form-element-width} );
|
|
231
|
+
text-align: right;
|
|
232
|
+
line-height: var( --kendo-line-height, #{$kendo-line-height} );
|
|
233
|
+
padding-block: calc( #{$kendo-padding-y} + #{$kendo-input-border-width} );
|
|
234
|
+
padding-inline-end: var( --kendo-padding-x-lg, #{$kendo-padding-x-lg} );
|
|
235
|
+
align-self: center;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
> input {
|
|
239
|
+
align-self: center;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
> input:not(.k-checkbox):not(.k-radio) {
|
|
243
|
+
flex: 1 1 auto;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.k-alert-error {
|
|
247
|
+
font-size: var( --kendo-font-size-sm, #{$kendo-font-size-sm} );
|
|
248
|
+
margin-block-start: calc( var( --kendo-padding-y, #{$kendo-padding-y} ) * 2 );
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.k-field-info {
|
|
252
|
+
display: block;
|
|
253
|
+
font-size: var( --kendo-font-size-xs, #{$kendo-font-size-xs} );
|
|
254
|
+
line-height: 1;
|
|
255
|
+
margin: 0;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
&:last-child {
|
|
259
|
+
margin-block-end: 0;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
// Edit form
|
|
265
|
+
.k-edit-form-container {
|
|
266
|
+
width: 400px;
|
|
267
|
+
min-width: 400px;
|
|
268
|
+
border-color: inherit;
|
|
269
|
+
position: relative;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
// Action buttons
|
|
274
|
+
.k-popup-edit-form > .k-actions,
|
|
275
|
+
.k-edit-form-container .k-actions {
|
|
276
|
+
margin: map-get( $kendo-spacing, 4 ) (-$kendo-window-inner-padding-x) (-$kendo-window-inner-padding-y);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
.k-edit-label {
|
|
281
|
+
margin-block-end: map-get( $kendo-spacing, 4 );
|
|
282
|
+
padding-block: calc( #{$kendo-input-padding-y-md} + #{$kendo-input-border-width} );
|
|
283
|
+
width: 30%;
|
|
284
|
+
line-height: var( --kendo-form-line-height, #{$kendo-form-line-height} );
|
|
285
|
+
text-align: right;
|
|
286
|
+
float: left;
|
|
287
|
+
clear: both;
|
|
288
|
+
}
|
|
289
|
+
.k-edit-field {
|
|
290
|
+
margin-block-end: map-get( $kendo-spacing, 4 );
|
|
291
|
+
width: 65%;
|
|
292
|
+
float: right;
|
|
293
|
+
clear: right;
|
|
294
|
+
position: relative;
|
|
295
|
+
|
|
296
|
+
&.k-no-editor {
|
|
297
|
+
padding-block: calc( #{$kendo-input-padding-y-md} + #{$kendo-input-border-width} );
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.k-edit-field {
|
|
302
|
+
|
|
303
|
+
> .k-widget {
|
|
304
|
+
width: 100%;
|
|
305
|
+
box-sizing: border-box;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
input[type="radio"]:not(.k-radio),
|
|
309
|
+
input[type="checkbox"]:not(.k-checkbox) {
|
|
310
|
+
margin-inline-end: .4ex;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.k-radio-label,
|
|
314
|
+
.k-checkbox-label {
|
|
315
|
+
margin-inline-end: map-get( $kendo-spacing, 4 );
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
> .k-reset > li + li {
|
|
319
|
+
margin-block-start: calc( map-get( $kendo-spacing, 4 ) / 2 );
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.k-reset .k-widget {
|
|
323
|
+
margin: 0 .4ex 0 1ex;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
@use "../core/" as *;
|
|
2
|
+
@use "_variables.scss" as *;
|
|
3
|
+
|
|
4
|
+
@mixin kendo-forms--theme() {
|
|
5
|
+
|
|
6
|
+
.k-form,
|
|
7
|
+
.k-form-inline {
|
|
8
|
+
@include fill( $color: var( --kendo-form-text, #{$kendo-body-text} ) );
|
|
9
|
+
|
|
10
|
+
fieldset {
|
|
11
|
+
legend {
|
|
12
|
+
@include fill( $color: var( --kendo-fieldset-legend-text, #{$kendo-fieldset-legend-text} ) );
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.k-form-legend {
|
|
17
|
+
@include fill( $border: var( --kendo-form-legend-border-color, #{$kendo-form-legend-border-color} ) );
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.k-field-info {
|
|
21
|
+
@include fill( $color: var( --kendo-field-info-text, #{$kendo-subtle-text} ) );
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.k-alert-error {
|
|
25
|
+
@include fill( $color: var( --kendo-forms-invalid-color, #{$kendo-forms-invalid-color} ) );
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.k-form-error,
|
|
30
|
+
.k-text-error,
|
|
31
|
+
.k-form-field-error .k-label {
|
|
32
|
+
@include fill( $color: var( --kendo-forms-invalid-color, #{$kendo-forms-invalid-color} ) );
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.k-form-separator {
|
|
36
|
+
@include fill( $border: var( --kendo-form-separator-border-color, #{$kendo-form-separator-border-color} ) );
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.k-form-hint,
|
|
40
|
+
.k-label-optional {
|
|
41
|
+
@include fill( $color: var( --kendo-form-hint-text, #{$kendo-form-hint-text} ) );
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
@use "../core/" as *;
|
|
2
|
+
|
|
3
|
+
/// The padding of the inline form
|
|
4
|
+
/// @group form
|
|
5
|
+
$kendo-form-spacer: calc( #{$kendo-padding-x} * 2 ) !default;
|
|
6
|
+
|
|
7
|
+
/// The font size of the form
|
|
8
|
+
/// @group form
|
|
9
|
+
$kendo-form-font-size: var( --kendo-font-size, inherit ) !default;
|
|
10
|
+
|
|
11
|
+
/// The line heights of the form
|
|
12
|
+
/// @group form
|
|
13
|
+
$kendo-form-line-height: var( --kendo-line-height, normal ) !default;
|
|
14
|
+
$kendo-form-line-height-em: $kendo-line-height-em !default;
|
|
15
|
+
$kendo-form-line-height-sm: var( --kendo-line-height-sm, normal ) !default;
|
|
16
|
+
$kendo-form-line-height-lg: var( --kendo-line-height-lg, normal ) !default;
|
|
17
|
+
|
|
18
|
+
/// The margin of the form fieldset
|
|
19
|
+
/// @group form
|
|
20
|
+
$kendo-form-fieldset-margin: 2em 0 0 !default;
|
|
21
|
+
|
|
22
|
+
/// The padding of the form fieldset
|
|
23
|
+
/// @group form
|
|
24
|
+
$kendo-form-fieldset-padding: 0px !default;
|
|
25
|
+
|
|
26
|
+
/// The margin of the form legend
|
|
27
|
+
/// @group form
|
|
28
|
+
$kendo-form-legend-margin: 0 0 map-get( $kendo-spacing, 3 ) !default;
|
|
29
|
+
|
|
30
|
+
/// The padding of the form legend
|
|
31
|
+
/// @group form
|
|
32
|
+
$kendo-form-legend-padding: 0px !default;
|
|
33
|
+
|
|
34
|
+
/// The border width of the form legend
|
|
35
|
+
/// @group form
|
|
36
|
+
$kendo-form-legend-border-width: 0 0 map-get( $kendo-spacing, thin ) !default;
|
|
37
|
+
|
|
38
|
+
/// The border style of the form legend
|
|
39
|
+
/// @group form
|
|
40
|
+
$kendo-form-legend-border-style: solid !default;
|
|
41
|
+
|
|
42
|
+
/// The border color of the form legend
|
|
43
|
+
/// @group form
|
|
44
|
+
$kendo-form-legend-border-color: var( --kendo-component-border, initial ) !default;
|
|
45
|
+
|
|
46
|
+
/// The width of the form legend
|
|
47
|
+
/// @group form
|
|
48
|
+
$kendo-form-legend-width: 100% !default;
|
|
49
|
+
|
|
50
|
+
/// The font size of the form legend
|
|
51
|
+
/// @group form
|
|
52
|
+
$kendo-form-legend-font-size: var( --kendo-font-size, inherit ) !default;
|
|
53
|
+
|
|
54
|
+
/// The text capitalization of the form legend
|
|
55
|
+
/// @group form
|
|
56
|
+
$kendo-form-legend-text-transform: uppercase !default;
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
/// The bottom margin of the form label
|
|
60
|
+
/// @group form
|
|
61
|
+
$kendo-form-label-margin-bottom: map-get( $kendo-spacing, 2 ) !default;
|
|
62
|
+
|
|
63
|
+
/// The font weight of the form label
|
|
64
|
+
/// @group form
|
|
65
|
+
$kendo-form-label-font-weight: var( --kendo-font-weight-bold, inherit ) !default;
|
|
66
|
+
|
|
67
|
+
/// The horizontal margin of the form button
|
|
68
|
+
/// @group form
|
|
69
|
+
$kendo-form-button-margin-x: map-get( $kendo-spacing, 2 ) !default;
|
|
70
|
+
|
|
71
|
+
/// The font size of the form hint
|
|
72
|
+
/// @group form
|
|
73
|
+
$kendo-form-hint-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
74
|
+
|
|
75
|
+
/// The font style of the form hint
|
|
76
|
+
/// @group form
|
|
77
|
+
$kendo-form-hint-font-style: normal !default;
|
|
78
|
+
|
|
79
|
+
/// The top margin of the form hint
|
|
80
|
+
/// @group form
|
|
81
|
+
$kendo-form-hint-margin-top: map-get( $kendo-spacing, 1 ) !default;
|
|
82
|
+
|
|
83
|
+
/// The text color of the font hint
|
|
84
|
+
/// @group form
|
|
85
|
+
$kendo-form-hint-text: get-theme-color-var( neutral-130 );
|
|
86
|
+
|
|
87
|
+
/// The top margin of the form field
|
|
88
|
+
/// @group form
|
|
89
|
+
$kendo-form-field-margin-top: map-get( $kendo-spacing, 3 ) !default;
|
|
90
|
+
|
|
91
|
+
/// The margin of the form separator
|
|
92
|
+
/// @group form
|
|
93
|
+
$kendo-form-separator-margin: $kendo-form-field-margin-top 0 0 !default;
|
|
94
|
+
|
|
95
|
+
/// The border color of the form separator
|
|
96
|
+
/// @group form
|
|
97
|
+
$kendo-form-separator-border-color: $kendo-form-legend-border-color !default;
|
|
98
|
+
|
|
99
|
+
/// The top padding of the horizontal form label
|
|
100
|
+
/// @group form
|
|
101
|
+
$kendo-horizontal-form-label-padding-top: map-get( $kendo-spacing, 1 ) + map-get( $kendo-spacing, thin ) !default;
|
|
102
|
+
|
|
103
|
+
/// The horizontal margin of the horizontal form
|
|
104
|
+
/// @group form
|
|
105
|
+
$kendo-horizontal-form-label-margin-x: map-get( $kendo-spacing, 2 ) !default;
|
|
106
|
+
|
|
107
|
+
/// The width of the horizontal form label
|
|
108
|
+
/// @group form
|
|
109
|
+
$kendo-horizontal-form-label-width: 25% !default;
|
|
110
|
+
|
|
111
|
+
/// The horizontal alignment of the form label
|
|
112
|
+
$kendo-horizontal-form-label-align: flex-end !default;
|
|
113
|
+
|
|
114
|
+
/// The max-width of the horizontal form
|
|
115
|
+
/// @group form
|
|
116
|
+
$kendo-horizontal-form-field-wrap-max-width: calc( ( 100% - #{$kendo-horizontal-form-label-width} ) - #{$kendo-horizontal-form-label-margin-x} ) !default;
|
|
117
|
+
|
|
118
|
+
/// The width of the element of the inline form
|
|
119
|
+
/// @group form
|
|
120
|
+
$kendo-inline-form-element-width: 25% !default;
|
|
121
|
+
|
|
122
|
+
/// The invalid text color of the form
|
|
123
|
+
/// @group form
|
|
124
|
+
$kendo-forms-invalid-color: var( --kendo-invalid-text, initial ) !default;
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
// Label
|
|
128
|
+
$kendo-label-optional-margin-x: map-get( $kendo-spacing, 1 ) + map-get( $kendo-spacing, thin ) !default;
|
|
129
|
+
$kendo-label-optional-font-size: var( --kendo-font-size-sm, inherit ) !default;
|
|
130
|
+
$kendo-label-optional-font-style: normal !default;
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
// Fieldset
|
|
134
|
+
$kendo-fieldset-margin: map-get( $kendo-spacing, 8 ) - map-get( $kendo-spacing, thin ) !default;
|
|
135
|
+
$kendo-fieldset-font-size: var( --kendo-font-size-xl, inherit ) !default;
|
|
136
|
+
|
|
137
|
+
$kendo-fieldset-bg: transparent !default;
|
|
138
|
+
$kendo-fieldset-text: inherit !default;
|
|
139
|
+
$kendo-fieldset-border: initial !default;
|
|
140
|
+
|
|
141
|
+
$kendo-fieldset-legend-bg: transparent !default;
|
|
142
|
+
$kendo-fieldset-legend-text: get-theme-color-var( neutral-130 ) !default;
|
|
143
|
+
$kendo-fieldset-legend-border: initial !default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// Module meta
|
|
2
|
+
$_kendo-module-meta: (
|
|
3
|
+
name: "forms",
|
|
4
|
+
dependencies: (
|
|
5
|
+
"tooltip",
|
|
6
|
+
"button",
|
|
7
|
+
"input",
|
|
8
|
+
"toolbar",
|
|
9
|
+
"action-buttons",
|
|
10
|
+
"window"
|
|
11
|
+
)
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
// Component
|
|
16
|
+
@forward "_variables.scss";
|
|
17
|
+
@use "_layout.scss" as *;
|
|
18
|
+
@use "_theme.scss" as *;
|
|
19
|
+
|
|
20
|
+
// Register
|
|
21
|
+
@use "../core/module-system/" as module;
|
|
22
|
+
@include module.register( $_kendo-module-meta... );
|
|
23
|
+
|
|
24
|
+
// Expose
|
|
25
|
+
@mixin styles() {
|
|
26
|
+
@include module.render( "forms" ) {
|
|
27
|
+
@include kendo-forms--layout();
|
|
28
|
+
@include kendo-forms--theme();
|
|
29
|
+
}
|
|
30
|
+
}
|