@rio-cloud/rio-uikit 0.16.1-beta-9 → 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 (192) 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 -164
  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/assetTree/TreeLeaf.js +1 -1
  11. package/lib/components/assetTree/TreeSelectAll.js +2 -1
  12. package/lib/components/assetTree/TypeCounter.js +3 -3
  13. package/lib/components/charts/chartHelper.js +1 -1
  14. package/lib/components/dialog/Dialog.js +4 -4
  15. package/lib/components/dialog/baseDialogPropTypes.js +1 -1
  16. package/lib/components/map/.DS_Store +0 -0
  17. package/lib/components/map/components/.DS_Store +0 -0
  18. package/lib/components/map/components/features/.DS_Store +0 -0
  19. package/lib/components/map/components/features/settings/.DS_Store +0 -0
  20. package/lib/components/steppedProgressBar/SteppedProgressBar.js +59 -107
  21. package/lib/es/Colors.js +1 -1
  22. package/lib/es/VolkswagenApplicationHeader.d.ts +5 -0
  23. package/lib/es/VolkswagenApplicationHeader.js +15 -0
  24. package/lib/index.js +1 -1
  25. package/lib/style/css/_exports/rio-website.less +29 -22
  26. package/lib/style/css/_exports/vw-uikit.less +4 -0
  27. package/lib/style/css/components/ApplicationHeader.less +47 -15
  28. package/lib/style/css/components/AssetTree.less +2 -2
  29. package/lib/style/css/variables.less +1 -1
  30. package/lib/style/fonts/rioglyph/rioglyph.less +7 -7
  31. package/lib/style/fonts/rioglyph/rioglyph.svg +9 -9
  32. package/lib/style/fonts/rioglyph/rioglyph.ttf +0 -0
  33. package/lib/style/fonts/rioglyph/rioglyph.woff +0 -0
  34. package/lib/styles/animations/_imports.less +10 -0
  35. package/lib/styles/animations/collapse.less +16 -0
  36. package/lib/styles/animations/fade.less +28 -0
  37. package/lib/styles/animations/pinging.less +7 -0
  38. package/lib/styles/animations/pulsing.less +5 -0
  39. package/lib/styles/animations/rotate.less +52 -0
  40. package/lib/styles/animations/scale.less +35 -0
  41. package/lib/styles/animations/slide.less +39 -0
  42. package/lib/styles/animations/spinning.less +4 -0
  43. package/lib/styles/animations/transition.less +129 -0
  44. package/lib/styles/animations/translate.less +28 -0
  45. package/lib/styles/components/Activity.less +93 -0
  46. package/lib/styles/components/ApplicationHeader.less +469 -0
  47. package/lib/styles/components/ApplicationLayout.less +240 -0
  48. package/lib/styles/components/AssetTree.less +439 -0
  49. package/lib/styles/components/AutoSuggest.less +22 -0
  50. package/lib/styles/components/BottomSheet.less +14 -0
  51. package/lib/styles/components/Carousel.less +212 -0
  52. package/lib/styles/components/Checkbox.less +224 -0
  53. package/lib/styles/components/ClearableInput.less +115 -0
  54. package/lib/styles/components/Counter.less +142 -0
  55. package/lib/styles/components/DataTabs.less +100 -0
  56. package/lib/styles/components/DatePicker.less +391 -0
  57. package/lib/styles/components/Dialog.less +484 -0
  58. package/lib/styles/components/Dropdown.less +185 -0
  59. package/lib/styles/components/Expander.less +196 -0
  60. package/lib/styles/components/FilePicker.less +8 -0
  61. package/lib/styles/components/ListMenu.less +77 -0
  62. package/lib/styles/components/MapHere.less +91 -0
  63. package/lib/styles/components/MapMarker.less +347 -0
  64. package/lib/styles/components/MapSettings.less +140 -0
  65. package/lib/styles/components/NoData.less +8 -0
  66. package/lib/styles/components/Notification.less +234 -0
  67. package/lib/styles/components/RadioButton.less +173 -0
  68. package/lib/styles/components/Resizer.less +43 -0
  69. package/lib/styles/components/Select.less +287 -0
  70. package/lib/styles/components/Sidebar.less +157 -0
  71. package/lib/styles/components/Slider.less +278 -0
  72. package/lib/styles/components/Spinner.less +49 -0
  73. package/lib/styles/components/StatsWidget.less +111 -0
  74. package/lib/styles/components/SteppedProgressBar.less +310 -0
  75. package/lib/styles/components/SupportMarker.less +34 -0
  76. package/lib/styles/components/Switch.less +145 -0
  77. package/lib/styles/components/TableSettingsDialog.less +96 -0
  78. package/lib/styles/components/TableSortArrows.less +54 -0
  79. package/lib/styles/components/TableToolbar.less +121 -0
  80. package/lib/styles/components/Tag.less +246 -0
  81. package/lib/styles/components/TagManager.less +4 -0
  82. package/lib/styles/components/Teaser.less +12 -0
  83. package/lib/styles/components/Timeline.less +69 -0
  84. package/lib/styles/components/Tooltip.less +222 -0
  85. package/lib/styles/design/alerts.less +55 -0
  86. package/lib/styles/design/aspect-ratio.less +23 -0
  87. package/lib/styles/design/badges.less +120 -0
  88. package/lib/styles/design/blockquote.less +49 -0
  89. package/lib/styles/design/border.less +192 -0
  90. package/lib/styles/design/breadcrumbs.less +20 -0
  91. package/lib/styles/design/button-groups.less +194 -0
  92. package/lib/styles/design/buttons.less +543 -0
  93. package/lib/styles/design/callouts.less +27 -0
  94. package/lib/styles/design/caret.less +28 -0
  95. package/lib/styles/design/close.less +12 -0
  96. package/lib/styles/design/code.less +45 -0
  97. package/lib/styles/design/colors.less +202 -0
  98. package/lib/styles/design/cols.less +56 -0
  99. package/lib/styles/design/container.less +29 -0
  100. package/lib/styles/design/cursors.less +19 -0
  101. package/lib/styles/design/custom.less +20 -0
  102. package/lib/styles/design/ellipsis.less +46 -0
  103. package/lib/styles/design/flexgrid.less +7 -0
  104. package/lib/styles/design/fonts.less +458 -0
  105. package/lib/styles/design/form-input-groups.less +245 -0
  106. package/lib/styles/design/form-inputs.less +655 -0
  107. package/lib/styles/design/iframe.less +80 -0
  108. package/lib/styles/design/images.less +47 -0
  109. package/lib/styles/design/labels.less +66 -0
  110. package/lib/styles/design/list-group.less +100 -0
  111. package/lib/styles/design/navs.less +262 -0
  112. package/lib/styles/design/normalize.less +436 -0
  113. package/lib/styles/design/opacity.less +26 -0
  114. package/lib/styles/design/overflow.less +1 -0
  115. package/lib/styles/design/pagination.less +161 -0
  116. package/lib/styles/design/panels.less +105 -0
  117. package/lib/styles/design/popovers.less +119 -0
  118. package/lib/styles/design/position.less +16 -0
  119. package/lib/styles/design/progress-bars.less +131 -0
  120. package/lib/styles/design/responsive/_imports.less +67 -0
  121. package/lib/styles/design/responsive/backgrounds.less +32 -0
  122. package/lib/styles/design/responsive/display.less +9 -0
  123. package/lib/styles/design/responsive/flexgrid.less +75 -0
  124. package/lib/styles/design/responsive/floating.less +4 -0
  125. package/lib/styles/design/responsive/gap.less +41 -0
  126. package/lib/styles/design/responsive/margin.less +127 -0
  127. package/lib/styles/design/responsive/overflow.less +16 -0
  128. package/lib/styles/design/responsive/padding.less +71 -0
  129. package/lib/styles/design/responsive/position.less +103 -0
  130. package/lib/styles/design/responsive/sizing.less +96 -0
  131. package/lib/styles/design/responsive/text.less +71 -0
  132. package/lib/styles/design/responsive-embed.less +31 -0
  133. package/lib/styles/design/responsive-video.less +22 -0
  134. package/lib/styles/design/rioglyph.less +13 -0
  135. package/lib/styles/design/rounded.less +44 -0
  136. package/lib/styles/design/shadows.less +65 -0
  137. package/lib/styles/design/sizing.less +18 -0
  138. package/lib/styles/design/tables.less +855 -0
  139. package/lib/styles/design/text.less +201 -0
  140. package/lib/styles/design/theme.less +206 -0
  141. package/lib/styles/design/thumbnails.less +29 -0
  142. package/lib/styles/design/transition.less +33 -0
  143. package/lib/styles/design/type.less +159 -0
  144. package/lib/styles/design/utilities.less +75 -0
  145. package/lib/styles/design/visibility.less +186 -0
  146. package/lib/styles/design/wells.less +17 -0
  147. package/lib/styles/design/z-index.less +21 -0
  148. package/lib/styles/filter/_imports.less +1 -0
  149. package/lib/styles/filter/blur.less +17 -0
  150. package/lib/styles/mapping/breakpoint-map.less +44 -0
  151. package/lib/styles/mapping/color-map.less +200 -0
  152. package/lib/styles/mapping/cols-map.less +15 -0
  153. package/lib/styles/mapping/numbers-map.less +16 -0
  154. package/lib/styles/mapping/positions-map.less +21 -0
  155. package/lib/styles/mapping/sizes-map.less +129 -0
  156. package/lib/styles/mapping/spacings-map.less +28 -0
  157. package/lib/styles/mixins/_mixins.less +13 -0
  158. package/lib/styles/mixins/alerts.less +13 -0
  159. package/lib/styles/mixins/border-radius.less +16 -0
  160. package/lib/styles/mixins/buttons.less +117 -0
  161. package/lib/styles/mixins/clearfix.less +9 -0
  162. package/lib/styles/mixins/cols.less +59 -0
  163. package/lib/styles/mixins/forms.less +61 -0
  164. package/lib/styles/mixins/panels.less +27 -0
  165. package/lib/styles/mixins/placeholder.less +17 -0
  166. package/lib/styles/mixins/reset.less +27 -0
  167. package/lib/styles/mixins/sizings.less +21 -0
  168. package/lib/styles/mixins/spinner.less +30 -0
  169. package/lib/styles/mixins/table.less +26 -0
  170. package/lib/styles/mixins/tabs.less +4 -0
  171. package/lib/styles/mixins/text.less +5 -0
  172. package/lib/styles/print/print.less +163 -0
  173. package/lib/styles/rio-uikit-core.less +114 -0
  174. package/lib/styles/rio-uikit-print-utilities.less +16 -0
  175. package/lib/styles/rio-uikit-responsive-utilities.less +16 -0
  176. package/lib/styles/shared/colors.json +56 -0
  177. package/lib/styles/shared/colors.less +73 -0
  178. package/lib/styles/shared/screens.less +7 -0
  179. package/lib/styles/shared/text.less +23 -0
  180. package/lib/styles/variables.less +180 -0
  181. package/lib/themes/BuyButton/styles/rio-buyButton.less +183 -0
  182. package/lib/themes/MAN/styles/man-uikit.less +48 -0
  183. package/lib/themes/RIO/styles/rio-uikit.less +20 -0
  184. package/lib/themes/SCANIA/styles/scania-uikit.less +36 -0
  185. package/lib/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js +94 -0
  186. package/lib/themes/Volkswagen/components/applicationHeader/modulePropTypes.js +17 -0
  187. package/lib/themes/Volkswagen/styles/vw-uikit.less +205 -0
  188. package/lib/themes/Website/styles/rio-website.less +2236 -0
  189. package/lib/themes/Xmas/styles/rio-xmas.less +36 -0
  190. package/lib/types.ts +1 -1
  191. package/lib/version.json +1 -1
  192. package/package.json +95 -94
