@rio-cloud/rio-uikit 0.16.1-beta-7 → 0.16.1-beta-10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (212) hide show
  1. package/lib/.DS_Store +0 -0
  2. package/lib/components/.DS_Store +0 -0
  3. package/lib/components/applicationHeader/AppMenu.js +3 -2
  4. package/lib/components/applicationHeader/AppMenuDropdown.js +7 -5
  5. package/lib/components/applicationHeader/ApplicationHeader.js +84 -162
  6. package/lib/components/applicationHeader/MobileAppMenu.js +77 -0
  7. package/lib/components/applicationHeader/MobileHeaderModal.js +90 -0
  8. package/lib/components/applicationHeader/MobileSubmoduleNavigation.js +89 -0
  9. package/lib/components/applicationHeader/NavItems.js +167 -274
  10. package/lib/components/applicationLayout/ApplicationLayoutBody.js +1 -3
  11. package/lib/components/applicationLayout/SubNavigation.js +60 -0
  12. package/lib/components/assetTree/AssetTree.js +4 -7
  13. package/lib/components/assetTree/Tree.js +46 -54
  14. package/lib/components/assetTree/TreeLeaf.js +1 -1
  15. package/lib/components/assetTree/TreeSelectAll.js +2 -1
  16. package/lib/components/assetTree/TreeSidebar.js +10 -22
  17. package/lib/components/assetTree/TypeCounter.js +10 -8
  18. package/lib/components/charts/AreaChart.js +5 -3
  19. package/lib/components/charts/BarChart.js +5 -3
  20. package/lib/components/charts/ChartTooltip.js +14 -0
  21. package/lib/components/charts/LineChart.js +4 -2
  22. package/lib/components/charts/PieChart.js +5 -3
  23. package/lib/components/charts/RadialBarChart.js +4 -4
  24. package/lib/components/charts/chartHelper.js +1 -1
  25. package/lib/components/dialog/Dialog.js +4 -4
  26. package/lib/components/dialog/baseDialogPropTypes.js +1 -1
  27. package/lib/components/map/.DS_Store +0 -0
  28. package/lib/components/map/components/.DS_Store +0 -0
  29. package/lib/components/map/components/features/.DS_Store +0 -0
  30. package/lib/components/map/components/features/settings/.DS_Store +0 -0
  31. package/lib/components/steppedProgressBar/SteppedProgressBar.js +59 -107
  32. package/lib/es/ChartTooltip.d.ts +5 -0
  33. package/lib/es/ChartTooltip.js +15 -0
  34. package/lib/es/Colors.js +1 -1
  35. package/lib/es/DeviceUtils.d.ts +5 -1
  36. package/lib/es/SubNavigation.d.ts +5 -0
  37. package/lib/es/SubNavigation.js +15 -0
  38. package/lib/es/VolkswagenApplicationHeader.d.ts +5 -0
  39. package/lib/es/VolkswagenApplicationHeader.js +15 -0
  40. package/lib/es/deviceUtils.js +24 -0
  41. package/lib/hooks/useClickOutside.js +2 -1
  42. package/lib/index.js +1 -1
  43. package/lib/style/css/_exports/rio-website.less +36 -22
  44. package/lib/style/css/_exports/vw-uikit.less +5 -1
  45. package/lib/style/css/components/ApplicationHeader.less +288 -257
  46. package/lib/style/css/components/ApplicationLayout.less +7 -5
  47. package/lib/style/css/components/AssetTree.less +3 -3
  48. package/lib/style/css/variables.less +1 -1
  49. package/lib/style/fonts/rioglyph/rioglyph.less +56 -1
  50. package/lib/style/fonts/rioglyph/rioglyph.svg +68 -2
  51. package/lib/style/fonts/rioglyph/rioglyph.ttf +0 -0
  52. package/lib/style/fonts/rioglyph/rioglyph.woff +0 -0
  53. package/lib/styles/animations/_imports.less +10 -0
  54. package/lib/styles/animations/collapse.less +16 -0
  55. package/lib/styles/animations/fade.less +28 -0
  56. package/lib/styles/animations/pinging.less +7 -0
  57. package/lib/styles/animations/pulsing.less +5 -0
  58. package/lib/styles/animations/rotate.less +52 -0
  59. package/lib/styles/animations/scale.less +35 -0
  60. package/lib/styles/animations/slide.less +39 -0
  61. package/lib/styles/animations/spinning.less +4 -0
  62. package/lib/styles/animations/transition.less +129 -0
  63. package/lib/styles/animations/translate.less +28 -0
  64. package/lib/styles/components/Activity.less +93 -0
  65. package/lib/styles/components/ApplicationHeader.less +469 -0
  66. package/lib/styles/components/ApplicationLayout.less +240 -0
  67. package/lib/styles/components/AssetTree.less +439 -0
  68. package/lib/styles/components/AutoSuggest.less +22 -0
  69. package/lib/styles/components/BottomSheet.less +14 -0
  70. package/lib/styles/components/Carousel.less +212 -0
  71. package/lib/styles/components/Checkbox.less +224 -0
  72. package/lib/styles/components/ClearableInput.less +115 -0
  73. package/lib/styles/components/Counter.less +142 -0
  74. package/lib/styles/components/DataTabs.less +100 -0
  75. package/lib/styles/components/DatePicker.less +391 -0
  76. package/lib/styles/components/Dialog.less +484 -0
  77. package/lib/styles/components/Dropdown.less +185 -0
  78. package/lib/styles/components/Expander.less +196 -0
  79. package/lib/styles/components/FilePicker.less +8 -0
  80. package/lib/styles/components/ListMenu.less +77 -0
  81. package/lib/styles/components/MapHere.less +91 -0
  82. package/lib/styles/components/MapMarker.less +347 -0
  83. package/lib/styles/components/MapSettings.less +140 -0
  84. package/lib/styles/components/NoData.less +8 -0
  85. package/lib/styles/components/Notification.less +234 -0
  86. package/lib/styles/components/RadioButton.less +173 -0
  87. package/lib/styles/components/Resizer.less +43 -0
  88. package/lib/styles/components/Select.less +287 -0
  89. package/lib/styles/components/Sidebar.less +157 -0
  90. package/lib/styles/components/Slider.less +278 -0
  91. package/lib/styles/components/Spinner.less +49 -0
  92. package/lib/styles/components/StatsWidget.less +111 -0
  93. package/lib/styles/components/SteppedProgressBar.less +310 -0
  94. package/lib/styles/components/SupportMarker.less +34 -0
  95. package/lib/styles/components/Switch.less +145 -0
  96. package/lib/styles/components/TableSettingsDialog.less +96 -0
  97. package/lib/styles/components/TableSortArrows.less +54 -0
  98. package/lib/styles/components/TableToolbar.less +121 -0
  99. package/lib/styles/components/Tag.less +246 -0
  100. package/lib/styles/components/TagManager.less +4 -0
  101. package/lib/styles/components/Teaser.less +12 -0
  102. package/lib/styles/components/Timeline.less +69 -0
  103. package/lib/styles/components/Tooltip.less +222 -0
  104. package/lib/styles/design/alerts.less +55 -0
  105. package/lib/styles/design/aspect-ratio.less +23 -0
  106. package/lib/styles/design/badges.less +120 -0
  107. package/lib/styles/design/blockquote.less +49 -0
  108. package/lib/styles/design/border.less +192 -0
  109. package/lib/styles/design/breadcrumbs.less +20 -0
  110. package/lib/styles/design/button-groups.less +194 -0
  111. package/lib/styles/design/buttons.less +543 -0
  112. package/lib/styles/design/callouts.less +27 -0
  113. package/lib/styles/design/caret.less +28 -0
  114. package/lib/styles/design/close.less +12 -0
  115. package/lib/styles/design/code.less +45 -0
  116. package/lib/styles/design/colors.less +202 -0
  117. package/lib/styles/design/cols.less +56 -0
  118. package/lib/styles/design/container.less +29 -0
  119. package/lib/styles/design/cursors.less +19 -0
  120. package/lib/styles/design/custom.less +20 -0
  121. package/lib/styles/design/ellipsis.less +46 -0
  122. package/lib/styles/design/flexgrid.less +7 -0
  123. package/lib/styles/design/fonts.less +458 -0
  124. package/lib/styles/design/form-input-groups.less +245 -0
  125. package/lib/styles/design/form-inputs.less +655 -0
  126. package/lib/styles/design/iframe.less +80 -0
  127. package/lib/styles/design/images.less +47 -0
  128. package/lib/styles/design/labels.less +66 -0
  129. package/lib/styles/design/list-group.less +100 -0
  130. package/lib/styles/design/navs.less +262 -0
  131. package/lib/styles/design/normalize.less +436 -0
  132. package/lib/styles/design/opacity.less +26 -0
  133. package/lib/styles/design/overflow.less +1 -0
  134. package/lib/styles/design/pagination.less +161 -0
  135. package/lib/styles/design/panels.less +105 -0
  136. package/lib/styles/design/popovers.less +119 -0
  137. package/lib/styles/design/position.less +16 -0
  138. package/lib/styles/design/progress-bars.less +131 -0
  139. package/lib/styles/design/responsive/_imports.less +67 -0
  140. package/lib/styles/design/responsive/backgrounds.less +32 -0
  141. package/lib/styles/design/responsive/display.less +9 -0
  142. package/lib/styles/design/responsive/flexgrid.less +75 -0
  143. package/lib/styles/design/responsive/floating.less +4 -0
  144. package/lib/styles/design/responsive/gap.less +41 -0
  145. package/lib/styles/design/responsive/margin.less +127 -0
  146. package/lib/styles/design/responsive/overflow.less +16 -0
  147. package/lib/styles/design/responsive/padding.less +71 -0
  148. package/lib/styles/design/responsive/position.less +103 -0
  149. package/lib/styles/design/responsive/sizing.less +96 -0
  150. package/lib/styles/design/responsive/text.less +71 -0
  151. package/lib/styles/design/responsive-embed.less +31 -0
  152. package/lib/styles/design/responsive-video.less +22 -0
  153. package/lib/styles/design/rioglyph.less +13 -0
  154. package/lib/styles/design/rounded.less +44 -0
  155. package/lib/styles/design/shadows.less +65 -0
  156. package/lib/styles/design/sizing.less +18 -0
  157. package/lib/styles/design/tables.less +855 -0
  158. package/lib/styles/design/text.less +201 -0
  159. package/lib/styles/design/theme.less +206 -0
  160. package/lib/styles/design/thumbnails.less +29 -0
  161. package/lib/styles/design/transition.less +33 -0
  162. package/lib/styles/design/type.less +159 -0
  163. package/lib/styles/design/utilities.less +75 -0
  164. package/lib/styles/design/visibility.less +186 -0
  165. package/lib/styles/design/wells.less +17 -0
  166. package/lib/styles/design/z-index.less +21 -0
  167. package/lib/styles/filter/_imports.less +1 -0
  168. package/lib/styles/filter/blur.less +17 -0
  169. package/lib/styles/mapping/breakpoint-map.less +44 -0
  170. package/lib/styles/mapping/color-map.less +200 -0
  171. package/lib/styles/mapping/cols-map.less +15 -0
  172. package/lib/styles/mapping/numbers-map.less +16 -0
  173. package/lib/styles/mapping/positions-map.less +21 -0
  174. package/lib/styles/mapping/sizes-map.less +129 -0
  175. package/lib/styles/mapping/spacings-map.less +28 -0
  176. package/lib/styles/mixins/_mixins.less +13 -0
  177. package/lib/styles/mixins/alerts.less +13 -0
  178. package/lib/styles/mixins/border-radius.less +16 -0
  179. package/lib/styles/mixins/buttons.less +117 -0
  180. package/lib/styles/mixins/clearfix.less +9 -0
  181. package/lib/styles/mixins/cols.less +59 -0
  182. package/lib/styles/mixins/forms.less +61 -0
  183. package/lib/styles/mixins/panels.less +27 -0
  184. package/lib/styles/mixins/placeholder.less +17 -0
  185. package/lib/styles/mixins/reset.less +27 -0
  186. package/lib/styles/mixins/sizings.less +21 -0
  187. package/lib/styles/mixins/spinner.less +30 -0
  188. package/lib/styles/mixins/table.less +26 -0
  189. package/lib/styles/mixins/tabs.less +4 -0
  190. package/lib/styles/mixins/text.less +5 -0
  191. package/lib/styles/print/print.less +163 -0
  192. package/lib/styles/rio-uikit-core.less +114 -0
  193. package/lib/styles/rio-uikit-print-utilities.less +16 -0
  194. package/lib/styles/rio-uikit-responsive-utilities.less +16 -0
  195. package/lib/styles/shared/colors.json +56 -0
  196. package/lib/styles/shared/colors.less +73 -0
  197. package/lib/styles/shared/screens.less +7 -0
  198. package/lib/styles/shared/text.less +23 -0
  199. package/lib/styles/variables.less +180 -0
  200. package/lib/themes/BuyButton/styles/rio-buyButton.less +183 -0
  201. package/lib/themes/MAN/styles/man-uikit.less +48 -0
  202. package/lib/themes/RIO/styles/rio-uikit.less +20 -0
  203. package/lib/themes/SCANIA/styles/scania-uikit.less +36 -0
  204. package/lib/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js +94 -0
  205. package/lib/themes/Volkswagen/components/applicationHeader/modulePropTypes.js +17 -0
  206. package/lib/themes/Volkswagen/styles/vw-uikit.less +205 -0
  207. package/lib/themes/Website/styles/rio-website.less +2236 -0
  208. package/lib/themes/Xmas/styles/rio-xmas.less +36 -0
  209. package/lib/types.ts +19 -11
  210. package/lib/utils/deviceUtils.js +9 -1
  211. package/lib/version.json +1 -1
  212. package/package.json +96 -95
