]> nos-oignons.net Git - website.git/blobdiff - local.css
Style des boutons de dons en Bitcoin.
[website.git] / local.css
index a7490dda99a247802245439ec456e427516e48cf..6bb92b33a08f455a8cfc9138edb2622ab7d326d0 100644 (file)
--- a/local.css
+++ b/local.css
@@ -382,22 +382,47 @@ 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;
+    /* animate progress bar */
+    -webkit-animation: progress-bar 1.5s;
+    -moz-animation: progress-bar 1.5s;
+    animation: progress-bar 1.5s;
   }
-  .progress-bar-wrapper:after {
+
+  /* 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;
+  }
+
+  /* Temperature bar */
+  .progress-bar-wrapper:before {
     content: " ";
     display: block;
     position: absolute;
+    z-index: 1;
     bottom: -5px;
     left: -1px;
     height: 5px;
@@ -413,11 +438,19 @@ 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;
+  }
+
 
-.section-progress-text {
-  width: 47.5%;
-  padding-left: 2%;
-}
 
 /* FDN Form */
 .fdn-form {}
@@ -434,6 +467,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: 140px;*/
+  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 */