neo.mjs 5.18.0 → 6.0.1

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 (304) hide show
  1. package/apps/ServiceWorker.mjs +2 -2
  2. package/buildScripts/buildThemes.mjs +89 -192
  3. package/buildScripts/createClass.mjs +13 -11
  4. package/buildScripts/watchThemes.mjs +41 -83
  5. package/examples/ServiceWorker.mjs +2 -2
  6. package/examples/fieldWithPrefix/MainContainer.mjs +151 -0
  7. package/examples/fieldWithPrefix/app.mjs +6 -0
  8. package/examples/fieldWithPrefix/index.html +11 -0
  9. package/examples/fieldWithPrefix/neo-config.json +7 -0
  10. package/examples/form/field/fileupload/MainContainer.mjs +1 -1
  11. package/examples/form/field/fileupload/server.mjs +2 -2
  12. package/package.json +2 -2
  13. package/resources/scss/src/Global.scss +7 -7
  14. package/resources/scss/src/apps/covid/HeaderContainer.scss +25 -25
  15. package/resources/scss/src/apps/covid/country/Gallery.scss +6 -6
  16. package/resources/scss/src/apps/covid/country/Helix.scss +8 -8
  17. package/resources/scss/src/apps/covid/country/LineChartComponent.scss +2 -2
  18. package/resources/scss/src/apps/docs/ContentTabContainer.scss +3 -3
  19. package/resources/scss/src/apps/docs/HeaderContainer.scss +8 -8
  20. package/resources/scss/src/apps/docs/MainContainer.scss +1 -1
  21. package/resources/scss/src/apps/docs/classdetails/HeaderComponent.scss +1 -1
  22. package/resources/scss/src/apps/docs/classdetails/MembersList.scss +16 -16
  23. package/resources/scss/src/apps/docs/classdetails/TutorialComponent.scss +3 -3
  24. package/resources/scss/src/apps/website/HeaderContainer.scss +9 -9
  25. package/resources/scss/src/apps/website/MainContainer.scss +3 -3
  26. package/resources/scss/src/apps/website/blog/Container.scss +3 -3
  27. package/resources/scss/src/apps/website/blog/List.scss +8 -8
  28. package/resources/scss/src/apps/website/examples/List.scss +7 -7
  29. package/resources/scss/src/apps/website/home/TabContainer.scss +5 -5
  30. package/resources/scss/src/button/Base.scss +101 -101
  31. package/resources/scss/src/button/Split.scss +3 -3
  32. package/resources/scss/src/calendar/view/EditEventContainer.scss +4 -4
  33. package/resources/scss/src/calendar/view/MainContainer.scss +46 -46
  34. package/resources/scss/src/calendar/view/SettingsContainer.scss +3 -3
  35. package/resources/scss/src/calendar/view/YearComponent.scss +13 -13
  36. package/resources/scss/src/calendar/view/calendars/EditContainer.scss +4 -4
  37. package/resources/scss/src/calendar/view/calendars/List.scss +7 -7
  38. package/resources/scss/src/calendar/view/month/Component.scss +15 -13
  39. package/resources/scss/src/calendar/view/week/Component.scss +12 -12
  40. package/resources/scss/src/calendar/view/week/TimeAxisComponent.scss +4 -4
  41. package/resources/scss/src/component/BoxLabel.scss +5 -5
  42. package/resources/scss/src/component/Chip.scss +13 -13
  43. package/resources/scss/src/component/Circle.scss +2 -2
  44. package/resources/scss/src/component/DateSelector.scss +28 -28
  45. package/resources/scss/src/component/Helix.scss +1 -1
  46. package/resources/scss/src/component/Process.scss +17 -17
  47. package/resources/scss/src/component/Progress.scss +2 -2
  48. package/resources/scss/src/component/Splitter.scss +6 -6
  49. package/resources/scss/src/component/StatusBadge.scss +21 -21
  50. package/resources/scss/src/component/Timer.scss +9 -9
  51. package/resources/scss/src/component/Toast.scss +10 -10
  52. package/resources/scss/src/component/Video.scss +5 -5
  53. package/resources/scss/src/container/Accordion.scss +3 -3
  54. package/resources/scss/src/container/AccordionItem.scss +15 -15
  55. package/resources/scss/src/container/Base.scss +3 -3
  56. package/resources/scss/src/container/Panel.scss +4 -4
  57. package/resources/scss/src/container/Viewport.scss +2 -2
  58. package/resources/scss/src/dialog/Base.scss +8 -8
  59. package/resources/scss/src/draggable/list/DragZone.scss +2 -2
  60. package/resources/scss/src/examples/ConfigurationPanel.scss +3 -3
  61. package/resources/scss/src/examples/calendar/basic/MainContainer.scss +2 -2
  62. package/resources/scss/src/examples/fieldWithPrefix/MainContainer.scss +25 -0
  63. package/resources/scss/src/examples/treeSelectionModel/MainContainer.scss +6 -6
  64. package/resources/scss/src/form/Fieldset.scss +4 -4
  65. package/resources/scss/src/form/field/CheckBox.scss +10 -10
  66. package/resources/scss/src/form/field/FileUpload.scss +25 -12
  67. package/resources/scss/src/form/field/Number.scss +5 -5
  68. package/resources/scss/src/form/field/Picker.scss +3 -3
  69. package/resources/scss/src/form/field/Range.scss +5 -5
  70. package/resources/scss/src/form/field/Search.scss +1 -1
  71. package/resources/scss/src/form/field/Select.scss +8 -8
  72. package/resources/scss/src/form/field/Switch.scss +6 -6
  73. package/resources/scss/src/form/field/Text.scss +78 -78
  74. package/resources/scss/src/form/field/TextArea.scss +1 -1
  75. package/resources/scss/src/form/field/trigger/Base.scss +6 -6
  76. package/resources/scss/src/form/field/trigger/Clear.scss +2 -2
  77. package/resources/scss/src/form/field/trigger/CopyToClipboard.scss +3 -3
  78. package/resources/scss/src/form/field/trigger/Time.scss +5 -5
  79. package/resources/scss/src/grid/Container.scss +6 -6
  80. package/resources/scss/src/grid/View.scss +11 -11
  81. package/resources/scss/src/grid/header/Button.scss +5 -5
  82. package/resources/scss/src/grid/header/Toolbar.scss +2 -2
  83. package/resources/scss/src/list/Base.scss +11 -11
  84. package/resources/scss/src/list/Chip.scss +3 -3
  85. package/resources/scss/src/list/Circle.scss +2 -2
  86. package/resources/scss/src/menu/List.scss +21 -21
  87. package/resources/scss/src/menu/Panel.scss +1 -1
  88. package/resources/scss/src/plugin/PrefixField.scss +5 -0
  89. package/resources/scss/src/sitemap/Component.scss +2 -2
  90. package/resources/scss/src/tab/Container.scss +1 -1
  91. package/resources/scss/src/tab/Strip.scss +7 -7
  92. package/resources/scss/src/tab/header/Button.scss +26 -26
  93. package/resources/scss/src/tab/header/Toolbar.scss +18 -18
  94. package/resources/scss/src/table/Container.scss +16 -16
  95. package/resources/scss/src/table/View.scss +11 -11
  96. package/resources/scss/src/table/header/Button.scss +5 -5
  97. package/resources/scss/src/toolbar/Base.scss +20 -20
  98. package/resources/scss/src/toolbar/Breadcrumb.scss +1 -1
  99. package/resources/scss/src/tree/List.scss +5 -5
  100. package/resources/scss/theme-dark/Global.scss +7 -17
  101. package/resources/scss/theme-dark/apps/covid/HeaderContainer.scss +10 -23
  102. package/resources/scss/theme-dark/apps/covid/country/Gallery.scss +7 -17
  103. package/resources/scss/theme-dark/apps/covid/country/Helix.scss +8 -19
  104. package/resources/scss/theme-dark/apps/covid/country/LineChartComponent.scss +3 -9
  105. package/resources/scss/theme-dark/apps/docs/ContentTabContainer.scss +4 -11
  106. package/resources/scss/theme-dark/apps/docs/HeaderContainer.scss +10 -23
  107. package/resources/scss/theme-dark/apps/docs/MainContainer.scss +3 -9
  108. package/resources/scss/theme-dark/apps/docs/classdetails/HeaderComponent.scss +4 -11
  109. package/resources/scss/theme-dark/apps/docs/classdetails/MembersList.scss +17 -37
  110. package/resources/scss/theme-dark/apps/docs/classdetails/TutorialComponent.scss +4 -11
  111. package/resources/scss/theme-dark/apps/website/HeaderContainer.scss +5 -13
  112. package/resources/scss/theme-dark/apps/website/MainContainer.scss +4 -11
  113. package/resources/scss/theme-dark/apps/website/blog/Container.scss +3 -9
  114. package/resources/scss/theme-dark/apps/website/home/TabContainer.scss +4 -11
  115. package/resources/scss/theme-dark/button/Base.scss +108 -219
  116. package/resources/scss/theme-dark/calendar/view/EditEventContainer.scss +4 -12
  117. package/resources/scss/theme-dark/calendar/view/MainContainer.scss +22 -48
  118. package/resources/scss/theme-dark/calendar/view/SettingsContainer.scss +4 -11
  119. package/resources/scss/theme-dark/calendar/view/YearComponent.scss +10 -23
  120. package/resources/scss/theme-dark/calendar/view/calendars/EditContainer.scss +4 -12
  121. package/resources/scss/theme-dark/calendar/view/calendars/List.scss +2 -8
  122. package/resources/scss/theme-dark/calendar/view/month/Component.scss +9 -22
  123. package/resources/scss/theme-dark/calendar/view/week/Component.scss +12 -28
  124. package/resources/scss/theme-dark/component/BoxLabel.scss +5 -13
  125. package/resources/scss/theme-dark/component/Chip.scss +14 -31
  126. package/resources/scss/theme-dark/component/DateSelector.scss +24 -52
  127. package/resources/scss/theme-dark/component/Process.scss +9 -21
  128. package/resources/scss/theme-dark/component/Progress.scss +3 -9
  129. package/resources/scss/theme-dark/component/Splitter.scss +4 -12
  130. package/resources/scss/theme-dark/component/StatusBadge.scss +19 -41
  131. package/resources/scss/theme-dark/component/Timer.scss +4 -13
  132. package/resources/scss/theme-dark/component/Toast.scss +8 -20
  133. package/resources/scss/theme-dark/component/Video.scss +3 -10
  134. package/resources/scss/theme-dark/container/Accordion.scss +5 -13
  135. package/resources/scss/theme-dark/container/AccordionItem.scss +10 -23
  136. package/resources/scss/theme-dark/container/Base.scss +4 -11
  137. package/resources/scss/theme-dark/container/Panel.scss +5 -13
  138. package/resources/scss/theme-dark/container/Viewport.scss +3 -9
  139. package/resources/scss/theme-dark/dialog/Base.scss +5 -13
  140. package/resources/scss/theme-dark/examples/ConfigurationPanel.scss +3 -9
  141. package/resources/scss/theme-dark/examples/calendar/basic/MainContainer.scss +3 -10
  142. package/resources/scss/theme-dark/form/Fieldset.scss +5 -14
  143. package/resources/scss/theme-dark/form/field/CheckBox.scss +7 -18
  144. package/resources/scss/theme-dark/form/field/FileUpload.scss +11 -26
  145. package/resources/scss/theme-dark/form/field/Picker.scss +5 -13
  146. package/resources/scss/theme-dark/form/field/Range.scss +4 -11
  147. package/resources/scss/theme-dark/form/field/Search.scss +3 -9
  148. package/resources/scss/theme-dark/form/field/Select.scss +8 -20
  149. package/resources/scss/theme-dark/form/field/Switch.scss +6 -16
  150. package/resources/scss/theme-dark/form/field/Text.scss +31 -66
  151. package/resources/scss/theme-dark/form/field/trigger/Base.scss +5 -14
  152. package/resources/scss/theme-dark/form/field/trigger/Time.scss +3 -10
  153. package/resources/scss/theme-dark/grid/Container.scss +6 -16
  154. package/resources/scss/theme-dark/grid/View.scss +12 -28
  155. package/resources/scss/theme-dark/grid/header/Button.scss +5 -14
  156. package/resources/scss/theme-dark/list/Base.scss +11 -26
  157. package/resources/scss/theme-dark/menu/List.scss +20 -44
  158. package/resources/scss/theme-dark/menu/Panel.scss +2 -8
  159. package/resources/scss/theme-dark/tab/Container.scss +3 -9
  160. package/resources/scss/theme-dark/tab/Strip.scss +5 -13
  161. package/resources/scss/theme-dark/tab/header/Button.scss +29 -62
  162. package/resources/scss/theme-dark/table/Container.scss +9 -22
  163. package/resources/scss/theme-dark/table/View.scss +13 -29
  164. package/resources/scss/theme-dark/table/header/Button.scss +6 -16
  165. package/resources/scss/theme-dark/toolbar/Base.scss +4 -11
  166. package/resources/scss/theme-dark/tree/List.scss +4 -11
  167. package/resources/scss/theme-light/Global.scss +7 -17
  168. package/resources/scss/theme-light/apps/covid/HeaderContainer.scss +10 -23
  169. package/resources/scss/theme-light/apps/covid/country/Gallery.scss +7 -17
  170. package/resources/scss/theme-light/apps/covid/country/Helix.scss +8 -19
  171. package/resources/scss/theme-light/apps/covid/country/LineChartComponent.scss +3 -9
  172. package/resources/scss/theme-light/apps/docs/ContentTabContainer.scss +4 -11
  173. package/resources/scss/theme-light/apps/docs/HeaderContainer.scss +10 -23
  174. package/resources/scss/theme-light/apps/docs/MainContainer.scss +3 -9
  175. package/resources/scss/theme-light/apps/docs/classdetails/HeaderComponent.scss +4 -11
  176. package/resources/scss/theme-light/apps/docs/classdetails/MembersList.scss +17 -37
  177. package/resources/scss/theme-light/apps/docs/classdetails/TutorialComponent.scss +4 -11
  178. package/resources/scss/theme-light/apps/website/HeaderContainer.scss +5 -13
  179. package/resources/scss/theme-light/apps/website/MainContainer.scss +4 -11
  180. package/resources/scss/theme-light/apps/website/blog/Container.scss +3 -9
  181. package/resources/scss/theme-light/apps/website/home/TabContainer.scss +4 -11
  182. package/resources/scss/theme-light/button/Base.scss +107 -218
  183. package/resources/scss/theme-light/calendar/view/EditEventContainer.scss +4 -12
  184. package/resources/scss/theme-light/calendar/view/MainContainer.scss +22 -48
  185. package/resources/scss/theme-light/calendar/view/SettingsContainer.scss +3 -11
  186. package/resources/scss/theme-light/calendar/view/YearComponent.scss +10 -23
  187. package/resources/scss/theme-light/calendar/view/calendars/EditContainer.scss +4 -12
  188. package/resources/scss/theme-light/calendar/view/calendars/List.scss +2 -8
  189. package/resources/scss/theme-light/calendar/view/month/Component.scss +10 -23
  190. package/resources/scss/theme-light/calendar/view/week/Component.scss +12 -28
  191. package/resources/scss/theme-light/component/BoxLabel.scss +5 -13
  192. package/resources/scss/theme-light/component/Chip.scss +14 -31
  193. package/resources/scss/theme-light/component/DateSelector.scss +24 -52
  194. package/resources/scss/theme-light/component/Process.scss +9 -21
  195. package/resources/scss/theme-light/component/Progress.scss +3 -9
  196. package/resources/scss/theme-light/component/Splitter.scss +4 -12
  197. package/resources/scss/theme-light/component/StatusBadge.scss +19 -41
  198. package/resources/scss/theme-light/component/Timer.scss +5 -14
  199. package/resources/scss/theme-light/component/Toast.scss +8 -20
  200. package/resources/scss/theme-light/component/Video.scss +3 -10
  201. package/resources/scss/theme-light/container/Accordion.scss +5 -13
  202. package/resources/scss/theme-light/container/AccordionItem.scss +10 -23
  203. package/resources/scss/theme-light/container/Base.scss +4 -11
  204. package/resources/scss/theme-light/container/Panel.scss +5 -13
  205. package/resources/scss/theme-light/container/Viewport.scss +3 -9
  206. package/resources/scss/theme-light/dialog/Base.scss +5 -13
  207. package/resources/scss/theme-light/examples/ConfigurationPanel.scss +3 -9
  208. package/resources/scss/theme-light/examples/calendar/basic/MainContainer.scss +3 -10
  209. package/resources/scss/theme-light/form/Fieldset.scss +5 -14
  210. package/resources/scss/theme-light/form/field/CheckBox.scss +7 -18
  211. package/resources/scss/theme-light/form/field/FileUpload.scss +11 -26
  212. package/resources/scss/theme-light/form/field/Picker.scss +5 -13
  213. package/resources/scss/theme-light/form/field/Range.scss +4 -11
  214. package/resources/scss/theme-light/form/field/Search.scss +3 -9
  215. package/resources/scss/theme-light/form/field/Select.scss +9 -21
  216. package/resources/scss/theme-light/form/field/Switch.scss +6 -16
  217. package/resources/scss/theme-light/form/field/Text.scss +31 -66
  218. package/resources/scss/theme-light/form/field/trigger/Base.scss +5 -14
  219. package/resources/scss/theme-light/form/field/trigger/Time.scss +3 -10
  220. package/resources/scss/theme-light/grid/Container.scss +6 -16
  221. package/resources/scss/theme-light/grid/View.scss +12 -28
  222. package/resources/scss/theme-light/grid/header/Button.scss +5 -14
  223. package/resources/scss/theme-light/list/Base.scss +12 -27
  224. package/resources/scss/theme-light/menu/List.scss +20 -44
  225. package/resources/scss/theme-light/menu/Panel.scss +2 -8
  226. package/resources/scss/theme-light/tab/Container.scss +3 -9
  227. package/resources/scss/theme-light/tab/Strip.scss +5 -13
  228. package/resources/scss/theme-light/tab/header/Button.scss +29 -62
  229. package/resources/scss/theme-light/table/Container.scss +9 -22
  230. package/resources/scss/theme-light/table/View.scss +13 -29
  231. package/resources/scss/theme-light/table/header/Button.scss +6 -16
  232. package/resources/scss/theme-light/toolbar/Base.scss +4 -11
  233. package/resources/scss/theme-light/tree/List.scss +4 -11
  234. package/src/DefaultConfig.mjs +2 -2
  235. package/src/component/Splitter.mjs +0 -1
  236. package/src/draggable/tab/header/toolbar/SortZone.mjs +3 -3
  237. package/src/form/field/FileUpload.mjs +32 -5
  238. package/src/form/field/Text.mjs +1 -1
  239. package/src/main/DomAccess.mjs +2 -2
  240. package/src/main/DomEvents.mjs +50 -12
  241. package/src/manager/DomEvent.mjs +1 -0
  242. package/src/plugin/PrefixField.mjs +304 -0
  243. package/src/tab/header/Toolbar.mjs +8 -8
  244. package/resources/scss/mixins/_all.scss +0 -31
  245. package/resources/scss/theme-dark/_all.scss +0 -15
  246. package/resources/scss/theme-dark/apps/_all.scss +0 -3
  247. package/resources/scss/theme-dark/apps/covid/_all.scss +0 -4
  248. package/resources/scss/theme-dark/apps/docs/ExamplesTreeList.scss +0 -0
  249. package/resources/scss/theme-dark/apps/docs/TutorialsTreeList.scss +0 -0
  250. package/resources/scss/theme-dark/apps/docs/_all.scss +0 -6
  251. package/resources/scss/theme-dark/apps/docs/classdetails/HierarchyTreeList.scss +0 -0
  252. package/resources/scss/theme-dark/apps/docs/classdetails/MainContainer.scss +0 -0
  253. package/resources/scss/theme-dark/apps/docs/classdetails/_all.scss +0 -5
  254. package/resources/scss/theme-dark/apps/website/_all.scss +0 -4
  255. package/resources/scss/theme-dark/button/_all.scss +0 -1
  256. package/resources/scss/theme-dark/calendar/_all.scss +0 -8
  257. package/resources/scss/theme-dark/component/Circle.scss +0 -0
  258. package/resources/scss/theme-dark/component/_all.scss +0 -5
  259. package/resources/scss/theme-dark/container/_all.scss +0 -3
  260. package/resources/scss/theme-dark/dialog/_all.scss +0 -1
  261. package/resources/scss/theme-dark/examples/_all.scss +0 -2
  262. package/resources/scss/theme-dark/form/_all.scss +0 -9
  263. package/resources/scss/theme-dark/form/field/trigger/Clear.scss +0 -0
  264. package/resources/scss/theme-dark/form/field/trigger/_all.scss +0 -3
  265. package/resources/scss/theme-dark/grid/_all.scss +0 -3
  266. package/resources/scss/theme-dark/grid/header/Toolbar.scss +0 -0
  267. package/resources/scss/theme-dark/grid/header/_all.scss +0 -2
  268. package/resources/scss/theme-dark/list/_all.scss +0 -1
  269. package/resources/scss/theme-dark/menu/_all.scss +0 -2
  270. package/resources/scss/theme-dark/tab/_all.scss +0 -3
  271. package/resources/scss/theme-dark/table/_all.scss +0 -3
  272. package/resources/scss/theme-dark/table/header/Toolbar.scss +0 -0
  273. package/resources/scss/theme-dark/table/header/_all.scss +0 -2
  274. package/resources/scss/theme-dark/tree/_all.scss +0 -1
  275. package/resources/scss/theme-light/_all.scss +0 -15
  276. package/resources/scss/theme-light/apps/_all.scss +0 -3
  277. package/resources/scss/theme-light/apps/covid/_all.scss +0 -4
  278. package/resources/scss/theme-light/apps/docs/ExamplesTreeList.scss +0 -0
  279. package/resources/scss/theme-light/apps/docs/TutorialsTreeList.scss +0 -0
  280. package/resources/scss/theme-light/apps/docs/_all.scss +0 -6
  281. package/resources/scss/theme-light/apps/docs/classdetails/HierarchyTreeList.scss +0 -0
  282. package/resources/scss/theme-light/apps/docs/classdetails/MainContainer.scss +0 -0
  283. package/resources/scss/theme-light/apps/docs/classdetails/_all.scss +0 -5
  284. package/resources/scss/theme-light/apps/website/_all.scss +0 -4
  285. package/resources/scss/theme-light/button/_all.scss +0 -1
  286. package/resources/scss/theme-light/calendar/_all.scss +0 -8
  287. package/resources/scss/theme-light/component/Circle.scss +0 -0
  288. package/resources/scss/theme-light/component/_all.scss +0 -5
  289. package/resources/scss/theme-light/container/_all.scss +0 -3
  290. package/resources/scss/theme-light/dialog/_all.scss +0 -1
  291. package/resources/scss/theme-light/examples/_all.scss +0 -2
  292. package/resources/scss/theme-light/form/_all.scss +0 -9
  293. package/resources/scss/theme-light/form/field/trigger/Clear.scss +0 -0
  294. package/resources/scss/theme-light/form/field/trigger/_all.scss +0 -3
  295. package/resources/scss/theme-light/grid/_all.scss +0 -3
  296. package/resources/scss/theme-light/grid/header/Toolbar.scss +0 -0
  297. package/resources/scss/theme-light/grid/header/_all.scss +0 -2
  298. package/resources/scss/theme-light/list/_all.scss +0 -1
  299. package/resources/scss/theme-light/menu/_all.scss +0 -2
  300. package/resources/scss/theme-light/tab/_all.scss +0 -3
  301. package/resources/scss/theme-light/table/_all.scss +0 -3
  302. package/resources/scss/theme-light/table/header/Toolbar.scss +0 -0
  303. package/resources/scss/theme-light/table/header/_all.scss +0 -2
  304. package/resources/scss/theme-light/tree/_all.scss +0 -1