@@ -0,0 +1,484 @@
1
+ @modal-outer-margin: 30px;
2
+ @modal-inner-padding: 20px;
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;
9
+
10
+ // Custom variables
11
+ @modal-sm: @screen-xs;
12
+ @modal-md: @screen-sm;
13
+ @modal-lg: @container-fluid-md;
14
+ @modal-xl: @container-fluid-lg;
15
+
16
+ body {
17
+ &.modal-open {
18
+ overflow: hidden;
19
+
20
+ // kills the body scrolling
21
+ .modal {
22
+ overflow-x: hidden;
23
+ overflow-y: auto;
24
+ }
25
+ }
26
+ }
27
+
28
+ .modal {
29
+ -webkit-overflow-scrolling: touch;
30
+ bottom: 0;
31
+ cursor: default;
32
+ display: none;
33
+ left: 0;
34
+ outline: 0;
35
+ overflow: auto;
36
+ padding-left: 0 !important;
37
+ position: fixed;
38
+ right: 0;
39
+ text-align: left;
40
+ top: 0;
41
+ width: 100% !important;
42
+ z-index: @zindex-modal;
43
+
44
+ // When fading in the modal, animate it to slide down
45
+ &.fade .modal-dialog {
46
+ transform: translate(0, -25%);
47
+ transition: transform 0.3s ease-out;
48
+ }
49
+ &.in .modal-dialog {
50
+ transform: translate(0, 0)
51
+ }
52
+
53
+ &.show {
54
+ &.media-dialog {
55
+ display: flex !important;
56
+ align-items: center;
57
+
58
+ .modal-dialog {
59
+ max-height: calc(~'100vh - (@{modal-outer-margin} * 2)'); // --vh fallback
60
+ max-height: calc(~'var(--vh, 1vh) * 100 - (@{modal-outer-margin} * 2)');
61
+ }
62
+
63
+ .modal-body {
64
+ .media-content {
65
+ overflow: hidden;
66
+
67
+ img {
68
+ display: block;
69
+ max-height: calc(~'100vh - (@{modal-outer-margin} * 7)'); // --vh fallback
70
+ max-height: calc(~'var(--vh, 1vh) * 100 - (@{modal-outer-margin} * 7)');
71
+ width: auto;
72
+ }
73
+
74
+ @media (max-width: @screen-md) {
75
+ min-height: 100px;
76
+ }
77
+
78
+ @media (min-width: @screen-md) {
79
+ min-height: 200px;
80
+ }
81
+
82
+ .video-responsive {
83
+ &.video-responsive-16by9 {
84
+ padding-bottom: calc(~'100vh * 0.56'); // --vh fallback
85
+ padding-bottom: calc(~'var(--vh, 1vh) * 100 * 0.56');
86
+ }
87
+
88
+ &.video-responsive-4by3 {
89
+ padding-bottom: calc(~'100vh * 0.75'); // --vh fallback
90
+ padding-bottom: calc(~'var(--vh, 1vh) * 100 * 0.75');
91
+ }
92
+ }
93
+ }
94
+
95
+ // because of overflow :after styling
96
+ &:after {
97
+ display: none !important;
98
+ }
99
+ }
100
+
101
+ .modal-footer:before {
102
+ display: none;
103
+ }
104
+
105
+ @media (max-width: @screen-sm) {
106
+ .modal-dialog {
107
+ width: calc(~'100% - @{modal-inner-padding}');
108
+ }
109
+ }
110
+ }
111
+ }
112
+
113
+ .modal-dialog {
114
+ margin: @modal-outer-margin auto;
115
+ max-width: calc(~'100vw - @{modal-outer-margin} * 2');
116
+ position: relative;
117
+ width: @screen-sm;
118
+ z-index: @zindex-modal;
119
+
120
+ &:focus {
121
+ outline: none;
122
+ }
123
+
124
+ .modal-content {
125
+ &:extend(.shadow-hard);
126
+ background-clip: padding-box;
127
+ background-color: @modal-content-bg;
128
+ border-radius: @border-radius-lg;
129
+ border: 1px solid @modal-content-border-color;
130
+ border: none;
131
+ display: flex;
132
+ flex-direction: column;
133
+ outline: 0;
134
+ position: relative;
135
+
136
+ .modal-header {
137
+ &:extend(.clearfix all);
138
+ border-bottom: 1px solid @modal-header-border-color;
139
+ display: flex;
140
+ justify-content: space-between;
141
+ padding: @modal-title-padding;
142
+ padding: 0;
143
+ position: relative;
144
+ z-index: 1;
145
+
146
+ &-text {
147
+ color: @gray-darkest;
148
+ display: flex;
149
+ flex-direction: column;
150
+ float: left;
151
+ font-weight: @font-light;
152
+ justify-content: center;
153
+ padding: 15px;
154
+ width: calc(~'100% - 60px');
155
+ word-break: break-word;
156
+
157
+ .modal-header-title {
158
+ display: flex;
159
+ order: 1;
160
+ font-size: @font-size-xl - 2;
161
+ line-height: @font-size-xl - 2;
162
+ }
163
+
164
+ .modal-header-subtitle {
165
+ display: flex;
166
+ font-size: @font-size-default;
167
+ line-height: @font-size-default;
168
+ margin-top: 3px;
169
+ order: 2;
170
+
171
+ +.modal-header-title {
172
+ font-size: @font-size-xl - 5;
173
+ line-height: @font-size-xl - 5;
174
+ }
175
+ }
176
+ }
177
+
178
+ &-buttons {
179
+ display: flex;
180
+ align-items: center;
181
+
182
+ &-spacer {
183
+ &:last-child {
184
+ display: none;
185
+ }
186
+
187
+ background-color: @gray-lighter;
188
+ height: 20px;
189
+ margin-right: 10px;
190
+ width: 2px;
191
+ }
192
+
193
+ .btn {
194
+ &:not(:only-child) {
195
+ margin-right: 10px;
196
+ }
197
+
198
+ &:focus,
199
+ span:focus {
200
+ outline: 0;
201
+ }
202
+ }
203
+
204
+ // START TODO remove with v1.0 (downward compatibility) - remove when cleanup
205
+ .sr-only {
206
+ display: none !important;
207
+ }
208
+ // END TODO remove with v1.0 (downward compatibility) - remove when cleanup
209
+ }
210
+ }
211
+
212
+ .modal-body {
213
+ position: relative;
214
+ padding: @modal-inner-padding;
215
+ }
216
+
217
+ .modal-footer {
218
+ &:extend(.clearfix all);
219
+ border-top: 1px solid @modal-footer-border-color;
220
+ display: block;
221
+ padding: @modal-inner-padding;
222
+ position: relative;
223
+ text-align: right;
224
+ z-index: 1;
225
+ }
226
+ }
227
+
228
+ @media (max-width: @modal-sm) {
229
+ width: @modal-sm;
230
+ margin: @modal-outer-margin * 0.5 auto;
231
+ max-width: calc(~'100vw - @{modal-outer-margin}');
232
+ }
233
+
234
+ @media (min-width: @modal-sm) {
235
+ &.modal-sm {
236
+ width: @modal-sm;
237
+ }
238
+
239
+ &.modal-lg {
240
+ width: @modal-lg;
241
+ }
242
+
243
+ &.modal-xl {
244
+ width: @modal-xl;
245
+ }
246
+
247
+ &.modal-full {
248
+ width: calc(~'100vw - @{modal-outer-margin} * 2');
249
+ }
250
+
251
+ &.modal-fullscreen {
252
+ width: calc(~'100vw - @{modal-outer-margin} * 2');
253
+ }
254
+ }
255
+
256
+ &.modal-fullscreen {
257
+ .modal-content {
258
+ height: calc(~'100vh - (@{modal-outer-margin} * 2)'); // --vh fallback
259
+ height: calc(~'var(--vh, 1vh) * 100 - (@{modal-outer-margin} * 2)');
260
+ display: flex;
261
+ flex-direction: column;
262
+
263
+ @media (max-width: @modal-sm) {
264
+ height: calc(~'100vh - (@{modal-outer-margin})'); // --vh fallback
265
+ height: calc(~'var(--vh, 1vh) * 100 - (@{modal-outer-margin})');
266
+ }
267
+
268
+ .modal-body {
269
+ flex: 1 1 0; // instead "auto" we 0 for safari
270
+ position: relative;
271
+
272
+ .iframe-wrapper {
273
+ overflow: hidden;
274
+ height: 100%;
275
+ }
276
+
277
+ &.display-flex {
278
+ > .iframe-wrapper {
279
+ flex: 1 1 0; // instead "auto" we 0 for safari
280
+ }
281
+ }
282
+ }
283
+ }
284
+ }
285
+
286
+ &.modal-overflow {
287
+ .modal-content {
288
+ max-height: calc(~'100vh - (@{modal-outer-margin} * 2)'); // --vh fallback
289
+ max-height: calc(~'var(--vh, 1vh) * 100 - (@{modal-outer-margin} * 2)');
290
+
291
+ @media (max-width: @modal-sm) {
292
+ max-height: calc(~'100vh - (@{modal-outer-margin})'); // --vh fallback
293
+ max-height: calc(~'var(--vh, 1vh) * 100 - (@{modal-outer-margin})');
294
+ }
295
+
296
+ .modal-body {
297
+ overflow-y: auto;
298
+
299
+ &:after {
300
+ content: '';
301
+ display: block;
302
+ height: 30px;
303
+ }
304
+ }
305
+
306
+ .modal-footer {
307
+ &:before {
308
+ background: linear-gradient(0deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
309
+ content: '';
310
+ height: 20px;
311
+ left: 0;
312
+ pointer-events: none;
313
+ position: absolute;
314
+ top: -21px;
315
+ width: 100%;
316
+ }
317
+ }
318
+ }
319
+ }
320
+ }
321
+
322
+ .modal-backdrop {
323
+ background-color: @modal-backdrop-bg;
324
+ bottom: 0;
325
+ display: block;
326
+ left: 0;
327
+ opacity: 0.5;
328
+ position: fixed;
329
+ right: 0;
330
+ top: 0;
331
+ z-index: @zindex-modal-background;
332
+
333
+ // Fade for backdrop
334
+ &.fade { opacity: 0 }
335
+ &.in { opacity: 0.5 }
336
+ }
337
+
338
+ &.backdrop-blured .modal-backdrop {
339
+ @supports ((-webkit-backdrop-filter: blur()) or (backdrop-filter: blur())) {
340
+ opacity: 0.99;
341
+ background-color: rgba(0, 0, 0, 0.3);
342
+ backdrop-filter: blur(5px);
343
+ }
344
+ }
345
+
346
+ &.TableSettingsDialog {
347
+ .modal-dialog {
348
+ .modal-content {
349
+ .modal-body {
350
+ background: @gray-lightest;
351
+ padding-left: 0;
352
+ padding-right: 0;
353
+
354
+ @media (max-height: 450px) and (min-width: @screen-sm - 0.1) {
355
+ max-height: calc(~'100vh - 200px'); // --vh fallback
356
+ max-height: calc(~'var(--vh, 1vh) * 100 - 200px');
357
+ overflow-y: auto;
358
+ }
359
+ }
360
+ }
361
+ }
362
+ }
363
+ }
364
+
365
+ @splitWrapperBreakpoint: 580px;
366
+
367
+ .split-wrapper {
368
+ display: flex;
369
+
370
+ @media (max-width: @splitWrapperBreakpoint) {
371
+ flex-direction: column;
372
+ margin-top: -(@modal-inner-padding);
373
+ }
374
+
375
+ .split-left {
376
+ position: relative;
377
+ width: auto;
378
+
379
+ @media (min-width: @splitWrapperBreakpoint) {
380
+ width: 200px;
381
+
382
+ > .ListMenu {
383
+ position: sticky;
384
+ top: 0;
385
+ }
386
+ }
387
+
388
+ @media (max-width: @splitWrapperBreakpoint) {
389
+ background-color: @color-white;
390
+ height: 60px;
391
+ left: -(@modal-inner-padding);
392
+ padding-top: @modal-inner-padding;
393
+ position: sticky;
394
+ right: -(@modal-inner-padding);
395
+ top: -(@modal-inner-padding);
396
+
397
+ .expander-panel {
398
+ position: absolute;
399
+ width: 100%;
400
+ z-index: 1;
401
+ }
402
+ }
403
+
404
+ .modal-lg &,
405
+ .modal-xl &,
406
+ .modal-full & {
407
+ @media (min-width: @splitWrapperBreakpoint) {
408
+ width: 20%;
409
+ }
410
+ }
411
+
412
+ .split-divider {
413
+ bottom: 0;
414
+ padding-left: 1px;
415
+ position: absolute;
416
+ right: 0;
417
+ top: 0;
418
+
419
+ @media (max-width: @splitWrapperBreakpoint) {
420
+ display: none;
421
+ }
422
+ }
423
+ }
424
+
425
+ .split-right {
426
+ width: 100%;
427
+ flex: 1 1;
428
+
429
+ @media (min-width: @splitWrapperBreakpoint) {
430
+ padding-left: 20px;
431
+ }
432
+
433
+ @media (max-width: @splitWrapperBreakpoint) {
434
+ padding-top: 20px;
435
+ }
436
+
437
+ .modal-lg &,
438
+ .modal-xl &,
439
+ .modal-full & {
440
+ @media (min-width: @splitWrapperBreakpoint) {
441
+ max-width: 80%;
442
+ }
443
+ }
444
+ }
445
+ }
446
+
447
+ /* Animation classes for dialogs triggered by "react-transition-group" component */
448
+ .modal-enter {
449
+ .modal-content {
450
+ display: block;
451
+ opacity: 0;
452
+ transform: translate(0, -25%);
453
+ }
454
+
455
+ .modal-backdrop {
456
+ opacity: 0;
457
+ }
458
+ }
459
+
460
+ .modal-enter-active {
461
+ .modal-content {
462
+ display: block;
463
+ opacity: 1;
464
+ transform: translate(0, 0);
465
+ transition: all 200ms ease-out;
466
+ }
467
+
468
+ .modal-backdrop {
469
+ opacity: 0.5;
470
+ transition: all 200ms ease-out;
471
+ }
472
+ }
473
+
474
+ .modal-exit-active {
475
+ .modal-content {
476
+ opacity: 0;
477
+ transform: translateY(-50%);
478
+ transition: all 200ms ease-out;
479
+ }
480
+
481
+ .modal-backdrop {
482
+ opacity: 0;
483
+ }
484
+ }
@@ -0,0 +1,185 @@
1
+ @dropdown-max-height: 211px; // Used for Select and AutoSuggest components
2
+
3
+ .btn-group.open .dropdown-toggle {
4
+ box-shadow: none !important;
5
+ }
6
+
7
+ .dropdown {
8
+ position: relative;
9
+
10
+ &-menu {
11
+ &:extend(.shadow-hard-to-bottom);
12
+ .reset-list();
13
+ background-color: @color-white;
14
+ border-radius: @border-radius-default;
15
+ border: 1px solid @gray-light;
16
+ font-size: @font-size-default;
17
+ min-width: 160px;
18
+ padding: 0;
19
+ position: absolute;
20
+ text-align: left;
21
+ z-index: @zindex-dropdown;
22
+
23
+ // closed by default
24
+ display: none;
25
+
26
+ // open when needed
27
+ .dropdown.open > & {
28
+ display: block;
29
+ }
30
+
31
+ // portal style
32
+ #uikit-root > & {
33
+ display: block;
34
+ width: auto;
35
+ }
36
+
37
+ > li {
38
+ > a {
39
+ border-radius: 4px;
40
+ color: @gray-darkest;
41
+ cursor: pointer;
42
+ display: block;
43
+ line-height: 1.25;
44
+ margin: 2px 6px;
45
+ padding: 7px 13px;
46
+ position: relative;
47
+ user-select: none;
48
+
49
+ &:active:focus {
50
+ outline: 0;
51
+ }
52
+
53
+ &:hover,
54
+ &:focus {
55
+ background-color: @brand-primary;
56
+ color: @color-white;
57
+ text-decoration: none;
58
+ }
59
+ }
60
+
61
+ &:first-child:not(:last-child) {
62
+ margin-top: 5px;
63
+ }
64
+
65
+ &:last-child:not(:first-child) {
66
+ margin-bottom: 5px;
67
+ }
68
+ }
69
+
70
+ > .active > a {
71
+ color: inherit;
72
+ background-color: inherit;
73
+
74
+ &,
75
+ &:hover,
76
+ &:focus {
77
+ background-color: @brand-primary;
78
+ color: @color-white;
79
+ outline: 0;
80
+ text-decoration: none;
81
+ }
82
+ }
83
+
84
+ > .disabled > a {
85
+ &,
86
+ &:hover,
87
+ &:focus {
88
+ color: @gray-light;
89
+ }
90
+
91
+ // OLD BS STUFF
92
+ // Nuke hover/focus effects
93
+ &:hover,
94
+ &:focus {
95
+ .reset-filter();
96
+ background-color: transparent;
97
+ background-image: none;
98
+ cursor: not-allowed;
99
+ text-decoration: none;
100
+ }
101
+ }
102
+
103
+ // OLD BS STUFF
104
+ // .menuitem:focus {
105
+ // outline: 0;
106
+ // }
107
+
108
+ > .dropdown-header {
109
+ display: flex;
110
+ padding: 5px 10px;
111
+ pointer-events: none;
112
+ align-items: center;
113
+
114
+ &:not(.center) {
115
+ margin-top: 15px;
116
+
117
+ ~ li:not(.dropdown-header) a {
118
+ padding-left: 20px;
119
+ }
120
+ }
121
+
122
+ .dropdown-header-text {
123
+ background: @color-white;
124
+ color: lighten(@gray, 5%);
125
+ font-size: 12px;
126
+ font-weight: @font-medium;
127
+ line-height: 1.25;
128
+ max-width: calc(~"100% - 30px");
129
+ text-align: center;
130
+ text-transform: uppercase;
131
+ }
132
+ }
133
+
134
+ > .divider {
135
+ background-color: @gray-light;
136
+ height: 1px;
137
+ margin: 3px 6px;
138
+ }
139
+ }
140
+
141
+ &:not(.open) {
142
+ > .dropdown-menu {
143
+ display: block;
144
+ position: fixed;
145
+ top: -10000px;
146
+ left: -10000px;
147
+ }
148
+ }
149
+
150
+ &-submenu {
151
+ position: relative;
152
+
153
+ > .dropdown-menu {
154
+ bottom: auto;
155
+ display: none;
156
+ left: 100%;
157
+ top: 0;
158
+ }
159
+
160
+ &:hover > .dropdown-menu {
161
+ display: block;
162
+ }
163
+
164
+ &.disabled:hover > .dropdown-menu {
165
+ display: none;
166
+ }
167
+
168
+ > .submenu-title {
169
+ cursor: pointer;
170
+
171
+ > .submenu-title-text {
172
+ padding-right: 5px;
173
+ }
174
+
175
+ > .rioglyph {
176
+ align-items: center;
177
+ display: flex;
178
+ font-size: 0.8em;
179
+ height: 100%;
180
+ position: absolute;
181
+ right: 8px;
182
+ }
183
+ }
184
+ }
185
+ }