Restyling the build details page
See original GitHub issueDescription
I’ve had a bit of CSS I inject into the builds page for ReadTheDocs locally to make them nicer. And well… I think it’s nice+stable enough by now, that it might be worth upstreaming this content.
Click to see the CSS
#build-commands {
padding: 3px 0;
border-radius: 3px;
background: #2f333d;
}
div.build-command {
border: none;
border-radius: 0;
background: transparent;
color: white;
padding: 0;
margin: 0;
}
div.build-command-successful .build-command-run span:hover {
background: #282c34;
}
div.build-command-failed .build-command-run span:hover {
background: #944;
}
div.build-command-run {
margin: 0;
padding: 0;
border-radius: 0;
}
div.build-command-run span {
margin: 0;
padding: 0.25em 0.5em;
}
div.build-command-run span::before {
content: "$ ";
}
div.build-command div.build-command-run span,
div.build-command div.build-command-output span {
white-space: pre-wrap;
}
div.build-command div.build-command-output {
background: #1d1f23;
margin: 0;
}
div.build-command-output span {
white-space: pre-wrap;
}
div.build-command div.build-command-meta {
background: #21252b;
}
Screenshots
Regular output, with one element “expanded” and hovering on the git clean
statement
(current)
(proposed)
When there’s a failure
(current)
(proposed)
Additional context
Relevant CSS lives here: https://github.com/readthedocs/readthedocs.org/blob/43073b15999d18f96532682ba838717521119abf/readthedocs/builds/static/builds/css/detail.css
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
React Native Crash Course | Build a Complete App - YouTube
React Native Crash Course | Build a Complete App ... list data 01:51:54 Platform-specific styling 02:00:45 Using the ScrollView component ...
Read more >Xcode | Apple Developer Documentation
Build, test, and submit your app with Apple's integrated development environment. Overview. Xcode consists of a suite of tools that developers use to...
Read more >React Native styling tutorial with examples - LogRocket Blog
Learn to style components in React Native by building an example e-commerce mobile application that displays an array of products.
Read more >Better performance with UX and Build Details page ...
Better performance with UX and Build Details page improvements on Bitrise. You can expect improved user experience and performance reflected ...
Read more >Archive a Build in Xcode - SwiftUI Advanced Handbook
Archive a build for beta testing or to release in the App Store. ... Integrate an HTML page into your SwiftUI application using...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@pradyunsg Sorry for this, and I appreciate your frustration. We’re taking some steps to prioritize getting the beta dashboard out, and I agree it’s an unfortunate wait on that. I really hope we have some more things to show there in the next couple weeks. I’m not going to push forward with this change quite yet, but hopefully within 2-4 weeks we’ll have a link to share with you to help us beta test the new dashboard.
I’ll flag that it’s almost midway through 2022 – and this was rejected since there is a new theme under development in late 2020. Have there been any public updates on the new theme’s rollout?
If it’s not coming out in the order of weeks, may I suggest adding the ~50 lines of CSS that the issue description has? There have been no changes to the UI for over an year now, and this is a very quick win that will have no ongoing costs.