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