discourse/plugins/poll/assets/stylesheets/desktop/poll.scss

64 lines
976 B
SCSS
Raw Normal View History

2015-05-07 13:49:06 -04:00
div.poll {
display: table;
width: 100%;
box-sizing: border-box;
2015-05-07 13:49:06 -04:00
.poll-info {
min-width: 150px;
width: 100%;
2015-05-07 13:49:06 -04:00
display: table-cell;
2018-08-27 16:53:35 -04:00
text-align: center;
2018-08-03 17:43:07 -04:00
border-left: 1px solid $primary-low;
2015-05-07 13:49:06 -04:00
2018-08-27 16:53:35 -04:00
.info-number {
font-size: 3.5em;
}
2015-05-07 13:49:06 -04:00
p {
2018-08-27 16:53:35 -04:00
margin: 1.5em;
2015-05-07 13:49:06 -04:00
}
.info-label {
2015-05-07 13:49:06 -04:00
display: block;
}
}
.poll-container {
display: table-cell;
width: 100%;
2015-05-07 13:49:06 -04:00
}
.poll-buttons {
2018-08-03 17:43:07 -04:00
border-top: 1px solid $primary-low;
2018-08-27 16:53:35 -04:00
padding: 1em 1.25em;
2015-05-07 13:49:06 -04:00
.toggle-status {
float: right;
}
}
}
.d-editor-preview {
.poll-buttons {
a:not(:first-child) {
2018-08-27 16:53:35 -04:00
margin-left: 0.25em;
}
}
2016-07-29 04:15:52 -04:00
.poll {
li[data-poll-option-id]:before {
font-family: FontAwesome;
content: "\f10c";
2018-08-27 16:53:35 -04:00
margin-right: 0.25em;
2016-07-29 04:15:52 -04:00
position: relative;
2018-08-27 16:53:35 -04:00
vertical-align: baseline;
2016-07-29 04:15:52 -04:00
}
&[data-poll-type="multiple"] {
li[data-poll-option-id]:before {
content: "\f096";
}
}
}
}