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

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 (215) 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/browserWarning/BrowserIcons.js +76 -0
  13. package/lib/components/browserWarning/BrowserWarning.js +4 -4
  14. package/lib/components/browserWarning/BrowserWarningMessageDE.js +20 -22
  15. package/lib/components/browserWarning/BrowserWarningMessageEN.js +20 -22
  16. package/lib/components/carousel/Carousel.js +7 -426
  17. package/lib/components/checkbox/Checkbox.js +4 -4
  18. package/lib/components/datepicker/DatePicker.js +15 -6
  19. package/lib/components/dialog/ConfirmationDialog.js +8 -6
  20. package/lib/components/dialog/SaveDialog.js +3 -1
  21. package/lib/components/dropdown/ButtonDropdown.js +8 -11
  22. package/lib/components/filepicker/FilePicker.js +65 -96
  23. package/lib/components/listMenu/ListMenu.js +40 -23
  24. package/lib/components/map/components/features/old/MapSettings.js +5 -5
  25. package/lib/components/map/components/features/old/settings/MapClusterSettings.js +13 -13
  26. package/lib/components/map/components/features/old/settings/MapLayerSettings.js +15 -15
  27. package/lib/components/map/components/features/old/settings/MapTypeSettings.js +20 -20
  28. package/lib/components/map/components/features/settings/ZoomButtons.js +10 -10
  29. package/lib/components/map/components/features/settings/builtinSettings/MapClusterSettings.js +20 -18
  30. package/lib/components/map/components/features/settings/builtinSettings/MapLayerSettings.js +8 -8
  31. package/lib/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +42 -32
  32. package/lib/components/map/components/features/settings/buttons/MapBoundingBoxButton.js +8 -8
  33. package/lib/components/map/components/features/settings/buttons/MapCenterMarkerButton.js +8 -8
  34. package/lib/components/map/components/features/settings/buttons/MapLockMarkerButton.js +8 -8
  35. package/lib/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.js +8 -8
  36. package/lib/components/map/components/features/settings/items/MapLayerIncidentsItem.js +8 -6
  37. package/lib/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.js +8 -6
  38. package/lib/components/map/components/features/settings/items/MapLayerTrafficItem.js +8 -6
  39. package/lib/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.js +8 -8
  40. package/lib/components/map/icons/MapIcon.js +500 -0
  41. package/lib/components/numberInput/NumberInput.js +6 -6
  42. package/lib/components/onboarding/OnboardingTip.js +9 -9
  43. package/lib/components/states/NotBookedState.js +2 -2
  44. package/lib/components/table/TableSettingsDialogFooter.js +1 -1
  45. package/lib/components/teaser/Teaser.js +1 -1
  46. package/lib/components/teaser/TeaserContainer.js +8 -8
  47. package/lib/components/tooltip/Tooltip.js +5 -5
  48. package/lib/es/DeviceUtils.d.ts +4 -2
  49. package/lib/es/deviceUtils.js +12 -0
  50. package/lib/es/useFullscreen.d.ts +4 -0
  51. package/lib/es/useFullscreen.js +15 -0
  52. package/lib/hooks/useClipboard.js +2 -2
  53. package/lib/hooks/useFullscreen.js +242 -0
  54. package/lib/style/css/_exports/man-uikit.less +7 -5
  55. package/lib/style/css/_exports/rio-buyButton.less +30 -41
  56. package/lib/style/css/_exports/rio-uikit-core.less +106 -127
  57. package/lib/style/css/_exports/rio-uikit-print-utilities.less +6 -11
  58. package/lib/style/css/_exports/rio-uikit-responsive-utilities.less +6 -11
  59. package/lib/style/css/_exports/rio-uikit.less +5 -4
  60. package/lib/style/css/_exports/rio-website.less +41 -15
  61. package/lib/style/css/_exports/vw-uikit.less +10 -8
  62. package/lib/style/css/animations/_imports.less +9 -0
  63. package/lib/style/css/animations/collapse.less +16 -0
  64. package/lib/style/css/animations/fade.less +28 -0
  65. package/lib/style/css/animations/pinging.less +7 -0
  66. package/lib/style/css/animations/rotate.less +52 -0
  67. package/lib/style/css/animations/scale.less +35 -0
  68. package/lib/style/css/animations/slide.less +39 -0
  69. package/lib/style/css/animations/spinning.less +4 -0
  70. package/lib/style/css/animations/transition.less +129 -0
  71. package/lib/style/css/animations/translate.less +28 -0
  72. package/lib/style/css/components/Activity.less +93 -0
  73. package/lib/style/css/components/ApplicationHeader.less +438 -0
  74. package/lib/style/css/components/ApplicationLayout.less +236 -0
  75. package/lib/style/css/components/AssetTree.less +443 -0
  76. package/lib/style/css/components/AutoSuggest.less +22 -0
  77. package/lib/style/css/components/BottomSheet.less +14 -0
  78. package/lib/style/css/components/Carousel.less +212 -0
  79. package/lib/style/css/components/Checkbox.less +224 -0
  80. package/lib/style/css/components/ClearableInput.less +115 -0
  81. package/lib/style/css/components/Counter.less +142 -0
  82. package/lib/style/css/components/DataTabs.less +100 -0
  83. package/lib/style/css/components/DatePicker.less +391 -0
  84. package/lib/style/css/components/Dialog.less +482 -0
  85. package/lib/style/css/components/Dropdown.less +186 -0
  86. package/lib/style/css/components/Expander.less +196 -0
  87. package/lib/style/css/components/FilePicker.less +8 -0
  88. package/lib/style/css/components/ListMenu.less +77 -0
  89. package/lib/style/css/components/MapHere.less +91 -0
  90. package/lib/style/css/components/MapMarker.less +347 -0
  91. package/lib/style/css/components/MapSettings.less +140 -0
  92. package/lib/style/css/components/NoData.less +8 -0
  93. package/lib/style/css/components/Notification.less +234 -0
  94. package/lib/style/css/components/RadioButton.less +173 -0
  95. package/lib/style/css/components/Resizer.less +43 -0
  96. package/lib/style/css/components/Select.less +286 -0
  97. package/lib/style/css/components/Sidebar.less +157 -0
  98. package/lib/style/css/components/Slider.less +278 -0
  99. package/lib/style/css/components/Spinner.less +49 -0
  100. package/lib/style/css/components/StatsWidget.less +111 -0
  101. package/lib/style/css/components/SteppedProgressBar.less +323 -0
  102. package/lib/style/css/components/SupportMarker.less +34 -0
  103. package/lib/style/css/components/Switch.less +145 -0
  104. package/lib/style/css/components/TableSettingsDialog.less +96 -0
  105. package/lib/style/css/components/TableSortArrows.less +54 -0
  106. package/lib/style/css/components/TableToolbar.less +121 -0
  107. package/lib/style/css/components/Tag.less +246 -0
  108. package/lib/style/css/components/TagManager.less +4 -0
  109. package/lib/style/css/components/Teaser.less +12 -0
  110. package/lib/style/css/components/Timeline.less +69 -0
  111. package/lib/style/css/components/Tooltip.less +261 -0
  112. package/lib/style/css/design/alerts.less +55 -0
  113. package/lib/style/css/design/aspect-ratio.less +23 -0
  114. package/lib/style/css/design/badges.less +120 -0
  115. package/lib/style/css/design/blockquote.less +49 -0
  116. package/lib/style/css/design/border.less +192 -0
  117. package/lib/style/css/design/breadcrumbs.less +20 -0
  118. package/lib/style/css/design/button-groups.less +194 -0
  119. package/lib/style/css/design/buttons.less +540 -0
  120. package/lib/style/css/design/callouts.less +27 -0
  121. package/lib/style/css/design/caret.less +28 -0
  122. package/lib/style/css/design/close.less +12 -0
  123. package/lib/style/css/design/code.less +45 -0
  124. package/lib/style/css/design/colors.less +202 -0
  125. package/lib/style/css/design/cols.less +56 -0
  126. package/lib/style/css/design/container.less +29 -0
  127. package/lib/style/css/design/cursors.less +19 -0
  128. package/lib/style/css/design/custom.less +20 -0
  129. package/lib/style/css/design/ellipsis.less +46 -0
  130. package/lib/style/css/design/flexgrid.less +7 -0
  131. package/lib/style/css/design/fonts.less +318 -0
  132. package/lib/style/css/design/form-input-groups.less +245 -0
  133. package/lib/style/css/design/form-inputs.less +655 -0
  134. package/lib/style/css/design/iframe.less +80 -0
  135. package/lib/style/css/design/images.less +47 -0
  136. package/lib/style/css/design/labels.less +66 -0
  137. package/lib/style/css/design/list-group.less +95 -0
  138. package/lib/style/css/design/navs.less +254 -0
  139. package/lib/style/css/design/normalize.less +436 -0
  140. package/lib/style/css/design/opacity.less +26 -0
  141. package/lib/style/css/design/overflow.less +1 -0
  142. package/lib/style/css/design/pagination.less +161 -0
  143. package/lib/style/css/design/panels.less +105 -0
  144. package/lib/style/css/design/popovers.less +117 -0
  145. package/lib/style/css/design/position.less +16 -0
  146. package/lib/style/css/design/progress-bars.less +131 -0
  147. package/lib/style/css/design/responsive/_imports.less +68 -0
  148. package/lib/style/css/design/responsive/backgrounds.less +32 -0
  149. package/lib/style/css/design/responsive/display.less +9 -0
  150. package/lib/style/css/design/responsive/flexgrid.less +75 -0
  151. package/lib/style/css/design/responsive/floating.less +4 -0
  152. package/lib/style/css/design/responsive/gap.less +41 -0
  153. package/lib/style/css/design/responsive/hyphens.less +14 -0
  154. package/lib/style/css/design/responsive/margin.less +127 -0
  155. package/lib/style/css/design/responsive/overflow.less +16 -0
  156. package/lib/style/css/design/responsive/padding.less +71 -0
  157. package/lib/style/css/design/responsive/position.less +102 -0
  158. package/lib/style/css/design/responsive/sizing.less +115 -0
  159. package/lib/style/css/design/responsive/text.less +71 -0
  160. package/lib/style/css/design/responsive/visibility.less +115 -0
  161. package/lib/style/css/design/responsive-embed.less +31 -0
  162. package/lib/style/css/design/responsive-video.less +22 -0
  163. package/lib/style/css/design/rioglyph.less +24 -0
  164. package/lib/style/css/design/rounded.less +44 -0
  165. package/lib/style/css/design/shadows.less +65 -0
  166. package/lib/style/css/design/tables.less +854 -0
  167. package/lib/style/css/design/text.less +201 -0
  168. package/lib/style/css/design/theme.less +200 -0
  169. package/lib/style/css/design/thumbnails.less +29 -0
  170. package/lib/style/css/design/transition.less +33 -0
  171. package/lib/style/css/design/type.less +159 -0
  172. package/lib/style/css/design/utilities.less +75 -0
  173. package/lib/style/css/design/visibilty.less +38 -0
  174. package/lib/style/css/design/wells.less +17 -0
  175. package/lib/style/css/design/z-index.less +21 -0
  176. package/lib/style/css/mapping/breakpoint-map.less +44 -0
  177. package/lib/style/css/mapping/color-map.less +200 -0
  178. package/lib/style/css/mapping/cols-map.less +15 -0
  179. package/lib/style/css/mapping/numbers-map.less +16 -0
  180. package/lib/style/css/mapping/positions-map.less +21 -0
  181. package/lib/style/css/mapping/sizes-map.less +129 -0
  182. package/lib/style/css/mapping/spacings-map.less +28 -0
  183. package/lib/style/css/mixins/_mixins.less +13 -0
  184. package/lib/style/css/mixins/alerts.less +13 -0
  185. package/lib/style/css/mixins/border-radius.less +16 -0
  186. package/lib/style/css/mixins/buttons.less +117 -0
  187. package/lib/style/css/mixins/clearfix.less +9 -0
  188. package/lib/style/css/mixins/cols.less +59 -0
  189. package/lib/style/css/mixins/forms.less +61 -0
  190. package/lib/style/css/mixins/panels.less +27 -0
  191. package/lib/style/css/mixins/placeholder.less +17 -0
  192. package/lib/style/css/mixins/reset.less +27 -0
  193. package/lib/style/css/mixins/sizings.less +21 -0
  194. package/lib/style/css/mixins/spinner.less +30 -0
  195. package/lib/style/css/mixins/table.less +26 -0
  196. package/lib/style/css/mixins/tabs.less +4 -0
  197. package/lib/style/css/mixins/text.less +5 -0
  198. package/lib/style/css/print/print.less +1 -4
  199. package/lib/style/css/rio-theme/alerts.less +23 -61
  200. package/lib/style/css/rio-theme/badges.less +16 -28
  201. package/lib/style/css/rio-theme/blockquote.less +14 -97
  202. package/lib/style/css/rio-theme/mixins/alerts.less +13 -1
  203. package/lib/style/css/shared/colors.json +1 -1
  204. package/lib/style/css/shared/colors.less +11 -8
  205. package/lib/style/css/shared/text.less +6 -5
  206. package/lib/style/css/utils/responsive/grid.less +15 -6
  207. package/lib/style/css/variables.less +179 -0
  208. package/lib/style/fonts/rioglyph/rioglyph.less +6 -11
  209. package/lib/style/fonts/rioglyph/rioglyph.woff +0 -0
  210. package/lib/types.ts +70 -59
  211. package/lib/utils/buttonEffect.js +3 -1
  212. package/lib/utils/deviceUtils.js +40 -3
  213. package/lib/utils/init.js +22 -7
  214. package/lib/version.json +1 -1
  215. package/package.json +47 -31
