mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 00:05:50 +08:00
61 lines
921 B
SCSS
61 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";
|
|
}
|
|
}
|
|
}
|
|
}
|