forked from OpenNeo/impress
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,7 +1,6 @@
|
||||||
@import "../partials/clean/constants"
|
@import "../partials/clean/constants"
|
||||||
|
|
||||||
body.auth_users-edit, body.auth_users-update
|
.settings-form
|
||||||
.settings-form
|
|
||||||
border: 1px solid $module-border-color
|
border: 1px solid $module-border-color
|
||||||
background: $module-bg-color
|
background: $module-bg-color
|
||||||
border-radius: 1em
|
border-radius: 1em
|
||||||
|
@ -49,8 +48,8 @@ body.auth_users-edit, body.auth_users-update
|
||||||
ul
|
ul
|
||||||
padding-left: 2em
|
padding-left: 2em
|
||||||
|
|
||||||
.neopass-info
|
.neopass-info
|
||||||
margin-bottom: .5em
|
margin-bottom: .5em
|
||||||
|
|
||||||
.neopass-explanation
|
.neopass-explanation
|
||||||
font-size: .85em
|
font-size: .85em
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
@import "../../partials/clean/constants"
|
@import "../../partials/clean/constants"
|
||||||
|
|
||||||
body.devise-sessions, body.devise-sessions-new
|
#title
|
||||||
#title
|
|
||||||
text-align: center
|
text-align: center
|
||||||
font-size: 2.5rem
|
font-size: 2.5rem
|
||||||
|
|
||||||
.login-options
|
.login-options
|
||||||
display: flex
|
display: flex
|
||||||
margin-block: 3em
|
margin-block: 3em
|
||||||
|
|
||||||
|
@ -37,7 +36,7 @@ body.devise-sessions, body.devise-sessions-new
|
||||||
cursor: pointer
|
cursor: pointer
|
||||||
margin-bottom: 1em
|
margin-bottom: 1em
|
||||||
|
|
||||||
.login-form
|
.login-form
|
||||||
margin-bottom: 1em
|
margin-bottom: 1em
|
||||||
|
|
||||||
.field
|
.field
|
||||||
|
@ -61,12 +60,12 @@ body.devise-sessions, body.devise-sessions-new
|
||||||
height: 1em
|
height: 1em
|
||||||
width: 1em
|
width: 1em
|
||||||
|
|
||||||
.login-links
|
.login-links
|
||||||
font-size: 85%
|
font-size: 85%
|
||||||
display: flex
|
display: flex
|
||||||
gap: .5em
|
gap: .5em
|
||||||
|
|
||||||
.log-in-with-neopass-button
|
.log-in-with-neopass-button
|
||||||
background: linear-gradient(#ebb233, #f6e250, #ebb233)
|
background: linear-gradient(#ebb233, #f6e250, #ebb233)
|
||||||
color: #111
|
color: #111
|
||||||
font-size: 1rem
|
font-size: 1rem
|
||||||
|
|
|
@ -9,28 +9,28 @@ $outfit-banner-h-padding: 4px
|
||||||
$outfit-banner-v-padding: 2px
|
$outfit-banner-v-padding: 2px
|
||||||
$outfit-banner-inner-width: $outfit-inner-width - (2 * $outfit-banner-h-padding)
|
$outfit-banner-inner-width: $outfit-inner-width - (2 * $outfit-banner-h-padding)
|
||||||
|
|
||||||
body.fundraising-campaigns
|
body
|
||||||
+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 @@ body.fundraising-campaigns
|
||||||
+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 @@ body.fundraising-campaigns
|
||||||
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 @@ body.fundraising-campaigns
|
||||||
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
|
||||||
|
|
|
@ -126,5 +126,5 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% content_for :stylesheets do %>
|
<% content_for :stylesheets do %>
|
||||||
<%= stylesheet_link_tag "auth_users/edit" %>
|
<%= page_stylesheet_link_tag "auth_users/edit" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -66,5 +66,5 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% content_for :stylesheets do %>
|
<% content_for :stylesheets do %>
|
||||||
<%= stylesheet_link_tag "devise/sessions/new" %>
|
<%= page_stylesheet_link_tag "devise/sessions/new" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -124,4 +124,4 @@
|
||||||
Thank you!!
|
Thank you!!
|
||||||
|
|
||||||
- content_for :stylesheets do
|
- 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
|
= javascript_include_tag 'fundraising/donations/show', defer: true
|
||||||
|
|
||||||
- content_for :stylesheets do
|
- content_for :stylesheets do
|
||||||
= stylesheet_link_tag 'fundraising/donations/show'
|
= page_stylesheet_link_tag 'fundraising/donations/show'
|
||||||
|
|
Loading…
Reference in a new issue