@progress/kendo-theme-default 10.2.0-dev.0 → 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 +654 -870
  15. package/dist/meta/sassdoc-raw-data.json +326 -426
  16. package/dist/meta/variables.json +25 -37
  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 -506
  100. package/scss/dataviz/_theme.scss +1 -162
  101. package/scss/dataviz/_variables.scss +107 -5
  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
@@ -1,589 +1,4 @@
1
- @use "sass:map";
2
- @use "../core/_index.scss" as *;
3
- @use "./_variables.scss" as *;
4
- @use "../icons/_variables.scss" as *;
5
-
6
- @mixin kendo-input--layout-base() {
7
-
8
- // Generic input
9
- .k-input,
10
- .k-picker {
11
- @include border-radius( $kendo-input-border-radius );
12
- margin: 0;
13
- padding: 0;
14
- width: $kendo-input-default-width;
15
- min-width: 0;
16
- box-sizing: border-box;
17
- border-width: $kendo-input-border-width;
18
- border-style: solid;
19
- outline: 0;
20
- font-family: $kendo-input-font-family;
21
- font-size: $kendo-input-font-size;
22
- line-height: $kendo-input-line-height;
23
- font-weight: normal;
24
- text-align: start;
25
- box-shadow: none;
26
- display: inline-flex;
27
- flex-flow: row nowrap;
28
- align-items: stretch;
29
- vertical-align: middle;
30
- position: relative;
31
- overflow: hidden;
32
- text-overflow: ellipsis;
33
- -webkit-appearance: none;
34
-
35
- *,
36
- *::before,
37
- *::after {
38
- box-sizing: border-box;
39
- }
40
-
41
- > .k-input,
42
- > .k-picker {
43
- border-width: 0 !important; // stylelint-disable-line declaration-no-important
44
- color: inherit;
45
- background: none;
46
- font: inherit;
47
- outline: 0;
48
- box-shadow: none;
49
- }
50
-
51
- // fix for Safari
52
- & > * {
53
- margin: 0;
54
- }
55
-
56
- &::placeholder {
57
- color: $kendo-input-placeholder-text;
58
- opacity: $kendo-input-placeholder-opacity;
59
- user-select: none;
60
- }
61
- }
62
-
63
- // Input and Textarea
64
- .k-input {}
65
- input.k-input,
66
- textarea.k-textarea {
67
- padding-block: $kendo-input-padding-y;
68
- padding-inline: $kendo-input-padding-x;
69
-
70
- &:disabled,
71
- &[disabled] {
72
- @include disabled( $kendo-disabled-styling... );
73
- }
74
- }
75
-
76
- :is([disabled], .k-disabled) :is(input.k-input, textarea.k-textarea):is(:disabled, [disabled]) {
77
- opacity: 1;
78
- filter: grayscale(0);
79
- }
80
-
81
- textarea.k-textarea {
82
- overflow: auto;
83
- }
84
-
85
-
86
- // Picker
87
- .k-picker {
88
- cursor: pointer;
89
- }
90
- select.k-picker {
91
- padding-block: $kendo-input-padding-y;
92
- padding-inline: $kendo-input-padding-x;
93
- appearance: auto;
94
- align-items: center;
95
-
96
- &:disabled,
97
- &[disabled] {
98
- @include disabled( $kendo-disabled-styling... );
99
- }
100
- }
101
-
102
- :is([disabled], .k-disabled) select.k-picker:is(:disabled, [disabled]) {
103
- opacity: 1;
104
- filter: grayscale(0);
105
- }
106
-
107
-
108
- // Input inner
109
- .k-input-inner {
110
- padding-block: $kendo-input-padding-y;
111
- padding-inline: $kendo-input-padding-x;
112
- width: 100%;
113
- border: 0;
114
- outline: 0;
115
- color: inherit;
116
- background: none;
117
- font: inherit;
118
- flex: 1;
119
- position: relative;
120
- z-index: 1;
121
- overflow: hidden;
122
- text-overflow: ellipsis;
123
- -webkit-appearance: none;
124
-
125
- // Placeholder text
126
- &::placeholder {
127
- color: $kendo-input-placeholder-text;
128
- opacity: $kendo-input-placeholder-opacity;
129
- user-select: none;
130
- }
131
-
132
- // Invalid
133
- &:invalid {
134
- box-shadow: none;
135
- }
136
- }
137
- span.k-input-inner {
138
- white-space: nowrap;
139
- display: flex;
140
- flex-flow: row nowrap;
141
- align-items: center;
142
- }
143
- textarea.k-input-inner {
144
- margin: 0;
145
- }
146
-
147
-
148
- // Input value
149
- .k-input-value-icon {
150
- flex: none;
151
- }
152
- .k-input-value-text {
153
- flex: 1;
154
- overflow: hidden;
155
- text-overflow: ellipsis;
156
- }
157
- .k-input-value-text::before {
158
- content: "\200b";
159
- width: 0px;
160
- overflow: hidden;
161
- flex: none;
162
- display: inline-block;
163
- vertical-align: top;
164
- }
165
-
166
-
167
- // Input multiple values
168
- .k-input-values {
169
- min-width: 0px;
170
- width: 100%;
171
- display: flex;
172
- flex-flow: row wrap;
173
- align-items: center;
174
- cursor: text;
175
- }
176
- .k-input-values .k-chip-list {
177
- display: contents;
178
- }
179
-
180
-
181
- // Icon picker
182
- .k-icon-picker {
183
- .k-input-inner {
184
- padding: $kendo-input-padding-y;
185
- // TODO we need better way
186
- // width: $kendo-input-inner-calc-height;
187
- // height: $kendo-input-inner-calc-height;
188
- justify-content: center;
189
- }
190
- }
191
-
192
-
193
- // Input prefix and suffix
194
- .k-input-prefix,
195
- .k-input-suffix {
196
- border-color: inherit;
197
- display: flex;
198
- align-items: center;
199
- flex: none;
200
-
201
- > * {
202
- flex-shrink: 0;
203
- border: none;
204
- }
205
-
206
- &-vertical {
207
- flex-flow: column wrap;
208
- }
209
-
210
- &-horizontal {
211
- flex-flow: row wrap;
212
- }
213
- }
214
-
215
-
216
- // Input separator
217
- .k-input-separator {
218
- margin: 0;
219
- border-style: solid;
220
- border-color: inherit;
221
- border-width: 0 0 0 1px;
222
- height: $kendo-icon-size;
223
- align-self: center;
224
-
225
- &-horizontal {
226
- height: auto;
227
- margin-inline: $kendo-input-md-padding-y;
228
- align-self: stretch;
229
- border-width: 1px 0 0;
230
- }
231
-
232
- &-vertical {
233
- height: auto;
234
- margin-block: $kendo-input-md-padding-y;
235
- align-self: stretch;
236
- border-width: 0 0 0 1px;
237
- }
238
- }
239
-
240
- // Input group
241
- .k-input-group {
242
- margin: 0;
243
- padding: 0;
244
- border-width: 0;
245
- box-sizing: border-box;
246
- list-style: none;
247
- outline: 0;
248
- display: inline-flex;
249
- flex-flow: row nowrap;
250
- vertical-align: middle;
251
- position: relative;
252
- -webkit-touch-callout: none;
253
- -webkit-tap-highlight-color: $kendo-color-rgba-transparent;
254
-
255
- > .k-input + .k-input {
256
- margin-inline-start: if( $kendo-input-border-width == 0, null, -$kendo-input-border-width );
257
- }
258
-
259
- > .k-input:hover,
260
- > .k-input.k-hover,
261
- > .k-input:focus,
262
- > .k-input:focus-within,
263
- > .k-input.k-focus,
264
- > .k-input:active,
265
- > .k-input.k-active,
266
- > .k-input.k-selected {
267
- z-index: 2;
268
- }
269
-
270
- .k-input:not(:first-child):not(:last-child) {
271
- border-start-end-radius: 0;
272
- border-end-end-radius: 0;
273
- border-start-start-radius: 0;
274
- border-end-start-radius: 0;
275
- }
276
- > .k-input:first-child:not(:only-child) {
277
- border-start-end-radius: 0;
278
- border-end-end-radius: 0;
279
- }
280
- > .k-input:last-child:not(:only-child) {
281
- border-start-start-radius: 0;
282
- border-end-start-radius: 0;
283
- }
284
-
285
- &:disabled,
286
- &[disabled],
287
- &.k-disabled {
288
- opacity: 1;
289
- filter: none;
290
- }
291
- }
292
-
293
- // Input with icon styles
294
- .k-input-icon,
295
- .k-input-validation-icon,
296
- .k-input-loading-icon {
297
- flex: none;
298
- align-self: center;
299
- display: inline-flex;
300
- flex-flow: row nowrap;
301
- align-items: center;
302
- justify-content: center;
303
- box-sizing: content-box;
304
- }
305
-
306
- .k-input-loading-icon {
307
- width: 1em;
308
- height: 1em;
309
- font-size: $kendo-icon-size;
310
- }
311
-
312
- // Input with SVG icon
313
- .k-input-icon,
314
- .k-input-validation-icon,
315
- .k-input-loading-icon {
316
- &.k-svg-icon > svg,
317
- &.k-icon-md > svg {
318
- width: $kendo-icon-size-md;
319
- height: $kendo-icon-size-md;
320
- }
321
-
322
- &.k-icon-xs > svg {
323
- width: $kendo-icon-size-xs;
324
- height: $kendo-icon-size-xs;
325
- }
326
-
327
- &.k-icon-sm > svg {
328
- width: $kendo-icon-size-sm;
329
- height: $kendo-icon-size-sm;
330
- }
331
-
332
- &.k-icon-lg > svg {
333
- width: $kendo-icon-size-lg;
334
- height: $kendo-icon-size-lg;
335
- }
336
-
337
- &.k-icon-xl > svg {
338
- width: $kendo-icon-size-xl;
339
- height: $kendo-icon-size-xl;
340
- }
341
-
342
- &.k-icon-xxl > svg {
343
- width: $kendo-icon-size-xxl;
344
- height: $kendo-icon-size-xxl;
345
- }
346
-
347
- &.k-icon-xxxl > svg {
348
- width: $kendo-icon-size-xxxl;
349
- height: $kendo-icon-size-xxxl;
350
- }
351
- }
352
-
353
-
354
- // Clear value
355
- .k-clear-value {
356
- outline: 0;
357
- color: $kendo-input-clear-value-text;
358
- flex: none;
359
- align-self: center;
360
- display: inline-flex;
361
- align-items: center;
362
- justify-content: center;
363
- cursor: pointer;
364
- opacity: $kendo-input-clear-value-opacity;
365
- }
366
- .k-clear-value:hover,
367
- .k-clear-value.k-hover {
368
- color: $kendo-input-clear-value-hover-text;
369
- opacity: $kendo-input-clear-value-hover-opacity;
370
- }
371
- .k-clear-value:focus-visible {
372
- outline: 1px dotted;
373
- outline-offset: -1px;
374
- }
375
-
376
-
377
- // Input button
378
- .k-input-button {
379
- width: if( $kendo-use-input-button-width, $kendo-input-button-width, auto );
380
- border-width: 0;
381
- border-inline-start-width: $kendo-input-button-border-width;
382
- flex: none;
383
- aspect-ratio: auto;
384
- box-shadow: none;
385
-
386
- > .k-button-icon {
387
- min-width: auto !important; // stylelint-disable-line declaration-no-important
388
- // min-height: auto !important; // stylelint-disable-line declaration-no-important
389
- }
390
-
391
- &:focus {
392
- box-shadow: none;
393
- }
394
- }
395
- .k-picker .k-input-button {
396
- color: inherit;
397
- background: none;
398
- border-color: transparent;
399
- }
400
-
401
-
402
- // Input spinner
403
- .k-input-spinner {
404
- width: if( $kendo-use-input-spinner-width, $kendo-input-spinner-width, auto );
405
- flex: none;
406
- display: flex;
407
- flex-flow: column nowrap;
408
-
409
- .k-spinner-increase,
410
- .k-spinner-decrease {
411
- border-width: 0;
412
- border-inline-start-width: $kendo-input-button-border-width;
413
- flex: 1 1 50%;
414
- box-shadow: none;
415
- position: relative;
416
- aspect-ratio: auto;
417
-
418
- .k-button-icon {
419
- margin-block: -1em;
420
- margin-inline: 0;
421
- min-width: auto !important; // stylelint-disable-line declaration-no-important
422
- min-height: auto !important; // stylelint-disable-line declaration-no-important
423
- }
424
- }
425
- .k-spinner-increase .k-icon {
426
- bottom: if( $kendo-use-input-spinner-icon-offset, calc( -1 * #{$kendo-input-spinner-icon-offset}), auto );
427
- }
428
- .k-spinner-decrease .k-icon {
429
- top: if( $kendo-use-input-spinner-icon-offset, calc( -1 * #{$kendo-input-spinner-icon-offset}), auto );
430
- }
431
- }
432
-
433
-
434
- // Searchbar
435
- .k-searchbar {
436
- flex: 1 1 auto;
437
- display: flex;
438
- flex-flow: row nowrap;
439
- }
440
-
441
-
442
- // Legacy wrappers
443
- .k-picker-wrap,
444
- .k-dropdown-wrap,
445
- .k-dateinput-wrap,
446
- .k-multiselect-wrap,
447
- .k-numeric-wrap {
448
- width: 100%;
449
- border-width: 0;
450
- border-color: inherit;
451
- box-sizing: border-box;
452
- flex: 1 1 auto;
453
- display: flex;
454
- flex-flow: row nowrap;
455
- overflow: hidden;
456
- position: relative;
457
- }
458
-
459
-
460
- // Fill mode
461
- .k-input-flat,
462
- .k-picker-flat {
463
- @include border-bottom-radius( 0 !important ); // stylelint-disable-line declaration-no-important
464
- border-width: $kendo-input-border-width 0;
465
- border-top-color: transparent !important; // stylelint-disable-line declaration-no-important
466
- background-image: none !important; // stylelint-disable-line declaration-no-important
467
- }
468
-
469
- .k-input-outline {
470
- background: none !important; // stylelint-disable-line declaration-no-important
471
- }
472
-
473
-
474
- // Sizing
475
- @each $size, $size-props in $kendo-input-sizes {
476
- $_padding-x: map.get( $size-props, padding-x );
477
- $_padding-y: map.get( $size-props, padding-y );
478
- $_font-size: map.get( $size-props, font-size );
479
- $_line-height: map.get( $size-props, line-height );
480
- $_button-padding-x: map.get( $size-props, button-padding-x );
481
- $_button-padding-y: map.get( $size-props, button-padding-y );
482
-
483
- .k-input-#{$size},
484
- .k-picker-#{$size} {
485
- font-size: $_font-size;
486
- line-height: $_line-height;
487
-
488
- .k-input-values {
489
- padding: calc( #{$_padding-y} /2 );
490
- gap: calc( #{$_padding-y} / 2 );
491
- }
492
- .k-input-values > .k-searchbar,
493
- .k-input-values > .k-input-inner {
494
- margin: calc( calc( #{$_padding-y} / 2 ) * -1 );
495
- }
496
-
497
- .k-input-inner {
498
- padding-block: $_padding-y;
499
- padding-inline: $_padding-x;
500
- }
501
-
502
- .k-input-button,
503
- .k-spinner-increase,
504
- .k-spinner-decrease {
505
- padding-block: $_button-padding-y;
506
- padding-inline: $_button-padding-x;
507
- }
508
-
509
- .k-input-icon,
510
- .k-input-validation-icon,
511
- .k-input-loading-icon,
512
- .k-clear-value,
513
- .k-input-prefix > .k-icon,
514
- .k-input-prefix > .k-input-prefix-text,
515
- .k-input-suffix > .k-icon,
516
- .k-input-suffix > .k-input-suffix-text {
517
- padding-block: $_padding-y;
518
- padding-inline: $_padding-y;
519
- box-sizing: content-box;
520
- }
521
-
522
- .k-input-separator {
523
- &-horizontal {
524
- margin-inline: $_padding-y;
525
- }
526
-
527
- &-vertical {
528
- margin-block: $_padding-y;
529
- }
530
- }
531
-
532
- &.k-icon-picker .k-input-inner {
533
- width: calc( ( #{ $_line-height} * 1em ) );
534
- height: calc( ( #{ $_line-height} * 1em ) );
535
- padding: $_padding-y;
536
- box-sizing: content-box;
537
- }
538
- }
539
- .k-dropdown-operator.k-picker-#{$size} {
540
- .k-input-button {
541
- padding: $_padding-y;
542
- }
543
- }
544
- select.k-picker-#{$size} {
545
- padding-block: $_padding-y;
546
- padding-inline: $_padding-x;
547
- }
548
- }
549
-
550
-
551
- // Angular specific
552
- .k-input > kendo-popup,
553
- .k-picker > kendo-popup {
554
- position: fixed;
555
- }
556
-
557
-
558
-
559
-
560
- // This is needed for the textbox container to capture browser autofill
561
- @keyframes autoFillStart { // stylelint-disable-line
562
- from {}
563
- to {}
564
- }
565
- @keyframes autoFillEnd { // stylelint-disable-line
566
- from {}
567
- to {}
568
- }
569
-
570
- // Generic class for autofill animations
571
- .k-autofill:-webkit-autofill {
572
- animation-name: autoFillStart;
573
- }
574
- .k-autofill:not(:-webkit-autofill) {
575
- animation-name: autoFillEnd;
576
- }
577
-
578
-
579
- .k-input:-webkit-autofill {
580
- animation-name: autoFillStart;
581
- }
582
- .k-input:not(:-webkit-autofill) {
583
- animation-name: autoFillEnd;
584
- }
585
-
586
- }
1
+ @use "@progress/kendo-theme-core/scss/components/input/_layout.scss" as *;
587
2
 
588
3
 
589
4
  @mixin kendo-input--layout() {