@eeacms/volto-cca-policy 0.2.32 → 0.2.33
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 +20 -8
- package/package.json +1 -1
- package/src/components/manage/Blocks/ASTNavigation/ASTNavigationView.jsx +4 -3
- package/src/components/manage/Blocks/ASTNavigation/schema.js +7 -1
- package/src/components/manage/Blocks/RASTBlock/RASTMap.jsx +12 -1
- package/src/components/theme/ASTNavigation/ASTLogoMap.jsx +88 -87
- package/src/components/theme/ASTNavigation/UASTLogoMap.jsx +318 -307
- package/src/components/theme/ASTNavigation/styles.less +32 -0
- package/src/components/theme/ASTNavigation/utils.js +2 -2
- package/theme/extras/header.variables +1 -0
- package/theme/globals/observatory.less +45 -0
|
@@ -43,4 +43,36 @@
|
|
|
43
43
|
fill: #3d5265 !important;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
+
|
|
47
|
+
a {
|
|
48
|
+
pointer-events: bounding-box;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
a:hover {
|
|
52
|
+
.step-link.main-link {
|
|
53
|
+
> path {
|
|
54
|
+
fill: #8a9c39 !important;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
g.text > path {
|
|
58
|
+
fill: #3d5265 !important;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.uast-logo-map {
|
|
65
|
+
.logo {
|
|
66
|
+
> a:hover {
|
|
67
|
+
> .step-link path {
|
|
68
|
+
fill: #01336e !important;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.logo:hover + .logo-title {
|
|
74
|
+
> path {
|
|
75
|
+
fill: #01336e !important;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
46
78
|
}
|
|
@@ -9,7 +9,7 @@ export const isUrbanAdaptationSupportToolURL = (url) => {
|
|
|
9
9
|
return url.indexOf('/knowledge/tools/urban-ast') > -1;
|
|
10
10
|
};
|
|
11
11
|
|
|
12
|
-
export const LinkWrap = ({ item, pathname, children }) => {
|
|
12
|
+
export const LinkWrap = ({ item, pathname, children, className }) => {
|
|
13
13
|
const substeps = item?.items || [];
|
|
14
14
|
const activeSubstep = substeps.some((obj) => obj['@id'] === pathname);
|
|
15
15
|
const activeStep = item ? pathname === item?.['@id'] : null;
|
|
@@ -17,7 +17,7 @@ export const LinkWrap = ({ item, pathname, children }) => {
|
|
|
17
17
|
return item ? (
|
|
18
18
|
<UniversalLink item={item}>
|
|
19
19
|
<g
|
|
20
|
-
className={cx('step-link', {
|
|
20
|
+
className={cx('step-link', className, {
|
|
21
21
|
active: isActive,
|
|
22
22
|
})}
|
|
23
23
|
>
|
|
@@ -8,6 +8,13 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.subsite-observatory {
|
|
11
|
+
.eea.header .logo-wrapper {
|
|
12
|
+
> .logo:first-child .eea-logo {
|
|
13
|
+
max-width: 100% !important;
|
|
14
|
+
height: 75px !important;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
11
18
|
#page-header .eea.banner .gradient .content .metadata {
|
|
12
19
|
margin-top: 1rem;
|
|
13
20
|
}
|
|
@@ -120,3 +127,41 @@
|
|
|
120
127
|
padding-bottom: 0rem !important;
|
|
121
128
|
margin-bottom: 0rem !important;
|
|
122
129
|
}
|
|
130
|
+
|
|
131
|
+
@media screen and (max-width: 1020px) {
|
|
132
|
+
.subsite-observatory {
|
|
133
|
+
.eea.header .logo-wrapper {
|
|
134
|
+
> .logo:first-child .eea-logo {
|
|
135
|
+
height: 60px !important;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.subsite-logo {
|
|
140
|
+
width: 250px !important;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
@media screen and (max-width: 700px) {
|
|
146
|
+
.subsite-observatory {
|
|
147
|
+
.eea.header .logo-wrapper {
|
|
148
|
+
> .logo:first-child .eea-logo {
|
|
149
|
+
height: 45px !important;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.subsite-logo {
|
|
154
|
+
width: 150px !important;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
@media screen and (max-width: 560px) {
|
|
160
|
+
.subsite-observatory {
|
|
161
|
+
.eea.header .logo-wrapper {
|
|
162
|
+
> .logo:first-child .eea-logo {
|
|
163
|
+
height: auto !important;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|