72 lines
1.1 KiB
SCSS
72 lines
1.1 KiB
SCSS
div.poll {
|
|
display: table;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
|
|
.poll-info {
|
|
min-width: 150px;
|
|
width: 100%;
|
|
display: table-cell;
|
|
text-align: center;
|
|
border-left: 1px solid $primary-low;
|
|
|
|
.info-number {
|
|
font-size: 3.5em;
|
|
}
|
|
|
|
p {
|
|
margin: 0.5em 0;
|
|
}
|
|
|
|
.info-label {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.poll-container {
|
|
display: table-cell;
|
|
width: 100%;
|
|
}
|
|
|
|
.poll-buttons {
|
|
border-top: 1px solid $primary-low;
|
|
padding: 1em;
|
|
|
|
.info-text {
|
|
line-height: 2em;
|
|
}
|
|
|
|
.toggle-status {
|
|
float: right;
|
|
}
|
|
}
|
|
}
|
|
|
|
.d-editor-preview {
|
|
.poll-buttons {
|
|
a:not(:first-child) {
|
|
margin-left: 0.25em;
|
|
}
|
|
}
|
|
|
|
.poll {
|
|
li[data-poll-option-id]:before {
|
|
position: relative;
|
|
vertical-align: baseline;
|
|
border: 2px solid $primary;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
margin-right: 0.5em;
|
|
width: 12px;
|
|
height: 12px;
|
|
content: "";
|
|
}
|
|
|
|
&[data-poll-type="multiple"] {
|
|
li[data-poll-option-id]:before {
|
|
border-radius: 3px;
|
|
}
|
|
}
|
|
}
|
|
}
|