From fe3ac5808ad8e505ca166eca18dd0c03db748389 Mon Sep 17 00:00:00 2001 From: darkthemer <111078063+darkthemer@users.noreply.github.com> Date: Thu, 28 Mar 2024 16:56:31 +0800 Subject: [PATCH] fix(text): make various fixes (#1044) * fix(text): make page icons consistent * fix(text): correct topbar button icons * chore(text): update readme * fix(text): fix hovered volume slider bg color --- text/README.md | 26 ++------------------------ text/user.css | 23 ++++++++--------------- 2 files changed, 10 insertions(+), 39 deletions(-) diff --git a/text/README.md b/text/README.md index e3ab164..e7a8706 100644 --- a/text/README.md +++ b/text/README.md @@ -6,26 +6,10 @@ ##### with images -```css ---display-card-image: block; ---display-coverart-image: block; ---display-header-image: block; ---display-library-image: block; ---display-tracklist-image: block; -``` - ![withimg](screenshots/withimg.png) ##### without images -```css ---display-card-image: none; ---display-coverart-image: none; ---display-header-image: none; ---display-library-image: none; ---display-tracklist-image: none; -``` - ![withoutimg](screenshots/withoutimg.png) ### Spotify @@ -123,7 +107,6 @@ xpui.js_repl_8008 = ,${1}32, - https://github.com/nordtheme/nord - https://github.com/Rigellute/rigel/ - https://github.com/rose-pine/rose-pine-theme - - https://github.com/rose-pine/rose-pine-theme - https://github.com/altercation/solarized - https://github.com/enkia/tokyo-night-vscode-theme @@ -184,15 +167,10 @@ body::after { backdrop-filter: brightness(2.12); /* page zoom [ctrl][+] or [ctrl][-] edit width and height accordingly - 69% = 194px 45px - 76% = 177px 40.5px - 83% = 162px 37.5px - 91% = 148px 34px - 100% = 135px 31px (default) - 110% = 123px 28.5px + this size is set for 100% zoom */ width: 135px; - height: 31px; + height: 40px; } ``` diff --git a/text/user.css b/text/user.css index d4a9167..1a198ed 100644 --- a/text/user.css +++ b/text/user.css @@ -398,10 +398,7 @@ section.main-buddyFeed-container { height: 24px; gap: 8px; } -.main-yourLibraryX-navLink .home-icon, -.main-yourLibraryX-navLink .search-icon, -.main-yourLibraryX-navLinkActive .home-active-icon, -.main-yourLibraryX-navLinkActive .search-active-icon, +.main-yourLibraryX-navLink > svg, .main-yourLibraryX-header .main-yourLibraryX-collapseButtonWrapper > span { transform: scale(0.6); } @@ -478,13 +475,13 @@ section.main-buddyFeed-container { .main-topBar-buddyFeed { background-color: transparent; } -.main-topBar-button:first-child:before { +.main-topBar-historyButtons > .main-topBar-button:first-child::before { content: "<"; } .main-topBar-button.main-topBar-responsiveForward::before { content: ">"; } -.main-topBar-button:first-child > svg, +.main-topBar-historyButtons > .main-topBar-button:first-child > svg, .main-topBar-button.main-topBar-responsiveForward > svg { display: none; } @@ -548,7 +545,8 @@ section.main-buddyFeed-container { .lyrics-lyrics-contentContainer { justify-content: start; } -.lyrics-lyrics-container, .main-nowPlayingView-section { +.lyrics-lyrics-container, +.main-nowPlayingView-section { --lyrics-color-active: var(--spice-text) !important; --lyrics-color-inactive: var(--spice-subtext) !important; --lyrics-color-passed: var(--spice-subtext) !important; @@ -563,9 +561,7 @@ section.main-buddyFeed-container { opacity: 0.7; transition: none; } -.lyrics-lyricsContent-lyric.lyrics-lyricsContent-active:not( - :empty - ) { +.lyrics-lyricsContent-lyric.lyrics-lyricsContent-active:not(:empty) { background-color: var(--lyrics-color-background); color: var(--spice-main); opacity: 1; @@ -576,9 +572,7 @@ section.main-buddyFeed-container { opacity: 0; white-space: break-spaces; } -.lyrics-lyricsContent-lyric.lyrics-lyricsContent-active:not( - :empty - )::before { +.lyrics-lyricsContent-lyric.lyrics-lyricsContent-active:not(:empty)::before { content: ">> "; opacity: 1; white-space: break-spaces; @@ -660,7 +654,7 @@ section.main-buddyFeed-container { .volume-bar__slider-container .x-progressBar-fillColor, .volume-bar__slider-container .playback-progressbar-isInteractive - .DuvrswZugGajIFNXObAr + .progress-bar--isDragging .x-progressBar-fillColor, .volume-bar__slider-container .playback-progressbar-isInteractive @@ -668,7 +662,6 @@ section.main-buddyFeed-container { .x-progressBar-fillColor, .volume-bar__slider-container .playback-progressbar-isInteractive - .volume-bar__slider-container .progress-bar:hover .x-progressBar-fillColor, .volume-bar__slider-container