Skip to content

Upgrade Bootstrap from 3.1.1 to 5.3.7 #82

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

Merged
merged 8 commits into from
Aug 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5,791 changes: 6 additions & 5,785 deletions media/commitfest/css/bootstrap.css

Large diffs are not rendered by default.

67 changes: 64 additions & 3 deletions media/commitfest/css/commitfest.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,20 @@
* commitfest.postgresql.org specific styles
*/

/* For close button with float disabled */
.close-nofloat {
float: none !important;
/* Bootstrap 5 inline delete/close buttons */
.btn-outline-danger.btn-sm {
font-size: 0.75rem;
line-height: 1;
padding: 0.25rem 0.5rem;
border-color: #dc3545;
color: #dc3545;
background-color: transparent;
}

.btn-outline-danger.btn-sm:hover {
background-color: #f8d7da;
border-color: #dc3545;
color: #721c24;
}

/* General form styling */
Expand Down Expand Up @@ -91,3 +102,53 @@ div.form-group div.controls input.threadpick-input {
.search-bar {
display: inline-block;
}

/* Navigation improvements for Bootstrap 5 */
nav[aria-label="breadcrumb"] {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
}

nav[aria-label="breadcrumb"] .breadcrumb {
margin-bottom: 0;
}

nav[aria-label="breadcrumb"] .float-end {
font-size: 0.875rem;
}

/* Override Bootstrap warning color to be less harsh */
.badge.bg-warning {
background-color: #cc8500 !important; /* Muted amber/gold instead of bright yellow */
color: white !important;
}

/* Remove underlines from tag links */
a:has(.badge) {
text-decoration: none !important;
}

a:has(.badge):hover {
text-decoration: none !important;
}

a .badge {
text-decoration: none !important;
}

a:hover .badge {
text-decoration: none !important;
}

/* Make GitHub icon white in dark navbar */
.navbar-dark .github-logo {
filter: brightness(0) invert(1);
}

/* Simple close button without float */
.btn-close-nofloat {
float: none;
margin-left: 0.5rem;
}
Loading