@@ -11,18 +11,18 @@
11
11
 
12
12
  .neo-button {
13
13
  align-items : center;
14
- background-color : v(button-background-color);
15
- background-image : v(button-background-image);
16
- border : v(button-border);
17
- border-radius : v(button-border-radius);
14
+ background-color : var(--button-background-color);
15
+ background-image : var(--button-background-image);
16
+ border : var(--button-border);
17
+ border-radius : var(--button-border-radius);
18
18
  box-sizing : border-box;
19
19
  cursor : pointer;
20
20
  display : flex;
21
21
  flex-direction : row;
22
- height : v(button-height);
22
+ height : var(--button-height);
23
23
  justify-content : center;
24
- margin : v(button-margin);
25
- padding : v(button-padding);
24
+ margin : var(--button-margin);
25
+ padding : var(--button-padding);
26
26
  position : relative;
27
27
  text-decoration : none; // for url buttons => links
28
28
  transition : outline-width .1s ease-out;
@@ -31,9 +31,9 @@
31
31
  -webkit-appearance: button;
32
32
 
33
33
  .neo-button-badge {
34
- background-color: v(button-badge-background-color);
34
+ background-color: var(--button-badge-background-color);
35
35
  border-radius : 5px;
36
- color : v(button-badge-color);
36
+ color : var(--button-badge-color);
37
37
  margin-left : auto;
38
38
  padding : 3px;
39
39
  pointer-events : none;
@@ -42,28 +42,28 @@
42
42
  z-index : 3;
43
43
 
44
44
  &.neo-bottom-left {
45
- bottom: v(button-badge-margin-top);
46
- left : v(button-badge-margin-left);
45
+ bottom: var(--button-badge-margin-top);
46
+ left : var(--button-badge-margin-left);
47
47
  }
48
48
 
49
49
  &.neo-bottom-right {
50
- bottom: v(button-badge-margin-top);
51
- right : v(button-badge-margin-left);
50
+ bottom: var(--button-badge-margin-top);
51
+ right : var(--button-badge-margin-left);
52
52
  }
53
53
 
54
54
  &.neo-top-left {
55
- left: v(button-badge-margin-left);
56
- top : v(button-badge-margin-top);
55
+ left: var(--button-badge-margin-left);
56
+ top : var(--button-badge-margin-top);
57
57
  }
58
58
 
59
59
  &.neo-top-right {
60
- right: v(button-badge-margin-left);
61
- top : v(button-badge-margin-top);
60
+ right: var(--button-badge-margin-left);
61
+ top : var(--button-badge-margin-top);
62
62
  }
63
63
  }
64
64
 
65
65
  .neo-button-glyph {
66
- color : v(button-glyph-color);
66
+ color : var(--button-glyph-color);
67
67
  font-size : 12px;
68
68
  margin : 0 6px 0 0;
69
69
  pointer-events: none;
@@ -71,7 +71,7 @@
71
71
  }
72
72
 
73
73
  .neo-button-ripple {
74
- background-color: v(button-ripple-background-color);
74
+ background-color: var(--button-ripple-background-color);
75
75
  border-radius : 50%;
76
76
  opacity : 0;
77
77
  position : absolute;
@@ -87,45 +87,45 @@
87
87
  }
88
88
 
89
89
  .neo-button-text {
90
- color : v(button-text-color);
91
- font-family : v(button-text-font-family);
92
- font-size : v(button-text-font-size);
93
- font-weight : v(button-text-font-weight);
94
- line-height : v(button-text-line-height);
90
+ color : var(--button-text-color);
91
+ font-family : var(--button-text-font-family);
92
+ font-size : var(--button-text-font-size);
93
+ font-weight : var(--button-text-font-weight);
94
+ line-height : var(--button-text-line-height);
95
95
  pointer-events: none;
96
- text-transform: v(button-text-transform);
96
+ text-transform: var(--button-text-transform);
97
97
  z-index : 2;
98
98
  }
99
99
 
100
100
  &:active {
101
- background-color: v(button-background-color-active) !important;
101
+ background-color: var(--button-background-color-active) !important;
102
102
  background-image: none !important;
103
- border : v(button-border-active) !important;
103
+ border : var(--button-border-active) !important;
104
104
 
105
105
  .neo-button-glyph {
106
- color: v(button-glyph-color-active);
106
+ color: var(--button-glyph-color-active);
107
107
  }
108
108
 
109
109
  .neo-button-text {
110
- color: v(button-text-color-active);
110
+ color: var(--button-text-color-active);
111
111
  }
112
112
  }
113
113
 
114
114
  &:focus {
115
- outline: v(button-outline-active);
115
+ outline: var(--button-outline-active);
116
116
  }
117
117
 
118
118
  &:hover {
119
- background-color: v(button-background-color-hover);
119
+ background-color: var(--button-background-color-hover);
120
120
  background-image: none !important;
121
- border : v(button-border-hover);
121
+ border : var(--button-border-hover);
122
122
 
123
123
  .neo-button-glyph {
124
- color: v(button-glyph-color-hover);
124
+ color: var(--button-glyph-color-hover);
125
125
  }
126
126
 
127
127
  .neo-button-text {
128
- color: v(button-text-color-hover);
128
+ color: var(--button-text-color-hover);
129
129
  }
130
130
  }
131
131
 
@@ -154,161 +154,161 @@
154
154
  }
