advpoll.css in Advanced Poll 7.2
Same filename and directory in other branches
.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%; } .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; } #advpolltable { display: none; max-width: 265px; margin: 0; padding: 0; border: 1px solid #ccc; } #advpolltable tbody { margin: 5px; padding-bottom: 0; background-color: #eee; text-align: left; } #advpolltable thead th { color: #000; font-weight: bold; text-align: center; padding: 5px 0 10px 0; background-color: transparent; width: 260px; } #advpolltable thead tr { background: none transparent; } #advpolltable tfoot td { text-align: center; padding: 0; margin: 0; width: 265px; } #advpolltable tfoot tr { background: transparent; } #advpolltable tfoot .form-submit { margin: 10px 0; } #advpolltable tr .form-item { white-space: normal; } #advpolltable td li { display: block; width: 198px; list-style: none; float: right; } #advpolltable td label { display: block; word-wrap: break-word; width: 200px; } #advpolltable 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, #advpolltable 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.cssView source
-
- .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%;
- }
-
- .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;
- }
-
- #advpolltable {
- display: none;
- max-width: 265px;
- margin: 0;
- padding: 0;
- border: 1px solid #ccc;
- }
-
- #advpolltable tbody {
- margin: 5px;
- padding-bottom: 0;
- background-color: #eee;
- text-align: left;
-
- }
-
- #advpolltable thead th {
- color: #000;
- font-weight: bold;
- text-align: center;
- padding: 5px 0 10px 0;
- background-color: transparent;
- width: 260px;
- }
-
- #advpolltable thead tr {
- background: none transparent;
- }
-
- #advpolltable tfoot td {
- text-align: center;
- padding: 0;
- margin: 0;
- width: 265px;
- }
-
- #advpolltable tfoot tr {
- background: transparent;
-
- }
-
- #advpolltable tfoot .form-submit {
- margin: 10px 0;
- }
-
-
- #advpolltable tr .form-item {
- white-space: normal;
- }
-
- #advpolltable td li {
- display: block;
- width: 198px;
- list-style: none;
- float: right;
- }
-
- #advpolltable td label {
- display: block;
- word-wrap: break-word;
- width: 200px;
- }
-
- #advpolltable 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,
- #advpolltable 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;
- }