impress/app/assets/stylesheets/campaigns/_show.sass

136 lines
2.8 KiB
Sass
Raw Normal View History

2011-07-01 11:53:28 -07:00
@import "compass/css3/text-shadow"
@import "partials/campaign-progress"
2015-08-05 16:26:12 -07:00
@import "partials/outfit"
/* TODO: redundant with outfits/index; why is it not in the partial? */
$outfit-inner-height: 150px
$outfit-inner-width: 150px
$outfit-banner-h-padding: 4px
$outfit-banner-v-padding: 2px
$outfit-banner-inner-width: $outfit-inner-width - (2 * $outfit-banner-h-padding)
2015-08-05 16:26:12 -07:00
body.campaigns-show, body.campaigns-current
+campaign-progress
2015-08-05 16:26:12 -07:00
color: #004
a
color: #004 + #222
#userbar, #footer
color: $text-color
a
color: $link-color
#home-link
color: $link-color
2011-06-28 10:24:40 -07:00
#title
display: none
2011-07-01 11:53:28 -07:00
#donation-form
+module
2015-08-05 16:26:12 -07:00
background: $campaign-background-color
border-color: $campaign-border-color
margin-top: 1em
margin-bottom: 1.5em
padding-bottom: 32px
padding-left: 24px
padding-top: 32px
2011-07-02 10:23:38 -07:00
2015-08-05 16:26:12 -07:00
&[data-campaign-theme="hug"]
background:
image: url(image_path("campaigns/hug.gif"))
position: ($container-width - 150px - 8px) -4px
repeat: no-repeat
&[data-campaign-theme="bird"]
background:
image: url(image_path("campaigns/bird.gif"))
position: ($container-width - 150px - 8px) -4px
repeat: no-repeat
header, div
+inline-block
2011-06-28 10:24:40 -07:00
p
font-family: $main-font
margin: 0
2011-06-28 10:24:40 -07:00
div
font-size: 115%
margin-left: 20px
2011-06-28 10:24:40 -07:00
#donation-form-title
font-size: 125%
2011-06-28 10:24:40 -07:00
font-weight: bold
margin-bottom: .25em
2011-06-28 10:24:40 -07:00
p
font-size: 85%
margin-bottom: 0
margin-top: .5em
2011-06-28 10:24:40 -07:00
input[type=text]
2015-08-05 16:26:12 -07:00
border-color: #cce
color: #004
width: 3em
2011-06-28 10:24:40 -07:00
button
+loud-awesome-button-color
#success-thanks
border: 1px dashed $module-border-color
margin-bottom: 1em
padding: 1em
p:last-child
margin-bottom: 0
#outfits
+outfits-list
text-align: center
> li
+outfit
height: $outfit-inner-height
margin: 2px
width: $outfit-inner-width
header, footer
font-size: 85%
padding: $outfit-banner-v-padding $outfit-banner-h-padding
width: $outfit-banner-inner-width
2011-06-28 10:24:40 -07:00
2014-09-10 13:38:26 -07:00
img
height: $outfit-inner-height
width: $outfit-inner-width
&.banner
background-image: url(http://images.neopets.com/themes/004_bir_a2e60/footer_bg.png)
background-position: 0 -60px
border: 2px solid #006
color: white
height: 100px
line-height: 100px
margin: 4px 0
text-shadow: #335 2px 2px 1px
width: $container-width - 4px
span
+inline-block
font-size: 32px
font-weight: bold
line-height: 1.5
vertical-align: middle
2015-08-05 16:26:12 -07:00
#last-years-donors
font-weight: bold
margin-top: 1em
text-align: center
#fine-print
font-size: 85%
margin-top: 2em