Skip to content

Commit

Permalink
Merge pull request #2406 from samvera/appearance-colors-for-themes
Browse files Browse the repository at this point in the history
Final appearance color fixes
  • Loading branch information
Shana Moore authored Jan 10, 2025
2 parents 45ea8dc + 09a6ced commit 78d79ae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/shared/_appearance_styles.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion app/views/shared/_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<p><%= t('hyrax.footer.copyright_html', current_year: current_year) %></p>
<p><%= t('hyrax.background_attribution_html') %></p>
<% unless user_signed_in? %>
<p><%= link_to t('hyku.footer.admin_login', default: [:'hyrax.toolbar.profile.login']), main_app.new_user_session_path %></p>
<p><%= link_to t('hyku.footer.admin_login', default: [:'hyrax.toolbar.profile.login']), main_app.new_user_session_path, class: 'navbar-link' %></p>
<% end %>
</div>
</div>
Expand Down
2 changes: 2 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 78d79ae

Please sign in to comment.