155
155
 
156
156
  &.neo-button-ghost {
157
- background-color: v(button-ghost-background-color);
158
- background-image: v(button-ghost-background-image);
159
- border : v(button-ghost-border);
157
+ background-color: var(--button-ghost-background-color);
158
+ background-image: var(--button-ghost-background-image);
159
+ border : var(--button-ghost-border);
160
160
 
161
161
  .neo-button-badge {
162
- background-color: v(button-ghost-badge-background-color);
163
- color : v(button-ghost-badge-color);
162
+ background-color: var(--button-ghost-badge-background-color);
163
+ color : var(--button-ghost-badge-color);
164
164
  }
165
165
 
166
166
  .neo-button-glyph {
167
- color: v(button-ghost-glyph-color);
167
+ color: var(--button-ghost-glyph-color);
168
168
  }
169
169
 
170
170
  .neo-button-ripple {
171
- background-color: v(button-ghost-ripple-background-color);
171
+ background-color: var(--button-ghost-ripple-background-color);
172
172
  }
173
173
 
174
174
  .neo-button-text {
175
- color: v(button-ghost-text-color);
175
+ color: var(--button-ghost-text-color);
176
176
  }
177
177
 
178
178
  &:active {
179
- background-color: v(button-ghost-background-color-active) !important;
180
- border : v(button-ghost-border-active) !important;
179
+ background-color: var(--button-ghost-background-color-active) !important;
180
+ border : var(--button-ghost-border-active) !important;
181
181
 
182
182
  .neo-button-glyph {
183
- color: v(button-ghost-glyph-color-active);
183
+ color: var(--button-ghost-glyph-color-active);
184
184
  }
185
185
 
186
186
  .neo-button-text {
187
- color: v(button-ghost-text-color-active);
187
+ color: var(--button-ghost-text-color-active);
188
188
  }
189
189
  }
190
190
 
191
191
  &:hover {
192
- background-color: v(button-ghost-background-color-hover);
193
- border : v(button-ghost-border-hover);
192
+ background-color: var(--button-ghost-background-color-hover);
193
+ border : var(--button-ghost-border-hover);
194
194
 
195
195
  .neo-button-glyph {
196
- color: v(button-ghost-glyph-color-hover);
196
+ color: var(--button-ghost-glyph-color-hover);
197
197
  }
198
198
 
199
199
  .neo-button-text {
200
- color: v(button-ghost-text-color-hover);
200
+ color: var(--button-ghost-text-color-hover);
201
201
  }
202
202
  }
203
203
 
204
204
  &.pressed {
205
- border: v(button-ghost-border-pressed);
205
+ border: var(--button-ghost-border-pressed);
206
206
  }
207
207
  }
