@rio-cloud/rio-uikit 0.15.1 → 0.16.0-beta-1

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 (186) hide show
  1. package/README.md +46 -3
  2. package/lib/components/actionBarItem/ActionBarItem.js +4 -4
  3. package/lib/components/actionBarItem/ActionBarItemPopoverContent.js +43 -0
  4. package/lib/components/actionBarItem/ActionBarOverlay.js +8 -3
  5. package/lib/components/applicationHeader/AppMenuDropdown.js +9 -13
  6. package/lib/components/applicationLayout/ApplicationLayout.js +2 -0
  7. package/lib/components/applicationLayout/ApplicationLayoutBody.js +5 -3
  8. package/lib/components/assetTree/AssetTree.js +1 -1
  9. package/lib/components/assetTree/Tree.js +2 -2
  10. package/lib/components/assetTree/TreeLeaf.js +9 -9
  11. package/lib/components/bottomSheet/BottomSheet.js +11 -7
  12. package/lib/components/carousel/Carousel.js +7 -426
  13. package/lib/components/checkbox/Checkbox.js +4 -4
  14. package/lib/components/datepicker/DatePicker.js +15 -6
  15. package/lib/components/dropdown/ButtonDropdown.js +8 -11
  16. package/lib/components/listMenu/ListMenu.js +40 -23
  17. package/lib/components/numberInput/NumberInput.js +6 -6
  18. package/lib/components/onboarding/OnboardingTip.js +9 -9
  19. package/lib/components/states/NotBookedState.js +2 -2
  20. package/lib/components/table/TableSettingsDialogFooter.js +1 -1
  21. package/lib/components/teaser/Teaser.js +1 -1
  22. package/lib/components/teaser/TeaserContainer.js +8 -8
  23. package/lib/components/tooltip/Tooltip.js +4 -4
  24. package/lib/es/DeviceUtils.d.ts +4 -2
  25. package/lib/es/deviceUtils.js +12 -0
  26. package/lib/hooks/useClipboard.js +2 -2
  27. package/lib/style/css/_exports/man-uikit.less +7 -5
  28. package/lib/style/css/_exports/rio-buyButton.less +30 -41
  29. package/lib/style/css/_exports/rio-uikit-core.less +105 -127
  30. package/lib/style/css/_exports/rio-uikit-print-utilities.less +6 -11
  31. package/lib/style/css/_exports/rio-uikit-responsive-utilities.less +6 -11
  32. package/lib/style/css/_exports/rio-uikit.less +5 -4
  33. package/lib/style/css/_exports/rio-website.less +35 -13
  34. package/lib/style/css/_exports/vw-uikit.less +10 -8
  35. package/lib/style/css/animations/_imports.less +9 -0
  36. package/lib/style/css/animations/collapse.less +16 -0
  37. package/lib/style/css/animations/fade.less +28 -0
  38. package/lib/style/css/animations/pinging.less +7 -0
  39. package/lib/style/css/animations/rotate.less +52 -0
  40. package/lib/style/css/animations/scale.less +35 -0
  41. package/lib/style/css/animations/slide.less +39 -0
  42. package/lib/style/css/animations/spinning.less +4 -0
  43. package/lib/style/css/animations/transition.less +129 -0
  44. package/lib/style/css/animations/translate.less +28 -0
  45. package/lib/style/css/components/Activity.less +93 -0
  46. package/lib/style/css/components/ApplicationHeader.less +438 -0
  47. package/lib/style/css/components/ApplicationLayout.less +236 -0
  48. package/lib/style/css/components/AssetTree.less +443 -0
  49. package/lib/style/css/components/AutoSuggest.less +22 -0
  50. package/lib/style/css/components/BottomSheet.less +14 -0
  51. package/lib/style/css/components/Carousel.less +212 -0
  52. package/lib/style/css/components/Checkbox.less +224 -0
  53. package/lib/style/css/components/ClearableInput.less +115 -0
  54. package/lib/style/css/components/Counter.less +142 -0
  55. package/lib/style/css/components/DataTabs.less +100 -0
  56. package/lib/style/css/components/DatePicker.less +391 -0
  57. package/lib/style/css/components/Dialog.less +482 -0
  58. package/lib/style/css/components/Dropdown.less +186 -0
  59. package/lib/style/css/components/Expander.less +196 -0
  60. package/lib/style/css/components/FilePicker.less +8 -0
  61. package/lib/style/css/components/ListMenu.less +77 -0
  62. package/lib/style/css/components/MapHere.less +91 -0
  63. package/lib/style/css/components/MapMarker.less +347 -0
  64. package/lib/style/css/components/MapSettings.less +140 -0
  65. package/lib/style/css/components/NoData.less +8 -0
  66. package/lib/style/css/components/Notification.less +234 -0
  67. package/lib/style/css/components/RadioButton.less +173 -0
  68. package/lib/style/css/components/Resizer.less +43 -0
  69. package/lib/style/css/components/Select.less +274 -0
  70. package/lib/style/css/components/Sidebar.less +157 -0
  71. package/lib/style/css/components/Slider.less +278 -0
  72. package/lib/style/css/components/Spinner.less +49 -0
  73. package/lib/style/css/components/StatsWidget.less +111 -0
  74. package/lib/style/css/components/SteppedProgressBar.less +323 -0
  75. package/lib/style/css/components/SupportMarker.less +34 -0
  76. package/lib/style/css/components/Switch.less +145 -0
  77. package/lib/style/css/components/TableSettingsDialog.less +96 -0
  78. package/lib/style/css/components/TableSortArrows.less +54 -0
  79. package/lib/style/css/components/Tag.less +246 -0
  80. package/lib/style/css/components/TagManager.less +4 -0
  81. package/lib/style/css/components/Teaser.less +12 -0
  82. package/lib/style/css/components/Timeline.less +69 -0
  83. package/lib/style/css/components/Tooltip.less +230 -0
  84. package/lib/style/css/design/alerts.less +55 -0
  85. package/lib/style/css/design/aspect-ratio.less +23 -0
  86. package/lib/style/css/design/badges.less +120 -0
  87. package/lib/style/css/design/blockquote.less +49 -0
  88. package/lib/style/css/design/border.less +192 -0
  89. package/lib/style/css/design/breadcrumbs.less +20 -0
  90. package/lib/style/css/design/button-groups.less +194 -0
  91. package/lib/style/css/design/buttons.less +540 -0
  92. package/lib/style/css/design/callouts.less +27 -0
  93. package/lib/style/css/design/caret.less +28 -0
  94. package/lib/style/css/design/close.less +12 -0
  95. package/lib/style/css/design/code.less +45 -0
  96. package/lib/style/css/design/colors.less +202 -0
  97. package/lib/style/css/design/cols.less +56 -0
  98. package/lib/style/css/design/container.less +29 -0
  99. package/lib/style/css/design/cursors.less +19 -0
  100. package/lib/style/css/design/custom.less +20 -0
  101. package/lib/style/css/design/ellipsis.less +46 -0
  102. package/lib/style/css/design/flexgrid.less +7 -0
  103. package/lib/style/css/design/fonts.less +318 -0
  104. package/lib/style/css/design/form-input-groups.less +245 -0
  105. package/lib/style/css/design/form-inputs.less +655 -0
  106. package/lib/style/css/design/iframe.less +80 -0
  107. package/lib/style/css/design/images.less +47 -0
  108. package/lib/style/css/design/labels.less +66 -0
  109. package/lib/style/css/design/list-group.less +95 -0
  110. package/lib/style/css/design/navs.less +254 -0
  111. package/lib/style/css/design/normalize.less +436 -0
  112. package/lib/style/css/design/opacity.less +26 -0
  113. package/lib/style/css/design/overflow.less +1 -0
  114. package/lib/style/css/design/pagination.less +161 -0
  115. package/lib/style/css/design/panels.less +105 -0
  116. package/lib/style/css/design/popovers.less +117 -0
  117. package/lib/style/css/design/position.less +16 -0
  118. package/lib/style/css/design/progress-bars.less +131 -0
  119. package/lib/style/css/design/responsive/_imports.less +68 -0
  120. package/lib/style/css/design/responsive/backgrounds.less +32 -0
  121. package/lib/style/css/design/responsive/display.less +9 -0
  122. package/lib/style/css/design/responsive/flexgrid.less +75 -0
  123. package/lib/style/css/design/responsive/floating.less +4 -0
  124. package/lib/style/css/design/responsive/gap.less +41 -0
  125. package/lib/style/css/design/responsive/hyphens.less +14 -0
  126. package/lib/style/css/design/responsive/margin.less +127 -0
  127. package/lib/style/css/design/responsive/overflow.less +16 -0
  128. package/lib/style/css/design/responsive/padding.less +71 -0
  129. package/lib/style/css/design/responsive/position.less +102 -0
  130. package/lib/style/css/design/responsive/sizing.less +115 -0
  131. package/lib/style/css/design/responsive/text.less +71 -0
  132. package/lib/style/css/design/responsive/visibility.less +115 -0
  133. package/lib/style/css/design/responsive-embed.less +31 -0
  134. package/lib/style/css/design/responsive-video.less +22 -0
  135. package/lib/style/css/design/rioglyph.less +24 -0
  136. package/lib/style/css/design/rounded.less +44 -0
  137. package/lib/style/css/design/shadows.less +65 -0
  138. package/lib/style/css/design/tables.less +976 -0
  139. package/lib/style/css/design/text.less +201 -0
  140. package/lib/style/css/design/theme.less +200 -0
  141. package/lib/style/css/design/thumbnails.less +29 -0
  142. package/lib/style/css/design/transition.less +33 -0
  143. package/lib/style/css/design/type.less +159 -0
  144. package/lib/style/css/design/utilities.less +75 -0
  145. package/lib/style/css/design/visibilty.less +38 -0
  146. package/lib/style/css/design/wells.less +17 -0
  147. package/lib/style/css/design/z-index.less +21 -0
  148. package/lib/style/css/mapping/breakpoint-map.less +44 -0
  149. package/lib/style/css/mapping/color-map.less +200 -0
  150. package/lib/style/css/mapping/cols-map.less +15 -0
  151. package/lib/style/css/mapping/numbers-map.less +16 -0
  152. package/lib/style/css/mapping/positions-map.less +21 -0
  153. package/lib/style/css/mapping/sizes-map.less +129 -0
  154. package/lib/style/css/mapping/spacings-map.less +28 -0
  155. package/lib/style/css/mixins/_mixins.less +13 -0
  156. package/lib/style/css/mixins/alerts.less +13 -0
  157. package/lib/style/css/mixins/border-radius.less +16 -0
  158. package/lib/style/css/mixins/buttons.less +117 -0
  159. package/lib/style/css/mixins/clearfix.less +9 -0
  160. package/lib/style/css/mixins/cols.less +59 -0
  161. package/lib/style/css/mixins/forms.less +61 -0
  162. package/lib/style/css/mixins/panels.less +27 -0
  163. package/lib/style/css/mixins/placeholder.less +17 -0
  164. package/lib/style/css/mixins/reset.less +27 -0
  165. package/lib/style/css/mixins/sizings.less +21 -0
  166. package/lib/style/css/mixins/spinner.less +30 -0
  167. package/lib/style/css/mixins/table.less +26 -0
  168. package/lib/style/css/mixins/tabs.less +4 -0
  169. package/lib/style/css/mixins/text.less +5 -0
  170. package/lib/style/css/print/print.less +1 -4
  171. package/lib/style/css/rio-theme/alerts.less +23 -61
  172. package/lib/style/css/rio-theme/badges.less +16 -28
  173. package/lib/style/css/rio-theme/blockquote.less +14 -97
  174. package/lib/style/css/rio-theme/mixins/alerts.less +13 -1
  175. package/lib/style/css/shared/colors.json +1 -1
  176. package/lib/style/css/shared/colors.less +11 -8
  177. package/lib/style/css/shared/text.less +6 -5
  178. package/lib/style/css/utils/responsive/grid.less +15 -6
  179. package/lib/style/css/variables.less +179 -0
  180. package/lib/style/fonts/rioglyph/rioglyph.less +1 -11
  181. package/lib/types.ts +38 -57
  182. package/lib/utils/buttonEffect.js +3 -1
  183. package/lib/utils/deviceUtils.js +40 -3
  184. package/lib/utils/init.js +22 -7
  185. package/lib/version.json +1 -1
  186. package/package.json +46 -30
