@rio-cloud/rio-uikit 0.16.1 → 0.16.2-beta.10

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 (306) hide show
  1. package/.DS_Store +0 -0
  2. package/ColorScheme.d.ts +4 -0
  3. package/ColorScheme.js +2 -0
  4. package/Colors.js +1 -1
  5. package/TruckLayer.js +1 -1
  6. package/components/.DS_Store +0 -0
  7. package/components/applicationHeader/AppMenu.js +6 -3
  8. package/components/applicationHeader/AppMenuDropdown.js +6 -2
  9. package/components/applicationHeader/ApplicationHeader.js +10 -5
  10. package/components/applicationHeader/MobileAppMenu.js +8 -4
  11. package/components/assetTree/Tree.js +1 -1
  12. package/components/autosuggest/AutoSuggest.js +2 -2
  13. package/components/charts/chartHelper.js +1 -1
  14. package/components/clearableInput/ClearableInput.js +2 -1
  15. package/components/datepicker/DatePicker.js +8 -4
  16. package/components/filepicker/FilePicker.js +5 -4
  17. package/components/map/.DS_Store +0 -0
  18. package/components/map/assets/icon_map_settings_maptype_night_active.svg +12 -0
  19. package/components/map/assets/icon_map_settings_maptype_night_inactive.svg +12 -0
  20. package/components/map/components/.DS_Store +0 -0
  21. package/components/map/components/Map.js +167 -140
  22. package/components/map/components/constants.js +1 -0
  23. package/components/map/components/features/Route.js +6 -7
  24. package/components/map/components/features/basics/Polyline.js +10 -5
  25. package/components/map/components/features/layers/RoadRestrictionLayer.js +27 -0
  26. package/components/map/components/features/layers/TrafficLayer.js +19 -5
  27. package/components/map/components/features/layers/baselayers/DefaultRasterLayer.js +19 -0
  28. package/components/map/components/features/layers/baselayers/DefaultVectorLayer.js +15 -0
  29. package/components/map/components/features/layers/baselayers/FleetStyleLayer.js +13 -17
  30. package/components/map/components/features/layers/baselayers/NightLayer.js +17 -0
  31. package/components/map/components/features/layers/baselayers/SatelliteLayer.js +13 -17
  32. package/components/map/components/features/layers/baselayers/TerrainLayer.js +13 -17
  33. package/components/map/components/features/layers/baselayers/useBaseLayer.js +53 -0
  34. package/components/map/components/features/settings/builtinSettings/MapClusterSettings.js +1 -1
  35. package/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +9 -3
  36. package/components/map/components/mapUtils.js +44 -8
  37. package/components/map/icons/MapIcon.js +64 -0
  38. package/components/mapMarker/ClusterMapMarker.js +2 -2
  39. package/components/mapMarker/SingleMapMarker.js +8 -2
  40. package/components/numberControl/NumberControl.js +34 -11
  41. package/components/numberInput/NumberInput.js +52 -50
  42. package/components/sidebars/Sidebar.js +2 -2
  43. package/hooks/useDarkMode.js +30 -0
  44. package/hooks/useElementSize.js +1 -1
  45. package/hooks/useFullscreen.js +37 -41
  46. package/hooks/useHereMap.ts +23 -0
  47. package/hooks/useMutationObserver.js +38 -0
  48. package/hooks/useScripts.ts +52 -0
  49. package/hooks/useScrollPosition.js +72 -0
  50. package/index.js +6 -1
  51. package/lib/.DS_Store +0 -0
  52. package/lib/es/.DS_Store +0 -0
  53. package/lib/es/ColorScheme.d.ts +4 -0
  54. package/lib/es/ColorScheme.js +18 -0
  55. package/lib/es/Colors.js +1 -1
  56. package/lib/es/TruckLayer.js +2 -2
  57. package/lib/es/components/.DS_Store +0 -0
  58. package/lib/es/components/applicationHeader/AppMenu.js +6 -3
  59. package/lib/es/components/applicationHeader/AppMenuDropdown.js +6 -2
  60. package/lib/es/components/applicationHeader/ApplicationHeader.js +10 -5
  61. package/lib/es/components/applicationHeader/MobileAppMenu.js +8 -4
  62. package/lib/es/components/assetTree/Tree.js +1 -1
  63. package/lib/es/components/autosuggest/AutoSuggest.js +2 -2
  64. package/lib/es/components/charts/chartHelper.js +1 -1
  65. package/lib/es/components/clearableInput/ClearableInput.js +2 -1
  66. package/lib/es/components/datepicker/DatePicker.js +7 -3
  67. package/lib/es/components/filepicker/FilePicker.js +5 -4
  68. package/lib/es/components/map/assets/icon_map_settings_maptype_night_active.svg +12 -0
  69. package/lib/es/components/map/assets/icon_map_settings_maptype_night_inactive.svg +12 -0
  70. package/lib/es/components/map/components/Map.js +165 -135
  71. package/lib/es/components/map/components/constants.js +3 -1
  72. package/lib/es/components/map/components/features/Route.js +6 -7
  73. package/lib/es/components/map/components/features/basics/Polyline.js +10 -7
  74. package/lib/es/components/map/components/features/layers/RoadRestrictionLayer.js +35 -0
  75. package/lib/es/components/map/components/features/layers/TrafficLayer.js +18 -5
  76. package/lib/es/components/map/components/features/layers/baselayers/DefaultRasterLayer.js +25 -0
  77. package/lib/es/components/map/components/features/layers/baselayers/DefaultVectorLayer.js +22 -0
  78. package/lib/es/components/map/components/features/layers/baselayers/FleetStyleLayer.js +12 -17
  79. package/lib/es/components/map/components/features/layers/baselayers/NightLayer.js +23 -0
  80. package/lib/es/components/map/components/features/layers/baselayers/SatelliteLayer.js +12 -17
  81. package/lib/es/components/map/components/features/layers/baselayers/TerrainLayer.js +12 -17
  82. package/lib/es/components/map/components/features/layers/baselayers/useBaseLayer.js +61 -0
  83. package/lib/es/components/map/components/features/settings/builtinSettings/MapClusterSettings.js +1 -1
  84. package/lib/es/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +7 -1
  85. package/lib/es/components/map/components/mapUtils.js +44 -10
  86. package/lib/es/components/map/icons/MapIcon.js +67 -1
  87. package/lib/es/components/mapMarker/ClusterMapMarker.js +2 -2
  88. package/lib/es/components/mapMarker/SingleMapMarker.js +8 -2
  89. package/lib/es/components/numberControl/NumberControl.js +33 -10
  90. package/lib/es/components/numberInput/NumberInput.js +51 -50
  91. package/lib/es/components/sidebars/Sidebar.js +2 -2
  92. package/lib/es/hooks/useDarkMode.js +38 -0
  93. package/lib/es/hooks/useElementSize.js +1 -1
  94. package/lib/es/hooks/useFullscreen.js +37 -41
  95. package/lib/es/hooks/useHereMap.ts +23 -0
  96. package/lib/es/hooks/useMutationObserver.js +46 -0
  97. package/lib/es/hooks/useScripts.ts +52 -0
  98. package/lib/es/hooks/useScrollPosition.js +80 -0
  99. package/lib/es/index.js +40 -1
  100. package/lib/es/mapIndex.js +2 -2
  101. package/lib/es/styles/.DS_Store +0 -0
  102. package/lib/es/styles/components/Activity.less +9 -10
  103. package/lib/es/styles/components/ApplicationHeader.less +24 -29
  104. package/lib/es/styles/components/ApplicationLayout.less +7 -7
  105. package/lib/es/styles/components/AssetTree.less +30 -28
  106. package/lib/es/styles/components/AutoSuggest.less +2 -2
  107. package/lib/es/styles/components/BottomSheet.less +1 -2
  108. package/lib/es/styles/components/Carousel.less +13 -9
  109. package/lib/es/styles/components/Checkbox.less +15 -16
  110. package/lib/es/styles/components/ClearableInput.less +3 -3
  111. package/lib/es/styles/components/Counter.less +12 -12
  112. package/lib/es/styles/components/DataTabs.less +2 -2
  113. package/lib/es/styles/components/DatePicker.less +27 -27
  114. package/lib/es/styles/components/Dialog.less +15 -11
  115. package/lib/es/styles/components/Dropdown.less +11 -11
  116. package/lib/es/styles/components/Expander.less +7 -7
  117. package/lib/es/styles/components/ListMenu.less +8 -8
  118. package/lib/es/styles/components/MapHere.less +3 -2
  119. package/lib/es/styles/components/MapMarker.less +16 -17
  120. package/lib/es/styles/components/MapSettings.less +5 -5
  121. package/lib/es/styles/components/NoData.less +1 -1
  122. package/lib/es/styles/components/Notification.less +12 -12
  123. package/lib/es/styles/components/RadioButton.less +11 -12
  124. package/lib/es/styles/components/Resizer.less +1 -1
  125. package/lib/es/styles/components/Select.less +16 -26
  126. package/lib/es/styles/components/Sidebar.less +29 -21
  127. package/lib/es/styles/components/Slider.less +18 -18
  128. package/lib/es/styles/components/Spinner.less +6 -6
  129. package/lib/es/styles/components/StatsWidget.less +5 -5
  130. package/lib/es/styles/components/SteppedProgressBar.less +32 -29
  131. package/lib/es/styles/components/SupportMarker.less +1 -1
  132. package/lib/es/styles/components/Switch.less +8 -8
  133. package/lib/es/styles/components/TableSettingsDialog.less +7 -7
  134. package/lib/es/styles/components/TableToolbar.less +1 -1
  135. package/lib/es/styles/components/Tag.less +10 -10
  136. package/lib/es/styles/components/Timeline.less +3 -3
  137. package/lib/es/styles/components/Tooltip.less +10 -10
  138. package/lib/es/styles/design/badges.less +10 -10
  139. package/lib/es/styles/design/border.less +1 -1
  140. package/lib/es/styles/design/breadcrumbs.less +2 -2
  141. package/lib/es/styles/design/button-groups.less +25 -1
  142. package/lib/es/styles/design/buttons.less +53 -109
  143. package/lib/es/styles/design/callouts.less +3 -3
  144. package/lib/es/styles/design/code.less +4 -6
  145. package/lib/es/styles/design/colors.less +20 -20
  146. package/lib/es/styles/design/form-input-groups.less +4 -4
  147. package/lib/es/styles/design/form-inputs.less +33 -31
  148. package/lib/es/styles/design/images.less +2 -2
  149. package/lib/es/styles/design/labels.less +11 -11
  150. package/lib/es/styles/design/list-group.less +14 -12
  151. package/lib/es/styles/design/navs.less +27 -27
  152. package/lib/es/styles/design/normalize.less +0 -9
  153. package/lib/es/styles/design/pagination.less +10 -10
  154. package/lib/es/styles/design/panels.less +10 -10
  155. package/lib/es/styles/design/popovers.less +8 -8
  156. package/lib/es/styles/design/progress-bars.less +8 -8
  157. package/lib/es/styles/design/shadows.less +14 -7
  158. package/lib/es/styles/design/tables.less +68 -106
  159. package/lib/es/styles/design/text.less +5 -19
  160. package/lib/es/styles/design/theme.less +10 -10
  161. package/lib/es/styles/design/thumbnails.less +2 -2
  162. package/lib/es/styles/design/type.less +4 -4
  163. package/lib/es/styles/design/wells.less +1 -1
  164. package/lib/es/styles/mapping/color-map.less +76 -75
  165. package/lib/es/styles/mixins/_imports.less +14 -0
  166. package/lib/es/styles/mixins/buttons.less +24 -56
  167. package/lib/es/styles/mixins/forms.less +19 -55
  168. package/lib/es/styles/mixins/hsl.less +19 -0
  169. package/lib/es/styles/mixins/panels.less +2 -2
  170. package/lib/es/styles/print/print.less +7 -7
  171. package/lib/es/styles/rio-uikit-core.less +2 -2
  172. package/lib/es/styles/rio-uikit-print-utilities.less +2 -2
  173. package/lib/es/styles/rio-uikit-responsive-utilities.less +2 -2
  174. package/lib/es/styles/variables/_index.less +196 -0
  175. package/lib/es/styles/variables/colors.json +67 -0
  176. package/lib/es/styles/variables/concated_css_variables.less +66 -0
  177. package/lib/es/styles/variables/dark_colors.less +88 -0
  178. package/lib/es/styles/variables/dark_css_variables.less +28 -0
  179. package/lib/es/styles/variables/dark_css_variables_map.less +96 -0
  180. package/lib/es/styles/variables/light_colors.less +92 -0
  181. package/lib/es/styles/variables/light_css_variables.less +17 -0
  182. package/lib/es/styles/variables/light_css_variables_map.less +100 -0
  183. package/lib/es/styles/variables/screens.less +7 -0
  184. package/lib/es/styles/variables/text.less +23 -0
  185. package/lib/es/themes/.DS_Store +0 -0
  186. package/lib/es/themes/BuyButton/styles/rio-buyButton.less +13 -8
  187. package/lib/es/themes/MAN/styles/man-uikit.less +3 -0
  188. package/lib/es/themes/SCANIA/styles/scania-uikit.less +3 -0
  189. package/lib/es/themes/Volkswagen/styles/vw-uikit.less +21 -30
  190. package/lib/es/themes/Website/styles/rio-website.less +154 -124
  191. package/lib/es/themes/Xmas/styles/rio-xmas.less +59 -29
  192. package/lib/es/types.ts +27 -5
  193. package/lib/es/useDarkMode.d.ts +4 -0
  194. package/lib/es/useDarkMode.js +13 -0
  195. package/lib/es/useMutationObserver.d.ts +4 -0
  196. package/lib/es/useMutationObserver.js +13 -0
  197. package/lib/es/useScrollPosition.d.ts +4 -0
  198. package/lib/es/useScrollPosition.js +13 -0
  199. package/lib/es/utils/colorScheme.js +69 -0
  200. package/lib/es/utils/init.js +34 -34
  201. package/lib/es/version.json +1 -1
  202. package/mapIndex.js +1 -1
  203. package/package.json +34 -33
  204. package/styles/.DS_Store +0 -0
  205. package/styles/components/Activity.less +9 -10
  206. package/styles/components/ApplicationHeader.less +24 -29
  207. package/styles/components/ApplicationLayout.less +7 -7
  208. package/styles/components/AssetTree.less +30 -28
  209. package/styles/components/AutoSuggest.less +2 -2
  210. package/styles/components/BottomSheet.less +1 -2
  211. package/styles/components/Carousel.less +13 -9
  212. package/styles/components/Checkbox.less +15 -16
  213. package/styles/components/ClearableInput.less +3 -3
  214. package/styles/components/Counter.less +12 -12
  215. package/styles/components/DataTabs.less +2 -2
  216. package/styles/components/DatePicker.less +27 -27
  217. package/styles/components/Dialog.less +15 -11
  218. package/styles/components/Dropdown.less +11 -11
  219. package/styles/components/Expander.less +7 -7
  220. package/styles/components/ListMenu.less +8 -8
  221. package/styles/components/MapHere.less +3 -2
  222. package/styles/components/MapMarker.less +16 -17
  223. package/styles/components/MapSettings.less +5 -5
  224. package/styles/components/NoData.less +1 -1
  225. package/styles/components/Notification.less +12 -12
  226. package/styles/components/RadioButton.less +11 -12
  227. package/styles/components/Resizer.less +1 -1
  228. package/styles/components/Select.less +16 -26
  229. package/styles/components/Sidebar.less +29 -21
  230. package/styles/components/Slider.less +18 -18
  231. package/styles/components/Spinner.less +6 -6
  232. package/styles/components/StatsWidget.less +5 -5
  233. package/styles/components/SteppedProgressBar.less +32 -29
  234. package/styles/components/SupportMarker.less +1 -1
  235. package/styles/components/Switch.less +8 -8
  236. package/styles/components/TableSettingsDialog.less +7 -7
  237. package/styles/components/TableToolbar.less +1 -1
  238. package/styles/components/Tag.less +10 -10
  239. package/styles/components/Timeline.less +3 -3
  240. package/styles/components/Tooltip.less +10 -10
  241. package/styles/design/badges.less +10 -10
  242. package/styles/design/border.less +1 -1
  243. package/styles/design/breadcrumbs.less +2 -2
  244. package/styles/design/button-groups.less +25 -1
  245. package/styles/design/buttons.less +53 -109
  246. package/styles/design/callouts.less +3 -3
  247. package/styles/design/code.less +4 -6
  248. package/styles/design/colors.less +20 -20
  249. package/styles/design/form-input-groups.less +4 -4
  250. package/styles/design/form-inputs.less +33 -31
  251. package/styles/design/images.less +2 -2
  252. package/styles/design/labels.less +11 -11
  253. package/styles/design/list-group.less +14 -12
  254. package/styles/design/navs.less +27 -27
  255. package/styles/design/normalize.less +0 -9
  256. package/styles/design/pagination.less +10 -10
  257. package/styles/design/panels.less +10 -10
  258. package/styles/design/popovers.less +8 -8
  259. package/styles/design/progress-bars.less +8 -8
  260. package/styles/design/shadows.less +14 -7
  261. package/styles/design/tables.less +68 -106
  262. package/styles/design/text.less +5 -19
  263. package/styles/design/theme.less +10 -10
  264. package/styles/design/thumbnails.less +2 -2
  265. package/styles/design/type.less +4 -4
  266. package/styles/design/wells.less +1 -1
  267. package/styles/mapping/color-map.less +76 -75
  268. package/styles/mixins/_imports.less +14 -0
  269. package/styles/mixins/buttons.less +24 -56
  270. package/styles/mixins/forms.less +19 -55
  271. package/styles/mixins/hsl.less +19 -0
  272. package/styles/mixins/panels.less +2 -2
  273. package/styles/print/print.less +7 -7
  274. package/styles/rio-uikit-core.less +2 -2
  275. package/styles/rio-uikit-print-utilities.less +2 -2
  276. package/styles/rio-uikit-responsive-utilities.less +2 -2
  277. package/styles/variables/_index.less +196 -0
  278. package/styles/variables/colors.json +67 -0
  279. package/styles/variables/concated_css_variables.less +66 -0
  280. package/styles/variables/dark_colors.less +88 -0
  281. package/styles/variables/dark_css_variables.less +28 -0
  282. package/styles/variables/dark_css_variables_map.less +96 -0
  283. package/styles/variables/light_colors.less +92 -0
  284. package/styles/variables/light_css_variables.less +17 -0
  285. package/styles/variables/light_css_variables_map.less +100 -0
  286. package/styles/variables/screens.less +7 -0
  287. package/styles/variables/text.less +23 -0
  288. package/themes/.DS_Store +0 -0
  289. package/themes/BuyButton/styles/rio-buyButton.less +13 -8
  290. package/themes/MAN/styles/man-uikit.less +3 -0
  291. package/themes/SCANIA/styles/scania-uikit.less +3 -0
  292. package/themes/Volkswagen/.DS_Store +0 -0
  293. package/themes/Volkswagen/styles/vw-uikit.less +21 -30
  294. package/themes/Website/.DS_Store +0 -0
  295. package/themes/Website/styles/rio-website.less +154 -124
  296. package/themes/Xmas/styles/rio-xmas.less +59 -29
  297. package/types.ts +27 -5
  298. package/useDarkMode.d.ts +4 -0
  299. package/useDarkMode.js +2 -0
  300. package/useMutationObserver.d.ts +4 -0
  301. package/useMutationObserver.js +2 -0
  302. package/useScrollPosition.d.ts +4 -0
  303. package/useScrollPosition.js +2 -0
  304. package/utils/colorScheme.js +55 -0
  305. package/utils/init.js +34 -34
  306. package/version.json +1 -1
