From c2ee143adaf60b527e33fa2f649c09e2a156f259 Mon Sep 17 00:00:00 2001 From: LaRita Robinson Date: Fri, 10 Jan 2025 16:49:56 -0500 Subject: [PATCH 1/2] Final appearance color fixes --- app/views/shared/_appearance_styles.html.erb | 2 +- app/views/shared/_footer.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/shared/_appearance_styles.html.erb b/app/views/shared/_appearance_styles.html.erb index 91e775f95..cc7da7090 100644 --- a/app/views/shared/_appearance_styles.html.erb +++ b/app/views/shared/_appearance_styles.html.erb @@ -70,7 +70,7 @@ body.public-facing .nav-tabs > li.nav-item > a:focus { /* PRIMARY BUTTON STYLES */ body.public-facing .btn-primary { - background-color: <%= appearance.primary_button_hover_color %> !important !important; + background-color: <%= appearance.primary_button_hover_color %> !important; border-color: <%= appearance.primary_button_border_color %> !important; color: <%= appearance.primary_button_text_color %> !important; } diff --git a/app/views/shared/_footer.html.erb b/app/views/shared/_footer.html.erb index a5c33d9c0..113c74fe9 100644 --- a/app/views/shared/_footer.html.erb +++ b/app/views/shared/_footer.html.erb @@ -10,7 +10,7 @@

<%= t('hyrax.footer.copyright_html', current_year: current_year) %>

<%= t('hyrax.background_attribution_html') %>

<% unless user_signed_in? %> -

<%= link_to t('hyku.footer.admin_login', default: [:'hyrax.toolbar.profile.login']), main_app.new_user_session_path %>

+

<%= link_to t('hyku.footer.admin_login', default: [:'hyrax.toolbar.profile.login']), main_app.new_user_session_path, class: 'navbar-link' %>

<% end %> From b6038faae038fb7830def43a059a531601aa67ed Mon Sep 17 00:00:00 2001 From: LaRita Robinson Date: Fri, 10 Jan 2025 16:56:17 -0500 Subject: [PATCH 2/2] Add hint for active_tabs_background_color Use of this color is not obvious, and applies only to default theme. --- config/locales/en.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/locales/en.yml b/config/locales/en.yml index c93a64115..a2d37be6d 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -226,6 +226,8 @@ en: confirm: "If your theme doesn't appear to be applying correctly, verify that it isn't being overwritten by Custom CSS." favicon: hint: "Favicons need to be png files and must be square. The max size used is 228px x 228px." + active_tabs_background_color: + hint: 'Hover color for homepage tabs.' navbar_background_color: hint: 'At 40% opacity.' navbar_link_background_color: