modify to range voting
[cavote.git] / static / css / cavote.css
index ac17021..8fc25a2 100644 (file)
@@ -1,13 +1,27 @@
-.table-votes th {
+.page-header {
+    padding-bottom:0;
+    margin-top:9px;
+ }
+
+.table-votes thead th {
     text-align: right;
+    vertical-align: middle;
+}
+.table-votes th.choice-name {
+    text-align: center;
 }
 
 .table-votes input {
     margin: 0;
 }
 
+.row {
+    margin-left:0;
+ }
+
 .table-votes td {
     text-align: center;
+    vertical-align: middle;
 }
 
 .table-votes .yes {
 .table-votes tr:hover .no {
     background-color: #C73F38; /* red */
 }
+
+.table-votes input,
+.table-votes textarea,
+.table-votes select,
+.table-votes .uneditable-input {
+    width:auto;
+    margin-bottom:0;
+ }
+
+.table-votes td {
+    font-family:sans-serif;
+    font-size:12px;
+ }
+.table-votes .value_black {
+    background-color:black !important;
+ }
+.value__X___Pas_d_Opinion_ {
+    background-color:white !important;
+    color:black !important;
+    text-shadow: 0 0 2px #ccc !important;
+    fill:white;
+ }
+.results .value__X___Pas_d_Opinion_ + text {
+    fill:black;
+ }
+.table-votes *[class^="value_"] {
+    color:white;
+    text-shadow: 0 0 2px #000;
+ }
+.cardinal-2 .value__0__Sans_moi_ {
+    background-color:#B4B4B4 !important;
+    fill:#B4B4B4;
+ }
+.cardinal-2 .value__1__Avec_moi_ {
+    background-color:#20B756 !important;
+    fill:#20B756;
+ }
+.cardinal-2 .value__1__Favorable_ {
+    background-color:#20B756 !important;
+    fill:#20B756;
+ }
+.cardinal-3 .value_-1__Hostile_ {
+    background-color:#DB4343 !important;
+    fill:#DB4343;
+ }
+.cardinal-3 .value__0__Indiff_rent_ {
+    background-color:#B4B4B4 !important;
+    fill:#B4B4B4;
+ }
+.cardinal-3 .value__1__Favorable_ {
+    background-color:#20B756 !important;
+    fill:#20B756;
+ }
+.cardinal-5 .value_-2__Tr_s_Hostile_ {
+    background-color:#DB4343 !important;
+    fill:#DB4343;
+ }
+.cardinal-5 .value_-1__Hostile_ {
+    background-color:#E49F37 !important;
+    fill:#E49F37;
+ }
+.cardinal-5 .value__0__Indiff_rent_ {
+    background-color:#B4B4B4 !important;
+    fill:#B4B4B4;
+ }
+.cardinal-5 .value__1__Favorable_ {
+    background-color:#B1D039 !important;
+    fill:#B1D039;
+ }
+.cardinal-5 .value__2__Tr_s_Favorable_ {
+    background-color:#20B756 !important;
+    fill:#20B756;
+ }
+.container,
+.navbar-fixed-top .container,
+.navbar-fixed-bottom .container {
+    width:auto;
+ }
+.span3 {
+    width:24em;
+ }
+.span8 {
+    width:625px;
+ }
+.span8 svg {
+    margin:0;
+    padding:0;
+ }
+
+.results rect {
+       //fill: steelblue;
+ }
+.results g.value_-2 rect {
+       fill: #DB4343;
+ }
+.results g.value_-1 rect {
+       fill: #E49F37;
+ }
+.results g.value__0 rect {
+       fill: #B4B4B4;
+ }
+.results g.value__1 rect {
+       fill: #B1D039;
+ }
+.results g.value__2 rect {
+       fill: #20B756;
+ }
+.results text.choice {
+       fill: black;
+ }
+.results text.choice-legend {
+       fill: black;
+    font-weight:bold;
+ }
+.results text.choice-legend-item {
+       fill: black;
+ }
+.results text.choice-sum {
+       fill: black;
+    font-weight:bold;
+ }
+.results text.choice-average {
+       fill: black;
+    font-weight:bold;
+ }
+.results text.choice-sum-legend {
+       fill: blue;
+    font-weight:bold;
+ }
+.results text.choice-average-legend {
+       fill: blue;
+    font-weight:bold;
+ }
+.results text.choice-median {
+       fill: blue;
+    font-weight:bold;
+ }
+.results text {
+       fill: white;
+       font: 10px sans-serif;
+       text-anchor: end;
+ }
+
+.results .axis text {
+       fill: black;
+       font: 10px sans-serif;
+ }
+.results .axis path,
+.results .axis line {
+       fill: none;
+       shape-rendering: crispEdges;
+       stroke: #000;
+ }