X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=static%2Fcss%2Fcavote.css;h=1c7a21a1b5cbd37dc381810b08d64c24623a42c9;hb=00934384b3d9084b9b0b9a7fb4b15be43e78b3e3;hp=ac17021994740a9444ff09ea8441d6712f25f1ed;hpb=9a0891ac3f5ae69cd1e276931401516b3213df4c;p=cavote.git diff --git a/static/css/cavote.css b/static/css/cavote.css index ac17021..1c7a21a 100644 --- a/static/css/cavote.css +++ b/static/css/cavote.css @@ -1,13 +1,30 @@ -.table-votes th { +.page-header { + padding-bottom:0; + margin-top:9px; + } + +.table-votes { + table-layout:fixed; + } +.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 { @@ -32,3 +49,170 @@ .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__Hostile_et_sans_moi_ { + background-color:#DB4343 !important; + fill:#DB4343; + } +.results .value_-2__Hostile_et_sans_moi_ + text { + font: 9px sans-serif; + } +.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__Favorable_et_avec_moi_ { + background-color:#20B756 !important; + fill:#20B756; + } +.results .value__2__Favorable_et_avec_moi_ + text { + font: 8px sans-serif; + } +.container, +.navbar-fixed-top .container, +.navbar-fixed-bottom .container { + width:auto; + } +.span3 { + width:24em; + } +.span3.description { + height:10em; + overflow:auto; + } +.span8 { + width:625px; + } +.span8 svg { + margin:0; + padding:0; + overflow:visible; + } +.span9 { + width:800px; + } + +.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; + }