@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,35 @@
1
+ .scale {
2
+ &-50 { transform: scale(0.5) !important }
3
+ &-80 { transform: scale(0.8) !important }
4
+ &-90 { transform: scale(0.9) !important }
5
+ &-100 { transform: scale(1.0) !important }
6
+ &-105 { transform: scale(1.05) !important }
7
+ &-110 { transform: scale(1.1) !important }
8
+ &-120 { transform: scale(1.2) !important }
9
+ &-130 { transform: scale(1.3) !important }
10
+ &-140 { transform: scale(1.4) !important }
11
+ &-150 { transform: scale(1.5) !important }
12
+ &-160 { transform: scale(1.6) !important }
13
+ &-170 { transform: scale(1.7) !important }
14
+ &-180 { transform: scale(1.8) !important }
15
+ &-190 { transform: scale(1.9) !important }
16
+ &-200 { transform: scale(2.0) !important }
17
+ }
18
+
19
+ .hover-scale {
20
+ &-50 { &:hover { transform: scale(0.5) !important } }
21
+ &-80 { &:hover { transform: scale(0.8) !important } }
22
+ &-90 { &:hover { transform: scale(0.9) !important } }
23
+ &-100 { &:hover { transform: scale(1.0) !important } }
24
+ &-105 { &:hover { transform: scale(1.05) !important } }
25
+ &-110 { &:hover { transform: scale(1.1) !important } }
26
+ &-120 { &:hover { transform: scale(1.2) !important } }
27
+ &-130 { &:hover { transform: scale(1.3) !important } }
28
+ &-140 { &:hover { transform: scale(1.4) !important } }
29
+ &-150 { &:hover { transform: scale(1.5) !important } }
30
+ &-160 { &:hover { transform: scale(1.6) !important } }
31
+ &-170 { &:hover { transform: scale(1.7) !important } }
32
+ &-180 { &:hover { transform: scale(1.8) !important } }
33
+ &-190 { &:hover { transform: scale(1.9) !important } }
34
+ &-200 { &:hover { transform: scale(2.0) !important } }
35
+ }
@@ -0,0 +1,39 @@
1
+ // left
2
+ @keyframes slide-out-left {
3
+ from { transform: translate3d(0, 0, 0) }
4
+ to { transform: translate3d(-100%, 0, 0) }
5
+ }
6
+
7
+ .slide-out-left {
8
+ animation-name: slide-out-left;
9
+ }
10
+
11
+ // up
12
+ @keyframes slide-out-up {
13
+ from { transform: translate3d(0, 0, 0) }
14
+ to { transform: translate3d(0, -100%, 0) }
15
+ }
16
+
17
+ .slide-out-up {
18
+ animation-name: slide-out-up;
19
+ }
20
+
21
+ // down
22
+ @keyframes slide-out-down {
23
+ from { transform: translate3d(0, 0, 0) }
24
+ to { transform: translate3d(0, 100%, 0) }
25
+ }
26
+
27
+ .slide-out-down {
28
+ animation-name: slide-out-down;
29
+ }
30
+
31
+ // right
32
+ @keyframes slide-out-right {
33
+ from { transform: translate3d(0, 0, 0) }
34
+ to { transform: translate3d(100%, 0, 0) }
35
+ }
36
+
37
+ .slide-out-right {
38
+ animation-name: slide-out-right;
39
+ }
@@ -0,0 +1,4 @@
1
+ @keyframes spinning {
2
+ from { transform: rotate(0deg) }
3
+ to { transform: rotate(359deg) }
4
+ }
@@ -0,0 +1,129 @@
1
+ .transition-opacity {
2
+ transition-property: opacity;
3
+ }
4
+ .transition-position {
5
+ transition-property: position;
6
+ }
7
+ .transition-all {
8
+ transition-property: all;
9
+ }
10
+
11
+ .transition-ease {
12
+ transition-timing-function: ease;
13
+ }
14
+
15
+ .transition-ease-in-out {
16
+ transition-timing-function: ease-in-out;
17
+ }
18
+
19
+ .transition-duration-01 {
20
+ transition-duration: 0.1s;
21
+ }
22
+ .transition-duration-02 {
23
+ transition-duration: 0.2s;
24
+ }
25
+ .transition-duration-03 {
26
+ transition-duration: 0.3s;
27
+ }
28
+ .transition-duration-04 {
29
+ transition-duration: 0.4s;
30
+ }
31
+ .transition-duration-05 {
32
+ transition-duration: 0.5s;
33
+ }
34
+
35
+ [class*="animated-"] {
36
+ &.loop { animation-direction: alternate }
37
+
38
+ &.infinite { animation-iteration-count: infinite }
39
+ &.repeat-1 {
40
+ animation-iteration-count: 1;
41
+ &.loop {
42
+ animation-iteration-count: 2;
43
+ }
44
+ }
45
+ &.repeat-2 {
46
+ animation-iteration-count: 2;
47
+ &.loop {
48
+ animation-iteration-count: 4;
49
+ }
50
+ }
51
+ &.repeat-3 {
52
+ animation-iteration-count: 3;
53
+ &.loop {
54
+ animation-iteration-count: 6;
55
+ }
56
+ }
57
+
58
+ &.ease { animation-timing-function: ease }
59
+ &.linear { animation-timing-function: linear }
60
+ &.ease-in { animation-timing-function: ease-in }
61
+ &.ease-out { animation-timing-function: ease-out }
62
+ &.ease-in-out { animation-timing-function: ease-in-out }
63
+
64
+
65
+ }
66
+
67
+ .animated {
68
+ animation-fill-mode: both;
69
+
70
+ &-3s {
71
+ transition: all 3s ease;
72
+ animation-duration: 3s;
73
+ }
74
+
75
+ &-2s {
76
+ transition: all 2s ease;
77
+ animation-duration: 2s;
78
+ }
79
+
80
+ &-1s {
81
+ transition: all 1s ease;
82
+ animation-duration: 1s;
83
+ }
84
+
85
+ &-09s {
86
+ transition: all 0.9s ease;
87
+ animation-duration: 0.9s;
88
+ }
89
+
90
+ &-08s {
91
+ transition: all 0.8s ease;
92
+ animation-duration: 0.8s;
93
+ }
94
+
95
+ &-07s {
96
+ transition: all 0.7s ease;
97
+ animation-duration: 0.7s;
98
+ }
99
+
100
+ &-06s {
101
+ transition: all 0.6s ease;
102
+ animation-duration: 0.6s;
103
+ }
104
+
105
+ &-05s {
106
+ transition: all 0.5s ease;
107
+ animation-duration: 0.5s;
108
+ }
109
+
110
+ &-04s {
111
+ transition: all 0.4s ease;
112
+ animation-duration: 0.4s;
113
+ }
114
+
115
+ &-03s {
116
+ transition: all 0.3s ease;
117
+ animation-duration: 0.3s;
118
+ }
119
+
120
+ &-02s {
121
+ transition: all 0.2s ease;
122
+ animation-duration: 0.2s;
123
+ }
124
+
125
+ &-01s {
126
+ transition: all 0.1s ease;
127
+ animation-duration: 0.1s;
128
+ }
129
+ }
@@ -0,0 +1,28 @@
1
+ // %
2
+ .translate-x-50pct-y-50pct { transform: translate(-50%, -50%) !important }
3
+ .translate-y-50pct { transform: translateY(-50%) !important }
4
+ .translate-y-100pct { transform: translateY(-100%) !important }
5
+ .translate-x-100pct-y-100pct { transform: translate(-100%, -100%) !important }
6
+ .translate-x50pct-y-50pct { transform: translate(50%, -50%) !important }
7
+ .translate-x100pct-y-100pct { transform: translate(100%, -100%) !important }
8
+ .translate-x50pct { transform: translateX(50%) !important }
9
+ .translate-x100pct { transform: translateX(100%) !important }
10
+ .translate-y50pct { transform: translateY(50%) !important }
11
+ .translate-y100pct { transform: translateY(100%) !important }
12
+ .translate-x-50pct-y50pct { transform: translate(-50%, 50%) !important }
13
+ .translate-x-100pct-y100pct { transform: translate(-100%, 100%) !important }
14
+ .translate-x50pct-y50pct { transform: translate(50%, 50%) !important }
15
+ .translate-x100pct-y100pct { transform: translate(100%, 100%) !important }
16
+ .translate-x-50pct { transform: translateX(-50%) !important }
17
+ .translate-x-100pct { transform: translateX(-100%) !important }
18
+
19
+ // PX
20
+ .translate-y10 { transform: translateY(10px) !important }
21
+ .translate-y-10 { transform: translateY(-10px) !important }
22
+
23
+ .hover-translate {
24
+ &-y-10 { &:hover { transform: translateY(-10px) !important } }
25
+ }
26
+
27
+ .transform-none { transform: none !important }
28
+ .hover-transform-none:hover { transform: none !important }
@@ -0,0 +1,93 @@
1
+ .activity {
2
+ align-items: center;
3
+ border-radius: @border-radius-round;
4
+ color: @color-white;
5
+ display: inline-flex;
6
+ font-weight: @font-normal;
7
+
8
+ + .activity {
9
+ margin-left: 5px;
10
+ }
11
+
12
+ .activity-icon {
13
+ border-radius: @border-radius-round;
14
+ font-size: 20px;
15
+ line-height: 1;
16
+ padding: 2px 3px 4px 3px;
17
+ }
18
+
19
+ .activity-text {
20
+ font-size: 14px;
21
+ padding: 0 8px 0 5px;
22
+ white-space: nowrap;
23
+ }
24
+
25
+ &.activity-available {
26
+ background: darken(@color-status-available, 5%);
27
+
28
+ .activity-icon {
29
+ background: @color-status-available;
30
+ }
31
+ }
32
+
33
+ &.activity-driving {
34
+ background: darken(@color-status-driving, 5%);
35
+
36
+ .activity-icon {
37
+ background: @color-status-driving;
38
+ }
39
+ }
40
+
41
+ &.activity-resting {
42
+ background: darken(@color-status-resting, 5%);
43
+
44
+ .activity-icon {
45
+ background: @color-status-resting;
46
+ }
47
+ }
48
+
49
+ &.activity-working {
50
+ background: darken(@color-status-working, 5%);
51
+
52
+ .activity-icon {
53
+ background: @color-status-working;
54
+ }
55
+ }
56
+
57
+ // sizes
58
+ &.activity-sm {
59
+ .activity-icon {
60
+ font-size: 16px;
61
+ padding: 2px 4px 2px 4px;
62
+ }
63
+
64
+ .activity-text {
65
+ font-size: 12px;
66
+ padding: 0 8px 0 5px;
67
+ }
68
+ }
69
+
70
+ &.activity-lg {
71
+ .activity-icon {
72
+ font-size: 24px;
73
+ padding: 3px 4px 5px 4px;
74
+ }
75
+
76
+ .activity-text {
77
+ font-size: 18px;
78
+ padding: 0 8px 0 5px;
79
+ }
80
+ }
81
+
82
+ &.activity-xl {
83
+ .activity-icon {
84
+ font-size: 30px;
85
+ padding: 4px 5px 6px 5px;
86
+ }
87
+
88
+ .activity-text {
89
+ font-size: 22px;
90
+ padding: 0 10px 0 7px;
91
+ }
92
+ }
93
+ }