fix cardinal-5 description
[cavote.git] / static / css / cavote.css
1 .page-header {
2 padding-bottom:0;
3 margin-top:9px;
4 }
5
6 .table-votes {
7 table-layout:fixed;
8 }
9 .table-votes thead th {
10 text-align: right;
11 vertical-align: middle;
12 }
13 .table-votes th.choice-name {
14 text-align: center;
15 }
16
17 .table-votes input {
18 margin: 0;
19 }
20
21 .row {
22 margin-left:0;
23 }
24
25 .table-votes td {
26 text-align: center;
27 vertical-align: middle;
28 }
29
30 .table-votes .yes {
31 background-color: #46a546; /* green */
32 /*background-color: #049cdb;*/ /* blue */
33 color: white;
34 font-weight: bold;
35 }
36
37 .table-votes .no {
38 background-color: #9d261d; /* red */
39 color: white;
40 font-weight: bold;
41 }
42
43 .table-votes tr:hover .yes {
44 /*background-color: #60C160; [> green <]*/
45 background-color: #55ab55; /* green */
46 /*background-color: #049cdb;*/ /* blue */
47 }
48
49 .table-votes tr:hover .no {
50 background-color: #C73F38; /* red */
51 }
52
53 .table-votes input,
54 .table-votes textarea,
55 .table-votes select,
56 .table-votes .uneditable-input {
57 width:auto;
58 margin-bottom:0;
59 }
60
61 .table-votes td {
62 font-family:sans-serif;
63 font-size:12px;
64 }
65 .table-votes .value_black {
66 background-color:black !important;
67 }
68 .value__X___Pas_d_Opinion_ {
69 background-color:white !important;
70 color:black !important;
71 text-shadow: 0 0 2px #ccc !important;
72 fill:white;
73 }
74 .results .value__X___Pas_d_Opinion_ + text {
75 fill:black;
76 }
77 .table-votes *[class^="value_"] {
78 color:white;
79 text-shadow: 0 0 2px #000;
80 }
81 .cardinal-2 .value__0__Sans_moi_ {
82 background-color:#B4B4B4 !important;
83 fill:#B4B4B4;
84 }
85 .cardinal-2 .value__1__Avec_moi_ {
86 background-color:#20B756 !important;
87 fill:#20B756;
88 }
89 .cardinal-2 .value__1__Favorable_ {
90 background-color:#20B756 !important;
91 fill:#20B756;
92 }
93 .cardinal-3 .value_-1__Hostile_ {
94 background-color:#DB4343 !important;
95 fill:#DB4343;
96 }
97 .cardinal-3 .value__0__Indiff_rent_ {
98 background-color:#B4B4B4 !important;
99 fill:#B4B4B4;
100 }
101 .cardinal-3 .value__1__Favorable_ {
102 background-color:#20B756 !important;
103 fill:#20B756;
104 }
105 .cardinal-5 .value_-2__Hostile_et_sans_moi_ {
106 background-color:#DB4343 !important;
107 fill:#DB4343;
108 }
109 .results .value_-2__Hostile_et_sans_moi_ + text {
110 font: 8px sans-serif;
111 }
112 .cardinal-5 .value_-1__Hostile_mais_avec_moi_ {
113 background-color:#E49F37 !important;
114 fill:#E49F37;
115 }
116 .results .value_-1__Hostile_mais_avec_moi_ + text {
117 font: 8px sans-serif;
118 }
119 .cardinal-5 .value__0__Indiff_rent_ {
120 background-color:#B4B4B4 !important;
121 fill:#B4B4B4;
122 }
123 .cardinal-5 .value__1__Favorable_mais_sans_moi_ {
124 background-color:#B1D039 !important;
125 fill:#B1D039;
126 }
127 .results .value__1__Favorable_mais_sans_moi_ + text {
128 font: 8px sans-serif;
129 }
130 .cardinal-5 .value__2__Favorable_et_avec_moi_ {
131 background-color:#20B756 !important;
132 fill:#20B756;
133 }
134 .results .value__2__Favorable_et_avec_moi_ + text {
135 font: 8px sans-serif;
136 }
137 .container,
138 .navbar-fixed-top .container,
139 .navbar-fixed-bottom .container {
140 width:auto;
141 }
142 .span3 {
143 width:24em;
144 }
145 .span3.description {
146 height:10em;
147 overflow:auto;
148 }
149 .span8 {
150 width:625px;
151 }
152 .span8 svg {
153 margin:0;
154 padding:0;
155 overflow:visible;
156 }
157 .span9 {
158 width:800px;
159 }
160
161 .results rect {
162 //fill: steelblue;
163 }
164 .results g.value_-2 rect {
165 fill: #DB4343;
166 }
167 .results g.value_-1 rect {
168 fill: #E49F37;
169 }
170 .results g.value__0 rect {
171 fill: #B4B4B4;
172 }
173 .results g.value__1 rect {
174 fill: #B1D039;
175 }
176 .results g.value__2 rect {
177 fill: #20B756;
178 }
179 .results text.choice {
180 fill: black;
181 }
182 .results text.choice-legend {
183 fill: black;
184 font-weight:bold;
185 }
186 .results text.choice-legend-item {
187 fill: black;
188 }
189 .results text.choice-sum {
190 fill: black;
191 font-weight:bold;
192 }
193 .results text.choice-average {
194 fill: black;
195 font-weight:bold;
196 }
197 .results text.choice-sum-legend {
198 fill: blue;
199 font-weight:bold;
200 }
201 .results text.choice-average-legend {
202 fill: blue;
203 font-weight:bold;
204 }
205 .results text.choice-median {
206 fill: blue;
207 font-weight:bold;
208 }
209 .results text {
210 fill: white;
211 font: 10px sans-serif;
212 text-anchor: end;
213 }
214
215 .results .axis text {
216 fill: black;
217 font: 10px sans-serif;
218 }
219 .results .axis path,
220 .results .axis line {
221 fill: none;
222 shape-rendering: crispEdges;
223 stroke: #000;
224 }