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