@eeacms/volto-n2k 0.1.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 (233) hide show
  1. package/.coverage.babel.config.js +9 -0
  2. package/.release-it.json +17 -0
  3. package/CHANGELOG.md +155 -0
  4. package/DEVELOP.md +53 -0
  5. package/Jenkinsfile +209 -0
  6. package/LICENSE.md +9 -0
  7. package/README.md +62 -0
  8. package/bootstrap +41 -0
  9. package/cypress/fixtures/example.json +5 -0
  10. package/cypress/integration/block-basics.js +32 -0
  11. package/cypress/plugins/index.js +26 -0
  12. package/cypress/support/commands.js +315 -0
  13. package/cypress/support/index.js +53 -0
  14. package/cypress.json +12 -0
  15. package/jest-addon.config.js +36 -0
  16. package/package.json +57 -0
  17. package/src/actions.js +20 -0
  18. package/src/components/index.js +3 -0
  19. package/src/components/manage/Blocks/BodyClass/Edit.jsx +29 -0
  20. package/src/components/manage/Blocks/BodyClass/View.jsx +13 -0
  21. package/src/components/manage/Blocks/BodyClass/index.js +24 -0
  22. package/src/components/manage/Blocks/BodyClass/schema.js +19 -0
  23. package/src/components/manage/Blocks/BubbleChart/BubbleChart.jsx +101 -0
  24. package/src/components/manage/Blocks/BubbleChart/Chart.jsx +67 -0
  25. package/src/components/manage/Blocks/BubbleChart/ChartContext.jsx +3 -0
  26. package/src/components/manage/Blocks/BubbleChart/View.jsx +63 -0
  27. package/src/components/manage/Blocks/BubbleChart/index.js +17 -0
  28. package/src/components/manage/Blocks/BubbleChart/schema.js +124 -0
  29. package/src/components/manage/Blocks/BubbleChart/style.less +12 -0
  30. package/src/components/manage/Blocks/CarouselHorizontal/HorizontalView.jsx +221 -0
  31. package/src/components/manage/Blocks/CarouselHorizontal/index.js +19 -0
  32. package/src/components/manage/Blocks/CarouselHorizontal/schema.js +32 -0
  33. package/src/components/manage/Blocks/CddaShape/View.jsx +109 -0
  34. package/src/components/manage/Blocks/CddaShape/index.js +23 -0
  35. package/src/components/manage/Blocks/CddaShape/schema.js +19 -0
  36. package/src/components/manage/Blocks/CddaShape/style.less +14 -0
  37. package/src/components/manage/Blocks/ContactBlock/View.jsx +56 -0
  38. package/src/components/manage/Blocks/ContactBlock/icons/domain.svg +1 -0
  39. package/src/components/manage/Blocks/ContactBlock/icons/email.svg +1 -0
  40. package/src/components/manage/Blocks/ContactBlock/icons/location.svg +1 -0
  41. package/src/components/manage/Blocks/ContactBlock/index.js +17 -0
  42. package/src/components/manage/Blocks/ContactBlock/schema.js +57 -0
  43. package/src/components/manage/Blocks/ContactBlock/styles.less +31 -0
  44. package/src/components/manage/Blocks/ExplodedPiesChart/Pie.jsx +125 -0
  45. package/src/components/manage/Blocks/ExplodedPiesChart/View.jsx +80 -0
  46. package/src/components/manage/Blocks/ExplodedPiesChart/index.js +17 -0
  47. package/src/components/manage/Blocks/ExplodedPiesChart/schema.js +75 -0
  48. package/src/components/manage/Blocks/ExplodedPiesChart/style.less +80 -0
  49. package/src/components/manage/Blocks/ExploreHabitats/Edit.jsx +29 -0
  50. package/src/components/manage/Blocks/ExploreHabitats/View.jsx +177 -0
  51. package/src/components/manage/Blocks/ExploreHabitats/index.js +24 -0
  52. package/src/components/manage/Blocks/ExploreHabitats/schema.js +15 -0
  53. package/src/components/manage/Blocks/ExploreHabitats/style.less +15 -0
  54. package/src/components/manage/Blocks/ExploreSites/Edit.jsx +29 -0
  55. package/src/components/manage/Blocks/ExploreSites/View.jsx +175 -0
  56. package/src/components/manage/Blocks/ExploreSites/index.js +24 -0
  57. package/src/components/manage/Blocks/ExploreSites/schema.js +15 -0
  58. package/src/components/manage/Blocks/ExploreSites/style.less +15 -0
  59. package/src/components/manage/Blocks/ExploreSpecies/Edit.jsx +29 -0
  60. package/src/components/manage/Blocks/ExploreSpecies/View.jsx +177 -0
  61. package/src/components/manage/Blocks/ExploreSpecies/index.js +24 -0
  62. package/src/components/manage/Blocks/ExploreSpecies/schema.js +15 -0
  63. package/src/components/manage/Blocks/ExploreSpecies/style.less +15 -0
  64. package/src/components/manage/Blocks/HabitatClassification/View.jsx +30 -0
  65. package/src/components/manage/Blocks/HabitatClassification/index.js +17 -0
  66. package/src/components/manage/Blocks/HabitatClassification/schema.js +19 -0
  67. package/src/components/manage/Blocks/HabitatClassification/style.less +3 -0
  68. package/src/components/manage/Blocks/HabitatDistribution/View.jsx +97 -0
  69. package/src/components/manage/Blocks/HabitatDistribution/index.js +23 -0
  70. package/src/components/manage/Blocks/HabitatDistribution/schema.js +19 -0
  71. package/src/components/manage/Blocks/HabitatDistribution/style.less +5 -0
  72. package/src/components/manage/Blocks/HabitatProtectedSites/View.jsx +97 -0
  73. package/src/components/manage/Blocks/HabitatProtectedSites/index.js +23 -0
  74. package/src/components/manage/Blocks/HabitatProtectedSites/schema.js +19 -0
  75. package/src/components/manage/Blocks/HabitatProtectedSites/style.less +5 -0
  76. package/src/components/manage/Blocks/HabitatsBanner/View.jsx +39 -0
  77. package/src/components/manage/Blocks/HabitatsBanner/index.js +17 -0
  78. package/src/components/manage/Blocks/HabitatsBanner/schema.js +19 -0
  79. package/src/components/manage/Blocks/HabitatsBanner/style.less +49 -0
  80. package/src/components/manage/Blocks/ImageText/Edit.jsx +98 -0
  81. package/src/components/manage/Blocks/ImageText/View.jsx +66 -0
  82. package/src/components/manage/Blocks/ImageText/index.js +24 -0
  83. package/src/components/manage/Blocks/ImageText/schema.js +69 -0
  84. package/src/components/manage/Blocks/ImageText/styles.less +87 -0
  85. package/src/components/manage/Blocks/Landing/DefalutView.jsx +83 -0
  86. package/src/components/manage/Blocks/Landing/Edit.jsx +219 -0
  87. package/src/components/manage/Blocks/Landing/EditBlockWrapper.jsx +161 -0
  88. package/src/components/manage/Blocks/Landing/View.jsx +65 -0
  89. package/src/components/manage/Blocks/Landing/images/background.webp +0 -0
  90. package/src/components/manage/Blocks/Landing/images/coasts_and_seas.webp +0 -0
  91. package/src/components/manage/Blocks/Landing/images/forests.webp +0 -0
  92. package/src/components/manage/Blocks/Landing/images/grasslands.webp +0 -0
  93. package/src/components/manage/Blocks/Landing/images/hiker.webp +0 -0
  94. package/src/components/manage/Blocks/Landing/images/islands.webp +0 -0
  95. package/src/components/manage/Blocks/Landing/images/mountains.webp +0 -0
  96. package/src/components/manage/Blocks/Landing/images/natura2000.webp +0 -0
  97. package/src/components/manage/Blocks/Landing/images/natura2000_square.webp +0 -0
  98. package/src/components/manage/Blocks/Landing/images/peatlands.webp +0 -0
  99. package/src/components/manage/Blocks/Landing/images/people_and_nature.webp +0 -0
  100. package/src/components/manage/Blocks/Landing/images/rivers.webp +0 -0
  101. package/src/components/manage/Blocks/Landing/index.js +104 -0
  102. package/src/components/manage/Blocks/Landing/schema.js +62 -0
  103. package/src/components/manage/Blocks/Landing/style.less +174 -0
  104. package/src/components/manage/Blocks/List/View.jsx +37 -0
  105. package/src/components/manage/Blocks/List/index.js +17 -0
  106. package/src/components/manage/Blocks/List/schema.js +49 -0
  107. package/src/components/manage/Blocks/List/style.less +12 -0
  108. package/src/components/manage/Blocks/NavigationAnchors/Edit.jsx +33 -0
  109. package/src/components/manage/Blocks/NavigationAnchors/View.jsx +132 -0
  110. package/src/components/manage/Blocks/NavigationAnchors/assets/external.png +0 -0
  111. package/src/components/manage/Blocks/NavigationAnchors/index.js +23 -0
  112. package/src/components/manage/Blocks/NavigationAnchors/schema.js +76 -0
  113. package/src/components/manage/Blocks/NavigationAnchors/styles.less +104 -0
  114. package/src/components/manage/Blocks/SimpleDataTable/index.js +16 -0
  115. package/src/components/manage/Blocks/SimpleDataTable/templates/colored/View.jsx +178 -0
  116. package/src/components/manage/Blocks/SimpleDataTable/templates/colored/index.js +4 -0
  117. package/src/components/manage/Blocks/SimpleDataTable/templates/colored/schema.js +56 -0
  118. package/src/components/manage/Blocks/SimpleDataTable/templates/colored/style.less +54 -0
  119. package/src/components/manage/Blocks/SiteBanner/View.jsx +148 -0
  120. package/src/components/manage/Blocks/SiteBanner/index.js +17 -0
  121. package/src/components/manage/Blocks/SiteBanner/schema.js +19 -0
  122. package/src/components/manage/Blocks/SiteBanner/style.less +106 -0
  123. package/src/components/manage/Blocks/SiteHabitatsList/View.jsx +89 -0
  124. package/src/components/manage/Blocks/SiteHabitatsList/index.js +17 -0
  125. package/src/components/manage/Blocks/SiteHabitatsList/schema.js +19 -0
  126. package/src/components/manage/Blocks/SiteHabitatsList/style.less +70 -0
  127. package/src/components/manage/Blocks/SiteProtectedHabitats/View.jsx +47 -0
  128. package/src/components/manage/Blocks/SiteProtectedHabitats/images/background.webp +0 -0
  129. package/src/components/manage/Blocks/SiteProtectedHabitats/index.js +17 -0
  130. package/src/components/manage/Blocks/SiteProtectedHabitats/schema.js +19 -0
  131. package/src/components/manage/Blocks/SiteProtectedHabitats/style.less +90 -0
  132. package/src/components/manage/Blocks/SiteProtectedSpecies/View.jsx +55 -0
  133. package/src/components/manage/Blocks/SiteProtectedSpecies/images/background.webp +0 -0
  134. package/src/components/manage/Blocks/SiteProtectedSpecies/index.js +17 -0
  135. package/src/components/manage/Blocks/SiteProtectedSpecies/schema.js +19 -0
  136. package/src/components/manage/Blocks/SiteProtectedSpecies/style.less +90 -0
  137. package/src/components/manage/Blocks/SiteShape/View.jsx +107 -0
  138. package/src/components/manage/Blocks/SiteShape/index.js +23 -0
  139. package/src/components/manage/Blocks/SiteShape/schema.js +19 -0
  140. package/src/components/manage/Blocks/SiteShape/style.less +15 -0
  141. package/src/components/manage/Blocks/SiteSpeciesList/Filters/SortBy.jsx +52 -0
  142. package/src/components/manage/Blocks/SiteSpeciesList/Filters/SpeciesGroups.jsx +43 -0
  143. package/src/components/manage/Blocks/SiteSpeciesList/Filters/View.jsx +200 -0
  144. package/src/components/manage/Blocks/SiteSpeciesList/Filters/index.js +4 -0
  145. package/src/components/manage/Blocks/SiteSpeciesList/View.jsx +253 -0
  146. package/src/components/manage/Blocks/SiteSpeciesList/index.js +17 -0
  147. package/src/components/manage/Blocks/SiteSpeciesList/schema.js +19 -0
  148. package/src/components/manage/Blocks/SiteSpeciesList/style.less +264 -0
  149. package/src/components/manage/Blocks/SiteSpeciesList/utils.js +33 -0
  150. package/src/components/manage/Blocks/SlateLink/render.jsx +77 -0
  151. package/src/components/manage/Blocks/SlateLink/styles.less +22 -0
  152. package/src/components/manage/Blocks/SlateSVG/constants.js +1 -0
  153. package/src/components/manage/Blocks/SlateSVG/extensions.js +11 -0
  154. package/src/components/manage/Blocks/SlateSVG/index.js +47 -0
  155. package/src/components/manage/Blocks/SlateSVG/render.jsx +42 -0
  156. package/src/components/manage/Blocks/SlateSVG/schema.js +12 -0
  157. package/src/components/manage/Blocks/SlateSVG/styles.less +6 -0
  158. package/src/components/manage/Blocks/SpeciesBanner/View.jsx +109 -0
  159. package/src/components/manage/Blocks/SpeciesBanner/index.js +17 -0
  160. package/src/components/manage/Blocks/SpeciesBanner/schema.js +19 -0
  161. package/src/components/manage/Blocks/SpeciesBanner/style.less +115 -0
  162. package/src/components/manage/Blocks/SpeciesClassification/View.jsx +19 -0
  163. package/src/components/manage/Blocks/SpeciesClassification/index.js +17 -0
  164. package/src/components/manage/Blocks/SpeciesClassification/schema.js +19 -0
  165. package/src/components/manage/Blocks/SpeciesClassification/style.less +3 -0
  166. package/src/components/manage/Blocks/SpeciesDistribution/View.jsx +97 -0
  167. package/src/components/manage/Blocks/SpeciesDistribution/index.js +23 -0
  168. package/src/components/manage/Blocks/SpeciesDistribution/schema.js +19 -0
  169. package/src/components/manage/Blocks/SpeciesDistribution/style.less +5 -0
  170. package/src/components/manage/Blocks/SpeciesProtectedSites/View.jsx +97 -0
  171. package/src/components/manage/Blocks/SpeciesProtectedSites/index.js +23 -0
  172. package/src/components/manage/Blocks/SpeciesProtectedSites/schema.js +19 -0
  173. package/src/components/manage/Blocks/SpeciesProtectedSites/style.less +5 -0
  174. package/src/components/manage/Blocks/StackedBarChart/Chart.jsx +127 -0
  175. package/src/components/manage/Blocks/StackedBarChart/ChartContext.jsx +3 -0
  176. package/src/components/manage/Blocks/StackedBarChart/StackedBars.jsx +116 -0
  177. package/src/components/manage/Blocks/StackedBarChart/View.jsx +64 -0
  178. package/src/components/manage/Blocks/StackedBarChart/index.js +17 -0
  179. package/src/components/manage/Blocks/StackedBarChart/schema.js +25 -0
  180. package/src/components/manage/Blocks/StackedBarChart/style.less +37 -0
  181. package/src/components/manage/Blocks/TilesImages/Edit.jsx +32 -0
  182. package/src/components/manage/Blocks/TilesImages/View.jsx +37 -0
  183. package/src/components/manage/Blocks/TilesImages/index.js +23 -0
  184. package/src/components/manage/Blocks/TilesImages/schema.js +72 -0
  185. package/src/components/manage/Blocks/TilesImages/styles.less +57 -0
  186. package/src/components/theme/AppExtras/CopyPaste/CopyPaste.jsx +176 -0
  187. package/src/components/theme/AppExtras/CopyPaste/index.js +3 -0
  188. package/src/components/theme/AppExtras/CopyPaste/style.less +18 -0
  189. package/src/components/theme/AppExtras/MultilingualRedirector/MultilingualRedirector.jsx +35 -0
  190. package/src/components/theme/AppExtras/index.js +13 -0
  191. package/src/components/theme/Footer/Footer.jsx +209 -0
  192. package/src/components/theme/Header/Header.jsx +81 -0
  193. package/src/components/theme/LanguageSelector/LanguageSelector.jsx +79 -0
  194. package/src/components/theme/LanguageSelector/styles.less +44 -0
  195. package/src/components/theme/Navigation/Navigation.jsx +453 -0
  196. package/src/components/theme/Sitemap/Sitemap.jsx +152 -0
  197. package/src/fonts/OpenSans-Bold.ttf +0 -0
  198. package/src/fonts/OpenSans-Regular.ttf +0 -0
  199. package/src/fonts/OpenSans-Semibold.ttf +0 -0
  200. package/src/fonts/Rajdhani-Bold.ttf +0 -0
  201. package/src/fonts/Rajdhani-Regular.ttf +0 -0
  202. package/src/grid.js +78 -0
  203. package/src/helpers.js +148 -0
  204. package/src/hocs/index.js +6 -0
  205. package/src/hocs/useResizeObserver.jsx +26 -0
  206. package/src/hocs/withLocalStorage.jsx +37 -0
  207. package/src/hocs/withScreenSize.jsx +43 -0
  208. package/src/icons/home.svg +12 -0
  209. package/src/icons/info.svg +5 -0
  210. package/src/icons/n2k-logo-transparent.png +0 -0
  211. package/src/icons/n2k-logo.png +0 -0
  212. package/src/icons/natura2000.svg +142 -0
  213. package/src/icons/placeholders/Algae.png +0 -0
  214. package/src/icons/placeholders/Amphibians.png +0 -0
  215. package/src/icons/placeholders/Birds.png +0 -0
  216. package/src/icons/placeholders/Conifers.png +0 -0
  217. package/src/icons/placeholders/Fishes.png +0 -0
  218. package/src/icons/placeholders/Fungi.png +0 -0
  219. package/src/icons/placeholders/Mammals.png +0 -0
  220. package/src/icons/placeholders/Plants.png +0 -0
  221. package/src/icons/placeholders/Reptiles.png +0 -0
  222. package/src/icons/placeholders/default.png +0 -0
  223. package/src/index.js +163 -0
  224. package/src/less/globals.less +3 -0
  225. package/src/less/styles.less +691 -0
  226. package/src/less/variables.less +2 -0
  227. package/src/static/cca.svg +61 -0
  228. package/src/static/ec.png +0 -0
  229. package/src/static/eea.png +0 -0
  230. package/src/static/eu.jpg +0 -0
  231. package/src/static/forest.svg +100 -0
  232. package/src/static/wise.png +0 -0
  233. package/src/store.js +24 -0
