Fix scoping on CSS for donate page

Oh right, all these cute overrides should be scoped to the page!

I guess we skipped this because we had pulled this out into a
separate stylesheet. Curiously learning more about how Turbo handles
this kind of thing, like that it doesn't *unload* stylesheets that
*leave* the page when you navigate!
This commit is contained in:
Emi Matchu 2024-03-13 22:13:16 -07:00
parent c3eab22b4e
commit 3bf3eaac8a

View file

@ -13,24 +13,24 @@ body.fundraising-campaigns
+campaign-progress
color: $campaign-text-color
a
a
color: $campaign-text-color + #222 !important
#home-link:hover
#home-link:hover
background-color: $campaign-background-color
#userbar, #footer
#userbar, #footer
color: $text-color
a
color: $link-color
#home-link
#home-link
color: $link-color
#title
#title
display: none
#donation-form
#donation-form
+module
background: $campaign-background-color
border-color: $campaign-border-color
@ -149,13 +149,13 @@ a
+awesome-button-color(#004)
font-size: 120%
#campaign-text[data-campaign-complete]
#campaign-text[data-campaign-complete]
#description
display: none
&[data-show]
display: block
#success-thanks
#success-thanks
border: 1px dashed $module-border-color
margin-bottom: 1em
padding: 1em
@ -164,13 +164,13 @@ a
p:last-child
margin-bottom: 0
#success-thanks-toggle-description
#success-thanks-toggle-description
position: absolute
bottom: 1em
font-style: italic
right: 1em
#outfits
#outfits
+outfits-list
text-align: center
@ -208,20 +208,20 @@ a
line-height: 1.5
vertical-align: middle
#last-years-donors
#last-years-donors
font-weight: bold
margin-top: 1em
text-align: center
#outfits-header > *
#outfits-header > *
display: inline-block
#all-campaigns-list
#all-campaigns-list
li
display: inline-block
list-style: none
margin-left: 1em
#fine-print
#fine-print
font-size: 85%
margin-top: 2em