@@ -0,0 +1,240 @@
1
+ .ApplicationLayout {
2
+ position: relative;
3
+
4
+ .ApplicationLayoutHeader {
5
+ height: @navbar-height;
6
+ width: 100%;
7
+ position: relative;
8
+
9
+ .ApplicationHeader {
10
+ z-index: @zindex-navbar;
11
+ }
12
+
13
+ ~ .ApplicationLayoutSidebar {
14
+ height: @ApplicationLayoutBodyHeightWithoutHeader; // fallback
15
+ height: @ApplicationLayoutBodyHeightWithoutHeaderAndViewportFix;
16
+ }
17
+
18
+ ~ .ApplicationLayoutBody {
19
+ height: @ApplicationLayoutBodyHeightWithoutHeader; // fallback
20
+ height: @ApplicationLayoutBodyHeightWithoutHeaderAndViewportFix;
21
+
22
+ &.has-footer {
23
+ height: @ApplicationLayoutBodyHeightWithoutHeaderWithoutFooter; // fallback
24
+ height: @ApplicationLayoutBodyHeightWithoutHeaderWithoutFooterAndViewportFix;
25
+ }
26
+ }
27
+
28
+
29
+ }
30
+
31
+ .ApplicationLayoutSidebar {
32
+ position: relative;
33
+ float: left;
34
+ height: @ApplicationLayoutBodyHeight; // fallback
35
+ height: @ApplicationLayoutBodyHeightAndViewportFix;
36
+ z-index: @zindex-sidebar;
37
+
38
+ &.right {
39
+ float: right;
40
+ }
41
+ }
42
+
43
+ .ApplicationLayoutBody {
44
+ float: none;
45
+ height: @ApplicationLayoutBodyHeight; // fallback
46
+ height: @ApplicationLayoutBodyHeightAndViewportFix;
47
+ overflow: auto;
48
+ position: relative;
49
+
50
+ &.has-footer {
51
+ height: @ApplicationLayoutBodyHeightWithoutFooter; // fallback
52
+ height: @ApplicationLayoutBodyHeightWithoutFooterAndViewportFix;
53
+ }
54
+
55
+ // TODO remove with v1.0 (downward compatibility) - remove when cleanup
56
+ .ApplicationLayoutBodyNavigation {
57
+ &:not(.unstyled) {
58
+ align-items: center;
59
+ background: @color-white;
60
+ border-bottom: 1px solid @gray-light;
61
+ display: flex;
62
+ justify-content: space-between;
63
+ // padding: 0 @ApplicationLayoutBodyPadding*0.25 0 @ApplicationLayoutBodyPadding*0.5;
64
+ }
65
+
66
+ // &:not(.header-has-no-application-menu) {
67
+ // @media (min-width: @screen-lg) {
68
+ // padding-left: 365px;
69
+ // }
70
+ // }
71
+
72
+ .nav-pills {
73
+ padding-left: @ApplicationLayoutBodyPadding*0.5;
74
+
75
+ &:not(.nav-stacked) {
76
+ box-shadow: none;
77
+
78
+ > li {
79
+ > a, > span, > div {
80
+
81
+ padding-left: 0;
82
+ padding-right: 0;
83
+ margin-left: 15px;
84
+ margin-right: 15px;
85
+
86
+ &:hover,
87
+ &:focus {
88
+ box-shadow: inset 0px -2px 0px 0px @color-black;
89
+ }
90
+ }
91
+
92
+ &.active,
93
+ &:active {
94
+ > a, > span, > div {
95
+ box-shadow: inset 0px -3px 0px 0px @color-black;
96
+ }
97
+ }
98
+ }
99
+ }
100
+ }
101
+ }
102
+ // END TODO
103
+
104
+ body:not(.modal-open) & {
105
+ -webkit-overflow-scrolling: touch;
106
+ }
107
+
108
+ .scroll-to-top {
109
+ height: 0;
110
+ position: absolute;
111
+ transition: height 0.5s ease;
112
+ width: @btn-size-default;
113
+ overflow: hidden;
114
+
115
+ &.in {
116
+ height: @btn-size-default;
117
+ }
118
+
119
+ @media (max-width: @screen-xs-max) {
120
+ bottom: @ApplicationLayoutBodyPadding * 0.3;
121
+ right: @ApplicationLayoutBodyPadding * 0.3;
122
+ }
123
+
124
+ @media (min-width: @screen-ls) {
125
+ bottom: @ApplicationLayoutBodyPadding * 0.8;
126
+ right: @ApplicationLayoutBodyPadding * 0.8;
127
+ }
128
+ }
129
+
130
+ /* Default application content area with default padding and default background */
131
+ .module-content-wrapper {
132
+ display: flex;
133
+ flex-direction: column;
134
+ height: 100%;
135
+ }
136
+
137
+ .module-content {
138
+ flex: 1 1 0; // instead "auto" we 0 for safari
139
+ margin: 0;
140
+ min-width: 0;
141
+ overflow: auto;
142
+ position: relative;
143
+
144
+ @media (max-width: @screen-xs-max) {
145
+ padding: @ApplicationLayoutBodyPadding*0.5;
146
+ }
147
+ @media (min-width: @screen-ls) {
148
+ padding: @ApplicationLayoutBodyPadding;
149
+ }
150
+ }
151
+
152
+ .ApplicationLayoutBodyBanner {
153
+ line-height: 1.25;
154
+ padding: 3px 10px 4px 10px;
155
+ text-align: center;
156
+
157
+ + .module-content {
158
+ height: auto; // double scrollbar bug // Unnecessary?
159
+ }
160
+ }
161
+
162
+ &.not-responsive {
163
+ .module-content {
164
+ min-width: @ApplicationLayoutNotResponsiveWidth;;
165
+ padding: @ApplicationLayoutBodyPadding;
166
+ }
167
+
168
+ @media (max-width: @ApplicationLayoutNotResponsiveWidth) {
169
+ .scroll-to-top {
170
+ position: fixed;
171
+ }
172
+ }
173
+ }
174
+ }
175
+
176
+ .ApplicationLayoutBodyBottomBar {
177
+ align-items: center;
178
+ background-color: @color-white;
179
+ border-top: 1px solid @gray-light;
180
+ display: flex;
181
+ height: @footer-height;
182
+ padding: 10px;
183
+
184
+ &.use-body-padding {
185
+ @media (max-width: @screen-xs-max) {
186
+ padding-left: @ApplicationLayoutBodyPadding*0.5;
187
+ padding-right: @ApplicationLayoutBodyPadding*0.5;
188
+ }
189
+
190
+ @media (min-width: @screen-ls) {
191
+ padding-left: @ApplicationLayoutBodyPadding;
192
+ padding-right: @ApplicationLayoutBodyPadding;
193
+ }
194
+ }
195
+ }
196
+
197
+ // Common Website-behavior
198
+ &.common-website-behavior {
199
+ position: unset;
200
+
201
+ .ApplicationLayoutBody {
202
+ height: unset;
203
+ overflow: unset;
204
+ position: unset;
205
+ float: unset;
206
+
207
+ .module-content {
208
+ background-color: transparent;
209
+ flex: unset;
210
+ height: unset;
211
+ margin: 0;
212
+ min-width: 0;
213
+ overflow: unset;
214
+ padding: 0;
215
+ position: unset;
216
+ }
217
+ }
218
+
219
+ .ApplicationLayoutHeader {
220
+ left: 0;
221
+ position: fixed;
222
+ right: 0;
223
+ top: 0;
224
+ z-index: 1000;
225
+
226
+ + .ApplicationLayoutBody {
227
+ margin-top: @navbar-height;
228
+
229
+ .module-content {
230
+ min-height: @ApplicationLayoutBodyHeightWithoutHeader; // fallback
231
+ min-height: @ApplicationLayoutBodyHeightWithoutHeaderAndViewportFix;
232
+ }
233
+ }
234
+ }
235
+ }
236
+
237
+ &:after {
238
+ clear: both;
239
+ }
240
+ }
@@ -0,0 +1,439 @@
1
+ @asset-tree-shadow-color: rgba(0, 0, 0, 0.1);
2
+ @asset-tree-collapsed-width: 50px;
3
+
4
+ // font-weight hotfix old tree
5
+ .ObjectTree {
6
+ font-weight: @font-normal;
7
+ }
8
+
9
+ .AssetTree {
10
+ position: relative;
11
+ height: 100%;
12
+ background-color: @color-white;
13
+
14
+ &Content {
15
+ display: flex;
16
+ height: 100%;
17
+ }
18
+
19
+ .TreeSidebar {
20
+ background: @color-black;
21
+ display: flex;
22
+ flex-direction: column;
23
+ min-width: @asset-tree-collapsed-width;
24
+ width: @asset-tree-collapsed-width;
25
+ }
26
+
27
+ .TreeSidebarToggle {
28
+ cursor: pointer;
29
+ height: @asset-tree-collapsed-width;
30
+ text-align: center;
31
+ width: @asset-tree-collapsed-width;
32
+
33
+ .rioglyph {
34
+ color: @color-white;
35
+ font-size: 18px;
36
+ height: @asset-tree-collapsed-width;
37
+ line-height: @asset-tree-collapsed-width;
38
+ opacity: 1;
39
+ width: @asset-tree-collapsed-width;
40
+ }
41
+ }
42
+
43
+ &.closed {
44
+ box-shadow: none !important;
45
+ width: 50px !important;
46
+
47
+ .TreeSidebarToggle {
48
+ transform: rotate(180deg);
49
+ }
50
+
51
+ .TreeSidebarNavigation li {
52
+ &:before, &:after {
53
+ display: none;
54
+ }
55
+ }
56
+ }
57
+
58
+ &Body {
59
+ display: flex;
60
+ flex-direction: column;
61
+ flex: 1 1 auto;
62
+ overflow: auto;
63
+ -webkit-overflow-scrolling: touch;
64
+ }
65
+
66
+ .TreeSidebarNavigation {
67
+ .reset-list();
68
+ flex: 1 0;
69
+ padding-top: 6px;
70
+
71
+ li {
72
+ align-items: center;
73
+ color: @color-white;
74
+ cursor: pointer;
75
+ display: flex;
76
+ font-size: 30px;
77
+ height: @asset-tree-collapsed-width;
78
+ justify-content: center;
79
+ overflow: hidden;
80
+ position: relative;
81
+ text-align: center;
82
+ transition: opacity 0.25s ease;
83
+ width: @asset-tree-collapsed-width;
84
+
85
+ .rioglyph {
86
+ opacity: 0.35;
87
+ }
88
+
89
+ .selection-bubble {
90
+ position: relative;
91
+ width: @asset-tree-collapsed-width;
92
+ height: @asset-tree-collapsed-width;
93
+ }
94
+
95
+ &.active {
96
+ color: @color-white;
97
+
98
+ &:before, &:after {
99
+ border-color: transparent;
100
+ border-style: solid;
101
+ border-width: 8px 6px 8px 0;
102
+ content: '';
103
+ height: 0;
104
+ position: absolute;
105
+ right: -12px;
106
+ top: calc(~'50% - 8px');
107
+ transition: right 0.25s ease;
108
+ width: 0;
109
+ }
110
+
111
+ &:before {
112
+ border-right-color: @color-black;
113
+ right: 1px;
114
+ }
115
+
116
+ &:after {
117
+ border-right-color: @color-white;
118
+ right: 0;
119
+ }
120
+
121
+ .rioglyph {
122
+ opacity: 1;
123
+ }
124
+ }
125
+
126
+ &.selected {
127
+ .selection-bubble:after {
128
+ background: @brand-primary;
129
+ border-radius: @border-radius-round;
130
+ border: 2px solid @color-black;
131
+ content: '';
132
+ height: 14px;
133
+ position: absolute;
134
+ right: 9px;
135
+ top: 7px;
136
+ width: 14px;
137
+ }
138
+ }
139
+ }
140
+ }
141
+
142
+ &ResizeLimit {
143
+ display: none;
144
+ position: absolute;
145
+ height: 100%;
146
+ width: 0;
147
+ border: 1px dashed @gray-darkest;
148
+ opacity: 0.2;
149
+ pointer-events: none;
150
+ }
151
+
152
+ &.fluid {
153
+ .ApplicationLayoutSidebar:not(.right) & {
154
+ float: left;
155
+ left: 0;
156
+ box-shadow: 1px 0 0 0 @gray-light;
157
+ }
158
+
159
+ .ApplicationLayoutSidebar.right & {
160
+ float: right;
161
+ box-shadow: -1px 0 0 0 @gray-light;
162
+ }
163
+ }
164
+
165
+ &.fly {
166
+ position: absolute;
167
+ top: 0;
168
+
169
+ .ApplicationLayoutSidebar:not(.right) & {
170
+ box-shadow: 5px 5px 5px @asset-tree-shadow-color;
171
+ left: 0;
172
+ }
173
+
174
+ .ApplicationLayoutSidebar.right & {
175
+ box-shadow: -5px 5px 5px @asset-tree-shadow-color;
176
+ right: 0;
177
+ }
178
+ }
179
+
180
+ html:not(.ua-desktop) & {
181
+ .TreeSidebar {
182
+ background: @gray-lightest;
183
+ box-shadow: inset -1px 0 @gray-light;
184
+ }
185
+
186
+ &.closed {
187
+ .TreeSidebar {
188
+ background: @color-white;
189
+ }
190
+ }
191
+
192
+ .TreeSidebarToggle {
193
+ .rioglyph {
194
+ color: @color-black;
195
+ }
196
+ }
197
+
198
+ .TreeSidebarNavigation {
199
+ li {
200
+ color: @color-black;
201
+
202
+ .rioglyph {
203
+ opacity: 0.5;
204
+ }
205
+
206
+ &.active {
207
+ &:before {
208
+ border-right-color: @gray-light;
209
+ }
210
+
211
+ &:after {
212
+ border-right-color: @color-white;
213
+ }
214
+
215
+ .rioglyph {
216
+ opacity: 1;
217
+ }
218
+ }
219
+
220
+ &.selected {
221
+ .selection-bubble:after {
222
+ border: 2px solid @gray-lightest;
223
+ }
224
+ }
225
+ }
226
+ }
227
+ }
228
+ }
229
+
230
+ // TREE
231
+ .TreeHeader {
232
+ background: @color-white;
233
+ position: sticky;
234
+ top: 0;
235
+ z-index: 1;
236
+ border-bottom: 1px solid @gray-light;
237
+
238
+ .TreeHead {
239
+ min-height: 50px;
240
+ }
241
+
242
+ &Options {
243
+ .dropdown-toggle {
244
+ width: 20px;
245
+ height: 20px;
246
+ }
247
+
248
+ .TreeOption {
249
+ line-height: 1.25 !important;
250
+ margin: 5px 0;
251
+
252
+ span:last-child {
253
+ word-break: break-word; // webkit
254
+ word-wrap: break-word;
255
+ }
256
+
257
+ &:first-child {
258
+ margin-top: 0;
259
+ }
260
+
261
+ &:last-child {
262
+ margin-bottom: 0;
263
+ }
264
+ }
265
+ }
266
+ }
267
+
268
+ .TreeSearch {
269
+ display: flex;
270
+ padding: 15px;
271
+
272
+ .no-spacings & {
273
+ padding: 0 0 15px 0;
274
+ }
275
+
276
+ + .TreeHead {
277
+ margin-top: -15px;
278
+ }
279
+ }
280
+
281
+ .TreeFilter {
282
+ display: none;
283
+ }
284
+
285
+ .TreeRoot {
286
+ flex: 1 0 auto;
287
+ overflow: auto;
288
+ contain: content;
289
+
290
+ .TreeNodeContainer {
291
+ font-size: 14px;
292
+
293
+ &.open {
294
+ .TreeNode .TreeLabelExpander {
295
+ transform: translateY(-50%) rotate(-180deg) !important;
296
+ }
297
+ }
298
+
299
+ &:not(.open) {
300
+ .TreeLeaf:not(.root) {
301
+ display: none;
302
+ }
303
+ }
304
+
305
+ .TreeNode,
306
+ .TreeLeaf {
307
+ background: @color-white;
308
+ border-bottom: 1px solid @gray-lighter;
309
+ display: flex;
310
+ padding: 0 10px 0 15px;
311
+
312
+ &:hover {
313
+ background-color: @gray-lightest;
314
+ }
315
+
316
+ &.active {
317
+ .TreeLabel {
318
+ .TreeLabelName {
319
+ font-weight: @font-medium;
320
+ letter-spacing: -0.2px;
321
+ }
322
+ }
323
+ }
324
+
325
+ .TreeCheckbox {
326
+ .checkbox-text {
327
+ &:before {
328
+ margin: 0;
329
+ }
330
+ }
331
+ }
332
+
333
+ .TreeLabel {
334
+ align-items: center;
335
+ cursor: pointer;
336
+ display: flex;
337
+ flex: 1 0;
338
+ //margin-left: 8px;
339
+ overflow: hidden;
340
+ padding: 10px 0;
341
+ position: relative;
342
+
343
+ > .rioglyph:first-child:not(.undefined) {
344
+ margin-right: 5px;
345
+ }
346
+
347
+ .TreeLabelName {
348
+ align-items: flex-start;
349
+ display: flex;
350
+ flex: 1 1 0;
351
+ font-weight: @font-normal;
352
+ hyphens: auto;
353
+ letter-spacing: 0;
354
+ line-height: 1.25;
355
+ min-height: 17px; // fix for empty nodes
356
+ overflow: hidden;
357
+ word-break: break-word; // webkit
358
+ word-wrap: break-word;
359
+
360
+ .TreeLabelNameText {
361
+ display: flex;
362
+ flex-direction: column;
363
+
364
+ .TreeLabelNameTextHeadline {}
365
+
366
+ .TreeLabelNameTextSubline {
367
+ font-size: 12px;
368
+ color: @gray;
369
+ }
370
+ }
371
+
372
+ > .rioglyph:not(.undefined) {
373
+ font-size: 16px;
374
+ margin: 1px 5px 0 0;
375
+ }
376
+ }
377
+
378
+ .TreeLabelCount {
379
+ letter-spacing: 0px;
380
+ position: absolute;
381
+ right: 30px;
382
+ top: 50%;
383
+ transform: translateY(-50%);
384
+ }
385
+
386
+ .TreeLabelExpander {
387
+ color: @gray-dark;
388
+ position: absolute;
389
+ right: 5px;
390
+ top: 50%;
391
+ transform: translateY(-50%);
392
+ }
393
+ }
394
+ }
395
+
396
+ .TreeNode {
397
+ align-items: center;
398
+
399
+ .TreeCheckbox {
400
+ margin: 0 7px 0 0;
401
+ }
402
+
403
+ .TreeLabelName {
404
+ padding-right: 55px;
405
+ }
406
+
407
+ &.checked ~ .TreeLeaf {
408
+ .checkbox {
409
+ display: none;
410
+ }
411
+
412
+ // copy active state
413
+ .TreeRoot .TreeNodeContainer .TreeNode.active;
414
+ }
415
+
416
+ ~ .TreeLeaf {
417
+ padding: 0 15px 0 40px;
418
+ }
419
+ }
420
+
421
+ .TreeLeaf {
422
+ align-items: flex-start;
423
+
424
+ .TreeCheckbox {
425
+ margin: 10px 7px 0 0;
426
+ }
427
+
428
+ .TreeRadioButton {
429
+ pointer-events: none;
430
+ margin: 10px 7px 0 0;
431
+
432
+ + .TreeLabel {
433
+ margin-left: -25px;
434
+ padding-left: 22px;
435
+ }
436
+ }
437
+ }
438
+ }
439
+ }
@@ -0,0 +1,22 @@
1
+ .AutoSuggest {
2
+ .clearfix;
3
+
4
+ .input-group & {
5
+ flex: 1 1 auto;
6
+ }
7
+
8
+ .dropdown-menu {
9
+ max-height: @dropdown-max-height;
10
+ overflow-x: hidden;
11
+ overflow-y: auto;
12
+
13
+ > .active {
14
+ color: @color-white;
15
+ background-color: @brand-primary;
16
+ }
17
+
18
+ > li > a {
19
+ white-space: normal;
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,14 @@
1
+ // z-index should be below dialog
2
+ @z-index-bottom-sheet: @zindex-modal - 2;
3
+
4
+ .bottom-sheet{
5
+ z-index: @z-index-bottom-sheet;
6
+ }
7
+
8
+ .bottom-sheet-backdrop {
9
+ position: absolute;
10
+ inset: 0;
11
+ z-index: @z-index-bottom-sheet - 1;
12
+ background: #000000;
13
+ opacity: 50%;
14
+ }