@progress/kendo-theme-default 10.2.0-dev.1 → 10.2.0-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/all.css +1 -1
- package/dist/default-blue.css +1 -1
- package/dist/default-dataviz-v4.css +1 -1
- package/dist/default-green.css +1 -1
- package/dist/default-main-dark.css +1 -1
- package/dist/default-main.css +1 -1
- package/dist/default-nordic.css +1 -1
- package/dist/default-ocean-blue-a11y.css +1 -1
- package/dist/default-ocean-blue.css +1 -1
- package/dist/default-orange.css +1 -1
- package/dist/default-purple.css +1 -1
- package/dist/default-turquoise.css +1 -1
- package/dist/default-urban.css +1 -1
- package/dist/meta/sassdoc-data.json +638 -854
- package/dist/meta/sassdoc-raw-data.json +318 -418
- package/dist/meta/variables.json +21 -21
- package/lib/swatches/default-blue.json +1 -1
- package/lib/swatches/default-dataviz-v4.json +1 -1
- package/lib/swatches/default-green.json +1 -1
- package/lib/swatches/default-main-dark.json +1 -1
- package/lib/swatches/default-main.json +1 -1
- package/lib/swatches/default-nordic.json +1 -1
- package/lib/swatches/default-ocean-blue-a11y.json +1 -1
- package/lib/swatches/default-ocean-blue.json +1 -1
- package/lib/swatches/default-orange.json +1 -1
- package/lib/swatches/default-purple.json +1 -1
- package/lib/swatches/default-turquoise.json +1 -1
- package/lib/swatches/default-urban.json +1 -1
- package/package.json +4 -4
- package/scss/_variables.scss +0 -11
- package/scss/action-buttons/_layout.scss +1 -67
- package/scss/action-buttons/_theme.scss +1 -16
- package/scss/action-buttons/_variables.scss +12 -0
- package/scss/action-sheet/_layout.scss +1 -397
- package/scss/action-sheet/_theme.scss +1 -100
- package/scss/action-sheet/_variables.scss +69 -0
- package/scss/adaptive/_layout.scss +1 -479
- package/scss/adaptive/_theme.scss +1 -99
- package/scss/adaptive/_variables.scss +21 -0
- package/scss/appbar/_layout.scss +1 -115
- package/scss/appbar/_theme.scss +1 -31
- package/scss/appbar/_variables.scss +19 -0
- package/scss/autocomplete/_layout.scss +1 -6
- package/scss/autocomplete/_theme.scss +1 -6
- package/scss/avatar/_layout.scss +1 -78
- package/scss/avatar/_theme.scss +1 -27
- package/scss/avatar/_variables.scss +9 -0
- package/scss/badge/_layout.scss +1 -149
- package/scss/badge/_theme.scss +1 -27
- package/scss/badge/_variables.scss +26 -0
- package/scss/bottom-navigation/_layout.scss +1 -117
- package/scss/bottom-navigation/_theme.scss +1 -57
- package/scss/bottom-navigation/_variables.scss +22 -0
- package/scss/breadcrumb/_layout.scss +1 -133
- package/scss/breadcrumb/_theme.scss +1 -100
- package/scss/breadcrumb/_variables.scss +64 -0
- package/scss/button/_layout.scss +1 -352
- package/scss/button/_theme.scss +1 -333
- package/scss/button/_variables.scss +92 -0
- package/scss/calendar/_layout.scss +1 -523
- package/scss/calendar/_theme.scss +1 -210
- package/scss/calendar/_variables.scss +99 -0
- package/scss/captcha/_layout.scss +1 -64
- package/scss/captcha/_theme.scss +1 -15
- package/scss/captcha/_variables.scss +17 -0
- package/scss/card/_layout.scss +1 -343
- package/scss/card/_theme.scss +1 -103
- package/scss/card/_variables.scss +58 -0
- package/scss/chart-wizard/_layout.scss +1 -42
- package/scss/chart-wizard/_theme.scss +1 -33
- package/scss/chart-wizard/_variables.scss +14 -0
- package/scss/chat/_layout.scss +1 -470
- package/scss/chat/_theme.scss +1 -99
- package/scss/chat/_variables.scss +67 -0
- package/scss/checkbox/_layout.scss +1 -230
- package/scss/checkbox/_theme.scss +1 -104
- package/scss/checkbox/_variables.scss +51 -0
- package/scss/chip/_layout.scss +1 -164
- package/scss/chip/_theme.scss +1 -146
- package/scss/chip/_variables.scss +46 -0
- package/scss/color-preview/_layout.scss +1 -79
- package/scss/color-preview/_theme.scss +1 -20
- package/scss/color-preview/_variables.scss +14 -0
- package/scss/coloreditor/_layout.scss +1 -117
- package/scss/coloreditor/_theme.scss +1 -27
- package/scss/coloreditor/_variables.scss +55 -0
- package/scss/colorgradient/_layout.scss +1 -233
- package/scss/colorgradient/_theme.scss +1 -86
- package/scss/colorgradient/_variables.scss +71 -0
- package/scss/colorpalette/_layout.scss +1 -71
- package/scss/colorpalette/_theme.scss +1 -26
- package/scss/colorpalette/_variables.scss +18 -0
- package/scss/colorpicker/_layout.scss +1 -13
- package/scss/colorpicker/_theme.scss +1 -5
- package/scss/combobox/_layout.scss +1 -6
- package/scss/combobox/_theme.scss +1 -6
- package/scss/core/color-system/_swatch-legacy.scss +76 -15
- package/scss/core/motion/index.import.scss +1 -0
- package/scss/dataviz/_layout.scss +1 -569
- package/scss/dataviz/_theme.scss +1 -115
- package/scss/dataviz/_variables.scss +106 -1
- package/scss/dateinput/_layout.scss +1 -6
- package/scss/dateinput/_theme.scss +1 -6
- package/scss/datepicker/_layout.scss +1 -5
- package/scss/datepicker/_theme.scss +1 -6
- package/scss/daterangepicker/_layout.scss +1 -47
- package/scss/daterangepicker/_theme.scss +1 -6
- package/scss/daterangepicker/_variables.scss +4 -0
- package/scss/datetimepicker/_layout.scss +1 -51
- package/scss/datetimepicker/_theme.scss +1 -6
- package/scss/datetimepicker/_variables.scss +4 -0
- package/scss/dialog/_layout.scss +1 -73
- package/scss/dialog/_theme.scss +1 -24
- package/scss/dialog/_variables.scss +11 -0
- package/scss/dock-manager/_layout.scss +1 -220
- package/scss/dock-manager/_theme.scss +1 -45
- package/scss/dock-manager/_variables.scss +38 -0
- package/scss/draggable/_layout.scss +1 -127
- package/scss/draggable/_theme.scss +1 -17
- package/scss/draggable/_variables.scss +23 -0
- package/scss/drawer/_layout.scss +1 -202
- package/scss/drawer/_theme.scss +1 -63
- package/scss/drawer/_variables.scss +34 -0
- package/scss/dropdowngrid/_layout.scss +1 -15
- package/scss/dropdowngrid/_theme.scss +1 -6
- package/scss/dropdownlist/_layout.scss +1 -38
- package/scss/dropdownlist/_theme.scss +1 -9
- package/scss/dropdowntree/_layout.scss +1 -39
- package/scss/dropdowntree/_theme.scss +1 -6
- package/scss/dropdowntree/_variables.scss +5 -0
- package/scss/dropzone/_layout.scss +1 -44
- package/scss/dropzone/_theme.scss +1 -36
- package/scss/dropzone/_variables.scss +22 -0
- package/scss/editor/_layout.scss +1 -648
- package/scss/editor/_theme.scss +1 -103
- package/scss/editor/_variables.scss +24 -0
- package/scss/expansion-panel/_layout.scss +1 -82
- package/scss/expansion-panel/_theme.scss +1 -44
- package/scss/expansion-panel/_variables.scss +25 -0
- package/scss/fab/_layout.scss +1 -145
- package/scss/fab/_theme.scss +1 -128
- package/scss/fab/_variables.scss +50 -0
- package/scss/filemanager/_layout.scss +1 -238
- package/scss/filemanager/_theme.scss +1 -112
- package/scss/filemanager/_variables.scss +60 -0
- package/scss/filter/_layout.scss +1 -93
- package/scss/filter/_theme.scss +1 -32
- package/scss/filter/_variables.scss +11 -0
- package/scss/floating-label/_layout.scss +1 -90
- package/scss/floating-label/_theme.scss +1 -30
- package/scss/floating-label/_variables.scss +18 -0
- package/scss/forms/_layout.scss +1 -379
- package/scss/forms/_theme.scss +1 -39
- package/scss/forms/_variables.scss +54 -0
- package/scss/gantt/_layout.scss +1 -921
- package/scss/gantt/_theme.scss +1 -279
- package/scss/gantt/_variables.scss +78 -0
- package/scss/grid/_layout.scss +1 -1374
- package/scss/grid/_theme.scss +1 -450
- package/scss/grid/_variables.scss +146 -0
- package/scss/gridlayout/_layout.scss +1 -6
- package/scss/gridlayout/_theme.scss +1 -6
- package/scss/icons/_layout.scss +1 -80
- package/scss/icons/_theme.scss +1 -1
- package/scss/icons/_variables.scss +13 -0
- package/scss/imageeditor/_layout.scss +1 -160
- package/scss/imageeditor/_theme.scss +1 -54
- package/scss/imageeditor/_variables.scss +34 -0
- package/scss/input/_layout.scss +1 -586
- package/scss/input/_theme.scss +1 -512
- package/scss/input/_variables.scss +139 -7
- package/scss/list/_layout.scss +1 -246
- package/scss/list/_theme.scss +1 -95
- package/scss/list/_variables.scss +87 -0
- package/scss/listbox/_layout.scss +1 -86
- package/scss/listbox/_theme.scss +1 -20
- package/scss/listbox/_variables.scss +18 -0
- package/scss/listgroup/_layout.scss +1 -191
- package/scss/listgroup/_theme.scss +1 -15
- package/scss/listgroup/_variables.scss +13 -0
- package/scss/listview/_layout.scss +1 -141
- package/scss/listview/_theme.scss +1 -43
- package/scss/listview/_variables.scss +21 -0
- package/scss/loader/_layout.scss +2 -582
- package/scss/loader/_theme.scss +1 -17
- package/scss/loader/_variables.scss +40 -0
- package/scss/map/_layout.scss +1 -138
- package/scss/map/_theme.scss +1 -34
- package/scss/map/_variables.scss +24 -0
- package/scss/maskedtextbox/_layout.scss +1 -6
- package/scss/maskedtextbox/_theme.scss +1 -6
- package/scss/mediaplayer/_layout.scss +1 -105
- package/scss/mediaplayer/_theme.scss +1 -23
- package/scss/mediaplayer/_variables.scss +16 -0
- package/scss/menu/_layout.scss +1 -320
- package/scss/menu/_theme.scss +1 -140
- package/scss/menu/_variables.scss +91 -0
- package/scss/menu-button/_layout.scss +1 -32
- package/scss/menu-button/_theme.scss +1 -6
- package/scss/menu-button/_variables.scss +4 -0
- package/scss/messagebox/_layout.scss +1 -23
- package/scss/messagebox/_theme.scss +1 -25
- package/scss/messagebox/_variables.scss +14 -0
- package/scss/multiselect/_layout.scss +1 -6
- package/scss/multiselect/_theme.scss +1 -6
- package/scss/no-data/_layout.scss +1 -22
- package/scss/no-data/_theme.scss +1 -10
- package/scss/no-data/_variables.scss +5 -0
- package/scss/notification/_functions.scss +17 -0
- package/scss/notification/_layout.scss +1 -73
- package/scss/notification/_theme.scss +1 -27
- package/scss/notification/_variables.scss +19 -14
- package/scss/numerictextbox/_layout.scss +1 -10
- package/scss/numerictextbox/_theme.scss +1 -6
- package/scss/orgchart/_layout.scss +1 -112
- package/scss/orgchart/_theme.scss +1 -53
- package/scss/orgchart/_variables.scss +47 -0
- package/scss/otp/_layout.scss +1 -37
- package/scss/otp/_theme.scss +1 -8
- package/scss/otp/_variables.scss +16 -0
- package/scss/overlay/_layout.scss +1 -16
- package/scss/overlay/_theme.scss +1 -17
- package/scss/overlay/_variables.scss +6 -0
- package/scss/pager/_layout.scss +1 -186
- package/scss/pager/_theme.scss +1 -21
- package/scss/pager/_variables.scss +48 -0
- package/scss/panel/_layout.scss +1 -29
- package/scss/panel/_theme.scss +1 -22
- package/scss/panel/_variables.scss +13 -0
- package/scss/panelbar/_layout.scss +1 -141
- package/scss/panelbar/_theme.scss +1 -209
- package/scss/panelbar/_variables.scss +86 -0
- package/scss/pdf-viewer/_layout.scss +1 -332
- package/scss/pdf-viewer/_theme.scss +1 -89
- package/scss/pdf-viewer/_variables.scss +43 -3
- package/scss/pivotgrid/_layout.scss +1 -654
- package/scss/pivotgrid/_theme.scss +1 -245
- package/scss/pivotgrid/_variables.scss +87 -0
- package/scss/popover/_layout.scss +1 -93
- package/scss/popover/_theme.scss +1 -41
- package/scss/popover/_variables.scss +29 -0
- package/scss/popup/_layout.scss +1 -79
- package/scss/popup/_theme.scss +1 -19
- package/scss/popup/_variables.scss +15 -0
- package/scss/progressbar/_layout.scss +1 -244
- package/scss/progressbar/_theme.scss +1 -52
- package/scss/progressbar/_variables.scss +25 -0
- package/scss/prompt/_layout.scss +1 -73
- package/scss/prompt/_theme.scss +1 -39
- package/scss/prompt/_variables.scss +23 -0
- package/scss/radio/_layout.scss +1 -226
- package/scss/radio/_theme.scss +1 -91
- package/scss/radio/_variables.scss +48 -0
- package/scss/rating/_layout.scss +1 -93
- package/scss/rating/_theme.scss +1 -43
- package/scss/rating/_variables.scss +19 -0
- package/scss/responsivepanel/_layout.scss +1 -47
- package/scss/responsivepanel/_theme.scss +1 -5
- package/scss/ripple/_layout.scss +1 -51
- package/scss/ripple/_theme.scss +1 -5
- package/scss/scheduler/_layout.scss +1 -1040
- package/scss/scheduler/_theme.scss +1 -236
- package/scss/scheduler/_variables.scss +82 -0
- package/scss/scroller/_layout.scss +1 -85
- package/scss/scroller/_theme.scss +1 -7
- package/scss/scrollview/_layout.scss +1 -165
- package/scss/scrollview/_theme.scss +1 -91
- package/scss/scrollview/_variables.scss +31 -0
- package/scss/searchbox/_layout.scss +1 -6
- package/scss/searchbox/_theme.scss +1 -6
- package/scss/signature/_layout.scss +1 -74
- package/scss/signature/_theme.scss +1 -13
- package/scss/signature/_variables.scss +27 -0
- package/scss/skeleton/_layout.scss +1 -92
- package/scss/skeleton/_theme.scss +1 -26
- package/scss/skeleton/_variables.scss +9 -0
- package/scss/slider/_layout.scss +1 -401
- package/scss/slider/_theme.scss +1 -80
- package/scss/slider/_variables.scss +40 -0
- package/scss/split-button/_layout.scss +1 -36
- package/scss/split-button/_theme.scss +1 -12
- package/scss/split-button/_variables.scss +12 -0
- package/scss/splitter/_layout.scss +1 -191
- package/scss/splitter/_theme.scss +1 -38
- package/scss/splitter/_variables.scss +22 -0
- package/scss/spreadsheet/_layout.scss +1 -905
- package/scss/spreadsheet/_theme.scss +1 -211
- package/scss/spreadsheet/_variables.scss +86 -0
- package/scss/stacklayout/_layout.scss +1 -5
- package/scss/stacklayout/_theme.scss +1 -5
- package/scss/stepper/_layout.scss +1 -291
- package/scss/stepper/_theme.scss +1 -238
- package/scss/stepper/_variables.scss +72 -0
- package/scss/switch/_layout.scss +1 -159
- package/scss/switch/_theme.scss +1 -169
- package/scss/switch/_variables.scss +59 -0
- package/scss/table/_layout.scss +1 -288
- package/scss/table/_theme.scss +1 -88
- package/scss/table/_variables.scss +43 -0
- package/scss/tabstrip/_layout.scss +1 -494
- package/scss/tabstrip/_theme.scss +1 -151
- package/scss/tabstrip/_variables.scss +65 -0
- package/scss/taskboard/_layout.scss +1 -217
- package/scss/taskboard/_theme.scss +1 -111
- package/scss/taskboard/_variables.scss +78 -0
- package/scss/textarea/_layout.scss +1 -8
- package/scss/textarea/_theme.scss +2 -7
- package/scss/textbox/_layout.scss +1 -6
- package/scss/textbox/_theme.scss +1 -6
- package/scss/tilelayout/_layout.scss +1 -47
- package/scss/tilelayout/_theme.scss +1 -24
- package/scss/tilelayout/_variables.scss +13 -0
- package/scss/time-marker/_layout.scss +1 -19
- package/scss/time-marker/_theme.scss +1 -21
- package/scss/time-marker/_variables.scss +5 -0
- package/scss/timedurationpicker/_layout.scss +1 -12
- package/scss/timedurationpicker/_theme.scss +1 -6
- package/scss/timeline/_layout.scss +1 -445
- package/scss/timeline/_theme.scss +1 -72
- package/scss/timeline/_variables.scss +53 -0
- package/scss/timepicker/_layout.scss +1 -12
- package/scss/timepicker/_theme.scss +1 -6
- package/scss/timeselector/_layout.scss +1 -260
- package/scss/timeselector/_theme.scss +1 -76
- package/scss/timeselector/_variables.scss +41 -0
- package/scss/toolbar/_layout.scss +1 -352
- package/scss/toolbar/_theme.scss +1 -192
- package/scss/toolbar/_variables.scss +50 -0
- package/scss/tooltip/_functions.scss +17 -0
- package/scss/tooltip/_layout.scss +1 -116
- package/scss/tooltip/_theme.scss +1 -36
- package/scss/tooltip/_variables.scss +20 -14
- package/scss/treelist/_layout.scss +1 -109
- package/scss/treelist/_theme.scss +1 -13
- package/scss/treelist/_variables.scss +5 -0
- package/scss/treeview/_layout.scss +1 -199
- package/scss/treeview/_theme.scss +1 -82
- package/scss/treeview/_variables.scss +52 -0
- package/scss/typography/_layout.scss +1 -124
- package/scss/typography/_theme.scss +1 -24
- package/scss/typography/_variables.scss +80 -0
- package/scss/upload/_layout.scss +1 -248
- package/scss/upload/_theme.scss +1 -105
- package/scss/upload/_variables.scss +35 -0
- package/scss/validator/_layout.scss +1 -25
- package/scss/validator/_theme.scss +1 -6
- package/scss/virtual-scroller/_layout.scss +1 -35
- package/scss/virtual-scroller/_theme.scss +1 -6
- package/scss/window/_layout.scss +1 -173
- package/scss/window/_theme.scss +1 -41
- package/scss/window/_variables.scss +33 -0
- package/scss/wizard/_layout.scss +1 -124
- package/scss/wizard/_theme.scss +1 -12
- package/scss/wizard/_variables.scss +13 -0
|
@@ -51,3 +51,21 @@ $kendo-floating-label-focus-bg: null !default;
|
|
|
51
51
|
/// The text color of the focused Floating Label.
|
|
52
52
|
/// @group floating-label
|
|
53
53
|
$kendo-floating-label-focus-text: null !default;
|
|
54
|
+
|
|
55
|
+
@forward "@progress/kendo-theme-core/scss/components/floating-label/_variables.scss" with (
|
|
56
|
+
$kendo-floating-label-scale: $kendo-floating-label-scale,
|
|
57
|
+
$kendo-floating-label-font-size: $kendo-floating-label-font-size,
|
|
58
|
+
$kendo-floating-label-max-width: $kendo-floating-label-max-width,
|
|
59
|
+
$kendo-floating-label-line-height: $kendo-floating-label-line-height,
|
|
60
|
+
$kendo-floating-label-height: $kendo-floating-label-height,
|
|
61
|
+
$kendo-floating-label-offset-x: $kendo-floating-label-offset-x,
|
|
62
|
+
$kendo-floating-label-offset-y: $kendo-floating-label-offset-y,
|
|
63
|
+
$kendo-floating-label-focus-scale: $kendo-floating-label-focus-scale,
|
|
64
|
+
$kendo-floating-label-focus-offset-x: $kendo-floating-label-focus-offset-x,
|
|
65
|
+
$kendo-floating-label-focus-offset-y: $kendo-floating-label-focus-offset-y,
|
|
66
|
+
$kendo-floating-label-transition: $kendo-floating-label-transition,
|
|
67
|
+
$kendo-floating-label-bg: $kendo-floating-label-bg,
|
|
68
|
+
$kendo-floating-label-text: $kendo-floating-label-text,
|
|
69
|
+
$kendo-floating-label-focus-bg: $kendo-floating-label-focus-bg,
|
|
70
|
+
$kendo-floating-label-focus-text: $kendo-floating-label-focus-text
|
|
71
|
+
);
|
package/scss/forms/_layout.scss
CHANGED
|
@@ -1,382 +1,4 @@
|
|
|
1
|
-
@use "
|
|
2
|
-
@use "../core/_index.scss" as *;
|
|
3
|
-
@use "./_variables.scss" as *;
|
|
4
|
-
@use "../input/_variables.scss" as *;
|
|
5
|
-
|
|
6
|
-
@mixin kendo-form--layout-base() {
|
|
7
|
-
|
|
8
|
-
// Common
|
|
9
|
-
.k-form,
|
|
10
|
-
.k-form-inline {
|
|
11
|
-
font-size: $kendo-form-font-size;
|
|
12
|
-
line-height: $kendo-form-line-height;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
// Fieldset
|
|
17
|
-
.k-fieldset {
|
|
18
|
-
margin: $kendo-fieldset-margin;
|
|
19
|
-
border-width: 1px 0 0;
|
|
20
|
-
border-style: solid;
|
|
21
|
-
padding: 25px 0 0;
|
|
22
|
-
|
|
23
|
-
> legend {
|
|
24
|
-
margin-left: 0;
|
|
25
|
-
padding: $kendo-fieldset-legend-padding;
|
|
26
|
-
text-transform: uppercase;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
// Label
|
|
32
|
-
kendo-label > .k-label {
|
|
33
|
-
margin: 0;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.k-label-optional {
|
|
37
|
-
margin-left: $kendo-label-optional-margin-x;
|
|
38
|
-
font-size: $kendo-label-optional-font-size;
|
|
39
|
-
font-style: $kendo-label-optional-font-style;
|
|
40
|
-
align-self: center;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.k-label-empty {
|
|
44
|
-
&::before {
|
|
45
|
-
content: "";
|
|
46
|
-
display: inline-block;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
// Vertical Form
|
|
53
|
-
.k-form {
|
|
54
|
-
border: 0;
|
|
55
|
-
|
|
56
|
-
.k-form-field > .k-label,
|
|
57
|
-
.k-form-field > kendo-label,
|
|
58
|
-
.k-form-label {
|
|
59
|
-
margin-bottom: $kendo-form-label-margin-bottom;
|
|
60
|
-
display: flex;
|
|
61
|
-
flex-flow: row nowrap;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.k-label + .k-radio {
|
|
65
|
-
margin-left: 0;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.k-form-fieldset {
|
|
69
|
-
margin: $kendo-form-fieldset-margin;
|
|
70
|
-
padding: $kendo-form-fieldset-padding;
|
|
71
|
-
border: 0;
|
|
72
|
-
|
|
73
|
-
> * {
|
|
74
|
-
&:not(.k-hidden):first-child,
|
|
75
|
-
&.k-hidden + :not(.k-hidden) {
|
|
76
|
-
margin-top: 0;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.k-form-legend {
|
|
82
|
-
margin: $kendo-form-legend-margin;
|
|
83
|
-
padding: $kendo-form-legend-padding;
|
|
84
|
-
border-width: $kendo-form-legend-border-width;
|
|
85
|
-
border-style: $kendo-form-legend-border-style;
|
|
86
|
-
width: $kendo-form-legend-width;
|
|
87
|
-
font-size: $kendo-form-legend-font-size;
|
|
88
|
-
text-transform: $kendo-form-legend-text-transform;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
// Form group
|
|
93
|
-
.k-form-group {
|
|
94
|
-
padding: 0;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
> * {
|
|
98
|
-
&:not(.k-hidden):first-child,
|
|
99
|
-
&.k-hidden + :not(.k-hidden) {
|
|
100
|
-
margin-top: 0;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
// Form field
|
|
106
|
-
.k-form-field,
|
|
107
|
-
.k-form-field-wrap {
|
|
108
|
-
display: block;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.k-form-field-disabled {
|
|
112
|
-
.k-label,
|
|
113
|
-
.k-form-label {
|
|
114
|
-
@include disabled( $kendo-disabled-styling... );
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.k-alert-error {
|
|
119
|
-
font-size: var( --kendo-font-size-sm, inherit );
|
|
120
|
-
margin-top: $kendo-form-alert-error-margin;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.k-field-info {
|
|
124
|
-
display: inline-block;
|
|
125
|
-
font-size: var( --kendo-font-size-xs, inherit );
|
|
126
|
-
line-height: 1;
|
|
127
|
-
margin-block: 0;
|
|
128
|
-
margin-inline: $kendo-form-field-info-margin;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
.k-multiselect,
|
|
133
|
-
.k-floating-label-container,
|
|
134
|
-
.k-daterangepicker .k-dateinput,
|
|
135
|
-
.k-signature {
|
|
136
|
-
display: inline-flex;
|
|
137
|
-
width: 100%;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
// Form Buttons Container
|
|
142
|
-
.k-form-buttons {
|
|
143
|
-
@extend .k-actions !optional;
|
|
144
|
-
padding: 0;
|
|
145
|
-
overflow: visible;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
// Form Hint/Error Messages
|
|
149
|
-
.k-form-hint,
|
|
150
|
-
.k-form-error {
|
|
151
|
-
margin-top: $kendo-form-hint-margin-top;
|
|
152
|
-
display: flex;
|
|
153
|
-
font-size: $kendo-form-hint-font-size;
|
|
154
|
-
font-style: $kendo-form-hint-font-style;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.k-text-start,
|
|
158
|
-
.k-buttons-start {
|
|
159
|
-
justify-content: flex-start;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.k-text-end,
|
|
163
|
-
.k-buttons-end {
|
|
164
|
-
justify-content: flex-end;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
// Form Separator
|
|
168
|
-
.k-form-separator {
|
|
169
|
-
margin: $kendo-form-separator-margin;
|
|
170
|
-
border-width: 1px 0 0;
|
|
171
|
-
border-style: solid;
|
|
172
|
-
display: block;
|
|
173
|
-
flex: 0 0 auto;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
// Horizontal Form
|
|
177
|
-
.k-form-horizontal {
|
|
178
|
-
.k-form-field {
|
|
179
|
-
display: flex;
|
|
180
|
-
|
|
181
|
-
> .k-label,
|
|
182
|
-
> kendo-label,
|
|
183
|
-
> .k-form-label {
|
|
184
|
-
margin-right: $kendo-horizontal-form-label-margin-x;
|
|
185
|
-
padding-top: $kendo-horizontal-form-label-padding-top;
|
|
186
|
-
width: $kendo-horizontal-form-label-width;
|
|
187
|
-
text-align: end;
|
|
188
|
-
flex-direction: column;
|
|
189
|
-
align-items: $kendo-horizontal-form-label-align;
|
|
190
|
-
justify-content: flex-start;
|
|
191
|
-
}
|
|
192
|
-
.k-label-optional {
|
|
193
|
-
margin: 0;
|
|
194
|
-
align-self: inherit;
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.k-form-field-wrap {
|
|
199
|
-
max-width: $kendo-horizontal-form-field-wrap-max-width;
|
|
200
|
-
flex: 1 1 auto;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
// RTL Adjustments
|
|
205
|
-
.k-form [dir="rtl"],
|
|
206
|
-
.k-rtl .k-form {
|
|
207
|
-
.k-label-optional {
|
|
208
|
-
margin-left: 0;
|
|
209
|
-
margin-right: $kendo-label-optional-margin-x;
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.k-form-horizontal [dir="rtl"],
|
|
214
|
-
.k-rtl .k-form-horizontal {
|
|
215
|
-
&.k-form-field,
|
|
216
|
-
.k-form-field {
|
|
217
|
-
> .k-label,
|
|
218
|
-
> kendo-label,
|
|
219
|
-
> .k-form-label {
|
|
220
|
-
margin-right: 0;
|
|
221
|
-
margin-left: $kendo-horizontal-form-label-margin-x;
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
// Sizes
|
|
227
|
-
@each $size, $size-props in $kendo-form-sizes {
|
|
228
|
-
$_form-rows-spacing: map.get($size-props, form-rows-spacing);
|
|
229
|
-
|
|
230
|
-
.k-form-#{$size} {
|
|
231
|
-
.k-form-field,
|
|
232
|
-
.k-form-buttons {
|
|
233
|
-
margin-top: $_form-rows-spacing;
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
// Scheduler
|
|
240
|
-
.k-form-inline {
|
|
241
|
-
padding: $kendo-form-spacer;
|
|
242
|
-
|
|
243
|
-
fieldset {
|
|
244
|
-
border-width: 1px 0 0;
|
|
245
|
-
border-style: solid;
|
|
246
|
-
margin: calc( #{$kendo-form-spacer} * 2 ) 0;
|
|
247
|
-
padding: 0;
|
|
248
|
-
|
|
249
|
-
&:first-child:first-of-type {
|
|
250
|
-
margin-top: 0;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
&:last-child:last-of-type {
|
|
254
|
-
margin-bottom: 0;
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
legend {
|
|
259
|
-
font-size: var( --kendo-font-size-sm, inherit );
|
|
260
|
-
text-align: start;
|
|
261
|
-
font-weight: 600;
|
|
262
|
-
line-height: 1;
|
|
263
|
-
margin-bottom: $kendo-fieldset-legend-margin;
|
|
264
|
-
text-transform: uppercase;
|
|
265
|
-
padding: $kendo-fieldset-legend-padding;
|
|
266
|
-
width: auto;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.k-form-field {
|
|
270
|
-
display: flex;
|
|
271
|
-
align-items: flex-start;
|
|
272
|
-
text-align: start;
|
|
273
|
-
margin-bottom: $kendo-fieldset-legend-margin;
|
|
274
|
-
|
|
275
|
-
> span:not(.k-widget) {
|
|
276
|
-
width: $kendo-inline-form-element-width;
|
|
277
|
-
text-align: end;
|
|
278
|
-
line-height: var( --kendo-line-height, normal );
|
|
279
|
-
padding-block: $kendo-inline-form-field-padding-y;
|
|
280
|
-
padding-inline: $kendo-inline-form-field-padding-x;
|
|
281
|
-
align-self: center;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
> input {
|
|
285
|
-
align-self: center;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
> input:not(.k-checkbox):not(.k-radio) {
|
|
289
|
-
flex: 1 1 auto;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
.k-alert-error {
|
|
293
|
-
font-size: var( --kendo-font-size-sm, inherit );
|
|
294
|
-
margin-top: $kendo-form-alert-error-margin;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
.k-field-info {
|
|
298
|
-
display: block;
|
|
299
|
-
font-size: var( --kendo-font-size-xs, inherit );
|
|
300
|
-
line-height: 1;
|
|
301
|
-
margin: 0;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
&:last-child {
|
|
305
|
-
margin-bottom: 0;
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
// Edit form
|
|
314
|
-
.k-edit-form-container {
|
|
315
|
-
width: 400px;
|
|
316
|
-
min-width: 400px;
|
|
317
|
-
border-color: inherit;
|
|
318
|
-
position: relative;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
// Action buttons
|
|
323
|
-
.k-popup-edit-form > .k-actions,
|
|
324
|
-
.k-edit-form-container .k-actions {
|
|
325
|
-
// TODO: refactor
|
|
326
|
-
margin: k-spacing(4) calc(#{k-spacing(4)} * -1) calc(#{k-spacing(4)} * -1);
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
.k-edit-label {
|
|
331
|
-
margin: 0 0 k-spacing(4);
|
|
332
|
-
// TODO: do we need the input variable?
|
|
333
|
-
padding: calc( #{$kendo-input-padding-y} + #{$kendo-input-border-width} ) 0;
|
|
334
|
-
width: 30%;
|
|
335
|
-
line-height: $kendo-form-line-height;
|
|
336
|
-
text-align: end;
|
|
337
|
-
float: left;
|
|
338
|
-
clear: both;
|
|
339
|
-
}
|
|
340
|
-
.k-edit-field {
|
|
341
|
-
margin: 0 0 k-spacing(4);
|
|
342
|
-
width: 65%;
|
|
343
|
-
float: right;
|
|
344
|
-
clear: right;
|
|
345
|
-
position: relative;
|
|
346
|
-
|
|
347
|
-
&.k-no-editor {
|
|
348
|
-
// TODO: do we need the input variable?
|
|
349
|
-
padding: calc( #{$kendo-input-padding-y} + #{$kendo-input-border-width} ) 0;
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
.k-edit-field {
|
|
354
|
-
|
|
355
|
-
> .k-widget {
|
|
356
|
-
width: 100%;
|
|
357
|
-
box-sizing: border-box;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
input[type="radio"]:not(.k-radio),
|
|
361
|
-
input[type="checkbox"]:not(.k-checkbox) {
|
|
362
|
-
margin-right: .4ex;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
.k-radio-label,
|
|
366
|
-
.k-checkbox-label {
|
|
367
|
-
margin-right: k-spacing(4);
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
> .k-reset > li + li {
|
|
371
|
-
margin-top: k-spacing(2);
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
.k-reset .k-widget {
|
|
375
|
-
margin: 0 .4ex 0 1ex;
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
}
|
|
1
|
+
@use "@progress/kendo-theme-core/scss/components/forms/_layout.scss" as *;
|
|
380
2
|
|
|
381
3
|
|
|
382
4
|
@mixin kendo-form--layout() {
|
package/scss/forms/_theme.scss
CHANGED
|
@@ -1,42 +1,4 @@
|
|
|
1
|
-
@use "
|
|
2
|
-
@use "./_variables.scss" as *;
|
|
3
|
-
|
|
4
|
-
@mixin kendo-form--theme-base() {
|
|
5
|
-
|
|
6
|
-
.k-form,
|
|
7
|
-
.k-form-inline {
|
|
8
|
-
@include fill( $color: $kendo-body-text );
|
|
9
|
-
|
|
10
|
-
fieldset {
|
|
11
|
-
legend {
|
|
12
|
-
@include fill( $color: $kendo-fieldset-legend-text );
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.k-form-legend {
|
|
17
|
-
@include fill( $border: $kendo-form-legend-border-color );
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.k-field-info {
|
|
21
|
-
@include fill( $color: $kendo-subtle-text );
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.k-alert-error {
|
|
25
|
-
@include fill( $color: $kendo-color-error );
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.k-form-error,
|
|
30
|
-
.k-text-error,
|
|
31
|
-
.k-form-field-error .k-label {
|
|
32
|
-
@include fill( $color: $kendo-color-error );
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.k-form-separator {
|
|
36
|
-
@include fill( $border: $kendo-form-separator-border-color );
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
}
|
|
1
|
+
@use "@progress/kendo-theme-core/scss/components/forms/_theme.scss" as *;
|
|
40
2
|
|
|
41
3
|
|
|
42
4
|
@mixin kendo-form--theme() {
|
|
@@ -194,3 +194,57 @@ $kendo-form-sizes: (
|
|
|
194
194
|
)
|
|
195
195
|
) !default;
|
|
196
196
|
|
|
197
|
+
|
|
198
|
+
@forward "@progress/kendo-theme-core/scss/components/forms/_variables.scss" with (
|
|
199
|
+
$kendo-form-spacer: $kendo-form-spacer,
|
|
200
|
+
$kendo-form-font-size: $kendo-form-font-size,
|
|
201
|
+
$kendo-form-line-height: $kendo-form-line-height,
|
|
202
|
+
$kendo-form-line-height-em: $kendo-form-line-height-em,
|
|
203
|
+
$kendo-form-sm-line-height: $kendo-form-sm-line-height,
|
|
204
|
+
$kendo-form-lg-line-height: $kendo-form-lg-line-height,
|
|
205
|
+
$kendo-form-fieldset-margin: $kendo-form-fieldset-margin,
|
|
206
|
+
$kendo-form-fieldset-padding: $kendo-form-fieldset-padding,
|
|
207
|
+
$kendo-form-legend-margin: $kendo-form-legend-margin,
|
|
208
|
+
$kendo-form-legend-padding: $kendo-form-legend-padding,
|
|
209
|
+
$kendo-form-legend-border-width: $kendo-form-legend-border-width,
|
|
210
|
+
$kendo-form-legend-border-style: $kendo-form-legend-border-style,
|
|
211
|
+
$kendo-form-legend-border-color: $kendo-form-legend-border-color,
|
|
212
|
+
$kendo-form-legend-width: $kendo-form-legend-width,
|
|
213
|
+
$kendo-form-legend-font-size: $kendo-form-legend-font-size,
|
|
214
|
+
$kendo-form-legend-text-transform: $kendo-form-legend-text-transform,
|
|
215
|
+
$kendo-form-label-margin-bottom: $kendo-form-label-margin-bottom,
|
|
216
|
+
$kendo-form-button-margin-x: $kendo-form-button-margin-x,
|
|
217
|
+
$kendo-form-hint-font-size: $kendo-form-hint-font-size,
|
|
218
|
+
$kendo-form-hint-font-style: $kendo-form-hint-font-style,
|
|
219
|
+
$kendo-form-hint-margin-top: $kendo-form-hint-margin-top,
|
|
220
|
+
$kendo-form-sm-rows-spacing: $kendo-form-sm-rows-spacing,
|
|
221
|
+
$kendo-form-md-rows-spacing: $kendo-form-md-rows-spacing,
|
|
222
|
+
$kendo-form-lg-rows-spacing: $kendo-form-lg-rows-spacing,
|
|
223
|
+
$kendo-form-separator-margin: $kendo-form-separator-margin,
|
|
224
|
+
$kendo-form-separator-border-color: $kendo-form-separator-border-color,
|
|
225
|
+
$kendo-horizontal-form-label-padding-top: $kendo-horizontal-form-label-padding-top,
|
|
226
|
+
$kendo-horizontal-form-label-margin-x: $kendo-horizontal-form-label-margin-x,
|
|
227
|
+
$kendo-horizontal-form-label-width: $kendo-horizontal-form-label-width,
|
|
228
|
+
$kendo-horizontal-form-label-align: $kendo-horizontal-form-label-align,
|
|
229
|
+
$kendo-horizontal-form-field-wrap-max-width: $kendo-horizontal-form-field-wrap-max-width,
|
|
230
|
+
$kendo-inline-form-element-width: $kendo-inline-form-element-width,
|
|
231
|
+
$kendo-inline-form-field-padding-x: $kendo-inline-form-field-padding-x,
|
|
232
|
+
$kendo-inline-form-field-padding-y: $kendo-inline-form-field-padding-y,
|
|
233
|
+
$kendo-forms-invalid-color: $kendo-forms-invalid-color,
|
|
234
|
+
$kendo-label-optional-margin-x: $kendo-label-optional-margin-x,
|
|
235
|
+
$kendo-label-optional-font-size: $kendo-label-optional-font-size,
|
|
236
|
+
$kendo-label-optional-font-style: $kendo-label-optional-font-style,
|
|
237
|
+
$kendo-fieldset-margin: $kendo-fieldset-margin,
|
|
238
|
+
$kendo-fieldset-font-size: $kendo-fieldset-font-size,
|
|
239
|
+
$kendo-fieldset-bg: $kendo-fieldset-bg,
|
|
240
|
+
$kendo-fieldset-text: $kendo-fieldset-text,
|
|
241
|
+
$kendo-fieldset-border: $kendo-fieldset-border,
|
|
242
|
+
$kendo-fieldset-legend-padding: $kendo-fieldset-legend-padding,
|
|
243
|
+
$kendo-fieldset-legend-margin: $kendo-fieldset-legend-margin,
|
|
244
|
+
$kendo-form-alert-error-margin: $kendo-form-alert-error-margin,
|
|
245
|
+
$kendo-form-field-info-margin: $kendo-form-field-info-margin,
|
|
246
|
+
$kendo-fieldset-legend-bg: $kendo-fieldset-legend-bg,
|
|
247
|
+
$kendo-fieldset-legend-text: $kendo-fieldset-legend-text,
|
|
248
|
+
$kendo-fieldset-legend-border: $kendo-fieldset-legend-border,
|
|
249
|
+
$kendo-form-sizes: $kendo-form-sizes
|
|
250
|
+
);
|