@rio-cloud/rio-uikit 0.15.0 → 0.16.0-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 (222) hide show
  1. package/README.md +46 -3
  2. package/lib/components/actionBarItem/ActionBarItem.js +4 -4
  3. package/lib/components/actionBarItem/ActionBarItemPopoverContent.js +43 -0
  4. package/lib/components/actionBarItem/ActionBarOverlay.js +8 -3
  5. package/lib/components/applicationHeader/AppMenuDropdown.js +9 -13
  6. package/lib/components/applicationLayout/ApplicationLayout.js +7 -9
  7. package/lib/components/applicationLayout/ApplicationLayoutBody.js +5 -3
  8. package/lib/components/assetTree/AssetTree.js +1 -1
  9. package/lib/components/assetTree/Tree.js +2 -2
  10. package/lib/components/assetTree/TreeLeaf.js +9 -9
  11. package/lib/components/bottomSheet/BottomSheet.js +11 -7
  12. package/lib/components/browserWarning/BrowserIcons.js +76 -0
  13. package/lib/components/browserWarning/BrowserWarning.js +4 -4
  14. package/lib/components/browserWarning/BrowserWarningMessageDE.js +20 -22
  15. package/lib/components/browserWarning/BrowserWarningMessageEN.js +20 -22
  16. package/lib/components/carousel/Carousel.js +7 -426
  17. package/lib/components/checkbox/Checkbox.js +4 -4
  18. package/lib/components/datepicker/DatePicker.js +15 -6
  19. package/lib/components/dialog/ConfirmationDialog.js +8 -6
  20. package/lib/components/dialog/SaveDialog.js +3 -1
  21. package/lib/components/dropdown/ButtonDropdown.js +149 -181
  22. package/lib/components/listMenu/ListMenu.js +40 -23
  23. package/lib/components/map/components/features/old/MapSettings.js +5 -5
  24. package/lib/components/map/components/features/old/settings/MapClusterSettings.js +13 -13
  25. package/lib/components/map/components/features/old/settings/MapLayerSettings.js +15 -15
  26. package/lib/components/map/components/features/old/settings/MapTypeSettings.js +20 -20
  27. package/lib/components/map/components/features/settings/ZoomButtons.js +10 -10
  28. package/lib/components/map/components/features/settings/builtinSettings/MapClusterSettings.js +20 -18
  29. package/lib/components/map/components/features/settings/builtinSettings/MapLayerSettings.js +8 -8
  30. package/lib/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +42 -32
  31. package/lib/components/map/components/features/settings/buttons/MapBoundingBoxButton.js +8 -8
  32. package/lib/components/map/components/features/settings/buttons/MapCenterMarkerButton.js +8 -8
  33. package/lib/components/map/components/features/settings/buttons/MapLockMarkerButton.js +8 -8
  34. package/lib/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.js +8 -8
  35. package/lib/components/map/components/features/settings/items/MapLayerIncidentsItem.js +8 -6
  36. package/lib/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.js +8 -6
  37. package/lib/components/map/components/features/settings/items/MapLayerTrafficItem.js +8 -6
  38. package/lib/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.js +8 -8
  39. package/lib/components/map/icons/MapIcon.js +500 -0
  40. package/lib/components/numberInput/NumberInput.js +6 -6
  41. package/lib/components/onboarding/OnboardingTip.js +9 -9
  42. package/lib/components/states/NotBookedState.js +2 -2
  43. package/lib/components/table/TableSettingsDialogFooter.js +1 -1
  44. package/lib/components/teaser/Teaser.js +1 -1
  45. package/lib/components/teaser/TeaserContainer.js +8 -8
  46. package/lib/components/tooltip/Tooltip.js +5 -5
  47. package/lib/es/DeviceUtils.d.ts +4 -2
  48. package/lib/es/SortDirection.d.ts +5 -0
  49. package/lib/es/deviceUtils.js +12 -0
  50. package/lib/es/useFullscreen.js +15 -0
  51. package/lib/hooks/useClipboard.js +2 -2
  52. package/lib/hooks/useFullscreen.js +244 -0
  53. package/lib/style/css/_exports/man-uikit.less +7 -5
  54. package/lib/style/css/_exports/rio-buyButton.less +30 -41
  55. package/lib/style/css/_exports/rio-uikit-core.less +106 -127
  56. package/lib/style/css/_exports/rio-uikit-print-utilities.less +6 -11
  57. package/lib/style/css/_exports/rio-uikit-responsive-utilities.less +6 -11
  58. package/lib/style/css/_exports/rio-uikit.less +5 -4
  59. package/lib/style/css/_exports/rio-website.less +49 -13
  60. package/lib/style/css/_exports/vw-uikit.less +10 -8
  61. package/lib/style/css/animations/_imports.less +9 -0
  62. package/lib/style/css/animations/collapse.less +16 -0
  63. package/lib/style/css/animations/fade.less +28 -0
  64. package/lib/style/css/animations/pinging.less +7 -0
  65. package/lib/style/css/animations/rotate.less +52 -0
  66. package/lib/style/css/animations/scale.less +35 -0
  67. package/lib/style/css/animations/slide.less +39 -0
  68. package/lib/style/css/animations/spinning.less +4 -0
  69. package/lib/style/css/animations/transition.less +129 -0
  70. package/lib/style/css/animations/translate.less +28 -0
  71. package/lib/style/css/bootstrap/dropdowns.less +10 -3
  72. package/lib/style/css/bootstrap/forms.less +38 -36
  73. package/lib/style/css/bootstrap/input-groups.less +4 -0
  74. package/lib/style/css/bootstrap/mixins/forms.less +1 -1
  75. package/lib/style/css/components/Activity.less +93 -0
  76. package/lib/style/css/components/ApplicationHeader.less +438 -0
  77. package/lib/style/css/components/ApplicationLayout.less +236 -0
  78. package/lib/style/css/components/AssetTree.less +443 -0
  79. package/lib/style/css/components/AutoSuggest.less +22 -0
  80. package/lib/style/css/components/BottomSheet.less +14 -0
  81. package/lib/style/css/components/Carousel.less +212 -0
  82. package/lib/style/css/components/Checkbox.less +224 -0
  83. package/lib/style/css/components/ClearableInput.less +115 -0
  84. package/lib/style/css/components/Counter.less +142 -0
  85. package/lib/style/css/components/DataTabs.less +100 -0
  86. package/lib/style/css/components/DatePicker.less +391 -0
  87. package/lib/style/css/components/Dialog.less +482 -0
  88. package/lib/style/css/components/Dropdown.less +186 -0
  89. package/lib/style/css/components/Expander.less +196 -0
  90. package/lib/style/css/components/FilePicker.less +8 -0
  91. package/lib/style/css/components/ListMenu.less +77 -0
  92. package/lib/style/css/components/MapHere.less +91 -0
  93. package/lib/style/css/components/MapMarker.less +347 -0
  94. package/lib/style/css/components/MapSettings.less +140 -0
  95. package/lib/style/css/components/NoData.less +8 -0
  96. package/lib/style/css/components/Notification.less +234 -0
  97. package/lib/style/css/components/RadioButton.less +173 -0
  98. package/lib/style/css/components/Resizer.less +43 -0
  99. package/lib/style/css/components/Select.less +272 -0
  100. package/lib/style/css/components/Sidebar.less +157 -0
  101. package/lib/style/css/components/Slider.less +278 -0
  102. package/lib/style/css/components/Spinner.less +49 -0
  103. package/lib/style/css/components/StatsWidget.less +111 -0
  104. package/lib/style/css/components/SteppedProgressBar.less +323 -0
  105. package/lib/style/css/components/SupportMarker.less +34 -0
  106. package/lib/style/css/components/Switch.less +145 -0
  107. package/lib/style/css/components/TableSettingsDialog.less +96 -0
  108. package/lib/style/css/components/TableSortArrows.less +54 -0
  109. package/lib/style/css/components/TableToolbar.less +121 -0
  110. package/lib/style/css/components/Tag.less +246 -0
  111. package/lib/style/css/components/TagManager.less +4 -0
  112. package/lib/style/css/components/Teaser.less +12 -0
  113. package/lib/style/css/components/Timeline.less +69 -0
  114. package/lib/style/css/components/Tooltip.less +261 -0
  115. package/lib/style/css/design/alerts.less +55 -0
  116. package/lib/style/css/design/aspect-ratio.less +23 -0
  117. package/lib/style/css/design/badges.less +120 -0
  118. package/lib/style/css/design/blockquote.less +49 -0
  119. package/lib/style/css/design/border.less +192 -0
  120. package/lib/style/css/design/breadcrumbs.less +20 -0
  121. package/lib/style/css/design/button-groups.less +194 -0
  122. package/lib/style/css/design/buttons.less +540 -0
  123. package/lib/style/css/design/callouts.less +27 -0
  124. package/lib/style/css/design/caret.less +28 -0
  125. package/lib/style/css/design/close.less +12 -0
  126. package/lib/style/css/design/code.less +45 -0
  127. package/lib/style/css/design/colors.less +202 -0
  128. package/lib/style/css/design/cols.less +56 -0
  129. package/lib/style/css/design/container.less +29 -0
  130. package/lib/style/css/design/cursors.less +19 -0
  131. package/lib/style/css/design/custom.less +20 -0
  132. package/lib/style/css/design/ellipsis.less +46 -0
  133. package/lib/style/css/design/flexgrid.less +7 -0
  134. package/lib/style/css/design/fonts.less +318 -0
  135. package/lib/style/css/design/form-input-groups.less +245 -0
  136. package/lib/style/css/design/form-inputs.less +655 -0
  137. package/lib/style/css/design/iframe.less +80 -0
  138. package/lib/style/css/design/images.less +47 -0
  139. package/lib/style/css/design/labels.less +66 -0
  140. package/lib/style/css/design/list-group.less +95 -0
  141. package/lib/style/css/design/navs.less +254 -0
  142. package/lib/style/css/design/normalize.less +436 -0
  143. package/lib/style/css/design/opacity.less +26 -0
  144. package/lib/style/css/design/overflow.less +1 -0
  145. package/lib/style/css/design/pagination.less +161 -0
  146. package/lib/style/css/design/panels.less +105 -0
  147. package/lib/style/css/design/popovers.less +117 -0
  148. package/lib/style/css/design/position.less +16 -0
  149. package/lib/style/css/design/progress-bars.less +131 -0
  150. package/lib/style/css/design/responsive/_imports.less +68 -0
  151. package/lib/style/css/design/responsive/backgrounds.less +32 -0
  152. package/lib/style/css/design/responsive/display.less +9 -0
  153. package/lib/style/css/design/responsive/flexgrid.less +75 -0
  154. package/lib/style/css/design/responsive/floating.less +4 -0
  155. package/lib/style/css/design/responsive/gap.less +41 -0
  156. package/lib/style/css/design/responsive/hyphens.less +14 -0
  157. package/lib/style/css/design/responsive/margin.less +127 -0
  158. package/lib/style/css/design/responsive/overflow.less +16 -0
  159. package/lib/style/css/design/responsive/padding.less +71 -0
  160. package/lib/style/css/design/responsive/position.less +102 -0
  161. package/lib/style/css/design/responsive/sizing.less +115 -0
  162. package/lib/style/css/design/responsive/text.less +71 -0
  163. package/lib/style/css/design/responsive/visibility.less +115 -0
  164. package/lib/style/css/design/responsive-embed.less +31 -0
  165. package/lib/style/css/design/responsive-video.less +22 -0
  166. package/lib/style/css/design/rioglyph.less +24 -0
  167. package/lib/style/css/design/rounded.less +44 -0
  168. package/lib/style/css/design/shadows.less +65 -0
  169. package/lib/style/css/design/tables.less +854 -0
  170. package/lib/style/css/design/text.less +201 -0
  171. package/lib/style/css/design/theme.less +200 -0
  172. package/lib/style/css/design/thumbnails.less +29 -0
  173. package/lib/style/css/design/transition.less +33 -0
  174. package/lib/style/css/design/type.less +159 -0
  175. package/lib/style/css/design/utilities.less +75 -0
  176. package/lib/style/css/design/visibilty.less +38 -0
  177. package/lib/style/css/design/wells.less +17 -0
  178. package/lib/style/css/design/z-index.less +21 -0
  179. package/lib/style/css/mapping/breakpoint-map.less +44 -0
  180. package/lib/style/css/mapping/color-map.less +200 -0
  181. package/lib/style/css/mapping/cols-map.less +15 -0
  182. package/lib/style/css/mapping/numbers-map.less +16 -0
  183. package/lib/style/css/mapping/positions-map.less +21 -0
  184. package/lib/style/css/mapping/sizes-map.less +129 -0
  185. package/lib/style/css/mapping/spacings-map.less +28 -0
  186. package/lib/style/css/mixins/_mixins.less +13 -0
  187. package/lib/style/css/mixins/alerts.less +13 -0
  188. package/lib/style/css/mixins/border-radius.less +16 -0
  189. package/lib/style/css/mixins/buttons.less +117 -0
  190. package/lib/style/css/mixins/clearfix.less +9 -0
  191. package/lib/style/css/mixins/cols.less +59 -0
  192. package/lib/style/css/mixins/forms.less +61 -0
  193. package/lib/style/css/mixins/panels.less +27 -0
  194. package/lib/style/css/mixins/placeholder.less +17 -0
  195. package/lib/style/css/mixins/reset.less +27 -0
  196. package/lib/style/css/mixins/sizings.less +21 -0
  197. package/lib/style/css/mixins/spinner.less +30 -0
  198. package/lib/style/css/mixins/table.less +26 -0
  199. package/lib/style/css/mixins/tabs.less +4 -0
  200. package/lib/style/css/mixins/text.less +5 -0
  201. package/lib/style/css/print/print.less +1 -4
  202. package/lib/style/css/rio-theme/alerts.less +23 -61
  203. package/lib/style/css/rio-theme/badges.less +16 -28
  204. package/lib/style/css/rio-theme/blockquote.less +14 -97
  205. package/lib/style/css/rio-theme/dropdowns.less +2 -2
  206. package/lib/style/css/rio-theme/forms.less +49 -20
  207. package/lib/style/css/rio-theme/input-groups.less +44 -25
  208. package/lib/style/css/rio-theme/mixins/alerts.less +13 -1
  209. package/lib/style/css/rio-theme/variables.less +1 -0
  210. package/lib/style/css/shared/colors.json +1 -1
  211. package/lib/style/css/shared/colors.less +11 -8
  212. package/lib/style/css/shared/text.less +6 -5
  213. package/lib/style/css/utils/responsive/grid.less +15 -6
  214. package/lib/style/css/utils/rounded.less +1 -0
  215. package/lib/style/css/variables.less +179 -0
  216. package/lib/style/fonts/rioglyph/rioglyph.less +1 -11
  217. package/lib/types.ts +42 -59
  218. package/lib/utils/buttonEffect.js +11 -4
  219. package/lib/utils/deviceUtils.js +28 -33
  220. package/lib/utils/init.js +174 -0
  221. package/lib/version.json +1 -1
  222. package/package.json +61 -34
