]> nos-oignons.net Git - website.git/commitdiff
Ajout d'une barre colorée rouge-vert en dessous de la barre de progression.
authoropi <opi@no-log.org>
Wed, 14 Jan 2015 22:21:30 +0000 (23:21 +0100)
committeropi <opi@no-log.org>
Wed, 14 Jan 2015 22:21:30 +0000 (23:21 +0100)
local.css

index aee5a4ca35f6109466acbbbe90bd4622a4d7b920..a7490dda99a247802245439ec456e427516e48cf 100644 (file)
--- a/local.css
+++ b/local.css
@@ -387,11 +387,33 @@ thead td {
   width: 300px;
   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 {
     height: 85px;
     background: grey url(assets/progress_bar.png) bottom left repeat-x;
   }
+  .progress-bar-wrapper:after {
+    content: " ";
+    display: block;
+    position: absolute;
+    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%;