mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-04 12:51:41 -05:00
60 lines
921 B
SCSS
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";
|
|
}
|
|
}
|
|
}
|
|
}
|