@financial-times/n-myft-ui 37.0.0 → 38.0.0

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.
Files changed (37) hide show
  1. package/.pa11yci.js +2 -1
  2. package/.toolkitstate/ci.json +2 -2
  3. package/components/button/main.scss +49 -62
  4. package/components/collections/collections.html +1 -1
  5. package/components/collections/main.scss +54 -25
  6. package/components/concept-list/concept-list.html +1 -1
  7. package/components/concept-list/main.scss +33 -28
  8. package/components/digest-promo/generic-promo-message.html +1 -1
  9. package/components/digest-promo/main.scss +96 -98
  10. package/components/digest-promo/promo-message.html +1 -1
  11. package/components/follow-button/follow-button.html +1 -1
  12. package/components/instant-alert/index.js +4 -5
  13. package/components/instant-alert/instant-alert.html +1 -5
  14. package/components/instant-alert/main.scss +69 -46
  15. package/components/jsx/follow-plus-instant-alerts/follow-plus-instant-alerts.jsx +1 -1
  16. package/components/jsx/follow-plus-instant-alerts/main.scss +36 -46
  17. package/components/jsx/preferences-modal/main.scss +38 -19
  18. package/components/pin-button/main.scss +63 -54
  19. package/components/pin-button/pin-button.html +1 -1
  20. package/components/save-for-later/save-for-later.html +2 -2
  21. package/demos/app.js +1 -23
  22. package/demos/src/demo.scss +19 -15
  23. package/demos/templates/demo.html +6 -4
  24. package/dist/follow-plus-instant-alerts/follow-plus-instant-alerts.js +1 -1
  25. package/mixins/lozenge/_themes.scss +70 -64
  26. package/mixins/lozenge/_toggle-icon.scss +39 -38
  27. package/mixins/lozenge/main.scss +80 -65
  28. package/myft/main.scss +376 -336
  29. package/myft/ui/lists.js +4 -4
  30. package/myft/ui/lists.scss +2 -20
  31. package/myft/ui/myft-buttons/main.scss +1 -1
  32. package/myft/ui/personalise-links.js +1 -2
  33. package/package.json +14 -12
  34. package/scripts/build-demo.sh +1 -1
  35. package/components/onboarding-cta/main.scss +0 -10
  36. package/mixins/buttons.scss +0 -23
  37. package/styles.css +0 -1
package/myft/main.scss CHANGED
@@ -1,12 +1,9 @@
1
- @import '@financial-times/o-normalise/main';
2
- @import '@financial-times/o-colors/main';
1
+ @import '@financial-times/o3-foundation/css/core.css';
2
+ @import '@financial-times/o3-button/css/core.css';
3
3
  @import '@financial-times/o-grid/main';
4
- @import '@financial-times/o-icons/main';
5
- @import '@financial-times/o-buttons/main';
6
- @import '@financial-times/o-editorial-typography/main';
4
+ @import '@financial-times/o3-editorial-typography/css/core.css';
7
5
  @import '@financial-times/o-forms/main';
8
6
  @import '@financial-times/o-overlay/main';
9
- @import '@financial-times/o-spacing/main';
10
7
 
11
8
  $n-notification-is-silent: false !default;
12
9
  @import '@financial-times/n-notification/main';
@@ -24,392 +21,435 @@ $spacing-unit: 20px;
24
21
 
25
22
  .myft-ui,
26
23
  .n-myft-ui {
27
- display: inline-block;
24
+ display: inline-block;
28
25
  }
29
26
 
30
27
  // experimental flash animation on header icon
31
28
  @include myftHeaderIconFlash;
32
29
 
30
+ // FIXME: We couldn't find any usecases for this class
33
31
  // 'unfollow' button
34
32
  .myft-ui__button--manage,
35
33
  .myft-ui__button--myft-manage {
36
- &[aria-pressed='true']::before {
37
- @include oIconsContent(
38
- 'cross',
39
- oColorsByName('white'),
40
- 28,
41
- $iconset-version: 1
42
- );
43
- }
34
+ &[aria-pressed='true']::before {
35
+ content: '';
36
+ display: inline-block;
37
+ mask-image: var(--o3-icon-cross);
38
+ mask-repeat: no-repeat;
39
+ mask-size: contain;
40
+ width: 24px;
41
+ height: 24px;
42
+ background-color: var(--o3-color-palette-white);
43
+ }
44
44
  }
