@internetstiftelsen/styleguide 2.21.3 → 2.21.7

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": "2.21.3",
3
+ "version": "2.21.7",
4
4
  "main": "dist/components.js",
5
5
  "ports": {
6
6
  "fractal": "3000"
@@ -24,7 +24,8 @@
24
24
  background-color: $color-snow;
25
25
  white-space: nowrap;
26
26
 
27
- &[aria-hidden='true'] {
27
+ &[aria-hidden='true'],
28
+ &:not([aria-hidden]) {
28
29
  display: none;
29
30
  }
30
31
  }
@@ -49,3 +50,11 @@
49
50
  }
50
51
  }
51
52
  }
53
+
54
+ .no-js {
55
+ @include molecule(context-menu) {
56
+ @include e(list) {
57
+ display: initial;
58
+ }
59
+ }
60
+ }
@@ -58,6 +58,34 @@ $footer-font-size: 18px; // To ensure all footers on all sites have the same fon
58
58
  padding: rhythm(4) rhythm(6);
59
59
  border-bottom: 0;
60
60
  }
61
+
62
+ p {
63
+ max-width: none;
64
+ margin-bottom: 27px;
65
+ font-size: $footer-font-size;
66
+
67
+ @include bp-up(xxl) {
68
+ @include make-col(14);
69
+ max-width: rem(612px);
70
+ }
71
+ }
72
+
73
+ a {
74
+ @extend %normalize-links;
75
+
76
+ color: $color-jade;
77
+ text-decoration: none;
78
+
79
+ &:hover,
80
+ &:focus {
81
+ color: $color-jade;
82
+ text-decoration: underline;
83
+ }
84
+
85
+ svg {
86
+ display: none;
87
+ }
88
+ }
61
89
  }
62
90
 
63
91
  @include e(contact) {
@@ -141,32 +169,6 @@ $footer-font-size: 18px; // To ensure all footers on all sites have the same fon
141
169
  }
142
170
  }
143
171
 
144
- @include e(paragraph) {
145
- @extend %normalize-links;
146
-
147
- max-width: none;
148
- margin-bottom: 27px;
149
- font-size: $footer-font-size;
150
-
151
- a {
152
- @extend %normalize-links;
153
-
154
- color: $color-jade;
155
- text-decoration: none;
156
-
157
- &:hover,
158
- &:focus {
159
- color: $color-jade;
160
- text-decoration: underline;
161
- }
162
- }
163
-
164
- @include bp-up(xxl) {
165
- @include make-col(14);
166
- max-width: rem(612px);
167
- }
168
- }
169
-
170
172
  @include e(logotypes) {
171
173
  max-width: 100%;
172
174
  height: auto;