208
208
 
209
209
  &.neo-button-secondary {
210
- background-color: v(button-secondary-background-color);
211
- background-image: v(button-secondary-background-image);
212
- border : v(button-secondary-border);
210
+ background-color: var(--button-secondary-background-color);
211
+ background-image: var(--button-secondary-background-image);
212
+ border : var(--button-secondary-border);
213
213
 
214
214
  .neo-button-badge {
215
- background-color: v(button-secondary-badge-background-color);
216
- color : v(button-secondary-badge-color);
215
+ background-color: var(--button-secondary-badge-background-color);
216
+ color : var(--button-secondary-badge-color);
217
217
  }
218
218
 
219
219
  .neo-button-glyph {
220
- color: v(button-secondary-glyph-color);
220
+ color: var(--button-secondary-glyph-color);
221
221
  }
222
222
 
223
223
  .neo-button-ripple {
224
- background-color: v(button-secondary-ripple-background-color);
224
+ background-color: var(--button-secondary-ripple-background-color);
225
225
  }
226
226
 
227
227
  .neo-button-text {
228
- color: v(button-secondary-text-color);
228
+ color: var(--button-secondary-text-color);
229
229
  }
230
230
 
231
231
  &:active {
232
- background-color: v(button-secondary-background-color-active) !important;
233
- border : v(button-secondary-border-active) !important;
232
+ background-color: var(--button-secondary-background-color-active) !important;
233
+ border : var(--button-secondary-border-active) !important;
234
234
 
235
235
  .neo-button-glyph {
236
- color: v(button-secondary-glyph-color-active);
236
+ color: var(--button-secondary-glyph-color-active);
237
237
  }
238
238
 
239
239
  .neo-button-text {
240
- color: v(button-secondary-text-color-active);
240
+ color: var(--button-secondary-text-color-active);
241
241
  }
242
242
  }
243
243
 
244
244
  &:hover {
245
- background-color: v(button-secondary-background-color-hover);
246
- border : v(button-secondary-border-hover);
245
+ background-color: var(--button-secondary-background-color-hover);
246
+ border : var(--button-secondary-border-hover);
247
247
 
248
248
  .neo-button-glyph {
249
- color: v(button-secondary-glyph-color-hover);
249
+ color: var(--button-secondary-glyph-color-hover);
250
250
  }
251
251
 
252
252
  .neo-button-text {
253
- color: v(button-secondary-text-color-hover);
253
+ color: var(--button-secondary-text-color-hover);
254
254
  }
255
255
  }
256
256
 
257
257
  &.pressed {
258
- border: v(button-secondary-border-pressed);
258
+ border: var(--button-secondary-border-pressed);
259
259
  }
260
260
  }