@@ -0,0 +1,35 @@
1
+ .scale {
2
+ &-50 { transform: scale(0.5) !important }
3
+ &-80 { transform: scale(0.8) !important }
4
+ &-90 { transform: scale(0.9) !important }
5
+ &-100 { transform: scale(1.0) !important }
6
+ &-105 { transform: scale(1.05) !important }
7
+ &-110 { transform: scale(1.1) !important }
8
+ &-120 { transform: scale(1.2) !important }
9
+ &-130 { transform: scale(1.3) !important }
10
+ &-140 { transform: scale(1.4) !important }
11
+ &-150 { transform: scale(1.5) !important }
12
+ &-160 { transform: scale(1.6) !important }
13
+ &-170 { transform: scale(1.7) !important }
14
+ &-180 { transform: scale(1.8) !important }
15
+ &-190 { transform: scale(1.9) !important }
16
+ &-200 { transform: scale(2.0) !important }
17
+ }
18
+
19
+ .hover-scale {
20
+ &-50 { &:hover { transform: scale(0.5) !important } }
21
+ &-80 { &:hover { transform: scale(0.8) !important } }
22
+ &-90 { &:hover { transform: scale(0.9) !important } }
23
+ &-100 { &:hover { transform: scale(1.0) !important } }
24
+ &-105 { &:hover { transform: scale(1.05) !important } }
25
+ &-110 { &:hover { transform: scale(1.1) !important } }
26
+ &-120 { &:hover { transform: scale(1.2) !important } }
27
+ &-130 { &:hover { transform: scale(1.3) !important } }
28
+ &-140 { &:hover { transform: scale(1.4) !important } }
29
+ &-150 { &:hover { transform: scale(1.5) !important } }
30
+ &-160 { &:hover { transform: scale(1.6) !important } }
31
+ &-170 { &:hover { transform: scale(1.7) !important } }
32
+ &-180 { &:hover { transform: scale(1.8) !important } }
33
+ &-190 { &:hover { transform: scale(1.9) !important } }
34
+ &-200 { &:hover { transform: scale(2.0) !important } }
35
+ }
@@ -0,0 +1,39 @@
1
+ // left
2
+ @keyframes slide-out-left {
3
+ from { transform: translate3d(0, 0, 0) }
4
+ to { transform: translate3d(-100%, 0, 0) }
5
+ }
6
+
7
+ .slide-out-left {
8
+ animation-name: slide-out-left;
9
+ }
10
+
11
+ // up
12
+ @keyframes slide-out-up {
13
+ from { transform: translate3d(0, 0, 0) }
14
+ to { transform: translate3d(0, -100%, 0) }
15
+ }
16
+
17
+ .slide-out-up {
18
+ animation-name: slide-out-up;
19
+ }
20
+
21
+ // down
22
+ @keyframes slide-out-down {
23
+ from { transform: translate3d(0, 0, 0) }
24
+ to { transform: translate3d(0, 100%, 0) }
25
+ }
26
+
27
+ .slide-out-down {
28
+ animation-name: slide-out-down;
29
+ }
30
+
31
+ // right
32
+ @keyframes slide-out-right {
33
+ from { transform: translate3d(0, 0, 0) }
34
+ to { transform: translate3d(100%, 0, 0) }
35
+ }
36
+
37
+ .slide-out-right {
38
+ animation-name: slide-out-right;
39
+ }
@@ -0,0 +1,4 @@
1
+ @keyframes spinning {
2
+ from { transform: rotate(0deg) }
3
+ to { transform: rotate(359deg) }
4
+ }
@@ -0,0 +1,129 @@
1
+ .transition-opacity {
2
+ transition-property: opacity;
3
+ }
4
+ .transition-position {
5
+ transition-property: position;
6
+ }
7
+ .transition-all {
8
+ transition-property: all;
9
+ }
10
+
11
+ .transition-ease {
12
+ transition-timing-function: ease;
13
+ }
14
+
15
+ .transition-ease-in-out {
16
+ transition-timing-function: ease-in-out;
17
+ }
18
+
19
+ .transition-duration-01 {
20
+ transition-duration: 0.1s;
21
+ }
22
+ .transition-duration-02 {
23
+ transition-duration: 0.2s;
24
+ }
25
+ .transition-duration-03 {
26
+ transition-duration: 0.3s;
27
+ }
28
+ .transition-duration-04 {
29
+ transition-duration: 0.4s;
30
+ }
31
+ .transition-duration-05 {
32
+ transition-duration: 0.5s;
33
+ }
34
+
35
+ [class*="animated-"] {
36
+ &.loop { animation-direction: alternate }
37
+
38
+ &.infinite { animation-iteration-count: infinite }
39
+ &.repeat-1 {
40
+ animation-iteration-count: 1;
41
+ &.loop {
42
+ animation-iteration-count: 2;
43
+ }
44
+ }
45
+ &.repeat-2 {
46
+ animation-iteration-count: 2;
47
+ &.loop {
48
+ animation-iteration-count: 4;
49
+ }
50
+ }
51
+ &.repeat-3 {
52
+ animation-iteration-count: 3;
53
+ &.loop {
54
+ animation-iteration-count: 6;
55
+ }
56
+ }
57
+
58
+ &.ease { animation-timing-function: ease }
59
+ &.linear { animation-timing-function: linear }
60
+ &.ease-in { animation-timing-function: ease-in }
61
+ &.ease-out { animation-timing-function: ease-out }
62
+ &.ease-in-out { animation-timing-function: ease-in-out }
63
+
64
+
65
+ }
66
+
67
+ .animated {
68
+ animation-fill-mode: both;
69
+
70
+ &-3s {
71
+ transition: all 3s ease;
72
+ animation-duration: 3s;
73
+ }
74
+
75
+ &-2s {
76
+ transition: all 2s ease;
77
+ animation-duration: 2s;
78
+ }
79
+
80
+ &-1s {
81
+ transition: all 1s ease;
82
+ animation-duration: 1s;
83
+ }
84
+
85
+ &-09s {
86
+ transition: all 0.9s ease;
87
+ animation-duration: 0.9s;
88
+ }
89
+
90
+ &-08s {
91
+ transition: all 0.8s ease;
92
+ animation-duration: 0.8s;
93
+ }
94
+
95
+ &-07s {
96
+ transition: all 0.7s ease;
97
+ animation-duration: 0.7s;
98
+ }
99
+
100
+ &-06s {
101
+ transition: all 0.6s ease;
102
+ animation-duration: 0.6s;
103
+ }
104
+
105
+ &-05s {
106
+ transition: all 0.5s ease;
107
+ animation-duration: 0.5s;
108
+ }
109
+
110
+ &-04s {
111
+ transition: all 0.4s ease;
112
+ animation-duration: 0.4s;
113
+ }
114
+
115
+ &-03s {
116
+ transition: all 0.3s ease;
117
+ animation-duration: 0.3s;
118
+ }
119
+
120
+ &-02s {
121
+ transition: all 0.2s ease;
122
+ animation-duration: 0.2s;
123
+ }
124
+
125
+ &-01s {
126
+ transition: all 0.1s ease;
127
+ animation-duration: 0.1s;
128
+ }
129
+ }
@@ -0,0 +1,28 @@
1
+ // %
2
+ .translate-x-50pct-y-50pct { transform: translate(-50%, -50%) !important }
3
+ .translate-y-50pct { transform: translateY(-50%) !important }
4
+ .translate-y-100pct { transform: translateY(-100%) !important }
5
+ .translate-x-100pct-y-100pct { transform: translate(-100%, -100%) !important }
6
+ .translate-x50pct-y-50pct { transform: translate(50%, -50%) !important }
7
+ .translate-x100pct-y-100pct { transform: translate(100%, -100%) !important }
8
+ .translate-x50pct { transform: translateX(50%) !important }
9
+ .translate-x100pct { transform: translateX(100%) !important }
10
+ .translate-y50pct { transform: translateY(50%) !important }
11
+ .translate-y100pct { transform: translateY(100%) !important }
12
+ .translate-x-50pct-y50pct { transform: translate(-50%, 50%) !important }
13
+ .translate-x-100pct-y100pct { transform: translate(-100%, 100%) !important }
14
+ .translate-x50pct-y50pct { transform: translate(50%, 50%) !important }
15
+ .translate-x100pct-y100pct { transform: translate(100%, 100%) !important }
16
+ .translate-x-50pct { transform: translateX(-50%) !important }
17
+ .translate-x-100pct { transform: translateX(-100%) !important }
18
+
19
+ // PX
20
+ .translate-y10 { transform: translateY(10px) !important }
21
+ .translate-y-10 { transform: translateY(-10px) !important }
22
+
23
+ .hover-translate {
24
+ &-y-10 { &:hover { transform: translateY(-10px) !important } }
25
+ }
26
+
27
+ .transform-none { transform: none !important }
28
+ .hover-transform-none:hover { transform: none !important }
@@ -34,20 +34,27 @@
34
34
  border-radius: @border-radius-base;
