@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
@@ -87,16 +87,16 @@
87
87
  &.color-gray {
88
88
  > * {
89
89
  &:before {
90
- color: @gray;
91
- border-color: @gray;
90
+ color: var(--gray);
91
+ border-color: var(--gray);
92
92
  }
93
93
  }
94
94
  &.filled {
95
95
  > * {
96
96
  &:before {
97
- background-color: @gray;
97
+ background-color: var(--gray);
98
98
  border: none;
99
- color: @color-white;
99
+ color: var(--color-white);
100
100
  }
101
101
  }
102
102
  }
@@ -106,16 +106,16 @@
106
106
  &.color-primary {
107
107
  > * {
108
108
  &:before {
109
- color: @brand-primary;
110
- border-color: @brand-primary;
109
+ color: var(--brand-primary);
110
+ border-color: var(--brand-primary);
111
111
  }
112
112
  }
113
113
  &.filled {
114
114
  > * {
115
115
  &:before {
116
- background-color: @brand-primary;
116
+ background-color: var(--brand-primary);
117
117
  border: none;
118
- color: @color-white;
118
+ color: var(--color-white);
119
119
  }
120
120
  }
121
121
  }
@@ -125,16 +125,16 @@
125
125
  &.color-secondary {
126
126
  > * {
127
127
  &:before {
128
- color: @brand-secondary;
129
- border-color: @brand-secondary;
128
+ color: var(--brand-secondary);
129
+ border-color: var(--brand-secondary);
130
130
  }
131
131
  }
132
132
  &.filled {
133
133
  > * {
134
134
  &:before {
135
- background-color: @brand-secondary;
135
+ background-color: var(--brand-secondary);
136
136
  border: none;
137
- color: @color-white;
137
+ color: var(--color-white);
138
138
  }
139
139
  }
140
140
  }
@@ -29,7 +29,7 @@
29
29
  }
30
30
 
31
31
  .DataTabsWrapper {
32
- background: @color-white;
32
+ background: var(--color-white);
33
33
  overflow-x: auto;
34
34
  overflow-y: hidden;
35
35
  padding-bottom: 8px;
@@ -69,7 +69,7 @@
69
69
  }
70
70
 
71
71
  .arrow {
72
- background-color: @color-highlight-dark;
72
+ background-color: var(--color-highlight-dark);
73
73
  bottom: 0;
74
74
  display: block;
75
75
  height: @dim-dataTabs-arrow;
@@ -8,9 +8,9 @@
8
8
 
9
9
  .rdtPicker {
10
10
  &:extend(.shadow-smooth-to-bottom);
11
- background: @color-white;
11
+ background: var(--color-white);
12
12
  border-radius: @border-radius-default;
13
- border: 1px solid @gray-light;
13
+ border: 1px solid var(--gray-light);
14
14
  display: none;
15
15
  margin-top: 1px;
16
16
  padding: 8px;
@@ -51,7 +51,7 @@
51
51
 
52
52
  &.rdtNew,
53
53
  &.rdtOld {
54
- color: @gray-light;
54
+ color: var(--gray-light);
55
55
  }
56
56
 
57
57
  //.rdtTimeToggle:hover,
@@ -59,7 +59,7 @@
59
59
  &.rdtHour:hover,
60
60
  &.rdtMinute:hover,
61
61
  &.rdtSecond:hover {
62
- background: @color-highlight-lightest;
62
+ background: var(--color-highlight-lightest);
63
63
  cursor: pointer;
64
64
  }
65
65
 
@@ -71,7 +71,7 @@
71
71
 
72
72
  &:hover,
73
73
  &:hover {
74
- background: @color-highlight-lightest;
74
+ background: var(--color-highlight-lightest);
75
75
  }
76
76
  }
77
77
 
@@ -79,9 +79,9 @@
79
79
  position: relative;
80
80
 
81
81
  &:before {
82
- border-bottom: 7px solid @color-highlight;
82
+ border-bottom: 7px solid var(--color-highlight);
83
83
  border-left: 7px solid transparent;
84
- border-top-color: rgba(0, 0, 0, 0.2);
84
+ border-top-color: .hsla(@always-color-black-hsl, 0.2)[@result];
85
85
  bottom: 4px;
86
86
  content: '';
87
87
  display: inline-block;
@@ -92,38 +92,38 @@
92
92
 
93
93
  &.rdtActive,
94
94
  &.rdtActive:hover {
95
- background-color: @color-highlight;
96
- color: @color-white;
97
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
95
+ background-color: var(--color-highlight);
96
+ color: var(--color-white);
97
+ text-shadow: 0 -1px 0 .hsla(@always-color-black-hsl, 0.25)[@result];
98
98
  }
99
99
 
100
100
  &.rdtActive.rdtToday:before {
101
- border-bottom-color: @color-white;
101
+ border-bottom-color: var(--color-white);
102
102
  }
103
103
 
104
104
  &.rdtDisabled,
105
105
  &.rdtDisabled:hover {
106
106
  background: none !important;
107
- color: @gray-light;
107
+ color: var(--gray-light);
108
108
  cursor: not-allowed;
109
109
  }
110
110
 
111
111
  span {
112
112
  &.rdtOld {
113
- color: @color-highlight-light;
113
+ color: var(--color-highlight)-light;
114
114
  }
115
115
 
116
116
  &.rdtDisabled,
117
117
  &.rdtDisabled:hover {
118
118
  background: none !important;
119
- color: @gray-light;
119
+ color: var(--gray-light);
120
120
  cursor: not-allowed;
121
121
  }
122
122
  }
123
123
  }
124
124
 
125
125
  th {
126
- // border-bottom: 1px solid @gray-light;
126
+ // border-bottom: 1px solid var(--gray-light);
127
127
  border-radius: @border-radius-default;
128
128
 
129
129
  .rdtSwitch {
@@ -139,7 +139,7 @@
139
139
  &.rdtDisabled,
140
140
  &.rdtDisabled:hover {
141
141
  background: none !important;
142
- color: @gray-lightest;
142
+ color: var(--gray-lightest);
143
143
  cursor: not-allowed;
144
144
  }
145
145
  }
@@ -159,14 +159,14 @@
159
159
  cursor: pointer;
160
160
 
161
161
  &:hover {
162
- background: @color-highlight-lightest;
162
+ background: var(--color-highlight-lightest);
163
163
  }
164
164
  }
165
165
  }
166
166
 
167
167
  tfoot {
168
- // border-top: 1px solid @gray-light;
169
- background-color: @gray-lightest;
168
+ // border-top: 1px solid var(--gray-light);
169
+ background-color: var(--gray-lightest);
170
170
  }
171
171
 
172
172
  button {
@@ -175,7 +175,7 @@
175
175
  cursor: pointer;
176
176
 
177
177
  &:hover {
178
- background-color: @color-highlight-lightest;
178
+ background-color: var(--color-highlight-lightest);
179
179
  }
180
180
  }
181
181
  }
@@ -183,10 +183,10 @@
183
183
  .rdtTime {
184
184
  .rdtSwitch {
185
185
  position: relative;
186
- background-color: @gray-lightest;
186
+ background-color: var(--gray-lightest);
187
187
 
188
188
  &:hover {
189
- background-color: @color-highlight-lightest;
189
+ background-color: var(--color-highlight-lightest);
190
190
  }
191
191
 
192
192
  &::before {
@@ -196,7 +196,7 @@
196
196
  position: absolute;
197
197
  height: 25px;
198
198
  width: 25px;
199
- color: @gray-darker;
199
+ color: var(--gray-darker);
200
200
  left: 5px;
201
201
  top: 3px;
202
202
  }
@@ -233,7 +233,7 @@
233
233
  border-radius: @border-radius-default;
234
234
 
235
235
  &:hover {
236
- background: @color-highlight-lightest;
236
+ background: var(--color-highlight-lightest);
237
237
  }
238
238
  }
239
239
 
@@ -277,7 +277,7 @@
277
277
  // align-items: center;
278
278
  // font-size: 110%;
279
279
  // height: 100%;
280
- // color: @gray-dark;
280
+ // color: var(--gray-dark);
281
281
  // padding: 0 5px;
282
282
  // }
283
283
 
@@ -313,13 +313,13 @@
313
313
  td.rdtMinute,
314
314
  td.rdtSecond {
315
315
  &:hover {
316
- background: @color-highlight-lightest;
316
+ background: var(--color-highlight-lightest);
317
317
  }
318
318
  }
319
319
 
320
320
  td.rdtActive,
321
321
  td.rdtActive:hover {
322
- background: @brand-primary;
322
+ background: var(--brand-primary);
323
323
  }
324
324
  }
325
325
 
@@ -1,11 +1,11 @@
1
1
  @modal-outer-margin: 30px;
2
2
  @modal-inner-padding: 20px;
3
3
  @modal-title-padding: 15px;
4
- @modal-content-bg: @color-white;
5
- @modal-content-border-color: @gray-light;
6
- @modal-backdrop-bg: @color-black;
7
- @modal-header-border-color: @gray-lighter;
8
- @modal-footer-border-color: @modal-header-border-color;
4
+ @modal-content-bg: var(--color-white);
5
+ @modal-content-border-color: var(--gray-light);
6
+ @modal-backdrop-bg: var(always-color-black);
7
+ @modal-header-border-color: var(--gray-lighter);
8
+ @modal-footer-border-color: var(--gray-lighter);
9
9
 
10
10
  // Custom variables
11
11
  @modal-sm: @screen-xs;
@@ -144,7 +144,7 @@ body {
144
144
  z-index: 1;
145
145
 
146
146
  &-text {
147
- color: @gray-darkest;
147
+ color: var(--gray-darkest);
148
148
  display: flex;
149
149
  flex-direction: column;
150
150
  float: left;
@@ -184,7 +184,7 @@ body {
184
184
  display: none;
185
185
  }
186
186
 
187
- background-color: @gray-lighter;
187
+ background-color: var(--gray-lighter);
188
188
  height: 20px;
189
189
  margin-right: 10px;
190
190
  width: 2px;
@@ -315,7 +315,6 @@ body {
315
315
 
316
316
  .modal-footer {
317
317
  &:before {
318
- background: linear-gradient(0deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
319
318
  content: '';
320
319
  height: 20px;
321
320
  left: 0;
@@ -323,6 +322,11 @@ body {
323
322
  position: absolute;
324
323
  top: -21px;
325
324
  width: 100%;
325
+ background: linear-gradient(
326
+ 0deg,
327
+ .hsla(@color-white-hsl, 1.0)[@result],
328
+ .hsla(@color-white-hsl, 0)[@result],
329
+ );
326
330
  }
327
331
  }
328
332
  }
@@ -348,7 +352,7 @@ body {
348
352
  &.backdrop-blured .modal-backdrop {
349
353
  @supports ((-webkit-backdrop-filter: blur()) or (backdrop-filter: blur())) {
350
354
  opacity: 0.99;
351
- background-color: rgba(0, 0, 0, 0.3);
355
+ background-color: .hsla(@always-color-black-hsl, 0.3)[@result];
352
356
  backdrop-filter: blur(5px);
353
357
  }
354
358
  }
@@ -357,7 +361,7 @@ body {
357
361
  .modal-dialog {
358
362
  .modal-content {
359
363
  .modal-body {
360
- background: @gray-lightest;
364
+ background: var(--gray-lightest);
361
365
  padding-left: 0;
362
366
  padding-right: 0;
363
367
 
@@ -396,7 +400,7 @@ body {
396
400
  }
397
401
 
398
402
  @media (max-width: @splitWrapperBreakpoint) {
399
- background-color: @color-white;
403
+ background-color: var(--color-white);
400
404
  height: 60px;
401
405
  left: -(@modal-inner-padding);
402
406
  padding-top: @modal-inner-padding;
@@ -1,7 +1,9 @@
1
1
  @dropdown-max-height: 211px; // Used for Select and AutoSuggest components
2
2
 
3
- .btn-group.open .dropdown-toggle {
4
- box-shadow: none !important;
3
+ .btn-group {
4
+ &.open .dropdown-toggle {
5
+ box-shadow: none !important;
6
+ }
5
7
  }
6
8
 
7
9
  .dropdown {
@@ -10,14 +12,15 @@
10
12
  &-menu {
11
13
  &:extend(.shadow-hard-to-bottom);
12
14
  .reset-list();
13
- background-color: @color-white;
15
+ background-color: var(--color-white);
14
16
  border-radius: @border-radius-default;
15
- border: 1px solid @gray-light;
17
+ border: 1px solid var(--gray-light);
16
18
  font-size: @font-size-default;
17
19
  min-width: 160px;
18
20
  padding: 0;
19
21
  position: absolute;
20
22
  text-align: left;
23
+ //width: 100%;
21
24
  z-index: @zindex-dropdown;
22
25
 
23
26
  // closed by default
@@ -28,6 +31,12 @@
28
31
  display: block;
29
32
  }
30
33
 
34
+ .AutoSuggest &,
35
+ .select &,
36
+ .multiselect & {
37
+ width: 100%;
38
+ }
39
+
31
40
  // portal style
32
41
  #uikit-root > & {
33
42
  display: block;
@@ -37,7 +46,7 @@
37
46
  > li {
38
47
  > a {
39
48
  border-radius: 4px;
40
- color: @gray-darkest;
49
+ color: var(--gray-darkest);
41
50
  cursor: pointer;
42
51
  display: block;
43
52
  line-height: 1.25;
@@ -52,8 +61,8 @@
52
61
 
53
62
  &:hover,
54
63
  &:focus {
55
- background-color: @brand-primary;
56
- color: @color-white;
64
+ background-color: var(--brand-primary);
65
+ color: var(--color-white);
57
66
  text-decoration: none;
58
67
  }
59
68
  }
@@ -74,8 +83,8 @@
74
83
  &,
75
84
  &:hover,
76
85
  &:focus {
77
- background-color: @brand-primary;
78
- color: @color-white;
86
+ background-color: var(--brand-primary);
87
+ color: var(--color-white);
79
88
  outline: 0;
80
89
  text-decoration: none;
81
90
  }
@@ -85,7 +94,7 @@
85
94
  &,
86
95
  &:hover,
87
96
  &:focus {
88
- color: @gray-light;
97
+ color: var(--gray-light);
89
98
  }
90
99
 
91
100
  // OLD BS STUFF
@@ -120,8 +129,8 @@
120
129
  }
121
130
 
122
131
  .dropdown-header-text {
123
- background: @color-white;
124
- color: lighten(@gray, 5%);
132
+ background: var(--color-white);
133
+ color: .hslb(@gray-hsl, '+', '5%')[@result];
125
134
  font-size: 12px;
126
135
  font-weight: @font-medium;
127
136
  line-height: 1.25;
@@ -132,7 +141,7 @@
132
141
  }
133
142
 
134
143
  > .divider {
135
- background-color: @gray-light;
144
+ background-color: var(--gray-light);
136
145
  height: 1px;
137
146
  margin: 3px 6px;
138
147
  }
@@ -55,7 +55,7 @@
55
55
 
56
56
  > .panel-heading {
57
57
  .expander-icon {
58
- color: @gray;
58
+ color: var(--gray);
59
59
  }
60
60
  }
61
61
  }
@@ -65,12 +65,12 @@
65
65
  background-color: transparent;
66
66
 
67
67
  .expander-icon {
68
- color: @gray;
68
+ color: var(--gray);
69
69
  }
70
70
  }
71
71
 
72
72
  .panel-body {
73
- box-shadow: inset 0px 1px 0px 0px @gray-light;
73
+ box-shadow: inset 0px 1px 0px 0px var(--gray-light);
74
74
 
75
75
  .panel-body {
76
76
  box-shadow: none
@@ -87,7 +87,7 @@
87
87
  padding-right: 0;
88
88
 
89
89
  .expander-icon {
90
- color: @gray-dark;
90
+ color: var(--gray-dark);
91
91
  order: 1;
92
92
  }
93
93
 
@@ -128,7 +128,7 @@
128
128
  &.panel-danger,
129
129
  &.panel-success {
130
130
  .expander-icon {
131
- color: @color-white;
131
+ color: var(--color-white);
132
132
  }
133
133
  }
134
134
  }
@@ -162,7 +162,7 @@
162
162
  width: 100%;
163
163
 
164
164
  .expander-icon {
165
- color: @gray;
165
+ color: var(--gray);
166
166
  }
167
167
 
168
168
  &-content {
@@ -177,7 +177,7 @@
177
177
  transition: background-color 100ms ease-in-out;
178
178
 
179
179
  &:hover {
180
- background-color: @gray-lightest;
180
+ background-color: var(--gray-lightest);
181
181
  }
182
182
  }
183
183
  }
@@ -8,7 +8,7 @@
8
8
 
9
9
  li {
10
10
  width: 100%;
11
- color: @gray-darkest;
11
+ color: var(--color-black);
12
12
 
13
13
  &.ListMenuHeader {
14
14
  display: block;
@@ -23,12 +23,12 @@
23
23
  }
24
24
 
25
25
  a {
26
- color: @gray-darkest;
26
+ color: var(--color-black);
27
27
 
28
28
  &:hover,
29
29
  &.active {
30
30
  text-decoration: none;
31
- color: @brand-primary;
31
+ color: var(--brand-primary);
32
32
  }
33
33
  }
34
34
  }
@@ -41,7 +41,7 @@
41
41
 
42
42
  > span,
43
43
  a {
44
- border-left: 2px solid @gray-light;
44
+ border-left: 2px solid var(--gray-light);
45
45
  display: block;
46
46
  font-weight: normal;
47
47
  margin: 0 0 0 10px;
@@ -52,7 +52,7 @@
52
52
  &.disabled {
53
53
  > span,
54
54
  a {
55
- color: @gray-light;
55
+ color: var(--gray-light);
56
56
  cursor: not-allowed;
57
57
  }
58
58
  }
@@ -60,14 +60,14 @@
60
60
  &:not(.disabled) {
61
61
  > span,
62
62
  a {
63
- color: @gray-darker;
63
+ color: var(--gray-darker);
64
64
  cursor: pointer;
65
65
 
66
66
  &:hover,
67
67
  &.active {
68
- border-left-color: @brand-primary;
68
+ border-left-color: var(--brand-primary);
69
69
  border-width: 3px;
70
- color: @brand-primary;
70
+ color: var(--brand-primary);
71
71
  }
72
72
  }
73
73
  }
@@ -40,7 +40,7 @@
40
40
  margin-bottom: 0;
41
41
  min-height: 24px; // in case there is a spinner as label
42
42
  padding: 7px 10px;
43
- color: @gray-darkest;
43
+ color: var(--gray-darkest);
44
44
 
45
45
  &.disabled {
46
46
  opacity: 0.5;
@@ -67,7 +67,7 @@
67
67
  }
68
68
 
69
69
  .H_context_menu_item_separator {
70
- background: @gray-lighter;
70
+ background: var(--gray-lighter);
71
71
  border: none;
72
72
  height: 1px;
73
73
  padding-bottom: 0;
@@ -80,6 +80,7 @@
80
80
  >div:first-child {
81
81
  >div {
82
82
  z-index: auto !important;
83
+ pointer-events: none;
83
84
  }
84
85
 
85
86
  >canvas {
@@ -1,13 +1,12 @@
1
- @clusterSize: 40px;
2
- @singleSize: 60px;
1
+ @animationDuration: 0.25s ease;
3
2
  @bubbleSize: @singleSize * 0.4;
3
+ @clusterSize: 40px;
4
4
  @iconSize: @bubbleSize * 1.25;
5
+ @nameMaxWidth: 200px;
5
6
  @positionSize: ceil(@bubbleSize * 0.3);
6
7
  @positionTriangleSize: @iconSize * 0.2;
7
- @animationDuration: 0.25s ease;
8
- @shadowStyle: 0 0 5px rgba(0, 0, 0, 0.5);
9
-
10
- @nameMaxWidth: 200px;
8
+ @shadowStyle: 0 0 5px .hsla(@always-color-black-hsl, 0.5)[@result];
9
+ @singleSize: 60px;
11
10
 
12
11
  .rio-map-name {
13
12
  font-size: @bubbleSize * 0.6;
@@ -23,7 +22,7 @@
23
22
 
24
23
  .rio-map-bubble {
25
24
  border-radius: @border-radius-round;
26
- color: @color-white;
25
+ color: var(--color-map-marker-text);
27
26
  text-align: center;
28
27
 
29
28
  &.exception {
@@ -87,7 +86,7 @@
87
86
  border-width: 1px;
88
87
  cursor: pointer;
89
88
  display: block;
90
- filter: drop-shadow(0 0 1px rgba(0,0,0,.2));
89
+ filter: drop-shadow(0 0 1px .hsla(@always-color-black-hsl, 0.2)[@result]);
91
90
  font-size: @clusterSize * 0.36;
92
91
  font-weight: 500;
93
92
  height: @clusterSize;
@@ -139,7 +138,7 @@
139
138
  border-width: 1px;
140
139
  cursor: pointer;
141
140
  display: flex;
142
- filter: drop-shadow(0 0 1px rgba(0,0,0,.2));
141
+ filter: drop-shadow(0 0 1px .hsla(@always-color-black-hsl, 0.2)[@result]);
143
142
  pointer-events: initial;
144
143
  position: relative;
145
144
  transition: background-color @animationDuration, filter @animationDuration, margin-bottom @animationDuration;
@@ -207,7 +206,7 @@
207
206
 
208
207
  .rio-map-direction {
209
208
  border-radius: @border-radius-round;
210
- background-color: lighten(@color-map-marker-asset, 5%);
209
+ background-color: .hslb(@color-map-marker-asset-hsl, '+', '5%')[@result];
211
210
  background-image: url(~'data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2250%22%20height%3D%2250%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill-rule%3D%22nonzero%22%20fill%3D%22none%22%3E%3Cpath%20fill%3D%22transparent%22%20d%3D%22M0%200h50v50H0z%22%2F%3E%3Cpath%20d%3D%22M25%2012L12%2036s6.5-5%2013-5%2013%205%2013%205L25%2012z%22%20fill%3D%22%23FFF%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');
212
211
  background-repeat: no-repeat;
213
212
  background-size: @iconSize;
@@ -227,7 +226,7 @@
227
226
  }
228
227
 
229
228
  .rio-map-position-arrow {
230
- background-color: @color-white;
229
+ background-color: var(--color-map-marker-text);
231
230
  bottom: (@iconSize * 0.5) - (@positionTriangleSize * 0.45);
232
231
  color: transparent;
233
232
  height: @positionTriangleSize;
@@ -240,7 +239,7 @@
240
239
  }
241
240
 
242
241
  .rio-map-position {
243
- background-color: @color-white;
242
+ background-color: var(--color-map-marker-text);
244
243
  border-radius: @border-radius-round;
245
244
  border-style: solid;
246
245
  border-width: ceil(@positionSize * 0.3);
@@ -300,8 +299,8 @@
300
299
  }
301
300
 
302
301
  #rio-map-context-menu {
303
- background-color: @color-map-marker-asset;
304
- border: 1px solid @color-map-marker-asset;
302
+ background-color: var(--color-map-marker-asset);
303
+ border: 1px solid var(--color-map-marker-asset);
305
304
  box-shadow: @shadowStyle;
306
305
  display: none;
307
306
  position: absolute;
@@ -317,7 +316,7 @@
317
316
  padding: 0;
318
317
 
319
318
  > li {
320
- color: @color-white;
319
+ color: var(--color-white);
321
320
  display: flex;
322
321
  padding: 0 @bubbleSize * 0.4;
323
322
 
@@ -326,12 +325,12 @@
326
325
 
327
326
  &:hover,
328
327
  &.hover {
329
- background-color: darken(@color-map-marker-asset, 5%);
328
+ background-color: .hslb(@color-map-marker-asset-hsl, '-', '5%')[@result];
330
329
  }
331
330
  }
332
331
 
333
332
  &:not(:last-child) {
334
- border-bottom: 1px solid darken(@color-map-marker-asset, 5%);
333
+ border-bottom: 1px solid .hslb(@color-map-marker-asset-hsl, '-', '5%')[@result];
335
334
  margin-bottom: 0;
336
335
  }
337
336