diff --git a/groups/home/bootstrap3/Vue3-v.6-css.html b/groups/home/bootstrap3/Vue3-v.6-css.html deleted file mode 100644 index 013b6bc..0000000 --- a/groups/home/bootstrap3/Vue3-v.6-css.html +++ /dev/null @@ -1,592 +0,0 @@ - - - - - - - - - - - - - - diff --git a/groups/home/bootstrap3/Vue3-v.6.html b/groups/home/bootstrap3/Vue3-v.6.html deleted file mode 100644 index 8aa4b45..0000000 --- a/groups/home/bootstrap3/Vue3-v.6.html +++ /dev/null @@ -1,356 +0,0 @@ - - - - - -
-
-
- -
-
-
- - - -
Login
-
-
- - {{content_box_33471502}} -
- -
- -
-
- -
- -
- -
- -
-
-
-
-
- -
-
-
- -
-
-
- -
-
-
- -

Featured in the Library

-
-
-
{{content_box_25912431}}
-
-
-
-
-
-
- -
- - -
-
-
- -
-
-
-
- title - -
-
- Loading... - -
-
- - - - -
- - - - - - - - - diff --git a/groups/home/bootstrap5/Kibbee library logo inverted.jpg b/groups/home/bootstrap5/Kibbee library logo inverted.jpg new file mode 100644 index 0000000..6a844d7 Binary files /dev/null and b/groups/home/bootstrap5/Kibbee library logo inverted.jpg differ diff --git a/groups/home/bootstrap5/home1.css b/groups/home/bootstrap5/home1.css index 0e1e405..6f76ab0 100644 --- a/groups/home/bootstrap5/home1.css +++ b/groups/home/bootstrap5/home1.css @@ -3,11 +3,27 @@ --kbccblue: #003466; --kbccorange: #ff4e00; --text: #111; + --bg: #fff; + --bg-surface: #fff; + --hover-dark: #444; + --focus-outline: #0056b3; + --link-color: black; + } + + [data-bs-theme="dark"] { + --text: #e0e0e0; + --bg: #1a1a2e; + --bg-surface: #25253e; + --hover-dark: #555; + --focus-outline: #ff4e00; + --link-color: #ccc; } body { color: var(--text); + background-color: var(--bg); overflow-x: hidden; + transition: background-color 0.2s ease, color 0.2s ease; } a, @@ -53,14 +69,14 @@ #hamburger:active { border: none; outline: none; - background-color: #fff; + background-color: var(--bg-surface); color: var(--kbccblue); } #hamburger::after { display: none; } #hamburger-ul > li > .searchmenu { - background-color: #fff; + background-color: var(--bg-surface); } #hamburger-ul { padding: 25px 0; @@ -112,31 +128,37 @@ margin-left: 5px; } - /* Accessible focus indicators for primary navigation elements */ - #hamburger:focus, - #hamburger:focus-visible, - #login-div:focus, - #login-div:focus-visible, - .searchmenu:focus, - .searchmenu:focus-visible, - .nav-jumbotron-link:focus, - .nav-jumbotron-link:focus-visible, - .ga-by-jumbotron:focus, - .ga-by-jumbotron:focus-visible, - .ga-library-links:focus, - .ga-library-links:focus-visible, - /* OneSearch widget (central search form) */ - .onesearch-jumbotron input:focus, - .onesearch-jumbotron input:focus-visible, - .onesearch-jumbotron button:focus, - .onesearch-jumbotron button:focus-visible, - /* Navigation dropdown toggles */ - .dropdown-toggle:focus, - .dropdown-toggle:focus-visible { - outline: 3px solid #0056b3; /* high-contrast blue */ - outline-offset: 2px; + [data-bs-theme="dark"] #hamburger, + [data-bs-theme="dark"] #hamburger:active { + background-color: var(--bg); + color: white; } + [data-bs-theme="dark"] #login-div { + color: white; + } + + /* Ensure jumbotron links fill full width (prevents shrinking on focus) */ + a.ga-by-jumbotron { + display: block; + } + + /* Accessible focus indicators for all interactive elements */ + a:focus, + a:focus-visible, + button:focus, + button:focus-visible, + input:focus, + input:focus-visible, + select:focus, + select:focus-visible, + [tabindex]:focus, + [tabindex]:focus-visible { + outline: 3px solid var(--focus-outline) !important; + outline-offset: 2px !important; + } + + /* style alert */ #hours-content-container { /* this id comes from the components libguide */ background-color: var(--kbccblue); @@ -150,16 +172,37 @@ #hours-content-container > a { color: #fff } + [data-bs-theme="dark"] #hours-content-container { + background-color: var(--kbccblue); + color: var(--text); + } + [data-bs-theme="dark"] #hours-content-container > a { + color: var(--text); + } /* style navbar */ nav.navbar-light.main-nav-container { - background-color: white !important; - background: white !important; + background-color: var(--bg-surface) !important; + background: var(--bg-surface) !important; border: none; font-size: 1.4em; color: var(--text); border-radius: 0; padding: 5px 0; + margin-left: 12px; + margin-right: 12px; + } + [data-bs-theme="dark"] nav.navbar-light.main-nav-container { + background-color: var(--kbccblue) !important; + background: var(--bg) !important; + color: white; + border-radius: 5px; + margin-left: 12px; + margin-right: 12px; + } + [data-bs-theme="dark"] .navbar-light .navbar-nav > li > a, + [data-bs-theme="dark"] .caret-text { + color: white; } .main-nav-dropdown { margin: 0 8px; @@ -167,7 +210,7 @@ .nav .show > a, .nav .show > a:focus, .nav .show > a:hover { - background-color: #fff; + background-color: var(--bg-surface); } .nav > li > a:hover { outline: none; @@ -204,12 +247,6 @@ /* style background image */ .kbcc-background-image { - background: linear-gradient( - to bottom, - rgba(255, 255, 255, 0.6) 0%, - rgba(255, 255, 255, 0.6) 100% - ), - url("https://libapps.s3.amazonaws.com/accounts/16298/images/library_front_view.jpg"); background-position: 50% 71%; padding: 20px 0; border-radius: 5px; @@ -253,12 +290,18 @@ #radios label { font-weight: bolder; } + [data-bs-theme="dark"] #radios label { + color: white; + } + [data-bs-theme="dark"] #radios input[type="radio"] { + accent-color: white; + } #advanced { float: right; margin-top: 10px; } #advanced > strong > a { - color: black; + color: var(--link-color); } /* add flex so that blue box-shadows line up */ #flex-search-form { @@ -274,15 +317,26 @@ #primoQueryTemp { border-radius: 0; } + [data-bs-theme="dark"] #primoQueryTemp { + background-color: #fff; + color: #111; + } + [data-bs-theme="dark"] #primoQueryTemp::placeholder { + color: #666; + } .onesearchsubmit { border-radius: 0; padding: 6px 12px; } + [data-bs-theme="dark"] .onesearchsubmit { + margin: 1px; + } #blue-border2 { flex: 5; } #blue-border3 { flex: 1; + padding: 0; } /* shadow for the search bar */ @@ -316,7 +370,7 @@ margin-top: 4px; } .nav-divs-by-jumbotron:hover { - background-color: #444; + background-color: var(--hover-dark); } #eq_32886 { background-color: var(--kbccblue); @@ -324,7 +378,7 @@ } .nav-divs-by-jumbotron:hover > h2 > #eq_32886, #eq_32886:hover { - background-color: #444; + background-color: var(--hover-dark); } #bookastudyroom { cursor: pointer; @@ -337,6 +391,7 @@ padding: 0; /* remove default Bootstrap padding */ border: none; /* ensure no extra border height */ background: none; /* keep background controlled by inner div */ + text-decoration: none; } /* Remove default heading margin for uniform button height */ @@ -349,6 +404,10 @@ font-size: 1.7em; } + [data-bs-theme="dark"] .link-list a { + color: white; + } + /* External link icon styling (WCAG 2.4.4) */ .external-link-icon { font-size: 0.7em; @@ -409,6 +468,10 @@ padding: 3px; padding-left: 30px; } + [data-bs-theme="dark"] .slick-prev:before, + [data-bs-theme="dark"] .slick-next:before { + color: white; + } /* style to make all imported boxes floating */ .s-lib-box-title { @@ -424,6 +487,10 @@ box-shadow: none !important; border: 0 !important; } + [data-bs-theme="dark"] .s-lib-box, + [data-bs-theme="dark"] .s-lg-box { + background-color: var(--bg); + } /* style the dropdown menus */ .dropdown-margin { @@ -453,7 +520,7 @@ } /* style footer */ - #orange-line { + .orange-line { height: 10px; background-color: var(--kbccorange); } @@ -462,6 +529,9 @@ color: white; padding: 30px; } + [data-bs-theme="dark"] #main-blue-footer { + background-color: var(--bg); + } .whiteahrefs a:link, .whiteahrefs a:hover, .whiteahrefs a:visited, @@ -479,6 +549,51 @@ max-width: 150px; } + /* dark mode toggle button */ + #theme-toggle { + position: fixed; + bottom: 20px; + right: 20px; + z-index: 9999; + background: none; + border: 2px solid var(--kbccblue); + color: var(--kbccblue); + border-radius: 50%; + width: 44px; + height: 44px; + font-size: 1.2em; + cursor: pointer; + display: flex; + align-items: center; + justify-content: center; + transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; + background-color: var(--bg); + } + #theme-toggle:hover { + background-color: var(--kbccblue); + color: #fff; + } + [data-bs-theme="dark"] #theme-toggle { + border-color: #ffc107; + color: #ffc107; + } + [data-bs-theme="dark"] #theme-toggle:hover { + background-color: #ffc107; + color: #1a1a2e; + } + + /* card body dark mode background */ + .card-body { + background-color: var(--bg); + transition: background-color 0.2s ease; + } + + /* dropdown menu dark mode background */ + .dropdown-menu { + background-color: var(--bg-surface); + transition: background-color 0.2s ease; + } + /* media queries */ @media only screen and (min-width: 1px) { @@ -614,53 +729,6 @@ }); - - - - - -