discourse/plugins/poll/assets/stylesheets/desktop/poll.scss
2016-07-29 16:15:52 +08:00

60 lines
921 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-text {
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";
}
}
}
}