Update some stylesheets to use new page_stylesheet_link_tag helper

Now that we have this helper, we no longer need these stylesheets to
include a `body.controller-action` wrapper to scope all the styles!

Someday we should convert more of our stylesheets to this format,
instead of slamming them all into `application.sass` like we do now.
Ah, well!
This commit is contained in:
Emi Matchu 2024-05-14 16:09:45 -07:00
parent e30e25a3f5
commit 8117d976a6
7 changed files with 298 additions and 300 deletions

View file

@ -1,6 +1,5 @@
@import "../partials/clean/constants"
body.auth_users-edit, body.auth_users-update
.settings-form
border: 1px solid $module-border-color
background: $module-bg-color

View file

@ -1,6 +1,5 @@
@import "../../partials/clean/constants"
body.devise-sessions, body.devise-sessions-new
#title
text-align: center
font-size: 2.5rem

View file

@ -9,7 +9,7 @@ $outfit-banner-h-padding: 4px
$outfit-banner-v-padding: 2px
$outfit-banner-inner-width: $outfit-inner-width - (2 * $outfit-banner-h-padding)
body.fundraising-campaigns
body
+campaign-progress
color: $campaign-text-color

View file

@ -126,5 +126,5 @@
<% end %>
<% content_for :stylesheets do %>
<%= stylesheet_link_tag "auth_users/edit" %>
<%= page_stylesheet_link_tag "auth_users/edit" %>
<% end %>

View file

@ -66,5 +66,5 @@
</div>
<% content_for :stylesheets do %>
<%= stylesheet_link_tag "devise/sessions/new" %>
<%= page_stylesheet_link_tag "devise/sessions/new" %>
<% end %>

View file

@ -124,4 +124,4 @@
Thank you!!
- content_for :stylesheets do
= stylesheet_link_tag 'fundraising/campaigns/show'
= page_stylesheet_link_tag 'fundraising/campaigns/show'

View file

@ -48,4 +48,4 @@
= javascript_include_tag 'fundraising/donations/show', defer: true
- content_for :stylesheets do
= stylesheet_link_tag 'fundraising/donations/show'
= page_stylesheet_link_tag 'fundraising/donations/show'