@progress/kendo-theme-default 5.12.1-dev.0 → 5.12.1-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 (396) hide show
  1. package/dist/all.css +23796 -11002
  2. package/dist/all.scss +16749 -14412
  3. package/dist/default-ocean-blue-a11y.scss +42 -0
  4. package/dist/default-ocean-blue.scss +20 -26
  5. package/lib/swatches/default-blue.json +1 -1
  6. package/lib/swatches/default-dataviz-v4.json +1 -1
  7. package/lib/swatches/default-green.json +1 -1
  8. package/lib/swatches/default-main-dark.json +1 -1
  9. package/lib/swatches/default-main.json +1 -1
  10. package/lib/swatches/default-nordic.json +1 -1
  11. package/lib/swatches/default-ocean-blue-a11y.json +272 -0
  12. package/lib/swatches/default-ocean-blue.json +21 -56
  13. package/lib/swatches/default-orange.json +1 -1
  14. package/lib/swatches/default-purple.json +1 -1
  15. package/lib/swatches/default-turquoise.json +1 -1
  16. package/lib/swatches/default-urban.json +1 -1
  17. package/package.json +8 -5
  18. package/scss/_variables.scss +183 -228
  19. package/scss/action-buttons/_index.scss +3 -3
  20. package/scss/action-buttons/_layout.scss +0 -15
  21. package/scss/action-buttons/_variables.scss +4 -4
  22. package/scss/action-sheet/_index.scss +3 -4
  23. package/scss/action-sheet/_layout.scss +1 -1
  24. package/scss/action-sheet/_theme.scss +1 -1
  25. package/scss/action-sheet/_variables.scss +19 -18
  26. package/scss/adaptive/_index.scss +3 -3
  27. package/scss/adaptive/_layout.scss +12 -23
  28. package/scss/adaptive/_theme.scss +1 -1
  29. package/scss/adaptive/_variables.scss +13 -13
  30. package/scss/all.scss +1 -1
  31. package/scss/appbar/_index.scss +3 -3
  32. package/scss/appbar/_layout.scss +9 -9
  33. package/scss/appbar/_theme.scss +7 -7
  34. package/scss/appbar/_variables.scss +16 -16
  35. package/scss/autocomplete/_index.scss +3 -3
  36. package/scss/avatar/_index.scss +3 -3
  37. package/scss/avatar/_theme.scss +1 -1
  38. package/scss/avatar/_variables.scss +3 -3
  39. package/scss/badge/_index.scss +4 -4
  40. package/scss/badge/_layout.scss +6 -6
  41. package/scss/badge/_theme.scss +2 -2
  42. package/scss/badge/_variables.scss +8 -8
  43. package/scss/bottom-navigation/_index.scss +4 -4
  44. package/scss/bottom-navigation/_layout.scss +1 -1
  45. package/scss/bottom-navigation/_theme.scss +4 -12
  46. package/scss/bottom-navigation/_variables.scss +9 -11
  47. package/scss/breadcrumb/_index.scss +3 -3
  48. package/scss/breadcrumb/_layout.scss +3 -3
  49. package/scss/breadcrumb/_theme.scss +15 -15
  50. package/scss/breadcrumb/_variables.scss +26 -24
  51. package/scss/button/_index.scss +3 -4
  52. package/scss/button/_layout.scss +8 -17
  53. package/scss/button/_theme.scss +22 -22
  54. package/scss/button/_variables.scss +23 -14
  55. package/scss/calendar/_index.scss +3 -3
  56. package/scss/calendar/_layout.scss +8 -19
  57. package/scss/calendar/_theme.scss +5 -19
  58. package/scss/calendar/_variables.scss +42 -39
  59. package/scss/captcha/_index.scss +4 -4
  60. package/scss/captcha/_variables.scss +5 -5
  61. package/scss/card/_index.scss +5 -6
  62. package/scss/card/_layout.scss +1 -18
  63. package/scss/card/_theme.scss +5 -5
  64. package/scss/card/_variables.scss +18 -18
  65. package/scss/chat/_index.scss +3 -3
  66. package/scss/chat/_layout.scss +3 -3
  67. package/scss/chat/_theme.scss +1 -1
  68. package/scss/chat/_variables.scss +21 -21
  69. package/scss/checkbox/_index.scss +3 -5
  70. package/scss/checkbox/_layout.scss +5 -5
  71. package/scss/checkbox/_theme.scss +2 -2
  72. package/scss/checkbox/_variables.scss +23 -20
  73. package/scss/chip/_index.scss +3 -4
  74. package/scss/chip/_layout.scss +4 -29
  75. package/scss/chip/_theme.scss +24 -24
  76. package/scss/chip/_variables.scss +28 -20
  77. package/scss/color-preview/_index.scss +3 -3
  78. package/scss/color-preview/_layout.scss +1 -1
  79. package/scss/color-preview/_variables.scss +5 -5
  80. package/scss/coloreditor/_index.scss +3 -3
  81. package/scss/coloreditor/_theme.scss +1 -1
  82. package/scss/coloreditor/_variables.scss +6 -6
  83. package/scss/colorgradient/_index.scss +6 -6
  84. package/scss/colorgradient/_layout.scss +4 -5
  85. package/scss/colorgradient/_theme.scss +9 -9
  86. package/scss/colorgradient/_variables.scss +11 -11
  87. package/scss/colorpalette/_index.scss +4 -4
  88. package/scss/colorpalette/_layout.scss +1 -2
  89. package/scss/colorpalette/_theme.scss +1 -1
  90. package/scss/colorpalette/_variables.scss +1 -1
  91. package/scss/colorpicker/_index.scss +3 -3
  92. package/scss/combobox/_index.scss +3 -3
  93. package/scss/common/_base.scss +24 -97
  94. package/scss/common/_index.scss +5 -9
  95. package/scss/common/_selection.scss +4 -4
  96. package/scss/core/_index.scss +18 -8
  97. package/scss/core/color-system/index.import.scss +1 -0
  98. package/scss/core/functions/index.import.scss +1 -0
  99. package/scss/core/mixins/index.import.scss +1 -0
  100. package/scss/core/module-system/index.import.scss +1 -0
  101. package/scss/core/styles/index.import.scss +1 -0
  102. package/scss/dataviz/_index.scss +3 -4
  103. package/scss/dataviz/_layout.scss +30 -40
  104. package/scss/dataviz/_theme.scss +15 -13
  105. package/scss/dataviz/_variables.scss +45 -40
  106. package/scss/dateinput/_index.scss +3 -3
  107. package/scss/datepicker/_index.scss +3 -3
  108. package/scss/daterangepicker/_index.scss +3 -3
  109. package/scss/daterangepicker/_layout.scss +1 -1
  110. package/scss/datetimepicker/_index.scss +3 -3
  111. package/scss/dialog/_index.scss +3 -3
  112. package/scss/dialog/_layout.scss +6 -21
  113. package/scss/dialog/_theme.scss +11 -3
  114. package/scss/dialog/_variables.scss +15 -7
  115. package/scss/draggable/_index.scss +10 -0
  116. package/scss/draggable/_layout.scss +122 -0
  117. package/scss/draggable/_theme.scss +14 -0
  118. package/scss/draggable/_variables.scss +27 -0
  119. package/scss/drawer/_index.scss +3 -3
  120. package/scss/drawer/_layout.scss +23 -22
  121. package/scss/drawer/_theme.scss +18 -18
  122. package/scss/drawer/_variables.scss +38 -37
  123. package/scss/dropdowngrid/_index.scss +6 -8
  124. package/scss/dropdowngrid/_variables.scss +1 -0
  125. package/scss/dropdownlist/_index.scss +3 -3
  126. package/scss/dropdownlist/_layout.scss +2 -0
  127. package/scss/dropdownlist/_variables.scss +0 -15
  128. package/scss/dropdowntree/_index.scss +3 -3
  129. package/scss/dropdowntree/_variables.scss +2 -2
  130. package/scss/dropzone/_index.scss +3 -3
  131. package/scss/dropzone/_variables.scss +9 -8
  132. package/scss/editor/_index.scss +3 -3
  133. package/scss/editor/_layout.scss +76 -153
  134. package/scss/editor/_theme.scss +24 -16
  135. package/scss/editor/_variables.scss +16 -16
  136. package/scss/expansion-panel/_index.scss +5 -5
  137. package/scss/expansion-panel/_layout.scss +1 -1
  138. package/scss/expansion-panel/_theme.scss +3 -3
  139. package/scss/expansion-panel/_variables.scss +13 -13
  140. package/scss/fab/_index.scss +4 -4
  141. package/scss/fab/_layout.scss +5 -14
  142. package/scss/fab/_theme.scss +27 -19
  143. package/scss/fab/_variables.scss +11 -11
  144. package/scss/filemanager/_index.scss +3 -3
  145. package/scss/filemanager/_layout.scss +3 -3
  146. package/scss/filemanager/_variables.scss +14 -14
  147. package/scss/filter/_index.scss +3 -3
  148. package/scss/filter/_theme.scss +3 -3
  149. package/scss/filter/_variables.scss +4 -4
  150. package/scss/floating-label/_index.scss +3 -3
  151. package/scss/forms/_index.scss +3 -7
  152. package/scss/forms/_layout.scss +64 -53
  153. package/scss/forms/_theme.scss +7 -7
  154. package/scss/forms/_variables.scss +66 -44
  155. package/scss/gantt/_index.scss +3 -3
  156. package/scss/gantt/_layout.scss +27 -18
  157. package/scss/gantt/_theme.scss +3 -3
  158. package/scss/gantt/_variables.scss +32 -28
  159. package/scss/grid/_index.scss +7 -5
  160. package/scss/grid/_layout.scss +394 -615
  161. package/scss/grid/_theme.scss +154 -165
  162. package/scss/grid/_variables.scss +193 -95
  163. package/scss/icons/_index.scss +2 -2
  164. package/scss/icons/_layout.scss +6 -1094
  165. package/scss/imageeditor/_index.scss +3 -3
  166. package/scss/imageeditor/_layout.scss +4 -19
  167. package/scss/imageeditor/_variables.scss +6 -6
  168. package/scss/index.scss +109 -110
  169. package/scss/input/_index.scss +3 -3
  170. package/scss/input/_layout.scss +26 -32
  171. package/scss/input/_theme.scss +30 -30
  172. package/scss/input/_variables.scss +19 -19
  173. package/scss/list/_index.scss +3 -3
  174. package/scss/list/_layout.scss +19 -29
  175. package/scss/list/_theme.scss +2 -2
  176. package/scss/list/_variables.scss +32 -32
  177. package/scss/listbox/_index.scss +3 -3
  178. package/scss/listbox/_layout.scss +24 -62
  179. package/scss/listbox/_theme.scss +4 -4
  180. package/scss/listbox/_variables.scss +45 -16
  181. package/scss/listgroup/_index.scss +3 -3
  182. package/scss/listgroup/_variables.scss +5 -5
  183. package/scss/listview/_index.scss +5 -5
  184. package/scss/listview/_layout.scss +16 -17
  185. package/scss/listview/_theme.scss +15 -10
  186. package/scss/listview/_variables.scss +19 -19
  187. package/scss/loader/_index.scss +3 -3
  188. package/scss/loader/_layout.scss +184 -43
  189. package/scss/loader/_theme.scss +4 -4
  190. package/scss/loader/_variables.scss +49 -42
  191. package/scss/map/_index.scss +5 -5
  192. package/scss/map/_layout.scss +1 -1
  193. package/scss/map/_variables.scss +10 -10
  194. package/scss/maskedtextbox/_index.scss +3 -3
  195. package/scss/mediaplayer/_index.scss +3 -3
  196. package/scss/mediaplayer/_layout.scss +2 -2
  197. package/scss/mediaplayer/_variables.scss +5 -5
  198. package/scss/menu/_index.scss +3 -3
  199. package/scss/menu/_layout.scss +4 -4
  200. package/scss/menu/_theme.scss +2 -2
  201. package/scss/menu/_variables.scss +28 -24
  202. package/scss/menu-button/_index.scss +3 -3
  203. package/scss/messagebox/_index.scss +3 -3
  204. package/scss/messagebox/_theme.scss +3 -3
  205. package/scss/messagebox/_variables.scss +3 -3
  206. package/scss/multiselect/_index.scss +3 -4
  207. package/scss/notification/_index.scss +3 -3
  208. package/scss/notification/_layout.scss +28 -45
  209. package/scss/notification/_theme.scss +7 -15
  210. package/scss/notification/_variables.scss +42 -18
  211. package/scss/numerictextbox/_index.scss +3 -3
  212. package/scss/orgchart/_index.scss +4 -4
  213. package/scss/orgchart/_theme.scss +2 -2
  214. package/scss/orgchart/_variables.scss +7 -7
  215. package/scss/overlay/_index.scss +3 -3
  216. package/scss/overlay/_variables.scss +1 -1
  217. package/scss/pager/_index.scss +4 -5
  218. package/scss/pager/_layout.scss +55 -81
  219. package/scss/pager/_theme.scss +16 -97
  220. package/scss/pager/_variables.scss +135 -52
  221. package/scss/panelbar/_index.scss +3 -3
  222. package/scss/panelbar/_layout.scss +5 -46
  223. package/scss/panelbar/_theme.scss +50 -50
  224. package/scss/panelbar/_variables.scss +71 -67
  225. package/scss/pdf-viewer/_index.scss +4 -5
  226. package/scss/pdf-viewer/_layout.scss +1 -12
  227. package/scss/pdf-viewer/_variables.scss +18 -17
  228. package/scss/pivotgrid/_index.scss +8 -7
  229. package/scss/pivotgrid/_layout.scss +11 -63
  230. package/scss/pivotgrid/_theme.scss +7 -7
  231. package/scss/pivotgrid/_variables.scss +35 -32
  232. package/scss/popover/_index.scss +3 -3
  233. package/scss/popover/_layout.scss +20 -18
  234. package/scss/popover/_theme.scss +7 -7
  235. package/scss/popover/_variables.scss +26 -26
  236. package/scss/popup/_index.scss +3 -3
  237. package/scss/popup/_variables.scss +5 -5
  238. package/scss/progressbar/_index.scss +3 -3
  239. package/scss/progressbar/_layout.scss +38 -87
  240. package/scss/progressbar/_theme.scss +20 -10
  241. package/scss/progressbar/_variables.scss +66 -22
  242. package/scss/radio/_index.scss +3 -6
  243. package/scss/radio/_layout.scss +5 -5
  244. package/scss/radio/_theme.scss +2 -2
  245. package/scss/radio/_variables.scss +16 -12
  246. package/scss/rating/_index.scss +3 -3
  247. package/scss/rating/_layout.scss +1 -1
  248. package/scss/rating/_theme.scss +4 -4
  249. package/scss/rating/_variables.scss +13 -12
  250. package/scss/responsivepanel/_index.scss +3 -3
  251. package/scss/ripple/_index.scss +3 -3
  252. package/scss/scheduler/_index.scss +3 -3
  253. package/scss/scheduler/_layout.scss +22 -41
  254. package/scss/scheduler/_theme.scss +9 -9
  255. package/scss/scheduler/_variables.scss +33 -33
  256. package/scss/scroller/_index.scss +3 -3
  257. package/scss/scrollview/_index.scss +3 -3
  258. package/scss/scrollview/_layout.scss +3 -2
  259. package/scss/scrollview/_theme.scss +2 -2
  260. package/scss/scrollview/_variables.scss +6 -6
  261. package/scss/searchbox/_index.scss +3 -3
  262. package/scss/signature/_index.scss +3 -3
  263. package/scss/signature/_layout.scss +4 -4
  264. package/scss/signature/_variables.scss +8 -8
  265. package/scss/skeleton/_index.scss +3 -3
  266. package/scss/skeleton/_layout.scss +7 -0
  267. package/scss/skeleton/_variables.scss +1 -1
  268. package/scss/slider/_index.scss +5 -5
  269. package/scss/slider/_layout.scss +5 -5
  270. package/scss/slider/_theme.scss +9 -9
  271. package/scss/slider/_variables.scss +13 -13
  272. package/scss/split-button/_index.scss +3 -3
  273. package/scss/split-button/_layout.scss +0 -10
  274. package/scss/split-button/_theme.scss +1 -1
  275. package/scss/splitter/_index.scss +3 -3
  276. package/scss/splitter/_layout.scss +1 -5
  277. package/scss/splitter/_variables.scss +6 -6
  278. package/scss/spreadsheet/_index.scss +4 -4
  279. package/scss/spreadsheet/_layout.scss +19 -23
  280. package/scss/spreadsheet/_theme.scss +23 -23
  281. package/scss/spreadsheet/_variables.scss +9 -9
  282. package/scss/stepper/_index.scss +3 -3
  283. package/scss/stepper/_layout.scss +5 -6
  284. package/scss/stepper/_theme.scss +5 -6
  285. package/scss/stepper/_variables.scss +15 -15
  286. package/scss/switch/_index.scss +4 -4
  287. package/scss/switch/_layout.scss +12 -13
  288. package/scss/switch/_theme.scss +10 -2
  289. package/scss/switch/_variables.scss +6 -6
  290. package/scss/table/_index.scss +3 -11
  291. package/scss/table/_layout.scss +9 -7
  292. package/scss/table/_theme.scss +12 -9
  293. package/scss/table/_variables.scss +42 -27
  294. package/scss/tabstrip/_index.scss +3 -3
  295. package/scss/tabstrip/_layout.scss +3 -6
  296. package/scss/tabstrip/_theme.scss +7 -7
  297. package/scss/tabstrip/_variables.scss +23 -19
  298. package/scss/taskboard/_index.scss +4 -4
  299. package/scss/taskboard/_layout.scss +0 -23
  300. package/scss/taskboard/_theme.scss +2 -2
  301. package/scss/taskboard/_variables.scss +20 -20
  302. package/scss/textarea/_index.scss +3 -3
  303. package/scss/textbox/_index.scss +3 -3
  304. package/scss/tilelayout/_index.scss +3 -3
  305. package/scss/tilelayout/_layout.scss +1 -1
  306. package/scss/tilelayout/_theme.scss +1 -1
  307. package/scss/tilelayout/_variables.scss +1 -1
  308. package/scss/timedurationpicker/_index.scss +4 -4
  309. package/scss/timeline/_index.scss +3 -3
  310. package/scss/timeline/_layout.scss +4 -4
  311. package/scss/timeline/_theme.scss +3 -3
  312. package/scss/timeline/_variables.scss +10 -10
  313. package/scss/timepicker/_index.scss +3 -3
  314. package/scss/timeselector/_index.scss +3 -3
  315. package/scss/timeselector/_layout.scss +8 -8
  316. package/scss/timeselector/_theme.scss +5 -3
  317. package/scss/timeselector/_variables.scss +12 -8
  318. package/scss/toolbar/_index.scss +3 -3
  319. package/scss/toolbar/_layout.scss +88 -93
  320. package/scss/toolbar/_theme.scss +36 -27
  321. package/scss/toolbar/_variables.scss +77 -19
  322. package/scss/tooltip/_index.scss +3 -3
  323. package/scss/tooltip/_layout.scss +3 -3
  324. package/scss/tooltip/_variables.scss +14 -14
  325. package/scss/treelist/_index.scss +4 -4
  326. package/scss/treelist/_layout.scss +10 -10
  327. package/scss/treelist/_theme.scss +1 -1
  328. package/scss/treelist/_variables.scss +2 -2
  329. package/scss/treeview/_index.scss +3 -3
  330. package/scss/treeview/_layout.scss +13 -13
  331. package/scss/treeview/_theme.scss +2 -2
  332. package/scss/treeview/_variables.scss +17 -14
  333. package/scss/typography/_index.scss +3 -4
  334. package/scss/typography/_theme.scss +2 -2
  335. package/scss/typography/_variables.scss +4 -40
  336. package/scss/upload/_index.scss +3 -4
  337. package/scss/upload/_layout.scss +37 -221
  338. package/scss/upload/_theme.scss +37 -73
  339. package/scss/upload/_variables.scss +35 -35
  340. package/scss/utils/_index.scss +1 -20
  341. package/scss/validator/_index.scss +3 -3
  342. package/scss/virtual-scroller/_index.scss +3 -3
  343. package/scss/window/_index.scss +3 -3
  344. package/scss/window/_layout.scss +28 -29
  345. package/scss/window/_theme.scss +17 -9
  346. package/scss/window/_variables.scss +41 -29
  347. package/scss/wizard/_index.scss +3 -3
  348. package/scss/wizard/_layout.scss +1 -1
  349. package/scss/wizard/_theme.scss +1 -7
  350. package/scss/wizard/_variables.scss +4 -5
  351. package/scss/common/_loading.scss +0 -140
  352. package/scss/core/_asp-fallback.scss +0 -8
  353. package/scss/core/_color-system.scss +0 -56
  354. package/scss/core/_extra.scss +0 -26
  355. package/scss/core/_layout.scss +0 -68
  356. package/scss/core/_normalize.scss +0 -15
  357. package/scss/core/functions/_colors.scss +0 -424
  358. package/scss/core/functions/_index.scss +0 -3
  359. package/scss/core/functions/_math.scss +0 -21
  360. package/scss/core/functions/_misc.scss +0 -35
  361. package/scss/core/mixins/_border-radius.scss +0 -58
  362. package/scss/core/mixins/_box-shadow.scss +0 -5
  363. package/scss/core/mixins/_data-uri.scss +0 -16
  364. package/scss/core/mixins/_decoration.scss +0 -27
  365. package/scss/core/mixins/_disabled.scss +0 -16
  366. package/scss/core/mixins/_gradients.scss +0 -35
  367. package/scss/core/mixins/_hide-scrollbar.scss +0 -17
  368. package/scss/core/mixins/_import-once.scss +0 -14
  369. package/scss/core/mixins/_index.scss +0 -15
  370. package/scss/core/mixins/_module-system.scss +0 -149
  371. package/scss/core/mixins/_typography.scss +0 -17
  372. package/scss/cursor/_index.scss +0 -9
  373. package/scss/cursor/_layout.scss +0 -9
  374. package/scss/cursor/_theme.scss +0 -3
  375. package/scss/icons/font/WebComponentsIcons.scss +0 -3
  376. package/scss/icons/font/WebComponentsIcons.ttf +0 -0
  377. package/scss/styling/_index.scss +0 -5
  378. package/scss/utils/_aspect-ratio.scss +0 -27
  379. package/scss/utils/_border.scss +0 -109
  380. package/scss/utils/_display.scss +0 -41
  381. package/scss/utils/_flex.scss +0 -189
  382. package/scss/utils/_float.scss +0 -69
  383. package/scss/utils/_grid.scss +0 -47
  384. package/scss/utils/_order.scss +0 -46
  385. package/scss/utils/_overflow.scss +0 -71
  386. package/scss/utils/_pointer-events.scss +0 -25
  387. package/scss/utils/_position.scss +0 -182
  388. package/scss/utils/_resize.scss +0 -37
  389. package/scss/utils/_spacer.scss +0 -16
  390. package/scss/utils/_spacing.scss +0 -138
  391. package/scss/utils/_table-layout.scss +0 -17
  392. package/scss/utils/_text.scss +0 -128
  393. package/scss/utils/_theme-colors.scss +0 -47
  394. package/scss/utils/_touch-action.scss +0 -25
  395. package/scss/utils/_transform.scss +0 -105
  396. package/scss/utils/_user-select.scss +0 -40
