@kitconcept/volto-light-theme 2.0.0 → 2.1.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/.github/workflows/acceptance.yml +2 -1
- package/.github/workflows/code.yml +2 -1
- package/.github/workflows/unit.yml +2 -1
- package/CHANGELOG.md +30 -0
- package/locales/de/LC_MESSAGES/volto.po +2 -2
- package/locales/en/LC_MESSAGES/volto.po +1 -1
- package/locales/pt_BR/volto.po +317 -0
- package/locales/volto.pot +2 -2
- package/package.json +1 -1
- package/src/components/Blocks/Listing/ImageGallery.jsx +126 -0
- package/src/components/MobileNavigation/MobileNavigation.jsx +123 -89
- package/src/components/MobileNavigation/MobileToolsFooter.jsx +10 -0
- package/src/components/Navigation/Navigation.jsx +35 -41
- package/src/customizations/volto/components/manage/Blocks/Listing/ImageGallery.jsx +8 -0
- package/src/icons/back-down.svg +8 -0
- package/src/icons/fullscreen.svg +7 -0
- package/src/icons/left-key.svg +4 -0
- package/src/icons/pause.svg +6 -0
- package/src/icons/play.svg +4 -0
- package/src/icons/right-key.svg +4 -0
- package/src/index.js +5 -0
- package/src/theme/_content.scss +1 -1
- package/src/theme/_fonts.scss +317 -0
- package/src/theme/_header.scss +32 -16
- package/src/theme/_layout.scss +7 -24
- package/src/theme/_sitemap.scss +25 -0
- package/src/theme/_typo-custom.scss +0 -73
- package/src/theme/_typography.scss +1 -245
- package/src/theme/_variables.scss +14 -0
- package/src/theme/blocks/_grid.scss +8 -0
- package/src/theme/blocks/_image.scss +1 -1
- package/src/theme/blocks/_listing.scss +111 -5
- package/src/theme/blocks/_teaser.scss +1 -4
- package/src/theme/main.scss +5 -1
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
#sidebar *,
|
|
18
18
|
#toolbar * {
|
|
19
|
-
font-family:
|
|
19
|
+
font-family: $cmsui-font !important;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
#sidebar,
|
|
@@ -34,247 +34,3 @@
|
|
|
34
34
|
font-size: 14px;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
|
|
38
|
-
// //
|
|
39
|
-
// Metropolis Font
|
|
40
|
-
// //
|
|
41
|
-
|
|
42
|
-
// @font-face {
|
|
43
|
-
// font-family: 'Metropolis Extra';
|
|
44
|
-
// src: url('./fonts/metropolis/Metropolis-ExtraLightItalic.eot');
|
|
45
|
-
// src: local('Metropolis Extra Light Italic'), local('Metropolis-ExtraLightItalic'),
|
|
46
|
-
// url('./fonts/metropolis/Metropolis-ExtraLightItalic.eot?#iefix') format('embedded-opentype'),
|
|
47
|
-
// url('./fonts/metropolis/Metropolis-ExtraLightItalic.woff2') format('woff2'),
|
|
48
|
-
// url('./fonts/metropolis/Metropolis-ExtraLightItalic.woff') format('woff'),
|
|
49
|
-
// url('./fonts/metropolis/Metropolis-ExtraLightItalic.ttf') format('truetype');
|
|
50
|
-
// font-weight: 200;
|
|
51
|
-
// font-style: italic;
|
|
52
|
-
// }
|
|
53
|
-
|
|
54
|
-
@font-face {
|
|
55
|
-
font-family: 'Metropolis';
|
|
56
|
-
font-style: italic;
|
|
57
|
-
font-weight: normal;
|
|
58
|
-
src: url('./fonts/metropolis/Metropolis-RegularItalic.eot');
|
|
59
|
-
src:
|
|
60
|
-
local('Metropolis Regular Italic'),
|
|
61
|
-
local('Metropolis-RegularItalic'),
|
|
62
|
-
url('./fonts/metropolis/Metropolis-RegularItalic.eot?#iefix')
|
|
63
|
-
format('embedded-opentype'),
|
|
64
|
-
url('./fonts/metropolis/Metropolis-RegularItalic.woff2') format('woff2'),
|
|
65
|
-
url('./fonts/metropolis/Metropolis-RegularItalic.woff') format('woff'),
|
|
66
|
-
url('./fonts/metropolis/Metropolis-RegularItalic.ttf') format('truetype');
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
// @font-face {
|
|
70
|
-
// font-family: 'Metropolis Semi';
|
|
71
|
-
// src: url('./fonts/metropolis/Metropolis-SemiBoldItalic.eot');
|
|
72
|
-
// src: local('Metropolis Semi Bold Italic'), local('Metropolis-SemiBoldItalic'),
|
|
73
|
-
// url('./fonts/metropolis/Metropolis-SemiBoldItalic.eot?#iefix') format('embedded-opentype'),
|
|
74
|
-
// url('./fonts/metropolis/Metropolis-SemiBoldItalic.woff2') format('woff2'),
|
|
75
|
-
// url('./fonts/metropolis/Metropolis-SemiBoldItalic.woff') format('woff'),
|
|
76
|
-
// url('./fonts/metropolis/Metropolis-SemiBoldItalic.ttf') format('truetype');
|
|
77
|
-
// font-weight: 600;
|
|
78
|
-
// font-style: italic;
|
|
79
|
-
// }
|
|
80
|
-
|
|
81
|
-
// @font-face {
|
|
82
|
-
// font-family: 'Metropolis';
|
|
83
|
-
// src: url('./fonts/metropolis/Metropolis-BlackItalic.eot');
|
|
84
|
-
// src: local('Metropolis Black Italic'), local('Metropolis-BlackItalic'),
|
|
85
|
-
// url('./fonts/metropolis/Metropolis-BlackItalic.eot?#iefix') format('embedded-opentype'),
|
|
86
|
-
// url('./fonts/metropolis/Metropolis-BlackItalic.woff2') format('woff2'),
|
|
87
|
-
// url('./fonts/metropolis/Metropolis-BlackItalic.woff') format('woff'),
|
|
88
|
-
// url('./fonts/metropolis/Metropolis-BlackItalic.ttf') format('truetype');
|
|
89
|
-
// font-weight: 900;
|
|
90
|
-
// font-style: italic;
|
|
91
|
-
// }
|
|
92
|
-
|
|
93
|
-
// @font-face {
|
|
94
|
-
// font-family: 'Metropolis';
|
|
95
|
-
// src: url('./fonts/metropolis/Metropolis-ThinItalic.eot');
|
|
96
|
-
// src: local('Metropolis Thin Italic'), local('Metropolis-ThinItalic'),
|
|
97
|
-
// url('./fonts/metropolis/Metropolis-ThinItalic.eot?#iefix') format('embedded-opentype'),
|
|
98
|
-
// url('./fonts/metropolis/Metropolis-ThinItalic.woff2') format('woff2'),
|
|
99
|
-
// url('./fonts/metropolis/Metropolis-ThinItalic.woff') format('woff'),
|
|
100
|
-
// url('./fonts/metropolis/Metropolis-ThinItalic.ttf') format('truetype');
|
|
101
|
-
// font-weight: 100;
|
|
102
|
-
// font-style: italic;
|
|
103
|
-
// }
|
|
104
|
-
|
|
105
|
-
// @font-face {
|
|
106
|
-
// font-family: 'Metropolis Extra';
|
|
107
|
-
// src: url('./fonts/metropolis/Metropolis-ExtraBold.eot');
|
|
108
|
-
// src: local('Metropolis Extra Bold'), local('Metropolis-ExtraBold'),
|
|
109
|
-
// url('./fonts/metropolis/Metropolis-ExtraBold.eot?#iefix') format('embedded-opentype'),
|
|
110
|
-
// url('./fonts/metropolis/Metropolis-ExtraBold.woff2') format('woff2'),
|
|
111
|
-
// url('./fonts/metropolis/Metropolis-ExtraBold.woff') format('woff'),
|
|
112
|
-
// url('./fonts/metropolis/Metropolis-ExtraBold.ttf') format('truetype');
|
|
113
|
-
// font-weight: 800;
|
|
114
|
-
// font-style: normal;
|
|
115
|
-
// }
|
|
116
|
-
|
|
117
|
-
// @font-face {
|
|
118
|
-
// font-family: 'Metropolis Semi';
|
|
119
|
-
// src: url('./fonts/metropolis/Metropolis-SemiBold.eot');
|
|
120
|
-
// src: local('Metropolis Semi Bold'), local('Metropolis-SemiBold'),
|
|
121
|
-
// url('./fonts/metropolis/Metropolis-SemiBold.eot?#iefix') format('embedded-opentype'),
|
|
122
|
-
// url('./fonts/metropolis/Metropolis-SemiBold.woff2') format('woff2'),
|
|
123
|
-
// url('./fonts/metropolis/Metropolis-SemiBold.woff') format('woff'),
|
|
124
|
-
// url('./fonts/metropolis/Metropolis-SemiBold.ttf') format('truetype');
|
|
125
|
-
// font-weight: 600;
|
|
126
|
-
// font-style: normal;
|
|
127
|
-
// }
|
|
128
|
-
|
|
129
|
-
@font-face {
|
|
130
|
-
font-family: 'Metropolis';
|
|
131
|
-
font-style: italic;
|
|
132
|
-
font-weight: 500;
|
|
133
|
-
src: url('./fonts/metropolis/Metropolis-MediumItalic.eot');
|
|
134
|
-
src:
|
|
135
|
-
local('Metropolis Medium Italic'),
|
|
136
|
-
local('Metropolis-MediumItalic'),
|
|
137
|
-
url('./fonts/metropolis/Metropolis-MediumItalic.eot?#iefix')
|
|
138
|
-
format('embedded-opentype'),
|
|
139
|
-
url('./fonts/metropolis/Metropolis-MediumItalic.woff2') format('woff2'),
|
|
140
|
-
url('./fonts/metropolis/Metropolis-MediumItalic.woff') format('woff'),
|
|
141
|
-
url('./fonts/metropolis/Metropolis-MediumItalic.ttf') format('truetype');
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
@font-face {
|
|
145
|
-
font-family: 'Metropolis';
|
|
146
|
-
font-style: normal;
|
|
147
|
-
font-weight: 500;
|
|
148
|
-
src: url('./fonts/metropolis/Metropolis-Medium.eot');
|
|
149
|
-
src:
|
|
150
|
-
local('Metropolis Medium'),
|
|
151
|
-
local('Metropolis-Medium'),
|
|
152
|
-
url('./fonts/metropolis/Metropolis-Medium.eot?#iefix')
|
|
153
|
-
format('embedded-opentype'),
|
|
154
|
-
url('./fonts/metropolis/Metropolis-Medium.woff2') format('woff2'),
|
|
155
|
-
url('./fonts/metropolis/Metropolis-Medium.woff') format('woff'),
|
|
156
|
-
url('./fonts/metropolis/Metropolis-Medium.ttf') format('truetype');
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
@font-face {
|
|
160
|
-
font-family: 'Metropolis';
|
|
161
|
-
font-style: italic;
|
|
162
|
-
font-weight: 300;
|
|
163
|
-
src: url('./fonts/metropolis/Metropolis-LightItalic.eot');
|
|
164
|
-
src:
|
|
165
|
-
local('Metropolis Light Italic'),
|
|
166
|
-
local('Metropolis-LightItalic'),
|
|
167
|
-
url('./fonts/metropolis/Metropolis-LightItalic.eot?#iefix')
|
|
168
|
-
format('embedded-opentype'),
|
|
169
|
-
url('./fonts/metropolis/Metropolis-LightItalic.woff2') format('woff2'),
|
|
170
|
-
url('./fonts/metropolis/Metropolis-LightItalic.woff') format('woff'),
|
|
171
|
-
url('./fonts/metropolis/Metropolis-LightItalic.ttf') format('truetype');
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
@font-face {
|
|
175
|
-
font-family: 'Metropolis';
|
|
176
|
-
font-style: normal;
|
|
177
|
-
font-weight: 300;
|
|
178
|
-
src: url('./fonts/metropolis/Metropolis-Light.eot');
|
|
179
|
-
src:
|
|
180
|
-
local('Metropolis Light'),
|
|
181
|
-
local('Metropolis-Light'),
|
|
182
|
-
url('./fonts/metropolis/Metropolis-Light.eot?#iefix')
|
|
183
|
-
format('embedded-opentype'),
|
|
184
|
-
url('./fonts/metropolis/Metropolis-Light.woff2') format('woff2'),
|
|
185
|
-
url('./fonts/metropolis/Metropolis-Light.woff') format('woff'),
|
|
186
|
-
url('./fonts/metropolis/Metropolis-Light.ttf') format('truetype');
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
// @font-face {
|
|
190
|
-
// font-family: 'Metropolis';
|
|
191
|
-
// src: url('./fonts/metropolis/Metropolis-Black.eot');
|
|
192
|
-
// src: local('Metropolis Black'), local('Metropolis-Black'),
|
|
193
|
-
// url('./fonts/metropolis/Metropolis-Black.eot?#iefix') format('embedded-opentype'),
|
|
194
|
-
// url('./fonts/metropolis/Metropolis-Black.woff2') format('woff2'),
|
|
195
|
-
// url('./fonts/metropolis/Metropolis-Black.woff') format('woff'),
|
|
196
|
-
// url('./fonts/metropolis/Metropolis-Black.ttf') format('truetype');
|
|
197
|
-
// font-weight: 900;
|
|
198
|
-
// font-style: normal;
|
|
199
|
-
// }
|
|
200
|
-
|
|
201
|
-
// @font-face {
|
|
202
|
-
// font-family: 'Metropolis';
|
|
203
|
-
// src: url('./fonts/metropolis/Metropolis-Thin.eot');
|
|
204
|
-
// src: local('Metropolis Thin'), local('Metropolis-Thin'),
|
|
205
|
-
// url('./fonts/metropolis/Metropolis-Thin.eot?#iefix') format('embedded-opentype'),
|
|
206
|
-
// url('./fonts/metropolis/Metropolis-Thin.woff2') format('woff2'),
|
|
207
|
-
// url('./fonts/metropolis/Metropolis-Thin.woff') format('woff'),
|
|
208
|
-
// url('./fonts/metropolis/Metropolis-Thin.ttf') format('truetype');
|
|
209
|
-
// font-weight: 100;
|
|
210
|
-
// font-style: normal;
|
|
211
|
-
// }
|
|
212
|
-
|
|
213
|
-
// @font-face {
|
|
214
|
-
// font-family: 'Metropolis Extra';
|
|
215
|
-
// src: url('./fonts/metropolis/Metropolis-ExtraBoldItalic.eot');
|
|
216
|
-
// src: local('Metropolis Extra Bold Italic'), local('Metropolis-ExtraBoldItalic'),
|
|
217
|
-
// url('./fonts/metropolis/Metropolis-ExtraBoldItalic.eot?#iefix') format('embedded-opentype'),
|
|
218
|
-
// url('./fonts/metropolis/Metropolis-ExtraBoldItalic.woff2') format('woff2'),
|
|
219
|
-
// url('./fonts/metropolis/Metropolis-ExtraBoldItalic.woff') format('woff'),
|
|
220
|
-
// url('./fonts/metropolis/Metropolis-ExtraBoldItalic.ttf') format('truetype');
|
|
221
|
-
// font-weight: 800;
|
|
222
|
-
// font-style: italic;
|
|
223
|
-
// }
|
|
224
|
-
|
|
225
|
-
// @font-face {
|
|
226
|
-
// font-family: 'Metropolis Extra';
|
|
227
|
-
// src: url('./fonts/metropolis/Metropolis-ExtraLight.eot');
|
|
228
|
-
// src: local('Metropolis Extra Light'), local('Metropolis-ExtraLight'),
|
|
229
|
-
// url('./fonts/metropolis/Metropolis-ExtraLight.eot?#iefix') format('embedded-opentype'),
|
|
230
|
-
// url('./fonts/metropolis/Metropolis-ExtraLight.woff2') format('woff2'),
|
|
231
|
-
// url('./fonts/metropolis/Metropolis-ExtraLight.woff') format('woff'),
|
|
232
|
-
// url('./fonts/metropolis/Metropolis-ExtraLight.ttf') format('truetype');
|
|
233
|
-
// font-weight: 200;
|
|
234
|
-
// font-style: normal;
|
|
235
|
-
// }
|
|
236
|
-
|
|
237
|
-
@font-face {
|
|
238
|
-
font-family: 'Metropolis';
|
|
239
|
-
font-style: normal;
|
|
240
|
-
font-weight: bold;
|
|
241
|
-
src: url('./fonts/metropolis/Metropolis-Bold.eot');
|
|
242
|
-
src:
|
|
243
|
-
local('Metropolis Bold'),
|
|
244
|
-
local('Metropolis-Bold'),
|
|
245
|
-
url('./fonts/metropolis/Metropolis-Bold.eot?#iefix')
|
|
246
|
-
format('embedded-opentype'),
|
|
247
|
-
url('./fonts/metropolis/Metropolis-Bold.woff2') format('woff2'),
|
|
248
|
-
url('./fonts/metropolis/Metropolis-Bold.woff') format('woff'),
|
|
249
|
-
url('./fonts/metropolis/Metropolis-Bold.ttf') format('truetype');
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
@font-face {
|
|
253
|
-
font-family: 'Metropolis';
|
|
254
|
-
font-style: normal;
|
|
255
|
-
font-weight: normal;
|
|
256
|
-
src: url('./fonts/metropolis/Metropolis-Regular.eot');
|
|
257
|
-
src:
|
|
258
|
-
local('Metropolis Regular'),
|
|
259
|
-
local('Metropolis-Regular'),
|
|
260
|
-
url('./fonts/metropolis/Metropolis-Regular.eot?#iefix')
|
|
261
|
-
format('embedded-opentype'),
|
|
262
|
-
url('./fonts/metropolis/Metropolis-Regular.woff2') format('woff2'),
|
|
263
|
-
url('./fonts/metropolis/Metropolis-Regular.woff') format('woff'),
|
|
264
|
-
url('./fonts/metropolis/Metropolis-Regular.ttf') format('truetype');
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
@font-face {
|
|
268
|
-
font-family: 'Metropolis';
|
|
269
|
-
font-style: italic;
|
|
270
|
-
font-weight: bold;
|
|
271
|
-
src: url('./fonts/metropolis/Metropolis-BoldItalic.eot');
|
|
272
|
-
src:
|
|
273
|
-
local('Metropolis Bold Italic'),
|
|
274
|
-
local('Metropolis-BoldItalic'),
|
|
275
|
-
url('./fonts/metropolis/Metropolis-BoldItalic.eot?#iefix')
|
|
276
|
-
format('embedded-opentype'),
|
|
277
|
-
url('./fonts/metropolis/Metropolis-BoldItalic.woff2') format('woff2'),
|
|
278
|
-
url('./fonts/metropolis/Metropolis-BoldItalic.woff') format('woff'),
|
|
279
|
-
url('./fonts/metropolis/Metropolis-BoldItalic.ttf') format('truetype');
|
|
280
|
-
}
|
|
@@ -24,8 +24,10 @@ $heading-text-bottom-spacing: 25px !default;
|
|
|
24
24
|
|
|
25
25
|
// Fonts
|
|
26
26
|
$custom-fontname: 'Inter' !default;
|
|
27
|
+
$cmsui-fontname: 'Metropolis' !default;
|
|
27
28
|
$page-font-template: $custom-fontname, sans-serif !default;
|
|
28
29
|
$page-font: var(--custom-main-font, $page-font-template) !default;
|
|
30
|
+
$cmsui-font: var(--custom-cms-font, $cmsui-fontname, $page-font) !default;
|
|
29
31
|
$header-font: var(--custom-headers-font, $page-font) !default;
|
|
30
32
|
|
|
31
33
|
// Breakpoints
|
|
@@ -37,6 +39,11 @@ $computer-breakpoint: 941px !default;
|
|
|
37
39
|
$large-monitor-width: 1440px !default;
|
|
38
40
|
$large-monitor-breakpoint: 1441px !default;
|
|
39
41
|
|
|
42
|
+
// Container widths
|
|
43
|
+
$layout-container-width: 1440px !default;
|
|
44
|
+
$default-container-width: 940px !default;
|
|
45
|
+
$narrow-container-width: 620px !default;
|
|
46
|
+
|
|
40
47
|
// Rest of theme variables
|
|
41
48
|
|
|
42
49
|
:root {
|
|
@@ -332,3 +339,10 @@ $line-heights: (
|
|
|
332
339
|
@include add(height, s);
|
|
333
340
|
@include add(weight, light);
|
|
334
341
|
}
|
|
342
|
+
|
|
343
|
+
@mixin external-link-icon() {
|
|
344
|
+
display: inline;
|
|
345
|
+
content: '\a0'
|
|
346
|
+
url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='external-link-alt' class='svg-inline--fa fa-external-link-alt fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='11' height='11' %3E%3Cpath fill='%23007EB1' d='M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z'%3E%3C/path%3E%3C/svg%3E");
|
|
347
|
+
white-space: nowrap;
|
|
348
|
+
}
|
|
@@ -180,7 +180,7 @@ figcaption {
|
|
|
180
180
|
.credits {
|
|
181
181
|
margin-top: 5px;
|
|
182
182
|
color: $blue-for-grey-contrast;
|
|
183
|
-
-webkit-font-smoothing:
|
|
183
|
+
-webkit-font-smoothing: antialiased;
|
|
184
184
|
-moz-osx-font-smoothing: grayscale;
|
|
185
185
|
text-rendering: optimizeLegibility;
|
|
186
186
|
@include marginal-description();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Listing Block
|
|
2
|
-
.block.listing,
|
|
2
|
+
#main .block.listing,
|
|
3
3
|
.column > .block.listing,
|
|
4
4
|
.block.search,
|
|
5
5
|
.block-editor-search {
|
|
@@ -25,10 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
a.external {
|
|
27
27
|
.listing-body h2:after {
|
|
28
|
-
|
|
29
|
-
content: '\a0'
|
|
30
|
-
url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='external-link-alt' class='svg-inline--fa fa-external-link-alt fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='11' height='11' %3E%3Cpath fill='%23007EB1' d='M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z'%3E%3C/path%3E%3C/svg%3E");
|
|
31
|
-
white-space: nowrap;
|
|
28
|
+
@include external-link-icon();
|
|
32
29
|
}
|
|
33
30
|
}
|
|
34
31
|
|
|
@@ -209,6 +206,115 @@
|
|
|
209
206
|
}
|
|
210
207
|
}
|
|
211
208
|
|
|
209
|
+
.image-gallery {
|
|
210
|
+
.ui.button {
|
|
211
|
+
margin: 0;
|
|
212
|
+
box-shadow: none !important;
|
|
213
|
+
color: black !important;
|
|
214
|
+
filter: none;
|
|
215
|
+
|
|
216
|
+
&.image-gallery-left-nav {
|
|
217
|
+
top: calc(50% - 47px);
|
|
218
|
+
left: -68px;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
&.image-gallery-right-nav {
|
|
222
|
+
top: calc(50% - 47px);
|
|
223
|
+
right: -68px;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
&.image-gallery-fullscreen-button,
|
|
227
|
+
&.image-gallery-play-button {
|
|
228
|
+
bottom: -94px;
|
|
229
|
+
border: solid 1px black;
|
|
230
|
+
border-radius: 0;
|
|
231
|
+
|
|
232
|
+
svg {
|
|
233
|
+
vertical-align: top;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
&.image-gallery-play-button {
|
|
238
|
+
right: 49px;
|
|
239
|
+
left: auto;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.icon {
|
|
243
|
+
margin: 0;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
& .fullscreen .ui.button {
|
|
248
|
+
color: white !important;
|
|
249
|
+
|
|
250
|
+
&.image-gallery-left-nav {
|
|
251
|
+
left: 20px;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
&.image-gallery-right-nav {
|
|
255
|
+
right: 20px;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.image-gallery-description {
|
|
260
|
+
position: relative;
|
|
261
|
+
bottom: auto;
|
|
262
|
+
left: auto;
|
|
263
|
+
display: block;
|
|
264
|
+
padding: 25px 0 0 0;
|
|
265
|
+
background: none;
|
|
266
|
+
color: #666;
|
|
267
|
+
font-size: 14px;
|
|
268
|
+
font-weight: 300;
|
|
269
|
+
line-height: 18px;
|
|
270
|
+
text-align: left;
|
|
271
|
+
white-space: initial;
|
|
272
|
+
|
|
273
|
+
.title {
|
|
274
|
+
margin-bottom: 10px;
|
|
275
|
+
font-weight: 700;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.credits,
|
|
279
|
+
.download,
|
|
280
|
+
.download a {
|
|
281
|
+
min-height: 18px;
|
|
282
|
+
margin-top: 5px;
|
|
283
|
+
color: #0070a2;
|
|
284
|
+
font-size: 14px;
|
|
285
|
+
line-height: 18px;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.description {
|
|
289
|
+
min-height: 18px;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.download {
|
|
293
|
+
float: right;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.fullscreen .image-gallery-description {
|
|
298
|
+
color: white;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.image-gallery-thumbnails {
|
|
302
|
+
padding: 40px 0;
|
|
303
|
+
|
|
304
|
+
.image-gallery-thumbnail {
|
|
305
|
+
border: 0;
|
|
306
|
+
margin-left: 20px;
|
|
307
|
+
opacity: 50%;
|
|
308
|
+
|
|
309
|
+
&.active,
|
|
310
|
+
&:hover,
|
|
311
|
+
&:focus {
|
|
312
|
+
opacity: 1;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
|
|
212
318
|
.documentFirstHeading
|
|
213
319
|
+ &.previous--has--same--backgroundColor:not(.has--headline) {
|
|
214
320
|
margin-top: 0;
|
|
@@ -15,10 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
a.external {
|
|
17
17
|
.content h2:after {
|
|
18
|
-
|
|
19
|
-
content: '\a0'
|
|
20
|
-
url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='external-link-alt' class='svg-inline--fa fa-external-link-alt fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='11' height='11' %3E%3Cpath fill='%23007EB1' d='M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z'%3E%3C/path%3E%3C/svg%3E");
|
|
21
|
-
white-space: nowrap;
|
|
18
|
+
@include external-link-icon();
|
|
22
19
|
}
|
|
23
20
|
}
|
|
24
21
|
|
package/src/theme/main.scss
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
/* No CSS above next line */
|
|
1
2
|
@import 'addonsThemeCustomizationsVariables';
|
|
2
3
|
@import 'variables';
|
|
4
|
+
@import 'fonts';
|
|
3
5
|
@import 'typography';
|
|
4
6
|
@import 'utils';
|
|
5
7
|
@import 'layout';
|
|
@@ -12,6 +14,8 @@
|
|
|
12
14
|
@import 'content';
|
|
13
15
|
@import 'footer';
|
|
14
16
|
|
|
17
|
+
@import 'sitemap';
|
|
18
|
+
|
|
15
19
|
@import 'blocks/accordion';
|
|
16
20
|
@import 'blocks/image';
|
|
17
21
|
@import 'blocks/introduction';
|
|
@@ -30,6 +34,6 @@
|
|
|
30
34
|
|
|
31
35
|
@import 'temp';
|
|
32
36
|
|
|
37
|
+
/* No CSS beyond this point except next line */
|
|
33
38
|
@import 'addonsThemeCustomizationsMain';
|
|
34
|
-
|
|
35
39
|
/* No CSS beyond this point */
|