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

61 lines
922 B
SCSS
Raw Normal View History

2015-05-07 13:49:06 -04:00
div.poll {
display: table;
min-width: 500px;
width: 100%;
box-sizing: border-box;
2015-05-07 13:49:06 -04:00
.poll-info {
min-width: 150px;
width: 100%;
2015-05-07 13:49:06 -04:00
display: table-cell;
border-left: 1px solid $border-color;
p {
margin: 40px 20px;
}
.info-label {
2015-05-07 13:49:06 -04:00
display: block;
}
}
.poll-container {
display: table-cell;
min-width: 330px;
width: 100%;
2015-05-07 13:49:06 -04:00
}
.poll-buttons {
border-top: 1px solid $border-color;
2015-05-08 05:13:32 -04:00
padding: 10px;
2015-05-07 13:49:06 -04:00
.toggle-status {
float: right;
}
}
}
.d-editor-preview {
.poll-buttons {
a:not(:first-child) {
margin-left: 5px;
}
}
2016-07-29 04:15:52 -04:00
.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";
}
}
}
}