45
45
 
46
46
  .n-myft-ui--article-saved__list-select {
47
- margin-bottom: 10px;
47
+ margin-bottom: 10px;
48
48
  }
49
49
 
50
50
  .o-overlay.o-overlay--myft-lists {
51
- height: 100%;
52
- width: 100%;
53
- max-width: 640px;
51
+ height: 100%;
52
+ width: 100%;
53
+ max-width: 640px;
54
54
 
55
- @include oGridRespondTo(S) {
56
- height: auto;
57
- }
55
+ @include oGridRespondTo(S) {
56
+ height: auto;
57
+ }
58
58
  }
59
59
 
60
60
  .myft-list-form__wrapper {
61
- margin-bottom: 20px;
61
+ margin-bottom: 20px;
62
62
 
63
- @include oGridRespondTo(M) {
64
- display: flex;
65
- }
63
+ @include oGridRespondTo(M) {
64
+ display: flex;
65
+ }
66
66
 
67
- .o-overlay__content & { margin-bottom: 0; }
67
+ .o-overlay__content & {
68
+ margin-bottom: 0;
69
+ }
68
70
  }
69
71
 
70
72
  .myft-list-form {
71
- overflow: hidden; // clearfix
72
- @include oGridRespondTo(M) {
73
- flex: 1;
74
- }
73
+ overflow: hidden; // clearfix
74
+ @include oGridRespondTo(M) {
75
+ flex: 1;
76
+ }
75
77
  }
76
78
 
77
79
  .myft-list-form__button {
78
- float: right;
80
+ float: right;
79
81
  }
80
82
 
81
83
  //Specificity war with Origami
82
84
  .mypage .myft-list-form__message,
83
85
  .o-overlay .myft-list-form__message {
84
- @include oTypographySans(1);
85
- background: oColorsByName('paper');
86
- border-radius: 0;
87
- margin: 3px 0 0;
88
- padding: $spacing-unit 20px;
89
-
90
- h3 {
91
- @include oTypographySans($scale: 2, $weight: 'semibold');
92
- margin: 0 5px 0 0;
93
- }
94
-
95
- p {
96
- @include oTypographySans($scale: 2);
97
- padding: oSpacingByName('s2') 0;
98
- margin: 0;
99
- }
100
-
101
- h3,
102
- p {
103
- display: inline-block;
104
- padding: 0;
105
- }
86
+
87
+ line-height: var(--o3-font-lineheight-metric2-0);
88
+ font-size: var(--o3-font-size-metric2-0);
89
+ font-family: var(--o3-font-family-metric);
90
+ background: var(--o3-color-palette-paper);
91
+ border-radius: 0;
92
+ margin: 3px 0 0;
93
+ padding: $spacing-unit 20px;
94
+
95
+ h3 {
96
+
97
+ font-weight: var(--o3-font-weight-semibold);
98
+ line-height: var(--o3-font-lineheight-metric2-1);
99
+ font-size: var(--o3-font-size-metric2-1);
100
+ font-family: var(--o3-font-family-metric);
101
+ margin: 0 5px 0 0;
102
+ }
103
+
104
+ p {
105
+
106
+ line-height: var(--o3-font-lineheight-metric2-1);
107
+ font-size: var(--o3-font-size-metric2-1);
108
+ font-family: var(--o3-font-family-metric);
109
+ padding: var(--o3-spacing-4xs) 0;
110
+ margin: 0;
111
+ }
112
+
113
+ h3,
114
+ p {
115
+ display: inline-block;
116
+ padding: 0;
117
+ }
106
118
  }
107
119
 
108
120
  .myft-list-form__message + .myft-list-form__wrapper {
109
- margin-top: $spacing-unit;
121
+ margin-top: $spacing-unit;
110
122
  }
111
123
 
112
124
  .o-overlay .myft-list-form__message {
113
- border-top: 1px solid oColorsByName('black-20');
114
- margin: 0 -20px;
125
+ border-top: 1px solid var(--o3-color-palette-black-20);
126
+ margin: 0 -20px;
115
127
 
116
- &:first-child {
117
- border-top: 0;
118
- margin-top: -20px;
119
- }
128
+ &:first-child {
129
+ border-top: 0;
130
+ margin-top: -20px;
131
+ }
120
132
  }
121
133
 
