diff --git a/app/assets/stylesheets/modules/constraints.scss b/app/assets/stylesheets/modules/constraints.scss index 0b2774f7f..d5c929553 100644 --- a/app/assets/stylesheets/modules/constraints.scss +++ b/app/assets/stylesheets/modules/constraints.scss @@ -5,6 +5,10 @@ line-height: $h4-font-size; } + .bi-skip-backward-fill { + font-size: .9rem; + } + span.constraint.btn-group { span.constraint-value { border-top-left-radius: $sul-constraint-btn-radius; diff --git a/app/assets/stylesheets/modules/side-nav-minimap.scss b/app/assets/stylesheets/modules/side-nav-minimap.scss index 1ef4d3eaa..585de679f 100644 --- a/app/assets/stylesheets/modules/side-nav-minimap.scss +++ b/app/assets/stylesheets/modules/side-nav-minimap.scss @@ -44,7 +44,12 @@ background-color: $sul-side-nav-minimap-active-btn-bg; } - i.fa, .sul-icon { + i.bi.bi-arrow-up-short, i.bi.bi-arrow-down-short { + font-size: 1.5rem; + vertical-align: sub; + } + + i.bi, .sul-icon { display: inline-block; text-align: center; width: 35px; diff --git a/app/components/blacklight/start_over_button_component.rb b/app/components/blacklight/start_over_button_component.rb index e7fbb3923..e3398daa3 100644 --- a/app/components/blacklight/start_over_button_component.rb +++ b/app/components/blacklight/start_over_button_component.rb @@ -3,7 +3,7 @@ module Blacklight class StartOverButtonComponent < Blacklight::Component def call - link_to(" #{label}".html_safe, start_over_path, class: 'btn btn-primary btn-reset') + link_to(" #{label}".html_safe, start_over_path, class: 'btn btn-primary btn-reset') end private diff --git a/app/views/shared/_side_nav_minimap.html.erb b/app/views/shared/_side_nav_minimap.html.erb index 2fd97e46f..f8d669a45 100644 --- a/app/views/shared/_side_nav_minimap.html.erb +++ b/app/views/shared/_side_nav_minimap.html.erb @@ -2,7 +2,7 @@
  • @@ -25,7 +25,7 @@
  • diff --git a/config/locales/searchworks.en.yml b/config/locales/searchworks.en.yml index 5de2b59e6..3430026fb 100644 --- a/config/locales/searchworks.en.yml +++ b/config/locales/searchworks.en.yml @@ -322,7 +322,7 @@ en: sms: 'text' printer: 'printer' - back_to_search: '  Back to results' + back_to_search: '  Back to results' feedback_form: success: 'Thank you! Your feedback has been sent.' connection_form: @@ -333,35 +333,35 @@ en: record_side_nav: abstract: id: "abstract" - icon: '' + icon: '' label: "Abstract" abstract_contents: id: "abstract-contents" - icon: '' + icon: '' label: "Contents" contributors: id: "contributors" - icon: '' + icon: '' label: "Contributors" access_conditions: id: "access-conditions" - icon: '' + icon: '' label: "Access" contents_summary: id: "contents-summary" - icon: '' + icon: '' label: "Summary" subjects: id: "subjects" - icon: '' + icon: '' label: "Subjects" bibliography_info: id: "bibliography-info" - icon: '' + icon: '' label: "Info" details: id: "details" - icon: '' + icon: '' label: "Details" browse_nearby: id: "browse-nearby" @@ -369,9 +369,9 @@ en: label: "Browse" fulltext: id: "full-text" - icon: '' + icon: '' label: "Full Text" summary: id: "summary" - icon: '' + icon: '' label: "Summary" diff --git a/spec/views/catalog/record/_marc_metadata_sections.html.erb_spec.rb b/spec/views/catalog/record/_marc_metadata_sections.html.erb_spec.rb index 03cf1f554..be8df9ace 100644 --- a/spec/views/catalog/record/_marc_metadata_sections.html.erb_spec.rb +++ b/spec/views/catalog/record/_marc_metadata_sections.html.erb_spec.rb @@ -29,8 +29,8 @@ it "should render side nav content" do expect(rendered).to have_css("ul.side-nav-minimap") - expect(rendered).to have_css(".side-nav-minimap button i.fa.fa-arrow-up") - expect(rendered).to have_css(".side-nav-minimap button i.fa.fa-arrow-down") + expect(rendered).to have_css(".side-nav-minimap button i.bi.bi-arrow-up-short") + expect(rendered).to have_css(".side-nav-minimap button i.bi.bi-arrow-down-short") expect(rendered).to have_css(".side-nav-minimap button.contributors") expect(rendered).to have_css(".side-nav-minimap button.contents-summary") diff --git a/spec/views/catalog/record/_mods_metadata_sections.html.erb_spec.rb b/spec/views/catalog/record/_mods_metadata_sections.html.erb_spec.rb index 33bc1035f..1db5e7f1f 100644 --- a/spec/views/catalog/record/_mods_metadata_sections.html.erb_spec.rb +++ b/spec/views/catalog/record/_mods_metadata_sections.html.erb_spec.rb @@ -31,8 +31,8 @@ it "renders side nav content" do expect(rendered).to have_css("ul.side-nav-minimap") - expect(rendered).to have_css(".side-nav-minimap button i.fa.fa-arrow-up") - expect(rendered).to have_css(".side-nav-minimap button i.fa.fa-arrow-down") + expect(rendered).to have_css(".side-nav-minimap button i.bi.bi-arrow-up-short") + expect(rendered).to have_css(".side-nav-minimap button i.bi.bi-arrow-down-short") expect(rendered).to have_css(".side-nav-minimap button.contributors") expect(rendered).to have_css(".side-nav-minimap button.abstract-contents")