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

64 lines
976 B
SCSS
Raw Normal View History

2015-05-08 01:49:06 +08:00
div.poll {
display: table;
width: 100%;
box-sizing: border-box;
2015-05-08 01:49:06 +08:00
.poll-info {
min-width: 150px;
width: 100%;
2015-05-08 01:49:06 +08:00
display: table-cell;
2018-08-28 04:53:35 +08:00
text-align: center;
2018-08-04 05:43:07 +08:00
border-left: 1px solid $primary-low;
2015-05-08 01:49:06 +08:00
2018-08-28 04:53:35 +08:00
.info-number {
font-size: 3.5em;
}
2015-05-08 01:49:06 +08:00
p {
2018-08-28 04:53:35 +08:00
margin: 1.5em;
2015-05-08 01:49:06 +08:00
}
.info-label {
2015-05-08 01:49:06 +08:00
display: block;
}
}
.poll-container {
display: table-cell;
width: 100%;
2015-05-08 01:49:06 +08:00
}
.poll-buttons {
2018-08-04 05:43:07 +08:00
border-top: 1px solid $primary-low;
2018-08-28 04:53:35 +08:00
padding: 1em 1.25em;
2015-05-08 01:49:06 +08:00
.toggle-status {
float: right;
}
}
}
.d-editor-preview {
.poll-buttons {
a:not(:first-child) {
2018-08-28 04:53:35 +08:00
margin-left: 0.25em;
}
}
2016-07-29 16:15:52 +08:00
.poll {
li[data-poll-option-id]:before {
font-family: FontAwesome;
content: "\f10c";
2018-08-28 04:53:35 +08:00
margin-right: 0.25em;
2016-07-29 16:15:52 +08:00
position: relative;
2018-08-28 04:53:35 +08:00
vertical-align: baseline;
2016-07-29 16:15:52 +08:00
}
&[data-poll-type="multiple"] {
li[data-poll-option-id]:before {
content: "\f096";
}
}
}
}