2015-05-08 01:49:06 +08:00
|
|
|
div.poll {
|
|
|
|
display: table;
|
2016-07-28 17:39:06 +08:00
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
2015-05-08 01:49:06 +08:00
|
|
|
|
|
|
|
.poll-info {
|
2016-07-28 17:39:06 +08:00
|
|
|
min-width: 150px;
|
|
|
|
width: 100%;
|
2015-05-08 01:49:06 +08:00
|
|
|
display: table-cell;
|
2018-08-28 04:53:35 +08:00
|
|
|
text-align: center;
|
2018-08-04 05:43:07 +08:00
|
|
|
border-left: 1px solid $primary-low;
|
2015-05-08 01:49:06 +08:00
|
|
|
|
2018-08-28 04:53:35 +08:00
|
|
|
.info-number {
|
|
|
|
font-size: 3.5em;
|
|
|
|
}
|
|
|
|
|
2015-05-08 01:49:06 +08:00
|
|
|
p {
|
2019-02-05 17:47:22 +08:00
|
|
|
margin: 0.5em 0;
|
2015-05-08 01:49:06 +08:00
|
|
|
}
|
|
|
|
|
2018-05-03 08:12:19 +08:00
|
|
|
.info-label {
|
2015-05-08 01:49:06 +08:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.poll-container {
|
|
|
|
display: table-cell;
|
2016-07-28 17:39:06 +08:00
|
|
|
width: 100%;
|
2015-05-08 01:49:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.poll-buttons {
|
2018-08-04 05:43:07 +08:00
|
|
|
border-top: 1px solid $primary-low;
|
2019-02-05 17:47:22 +08:00
|
|
|
padding: 1em;
|
2015-05-08 01:49:06 +08:00
|
|
|
|
2018-11-19 21:50:00 +08:00
|
|
|
.info-text {
|
|
|
|
line-height: 2em;
|
|
|
|
}
|
|
|
|
|
2019-11-23 03:06:39 +08:00
|
|
|
:not(:first-child):not(:last-child) {
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
|
2015-05-08 01:49:06 +08:00
|
|
|
.toggle-status {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-07-29 15:19:56 +08:00
|
|
|
|
|
|
|
.d-editor-preview {
|
|
|
|
.poll-buttons {
|
|
|
|
a:not(:first-child) {
|
2018-08-28 04:53:35 +08:00
|
|
|
margin-left: 0.25em;
|
2016-07-29 15:19:56 +08:00
|
|
|
}
|
|
|
|
}
|
2016-07-29 16:15:52 +08:00
|
|
|
|
|
|
|
.poll {
|
|
|
|
li[data-poll-option-id]:before {
|
|
|
|
position: relative;
|
2018-08-28 04:53:35 +08:00
|
|
|
vertical-align: baseline;
|
2018-11-27 05:49:57 +08:00
|
|
|
border: 2px solid $primary;
|
|
|
|
border-radius: 50%;
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
content: "";
|
2016-07-29 16:15:52 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&[data-poll-type="multiple"] {
|
|
|
|
li[data-poll-option-id]:before {
|
2018-11-27 05:49:57 +08:00
|
|
|
border-radius: 3px;
|
2016-07-29 16:15:52 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-07-29 15:19:56 +08:00
|
|
|
}
|