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:
parent
e30e25a3f5
commit
8117d976a6
7 changed files with 298 additions and 300 deletions
|
@ -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
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
@import "../../partials/clean/constants"
|
||||
|
||||
body.devise-sessions, body.devise-sessions-new
|
||||
#title
|
||||
text-align: center
|
||||
font-size: 2.5rem
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -126,5 +126,5 @@
|
|||
<% end %>
|
||||
|
||||
<% content_for :stylesheets do %>
|
||||
<%= stylesheet_link_tag "auth_users/edit" %>
|
||||
<%= page_stylesheet_link_tag "auth_users/edit" %>
|
||||
<% end %>
|
||||
|
|
|
@ -66,5 +66,5 @@
|
|||
</div>
|
||||
|
||||
<% content_for :stylesheets do %>
|
||||
<%= stylesheet_link_tag "devise/sessions/new" %>
|
||||
<%= page_stylesheet_link_tag "devise/sessions/new" %>
|
||||
<% end %>
|
||||
|
|
|
@ -124,4 +124,4 @@
|
|||
Thank you!!
|
||||
|
||||
- content_for :stylesheets do
|
||||
= stylesheet_link_tag 'fundraising/campaigns/show'
|
||||
= page_stylesheet_link_tag 'fundraising/campaigns/show'
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue