Skip to content

Commit 4c465f6

Browse files
JelteFclaude
andcommitted
Upgrade Bootstrap from 3.1.1 to 5.3.7
- Updated to self-hosted Bootstrap 5.3.7 CSS and JavaScript files - Migrated all templates from Bootstrap 3 to Bootstrap 5 syntax - Fixed navigation breadcrumbs and added full-width header menu - Updated dropdown components and button styling to Bootstrap 5 - Replaced jQuery UI tooltips with native Bootstrap 5 tooltips - Updated template tags to map Bootstrap 3 classes to Bootstrap 5 - Enhanced responsive design and improved overall styling 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 73787d9 commit 4c465f6

File tree

17 files changed

+299
-7918
lines changed

17 files changed

+299
-7918
lines changed

media/commitfest/css/bootstrap.css

Lines changed: 6 additions & 5785 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

media/commitfest/css/commitfest.css

Lines changed: 53 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,20 @@
22
* commitfest.postgresql.org specific styles
33
*/
44

5-
/* For close button with float disabled */
6-
.close-nofloat {
7-
float: none !important;
5+
/* Bootstrap 5 inline delete/close buttons */
6+
.btn-outline-danger.btn-sm {
7+
font-size: 0.75rem;
8+
line-height: 1;
9+
padding: 0.25rem 0.5rem;
10+
border-color: #dc3545;
11+
color: #dc3545;
12+
background-color: transparent;
13+
}
14+
15+
.btn-outline-danger.btn-sm:hover {
16+
background-color: #f8d7da;
17+
border-color: #dc3545;
18+
color: #721c24;
819
}
920

1021
/* General form styling */
@@ -91,3 +102,42 @@ div.form-group div.controls input.threadpick-input {
91102
.search-bar {
92103
display: inline-block;
93104
}
105+
106+
/* Navigation improvements for Bootstrap 5 */
107+
nav[aria-label="breadcrumb"] {
108+
display: flex;
109+
justify-content: space-between;
110+
align-items: center;
111+
margin-bottom: 1rem;
112+
}
113+
114+
nav[aria-label="breadcrumb"] .breadcrumb {
115+
margin-bottom: 0;
116+
}
117+
118+
nav[aria-label="breadcrumb"] .float-end {
119+
font-size: 0.875rem;
120+
}
121+
122+
/* Override Bootstrap warning color to be less harsh */
123+
.badge.bg-warning {
124+
background-color: #cc8500 !important; /* Muted amber/gold instead of bright yellow */
125+
color: white !important;
126+
}
127+
128+
/* Remove underlines from tag links */
129+
a:has(.badge) {
130+
text-decoration: none !important;
131+
}
132+
133+
a:has(.badge):hover {
134+
text-decoration: none !important;
135+
}
136+
137+
a .badge {
138+
text-decoration: none !important;
139+
}
140+
141+
a:hover .badge {
142+
text-decoration: none !important;
143+
}

0 commit comments

Comments
 (0)