@rio-cloud/rio-uikit 0.16.1-beta.24 → 0.16.2-beta.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 (292) hide show
  1. package/AutoSuggest.d.ts +6 -5
  2. package/Bar.d.ts +4 -1
  3. package/Carousel.d.ts +2 -0
  4. package/ColorScheme.d.ts +4 -0
  5. package/ColorScheme.js +2 -0
  6. package/Colors.js +1 -1
  7. package/ConfirmationDialog.d.ts +8 -1
  8. package/ContentLoader.d.ts +4 -1
  9. package/ExpanderList.d.ts +5 -5
  10. package/Fade.d.ts +10 -1
  11. package/FilePicker.d.ts +5 -1
  12. package/ListMenu.d.ts +6 -5
  13. package/Map.d.ts +10 -7
  14. package/MediaDialog.d.ts +8 -4
  15. package/MenuItem.d.ts +1 -1
  16. package/Multiselect.d.ts +11 -4
  17. package/NumberControl.d.ts +4 -1
  18. package/NumberInput.d.ts +4 -1
  19. package/OnboardingTip.d.ts +26 -1
  20. package/OverlayTrigger.d.ts +25 -1
  21. package/Popover.d.ts +7 -1
  22. package/Resizer.d.ts +9 -1
  23. package/ResponsiveVideo.d.ts +4 -1
  24. package/RuleConnector.d.ts +5 -1
  25. package/SaveDialog.d.ts +8 -1
  26. package/Select.d.ts +5 -5
  27. package/Sidebar.d.ts +7 -1
  28. package/SimpleDialog.d.ts +8 -1
  29. package/SimpleTooltip.d.ts +25 -1
  30. package/SplitDialog.d.ts +8 -1
  31. package/SteppedProgressBar.d.ts +5 -1
  32. package/Switch.d.ts +4 -1
  33. package/TagManager.d.ts +5 -5
  34. package/Tooltip.d.ts +28 -1
  35. package/components/charts/chartHelper.js +1 -1
  36. package/components/dropdown/ButtonDropdown.js +9 -3
  37. package/components/mapMarker/ClusterMapMarker.js +2 -2
  38. package/components/mapMarker/SingleMapMarker.js +2 -2
  39. package/components/rules/RuleConnector.js +4 -1
  40. package/components/selects/BaseDropdownMenu.js +40 -26
  41. package/components/selects/Multiselect.js +5 -3
  42. package/components/selects/Select.js +7 -5
  43. package/components/sidebars/Sidebar.js +1 -1
  44. package/framer-motion.d.ts +1 -0
  45. package/hooks/useScrollPosition.js +72 -0
  46. package/index.js +4 -1
  47. package/lib/es/AutoSuggest.d.ts +6 -5
  48. package/lib/es/Bar.d.ts +4 -1
  49. package/lib/es/Carousel.d.ts +2 -0
  50. package/lib/es/ColorScheme.d.ts +4 -0
  51. package/lib/es/ColorScheme.js +18 -0
  52. package/lib/es/Colors.js +1 -1
  53. package/lib/es/ConfirmationDialog.d.ts +8 -1
  54. package/lib/es/ContentLoader.d.ts +4 -1
  55. package/lib/es/ExpanderList.d.ts +5 -5
  56. package/lib/es/Fade.d.ts +10 -1
  57. package/lib/es/FilePicker.d.ts +5 -1
  58. package/lib/es/ListMenu.d.ts +6 -5
  59. package/lib/es/Map.d.ts +10 -7
  60. package/lib/es/MediaDialog.d.ts +8 -4
  61. package/lib/es/MenuItem.d.ts +1 -1
  62. package/lib/es/Multiselect.d.ts +11 -4
  63. package/lib/es/NumberControl.d.ts +4 -1
  64. package/lib/es/NumberInput.d.ts +4 -1
  65. package/lib/es/OnboardingTip.d.ts +26 -1
  66. package/lib/es/OverlayTrigger.d.ts +25 -1
  67. package/lib/es/Popover.d.ts +7 -1
  68. package/lib/es/Resizer.d.ts +9 -1
  69. package/lib/es/ResponsiveVideo.d.ts +4 -1
  70. package/lib/es/RuleConnector.d.ts +5 -1
  71. package/lib/es/SaveDialog.d.ts +8 -1
  72. package/lib/es/Select.d.ts +5 -5
  73. package/lib/es/Sidebar.d.ts +7 -1
  74. package/lib/es/SimpleDialog.d.ts +8 -1
  75. package/lib/es/SimpleTooltip.d.ts +25 -1
  76. package/lib/es/SplitDialog.d.ts +8 -1
  77. package/lib/es/SteppedProgressBar.d.ts +5 -1
  78. package/lib/es/Switch.d.ts +4 -1
  79. package/lib/es/TagManager.d.ts +5 -5
  80. package/lib/es/Tooltip.d.ts +28 -1
  81. package/lib/es/components/charts/chartHelper.js +1 -1
  82. package/lib/es/components/dropdown/ButtonDropdown.js +9 -3
  83. package/lib/es/components/mapMarker/ClusterMapMarker.js +2 -2
  84. package/lib/es/components/mapMarker/SingleMapMarker.js +2 -2
  85. package/lib/es/components/rules/RuleConnector.js +4 -1
  86. package/lib/es/components/selects/BaseDropdownMenu.js +40 -26
  87. package/lib/es/components/selects/Multiselect.js +5 -3
  88. package/lib/es/components/selects/Select.js +7 -5
  89. package/lib/es/components/sidebars/Sidebar.js +1 -1
  90. package/lib/es/framer-motion.d.ts +1 -0
  91. package/lib/es/hooks/useScrollPosition.js +80 -0
  92. package/lib/es/index.js +24 -1
  93. package/lib/es/styles/components/Activity.less +9 -10
  94. package/lib/es/styles/components/ApplicationHeader.less +24 -29
  95. package/lib/es/styles/components/ApplicationLayout.less +7 -7
  96. package/lib/es/styles/components/AssetTree.less +30 -28
  97. package/lib/es/styles/components/AutoSuggest.less +2 -2
  98. package/lib/es/styles/components/BottomSheet.less +1 -2
  99. package/lib/es/styles/components/Carousel.less +13 -9
  100. package/lib/es/styles/components/Checkbox.less +15 -16
  101. package/lib/es/styles/components/ClearableInput.less +3 -3
  102. package/lib/es/styles/components/Counter.less +12 -12
  103. package/lib/es/styles/components/DataTabs.less +2 -2
  104. package/lib/es/styles/components/DatePicker.less +27 -27
  105. package/lib/es/styles/components/Dialog.less +15 -11
  106. package/lib/es/styles/components/Dropdown.less +22 -13
  107. package/lib/es/styles/components/Expander.less +7 -7
  108. package/lib/es/styles/components/ListMenu.less +8 -8
  109. package/lib/es/styles/components/MapHere.less +3 -2
  110. package/lib/es/styles/components/MapMarker.less +16 -17
  111. package/lib/es/styles/components/MapSettings.less +5 -5
  112. package/lib/es/styles/components/NoData.less +1 -1
  113. package/lib/es/styles/components/Notification.less +12 -12
  114. package/lib/es/styles/components/RadioButton.less +11 -12
  115. package/lib/es/styles/components/Resizer.less +1 -1
  116. package/lib/es/styles/components/Select.less +21 -32
  117. package/lib/es/styles/components/Sidebar.less +29 -21
  118. package/lib/es/styles/components/Slider.less +18 -18
  119. package/lib/es/styles/components/Spinner.less +6 -6
  120. package/lib/es/styles/components/StatsWidget.less +5 -5
  121. package/lib/es/styles/components/SteppedProgressBar.less +32 -29
  122. package/lib/es/styles/components/SupportMarker.less +1 -1
  123. package/lib/es/styles/components/Switch.less +8 -8
  124. package/lib/es/styles/components/TableSettingsDialog.less +7 -7
  125. package/lib/es/styles/components/TableToolbar.less +1 -1
  126. package/lib/es/styles/components/Tag.less +10 -10
  127. package/lib/es/styles/components/Timeline.less +3 -3
  128. package/lib/es/styles/components/Tooltip.less +10 -10
  129. package/lib/es/styles/design/badges.less +10 -10
  130. package/lib/es/styles/design/border.less +1 -1
  131. package/lib/es/styles/design/breadcrumbs.less +2 -2
  132. package/lib/es/styles/design/button-groups.less +25 -1
  133. package/lib/es/styles/design/buttons.less +53 -109
  134. package/lib/es/styles/design/callouts.less +3 -3
  135. package/lib/es/styles/design/code.less +4 -6
  136. package/lib/es/styles/design/colors.less +20 -20
  137. package/lib/es/styles/design/fonts.less +23 -23
  138. package/lib/es/styles/design/form-input-groups.less +4 -4
  139. package/lib/es/styles/design/form-inputs.less +33 -31
  140. package/lib/es/styles/design/images.less +2 -2
  141. package/lib/es/styles/design/labels.less +11 -11
  142. package/lib/es/styles/design/list-group.less +14 -12
  143. package/lib/es/styles/design/navs.less +27 -27
  144. package/lib/es/styles/design/normalize.less +0 -11
  145. package/lib/es/styles/design/pagination.less +10 -10
  146. package/lib/es/styles/design/panels.less +10 -10
  147. package/lib/es/styles/design/popovers.less +8 -8
  148. package/lib/es/styles/design/progress-bars.less +8 -8
  149. package/lib/es/styles/design/responsive/flexgrid.less +4 -6
  150. package/lib/es/styles/design/responsive/sizing.less +3 -0
  151. package/lib/es/styles/design/shadows.less +14 -7
  152. package/lib/es/styles/design/tables.less +68 -106
  153. package/lib/es/styles/design/text.less +5 -19
  154. package/lib/es/styles/design/theme.less +10 -10
  155. package/lib/es/styles/design/thumbnails.less +2 -2
  156. package/lib/es/styles/design/type.less +4 -4
  157. package/lib/es/styles/design/wells.less +1 -1
  158. package/lib/es/styles/mapping/color-map.less +65 -64
  159. package/lib/es/styles/mixins/_imports.less +14 -0
  160. package/lib/es/styles/mixins/buttons.less +24 -56
  161. package/lib/es/styles/mixins/forms.less +19 -55
  162. package/lib/es/styles/mixins/hsl.less +19 -0
  163. package/lib/es/styles/mixins/panels.less +2 -2
  164. package/lib/es/styles/print/print.less +7 -7
  165. package/lib/es/styles/rio-uikit-core.less +2 -2
  166. package/lib/es/styles/rio-uikit-print-utilities.less +2 -2
  167. package/lib/es/styles/rio-uikit-responsive-utilities.less +2 -2
  168. package/lib/es/styles/variables/_index.less +196 -0
  169. package/lib/es/styles/variables/colors.json +67 -0
  170. package/lib/es/styles/variables/concated_css_variables.less +66 -0
  171. package/lib/es/styles/variables/dark_colors.less +88 -0
  172. package/lib/es/styles/variables/dark_css_variables.less +28 -0
  173. package/lib/es/styles/variables/dark_css_variables_map.less +96 -0
  174. package/lib/es/styles/variables/light_colors.less +92 -0
  175. package/lib/es/styles/variables/light_css_variables.less +17 -0
  176. package/lib/es/styles/variables/light_css_variables_map.less +100 -0
  177. package/lib/es/styles/variables/screens.less +7 -0
  178. package/lib/es/styles/variables/text.less +23 -0
  179. package/lib/es/themes/BuyButton/styles/rio-buyButton.less +13 -8
  180. package/lib/es/themes/MAN/styles/man-uikit.less +3 -0
  181. package/lib/es/themes/SCANIA/styles/scania-uikit.less +3 -0
  182. package/lib/es/themes/Volkswagen/styles/vw-uikit.less +21 -30
  183. package/lib/es/themes/Website/styles/rio-website.less +145 -120
  184. package/lib/es/themes/Xmas/styles/rio-xmas.less +59 -29
  185. package/lib/es/types.ts +20 -16
  186. package/lib/es/useScrollPosition.d.ts +4 -0
  187. package/lib/es/{BoxConnector.js → useScrollPosition.js} +2 -2
  188. package/lib/es/utils/colorScheme.js +57 -0
  189. package/lib/es/utils/init.js +2 -0
  190. package/lib/es/version.json +1 -1
  191. package/package.json +6 -4
  192. package/styles/components/Activity.less +9 -10
  193. package/styles/components/ApplicationHeader.less +24 -29
  194. package/styles/components/ApplicationLayout.less +7 -7
  195. package/styles/components/AssetTree.less +30 -28
  196. package/styles/components/AutoSuggest.less +2 -2
  197. package/styles/components/BottomSheet.less +1 -2
  198. package/styles/components/Carousel.less +13 -9
  199. package/styles/components/Checkbox.less +15 -16
  200. package/styles/components/ClearableInput.less +3 -3
  201. package/styles/components/Counter.less +12 -12
  202. package/styles/components/DataTabs.less +2 -2
  203. package/styles/components/DatePicker.less +27 -27
  204. package/styles/components/Dialog.less +15 -11
  205. package/styles/components/Dropdown.less +22 -13
  206. package/styles/components/Expander.less +7 -7
  207. package/styles/components/ListMenu.less +8 -8
  208. package/styles/components/MapHere.less +3 -2
  209. package/styles/components/MapMarker.less +16 -17
  210. package/styles/components/MapSettings.less +5 -5
  211. package/styles/components/NoData.less +1 -1
  212. package/styles/components/Notification.less +12 -12
  213. package/styles/components/RadioButton.less +11 -12
  214. package/styles/components/Resizer.less +1 -1
  215. package/styles/components/Select.less +21 -32
  216. package/styles/components/Sidebar.less +29 -21
  217. package/styles/components/Slider.less +18 -18
  218. package/styles/components/Spinner.less +6 -6
  219. package/styles/components/StatsWidget.less +5 -5
  220. package/styles/components/SteppedProgressBar.less +32 -29
  221. package/styles/components/SupportMarker.less +1 -1
  222. package/styles/components/Switch.less +8 -8
  223. package/styles/components/TableSettingsDialog.less +7 -7
  224. package/styles/components/TableToolbar.less +1 -1
  225. package/styles/components/Tag.less +10 -10
  226. package/styles/components/Timeline.less +3 -3
  227. package/styles/components/Tooltip.less +10 -10
  228. package/styles/design/badges.less +10 -10
  229. package/styles/design/border.less +1 -1
  230. package/styles/design/breadcrumbs.less +2 -2
  231. package/styles/design/button-groups.less +25 -1
  232. package/styles/design/buttons.less +53 -109
  233. package/styles/design/callouts.less +3 -3
  234. package/styles/design/code.less +4 -6
  235. package/styles/design/colors.less +20 -20
  236. package/styles/design/fonts.less +23 -23
  237. package/styles/design/form-input-groups.less +4 -4
  238. package/styles/design/form-inputs.less +33 -31
  239. package/styles/design/images.less +2 -2
  240. package/styles/design/labels.less +11 -11
  241. package/styles/design/list-group.less +14 -12
  242. package/styles/design/navs.less +27 -27
  243. package/styles/design/normalize.less +0 -11
  244. package/styles/design/pagination.less +10 -10
  245. package/styles/design/panels.less +10 -10
  246. package/styles/design/popovers.less +8 -8
  247. package/styles/design/progress-bars.less +8 -8
  248. package/styles/design/responsive/flexgrid.less +4 -6
  249. package/styles/design/responsive/sizing.less +3 -0
  250. package/styles/design/shadows.less +14 -7
  251. package/styles/design/tables.less +68 -106
  252. package/styles/design/text.less +5 -19
  253. package/styles/design/theme.less +10 -10
  254. package/styles/design/thumbnails.less +2 -2
  255. package/styles/design/type.less +4 -4
  256. package/styles/design/wells.less +1 -1
  257. package/styles/mapping/color-map.less +65 -64
  258. package/styles/mixins/_imports.less +14 -0
  259. package/styles/mixins/buttons.less +24 -56
  260. package/styles/mixins/forms.less +19 -55
  261. package/styles/mixins/hsl.less +19 -0
  262. package/styles/mixins/panels.less +2 -2
  263. package/styles/print/print.less +7 -7
  264. package/styles/rio-uikit-core.less +2 -2
  265. package/styles/rio-uikit-print-utilities.less +2 -2
  266. package/styles/rio-uikit-responsive-utilities.less +2 -2
  267. package/styles/variables/_index.less +196 -0
  268. package/styles/variables/colors.json +67 -0
  269. package/styles/variables/concated_css_variables.less +66 -0
  270. package/styles/variables/dark_colors.less +88 -0
  271. package/styles/variables/dark_css_variables.less +28 -0
  272. package/styles/variables/dark_css_variables_map.less +96 -0
  273. package/styles/variables/light_colors.less +92 -0
  274. package/styles/variables/light_css_variables.less +17 -0
  275. package/styles/variables/light_css_variables_map.less +100 -0
  276. package/styles/variables/screens.less +7 -0
  277. package/styles/variables/text.less +23 -0
  278. package/themes/BuyButton/styles/rio-buyButton.less +13 -8
  279. package/themes/MAN/styles/man-uikit.less +3 -0
  280. package/themes/SCANIA/styles/scania-uikit.less +3 -0
  281. package/themes/Volkswagen/styles/vw-uikit.less +21 -30
  282. package/themes/Website/styles/rio-website.less +145 -120
  283. package/themes/Xmas/styles/rio-xmas.less +59 -29
  284. package/types.ts +20 -16
  285. package/useScrollPosition.d.ts +4 -0
  286. package/useScrollPosition.js +2 -0
  287. package/utils/colorScheme.js +48 -0
  288. package/utils/init.js +2 -0
  289. package/version.json +1 -1
  290. package/BoxConnector.js +0 -2
  291. package/components/boxConnector/BoxConnector.js +0 -40
  292. package/lib/es/components/boxConnector/BoxConnector.js +0 -48
