]> nos-oignons.net Git - website.git/blobdiff - local.css
Desaturation des oignons pour les promesses de dons.
[website.git] / local.css
index aee5a4ca35f6109466acbbbe90bd4622a4d7b920..e36a4d92c7ce901917f8af7bf18d96f205eab04f 100644 (file)
--- a/local.css
+++ b/local.css
@@ -303,6 +303,18 @@ thead td {
 #content h3 + p {
        margin-top: 0.5em;
 }
+h2 sup,
+h3 sup {
+  font-weight: normal;
+}
+
+#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;
@@ -382,20 +394,83 @@ thead td {
 
 /* Progress bar */
 .progress-bar-wrapper {
-  margin-top: 1em;
+  margin: 2em auto;
   height: 85px;
-  width: 300px;
+  width: 600px;
   background: lightGrey url(assets/progress_bar.png) top left repeat-x;
   border: 1px solid #ccc;
+  border-bottom: 0;
+  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;
+    z-index: 2;
+    /* 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;
+    z-index: 1;
+  }
+
+  /* progress bar animation*/
+  @-webkit-keyframes progress-bar { 0% { width: 0; } }
+  @-moz-keyframes progress-bar { 0% { width: 0; } }
+  keyframes progress-bar { 0% { width: 0; } }
+
+  /* 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: 3;
+    bottom: -5px;
+    left: -1px;
+    height: 5px;
+    width: 100%;
+    border: 1px solid #ccc;
+    border-top: 0;
+    background: -moz-linear-gradient(left, #ff0000 0%, #66ff00 100%); /* FF3.6+ */
+    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#ff0000), color-stop(100%,#66ff00)); /* Chrome,Safari4+ */
+    background: -webkit-linear-gradient(left, #ff0000 0%,#66ff00 100%); /* Chrome10+,Safari5.1+ */
+    background: -o-linear-gradient(left, #ff0000 0%,#66ff00 100%); /* Opera 11.10+ */
+    background: -ms-linear-gradient(left, #ff0000 0%,#66ff00 100%); /* IE10+ */
+    background: linear-gradient(to right, #ff0000 0%,#66ff00 100%); /* W3C */
+    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff0000', endColorstr='#66ff00',GradientType=1 ); /* IE6-9 */
   }
-.section-progress-text {
-  width: 47.5%;
-  padding-left: 2%;
-}
+
+  /* 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 */
 .fdn-form {}
@@ -412,6 +487,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 */