Skip to content

Commit f3cc0f6

Browse files
authored
Update userChrome.css - fixes for sidebar hover and expanding glow animation for player
1 parent 212e21d commit f3cc0f6

File tree

1 file changed

+12
-32
lines changed

1 file changed

+12
-32
lines changed

userChrome.css

Lines changed: 12 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
3+
14
/* Hidden buttons */
25
/* #nav-bar-overflow-button, */
36
#zen-current-workspace-indicator {
@@ -69,6 +72,9 @@ tab[busy] {
6972
}
7073
}
7174

75+
76+
77+
7278
/* empty tab image */
7379
#browser:has([zen-empty-tab="true"][selected="true"]) .browserStack{
7480

@@ -400,29 +406,11 @@ max-height 0.2s ease, opacity 0.2s ease, transform 0.2s ease, padding 0.2s ease;
400406
overflow: hidden !important;
401407
}
402408

403-
#zen-media-progress-hbox label{
404-
scale: 0 !important;
405-
transition: scale 0.3s ease-in-out !important;
406-
}
407-
408-
#zen-media-progress-bar{
409-
margin: 0 !important;
410-
scale: 1.4 !important;
411-
transition: all 0.3s ease-in-out !important;
412-
}
413-
414409
&:hover{
415410
#zen-media-controls-hbox{
416411
height: fit-content !important;
417412
opacity: 1 !important;
418413
}
419-
#zen-media-progress-hbox label{
420-
scale: 1 !important;
421-
}
422-
#zen-media-progress-bar{
423-
margin: 1em !important;
424-
scale: 1 !important;
425-
}
426414
}
427415
}
428416

@@ -444,26 +432,14 @@ max-height 0.2s ease, opacity 0.2s ease, transform 0.2s ease, padding 0.2s ease;
444432
&::after {
445433
position: absolute;
446434
content: "";
447-
top: 5px;
435+
bottom: 0px;
448436
left: 0;
449437
right: 0;
450438
z-index: -1;
451439
height: 100%;
452440
width: 100%;
453441
transform: scale(0.9) translateZ(0);
454442
filter: blur(15px);
455-
/* background: linear-gradient(
456-
to left,
457-
#ff5770,
458-
#e4428d,
459-
#c42da8,
460-
#9e16c3,
461-
#6501de,
462-
#9e16c3,
463-
#c42da8,
464-
#e4428d,
465-
#ff5770
466-
); */
467443
background: linear-gradient(
468444
135deg,
469445
color-mix(in srgb, var(--zen-primary-color) 10%, black),
@@ -490,6 +466,10 @@ max-height 0.2s ease, opacity 0.2s ease, transform 0.2s ease, padding 0.2s ease;
490466
background-size: 200% 200%;
491467
animation: animateGlow 5s cubic-bezier(0.1, 0.7, 0.5, 0.1) infinite;
492468
}
469+
470+
&:hover::after{
471+
height: 150%;
472+
}
493473
}
494474

495475
@keyframes animateGlow {
@@ -503,7 +483,7 @@ max-height 0.2s ease, opacity 0.2s ease, transform 0.2s ease, padding 0.2s ease;
503483

504484

505485
/* compact mode player */
506-
#zen-main-app-wrapper[zen-compact-mode="true"]:not(:has(toolbox[zen-user-show=""])) #zen-media-controls-toolbar{
486+
#zen-main-app-wrapper[zen-compact-mode="true"]:not(:has(toolbox[zen-user-show=""], toolbox[zen-has-hover])) #zen-media-controls-toolbar{
507487

508488
&.playing #zen-media-focus-button{
509489
position: fixed !important;

0 commit comments

Comments
 (0)