261
261
 
262
262
  &.neo-button-tertiary {
263
- background-color: v(button-tertiary-background-color);
264
- background-image: v(button-tertiary-background-image);
265
- border : v(button-tertiary-border);
263
+ background-color: var(--button-tertiary-background-color);
264
+ background-image: var(--button-tertiary-background-image);
265
+ border : var(--button-tertiary-border);
266
266
 
267
267
  .neo-button-badge {
268
- background-color: v(button-tertiary-badge-background-color);
269
- color : v(button-tertiary-badge-color);
268
+ background-color: var(--button-tertiary-badge-background-color);
269
+ color : var(--button-tertiary-badge-color);
270
270
  }
271
271
 
272
272
  .neo-button-glyph {
273
- color: v(button-tertiary-glyph-color);
273
+ color: var(--button-tertiary-glyph-color);
274
274
  }
275
275
 
276
276
  .neo-button-ripple {
277
- background-color: v(button-tertiary-ripple-background-color);
277
+ background-color: var(--button-tertiary-ripple-background-color);
278
278
  }
279
279
 
280
280
  .neo-button-text {
281
- color: v(button-tertiary-text-color);
281
+ color: var(--button-tertiary-text-color);
282
282
  }
283
283
 
284
284
  &:active {
285
- background-color: v(button-tertiary-background-color-active) !important;
286
- border : v(button-tertiary-border-active) !important;
285
+ background-color: var(--button-tertiary-background-color-active) !important;
286
+ border : var(--button-tertiary-border-active) !important;
287
287
 
288
288
  .neo-button-glyph {
289
- color: v(button-tertiary-glyph-color-active);
289
+ color: var(--button-tertiary-glyph-color-active);
290
290
  }
291
291
 
292
292
  .neo-button-text {
293
- color: v(button-tertiary-text-color-active);
293
+ color: var(--button-tertiary-text-color-active);
294
294
  }
295
295
  }
296
296
 
297
297
  &:hover {
298
- background-color: v(button-tertiary-background-color-hover);
299
- border : v(button-tertiary-border-hover);
298
+ background-color: var(--button-tertiary-background-color-hover);
299
+ border : var(--button-tertiary-border-hover);
300
300
 
301
301
  .neo-button-glyph {
302
- color: v(button-tertiary-glyph-color-hover);
302
+ color: var(--button-tertiary-glyph-color-hover);
303
303
  }
304
304
 
305
305
  .neo-button-text {
306
- color: v(button-tertiary-text-color-hover);
306
+ color: var(--button-tertiary-text-color-hover);
307
307
  }
308
308
  }
309
309
 
310
310
  &.pressed {
311
- border: v(button-tertiary-border-pressed);
311
+ border: var(--button-tertiary-border-pressed);
312
312
  }
313
313
  }