134
+ // FIXME: we couldn't find usecases for these classes
122
135
  .myft-list-form__message--success {
123
- h3 {
124
- color: oColorsByName('jade');
125
-
126
- &::before {
127
- @include oIconsContent('tick', oColorsByName('jade'), 14, $iconset-version: 1);
128
- content: '';
129
- margin-right: 3px;
130
- }
131
- }
136
+ h3 {
137
+ color: var(--o3-color-palette-teal);
138
+
139
+ &::before {
140
+ display: inline-block;
141
+ mask-image: var(--o3-icon-tick);
142
+ mask-repeat: no-repeat;
143
+ mask-size: contain;
144
+ width: 24px;
145
+ height: 24px;
146
+ background-color: var(--o3-color-palette-teal);
147
+ content: '';
148
+ margin-right: 3px;
149
+ }
150
+ }
132
151
  }
133
152
 
134
153
  .myft-list-form-divider {
135
- text-align: center;
136
- margin-bottom: oSpacingByName('s8');
137
- padding: oSpacingByName('s6') 0;
138
-
139
- @include oGridRespondTo(M) {
140
- display: flex;
141
- position: relative;
142
- justify-content: center;
143
- align-items: center;
144
- margin: 0;
145
- padding: 0 oSpacingByName('s2');
146
- }
147
-
148
- &::after {
149
- content: '';
150
- display: block;
151
- border-top: 1px solid oColorsByName('black-20');
152
- margin-top: -10px;
153
-
154
- @include oGridRespondTo(M) {
155
- position: absolute;
156
- top: 0;
157
- height: 100%;
158
- width: 1px;
159
- margin-top: 0;
160
- border-top: 0;
161
- border-left: 1px solid oColorsByName('black-20');
162
- }
163
- }
154
+ text-align: center;
155
+ margin-bottom: var(--o3-spacing-m);
156
+ padding: var(--o3-spacing-s) 0;
157
+
158
+ @include oGridRespondTo(M) {
159
+ display: flex;
160
+ position: relative;
161
+ justify-content: center;
162
+ align-items: center;
163
+ margin: 0;
164
+ padding: 0 var(--o3-spacing-4xs);
165
+ }
166
+
167
+ &::after {
168
+ content: '';
169
+ display: block;
170
+ border-top: 1px solid var(--o3-color-palette-black-20);
171
+ margin-top: -10px;
172
+
173
+ @include oGridRespondTo(M) {
174
+ position: absolute;
175
+ top: 0;
176
+ height: 100%;
177
+ width: 1px;
178
+ margin-top: 0;
179
+ border-top: 0;
180
+ border-left: 1px solid var(--o3-color-palette-black-20);
181
+ }
182
+ }
164
183
  }
165
184
 
166
185
  .myft-list-form-divider__inner {
167
- padding: 10px;
168
- background-color: oColorsByName('white-60');
169
-
170
- @include oGridRespondTo(M) {
171
- z-index: 10;
172
- }
186
+ padding: 10px;
187
+ background-color: var(--o3-color-palette-white-60);
173
188
 
174
- .o-overlay__content & {
175
- background-color: oColorsByName('white');
176
- }
189
+ @include oGridRespondTo(M) {
190
+ z-index: 10;
191
+ }
177
192
 
193
+ .o-overlay__content & {
194
+ background-color: var(--o3-color-palette-white);
195
+ }
178
196
  }
179
197
 
180
198
  .myft-ui-create-list {
181
- border-radius: 10px;
182
- border: 1px solid oColorsByName('black-5');
183
- background: oColorsByName('white-80');
184
-
185
- &-content {
186
- display: flex;
187
- flex-direction: column;
188
-
189
- h3 {
190
- margin: 0;
191
- }
192
- }
193
-
194
- &-buttons {
195
- text-align: center;
196
- }
199
+ border-radius: 10px;
200
+ border: 1px solid var(--o3-color-palette-black-5);
201
+ background: var(--o3-color-palette-white-80);
202
+
203
+ &-content {
204
+ display: flex;
205
+ flex-direction: column;
206
+
207
+ h3 {
208
+ margin: 0;
209
+ }
210
+ }
211
+
212
+ &-buttons {
213
+ text-align: center;
214
+ }
197
215
  }
198
216
 