@@ -1,6 +1,9 @@
1
1
  // Core
2
2
  @import (less) '../../../styles/rio-uikit-core.less';
3
3
 
4
+ // Theme
5
+ // @hasDarkmode: false;
6
+
4
7
  // Utility Classes
5
8
  @import (less) '../../../styles/design/responsive/_imports.less';
6
9
  .import-reponsive(
@@ -32,8 +35,8 @@
32
35
  @mobile-breakpoint: @screen-ls;
33
36
 
34
37
  // Colors
35
- @text-color: @color-black;
36
- .text-color-darkest { color: @text-color !important }
38
+ @brand-man: #e40045;
39
+ .text-color-darkest { color: var(--color-black) !important }
37
40
 
38
41
  .svg-color-primary { filter: invert(53%) sepia(50%) saturate(562%) hue-rotate(137deg) brightness(104%) contrast(92%) }
39
42
  .svg-color-coldplay-wine { filter: invert(10%) sepia(28%) saturate(7014%) hue-rotate(287deg) brightness(100%) contrast(102%) }
@@ -59,50 +62,50 @@
59
62
 
60
63
  [class*="bg-"] { color: inherit }
61
64
 
62
- .bg-color-coldplay-wine { background-color: @color-coldplay-wine !important }
63
- .bg-color-coldplay-aubergine { background-color: @color-coldplay-aubergine !important }
64
- .bg-color-coldplay-kashmir { background-color: @color-coldplay-kashmir !important }
65
- .bg-color-coldplay-fountain { background-color: @color-coldplay-fountain !important }
66
- .bg-color-coldplay-turquoise { background-color: @color-coldplay-turquoise !important }
67
- .bg-color-coldplay-bermuda { background-color: @color-coldplay-bermuda !important }
68
- .bg-color-coldplay-moos { background-color: @color-coldplay-moos !important }
69
- .bg-color-coldplay-primrose { background-color: @color-coldplay-primrose !important }
70
- .bg-color-coldplay-khaki { background-color: @color-coldplay-khaki !important }
71
- .bg-color-warmup-crimson { background-color: @color-warmup-crimson !important }
72
- .bg-color-warmup-victoria { background-color: @color-warmup-victoria !important }
73
- .bg-color-warmup-cadillac { background-color: @color-warmup-cadillac !important }
74
- .bg-color-warmup-raspberry { background-color: @color-warmup-raspberry !important }
75
- .bg-color-warmup-cerise { background-color: @color-warmup-cerise !important }
76
- .bg-color-warmup-charm{ background-color: @color-warmup-charm !important }
77
- .bg-color-warmup-salmon { background-color: @color-warmup-salmon !important }
78
- .bg-color-warmup-cherokee { background-color: @color-warmup-cherokee !important }
79
- .bg-color-warmup-corn { background-color: @color-warmup-corn !important }
80
- .bg-color-black { background-color: @color-black !important }
81
- .bg-color-white { background-color: @color-white !important }
82
- .bg-color-primary { background-color: @color-highlight !important }​
65
+ .bg-color-coldplay-wine { background-color: var(--color-coldplay-wine) !important }
66
+ .bg-color-coldplay-aubergine { background-color: var(--color-coldplay-aubergine) !important }
67
+ .bg-color-coldplay-kashmir { background-color: var(--color-coldplay-kashmir) !important }
68
+ .bg-color-coldplay-fountain { background-color: var(--color-coldplay-fountain) !important }
69
+ .bg-color-coldplay-turquoise { background-color: var(--color-coldplay-turquoise) !important }
70
+ .bg-color-coldplay-bermuda { background-color: var(--color-coldplay-bermuda) !important }
71
+ .bg-color-coldplay-moos { background-color: var(--color-coldplay-moos) !important }
72
+ .bg-color-coldplay-primrose { background-color: var(--color-coldplay-primrose) !important }
73
+ .bg-color-coldplay-khaki { background-color: var(--color-coldplay-khaki) !important }
74
+ .bg-color-warmup-crimson { background-color: var(--color-warmup-crimson) !important }
75
+ .bg-color-warmup-victoria { background-color: var(--color-warmup-victoria) !important }
76
+ .bg-color-warmup-cadillac { background-color: var(--color-warmup-cadillac) !important }
77
+ .bg-color-warmup-raspberry { background-color: var(--color-warmup-raspberry) !important }
78
+ .bg-color-warmup-cerise { background-color: var(--color-warmup-cerise) !important }
79
+ .bg-color-warmup-charm{ background-color: var(--color-warmup-charm) !important }
80
+ .bg-color-warmup-salmon { background-color: var(--color-warmup-salmon) !important }
81
+ .bg-color-warmup-cherokee { background-color: var(--color-warmup-cherokee) !important }
82
+ .bg-color-warmup-corn { background-color: var(--color-warmup-corn) !important }
83
+ .bg-color-black { background-color: var(--color-black) !important }
84
+ .bg-color-white { background-color: var(--color-white) !important }
85
+ .bg-color-primary { background-color: var(--color-highlight) !important }​
83
86
 
84
87
  .text-color-placeholder { color: transparent }
85
- .text-color-coldplay-wine { color: @color-coldplay-wine !important }
86
- .text-color-coldplay-kashmir { color: @color-coldplay-kashmir !important }
87
- .text-color-coldplay-aubergine { color: @color-coldplay-aubergine !important }
88
- .text-color-coldplay-fountain { color: @color-coldplay-fountain !important }
89
- .text-color-coldplay-turquoise { color: @color-coldplay-turquoise !important }
90
- .text-color-coldplay-bermuda { color: @color-coldplay-bermuda !important }
91
- .text-color-coldplay-moos { color: @color-coldplay-moos !important }
92
- .text-color-coldplay-primrose { color: @color-coldplay-primrose !important }
93
- .text-color-coldplay-khaki { color: @color-coldplay-khaki !important }
94
- .text-color-warmup-crimson { color: @color-warmup-crimson !important }
95
- .text-color-warmup-victoria { color: @color-warmup-victoria !important }
96
- .text-color-warmup-cadillac { color: @color-warmup-cadillac !important }
97
- .text-color-warmup-raspberry { color: @color-warmup-raspberry !important }
98
- .text-color-warmup-cerise { color: @color-warmup-cerise !important }
99
- .text-color-warmup-charm { color: @color-warmup-charm !important }
100
- .text-color-warmup-salmon { color: @color-warmup-salmon !important }
101
- .text-color-warmup-cherokee { color: @color-warmup-cherokee !important }
102
- .text-color-warmup-corn { color: @color-warmup-corn !important }
103
- .text-color-black { color: @color-black !important }
104
- .text-color-white { color: @color-white !important }
105
- .text-color-primary { color: @color-highlight !important }
88
+ .text-color-coldplay-wine { color: var(--color-coldplay-wine) !important }
89
+ .text-color-coldplay-kashmir { color: var(--color-coldplay-kashmir) !important }
90
+ .text-color-coldplay-aubergine { color: var(--color-coldplay-aubergine) !important }
91
+ .text-color-coldplay-fountain { color: var(--color-coldplay-fountain) !important }
92
+ .text-color-coldplay-turquoise { color: var(--color-coldplay-turquoise) !important }
93
+ .text-color-coldplay-bermuda { color: var(--color-coldplay-bermuda) !important }
94
+ .text-color-coldplay-moos { color: var(--color-coldplay-moos) !important }
95
+ .text-color-coldplay-primrose { color: var(--color-coldplay-primrose) !important }
96
+ .text-color-coldplay-khaki { color: var(--color-coldplay-khaki) !important }
97
+ .text-color-warmup-crimson { color: var(--color-warmup-crimson) !important }
98
+ .text-color-warmup-victoria { color: var(--color-warmup-victoria) !important }
99
+ .text-color-warmup-cadillac { color: var(--color-warmup-cadillac) !important }
100
+ .text-color-warmup-raspberry { color: var(--color-warmup-raspberry) !important }
101
+ .text-color-warmup-cerise { color: var(--color-warmup-cerise) !important }
102
+ .text-color-warmup-charm { color: var(--color-warmup-charm) !important }
103
+ .text-color-warmup-salmon { color: var(--color-warmup-salmon) !important }
104
+ .text-color-warmup-cherokee { color: var(--color-warmup-cherokee) !important }
105
+ .text-color-warmup-corn { color: var(--color-warmup-corn) !important }
106
+ .text-color-black { color: var(--color-black) !important }
107
+ .text-color-white { color: var(--color-white) !important }
108
+ .text-color-primary { color: var(--color-highlight) !important }
106
109
 
107
110
  .hyphens {
108
111
  hyphens: auto;
@@ -328,7 +331,7 @@ body .module-content {
328
331
  }
329
332
 
330
333
  &.navigationItem .ActionBarItemIcon {
331
- color: @color-black;
334
+ color: var(--color-black);
332
335
  }
333
336
  }
334
337
  }
