]> nos-oignons.net Git - website.git/blobdiff - local.css
Affichage des promesses de dons
[website.git] / local.css
index e6349f72e78cf6bae50a51ff4570076f69a0abc9..78297cd8e95f157e6c55e4720fd07953f61c733a 100644 (file)
--- a/local.css
+++ b/local.css
@@ -304,6 +304,14 @@ thead td {
        margin-top: 0.5em;
 }
 
+#content blockquote {
+  border-left: 2px solid #A756AF;
+  margin: 0.5em 0;
+  padding: 0.5em 0 0.5em 1em;
+}
+#content blockquote p {margin: 0;}
+#content blockquote p + p {margin-top: 1em;}
+
 #content table {
        border-top: solid 1px #aaa;
        border-bottom: solid 1px #aaa;
@@ -382,7 +390,7 @@ thead td {
 
 /* Progress bar */
 .progress-bar-wrapper {
-  margin: 1em auto;
+  margin: 2em auto;
   height: 85px;
   width: 600px;
   background: lightGrey url(assets/progress_bar.png) top left repeat-x;
@@ -391,23 +399,44 @@ thead td {
   position: relative;
 }
   .progress-bar-wrapper .progress-bar {
+    position: absolute;
     height: 85px;
-    background: grey url(assets/progress_bar.png) bottom left repeat-x;
+    background: grey url(assets/progress_bar.png) left -85px repeat-x;
     /* animate progress bar */
     -webkit-animation: progress-bar 1.5s;
     -moz-animation: progress-bar 1.5s;
     animation: progress-bar 1.5s;
   }
+  .progress-bar-wrapper .progress-bar-promises {
+    background: grey url(assets/progress_bar.png) left bottom repeat-x;
+  }
 
   /* progress bar animation*/
   @-webkit-keyframes progress-bar { 0% { width: 0; } }
   @-moz-keyframes progress-bar { 0% { width: 0; } }
   keyframes progress-bar { 0% { width: 0; } }
 
-  .progress-bar-wrapper:after {
+  /* Current amount */
+  .progress-bar-wrapper .progress-bar:after {
+    content: attr(data-current);
+    display: block;
+    position: absolute;
+    top: -22px;
+    right: 0;
+    background: #fff;
+    color: #ccc;
+    font-size: 0.9em;
+  }
+  /* Promises amount */
+  .progress-bar-wrapper .progress-bar-promises:after {
+  }
+
+  /* Temperature bar */
+  .progress-bar-wrapper:before {
     content: " ";
     display: block;
     position: absolute;
+    z-index: 1;
     bottom: -5px;
     left: -1px;
     height: 5px;
@@ -423,6 +452,18 @@ thead td {
     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff0000', endColorstr='#66ff00',GradientType=1 ); /* IE6-9 */
   }
 
+  /* Annual budget */
+  .progress-bar-wrapper:after {
+    content: attr(data-total);
+    display: block;
+    position: absolute;
+    top: -22px;
+    right: 0;
+    background: #fff;
+    color: #ccc;
+    font-size: 0.9em;
+  }
+
 
 
 /* FDN Form */
@@ -440,6 +481,34 @@ thead td {
   }
 
 
+/* Paymium Bitcoin */
+.paymium-btns {padding-left: 0;}
+.paymium-btns li {
+  list-style: none;
+  display: inline-block;
+  margin: 0 0.5em 0.5em 0;
+}
+
+.paymium-btn {
+  display: inline-block;
+  min-width: 10em;
+  padding: 4px 44px 4px 10px;
+  padding-right: 44px;
+  background: #4d7b99 url(assets/paymium_btc.png) right center no-repeat;
+  border-radius: 4px;
+  text-align: center;
+  color: #fff;
+  text-decoration: none;
+  font-weight: bold;
+}
+.paymium-btn:hover{
+  background-color:#5081a0;
+  text-decoration: none;
+}
+/* override over weighted selector*/
+#content .paymium-btn {color: #fff;text-decoration: none;}
+#content .paymium-btn:hover {color: #fff;text-decoration: none;}
+
 
 /* {{{ .inlinepage */