@eeacms/volto-cca-policy 0.2.32 → 0.2.34

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.
@@ -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
  >
@@ -5,3 +5,4 @@
5
5
  /* Search box */
6
6
  // @searchBoxBackgroundGradient : linear-gradient(45deg, @primaryColor 12%, @secondaryColor 80%);
7
7
  @megaMenuBackgroundColor : linear-gradient(13.69deg, @blue-5 1.17%, @secondaryColor 80%);
8
+ @mobileLogoMaxWidth: 200px;
@@ -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
+ }