poll.css

.poll {
  overflow: hidden;
}
.poll .bar {
  height: 1em;
  margin: 1px 0;
  background-color: #ddd;
}
.poll .bar .foreground {
  background-color: #000;
  height: 1em;
  float: left; /* LTR */
}
.poll .links {
  text-align: center;
}
.poll .percent {
  text-align: right; /* LTR */
}
.poll .total {
  text-align: center;
}
.poll .vote-form {
  text-align: center;
}
.poll .vote-form .choices {
  text-align: left; /* LTR */
  margin: 0 auto;
  display: table;
}
.poll .vote-form .choices .title {
  font-weight: bold;
}
.node-form #edit-poll-more {
  margin: 0;
}
.node-form #poll-choice-table .form-text {
  display: inline;
  width: auto;
}
.node-form #poll-choice-table td.choice-flag {
  white-space: nowrap;
  width: 4em;
}
td.poll-chtext {
  width: 80%;
}
td.poll-chvotes .form-text {
  width: 85%;
}

File

modules/poll/poll.css

View source
  1. .poll {
  2. overflow: hidden;
  3. }
  4. .poll .bar {
  5. height: 1em;
  6. margin: 1px 0;
  7. background-color: #ddd;
  8. }
  9. .poll .bar .foreground {
  10. background-color: #000;
  11. height: 1em;
  12. float: left; /* LTR */
  13. }
  14. .poll .links {
  15. text-align: center;
  16. }
  17. .poll .percent {
  18. text-align: right; /* LTR */
  19. }
  20. .poll .total {
  21. text-align: center;
  22. }
  23. .poll .vote-form {
  24. text-align: center;
  25. }
  26. .poll .vote-form .choices {
  27. text-align: left; /* LTR */
  28. margin: 0 auto;
  29. display: table;
  30. }
  31. .poll .vote-form .choices .title {
  32. font-weight: bold;
  33. }
  34. .node-form #edit-poll-more {
  35. margin: 0;
  36. }
  37. .node-form #poll-choice-table .form-text {
  38. display: inline;
  39. width: auto;
  40. }
  41. .node-form #poll-choice-table td.choice-flag {
  42. white-space: nowrap;
  43. width: 4em;
  44. }
  45. td.poll-chtext {
  46. width: 80%;
  47. }
  48. td.poll-chvotes .form-text {
  49. width: 85%;
  50. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.