@transferwise/neptune-css 14.24.4 → 14.24.6
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/dist/css/accordion.css +0 -4
- package/dist/css/button-groups.css +179 -92
- package/dist/css/buttons.css +0 -4
- package/dist/css/decision.css +43 -24
- package/dist/css/dropdowns.css +97 -51
- package/dist/css/droppable.css +91 -47
- package/dist/css/footer.css +43 -24
- package/dist/css/input-groups.css +2 -6
- package/dist/css/list-group.css +119 -62
- package/dist/css/navbar.css +0 -4
- package/dist/css/neptune-core.css +6 -60
- package/dist/css/neptune.css +24 -91
- package/dist/css/popovers.css +215 -110
- package/dist/css/tooltip.css +49 -27
- package/dist/less/neptune-tokens.less +2 -2
- package/dist/props/neptune-tokens.css +1 -1
- package/package.json +5 -5
package/dist/css/popovers.css
CHANGED
|
@@ -1,32 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
}@media (min-width: 768px) {
|
|
3
|
-
}.close {
|
|
1
|
+
.close {
|
|
4
2
|
float: right;
|
|
5
3
|
color: #0097c7;
|
|
6
4
|
color: var(--color-content-accent);
|
|
7
5
|
-webkit-text-decoration: none;
|
|
8
6
|
text-decoration: none;
|
|
9
|
-
}
|
|
7
|
+
}
|
|
8
|
+
[dir="rtl"] .close {
|
|
10
9
|
float: left;
|
|
11
|
-
}
|
|
10
|
+
}
|
|
11
|
+
.np-theme-personal .close {
|
|
12
12
|
color: var(--color-interactive-primary);
|
|
13
|
-
}
|
|
13
|
+
}
|
|
14
|
+
.close:hover {
|
|
14
15
|
color: #0084b3;
|
|
15
16
|
color: var(--color-content-accent-hover);
|
|
16
17
|
-webkit-text-decoration: none;
|
|
17
18
|
text-decoration: none;
|
|
18
19
|
cursor: pointer;
|
|
19
|
-
}
|
|
20
|
+
}
|
|
21
|
+
.np-theme-personal .close:hover {
|
|
20
22
|
color: var(--color-interactive-primary-hover);
|
|
21
|
-
}
|
|
23
|
+
}
|
|
24
|
+
.close:focus {
|
|
22
25
|
outline: none;
|
|
23
|
-
}
|
|
26
|
+
}
|
|
27
|
+
.close:focus-visible {
|
|
24
28
|
outline: var(--ring-outline-color) solid var(--ring-outline-width);
|
|
25
29
|
outline-offset: var(--ring-outline-offset);
|
|
26
|
-
}
|
|
30
|
+
}
|
|
31
|
+
.close:active {
|
|
27
32
|
color: #0077a5;
|
|
28
33
|
color: var(--color-content-accent-active);
|
|
29
|
-
}
|
|
34
|
+
}
|
|
35
|
+
button.close {
|
|
30
36
|
padding: 0;
|
|
31
37
|
cursor: pointer;
|
|
32
38
|
background: transparent;
|
|
@@ -34,10 +40,12 @@
|
|
|
34
40
|
-webkit-appearance: none;
|
|
35
41
|
-moz-appearance: none;
|
|
36
42
|
appearance: none;
|
|
37
|
-
}
|
|
43
|
+
}
|
|
44
|
+
.np-theme-personal button.close:hover {
|
|
38
45
|
background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;
|
|
39
46
|
background: initial;
|
|
40
|
-
}
|
|
47
|
+
}
|
|
48
|
+
.popover {
|
|
41
49
|
top: 0;
|
|
42
50
|
left: 0;
|
|
43
51
|
z-index: 1060;
|
|
@@ -72,81 +80,105 @@
|
|
|
72
80
|
border-radius: 3px;
|
|
73
81
|
box-shadow: 0 20px 66px 0 rgba(34, 48, 73, 0.2);
|
|
74
82
|
position: absolute;
|
|
75
|
-
}
|
|
83
|
+
}
|
|
84
|
+
[dir="rtl"] .popover {
|
|
76
85
|
right: 0;
|
|
77
86
|
left: auto;
|
|
78
87
|
left: initial;
|
|
79
|
-
}
|
|
88
|
+
}
|
|
89
|
+
[dir="rtl"] .popover {
|
|
80
90
|
text-align: right;
|
|
81
|
-
}
|
|
91
|
+
}
|
|
92
|
+
.np-theme-personal--forest-green .popover,
|
|
82
93
|
.np-theme-personal--bright-green .popover,
|
|
83
94
|
.np-theme-personal--dark .popover {
|
|
84
95
|
box-shadow: none;
|
|
85
|
-
}
|
|
96
|
+
}
|
|
97
|
+
.popover.animate {
|
|
86
98
|
transition: transform 0.25s;
|
|
87
|
-
}
|
|
99
|
+
}
|
|
100
|
+
.popover.scale-down {
|
|
88
101
|
transform: scale(0);
|
|
89
|
-
}
|
|
102
|
+
}
|
|
103
|
+
.popover.top {
|
|
90
104
|
margin-top: -14px;
|
|
91
105
|
transform-origin: 50% 100%;
|
|
92
|
-
}
|
|
106
|
+
}
|
|
107
|
+
.popover.top-left {
|
|
93
108
|
margin-top: -14px;
|
|
94
109
|
transform-origin: calc(100% - 29px) 100%;
|
|
95
|
-
}
|
|
110
|
+
}
|
|
111
|
+
.popover.top-right {
|
|
96
112
|
margin-top: -14px;
|
|
97
113
|
transform-origin: 29px 100%;
|
|
98
|
-
}
|
|
114
|
+
}
|
|
115
|
+
.popover.right {
|
|
99
116
|
margin-left: 14px;
|
|
100
117
|
transform-origin: 0% 50%;
|
|
101
|
-
}
|
|
118
|
+
}
|
|
119
|
+
[dir="rtl"] .popover.right {
|
|
102
120
|
margin-right: 14px;
|
|
103
121
|
margin-left: 0;
|
|
104
122
|
margin-left: initial;
|
|
105
|
-
}
|
|
123
|
+
}
|
|
124
|
+
.popover.right-top {
|
|
106
125
|
margin-left: 14px;
|
|
107
126
|
transform-origin: 0% 29px;
|
|
108
|
-
}
|
|
127
|
+
}
|
|
128
|
+
[dir="rtl"] .popover.right-top {
|
|
109
129
|
margin-right: 14px;
|
|
110
130
|
margin-left: 0;
|
|
111
131
|
margin-left: initial;
|
|
112
|
-
}
|
|
132
|
+
}
|
|
133
|
+
.popover.right-bottom {
|
|
113
134
|
margin-left: 14px;
|
|
114
135
|
transform-origin: 0% calc(100% - 29px);
|
|
115
|
-
}
|
|
136
|
+
}
|
|
137
|
+
[dir="rtl"] .popover.right-bottom {
|
|
116
138
|
margin-right: 14px;
|
|
117
139
|
margin-left: 0;
|
|
118
140
|
margin-left: initial;
|
|
119
|
-
}
|
|
141
|
+
}
|
|
142
|
+
.popover.bottom {
|
|
120
143
|
margin-top: 14px;
|
|
121
144
|
transform-origin: 50% 0%;
|
|
122
|
-
}
|
|
145
|
+
}
|
|
146
|
+
.popover.bottom-left {
|
|
123
147
|
margin-top: 14px;
|
|
124
148
|
transform-origin: calc(100% - 29px) 0%;
|
|
125
|
-
}
|
|
149
|
+
}
|
|
150
|
+
.popover.bottom-right {
|
|
126
151
|
margin-top: 14px;
|
|
127
152
|
transform-origin: 29px 0%;
|
|
128
|
-
}
|
|
153
|
+
}
|
|
154
|
+
.popover.left {
|
|
129
155
|
margin-left: -14px;
|
|
130
156
|
transform-origin: 100% 50%;
|
|
131
|
-
}
|
|
157
|
+
}
|
|
158
|
+
[dir="rtl"] .popover.left {
|
|
132
159
|
margin-right: -14px;
|
|
133
160
|
margin-left: 0;
|
|
134
161
|
margin-left: initial;
|
|
135
|
-
}
|
|
162
|
+
}
|
|
163
|
+
.popover.left-top {
|
|
136
164
|
margin-left: -14px;
|
|
137
165
|
transform-origin: 100% 29px;
|
|
138
|
-
}
|
|
166
|
+
}
|
|
167
|
+
[dir="rtl"] .popover.left-top {
|
|
139
168
|
margin-right: -14px;
|
|
140
169
|
margin-left: 0;
|
|
141
170
|
margin-left: initial;
|
|
142
|
-
}
|
|
171
|
+
}
|
|
172
|
+
.popover.left-bottom {
|
|
143
173
|
margin-left: -14px;
|
|
144
174
|
transform-origin: 100% calc(100% - 29px);
|
|
145
|
-
}
|
|
175
|
+
}
|
|
176
|
+
[dir="rtl"] .popover.left-bottom {
|
|
146
177
|
margin-right: -14px;
|
|
147
178
|
margin-left: 0;
|
|
148
179
|
margin-left: initial;
|
|
149
|
-
}
|
|
180
|
+
}
|
|
181
|
+
.popover::before {
|
|
150
182
|
content: " ";
|
|
151
183
|
position: absolute;
|
|
152
184
|
display: block;
|
|
@@ -156,176 +188,216 @@
|
|
|
156
188
|
top: -7px;
|
|
157
189
|
transform: rotate(45deg);
|
|
158
190
|
background-color: inherit;
|
|
159
|
-
}
|
|
191
|
+
}
|
|
192
|
+
[dir="rtl"] .popover::before {
|
|
160
193
|
right: 28px;
|
|
161
194
|
left: auto;
|
|
162
195
|
left: initial;
|
|
163
|
-
}
|
|
196
|
+
}
|
|
197
|
+
.popover.top::before {
|
|
164
198
|
top: auto;
|
|
165
199
|
bottom: -7px;
|
|
166
200
|
left: 50%;
|
|
167
201
|
margin-left: -7px;
|
|
168
|
-
}
|
|
202
|
+
}
|
|
203
|
+
[dir="rtl"] .popover.top::before {
|
|
169
204
|
right: 50%;
|
|
170
205
|
left: auto;
|
|
171
206
|
left: initial;
|
|
172
|
-
}
|
|
207
|
+
}
|
|
208
|
+
[dir="rtl"] .popover.top::before {
|
|
173
209
|
margin-right: -7px;
|
|
174
210
|
margin-left: 0;
|
|
175
211
|
margin-left: initial;
|
|
176
|
-
}
|
|
212
|
+
}
|
|
213
|
+
.popover.top-left::before {
|
|
177
214
|
top: auto;
|
|
178
215
|
bottom: -7px;
|
|
179
216
|
right: 29px;
|
|
180
217
|
left: auto;
|
|
181
218
|
margin-left: -7px;
|
|
182
|
-
}
|
|
219
|
+
}
|
|
220
|
+
[dir="rtl"] .popover.top-left::before {
|
|
183
221
|
left: 29px;
|
|
184
222
|
right: auto;
|
|
185
223
|
right: initial;
|
|
186
|
-
}
|
|
224
|
+
}
|
|
225
|
+
[dir="rtl"] .popover.top-left::before {
|
|
187
226
|
right: auto;
|
|
188
227
|
left: auto;
|
|
189
228
|
left: initial;
|
|
190
|
-
}
|
|
229
|
+
}
|
|
230
|
+
[dir="rtl"] .popover.top-left::before {
|
|
191
231
|
margin-right: -7px;
|
|
192
232
|
margin-left: 0;
|
|
193
233
|
margin-left: initial;
|
|
194
|
-
}
|
|
234
|
+
}
|
|
235
|
+
.popover.top-right::before {
|
|
195
236
|
top: auto;
|
|
196
237
|
bottom: -7px;
|
|
197
238
|
left: 29px;
|
|
198
239
|
right: auto;
|
|
199
240
|
margin-left: -7px;
|
|
200
|
-
}
|
|
241
|
+
}
|
|
242
|
+
[dir="rtl"] .popover.top-right::before {
|
|
201
243
|
right: 29px;
|
|
202
244
|
left: auto;
|
|
203
245
|
left: initial;
|
|
204
|
-
}
|
|
246
|
+
}
|
|
247
|
+
[dir="rtl"] .popover.top-right::before {
|
|
205
248
|
left: auto;
|
|
206
249
|
right: auto;
|
|
207
250
|
right: initial;
|
|
208
|
-
}
|
|
251
|
+
}
|
|
252
|
+
[dir="rtl"] .popover.top-right::before {
|
|
209
253
|
margin-right: -7px;
|
|
210
254
|
margin-left: 0;
|
|
211
255
|
margin-left: initial;
|
|
212
|
-
}
|
|
256
|
+
}
|
|
257
|
+
.popover.right::before {
|
|
213
258
|
top: 50%;
|
|
214
259
|
margin-top: -7px;
|
|
215
260
|
left: -7px;
|
|
216
|
-
}
|
|
261
|
+
}
|
|
262
|
+
[dir="rtl"] .popover.right::before {
|
|
217
263
|
right: -7px;
|
|
218
264
|
left: auto;
|
|
219
265
|
left: initial;
|
|
220
|
-
}
|
|
266
|
+
}
|
|
267
|
+
.popover.right-top::before {
|
|
221
268
|
top: 29px;
|
|
222
269
|
margin-top: -7px;
|
|
223
270
|
left: -7px;
|
|
224
|
-
}
|
|
271
|
+
}
|
|
272
|
+
[dir="rtl"] .popover.right-top::before {
|
|
225
273
|
right: -7px;
|
|
226
274
|
left: auto;
|
|
227
275
|
left: initial;
|
|
228
|
-
}
|
|
276
|
+
}
|
|
277
|
+
.popover.right-bottom::before {
|
|
229
278
|
top: calc(100% - 29px);
|
|
230
279
|
margin-top: -7px;
|
|
231
280
|
left: -7px;
|
|
232
|
-
}
|
|
281
|
+
}
|
|
282
|
+
[dir="rtl"] .popover.right-bottom::before {
|
|
233
283
|
right: -7px;
|
|
234
284
|
left: auto;
|
|
235
285
|
left: initial;
|
|
236
|
-
}
|
|
286
|
+
}
|
|
287
|
+
.popover.bottom::before {
|
|
237
288
|
top: -7px;
|
|
238
289
|
bottom: auto;
|
|
239
290
|
left: 50%;
|
|
240
291
|
margin-left: -7px;
|
|
241
|
-
}
|
|
292
|
+
}
|
|
293
|
+
[dir="rtl"] .popover.bottom::before {
|
|
242
294
|
right: 50%;
|
|
243
295
|
left: auto;
|
|
244
296
|
left: initial;
|
|
245
|
-
}
|
|
297
|
+
}
|
|
298
|
+
[dir="rtl"] .popover.bottom::before {
|
|
246
299
|
margin-right: -7px;
|
|
247
300
|
margin-left: 0;
|
|
248
301
|
margin-left: initial;
|
|
249
|
-
}
|
|
302
|
+
}
|
|
303
|
+
.popover.bottom-left::before {
|
|
250
304
|
top: -7px;
|
|
251
305
|
bottom: auto;
|
|
252
306
|
right: 29px;
|
|
253
307
|
left: auto;
|
|
254
308
|
margin-left: -7px;
|
|
255
|
-
}
|
|
309
|
+
}
|
|
310
|
+
[dir="rtl"] .popover.bottom-left::before {
|
|
256
311
|
left: 29px;
|
|
257
312
|
right: auto;
|
|
258
313
|
right: initial;
|
|
259
|
-
}
|
|
314
|
+
}
|
|
315
|
+
[dir="rtl"] .popover.bottom-left::before {
|
|
260
316
|
right: auto;
|
|
261
317
|
left: auto;
|
|
262
318
|
left: initial;
|
|
263
|
-
}
|
|
319
|
+
}
|
|
320
|
+
[dir="rtl"] .popover.bottom-left::before {
|
|
264
321
|
margin-right: -7px;
|
|
265
322
|
margin-left: 0;
|
|
266
323
|
margin-left: initial;
|
|
267
|
-
}
|
|
324
|
+
}
|
|
325
|
+
.popover.bottom-right::before {
|
|
268
326
|
top: -7px;
|
|
269
327
|
bottom: auto;
|
|
270
328
|
right: 29px;
|
|
271
329
|
left: auto;
|
|
272
330
|
margin-left: -7px;
|
|
273
|
-
}
|
|
331
|
+
}
|
|
332
|
+
[dir="rtl"] .popover.bottom-right::before {
|
|
274
333
|
left: 29px;
|
|
275
334
|
right: auto;
|
|
276
335
|
right: initial;
|
|
277
|
-
}
|
|
336
|
+
}
|
|
337
|
+
[dir="rtl"] .popover.bottom-right::before {
|
|
278
338
|
right: auto;
|
|
279
339
|
left: auto;
|
|
280
340
|
left: initial;
|
|
281
|
-
}
|
|
341
|
+
}
|
|
342
|
+
[dir="rtl"] .popover.bottom-right::before {
|
|
282
343
|
margin-right: -7px;
|
|
283
344
|
margin-left: 0;
|
|
284
345
|
margin-left: initial;
|
|
285
|
-
}
|
|
346
|
+
}
|
|
347
|
+
.popover.left::before {
|
|
286
348
|
top: 50%;
|
|
287
349
|
margin-top: -7px;
|
|
288
350
|
left: auto;
|
|
289
351
|
right: -7px;
|
|
290
|
-
}
|
|
352
|
+
}
|
|
353
|
+
[dir="rtl"] .popover.left::before {
|
|
291
354
|
right: auto;
|
|
292
355
|
left: auto;
|
|
293
356
|
left: initial;
|
|
294
|
-
}
|
|
357
|
+
}
|
|
358
|
+
[dir="rtl"] .popover.left::before {
|
|
295
359
|
left: -7px;
|
|
296
360
|
right: auto;
|
|
297
361
|
right: initial;
|
|
298
|
-
}
|
|
362
|
+
}
|
|
363
|
+
.popover.left-top::before {
|
|
299
364
|
top: 29px;
|
|
300
365
|
margin-top: -7px;
|
|
301
366
|
left: auto;
|
|
302
367
|
right: -7px;
|
|
303
|
-
}
|
|
368
|
+
}
|
|
369
|
+
[dir="rtl"] .popover.left-top::before {
|
|
304
370
|
right: auto;
|
|
305
371
|
left: auto;
|
|
306
372
|
left: initial;
|
|
307
|
-
}
|
|
373
|
+
}
|
|
374
|
+
[dir="rtl"] .popover.left-top::before {
|
|
308
375
|
left: -7px;
|
|
309
376
|
right: auto;
|
|
310
377
|
right: initial;
|
|
311
|
-
}
|
|
378
|
+
}
|
|
379
|
+
.popover.left-bottom::before {
|
|
312
380
|
top: calc(100% - 29px);
|
|
313
381
|
margin-top: -7px;
|
|
314
382
|
left: auto;
|
|
315
383
|
right: -7px;
|
|
316
|
-
}
|
|
384
|
+
}
|
|
385
|
+
[dir="rtl"] .popover.left-bottom::before {
|
|
317
386
|
right: auto;
|
|
318
387
|
left: auto;
|
|
319
388
|
left: initial;
|
|
320
|
-
}
|
|
389
|
+
}
|
|
390
|
+
[dir="rtl"] .popover.left-bottom::before {
|
|
321
391
|
left: -7px;
|
|
322
392
|
right: auto;
|
|
323
393
|
right: initial;
|
|
324
|
-
}
|
|
394
|
+
}
|
|
395
|
+
.popover img,
|
|
325
396
|
.popover .popover-image {
|
|
326
397
|
width: 65%;
|
|
327
398
|
margin: 8px 0;
|
|
328
|
-
}
|
|
399
|
+
}
|
|
400
|
+
.popover-title {
|
|
329
401
|
padding: 0;
|
|
330
402
|
margin: 0;
|
|
331
403
|
color: #37517e;
|
|
@@ -344,7 +416,8 @@
|
|
|
344
416
|
border-bottom: 0;
|
|
345
417
|
border-radius: 2px 2px 0 0;
|
|
346
418
|
color: var(--color-content-primary) !important;
|
|
347
|
-
}
|
|
419
|
+
}
|
|
420
|
+
@supports (hyphenate-limit-chars: 1) {
|
|
348
421
|
.popover-title {
|
|
349
422
|
-webkit-hyphens: auto;
|
|
350
423
|
hyphens: auto;
|
|
@@ -360,7 +433,8 @@
|
|
|
360
433
|
hyphenate-limit-chars: 10 4 3;
|
|
361
434
|
}
|
|
362
435
|
}
|
|
363
|
-
}
|
|
436
|
+
}
|
|
437
|
+
@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
|
|
364
438
|
.popover-title {
|
|
365
439
|
-webkit-hyphens: auto;
|
|
366
440
|
hyphens: auto;
|
|
@@ -372,12 +446,14 @@
|
|
|
372
446
|
-webkit-hyphenate-limit-before: 4;
|
|
373
447
|
}
|
|
374
448
|
}
|
|
375
|
-
}
|
|
449
|
+
}
|
|
450
|
+
.popover-title + p,
|
|
376
451
|
.popover-title + ul:not(.list-unstyled),
|
|
377
452
|
.popover-title + ol:not(.list-unstyled) {
|
|
378
453
|
margin-top: 8px;
|
|
379
454
|
margin-top: var(--size-8);
|
|
380
|
-
}
|
|
455
|
+
}
|
|
456
|
+
.popover-content {
|
|
381
457
|
padding: 0;
|
|
382
458
|
font-size: 0.875rem;
|
|
383
459
|
font-size: var(--font-size-14);
|
|
@@ -387,35 +463,45 @@
|
|
|
387
463
|
font-weight: var(--font-weight-regular);
|
|
388
464
|
color: #5d7079;
|
|
389
465
|
color: var(--color-content-secondary);
|
|
390
|
-
}
|
|
466
|
+
}
|
|
467
|
+
.popover-content > :last-child {
|
|
391
468
|
margin-bottom: 0;
|
|
392
|
-
}
|
|
469
|
+
}
|
|
470
|
+
.popover-close {
|
|
393
471
|
float: right;
|
|
394
472
|
color: #0097c7;
|
|
395
473
|
color: var(--color-content-accent);
|
|
396
474
|
-webkit-text-decoration: none;
|
|
397
475
|
text-decoration: none;
|
|
398
|
-
}
|
|
476
|
+
}
|
|
477
|
+
[dir="rtl"] .popover-close {
|
|
399
478
|
float: left;
|
|
400
|
-
}
|
|
479
|
+
}
|
|
480
|
+
.np-theme-personal .popover-close {
|
|
401
481
|
color: var(--color-interactive-primary);
|
|
402
|
-
}
|
|
482
|
+
}
|
|
483
|
+
.popover-close:hover {
|
|
403
484
|
color: #0084b3;
|
|
404
485
|
color: var(--color-content-accent-hover);
|
|
405
486
|
-webkit-text-decoration: none;
|
|
406
487
|
text-decoration: none;
|
|
407
488
|
cursor: pointer;
|
|
408
|
-
}
|
|
489
|
+
}
|
|
490
|
+
.np-theme-personal .popover-close:hover {
|
|
409
491
|
color: var(--color-interactive-primary-hover);
|
|
410
|
-
}
|
|
492
|
+
}
|
|
493
|
+
.popover-close:focus {
|
|
411
494
|
outline: none;
|
|
412
|
-
}
|
|
495
|
+
}
|
|
496
|
+
.popover-close:focus-visible {
|
|
413
497
|
outline: var(--ring-outline-color) solid var(--ring-outline-width);
|
|
414
498
|
outline-offset: var(--ring-outline-offset);
|
|
415
|
-
}
|
|
499
|
+
}
|
|
500
|
+
.popover-close:active {
|
|
416
501
|
color: #0077a5;
|
|
417
502
|
color: var(--color-content-accent-active);
|
|
418
|
-
}
|
|
503
|
+
}
|
|
504
|
+
button.popover-close {
|
|
419
505
|
padding: 0;
|
|
420
506
|
cursor: pointer;
|
|
421
507
|
background: transparent;
|
|
@@ -423,10 +509,12 @@
|
|
|
423
509
|
-webkit-appearance: none;
|
|
424
510
|
-moz-appearance: none;
|
|
425
511
|
appearance: none;
|
|
426
|
-
}
|
|
512
|
+
}
|
|
513
|
+
.np-theme-personal button.popover-close:hover {
|
|
427
514
|
background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;
|
|
428
515
|
background: initial;
|
|
429
|
-
}
|
|
516
|
+
}
|
|
517
|
+
[data-toggle="popover"]:not(.btn) {
|
|
430
518
|
color: inherit !important;
|
|
431
519
|
font-weight: inherit !important;
|
|
432
520
|
-webkit-text-decoration: none !important;
|
|
@@ -434,15 +522,18 @@
|
|
|
434
522
|
border-bottom: 1px dotted #0097c7 !important;
|
|
435
523
|
border-bottom: 1px dotted var(--color-content-accent) !important;
|
|
436
524
|
cursor: pointer;
|
|
437
|
-
}
|
|
525
|
+
}
|
|
526
|
+
[data-toggle="popover"]:not(.btn):hover,
|
|
438
527
|
[data-toggle="popover"]:not(.btn):focus,
|
|
439
528
|
[data-toggle="popover"]:not(.btn)[aria-describedby] {
|
|
440
529
|
color: #0084b3 !important;
|
|
441
530
|
color: var(--color-content-accent-hover) !important;
|
|
442
531
|
outline: 0;
|
|
443
|
-
}
|
|
532
|
+
}
|
|
533
|
+
.nav > li > a [data-toggle="popover"] {
|
|
444
534
|
border-bottom: 0;
|
|
445
|
-
}
|
|
535
|
+
}
|
|
536
|
+
@media (max-width: 991px) {
|
|
446
537
|
.popover-modal {
|
|
447
538
|
position: fixed;
|
|
448
539
|
top: 0 !important;
|
|
@@ -455,7 +546,8 @@
|
|
|
455
546
|
.popover-modal::before {
|
|
456
547
|
display: none;
|
|
457
548
|
}
|
|
458
|
-
}
|
|
549
|
+
}
|
|
550
|
+
@media (min-width: 992px) {
|
|
459
551
|
.popover-modal.left {
|
|
460
552
|
margin-right: -var(--size-24) !important;
|
|
461
553
|
}
|
|
@@ -478,14 +570,16 @@
|
|
|
478
570
|
.popover-modal.bottom {
|
|
479
571
|
margin-top: -8px !important;
|
|
480
572
|
}
|
|
481
|
-
}
|
|
573
|
+
}
|
|
574
|
+
@keyframes cover-fade-in {
|
|
482
575
|
from {
|
|
483
576
|
opacity: 0;
|
|
484
577
|
}
|
|
485
578
|
to {
|
|
486
579
|
opacity: 0.7;
|
|
487
580
|
}
|
|
488
|
-
}
|
|
581
|
+
}
|
|
582
|
+
.popover-modal-cover {
|
|
489
583
|
position: fixed;
|
|
490
584
|
top: 0;
|
|
491
585
|
left: 0;
|
|
@@ -499,19 +593,23 @@
|
|
|
499
593
|
background-color: var(--color-background-screen);
|
|
500
594
|
opacity: 0.7;
|
|
501
595
|
animation: cover-fade-in 0.35s 0s linear forwards;
|
|
502
|
-
}
|
|
596
|
+
}
|
|
597
|
+
[dir="rtl"] .popover-modal-cover {
|
|
503
598
|
right: 0;
|
|
504
599
|
left: auto;
|
|
505
600
|
left: initial;
|
|
506
|
-
}
|
|
601
|
+
}
|
|
602
|
+
@media (max-width: 991px) {
|
|
507
603
|
.popover-modal-cover {
|
|
508
604
|
display: block;
|
|
509
605
|
}
|
|
510
|
-
}
|
|
606
|
+
}
|
|
607
|
+
.popover-promotion {
|
|
511
608
|
text-align: center;
|
|
512
609
|
padding: 24px;
|
|
513
610
|
padding: var(--size-24);
|
|
514
|
-
}
|
|
611
|
+
}
|
|
612
|
+
@media (max-width: 576px) {
|
|
515
613
|
.popover-promotion {
|
|
516
614
|
width: auto !important;
|
|
517
615
|
padding: 24px !important;
|
|
@@ -519,7 +617,8 @@
|
|
|
519
617
|
margin: 16px !important;
|
|
520
618
|
margin: var(--size-16) !important;
|
|
521
619
|
}
|
|
522
|
-
}
|
|
620
|
+
}
|
|
621
|
+
@media (min-width: 566px) and (max-width: 992px) {
|
|
523
622
|
.popover-promotion {
|
|
524
623
|
width: 540px !important;
|
|
525
624
|
padding: 28px 32px !important;
|
|
@@ -527,31 +626,37 @@
|
|
|
527
626
|
margin: 32px auto !important;
|
|
528
627
|
margin: var(--size-32) auto !important;
|
|
529
628
|
}
|
|
530
|
-
}
|
|
629
|
+
}
|
|
630
|
+
.popover-promotion .popover-title {
|
|
531
631
|
font-size: 1rem;
|
|
532
632
|
font-size: var(--font-size-16);
|
|
533
633
|
line-height: 1.2;
|
|
534
634
|
line-height: var(--line-height-title);
|
|
535
|
-
}
|
|
635
|
+
}
|
|
636
|
+
@media (min-width: 768px) {
|
|
536
637
|
.popover-promotion .popover-title {
|
|
537
638
|
font-size: 1.25rem;
|
|
538
639
|
font-size: var(--font-size-20);
|
|
539
640
|
line-height: 1.2;
|
|
540
641
|
line-height: var(--line-height-title);
|
|
541
642
|
}
|
|
542
|
-
}
|
|
643
|
+
}
|
|
644
|
+
@media (max-width: 480px) {
|
|
543
645
|
.popover-promotion .popover-image {
|
|
544
646
|
width: 80%;
|
|
545
647
|
}
|
|
546
|
-
}
|
|
648
|
+
}
|
|
649
|
+
@media (min-width: 480px) and (max-width: 992px) {
|
|
547
650
|
.popover-promotion .popover-image {
|
|
548
651
|
width: 60%;
|
|
549
652
|
}
|
|
550
|
-
}
|
|
653
|
+
}
|
|
654
|
+
@media (min-width: 992px) {
|
|
551
655
|
.popover-promotion .popover-image {
|
|
552
656
|
width: 80%;
|
|
553
657
|
}
|
|
554
|
-
}
|
|
658
|
+
}
|
|
659
|
+
@media (max-width: 992px) {
|
|
555
660
|
.popover-promotion {
|
|
556
661
|
position: absolute !important;
|
|
557
662
|
}
|