199
217
  .myft-ui-create-list {
200
- @include oButtons($opts: (
201
- 'sizes': ('big'),
202
- 'types': ('primary', 'secondary'),
203
- 'themes': ('inverse')
204
- ));
205
-
206
- @include oForms($opts: (
207
- 'elements': ('text', 'checkbox', 'toggle')
208
- ));
209
-
210
- border-radius: 10px;
211
- border: 1px solid oColorsByName('black-5');
212
- background: oColorsByName('white-80');
213
-
214
- .o-overlay__heading {
215
- border-radius: 10px 10px 0 0;
216
- background: oColorsByName('white-60');
217
- @include oTypographySans($scale: 2);
218
- color: oColorsByName('black-80');
219
- }
220
-
221
- .o-overlay__content {
222
- @include oTypographySans($scale: 0);
223
- color: oColorsByName('black-80');
224
- padding: 0;
225
- }
226
-
227
- .o-overlay__title {
228
- margin: 8px 14px 0 8px;
229
- }
230
-
231
- &-container {
232
- display: block;
233
- width: 340px;
234
- top: 115.5px;
235
- left: 50px;
236
- }
237
-
238
- &-add {
239
- border: 0;
240
- background: none;
241
- @include oTypographySans($scale: 1, $weight: 'semibold');
242
- color: oColorsByName('black-80');
243
-
244
- padding-left: 0;
245
-
246
- &:hover {
247
- text-decoration: underline;
248
- }
249
-
250
- &-collapsed::before {
251
- content: '';
252
- @include oIconsContent(
253
- 'plus',
254
- oColorsByName('black-80'),
255
- 28,
256
- $iconset-version: 1
257
- );
258
- vertical-align: middle;
259
- margin-top: -2px;
260
- margin-left: -8px;
261
- }
262
- }
263
-
264
- &-add-description {
265
- margin: oSpacingByName('s1') 0;
266
- }
267
-
268
- &-heading {
269
- &::before {
270
- content: '';
271
- @include oIconsContent(
272
- 'tick',
273
- oColorsByName('teal'),
274
- 32,
275
- $iconset-version: 1
276
- );
277
- vertical-align: middle;
278
- margin-top: -2px;
279
- }
280
- }
281
-
282
- &-footer {
283
- border-top: 1px solid oColorsByName('black-5');
284
- padding: oSpacingByName('s4');
285
- }
286
-
287
- &-icon {
288
- &::before {
289
- content: "";
290
- display: inline-block;
291
- background-repeat: no-repeat;
292
- background-size: contain;
293
- background-position: 50%;
294
- background-color: transparent;
295
- background-image: url(https://www.ft.com/__origami/service/image/v2/images/raw/ftlogo-v1:brand-myft?source=next-article);
296
- width: 42px;
297
- height: 42px;
298
- vertical-align: middle;
299
- margin-top: -2px;
300
- }
301
-
302
- &-visually-hidden {
303
- clip: rect(0 0 0 0);
304
- clip-path: inset(50%);
305
- height: 1px;
306
- overflow: hidden;
307
- position: absolute;
308
- white-space: nowrap;
309
- width: 1px;
310
- }
311
- }
312
-
313
- &-form {
314
- $field-spacing: 's4';
315
- display: flex;
316
- flex-direction: column;
317
- width: calc(100% - 32px);
318
- gap: oSpacingByName($field-spacing);
319
- padding: 0 oSpacingByName($field-spacing) oSpacingByName('s3');
320
-
321
- & >* {
322
- flex: 1 1 auto;
323
- margin-bottom: 0;
324
- }
325
-
326
- & >*.o-forms-field {
327
- margin-bottom: 0;
328
- }
329
-
330
- .o-forms-input {
331
- margin-top: 0;
332
- }
333
-
334
- &-toggle {
335
- position: absolute;
336
- }
337
-
338
- &-toggle-label.o-forms-input__label::after {
339
- background-color: oColorsByName('white');
340
- }
341
-
342
- &-buttons {
343
- display: flex;
344
- justify-content: flex-end;
345
- @include oTypographySans($scale: 2);
346
- }
347
-
348
- &-public {
349
- max-width: 300px;
350
- padding: 0 3px;
351
- }
352
- }
353
-
354
- &-lists {
355
- padding: oSpacingByName('s4') oSpacingByName('s4') 0;
356
- @include oTypographySans($scale: 1);
357
- &-text {
358
- @include oTypographySans($weight: 'semibold');
359
- color: oColorsByName('black-80');
360
- margin-bottom: oSpacingByName('s3');
361
- }
362
- &-container {
363
- margin-top: 0;
364
- max-height: 92px;
365
- padding: 4px 2px;
366
- overflow-y: auto;
367
- @include oGridRespondTo($from: M) {
368
- max-height: 126px;
369
- }
370
- }
371
- }
372
-
373
- &-label {
374
- margin-top: 10px;
375
- }
218
+
219
+ @include oForms(
220
+ $opts: (
221
+ 'elements': (
222
+ 'text',
223
+ 'checkbox',
224
+ 'toggle',
225
+ ),
226
+ )
227
+ );
228
+
229
+ border-radius: 10px;
230
+ border: 1px solid var(--o3-color-palette-black-5);
231
+ background: var(--o3-color-palette-white-80);
232
+
233
+ .o-overlay__heading {
234
+ border-radius: 10px 10px 0 0;
235
+ background: var(--o3-color-palette-white-60);
236
+
237
+ line-height: var(--o3-font-lineheight-metric2-1);
238
+ font-size: var(--o3-font-size-metric2-1);
239
+ font-family: var(--o3-font-family-metric);
240
+ color: var(--o3-color-palette-black-80);
241
+ }
242
+
243
+ .o-overlay__content {
244
+
245
+ line-height: var(--o3-font-lineheight-metric2-negative-1);
246
+ font-size: var(--o3-font-size-metric2-negative-1);
247
+ font-family: var(--o3-font-family-metric);
248
+ color: var(--o3-color-palette-black-80);
249
+ padding: 0;
250
+ }
251
+
252
+ .o-overlay__title {
253
+ margin: 8px 14px 0 8px;
254
+ }
255
+
256
+ &-container {
257
+ display: block;
258
+ width: 340px;
259
+ top: 115.5px;
260
+ left: 50px;
261
+ }
262
+
263
+ &-add {
264
+ border: 0;
265
+ background: none;
266
+
267
+ font-weight: var(--o3-font-weight-semibold);
268
+ line-height: var(--o3-font-lineheight-metric2-0);
269
+ font-size: var(--o3-font-size-metric2-0);
270
+ font-family: var(--o3-font-family-metric);
271
+ color: var(--o3-color-palette-black-80);
272
+
273
+ padding-left: 0;
274
+
275
+ &:hover {
276
+ text-decoration: underline;
277
+ }
278
+
279
+ &-collapsed::before {
280
+ --icon-size: 24px;
281
+ display: inline-block;
282
+ content: '';
283
+ mask-image: var(--o3-icon-plus);
284
+ mask-repeat: no-repeat;
285
+ mask-size: contain;
286
+ width: var(--icon-size);
287
+ height: var(--icon-size);
288
+ background-color: var(--o3-color-palette-black-80);
289
+ vertical-align: middle;
290
+ margin-top: -2px;
291
+ margin-left: -8px;
292
+ }
293
+ }
294
+
295
+ &-add-description {
296
+ margin: var(--o3-spacing-5xs) 0;
297
+ }
298
+
299
+ &-heading {
300
+ &::before {
301
+ --icon-size: 24px;
302
+ display: inline-block;
303
+ content: '';
304
+ mask-image: var(--o3-icon-tick);
305
+ mask-repeat: no-repeat;
306
+ mask-size: contain;
307
+ width: var(--icon-size);
308
+ height: var(--icon-size);
309
+ background-color: var(--o3-color-palette-teal);
310
+ vertical-align: middle;
311
+ margin-top: -2px;
312
+ }
313
+ }
314
+
315
+ &-footer {
316
+ border-top: 1px solid var(--o3-color-palette-black-5);
317
+ padding: var(--o3-spacing-2xs);
318
+ }
319
+
320
+ &-icon {
321
+ &::before {
322
+ content: '';
323
+ display: inline-block;
324
+ background-repeat: no-repeat;
325
+ background-size: contain;
326
+ background-position: 50%;
327
+ background-color: transparent;
328
+ background-image: url('https://www.ft.com/__origami/service/image/v2/images/raw/ftlogo-v1:brand-myft?source=next-article');
329
+ width: 42px;
330
+ height: 42px;
331
+ vertical-align: middle;
332
+ margin-top: -2px;
333
+ }
334
+
335
+ &-visually-hidden {
336
+ clip: rect(0 0 0 0);
337
+ clip-path: inset(50%);
338
+ height: 1px;
339
+ overflow: hidden;
340
+ position: absolute;
341
+ white-space: nowrap;
342
+ width: 1px;
343
+ }
344
+ }
345
+
346
+ &-form {
347
+ display: flex;
348
+ flex-direction: column;
349
+ width: calc(100% - 32px);
350
+ gap: var(--o3-spacing-2xs);
351
+ padding: 0 var(--o3-spacing-2xs) var(--o3-spacing-3xs);
352
+
353
+ & > * {
354
+ flex: 1 1 auto;
355
+ margin-bottom: 0;
356
+ }
357
+
358
+ & > *.o-forms-field {
359
+ margin-bottom: 0;
360
+ }
361
+
362
+ .o-forms-input {
363
+ margin-top: 0;
364
+ }
365
+
366
+ &-toggle {
367
+ position: absolute;
368
+ }
369
+
370
+ &-toggle-label.o-forms-input__label::after {
371
+ background-color: var(--o3-color-palette-white);
372
+ }
373
+
374
+ &-buttons {
375
+ display: flex;
376
+ justify-content: flex-end;
377
+
378
+ line-height: var(--o3-font-lineheight-metric2-1);
379
+ font-size: var(--o3-font-size-metric2-1);
380
+ font-family: var(--o3-font-family-metric);
381
+ }
382
+
383
+ &-public {
384
+ max-width: 300px;
385
+ padding: 0 3px;
386
+ }
387
+ }
388
+
389
+ &-lists {
390
+ padding: var(--o3-spacing-2xs) var(--o3-spacing-2xs) 0;
391
+
392
+ line-height: var(--o3-font-lineheight-metric2-0);
393
+ font-size: var(--o3-font-size-metric2-0);
394
+ font-family: var(--o3-font-family-metric);
395
+ &-text {
396
+
397
+ font-weight: var(--o3-font-weight-semibold);
398
+ font-family: var(--o3-font-family-metric);
399
+ color: var(--o3-color-palette-black-80);
400
+ margin-bottom: var(--o3-spacing-3xs);
401
+ }
402
+ &-container {
403
+ margin-top: 0;
404
+ max-height: 92px;
405
+ padding: 4px 2px;
406
+ overflow-y: auto;
407
+ @include oGridRespondTo($from: M) {
408
+ max-height: 126px;
409
+ }
410
+ }
411
+ }
412
+
413
+ &-label {
414
+ margin-top: 10px;
415
+ }
376
416
  }
377
417
 
378
418
  .share-nav {
379
- &.data-overlap-initialised {
380
- .o-overlay {
381
- transition: opacity 0.15s ease-in;
382
- opacity: 0;
383
- z-index: -1;
384
- }
385
- }
386
- .myft-notification {
387
- background: oColorsByName('white-80');
388
- box-sizing: border-box;
389
- display: flex;
390
- align-items: center;
391
- justify-content: center;
392
- position: absolute;
393
- border-radius: 5px;
394
- font-family: MetricWeb, sans-serif;
395
- font-size: 18px;
396
- }
397
-
398
- .share-nav__vertical {
399
- .myft-notification {
400
- top: 175px;
401
- width: 340px;
402
- height: 44px;
403
- left: 50px;
404
- }
405
- }
406
-
407
- .share-nav__horizontal {
408
- .myft-notification {
409
- top: -52px;
410
- width: 340px;
411
- height: 44px;
412
- z-index: 10;
413
- }
414
- }
419
+ &.data-overlap-initialised {
420
+ .o-overlay {
421
+ transition: opacity 0.15s ease-in;
422
+ opacity: 0;
423
+ z-index: -1;
424
+ }
425
+ }
426
+ .myft-notification {
427
+ background: var(--o3-color-palette-white-80);
428
+ box-sizing: border-box;
429
+ display: flex;
430
+ align-items: center;
431
+ justify-content: center;
432
+ position: absolute;
433
+ border-radius: 5px;
434
+ font-family: MetricWeb, sans-serif;
435
+ font-size: 18px;
436
+ }
437
+
438
+ .share-nav__vertical {
439
+ .myft-notification {
440
+ top: 175px;
441
+ width: 340px;
442
+ height: 44px;
443
+ left: 50px;
444
+ }
445
+ }
446
+
447
+ .share-nav__horizontal {
448
+ .myft-notification {
449
+ top: -52px;
450
+ width: 340px;
451
+ height: 44px;
452
+ z-index: 10;
453
+ }
454
+ }
415
455
  }