35
35
  border: 1px solid @dropdown-border;
36
36
  box-shadow:0 6px 12px rgba(0,0,0,.175);
37
- display: none; // none by default, but block on "open" of the menu
38
37
  float: left;
39
38
  font-size: @font-size-base;
40
39
  left: 0;
41
40
  list-style: none;
42
- margin: 2px 0 0; // override default ul
41
+ margin-bottom: 0;
43
42
  min-width: 160px;
44
43
  padding: 5px 0;
45
44
  position: absolute;
46
45
  text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer)
47
46
  top: 100%;
48
- width: 100%;
49
47
  z-index: @zindex-dropdown;
50
48
 
49
+ // display: none by default
50
+ display: none;
51
+
52
+ // but display: block when portaled
53
+ #uikit-root & {
54
+ display: block;
55
+ width: auto;
56
+ }
57
+
51
58
  // Aligns the dropdown menu to right
52
59
  //
53
60
  // Deprecated as of 3.1.0 in favor of `.dropdown-menu-[dir]`
@@ -391,32 +391,35 @@ input[type="checkbox"] {
391
391
  }
392
392
  }
393
393
  // Feedback icon (requires .glyphicon classes)
394
- .form-control-feedback {
395
- position: absolute;
396
- top: 0;
397
- right: 0;
398
- z-index: 2; // Ensure icon is above input groups
399
- display: block;
400
- width: @input-height-base;
401
- height: @input-height-base;
402
- line-height: @input-height-base;
403
- text-align: center;
404
- pointer-events: none;
405
- }
406
- .input-lg + .form-control-feedback,
407
- .input-group-lg + .form-control-feedback,
408
- .form-group-lg .form-control + .form-control-feedback {
409
- width: @input-height-large;
410
- height: @input-height-large;
411
- line-height: @input-height-large;
412
- }
413
- .input-sm + .form-control-feedback,
414
- .input-group-sm + .form-control-feedback,
415
- .form-group-sm .form-control + .form-control-feedback {
416
- width: @input-height-small;
417
- height: @input-height-small;
418
- line-height: @input-height-small;
419
- }
394
+ // .form-control-feedback {
395
+ // background-color: #ffcc00;
396
+ // border-bottom-right-radius: @border-radius-base;
397
+ // border-top-right-radius: @border-radius-base;
398
+ // display: block;
399
+ // height: @input-height-base - 2;
400
+ // line-height: @input-height-base - 2;
401
+ // pointer-events: none;
402
+ // position: absolute;
403
+ // right: 2px;
404
+ // text-align: center;
405
+ // top: 2px;
406
+ // width: @input-height-base - 2;
407
+ // z-index: 2; // Ensure icon is above input groups
408
+ // }
409
+ // .input-lg + .form-control-feedback,
410
+ // .input-group-lg + .form-control-feedback,
411
+ // .form-group-lg .form-control-feedback {
412
+ // width: @input-height-large - 2;
413
+ // height: @input-height-large - 2;
414
+ // line-height: @input-height-large - 2;
415
+ // }
416
+ // .input-sm + .form-control-feedback,
417
+ // .input-group-sm + .form-control-feedback,
418
+ // .form-group-sm .form-control-feedback {
419
+ // width: @input-height-small - 2;
420
+ // height: @input-height-small - 2;
421
+ // line-height: @input-height-small - 2;
422
+ // }
420
423
 
