@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.
Files changed (354) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/default-blue.css +1 -1
  3. package/dist/default-dataviz-v4.css +1 -1
  4. package/dist/default-green.css +1 -1
  5. package/dist/default-main-dark.css +1 -1
  6. package/dist/default-main.css +1 -1
  7. package/dist/default-nordic.css +1 -1
  8. package/dist/default-ocean-blue-a11y.css +1 -1
  9. package/dist/default-ocean-blue.css +1 -1
  10. package/dist/default-orange.css +1 -1
  11. package/dist/default-purple.css +1 -1
  12. package/dist/default-turquoise.css +1 -1
  13. package/dist/default-urban.css +1 -1
  14. package/dist/meta/sassdoc-data.json +638 -854
  15. package/dist/meta/sassdoc-raw-data.json +318 -418
  16. package/dist/meta/variables.json +21 -21
  17. package/lib/swatches/default-blue.json +1 -1
  18. package/lib/swatches/default-dataviz-v4.json +1 -1
  19. package/lib/swatches/default-green.json +1 -1
  20. package/lib/swatches/default-main-dark.json +1 -1
  21. package/lib/swatches/default-main.json +1 -1
  22. package/lib/swatches/default-nordic.json +1 -1
  23. package/lib/swatches/default-ocean-blue-a11y.json +1 -1
  24. package/lib/swatches/default-ocean-blue.json +1 -1
  25. package/lib/swatches/default-orange.json +1 -1
  26. package/lib/swatches/default-purple.json +1 -1
  27. package/lib/swatches/default-turquoise.json +1 -1
  28. package/lib/swatches/default-urban.json +1 -1
  29. package/package.json +4 -4
  30. package/scss/_variables.scss +0 -11
  31. package/scss/action-buttons/_layout.scss +1 -67
  32. package/scss/action-buttons/_theme.scss +1 -16
  33. package/scss/action-buttons/_variables.scss +12 -0
  34. package/scss/action-sheet/_layout.scss +1 -397
  35. package/scss/action-sheet/_theme.scss +1 -100
  36. package/scss/action-sheet/_variables.scss +69 -0
  37. package/scss/adaptive/_layout.scss +1 -479
  38. package/scss/adaptive/_theme.scss +1 -99
  39. package/scss/adaptive/_variables.scss +21 -0
  40. package/scss/appbar/_layout.scss +1 -115
  41. package/scss/appbar/_theme.scss +1 -31
  42. package/scss/appbar/_variables.scss +19 -0
  43. package/scss/autocomplete/_layout.scss +1 -6
  44. package/scss/autocomplete/_theme.scss +1 -6
  45. package/scss/avatar/_layout.scss +1 -78
  46. package/scss/avatar/_theme.scss +1 -27
  47. package/scss/avatar/_variables.scss +9 -0
  48. package/scss/badge/_layout.scss +1 -149
  49. package/scss/badge/_theme.scss +1 -27
  50. package/scss/badge/_variables.scss +26 -0
  51. package/scss/bottom-navigation/_layout.scss +1 -117
  52. package/scss/bottom-navigation/_theme.scss +1 -57
  53. package/scss/bottom-navigation/_variables.scss +22 -0
  54. package/scss/breadcrumb/_layout.scss +1 -133
  55. package/scss/breadcrumb/_theme.scss +1 -100
  56. package/scss/breadcrumb/_variables.scss +64 -0
  57. package/scss/button/_layout.scss +1 -352
  58. package/scss/button/_theme.scss +1 -333
  59. package/scss/button/_variables.scss +92 -0
  60. package/scss/calendar/_layout.scss +1 -523
  61. package/scss/calendar/_theme.scss +1 -210
  62. package/scss/calendar/_variables.scss +99 -0
  63. package/scss/captcha/_layout.scss +1 -64
  64. package/scss/captcha/_theme.scss +1 -15
  65. package/scss/captcha/_variables.scss +17 -0
  66. package/scss/card/_layout.scss +1 -343
  67. package/scss/card/_theme.scss +1 -103
  68. package/scss/card/_variables.scss +58 -0
  69. package/scss/chart-wizard/_layout.scss +1 -42
  70. package/scss/chart-wizard/_theme.scss +1 -33
  71. package/scss/chart-wizard/_variables.scss +14 -0
  72. package/scss/chat/_layout.scss +1 -470
  73. package/scss/chat/_theme.scss +1 -99
  74. package/scss/chat/_variables.scss +67 -0
  75. package/scss/checkbox/_layout.scss +1 -230
  76. package/scss/checkbox/_theme.scss +1 -104
  77. package/scss/checkbox/_variables.scss +51 -0
  78. package/scss/chip/_layout.scss +1 -164
  79. package/scss/chip/_theme.scss +1 -146
  80. package/scss/chip/_variables.scss +46 -0
  81. package/scss/color-preview/_layout.scss +1 -79
  82. package/scss/color-preview/_theme.scss +1 -20
  83. package/scss/color-preview/_variables.scss +14 -0
  84. package/scss/coloreditor/_layout.scss +1 -117
  85. package/scss/coloreditor/_theme.scss +1 -27
  86. package/scss/coloreditor/_variables.scss +55 -0
  87. package/scss/colorgradient/_layout.scss +1 -233
  88. package/scss/colorgradient/_theme.scss +1 -86
  89. package/scss/colorgradient/_variables.scss +71 -0
  90. package/scss/colorpalette/_layout.scss +1 -71
  91. package/scss/colorpalette/_theme.scss +1 -26
  92. package/scss/colorpalette/_variables.scss +18 -0
  93. package/scss/colorpicker/_layout.scss +1 -13
  94. package/scss/colorpicker/_theme.scss +1 -5
  95. package/scss/combobox/_layout.scss +1 -6
  96. package/scss/combobox/_theme.scss +1 -6
  97. package/scss/core/color-system/_swatch-legacy.scss +76 -15
  98. package/scss/core/motion/index.import.scss +1 -0
  99. package/scss/dataviz/_layout.scss +1 -569
  100. package/scss/dataviz/_theme.scss +1 -115
  101. package/scss/dataviz/_variables.scss +106 -1
  102. package/scss/dateinput/_layout.scss +1 -6
  103. package/scss/dateinput/_theme.scss +1 -6
  104. package/scss/datepicker/_layout.scss +1 -5
  105. package/scss/datepicker/_theme.scss +1 -6
  106. package/scss/daterangepicker/_layout.scss +1 -47
  107. package/scss/daterangepicker/_theme.scss +1 -6
  108. package/scss/daterangepicker/_variables.scss +4 -0
  109. package/scss/datetimepicker/_layout.scss +1 -51
  110. package/scss/datetimepicker/_theme.scss +1 -6
  111. package/scss/datetimepicker/_variables.scss +4 -0
  112. package/scss/dialog/_layout.scss +1 -73
  113. package/scss/dialog/_theme.scss +1 -24
  114. package/scss/dialog/_variables.scss +11 -0
  115. package/scss/dock-manager/_layout.scss +1 -220
  116. package/scss/dock-manager/_theme.scss +1 -45
  117. package/scss/dock-manager/_variables.scss +38 -0
  118. package/scss/draggable/_layout.scss +1 -127
  119. package/scss/draggable/_theme.scss +1 -17
  120. package/scss/draggable/_variables.scss +23 -0
  121. package/scss/drawer/_layout.scss +1 -202
  122. package/scss/drawer/_theme.scss +1 -63
  123. package/scss/drawer/_variables.scss +34 -0
  124. package/scss/dropdowngrid/_layout.scss +1 -15
  125. package/scss/dropdowngrid/_theme.scss +1 -6
  126. package/scss/dropdownlist/_layout.scss +1 -38
  127. package/scss/dropdownlist/_theme.scss +1 -9
  128. package/scss/dropdowntree/_layout.scss +1 -39
  129. package/scss/dropdowntree/_theme.scss +1 -6
  130. package/scss/dropdowntree/_variables.scss +5 -0
  131. package/scss/dropzone/_layout.scss +1 -44
  132. package/scss/dropzone/_theme.scss +1 -36
  133. package/scss/dropzone/_variables.scss +22 -0
  134. package/scss/editor/_layout.scss +1 -648
  135. package/scss/editor/_theme.scss +1 -103
  136. package/scss/editor/_variables.scss +24 -0
  137. package/scss/expansion-panel/_layout.scss +1 -82
  138. package/scss/expansion-panel/_theme.scss +1 -44
  139. package/scss/expansion-panel/_variables.scss +25 -0
  140. package/scss/fab/_layout.scss +1 -145
  141. package/scss/fab/_theme.scss +1 -128
  142. package/scss/fab/_variables.scss +50 -0
  143. package/scss/filemanager/_layout.scss +1 -238
  144. package/scss/filemanager/_theme.scss +1 -112
  145. package/scss/filemanager/_variables.scss +60 -0
  146. package/scss/filter/_layout.scss +1 -93
  147. package/scss/filter/_theme.scss +1 -32
  148. package/scss/filter/_variables.scss +11 -0
  149. package/scss/floating-label/_layout.scss +1 -90
  150. package/scss/floating-label/_theme.scss +1 -30
  151. package/scss/floating-label/_variables.scss +18 -0
  152. package/scss/forms/_layout.scss +1 -379
  153. package/scss/forms/_theme.scss +1 -39
  154. package/scss/forms/_variables.scss +54 -0
  155. package/scss/gantt/_layout.scss +1 -921
  156. package/scss/gantt/_theme.scss +1 -279
  157. package/scss/gantt/_variables.scss +78 -0
  158. package/scss/grid/_layout.scss +1 -1374
  159. package/scss/grid/_theme.scss +1 -450
  160. package/scss/grid/_variables.scss +146 -0
  161. package/scss/gridlayout/_layout.scss +1 -6
  162. package/scss/gridlayout/_theme.scss +1 -6
  163. package/scss/icons/_layout.scss +1 -80
  164. package/scss/icons/_theme.scss +1 -1
  165. package/scss/icons/_variables.scss +13 -0
  166. package/scss/imageeditor/_layout.scss +1 -160
  167. package/scss/imageeditor/_theme.scss +1 -54
  168. package/scss/imageeditor/_variables.scss +34 -0
  169. package/scss/input/_layout.scss +1 -586
  170. package/scss/input/_theme.scss +1 -512
  171. package/scss/input/_variables.scss +139 -7
  172. package/scss/list/_layout.scss +1 -246
  173. package/scss/list/_theme.scss +1 -95
  174. package/scss/list/_variables.scss +87 -0
  175. package/scss/listbox/_layout.scss +1 -86
  176. package/scss/listbox/_theme.scss +1 -20
  177. package/scss/listbox/_variables.scss +18 -0
  178. package/scss/listgroup/_layout.scss +1 -191
  179. package/scss/listgroup/_theme.scss +1 -15
  180. package/scss/listgroup/_variables.scss +13 -0
  181. package/scss/listview/_layout.scss +1 -141
  182. package/scss/listview/_theme.scss +1 -43
  183. package/scss/listview/_variables.scss +21 -0
  184. package/scss/loader/_layout.scss +2 -582
  185. package/scss/loader/_theme.scss +1 -17
  186. package/scss/loader/_variables.scss +40 -0
  187. package/scss/map/_layout.scss +1 -138
  188. package/scss/map/_theme.scss +1 -34
  189. package/scss/map/_variables.scss +24 -0
  190. package/scss/maskedtextbox/_layout.scss +1 -6
  191. package/scss/maskedtextbox/_theme.scss +1 -6
  192. package/scss/mediaplayer/_layout.scss +1 -105
  193. package/scss/mediaplayer/_theme.scss +1 -23
  194. package/scss/mediaplayer/_variables.scss +16 -0
  195. package/scss/menu/_layout.scss +1 -320
  196. package/scss/menu/_theme.scss +1 -140
  197. package/scss/menu/_variables.scss +91 -0
  198. package/scss/menu-button/_layout.scss +1 -32
  199. package/scss/menu-button/_theme.scss +1 -6
  200. package/scss/menu-button/_variables.scss +4 -0
  201. package/scss/messagebox/_layout.scss +1 -23
  202. package/scss/messagebox/_theme.scss +1 -25
  203. package/scss/messagebox/_variables.scss +14 -0
  204. package/scss/multiselect/_layout.scss +1 -6
  205. package/scss/multiselect/_theme.scss +1 -6
  206. package/scss/no-data/_layout.scss +1 -22
  207. package/scss/no-data/_theme.scss +1 -10
  208. package/scss/no-data/_variables.scss +5 -0
  209. package/scss/notification/_functions.scss +17 -0
  210. package/scss/notification/_layout.scss +1 -73
  211. package/scss/notification/_theme.scss +1 -27
  212. package/scss/notification/_variables.scss +19 -14
  213. package/scss/numerictextbox/_layout.scss +1 -10
  214. package/scss/numerictextbox/_theme.scss +1 -6
  215. package/scss/orgchart/_layout.scss +1 -112
  216. package/scss/orgchart/_theme.scss +1 -53
  217. package/scss/orgchart/_variables.scss +47 -0
  218. package/scss/otp/_layout.scss +1 -37
  219. package/scss/otp/_theme.scss +1 -8
  220. package/scss/otp/_variables.scss +16 -0
  221. package/scss/overlay/_layout.scss +1 -16
  222. package/scss/overlay/_theme.scss +1 -17
  223. package/scss/overlay/_variables.scss +6 -0
  224. package/scss/pager/_layout.scss +1 -186
  225. package/scss/pager/_theme.scss +1 -21
  226. package/scss/pager/_variables.scss +48 -0
  227. package/scss/panel/_layout.scss +1 -29
  228. package/scss/panel/_theme.scss +1 -22
  229. package/scss/panel/_variables.scss +13 -0
  230. package/scss/panelbar/_layout.scss +1 -141
  231. package/scss/panelbar/_theme.scss +1 -209
  232. package/scss/panelbar/_variables.scss +86 -0
  233. package/scss/pdf-viewer/_layout.scss +1 -332
  234. package/scss/pdf-viewer/_theme.scss +1 -89
  235. package/scss/pdf-viewer/_variables.scss +43 -3
  236. package/scss/pivotgrid/_layout.scss +1 -654
  237. package/scss/pivotgrid/_theme.scss +1 -245
  238. package/scss/pivotgrid/_variables.scss +87 -0
  239. package/scss/popover/_layout.scss +1 -93
  240. package/scss/popover/_theme.scss +1 -41
  241. package/scss/popover/_variables.scss +29 -0
  242. package/scss/popup/_layout.scss +1 -79
  243. package/scss/popup/_theme.scss +1 -19
  244. package/scss/popup/_variables.scss +15 -0
  245. package/scss/progressbar/_layout.scss +1 -244
  246. package/scss/progressbar/_theme.scss +1 -52
  247. package/scss/progressbar/_variables.scss +25 -0
  248. package/scss/prompt/_layout.scss +1 -73
  249. package/scss/prompt/_theme.scss +1 -39
  250. package/scss/prompt/_variables.scss +23 -0
  251. package/scss/radio/_layout.scss +1 -226
  252. package/scss/radio/_theme.scss +1 -91
  253. package/scss/radio/_variables.scss +48 -0
  254. package/scss/rating/_layout.scss +1 -93
  255. package/scss/rating/_theme.scss +1 -43
  256. package/scss/rating/_variables.scss +19 -0
  257. package/scss/responsivepanel/_layout.scss +1 -47
  258. package/scss/responsivepanel/_theme.scss +1 -5
  259. package/scss/ripple/_layout.scss +1 -51
  260. package/scss/ripple/_theme.scss +1 -5
  261. package/scss/scheduler/_layout.scss +1 -1040
  262. package/scss/scheduler/_theme.scss +1 -236
  263. package/scss/scheduler/_variables.scss +82 -0
  264. package/scss/scroller/_layout.scss +1 -85
  265. package/scss/scroller/_theme.scss +1 -7
  266. package/scss/scrollview/_layout.scss +1 -165
  267. package/scss/scrollview/_theme.scss +1 -91
  268. package/scss/scrollview/_variables.scss +31 -0
  269. package/scss/searchbox/_layout.scss +1 -6
  270. package/scss/searchbox/_theme.scss +1 -6
  271. package/scss/signature/_layout.scss +1 -74
  272. package/scss/signature/_theme.scss +1 -13
  273. package/scss/signature/_variables.scss +27 -0
  274. package/scss/skeleton/_layout.scss +1 -92
  275. package/scss/skeleton/_theme.scss +1 -26
  276. package/scss/skeleton/_variables.scss +9 -0
  277. package/scss/slider/_layout.scss +1 -401
  278. package/scss/slider/_theme.scss +1 -80
  279. package/scss/slider/_variables.scss +40 -0
  280. package/scss/split-button/_layout.scss +1 -36
  281. package/scss/split-button/_theme.scss +1 -12
  282. package/scss/split-button/_variables.scss +12 -0
  283. package/scss/splitter/_layout.scss +1 -191
  284. package/scss/splitter/_theme.scss +1 -38
  285. package/scss/splitter/_variables.scss +22 -0
  286. package/scss/spreadsheet/_layout.scss +1 -905
  287. package/scss/spreadsheet/_theme.scss +1 -211
  288. package/scss/spreadsheet/_variables.scss +86 -0
  289. package/scss/stacklayout/_layout.scss +1 -5
  290. package/scss/stacklayout/_theme.scss +1 -5
  291. package/scss/stepper/_layout.scss +1 -291
  292. package/scss/stepper/_theme.scss +1 -238
  293. package/scss/stepper/_variables.scss +72 -0
  294. package/scss/switch/_layout.scss +1 -159
  295. package/scss/switch/_theme.scss +1 -169
  296. package/scss/switch/_variables.scss +59 -0
  297. package/scss/table/_layout.scss +1 -288
  298. package/scss/table/_theme.scss +1 -88
  299. package/scss/table/_variables.scss +43 -0
  300. package/scss/tabstrip/_layout.scss +1 -494
  301. package/scss/tabstrip/_theme.scss +1 -151
  302. package/scss/tabstrip/_variables.scss +65 -0
  303. package/scss/taskboard/_layout.scss +1 -217
  304. package/scss/taskboard/_theme.scss +1 -111
  305. package/scss/taskboard/_variables.scss +78 -0
  306. package/scss/textarea/_layout.scss +1 -8
  307. package/scss/textarea/_theme.scss +2 -7
  308. package/scss/textbox/_layout.scss +1 -6
  309. package/scss/textbox/_theme.scss +1 -6
  310. package/scss/tilelayout/_layout.scss +1 -47
  311. package/scss/tilelayout/_theme.scss +1 -24
  312. package/scss/tilelayout/_variables.scss +13 -0
  313. package/scss/time-marker/_layout.scss +1 -19
  314. package/scss/time-marker/_theme.scss +1 -21
  315. package/scss/time-marker/_variables.scss +5 -0
  316. package/scss/timedurationpicker/_layout.scss +1 -12
  317. package/scss/timedurationpicker/_theme.scss +1 -6
  318. package/scss/timeline/_layout.scss +1 -445
  319. package/scss/timeline/_theme.scss +1 -72
  320. package/scss/timeline/_variables.scss +53 -0
  321. package/scss/timepicker/_layout.scss +1 -12
  322. package/scss/timepicker/_theme.scss +1 -6
  323. package/scss/timeselector/_layout.scss +1 -260
  324. package/scss/timeselector/_theme.scss +1 -76
  325. package/scss/timeselector/_variables.scss +41 -0
  326. package/scss/toolbar/_layout.scss +1 -352
  327. package/scss/toolbar/_theme.scss +1 -192
  328. package/scss/toolbar/_variables.scss +50 -0
  329. package/scss/tooltip/_functions.scss +17 -0
  330. package/scss/tooltip/_layout.scss +1 -116
  331. package/scss/tooltip/_theme.scss +1 -36
  332. package/scss/tooltip/_variables.scss +20 -14
  333. package/scss/treelist/_layout.scss +1 -109
  334. package/scss/treelist/_theme.scss +1 -13
  335. package/scss/treelist/_variables.scss +5 -0
  336. package/scss/treeview/_layout.scss +1 -199
  337. package/scss/treeview/_theme.scss +1 -82
  338. package/scss/treeview/_variables.scss +52 -0
  339. package/scss/typography/_layout.scss +1 -124
  340. package/scss/typography/_theme.scss +1 -24
  341. package/scss/typography/_variables.scss +80 -0
  342. package/scss/upload/_layout.scss +1 -248
  343. package/scss/upload/_theme.scss +1 -105
  344. package/scss/upload/_variables.scss +35 -0
  345. package/scss/validator/_layout.scss +1 -25
  346. package/scss/validator/_theme.scss +1 -6
  347. package/scss/virtual-scroller/_layout.scss +1 -35
  348. package/scss/virtual-scroller/_theme.scss +1 -6
  349. package/scss/window/_layout.scss +1 -173
  350. package/scss/window/_theme.scss +1 -41
  351. package/scss/window/_variables.scss +33 -0
  352. package/scss/wizard/_layout.scss +1 -124
  353. package/scss/wizard/_theme.scss +1 -12
  354. 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
+ );
@@ -1,382 +1,4 @@
1
- @use "sass:map";
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() {
@@ -1,42 +1,4 @@
1
- @use "../core/_index.scss" as *;
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
+ );