discourse/plugins/poll/assets/stylesheets/desktop/poll.scss
Régis Hanol 4459665dee
REFACTOR: use tables instead of custom fields for polls (#6359)
Co-authored-by: Guo Xiang Tan <tgx_world@hotmail.com>
2018-11-19 14:50:00 +01:00

68 lines
1.0 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: 1.5em;
}
.info-label {
display: block;
}
}
.poll-container {
display: table-cell;
width: 100%;
}
.poll-buttons {
border-top: 1px solid $primary-low;
padding: 1em 1.25em;
.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 {
font-family: FontAwesome;
content: "\f10c";
margin-right: 0.25em;
position: relative;
vertical-align: baseline;
}
&[data-poll-type="multiple"] {
li[data-poll-option-id]:before {
content: "\f096";
}
}
}
}