421
424
  // Feedback states
422
425
  .has-success {
@@ -429,16 +432,15 @@ input[type="checkbox"] {
429
432
  .form-control-validation(@state-danger-text; @state-danger-text; @state-danger-bg);
430
433
  }
431
434
 
432
- // Reposition feedback icon if input has visible label above
433
- .has-feedback label {
434
-
435
- & ~ .form-control-feedback {
436
- top: (@line-height-computed + 5); // Height of the `label` and its margin
437
- }
438
- &.sr-only ~ .form-control-feedback {
439
- top: 0;
440
- }
441
- }
435
+ // // Reposition feedback icon if input has visible label above
436
+ // .has-feedback label {
437
+ // & ~ .form-control-feedback {
438
+ // top: (@line-height-computed + 5); // Height of the `label` and its margin
439
+ // }
440
+ // &.sr-only ~ .form-control-feedback {
441
+ // top: 0;
442
+ // }
443
+ // }
442
444
 
443
445
 
444
446
  // Help text
@@ -130,7 +130,9 @@
130
130
  .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
131
131
  .input-group-btn:last-child > .btn-group:not(:last-child) > .btn,
132
132
  .input-group-addon + .form-control:not(:last-child),
133
+ .input-group-addon + .form-control-feedback-wrapper:not(:last-child) .form-control,
133
134
  .input-group:not(.ClearableInput) > .form-control:nth-child(1):not(:last-child),
135
+ .input-group:not(.ClearableInput) > .form-control-feedback-wrapper:first-child:not(:last-child) .form-control,
134
136
  .input-group > .ClearableInput:not(:last-child) > .form-control,
135
137
  .input-group .input-group-addon + .AutoSuggest .ClearableInput > .form-control,
136
138
  .input-group .AutoSuggest:not(:last-child) .ClearableInput > .form-control,
@@ -142,6 +144,8 @@
142
144
  .input-group-addon:last-child { border-left: 0 }
143
145
 
144
146
  .input-group .input-group-btn + .form-control:last-child,
147
+ .input-group-addon-label + .form-control,
148
+ .input-group-addon-label + .form-control-feedback-wrapper .form-control,
145
149
  .input-group-addon:last-child,
146
150
  .input-group-btn:last-child > .btn,
147
151
  .input-group-btn:last-child > .btn-group > .btn,
@@ -27,7 +27,7 @@
27
27
  }
