@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,458 @@
1
+ // RIO FONT
2
+ & when (@font-source-sans = true) {
3
+ @fontSourceSansPro: "source-sans-pro";
4
+
5
+ @font-face {
6
+ font-family: 'Source Sans Pro';
7
+ font-style: normal;
8
+ font-weight: @font-thin;
9
+ src: url('@{cdnBase}/@{fontBase}/@{fontSourceSansPro}/source-sans-pro-200.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
10
+ url('@{cdnBase}/@{fontBase}/@{fontSourceSansPro}/source-sans-pro-200.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
11
+ }
12
+
13
+ @font-face {
14
+ font-family: 'Source Sans Pro';
15
+ font-style: italic;
16
+ font-weight: @font-thin;
17
+ src: url('@{cdnBase}/@{fontBase}/@{fontSourceSansPro}/source-sans-pro-200italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
18
+ url('@{cdnBase}/@{fontBase}/@{fontSourceSansPro}/source-sans-pro-200italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
19
+ }
20
+
21
+ @font-face {
22
+ font-family: 'Source Sans Pro';
23
+ font-style: normal;
24
+ font-weight: @font-light;
25
+ src: url('@{cdnBase}/@{fontBase}/@{fontSourceSansPro}/source-sans-pro-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
26
+ url('@{cdnBase}/@{fontBase}/@{fontSourceSansPro}/source-sans-pro-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
27
+ }
28
+
29
+ @font-face {
30
+ font-family: 'Source Sans Pro';
31
+ font-style: italic;
32
+ font-weight: @font-light;
33
+ src: url('@{cdnBase}/@{fontBase}/@{fontSourceSansPro}/source-sans-pro-300italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
34
+ url('@{cdnBase}/@{fontBase}/@{fontSourceSansPro}/source-sans-pro-300italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
35
+ }
36
+
37
+ @font-face {
38
+ font-family: 'Source Sans Pro';
39
+ font-style: normal;
40
+ font-weight: @font-normal;
41
+ src: url('@{cdnBase}/@{fontBase}/@{fontSourceSansPro}/source-sans-pro-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
42
+ url('@{cdnBase}/@{fontBase}/@{fontSourceSansPro}/source-sans-pro-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
43
+ }
44
+
45
+ @font-face {
46
+ font-family: 'Source Sans Pro';
47
+ font-style: italic;
48
+ font-weight: @font-normal;
49
+ src: url('@{cdnBase}/@{fontBase}/@{fontSourceSansPro}/source-sans-pro-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
50
+ url('@{cdnBase}/@{fontBase}/@{fontSourceSansPro}/source-sans-pro-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
51
+ }
52
+
53
+ @font-face {
54
+ font-family: 'Source Sans Pro';
55
+ font-style: normal;
56
+ font-weight: @font-medium;
57
+ src: url('@{cdnBase}/@{fontBase}/@{fontSourceSansPro}/source-sans-pro-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
58
+ url('@{cdnBase}/@{fontBase}/@{fontSourceSansPro}/source-sans-pro-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
59
+ }
60
+
61
+ @font-face {
62
+ font-family: 'Source Sans Pro';
63
+ font-style: italic;
64
+ font-weight: @font-medium;
65
+ src: url('@{cdnBase}/@{fontBase}/@{fontSourceSansPro}/source-sans-pro-600italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
66
+ url('@{cdnBase}/@{fontBase}/@{fontSourceSansPro}/source-sans-pro-600italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
67
+ }
68
+
69
+ @font-face {
70
+ font-family: 'Source Sans Pro';
71
+ font-style: normal;
72
+ font-weight: @font-bold;
73
+ src: url('@{cdnBase}/@{fontBase}/@{fontSourceSansPro}/source-sans-pro-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
74
+ url('@{cdnBase}/@{fontBase}/@{fontSourceSansPro}/source-sans-pro-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
75
+ }
76
+
77
+ @font-face {
78
+ font-family: 'Source Sans Pro';
79
+ font-style: italic;
80
+ font-weight: @font-bold;
81
+ src: url('@{cdnBase}/@{fontBase}/@{fontSourceSansPro}/source-sans-pro-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
82
+ url('@{cdnBase}/@{fontBase}/@{fontSourceSansPro}/source-sans-pro-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
83
+ }
84
+ }
85
+
86
+ // MAN FONT
87
+ & when (@font-man = true) {
88
+ @fontMan: "maneurope";
89
+
90
+ @font-face {
91
+ font-family: 'MANEuropeLight';
92
+ font-style: normal;
93
+ font-weight: @font-normal;
94
+ src: url('@{cdnBase}/@{fontBase}/@{fontMan}/maneurope-light.woff2') format('woff2'),
95
+ url('@{cdnBase}/@{fontBase}/@{fontMan}/maneurope-light.woff') format('woff');
96
+ }
97
+
98
+ @font-face {
99
+ font-family: 'MANEuropeCondensed';
100
+ font-style: normal;
101
+ font-weight: @font-normal;
102
+ src: url('@{cdnBase}/@{fontBase}/@{fontMan}/maneuropecondensed-regular.woff2') format('woff2'),
103
+ url('@{cdnBase}/@{fontBase}/@{fontMan}/maneuropecondensed-regular.woff') format('woff');
104
+ }
105
+
106
+ @font-face {
107
+ font-family: 'MANEuropeCondensed';
108
+ font-style: normal;
109
+ font-weight: @font-bold;
110
+ src: url('@{cdnBase}/@{fontBase}/@{fontMan}/maneuropecondensed-bold.woff2') format('woff2'),
111
+ url('@{cdnBase}/@{fontBase}/@{fontMan}/maneuropecondensed-bold.woff') format('woff');
112
+ }
113
+
114
+ }
115
+
116
+ // RedRing FONT
117
+ & when (@font-redring = true) {
118
+ @fontRedRingBold: "red-ring-bold";
119
+
120
+ @font-face {
121
+ font-family: 'Red Ring Bold';
122
+ font-style: normal;
123
+ font-weight: 500;
124
+ src: url('@{cdnBase}/@{fontBase}/@{fontRedRingBold}/red-ring-bold.woff') format('woff');
125
+ }
126
+ }
127
+
128
+ // VW FONT
129
+ & when (@font-vw = true) {
130
+ @fontVWAG: "VWAG_TheSans_Web";
131
+
132
+ @font-face {
133
+ font-family: 'VWAGTheSans';
134
+ font-style: normal;
135
+ font-weight: @font-light;
136
+ src: url('@{cdnBase}/@{fontBase}/@{fontVWAG}/VWAGTheSans-Light.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
137
+ url('@{cdnBase}/@{fontBase}/@{fontVWAG}/VWAGTheSans-Light.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
138
+ }
139
+
140
+ @font-face {
141
+ font-family: 'VWAGTheSans';
142
+ font-style: normal;
143
+ font-weight: @font-normal;
144
+ src: url('@{cdnBase}/@{fontBase}/@{fontVWAG}/VWAGTheSans-Regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
145
+ url('@{cdnBase}/@{fontBase}/@{fontVWAG}/VWAGTheSans-Regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
146
+ }
147
+
148
+ @font-face {
149
+ font-family: 'VWAGTheSans';
150
+ font-style: italic;
151
+ font-weight: @font-normal;
152
+ src: url('@{cdnBase}/@{fontBase}/@{fontVWAG}/VWAGTheSans-Italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
153
+ url('@{cdnBase}/@{fontBase}/@{fontVWAG}/VWAGTheSans-Italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
154
+ }
155
+
156
+ @font-face {
157
+ font-family: 'VWAGTheSans';
158
+ font-style: normal;
159
+ font-weight: @font-bold;
160
+ src: url('@{cdnBase}/@{fontBase}/@{fontVWAG}/VWAGTheSans-Bold.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
161
+ url('@{cdnBase}/@{fontBase}/@{fontVWAG}/VWAGTheSans-Bold.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
162
+ }
163
+ }
164
+
165
+ // SCANIA FONT
166
+ & when (@font-scania = true) {
167
+ @fontSCANIA: 'https://cdn.digitaldesign.scania.com/fonts/scania-sans/1.0.0';
168
+
169
+ @font-face {
170
+ font-family: 'Scania Sans';
171
+ font-weight: bold;
172
+ unicode-range: U+0400-04FF;
173
+ src: url('@{fontSCANIA}/cyrillic/ScaniaSansCY-Bold.woff') format('woff')
174
+ }
175
+
176
+ @font-face {
177
+ font-family: 'Scania Sans';
178
+ font-style: italic;
179
+ unicode-range: U+0400-04FF;
180
+ src: url('@{fontSCANIA}/cyrillic/ScaniaSansCY-Italic.woff') format('woff')
181
+ }
182
+
183
+ @font-face {
184
+ font-family: 'Scania Sans';
185
+ unicode-range: U+0400-04FF;
186
+ src: url('@{fontSCANIA}/cyrillic/ScaniaSansCY-Regular.woff') format('woff')
187
+ }
188
+
189
+ @font-face {
190
+ font-family: 'Scania Sans Condensed';
191
+ font-weight: bold;
192
+ unicode-range: U+0400-04FF;
193
+ src: url('@{fontSCANIA}/cyrillic/ScaniaSansCYCondensed-Bold.woff') format('woff')
194
+ }
195
+
196
+ @font-face {
197
+ font-family: 'Scania Sans Condensed';
198
+ font-style: italic;
199
+ unicode-range: U+0400-04FF;
200
+ src: url('@{fontSCANIA}/cyrillic/ScaniaSansCYCondensed-Italic.woff') format('woff')
201
+ }
202
+
203
+ @font-face {
204
+ font-family: 'Scania Sans Condensed';
205
+ unicode-range: U+0400-04FF;
206
+ src: url('@{fontSCANIA}/cyrillic/ScaniaSansCYCondensed-Regular.woff') format('woff')
207
+ }
208
+
209
+ @font-face {
210
+ font-family: 'Scania Sans Headline';
211
+ font-weight: bold;
212
+ unicode-range: U+0400-04FF;
213
+ src: url('@{fontSCANIA}/cyrillic/ScaniaSansCYHeadline-Bold.woff') format('woff')
214
+ }
215
+
216
+ @font-face {
217
+ font-family: 'Scania Sans Headline';
218
+ unicode-range: U+0400-04FF;
219
+ src: url('@{fontSCANIA}/cyrillic/ScaniaSansCYHeadline-Regular.woff') format('woff')
220
+ }
221
+
222
+ @font-face {
223
+ font-family: 'Scania Sans Semi Condensed';
224
+ font-weight: bold;
225
+ unicode-range: U+0400-04FF;
226
+ src: url('@{fontSCANIA}/cyrillic/ScaniaSansCYSemiCondensed-Bold.woff') format('woff')
227
+ }
228
+
229
+ @font-face {
230
+ font-family: 'Scania Sans Semi Condensed';
231
+ font-style: italic;
232
+ unicode-range: U+0400-04FF;
233
+ src: url('@{fontSCANIA}/cyrillic/ScaniaSansCYSemiCondensed-Italic.woff') format('woff')
234
+ }
235
+
236
+ @font-face {
237
+ font-family: 'Scania Sans Semi Condensed';
238
+ unicode-range: U+0400-04FF;
239
+ src: url('@{fontSCANIA}/cyrillic/ScaniaSansCYSemiCondensed-Regular.woff') format('woff')
240
+ }
241
+
242
+ @font-face {
243
+ font-family: 'Scania Sans';
244
+ font-weight: bold;
245
+ src: url('@{fontSCANIA}/latin/ScaniaSans-Bold.woff') format('woff')
246
+ }
247
+
248
+ @font-face {
249
+ font-family: 'Scania Sans';
250
+ font-style: italic;
251
+ src: url('@{fontSCANIA}/latin/ScaniaSans-Italic.woff') format('woff')
252
+ }
253
+
254
+ @font-face {
255
+ font-family: 'Scania Sans';
256
+ src: url('@{fontSCANIA}/latin/ScaniaSans-Regular.woff') format('woff')
257
+ }
258
+
259
+ @font-face {
260
+ font-family: 'Scania Sans Condensed';
261
+ font-weight: bold;
262
+ src: url('@{fontSCANIA}/latin/ScaniaSansCondensed-Bold.woff') format('woff')
263
+ }
264
+
265
+ @font-face {
266
+ font-family: 'Scania Sans Condensed';
267
+ font-style: italic;
268
+ src: url('@{fontSCANIA}/latin/ScaniaSansCondensed-Italic.woff') format('woff')
269
+ }
270
+
271
+ @font-face {
272
+ font-family: 'Scania Sans Condensed';
273
+ src: url('@{fontSCANIA}/latin/ScaniaSansCondensed-Regular.woff') format('woff')
274
+ }
275
+
276
+ @font-face {
277
+ font-family: 'Scania Sans Headline';
278
+ font-weight: bold;
279
+ src: url('@{fontSCANIA}/latin/ScaniaSansHeadline-Bold.woff') format('woff')
280
+ }
281
+
282
+ @font-face {
283
+ font-family: 'Scania Sans Headline';
284
+ src: url('@{fontSCANIA}/latin/ScaniaSansHeadline-Regular.woff') format('woff')
285
+ }
286
+
287
+ @font-face {
288
+ font-family: 'Scania Sans Semi Condensed';
289
+ font-weight: bold;
290
+ src: url('@{fontSCANIA}/latin/ScaniaSansSemiCondensed-Bold.woff') format('woff')
291
+ }
292
+
293
+ @font-face {
294
+ font-family: 'Scania Sans Semi Condensed';
295
+ font-style: italic;
296
+ src: url('@{fontSCANIA}/latin/ScaniaSansSemiCondensed-Italic.woff') format('woff')
297
+ }
298
+
299
+ @font-face {
300
+ font-family: 'Scania Sans Semi Condensed';
301
+ src: url('@{fontSCANIA}/latin/ScaniaSansSemiCondensed-Regular.woff') format('woff')
302
+ }
303
+ }
304
+
305
+ // IOS FONT
306
+ & when (@font-san-francisco = true) {
307
+ @fontIos: "sf-ui-text";
308
+
309
+ @font-face {
310
+ font-family: "SF Text";
311
+ font-weight: @font-thin;
312
+ src: url('@{cdnBase}/@{fontBase}/@{fontIos}/sf-Ultrathin.otf')
313
+ }
314
+
315
+ @font-face {
316
+ font-family: "SF Text";
317
+ font-weight: @font-thin;
318
+ font-style: italic;
319
+ src: url('@{cdnBase}/@{fontBase}/@{fontIos}/sf-UltrathinItalic.otf')
320
+ }
321
+
322
+ @font-face {
323
+ font-family: "SF Text";
324
+ font-weight: @font-light;
325
+ src: url('@{cdnBase}/@{fontBase}/@{fontIos}/sf-Light.otf')
326
+ }
327
+
328
+ @font-face {
329
+ font-family: "SF Text";
330
+ font-weight: @font-light;
331
+ font-style: italic;
332
+ src: url('@{cdnBase}/@{fontBase}/@{fontIos}/sf-LightItalic.otf')
333
+ }
334
+
335
+ @font-face {
336
+ font-family: "SF Text";
337
+ font-weight: @font-normal;
338
+ src: url('@{cdnBase}/@{fontBase}/@{fontIos}/sf-Regular.otf')
339
+ }
340
+
341
+ @font-face {
342
+ font-family: "SF Text";
343
+ font-weight: @font-normal;
344
+ font-style: italic;
345
+ src: url('@{cdnBase}/@{fontBase}/@{fontIos}/sf-RegularItalic.otf')
346
+ }
347
+
348
+ @font-face {
349
+ font-family: "SF Text";
350
+ font-weight: @font-medium;
351
+ src: url('@{cdnBase}/@{fontBase}/@{fontIos}/sf-Semibold.otf')
352
+ }
353
+
354
+ @font-face {
355
+ font-family: "SF Text";
356
+ font-weight: @font-medium;
357
+ font-style: italic;
358
+ src: url('@{cdnBase}/@{fontBase}/@{fontIos}/sf-SemiboldItalic.otf')
359
+ }
360
+
361
+ @font-face {
362
+ font-family: "SF Text";
363
+ font-weight: @font-bold;
364
+ src: url('@{cdnBase}/@{fontBase}/@{fontIos}/sf-Bold.otf')
365
+ }
366
+
367
+ @font-face {
368
+ font-family: "SF Text";
369
+ font-weight: @font-bold;
370
+ font-style: italic;
371
+ src: url('@{cdnBase}/@{fontBase}/@{fontIos}/sf-BoldItalic.otf')
372
+ }
373
+ }
374
+
375
+ // Android Font
376
+ & when (@font-roboto = true) {
377
+ @fontAndroid: "roboto";
378
+
379
+ @font-face {
380
+ font-family: 'Roboto';
381
+ font-style: normal;
382
+ font-weight: @font-thin;
383
+ src: url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-100.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
384
+ url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-100.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
385
+ }
386
+
387
+ @font-face {
388
+ font-family: 'Roboto';
389
+ font-style: italic;
390
+ font-weight: @font-thin;
391
+ src: url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-100italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
392
+ url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-100italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
393
+ }
394
+
395
+ @font-face {
396
+ font-family: 'Roboto';
397
+ font-style: normal;
398
+ font-weight: @font-light;
399
+ src: url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
400
+ url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
401
+ }
402
+
403
+ @font-face {
404
+ font-family: 'Roboto';
405
+ font-style: italic;
406
+ font-weight: @font-light;
407
+ src: url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-300italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
408
+ url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-300italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
409
+ }
410
+
411
+ @font-face {
412
+ font-family: 'Roboto';
413
+ font-style: normal;
414
+ font-weight: @font-normal;
415
+ src: url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
416
+ url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
417
+ }
418
+
419
+ @font-face {
420
+ font-family: 'Roboto';
421
+ font-style: italic;
422
+ font-weight: @font-normal;
423
+ src: url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
424
+ url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
425
+ }
426
+
427
+ @font-face {
428
+ font-family: 'Roboto';
429
+ font-style: normal;
430
+ font-weight: @font-medium;
431
+ src: url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
432
+ url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
433
+ }
434
+
435
+ @font-face {
436
+ font-family: 'Roboto';
437
+ font-style: italic;
438
+ font-weight: @font-medium;
439
+ src: url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-600italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
440
+ url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-600italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
441
+ }
442
+
443
+ @font-face {
444
+ font-family: 'Roboto';
445
+ font-style: normal;
446
+ font-weight: @font-bold;
447
+ src: url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
448
+ url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
449
+ }
450
+
451
+ @font-face {
452
+ font-family: 'Roboto';
453
+ font-style: italic;
454
+ font-weight: @font-bold;
455
+ src: url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
456
+ url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
457
+ }
458
+ }
@@ -0,0 +1,245 @@
1
+ @input-group-addon-bg: @color-white;
2
+ @input-group-addon-border-color: @input-border;
3
+
4
+ .input-group {
5
+ border-collapse: unset;
6
+ display: flex;
7
+ position: relative;
8
+ align-items: center;
9
+
10
+ .form-control,
11
+ .form-control-feedback-wrapper {
12
+ z-index: 0;
13
+ width: 0;
14
+ display: block;
15
+ flex: 1 1 auto;
16
+
17
+ .form-control {
18
+ width: 100%;
19
+ }
20
+ }
21
+
22
+ .input-group-addon {
23
+ .input-size(
24
+ @input-height-base;
25
+ @padding-default-vertical;
26
+ @padding-default-horizontal;
27
+ @font-size-default;
28
+ @line-height-default;
29
+ @border-radius-default
30
+ );
31
+
32
+ align-items: center;
33
+ background-color: @input-group-addon-bg;
34
+ border: 1px solid @input-group-addon-border-color;
35
+ color: @gray-dark;
36
+ display: flex;
37
+ justify-content: center;
38
+ width: auto;
39
+
40
+ .AutoSuggest & {
41
+ &:not(:first-child):not(:last-child) {
42
+ border-left: none;
43
+ border-right: none;
44
+ padding-left: 0;
45
+ }
46
+ }
47
+
48
+ &.input-group-addon-label {
49
+ text-transform: uppercase;
50
+ background-color: @gray-lightest;
51
+ }
52
+
53
+ &:first-child {
54
+ &:not(.input-group-addon-label) {
55
+ background-color: transparent;
56
+ border: none;
57
+ left: 0;
58
+ padding: 0;
59
+ position: absolute;
60
+ text-align: center;
61
+ top: 0;
62
+ width: 32px;
63
+ z-index: 4;
64
+ }
65
+ }
66
+
67
+ &:last-child {
68
+ .input-size(
69
+ @input-height-base;
70
+ @padding-default-vertical;
71
+ @padding-default-horizontal;
72
+ @font-size-default;
73
+ @line-height-default;
74
+ @border-radius-default
75
+ );
76
+
77
+ border-right: none;
78
+ box-shadow: 1px 0 0 0 @input-border;
79
+ position: relative;
80
+ transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
81
+
82
+ // remove left border of addons
83
+ &:not(.input-group-addon-label) {
84
+ padding-left: 0 !important;
85
+ transform: translateX(-2px);
86
+ margin-right: -1px;
87
+
88
+ // Different feedback coloring
89
+ each(@colors-forms-map, {
90
+ .form-group.has-@{key} & {
91
+ box-shadow: 1px 0 0 0 @value;
92
+ }
93
+ })
94
+
95
+ .form-group.has-feedback & {
96
+ background: @input-bg;
97
+ }
98
+ }
99
+
100
+
101
+ }
102
+
103
+ &:not(.input-group-addon-label) {
104
+ + .form-control, + .form-control-feedback-wrapper .form-control {
105
+ padding-left: 30px;
106
+ }
107
+ }
108
+
109
+ > .rioglyph {
110
+ color: lighten(@gray-dark, 5%);
111
+ font-size: 18px;
112
+ }
113
+ }
114
+
115
+ // small
116
+ &.input-group-sm,
117
+ .form-group-sm & {
118
+ .input-group-addon {
119
+ .input-sm();
120
+
121
+ > .rioglyph {
122
+ font-size: 14px;
123
+ }
124
+ }
125
+ }
126
+
127
+ &.input-group-sm {
128
+ > .form-control,
129
+ > .input-group-addon,
130
+ > .input-group-btn > .btn {
131
+ .input-sm();
132
+ }
133
+ }
134
+
135
+ // large
136
+ &.input-group-lg,
137
+ .form-group-lg & {
138
+ .input-group-addon {
139
+ .input-lg();
140
+
141
+ > .rioglyph {
142
+ font-size: 20px;
143
+ }
144
+
145
+ &:first-child {
146
+ width: 40px;
147
+ }
148
+
149
+ + .form-control {
150
+ padding-left: 40px;
151
+ }
152
+ }
153
+ }
154
+
155
+ &.input-group-lg {
156
+ > .form-control,
157
+ > .input-group-addon,
158
+ > .input-group-btn > .btn {
159
+ .input-lg();
160
+ }
161
+ }
162
+
163
+ .input-group-btn {
164
+ width: auto;
165
+
166
+ &:first-child {
167
+ > .btn,
168
+ > .btn-group {
169
+ margin-right: -2px;
170
+ }
171
+ }
172
+ }
173
+ }
174
+
175
+ .input-group-btn {
176
+ > .btn {
177
+ position: relative;
178
+
179
+ + .btn {
180
+ margin-left: -1px;
181
+ }
182
+
183
+ &:hover,
184
+ &:focus,
185
+ &:active {
186
+ z-index: 10;
187
+ }
188
+ }
189
+
190
+ &:first-child {
191
+ > .btn,
192
+ > .btn-group {
193
+ margin-right: -1px;
194
+ }
195
+ }
196
+
197
+ &:last-child {
198
+ > .btn,
199
+ > .btn-group {
200
+ margin-left: -1px;
201
+ z-index: 10;
202
+ }
203
+ }
204
+ }
205
+
206
+ // Reset rounded corners right
207
+ .input-group-addon:first-child { border-right: 0 }
208
+
209
+ .input-group-addon:first-child,
210
+ .input-group-btn:first-child > .btn,
211
+ .input-group-btn:first-child > .btn-group > .btn,
212
+ .input-group-btn:first-child > .select > .form-control,
213
+ .input-group-btn:first-child > .dropdown-toggle,
214
+ .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
215
+ .input-group-btn:last-child > .btn-group:not(:last-child) > .btn,
216
+ .input-group-addon + .form-control:not(:last-child),
217
+ .input-group-addon + .form-control-feedback-wrapper:not(:last-child) .form-control,
218
+ .input-group:not(.ClearableInput) > .form-control:nth-child(1):not(:last-child),
219
+ .input-group:not(.ClearableInput) > .form-control-feedback-wrapper:first-child:not(:last-child) .form-control,
220
+ .input-group > .ClearableInput:not(:last-child) > .form-control,
221
+ .input-group .input-group-addon + .AutoSuggest .ClearableInput > .form-control,
222
+ .input-group .AutoSuggest:not(:last-child) .ClearableInput > .form-control,
223
+ .AutoSuggest .ClearableInput + .input-group-addon:not(:last-child) {
224
+ border-top-right-radius: 0 !important;
225
+ border-bottom-right-radius: 0 !important;
226
+ }
227
+
228
+ // Reset rounded corners left
229
+ .input-group-addon:last-child { border-left: 0 }
230
+
231
+ .input-group .input-group-btn + .form-control:last-child,
232
+ .input-group-addon-label + .form-control,
233
+ .input-group-addon-label + .form-control-feedback-wrapper .form-control,
234
+ .input-group-addon:last-child,
235
+ .input-group-btn:last-child > .btn,
236
+ .input-group-btn:last-child > .btn-group > .btn,
237
+ .input-group-btn:last-child > .select > .form-control,
238
+ .input-group-btn:last-child > .dropdown-toggle,
239
+ .input-group-btn:first-child > .btn:not(:first-child),
240
+ .input-group-btn:first-child > .btn-group:not(:first-child) > .btn,
241
+ .input-group .AutoSuggest:last-child .ClearableInput > .form-control,
242
+ .AutoSuggest .ClearableInput + .input-group-addon:not(:last-child) {
243
+ border-top-left-radius: 0 !important;
244
+ border-bottom-left-radius: 0 !important;
245
+ }