You are here

choices.css in Poll Improved 7

.field-type-choices .choice-item {
  position: relative;
  height: 1.5em;
}
.field-type-choices .field-items {
  border-top: 1px #EEE solid;
}
.field-type-choices .choice-data {
  width: 100%;
  position: relative;
  border: 1px #EEE solid;
  border-top: none;
}
.field-type-choices .choice-data input {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 3px;
  float: left;
}
.field-type-choices .choice-data label {
  cursor: pointer;
  display: block;
  float: left;
  position: relative;
  width: 90%;
  z-index: 2;
  padding-left: 25px;
}
.field-type-choices .choice-percentage-bar {
  height: 100%;
  width: 1%;
  min-width: 1px;
  background-color: #EEE;
  position: absolute;
  z-index: 1;
}
.field-type-choices input.choice {
  margin: 2px 5px;
  visibility: hidden;
}
.field-type-choices .choice-votecount,
.field-type-choices .choices-total-vote-count {
  float: right;
  color: #DEDEDE;
  position: relative;
}
.voted .choice-votecount,
.voted .choices-total-vote-count {
  color: inherit;
}

File

modules/choices/theme/choices.css
View source
  1. .field-type-choices .choice-item {
  2. position: relative;
  3. height: 1.5em;
  4. }
  5. .field-type-choices .field-items {
  6. border-top: 1px #EEE solid;
  7. }
  8. .field-type-choices .choice-data {
  9. width: 100%;
  10. position: relative;
  11. border: 1px #EEE solid;
  12. border-top: none;
  13. }
  14. .field-type-choices .choice-data input {
  15. position: absolute;
  16. z-index: 2;
  17. left: 0;
  18. top: 3px;
  19. float: left;
  20. }
  21. .field-type-choices .choice-data label {
  22. cursor: pointer;
  23. display: block;
  24. float: left;
  25. position: relative;
  26. width: 90%;
  27. z-index: 2;
  28. padding-left: 25px;
  29. }
  30. .field-type-choices .choice-percentage-bar {
  31. height: 100%;
  32. width: 1%;
  33. min-width: 1px;
  34. background-color: #EEE;
  35. position: absolute;
  36. z-index: 1;
  37. }
  38. .field-type-choices input.choice {
  39. margin: 2px 5px;
  40. visibility: hidden;
  41. }
  42. .field-type-choices .choice-votecount,
  43. .field-type-choices .choices-total-vote-count {
  44. float: right;
  45. color: #DEDEDE;
  46. position: relative;
  47. }
  48. .voted .choice-votecount,
  49. .voted .choices-total-vote-count {
  50. color: inherit;
  51. }