@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,14 +1,14 @@
1
- @input-bg: @color-white;
2
- @input-bg-disabled: rgba(229, 235, 240, 0.4); //40% @gray-lighter;
3
- @input-color: @gray-darker;
4
- @input-border: @gray;
5
- @input-border-focus: @brand-primary;
6
- @input-color-placeholder: @gray;
1
+ @input-bg: var(--color-white);
2
+ @input-bg-disabled: var(--gray-lightest);
3
+ @input-color: var(--gray-darker);
4
+ @input-border: var(--gray);
5
+ @input-border-focus: var(--brand-primary);
6
+ @input-color-placeholder: var(--gray);
7
7
  @input-height-base: (@grid-gutter-height + (@padding-default-vertical * 2) + 2);
8
8
  @input-height-lg: (floor(@font-size-lg * @line-height-lg) + (@padding-lg-vertical * 2) + 2);
9
9
  @input-height-sm: (floor(@font-size-sm * @line-height-sm) + (@padding-sm-vertical * 2) + 2);
10
- @legend-color: @gray-dark;
11
- @legend-border-color: #e5e5e5;
10
+ @legend-color: var(--gray-dark);
11
+ @legend-border-color: var(--gray-light);
12
12
 
13
13
  fieldset {
14
14
  padding: 0;
@@ -18,15 +18,15 @@ fieldset {
18
18
  }
19
19
 
20
20
  legend {
21
+ border-bottom: 1px solid @legend-border-color;
22
+ color: @legend-color;
21
23
  display: block;
22
- width: 100%;
23
- padding: 0;
24
- margin-bottom: @grid-gutter-height;
25
- font-size: (@font-size-default * 1.5);
24
+ font-size: (@font-size-default * 1.2);
25
+ font-weight: 300;
26
26
  line-height: inherit;
27
- color: @legend-color;
28
- border: 0;
29
- border-bottom: 1px solid @legend-border-color;
27
+ margin-bottom: @grid-gutter-height * 2;
28
+ width: 100%;
29
+ padding-bottom: @grid-gutter-height * 0.5;
30
30
  }
31
31
 
32
32
  label {
@@ -116,7 +116,7 @@ select {
116
116
  background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
117
117
  border: 1px solid @input-border;
118
118
  border-radius: @border-radius-default; // Note: This has no effect on <select>s in some browsers, due to the limited stylability of <select>s in CSS.
119
- box-shadow:inset 0 1px 1px rgba(0,0,0,.075);
119
+ box-shadow:inset 0 1px 1px .hsla(@always-color-black-hsl, 0.075)[@result];
120
120
  transition:border-color ease-in-out .15s~","box-shadow ease-in-out .15s;
121
121
 
122
122
  .form-control-focus();
@@ -289,13 +289,13 @@ input[type="checkbox"] {
289
289
  display: block; // account for any element using help-block
290
290
  margin-top: 5px;
291
291
  margin-bottom: 10px;
292
- color: lighten(@text-color, 25%); // lighten the text some for contrast
292
+ color: .hslb(@gray-darkest-hsl, '+', '25%')[@result];
293
293
  }
294
294
 
295
295
  .default-label(@label-font-size) {
296
296
  font-size: @label-font-size;
297
297
  font-weight: normal;
298
- color: @gray-dark;
298
+ color: var(--gray-dark);
299
299
  }
300
300
 
301
301
  // define default styling for labels
@@ -325,7 +325,7 @@ label .checkbox-text {
325
325
  label {
326
326
  .radio-text,
327
327
  .checkbox-text {
328
- color: @gray-darkest;
328
+ color: var(--gray-darkest);
329
329
  font-size: @font-size-14;
330
330
  }
331
331
  }
@@ -339,7 +339,7 @@ label .checkbox-text {
339
339
  label {
340
340
  .radio-text,
341
341
  .checkbox-text {
342
- color: @gray-darkest;
342
+ color: var(--gray-darkest);
343
343
  font-size: @font-size-16;
344
344
  }
345
345
  }
@@ -354,7 +354,7 @@ label .checkbox-text {
354
354
  label {
355
355
  .radio-text,
356
356
  .checkbox-text {
357
- color: @gray-darkest;
357
+ color: var(--gray-darkest);
358
358
  font-size: @font-size-12;
359
359
  }
360
360
  }
@@ -452,13 +452,13 @@ label .checkbox-text {
452
452
  &.has-@{key} {
453
453
  .help-block {
454
454
  background: @value;
455
- color: @color-white;
455
+ color: var(--color-white);
456
456
  }
457
457
 
458
458
  .form-control {
459
459
  &:focus {
460
460
  ~ .help-block {
461
- background: @gray-lightest;
461
+ background: var(--gray-lightest);
462
462
  color: @value;
463
463
  }
464
464
  }
@@ -495,7 +495,7 @@ label .checkbox-text {
495
495
  .has-warning > .control-label,
496
496
  .has-error > .control-label,
497
497
  .has-success > .control-label {
498
- color: @gray-dark;
498
+ color: var(--gray-dark);
499
499
  }
500
500
 
501
501
  .form-control {
@@ -512,7 +512,7 @@ label .checkbox-text {
512
512
 
513
513
  &[disabled] {
514
514
  + .input-group-addon:last-child {
515
- background: #f5f7f9; // because @input-bg-disabled has alpha...
515
+ background: @input-bg-disabled; // because @input-bg-disabled has alpha...
516
516
  cursor: not-allowed;
517
517
  }
518
518
  }
@@ -526,16 +526,18 @@ label .checkbox-text {
526
526
  z-index: 3;
527
527
 
528
528
  .form-group.has-error & {
529
- border-color: darken(@brand-danger, 10%);
530
- box-shadow: 1px 0 0 0 darken(@brand-danger, 10%);
529
+ border-color: .hslb(@brand-danger-hsl, '-', '10%')[@result];
530
+ box-shadow: .hslb(@brand-danger-hsl, '-', '10%')[@result];
531
531
  }
532
+
532
533
  .form-group.has-warning & {
533
- border-color: darken(@brand-warning, 10%);
534
- box-shadow: 1px 0 0 0 darken(@brand-warning, 10%);
534
+ border-color: .hslb(@brand-warning-hsl, '-', '10%')[@result];
535
+ box-shadow: .hslb(@brand-warning-hsl, '-', '10%')[@result];
535
536
  }
537
+
536
538
  .form-group.has-success & {
537
- border-color: darken(@brand-success, 10%);
538
- box-shadow: 1px 0 0 0 darken(@brand-success, 10%);
539
+ border-color: .hslb(@brand-success-hsl, '-', '10%')[@result];
540
+ box-shadow: .hslb(@brand-success-hsl, '-', '10%')[@result];
539
541
  }
540
542
  }
541
543
  }
@@ -29,8 +29,8 @@ img {
29
29
  .img-thumbnail {
30
30
  padding: 0;
31
31
  line-height: @line-height-default;
32
- background-color: @color-white;
33
- border: 1px solid @gray-light;
32
+ background-color: var(--color-white);
33
+ border: 1px solid var(--gray-light);
34
34
  border-radius: @border-radius-default;
35
35
  transition:all .2s ease-in-out;
36
36
 
@@ -3,7 +3,7 @@
3
3
  border-radius: @border-radius-sm;
4
4
  border-style: solid;
5
5
  border-width: 1px;
6
- color: @color-white;
6
+ color: var(--color-white);
7
7
  display: inline-block;
8
8
  font-size: 75%;
9
9
  font-weight: @font-medium;
@@ -32,23 +32,23 @@
32
32
  // danger
33
33
 
34
34
  &-default {
35
- color: @gray-dark;
35
+ color: var(--gray-dark);
36
36
 
37
37
  &.label-filled {
38
- color: @color-white;
39
- border-color: @gray-dark;
40
- background-color: @gray-dark;
38
+ color: var(--color-white);
39
+ border-color: var(--gray-dark);
40
+ background-color: var(--gray-dark);
41
41
  }
42
42
  }
43
43
 
44
44
  &-muted {
45
- color: @gray;
46
- border-color: @gray-light;
45
+ color: var(--gray);
46
+ border-color: var(--gray-light);
47
47
 
48
48
  &.label-filled {
49
- color: @gray-dark;
50
- border-color: @gray-light;
51
- background-color: @gray-lightest;
49
+ color: var(--gray-dark);
50
+ border-color: var(--gray-light);
51
+ background-color: var(--gray-lightest);
52
52
  }
53
53
  }
54
54
 
@@ -57,7 +57,7 @@
57
57
  color: @value;
58
58
 
59
59
  &.label-filled {
60
- color: @color-white;
60
+ color: var(--color-white);
61
61
  border-color: @value;
62
62
  background-color: @value;
63
63
  }
@@ -1,11 +1,13 @@
1
+ @list-group-item-hover-bg: var(--gray-lightest);
2
+
1
3
  .list-group {
2
4
  .reset-list();
3
5
  margin-bottom: 20px;
4
6
  }
5
7
 
6
8
  .list-group-item {
7
- background-color: @color-white;
8
- border: 1px solid @gray-light;
9
+ background-color: var(--color-white);
10
+ border: 1px solid var(--gray-light);
9
11
  display: block;
10
12
  margin-bottom: -1px;
11
13
  padding: 10px 15px;
@@ -31,17 +33,17 @@
31
33
  &.disabled,
32
34
  &.disabled:hover,
33
35
  &.disabled:focus {
34
- background-color: @gray-lighter;
35
- color: @gray-light;
36
+ background-color: var(--gray-lighter);
37
+ color: var(--gray-light);
36
38
  cursor: not-allowed;
37
39
  }
38
40
 
39
41
  &.active,
40
42
  &.active:hover,
41
43
  &.active:focus {
42
- background-color: @brand-primary;
43
- border-color: @brand-primary;
44
- color: @color-white;
44
+ background-color: var(--brand-primary);
45
+ border-color: var(--brand-primary);
46
+ color: var(--color-white);
45
47
  z-index: 2;
46
48
  }
47
49
 
@@ -49,12 +51,12 @@
49
51
  button&,
50
52
  &.list-group-item-link {
51
53
  cursor: pointer;
52
- color: @gray-darkest;
54
+ color: var(--gray-darkest);
53
55
 
54
56
  &:hover,
55
57
  &:focus {
56
- background-color: @gray-lightest;
57
- color: @gray-darkest;
58
+ background-color: @list-group-item-hover-bg;
59
+ color: var(--gray-darkest);
58
60
  text-decoration: none;
59
61
  }
60
62
  }
@@ -67,7 +69,7 @@
67
69
  // warning
68
70
  // danger
69
71
  &-default {
70
- box-shadow: inset 5px 0 0 0 @gray;
72
+ box-shadow: inset 5px 0 0 0 var(--gray);
71
73
  }
72
74
 
73
75
  each(@colors-brand-and-status-map, {
@@ -94,7 +96,7 @@
94
96
  &.active,
95
97
  &.active:hover,
96
98
  &.active:focus {
97
- color: @color-white;
99
+ color: var(--color-white);
98
100
  background-color: @value;
99
101
  border-color: @value;
100
102
  }
@@ -23,7 +23,7 @@
23
23
 
24
24
  &.disabled,
25
25
  &:disabled {
26
- color: @gray-light;
26
+ color: var(--gray-light);
27
27
  pointer-events: none;
28
28
  }
29
29
  }
@@ -33,7 +33,7 @@
33
33
  cursor: not-allowed;
34
34
 
35
35
  > a, > span, > div {
36
- color: @gray-light;
36
+ color: var(--gray-light);
37
37
  pointer-events: none;
38
38
  }
39
39
  }
@@ -71,9 +71,9 @@
71
71
  }
72
72
 
73
73
  // nav tabs
74
- @nav-tabs-border-color: @gray-light;
75
- @nav-tabs-link-hover-border-color: @brand-primary;
76
- @nav-tabs-active-link-hover-border-color: @gray-light;
74
+ @nav-tabs-border-color: var(--gray-light);
75
+ @nav-tabs-link-hover-border-color: var(--brand-primary);
76
+ @nav-tabs-active-link-hover-border-color: var(--gray-light);
77
77
 
78
78
  .nav-tabs {
79
79
  border-bottom: 1px solid @nav-tabs-border-color;
@@ -92,15 +92,15 @@
92
92
  > a, > span, > div {
93
93
  border-radius: @border-radius-default @border-radius-default 0 0;
94
94
  border: 1px solid transparent;
95
- color: @gray-dark;
95
+ color: var(--gray-dark);
96
96
  cursor: pointer;
97
97
  line-height: @line-height-default;
98
98
  transition: all 100ms ease-in-out;
99
99
 
100
100
  &:hover,
101
101
  &:focus {
102
- color: @gray-darkest;
103
- background-color: @gray-lightest;
102
+ color: var(--gray-darkest);
103
+ background-color: var(--gray-lightest);
104
104
  border-color: @nav-tabs-border-color;
105
105
  outline: 0;
106
106
  }
@@ -109,12 +109,12 @@
109
109
  &.active {
110
110
  > a, > span, > div,
111
111
  > a:hover, > span:hover, > div:hover {
112
- background-color: @color-white;
112
+ background-color: var(--color-white);
113
113
  border-bottom: 1px solid transparent;
114
114
  border-left: 1px solid @nav-tabs-active-link-hover-border-color;
115
115
  border-right: 1px solid @nav-tabs-active-link-hover-border-color;
116
116
  border-top: 1px solid @nav-tabs-active-link-hover-border-color;
117
- color: @gray-darkest;
117
+ color: var(--gray-darkest);
118
118
  cursor: default;
119
119
 
120
120
  &:before {
@@ -128,7 +128,7 @@
128
128
  .tab-content {
129
129
  margin: 0;
130
130
  padding: 15px;
131
- background-color: @color-white;
131
+ background-color: var(--color-white);
132
132
  transition: all 200ms ease-in-out;
133
133
  }
134
134
 
@@ -140,8 +140,8 @@
140
140
 
141
141
  // nav pills
142
142
  @nav-pills-border-radius: @border-radius-default;
143
- @nav-pills-active-link-hover-bg: @brand-primary;
144
- @nav-pills-active-link-hover-color: @color-white;
143
+ @nav-pills-active-link-hover-bg: var(--brand-primary);
144
+ @nav-pills-active-link-hover-color: var(--color-white);
145
145
 
146
146
  .nav-pills {
147
147
  &:not(.nav-stacked) {
@@ -151,13 +151,13 @@
151
151
 
152
152
  > li {
153
153
  > a, > span, > div {
154
- color: @gray-dark;
154
+ color: var(--gray-dark);
155
155
  line-height: 22px;
156
156
  transition: all 100ms ease-in-out;
157
157
 
158
158
  &:hover,
159
159
  &:focus {
160
- color: @gray-darkest;
160
+ color: var(--gray-darkest);
161
161
  outline: 0;
162
162
  }
163
163
  }
@@ -165,14 +165,14 @@
165
165
  &.active,
166
166
  &:active {
167
167
  > a, > span, > div {
168
- color: @gray-darkest;
168
+ color: var(--gray-darkest);
169
169
  }
170
170
  }
171
171
 
172
172
  &.disabled,
173
173
  &:disabled {
174
174
  > a, > span, > div {
175
- color: @gray-light;
175
+ color: var(--gray-light);
176
176
 
177
177
  &:hover {
178
178
  box-shadow: none;
@@ -182,19 +182,19 @@
182
182
  }
183
183
 
184
184
  &:not(.nav-stacked):not(.nav-pills-filled) {
185
- box-shadow: 0 -1px inset @gray-dark;
185
+ box-shadow: 0 -1px inset var(--gray-dark);
186
186
  > li {
187
187
  > a, > span, > div {
188
188
  &:hover,
189
189
  &:focus {
190
- box-shadow: inset 0px -4px 0px 0px @gray-dark;
190
+ box-shadow: inset 0px -4px 0px 0px var(--gray-dark);
191
191
  }
192
192
  }
193
193
 
194
194
  &.active,
195
195
  &:active {
196
196
  > a, > span, > div {
197
- box-shadow: inset 0px -3px 0px 0px @gray-dark;
197
+ box-shadow: inset 0px -3px 0px 0px var(--gray-dark);
198
198
  }
199
199
  }
200
200
  }
@@ -219,7 +219,7 @@
219
219
  }
220
220
 
221
221
  &.nav-pills-filled {
222
- background: @gray-lightest;
222
+ background: var(--gray-lightest);
223
223
  border-radius: @nav-pills-border-radius;
224
224
  padding: @nav-pills-border-radius;
225
225
 
@@ -227,7 +227,7 @@
227
227
  &.active,
228
228
  &:hover {
229
229
  &:extend(.shadow-default);
230
- background: @color-white;
230
+ background: var(--color-white);
231
231
  border-radius: @nav-pills-border-radius;
232
232
  }
233
233
  }
@@ -240,7 +240,7 @@
240
240
  }
241
241
 
242
242
  > a, > span, > div {
243
- color: @gray-darkest;
243
+ color: var(--gray-darkest);
244
244
  border-radius: @nav-pills-border-radius;
245
245
  }
246
246
  }
@@ -248,7 +248,7 @@
248
248
  > li:not(.disabled):not(:disabled):not(.active) {
249
249
  &:hover {
250
250
  > a, > span, > div {
251
- background-color: @gray-lightest;
251
+ background-color: var(--gray-lightest);
252
252
  }
253
253
  }
254
254
  }
@@ -256,11 +256,11 @@
256
256
  &:not(.nav-pills-stacked-decent) {
257
257
  > li.active {
258
258
  > a, > span, > div {
259
- color: @color-white;
259
+ color: var(--color-white);
260
260
  background-color: @nav-pills-active-link-hover-bg;
261
261
 
262
262
  &:hover {
263
- color: @color-white;
263
+ color: var(--color-white);
264
264
  }
265
265
  }
266
266
  }
@@ -269,7 +269,7 @@
269
269
  &.nav-pills-stacked-decent {
270
270
  > li.active {
271
271
  > a, > span, > div {
272
- background-color: @color-highlight-lightest;
272
+ background-color: var(--color-highlight-lightest);
273
273
  }
274
274
  }
275
275
  }
@@ -7,8 +7,6 @@
7
7
  }
8
8
  }
9
9
 
10
- /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
11
-
12
10
  //
13
11
  // 1. Set default font family to sans-serif.
14
12
  // 2. Prevent iOS and IE text size adjust after device orientation change,
@@ -147,15 +145,6 @@ html {
147
145
  margin: 0.67em 0;
148
146
  }
149
147
 
150
- //
151
- // Address styling not present in IE 8/9.
152
- //
153
-
154
- mark {
155
- background: #ff0;
156
- color: #000;
157
- }
158
-
159
148
  //
160
149
  // Address inconsistent and variable font size in all browsers.
161
150
  //
@@ -1,7 +1,7 @@
1
1
  // Pagination
2
- @pagination-color: @gray-dark;
3
- @pagination-active-bg: @gray-lighter;
4
- @pagination-active-color: @gray-dark;
2
+ @pagination-color: var(--gray-dark);
3
+ @pagination-active-bg: var(--gray-lighter);
4
+ @pagination-active-color: var(--gray-dark);
5
5
 
6
6
  .pagination {
7
7
  .reset-list();
@@ -60,16 +60,16 @@
60
60
  }
61
61
 
62
62
  &:empty {
63
- background: @color-highlight-decent;
63
+ background: var(--color-highlight-decent);
64
64
  border-radius: @border-radius-sm;
65
- border: 1px solid @color-highlight;
65
+ border: 1px solid var(--color-highlight);
66
66
  height: 10px;
67
67
  margin: 0 5px;
68
68
  width: 20px;
69
69
 
70
70
  &.active,
71
71
  &:hover {
72
- background: @color-highlight;
72
+ background: var(--color-highlight);
73
73
  }
74
74
  }
75
75
 
@@ -96,9 +96,9 @@
96
96
  }
97
97
 
98
98
  // Pager
99
- @pager-border: @gray-light;
100
- @pager-hover-bg: @gray-lighter;
101
- @pager-active-bg: @gray;
99
+ @pager-border: var(--gray-light);
100
+ @pager-hover-bg: var(--gray-lighter);
101
+ @pager-active-bg: var(--gray);
102
102
  @pager-active-color: @pagination-active-color;
103
103
 
104
104
  .pager {
@@ -153,7 +153,7 @@
153
153
  &,
154
154
  &:hover,
155
155
  &:focus {
156
- color: @gray-light;
156
+ color: var(--gray-light);
157
157
  cursor: not-allowed;
158
158
  }
159
159
  }
@@ -2,7 +2,7 @@
2
2
  @panel-y-padding: 10px;
3
3
 
4
4
  .panel {
5
- background-color: @color-white;
5
+ background-color: var(--color-white);
6
6
  border-radius: @border-radius-default;
7
7
  border: 1px solid transparent;
8
8
  margin-bottom: @grid-gutter-height;
@@ -13,15 +13,15 @@
13
13
 
14
14
  &.panel-default {
15
15
  &.active {
16
- background-color: @color-highlight-decent;
17
- border: 1px solid @brand-primary;
18
- box-shadow: inset 0 0 0 1px @brand-primary;
16
+ background-color: var(--color-highlight-decent);
17
+ border: 1px solid var(--brand-primary);
18
+ box-shadow: inset 0 0 0 1px var(--brand-primary);
19
19
 
20
20
  .panel-heading,
21
21
  .panel-footer {
22
- background-color: @color-highlight-decent;
23
- border-color: @brand-primary;
24
- box-shadow: inset 0 0 0 1px @brand-primary;
22
+ background-color: var(--color-highlight-decent);
23
+ border-color: var(--brand-primary);
24
+ box-shadow: inset 0 0 0 1px var(--brand-primary);
25
25
  }
26
26
  }
27
27
  }
@@ -66,7 +66,7 @@
66
66
  }
67
67
 
68
68
  // default
69
- .panel-variant(@color-white, @gray-light, @gray-darkest);
69
+ .panel-variant(var(--color-white), var(--gray-light), var(--gray-darkest));
70
70
 
71
71
  // primary
72
72
  // secondary
@@ -76,7 +76,7 @@
76
76
  // danger
77
77
  each(@colors-brand-and-status-map, {
78
78
  &.panel-@{key} {
79
- .panel-variant(@value, @value, @color-white);
79
+ .panel-variant(@value, @value, var(--color-white));
80
80
  }
81
81
  })
82
82
  }
@@ -86,7 +86,7 @@
86
86
  padding: @panel-x-padding;
87
87
 
88
88
  ~ .table {
89
- border-top: 1px solid @gray-light;
89
+ border-top: 1px solid var(--gray-light);
90
90
  margin-bottom: 0
91
91
  }
92
92
 
@@ -1,6 +1,6 @@
1
1
  @popover-max-width: 550px;
2
- @popover-color: @color-white;
3
- @popover-arrow-color: @color-white;
2
+ @popover-color: var(--color-white);
3
+ @popover-arrow-color: var(--color-white);
4
4
  @popover-arrow-width: 12px;
5
5
  @popover-arrow-outer-width: 11px;
6
6
 
@@ -9,14 +9,14 @@
9
9
  background-clip: padding-box;
10
10
  background-color: @popover-color;
11
11
  border-radius: @border-radius-lg;
12
- border: 1px solid @gray-light;
12
+ border: 1px solid var(--gray-light);
13
13
  max-width: @popover-max-width;
14
14
  padding: 0;
15
15
  position: absolute;
16
16
  z-index: @zindex-popover;
17
17
 
18
18
  .popover-title {
19
- border-bottom: 1px solid @gray-light;
19
+ border-bottom: 1px solid var(--gray-light);
20
20
  padding: 13px 14px;
21
21
  font-weight: normal;
22
22
  }
@@ -53,7 +53,7 @@
53
53
  > .arrow {
54
54
  left: 50%;
55
55
  border-bottom-width: 0;
56
- border-top-color: @gray-light;
56
+ border-top-color: var(--gray-light);
57
57
  bottom: -(@popover-arrow-outer-width);
58
58
 
59
59
  &:after {
@@ -71,7 +71,7 @@
71
71
  top: 50%;
72
72
  left: -(@popover-arrow-outer-width);
73
73
  border-left-width: 0;
74
- border-right-color: @gray-light;
74
+ border-right-color: var(--gray-light);
75
75
 
76
76
  &:after {
77
77
  content: "";
@@ -87,7 +87,7 @@
87
87
  > .arrow {
88
88
  left: 50%;
89
89
  border-top-width: 0;
90
- border-bottom-color: @gray-light;
90
+ border-bottom-color: var(--gray-light);
91
91
  top: -(@popover-arrow-outer-width);
92
92
 
93
93
  &:after {
@@ -105,7 +105,7 @@
105
105
  top: 50%;
106
106
  right: -(@popover-arrow-outer-width);
107
107
  border-right-width: 0;
108
- border-left-color: @gray-light;
108
+ border-left-color: var(--gray-light);
109
109
 
110
110
  &:after {
111
111
  content: "";