cavote.css 4.4 KB

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