@@ -362,20 +362,6 @@ body:has(#ctrlTab-panel[hasbeenopened="true"] .ctrlTab-preview:not([hidden="true
362
362
363
363
/* ------------------------------------------------------------------ */
364
364
/* media player mods */
365
- /* #zen-media-controls-toolbar{
366
- display: block !important;
367
- opacity: 0 !important;
368
- scale: 0.5 !important;
369
- margin-bottom: 15px !important;
370
- transition: all 0.5s ease-in-out 10s !important;
371
- } */
372
-
373
- /* always open media player when playing */
374
- /* #zen-media-controls-toolbar.playing{
375
- opacity: 1 !important;
376
- scale: 1 !important;
377
- transition: all 0.5s ease-in-out 0.3s !important;
378
- } */
379
365
380
366
/* media player expanded layout */
381
367
# zen-media-controls-toolbar {
@@ -419,17 +405,7 @@ max-height 0.2s ease, opacity 0.2s ease, transform 0.2s ease, padding 0.2s ease;
419
405
}
420
406
421
407
/* media controls glow */
422
- # zen-media-controls-toolbar .playing {
423
- toolbaritem {
424
- background-color : light-dark (# fffd, # 000d ) !important ;
425
- }
426
-
427
- padding : 16px 24px ;
428
- position : relative;
429
- border-radius : 8px ;
430
- box-shadow : 0 0 0 1px rgba (0 , 0 , 0 , .01 );
431
-
432
- & ::after {
408
+ # zen-media-controls-toolbar ::after {
433
409
position : absolute;
434
410
content : "" ;
435
411
bottom : 0px ;
@@ -440,6 +416,8 @@ max-height 0.2s ease, opacity 0.2s ease, transform 0.2s ease, padding 0.2s ease;
440
416
width : 100% ;
441
417
transform : scale (0.9 ) translateZ (0 );
442
418
filter : blur (15px );
419
+ opacity : 0 !important ;
420
+ transition : all 0.3s ease-in-out !important ;
443
421
background : linear-gradient (
444
422
135deg ,
445
423
color-mix (in srgb, var (--zen-primary-color ) 10% , black),
@@ -464,6 +442,20 @@ max-height 0.2s ease, opacity 0.2s ease, transform 0.2s ease, padding 0.2s ease;
464
442
);
465
443
466
444
background-size : 200% 200% ;
445
+ }
446
+
447
+ # zen-media-controls-toolbar .playing {
448
+ toolbaritem {
449
+ background-color : light-dark (# fffd, # 000d ) !important ;
450
+ }
451
+
452
+ padding : 16px 24px ;
453
+ position : relative;
454
+ border-radius : 8px ;
455
+ box-shadow : 0 0 0 1px rgba (0 , 0 , 0 , .01 );
456
+
457
+ & ::after {
458
+ opacity : 1 !important ;
467
459
animation : animateGlow 5s cubic-bezier (0.1 , 0.7 , 0.5 , 0.1 ) infinite;
468
460
}
469
461
@@ -472,6 +464,7 @@ max-height 0.2s ease, opacity 0.2s ease, transform 0.2s ease, padding 0.2s ease;
472
464
}
473
465
}
474
466
467
+ /* glow animation */
475
468
@keyframes animateGlow {
476
469
0% {
477
470
background-position : 0% 20% ;
@@ -491,13 +484,14 @@ max-height 0.2s ease, opacity 0.2s ease, transform 0.2s ease, padding 0.2s ease;
491
484
bottom : 0 !important ;
492
485
opacity : 1 !important ;
493
486
z-index : 100000000 !important ;
487
+
494
488
}
495
489
496
490
position : fixed !important ;
497
491
transform : translateX (-120% ) !important ;
498
492
left : 0 !important ;
499
493
bottom : 0 !important ;
500
- margin : 5 px 5 px !important ;
494
+ margin : 0 px !important ;
501
495
z-index : 1000 !important ;
502
496
width : 150px !important ;
503
497
height : 50px !important ;
@@ -515,18 +509,39 @@ max-height 0.2s ease, opacity 0.2s ease, transform 0.2s ease, padding 0.2s ease;
515
509
}
516
510
}
517
511
512
+
513
+ /* hover to show workspace dots */
518
514
# zen-main-app-wrapper [zen-compact-mode = "true" ] # navigator-toolbox {
519
515
opacity : 1 !important ;
520
516
}
521
517
518
+ # zen-sidebar-bottom-buttons {
519
+ bottom : -25px !important ;
520
+ opacity : 0 !important ;
521
+ transition : all 0.3s ease-in-out !important ;
522
+ }
522
523
523
524
525
+ # navigator-toolbox : hover {
526
+ # zen-sidebar-bottom-buttons , # zen-media-controls-toolbar {
527
+ bottom : 0px !important ;
528
+ opacity : 1 !important ;
529
+ }
530
+ }
524
531
525
532
533
+ # zen-sidebar-bottom-buttons {
534
+ order : 1 !important ;
535
+ }
526
536
537
+ # zen-media-controls-toolbar {
538
+ order : 2 !important ;
539
+ }
527
540
528
-
529
-
541
+ /* no workspace indicator */
542
+ # zen-current-workspace-indicator-container {
543
+ display : none !important ;
544
+ }
530
545
531
546
532
547
0 commit comments