@@ -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;
@@ -191,7 +194,6 @@ body .module-content {
191
194
 
192
195
  .ApplicationHeader {
193
196
  .navbar-brand {
194
- //background-image: url('https://@{cdnBase}/svg/common/ico_rio.svg') !important;
195
197
  background-size: cover;
196
198
  }
197
199
 
@@ -328,7 +330,7 @@ body .module-content {
328
330
  }
329
331
 
330
332
  &.navigationItem .ActionBarItemIcon {
331
- color: @color-black;
333
+ color: var(--color-black);
332
334
  }
333
335
  }
334
336
  }
@@ -360,10 +362,10 @@ body .module-content {
360
362
  }
361
363
 
362
364
  .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;
365
+ background: var(--color-white);
366
+ border-bottom: 1px solid var(--gray-light);
367
+ border-left: 1px solid var(--gray-light);
368
+ border-right: 1px solid var(--gray-light);
367
369
  display: none;
368
370
  left: 0;
369
371
  position: absolute;
@@ -464,7 +466,7 @@ body .module-content {
464
466
 
465
467
  &[class*="opacity-"] {
466
468
  &:before {
467
- background: #000000;
469
+ background: var(--always-color-black);
468
470
  bottom: 0;
469
471
  content: "";
470
472
  left: 0;
@@ -534,7 +536,7 @@ body .module-content {
534
536
 
535
537
  &.box-shadow-inner {
536
538
  > .section-content-container {
537
- box-shadow: 0 0 10px 5px rgba(0,0,0,.25) !important
539
+ box-shadow: 0 0 10px 5px .hsla(@color-black-hsl, 0.25)[@result] !important
538
540
  }
539
541
  }
540
542
 
@@ -560,7 +562,7 @@ body .module-content {
560
562
 
561
563
  &.link-color-white {
562
564
  a:not(.btn) {
563
- color: @color-white;
565
+ color: var(--color-white);
564
566
  }
565
567
  }
566
568
 
@@ -576,57 +578,51 @@ body .module-content {
576
578
 
577
579
  &.btn-default {
578
580
  .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;
581
+ .button-style(
582
+ ~'';
583
+ @brand-primary;
584
+ .hex-to-LESS-hsl(@color-white)[@result];
585
+ .hex-to-LESS-hsl(@brand-primary)[@result];
586
+
587
+ var(--brand-primary);
588
+ darken(@brand-primary, @btn-active-brightness);
589
+
590
+ var(--brand-primary);
591
+ darken(@brand-primary, @btn-active-border-brightness);
592
+
593
+ @color-white;
594
+ @color-white;
596
595
  );
597
596
  }
598
597
  }
599
598
 
600
599
  &.btn-white {
601
600
  .btn {
602
- .button-variant(
601
+ .button-style(
603
602
  ~'!important';
604
- @color-white;
605
- darken(@color-white, 5%);
606
603
  @color-black;
607
- darken(@color-white, 3%);
604
+ .hex-to-LESS-hsl(@color-white)[@result];
605
+ .hex-to-LESS-hsl(@color-white)[@result];
608
606
  );
609
607
  }
610
608
  }
611
609
 
612
610
  &.btn-primary {
613
611
  .btn {
614
- .button-variant(
612
+ .button-style(
615
613
  ~'!important';
616
- @btn-primary-bg;
617
- @btn-primary-border;
618
- @btn-primary-color;
614
+ @color-white;
615
+ .hex-to-LESS-hsl(@brand-primary)[@result];
619
616
  );
620
617
  }
621
618
  }
622
619
 
623
620
  &.btn-man {
624
621
  .btn {
625
- .button-variant(
622
+ .button-style(
626
623
  ~'!important';
627
- #e40045;
628
- darken(#e40045, 5%);
629
624
  @color-white;
625
+ .hex-to-LESS-hsl(@brand-man)[@result];
630
626
  );
631
627
 
632
628
  font-family: "MANEurope", sans-serif !important;
@@ -692,7 +688,7 @@ body .module-content {
692
688
 
693
689
  .section-content-container-headline {
694
690
  padding: 10px 20px;
695
- background: @color-black;
691
+ background: var(--color-black);
696
692
  text-transform: uppercase;
697
693
  width: fit-content;
698
694
 
@@ -707,7 +703,7 @@ body .module-content {
707
703
  transform: translate(-100%, -100%);
708
704
  text-align: center;
709
705
  line-height: 20px;
710
- color: @color-black;
706
+ color: var(--color-black);
711
707
  font-size: 40px;
712
708
  }
713
709
  }
@@ -727,7 +723,7 @@ body .module-content {
727
723
 
728
724
  &.panel-border-color-lighter {
729
725
  > .section-content-container.panel {
730
- border-color: @gray-lighter;
726
+ border-color: var(--gray-lighter);
731
727
  }
732
728
  }
733
729
  }
@@ -893,7 +889,7 @@ body .module-content {
893
889
 
894
890
  .section-content-container {
895
891
  flex: initial !important;
896
- background: @color-black;
892
+ background: var(--color-black);
897
893
 
898
894
  .section-content-container-row {
899
895
  font-family: 'Red Ring Bold', Helvetica, Arial, sans-serif;
@@ -992,11 +988,11 @@ body .module-content {
992
988
  }
993
989
 
994
990
  &:not(.marketplace) a {
995
- color: @color-white;
991
+ color: var(--color-white);
996
992
  }
997
993
 
998
994
  &.marketplace a {
999
- color: @color-black
995
+ color: var(--color-black)
1000
996
  }
1001
997
 
1002
998
  &.minimal ul.text-center {
@@ -1253,12 +1249,12 @@ body .module-content {
1253
1249
 
1254
1250
  @media (max-width: @screen-ls) {
1255
1251
  width: 100%;
1256
- background: rgba(0, 0, 0, 0.5);
1252
+ background: .hsla(@always-color-black-hsl, 0.5)[@result];
1257
1253
  }
1258
1254
 
1259
1255
  @media (min-width: @screen-ls) {
1260
1256
  width: 75%;
1261
- background: linear-gradient(90deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
1257
+ background: linear-gradient(90deg, .hsla(@always-color-black-hsl, 0.65)[@result], .hsla(@always-color-black-hsl, 0)[@result]);
1262
1258
  }
1263
1259
  }
1264
1260
  }
@@ -1332,8 +1328,8 @@ body .module-content {
1332
1328
 
1333
1329
  li {
1334
1330
  padding: 5px 7px;
1335
- border: 1px solid @gray-light;
1336
- background: @gray-lightest;
1331
+ border: 1px solid var(--gray-light);
1332
+ background: var(--gray-lightest);
1337
1333
  border-radius: 3px;
1338
1334
 
1339
1335
  &:last-child {
@@ -1396,11 +1392,10 @@ body .module-content {
1396
1392
 
1397
1393
  // reset to primary because of default btn-black
1398
1394
  .btn {
1399
- .button-variant(
1395
+ .button-style(
1400
1396
  ~'!important';
1401
- @btn-primary-bg;
1402
- @btn-primary-border;
1403
- @btn-primary-color;
1397
+ @color-white;
1398
+ .hex-to-LESS-hsl(@brand-primary)[@result];
1404
1399
  );
1405
1400
  }
1406
1401
  }
@@ -1416,12 +1411,12 @@ body .module-content {
1416
1411
 
1417
1412
  @media (max-width: @screen-ls) {
1418
1413
  width: 100%;
1419
- background: rgba(0, 0, 0, 0.5);
1414
+ background: .hsla(@always-color-black-hsl, 0.5)[@result];
1420
1415
  }
1421
1416
 
1422
1417
  @media (min-width: @screen-ls) {
1423
1418
  width: 75%;
1424
- background: linear-gradient(90deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
1419
+ background: linear-gradient(90deg, .hsla(@always-color-black-hsl, 0.65)[@result], .hsla(@always-color-black-hsl, 0)[@result]);
1425
1420
  }
1426
1421
  }
1427
1422
  }
@@ -1471,8 +1466,8 @@ body .module-content {
1471
1466
  &-details-buyframe {
1472
1467
  .section-layout-container {
1473
1468
  .section-layout-container-row {
1474
- background-color: @color-white;
1475
- border: 1px solid @gray-light;
1469
+ background-color: var(--color-white);
1470
+ border: 1px solid var(--gray-light);
1476
1471
  margin: 0 0 -1px 0;
1477
1472
  padding: 3% 5%;
1478
1473
  }
@@ -1482,8 +1477,8 @@ body .module-content {
1482
1477
  &-details-panel {
1483
1478
  .section-layout-container {
1484
1479
  .section-layout-container-row {
1485
- background-color: @color-white;
1486
- border: 1px solid @gray-light;
1480
+ background-color: var(--color-white);
1481
+ border: 1px solid var(--gray-light);
1487
1482
  margin: 0 0 20px 0;
1488
1483
  padding: 5%;
1489
1484
 
@@ -1525,11 +1520,10 @@ body .module-content {
1525
1520
  }
1526
1521
 
1527
1522
  .btn {
1528
- .button-variant(
1523
+ .button-style(
1529
1524
  ~'!important';
1530
- #e40045;
1531
- darken(#e40045, 5%);
1532
1525
  @color-white;
1526
+ .hex-to-LESS-hsl(@brand-man)[@result];
1533
1527
  );
1534
1528
 
1535
1529
  font-family: "MANEurope", sans-serif !important;
@@ -1566,7 +1560,7 @@ body .module-content {
1566
1560
 
1567
1561
  .section-content-container {
1568
1562
  flex: initial !important;
1569
- background: @color-black;
1563
+ background: var(--color-black);
1570
1564
  }
1571
1565
  }
1572
1566
  }
@@ -1696,7 +1690,7 @@ body .module-content {
1696
1690
  .section-content-container-background-image {
1697
1691
  &[class*="opacity-"] {
1698
1692
  &:before {
1699
- background: #ffffff;
1693
+ background: var(--color-white);
1700
1694
  }
1701
1695
  }
1702
1696
  }
@@ -1707,7 +1701,7 @@ body .module-content {
1707
1701
  @media (max-width: @screen-md) {
1708
1702
  .marketplace-search-header {
1709
1703
  &:before {
1710
- background: linear-gradient(0deg,rgba(0,0,0,.85),rgba(0,0,0,.50));
1704
+ background: linear-gradient(0deg,.hsla(@always-color-black-hsl, 0.85)[@result],.hsla(@always-color-black-hsl, 0.5)[@result]);
1711
1705
  bottom: 0;
1712
1706
  content: "";
1713
1707
  left: 0;
@@ -1838,7 +1832,7 @@ body .module-content {
1838
1832
 
1839
1833
  // Theme
1840
1834
  html {
1841
- background-color: @color-white;
1835
+ background-color: var(--color-white);
1842
1836
  }
1843
1837
 
1844
1838
  body {
@@ -1849,7 +1843,7 @@ body {
1849
1843
  @media (min-width: @responsive-font-breakpoint) { font-size: @font-size-16 * 1.25 }
1850
1844
  }
1851
1845
 
1852
- .box-shadow { box-shadow: 0 0 10px 5px rgba(0,0,0,.25) !important }
1846
+ .box-shadow { box-shadow: 0 0 10px 5px .hsla(@always-color-black-hsl, 0.25)[@result] !important }
1853
1847
 
1854
1848
  iframe {
1855
1849
  border: none;
@@ -1885,6 +1879,37 @@ blockquote {
1885
1879
  }
1886
1880
  }
1887
1881
 
1882
+ .btn.btn-dynamic {
1883
+ font-size: inherit !important;
1884
+ line-height: inherit !important;
1885
+ padding: 10px 20px !important;
1886
+ height: auto !important;
1887
+ text-transform: none !important;
1888
+
1889
+ &.btn-black {
1890
+ .button-style(
1891
+ ~'!important';
1892
+ @color-white;
1893
+ .hex-to-LESS-hsl(@color-black)[@result];
1894
+ .hex-to-LESS-hsl(@color-black)[@result];
1895
+
1896
+ lighten(@color-black, 5%);
1897
+ lighten(@color-black, 10%);
1898
+
1899
+ @color-black
1900
+ @color-black
1901
+ );
1902
+ }
1903
+
1904
+ &.btn-white {
1905
+ .button-style(
1906
+ ~'!important';
1907
+ @color-black;
1908
+ .hex-to-LESS-hsl(@color-white)[@result];
1909
+ );
1910
+ }
1911
+ }
1912
+
1888
1913
  @media (max-width: @screen-ls) {
1889
1914
  .btn.btn-dynamic {
1890
1915
  display: inline-block;
@@ -1913,6 +1938,11 @@ blockquote {
1913
1938
  }
1914
1939
  }
1915
1940
 
1941
+ // Rounded Images
1942
+ .rounded-image .img-responsive {
1943
+ border-radius: 10px
1944
+ }
1945
+
1916
1946
  .anchor {
1917
1947
  display: block;
1918
1948
  position: absolute;
@@ -1920,7 +1950,7 @@ blockquote {
1920
1950
  }
1921
1951
 
1922
1952
  .text-shadow {
1923
- text-shadow: 1px 1px 3px rgba(0,0,0,0.85);
1953
+ text-shadow: 1px 1px 3px .hsla(@always-color-black-hsl, 0.85)[@result];
1924
1954
 
1925
1955
  .btn,
1926
1956
  .input-group {
@@ -1936,7 +1966,6 @@ blockquote {
1936
1966
  }
1937
1967
 
1938
1968
  .ApplicationLayoutBody {
1939
-
1940
1969
  @media (min-width: @screen-ls) {
1941
1970
  .module-content {
1942
1971
  display: flex;
@@ -1962,11 +1991,10 @@ blockquote {
1962
1991
  > .btn {
1963
1992
  border-radius: 4px;
1964
1993
 
1965
- .button-variant(
1994
+ .button-style(
1966
1995
  ~'!important';
1967
- @btn-primary-bg;
1968
1996
  @color-white;
1969
- @btn-primary-color;
1997
+ .hex-to-LESS-hsl(@brand-primary)[@result];
1970
1998
  );
1971
1999
  }
1972
2000
 
@@ -1984,7 +2012,7 @@ blockquote {
1984
2012
  > .modal-header-close {
1985
2013
  background: none;
1986
2014
  border: none;
1987
- color: @gray-dark;
2015
+ color: var(--gray-dark);
1988
2016
  float: right;
1989
2017
  font-size: 30px;
1990
2018
  line-height: 55px;
@@ -2071,12 +2099,13 @@ blockquote {
2071
2099
  }
2072
2100
  }
2073
2101
 
2102
+ // Button Hover
2074
2103
  [class*="btn-"]:hover {
2075
2104
  transform: none !important;
2076
2105
  box-shadow: none !important;
2077
2106
  }
2078
2107
 
2079
- // cookie disclaimer
2108
+ // Cookie Disclaimer
2080
2109
  #cookieDisclaimer > .position-absolute {
2081
2110
  position: fixed !important;
2082
2111
 
@@ -2117,7 +2146,7 @@ form[id*="contactForm"] {
2117
2146
  }
2118
2147
 
2119
2148
  .column-icon {
2120
- color: @color-white;
2149
+ color: var(--color-white);
2121
2150
  font-size: 60px;
2122
2151
  left: 50%;
2123
2152
  position: absolute;
@@ -2134,7 +2163,7 @@ form[id*="contactForm"] {
2134
2163
 
2135
2164
  &.scroll-horizontal {
2136
2165
  &:before {
2137
- background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,1));
2166
+ background: linear-gradient(90deg, .hsla(@color-white-hsl, 0)[@result], .hsla(@color-white-hsl, 1)[@result]);
2138
2167
  bottom: 1px;
2139
2168
  content: "";
2140
2169
  position: absolute;
@@ -2147,6 +2176,7 @@ form[id*="contactForm"] {
2147
2176
  }
2148
2177
  }
2149
2178
 
2179
+ // Tables
2150
2180
  body:not(.legal-documents) {
2151
2181
  .table-responsive {
2152
2182
  @media (min-width: @screen-ls) {
@@ -2165,7 +2195,7 @@ body:not(.legal-documents) {
2165
2195
  }
2166
2196
  }
2167
2197
 
2168
- @media (max-width: @screen-ls) {
2198
+ // @media (max-width: @screen-ls) {
2169
2199
  > .table {
2170
2200
  > thead,
2171
2201
  > tbody,
@@ -2178,7 +2208,7 @@ body:not(.legal-documents) {
2178
2208
  }
2179
2209
  }
2180
2210
  }
2181
- }
2211
+ // }
2182
2212
  }
2183
2213
  }
2184
2214
 
@@ -2197,11 +2227,11 @@ body:not(.legal-documents) {
2197
2227
  }
2198
2228
  }
2199
2229
 
2200
- // section clippig
2230
+ // Section Clippig
2201
2231
  .section-wrapper {
2202
2232
  &[class*="clip-"]:after {
2203
2233
  content: "";
2204
- background: @color-white;
2234
+ background: var(--color-white);
2205
2235
  width: 100%;
2206
2236
  position: absolute;
2207
2237
  z-index: 1;
@@ -2216,11 +2246,11 @@ body:not(.legal-documents) {
2216
2246
  }
2217
2247
 
2218
2248
  &[class*="clip-white"]:after {
2219
- background: @color-white
2249
+ background: var(--color-white)
2220
2250
  }
2221
2251
 
2222
2252
  &[class*="clip-lightest"]::after {
2223
- background: @gray-lightest
2253
+ background: var(--gray-lightest)
2224
2254
  }
2225
2255
 
2226
2256
  &.clip-top-ltr:after {