mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 08:23:39 +08:00
4459665dee
Co-authored-by: Guo Xiang Tan <tgx_world@hotmail.com>
68 lines
1.0 KiB
SCSS
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";
|
|
}
|
|
}
|
|
}
|
|
}
|