@@ -0,0 +1,202 @@
1
+ .bg-muted, .hover-bg-muted:hover { background-color: @gray-lighter !important }
2
+ .bg-default, .hover-bg-default:hover { background-color: @gray-dark !important }
3
+
4
+ // white
5
+ // black
6
+ .bg-white, .hover-bg-white:hover { background-color: @color-white !important }
7
+ .fill-white { fill: @color-white !important }
8
+
9
+ .bg-black, .hover-bg-black:hover { background-color: @color-black !important }
10
+ .fill-black { fill: @color-black !important }
11
+ .bg-black { color: @color-white !important }
12
+
13
+
14
+ // primary
15
+ // secondary
16
+ each(@colors-brand-map, {
17
+ .bg-@{key} {
18
+ color: @color-white !important;
19
+ background-color: @value !important;
20
+ }
21
+ .hover-bg-@{key}:hover {
22
+ background-color: @value !important;
23
+ }
24
+ .fill-@{key} {
25
+ fill: @value !important;
26
+ }
27
+ })
28
+
29
+ // info
30
+ // success
31
+ // warning
32
+ // danger
33
+ each(@colors-status-map, {
34
+ .bg-@{key} {
35
+ color: @color-white !important;
36
+ background-color: @value !important;
37
+ }
38
+ .hover-bg-@{key}:hover {
39
+ background-color: @value !important;
40
+ }
41
+ .fill-@{key} {
42
+ fill: @value !important;
43
+ }
44
+ })
45
+
46
+ // darkest
47
+ // darker
48
+ // dark
49
+ // gray
50
+ // light
51
+ // lighter
52
+ // lightest
53
+ each(@colors-gray-map, {
54
+ .bg-@{key} {
55
+ color: @gray-darkest !important;
56
+ background-color: @value !important;
57
+ }
58
+ .hover-bg-@{key}:hover {
59
+ background-color: @value !important;
60
+ }
61
+ .fill-@{key} {
62
+ fill: @value !important;
63
+ }
64
+ })
65
+ .bg-dark,
66
+ .bg-darker,
67
+ .bg-darkest { color: @color-white !important }
68
+
69
+ // map-marker-asset
70
+ // map-marker-poi
71
+ // map-marker-geofence
72
+ // map-marker-route
73
+ each(@colors-map-marker-map, {
74
+ .bg-@{key} {
75
+ color: @color-white !important;
76
+ background-color: @value !important;
77
+ }
78
+ .hover-bg-@{key}:hover {
79
+ background-color: @value !important;
80
+ }
81
+ .fill-@{key} {
82
+ fill: @value !important;
83
+ }
84
+ })
85
+
86
+ // rating-1
87
+ // rating-2
88
+ // rating-3
89
+ // rating-4
90
+ // rating-5
91
+ each(@colors-rating-map, {
92
+ .bg-@{key} {
93
+ color: @color-white !important;
94
+ background-color: @value !important;
95
+ }
96
+ .hover-bg-@{key}:hover {
97
+ background-color: @value !important;
98
+ }
99
+ .fill-@{key} {
100
+ fill: @value !important;
101
+ }
102
+ })
103
+
104
+ // status-available
105
+ // status-driving
106
+ // status-resting
107
+ // status-working
108
+ each(@colors-driving-status-map, {
109
+ .bg-@{key} {
110
+ color: @color-white !important;
111
+ background-color: @value !important;
112
+ }
113
+ .hover-bg-@{key}:hover {
114
+ background-color: @value !important;
115
+ }
116
+ .fill-@{key} {
117
+ fill: @value !important;
118
+ }
119
+ })
120
+
121
+ // highlight-darkest
122
+ // highlight-darker
123
+ // highlight-dark
124
+ // highlight
125
+ // highlight-light
126
+ // highlight-lighter
127
+ // highlight-lightest
128
+ // highlight-decent
129
+ each(@colors-highlight-map, {
130
+ .bg-@{key} {
131
+ color: @gray-darkest !important;
132
+ background-color: @value !important;
133
+ }
134
+ .hover-bg-@{key}:hover {
135
+ background-color: @value !important;
136
+ }
137
+ .fill-@{key} {
138
+ fill: @value !important;
139
+ }
140
+ })
141
+ .bg-highlight,
142
+ .bg-highlight-dark,
143
+ .bg-highlight-darker,
144
+ .bg-highlight-darkest { color: @color-white !important }
145
+
146
+ // coldplay-wine
147
+ // coldplay-aubergine
148
+ // coldplay-kashmir
149
+ // coldplay-fountain
150
+ // coldplay-turquoise
151
+ // coldplay-bermuda
152
+ // coldplay-moos
153
+ // coldplay-primrose
154
+ // coldplay-khaki
155
+ & when (@buildColdplayColors = true) {
156
+ each(@colors-coldplay-map, {
157
+ .bg-@{key} {
158
+ color: @gray-darkest !important;
159
+ background-color: @value !important;
160
+ }
161
+ .hover-bg-@{key}:hover {
162
+ background-color: @value !important;
163
+ }
164
+ .fill-@{key} {
165
+ fill: @value !important;
166
+ }
167
+ })
168
+ .bg-coldplay-wine,
169
+ .bg-coldplay-aubergine,
170
+ .bg-coldplay-kashmir,
171
+ .bg-coldplay-fountain { color: @color-white !important }
172
+ }
173
+
174
+ // warmup-crimson
175
+ // warmup-victoria
176
+ // warmup-cadillac
177
+ // warmup-raspberry
178
+ // warmup-cerise
179
+ // warmup-charm
180
+ // warmup-salmon
181
+ // warmup-cherokee
182
+ // warmup-corn
183
+ & when (@buildWarmupColors = true) {
184
+ each(@colors-warmup-map, {
185
+ .bg-@{key} {
186
+ color: @gray-darkest !important;
187
+ background-color: @value !important;
188
+ }
189
+ .hover-bg-@{key}:hover {
190
+ background-color: @value !important;
191
+ }
192
+ .fill-@{key} {
193
+ fill: @value !important;
194
+ }
195
+ })
196
+ .bg-warmup-crimson,
197
+ .bg-warmup-victoria,
198
+ .bg-warmup-cadillac,
199
+ .bg-warmup-raspberry,
200
+ .bg-warmup-cerise,
201
+ .bg-warmup-charm { color: @color-white !important }
202
+ }
@@ -0,0 +1,56 @@
1
+ // Row
2
+ .row {
3
+ margin-left: ceil((@grid-gutter-width / -2));
4
+ margin-right: floor((@grid-gutter-width / -2));
5
+ &:extend(.clearfix all);
6
+
7
+ [class*="col-"] {
8
+ position: relative;
9
+ // Prevent columns from collapsing when empty
10
+ min-height: 1px;
11
+ // Inner gutter via padding
12
+ padding-left: ceil((@grid-gutter-width / 2));
13
+ padding-right: floor((@grid-gutter-width / 2));
14
+ //
15
+ float: left;
16
+ }
17
+ }
18
+
19
+ // Columns
20
+ .make-grid-columns();
21
+
22
+ // col-
23
+ .make-grid(~'-');
24
+ .make-grid(~'-xs-'); // BS remains
25
+
26
+ // col-sm
27
+ // col-ls
28
+ // col-md
29
+ // col-lg
30
+ // col-xl
31
+ each(@breakpoint-ls-to-xl, {
32
+ @media (min-width: @value) {
33
+ .make-grid(~'-@{key}-');
34
+ }
35
+ })
36
+
37
+ .no-gutter {
38
+ margin-right: 0;
39
+ margin-left: 0;
40
+
41
+ > [class*='col-'] {
42
+ padding-right: 0;
43
+ padding-left: 0;
44
+ }
45
+ }
46
+
47
+ /* Equal Height */
48
+ .equal-height {
49
+ display: flex;
50
+ flex-wrap: wrap;
51
+
52
+ // for clearfix elements
53
+ &:after {
54
+ content: none
55
+ }
56
+ }
@@ -0,0 +1,29 @@
1
+ .container-fluid, // BS Fallback
2
+ .container {
3
+ margin-right: auto;
4
+ margin-left: auto;
5
+ padding-left: floor((@grid-gutter-width / 2));
6
+ padding-right: ceil((@grid-gutter-width / 2));
7
+ max-width: 100%;
8
+ &:extend(.clearfix all);
9
+
10
+ // fluid-small
11
+ // fluid-default
12
+ // fluid-large
13
+ // fluid-extra-large
14
+ // fluid-ultra-large
15
+ each(@container-sm-to-xxl-classes, {
16
+ &.@{value} {
17
+ max-width: @container-sm-to-xxl[$@key];
18
+ }
19
+ });
20
+
21
+ // BS Fallback old container behavior
22
+ each(@container-ls-to-xl, {
23
+ &:not([class*="fluid"]) {
24
+ @media (min-width: @breakpoint-ls-to-xl[$@key]) {
25
+ width: @value;
26
+ }
27
+ }
28
+ })
29
+ }
@@ -0,0 +1,19 @@
1
+ /* Cursors */
2
+ .cursor-default { cursor: default !important }
3
+ .cursor-pointer { cursor: pointer !important }
4
+ .cursor-text { cursor: text !important }
5
+ .cursor-move { cursor: move !important }
6
+ .cursor-row-resize { cursor: row-resize !important }
7
+ .cursor-col-resize { cursor: col-resize !important }
8
+ .cursor-not-allowed { cursor: not-allowed !important }
9
+ .cursor-grabbing { cursor: grabbing !important; }
10
+ .cursor-grab {
11
+ cursor: grab !important;
12
+
13
+ &:active {
14
+ cursor: grabbing !important;
15
+ }
16
+ }
17
+
18
+ .pointer-events-none { pointer-events: none !important }
19
+ .pointer-events-all { pointer-events: all !important }
@@ -0,0 +1,20 @@
1
+ /* Custom Colors */
2
+ .bg-custom-a { background-color: var(--custom-color-a) !important };
3
+ .text-color-custom-a { color: var(--custom-color-a) !important };
4
+ .fill-custom-a { fill: var(--custom-color-a) !important };
5
+
6
+ .bg-custom-b { background-color: var(--custom-color-b) !important };
7
+ .text-color-custom-b { color: var(--custom-color-b) !important };
8
+ .fill-custom-b { fill: var(--custom-color-b) !important };
9
+
10
+ .bg-custom-c { background-color: var(--custom-color-c) !important };
11
+ .text-color-custom-c { color: var(--custom-color-c) !important };
12
+ .fill-custom-c { fill: var(--custom-color-c) !important };
13
+
14
+ .bg-custom-d { background-color: var(--custom-color-d) !important };
15
+ .text-color-custom-d { color: var(--custom-color-d) !important };
16
+ .fill-custom-d { fill: var(--custom-color-d) !important };
17
+
18
+ .bg-custom-e { background-color: var(--custom-color-e) !important };
19
+ .text-color-custom-e { color: var(--custom-color-e) !important };
20
+ .fill-custom-e { fill: var(--custom-color-e) !important };
@@ -0,0 +1,46 @@
1
+ /* Text ellipsis */
2
+ .ellipsis-multiline(@lh, @l) {
3
+ /* non-webkit */
4
+ max-height: @lh * @l;
5
+ /* webkit */
6
+ -webkit-box-orient: vertical;
7
+ -webkit-line-clamp: @l;
8
+ display: -webkit-box;
9
+ line-height: @lh;
10
+ max-width: 100%;
11
+ overflow: hidden;
12
+ text-overflow: ellipsis;
13
+ }
14
+
15
+ .ellipsis-1 {
16
+ overflow: hidden;
17
+ text-overflow: ellipsis;
18
+ white-space: nowrap;
19
+ }
20
+ .ellipsis-2 {
21
+ .ellipsis-multiline(@grid-gutter-height, 2);
22
+ }
23
+ .ellipsis-3 {
24
+ .ellipsis-multiline(@grid-gutter-height, 3);
25
+ }
26
+ .ellipsis-4 {
27
+ .ellipsis-multiline(@grid-gutter-height, 4);
28
+ }
29
+ .ellipsis-5 {
30
+ .ellipsis-multiline(@grid-gutter-height, 5);
31
+ }
32
+ .ellipsis-6 {
33
+ .ellipsis-multiline(@grid-gutter-height, 6);
34
+ }
35
+ .ellipsis-7 {
36
+ .ellipsis-multiline(@grid-gutter-height, 7);
37
+ }
38
+ .ellipsis-8 {
39
+ .ellipsis-multiline(@grid-gutter-height, 8);
40
+ }
41
+ .ellipsis-9 {
42
+ .ellipsis-multiline(@grid-gutter-height, 9);
43
+ }
44
+ .ellipsis-10 {
45
+ .ellipsis-multiline(@grid-gutter-height, 10);
46
+ }
@@ -0,0 +1,7 @@
1
+ // for clearfix elements
2
+ .display-flex,
3
+ .display-grid {
4
+ &:after {
5
+ content: none
6
+ }
7
+ }
@@ -0,0 +1,318 @@
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
+ // IOS FONT
166
+ & when (@font-san-francisco = true) {
167
+ @fontIos: "sf-ui-text";
168
+
169
+ @font-face {
170
+ font-family: "SF Text";
171
+ font-weight: @font-thin;
172
+ src: url('@{cdnBase}/@{fontBase}/@{fontIos}/sf-Ultrathin.otf')
173
+ }
174
+
175
+ @font-face {
176
+ font-family: "SF Text";
177
+ font-weight: @font-thin;
178
+ font-style: italic;
179
+ src: url('@{cdnBase}/@{fontBase}/@{fontIos}/sf-UltrathinItalic.otf')
180
+ }
181
+
182
+ @font-face {
183
+ font-family: "SF Text";
184
+ font-weight: @font-light;
185
+ src: url('@{cdnBase}/@{fontBase}/@{fontIos}/sf-Light.otf')
186
+ }
187
+
188
+ @font-face {
189
+ font-family: "SF Text";
190
+ font-weight: @font-light;
191
+ font-style: italic;
192
+ src: url('@{cdnBase}/@{fontBase}/@{fontIos}/sf-LightItalic.otf')
193
+ }
194
+
195
+ @font-face {
196
+ font-family: "SF Text";
197
+ font-weight: @font-normal;
198
+ src: url('@{cdnBase}/@{fontBase}/@{fontIos}/sf-Regular.otf')
199
+ }
200
+
201
+ @font-face {
202
+ font-family: "SF Text";
203
+ font-weight: @font-normal;
204
+ font-style: italic;
205
+ src: url('@{cdnBase}/@{fontBase}/@{fontIos}/sf-RegularItalic.otf')
206
+ }
207
+
208
+ @font-face {
209
+ font-family: "SF Text";
210
+ font-weight: @font-medium;
211
+ src: url('@{cdnBase}/@{fontBase}/@{fontIos}/sf-Semibold.otf')
212
+ }
213
+
214
+ @font-face {
215
+ font-family: "SF Text";
216
+ font-weight: @font-medium;
217
+ font-style: italic;
218
+ src: url('@{cdnBase}/@{fontBase}/@{fontIos}/sf-SemiboldItalic.otf')
219
+ }
220
+
221
+ @font-face {
222
+ font-family: "SF Text";
223
+ font-weight: @font-bold;
224
+ src: url('@{cdnBase}/@{fontBase}/@{fontIos}/sf-Bold.otf')
225
+ }
226
+
227
+ @font-face {
228
+ font-family: "SF Text";
229
+ font-weight: @font-bold;
230
+ font-style: italic;
231
+ src: url('@{cdnBase}/@{fontBase}/@{fontIos}/sf-BoldItalic.otf')
232
+ }
233
+ }
234
+
235
+ // Android Font
236
+ & when (@font-roboto = true) {
237
+ @fontAndroid: "roboto";
238
+
239
+ @font-face {
240
+ font-family: 'Roboto';
241
+ font-style: normal;
242
+ font-weight: @font-thin;
243
+ src: url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-100.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
244
+ url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-100.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
245
+ }
246
+
247
+ @font-face {
248
+ font-family: 'Roboto';
249
+ font-style: italic;
250
+ font-weight: @font-thin;
251
+ src: url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-100italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
252
+ url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-100italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
253
+ }
254
+
255
+ @font-face {
256
+ font-family: 'Roboto';
257
+ font-style: normal;
258
+ font-weight: @font-light;
259
+ src: url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
260
+ url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
261
+ }
262
+
263
+ @font-face {
264
+ font-family: 'Roboto';
265
+ font-style: italic;
266
+ font-weight: @font-light;
267
+ src: url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-300italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
268
+ url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-300italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
269
+ }
270
+
271
+ @font-face {
272
+ font-family: 'Roboto';
273
+ font-style: normal;
274
+ font-weight: @font-normal;
275
+ src: url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
276
+ url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
277
+ }
278
+
279
+ @font-face {
280
+ font-family: 'Roboto';
281
+ font-style: italic;
282
+ font-weight: @font-normal;
283
+ src: url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
284
+ url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
285
+ }
286
+
287
+ @font-face {
288
+ font-family: 'Roboto';
289
+ font-style: normal;
290
+ font-weight: @font-medium;
291
+ src: url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
292
+ url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
293
+ }
294
+
295
+ @font-face {
296
+ font-family: 'Roboto';
297
+ font-style: italic;
298
+ font-weight: @font-medium;
299
+ src: url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-600italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
300
+ url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-600italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
301
+ }
302
+
303
+ @font-face {
304
+ font-family: 'Roboto';
305
+ font-style: normal;
306
+ font-weight: @font-bold;
307
+ src: url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
308
+ url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
309
+ }
310
+
311
+ @font-face {
312
+ font-family: 'Roboto';
313
+ font-style: italic;
314
+ font-weight: @font-bold;
315
+ src: url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
316
+ url('@{cdnBase}/@{fontBase}/@{fontAndroid}/roboto-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
317
+ }
318
+ }