Funding details view: Intro header
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Thu, 16 May 2013 14:40:18 +0000 (16:40 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Mon, 3 Jun 2013 08:03:41 +0000 (10:03 +0200)
apps/funding/static/funding/funding.css
apps/funding/static/funding/funding.scss
apps/funding/templates/funding/offer_detail.html

index 878d651..c9514ff 100755 (executable)
@@ -1 +1 @@
-.funding{background:orange;margin:auto;padding:5px 0;position:relative}.funding a.call{height:1.2em;width:9em;padding:.35em .5em;margin:.5em;display:inline-block;vertical-align:top;text-align:center;background:rgb(.465%, 59.936%, 63.653%)}.funding .description{display:inline-block;padding-left:.6em}.funding .description a{display:block;color:#000;padding:0 3px}.funding strong{font-size:1.5em;padding:.2em 0 0}.funding .progress{width:95.7em;margin:.3em 0 .4em;border-radius:2em;background-image:url(/static/img/progress-pixel.png);background-repeat:repeat-y;background-color:rgba(236, 109, 0, .5);box-shadow:.1em .1em .1em #888}.funding .progress .piece{font-size:1.3em;padding:.3em .5em}.funding .with-button .progress{width:78em}.funding .funding .funding-title-strong,.funding .funding-title{font-size:1.1em}.funding .funding-title-strong{font-weight:bold;font-size:1.5em}.funding .close{position:absolute;top:0;right:5px}.funding-top-header{@extend: .funding;width:97.5em}.wlfund{width:100%;border-collapse:collapse}.wlfund td{padding:0 0 1em 0;text-align:center}.wlfund td:last-child{text-align:right}.wlfund td div{padding:1em;box-shadow:0 2px 0 #DDD}.wlfund .funding-plus td div{background:rgba(13, 126, 133, .2)}.wlfund .funding-minus td div{background:#fff}.honking{background:#018189;font-size:1.5em;padding:.5em;color:#fff;border:0;box-shadow:.2em .2em .3em #888;position:relative}.honking:hover{box-shadow:none;top:.1em;left:.1em}.share a{margin-right:1.5em}.share a img{vertical-align:middle}.funding-handle{position:absolute;top:0;right:0;z-index:2;background:orange;cursor:pointer;padding:.2em 1em;border-radius:0 0 0 1em;font-size:13px}.funding-cover{float:left;margin-right:10px}.funding-details-intro{padding-top:1em}
\ No newline at end of file
+.funding{background:orange;margin:auto;padding:5px 0;position:relative}.funding a.call{height:1.2em;width:9em;padding:.35em .5em;margin:.5em;display:inline-block;vertical-align:top;text-align:center;background:rgb(.465%, 59.936%, 63.653%)}.funding .description{display:inline-block;padding-left:.6em}.funding .description a{display:block;color:#000;padding:0 3px}.funding strong{font-size:1.5em;padding:.2em 0 0}.funding .progress{width:95.7em;margin:.3em 0 .4em;border-radius:2em;background-image:url(/static/img/progress-pixel.png);background-repeat:repeat-y;background-color:rgba(236, 109, 0, .5);box-shadow:.1em .1em .1em #888}.funding .progress .piece{font-size:1.3em;padding:.3em .5em}.funding .with-button .progress{width:78em}.funding .funding .funding-title-strong,.funding .funding-title{font-size:1.1em}.funding .funding-title-strong{font-weight:bold;font-size:1.5em}.funding .close{position:absolute;top:0;right:5px}.funding-top-header{@extend: .funding;width:97.5em}.wlfund{width:100%;border-collapse:collapse}.wlfund td{padding:0 0 1em 0;text-align:center}.wlfund td:last-child{text-align:right}.wlfund td div{padding:1em;box-shadow:0 2px 0 #DDD}.wlfund .funding-plus td div{background:rgba(13, 126, 133, .2)}.wlfund .funding-minus td div{background:#fff}.honking{background:#018189;font-size:1.5em;padding:.5em;color:#fff;border:0;box-shadow:.2em .2em .3em #888;position:relative}.honking:hover{box-shadow:none;top:.1em;left:.1em}.share a{margin-right:1.5em}.share a img{vertical-align:middle}.funding-handle{position:absolute;top:0;right:0;z-index:2;background:orange;cursor:pointer;padding:.2em 1em;border-radius:0 0 0 1em;font-size:13px}.funding-cover{float:left;margin-right:10px}.funding-details-intro{padding-top:1em}.funding-details-intro h3:first-of-type{margin-top:0}
\ No newline at end of file
index 27fa01f..7d352df 100755 (executable)
 
 .funding-details-intro {
     padding-top: 1em;
 
 .funding-details-intro {
     padding-top: 1em;
+    
+    h3:first-of-type {
+        margin-top: 0;
+    }
 }
\ No newline at end of file
 }
\ No newline at end of file
index 8795332..80d0965 100755 (executable)
@@ -22,6 +22,7 @@
             <img src="{{ object.cover.url }}" class="funding-cover"/>
         {% endif %}
         <div class="normal-text">
             <img src="{{ object.cover.url }}" class="funding-cover"/>
         {% endif %}
         <div class="normal-text">
+        <h3>{% trans "Help free the book!" %}</h3>
         {{ object.description|safe }}
         {% offer_status object %}
         {% offer_status_more object %}
         {{ object.description|safe }}
         {% offer_status object %}
         {% offer_status_more object %}