1
0
Fork 0
forked from OpenNeo/impress
impress/app/stylesheets/static/_donate.sass

143 lines
3.4 KiB
Sass
Raw Normal View History

2011-07-01 11:53:28 -07:00
@import "compass/css3/gradient"
@import "compass/css3/text-shadow"
2011-06-28 10:24:40 -07:00
body.static-donate
#title
margin-bottom: 0
h2
font-style: italic
font-weight: normal
#title, h2
float: left
2011-07-01 11:53:28 -07:00
h2
margin-bottom: .25em
2011-06-28 10:24:40 -07:00
.pledgie-link
+awesome-button
+loud-awesome-button-color
#pledgie-link-with-title
float: right
font-size: 150%
margin-top: .5em
padding: .75em
2011-07-01 11:53:28 -07:00
#campaign-progress-wrapper
+border-radius(8px)
background: #aaa
+linear-gradient(color-stops(#ccc, #aaa))
border: 4px solid $module-border-color
clear: both
margin-bottom: 1.5em
position: relative
visibility: hidden
#campaign-progress
background: $module-border-color
+linear-gradient(color-stops($module-border-color + #222, $module-border-color))
border-right: 1px solid $module-border-color
#campaign-progress-wrapper, #campaign-progress
height: 2.5em
#campaign-progress-label
+text-shadow(#777, -1px, -1px, 0)
color: white
font-size: 150%
left: 0
position: absolute
top: 0
text-align: center
width: 100%
2011-06-28 10:24:40 -07:00
$image-mode-preview-image-width: 300px
$image-mode-preview-image-border-width: 1px
$image-mode-preview-h-padding: 20px
$image-mode-preview-border-width: 1px
$image-mode-preview-right-margin: 20px
2011-07-01 11:53:28 -07:00
$image-mode-preview-width: $image-mode-preview-image-width + 2 * ($image-mode-preview-image-border-width + $image-mode-preview-h-padding + $image-mode-preview-border-width)
$image-mode-preview-outer-width: $image-mode-preview-width + $image-mode-preview-right-margin
#image-mode-data
2011-06-28 10:24:40 -07:00
clear: both
display: block
float: left
2011-07-01 11:53:28 -07:00
margin-right: $image-mode-preview-right-margin
width: $image-mode-preview-width
#image-mode-preview
border: $image-mode-preview-border-width solid $module-border-color
margin: 0 0 2em 0
2011-06-28 10:24:40 -07:00
padding:
top: $image-mode-preview-h-padding
right: $image-mode-preview-h-padding
bottom: $image-mode-preview-h-padding / 1.5
left: $image-mode-preview-h-padding
img
border: $image-mode-preview-border-width solid $module-border-color
margin-bottom: .5em
figcaption
display: block
font-family: Calligraffitti
font-size: 250%
text-align: center
2011-07-01 11:53:28 -07:00
#campaign-donors
display: none
margin-right: $image-mode-preview-right-margin
width: $image-mode-preview-width
ol
font-size: 85%
padding-left: 2em
span
color: $soft-text-color
float: right
2011-06-28 10:24:40 -07:00
$image-mode-description-width: $container-width - $image-mode-preview-outer-width
$image-mode-beta-h-padding: 15px
$image-mode-beta-border-width: 1px
$image-mode-beta-inner-width: $image-mode-description-width - 2 * ($image-mode-beta-h-padding + $image-mode-beta-border-width)
#image-mode-beta
+module
border-width: $image-mode-beta-border-width
display: block
float: left
margin-bottom: 1em
padding: ($image-mode-beta-h-padding / 1.5) $image-mode-beta-h-padding
text-align: center
width: $image-mode-beta-inner-width
header
display: block
font-weight: bold
p
font-family: $main-font
font-size: 75%
margin: 0
.pledgie-link
margin: .75em 0
2011-07-01 11:53:28 -07:00
#image-mode-description, #image-mode-comments
2011-06-28 10:24:40 -07:00
float: left
width: $image-mode-description-width
2011-07-01 11:53:28 -07:00
&.campaign-loaded
#campaign-progress-wrapper
visibility: visible
#campaign-donors
display: block