@internetstiftelsen/styleguide 2.26.4-beta.0.3 → 2.26.4-beta.0.5

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.26.4-beta.0.3",
3
+ "version": "2.26.4-beta.0.5",
4
4
  "main": "dist/components.js",
5
5
  "ports": {
6
6
  "fractal": "3000"
@@ -38,6 +38,7 @@ function createConsentWarning(el) {
38
38
  const div = document.createElement('div');
39
39
  const button = document.createElement('button');
40
40
  const message = document.createElement('p');
41
+ message.classList.add('color-cyberspace');
41
42
 
42
43
  div.setAttribute('data-youtube-consent-warning', true);
43
44
  div.className = className('m-icon-overlay__message');
@@ -69,8 +69,6 @@
69
69
  }
70
70
 
71
71
  @include organism(schedule) {
72
- margin-bottom: rhythm(8);
73
-
74
72
  @include e(item) {
75
73
  background-color: $color-snow;
76
74
  border-right: $border-radius;
@@ -140,10 +138,16 @@
140
138
  border-radius: 50%;
141
139
  width: rem(50px);
142
140
  height: rem(50px);
141
+ margin-right: rhythm(2);
142
+
143
+ @include bp-up(lg) {
144
+ margin-right: 0;
145
+ }
143
146
 
144
147
  @include m(medium) {
145
148
  width: rem(75px);
146
149
  height: rem(75px);
150
+
147
151
  }
148
152
 
149
153
  @include m(large) {
@@ -163,5 +167,25 @@
163
167
  right: 0;
164
168
  z-index: z_index(middleGround);
165
169
  }
170
+
171
+ @include e(owner) {
172
+ display: flex;
173
+ margin-bottom: rhythm(1);
174
+
175
+ @include bp-up(lg) {
176
+ margin-bottom: 0;
177
+ }
178
+
179
+ @include bp-up(md) {
180
+ flex-wrap: wrap;
181
+ flex-direction: column;
182
+ align-items: center;
183
+ justify-content: center;
184
+
185
+ > span {
186
+ text-align: center;
187
+ }
188
+ }
189
+ }
166
190
  }
167
191
  }