2015-04-24 01:33:29 +08:00
|
|
|
div.poll {
|
2018-01-25 22:53:36 +08:00
|
|
|
margin: 10px 0;
|
2018-08-04 05:43:07 +08:00
|
|
|
border: 1px solid $primary-low;
|
2015-05-08 17:13:32 +08:00
|
|
|
|
2015-07-31 18:42:19 +08:00
|
|
|
@include unselectable;
|
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
ul,
|
|
|
|
ol {
|
2015-04-24 01:33:29 +08:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
display: inline-block;
|
2015-05-05 04:29:45 +08:00
|
|
|
width: 100%;
|
2015-04-24 01:33:29 +08:00
|
|
|
}
|
|
|
|
|
2015-06-03 22:49:20 +08:00
|
|
|
li {
|
2015-04-24 01:33:29 +08:00
|
|
|
cursor: pointer;
|
2015-06-03 22:49:20 +08:00
|
|
|
font-size: 15px;
|
|
|
|
margin-bottom: 10px;
|
2015-04-24 01:33:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
li[data-poll-option-id] {
|
2016-08-01 22:07:57 +08:00
|
|
|
color: $primary;
|
2018-06-08 17:49:31 +08:00
|
|
|
padding: 0.5em 0.7em 0.7em 0.5em;
|
2015-04-24 01:33:29 +08:00
|
|
|
}
|
|
|
|
|
2018-07-01 13:20:00 +08:00
|
|
|
img {
|
|
|
|
max-width: 100% !important; /* needed to override internal styles */
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
2015-05-05 04:29:45 +08:00
|
|
|
.poll-info {
|
2018-08-04 05:43:07 +08:00
|
|
|
color: $primary-medium;
|
2015-05-05 04:29:45 +08:00
|
|
|
text-align: center;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
.info-number {
|
|
|
|
font-size: 3.5em;
|
|
|
|
}
|
|
|
|
|
2018-05-03 08:12:19 +08:00
|
|
|
.info-label {
|
2015-05-05 04:29:45 +08:00
|
|
|
font-size: 1.7em;
|
|
|
|
}
|
2018-05-03 08:12:19 +08:00
|
|
|
|
|
|
|
.info-text {
|
|
|
|
margin: 5px 0;
|
|
|
|
display: block;
|
|
|
|
}
|
2015-05-05 04:29:45 +08:00
|
|
|
}
|
|
|
|
|
2015-04-24 01:33:29 +08:00
|
|
|
.poll-container {
|
2015-05-05 04:29:45 +08:00
|
|
|
vertical-align: middle;
|
|
|
|
padding: 10px;
|
|
|
|
|
2016-06-09 21:33:17 +08:00
|
|
|
.poll-results-number-rating {
|
2015-05-05 04:29:45 +08:00
|
|
|
font-size: 2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.poll-buttons {
|
2015-05-06 02:14:38 +08:00
|
|
|
button {
|
|
|
|
float: none;
|
|
|
|
}
|
2018-05-12 08:14:58 +08:00
|
|
|
.info-text {
|
|
|
|
margin: 0 5px;
|
2018-08-04 05:43:07 +08:00
|
|
|
color: $primary-medium;
|
2018-05-12 08:14:58 +08:00
|
|
|
}
|
2015-04-24 01:33:29 +08:00
|
|
|
}
|
|
|
|
|
2016-06-07 18:55:01 +08:00
|
|
|
.poll-voters-list {
|
|
|
|
li {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2017-01-13 06:16:39 +08:00
|
|
|
margin-top: 4px;
|
2016-06-07 18:55:01 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.poll-voters-toggle-expand {
|
2016-06-09 21:33:17 +08:00
|
|
|
width: 100%;
|
2016-06-07 18:55:01 +08:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2015-04-24 01:33:29 +08:00
|
|
|
.results {
|
|
|
|
.option {
|
2015-06-03 22:49:20 +08:00
|
|
|
padding-bottom: 5px;
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2015-04-24 01:33:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.percentage {
|
2016-06-22 08:01:23 +08:00
|
|
|
font-size: 20px;
|
2015-06-03 22:49:20 +08:00
|
|
|
float: right;
|
2018-08-04 05:43:07 +08:00
|
|
|
color: $primary-medium;
|
2016-06-22 08:01:23 +08:00
|
|
|
margin-left: 5px;
|
2015-04-24 01:33:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.bar-back {
|
2018-08-04 05:43:07 +08:00
|
|
|
background: $primary-low;
|
2015-04-24 01:33:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.bar {
|
|
|
|
height: 10px;
|
2018-08-04 05:43:07 +08:00
|
|
|
background: $primary-medium;
|
2017-01-25 11:56:39 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.chosen .bar {
|
|
|
|
background: $tertiary;
|
2015-04-24 01:33:29 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&[data-poll-type="number"] {
|
2016-06-07 18:55:01 +08:00
|
|
|
li[data-poll-option-id] {
|
2015-04-24 01:33:29 +08:00
|
|
|
display: inline-block;
|
2016-07-29 10:30:38 +08:00
|
|
|
width: 45px;
|
2016-06-07 18:55:01 +08:00
|
|
|
margin-right: 5px;
|
2015-04-24 01:33:29 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|