Commit Graph
34 Commits
Author SHA1 Message Date
Mark EatonandClaude Opus 4.6 149004f267 fix dropdown fade by moving transition to higher-specificity selector
The .fade transition (one class) was being overridden by a later
.dropdown-menu rule (also one class) that set transition to only
background-color. Moving the opacity transition into .dropdown-menu.fade
(two classes) ensures it wins regardless of cascade order.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 11:30:59 -05:00
Mark EatonandClaude Opus 4.6 b066d5cd12 fix dropdown fade animation by specifying transition property
The .fade rule only set transition-duration without specifying
transition-property, so opacity changes were instant. Also fixes
a typo where the webkit duration was 5s instead of 0.5s.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 11:19:10 -05:00
Mark EatonandClaude Opus 4.6 a272b054ad fix TypeError on obsolete_browser_alert innerHTML access
Add null check before accessing innerHTML, since the element may not
exist in the DOM when the CMS renders the page.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 10:26:38 -05:00
Mark Eaton 9afd7790a1 use full paths for image 2026-02-23 10:20:50 -05:00
Mark EatonandClaude Opus 4.6 898e623b2b swap onesearch logo based on dark/light mode
Use onesearch_logo2.png (black text) in light mode and
onesearch_logo3.png (white text) in dark mode via MutationObserver.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 10:12:42 -05:00
Mark Eaton 3fd860a065 switch text to white in onesearch_logo 2026-02-23 10:00:40 -05:00
Mark Eaton 7ec70c8274 use new onesearch logo on bootstrap5 site 2026-02-23 09:50:28 -05:00
Mark EatonandClaude Opus 4.6 6a02ce8fe7 improve focus indicators: orange in dark mode, broader coverage, fix width
- Change dark-mode --focus-outline from #6ea8fe to #ff4e00 (kbccorange)
- Replace enumerated focus selectors with broad rule covering all a, button,
  input, select, and [tabindex] elements with !important
- Add display:block to a.ga-by-jumbotron to prevent width shrinking on focus

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 22:22:23 -05:00
Mark EatonandClaude Opus 4.6 6c817c1948 fix hamburger menu icon color and background in dark mode
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 17:18:53 -05:00
Mark EatonandClaude Opus 4.6 11942fab83 shorten dark mode transition from 0.3s to 0.2s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 15:53:28 -05:00
Mark Eaton e2a06eedff swap background colors of hours bar and main nav 2026-02-22 15:33:39 -05:00
Mark Eaton b37a759a8d improve footer in dark mode; border on search button 2026-02-22 02:44:22 -05:00
Mark Eaton 7eb3c580ec fix blue border on search button 2026-02-22 02:14:02 -05:00
Mark Eaton 0c719786f0 sync main nav margin between light- and dark-modes 2026-02-22 01:54:50 -05:00
Mark EatonandClaude Opus 4.6 b429175477 remove underline from Book A Study Room button
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 01:49:24 -05:00
Mark EatonandClaude Opus 4.6 91559e3660 style dark mode nav bar to match background image width and radius
Adds border-radius: 5px and horizontal margins to align the dark
mode nav bar with the background image below it. Uses margin-left
and margin-right to preserve the existing margin-top: -20px.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 01:04:12 -05:00
Mark EatonandClaude Opus 4.6 1e3b62d942 move theme toggle to fixed bottom-right corner
Repositions the dark/light mode button from the header to a fixed
position in the bottom-right corner (always visible). Bumps size
to 44px for WCAG touch target compliance. Also makes login text
and icon white in dark mode.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 00:41:46 -05:00
Mark Eaton 74334e7590 switch logo file 2026-02-22 00:37:19 -05:00
Mark EatonandClaude Opus 4.6 2e94510777 dark mode tweaks: card/nav/logo/input refinements
- Card bodies use page background color instead of surface color
- Hours container matches page background in dark mode
- Main nav uses kbccblue background with white text in dark mode
- Radio buttons and labels are white in dark mode
- Library links are white in dark mode
- Search input stays white with dark text in dark mode
- Slick carousel arrows are white in dark mode
- LibGuides boxes use page background in dark mode
- Logo swaps to inverted version (white on dark) in dark mode

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 00:32:24 -05:00
Mark EatonandClaude Opus 4.6 a978df4af9 add dark/light mode toggle with OS preference detection
Uses Bootstrap 5.3 data-bs-theme attribute for automatic component
theming. Adds CSS custom properties for dark mode, a toggle button
in the header, localStorage persistence, and a flash-prevention
script. Background image overlay adjusts per theme.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 23:27:53 -05:00
Mark EatonandClaude Opus 4.6 05e7e8942a move obsolete browser warning from home1.css to home1.js
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 23:28:44 -05:00
Mark EatonandClaude Opus 4.6 5a2bc3b4cb move ES6 feature detection from home1.css to home1.js
Combine the two inline script blocks into a single try/catch
using new Function() so old browsers fail gracefully.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 23:22:21 -05:00
Mark Eaton ddcb471eac add randomized background images 2026-02-07 22:34:36 -05:00
Mark Eaton 5ab9ecc723 change wording to fix alignment of library links 2026-02-05 17:50:44 -05:00
Mark Eaton ebf83cf072 fix padding on main nav, and font-weight on radio labels 2026-02-05 15:49:14 -05:00
Mark Eaton 36847a4660 bug fixes on bs5 version 2026-02-05 14:00:55 -05:00
Mark Eaton 7b18219029 first bootstrap5 version of homepage 2026-02-04 23:46:01 -05:00
Mark EatonandGitHub defd395c08 Create js.html 2024-01-03 10:33:15 -05:00
Mark EatonandGitHub 1b1aba144b fix text size on filled out text box 2024-01-03 09:18:51 -05:00
Mark EatonandGitHub 6ca6475cfe make nav text bigger, make button orange 2024-01-03 08:14:56 -05:00
Mark Eaton 5c048f19fb ensure text is white against dark blue background 2023-12-20 14:30:22 -05:00
Mark Eaton c88114c545 when nav is expanded on mobile, ensure fields have the correct background-color 2023-12-20 14:20:15 -05:00
Mark Eaton 0d3fc5b9c1 make navbar blue 2023-12-20 14:05:20 -05:00
Mark Eaton 84548af557 add atoz css 2023-12-20 13:20:53 -05:00