23
23
height : auto;
24
24
}
25
25
26
- .vnb__brand-image-wrapper {
27
- padding-left : 10px ;
28
- }
29
- .vnb__brand-image-wrapper__link__image {
30
- max-height : 30px ;
31
- }
32
-
33
- .vnb-image {
34
- max-width : 100% ;
35
- height : auto;
36
- }
37
-
38
26
.vnb__collapse-button {
39
27
cursor : pointer;
40
28
border : 0 ;
49
37
max-width : 30px ;
50
38
}
51
39
40
+ .vnb__brand-image-wrapper {
41
+ padding-left : 10px ;
42
+ }
43
+ .vnb__brand-image-wrapper__link__image {
44
+ max-height : 30px ;
45
+ }
46
+
47
+ .vnb-image {
48
+ max-width : 100% ;
49
+ height : auto;
50
+ }
51
+
52
52
.vnb__menu-options {
53
53
display : flex;
54
54
flex-direction : row;
207
207
height : auto;
208
208
}
209
209
210
- .vnb__menu-options__option__button {
211
- display : flex;
212
- flex-direction : row;
213
- justify-content : center;
214
- align-items : center;
215
- font-weight : 400 ;
216
- color : # fff ;
217
- text-align : center;
218
- vertical-align : middle;
219
- user-select : none;
220
- font-size : 0.9rem ;
221
- line-height : 1 ;
222
- border-radius : 0.25rem ;
223
- text-transform : uppercase;
224
- letter-spacing : 1px ;
225
- padding : 0.5rem 1rem ;
226
- transition : background 0.2s ease-in;
227
- }
228
- .vnb__menu-options__option__button__icon svg {
229
- max-height : 16px ;
230
- max-width : 16px ;
231
- }
232
- .vnb__menu-options__option__button__icon--left {
233
- margin-right : 5px ;
234
- }
235
- .vnb__menu-options__option__button__icon--right {
236
- margin-left : 5px ;
237
- }
238
-
239
- .vnb-button {
240
- background : # 007aff ;
241
- }
242
- .vnb-button : hover {
243
- color : # fff ;
244
- background : # 0062cc ;
245
- text-decoration : none;
246
- }
247
-
248
210
.vnb__menu-options__option__link {
249
211
cursor : pointer;
250
212
font-weight : 500 ;
342
304
width : 30px ;
343
305
}
344
306
345
- .tippy-box [data-animation = perspective ][data-placement ^= top ] {
346
- transform-origin : bottom;
307
+ .vnb__menu-options__option__button {
308
+ display : flex;
309
+ flex-direction : row;
310
+ justify-content : center;
311
+ align-items : center;
312
+ font-weight : 400 ;
313
+ color : # fff ;
314
+ text-align : center;
315
+ vertical-align : middle;
316
+ user-select : none;
317
+ font-size : 0.9rem ;
318
+ line-height : 1 ;
319
+ border-radius : 0.25rem ;
320
+ text-transform : uppercase;
321
+ letter-spacing : 1px ;
322
+ padding : 0.5rem 1rem ;
323
+ transition : background 0.2s ease-in;
324
+ }
325
+ .vnb__menu-options__option__button__icon svg {
326
+ max-height : 16px ;
327
+ max-width : 16px ;
328
+ }
329
+ .vnb__menu-options__option__button__icon--left {
330
+ margin-right : 5px ;
331
+ }
332
+ .vnb__menu-options__option__button__icon--right {
333
+ margin-left : 5px ;
347
334
}
348
335
349
- .tippy-box [data-animation = perspective ][data-placement ^= top ][data-state = visible ] {
350
- transform : perspective (700px );
336
+ .vnb-button {
337
+ background : # 007aff ;
338
+ }
339
+ .vnb-button : hover {
340
+ color : # fff ;
341
+ background : # 0062cc ;
342
+ text-decoration : none;
351
343
}
352
344
353
- .tippy-box [data-animation = perspective ][ data-placement ^= top ][data-state = hidden ] {
354
- transform : perspective ( 700 px ) translateY ( 8 px ) rotateX ( 60 deg ) ;
345
+ .tippy-box [data-animation = shift-toward ][data-state = hidden ] {
346
+ opacity : 0 ;
355
347
}
356
348
357
- .tippy-box [data-animation = perspective ][data-placement ^= bottom ] {
358
- transform-origin : top ;
349
+ .tippy-box [data-animation = shift-toward ][data-state = hidden ][ data- placement^= top ] {
350
+ transform : translateY ( -10 px ) ;
359
351
}
360
352
361
- .tippy-box [data-animation = perspective ][data-placement ^= bottom ][data-state = visible ] {
362
- transform : perspective ( 700 px );
353
+ .tippy-box [data-animation = shift-toward ][data-state = hidden ][data-placement ^= bottom ] {
354
+ transform : translateY ( 10 px );
363
355
}
364
356
365
- .tippy-box [data-animation = perspective ][data-placement ^= bottom ][data-state = hidden ] {
366
- transform : perspective ( 700 px ) translateY ( -8 px ) rotateX ( -60 deg );
357
+ .tippy-box [data-animation = shift-toward ][data-state = hidden ][data-placement ^= left ] {
358
+ transform : translateX ( -10 px );
367
359
}
368
360
369
- .tippy-box [data-animation = perspective ][data-placement ^= left ] {
370
- transform-origin : right ;
361
+ .tippy-box [data-animation = shift-toward ][data-state = hidden ][ data- placement^= right ] {
362
+ transform : translateX ( 10 px ) ;
371
363
}
372
364
373
- .tippy-box [data-animation = perspective ][data-placement ^= left ][data-state = visible ] {
374
- transform : perspective (700px );
365
+ .tippy-box [data-theme ~= light ] {
366
+ color : # 26323d ;
367
+ box-shadow : 0 0 20px 4px rgba (154 , 161 , 177 , 0.15 ), 0 4px 80px -8px rgba (36 , 40 , 47 , 0.25 ), 0 4px 4px -2px rgba (91 , 94 , 105 , 0.15 );
368
+ background-color : # fff ;
375
369
}
376
370
377
- .tippy-box [data-animation = perspective ][data-placement ^= left ][ data-state = hidden ] {
378
- transform : perspective ( 700 px ) translateX ( 8 px ) rotateY ( -60 deg ) ;
371
+ .tippy-box [data-theme ~= light ][data-placement ^= top ] > . tippy-arrow : before {
372
+ border-top-color : # fff ;
379
373
}
380
374
381
- .tippy-box [data-animation = perspective ][data-placement ^= right ] {
382
- transform-origin : left ;
375
+ .tippy-box [data-theme ~= light ][data-placement ^= bottom ] > . tippy-arrow : before {
376
+ border-bottom-color : # fff ;
383
377
}
384
378
385
- .tippy-box [data-animation = perspective ][data-placement ^= right ][ data-state = visible ] {
386
- transform : perspective ( 700 px ) ;
379
+ .tippy-box [data-theme ~= light ][data-placement ^= left ] > . tippy-arrow : before {
380
+ border-left-color : # fff ;
387
381
}
388
382
389
- .tippy-box [data-animation = perspective ][data-placement ^= right ][ data-state = hidden ] {
390
- transform : perspective ( 700 px ) translateX ( -8 px ) rotateY ( 60 deg ) ;
383
+ .tippy-box [data-theme ~= light ][data-placement ^= right ] > . tippy-arrow : before {
384
+ border-right-color : # fff ;
391
385
}
392
386
393
- .tippy-box [data-animation = perspective ][data-state = hidden ] {
394
- opacity : 0 ;
387
+ .tippy-box [data-theme ~= light ] > .tippy-backdrop {
388
+ background-color : # fff ;
389
+ }
390
+
391
+ .tippy-box [data-theme ~= light ] > .tippy-svg-arrow {
392
+ fill : # fff ;
395
393
}
396
394
397
395
.tippy-box [data-animation = scale ][data-placement ^= top ] {
435
433
transform : translateX (-10px );
436
434
}
437
435
438
- .tippy-box [data-animation = shift-toward ][data-state = hidden ] {
439
- opacity : 0 ;
436
+ .tippy-box [data-animation = perspective ][data-placement ^= top ] {
437
+ transform-origin : bottom ;
440
438
}
441
439
442
- .tippy-box [data-animation = shift-toward ][data-state = hidden ][data-placement ^= top ] {
443
- transform : translateY ( -10 px );
440
+ .tippy-box [data-animation = perspective ][data-placement ^= top ][data-state = visible ] {
441
+ transform : perspective ( 700 px );
444
442
}
445
443
446
- .tippy-box [data-animation = shift-toward ][data-state = hidden ][data-placement ^= bottom ] {
447
- transform : translateY (10 px );
444
+ .tippy-box [data-animation = perspective ][data-placement ^= top ][data-state = hidden ] {
445
+ transform : perspective ( 700 px ) translateY (8 px ) rotateX ( 60 deg );
448
446
}
449
447
450
- .tippy-box [data-animation = shift-toward ][data-state = hidden ][ data- placement^= left ] {
451
- transform : translateX ( -10 px ) ;
448
+ .tippy-box [data-animation = perspective ][data-placement ^= bottom ] {
449
+ transform-origin : top ;
452
450
}
453
451
454
- .tippy-box [data-animation = shift-toward ][data-state = hidden ][data-placement ^= right ] {
455
- transform : translateX ( 10 px );
452
+ .tippy-box [data-animation = perspective ][data-placement ^= bottom ][data-state = visible ] {
453
+ transform : perspective ( 700 px );
456
454
}
457
455
458
- .tippy-box [data-theme ~= light ] {
459
- color : # 26323d ;
460
- box-shadow : 0 0 20px 4px rgba (154 , 161 , 177 , 0.15 ), 0 4px 80px -8px rgba (36 , 40 , 47 , 0.25 ), 0 4px 4px -2px rgba (91 , 94 , 105 , 0.15 );
461
- background-color : # fff ;
456
+ .tippy-box [data-animation = perspective ][data-placement ^= bottom ][data-state = hidden ] {
457
+ transform : perspective (700px ) translateY (-8px ) rotateX (-60deg );
462
458
}
463
459
464
- .tippy-box [data-theme ~= light ][data-placement ^= top ] > . tippy-arrow : before {
465
- border-top-color : # fff ;
460
+ .tippy-box [data-animation = perspective ][data-placement ^= left ] {
461
+ transform-origin : right ;
466
462
}
467
463
468
- .tippy-box [data-theme ~= light ][data-placement ^= bottom ] > . tippy-arrow : before {
469
- border-bottom-color : # fff ;
464
+ .tippy-box [data-animation = perspective ][data-placement ^= left ][ data-state = visible ] {
465
+ transform : perspective ( 700 px ) ;
470
466
}
471
467
472
- .tippy-box [data-theme ~= light ][data-placement ^= left ] > . tippy-arrow : before {
473
- border-left-color : # fff ;
468
+ .tippy-box [data-animation = perspective ][data-placement ^= left ][ data-state = hidden ] {
469
+ transform : perspective ( 700 px ) translateX ( 8 px ) rotateY ( -60 deg ) ;
474
470
}
475
471
476
- .tippy-box [data-theme ~= light ][data-placement ^= right ] > . tippy-arrow : before {
477
- border-right-color : # fff ;
472
+ .tippy-box [data-animation = perspective ][data-placement ^= right ] {
473
+ transform-origin : left ;
478
474
}
479
475
480
- .tippy-box [data-theme ~= light ] > . tippy-backdrop {
481
- background-color : # fff ;
476
+ .tippy-box [data-animation = perspective ][ data-placement ^= right ][ data-state = visible ] {
477
+ transform : perspective ( 700 px ) ;
482
478
}
483
479
484
- .tippy-box [data-theme ~= light ] > .tippy-svg-arrow {
485
- fill : # fff ;
480
+ .tippy-box [data-animation = perspective ][data-placement ^= right ][data-state = hidden ] {
481
+ transform : perspective (700px ) translateX (-8px ) rotateY (60deg );
482
+ }
483
+
484
+ .tippy-box [data-animation = perspective ][data-state = hidden ] {
485
+ opacity : 0 ;
486
486
}
0 commit comments