@eeacms/volto-bise-policy 1.0.0
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/.coverage.babel.config.js +9 -0
- package/.i18n.babel.config.js +1 -0
- package/.project.eslintrc.js +47 -0
- package/.release-it.json +17 -0
- package/CHANGELOG.md +27 -0
- package/DEVELOP.md +53 -0
- package/LICENSE.md +9 -0
- package/README.md +84 -0
- package/RELEASE.md +74 -0
- package/babel.config.js +17 -0
- package/bootstrap +41 -0
- package/cypress.config.js +27 -0
- package/jest-addon.config.js +36 -0
- package/locales/bg/LC_MESSAGES/volto.po +14 -0
- package/locales/bg.json +1 -0
- package/locales/bs/LC_MESSAGES/volto.po +14 -0
- package/locales/bs.json +1 -0
- package/locales/cs/LC_MESSAGES/volto.po +14 -0
- package/locales/cs.json +1 -0
- package/locales/da/LC_MESSAGES/volto.po +14 -0
- package/locales/da.json +1 -0
- package/locales/de/LC_MESSAGES/volto.po +29 -0
- package/locales/de.json +1 -0
- package/locales/el/LC_MESSAGES/volto.po +14 -0
- package/locales/el.json +1 -0
- package/locales/en/LC_MESSAGES/volto.po +14 -0
- package/locales/en.json +1 -0
- package/locales/es/LC_MESSAGES/volto.po +24 -0
- package/locales/es.json +1 -0
- package/locales/et/LC_MESSAGES/volto.po +14 -0
- package/locales/et.json +1 -0
- package/locales/eu/LC_MESSAGES/volto.po +19 -0
- package/locales/eu.json +1 -0
- package/locales/fi/LC_MESSAGES/volto.po +14 -0
- package/locales/fi.json +1 -0
- package/locales/fr/LC_MESSAGES/volto.po +29 -0
- package/locales/fr.json +1 -0
- package/locales/ga/LC_MESSAGES/volto.po +14 -0
- package/locales/ga.json +1 -0
- package/locales/hr/LC_MESSAGES/volto.po +14 -0
- package/locales/hr.json +1 -0
- package/locales/hu/LC_MESSAGES/volto.po +14 -0
- package/locales/hu.json +1 -0
- package/locales/is/LC_MESSAGES/volto.po +14 -0
- package/locales/is.json +1 -0
- package/locales/it/LC_MESSAGES/volto.po +14 -0
- package/locales/it.json +1 -0
- package/locales/ja/LC_MESSAGES/volto.po +21 -0
- package/locales/ja.json +1 -0
- package/locales/lt/LC_MESSAGES/volto.po +14 -0
- package/locales/lt.json +1 -0
- package/locales/lv/LC_MESSAGES/volto.po +14 -0
- package/locales/lv.json +1 -0
- package/locales/mk/LC_MESSAGES/volto.po +14 -0
- package/locales/mk.json +1 -0
- package/locales/mt/LC_MESSAGES/volto.po +14 -0
- package/locales/mt.json +1 -0
- package/locales/nl/LC_MESSAGES/volto.po +33 -0
- package/locales/nl.json +1 -0
- package/locales/no/LC_MESSAGES/volto.po +14 -0
- package/locales/no.json +1 -0
- package/locales/pl/LC_MESSAGES/volto.po +14 -0
- package/locales/pl.json +1 -0
- package/locales/pt/LC_MESSAGES/volto.po +22 -0
- package/locales/pt.json +1 -0
- package/locales/pt_BR/LC_MESSAGES/volto.po +20 -0
- package/locales/pt_BR.json +1 -0
- package/locales/ro/LC_MESSAGES/volto.po +20 -0
- package/locales/ro.json +1 -0
- package/locales/sh/LC_MESSAGES/volto.po +14 -0
- package/locales/sh.json +1 -0
- package/locales/sk/LC_MESSAGES/volto.po +14 -0
- package/locales/sk.json +1 -0
- package/locales/sl/LC_MESSAGES/volto.po +14 -0
- package/locales/sl.json +1 -0
- package/locales/sq/LC_MESSAGES/volto.po +14 -0
- package/locales/sq.json +1 -0
- package/locales/sv/LC_MESSAGES/volto.po +14 -0
- package/locales/sv.json +1 -0
- package/locales/tr/LC_MESSAGES/volto.po +14 -0
- package/locales/tr.json +1 -0
- package/locales/volto.pot +16 -0
- package/package.json +57 -0
- package/razzle.extend.js +29 -0
- package/src/components/manage/Blocks/BodyClass/Edit.jsx +30 -0
- package/src/components/manage/Blocks/BodyClass/View.jsx +12 -0
- package/src/components/manage/Blocks/BodyClass/index.js +24 -0
- package/src/components/manage/Blocks/BodyClass/schema.js +20 -0
- package/src/components/manage/Blocks/FactsheetsListing/FactsheetsListingEdit.jsx +32 -0
- package/src/components/manage/Blocks/FactsheetsListing/FactsheetsListingView.jsx +81 -0
- package/src/components/manage/Blocks/FactsheetsListing/index.js +24 -0
- package/src/components/manage/Blocks/FactsheetsListing/schema.js +20 -0
- package/src/components/manage/Blocks/KeyFacts/KeyFactsEdit.jsx +34 -0
- package/src/components/manage/Blocks/KeyFacts/KeyFactsView.jsx +68 -0
- package/src/components/manage/Blocks/KeyFacts/index.js +22 -0
- package/src/components/manage/Blocks/KeyFacts/schema.jsx +74 -0
- package/src/components/manage/Blocks/MaesViewer/MaesViewerEdit.jsx +64 -0
- package/src/components/manage/Blocks/MaesViewer/MaesViewerView.jsx +136 -0
- package/src/components/manage/Blocks/MaesViewer/constants.js +1 -0
- package/src/components/manage/Blocks/MaesViewer/index.js +22 -0
- package/src/components/manage/Blocks/MaesViewer/schema.js +60 -0
- package/src/components/manage/Blocks/MaesViewer/style.css +64 -0
- package/src/components/manage/Blocks/MaesViewer/utils.js +473 -0
- package/src/components/manage/Blocks/Navigation/Edit.jsx +27 -0
- package/src/components/manage/Blocks/Navigation/View.jsx +43 -0
- package/src/components/manage/Blocks/Navigation/index.js +22 -0
- package/src/components/manage/Blocks/Navigation/schema.js +43 -0
- package/src/components/manage/Blocks/Navigation/styles.less +42 -0
- package/src/components/manage/Blocks/Redirect/Edit.jsx +29 -0
- package/src/components/manage/Blocks/Redirect/View.jsx +13 -0
- package/src/components/manage/Blocks/Redirect/index.js +24 -0
- package/src/components/manage/Blocks/Redirect/schema.js +20 -0
- package/src/components/manage/Blocks/index.js +17 -0
- package/src/components/manage/Styles/index.js +163 -0
- package/src/customizations/@eeacms/volto-block-style/StyleWrapper/schema.js +206 -0
- package/src/customizations/volto/components/manage/Toolbar/More.jsx +547 -0
- package/src/customizations/volto/components/theme/Footer/Footer.jsx +25 -0
- package/src/customizations/volto/components/theme/Header/Header.jsx +301 -0
- package/src/index.js +77 -0
- package/theme/assets/icons/plus.png +0 -0
- package/theme/assets/icons/plus.svg +6 -0
- package/theme/assets/icons/search.svg +3 -0
- package/theme/assets/images/Header/bise-logo-white.svg +47 -0
- package/theme/assets/images/Header/bise-logo.svg +132 -0
- package/theme/collections/table.variables +17 -0
- package/theme/extras/banner.variables +5 -0
- package/theme/extras/factsheets.less +76 -0
- package/theme/extras/footer.variables +6 -0
- package/theme/extras/header.overrides +30 -0
- package/theme/extras/header.variables +7 -0
- package/theme/extras/hero.overrides +4 -0
- package/theme/extras/inpageNavigation.variables +5 -0
- package/theme/extras/keyfacts.less +202 -0
- package/theme/extras/pluggables.less +191 -0
- package/theme/extras/stylemenu.less +48 -0
- package/theme/extras/tocnav.less +158 -0
- package/theme/globals/site.overrides +78 -0
- package/theme/globals/site.variables +22 -0
- package/theme/theme.config +135 -0
- package/theme/tokens/colors.less +15 -0
- package/theme/tokens/tokens.less +1 -0
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
.style-preview {
|
|
2
|
+
line-height: 1.5em;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.border-block {
|
|
6
|
+
padding: 0.7rem;
|
|
7
|
+
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
8
|
+
|
|
9
|
+
p {
|
|
10
|
+
margin-bottom: 0 !important;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.horizontal-line {
|
|
15
|
+
padding-bottom: 1rem;
|
|
16
|
+
border-bottom: 2px solid #dadada;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.divided-block,
|
|
20
|
+
.shaded-block {
|
|
21
|
+
padding: 1rem 0.8rem;
|
|
22
|
+
border-top: 1px solid rgba(0, 0, 0, 0.2);
|
|
23
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
|
|
24
|
+
|
|
25
|
+
p {
|
|
26
|
+
margin-bottom: 0 !important;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.shaded-block {
|
|
31
|
+
box-shadow: 0 7px 9px -12px rgba(0, 0, 0, 0.6),
|
|
32
|
+
0 -7px 9px -12px rgba(0, 0, 0, 0.6);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.rounded-block.style-preview {
|
|
36
|
+
position: relative;
|
|
37
|
+
padding: 1rem 0.8rem;
|
|
38
|
+
|
|
39
|
+
&:after {
|
|
40
|
+
position: absolute;
|
|
41
|
+
top: 0;
|
|
42
|
+
right: 0;
|
|
43
|
+
left: 0;
|
|
44
|
+
width: 65px;
|
|
45
|
+
height: 65px;
|
|
46
|
+
border: 1px solid #ddd;
|
|
47
|
+
border-radius: 100%;
|
|
48
|
+
content: '';
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.marginless {
|
|
53
|
+
margin: 0;
|
|
54
|
+
margin-top: 0;
|
|
55
|
+
margin-right: 0;
|
|
56
|
+
margin-bottom: 0;
|
|
57
|
+
margin-left: 0;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
div#view .ui.container > {
|
|
61
|
+
.marginless {
|
|
62
|
+
margin: 0;
|
|
63
|
+
margin-top: 0;
|
|
64
|
+
margin-right: 0;
|
|
65
|
+
margin-bottom: 0;
|
|
66
|
+
margin-left: 0;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.padded {
|
|
71
|
+
padding: 1em;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.rounded-block {
|
|
75
|
+
padding: 1rem;
|
|
76
|
+
text-align: center;
|
|
77
|
+
|
|
78
|
+
.image {
|
|
79
|
+
position: relative;
|
|
80
|
+
display: inline-block;
|
|
81
|
+
overflow: hidden;
|
|
82
|
+
width: 100%;
|
|
83
|
+
border-radius: 100%;
|
|
84
|
+
// box-shadow: 0 5px 10px -2px rgba(0, 0, 0, 0.6);
|
|
85
|
+
|
|
86
|
+
&:after {
|
|
87
|
+
display: block;
|
|
88
|
+
padding-bottom: 100%;
|
|
89
|
+
content: '';
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
img {
|
|
93
|
+
position: absolute;
|
|
94
|
+
top: 50%;
|
|
95
|
+
left: 50%;
|
|
96
|
+
max-width: none !important;
|
|
97
|
+
height: 100% !important;
|
|
98
|
+
transform: translate(-50%, -50%);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.mobile-reversed {
|
|
104
|
+
@media only screen and (max-width: @largestMobileScreen) {
|
|
105
|
+
> div.columns-view {
|
|
106
|
+
> div.column-grid {
|
|
107
|
+
flex-direction: column-reverse;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.relevant-link {
|
|
114
|
+
padding: 1.5rem 2rem;
|
|
115
|
+
border: 1px solid #e8e8e8;
|
|
116
|
+
background: #fff;
|
|
117
|
+
border-radius: 12px;
|
|
118
|
+
color: #04a87d;
|
|
119
|
+
|
|
120
|
+
a {
|
|
121
|
+
color: #04a87d;
|
|
122
|
+
|
|
123
|
+
&:hover {
|
|
124
|
+
color: #04a87d;
|
|
125
|
+
opacity: 0.9;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
ul.n2k-list {
|
|
131
|
+
padding-left: 28px;
|
|
132
|
+
margin: 0;
|
|
133
|
+
margin-bottom: 1rem;
|
|
134
|
+
|
|
135
|
+
li {
|
|
136
|
+
position: relative;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
li::marker {
|
|
140
|
+
content: '';
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
li:before {
|
|
144
|
+
position: absolute;
|
|
145
|
+
top: 50%;
|
|
146
|
+
left: -28px;
|
|
147
|
+
width: 18px;
|
|
148
|
+
height: 18px;
|
|
149
|
+
background: url(../assets/icons/plus.png);
|
|
150
|
+
background-repeat: no-repeat;
|
|
151
|
+
background-size: cover;
|
|
152
|
+
content: '';
|
|
153
|
+
opacity: 1;
|
|
154
|
+
transform: translateY(-50%);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.n2k-green-border {
|
|
159
|
+
padding: 1rem;
|
|
160
|
+
border: 1px solid #72a34a;
|
|
161
|
+
margin-bottom: 1rem;
|
|
162
|
+
border-radius: 10px;
|
|
163
|
+
|
|
164
|
+
> * {
|
|
165
|
+
margin-bottom: 0 !important;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.n2k-circle {
|
|
170
|
+
position: relative;
|
|
171
|
+
margin-bottom: 1rem;
|
|
172
|
+
background-color: #72a34a;
|
|
173
|
+
border-radius: 50%;
|
|
174
|
+
color: #fff;
|
|
175
|
+
text-align: center;
|
|
176
|
+
|
|
177
|
+
> *,
|
|
178
|
+
svg {
|
|
179
|
+
position: absolute;
|
|
180
|
+
top: 50%;
|
|
181
|
+
left: 50%;
|
|
182
|
+
padding: 2rem;
|
|
183
|
+
transform: translate(-50%, -50%);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
&:before {
|
|
187
|
+
display: block;
|
|
188
|
+
padding-top: 100%; /* initial ratio of 1:1*/
|
|
189
|
+
content: '';
|
|
190
|
+
}
|
|
191
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
.primary-big-text {
|
|
2
|
+
font-size: 45px;
|
|
3
|
+
line-height: 45px;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.medium-text {
|
|
7
|
+
font-size: 30px;
|
|
8
|
+
line-height: 30px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.small-text {
|
|
12
|
+
font-size: 20px;
|
|
13
|
+
line-height: 20px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.white-text {
|
|
17
|
+
color: #fff;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.primary-text,
|
|
21
|
+
.vivid-green-text {
|
|
22
|
+
color: @primaryColor;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.secondary-text,
|
|
26
|
+
.light-green-text {
|
|
27
|
+
color: @secondaryColor;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.dark-green-text {
|
|
31
|
+
color: @bottleGreen;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.blue-text {
|
|
35
|
+
color: @blue-5;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.red-text {
|
|
39
|
+
color: @red;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.yellow-text {
|
|
43
|
+
color: @orange;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.grey-text {
|
|
47
|
+
color: @tertiaryColor;
|
|
48
|
+
}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
.toc-navigation {
|
|
2
|
+
border-top: 1px solid #efe9db;
|
|
3
|
+
margin-top: 2em !important;
|
|
4
|
+
padding-top: 1.5em !important;
|
|
5
|
+
|
|
6
|
+
.sidebar-wrapper {
|
|
7
|
+
padding-right: 0 !important;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.toc-sidebar {
|
|
11
|
+
position: sticky;
|
|
12
|
+
top: 0;
|
|
13
|
+
overflow-y: auto;
|
|
14
|
+
padding-right: 0;
|
|
15
|
+
padding-left: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.toc-nav {
|
|
19
|
+
.toc-nav-header {
|
|
20
|
+
display: block;
|
|
21
|
+
padding: 0.8em 0.8em;
|
|
22
|
+
font-weight: bold;
|
|
23
|
+
border-left: 3px solid transparent;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.link-h2.selected,
|
|
27
|
+
.link-h2:hover {
|
|
28
|
+
background-color: #f7f4ed;
|
|
29
|
+
border-left: 3px solid @secondaryColor !important;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.link-h2.selected + .toc-description,
|
|
33
|
+
.link-h2:hover + .toc-description {
|
|
34
|
+
background-color: #f7f4ed;
|
|
35
|
+
border-left: 3px solid @secondaryColor !important;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.link-h2 + .toc-description {
|
|
39
|
+
padding-left: 1em;
|
|
40
|
+
padding-right: 0.5em;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.link-h3 {
|
|
44
|
+
padding: 0.8em 0.8em 0.8em 1.7em;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.link-h3.selected,
|
|
48
|
+
.link-h3:hover {
|
|
49
|
+
background-color: #f5f5f5;
|
|
50
|
+
border-left: 3px solid #f4ce62 !important;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.link-h3.selected + .toc-description,
|
|
54
|
+
.link-h3:hover + .toc-description {
|
|
55
|
+
background-color: #f5f5f5;
|
|
56
|
+
border-left: 3px solid #f4ce62 !important;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.link-h3 + .toc-description {
|
|
60
|
+
padding-left: 1.7em;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.toc-description {
|
|
64
|
+
display: block;
|
|
65
|
+
font-size: 13px;
|
|
66
|
+
color: #748284;
|
|
67
|
+
padding: 0 0.5em 0.8em 1em;
|
|
68
|
+
border-left: 3px solid transparent;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.toc-content {
|
|
73
|
+
border-left: 1px solid #efe9db;
|
|
74
|
+
padding-left: 1.5em !important;
|
|
75
|
+
|
|
76
|
+
> div:first-child h2 {
|
|
77
|
+
margin-top: 0.5em;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
h2,
|
|
81
|
+
h3 {
|
|
82
|
+
margin: 1.5em 0 0.5em 0;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
h4 {
|
|
86
|
+
margin-bottom: 1em;
|
|
87
|
+
color: #444;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
// Table of contents - horizontal menu
|
|
93
|
+
.table-of-contents.horizontalMenu {
|
|
94
|
+
.ui.menu {
|
|
95
|
+
border: none;
|
|
96
|
+
float: right;
|
|
97
|
+
box-shadow: none;
|
|
98
|
+
background-color: transparent;
|
|
99
|
+
margin-top: 1rem;
|
|
100
|
+
|
|
101
|
+
.item {
|
|
102
|
+
a {
|
|
103
|
+
font-size: 18px;
|
|
104
|
+
color: @textColor;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&:last-child {
|
|
108
|
+
&:before {
|
|
109
|
+
width: 0;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&:after {
|
|
116
|
+
content: '';
|
|
117
|
+
visibility: hidden;
|
|
118
|
+
display: block;
|
|
119
|
+
height: 0;
|
|
120
|
+
clear: both;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
@media only screen and (min-width: 769px) {
|
|
125
|
+
.table-of-contents.horizontalMenu {
|
|
126
|
+
.ui.menu {
|
|
127
|
+
.item {
|
|
128
|
+
&:not(:last-child) {
|
|
129
|
+
&:before {
|
|
130
|
+
top: 6px;
|
|
131
|
+
height: 60%;
|
|
132
|
+
background: rgba(34, 36, 38, 0.8);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
@media only screen and (max-width: 768px) {
|
|
141
|
+
.table-of-contents.horizontalMenu {
|
|
142
|
+
margin-top: 1em;
|
|
143
|
+
|
|
144
|
+
.ui.menu {
|
|
145
|
+
display: block;
|
|
146
|
+
float: none;
|
|
147
|
+
|
|
148
|
+
.item {
|
|
149
|
+
padding-left: 0;
|
|
150
|
+
display: block;
|
|
151
|
+
|
|
152
|
+
&:before {
|
|
153
|
+
width: 0;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/*******************************
|
|
2
|
+
Global Overrides
|
|
3
|
+
*******************************/
|
|
4
|
+
|
|
5
|
+
@import '../extras/keyfacts.less';
|
|
6
|
+
@import '../extras/factsheets.less';
|
|
7
|
+
@import '../extras/pluggables.less';
|
|
8
|
+
@import '../extras/stylemenu.less';
|
|
9
|
+
@import '../extras/tocnav.less';
|
|
10
|
+
|
|
11
|
+
a {
|
|
12
|
+
color: @linkColor;
|
|
13
|
+
|
|
14
|
+
&:visited {
|
|
15
|
+
color: @linkColor;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&:active {
|
|
19
|
+
color: @linkActiveColor;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&:hover {
|
|
23
|
+
color: @linkHoverColor;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
p.has--clear--both:empty {
|
|
28
|
+
margin-top: 0;
|
|
29
|
+
margin-bottom: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.contenttype-bise_factsheet {
|
|
33
|
+
#main {
|
|
34
|
+
h1,
|
|
35
|
+
h2,
|
|
36
|
+
h3,
|
|
37
|
+
h4,
|
|
38
|
+
h5,
|
|
39
|
+
h6 {
|
|
40
|
+
margin-top: 1.5em;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
h2,
|
|
44
|
+
h3,
|
|
45
|
+
h4,
|
|
46
|
+
h5,
|
|
47
|
+
h6 {
|
|
48
|
+
text-decoration: underline;
|
|
49
|
+
// border-bottom: 2px solid @darkSecondaryColor;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
h2 {
|
|
53
|
+
// border-bottom: 2px solid @secondaryColor;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.column-blocks-wrapper {
|
|
57
|
+
display: flex;
|
|
58
|
+
align-items: center;
|
|
59
|
+
|
|
60
|
+
> div {
|
|
61
|
+
width: 100%;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.subsite.subsite-natura2000 {
|
|
68
|
+
&.contenttype-lrf {
|
|
69
|
+
.ui.basic.segment.content-area {
|
|
70
|
+
padding-top: 0;
|
|
71
|
+
margin-top: 0;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.subsite-logo {
|
|
76
|
+
background-color: red;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*******************************
|
|
2
|
+
Site Settings
|
|
3
|
+
*******************************/
|
|
4
|
+
|
|
5
|
+
@import '@eeacms/volto-bise-policy/../theme/tokens/tokens';
|
|
6
|
+
|
|
7
|
+
/*-------------------
|
|
8
|
+
Brand Colors
|
|
9
|
+
--------------------*/
|
|
10
|
+
|
|
11
|
+
@primaryColor: @green-6;
|
|
12
|
+
@secondaryColor: @green-4;
|
|
13
|
+
|
|
14
|
+
@lightPrimaryColor: @green-5;
|
|
15
|
+
@lightSecondaryColor: @green-4;
|
|
16
|
+
|
|
17
|
+
@darkPrimaryColor: @green-6;
|
|
18
|
+
@darkSecondaryColor: @green-6;
|
|
19
|
+
|
|
20
|
+
@linkColor: @secondaryColor;
|
|
21
|
+
@linkHoverColor: @primaryColor;
|
|
22
|
+
@linkActiveColor: @linkHoverColor;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
/*
|
|
2
|
+
|
|
3
|
+
████████╗██╗ ██╗███████╗███╗ ███╗███████╗███████╗
|
|
4
|
+
╚══██╔══╝██║ ██║██╔════╝████╗ ████║██╔════╝██╔════╝
|
|
5
|
+
██║ ███████║█████╗ ██╔████╔██║█████╗ ███████╗
|
|
6
|
+
██║ ██╔══██║██╔══╝ ██║╚██╔╝██║██╔══╝ ╚════██║
|
|
7
|
+
██║ ██║ ██║███████╗██║ ╚═╝ ██║███████╗███████║
|
|
8
|
+
╚═╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚══════╝╚══════╝
|
|
9
|
+
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/*******************************
|
|
13
|
+
Theme Selection
|
|
14
|
+
*******************************/
|
|
15
|
+
|
|
16
|
+
/* To override a theme for an individual element
|
|
17
|
+
specify theme name below
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
/* Global */
|
|
21
|
+
@site : 'eea';
|
|
22
|
+
@reset : 'eea';
|
|
23
|
+
|
|
24
|
+
/* Elements */
|
|
25
|
+
@button : 'eea';
|
|
26
|
+
@container : 'eea';
|
|
27
|
+
@divider : 'eea';
|
|
28
|
+
@flag : 'eea';
|
|
29
|
+
@header : 'eea';
|
|
30
|
+
@icon : 'eea';
|
|
31
|
+
@image : 'eea';
|
|
32
|
+
@input : 'eea';
|
|
33
|
+
@label : 'eea';
|
|
34
|
+
@list : 'eea';
|
|
35
|
+
@loader : 'eea';
|
|
36
|
+
@placeholder : 'eea';
|
|
37
|
+
@rail : 'eea';
|
|
38
|
+
@reveal : 'eea';
|
|
39
|
+
@segment : 'eea';
|
|
40
|
+
@step : 'eea';
|
|
41
|
+
|
|
42
|
+
/* Collections */
|
|
43
|
+
@breadcrumb : 'eea';
|
|
44
|
+
@form : 'eea';
|
|
45
|
+
@grid : 'eea';
|
|
46
|
+
@menu : 'eea';
|
|
47
|
+
@message : 'eea';
|
|
48
|
+
@table : 'eea';
|
|
49
|
+
|
|
50
|
+
/* Modules */
|
|
51
|
+
@accordion : 'eea';
|
|
52
|
+
@checkbox : 'eea';
|
|
53
|
+
@dimmer : 'eea';
|
|
54
|
+
@dropdown : 'eea';
|
|
55
|
+
@embed : 'eea';
|
|
56
|
+
@modal : 'eea';
|
|
57
|
+
@nag : 'eea';
|
|
58
|
+
@popup : 'eea';
|
|
59
|
+
@progress : 'eea';
|
|
60
|
+
@rating : 'eea';
|
|
61
|
+
@search : 'eea';
|
|
62
|
+
@shape : 'eea';
|
|
63
|
+
@sidebar : 'eea';
|
|
64
|
+
@sticky : 'eea';
|
|
65
|
+
@tab : 'eea';
|
|
66
|
+
@transition : 'eea';
|
|
67
|
+
|
|
68
|
+
/* Views */
|
|
69
|
+
@ad : 'eea';
|
|
70
|
+
@card : 'eea';
|
|
71
|
+
@comment : 'eea';
|
|
72
|
+
@feed : 'eea';
|
|
73
|
+
@item : 'eea';
|
|
74
|
+
@statistic : 'eea';
|
|
75
|
+
|
|
76
|
+
/* Extras */
|
|
77
|
+
@main : 'eea';
|
|
78
|
+
@custom : 'eea';
|
|
79
|
+
/* EEA Design system custom components */
|
|
80
|
+
@blockquote : 'eea';
|
|
81
|
+
@pullquote : 'eea';
|
|
82
|
+
@banner : 'eea';
|
|
83
|
+
@timeline : 'eea';
|
|
84
|
+
@footer : 'eea';
|
|
85
|
+
@header : 'eea';
|
|
86
|
+
@tag : 'eea';
|
|
87
|
+
@tags : 'eea';
|
|
88
|
+
@tagList : 'eea';
|
|
89
|
+
@contextNavigation : 'eea';
|
|
90
|
+
@inpageNavigation : 'eea';
|
|
91
|
+
@avatar : 'eea';
|
|
92
|
+
@divider : 'eea';
|
|
93
|
+
@testimonial : 'eea';
|
|
94
|
+
@avatarGrid : 'eea';
|
|
95
|
+
@keyContent : 'eea';
|
|
96
|
+
@publicationCard : 'eea';
|
|
97
|
+
@contentBox : 'eea';
|
|
98
|
+
@reverseCardGrid : 'eea';
|
|
99
|
+
@relatedContent : 'eea';
|
|
100
|
+
@share : 'eea';
|
|
101
|
+
@faqContent : 'eea';
|
|
102
|
+
@reportCard : 'eea';
|
|
103
|
+
@faqFilter : 'eea';
|
|
104
|
+
@contentAccordion : 'eea';
|
|
105
|
+
@downloadLabeledIcon : 'eea';
|
|
106
|
+
@newTabLabeledIcon : 'eea';
|
|
107
|
+
@labeledIconGroup : 'eea';
|
|
108
|
+
@languageLabeledIcon : 'eea';
|
|
109
|
+
@callout : 'eea';
|
|
110
|
+
@quote : 'eea';
|
|
111
|
+
@hero : 'eea';
|
|
112
|
+
|
|
113
|
+
/*******************************
|
|
114
|
+
Folders
|
|
115
|
+
*******************************/
|
|
116
|
+
|
|
117
|
+
/* Path to theme packages */
|
|
118
|
+
@themesFolder: '~volto-themes';
|
|
119
|
+
|
|
120
|
+
/* Path to site override folder */
|
|
121
|
+
@siteFolder: '../../theme';
|
|
122
|
+
|
|
123
|
+
/*******************************
|
|
124
|
+
Import Theme
|
|
125
|
+
*******************************/
|
|
126
|
+
@import (multiple) "~eea-volto-theme-folder/theme.less";
|
|
127
|
+
|
|
128
|
+
@fontPath: "~volto-themes/default/assets/fonts";
|
|
129
|
+
|
|
130
|
+
.loadAddonOverrides() {
|
|
131
|
+
@import (optional) "@{siteFolder}/@{addon}/@{addontype}s/@{addonelement}.overrides";
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
/* End Config */
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@green-0: #C8FFF8;
|
|
2
|
+
@green-1: #85FFF1;
|
|
3
|
+
@green-2: #00F5D8;
|
|
4
|
+
@green-3: #00CCB4;
|
|
5
|
+
@green-4: #00A390; // @secondaryColor
|
|
6
|
+
@green-5: #007B6C;
|
|
7
|
+
@green-6: #005248; // @primaryColor
|
|
8
|
+
|
|
9
|
+
@yellow-0: #FEF6CD;
|
|
10
|
+
@yellow-1: #FBEC9B;
|
|
11
|
+
@yellow-2: #FAD936;
|
|
12
|
+
@yellow-3: #FAC50D;
|
|
13
|
+
@yellow-4: #FDAF20;
|
|
14
|
+
@yellow-5: #FF9933;
|
|
15
|
+
@yellow-6: #C35527;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import 'colors.less';
|