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

61 lines
922 B
SCSS

div.poll {
display: table;
min-width: 500px;
width: 100%;
box-sizing: border-box;
.poll-info {
min-width: 150px;
width: 100%;
display: table-cell;
border-left: 1px solid $border-color;
p {
margin: 40px 20px;
}
.info-label {
display: block;
}
}
.poll-container {
display: table-cell;
min-width: 330px;
width: 100%;
}
.poll-buttons {
border-top: 1px solid $border-color;
padding: 10px;
.toggle-status {
float: right;
}
}
}
.d-editor-preview {
.poll-buttons {
a:not(:first-child) {
margin-left: 5px;
}
}
.poll {
li[data-poll-option-id]:before {
font-family: FontAwesome;
content: "\f10c";
margin-right: 3px;
position: relative;
top: 1px;
}
&[data-poll-type="multiple"] {
li[data-poll-option-id]:before {
content: "\f096";
}
}
}
}