@eeacms/volto-eea-design-system 0.2.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 (263) hide show
  1. package/.coverage.babel.config.js +13 -0
  2. package/.github/ISSUE_TEMPLATE/bug_report.md +50 -0
  3. package/.github/ISSUE_TEMPLATE/feature_request.md +50 -0
  4. package/.github/workflows/node.js.yml +59 -0
  5. package/.prettierignore +4 -0
  6. package/.project.eslintrc.js +45 -0
  7. package/.release-it.json +17 -0
  8. package/.storybook/manager.js +15 -0
  9. package/CHANGELOG.md +1025 -0
  10. package/DEVELOP.md +51 -0
  11. package/LICENSE.md +9 -0
  12. package/README.md +196 -0
  13. package/bootstrap +41 -0
  14. package/cypress.json +17 -0
  15. package/jest-addon.config.js +36 -0
  16. package/locales/volto.pot +0 -0
  17. package/mockups/README.md +1 -0
  18. package/package.json +49 -0
  19. package/razzle.extend.js +23 -0
  20. package/src/helpers/index.js +2 -0
  21. package/src/helpers/useClickOutside.js +30 -0
  22. package/src/helpers/usePrevious.js +9 -0
  23. package/src/i18n.js +180 -0
  24. package/src/index.js +6 -0
  25. package/src/semantic.less +262 -0
  26. package/src/ui/Avatar/Avatar.jsx +32 -0
  27. package/src/ui/Avatar/Avatar.stories.jsx +61 -0
  28. package/src/ui/AvatarGrid/AvatarGrid.jsx +49 -0
  29. package/src/ui/AvatarGrid/AvatarGrid.stories.jsx +66 -0
  30. package/src/ui/Banner/Banner.jsx +59 -0
  31. package/src/ui/Banner/Banner.stories.jsx +121 -0
  32. package/src/ui/Blockquote/Blockquote.jsx +16 -0
  33. package/src/ui/Blockquote/Blockquote.stories.jsx +48 -0
  34. package/src/ui/Breadcrumbs/Breadcrumb.stories.jsx +76 -0
  35. package/src/ui/Breadcrumbs/Breadcrumbs.jsx +67 -0
  36. package/src/ui/Breadcrumbs/Breadcrumbs.stories.jsx +30 -0
  37. package/src/ui/Button/Button.stories.jsx +169 -0
  38. package/src/ui/Divider/Divider.jsx +7 -0
  39. package/src/ui/Footer/Contact.jsx +28 -0
  40. package/src/ui/Footer/Footer.jsx +52 -0
  41. package/src/ui/Footer/FooterActions.jsx +22 -0
  42. package/src/ui/Footer/FooterHeader.jsx +10 -0
  43. package/src/ui/Footer/FooterSites.jsx +33 -0
  44. package/src/ui/Footer/Social.jsx +25 -0
  45. package/src/ui/Footer/SubFooter.jsx +9 -0
  46. package/src/ui/FormFieldWrapper/FormFieldWrapper.jsx +51 -0
  47. package/src/ui/Header/Header.jsx +224 -0
  48. package/src/ui/Header/HeaderMenuPopUp.js +79 -0
  49. package/src/ui/Header/HeaderSearchPopUp.js +33 -0
  50. package/src/ui/InpageNavigation/InpageNavigation.jsx +61 -0
  51. package/src/ui/InpageNavigation/InpageNavigation.stories.jsx +166 -0
  52. package/src/ui/KeyContent/KeyContent.jsx +22 -0
  53. package/src/ui/KeyContent/KeyContent.stories.jsx +62 -0
  54. package/src/ui/Loader/Loader.stories.jsx +45 -0
  55. package/src/ui/Logo/Logo.jsx +31 -0
  56. package/src/ui/Popup/Popup.stories.jsx +97 -0
  57. package/src/ui/PublicationCard/PublicationCard.jsx +27 -0
  58. package/src/ui/PublicationCard/PublicationCard.stories.jsx +69 -0
  59. package/src/ui/Pullquote/Pullquote.jsx +44 -0
  60. package/src/ui/Pullquote/Pullquote.stories.jsx +101 -0
  61. package/src/ui/RelatedContent/RelatedContent.jsx +90 -0
  62. package/src/ui/RelatedContent/RelatedContent.stories.jsx +80 -0
  63. package/src/ui/Segment/Segment.stories.jsx +163 -0
  64. package/src/ui/Tag/Tag.jsx +13 -0
  65. package/src/ui/Tag/Tag.stories.jsx +21 -0
  66. package/src/ui/TagList/TagList.jsx +23 -0
  67. package/src/ui/TagList/TagList.stories.jsx +63 -0
  68. package/src/ui/Testimonial/Testimonial.jsx +53 -0
  69. package/src/ui/Testimonial/Testimonial.stories.jsx +51 -0
  70. package/src/ui/Timeline/Timeline.jsx +44 -0
  71. package/src/ui/Timeline/Timeline.stories.jsx +322 -0
  72. package/src/ui/index.js +31 -0
  73. package/templates/eea.hbs +50 -0
  74. package/theme/theme.config +122 -0
  75. package/theme/theme.less +64 -0
  76. package/theme/themes/eea/assets/images/EEA_Logo_Vertical.png +0 -0
  77. package/theme/themes/eea/assets/images/Footer/EEALogo.png +0 -0
  78. package/theme/themes/eea/assets/images/Footer/EULogo.png +0 -0
  79. package/theme/themes/eea/assets/images/Footer/Extras/Logo1.png +0 -0
  80. package/theme/themes/eea/assets/images/Footer/Extras/Logo10.png +0 -0
  81. package/theme/themes/eea/assets/images/Footer/Extras/Logo2.png +0 -0
  82. package/theme/themes/eea/assets/images/Footer/Extras/Logo3.png +0 -0
  83. package/theme/themes/eea/assets/images/Footer/Extras/Logo4.png +0 -0
  84. package/theme/themes/eea/assets/images/Footer/Extras/Logo5.png +0 -0
  85. package/theme/themes/eea/assets/images/Footer/Extras/Logo6.png +0 -0
  86. package/theme/themes/eea/assets/images/Footer/Extras/Logo7.png +0 -0
  87. package/theme/themes/eea/assets/images/Footer/Extras/Logo8.png +0 -0
  88. package/theme/themes/eea/assets/images/Footer/Extras/Logo9.png +0 -0
  89. package/theme/themes/eea/assets/images/Footer/Extras/abstract-visual.svg +32 -0
  90. package/theme/themes/eea/assets/images/Footer/Extras/footervisual.svg +1755 -0
  91. package/theme/themes/eea/assets/images/Footer/Vector1.png +0 -0
  92. package/theme/themes/eea/assets/images/Footer/Vector2.png +0 -0
  93. package/theme/themes/eea/assets/images/Header/EeaLogo.png +0 -0
  94. package/theme/themes/eea/assets/images/Header/Vector.png +0 -0
  95. package/theme/themes/eea/assets/images/Header/close-line.svg +1 -0
  96. package/theme/themes/eea/assets/images/Header/close.png +0 -0
  97. package/theme/themes/eea/assets/images/Header/down-arrow.png +0 -0
  98. package/theme/themes/eea/assets/images/Header/eea-logo.svg +14 -0
  99. package/theme/themes/eea/assets/images/Header/eea.png +0 -0
  100. package/theme/themes/eea/assets/images/Header/eeaIcon.png +0 -0
  101. package/theme/themes/eea/assets/images/Header/global-line.svg +1 -0
  102. package/theme/themes/eea/assets/images/Header/globeIcon.png +0 -0
  103. package/theme/themes/eea/assets/images/Header/hamburgerMenuIcon.png +0 -0
  104. package/theme/themes/eea/assets/images/Header/menu-left-arrow.svg +3 -0
  105. package/theme/themes/eea/assets/images/Header/menu-line.svg +1 -0
  106. package/theme/themes/eea/assets/images/Header/search-line.svg +1 -0
  107. package/theme/themes/eea/assets/images/Header/search.png +0 -0
  108. package/theme/themes/eea/assets/images/Header/searchIcon.png +0 -0
  109. package/theme/themes/eea/assets/images/arrow-down.svg +10 -0
  110. package/theme/themes/eea/assets/images/avatar.png +0 -0
  111. package/theme/themes/eea/assets/images/banner.png +0 -0
  112. package/theme/themes/eea/assets/images/eea-logo.png +0 -0
  113. package/theme/themes/eea/assets/images/eea_icon.png +0 -0
  114. package/theme/themes/eea/assets/images/europe-flag.svg +4 -0
  115. package/theme/themes/eea/assets/images/home-icon.svg +3 -0
  116. package/theme/themes/eea/assets/images/loaderImage.png +0 -0
  117. package/theme/themes/eea/assets/images/mega-menu-arrow.svg +3 -0
  118. package/theme/themes/eea/assets/logo/EEA-Logo-White-2.svg +9 -0
  119. package/theme/themes/eea/assets/logo/EEA-Logo-white.svg +9 -0
  120. package/theme/themes/eea/assets/logo/EIONETLogo.png +0 -0
  121. package/theme/themes/eea/assets/logo/bise.svg +47 -0
  122. package/theme/themes/eea/assets/logo/cca.svg +20 -0
  123. package/theme/themes/eea/assets/logo/copernicus.svg +62 -0
  124. package/theme/themes/eea/assets/logo/energy.svg +77 -0
  125. package/theme/themes/eea/assets/logo/fise.svg +37 -0
  126. package/theme/themes/eea/assets/logo/freshwater.svg +48 -0
  127. package/theme/themes/eea/assets/logo/industry.svg +40 -0
  128. package/theme/themes/eea/assets/logo/insitu.svg +43 -0
  129. package/theme/themes/eea/assets/logo/ipchem.svg +23 -0
  130. package/theme/themes/eea/assets/logo/marine.svg +63 -0
  131. package/theme/themes/eea/collections/breadcrumb.overrides +44 -0
  132. package/theme/themes/eea/collections/breadcrumb.variables +49 -0
  133. package/theme/themes/eea/collections/form.overrides +56 -0
  134. package/theme/themes/eea/collections/form.variables +211 -0
  135. package/theme/themes/eea/collections/grid.overrides +17 -0
  136. package/theme/themes/eea/collections/grid.variables +103 -0
  137. package/theme/themes/eea/collections/menu.overrides +84 -0
  138. package/theme/themes/eea/collections/menu.variables +471 -0
  139. package/theme/themes/eea/collections/message.overrides +34 -0
  140. package/theme/themes/eea/collections/message.variables +142 -0
  141. package/theme/themes/eea/collections/table.overrides +30 -0
  142. package/theme/themes/eea/collections/table.variables +249 -0
  143. package/theme/themes/eea/definitions/elements/icon.less +499 -0
  144. package/theme/themes/eea/elements/button.overrides +199 -0
  145. package/theme/themes/eea/elements/button.variables +405 -0
  146. package/theme/themes/eea/elements/container.overrides +98 -0
  147. package/theme/themes/eea/elements/container.variables +66 -0
  148. package/theme/themes/eea/elements/divider.overrides +17 -0
  149. package/theme/themes/eea/elements/divider.variables +53 -0
  150. package/theme/themes/eea/elements/flag.overrides +1235 -0
  151. package/theme/themes/eea/elements/flag.variables +13 -0
  152. package/theme/themes/eea/elements/header.overrides +205 -0
  153. package/theme/themes/eea/elements/header.variables +151 -0
  154. package/theme/themes/eea/elements/icon.overrides +5589 -0
  155. package/theme/themes/eea/elements/icon.variables +95 -0
  156. package/theme/themes/eea/elements/image.overrides +3 -0
  157. package/theme/themes/eea/elements/image.variables +44 -0
  158. package/theme/themes/eea/elements/input.overrides +83 -0
  159. package/theme/themes/eea/elements/input.variables +104 -0
  160. package/theme/themes/eea/elements/label.overrides +49 -0
  161. package/theme/themes/eea/elements/label.variables +267 -0
  162. package/theme/themes/eea/elements/list.overrides +28 -0
  163. package/theme/themes/eea/elements/list.variables +233 -0
  164. package/theme/themes/eea/elements/loader.overrides +3 -0
  165. package/theme/themes/eea/elements/loader.variables +73 -0
  166. package/theme/themes/eea/elements/placeholder.overrides +3 -0
  167. package/theme/themes/eea/elements/placeholder.variables +55 -0
  168. package/theme/themes/eea/elements/rail.overrides +3 -0
  169. package/theme/themes/eea/elements/rail.variables +34 -0
  170. package/theme/themes/eea/elements/reveal.overrides +3 -0
  171. package/theme/themes/eea/elements/reveal.variables +18 -0
  172. package/theme/themes/eea/elements/segment.overrides +8 -0
  173. package/theme/themes/eea/elements/segment.variables +154 -0
  174. package/theme/themes/eea/elements/step.overrides +18 -0
  175. package/theme/themes/eea/elements/step.variables +130 -0
  176. package/theme/themes/eea/extras/avatar.less +97 -0
  177. package/theme/themes/eea/extras/avatar.variables +34 -0
  178. package/theme/themes/eea/extras/avatarGrid.less +43 -0
  179. package/theme/themes/eea/extras/avatarGrid.variables +20 -0
  180. package/theme/themes/eea/extras/banner.less +213 -0
  181. package/theme/themes/eea/extras/banner.variables +77 -0
  182. package/theme/themes/eea/extras/blockquote.less +89 -0
  183. package/theme/themes/eea/extras/blockquote.variables +35 -0
  184. package/theme/themes/eea/extras/custom.overrides +0 -0
  185. package/theme/themes/eea/extras/custom.variables +0 -0
  186. package/theme/themes/eea/extras/divider.less +14 -0
  187. package/theme/themes/eea/extras/divider.variables +9 -0
  188. package/theme/themes/eea/extras/footer.less +273 -0
  189. package/theme/themes/eea/extras/footer.variables +109 -0
  190. package/theme/themes/eea/extras/header.less +691 -0
  191. package/theme/themes/eea/extras/header.variables +149 -0
  192. package/theme/themes/eea/extras/inpageNavigation.less +57 -0
  193. package/theme/themes/eea/extras/inpageNavigation.variables +30 -0
  194. package/theme/themes/eea/extras/keyContent.less +36 -0
  195. package/theme/themes/eea/extras/keyContent.variables +18 -0
  196. package/theme/themes/eea/extras/main.overrides +31 -0
  197. package/theme/themes/eea/extras/main.variables +33 -0
  198. package/theme/themes/eea/extras/publicationCard.less +62 -0
  199. package/theme/themes/eea/extras/publicationCard.variables +24 -0
  200. package/theme/themes/eea/extras/pullquote.less +76 -0
  201. package/theme/themes/eea/extras/pullquote.variables +34 -0
  202. package/theme/themes/eea/extras/select.overrides +0 -0
  203. package/theme/themes/eea/extras/select.variables +0 -0
  204. package/theme/themes/eea/extras/tag.less +37 -0
  205. package/theme/themes/eea/extras/tag.variables +22 -0
  206. package/theme/themes/eea/extras/tagList.less +50 -0
  207. package/theme/themes/eea/extras/tagList.variables +13 -0
  208. package/theme/themes/eea/extras/testimonial.less +28 -0
  209. package/theme/themes/eea/extras/testimonial.variables +13 -0
  210. package/theme/themes/eea/extras/timeline.less +114 -0
  211. package/theme/themes/eea/extras/timeline.variables +40 -0
  212. package/theme/themes/eea/globals/reset.overrides +454 -0
  213. package/theme/themes/eea/globals/reset.variables +6 -0
  214. package/theme/themes/eea/globals/site.overrides +27 -0
  215. package/theme/themes/eea/globals/site.variables +1135 -0
  216. package/theme/themes/eea/modules/accordion.overrides +83 -0
  217. package/theme/themes/eea/modules/accordion.variables +114 -0
  218. package/theme/themes/eea/modules/chatroom.overrides +3 -0
  219. package/theme/themes/eea/modules/chatroom.variables +3 -0
  220. package/theme/themes/eea/modules/checkbox.overrides +67 -0
  221. package/theme/themes/eea/modules/checkbox.variables +194 -0
  222. package/theme/themes/eea/modules/dimmer.overrides +3 -0
  223. package/theme/themes/eea/modules/dimmer.variables +58 -0
  224. package/theme/themes/eea/modules/dropdown.overrides +53 -0
  225. package/theme/themes/eea/modules/dropdown.variables +390 -0
  226. package/theme/themes/eea/modules/embed.overrides +3 -0
  227. package/theme/themes/eea/modules/embed.variables +53 -0
  228. package/theme/themes/eea/modules/modal.overrides +3 -0
  229. package/theme/themes/eea/modules/modal.variables +193 -0
  230. package/theme/themes/eea/modules/nag.overrides +3 -0
  231. package/theme/themes/eea/modules/nag.variables +74 -0
  232. package/theme/themes/eea/modules/popup.overrides +83 -0
  233. package/theme/themes/eea/modules/popup.variables +153 -0
  234. package/theme/themes/eea/modules/progress.overrides +3 -0
  235. package/theme/themes/eea/modules/progress.variables +113 -0
  236. package/theme/themes/eea/modules/rating.overrides +74 -0
  237. package/theme/themes/eea/modules/rating.variables +103 -0
  238. package/theme/themes/eea/modules/search.overrides +3 -0
  239. package/theme/themes/eea/modules/search.variables +163 -0
  240. package/theme/themes/eea/modules/shape.overrides +3 -0
  241. package/theme/themes/eea/modules/shape.variables +40 -0
  242. package/theme/themes/eea/modules/sidebar.overrides +3 -0
  243. package/theme/themes/eea/modules/sidebar.variables +45 -0
  244. package/theme/themes/eea/modules/sticky.overrides +3 -0
  245. package/theme/themes/eea/modules/sticky.variables +7 -0
  246. package/theme/themes/eea/modules/tab.overrides +13 -0
  247. package/theme/themes/eea/modules/tab.variables +17 -0
  248. package/theme/themes/eea/modules/transition.overrides +1087 -0
  249. package/theme/themes/eea/modules/transition.variables +10 -0
  250. package/theme/themes/eea/modules/video.overrides +3 -0
  251. package/theme/themes/eea/modules/video.variables +16 -0
  252. package/theme/themes/eea/views/ad.overrides +3 -0
  253. package/theme/themes/eea/views/ad.variables +13 -0
  254. package/theme/themes/eea/views/card.overrides +73 -0
  255. package/theme/themes/eea/views/card.variables +237 -0
  256. package/theme/themes/eea/views/comment.overrides +3 -0
  257. package/theme/themes/eea/views/comment.variables +98 -0
  258. package/theme/themes/eea/views/feed.overrides +3 -0
  259. package/theme/themes/eea/views/feed.variables +141 -0
  260. package/theme/themes/eea/views/item.overrides +8 -0
  261. package/theme/themes/eea/views/item.variables +157 -0
  262. package/theme/themes/eea/views/statistic.overrides +19 -0
  263. package/theme/themes/eea/views/statistic.variables +105 -0
