@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,41 +0,0 @@
1
- @include exports( "utils/display" ) {
2
-
3
- // sass-lint:disable-block no-important
4
- // stylelint-disable block-opening-brace-space-before
5
-
6
- // Display documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/display.
7
-
8
- /// @name k-display-inline
9
- /// @description This is equivalent to `display: inline;`. The element generates one or more inline element boxes that do not generate line breaks before or after themselves. In normal flow, the next element will be on the same line if there is space.
10
- /// @group display
11
- .k-display-inline { display: inline !important; }
12
- /// @name k-display-block
13
- /// @description This is equivalent to `display: block;`. The element generates a block element box, generating line breaks both before and after the element when in the normal flow.
14
- /// @group display
15
- .k-display-block { display: block !important; }
16
- /// @name k-display-inline-block
17
- /// @description This is equivalent to `display: inline-block;`. The element generates a block element box that will be flowed with surrounding content as if it were a single inline box (behaving much like a replaced element would).
18
- /// @group display
19
- .k-display-inline-block { display: inline-block !important; }
20
- /// @name k-display-flex
21
- /// @description This is equivalent to `display: flex;`. The element behaves like a block element and lays out its content according to the flexbox model.
22
- /// @group display
23
- .k-display-flex { display: flex !important; }
24
- /// @name k-display-inline-flex
25
- /// @description This is equivalent to `display: inline-flex;`. The element behaves like an inline element and lays out its content according to the flexbox model.
26
- /// @group display
27
- .k-display-inline-flex { display: inline-flex !important; }
28
- /// @name k-display-table
29
- /// @description This is equivalent to `display: table;`. These elements behave like HTML `<table>` elements. It defines a block-level box.
30
- /// @group display
31
- .k-display-table { display: table !important; }
32
- /// @name k-display-inline-table
33
- /// @description This is equivalent to `display: inline-table;`. The inline-table value does not have a direct mapping in HTML. It behaves like an HTML `<table>` element, but as an inline box, rather than a block-level box. Inside the table box is a block-level context.
34
- /// @group display
35
- .k-display-inline-table { display: inline-table !important; }
36
- /// @name k-display-none
37
- /// @description This is equivalent to `display: none;`. Turns off the display of an element so that it has no effect on layout (the document is rendered as though the element did not exist). All descendant elements also have their display turned off.
38
- /// @group display
39
- .k-display-none { display: none !important; }
40
-
41
- }
@@ -1,189 +0,0 @@
1
- @include exports( "utils/flex" ) {
2
-
3
- // stylelint-disable block-opening-brace-space-before
4
-
5
- // Flex documentation sourced from https://css-tricks.com/almanac/properties/f/flex/.
6
-
7
- /// @name k-d-flex
8
- /// @description This is equivalent to `display: flex`. It defines a flex container and enables a flex context for all its direct children. Think of flex items as primarily laying out either in horizontal rows or vertical columns.
9
- /// @group flex-layout
10
- .k-d-flex { display: flex; }
11
- .\!k-d-flex { display: flex !important; } // sass-lint:disable-line no-important class-name-format
12
- /// @name k-d-inline-flex
13
- /// @description This is equivalent to `display: inline-flex`. It defines a flex container and enables a flex context for all its direct children. Think of flex items as primarily laying out either in horizontal rows or vertical columns.
14
- /// @group flex-layout
15
- .k-d-inline-flex { display: inline-flex; }
16
- .\!k-d-inline-flex { display: inline-flex !important; } // sass-lint:disable-line no-important class-name-format
17
- /// @name k-d-flex-row
18
- /// @description This is equivalent to `display: inline-flex` and `flex-direction: row`.
19
- /// @group flex-layout
20
- .k-d-flex-row { @extend .k-d-flex, .k-flex-row; }
21
- .\!k-d-flex-row { @extend .\!k-d-flex, .\!k-flex-row; } // sass-lint:disable-line class-name-format
22
- /// @name k-d-flex-col
23
- /// @description This is equivalent to `display: inline-flex` and `flex-direction: column`.
24
- /// @group flex-layout
25
- .k-d-flex-col { @extend .k-d-flex, .k-flex-col; }
26
- .\!k-d-flex-col { @extend .\!k-d-flex, .\!k-flex-row; } // sass-lint:disable-line class-name-format
27
- /// @name k-flex-row
28
- /// @description This is equivalent to `flex-direction: row`. This establishes the main-axis to be horizontal, thus defining the direction flex items are placed in the flex container: left to right in `ltr`; right to left in `rtl`.
29
- /// @group flex-layout
30
- .k-flex-row { flex-direction: row; }
31
- .\!k-flex-row { flex-direction: row !important; } // sass-lint:disable-line no-important class-name-format
32
- /// @name k-flex-row-reverse
33
- /// @description This is equivalent to `flex-direction: row-reverse`. This establishes the main-axis to be horizontal, thus defining the direction flex items are placed in the flex container: right to left in `ltr`; left to right in `rtl`.
34
- /// @group flex-layout
35
- .k-flex-row-reverse { flex-direction: row-reverse; }
36
- .\!k-flex-row-reverse { flex-direction: row-reverse !important; } // sass-lint:disable-line no-important class-name-format
37
- /// @name k-flex-col
38
- /// @description This is equivalent to `flex-direction: column`. This establishes the main-axis to be vertical, thus defining the direction flex items are placed in the flex container: top to bottom.
39
- /// @group flex-layout
40
- .k-flex-col { flex-direction: column; }
41
- .\!k-flex-col { flex-direction: column !important; } // sass-lint:disable-line no-important class-name-format
42
- /// @name k-flex-col-reverse
43
- /// @description This is equivalent to `flex-direction: column-reverse`. This establishes the main-axis to be vertical, thus defining the direction flex items are placed in the flex container: bottom to top.
44
- /// @group flex-layout
45
- .k-flex-col-reverse { flex-direction: column-reverse; }
46
- .\!k-flex-col-reverse { flex-direction: column-reverse !important; } // sass-lint:disable-line no-important class-name-format
47
-
48
-
49
- // Aliases
50
- .k-flex-column { @extend .k-flex-col; }
51
- .k-flex-column-reverse { @extend .k-flex-col-reverse; }
52
-
53
-
54
- // Flex wrap
55
-
56
- /// @name k-flex-wrap
57
- /// @description This is equivalent to `flex-wrap: wrap`. It allows flex items to wrap as needed onto multiple lines, from top to bottom.
58
- /// @group flex-layout
59
- .k-flex-wrap { flex-wrap: wrap; }
60
- .\!k-flex-wrap { flex-wrap: wrap !important; } // sass-lint:disable-line no-important class-name-format
61
- /// @name k-flex-nowrap
62
- /// @description This is equivalent to `flex-wrap: nowrap`. All flex items will be on one line.
63
- /// @group flex-layout
64
- .k-flex-nowrap { flex-wrap: nowrap; }
65
- .\!k-flex-nowrap { flex-wrap: nowrap !important; } // sass-lint:disable-line no-important class-name-format
66
- /// @name k-flex-wrap-reverse
67
- /// @description This is equivalent to `flex-wrap: wrap-reverse`. It allows flex items to wrap as needed onto multiple lines, from bottom to top.
68
- /// @group flex-layout
69
- .k-flex-wrap-reverse { flex-wrap: wrap-reverse; }
70
- .\!k-flex-wrap-reverse { flex-wrap: wrap-reverse !important; } // sass-lint:disable-line no-important class-name-format
71
-
72
-
73
- // Flex, shrink, grow,
74
-
75
- /// @name k-flex-initial
76
- /// @description This is the same as `flex: initial;` and the shorthand for the default value: `flex: 0 1 auto`. It sizes the item based on its `width`/`height` properties (or its content if not set). It makes the flex item inflexible when there is some free space left, but allows it to shrink to its minimum when there is not enough space. The alignment abilities or `auto` margins can be used to align flex items along the main axis.
77
- /// @group flex-layout
78
- .k-flex-initial { flex: 0 1 auto; }
79
- .\!k-flex-initial { flex: 0 1 auto !important; } // sass-lint:disable-line no-important class-name-format
80
- /// @name k-flex-1
81
- /// @description This is equivalent to `flex: 1 1 0%`. It sizes the item not based on its `width`/`height` properties, but based on the available space. This is similar to `flex: 1 1 auto` execpt it is allowed to shrink beyond its initial size.
82
- /// @group flex-layout
83
- .k-flex-1 { flex: 1 1 0%; }
84
- .\!k-flex-1 { flex: 1 1 0% !important; } // sass-lint:disable-line no-important class-name-format
85
- /// @name k-flex-auto
86
- /// @description This is equivalent to `flex: 1 1 auto`. Beware, this is not the default value. It sizes the item based on its `width`/`height` properties, but makes it fully flexible so that they absorb any extra space along the main axis. If all items are either `flex: auto`, `flex: initial`, or `flex: none`, any remaining space after the items have been sized will be distributed evenly to the items with `flex: auto`.
87
- /// @group flex-layout
88
- .k-flex-auto { flex: 1 1 auto; }
89
- .\!k-flex-auto { flex: 1 1 auto !important; } // sass-lint:disable-line no-important class-name-format
90
- /// @name k-flex-none
91
- /// @description This is equivalent to `flex: 0 0 auto`. It sizes the item according to its `width`/`height` properties, but makes it fully inflexible. This is similar to `flex: initial` except it is not allowed to shrink, even in an overflow situation.
92
- /// @group flex-layout
93
- .k-flex-none { flex: none; }
94
- .\!k-flex-none { flex: none !important; } // sass-lint:disable-line no-important class-name-format
95
- /// @name k-flex-grow
96
- /// @description This is equivalent to `flex-grow: 1`. It defines the ability for a flex item to grow if necessary. It accepts a unitless value that serves as a proportion. It dictates what amount of the available space inside the flex container the item should take up.
97
- /// @group flex-layout
98
- .k-flex-grow { flex-grow: 1; }
99
- .\!k-flex-grow { flex-grow: 1 !important; } // sass-lint:disable-line no-important class-name-format
100
- /// @name k-flex-grow-0
101
- /// @description This is equivalent to `flex-grow: 0`. The item will not grow.
102
- /// @group flex-layout
103
- .k-flex-grow-0 { flex-grow: 0; }
104
- .\!k-flex-grow-0 { flex-grow: 0 !important; } // sass-lint:disable-line no-important class-name-format
105
- /// @name k-flex-shrink
106
- /// @description This is equivalent to `flex-shrink: 1`. It determines how much the flex item will shrink relative to the rest of the flex items in the flex container when there isn't enough space on the row.
107
- /// @group flex-layout
108
- .k-flex-shrink { flex-shrink: 1; }
109
- .\!k-flex-shrink { flex-shrink: 1 !important; } // sass-lint:disable-line no-important class-name-format
110
- /// @name k-flex-shrink-0
111
- /// @description This is equivalent to `flex-shrink: 0`. The item will not shrink.
112
- /// @group flex-layout
113
- .k-flex-shrink-0 { flex-shrink: 0; }
114
- .\!k-flex-shrink-0 { flex-shrink: 0 !important; } // sass-lint:disable-line no-important class-name-format
115
- /// @name k-flex-basis-auto
116
- /// @description This is equivalent to `flex-basis: auto`. It specifies the initial size of the flex item, before any available space is distributed according to the flex factors. It sizes the element according to its size property.
117
- /// @group flex-layout
118
- .k-flex-basis-auto { flex-basis: auto; }
119
- .\!k-flex-basis-auto { flex-basis: auto !important; } // sass-lint:disable-line no-important class-name-format
120
- /// @name k-flex-basis-0
121
- /// @description This is equivalent to `flex-basis: 0`. It specifies the initial size of the flex item, before any available space is distributed according to the flex factors. It disregards the element' size property.
122
- /// @group flex-layout
123
- .k-flex-basis-0 { flex-basis: 0%; }
124
- .\!k-flex-basis-0 { flex-basis: 0% !important; } // sass-lint:disable-line no-important class-name-format
125
-
126
-
127
- // Flex align
128
- .k-align-items-start { align-items: flex-start; }
129
- .\!k-align-items-start { align-items: flex-start !important; } // sass-lint:disable-line no-important class-name-format
130
- .k-align-items-end { align-items: flex-end; }
131
- .\!k-align-items-end { align-items: flex-end !important; } // sass-lint:disable-line no-important class-name-format
132
- .k-align-items-center { align-items: center; }
133
- .\!k-align-items-center { align-items: center !important; } // sass-lint:disable-line no-important class-name-format
134
- .k-align-items-stretch { align-items: stretch; }
135
- .\!k-align-items-stretch { align-items: stretch !important; } // sass-lint:disable-line no-important class-name-format
136
- .k-align-items-baseline { align-items: baseline; }
137
- .\!k-align-items-baseline { align-items: baseline !important; } // sass-lint:disable-line no-important class-name-format
138
-
139
- .k-align-content-start { align-content: flex-start; }
140
- .\!k-align-content-start { align-content: flex-start !important; } // sass-lint:disable-line no-important class-name-format
141
- .k-align-content-end { align-content: flex-end; }
142
- .\!k-align-content-end { align-content: flex-end !important; } // sass-lint:disable-line no-important class-name-format
143
- .k-align-content-center { align-content: center; }
144
- .\!k-align-content-center { align-content: center !important; } // sass-lint:disable-line no-important class-name-format
145
- .k-align-content-stretch { align-content: stretch; }
146
- .\!k-align-content-stretch { align-content: stretch !important; } // sass-lint:disable-line no-important class-name-format
147
- .k-align-content-baseline { align-content: baseline; }
148
- .\!k-align-content-baseline { align-content: baseline !important; } // sass-lint:disable-line no-important class-name-format
149
-
150
- .k-align-self-start { align-self: flex-start; }
151
- .\!k-align-self-start { align-self: flex-start !important; } // sass-lint:disable-line no-important class-name-format
152
- .k-align-self-end { align-self: flex-end; }
153
- .\!k-align-self-end { align-self: flex-end !important; } // sass-lint:disable-line no-important class-name-format
154
- .k-align-self-center { align-self: center; }
155
- .\!k-align-self-center { align-self: center !important; } // sass-lint:disable-line no-important class-name-format
156
- .k-align-self-stretch { align-self: stretch; }
157
- .\!k-align-self-stretch { align-self: stretch !important; } // sass-lint:disable-line no-important class-name-format
158
- .k-align-self-baseline { align-self: baseline; }
159
- .\!k-align-self-baseline { align-self: baseline !important; } // sass-lint:disable-line no-important class-name-format
160
-
161
-
162
- // Justify content
163
- .k-justify-content-start { justify-content: flex-start; }
164
- .\!k-justify-content-start { justify-content: flex-start !important; } // sass-lint:disable-line no-important class-name-format
165
- .k-justify-content-end { justify-content: flex-end; }
166
- .\!k-justify-content-end { justify-content: flex-end !important; } // sass-lint:disable-line no-important class-name-format
167
- .k-justify-content-center { justify-content: center; }
168
- .\!k-justify-content-center { justify-content: center !important; } // sass-lint:disable-line no-important class-name-format
169
- .k-justify-content-between { justify-content: space-between; }
170
- .\!k-justify-content-between { justify-content: space-between !important; } // sass-lint:disable-line no-important class-name-format
171
- .k-justify-content-around { justify-content: space-around; }
172
- .\!k-justify-content-around { justify-content: space-around !important; } // sass-lint:disable-line no-important class-name-format
173
- .k-justify-content-evenly { justify-content: space-evenly; }
174
- .\!k-justify-content-evenly { justify-content: space-evenly !important; } // sass-lint:disable-line no-important class-name-format
175
- .k-justify-content-stretch > * { flex: 1 0 0%; }
176
- .\!k-justify-content-stretch > * { flex: 1 0 0% !important; } // sass-lint:disable-line no-important class-name-format
177
-
178
-
179
- // Justify items
180
- .k-justify-items-start { justify-items: flex-start; }
181
- .\!k-justify-items-start { justify-items: flex-start !important; } // sass-lint:disable-line no-important class-name-format
182
- .k-justify-items-end { justify-items: flex-end; }
183
- .\!k-justify-items-end { justify-items: flex-end !important; } // sass-lint:disable-line no-important class-name-format
184
- .k-justify-items-center { justify-items: center; }
185
- .\!k-justify-items-center { justify-items: center !important; } // sass-lint:disable-line no-important class-name-format
186
- .k-justify-items-stretch { justify-items: stretch; }
187
- .\!k-justify-items-stretch { justify-items: stretch !important; } // sass-lint:disable-line no-important class-name-format
188
-
189
- }
@@ -1,69 +0,0 @@
1
- @include exports( "utils/float" ) {
2
-
3
- // Float documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/float.
4
- // Clear documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/clear.
5
-
6
- // @name k-float-left
7
- // @description This is equivalent to `float: left;`. The element must float on the left side of its containing block.
8
- // @group float
9
-
10
- // @name k-float-right
11
- // @description This is equivalent to `float: right;`. The element must float on the right side of its containing block.
12
- // @group float
13
-
14
- // @name k-float-none
15
- // @description This is equivalent to `float: none;`. The element must not float.
16
- // @group float
17
-
18
- // @name k-clear-left
19
- // @description This is equivalent to `clear: left;`. Is a keyword indicating that the element is moved down to clear past left floats.
20
- // @group float
21
-
22
- // @name k-clear-right
23
- // @description This is equivalent to `clear: right;`. Is a keyword indicating that the element is moved down to clear past right floats.
24
- // @group float
25
-
26
- // @name k-clear-both
27
- // @description This is equivalent to `clear: both;`. Is a keyword indicating that the element is moved down to clear past both left and right floats.
28
- // @group float
29
-
30
- // @name k-clear-none
31
- // @description This is equivalent to `clear: none;`. Is a keyword indicating that the element is not moved down to clear past floating elements.
32
- // @group float
33
-
34
- $utils-float: (
35
- left,
36
- right,
37
- none
38
- ) !default;
39
-
40
- $utils-clear: (
41
- left,
42
- right,
43
- both,
44
- none
45
- ) !default;
46
-
47
- @if $utils-float {
48
- @each $float in $utils-float {
49
- // sass-lint:disable-block no-important
50
- .k-float-#{$float} { float: $float !important; }
51
- }
52
- }
53
-
54
- @if $utils-clear {
55
- @each $clear in $utils-clear {
56
- // sass-lint:disable-block no-important
57
- .k-clear-#{$clear} { clear: $clear !important; }
58
- }
59
- }
60
-
61
-
62
- // Float wrap
63
- .k-floatwrap::after {
64
- content: "";
65
- display: block;
66
- clear: both;
67
- }
68
-
69
- }
@@ -1,47 +0,0 @@
1
- @include exports("utils/grid") {
2
-
3
- // stylelint-disable block-opening-brace-space-before
4
-
5
- /// @name k-d-grid
6
- /// @description This is equivalent to `display: grid`. It defines the element as a grid container and establishes a new grid formatting context for its contents.
7
- /// @group grid-layout
8
- .k-d-grid { display: grid; }
9
- .k-grid-cols-none { grid-template-columns: none; }
10
- .k-grid-rows-none { grid-template-rows: none; }
11
-
12
-
13
- // Grid flow
14
- .k-grid-flow-col { grid-auto-flow: column; }
15
- .k-grid-flow-col-dense { grid-auto-flow: column dense; }
16
- .k-grid-flow-row { grid-auto-flow: row; }
17
- .k-grid-flow-row-dense { grid-auto-flow: row dense; }
18
- .k-grid-flow-unset { grid-auto-flow: unset; }
19
-
20
-
21
- // Columns
22
- .k-colspan-all { grid-column: 1 / -1; }
23
- .k-colspan-auto { grid-column: auto; }
24
-
25
-
26
- // Rows
27
- .k-rowspan-all { grid-row: 1 / -1; }
28
- .k-rowspan-auto { grid-row: auto; }
29
-
30
-
31
- // Grid utilities
32
- @if $enable-grid-classes {
33
- @for $i from 1 through $grid-cols {
34
- .k-grid-cols-#{$i} { grid-template-columns: repeat($i, minmax(0, 1fr)); }
35
- .k-colspan-#{$i} { grid-column: span $i; }
36
- .k-col-start-#{$i} { grid-column-start: $i; }
37
- .k-col-end-#{$i} { grid-column-end: $i; }
38
- }
39
- @for $i from 1 through $grid-rows {
40
- .k-grid-rows-#{$i} { grid-template-rows: repeat($i, minmax(0, 1fr)); }
41
- .k-rowspan-#{$i} { grid-row: span $i; }
42
- .k-row-start-#{$i} { grid-row-start: $i; }
43
- .k-row-end-#{$i} { grid-row-end: $i; }
44
- }
45
- }
46
-
47
- }
@@ -1,46 +0,0 @@
1
- @include exports( "utils/order" ) {
2
-
3
- /// @name k-order-first
4
- /// @description This is equivalent to `order: -9999;`.
5
- /// @group order
6
-
7
- /// @name k-order-last
8
- /// @description This is equivalent to `order: 9999;`.
9
- /// @group order
10
-
11
- /// @name k-order-none
12
- /// @description This is equivalent to `order: 0;`.
13
- /// @group order
14
-
15
- /// @name from k-order-1 to k-order-12
16
- /// @description This is equivalent to `order: 1;`, `order: 2;`, `order: 12;`, etc.
17
- /// @group order
18
-
19
- // Order utility classes
20
- $utils-order: (
21
- first: -9999,
22
- last: 9999,
23
- none: 0,
24
- 1: 1,
25
- 2: 2,
26
- 3: 3,
27
- 4: 4,
28
- 5: 5,
29
- 6: 6,
30
- 7: 7,
31
- 8: 8,
32
- 9: 9,
33
- 10: 10,
34
- 11: 11,
35
- 12: 12
36
- ) !default;
37
-
38
- // sass-lint:disable no-important
39
- @if $utils-order {
40
- @each $order, $val in $utils-order {
41
- .k-order-#{$order} { order: $val !important; }
42
- }
43
- }
44
- // sass-lint:enable no-important
45
-
46
- }
@@ -1,71 +0,0 @@
1
- @include exports( "utils/overflow" ) {
2
-
3
- // Overflow documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/overflow.
4
-
5
- /// @name k-overflow-auto
6
- /// @description This is equivalent to `overflow: auto;`. Depends on the user agent. If content fits inside the padding box, it looks the same as visible, but still establishes a new block formatting context. Desktop browsers provide scrollbars if content overflows.
7
- /// @group overflow
8
-
9
- /// @name k-overflow-hidden
10
- /// @description This is equivalent to `overflow: hidden;`. Content is clipped if necessary to fit the padding box. No scrollbars are provided, and no support for allowing the user to scroll (such as by dragging or using a scroll wheel) is allowed. The content can be scrolled programmatically (for example, by setting the value of a property such as offsetLeft), so the element is still a scroll container.
11
- /// @group overflow
12
-
13
- /// @name k-overflow-visible
14
- /// @description This is equivalent to `overflow: visible;`. Content is not clipped and may be rendered outside the padding box.
15
- /// @group overflow
16
-
17
- /// @name k-overflow-scroll
18
- /// @description This is equivalent to `overflow: scroll;`. Content is clipped if necessary to fit the padding box. Browsers always display scrollbars whether or not any content is actually clipped, preventing scrollbars from appearing or disappearing as content changes. Printers may still print overflowing content.
19
- /// @group overflow
20
-
21
- /// @name k-overflow-clip
22
- /// @description This is equivalent to `overflow: clip;`. Like for hidden, the content is clipped to the element's padding box. The difference between clip and hidden is that the clip keyword also forbids all scrolling, including programmatic scrolling.
23
- /// @group overflow
24
-
25
- /// @name k-overflow-x-VALUE
26
- /// @description This is equivalent to `overflow-x: VALUE;`. Sets what shows when content overflows a block-level element's left and right edges. The `VALUE` could be set to `auto`, `hidden`, `visible`, `scroll`, and `clip`.
27
- /// @group overflow
28
-
29
- /// @name k-overflow-y-VALUE
30
- /// @description This is equivalent to `overflow-y: VALUE;`. Sets what shows when content overflows a block-level element's top and bottom edges. The `VALUE` could be set to `auto`, `hidden`, `visible`, `scroll`, and `clip`.
31
- /// @group overflow
32
-
33
- /// @name k-overflow-VALUE_X-VALUE_Y
34
- /// @description This is equivalent to `overflow: VALUE_X VALUE_Y;`. This is a shorthand for `overflow-x: VALUE_X; overflow-y: VALUE_Y;`. The `VALUE_X` and `VALUE_Y` could be set to `auto`, `hidden`, `visible`, `scroll`, and `clip`.
35
- /// @group overflow
36
-
37
- // Overflow utility classes
38
- $utils-overflow: (
39
- auto,
40
- hidden,
41
- visible,
42
- scroll,
43
- clip
44
- ) !default;
45
-
46
- // sass-lint:disable no-important
47
- @if $utils-overflow {
48
- @each $overflow in $utils-overflow {
49
- .k-overflow-#{$overflow} { overflow: $overflow; }
50
- .k-overflow-x-#{$overflow} { overflow-x: $overflow; }
51
- .k-overflow-y-#{$overflow} { overflow-y: $overflow; }
52
-
53
- .\!k-overflow-#{$overflow} { overflow: $overflow !important; }
54
- .\!k-overflow-x-#{$overflow} { overflow-x: $overflow !important; }
55
- .\!k-overflow-y-#{$overflow} { overflow-y: $overflow !important; }
56
- }
57
-
58
-
59
- @each $overflow-x in $utils-overflow {
60
- @each $overflow-y in $utils-overflow {
61
- @if $overflow-x != $overflow-y {
62
- .k-overflow-#{$overflow-x}-#{$overflow-y} { overflow: $overflow-x $overflow-y; }
63
-
64
- .\!k-overflow-#{$overflow-x}-#{$overflow-y} { overflow: $overflow-x $overflow-y !important; }
65
- }
66
- }
67
- }
68
- }
69
- // sass-lint:enable no-important
70
-
71
- }
@@ -1,25 +0,0 @@
1
- @include exports( "utils/pointer-events" ) {
2
-
3
- // Pointer-events documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/pointer-events.
4
-
5
- // @name k-pointer-events-none
6
- // @description This is equivalent to `pointer-events: none;`. The element is never the target of pointer events; however, pointer events may target its descendant elements if those descendants have pointer-events set to some other value. In these circumstances, pointer events will trigger event listeners on this parent element as appropriate on their way to/from the descendant during the event capture/bubble phases.
7
- // @group pointer-events
8
-
9
- // @name k-pointer-events-auto
10
- // @description This is equivalent to `pointer-events: auto;`. The element behaves as it would if the pointer-events property were not specified. In SVG content, this value and the value visiblePainted have the same effect.
11
- // @group pointer-events
12
-
13
- $utils-pointer-events: (
14
- none,
15
- auto
16
- ) !default;
17
-
18
- @if $utils-pointer-events {
19
- @each $pointer-events in $utils-pointer-events {
20
- // sass-lint:disable-block no-important
21
- .k-pointer-events-#{$pointer-events} { pointer-events: $pointer-events !important; }
22
- }
23
- }
24
-
25
- }