@internetstiftelsen/styleguide 2.21.6 → 2.21.10

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.6",
3
+ "version": "2.21.10",
4
4
  "main": "dist/components.js",
5
5
  "ports": {
6
6
  "fractal": "3000"
@@ -231,7 +231,8 @@
231
231
  margin-left: -16px;
232
232
  }
233
233
 
234
- &[aria-hidden='true'] {
234
+ &[aria-hidden='true'],
235
+ &:not([aria-hidden]) {
235
236
  display: none;
236
237
  }
237
238
 
@@ -257,3 +258,11 @@
257
258
  }
258
259
  }
259
260
  }
261
+
262
+ .no-js {
263
+ @include atom(main-menu) {
264
+ @include e(subnav) {
265
+ display: block;
266
+ }
267
+ }
268
+ }
@@ -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
+ }
@@ -51,7 +51,7 @@ $footer-font-size: 18px; // To ensure all footers on all sites have the same fon
51
51
  -moz-osx-font-smoothing: grayscale;
52
52
 
53
53
  @include e(freetext) {
54
- padding: rhythm(4) rhythm(3);
54
+ padding: rhythm(3) rhythm(3) rhythm(4) rhythm(3);
55
55
  border-bottom: 1px solid $color-black;
56
56
 
57
57
  @include bp-up(xl) {
@@ -89,9 +89,12 @@ $footer-font-size: 18px; // To ensure all footers on all sites have the same fon
89
89
  }
90
90
 
91
91
  @include e(contact) {
92
- border-left: 1px solid $color-black;
93
92
  font-size: 80%;
94
93
 
94
+ @include bp-up(lg) {
95
+ border-left: 1px solid $color-black;
96
+ }
97
+
95
98
  @include e(address) {
96
99
  font-size: inherit;
97
100
 
@@ -112,9 +115,24 @@ $footer-font-size: 18px; // To ensure all footers on all sites have the same fon
112
115
 
113
116
  @include e(row-first) {
114
117
  border-bottom: 1px solid $color-black;
118
+
119
+ @include bp-up(lg) {
120
+ height: 70%;
121
+ }
122
+
123
+ @include bp-up(xl) {
124
+ height: 50%;
125
+ }
115
126
  }
116
127
 
117
128
  @include e(row-second) {
129
+ @include bp-up(lg) {
130
+ height: 30%;
131
+ }
132
+
133
+ @include bp-up(xl) {
134
+ height: 50%;
135
+ }
118
136
  }
119
137
  }
120
138
 
@@ -130,20 +148,20 @@ $footer-font-size: 18px; // To ensure all footers on all sites have the same fon
130
148
  @include bp-up(xl) {
131
149
  border-right: 1px solid $color-black;
132
150
  border-bottom: 0;
133
- padding: rhythm(3) rhythm(3) rhythm(3) rhythm(6);
151
+ padding: rhythm(4) rhythm(3) rhythm(3) rhythm(6);
134
152
  }
135
153
  }
136
154
 
137
155
  @include e(address2) {
138
- padding: rhythm(3) 0 rhythm(3) rhythm(3);
156
+ padding: rhythm(3);
139
157
 
140
158
  @include bp-up(xl) {
141
159
  padding-left: rhythm(6);
160
+ padding-top: rhythm(4);
142
161
  }
143
162
  }
144
163
 
145
164
  @include e(ISO) {
146
- border-right: 1px solid $color-black;
147
165
  border-bottom: 1px solid $color-black;
148
166
  padding: rhythm(3);
149
167
  display: flex;
@@ -151,10 +169,11 @@ $footer-font-size: 18px; // To ensure all footers on all sites have the same fon
151
169
 
152
170
  @include bp-up(md) {
153
171
  border-bottom: 0;
172
+ border-right: 1px solid $color-black;
154
173
  }
155
174
 
156
175
  @include bp-up(xl) {
157
- padding: rhythm(3) rhythm(3) rhythm(3) rhythm(6);
176
+ padding: rhythm(3) rhythm(3) rhythm(4) rhythm(6);
158
177
  }
159
178
  }
160
179
 
@@ -165,6 +184,7 @@ $footer-font-size: 18px; // To ensure all footers on all sites have the same fon
165
184
 
166
185
  @include bp-up(xl) {
167
186
  padding-left: rhythm(6);
187
+ padding-bottom: rhythm(4);
168
188
  }
169
189
  }
170
190
  }
@@ -4,8 +4,8 @@ module.exports = {
4
4
  context: {
5
5
  id: '',
6
6
  footer_text: '<p class="o-footer__paragraph"><a href="https://internetstiftelsen.se">Internetstiftelsen</a> verkar för ett internet som bidrar positivt till människan och samhället. Vi är en oberoende organisation som säkerställer en stark och säker infrastruktur för internet i Sverige. Vårt mål är att alla ska våga och kunna använda internet. Vi finns i Sverige och ansvarar för den svenska toppdomänen .se och driften av toppdomänen .nu.</p>',
7
- contact_1: '<ul class="u-list-clean o-footer__contact__address"><li class="o-footer__contact__address__li">Internetstiftelsen</li><li class="o-footer__contact__address__li">Hammarby Kaj 10D</li><li class="o-footer__contact__address__li">Box 92073</li><li class="o-footer__contact__address__li">120 07 Stockholm</li></ul>',
8
- contact_2: '<ul class="u-list-clean o-footer__contact__address"><li class="o-footer__contact__address__li">E-post: <a class="o-footer__link" href="mailto:info@internetstiftelsen.se">info@internetstiftelsen.se</a></li><li class="o-footer__contact__address__li">Telefon: <a class="o-footer__link" href="tel:084523500">08-452 35 00</a></li><li class="o-footer__contact__address__li">Organisationsnummer: 802405-0190</li></ul>',
7
+ contact_1: '<ul class="u-list-clean o-footer__info__contact__address"><li class="o-footer__info__contact__address__li">Internetstiftelsen</li><li class="o-footer__info__contact__address__li">Hammarby Kaj 10D</li><li class="o-footer__info__contact__address__li">Box 92073</li><li class="o-footer__info__contact__address__li">120 07 Stockholm</li></ul>',
8
+ contact_2: '<ul class="u-list-clean o-footer__info__contact__address"><li class="o-footer__info__contact__address__li">E-post: <a class="o-footer__link" href="mailto:info@internetstiftelsen.se">info@internetstiftelsen.se</a></li><li class="o-footer__info__contact__address__li">Telefon: <a class="o-footer__link" href="tel:084523500">08-452 35 00</a></li><li class="o-footer__info__contact__address__li">Organisationsnummer: 802405-0190</li></ul>',
9
9
  ISO_link: 'https://internetstiftelsen.se/docs/Certifikat_27001_UKAS_sv.pdf',
10
10
  ISO_image: 'https://internetstiftelsen.se/app/themes/internetstiftelsen/images/ISO_27001_2013_black_TM.svg',
11
11
  ISO_text: 'Certifierade enligt ISO/IEC<br>27001:2013',