@@ -0,0 +1,130 @@
1
+ /*******************************
2
+ Step
3
+ *******************************/
4
+
5
+ /*-------------------
6
+ Group
7
+ --------------------*/
8
+
9
+ @stepMargin: 1em 0em;
10
+ @stepsBorderRadius: @defaultBorderRadius;
11
+ @stepsBackground: '';
12
+ @stepsBoxShadow: none;
13
+ @stepsBorder: 1px solid @borderColor;
14
+
15
+ /*-------------------
16
+ Element
17
+ --------------------*/
18
+
19
+ @verticalMargin: 0em;
20
+ @horizontalMargin: 0em;
21
+
22
+ @arrowSize: @relativeLarge;
23
+ @verticalPadding: @relativeLarge;
24
+ @horizontalPadding: 2em;
25
+
26
+ @transition:
27
+ background-color @defaultDuration @defaultEasing,
28
+ opacity @defaultDuration @defaultEasing,
29
+ color @defaultDuration @defaultEasing,
30
+ box-shadow @defaultDuration @defaultEasing
31
+ ;
32
+ @lineHeight: @relativeLarge;
33
+ @alignItems: center;
34
+ @justifyContent: center;
35
+ @backgroundColor: @white;
36
+ @background: @backgroundColor;
37
+ @borderRadius: 0em;
38
+ @borderWidth: 1px;
39
+ @boxShadow: none;
40
+ @border: none;
41
+ @divider: @borderWidth solid @borderColor;
42
+
43
+ /* Icon */
44
+ @iconDistance: 1rem;
45
+ @iconSize: 2.5em;
46
+ @iconAlign: middle;
47
+
48
+ /* Title */
49
+ @titleFontFamily: @headerFont;
50
+ @titleFontWeight: @bold;
51
+ @titleFontSize: @relativeLarge;
52
+ @titleColor: @darkTextColor;
53
+
54
+ /* Description */
55
+ @descriptionDistance: 0.25em;
56
+ @descriptionFontSize: @relativeSmall;
57
+ @descriptionFontWeight: @normal;
58
+ @descriptionColor: @textColor;
59
+
60
+
61
+ /* Arrow */
62
+ @arrowBackgroundColor: @backgroundColor;
63
+ @arrowTopOffset: 50%;
64
+ @arrowRightOffset: 0%;
65
+ @arrowBorderWidth: 0px @borderWidth @borderWidth 0px;
66
+
67
+ @arrowDisplay: block;
68
+ @lastArrowDisplay: none;
69
+
70
+ @activeArrowDisplay: block;
71
+ @activeLastArrowDisplay: none;
72
+
73
+ /* Mobile */
74
+ @mobileIconDistance: @iconDistance;
75
+
76
+ /*-------------------
77
+ Types
78
+ --------------------*/
79
+
80
+ /* Vertical */
81
+ @verticalDivider: @divider;
82
+ @verticalArrowTopOffset: 50%;
83
+ @verticalArrowRightOffset: 0%;
84
+ @verticalArrowBorderWidth: 0px @borderWidth @borderWidth 0px;
85
+
86
+ @verticalArrowDisplay: none;
87
+ @verticalLastArrowDisplay: @verticalArrowDisplay;
88
+
89
+ @verticalActiveArrowDisplay: block;
90
+ @verticalActiveLastArrowDisplay: block;
91
+
92
+ /*-------------------
93
+ Variations
94
+ --------------------*/
95
+
96
+ @attachedHorizontalOffset: -@borderWidth;
97
+ @attachedVerticalOffset: 0;
98
+ @attachedWidth: calc(100% + (-@attachedHorizontalOffset * 2));
99
+
100
+ @orderedFontFamily: inherit;
101
+ @orderedFontWeight: @bold;
102
+
103
+ /*-------------------
104
+ States
105
+ --------------------*/
106
+
107
+ /* Completed */
108
+ @completedColor: @positiveColor;
109
+
110
+ /* Hover */
111
+ @hoverBackground: @offWhite;
112
+ @hoverColor: @hoveredTextColor;
113
+
114
+ /* Down */
115
+ @downBackground: @darkWhite;
116
+ @downColor: @pressedTextColor;
117
+
118
+ /* Active */
119
+ @activeBackground: @darkWhite;
120
+ @activeColor: @linkColor;
121
+ @activeIconColor: @darkTextColor;
122
+
123
+ /* Active + Hover */
124
+ @activeHoverBackground: @lightGrey;
125
+ @activeHoverColor: @textColor;
126
+
127
+
128
+ /* Disabled */
129
+ @disabledBackground: @background;
130
+ @disabledColor: @disabledTextColor;
@@ -0,0 +1,97 @@
1
+ @type: 'extra';
2
+ @element: 'avatar';
3
+
4
+ @import (multiple) '../../theme.config';
5
+
6
+ /*-------------------
7
+ AVATAR
8
+ --------------------*/
9
+
10
+ .eea.avatar.big {
11
+ width: @avatarWidthBig;
12
+ .wrapper {
13
+ display: flex;
14
+ flex-direction: column;
15
+ justify-content: center;
16
+ width: @avatarWrapperWidth;
17
+
18
+ .image-wrapper {
19
+ width: @avatarImageWrapperWidth;
20
+ display: flex;
21
+ justify-content: center;
22
+
23
+ .image {
24
+ height: @avatarImageHeightBig;
25
+ width: @avatarImageWidthBig;
26
+ border-radius: @avatarImageBorderRadius;
27
+ background-position: center;
28
+ background-size: contain;
29
+ }
30
+ }
31
+ .content-wrapper {
32
+ width: @avatarContentWrapperWidth;
33
+ .content {
34
+ margin-top: @avatarContentMarginTop;
35
+ .title {
36
+ font-weight: @avatarContentTitleFontWeight;
37
+ text-align: center;
38
+ font-size: @avatarContentTitleFontSize;
39
+ line-height: @avatarContentTitleLineHeight;
40
+ letter-spacing: @avatarContentTitleLetterSpacing;
41
+ margin-bottom: @avatarContentTitleMarginBottom;
42
+ }
43
+ .metadata {
44
+ text-align: center;
45
+ font-size: @avatarMetadataFontSize;
46
+ font-weight: @avatarMetadataFontWeight;
47
+ margin-top: @avatarMetadataMarginTop;
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+
54
+ .eea.avatar.small {
55
+ width: @avatarWidthSmall;
56
+ .wrapper {
57
+ width: @avatarWrapperWidth;
58
+ display: flex;
59
+ flex-direction: column;
60
+ justify-content: center;
61
+
62
+ .image-wrapper {
63
+ width: @avatarImageWrapperWidth;
64
+ display: flex;
65
+ justify-content: center;
66
+
67
+ .image {
68
+ height: @avatarImageHeightSmall;
69
+ width: @avatarImageWidthSmall;
70
+ border-radius: @avatarImageBorderRadius;
71
+ background-position: center;
72
+ background-size: contain;
73
+ }
74
+ }
75
+
76
+ .content-wrapper {
77
+ width: @avatarContentWrapperWidth;
78
+ .content {
79
+ margin-top: @avatarContentMarginTopSmall;
80
+ .title {
81
+ font-weight: @avatarContentTitleFontWeightSmall;
82
+ color: @darkCyan;
83
+ text-align: center;
84
+ font-size: @avatarContentTitleFontSizeSmall;
85
+ line-height: @avatarContentTitleLineHeightSmall;
86
+ letter-spacing: @avatarContentTitleLetterSpacing;
87
+ margin-bottom: @avatarContentTitleMarginBottom;
88
+ }
89
+ .metadata {
90
+ text-align: center;
91
+ font-size: @avatarMetadataFontSizeSmall;
92
+ font-weight: @avatarMetadataFontWeightSmall;
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }
@@ -0,0 +1,34 @@
1
+ /*******************************
2
+ Avatar
3
+ *******************************/
4
+
5
+ /* Big */
6
+ @avatarWidthBig : 100%;
7
+ @avatarWrapperWidth : 100%;
8
+ @avatarImageWrapperWidth : 100%;
9
+ @avatarImageHeightBig : 150px;
10
+ @avatarImageWidthBig : 150px;
11
+ @avatarImageBorderRadius : 50%;
12
+ @avatarContentWrapperWidth : 100%;
13
+ @avatarContentMarginTop : 17.84px;
14
+ @avatarContentTitleFontWeight : 700;
15
+ @avatarContentTitleFontSize : 36px;
16
+ @avatarContentTitleLineHeight : 54px;
17
+ @avatarContentTitleLetterSpacing: -0.015em;
18
+ @avatarContentTitleMarginBottom : 0px;
19
+ @avatarMetadataFontSize : 24px;
20
+ @avatarMetadataFontWeight : 400;
21
+ @avatarMetadataMarginTop : 8.84px;
22
+
23
+
24
+ /* Small */
25
+ @avatarWidthSmall : 100%;
26
+ @avatarImageHeightSmall : 130px;
27
+ @avatarImageWidthSmall : 130px;
28
+ @avatarContentMarginTopSmall : 20px;
29
+ @avatarContentTitleFontWeightSmall : 500;
30
+ @avatarContentTitleFontSizeSmall : 20px;
31
+ @avatarContentTitleLineHeightSmall : 30px;
32
+ @avatarMetadataFontSizeSmall : 16px;
33
+ @avatarMetadataFontWeightSmall : 300;
34
+ @avatarMetadataMarginTop : 8.84px;
@@ -0,0 +1,43 @@
1
+ @type: 'extra';
2
+ @element: 'avatarGrid';
3
+
4
+ @import (multiple) '../../theme.config';
5
+
6
+ /*-------------------
7
+ AVATAR GRID
8
+ --------------------*/
9
+
10
+ .eea.avatar-grid {
11
+ width: @avatarGridWidth;
12
+ .wrapper {
13
+ width: @avatarGridWrapperWidth;
14
+ .content {
15
+ width: @avatarGridContentWidth;
16
+ display: flex;
17
+ flex-direction: column;
18
+
19
+ .grid-title {
20
+ width: @avatarGridContentTitleWidth;
21
+ font-weight: @avatarGridContentTitleFontWeight;
22
+ font-size: @avatarGridContentTitleFontSize;
23
+ text-align: center;
24
+ }
25
+
26
+ .grid-title.hidden {
27
+ display: none;
28
+ }
29
+
30
+ .avatar.group {
31
+ display: flex;
32
+ justify-content: center;
33
+ width: @avatarGroupWidth;
34
+ margin-top: @avatarGroupMarginTop;
35
+
36
+ .avatar-wrapper {
37
+ padding-left: @avatarGroupWrapperPaddingRight;
38
+ padding-right: @avatarGroupWrapperPaddingRight;
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
@@ -0,0 +1,20 @@
1
+ /*******************************
2
+ Avatar Grid
3
+ *******************************/
4
+
5
+ @avatarGridWidth: 100%;
6
+ @avatarGridWrapperWidth : 100%;
7
+ @avatarGridContentWidth : 100%;
8
+
9
+ /* Grid Title */
10
+ @avatarGridContentTitleWidth : 100%;
11
+ @avatarGridContentTitleFontWeight : 700;
12
+ @avatarGridContentTitleFontSize : 36px;
13
+ @avatarGridContentTitleLineHeight : 20px;
14
+
15
+
16
+ /* Avatar Group */
17
+ @avatarGroupWidth : 100%;
18
+ @avatarGroupMarginTop : 67.54px;
19
+ @avatarGroupWrapperPaddingLeft : 32px;
20
+ @avatarGroupWrapperPaddingRight : 32px;
@@ -0,0 +1,213 @@
1
+ @type: 'extra';
2
+ @element: 'banner';
3
+
4
+ @import (multiple) '../../theme.config';
5
+
6
+ /*-------------------
7
+ BANNER
8
+ --------------------*/
9
+
10
+ @font-face {
11
+ font-display: swap;
12
+ font-family: 'Archivo';
13
+ src: url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap')
14
+ format('truetype');
15
+ }
16
+
17
+ .eea.banner {
18
+ width: 100%;
19
+ color: @white;
20
+ background: @bannerBackgroundColor;
21
+ position: relative;
22
+ font-family: 'Archivo', sans-serif;
23
+
24
+ .gradient {
25
+ background: @backgroundGradient;
26
+ opacity: @backgroundGradientOpacity;
27
+
28
+ .content {
29
+ padding: @mobileContentPadding;
30
+
31
+ .ui.grid {
32
+ align-items: end;
33
+ }
34
+
35
+ .title {
36
+ max-width: @titleMaxWidth;
37
+ margin: @mobileTitleMargin;
38
+ font-size: @mobileTitleFontSize;
39
+ font-weight: @titleFontWeight;
40
+ line-height: @mobileTitleLineHeight;
41
+ }
42
+
43
+ .metadata {
44
+ font-size: @mobileMetadataFontSize;
45
+ line-height: @mobileMetadataLineHeight;
46
+
47
+ .field.type {
48
+ font-weight: @metadataTypeFontWeight;
49
+ }
50
+
51
+ span.field:not(:last-child)::after {
52
+ content: @metadataFieldDividerContent;
53
+ }
54
+ }
55
+
56
+ .actions {
57
+ display: flex;
58
+ justify-content: flex-end;
59
+ align-items: @mobileActionsAlignItems;
60
+
61
+ .action {
62
+ .ui.basic.inverted.button {
63
+ /* used basic inverted button for minimun overrides on box-shadow and active state background */
64
+ box-shadow: @bannerActionButtonBoxShadow !important;
65
+
66
+ &:active {
67
+ background-color: @bannerActionButtonActiveBackgroundColor !important;
68
+ }
69
+
70
+ span {
71
+ font-size: @tabletBannerActionButtonFontSize;
72
+ }
73
+
74
+ i.icon {
75
+ opacity: @bannerActionButtonIconOpacity;
76
+ margin: @mobileBannerActionButtonMargin;
77
+ font-size: @mobileBannerActionButtonIconFontSize;
78
+ }
79
+ }
80
+ }
81
+ }
82
+ }
83
+ }
84
+ .image {
85
+ background-repeat: @imageBackgroundRepeat;
86
+ background-size: @imageBackgroundSize;
87
+ background-position: @imageBackgroundPosition;
88
+ width: 100%;
89
+ height: 100%;
90
+
91
+ .gradient {
92
+ background-image: @backgroundGradientWithImage;
93
+
94
+ .content {
95
+ padding: @mobileContentPaddingWithImage;
96
+ }
97
+ }
98
+ }
99
+
100
+
101
+ }
102
+
103
+ /*Share Popup*/
104
+
105
+ .ui.popup.share-popup {
106
+ padding: @sharePopupPadding;
107
+ filter: @sharePopupFilter;
108
+
109
+ p {
110
+ font-size: @sharePopupFontSize;
111
+ font-weight: @sharePopupFontWeight;
112
+ line-height: @sharePopupLineHeight;
113
+ }
114
+
115
+ .actions {
116
+ flex-flow: column;
117
+ i.icon {
118
+ color: @sharePopupActionsIconColor;
119
+ }
120
+
121
+ .action {
122
+ display:flex;
123
+ justify-content:center
124
+ }
125
+
126
+ .ui.button:not(.icon) > .icon:not(.button):not(.dropdown) {
127
+ margin: @sharePopupActionsIconMargin;
128
+ }
129
+ }
130
+
131
+ }
132
+
133
+ @media only screen and (min-width: @tabletBreakpoint) {
134
+ .eea.banner {
135
+ .gradient {
136
+ .content {
137
+ padding: @tabletContentPadding;
138
+
139
+ .title {
140
+ font-size: @tabletTitleFontSize;
141
+ font-weight: @titleFontWeight;
142
+ margin: @tabletTitleMargin;
143
+ line-height: @tabletTitleLineHeight;
144
+ }
145
+
146
+ .metadata {
147
+ font-size: @tabletMetadataFontSize;
148
+ line-height: @tabletMetadataLineHeight;
149
+ }
150
+
151
+ .actions {
152
+ align-items: @tabletActionsAlignItems;
153
+ flex-direction: @tabletActionsFlexDirection;
154
+
155
+ .action {
156
+ min-width:@tabletActionsActionMinWidth;
157
+
158
+ .ui.basic.inverted.button i.icon {
159
+ margin: @tabletBannerActionButtonMargin;
160
+ font-size: @tabletBannerActionButtonIconFontSize;
161
+ vertical-align: @bannerActionButtonIconVerticalAlign;
162
+ }
163
+ }
164
+ }
165
+ }
166
+ }
167
+
168
+ .image .gradient .content {
169
+ padding: @tabletContentPaddingWithImage;
170
+ }
171
+ }
172
+
173
+ /*Share Popup*/
174
+ .ui.popup.share-popup {
175
+ min-width: @tabletSharePopupMinWidth;
176
+
177
+ .actions{
178
+ flex-flow: row;
179
+ display: flex;
180
+ justify-content: space-between;
181
+
182
+ .action {
183
+ display:inherit;
184
+ }
185
+ }
186
+
187
+ }
188
+ }
189
+
190
+ @media only screen and (min-width: @computerBreakpoint) {
191
+
192
+ .eea.banner {
193
+
194
+ .image {
195
+
196
+ .gradient .content {
197
+ padding: @computerContentPaddingWithImage;
198
+ }
199
+ }
200
+
201
+ .gradient .content {
202
+ padding: @computerContentPadding ;
203
+
204
+ .title {
205
+ font-size: @computerTitleFontSize;
206
+ margin: @computerTitleMargin;
207
+ line-height: @computerTitleLineHeight;
208
+ }
209
+ }
210
+
211
+ }
212
+
213
+ }
@@ -0,0 +1,77 @@
1
+ /*******************************
2
+ Page Banner
3
+ *******************************/
4
+
5
+ @bannerBackgroundColor : @darkCyan;
6
+
7
+ /* Background Image */
8
+ @imageBackgroundRepeat : no-repeat;
9
+ @imageBackgroundSize : cover;
10
+ @imageBackgroundPosition : center;
11
+
12
+ /* Gradient */
13
+ @backgroundGradient : linear-gradient(8deg, #0c1b28b3 32%, rgba(0, 36, 78, 0) 80%);
14
+ @backgroundGradientWithImage : linear-gradient(0deg, rgb(20, 33, 44, 90%) 24%, rgba(0, 36, 78, 0) 80%);
15
+ @backgroundGradientOpacity : 0.9;
16
+
17
+ /* Content */
18
+ @mobileContentPadding : 1rem 0 1.25rem;
19
+ @tabletContentPadding : 3rem 0 1.25rem;
20
+ @computerContentPadding : 5rem 0 1.25rem;
21
+
22
+ @mobileContentPaddingWithImage : 6.25rem 0 1.25rem;
23
+ @tabletContentPaddingWithImage : 12.5rem 0 1.25rem;
24
+ @computerContentPaddingWithImage : 15.625rem 0 1.25rem;
25
+
26
+ /* Title */
27
+ @titleFontWeight : @bold;
28
+ @titleMaxWidth : 100%;
29
+ @mobileTitleFontSize : 1.25rem;
30
+ @tabletTitleFontSize : 2.25rem;
31
+ @computerTitleFontSize : 3rem;
32
+ @mobileTitleLineHeight : 1.375rem;
33
+ @tabletTitleLineHeight : 2.75rem;
34
+ @computerTitleLineHeight : 3.5rem;
35
+ @mobileTitleMargin : 0 0 0.5rem 0;
36
+ @tabletTitleMargin : 0 0 0.813rem 0;
37
+ @computerTitleMargin : 0 0 1.125rem 0;
38
+
39
+ /* Metadata */
40
+ @metadataTypeFontWeight : @bold;
41
+ @mobileMetadataFontSize : 0.438rem;
42
+ @tabletMetadataFontSize : 0.875rem;
43
+ @mobileMetadataLineHeight : 0.5rem;
44
+ @tabletMetadataLineHeight : 1rem;
45
+ // Metadata field
46
+ @metadataFieldDividerContent: ' | ';
47
+
48
+ /* Actions */
49
+ @mobileActionsAlignItems : center;
50
+ @tabletActionsAlignItems : flex-end;
51
+ @tabletActionsFlexDirection : column;
52
+ // Action
53
+ @tabletActionsActionMinWidth : 95px;
54
+ // Button
55
+ @mobileBannerActionButtonFontSize : 0.75rem;
56
+ @tabletBannerActionButtonFontSize : 0.875rem;
57
+ @bannerActionButtonBoxShadow : none;
58
+ @bannerActionButtonActiveBackgroundColor : transparent;
59
+ @mobileBannerActionButtonMargin : 0;
60
+ @tabletBannerActionButtonMargin : 0 0.313rem 0 0;
61
+ // Button Icon
62
+ @bannerActionButtonIconVerticalAlign : text-bottom;
63
+ @bannerActionButtonIconOpacity : 1;
64
+ @mobileBannerActionButtonIconFontSize : 1rem;
65
+ @tabletBannerActionButtonIconFontSize : 1.1rem;
66
+
67
+ /* Share Popup */
68
+ @sharePopupPadding: @tinyGap;
69
+ @sharePopupFilter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.25));
70
+ @tabletSharePopupMinWidth: 120px;
71
+ // Text
72
+ @sharePopupFontSize: 0.875rem;
73
+ @sharePopupFontWeight: 500;
74
+ @sharePopupLineHeight: 1rem;
75
+ // Actions
76
+ @sharePopupActionsIconColor: @pineGreen;
77
+ @sharePopupActionsIconMargin: 0;
@@ -0,0 +1,89 @@
1
+ @type: 'extra';
2
+ @element: 'blockquote';
3
+
4
+ @import (multiple) '../../theme.config';
5
+
6
+ /*******************************
7
+ Blockquote
8
+ *******************************/
9
+
10
+ blockquote.callout, p.callout {
11
+ border: @calloutBorder;
12
+ box-shadow: @calloutBoxShadow;
13
+ border-radius: @calloutBorderRadius;
14
+ padding-top: @calloutPadding;
15
+ padding-bottom: @calloutPadding;
16
+ border-left: @mobileBlockquoteBorderLeft;
17
+ color: @quoteColor;
18
+ font-size: @mobileQuoteFontSize;
19
+ }
20
+
21
+ .eea.blockquote {
22
+ border-left: @mobileBlockquoteBorderLeft;
23
+
24
+ .quote {
25
+ display: flex;
26
+ flex-direction: column;
27
+ margin: @mobileQuoteMargin;
28
+ gap: @quoteGap;
29
+ color: @quoteColor;
30
+ font-size: @mobileQuoteFontSize;
31
+ font-weight: @quoteFontWeight;
32
+
33
+ .meta {
34
+ margin: @metaMargin;
35
+ font-size: @mobileMetaFontSize;
36
+ font-weight: @metaWeight;
37
+ align-self: @metaAlignSelf;
38
+ }
39
+ }
40
+ }
41
+
42
+ .eea.slate.blockquote {
43
+ .quote {
44
+ display: block;
45
+ flex-direction: unset;
46
+ gap: unset;
47
+ font-weight: @slateQuoteFontWeight;
48
+
49
+ br {
50
+ content: '';
51
+ display: flex;
52
+ margin: @slateQuoteGap 0;
53
+ }
54
+ }
55
+ }
56
+
57
+ @media only screen and (min-width: @tabletBreakpoint) {
58
+ blockquote.callout, p.callout {
59
+ border-left: @tabletBlockquoteBorderLeft;
60
+ font-size: @tabletQuoteFontSize;
61
+ }
62
+
63
+ .eea.blockquote {
64
+ border-left: @tabletBlockquoteBorderLeft;
65
+ .quote {
66
+ margin: @tabletQuoteMargin;
67
+ font-size: @tabletQuoteFontSize;
68
+ .meta {
69
+ font-size: @tabletMetaFontSize;
70
+ }
71
+ }
72
+ }
73
+ }
74
+
75
+ @media only screen and (min-width: @computerBreakpoint) {
76
+ blockquote.callout, p.callout {
77
+ font-size: @computerQuoteFontSize;
78
+ }
79
+
80
+ .eea.blockquote .quote {
81
+ margin: @computerQuoteMargin;
82
+ font-size: @computerQuoteFontSize;
83
+ .meta {
84
+ font-size: @computerMetaFontSize;
85
+ }
86
+ }
87
+ }
88
+
89
+ .loadUIOverrides();