@internetstiftelsen/styleguide 5.1.6-beta.0.1 → 5.1.6-beta.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@internetstiftelsen/styleguide",
3
- "version": "5.1.6-beta.0.1",
3
+ "version": "5.1.6-beta.0.2",
4
4
  "main": "dist/components.js",
5
5
  "ports": {
6
6
  "fractal": "3000"
@@ -263,13 +263,6 @@
263
263
  display: block;
264
264
  overflow: hidden;
265
265
 
266
- &:hover,
267
- &:focus {
268
- img {
269
- opacity: 0.8;
270
- }
271
- }
272
-
273
266
  &::after {
274
267
  content: '';
275
268
  position: absolute;
@@ -310,6 +303,14 @@
310
303
 
311
304
  @include bem.e(link) {
312
305
  color: var(--snow-color);
306
+
307
+ &:hover,
308
+ &:focus {
309
+ &::after {
310
+ background-color: colors.$color-snow;
311
+ opacity: 0.05;
312
+ }
313
+ }
313
314
  }
314
315
 
315
316
  @include bem.e(text) {
@@ -57,11 +57,14 @@ module.exports = {
57
57
  context: {
58
58
  date: false,
59
59
  youtube: 'n8hPhZwV8a0',
60
+ teaser: true,
60
61
  read_time: false,
61
62
  has_icon_overlay: true,
62
63
  url: false,
63
64
  img_url: false,
64
- top_level: true
65
+ top_level: true,
66
+ title: "",
67
+ excerpt: ""
65
68
  },
66
69
  },
67
70
  {
@@ -31,14 +31,14 @@
31
31
 
32
32
  iframe {
33
33
  position: absolute;
34
- z-index: 1;
34
+ z-index: func.z_index(foreground);
35
35
  top: 0;
36
36
  left: 0;
37
37
  }
38
38
 
39
39
  @include bem.e(button) {
40
40
  position: absolute;
41
- z-index: 3;
41
+ z-index: func.z_index(foreground);
42
42
  top: 50%;
43
43
  left: 50%;
44
44
  width: func.rhythm(7);