discourse/plugins/poll/assets/stylesheets/desktop/poll.scss
Penar Musaraj 005e1ecb9b
FEATURE: Update Font Awesome to v5.4.1 and SVGs (#6557)
* First take on subsetting svg icons

* FontAwesome 5 svg subset WIP

* Include icons from plugins/badges into svg sprite subset

* add svg icon support to themes

* Add spec for SvgSprite

* Misc. SVG icon fixes

* Use FA5 svgs in local-dates plugin

* CSS adjustments, fix SVG icons in group flair

* Use SVG icons in poll plugin

* Add SVG icons to /wizard
2018-11-07 13:05:43 -05:00

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;
.toggle-status {
float: right;
}
}
}
.d-editor-preview {
.poll-buttons {
a:not(:first-child) {
margin-left: 0.25em;
}
}
.poll {
li[data-poll-option-id]:before {
position: relative;
vertical-align: baseline;
border: 2px solid $primary;
border-radius: 50%;
display: inline-block;
margin-right: 0.5em;
width: 12px;
height: 12px;
content: "";
}
&[data-poll-type="multiple"] {
li[data-poll-option-id]:before {
border-radius: 3px;
}
}
}
}