Переглянути джерело

fix: restore blurry full screen player bar background effect when using ThemeSong

Sv443 7 місяців тому
батько
коміт
3cedde283d
2 змінених файлів з 4 додано та 2 видалено
  1. 2 1
      dist/BetterYTM.css
  2. 2 1
      src/features/layout.css

+ 2 - 1
dist/BetterYTM.css

@@ -1832,7 +1832,8 @@ ytmusic-app-layout[player-ui-state="FULLSCREEN"] .bytm-vote-label {
   ytmusic-app-layout[player-ui-state="FULLSCREEN"]
   ytmusic-player-bar[slot="player-bar"] {
   width: 100%;
-  background: rgba(0, 0, 0, 0.35);
+  /* ...except in this case because of the ThemeSong extension: */
+  background: rgba(0, 0, 0, 0.35) !important;
   backdrop-filter: blur(10px) brightness(90%);
 }
 

+ 2 - 1
src/features/layout.css

@@ -415,7 +415,8 @@ ytmusic-app-layout[player-ui-state="FULLSCREEN"] .bytm-vote-label {
   ytmusic-app-layout[player-ui-state="FULLSCREEN"]
   ytmusic-player-bar[slot="player-bar"] {
   width: 100%;
-  background: rgba(0, 0, 0, 0.35);
+  /* ...except in this case because of the ThemeSong extension: */
+  background: rgba(0, 0, 0, 0.35) !important;
   backdrop-filter: blur(10px) brightness(90%);
 }