@@ -374,6 +374,32 @@ body {
374
374
margin-top : -24px ;
375
375
min-height : 24px ; }
376
376
377
+ @keyframes playlist {
378
+ from , 5% {
379
+ transform : scale (1 ) rotate (0deg ); }
380
+ 8% , 12% , 16% , 20% , 24% , 28% {
381
+ transform : scale (2 ) rotate (4deg ); }
382
+ 10% , 14% , 18% , 22% , 26% , 30% {
383
+ transform : scale (2 ) rotate (-4deg ); }
384
+ 60% , 64% , 68% , 72% , 76% , 80% {
385
+ transform : scale (1.7 ) rotate (0deg ); }
386
+ 32% , 58% , 62% , 66% , 70% , 74% , 78% , 82% , 88% {
387
+ transform : scale (2 ) rotate (0deg ); }
388
+ 90% , 92% {
389
+ transform : scale (2 ) rotate (360deg ); }
390
+ 95% , to {
391
+ transform : scale (1 ) rotate (360deg ); } }
392
+
393
+ @keyframes playlistInfo {
394
+ from , to {
395
+ visibility : hidden;
396
+ opacity : 0 ;
397
+ transform : scale (0.8 ) translate (4px , -2px ); }
398
+ 5% , 95% {
399
+ visibility : visible;
400
+ opacity : 1 ;
401
+ transform : scale (1 ) translate (0 , 0 ); } }
402
+
377
403
.list {
378
404
display : inline-block;
379
405
flex : 1 1 auto;
@@ -385,14 +411,42 @@ body {
385
411
margin : 24px 4px 0 ; }
386
412
.list .playlist {
387
413
display : inline-block;
414
+ position : relative;
388
415
width : 16px ;
389
416
height : 16px ;
390
417
vertical-align : middle;
391
418
margin-left : 8px ;
392
419
border : none;
393
- background : center / contain no-repeat;
394
- background-image : url ("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='width:24px;height:24px' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M15,6H3V8H15V6M15,10H3V12H15V10M3,16H11V14H3V16M17,6V14.18C16.69,14.07 16.35,14 16,14A3,3 0 0,0 13,17A3,3 0 0,0 16,20A3,3 0 0,0 19,17V8H22V6H17Z' /%3E%3C/svg%3E" );
395
- cursor : pointer; }
420
+ background : none;
421
+ padding : 0 ;
422
+ cursor : pointer;
423
+ outline : none; }
424
+ .list .playlist ::before {
425
+ content : '' ;
426
+ display : block;
427
+ position : relative;
428
+ width : 100% ;
429
+ height : 100% ;
430
+ background : center / contain no-repeat;
431
+ background-image : url ("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='width:24px;height:24px' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M15,6H3V8H15V6M15,10H3V12H15V10M3,16H11V14H3V16M17,6V14.18C16.69,14.07 16.35,14 16,14A3,3 0 0,0 13,17A3,3 0 0,0 16,20A3,3 0 0,0 19,17V8H22V6H17Z' /%3E%3C/svg%3E" ); }
432
+ .list .playlist : focus ::before {
433
+ outline : # e59700 auto 5px ; }
434
+
435
+ .unplayed .playlist ::before {
436
+ animation : playlist 7s 5s both; }
437
+
438
+ .unplayed .playlist ::after {
439
+ content : '' ;
440
+ position : absolute;
441
+ bottom : 100% ;
442
+ left : 100% ;
443
+ width : 239px ;
444
+ height : 119px ;
445
+ transform-origin : bottom left;
446
+ background : url ("/client/playlist-info.png" ) center/contain no-repeat;
447
+ pointer-events : none;
448
+ animation : playlistInfo 8s 5s both;
449
+ outline : none; }
396
450
397
451
.list-header {
398
452
flex : 0 0 auto;
@@ -456,19 +510,19 @@ body {
456
510
visibility : visible;
457
511
transform : translate (0 , -50% ) translateY (0 ); }
458
512
459
- .compare-form {
513
+ .compare-form , . rank-form {
460
514
background : white;
461
515
overflow : hidden;
462
516
border-radius : 999px ;
463
517
margin : 0 ;
464
518
max-height : 0 ;
465
519
transition : margin .2s , max-height .2s ; }
466
520
467
- .show -compare .compare-form {
521
+ .mathod -compare .compare-form , . method-rank . rank -form {
468
522
margin : 4px 0 ;
469
523
max-height : 24px ; }
470
524
471
- .compare-input {
525
+ .compare-input , . rank-input {
472
526
height : 24px ;
473
527
padding : 0 8px ;
474
528
width : 144px ;
@@ -477,10 +531,10 @@ body {
477
531
font-family : inherit;
478
532
vertical-align : middle; }
479
533
480
- .compare-submit {
534
+ .compare-submit , . rank-submit {
481
535
background : none;
482
536
border : none;
483
- border-left : 1px solid # aaa ;
537
+ border-left : 1px solid # ddd ;
484
538
padding : 0 ;
485
539
margin : 0 ;
486
540
height : 24px ;
@@ -490,7 +544,7 @@ body {
490
544
vertical-align : middle;
491
545
overflow : hidden;
492
546
color : transparent; }
493
- .compare-submit : before {
547
+ .compare-submit : before , . rank-submit : before {
494
548
content : '👌' ;
495
549
position : absolute;
496
550
top : 50% ;
@@ -505,11 +559,10 @@ body {
505
559
margin-top : 0 ; }
506
560
507
561
.list-content {
508
- flex : 1 1 auto;
562
+ flex : 0 1 auto;
509
563
position : relative;
510
564
width : 100% ;
511
565
min-height : 104px ;
512
- border : 2px solid # 191919 ;
513
566
border-radius : 4px ;
514
567
box-sizing : border-box;
515
568
overflow : auto; }
0 commit comments