@@ -0,0 +1,71 @@
1
+ .padding-auto@{suffix} { padding: auto !important }
2
+ .padding-0@{suffix} { padding: 0 !important }
3
+
4
+ .padding-left-0@{suffix} { padding-left: 0 !important }
5
+ .padding-right-0@{suffix} { padding-right: 0 !important }
6
+ .padding-top-0@{suffix} { padding-top: 0 !important }
7
+ .padding-bottom-0@{suffix} { padding-bottom: 0 !important }
8
+
9
+ .padding-x-0@{suffix} { padding-left: 0 !important; padding-right: 0 !important }
10
+ .padding-y-0@{suffix} { padding-top: 0 !important; padding-bottom: 0 !important }
11
+
12
+ .padding-left-auto@{suffix} { padding-left: auto !important }
13
+ .padding-right-auto@{suffix} { padding-right: auto !important }
14
+ .padding-top-auto@{suffix} { padding-top: auto !important }
15
+ .padding-bottom-auto@{suffix} { padding-bottom: auto !important }
16
+
17
+ // padding px
18
+ each(@spacings-px, {
19
+ // surrouding
20
+ .padding-@{key}@{suffix} {
21
+ padding: @value !important;
22
+ }
23
+ // left
24
+ .padding-x-@{key}@{suffix},
25
+ .padding-left-@{key}@{suffix} {
26
+ padding-left: @value !important;
27
+ }
28
+ // right
29
+ .padding-x-@{key}@{suffix},
30
+ .padding-right-@{key}@{suffix} {
31
+ padding-right: @value !important;
32
+ }
33
+ // top
34
+ .padding-y-@{key}@{suffix},
35
+ .padding-top-@{key}@{suffix} {
36
+ padding-top: @value !important;
37
+ }
38
+ // bottom
39
+ .padding-y-@{key}@{suffix},
40
+ .padding-bottom-@{key}@{suffix} {
41
+ padding-bottom: @value !important;
42
+ }
43
+ })
44
+
45
+ // padding pct
46
+ each(@spacings-pct, {
47
+ // surrouding
48
+ .padding-@{key}@{suffix} {
49
+ padding: @value !important;
50
+ }
51
+ // left
52
+ .padding-x-@{key}@{suffix},
53
+ .padding-left-@{key}@{suffix} {
54
+ padding-left: @value !important;
55
+ }
56
+ // right
57
+ .padding-x-@{key}@{suffix},
58
+ .padding-right-@{key}@{suffix} {
59
+ padding-right: @value !important;
60
+ }
61
+ // top
62
+ .padding-y-@{key}@{suffix},
63
+ .padding-top-@{key}@{suffix} {
64
+ padding-top: @value !important;
65
+ }
66
+ // bottom
67
+ .padding-y-@{key}@{suffix},
68
+ .padding-bottom-@{key}@{suffix} {
69
+ padding-bottom: @value !important;
70
+ }
71
+ })
@@ -0,0 +1,102 @@
1
+ /* Positions */
2
+ .position-relative@{suffix} { position: relative !important }
3
+ .position-absolute@{suffix} { position: absolute !important }
4
+ .position-fixed@{suffix} { position: fixed !important }
5
+ .position-static@{suffix} { position: static !important }
6
+ .position-sticky@{suffix} {
7
+ position: sticky !important;
8
+
9
+ &.top-module-content {
10
+ @media (max-width: @screen-xs-max) {
11
+ top: -(@ApplicationLayoutBodyPadding*0.5);
12
+ }
13
+ @media (min-width: @screen-ls-min) {
14
+ top: -(@ApplicationLayoutBodyPadding);
15
+ }
16
+ }
17
+ }
18
+
19
+ .top-0@{suffix} { top: 0 !important }
20
+ .right-0@{suffix} { right: 0 !important }
21
+ .bottom-0@{suffix} { bottom: 0 !important }
22
+ .left-0@{suffix} { left: 0 !important }
23
+
24
+ // top-right-bottom-left px
25
+ each(@positions-px, {
26
+ // top
27
+ .top-@{key}@{suffix} {
28
+ top: @value !important;
29
+ }
30
+ // right
31
+ .right-@{key}@{suffix} {
32
+ right: @value !important;
33
+ }
34
+ // bottom
35
+ .bottom-@{key}@{suffix} {
36
+ bottom: @value !important;
37
+ }
38
+ // left
39
+ .left-@{key}@{suffix} {
40
+ left: @value !important;
41
+ }
42
+ })
43
+
44
+ // negative top-right-bottom-left px
45
+ each(@positions-px, {
46
+ // negative top
47
+ .top--@{key}@{suffix} {
48
+ top: -@value !important;
49
+ }
50
+ // negative right
51
+ .right--@{key}@{suffix} {
52
+ right: -@value !important;
53
+ }
54
+ // negative bottom
55
+ .bottom--@{key}@{suffix} {
56
+ bottom: -@value !important;
57
+ }
58
+ // negative left
59
+ .left--@{key}@{suffix} {
60
+ left: -@value !important;
61
+ }
62
+ })
63
+
64
+ // top-right-bottom-left pct
65
+ each(@positions-pct, {
66
+ // top
67
+ .top-@{key}@{suffix} {
68
+ top: @value !important;
69
+ }
70
+ // right
71
+ .right-@{key}@{suffix} {
72
+ right: @value !important;
73
+ }
74
+ // bottom
75
+ .bottom-@{key}@{suffix} {
76
+ bottom: @value !important;
77
+ }
78
+ // left
79
+ .left-@{key}@{suffix} {
80
+ left: @value !important;
81
+ }
82
+ })
83
+
84
+ // negative top-right-bottom-left pct
85
+ each(@positions-pct, {
86
+ // negative top
87
+ .top--@{key}@{suffix} {
88
+ top: -@value !important;
89
+ }
90
+ // negative right
91
+ .right--@{key}@{suffix} {
92
+ right: -@value !important;
93
+ }
94
+ // negative bottom
95
+ .bottom--@{key}@{suffix} {
96
+ bottom: -@value !important;
97
+ }
98
+ // negative left
99
+ .left--@{key}@{suffix} {
100
+ left: -@value !important;
101
+ }
102
+ })
@@ -0,0 +1,115 @@
1
+ .height-0@{suffix} { height: 0 !important }
2
+ .height-auto@{suffix} { height: auto !important }
3
+
4
+ .width-0@{suffix} { width: 0 !important }
5
+ .width-auto@{suffix} { width: auto !important }
6
+
7
+ .min-width-auto@{suffix} { min-width: auto !important }
8
+ .min-height-auto@{suffix} { min-height: auto !important }
9
+
10
+ .max-height-0@{suffix} { max-height: 0 !important }
11
+ .max-width-0@{suffix} { max-width: 0 !important }
12
+
13
+ // width/height px
14
+ each(@sizes-px, {
15
+ // width
16
+ .width-@{key}@{suffix} {
17
+ width: @value !important;
18
+ }
19
+ // height
20
+ .height-@{key}@{suffix} {
21
+ height: @value !important;
22
+ }
23
+ })
24
+
25
+ // min/max width/height px
26
+ each(@sizes-px-50-to-500, {
27
+ // min-height
28
+ .min-height-@{key}@{suffix} {
29
+ min-height: @value !important;
30
+ }
31
+ // max-height
32
+ .max-height-@{key}@{suffix} {
33
+ max-height: @value !important;
34
+ }
35
+ // min-width
36
+ .min-width-@{key}@{suffix} {
37
+ min-width: @value !important;
38
+ }
39
+ })
40
+
41
+ // max width px
42
+ each(@sizes-px-50-to-1000, {
43
+ // max-width
44
+ .max-width-@{key}@{suffix} {
45
+ max-width: @value !important;
46
+ }
47
+ })
48
+
49
+ // all pct
50
+ each(@sizes-pct, {
51
+ // height
52
+ .height-@{key}@{suffix} {
53
+ height: @value !important;
54
+ }
55
+ // min-height
56
+ .min-height-@{key}@{suffix} {
57
+ min-height: @value !important;
58
+ }
59
+ //max-height
60
+ .max-height-@{key}@{suffix} {
61
+ max-height: @value !important;
62
+ }
63
+ // width
64
+ .width-@{key}@{suffix} {
65
+ width: @value !important;
66
+ }
67
+ // min-width
68
+ .min-width-@{key}@{suffix} {
69
+ min-width: @value !important;
70
+ }
71
+ // max-width
72
+ .max-width-@{key}@{suffix} {
73
+ max-width: @value !important;
74
+ }
75
+ })
76
+
77
+ // viewport width
78
+ each(@sizes-vw, {
79
+ // width
80
+ .width-@{key}@{suffix} {
81
+ width: @value !important;
82
+ }
83
+ // min-width
84
+ .min-width-@{key}@{suffix} {
85
+ min-width: @value !important;
86
+ }
87
+ // max-width
88
+ .max-width-@{key}@{suffix} {
89
+ max-width: @value !important;
90
+ }
91
+ })
92
+
93
+ // viewport height
94
+ .sizing-vh(height; @suffix);
95
+ .sizing-vh(min-height; @suffix);
96
+ .sizing-vh(max-height; @suffix);
97
+
98
+ // ApplicationLayout viewport height
99
+ .ApplicationLayoutHeader@{suffix} {
100
+ ~ .ApplicationLayoutBody,
101
+ ~ .ApplicationLayoutSidebar {
102
+ .sizing-vh(height; @suffix; @navbar-height);
103
+ .sizing-vh(min-height; @suffix; @navbar-height);
104
+ }
105
+
106
+ ~ .ApplicationLayoutBody .module-content {
107
+ @media (max-width: @screen-ls) {
108
+ .sizing-vh(height; @suffix; @navbar-height + @ApplicationLayoutBodyPadding*0.5);
109
+ }
110
+
111
+ @media (min-width: @screen-ls) {
112
+ .sizing-vh(height; @suffix; @navbar-height + @ApplicationLayoutBodyPadding);
113
+ }
114
+ }
115
+ }
@@ -0,0 +1,71 @@
1
+ /* Text - Size */
2
+ .text-size-10@{suffix} { font-size: @font-size-10 !important }
3
+ .text-size-11@{suffix} { font-size: @font-size-11 !important }
4
+ .text-size-12@{suffix} { font-size: @font-size-12 !important }
5
+ .text-size-14@{suffix} { font-size: @font-size-14 !important }
6
+ .text-size-16@{suffix} { font-size: @font-size-16 !important }
7
+ .text-size-18@{suffix} { font-size: @font-size-18 !important }
8
+ .text-size-20@{suffix} { font-size: @font-size-20 !important }
9
+
10
+ .text-size-h1@{suffix} { font-size: @font-size-h1 !important }
11
+ .text-size-h2@{suffix} { font-size: @font-size-h2 !important }
12
+ .text-size-h3@{suffix} { font-size: @font-size-h3 !important }
13
+ .text-size-h4@{suffix} { font-size: @font-size-h4 !important }
14
+ .text-size-h5@{suffix} { font-size: @font-size-h5 !important }
15
+ .text-size-h6@{suffix} { font-size: @font-size-h6 !important }
16
+
17
+ [class*="text-size"] {
18
+ .text-size-100pct@{suffix} { font-size: 100% !important }
19
+ .text-size-200pct@{suffix} { font-size: 200% !important }
20
+ .text-size-300pct@{suffix} { font-size: 300% !important }
21
+ .text-size-400pct@{suffix} { font-size: 400% !important }
22
+ .text-size-500pct@{suffix} { font-size: 500% !important }
23
+ }
24
+
25
+ /* Text - Line Height */
26
+ .line-height-10@{suffix} { line-height: @font-size-10 !important }
27
+ .line-height-11@{suffix} { line-height: @font-size-11 !important }
28
+ .line-height-12@{suffix} { line-height: @font-size-12 !important }
29
+ .line-height-14@{suffix} { line-height: @font-size-14 !important }
30
+ .line-height-16@{suffix} { line-height: @font-size-16 !important }
31
+ .line-height-18@{suffix} { line-height: @font-size-18 !important }
32
+ .line-height-20@{suffix} { line-height: @font-size-20 !important }
33
+
34
+ .line-height-h1@{suffix} { line-height: @font-size-h1 !important }
35
+ .line-height-h2@{suffix} { line-height: @font-size-h2 !important }
36
+ .line-height-h3@{suffix} { line-height: @font-size-h3 !important }
37
+ .line-height-h4@{suffix} { line-height: @font-size-h4 !important }
38
+ .line-height-h5@{suffix} { line-height: @font-size-h5 !important }
39
+ .line-height-h6@{suffix} { line-height: @font-size-h6 !important }
40
+
41
+ .line-height-125rel@{suffix} { line-height: 1.25 !important }
42
+ .line-height-130rel@{suffix} { line-height: 1.30 !important }
43
+ .line-height-135rel@{suffix} { line-height: 1.35 !important }
44
+
45
+ /* Text - alignment */
46
+ .text-left@{suffix} { text-align: left !important }
47
+ .text-center@{suffix} { text-align: center !important }
48
+ .text-right@{suffix} { text-align: right !important }
49
+ .text-justify@{suffix} { text-align: justify !important }
50
+ .text-nowrap@{suffix} { white-space: nowrap !important }
51
+
52
+ /* Hyphens */
53
+ .hyphens-auto@{suffix} { hyphens: auto !important }
54
+ .hyphens-none@{suffix} { hyphens: none !important }
55
+
56
+ /* White Space */
57
+ .white-space-nowrap@{suffix} { white-space: nowrap !important }
58
+ .white-space-normal@{suffix} { white-space: normal !important }
59
+ .white-space-pre-line@{suffix} { white-space: pre-line !important }
60
+
61
+ /* Word Break */
62
+ .word-break@{suffix}, // backward compatibility
63
+ .word-break-all@{suffix} {
64
+ word-break: break-word !important;
65
+ word-wrap: break-word !important;
66
+ }
67
+
68
+ .word-break-none@{suffix} {
69
+ word-break: normal !important;
70
+ word-wrap: normal !important;
71
+ }
@@ -0,0 +1,115 @@
1
+ & when (@suffix = -xs) {
2
+ .visible@{suffix} {
3
+ @media (min-width: @screen-ls-min) {
4
+ // "-ls" because UIKIT xs and UIKIT ls are the same
5
+ // but the website.css uses -ls as the mobile breakpoint
6
+ display: none !important;
7
+ }
8
+ }
9
+ }
10
+
11
+ & when (@suffix = -ls) {
12
+ .visible@{suffix} {
13
+ @media (max-width: @screen-xs-max) {
14
+ display: none !important;
15
+ }
16
+
17
+ @media (min-width: @screen-sm-min) {
18
+ display: none !important;
19
+ }
20
+ }
21
+ }
22
+
23
+ & when (@suffix = -sm) {
24
+ .visible@{suffix} {
25
+ @media (max-width: @screen-ls-max) {
26
+ display: none !important;
27
+ }
28
+
29
+ @media (min-width: @screen-md-min) {
30
+ display: none !important;
31
+ }
32
+ }
33
+ }
34
+
35
+ & when (@suffix = -md) {
36
+ .visible@{suffix} {
37
+ @media (max-width: @screen-sm-max) {
38
+ display: none !important;
39
+ }
40
+
41
+ @media (min-width: @screen-lg-min) {
42
+ display: none !important;
43
+ }
44
+ }
45
+ }
46
+
47
+ & when (@suffix = -lg) {
48
+ .visible@{suffix} {
49
+ @media (max-width: @screen-md-max) {
50
+ display: none !important;
51
+ }
52
+
53
+ @media (min-width: @screen-xl-min) {
54
+ display: none !important;
55
+ }
56
+ }
57
+ }
58
+
59
+ & when (@suffix = -xl) {
60
+ .visible@{suffix} {
61
+ @media (max-width: @screen-xl-min) {
62
+ display: none !important;
63
+ }
64
+ }
65
+ }
66
+
67
+ & when (@suffix = -xs) {
68
+ .hidden@{suffix} {
69
+ // "-ls" because UIKIT xs and UIKIT ls are the same
70
+ // but the website.css uses -ls as the mobile breakpoint
71
+ @media (max-width: @screen-ls) {
72
+ display: none !important;
73
+ }
74
+ }
75
+ }
76
+
77
+ & when (@suffix = -ls) {
78
+ .hidden@{suffix} {
79
+ @media (min-width: @screen-ls-min) and (max-width: @screen-ls-max) {
80
+ display: none !important;
81
+ }
82
+ }
83
+ }
84
+
85
+ & when (@suffix = -sm) {
86
+ .hidden@{suffix} {
87
+ @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
88
+ display: none !important;
89
+ }
90
+ }
91
+ }
92
+
93
+ & when (@suffix = -md) {
94
+ .hidden@{suffix} {
95
+ @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
96
+ display: none !important;
97
+ }
98
+ }
99
+ }
100
+
101
+ & when (@suffix = -lg) {
102
+ .hidden@{suffix} {
103
+ @media (min-width: @screen-lg-min) and (max-width: @screen-lg-max) {
104
+ display: none !important;
105
+ }
106
+ }
107
+ }
108
+
109
+ & when (@suffix = -xl) {
110
+ .hidden@{suffix} {
111
+ @media (min-width: @screen-xl) {
112
+ display: none !important;
113
+ }
114
+ }
115
+ }
@@ -0,0 +1,31 @@
1
+ .embed-responsive {
2
+ position: relative;
3
+ display: block;
4
+ height: 0;
5
+ padding: 0;
6
+ overflow: hidden;
7
+
8
+ .embed-responsive-item,
9
+ iframe,
10
+ embed,
11
+ object,
12
+ video {
13
+ position: absolute;
14
+ top: 0;
15
+ left: 0;
16
+ bottom: 0;
17
+ height: 100%;
18
+ width: 100%;
19
+ border: 0;
20
+ }
21
+ }
22
+
23
+ // Modifier class for 16:9 aspect ratio
24
+ .embed-responsive-16by9 {
25
+ padding-bottom: 56.25%;
26
+ }
27
+
28
+ // Modifier class for 4:3 aspect ratio
29
+ .embed-responsive-4by3 {
30
+ padding-bottom: 75%;
31
+ }
@@ -0,0 +1,22 @@
1
+ .video-responsive {
2
+ height: 0;
3
+ position: relative;
4
+
5
+ &.video-responsive-16by9 {
6
+ padding-bottom: 56.25%;
7
+ }
8
+
9
+ &.video-responsive-4by3 {
10
+ padding-bottom: 75%;
11
+ }
12
+
13
+ iframe,
14
+ video {
15
+ border: none; // really? should be default
16
+ height: 100%;
17
+ left: 0;
18
+ position: absolute;
19
+ top: 0;
20
+ width: 100%;
21
+ }
22
+ }
@@ -0,0 +1,24 @@
1
+ @import (less) '../../fonts/rioglyph/rioglyph.less';
2
+
3
+ @keyframes spinning {
4
+ from { transform: rotate(0deg) }
5
+ to { transform: rotate(359deg) }
6
+ }
7
+
8
+ @keyframes pulse {
9
+ 50% {
10
+ opacity:.5
11
+ }
12
+ }
13
+
14
+ .rioglyph {
15
+ &.spinning:before {
16
+ display: inline-block;
17
+ animation: spinning 1s linear infinite;
18
+ }
19
+
20
+ &.pulsing:before {
21
+ display: inline-block;
22
+ animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite;
23
+ }
24
+ }
@@ -0,0 +1,44 @@
1
+ // circle
2
+ .rounded-circle {
3
+ border-radius: @border-radius-round !important;
4
+ }
5
+
6
+ // top left
7
+ .rounded, .rounded-top, .rounded-left, .rounded-top-left {
8
+ border-top-left-radius: @border-radius-default !important;
9
+
10
+ &-small { border-top-left-radius: @border-radius-sm !important }
11
+ &-large { border-top-left-radius: @border-radius-lg !important }
12
+ &-extra-large { border-top-left-radius: @border-radius-xl !important }
13
+ &-none { border-top-left-radius: 0 !important }
14
+ }
15
+
16
+ // top right
17
+ .rounded, .rounded-top, .rounded-right, .rounded-top-right {
18
+ border-top-right-radius: @border-radius-default !important;
19
+
20
+ &-small { border-top-right-radius: @border-radius-sm !important }
21
+ &-large { border-top-right-radius: @border-radius-lg !important }
22
+ &-extra-large { border-top-right-radius: @border-radius-xl !important }
23
+ &-none { border-top-right-radius: 0 !important }
24
+ }
25
+
26
+ // bottom left
27
+ .rounded, .rounded-bottom, .rounded-left, .rounded-bottom-left {
28
+ border-bottom-left-radius: @border-radius-default !important;
29
+
30
+ &-small { border-bottom-left-radius: @border-radius-sm !important }
31
+ &-large { border-bottom-left-radius: @border-radius-lg !important }
32
+ &-extra-large { border-bottom-left-radius: @border-radius-xl !important }
33
+ &-none { border-bottom-left-radius: 0 !important }
34
+ }
35
+
36
+ // bottom right
37
+ .rounded, .rounded-bottom, .rounded-right, .rounded-bottom-right {
38
+ border-bottom-right-radius: @border-radius-default !important;
39
+
40
+ &-small { border-bottom-right-radius: @border-radius-sm !important }
41
+ &-large { border-bottom-right-radius: @border-radius-lg !important }
42
+ &-extra-large { border-bottom-right-radius: @border-radius-xl !important }
43
+ &-none { border-bottom-right-radius: 0 !important }
44
+ }
@@ -0,0 +1,65 @@
1
+ @smooth-shadow: rgba(0,0,0,.01);
2
+ @hard-shadow: rgba(0,0,0,.03);
3
+
4
+ .shadow-none { box-shadow: none !important }
5
+
6
+ .shadow-default {
7
+ box-shadow:
8
+ 0 2px 1px -1px rgba(196, 206, 214, 0.33),
9
+ 0 1px 1px 0 rgba(181, 191, 199, 0.1),
10
+ 0 1px 4px 0 rgba(119, 142, 160, 0.25) !important;
11
+ }
12
+
13
+ .shadow-smooth {
14
+ box-shadow:
15
+ 0 0 2px 2px @smooth-shadow,
16
+ 0 0 4px 4px @smooth-shadow,
17
+ 0 0 6px 6px @smooth-shadow,
18
+ 0 0 8px 8px @smooth-shadow,
19
+ 0 0 10px 10px @smooth-shadow !important
20
+ }
21
+
22
+ .shadow-hard {
23
+ box-shadow:
24
+ 0 0 2px 2px @hard-shadow,
25
+ 0 0 4px 4px @hard-shadow,
26
+ 0 0 6px 6px @hard-shadow,
27
+ 0 0 8px 8px @hard-shadow,
28
+ 0 0 10px 10px @hard-shadow !important
29
+ }
30
+
31
+ .shadow-smooth-to-bottom {
32
+ box-shadow:
33
+ 0 5px 1px 1px @smooth-shadow,
34
+ 0 5px 2px 2px @smooth-shadow,
35
+ 0 5px 3px 3px @smooth-shadow,
36
+ 0 5px 4px 4px @smooth-shadow,
37
+ 0 10px 5px 5px @smooth-shadow !important
38
+ }
39
+
40
+ .shadow-hard-to-bottom {
41
+ box-shadow:
42
+ 0 5px 1px 1px @hard-shadow,
43
+ 0 5px 2px 2px @hard-shadow,
44
+ 0 5px 3px 3px @hard-shadow,
45
+ 0 5px 4px 4px @hard-shadow,
46
+ 0 10px 5px 5px @hard-shadow !important
47
+ }
48
+
49
+ .shadow-smooth-to-top {
50
+ box-shadow:
51
+ 0 -5px 1px 1px @smooth-shadow,
52
+ 0 -5px 2px 2px @smooth-shadow,
53
+ 0 -5px 3px 3px @smooth-shadow,
54
+ 0 -5px 4px 4px @smooth-shadow,
55
+ 0 -10px 5px 5px @smooth-shadow !important
56
+ }
57
+
58
+ .shadow-hard-to-top {
59
+ box-shadow:
60
+ 0 -5px 1px 1px @hard-shadow,
61
+ 0 -5px 2px 2px @hard-shadow,
62
+ 0 -5px 3px 3px @hard-shadow,
63
+ 0 -5px 4px 4px @hard-shadow,
64
+ 0 -10px 5px 5px @hard-shadow !important
65
+ }