@@ -0,0 +1,691 @@
1
+ @import './globals.less';
2
+
3
+ @lightGreen: #7ac943;
4
+ @darkGreen: #3b7f02;
5
+
6
+ @font-face {
7
+ font-family: 'OpenSans';
8
+ font-weight: normal;
9
+ src: url('../fonts/OpenSans-Regular.ttf') format('truetype');
10
+ }
11
+
12
+ @font-face {
13
+ font-family: 'OpenSans';
14
+ font-weight: 600;
15
+ src: url('../fonts/OpenSans-Semibold.ttf') format('truetype');
16
+ }
17
+
18
+ @font-face {
19
+ font-family: 'OpenSans';
20
+ font-weight: 800;
21
+ src: url('../fonts/OpenSans-Bold.ttf') format('truetype');
22
+ }
23
+
24
+ @font-face {
25
+ font-family: 'RajdhaniR';
26
+ font-weight: 400;
27
+ src: url('../fonts/Rajdhani-Regular.ttf') format('truetype');
28
+ }
29
+
30
+ @font-face {
31
+ font-family: 'RajdhaniB';
32
+ font-weight: 600;
33
+ src: url('../fonts/Rajdhani-Bold.ttf') format('truetype');
34
+ }
35
+
36
+ /* Helpers classes */
37
+ .w-100 {
38
+ width: 100%;
39
+ }
40
+
41
+ .w-90 {
42
+ width: 90%;
43
+ }
44
+
45
+ .w-80 {
46
+ width: 80%;
47
+ }
48
+
49
+ .w-70 {
50
+ width: 70%;
51
+ }
52
+
53
+ .w-60 {
54
+ width: 60%;
55
+ }
56
+
57
+ .w-50 {
58
+ width: 50%;
59
+ }
60
+
61
+ .w-40 {
62
+ width: 40%;
63
+ }
64
+
65
+ .w-30 {
66
+ width: 30%;
67
+ }
68
+
69
+ .w-20 {
70
+ width: 20%;
71
+ }
72
+
73
+ .m-auto {
74
+ margin: auto;
75
+ }
76
+
77
+ .my-0 {
78
+ margin-top: 0 !important;
79
+ margin-bottom: 0 !important;
80
+ }
81
+
82
+ .my-1 {
83
+ margin-top: 1rem !important;
84
+ margin-bottom: 1rem !important;
85
+ }
86
+
87
+ .my-2 {
88
+ margin-top: 2rem !important;
89
+ margin-bottom: 2rem !important;
90
+ }
91
+
92
+ .ma-0 {
93
+ margin: 0 !important;
94
+ }
95
+
96
+ .font-weight-normal,
97
+ .font-weight-normal h1,
98
+ .font-weight-normal h2,
99
+ .font-weight-normal h3,
100
+ .font-weight-normal h4 {
101
+ font-weight: normal !important;
102
+ }
103
+
104
+ .font-weight-bold,
105
+ .font-weight-bold h1,
106
+ .font-weight-bold h2,
107
+ .font-weight-bold h3,
108
+ .font-weight-bold h4 {
109
+ font-weight: bold !important;
110
+ }
111
+
112
+ .tabs-block {
113
+ .columns-header {
114
+ display: none;
115
+ }
116
+ }
117
+
118
+ .tabs-block.carousel_n2k {
119
+ overflow: hidden;
120
+
121
+ .slick-arrows {
122
+ .learn-more {
123
+ position: absolute;
124
+ left: 0;
125
+ width: 130px;
126
+ color: #fff;
127
+ text-align: left;
128
+ transform: translate(-100%, 0);
129
+
130
+ @media only screen and (max-width: @largestMobileScreen + 53px) {
131
+ display: none;
132
+ }
133
+ }
134
+ }
135
+ }
136
+
137
+ body.grey-bg {
138
+ #view {
139
+ padding-bottom: 4rem;
140
+ background-color: #f8f8f8;
141
+ }
142
+ }
143
+
144
+ .ui.sticky {
145
+ z-index: 3 !important;
146
+ }
147
+
148
+ .natura2000-theme {
149
+ .styled-with-bg {
150
+ padding: 0 !important;
151
+ }
152
+
153
+ /* TEXT */
154
+ h1,
155
+ h2,
156
+ h3,
157
+ h4,
158
+ h5,
159
+ h6,
160
+ p,
161
+ a,
162
+ span,
163
+ button {
164
+ font-family: OpenSans, 'Raleway', sans-serif;
165
+ }
166
+
167
+ h2 {
168
+ font-weight: 600;
169
+ }
170
+
171
+ p,
172
+ a {
173
+ font-size: 14px;
174
+ }
175
+
176
+ a {
177
+ color: @darkGreen;
178
+ font-weight: 600;
179
+
180
+ &:hover {
181
+ color: @lightGreen;
182
+ }
183
+ }
184
+
185
+ .light-links {
186
+ a {
187
+ color: @lightGreen;
188
+
189
+ &:hover {
190
+ color: @darkGreen;
191
+ }
192
+ }
193
+ }
194
+
195
+ .dark-links {
196
+ a {
197
+ color: @darkGreen;
198
+
199
+ &:hover {
200
+ color: @lightGreen;
201
+ }
202
+ }
203
+ }
204
+
205
+ .ui.basic.segment.content-area {
206
+ padding: 0;
207
+ margin: 0;
208
+ }
209
+
210
+ .ui.segment.sticky-header-wrapper {
211
+ padding: 0;
212
+ margin-bottom: 0;
213
+
214
+ > .ui.sticky {
215
+ background-color: rgba(255, 255, 255, 1);
216
+ }
217
+
218
+ > .ui.sticky:not(.fixed) {
219
+ position: relative;
220
+ }
221
+
222
+ > .ui.fixed.sticky {
223
+ backdrop-filter: blur(2px);
224
+ background-color: rgba(255, 255, 255, 0.8);
225
+
226
+ // @media only screen and (max-width: @largestMobileScreen) {
227
+ // backdrop-filter: blur(0);
228
+ // background-color: transparent;
229
+ // }
230
+ }
231
+
232
+ @media only screen and (max-width: @largestMobileScreen) {
233
+ &.sticky > div,
234
+ > div {
235
+ background-color: transparent;
236
+ }
237
+ }
238
+
239
+ .header-wrapper {
240
+ padding: 0;
241
+
242
+ .header {
243
+ .logo-nav-wrapper {
244
+ top: 0;
245
+
246
+ .tools-search-wrapper {
247
+ width: 100%;
248
+ margin-left: 0 !important;
249
+ }
250
+
251
+ .navigation {
252
+ width: 100%;
253
+ min-height: 50px;
254
+ align-items: center;
255
+ align-self: normal;
256
+ justify-content: flex-end;
257
+
258
+ .ui.secondary.pointing.menu {
259
+ top: 0;
260
+ width: 100%;
261
+ min-height: 50px;
262
+ flex-wrap: wrap;
263
+ justify-content: center;
264
+ padding: 4px 0;
265
+ margin-right: 0 !important;
266
+
267
+ > * {
268
+ align-self: center;
269
+ }
270
+
271
+ &.is-sticky {
272
+ justify-content: center;
273
+ padding: 0;
274
+ }
275
+
276
+ &:not(.is-sdf) {
277
+ justify-content: center;
278
+ padding: 4px 0;
279
+ }
280
+
281
+ &:not(.mobile.only) {
282
+ .item.firstLevel.at-glance {
283
+ align-self: stretch;
284
+ padding-bottom: 1.5rem !important;
285
+ margin-bottom: -0.5rem;
286
+ background: #04a87d 0% 0% no-repeat padding-box;
287
+ border-radius: 0px 0px 10px 10px;
288
+ color: #fff !important;
289
+ cursor: pointer;
290
+
291
+ &:hover {
292
+ color: #fff !important;
293
+ }
294
+ }
295
+ }
296
+
297
+ .home-button {
298
+ width: 56px !important;
299
+ height: 40px !important;
300
+ padding-right: 0 !important;
301
+ padding-left: 0 !important;
302
+ margin: 4px 0;
303
+
304
+ &.logo {
305
+ img {
306
+ width: 100%;
307
+ height: 100%;
308
+ }
309
+ }
310
+ }
311
+
312
+ .item.firstLevel.at-glance {
313
+ color: #04a87d !important;
314
+ cursor: pointer;
315
+
316
+ &:hover {
317
+ color: #04a87d !important;
318
+ }
319
+ }
320
+
321
+ .item.firstLevel.deep-dive {
322
+ color: #04a87d !important;
323
+ cursor: pointer;
324
+
325
+ &:hover {
326
+ color: #04a87d !important;
327
+ }
328
+ }
329
+
330
+ &:not(.open) {
331
+ .home-button {
332
+ position: absolute;
333
+ top: 50%;
334
+ left: -20px;
335
+ padding: 0 !important;
336
+ margin: 0;
337
+ transform: translate(-100%, -50%);
338
+
339
+ > a {
340
+ display: flex;
341
+ }
342
+ }
343
+
344
+ .language-selector-wrapper {
345
+ position: absolute;
346
+ top: 0;
347
+ right: 0;
348
+ margin: 4px 0;
349
+ transform: translateX(100%) translateY(0);
350
+
351
+ &:hover {
352
+ background-color: transparent !important;
353
+ }
354
+
355
+ &::before {
356
+ position: absolute;
357
+ top: 4px;
358
+ left: 50%;
359
+ display: block !important;
360
+ width: 6px;
361
+ height: 6px;
362
+ background-color: #3b7f02;
363
+ border-radius: 100%;
364
+ content: '';
365
+ transform: translateX(-50%);
366
+ }
367
+ }
368
+ }
369
+
370
+ &.open {
371
+ .hamburger-wrapper {
372
+ position: absolute;
373
+ z-index: 0;
374
+ top: 1rem;
375
+ right: 15px;
376
+ }
377
+
378
+ .home-button {
379
+ &.logo {
380
+ margin-top: 1rem;
381
+ margin-bottom: 1rem;
382
+ margin-left: 0.8rem;
383
+ }
384
+ }
385
+ }
386
+
387
+ &.stackable.open {
388
+ top: 0 !important;
389
+ height: 100vh !important;
390
+ margin-top: 0;
391
+ }
392
+
393
+ .item {
394
+ position: relative;
395
+ color: @darkGreen;
396
+
397
+ &:not(.home-button) {
398
+ padding-right: 0.8rem !important;
399
+ padding-left: 0.8rem !important;
400
+ }
401
+
402
+ &:not(.active),
403
+ &:not(.menuActive) > a {
404
+ color: @darkGreen;
405
+ }
406
+
407
+ &.firstLevel,
408
+ &.firstLevel > a {
409
+ border: none;
410
+ font-size: 1.15rem;
411
+ font-weight: bold;
412
+
413
+ &.language-selector-wrapper {
414
+ .language-selector {
415
+ margin-right: 0;
416
+
417
+ .visible.menu {
418
+ left: 50%;
419
+ min-width: 70px !important;
420
+ transform: translate(-50%, 0);
421
+ }
422
+ }
423
+ }
424
+
425
+ &:hover {
426
+ color: @lightGreen !important;
427
+
428
+ &.language-selector-wrapper {
429
+ border-color: transparent !important;
430
+ }
431
+
432
+ > a {
433
+ color: @darkGreen !important;
434
+ }
435
+ }
436
+ }
437
+
438
+ &.secondLevel {
439
+ &:hover {
440
+ background: initial !important;
441
+ color: #3b7f02;
442
+ }
443
+ }
444
+
445
+ &.active,
446
+ &.menuActive {
447
+ color: #3b7f02;
448
+ }
449
+
450
+ &.active:not(.secondLevel):not(.thirdLevel),
451
+ &.menuActive:not(.secondLevel):not(.thirdLevel) {
452
+ @media only screen and (min-width: 1655px) {
453
+ &::before {
454
+ position: absolute;
455
+ top: 4px;
456
+ left: 50%;
457
+ display: block !important;
458
+ width: 6px;
459
+ height: 6px;
460
+ background-color: #3b7f02;
461
+ border-radius: 100%;
462
+ content: '';
463
+ transform: translateX(-50%);
464
+ }
465
+ }
466
+ }
467
+ }
468
+ }
469
+
470
+ .hamburger-wrapper {
471
+ height: 24px;
472
+ margin: 0.5rem 0;
473
+
474
+ button.hamburger {
475
+ padding: 0;
476
+ cursor: pointer;
477
+ }
478
+ }
479
+ }
480
+ }
481
+ }
482
+ }
483
+ }
484
+
485
+ .simple-data-table {
486
+ padding: 0;
487
+ }
488
+
489
+ .readmore-button {
490
+ color: #04a77d;
491
+ }
492
+ }
493
+
494
+ .back-to-top {
495
+ margin-top: 2em;
496
+ margin-bottom: 3rem;
497
+ color: #7b7b7b;
498
+ font-size: 14px;
499
+ font-weight: bold;
500
+
501
+ .ui.circular.button {
502
+ position: relative;
503
+ width: 3em;
504
+ height: 3em;
505
+ margin-bottom: 1.5rem;
506
+ background-color: #fff;
507
+ border-radius: 10em;
508
+ box-shadow: 0px 4px 9px -6px #000000;
509
+
510
+ &:hover {
511
+ box-shadow: 0px 4px 8px -4px #000000;
512
+ }
513
+
514
+ .icon {
515
+ position: absolute;
516
+ top: 50%;
517
+ left: 50%;
518
+ margin: 0 !important;
519
+ transform: translate(-50%, -50%);
520
+ }
521
+ }
522
+ }
523
+
524
+ .indicator {
525
+ position: absolute;
526
+ }
527
+
528
+ img.slick-image {
529
+ position: absolute;
530
+ z-index: 0;
531
+ bottom: 0;
532
+ left: -270px;
533
+ width: 500px;
534
+ opacity: 1;
535
+ pointer-events: none;
536
+ transition: opacity 0.5s;
537
+
538
+ &.hidden {
539
+ opacity: 0;
540
+ transition: opacity 0.5s;
541
+ }
542
+ }
543
+
544
+ .divider {
545
+ z-index: -1;
546
+ pointer-events: none;
547
+ }
548
+
549
+ .styled.protected-habitats
550
+ > .tabs-block.default
551
+ > .styled
552
+ > .tabs.default
553
+ > .ui.menu {
554
+ border-bottom: 2px solid #dadada;
555
+ margin-bottom: 1rem;
556
+ border-radius: 0;
557
+ }
558
+
559
+ .sdf-image {
560
+ height: 500px;
561
+
562
+ .block-image {
563
+ position: relative;
564
+ height: 100%;
565
+
566
+ .block.image {
567
+ position: relative;
568
+ height: 100%;
569
+
570
+ img {
571
+ /* Set up positioning */
572
+ position: absolute;
573
+ z-index: 0;
574
+ top: 0;
575
+ left: 0;
576
+ /* Set up proportionate scaling */
577
+ width: 100%;
578
+ height: 100%;
579
+ object-fit: cover;
580
+
581
+ opacity: 1;
582
+ pointer-events: none;
583
+ transition: opacity 0.5s;
584
+ }
585
+ }
586
+ }
587
+ }
588
+
589
+ .block-editor-maps .block.maps .block.maps {
590
+ padding: 0.5rem;
591
+ }
592
+
593
+ @media only screen and (min-width: @tabletBreakpoint) and (max-width: @largestTabletScreen) {
594
+ img.slick-image {
595
+ left: -200px;
596
+ width: 550px;
597
+ }
598
+ }
599
+
600
+ @media only screen and (min-width: @computerBreakpoint) and (max-width: @largestSmallMonitor) {
601
+ img.slick-image {
602
+ left: -200px;
603
+ width: 650px;
604
+ }
605
+ }
606
+
607
+ @media only screen and (min-width: @largeMonitorBreakpoint) {
608
+ img.slick-image {
609
+ left: -150px;
610
+ width: 650px;
611
+ }
612
+ }
613
+
614
+ .n2k-green-border {
615
+ .block.maps {
616
+ > div {
617
+ height: 100%;
618
+
619
+ > div {
620
+ display: flex;
621
+ height: 100%;
622
+ }
623
+ }
624
+
625
+ iframe {
626
+ height: 100% !important;
627
+ min-height: 500px !important;
628
+ }
629
+ }
630
+ }
631
+
632
+ .map-info-notice {
633
+ display: flex;
634
+ justify-content: center;
635
+ margin-bottom: 0;
636
+
637
+ .ui.message {
638
+ margin-bottom: 0 !important;
639
+ background-color: transparent;
640
+ font-style: italic;
641
+ }
642
+
643
+ .ui.info.message {
644
+ margin-bottom: 1.5rem !important;
645
+ }
646
+ }
647
+
648
+ .protected-habitats {
649
+ .default.tabs {
650
+ .ui.menu {
651
+ border-bottom: none !important;
652
+ background-color: #04a87d;
653
+
654
+ .item {
655
+ padding: 1rem;
656
+ border-radius: 0;
657
+ color: #fff;
658
+
659
+ p {
660
+ font-size: 14px !important;
661
+ }
662
+
663
+ &.active:hover,
664
+ &:hover {
665
+ padding-bottom: calc(1rem - 3px);
666
+ border-bottom: 3px solid #fff;
667
+ color: #fff;
668
+ }
669
+
670
+ &.active {
671
+ padding-bottom: calc(1rem - 3px);
672
+ border-bottom: 3px solid #fff;
673
+ color: #fff;
674
+ }
675
+ }
676
+ }
677
+ }
678
+ }
679
+
680
+ .smart-table .search-description {
681
+ margin-bottom: 2rem;
682
+ color: #6b6b6b;
683
+ }
684
+
685
+ .purple-background {
686
+ background-color: #a7adf2;
687
+ }
688
+
689
+ .dark-green-background {
690
+ background-color: #04a87d;
691
+ }
@@ -0,0 +1,2 @@
1
+ @type: extra;
2
+ @element: custom;