diff --git a/app/Assets/css/extra.css b/app/Assets/css/extra.css index 2837285..76139c5 100644 --- a/app/Assets/css/extra.css +++ b/app/Assets/css/extra.css @@ -1,3 +1,10 @@ +:root { + /* Limestone brand colors (names mirror Limestone's modifier classes) */ + --color-wildcat-blue: #0033a0; + --color-blue-gray: #eff4fd; + --color-cool-neutral: #dcddde; +} + .fa-request.fa-requestable-toc { display: block; margin: 0 auto; @@ -19,6 +26,10 @@ display: none; } +.breadcrumbs ul li.fa-hidden { + display: none; +} + .fa-request-form { overflow: auto; background: #FDFDF6; @@ -33,18 +44,17 @@ overflow-x: hidden; overflow-y: scroll; margin: 1em; - height: 10em; } .fa-options { padding: 1em; } -.fa-viewer { +/*.fa-viewer { overflow: hidden; height: 100vh; overflow-y: scroll; -} +}*/ .fa-toc-entry-highlight { font-weight: bold; @@ -73,29 +83,48 @@ label { float: right; } -.container-fluid { - width: 80% !important; - background-color: #ffffff !important; + + +.fa-section { + margin-bottom: 2rem; } -.panel-heading[data-toggle="collapse"] .panel-title:after { - font-family: "Glyphicons Halflings"; - color: #666; - float: right; - content: "\e114"; +.editorial .fa-section h3 { + font-size: 1.5rem; } -.panel-heading[data-toggle="collapse"].collapsed .panel-title:after { - content: "\e080"; +/* .fa-component { */ +/* background-color: #eff4fd; */ +/* padding: 1rem; */ +/* margin-bottom: 0.5rem; */ +/* } */ + +.editorial .fa-component h4 { + font-size: 1.15rem; + font-weight: 400; } -.panel-title a { - color: #337ab7 !important; +.fa-component .list-unstyled { + list-style: none; + padding-left: 0; } -.toplink { - padding: 1em; - float: right; +.fa-component .list-unstyled li { + font-size: 0.9rem; + color: #555; + padding: 0.5rem 0.75rem; + margin-bottom: 0.25rem; +} + +.fa-component img { + max-width: 150px; + max-height: 150px; +} + +.fa-component .fa-request.fa-requestable-contents { + font-size: 0.75rem; + padding: 0.15rem 0.5rem; + margin-left: 0.5rem; } .click-to-load-images, .image-overflow { @@ -137,6 +166,20 @@ label { color: #246024; } +.fa-request-summary { + background-color: var(--color-blue-gray); + padding: 1rem 1.5rem; +} +.fa-request-summary .heading--display span { + background-color: var(--color-blue-gray); +} +.fa-request-summary .accordion__header, +.fa-request-summary .accordion__header:hover, +.fa-request-summary .accordion__header:focus, +.fa-request-summary .accordion__header:active { + background-color: var(--color-blue-gray); +} + /* UK LIMESTONE STYLES */ /* styling to match Limestone's Underline Link */ a.underline-link { @@ -153,13 +196,13 @@ a.underline-link { } a:hover.underline-link { - color:#0033A0; + color: var(--color-wildcat-blue); background-position: 0 0, 1000px 2px; } /* styling to match central webcom's in-page alert*/ .in-page-alert { - background-color: #EFF4FD; + background-color: var(--color-blue-gray); border-left: 7px solid #1E8AFF; padding: 1rem; align-items: center; @@ -170,7 +213,7 @@ a:hover.underline-link { font-size: 1.75rem; font-weight: 900; margin-top: 0; - color: #0033A0; + color: var(--color-wildcat-blue); line-height: 1.2; } .in-page-alert h3 { @@ -179,7 +222,29 @@ a:hover.underline-link { font-weight: 500; margin-bottom: 5px; margin-top: 10px; - color: #0033A0; + color: var(--color-wildcat-blue); line-height: 1.2; - +} + +.heading-section { + margin: 1rem 0; +} + +@scope(.heading-section){ + .heading--display { + margin: 2rem 0; + } +} + +/*Archive content banner*/ +@scope (.slab--micro) { + :scope{ + padding-top: .2rem; + padding-bottom: .2rem; + } + .icon-label--micro { + font-size: .81rem; + margin-top: .2rem; + margin-bottom: .2rem; + } } \ No newline at end of file diff --git a/app/Assets/css/bootstrap-theme.css b/app/Assets/css/old/bootstrap-theme.css similarity index 100% rename from app/Assets/css/bootstrap-theme.css rename to app/Assets/css/old/bootstrap-theme.css diff --git a/app/Assets/css/bootstrap-theme.css.map b/app/Assets/css/old/bootstrap-theme.css.map similarity index 100% rename from app/Assets/css/bootstrap-theme.css.map rename to app/Assets/css/old/bootstrap-theme.css.map diff --git a/app/Assets/css/bootstrap-theme.min.css b/app/Assets/css/old/bootstrap-theme.min.css similarity index 100% rename from app/Assets/css/bootstrap-theme.min.css rename to app/Assets/css/old/bootstrap-theme.min.css diff --git a/app/Assets/css/bootstrap.css b/app/Assets/css/old/bootstrap.css similarity index 100% rename from app/Assets/css/bootstrap.css rename to app/Assets/css/old/bootstrap.css diff --git a/app/Assets/css/bootstrap.css.map b/app/Assets/css/old/bootstrap.css.map similarity index 100% rename from app/Assets/css/bootstrap.css.map rename to app/Assets/css/old/bootstrap.css.map diff --git a/app/Assets/css/bootstrap.min.css b/app/Assets/css/old/bootstrap.min.css similarity index 100% rename from app/Assets/css/bootstrap.min.css rename to app/Assets/css/old/bootstrap.min.css diff --git a/app/Assets/js/manifest.txt b/app/Assets/js/manifest.txt index 6766e6f..c57faf4 100644 --- a/app/Assets/js/manifest.txt +++ b/app/Assets/js/manifest.txt @@ -1,8 +1,6 @@ # List required files in the desired order mousetrap.min.js -jquery.min.js jquery-ui.min.js -bootstrap.min.js lity.min.js jquery.unveil.js reveal.js diff --git a/app/Assets/js/requests.js b/app/Assets/js/requests.js index 2d6bac3..7d8a319 100644 --- a/app/Assets/js/requests.js +++ b/app/Assets/js/requests.js @@ -23,12 +23,15 @@ var requests = (function() { function update_count() { var count = model.get_count(); + $('.fa-request-count').text(count); if (count > 0) { if (count == 1) { $('.fa-request-summary-note').html('You are requesting 1 item.'); + $('.fa-request-announce').text('1 item selected'); } else { $('.fa-request-summary-note').html('You are requesting ' + count + ' items.'); + $('.fa-request-announce').text(count + ' items selected'); } $('.fa-request-options').removeClass('fa-request-hidden'); $('.fa-extra-options').removeClass('fa-request-hidden'); @@ -36,6 +39,7 @@ var requests = (function() { } else { $('.fa-request-summary-note').html('No items have been requested.'); + $('.fa-request-announce').text('No items selected'); $('.fa-request-options').addClass('fa-request-hidden'); $('.fa-extra-options').addClass('fa-request-hidden'); $('#fa-request-submit').addClass('fa-request-hidden'); @@ -71,8 +75,8 @@ var requests = (function() { } else { request_type = model.get_request_type(); - $('button.fa-request-option').addClass('btn-default').removeClass('btn-primary'); - $('button[data-option="' + request_type + '"]').addClass('btn-primary').removeClass('btn-default'); + $('button.fa-request-option').addClass('button--ghost').removeClass('button--wildcat-blue'); + $('button[data-option="' + request_type + '"]').addClass('button--wildcat-blue').removeClass('button--ghost'); $('div.fa-request-option').addClass('fa-request-hidden'); if (model.get_count() > 0) { $('[data-option="' + request_type + '"]').removeClass('fa-request-hidden'); @@ -91,7 +95,7 @@ var requests = (function() { if (model.has(id)) { item = model.remove(id); jid = '#' + id; - $(jid).addClass('btn-warning').removeClass('btn-success').html($(jid).attr('data-inactive')); + $(jid).addClass('button--ghost').removeClass('button--wildcat-blue').html($(jid).attr('data-inactive')); target = $(jid).attr('data-target') + '-remove'; /* Remove hidden inputs */ @@ -123,7 +127,7 @@ var requests = (function() { pos = model.add(item); if (pos !== false) { count = model.get_count(); - $(jid).addClass('btn-success').removeClass('btn-warning').html($(jid).attr('data-active')); + $(jid).addClass('button--wildcat-blue').removeClass('button--ghost').html($(jid).attr('data-active')); /* Display selected item and add toggle control */ removable_element = requests_view.render({ @@ -564,7 +568,7 @@ var requests = (function() { pieces.push('
  • '); pieces.push('

    '); if (("removable" in item) && item["removable"]) { - pieces.push(' '); + pieces.push(' '); } pieces.push(item["label"]); pieces.push('

  • '); @@ -701,7 +705,7 @@ var requests = (function() { var id = $(this).attr('id'); if ($(this).hasClass('fa-toc')) { $(this).after([ - ' + - {{> harmful_language_statement}} - diff --git a/app/Views/Findingaid/show.mustache b/app/Views/Findingaid/show.mustache index 3a3d141..48a44d4 100644 --- a/app/Views/Findingaid/show.mustache +++ b/app/Views/Findingaid/show.mustache @@ -1,6 +1,5 @@ -

    {{title}}{{^title}}Welcome to ExploreUK{{/title}}

    -
    - + +
    {{#panels}} {{>panel}} {{/panels}} diff --git a/app/Views/Findingaid/toc.mustache b/app/Views/Findingaid/toc.mustache index 9372ac9..dcc0a72 100644 --- a/app/Views/Findingaid/toc.mustache +++ b/app/Views/Findingaid/toc.mustache @@ -1,62 +1,35 @@ -
    - {{#requestable}} - {{> advance_note}} - {{/requestable}} -
    -
    -

    {{label}}

    -
    -
    -
      - {{#entries}} -
    • {{label}} - {{#subentries}} -
        - {{#contents_entries}} -
      • {{{label}}}
      • - {{/contents_entries}} -
      - {{/subentries}} +
      +
      + + {{#toc_component}} +
      +
        +
      • + {{summary}} +
      • - {{/entries}} -
      -
      + {{/toc_component}}
      - {{#toc_component}} -
      -
        -
      • - {{summary}} - -
      • -
      -
      - {{/toc_component}} - {{> harmful_language_statement}}
      - diff --git a/app/Views/Layouts/application.mustache b/app/Views/Layouts/application.mustache index 66196ee..4bf4dbb 100644 --- a/app/Views/Layouts/application.mustache +++ b/app/Views/Layouts/application.mustache @@ -5,9 +5,7 @@ {{#css}} {{/css}} - {{#js}} - - {{/js}} + {{> head-common}} - {{> nav}} -
      {{> maintenance_notice}} -
      -
      - {{{content}}} -
      -
      - {{{toc}}} + {{> nav}} + + + {{> breadcrumbs}} + +
      +
      +
      +
      +
      + {{{toc}}} + {{#requestable}} + {{> contact_info}} + {{/requestable}} + {{#requestable}} + {{{requests}}} + {{/requestable}} +
      + + {{{content}}} +
      -
      - {{{requests}}} +
      +
      + + +
      +
      +
      + {{!#requestable}} + {{!> advance_note}} + {{!/requestable}} + {{!#requestable}} + {{{!requests}}} + {{!/requestable}}
      -
      -
      - {{>footer}} + +
      + {{> harmful_language_statement}} +
      + + + {{> global-footer}} + {{> universal-footer}} + {{> limestone-resources}} + {{#js}} + + {{/js}} + + + {{#requestable}} + + {{/requestable}} + {{>viewer}} diff --git a/app/Views/Layouts/footer.mustache b/app/Views/Layouts/footer.mustache deleted file mode 100644 index 17440da..0000000 --- a/app/Views/Layouts/footer.mustache +++ /dev/null @@ -1,22 +0,0 @@ -{{#requestable}} - -{{/requestable}} -{{^requestable}} - -{{/requestable}} diff --git a/app/Views/Layouts/harmful_language_statement.mustache b/app/Views/Layouts/harmful_language_statement.mustache new file mode 100644 index 0000000..d1b083a --- /dev/null +++ b/app/Views/Layouts/harmful_language_statement.mustache @@ -0,0 +1,20 @@ +
      +
      +
      + + + + + +
      +
      +

      Harmful Language Statement

      +

      + You may come across language in UK Libraries Special Collections Research Center collections and online resources that you find harmful or offensive. SCRC collects materials from different cultures and time periods to preserve and make available the historical record. These materials document the time period when they were created and the view of their creator. As a result, some may demonstrate racist and offensive views that do not reflect the values of UK Libraries. +

      +

      + If you find description with problematic language that you think SCRC should review, please contact us at SCRC@uky.edu. +

      +
      +
      +
      \ No newline at end of file diff --git a/app/Views/Layouts/nav.mustache b/app/Views/Layouts/nav.mustache index 0ba67c9..854bd0e 100644 --- a/app/Views/Layouts/nav.mustache +++ b/app/Views/Layouts/nav.mustache @@ -1,14 +1,5 @@ -
      -
      - {{> repo}} -{{#requestable}} - -{{/requestable}} -
      +{{> archive_notice}} +{{> universal-header}} +{{> global-header}} +{{> search-brief}} + diff --git a/app/Views/Layouts/repo.mustache b/app/Views/Layouts/repo.mustache index e6efb0d..89af215 100644 --- a/app/Views/Layouts/repo.mustache +++ b/app/Views/Layouts/repo.mustache @@ -1,5 +1,5 @@ {{#repository}}

      + src="images/{{logo}}">

      {{/repository}} diff --git a/app/Views/Layouts/viewer.mustache b/app/Views/Layouts/viewer.mustache index 47bd840..131e043 100644 --- a/app/Views/Layouts/viewer.mustache +++ b/app/Views/Layouts/viewer.mustache @@ -1,5 +1,5 @@
      - +
      diff --git a/app/Views/Shared/archive_notice.mustache b/app/Views/Shared/archive_notice.mustache new file mode 100644 index 0000000..9654eed --- /dev/null +++ b/app/Views/Shared/archive_notice.mustache @@ -0,0 +1,10 @@ +
      +
      + +
      +
      \ No newline at end of file diff --git a/app/Views/Shared/breadcrumbs.mustache b/app/Views/Shared/breadcrumbs.mustache new file mode 100644 index 0000000..d82f8c8 --- /dev/null +++ b/app/Views/Shared/breadcrumbs.mustache @@ -0,0 +1,24 @@ +
      +
      + +
      +
      diff --git a/app/Views/Shared/contact_info.mustache b/app/Views/Shared/contact_info.mustache new file mode 100644 index 0000000..13f5a2d --- /dev/null +++ b/app/Views/Shared/contact_info.mustache @@ -0,0 +1,18 @@ +
      +
      +

      Special Collections Research Center - Closed

      +
      +

      The Breckinridge Research Room will be closed starting May 11, 2026, and anticipates re-opening Fall semester 2026 in an alternate location for the duration of the King Library renovation.

      +

      Reproduction requests will still be available during the closure.

      +

      + Contact SCRC with questions. +

      + + +
      +
      +
      \ No newline at end of file diff --git a/app/Views/Shared/global-footer.mustache b/app/Views/Shared/global-footer.mustache new file mode 100644 index 0000000..a49e8a0 --- /dev/null +++ b/app/Views/Shared/global-footer.mustache @@ -0,0 +1,90 @@ + diff --git a/app/Views/Shared/global-header.mustache b/app/Views/Shared/global-header.mustache new file mode 100644 index 0000000..2676059 --- /dev/null +++ b/app/Views/Shared/global-header.mustache @@ -0,0 +1,130 @@ + +
      + + diff --git a/app/Views/Shared/head-common.mustache b/app/Views/Shared/head-common.mustache new file mode 100644 index 0000000..0f1720d --- /dev/null +++ b/app/Views/Shared/head-common.mustache @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/app/Views/Shared/limestone-resources.mustache b/app/Views/Shared/limestone-resources.mustache new file mode 100644 index 0000000..a455310 --- /dev/null +++ b/app/Views/Shared/limestone-resources.mustache @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/app/Views/Shared/search-brief.mustache b/app/Views/Shared/search-brief.mustache new file mode 100644 index 0000000..10e2876 --- /dev/null +++ b/app/Views/Shared/search-brief.mustache @@ -0,0 +1,21 @@ +
      +
      + +
      +
      diff --git a/app/Views/Shared/universal-footer.mustache b/app/Views/Shared/universal-footer.mustache new file mode 100644 index 0000000..6969cb7 --- /dev/null +++ b/app/Views/Shared/universal-footer.mustache @@ -0,0 +1,53 @@ + + + diff --git a/app/Views/Shared/universal-header.mustache b/app/Views/Shared/universal-header.mustache new file mode 100644 index 0000000..2d8abd1 --- /dev/null +++ b/app/Views/Shared/universal-header.mustache @@ -0,0 +1,60 @@ + +
      +
      +
      + + + + + + +
      +
      +
      +