Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Theme not applied on Download page #24

Closed
koplo199 opened this issue Oct 1, 2021 · 5 comments
Closed

Theme not applied on Download page #24

koplo199 opened this issue Oct 1, 2021 · 5 comments
Assignees

Comments

@koplo199
Copy link
Contributor

koplo199 commented Oct 1, 2021

Hi,
It looks like the theme isn't applied on the Download page ?

Screenshot from 2021-10-01 19-20-35

@tintinmaster
Copy link
Member

Steam changed the Layout of the Download page in September, I have to look at it, if we can change the look of the new one. But Steam makes it harder every update to apply custom themes.

@tintinmaster tintinmaster self-assigned this Oct 3, 2021
@koplo199
Copy link
Contributor Author

koplo199 commented Oct 3, 2021

If that could help here is the css for changing the background of the page and the color of the blue separator :

/* Downloads */
.downloads_DownloadsPage_1bq4x {
    background-image: linear-gradient(to bottom, var(--draculaBG) 0%, var(--draculaBG) 100%);
}

.downloads_TopBar_SEmVp {
    background: linear-gradient(to right, var(--draculaCFAccent) 0%, var(--draculaCFAccent) 100%);
}

@tintinmaster
Copy link
Member

Good news @koplo199
The Downloads page now has the theme applied 🥳

Please clone the repository again and install the theme again

@koplo199
Copy link
Contributor Author

koplo199 commented Oct 11, 2021

Awesome, thank you !
While the theme is correctly applied, it looks like there is a problem near the top pink gradient :
Screenshot from 2021-10-11 22-38-09

Either the right side of the pink gradient is too bright or the left side of the background gradient is too dark, but there shouldn't be such visible vertical bar between those two gradients, do you think it would be possible to fix that ?

@koplo199
Copy link
Contributor Author

Ok I was able to fix it by applying the following change !!

diff --git a/css/custom.css b/css/custom.css
index fc43761..6986b06 100644
--- a/css/custom.css
+++ b/css/custom.css
@@ -341,7 +341,16 @@
   }
 
   .downloadgraph_DownloadGraph_1BxZD .downloadgraph_Gradient_RfMM3 {
-    background-image: none;
+    background-image: linear-gradient(to right, var(--draculaBG), rgba(46, 50, 66, 0) 20%);
+  }
+
+  div.MediumWindow .downloadgraph_DownloadGraph_1BxZD .downloadgraph_Gradient_RfMM3 {
+    background-image: linear-gradient(to right, var(--draculaBG), rgba(46, 50, 66, 0) 30%);
+  }
+
+  div.NarrowWindow .downloadgraph_DownloadGraph_1BxZD .downloadgraph_Gradient_RfMM3,
+  div.ShortWindow .downloadgraph_DownloadGraph_1BxZD .downloadgraph_Gradient_RfMM3{
+    background-image: linear-gradient(to right, var(--draculaBG), rgba(46, 50, 66, 0) 40%);
   }
 
   /* Graph */

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants