Mark Eaton
a3512decac
Add SRI hash and crossorigin to cdnjs Vue script
2026-06-13 23:51:18 -04:00
Mark Eaton
a54a6fe2de
Wrap CMS content box in v-pre to block Vue template injection
2026-06-13 23:50:24 -04:00
Mark Eaton
a426ce34e6
Merge branch 'main' of tildegit.org:MarkEEaton/Kingsborough-LibGuide
2026-04-13 11:55:33 -04:00
Mark Eaton
dfbe8875f5
move theme toggle to own Vue app for better tab order
...
Relocate the light/dark toggle button out of #app1 and into a new
#app3 mount just before the back-to-top element so keyboard focus
reaches it near the end of the page instead of right after the main
nav. Replace the library logo's reactive :src binding with a plain
src plus data-light-src/data-dark-src so app1 no longer needs any
theme state; app3 now owns toggleTheme, overlay updates, logo swap,
and the OS preference listener.
2026-04-13 11:53:20 -04:00
Mark Eaton
ac12d21cac
use white text for hours container in dark mode
2026-02-28 16:44:57 -05:00
Mark Eaton and Claude 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 Eaton and Claude 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 Eaton and Claude 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 Eaton and Claude 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 Eaton
f37152a16e
Merge branch 'main' of tildegit.org:MarkEEaton/Kingsborough-LibGuide
2026-02-23 09:46:07 -05:00
Mark Eaton
462a40b48a
darken text in onesearch_logo image
2026-02-23 09:45:40 -05:00
Mark Eaton and Claude 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 Eaton and Claude 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 Eaton and Claude 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 Eaton and Claude 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 Eaton and Claude 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 Eaton and Claude 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 Eaton and Claude 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 Eaton and Claude 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 Eaton
e2e10e9d9b
remove old files
2026-02-08 01:05:03 -05:00
Mark Eaton and Claude 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 Eaton and Claude 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
9b74aa26a8
Merge branch 'main' of tildegit.org:MarkEEaton/Kingsborough-LibGuide
2026-02-07 22:34:44 -05:00
Mark Eaton
ddcb471eac
add randomized background images
2026-02-07 22:34:36 -05:00
Mark Eaton
af92f2ca70
remove package-lock.json from version control, on account of problems with Renovate
2026-02-06 23:30:54 -05:00
Mark Eaton
27cbdb085a
Merge branch 'main' of tildegit.org:MarkEEaton/Kingsborough-LibGuide
2026-02-06 23:06:32 -05:00
Mark Eaton
0de9cfb042
fix dependency problem
2026-02-06 23:04:14 -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 Eaton
1824788ac6
Merge branch 'main' of tildegit.org:MarkEEaton/Kingsborough-LibGuide
2026-01-23 23:52:05 -05:00
Mark Eaton
49cd85fa60
tweak renovate config to prevent errors in pull requests
2026-01-23 23:51:46 -05:00
Mark Eaton
3772658ac4
Merge branch 'main' of tildegit.org:MarkEEaton/Kingsborough-LibGuide
2026-01-19 14:15:09 -05:00
Mark Eaton
9e7391648d
small change in wording, for spacing purposes
2026-01-19 14:11:47 -05:00
Mark Eaton
e262c39c82
fix header padding problem
2026-01-19 14:09:06 -05:00
Mark Eaton
cef5a6c904
fix nav bar problems created by accessibility improvements
2026-01-19 13:29:24 -05:00
Mark Eaton
df3615a5cb
remove old files
2026-01-10 03:59:21 -05:00
Mark Eaton
7033a23a7d
create v.7
2026-01-10 03:12:38 -05:00
Mark Eaton and GitHub
42c6e8b26b
fix proxy link
2025-12-10 18:42:55 -05:00
Mark Eaton and GitHub
652a570e42
Merge pull request #2 from MarkEEaton/dependabot/npm_and_yarn/js-yaml-4.1.1
...
Bump js-yaml from 4.1.0 to 4.1.1
2025-11-15 22:54:34 -05:00
Mark Eaton and GitHub
ca7d84cc95
remove reference.desk email from footer
...
Removed reference desk email link from the HTML.
2025-09-30 14:48:14 -04:00
Mark Eaton and GitHub
d78a977af5
css changes to accommodate removing reference.desk email from footer
2025-09-30 14:47:25 -04:00
Mark Eaton
609db98a11
remove old html and css
2025-08-13 13:40:27 -04:00
Mark Eaton
99f5e9f494
fix margin between radios and blue nav on smaller screens
2025-07-27 01:19:07 -04:00
Mark Eaton
6d1929cde8
fix alignment of blue nav relative to background image
2025-07-27 01:03:23 -04:00
Mark Eaton and aider
e80a882ad1
fix: align Book a Study Room button height with other nav buttons
...
Co-authored-by: aider (o3) <aider@aider.chat >
2025-07-26 23:11:46 -04:00
Mark Eaton and aider
1b2ec612f4
fix: wrap radio buttons in fieldset and add legend for accessibility compliance
...
Co-authored-by: aider (o3) <aider@aider.chat >
2025-07-26 00:15:55 -04:00
Mark Eaton and aider
612150aa15
fix: add aria-label to OneSearch text input for better accessibility compliance
...
Co-authored-by: aider (o3) <aider@aider.chat >
2025-07-26 00:03:15 -04:00
Mark Eaton
51f7d47811
create a main6.js file
2025-07-26 00:00:15 -04:00
Mark Eaton
ace298e0c0
add .gitiginore
2025-07-25 23:45:55 -04:00
Mark Eaton and aider
5e56d9ce5a
refactor: move inline styles from Vue3-v.6.html to Vue3-v.6-css.html for better organization
...
Co-authored-by: aider (o3) <aider@aider.chat >
2025-07-25 23:39:58 -04:00
Mark Eaton
7ebb1dd1dc
feat: add Vue3 bootstrap3 CSS example in groups/home directory
2025-07-25 23:39:57 -04:00
Mark Eaton and aider
f8184aeb3b
fix: add id and margin style to "Book A Study Room" h2 to fix height issue
...
Co-authored-by: aider (o3) <aider@aider.chat >
2025-07-25 23:29:29 -04:00
Mark Eaton and aider
f41dcffde2
fix: match "Book A Study Room" button width and display to other nav buttons
...
Co-authored-by: aider (o3) <aider@aider.chat >
2025-07-25 23:15:53 -04:00
Mark Eaton and aider
e2c7f9e271
fix: replace non-functional link with button for accessible study room booking control
...
Co-authored-by: aider (o3) <aider@aider.chat >
2025-07-25 23:03:52 -04:00
Mark Eaton
c3de0935f6
chore: copy Vue3-v.5.html to Vue3-v.6.html to start new iteration
2025-07-25 00:04:22 -04:00
Mark Eaton and aider
8c75e202f0
feat: include OneSearch widget controls in global focus outline for improved accessibility
...
Co-authored-by: aider (o3) <aider@aider.chat >
2025-07-24 23:28:32 -04:00
Mark Eaton and aider
8776a554cb
feat: add focus outlines for nav elements to improve accessibility visibility
...
Co-authored-by: aider (o3) <aider@aider.chat >
2025-07-24 23:14:24 -04:00
Mark Eaton and aider
386148f877
fix: encode ampersand in link text for valid HTML
...
Co-authored-by: aider (o3) <aider@aider.chat >
2025-07-24 23:01:27 -04:00
Mark Eaton and aider
8388aacc44
fix: resolve nested interactive elements and duplicate anchors in hamburger menu
...
Co-authored-by: aider (o3) <aider@aider.chat >
2025-07-24 22:57:38 -04:00
Mark Eaton and GitHub
1b2f1618db
remove twitter/x
2025-02-13 13:52:15 -05:00
Mark Eaton and GitHub
9cdf8ae233
remove port # from Academic Search Complete link
2025-01-30 16:23:17 -05:00
Mark Eaton
ab004b2eca
another css fix
2024-11-20 10:57:31 -05:00
Mark Eaton
62636cbbdb
fix some css problems
2024-11-20 10:27:11 -05:00
Mark Eaton
c5d0c30a1b
add everything radio
2024-11-20 09:51:56 -05:00
Mark Eaton and GitHub
86138e94bf
change breakpoint for advanced search link
2024-11-16 23:53:07 -05:00
Mark Eaton and GitHub
75f0646d92
add div to make radios stacking possible
2024-11-16 23:37:29 -05:00
Mark Eaton and GitHub
28ff3cd67f
stack radios on very small screens
2024-11-16 23:35:51 -05:00
Mark Eaton and GitHub
10a8ebca2a
switch articles radio button to articles (peer reviewed)
2024-11-16 22:49:17 -05:00
Mark Eaton
5bb4672191
roll back some .form-width changes; increase app2 width
2024-11-11 20:04:10 -05:00
Mark Eaton
7798d62e52
remove .form-width
2024-11-11 19:33:19 -05:00
Mark Eaton and GitHub
db9cab2252
align radios on mobile
2024-11-11 16:43:10 -05:00
Mark Eaton and GitHub
8e0f15f5c8
switch width control from .form-with to #app2
2024-11-11 16:22:23 -05:00
Mark Eaton and GitHub
27dbb40b12
add "advanced" css
2024-11-11 15:40:19 -05:00
Mark Eaton and GitHub
f65f450c08
add "advanced" link to onesearch widget
2024-11-11 15:39:28 -05:00
Mark Eaton and GitHub
ef8109af3a
float radios left
2024-11-11 15:17:08 -05:00
Mark Eaton and GitHub
1ff03c10f8
add border-radius to alert bar
2024-11-05 13:33:23 -05:00
Mark Eaton and GitHub
a909b6a9d2
make alert bar slightly wider to match
2024-11-05 13:29:04 -05:00
Mark Eaton and GitHub
0f3aeac4f3
Update form width to account for increased space
2024-11-04 14:57:46 -05:00
Mark Eaton and GitHub
72c063ca13
update some colors
2024-11-04 14:09:48 -05:00
Mark Eaton and GitHub
9a21b7898e
basic CSSing for radio buttons
2024-11-04 13:24:35 -05:00
Mark Eaton and GitHub
cbd0581818
put radios beneath search; fix unfaceted search
2024-11-04 13:08:05 -05:00
Mark Eaton and GitHub
8123db4301
securing; deleting old code
2024-11-04 12:47:28 -05:00
Mark Eaton and GitHub
3bce14e99a
first working radio buttons
2024-11-04 12:20:09 -05:00
Mark Eaton and GitHub
916fec030a
remove unnecessary code
2024-11-04 11:31:00 -05:00
Mark Eaton and GitHub
72c12139c7
get basic search working for OneSearch widget
2024-11-04 11:11:19 -05:00
Mark Eaton and GitHub
322e390a8d
update css for removal of onesearch dropdown
2024-11-04 10:44:54 -05:00
Mark Eaton and GitHub
0cf81d1e5a
Create main5.js
2024-11-04 10:42:39 -05:00
Mark Eaton and GitHub
f2d7eb551e
Under Library Links, switch textbooks and streaming links to collections
2024-10-29 16:37:43 -04:00
Mark Eaton and GitHub
77b7af01bc
Create Vue3-v.5-css.html
2024-10-29 16:32:23 -04:00
Mark Eaton and GitHub
0fb472a4c1
Create Vue3-v.5.html
2024-10-29 16:31:22 -04:00