314
314
 
@@ -319,51 +319,51 @@
319
319
  }
320
320
 
321
321
  &.pressed {
322
- border: v(button-border-pressed);
322
+ border: var(--button-border-pressed);
323
323
  }
324
324
  }
325
325
 
326
326
  .neo-disabled {
327
327
  .neo-button,
328
328
  &.neo-button {
329
- background-color: v(button-background-color-disabled);
330
- border : v(button-border-disabled);
329
+ background-color: var(--button-background-color-disabled);
330
+ border : var(--button-border-disabled);
331
331
  cursor : default;
332
- opacity : v(button-opacity-disabled);
332
+ opacity : var(--button-opacity-disabled);
333
333
 
334
334
  .neo-button-glyph {
335
- color: v(button-glyph-color-disabled);
335
+ color: var(--button-glyph-color-disabled);
336
336
  }
337
337
 
338
338
  .neo-button-text {
339
- color: v(button-text-color-disabled);
339
+ color: var(--button-text-color-disabled);
340
340
  }
341
341
 
342
342
  &.neo-button-secondary {
343
- background-color: v(button-secondary-background-color-disabled);
344
- border : v(button-secondary-border-disabled);
345
- opacity : v(button-secondary-opacity-disabled);
343
+ background-color: var(--button-secondary-background-color-disabled);
344
+ border : var(--button-secondary-border-disabled);
345
+ opacity : var(--button-secondary-opacity-disabled);
346
346
 
347
347
  .neo-button-glyph {
348
- color: v(button-secondary-glyph-color-disabled);
348
+ color: var(--button-secondary-glyph-color-disabled);
349
349
  }
350
350
 
351
351
  .neo-button-text {
352
- color: v(button-secondary-text-color-disabled);
352
+ color: var(--button-secondary-text-color-disabled);
353
353
  }
354
354
  }
355
355
 
356
356
  &.neo-button-tertiary {
357
- background-color: v(button-tertiary-background-color-disabled);
358
- border : v(button-tertiary-border-disabled);
359
- opacity : v(button-tertiary-opacity-disabled);
357
+ background-color: var(--button-tertiary-background-color-disabled);
358
+ border : var(--button-tertiary-border-disabled);
359
+ opacity : var(--button-tertiary-opacity-disabled);
360
360
 
361
361
  .neo-button-glyph {
362
- color: v(button-tertiary-glyph-color-disabled);
362
+ color: var(--button-tertiary-glyph-color-disabled);
363
363
  }
364
364
 
365
365
  .neo-button-text {
366
- color: v(button-tertiary-text-color-disabled);
366
+ color: var(--button-tertiary-text-color-disabled);
367
367
  }
368
368
  }
369
369
  }
@@ -1,6 +1,6 @@
1
1
  .neo-split-button {
2
- border : v(button-border-width) solid v(button-border-color);
3
- border-radius: v(button-border-radius);
2
+ border : var(--button-border-width) solid var(--button-border-color);
3
+ border-radius: var(--button-border-radius);
4
4
  display : flex;
5
5
  width : fit-content;
6
6
 
@@ -11,6 +11,6 @@
11
11
  }
12
12
 
13
13
  .neo-trigger-button {
14
- border-left: v(button-border-width) solid v(button-border-color);
14
+ border-left: var(--button-border-width) solid var(--button-border-color);
15
15
  }
16
16
  }
@@ -1,7 +1,7 @@
1
1
  .neo-calendar-edit-event-container {
2
- background-color: v(calendar-edit-event-background-color);
3
- border : 1px solid v(calendar-edit-event-border-color);
4
- box-shadow : v(calendar-edit-event-box-shadow);
2
+ background-color: var(--calendar-edit-event-background-color);
3
+ border : 1px solid var(--calendar-edit-event-border-color);
4
+ box-shadow : var(--calendar-edit-event-box-shadow);
5
5
  padding : .7em;
6
6
  position : absolute;
7
7
  top : 0;
@@ -9,7 +9,7 @@
9
9
 
10
10
  &:before {
11
11
  border-bottom: 12px solid transparent;
12
- border-right : 12px solid v(calendar-edit-event-border-color);
12
+ border-right : 12px solid var(--calendar-edit-event-border-color);
13
13
  border-top : 12px solid transparent;
14
14
  content : '';
15
15
  display : block;