@eeacms/volto-cca-policy 0.2.9 → 0.2.11

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.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,21 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ ### [0.2.11](https://github.com/eea/volto-cca-policy/compare/0.2.10...0.2.11) - 26 April 2024
8
+
9
+ #### :house: Internal changes
10
+
11
+ - style: cleanup [kreafox - [`de6b42b`](https://github.com/eea/volto-cca-policy/commit/de6b42b49ae0c431ae18280d9540dfbfe0b025e6)]
12
+ - style: Automated code fix [eea-jenkins - [`c14153c`](https://github.com/eea/volto-cca-policy/commit/c14153c681d84eec6345d58a8974b069e85c14cb)]
13
+ - style: improve spotlight tab variation [kreafox - [`0d25bcc`](https://github.com/eea/volto-cca-policy/commit/0d25bcc163105e3793429f968da30cf8ccf48d1f)]
14
+
15
+ ### [0.2.10](https://github.com/eea/volto-cca-policy/compare/0.2.9...0.2.10) - 26 April 2024
16
+
17
+ #### :house: Internal changes
18
+
19
+ - style: improve RAST widget [kreafox - [`642bc0a`](https://github.com/eea/volto-cca-policy/commit/642bc0ad66e4852658a068e66a2e05a613a4af23)]
20
+ - style: improve spotlight tab variation [kreafox - [`1396308`](https://github.com/eea/volto-cca-policy/commit/139630855af21c540b21f8ce47f85b37b60c0ab5)]
21
+
7
22
  ### [0.2.9](https://github.com/eea/volto-cca-policy/compare/0.2.8...0.2.9) - 25 April 2024
8
23
 
9
24
  #### :bug: Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-cca-policy",
3
- "version": "0.2.9",
3
+ "version": "0.2.11",
4
4
  "description": "@eeacms/volto-cca-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -28,11 +28,16 @@ export const AssetTab = ({ props, tabIndex, tabTitle }) => {
28
28
  const imageObject = image?.[0];
29
29
  return (
30
30
  <div
31
- className={cx('asset-position', {
32
- 'asset-top': assetPosition === 'top',
33
- 'asset-left': assetPosition === 'left',
34
- 'asset-right': assetPosition === 'right',
35
- })}
31
+ className={cx(
32
+ `${imageSize}-image`,
33
+ `${iconSize}-icon`,
34
+ 'asset-position',
35
+ {
36
+ 'asset-top': assetPosition === 'top',
37
+ 'asset-left': assetPosition === 'left',
38
+ 'asset-right': assetPosition === 'right',
39
+ },
40
+ )}
36
41
  >
37
42
  {assetType === 'icon' && icon && (
38
43
  <Icon
@@ -1,5 +1,10 @@
1
1
  .spotlight-tabs {
2
2
  // this is the container div
3
+
4
+ .ui.menu:not(.vertical) .item {
5
+ display: flex;
6
+ align-items: flex-end !important;
7
+ }
3
8
  }
4
9
 
5
10
  .ui.menu.menu-tabs-spotlight-variant {
@@ -8,30 +13,50 @@
8
13
  border: none;
9
14
  margin: 1em 0 !important;
10
15
  box-shadow: none;
16
+ font-size: 14px;
17
+ gap: 10px;
11
18
 
12
19
  .ui.image.thumb {
13
20
  width: 190px;
14
21
  height: auto;
15
22
  }
16
23
 
24
+ .image.icon {
25
+ width: 48px;
26
+ max-height: 48px;
27
+ object-fit: contain;
28
+ }
29
+
30
+ .icon-image {
31
+ width: 85px;
32
+ height: 100%;
33
+
34
+ @media only screen and (max-width: 480px) {
35
+ width: 60px;
36
+ }
37
+ }
38
+
17
39
  .item {
18
40
  padding: 0.5em;
19
41
  border: 1px solid transparent !important;
20
- margin: 10px 0;
21
-
22
- &:not(:last-child) {
23
- margin-right: 15px !important;
24
- }
25
42
 
26
43
  &:hover {
27
44
  border: 1px solid #ddd !important;
28
45
  border-radius: 4px;
46
+
47
+ .menu-item-text {
48
+ color: #0f6ba5;
49
+ }
29
50
  }
30
51
 
31
52
  &.active,
32
53
  &.active:hover {
33
54
  border: 1px solid #ddd !important;
34
55
  border-radius: 5px;
56
+
57
+ .menu-item-text {
58
+ color: #0f6ba5;
59
+ }
35
60
  }
36
61
 
37
62
  &:before {
@@ -1,15 +1,14 @@
1
1
  /* Mission subsite */
2
2
 
3
- .mission-item-view {
4
- .ui.segment.metadata {
5
- border: none;
6
- background-color: #f9f9f9;
7
-
8
- h5 {
9
- margin: 1em 0 0.5em 0;
3
+ .contenttype-mission_tool {
4
+ .styled-group {
5
+ .rast_steps.widget {
6
+ .list .item {
7
+ padding: 0 0 0.8em 0;
8
+ }
10
9
 
11
- &:first-child {
12
- margin-top: 0;
10
+ .list .item:last-child {
11
+ padding-bottom: 0;
13
12
  }
14
13
  }
15
14
  }
@@ -185,3 +185,8 @@ body.subsite {
185
185
  font-size: 23px;
186
186
  }
187
187
  }
188
+
189
+
190
+ ol.ui.list, .ui.bulleted.list {
191
+ margin-left: 0 !important;
192
+ }