28
28
  }
29
29
  // Set validation states also for addons
30
- .input-group-addon {
30
+ .input-group-addon:not(.input-group-addon-label) {
31
31
  color: @text-color;
32
32
  border-color: @border-color;
33
33
  background-color: @background-color;
@@ -0,0 +1,93 @@
1
+ .activity {
2
+ align-items: center;
3
+ border-radius: @border-radius-round;
4
+ color: @color-white;
5
+ display: inline-flex;
6
+ font-weight: @font-normal;
7
+
8
+ + .activity {
9
+ margin-left: 5px;
10
+ }
11
+
12
+ .activity-icon {
13
+ border-radius: @border-radius-round;
14
+ font-size: 20px;
15
+ line-height: 1;
16
+ padding: 2px 3px 4px 3px;
17
+ }
18
+
19
+ .activity-text {
20
+ font-size: 14px;
21
+ padding: 0 8px 0 5px;
22
+ white-space: nowrap;
23
+ }
24
+
25
+ &.activity-available {
26
+ background: darken(@color-status-available, 5%);
27
+
28
+ .activity-icon {
29
+ background: @color-status-available;
30
+ }
31
+ }
32
+
33
+ &.activity-driving {
34
+ background: darken(@color-status-driving, 5%);
35
+
36
+ .activity-icon {
37
+ background: @color-status-driving;
38
+ }
39
+ }
40
+
41
+ &.activity-resting {
42
+ background: darken(@color-status-resting, 5%);
43
+
44
+ .activity-icon {
45
+ background: @color-status-resting;
46
+ }
47
+ }
48
+
49
+ &.activity-working {
50
+ background: darken(@color-status-working, 5%);
51
+
52
+ .activity-icon {
53
+ background: @color-status-working;
54
+ }
55
+ }
56
+
57
+ // sizes
58
+ &.activity-sm {
59
+ .activity-icon {
60
+ font-size: 16px;
61
+ padding: 2px 4px 2px 4px;
62
+ }
63
+
64
+ .activity-text {
65
+ font-size: 12px;
66
+ padding: 0 8px 0 5px;
67
+ }
68
+ }
69
+
70
+ &.activity-lg {
71
+ .activity-icon {
72
+ font-size: 24px;
73
+ padding: 3px 4px 5px 4px;
74
+ }
75
+
76
+ .activity-text {
77
+ font-size: 18px;
78
+ padding: 0 8px 0 5px;
79
+ }
80
+ }
81
+
82
+ &.activity-xl {
83
+ .activity-icon {
84
+ font-size: 30px;
85
+ padding: 4px 5px 6px 5px;
86
+ }
87
+
88
+ .activity-text {
89
+ font-size: 22px;
90
+ padding: 0 10px 0 7px;
91
+ }
92
+ }
93
+ }