Repository navigation
Replace Material Design Lite with Bootstrap 5, with seating's Berkeley colors - #19
Open
pancakereport wants to merge 2 commits into
Open
pancakereport wants to merge 2 commits into
pancakereport wants to merge 2 commits into
Conversation
Use the same indigo (#3f51b5) as the header of the server-rendered pages, which use Material Design Lite's indigo theme, instead of Bootstrap 4's teal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
🚀 Staging Preview Deployed! URL: https://preview-sections-pr-19-137456085712.us-west1.run.app |
…y colors Follow seating (berkeley-cdss/seating#146): - The landing, offerings and import pages use Bootstrap 5.3.8 instead of MDL, Roboto and Material Icons. Bootstrap is self-hosted (the same files seating vendors), so these pages load nothing from another site. - Both they and the course pages (the React app) use Berkeley Blue in place of Bootstrap's blue, and a Berkeley Blue header underlined in California Gold, as seating does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
|
do not merge until preview checked out; waiting for redirect uri to be added (will likely happen within 24 hours of this comment). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follows seating's move off Material Design Lite (berkeley-cdss/seating#146), so the two apps look the same and sections no longer uses anything from MDL.
Server-rendered pages (landing
/,/offerings,/offerings/new):server/assets/vendor/bootstrap/contains the same files seating vendors. These pages previously loaded MDL, Roboto and Material Icons from Google and cdnjs; they now load nothing from another site.style.cssis adapted from seating's (only the parts these pages use), andflash.cssis copied from it.Course pages (the React app, already Bootstrap 5 since #15): the same colors.
Colors, as in seating:
#003262replaces Bootstrap's blue for buttons, links, tabs and focus rings.#FDB515) bottom border and white links, underlined in gold on hover.Template names keep the
.j2suffix (seating's are now.html), becauseindex.htmlis the React build's page and Flask would mix up the two.Test plan
rgb(0, 50, 98), with the gold border./assets/🤖 Generated with Claude Code