You are here

advpoll.css in Advanced Poll 7.3

Same filename and directory in other branches
  1. 7 css/advpoll.css
  2. 7.2 css/advpoll.css
.poll {
  overflow: hidden;
}
.poll .bar {
  height: 1em;
  margin: 1px 0;
  background-color: #ddd;
}

.poll .voted .bar {
  border: 1px solid #111;
}
.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;
}

.poll-bar {
  margin-bottom: 2%;
}

.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%;
}

.node-advpoll #message {
    color: #DD0000;
    font-style: italic;
}

.advpoll-write-in {
    position: relative;
    width: 375px;
}

.advpoll-write-in .form-item {
    padding: 0px;
    margin: 0px;
    position: relative;
    top: -18px;
    left: 18px;
}

.advpoll-ranking-wrapper ul.selectable-list {
    margin: 0;
    padding: 0;
    float: left;
    width: 50%;
}

.advpoll-ranking-wrapper .advpoll-vote-region {
    float: right;
}

.advpoll-ranking-wrapper #message {
    clear: both;
}

.advpoll-ranking-wrapper .tabledrag-toggle-weight-wrapper {
    display: none;
}

.advpoll-ranking-table-wrapper {
    max-width: 265px;
    margin: 0;
    padding: 0;
    border: 1px solid #ccc;
}

.advpoll-ranking-table-wrapper tbody {
    margin: 5px;
    padding-bottom: 0;
    background-color: #eee;
    text-align: left;

}

.advpoll-ranking-table-wrapper thead th {
    color: #000;
    font-weight: bold;
    text-align: center;
    padding: 5px 0 10px 0;
    background-color: transparent;
    width: 260px;
}

.advpoll-ranking-table-wrapper thead tr {
    background: none transparent;
}

.advpoll-ranking-table-wrapper tfoot td {
    text-align: center;
    padding: 0;
    margin: 0;
    width: 265px;
}

.advpoll-ranking-table-wrapper tfoot tr {
    background: transparent;
}

.advpoll-ranking-table-wrapper tfoot .form-submit {
    margin: 10px 0;
}


.advpoll-ranking-table-wrapper tr .form-item {
    white-space: normal;
}

.advpoll-ranking-table-wrapper td {
  border: none;
  min-height: 20px;
}

.advpoll-ranking-table-wrapper td li {
  display: block;
  width: 198px;
  list-style: none;
  float: right;
}

.advpoll-ranking-table-wrapper td label {
  display: block;
  word-wrap: break-word;
  width: 200px;
}

.advpoll-ranking-table-wrapper td .form-item label {
    display: block;
    padding: 0;
    margin: 0 0 5px 0;
    width: 210px;
    float: right;
}

.advpoll-ranking-wrapper ul.selectable-list label a,
.advpoll-ranking-table-wrapper td .form-item label a {
    float: right;
}

.node-advpoll .run-off-poll {
    margin: 0;
}

.node-advpoll .run-off-poll ol {
   margin: 0;
   padding: 10px 0 10px 30px;
}

.run-off-poll caption {
    text-align: center;
}

File

css/advpoll.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 .voted .bar {
  10. border: 1px solid #111;
  11. }
  12. .poll .bar .foreground {
  13. background-color: #000;
  14. height: 1em;
  15. float: left; /* LTR */
  16. }
  17. .poll .links {
  18. text-align: center;
  19. }
  20. .poll .percent {
  21. text-align: right; /* LTR */
  22. }
  23. .poll .total {
  24. text-align: center;
  25. }
  26. .poll .vote-form {
  27. text-align: center;
  28. }
  29. .poll .vote-form .choices {
  30. text-align: left; /* LTR */
  31. margin: 0 auto;
  32. display: table;
  33. }
  34. .poll .vote-form .choices .title {
  35. font-weight: bold;
  36. }
  37. .poll-bar {
  38. margin-bottom: 2%;
  39. }
  40. .node-form #edit-poll-more {
  41. margin: 0;
  42. }
  43. .node-form #poll-choice-table .form-text {
  44. display: inline;
  45. width: auto;
  46. }
  47. .node-form #poll-choice-table td.choice-flag {
  48. white-space: nowrap;
  49. width: 4em;
  50. }
  51. td.poll-chtext {
  52. width: 80%;
  53. }
  54. td.poll-chvotes .form-text {
  55. width: 85%;
  56. }
  57. .node-advpoll #message {
  58. color: #DD0000;
  59. font-style: italic;
  60. }
  61. .advpoll-write-in {
  62. position: relative;
  63. width: 375px;
  64. }
  65. .advpoll-write-in .form-item {
  66. padding: 0px;
  67. margin: 0px;
  68. position: relative;
  69. top: -18px;
  70. left: 18px;
  71. }
  72. .advpoll-ranking-wrapper ul.selectable-list {
  73. margin: 0;
  74. padding: 0;
  75. float: left;
  76. width: 50%;
  77. }
  78. .advpoll-ranking-wrapper .advpoll-vote-region {
  79. float: right;
  80. }
  81. .advpoll-ranking-wrapper #message {
  82. clear: both;
  83. }
  84. .advpoll-ranking-wrapper .tabledrag-toggle-weight-wrapper {
  85. display: none;
  86. }
  87. .advpoll-ranking-table-wrapper {
  88. max-width: 265px;
  89. margin: 0;
  90. padding: 0;
  91. border: 1px solid #ccc;
  92. }
  93. .advpoll-ranking-table-wrapper tbody {
  94. margin: 5px;
  95. padding-bottom: 0;
  96. background-color: #eee;
  97. text-align: left;
  98. }
  99. .advpoll-ranking-table-wrapper thead th {
  100. color: #000;
  101. font-weight: bold;
  102. text-align: center;
  103. padding: 5px 0 10px 0;
  104. background-color: transparent;
  105. width: 260px;
  106. }
  107. .advpoll-ranking-table-wrapper thead tr {
  108. background: none transparent;
  109. }
  110. .advpoll-ranking-table-wrapper tfoot td {
  111. text-align: center;
  112. padding: 0;
  113. margin: 0;
  114. width: 265px;
  115. }
  116. .advpoll-ranking-table-wrapper tfoot tr {
  117. background: transparent;
  118. }
  119. .advpoll-ranking-table-wrapper tfoot .form-submit {
  120. margin: 10px 0;
  121. }
  122. .advpoll-ranking-table-wrapper tr .form-item {
  123. white-space: normal;
  124. }
  125. .advpoll-ranking-table-wrapper td {
  126. border: none;
  127. min-height: 20px;
  128. }
  129. .advpoll-ranking-table-wrapper td li {
  130. display: block;
  131. width: 198px;
  132. list-style: none;
  133. float: right;
  134. }
  135. .advpoll-ranking-table-wrapper td label {
  136. display: block;
  137. word-wrap: break-word;
  138. width: 200px;
  139. }
  140. .advpoll-ranking-table-wrapper td .form-item label {
  141. display: block;
  142. padding: 0;
  143. margin: 0 0 5px 0;
  144. width: 210px;
  145. float: right;
  146. }
  147. .advpoll-ranking-wrapper ul.selectable-list label a,
  148. .advpoll-ranking-table-wrapper td .form-item label a {
  149. float: right;
  150. }
  151. .node-advpoll .run-off-poll {
  152. margin: 0;
  153. }
  154. .node-advpoll .run-off-poll ol {
  155. margin: 0;
  156. padding: 10px 0 10px 30px;
  157. }
  158. .run-off-poll caption {
  159. text-align: center;
  160. }