@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,49 @@
1
+ .spinner {
2
+ .spinnerMixin(20, @brand-primary);
3
+
4
+ &.inverse {
5
+ .spinnerMixin(20, @color-white);
6
+ }
7
+
8
+ &.double {
9
+ .spinnerMixin(30, @brand-primary);
10
+
11
+ &.inverse {
12
+ .spinnerMixin(30, @color-white);
13
+ }
14
+ }
15
+ }
16
+
17
+
18
+ .spinnerInfoBox {
19
+ display: flex;
20
+ justify-content: center;
21
+ align-items: center;
22
+ gap: 10px;
23
+
24
+ &.inverse {
25
+ color: @color-white;
26
+ }
27
+
28
+ &.fullscreen, &.fullsized {
29
+ background: rgba(255,255,255,.85);
30
+ bottom: 0;
31
+ left: 0;
32
+ padding: 0 5%;
33
+ right: 0;
34
+ top: 0;
35
+ z-index: 2147483647;
36
+
37
+ .spinnerText {
38
+ font-size: 18px;
39
+ }
40
+ }
41
+
42
+ &.fullscreen {
43
+ position: fixed;
44
+ }
45
+
46
+ &.fullsized {
47
+ position: absolute;
48
+ }
49
+ }
@@ -0,0 +1,111 @@
1
+ .StatsWidget-wrapper {
2
+ display: flex;
3
+ flex-wrap: wrap;
4
+ gap: 20px;
5
+
6
+ // FALLBACK
7
+ .css-no-gap & {
8
+ > * {
9
+ margin: 10px;
10
+ }
11
+ }
12
+
13
+ + .StatsWidget-wrapper {
14
+ margin-top: 20px;
15
+ }
16
+
17
+ .StatsWidget {
18
+ background: @color-white;
19
+ border-radius: @border-radius-default;
20
+ border: 1px solid @gray-light;
21
+ flex: 1 1 auto;
22
+ position: relative;
23
+ user-select: none;
24
+
25
+ .StatsWidget-header {
26
+ font-size: 18px;
27
+ padding: 20px 20px 0 20px;
28
+ text-align: center;
29
+
30
+ &:after {
31
+ background: @gray-lightest;
32
+ content: '';
33
+ display: block;
34
+ height: 2px;
35
+ margin-top: 10px;
36
+ }
37
+ }
38
+
39
+ .StatsWidget-footer {
40
+ padding: 5px 10px;
41
+ font-size: 12px;
42
+ border-radius: 0 0 @border-radius-default @border-radius-default;
43
+ }
44
+
45
+ .StatsWidget-body {
46
+ align-items: center;
47
+ display: flex;
48
+ flex-wrap: wrap;
49
+ justify-content: center;
50
+ padding: 10px 20px 20px 20px;
51
+
52
+ &.full-width {
53
+ justify-content: space-between;
54
+ }
55
+
56
+ .StatsWidgetNumber {
57
+ display: flex;
58
+ flex-direction: column;
59
+ justify-content: center;
60
+ margin: 0 10px;
61
+ }
62
+
63
+ .StatsWidgetNumber-counter {
64
+ align-items: baseline;
65
+ display: flex;
66
+ justify-content: center;
67
+ text-align: center;
68
+
69
+ .StatsWidgetNumber-value {
70
+ @media (max-width: @screen-sm) { font-size: 22px }
71
+ @media (min-width: @screen-sm) { font-size: 26px }
72
+ @media (min-width: @screen-lg) { font-size: 30px }
73
+ @media (min-width: @screen-xl) { font-size: 40px }
74
+ }
75
+
76
+ .StatsWidgetNumber-total {
77
+ &:before {
78
+ content: " / ";
79
+ }
80
+
81
+ @media (max-width: @screen-sm) { font-size: 22px * 0.4 }
82
+ @media (min-width: @screen-sm) { font-size: 26px * 0.4 }
83
+ @media (min-width: @screen-lg) { font-size: 30px * 0.4 }
84
+ @media (min-width: @screen-xl) { font-size: 40px * 0.4 }
85
+ }
86
+ }
87
+
88
+ .StatsWidgetNumber-label {
89
+ color: @gray-darkest;
90
+ text-align: center;
91
+
92
+ @media (max-width: @screen-sm) { font-size: 22px * 0.65 }
93
+ @media (min-width: @screen-sm) { font-size: 26px * 0.5 }
94
+ @media (min-width: @screen-lg) { font-size: 30px * 0.5 }
95
+ @media (min-width: @screen-xl) { font-size: 40px * 0.5 }
96
+ }
97
+
98
+ .StatsWidget-body-column-spacer {
99
+ width: 2px;
100
+ height: 20px;
101
+
102
+ &:not(.invisible) {
103
+ background: @gray-lighter;
104
+ margin: 0 5px;
105
+ }
106
+
107
+ @media (max-width: @screen-sm) { display: none }
108
+ }
109
+ }
110
+ }
111
+ }
@@ -0,0 +1,310 @@
1
+ @circle-nav-item-margin: 60px;
2
+ @circle-tab-size: 46px;
3
+ @circle-tab-border-radius: 50%;
4
+
5
+ @roadsign-size: 50px;
6
+ @roadsign-arrow-color: escape('@{gray-lighter}');
7
+ @roadsign-svg-color: escape('@{color-white}');
8
+ @roadsign-svg-active-color: escape('@{color-highlight-decent}');
9
+
10
+ .stepped-progress-bar {
11
+ display: flex;
12
+ justify-content: space-between;
13
+ position: relative;
14
+
15
+ // flexbox pseudo element fix
16
+ &:after {
17
+ display: none;
18
+ }
19
+
20
+ &:before {
21
+ background-color: @gray-light;
22
+ content: "";
23
+ height: 2px;
24
+ left: @circle-tab-size * 0.5;
25
+ position: absolute;
26
+ top: calc(~"50% - 1px");
27
+ width: calc(~"100% - @{circle-tab-size}");
28
+ }
29
+
30
+ .step-tab {
31
+ cursor: pointer;
32
+
33
+ &:hover {
34
+ text-decoration: none;
35
+ outline: none;
36
+ }
37
+
38
+ &.active,
39
+ &.disabled {
40
+ pointer-events: none;
41
+ pointer-events: none;
42
+ }
43
+ }
44
+
45
+ &.variant-circle {
46
+ margin-left: 20px;
47
+ margin-right: 20px;
48
+
49
+ @media (min-width: @screen-sm) {
50
+ margin-bottom: @circle-tab-size * 1.5;
51
+ }
52
+
53
+ .step-tab {
54
+ background: @color-white;
55
+ border-radius: @circle-tab-border-radius;
56
+ border: 1px solid @gray;
57
+ font-weight: @font-normal;
58
+ height: @circle-tab-size;
59
+ min-width: @circle-tab-size;
60
+ width: @circle-tab-size;
61
+ z-index: 2;
62
+
63
+ &:first-child {
64
+ margin-left: @circle-tab-size * 0.5;
65
+ }
66
+
67
+ &:last-child {
68
+ margin-right: @circle-tab-size * 0.5;
69
+ }
70
+
71
+ .step-tab-content {
72
+ display: flex;
73
+ flex-direction: column;
74
+ font-size: @circle-tab-size * 0.4;
75
+ position: relative;
76
+ text-align: center;
77
+
78
+ .item-icon {
79
+ color: @brand-primary;
80
+ height: @circle-tab-size;
81
+ line-height: @circle-tab-size * 0.9;
82
+ margin-bottom: @circle-tab-size * 0.4;
83
+ width: @circle-tab-size;
84
+
85
+ .rioglyph {
86
+ margin: 5px 0 0 -1px;
87
+ }
88
+ }
89
+
90
+ .item-label {
91
+ color: @brand-primary;
92
+ font-size: 16px;
93
+ left: 50%;
94
+ position: relative;
95
+ text-align: center;
96
+ transform: translateX(-50%);
97
+
98
+ @media (max-width: @screen-sm) {
99
+ display: none;
100
+ }
101
+
102
+ @media (min-width: @screen-sm) {
103
+ .ellipsis-2;
104
+ width: 200px;
105
+ max-width: none;
106
+ }
107
+ }
108
+ }
109
+
110
+ &:hover:not(.disabled) {
111
+ background-color: @brand-primary;
112
+ border-color: @brand-primary;
113
+
114
+ .item-icon {
115
+ color: @color-white;
116
+ }
117
+
118
+ .item-label {
119
+ color: @link-color;
120
+ }
121
+ }
122
+
123
+ &.active {
124
+ color: @color-white;
125
+ border-color: @brand-primary;
126
+ background-color: @brand-primary;
127
+
128
+ .item-icon {
129
+ color: @color-white;
130
+ }
131
+
132
+ .item-label {
133
+ color: @link-color;
134
+ }
135
+ }
136
+
137
+ &.disabled {
138
+ border-color: @gray;
139
+ background-color: @color-white;
140
+
141
+ .item-icon {
142
+ color: @gray;
143
+ }
144
+
145
+ .item-label {
146
+ color: @gray;
147
+ }
148
+ }
149
+ }
150
+ }
151
+
152
+ &.variant-rectangle {
153
+ gap: 20px;
154
+
155
+ .step-tab {
156
+ align-items: center;
157
+ background: @color-white;
158
+ border: 1px solid @gray-light;
159
+ border-radius: @border-radius-default;
160
+ display: flex;
161
+ justify-content: center;
162
+ position: relative;
163
+ text-align: center;
164
+
165
+ .step-tab-content {
166
+ align-items: center;
167
+ color: inherit;
168
+ display: flex;
169
+ flex: 1 1 0;
170
+ height: 100%;
171
+ justify-content: center;
172
+ padding: 10px;
173
+
174
+ .item-icon {
175
+ .rioglyph {
176
+ font-size: 20px;
177
+ margin-right: 5px;
178
+ }
179
+ }
180
+ }
181
+
182
+ &.active {
183
+ border-color: @brand-primary;
184
+ }
185
+
186
+ &.disabled {
187
+ background-color: @gray-lightest;
188
+ color: @gray;
189
+ }
190
+ }
191
+ }
192
+
193
+ &.variant-roadsign {
194
+ @media (min-width: @screen-sm) {
195
+ &:before {
196
+ display: none;
197
+ }
198
+ }
199
+
200
+ .step-tab {
201
+ align-items: center;
202
+ background: @color-white;
203
+ display: flex;
204
+ flex: 1 1 0;
205
+ justify-content: center;
206
+ position: relative;
207
+ text-align: center;
208
+ padding-right: 30px;
209
+ align-items: center;
210
+ min-height: 50px;
211
+
212
+ .step-tab-content {
213
+ align-items: center;
214
+ color: inherit;
215
+ display: flex;
216
+ flex: 1 1 0;
217
+ height: 100%;
218
+ justify-content: center;
219
+
220
+ .item-icon {
221
+ .rioglyph {
222
+ font-size: 20px;
223
+ margin-right: 5px;
224
+ }
225
+ }
226
+ }
227
+
228
+ &.active {
229
+ color: @brand-primary;
230
+ font-weight: @font-medium;
231
+ }
232
+
233
+ &.disabled {
234
+ border-color: @gray;
235
+ background-color: @color-white;
236
+ color: @gray;
237
+ }
238
+
239
+ &:after {
240
+ content: "";
241
+ display: block;
242
+ top: 0;
243
+ bottom: 0;
244
+ width: 25px;
245
+ position: absolute;
246
+ right: 0;
247
+ background-size: 100% 100%;
248
+ background-repeat: no-repeat;
249
+ background-color: @gray-lighter;
250
+ background-image: url(~"data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2250%22%20height%3D%22100%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20fill%3D%22@{roadsign-svg-color}%22%20d%3D%22M0%200h50v100H0z%22%2F%3E%3Cpath%20d%3D%22M10%200l40.04%2050L10%20100l-9.999-.001L40%2050%200%200h10z%22%20fill%3D%22@{roadsign-arrow-color}%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
251
+ }
252
+
253
+ &:last-child {
254
+ &:after {
255
+ display: none;
256
+ padding-right: 0;
257
+ }
258
+ }
259
+ }
260
+ }
261
+
262
+ &.mobile-breakpoint {
263
+ @media (max-width: @screen-sm) {
264
+ flex-direction: column;
265
+
266
+ &:after,
267
+ &:before {
268
+ height: 100%;
269
+ left: calc(~"50% - 1px");
270
+ top: 0;
271
+ width: 2px;
272
+ }
273
+
274
+ &.variant-circle {
275
+ align-items: center;
276
+
277
+ .step-tab {
278
+ margin: 5px 0;
279
+
280
+ &:first-child {
281
+ margin-top: 0;
282
+ }
283
+
284
+ &:last-child {
285
+ margin-bottom: 0;
286
+ }
287
+ }
288
+ }
289
+
290
+ &.variant-roadsign {
291
+ .step-tab {
292
+ margin: 10px 0;
293
+ padding-right: 0;
294
+
295
+ &:after {
296
+ display: none;
297
+ }
298
+
299
+ &:first-child {
300
+ margin: 0 0 10px 0;
301
+ }
302
+
303
+ &:last-child {
304
+ margin: 10px 0 0 0;
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
@@ -0,0 +1,34 @@
1
+ .support-marker {
2
+ html.show-support-marker & {
3
+ box-shadow: 0px 0px 0px 2px @brand-info;
4
+ position: relative;
5
+
6
+ &:before {
7
+ background-color: @brand-info;
8
+ color: @color-white;
9
+ content: attr(data-support);
10
+ display: block;
11
+ hyphens: auto;
12
+ left: 0;
13
+ overflow: hidden;
14
+ padding: 3px 8px 5px 6px;
15
+ pointer-events: none;
16
+ position: absolute;
17
+ top: 0;
18
+ white-space: pre;
19
+ width: auto;
20
+ word-break: break-word;
21
+ word-wrap: break-word;
22
+ z-index: 1;
23
+ border-radius: 0 0 @border-radius-default 0;
24
+ }
25
+
26
+ &:hover {
27
+ //box-shadow: none;
28
+
29
+ &:before {
30
+ opacity: 0.1;
31
+ }
32
+ }
33
+ }
34
+ }
@@ -0,0 +1,145 @@
1
+ @switch-animation-time: 0.15s;
2
+ @switch-animation-delay: @switch-animation-time * 0.5;
3
+ @switch-height: 20px;
4
+ @switch-padding: 2px;
5
+
6
+ .uikit-switch {
7
+ height: @switch-height;
8
+ }
9
+
10
+ .switch-label {
11
+ align-items: center;
12
+ display: inline-flex;
13
+ margin: 0;
14
+ position: relative;
15
+
16
+ &.label-position {
17
+ &-left {
18
+ flex-direction: row-reverse;
19
+
20
+ .switch-content {
21
+ margin-left: @switch-padding * 2;
22
+ }
23
+ }
24
+
25
+ &-right {
26
+ .switch-content {
27
+ margin-right: @switch-padding * 2;
28
+ }
29
+ }
30
+ }
31
+
32
+ .switch-input {
33
+ left: 0;
34
+ opacity: 0;
35
+ position: absolute;
36
+ top: 0;
37
+
38
+ &:checked + .switch-content {
39
+ background: @brand-primary;
40
+
41
+ .panel-primary .panel-heading & {
42
+ background: @color-highlight-dark;
43
+ }
44
+
45
+ .switch-text {
46
+ &:before {
47
+ opacity: 0;
48
+ padding: 0;
49
+ text-align: left;
50
+ width: 0;
51
+ }
52
+
53
+ &:after {
54
+ opacity: 1;
55
+ padding: 0 @switch-height + @switch-padding 0 @switch-padding * 3;
56
+ width: auto;
57
+ }
58
+ }
59
+
60
+ .switch-handle {
61
+ left: calc(~"100% - (@{switch-height} - @{switch-padding})");
62
+ }
63
+ }
64
+
65
+ &:disabled {
66
+ pointer-events: none;
67
+
68
+ + .switch-content {
69
+ pointer-events: none;
70
+ background: @gray-light;
71
+ }
72
+
73
+ &:checked + .switch-content {
74
+ background: @color-highlight-light;
75
+ }
76
+ }
77
+ }
78
+
79
+ .switch-content {
80
+ background-color: @gray;
81
+ border-radius: @border-radius-round;
82
+ cursor: pointer;
83
+ height: @switch-height;
84
+ position: relative;
85
+
86
+ .switch-text {
87
+ border-radius: inherit;
88
+ display: block;
89
+ font-size: 12px;
90
+ height: inherit;
91
+ position: relative;
92
+ text-transform: uppercase;
93
+
94
+ &:before, &:after {
95
+ color: @color-white;
96
+ display: inline-block;
97
+ line-height: @switch-height;
98
+ overflow: hidden;
99
+ position: relative;
100
+ transition: inherit;
101
+ user-select: none;
102
+ white-space: nowrap;
103
+ }
104
+
105
+ &:before {
106
+ content: attr(data-off);
107
+ opacity: 1;
108
+ padding: 0 @switch-padding * 3 0 @switch-height + @switch-padding;
109
+ text-align: right;
110
+ width: 100%;
111
+ transition: none;
112
+ }
113
+
114
+ &:after {
115
+ content: attr(data-on);
116
+ opacity: 0;
117
+ width: 0;
118
+ transition: width @switch-animation-time ease ~"," opacity @switch-animation-time ease @switch-animation-delay;
119
+ }
120
+ }
121
+
122
+ .switch-handle {
123
+ background: @color-white;
124
+ border-radius: @border-radius-round;
125
+ height: @switch-height - @switch-padding * 2;
126
+ left: @switch-padding;
127
+ position: absolute;
128
+ top: @switch-padding;
129
+ transition: all @switch-animation-time ease;
130
+ width: @switch-height - @switch-padding * 2;
131
+
132
+ &:before {
133
+ background: @gray-lighter;
134
+ border-radius: @border-radius-round;
135
+ content: '';
136
+ height: @switch-height * 0.5;
137
+ left: 50%;
138
+ margin: -(@switch-height * 0.25) 0 0 -(@switch-height * 0.25);
139
+ position: absolute;
140
+ top: 50%;
141
+ width: @switch-height * 0.5;
142
+ }
143
+ }
144
+ }
145
+ }