@@ -1,182 +0,0 @@
1
- @include exports( "utils/position" ) {
2
-
3
- // Position documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/position.
4
-
5
- /// @name k-pos-static
6
- /// @description This is equivalent to `position: static;`. The element is positioned according to the normal flow of the document. The top, right, bottom, left, and z-index properties have no effect. This is the default value.
7
- /// @group position
8
-
9
- /// @name k-pos-relative
10
- /// @description This is equivalent to `position: relative;`. The element is positioned according to the normal flow of the document, and then offset relative to itself based on the values of top, right, bottom, and left. The offset does not affect the position of any other elements; thus, the space given for the element in the page layout is the same as if position were static.
11
- /// @group position
12
-
13
- /// @name k-pos-absolute
14
- /// @description This is equivalent to `position: absolute;`. The element is removed from the normal document flow, and no space is created for the element in the page layout. It is positioned relative to its closest positioned ancestor, if any; otherwise, it is placed relative to the initial containing block. Its final position is determined by the values of top, right, bottom, and left.
15
- /// @group position
16
-
17
- /// @name k-pos-fixed
18
- /// @description This is equivalent to `position: fixed;`. The element is removed from the normal document flow, and no space is created for the element in the page layout. It is positioned relative to the initial containing block established by the viewport, except when one of its ancestors has a transform, perspective, or filter property set to something other than none (see the CSS Transforms Spec), in which case that ancestor behaves as the containing block. (Note that there are browser inconsistencies with perspective and filter contributing to containing block formation.) Its final position is determined by the values of top, right, bottom, and left.
19
- /// @group position
20
-
21
- /// @name k-pos-sticky
22
- /// @description This is equivalent to `position: sticky;`. The element is positioned according to the normal flow of the document, and then offset relative to its nearest scrolling ancestor and containing block (nearest block-level ancestor), including table-related elements, based on the values of top, right, bottom, and left. The offset does not affect the position of any other elements.
23
- /// @group position
24
-
25
- @each $pos in (static, relative, absolute, fixed, sticky) {
26
- .k-#{$pos},
27
- .k-pos-#{$pos} { position: $pos !important; } // sass-lint:disable-line brace-style no-important
28
-
29
- .\!k-#{$pos},
30
- .\!k-pos-#{$pos} { position: $pos !important; } // sass-lint:disable-line brace-style no-important
31
- }
32
-
33
- /// @name k-pos-top
34
- /// @description This is equivalent to `top: 0;`.
35
- /// @group position
36
-
37
- /// @name k-pos-right
38
- /// @description This is equivalent to `right: 0;`.
39
- /// @group position
40
-
41
- /// @name k-pos-bottom
42
- /// @description This is equivalent to `bottom: 0;`.
43
- /// @group position
44
-
45
- /// @name k-pos-left
46
- /// @description This is equivalent to `left: 0;`.
47
- /// @group position
48
-
49
- @each $side in (top, right, bottom, left) {
50
- .k-#{$side},
51
- .k-pos-#{$side} { #{$side}: 0; } // sass-lint:disable-line brace-style
52
- }
53
-
54
- /// @name k-pos-top-start
55
- /// @description This is equivalent to `top: 0; left: 0;`.
56
- /// @group position
57
- .k-top-start,
58
- .k-pos-top-start {
59
- top: 0;
60
- left: 0;
61
-
62
- .k-rtl &,
63
- &[dir="rtl"],
64
- [dir="rtl"] & {
65
- left: auto;
66
- right: 0;
67
- }
68
- }
69
-
70
- /// @name k-pos-top-center
71
- /// @description This is equivalent to `top: 0; left: 50%; transform: translateX(-50%);`.
72
- /// @group position
73
- .k-top-center,
74
- .k-pos-top-center {
75
- top: 0;
76
- left: 50%;
77
- transform: translateX(-50%);
78
- }
79
-
80
- /// @name k-pos-top-end
81
- /// @description This is equivalent to `top: 0; right: 0;`.
82
- /// @group position
83
- .k-top-end,
84
- .k-pos-top-end {
85
- top: 0;
86
- right: 0;
87
-
88
- .k-rtl &,
89
- &[dir="rtl"],
90
- [dir="rtl"] & {
91
- right: auto;
92
- left: 0;
93
- }
94
- }
95
-
96
- /// @name k-pos-middle-start
97
- /// @description This is equivalent to `top: 50%; left: 0; transform: translateY(-50%);`.
98
- /// @group position
99
- .k-middle-start,
100
- .k-pos-middle-start {
101
- top: 50%;
102
- left: 0;
103
- transform: translateY(-50%);
104
-
105
- .k-rtl &,
106
- &[dir="rtl"],
107
- [dir="rtl"] & {
108
- left: auto;
109
- right: 0;
110
- }
111
- }
112
-
113
- /// @name k-pos-middle-center
114
- /// @description This is equivalent to `top: 50%; left: 50%; transform: translate(-50%, -50%);`.
115
- /// @group position
116
- .k-middle-center,
117
- .k-pos-middle-center {
118
- top: 50%;
119
- left: 50%;
120
- transform: translate(-50%, -50%);
121
- }
122
-
123
- /// @name k-pos-middle-end
124
- /// @description This is equivalent to `top: 50%; right: 0; transform: translateY(-50%);`.
125
- /// @group position
126
- .k-middle-end,
127
- .k-pos-middle-end {
128
- top: 50%;
129
- right: 0;
130
- transform: translateY(-50%);
131
-
132
- .k-rtl &,
133
- &[dir="rtl"],
134
- [dir="rtl"] & {
135
- right: auto;
136
- left: 0;
137
- }
138
- }
139
-
140
- /// @name k-pos-bottom-start
141
- /// @description This is equivalent to `bottom: 0; left: 0;`.
142
- /// @group position
143
- .k-bottom-start,
144
- .k-pos-bottom-start {
145
- bottom: 0;
146
- left: 0;
147
-
148
- .k-rtl &,
149
- &[dir="rtl"],
150
- [dir="rtl"] & {
151
- left: auto;
152
- right: 0;
153
- }
154
- }
155
-
156
- /// @name k-pos-bottom-center
157
- /// @description This is equivalent to `bottom: 0; left: 50%; translateX(-50%);`.
158
- /// @group position
159
- .k-bottom-center,
160
- .k-pos-bottom-center {
161
- bottom: 0;
162
- left: 50%;
163
- transform: translateX(-50%);
164
- }
165
-
166
- /// @name k-pos-bottom-end
167
- /// @description This is equivalent to `bottom: 0; right: 0;`.
168
- /// @group position
169
- .k-bottom-end,
170
- .k-pos-bottom-end {
171
- bottom: 0;
172
- right: 0;
173
-
174
- .k-rtl &,
175
- &[dir="rtl"],
176
- [dir="rtl"] & {
177
- right: auto;
178
- left: 0;
179
- }
180
- }
181
-
182
- }
@@ -1,37 +0,0 @@
1
- @include exports( "utils/resize" ) {
2
-
3
- // Resize documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/resize.
4
-
5
- // @name k-resize-none
6
- // @description This is equivalent to `resize: none;`. The element offers no user-controllable method for resizing it.
7
- // @group resize
8
-
9
- // @name k-resize-both
10
- // @description This is equivalent to `resize: both;`. The element displays a mechanism for allowing the user to resize it, which may be resized both horizontally and vertically.
11
- // @group resize
12
-
13
- // @name k-resize-horizontal
14
- // @description This is equivalent to `resize: horizontal;`. The element displays a mechanism for allowing the user to resize it in the horizontal direction.
15
- // @group resize
16
-
17
- // @name k-resize-vertical
18
- // @description This is equivalent to `resize: vertical;`. The element displays a mechanism for allowing the user to resize it in the vertical direction.
19
- // @group resize
20
-
21
- $utils-resize: (
22
- none,
23
- both,
24
- horizontal,
25
- vertical
26
- ) !default;
27
-
28
- @if $utils-resize {
29
- @each $resize in $utils-resize {
30
- .k-resize-#{$resize} { resize: $resize; }
31
-
32
- // sass-lint:disable-block no-important
33
- .\!k-resize-#{$resize} { resize: $resize !important; }
34
- }
35
- }
36
-
37
- }
@@ -1,16 +0,0 @@
1
- @include exports( "utils/spacer" ) {
2
-
3
- /// @name k-spacer
4
- /// @description This is equivalent to `flex: 1 0 auto;`. If every other element has a fixed size in a flex container, the spacer will take up the remaining space.
5
- /// @group spacer
6
- .k-spacer {
7
- flex: 1 0 auto;
8
- }
9
-
10
- /// @name k-spacer-sized
11
- /// @description This is equivalent to `flex-grow: 0;`. The spacer will not take any of the remaining space in a flex container.
12
- /// @group spacer
13
- .k-spacer-sized {
14
- flex-grow: 0;
15
- }
16
- }
@@ -1,138 +0,0 @@
1
- @include exports( "utils/spacing" ) {
2
-
3
- // sass-lint:disable-block no-important
4
- // sass-lint:disable-block indentation
5
-
6
- // @name Available Padding and Margin Values
7
- // @description From `0`(0) to `24`(96px or 6rem), `xs`(4px or .25rem), `sm`(8px or .5rem), `md`(12px or .75rem), `lg`(16px or 1rem), `xl`(24px or 1.5rem), `thin`(2px or .125rem), and `hair`(1px or .0625rem). Numeric values examples - `1`(4px or .25rem), `5`(20px or 1.25rem), `10`(40px or 2.5rem), `20`(80px or 5rem).
8
- // @group spacing
9
-
10
- $utils-margin: (
11
- m: margin,
12
- mt: margin-top,
13
- mr: margin-right,
14
- mb: margin-bottom,
15
- ml: margin-left
16
- ) !default;
17
-
18
- $utils-padding: (
19
- p: padding,
20
- pt: padding-top,
21
- pr: padding-right,
22
- pb: padding-bottom,
23
- pl: padding-left
24
- ) !default;
25
-
26
- // @name k-m-VALUE
27
- // @description This is equivalent to `margin: VALUE;`. Margin area on all four sides of the element.
28
- // @group spacing
29
-
30
- // @name k-mt-VALUE
31
- // @description This is equivalent to `margin-top: VALUE;`. Margin area on top of the element.
32
- // @group spacing
33
-
34
- // @name k-mr-VALUE
35
- // @description This is equivalent to `margin-right: VALUE;`. Margin area on right of the element.
36
- // @group spacing
37
-
38
- // @name k-mb-VALUE
39
- // @description This is equivalent to `margin-bottom: VALUE;`. Margin area on bottom of the element.
40
- // @group spacing
41
-
42
- // @name k-ml-VALUE
43
- // @description This is equivalent to `margin-left: VALUE;`. Margin area on left of the element.
44
- // @group spacing
45
-
46
- // @name k-mx-VALUE
47
- // @description This is equivalent to `margin-left: VALUE; margin-right: VALUE;`. Margin area on left and right of the element.
48
- // @group spacing
49
-
50
- // @name k-my-VALUE
51
- // @description This is equivalent to `margin-top: VALUE; margin-bottom: VALUE;``. Margin area on top and bottom of the element.
52
- // @group spacing
53
-
54
- // Margin
55
- @each $size, $val in $spacing {
56
- @each $name, $prop in $utils-margin {
57
- .k-#{$name}-#{$size} { #{$prop}: $val !important; }
58
- }
59
-
60
- .k-mx-#{$size} {
61
- margin-left: $val !important;
62
- margin-right: $val !important;
63
- }
64
- .k-my-#{$size} {
65
- margin-top: $val !important;
66
- margin-bottom: $val !important;
67
- }
68
- }
69
-
70
- // @name k-p-VALUE
71
- // @description This is equivalent to `padding: VALUE;`. Padding area on all four sides of the element.
72
- // @group spacing
73
-
74
- // @name k-pt-VALUE
75
- // @description This is equivalent to `padding-top: VALUE;`. Padding area on top of the element.
76
- // @group spacing
77
-
78
- // @name k-pr-VALUE
79
- // @description This is equivalent to `padding-right: VALUE;`. Padding area on right of the element.
80
- // @group spacing
81
-
82
- // @name k-pb-VALUE
83
- // @description This is equivalent to `padding-bottom: VALUE;`. Padding area on bottom of the element.
84
- // @group spacing
85
-
86
- // @name k-pl-VALUE
87
- // @description This is equivalent to `padding-left: VALUE;`. Padding area on left of the element.
88
- // @group spacing
89
-
90
- // @name k-px-VALUE
91
- // @description This is equivalent to `padding-left: VALUE; padding-right: VALUE;`. Padding area on left and right of the element.
92
- // @group spacing
93
-
94
- // @name k-py-VALUE
95
- // @description This is equivalent to `padding-top: VALUE; padding-bottom: VALUE;``. Padding area on top and bottom of the element.
96
- // @group spacing
97
-
98
- // Padding
99
- @each $size, $val in $spacing {
100
- @each $name, $prop in $utils-padding {
101
- .k-#{$name}-#{$size} { #{$prop}: $val !important; }
102
- }
103
-
104
- .k-px-#{$size} {
105
- padding-left: $val !important;
106
- padding-right: $val !important;
107
- }
108
- .k-py-#{$size} {
109
- padding-top: $val !important;
110
- padding-bottom: $val !important;
111
- }
112
- }
113
-
114
- // @name k-gap-VALUE
115
- // @description This is equivalent to `gap: VALUE;`. Gap area between both rows and columns in grid and flexbox layouts.
116
- // @group spacing
117
-
118
- // @name k-gap-x-VALUE
119
- // @description This is equivalent to `column-gap: VALUE;`. Gap area between columns in grid and flexbox layouts.
120
- // @group spacing
121
-
122
- // @name k-gap-y-VALUE
123
- // @description This is equivalent to `row-gap: VALUE;`. Gap area between rows in grid and flexbox layouts.
124
- // @group spacing
125
-
126
- // Gap
127
- .k-no-gap { gap: 0 !important; }
128
-
129
- @each $size, $val in $spacing {
130
- .k-gap-#{$size} { gap: $val; }
131
- .k-gap-x-#{$size} { column-gap: $val; }
132
- .k-gap-y-#{$size} { row-gap: $val; }
133
-
134
- .\!k-gap-#{$size} { gap: $val !important; }
135
- .\!k-gap-x-#{$size} { column-gap: $val !important; }
136
- .\!k-gap-y-#{$size} { row-gap: $val !important; }
137
- }
138
- }
@@ -1,17 +0,0 @@
1
- @include exports( "utils/table-layout" ) {
2
-
3
- // sass-lint:disable-block no-important
4
- // stylelint-disable block-opening-brace-space-before
5
-
6
- // Table-layout documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout.
7
-
8
- /// @name k-table-layout-fixed
9
- /// @description This is equivalent to `table-layout: fixed;`. Table and column widths are set by the widths of table and col elements or by the width of the first row of cells. Cells in subsequent rows do not affect column widths.
10
- /// @group table-layout
11
- .k-table-layout-fixed { table-layout: fixed; }
12
- /// @name k-table-layout-auto
13
- /// @description This is equivalent to `table-layout: auto;`. By default, most browsers use an automatic table layout algorithm. The widths of the table and its cells are adjusted to fit the content.
14
- /// @group table-layout
15
- .k-table-layout-auto { table-layout: auto; }
16
-
17
- }
@@ -1,128 +0,0 @@
1
- @include exports( "utils/text" ) {
2
-
3
- // stylelint-disable block-opening-brace-space-before
4
- // sass-lint:disable class-name-format
5
-
6
- // White-space documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/white-space.
7
- // Text-align documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/text-align.
8
- // Text-transform documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/text-transform.
9
-
10
- $text-align: ( left, right, center, justify ) !default;
11
- $text-transform: ( lowercase, uppercase, capitalize ) !default;
12
- $white-space: ( normal, nowrap, pre, pre-wrap, pre-line, break-spaces ) !default;
13
-
14
- $kendo-font-sizes: (
15
- xs: $font-size-xs,
16
- sm: $font-size-sm,
17
- md: $font-size-md,
18
- lg: $font-size-lg,
19
- xl: $font-size-xl
20
- ) !default;
21
-
22
- // Wrapping
23
-
24
- /// @name k-text-nowrap
25
- /// @description This is equivalent to `white-space: nowrap;`. Collapses white space as for normal, but suppresses line breaks (text wrapping) within the source.
26
- /// @group text
27
- .k-text-nowrap { white-space: nowrap; }
28
- .\!k-text-nowrap { white-space: nowrap !important; } // sass-lint:disable-line no-important
29
- /// @name k-text-ellipsis
30
- /// @description This is equivalent to `white-space: nowrap; overflow: hidden; text-overflow: ellipsis;`.
31
- /// @group text
32
- .k-text-ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } // sass-lint:disable-line one-declaration-per-line
33
-
34
- /// @name k-white-space-normal
35
- /// @description This is equivalent to `white-space: normal;`. Sequences of white space are collapsed. Newline characters in the source are handled the same as other white space. Lines are broken as necessary to fill line boxes.
36
- /// @group text
37
-
38
- /// @name k-white-space-nowrap
39
- /// @description This is equivalent to `white-space: nowrap;`. Collapses white space as for normal, but suppresses line breaks (text wrapping) within the source.
40
- /// @group text
41
-
42
- /// @name k-white-space-pre
43
- /// @description This is equivalent to `white-space: pre;`. Sequences of white space are preserved. Lines are only broken at newline characters in the source and at <br> elements.
44
- /// @group text
45
-
46
- /// @name k-white-space-pre-wrap
47
- /// @description This is equivalent to `white-space: pre-wrap;`. Sequences of white space are preserved. Lines are broken at newline characters, at <br>, and as necessary to fill line boxes.
48
- /// @group text
49
-
50
- /// @name k-white-space-pre-line
51
- /// @description This is equivalent to `white-space: pre-line;`. Sequences of white space are collapsed. Lines are broken at newline characters, at <br>, and as necessary to fill line boxes.
52
- /// @group text
53
-
54
- /// @name k-white-space-break-spaces
55
- /// @description This is equivalent to `white-space: break-spaces;`. Collapses white space as for normal, but suppresses line breaks (text wrapping) within the source.
56
- /// @group text
57
-
58
- @each $wrap in $white-space {
59
- .k-white-space-#{$wrap} { white-space: $wrap; }
60
- .\!k-white-space-#{$wrap} { white-space: $wrap !important; } // sass-lint:disable-line no-important
61
- }
62
-
63
-
64
- // Align
65
-
66
- /// @name k-text-left
67
- /// @description This is equivalent to `text-align: left;`. The inline contents are aligned to the left edge of the line box.
68
- /// @group text
69
-
70
- /// @name k-text-right
71
- /// @description This is equivalent to `text-align: right;`. The inline contents are aligned to the right edge of the line box.
72
- /// @group text
73
-
74
- /// @name k-text-center
75
- /// @description This is equivalent to `text-align: center;`. The inline contents are centered within the line box.
76
- /// @group text
77
-
78
- /// @name k-text-justify
79
- /// @description This is equivalent to `text-align: justify;`. The inline contents are justified. Text should be spaced to line up its left and right edges to the left and right edges of the line box, except for the last line.
80
- /// @group text
81
-
82
- @each $align in $text-align {
83
- .k-text-#{$align} { text-align: $align; }
84
- .\!k-text-#{$align} { text-align: $align !important; } // sass-lint:disable-line no-important
85
- }
86
-
87
-
88
- // Transform
89
-
90
- /// @name k-text-lowercase
91
- /// @description This is equivalent to `text-transform: lowercase;`. Is a keyword that converts all characters to lowercase.
92
- /// @group text
93
-
94
- /// @name k-text-uppercase
95
- /// @description This is equivalent to `text-transform: uppercase;`. Is a keyword that converts all characters to uppercase.
96
- /// @group text
97
-
98
- /// @name k-text-capitalize
99
- /// @description This is equivalent to `text-transform: capitalize;`. Is a keyword that converts the first letter of each word to uppercase. Other characters remain unchanged (they retain their original case as written in the element's text).
100
- /// @group text
101
-
102
- @each $transform in $text-transform {
103
- .k-text-#{$transform} { text-transform: $transform; }
104
- .\!k-text-#{$transform} { text-transform: $transform !important; } // sass-lint:disable-line no-important
105
- }
106
-
107
- // Font Size
108
- @each $name, $size in $kendo-font-sizes {
109
- .k-fs-#{$name} { font-size: $size; }
110
- .\!k-fs-#{$name} { font-size: $size !important; } // sass-lint:disable-line no-important
111
- }
112
-
113
- // Named font-weight
114
-
115
- /// @name k-font-weight-light
116
- /// @description This is equivalent to `font-weight: 300;`. The value of `300` may be different for each Kendo UI Theme.
117
- /// @group text
118
- .k-font-weight-light { font-weight: $font-weight-light !important; } // sass-lint:disable-line no-important
119
- /// @name k-font-weight-normal
120
- /// @description This is equivalent to `font-weight: 400;`. The value of `400` may be different for each Kendo UI Theme.
121
- /// @group text
122
- .k-font-weight-normal { font-weight: $font-weight-normal !important; } // sass-lint:disable-line no-important
123
- /// @name k-font-weight-bold
124
- /// @description This is equivalent to `font-weight: 700;`. The value of `700` may be different for each Kendo UI Theme.
125
- /// @group text
126
- .k-font-weight-bold { font-weight: $font-weight-bold !important; } // sass-lint:disable-line no-important
127
-
128
- }
@@ -1,47 +0,0 @@
1
- @include exports( "common/decoration/color" ) {
2
-
3
- // sass-lint:disable-block no-important
4
- // sass-lint:disable-block class-name-format
5
- // stylelint-disable block-opening-brace-space-before
6
-
7
- .k-text-base,
8
- .k-color-base {
9
- color: $base-text;
10
- }
11
- .\!k-text-base,
12
- .\!k-color-base {
13
- color: $base-text !important;
14
- }
15
-
16
- .k-color-inherit { color: inherit; }
17
- .\!k-color-inherit { color: inherit !important; }
18
-
19
- @each $name, $color in $kendo-theme-colors {
20
- .k-text-#{$name},
21
- .k-color-#{$name} {
22
- color: $color;
23
- }
24
- .\!k-text-#{$name},
25
- .\!k-color-#{$name} {
26
- color: $color !important;
27
- }
28
- }
29
-
30
- }
31
-
32
-
33
- @include exports( "common/decoration/background" ) {
34
-
35
- // sass-lint:disable-block no-important
36
- // sass-lint:disable-block class-name-format
37
-
38
- @each $name, $bg-color in $kendo-theme-colors {
39
- .k-bg-#{$name} {
40
- background-color: $bg-color;
41
- }
42
- .\!k-bg-#{$name} {
43
- background-color: $bg-color !important;
44
- }
45
- }
46
-
47
- }
@@ -1,25 +0,0 @@
1
- @include exports( "utils/touch-action" ) {
2
-
3
- // Touch-action documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/touch-action.
4
-
5
- // @name k-touch-action-none
6
- // @description This is equivalent to `touch-action: none;`. Disable browser handling of all panning and zooming gestures.
7
- // @group touch-action
8
-
9
- // @name k-touch-action-auto
10
- // @description This is equivalent to `touch-action: auto;`. Enable browser handling of all panning and zooming gestures.
11
- // @group touch-action
12
-
13
- $utils-touch-action: (
14
- none,
15
- auto
16
- ) !default;
17
-
18
- @if $utils-touch-action {
19
- @each $touch-action in $utils-touch-action {
20
- // sass-lint:disable-block no-important
21
- .k-touch-action-#{$touch-action} { touch-action: $touch-action !important; }
22
- }
23
- }
24
-
25
- }