@@ -360,10 +363,10 @@ body .module-content {
360
363
  }
361
364
 
362
365
  .SubmoduleNavigation {
363
- background: white;
364
- border-bottom: 1px solid @gray-light;
365
- border-left: 1px solid @gray-light;
366
- border-right: 1px solid @gray-light;
366
+ background: var(--color-white);
367
+ border-bottom: 1px solid var(--gray-light);
368
+ border-left: 1px solid var(--gray-light);
369
+ border-right: 1px solid var(--gray-light);
367
370
  display: none;
368
371
  left: 0;
369
372
  position: absolute;
@@ -464,7 +467,7 @@ body .module-content {
464
467
 
465
468
  &[class*="opacity-"] {
466
469
  &:before {
467
- background: #000000;
470
+ background: var(--always-color-black);
468
471
  bottom: 0;
469
472
  content: "";
470
473
  left: 0;
@@ -534,7 +537,7 @@ body .module-content {
534
537
 
535
538
  &.box-shadow-inner {
536
539
  > .section-content-container {
537
- box-shadow: 0 0 10px 5px rgba(0,0,0,.25) !important
540
+ box-shadow: 0 0 10px 5px .hsla(@color-black-hsl, 0.25)[@result] !important
538
541
  }
539
542
  }
540
543
 
@@ -560,7 +563,7 @@ body .module-content {
560
563
 
561
564
  &.link-color-white {
562
565
  a:not(.btn) {
563
- color: @color-white;
566
+ color: var(--color-white);
564
567
  }
565
568
  }
566
569
 
@@ -576,57 +579,51 @@ body .module-content {
576
579
 
577
580
  &.btn-default {
578
581
  .btn {
579
- .button-variant(
580
- ~'!important';
581
- @btn-default-bg;
582
- @btn-default-border;
583
- @btn-default-color;
584
- @btn-default-color;
585
- @btn-default-color;
586
- @btn-default-color;
587
- darken(@btn-default-color, 17%);
588
- darken(@btn-default-border, 12%);
589
- darken(@btn-default-border, 12%);
590
- darken(@btn-default-border, 25%);
591
- darken(@btn-default-border, 25%);
592
- @btn-default-bg;
593
- @btn-default-bg;
594
- @btn-default-bg;
595
- @btn-default-bg;
582
+ .button-style(
583
+ ~'';
584
+ @brand-primary;
585
+ .hex-to-LESS-hsl(@color-white)[@result];
586
+ .hex-to-LESS-hsl(@brand-primary)[@result];
587
+
588
+ var(--brand-primary);
589
+ darken(@brand-primary, @btn-active-brightness);
590
+
591
+ var(--brand-primary);
592
+ darken(@brand-primary, @btn-active-border-brightness);
593
+
594
+ @color-white;
595
+ @color-white;
596
596
  );
597
597
  }
598
598
  }
599
599
 
600
600
  &.btn-white {
601
601
  .btn {
602
- .button-variant(
602
+ .button-style(
603
603
  ~'!important';
604
- @color-white;
605
- darken(@color-white, 5%);
606
604
  @color-black;
607
- darken(@color-white, 3%);
605
+ .hex-to-LESS-hsl(@color-white)[@result];
606
+ .hex-to-LESS-hsl(@color-white)[@result];
608
607
  );
609
608
  }
610
609
  }
611
610
 
612
611
  &.btn-primary {
613
612
  .btn {
614
- .button-variant(
613
+ .button-style(
615
614
  ~'!important';
616
- @btn-primary-bg;
617
- @btn-primary-border;
618
- @btn-primary-color;
615
+ @color-white;
616
+ .hex-to-LESS-hsl(@brand-primary)[@result];
619
617
  );
620
618
  }
621
619
  }
622
620
 
623
621
  &.btn-man {
624
622
  .btn {
625
- .button-variant(
623
+ .button-style(
626
624
  ~'!important';
627
- #e40045;
628
- darken(#e40045, 5%);
629
625
  @color-white;
626
+ .hex-to-LESS-hsl(@brand-man)[@result];
630
627
  );
631
628
 
632
629
  font-family: "MANEurope", sans-serif !important;
@@ -692,7 +689,7 @@ body .module-content {
692
689
 
693
690
  .section-content-container-headline {
694
691
  padding: 10px 20px;
695
- background: @color-black;
692
+ background: var(--color-black);
696
693
  text-transform: uppercase;
697
694
  width: fit-content;
698
695
 
@@ -707,7 +704,7 @@ body .module-content {
707
704
  transform: translate(-100%, -100%);
708
705
  text-align: center;
709
706
  line-height: 20px;
710
- color: @color-black;
707
+ color: var(--color-black);
711
708
  font-size: 40px;
712
709
  }
713
710
  }
@@ -727,7 +724,7 @@ body .module-content {
727
724
 
728
725
  &.panel-border-color-lighter {
729
726
  > .section-content-container.panel {
730
- border-color: @gray-lighter;
727
+ border-color: var(--gray-lighter);
731
728
  }
732
729
  }
733
730
  }
@@ -893,7 +890,7 @@ body .module-content {
893
890
 
894
891
  .section-content-container {
895
892
  flex: initial !important;
896
- background: @color-black;
893
+ background: var(--color-black);
897
894
 
898
895
  .section-content-container-row {
899
896
  font-family: 'Red Ring Bold', Helvetica, Arial, sans-serif;
@@ -992,11 +989,11 @@ body .module-content {
992
989
  }
993
990
 
994
991
  &:not(.marketplace) a {
995
- color: @color-white;
992
+ color: var(--color-white);
996
993
  }
997
994
 
998
995
  &.marketplace a {
999
- color: @color-black
996
+ color: var(--color-black)
1000
997
  }
1001
998
 
1002
999
  &.minimal ul.text-center {
@@ -1253,12 +1250,12 @@ body .module-content {
1253
1250
 
1254
1251
  @media (max-width: @screen-ls) {
1255
1252
  width: 100%;
1256
- background: rgba(0, 0, 0, 0.5);
1253
+ background: .hsla(@always-color-black-hsl, 0.5)[@result];
1257
1254
  }
1258
1255
 
1259
1256
  @media (min-width: @screen-ls) {
1260
1257
  width: 75%;
1261
- background: linear-gradient(90deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
1258
+ background: linear-gradient(90deg, .hsla(@always-color-black-hsl, 0.65)[@result], .hsla(@always-color-black-hsl, 0)[@result]);
1262
1259
  }
1263
1260
  }
1264
1261
  }
@@ -1332,8 +1329,8 @@ body .module-content {
1332
1329
 
1333
1330
  li {
1334
1331
  padding: 5px 7px;
1335
- border: 1px solid @gray-light;
1336
- background: @gray-lightest;
1332
+ border: 1px solid var(--gray-light);
1333
+ background: var(--gray-lightest);
1337
1334
  border-radius: 3px;
1338
1335
 
1339
1336
  &:last-child {
@@ -1396,11 +1393,10 @@ body .module-content {
1396
1393
 
1397
1394
  // reset to primary because of default btn-black
1398
1395
  .btn {
1399
- .button-variant(
1396
+ .button-style(
1400
1397
  ~'!important';
1401
- @btn-primary-bg;
1402
- @btn-primary-border;
1403
- @btn-primary-color;
1398
+ @color-white;
1399
+ .hex-to-LESS-hsl(@brand-primary)[@result];
1404
1400
  );
1405
1401
  }
1406
1402
  }
@@ -1416,12 +1412,12 @@ body .module-content {
1416
1412
 
1417
1413
  @media (max-width: @screen-ls) {
1418
1414
  width: 100%;
1419
- background: rgba(0, 0, 0, 0.5);
1415
+ background: .hsla(@always-color-black-hsl, 0.5)[@result];
1420
1416
  }
1421
1417
 
1422
1418
  @media (min-width: @screen-ls) {
1423
1419
  width: 75%;
1424
- background: linear-gradient(90deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
1420
+ background: linear-gradient(90deg, .hsla(@always-color-black-hsl, 0.65)[@result], .hsla(@always-color-black-hsl, 0)[@result]);
1425
1421
  }
1426
1422
  }
1427
1423
  }
@@ -1471,8 +1467,8 @@ body .module-content {
1471
1467
  &-details-buyframe {
1472
1468
  .section-layout-container {
1473
1469
  .section-layout-container-row {
1474
- background-color: @color-white;
1475
- border: 1px solid @gray-light;
1470
+ background-color: var(--color-white);
1471
+ border: 1px solid var(--gray-light);
1476
1472
  margin: 0 0 -1px 0;
1477
1473
  padding: 3% 5%;
1478
1474
  }
@@ -1482,8 +1478,8 @@ body .module-content {
1482
1478
  &-details-panel {
1483
1479
  .section-layout-container {
1484
1480
  .section-layout-container-row {
1485
- background-color: @color-white;
1486
- border: 1px solid @gray-light;
1481
+ background-color: var(--color-white);
1482
+ border: 1px solid var(--gray-light);
1487
1483
  margin: 0 0 20px 0;
1488
1484
  padding: 5%;
1489
1485
 
@@ -1525,11 +1521,10 @@ body .module-content {
1525
1521
  }
1526
1522
 
1527
1523
  .btn {
1528
- .button-variant(
1524
+ .button-style(
1529
1525
  ~'!important';
1530
- #e40045;
1531
- darken(#e40045, 5%);
1532
1526
  @color-white;
1527
+ .hex-to-LESS-hsl(@brand-man)[@result];
1533
1528
  );
1534
1529
 
1535
1530
  font-family: "MANEurope", sans-serif !important;
@@ -1566,7 +1561,7 @@ body .module-content {
1566
1561
 
1567
1562
  .section-content-container {
1568
1563
  flex: initial !important;
1569
- background: @color-black;
1564
+ background: var(--color-black);
1570
1565
  }
1571
1566
  }
1572
1567
  }
@@ -1696,7 +1691,7 @@ body .module-content {
1696
1691
  .section-content-container-background-image {
1697
1692
  &[class*="opacity-"] {
1698
1693
  &:before {
1699
- background: #ffffff;
1694
+ background: var(--color-white);
1700
1695
  }
1701
1696
  }
1702
1697
  }
@@ -1707,7 +1702,7 @@ body .module-content {
1707
1702
  @media (max-width: @screen-md) {
1708
1703
  .marketplace-search-header {
1709
1704
  &:before {
1710
- background: linear-gradient(0deg,rgba(0,0,0,.85),rgba(0,0,0,.50));
1705
+ background: linear-gradient(0deg,.hsla(@always-color-black-hsl, 0.85)[@result],.hsla(@always-color-black-hsl, 0.5)[@result]);
1711
1706
  bottom: 0;
1712
1707
  content: "";
1713
1708
  left: 0;
@@ -1838,7 +1833,7 @@ body .module-content {
1838
1833
 
1839
1834
  // Theme
1840
1835
  html {
1841
- background-color: @color-white;
1836
+ background-color: var(--color-white);
1842
1837
  }
1843
1838
 
1844
1839
  body {
@@ -1849,7 +1844,7 @@ body {
1849
1844
  @media (min-width: @responsive-font-breakpoint) { font-size: @font-size-16 * 1.25 }
1850
1845
  }
1851
1846
 
1852
- .box-shadow { box-shadow: 0 0 10px 5px rgba(0,0,0,.25) !important }
1847
+ .box-shadow { box-shadow: 0 0 10px 5px .hsla(@always-color-black-hsl, 0.25)[@result] !important }
1853
1848
 
1854
1849
  iframe {
1855
1850
  border: none;
@@ -1885,6 +1880,37 @@ blockquote {
1885
1880
  }
1886
1881
  }
1887
1882
 
1883
+ .btn.btn-dynamic {
1884
+ font-size: inherit !important;
1885
+ line-height: inherit !important;
1886
+ padding: 10px 20px !important;
1887
+ height: auto !important;
1888
+ text-transform: none !important;
1889
+
1890
+ &.btn-black {
1891
+ .button-style(
1892
+ ~'!important';
1893
+ @color-white;
1894
+ .hex-to-LESS-hsl(@color-black)[@result];
1895
+ .hex-to-LESS-hsl(@color-black)[@result];
1896
+
1897
+ lighten(@color-black, 5%);
1898
+ lighten(@color-black, 10%);
1899
+
1900
+ @color-black
1901
+ @color-black
1902
+ );
1903
+ }
1904
+
1905
+ &.btn-white {
1906
+ .button-style(
1907
+ ~'!important';
1908
+ @color-black;
1909
+ .hex-to-LESS-hsl(@color-white)[@result];
1910
+ );
1911
+ }
1912
+ }
1913
+
1888
1914
  @media (max-width: @screen-ls) {
1889
1915
  .btn.btn-dynamic {
1890
1916
  display: inline-block;
@@ -1920,7 +1946,7 @@ blockquote {
1920
1946
  }
1921
1947
 
1922
1948
  .text-shadow {
1923
- text-shadow: 1px 1px 3px rgba(0,0,0,0.85);
1949
+ text-shadow: 1px 1px 3px .hsla(@always-color-black-hsl, 0.85)[@result];
1924
1950
 
1925
1951
  .btn,
1926
1952
  .input-group {
@@ -1962,11 +1988,10 @@ blockquote {
1962
1988
  > .btn {
1963
1989
  border-radius: 4px;
1964
1990
 
1965
- .button-variant(
1991
+ .button-style(
1966
1992
  ~'!important';
1967
- @btn-primary-bg;
1968
1993
  @color-white;
1969
- @btn-primary-color;
1994
+ .hex-to-LESS-hsl(@brand-primary)[@result];
1970
1995
  );
1971
1996
  }
1972
1997
 
@@ -1984,7 +2009,7 @@ blockquote {
1984
2009
  > .modal-header-close {
1985
2010
  background: none;
1986
2011
  border: none;
1987
- color: @gray-dark;
2012
+ color: var(--gray-dark);
1988
2013
  float: right;
1989
2014
  font-size: 30px;
1990
2015
  line-height: 55px;
@@ -2117,7 +2142,7 @@ form[id*="contactForm"] {
2117
2142
  }
2118
2143
 
2119
2144
  .column-icon {
2120
- color: @color-white;
2145
+ color: var(--color-white);
2121
2146
  font-size: 60px;
2122
2147
  left: 50%;
2123
2148
  position: absolute;
@@ -2134,7 +2159,7 @@ form[id*="contactForm"] {
2134
2159
 
2135
2160
  &.scroll-horizontal {
2136
2161
  &:before {
2137
- background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,1));
2162
+ background: linear-gradient(90deg, .hsla(@color-white-hsl, 0)[@result], .hsla(@color-white-hsl, 1)[@result]);
2138
2163
  bottom: 1px;
2139
2164
  content: "";
2140
2165
  position: absolute;
@@ -2165,7 +2190,7 @@ body:not(.legal-documents) {
2165
2190
  }
2166
2191
  }
2167
2192
 
2168
- @media (max-width: @screen-ls) {
2193
+ // @media (max-width: @screen-ls) {
2169
2194
  > .table {
2170
2195
  > thead,
2171
2196
  > tbody,
@@ -2178,7 +2203,7 @@ body:not(.legal-documents) {
2178
2203
  }
2179
2204
  }
2180
2205
  }
2181
- }
2206
+ // }
2182
2207
  }
2183
2208
  }
2184
2209
 
@@ -2201,7 +2226,7 @@ body:not(.legal-documents) {
2201
2226
  .section-wrapper {
2202
2227
  &[class*="clip-"]:after {
2203
2228
  content: "";
2204
- background: @color-white;
2229
+ background: var(--color-white);
2205
2230
  width: 100%;
2206
2231
  position: absolute;
2207
2232
  z-index: 1;
@@ -2216,11 +2241,11 @@ body:not(.legal-documents) {
2216
2241
  }
2217
2242
 
2218
2243
  &[class*="clip-white"]:after {
2219
- background: @color-white
2244
+ background: var(--color-white)
2220
2245
  }
2221
2246
 
2222
2247
  &[class*="clip-lightest"]::after {
2223
- background: @gray-lightest
2248
+ background: var(--gray-lightest)
2224
2249
  }
2225
2250
 
2226
2251
  &.clip-top-ltr:after {
@@ -1,36 +1,66 @@
1
- /* Backgrounds - Map Marker */
1
+ // Theme
2
+ @hasDarkmode: false;
3
+
4
+ // adding a new xmas map marker
5
+ @color-white: #ffffff;
2
6
  @color-map-marker-xmas: #dd0a2c;
3
7
 
4
- .rio-map-marker {
5
- &.active {
6
- .rio-map-icon {
7
- &:before {
8
- color: @color-map-marker-xmas;
9
- }
10
- }
11
- }
8
+ @colors-map-marker-custom: {
9
+ map-marker-xmas: @color-map-marker-xmas;
12
10
  }
13
11
 
14
- @rioglyph-truck: "\f17b";
15
- .rioglyph-truck:before,
16
- .hover-rioglyph-truck:hover:before {
17
- content: "\f17b";
18
- }
12
+ each(@colors-map-marker-custom, {
13
+ .bg-@{key} {
14
+ color: @color-white !important;
15
+ background-color: @value !important;
16
+ }
17
+ .hover-bg-@{key}:hover {
18
+ background-color: @value !important;
19
+ }
20
+ .fill-@{key} {
21
+ fill: @value !important;
22
+ }
23
+ })
19
24
 
20
- @rioglyph-bus: "\f17b";
21
- .rioglyph-bus:before,
22
- .hover-rioglyph-bus:hover:before {
23
- content: "\f17b";
24
- }
25
+ each(@colors-map-marker-custom, {
26
+ .border-color-@{key} {
27
+ border-color: @value !important;
28
+ }
29
+ })
25
30
 
26
- @rioglyph-van: "\f17b";
27
- .rioglyph-van:before,
28
- .hover-rioglyph-van:hover:before {
29
- content: "\f17b";
30
- }
31
31
 
32
- @rioglyph-user: "\f17c";
33
- .rioglyph-user:before,
34
- .hover-rioglyph-user:hover:before {
35
- content: "\f17c";
36
- }
32
+ // replacing all TRUCK, BUS, VAN and User icons
33
+
34
+ // .rio-map-marker {
35
+ // &.active {
36
+ // .rio-map-icon {
37
+ // &:before {
38
+ // color: @color-map-marker-xmas;
39
+ // }
40
+ // }
41
+ // }
42
+ // }
43
+
44
+ // @rioglyph-truck: "\f17b";
45
+ // .rioglyph-truck:before,
46
+ // .hover-rioglyph-truck:hover:before {
47
+ // content: "\f17b";
48
+ // }
49
+
50
+ // @rioglyph-bus: "\f17b";
51
+ // .rioglyph-bus:before,
52
+ // .hover-rioglyph-bus:hover:before {
53
+ // content: "\f17b";
54
+ // }
55
+
56
+ // @rioglyph-van: "\f17b";
57
+ // .rioglyph-van:before,
58
+ // .hover-rioglyph-van:hover:before {
59
+ // content: "\f17b";
60
+ // }
61
+
62
+ // @rioglyph-user: "\f17c";
63
+ // .rioglyph-user:before,
64
+ // .hover-rioglyph-user:hover:before {
65
+ // content: "\f17c";
66
+ // }