comand-component-library 3.2.4 → 3.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -182,10 +182,6 @@ export default {
182
182
 
183
183
  a {
184
184
  text-align: center;
185
-
186
- figcaption {
187
- opacity: var(--reduced-opacity);
188
- }
189
185
  }
190
186
 
191
187
  img {
@@ -234,12 +230,51 @@ export default {
234
230
  }
235
231
 
236
232
  &.gallery-scroller {
237
- > ul {
238
- > li {
239
- a {
240
- color: var(--pure-white);
233
+ max-width: 80%;
234
+ left: 0;
235
+ right: 0;
236
+ position: fixed;
237
+ bottom: var(--default-margin);
238
+ margin: auto;
239
+
240
+ li {
241
+ a {
242
+ color: var(--color-scheme-text-color);
243
+ text-decoration: none;
244
+ }
245
+
246
+ &.active {
247
+ img {
248
+ border-color: var(--primary-color);
249
+ }
250
+
251
+ figcaption {
252
+ color: var(--primary-color);
253
+ }
254
+ }
255
+
256
+ &:not(.active) {
257
+ img {
258
+ border: var(--default-border);
259
+ opacity: var(--reduced-opacity);
260
+ }
261
+
262
+ figcaption {
241
263
  text-decoration: none;
242
264
  }
265
+
266
+ a {
267
+ &:hover, &:active, &:focus {
268
+ figcaption {
269
+ color: var(--primary-color);
270
+ }
271
+
272
+ img {
273
+ border-color: var(--primary-color);
274
+ opacity: 1;
275
+ }
276
+ }
277
+ }
243
278
  }
244
279
  }
245
280
  }
@@ -258,8 +293,11 @@ export default {
258
293
  @media only screen and (max-width: $medium-max-width) {
259
294
  .cmd-thumbnail-scroller {
260
295
  display: block;
296
+
297
+ &.gallery-scroller {
298
+ max-width: calc(100% - calc(var(--default-margin) * 3));
299
+ }
261
300
  }
262
301
  }
263
-
264
302
  /* end cmd-thumbnail-scroller ------------------------------------------------------------------------------------------ */
265
303
  </style>
@@ -5,7 +5,7 @@
5
5
  <!-- begin cmd-headline -->
6
6
  <CmdHeadline
7
7
  v-if="cmdHeadline"
8
- :pre-headline-text="cmdHeadline.preHeadlineLevel"
8
+ :pre-headline-text="cmdHeadline.preHeadlineText"
9
9
  :headline-text="cmdHeadline.headlineText"
10
10
  :headline-level="cmdHeadline.headlineLevel"
11
11
  />
@@ -14,6 +14,11 @@
14
14
  "set if content should be loaded by url"
15
15
  ]
16
16
  },
17
+ "figcaption": {
18
+ "comments": [
19
+ "figcaption if image is given by url"
20
+ ]
21
+ },
17
22
  "fancyboxOptions": {
18
23
  "comments": [
19
24
  "options to show at top (closeIcon, printButtons)"