Commit 92ba0b63 authored by Steffen van Bergerem's avatar Steffen van Bergerem

Move poll.scss

parent e7e12422
......@@ -41,7 +41,7 @@
@import 'footer';
@import 'opengraph';
@import 'single-post-view';
@import 'new_styles/poll';
@import 'poll';
/* map*/
@import 'leaflet';
......
.poll_form {
border-top: 1px solid $border-grey;
border-bottom: 1px solid $border-grey;
margin: 10px 0px 10px 0px;
padding: 10px 0px 5px 0px;
border-top: 1px solid $border-grey;
margin: 10px 0;
padding: 10px 0 5px;
.poll_content {
.poll-content {
margin-top: 5px;
}
.toggle_result_wrapper {
.toggle-result-wrapper {
display: inline-block;
margin-top: 10px;
}
form {
margin-bottom: 0px;
margin-bottom: 0;
}
.result-row > label { width: 100%; }
......@@ -20,21 +22,23 @@
.progress {
background-image: none;
box-shadow: 0 0 0;
height: 10px;
margin-bottom: 5px;
height: 10px !important;
.bar {
background: $border-dark-grey none;
color: $text-dark-grey;
text-align: left;
height: 100%;
text-align: left;
}
}
.submit[disabled] {
cursor: default;
color: $text-grey;
cursor: default;
&:hover, &:active {
&:hover,
&:active {
background-image: none;
}
}
......
......@@ -6,7 +6,7 @@
{{t "poll.count" count=poll.participation_count}}
</div>
</div>
<div class="poll_content">
<div class="poll-content">
{{#if show_form}}
<form action="/posts/{{poll.post_id}}/poll_participations" method="POST">
{{#poll.poll_answers}}
......@@ -21,7 +21,7 @@
</label>
</div>
{{/poll.poll_answers}}
<div class="toggle_result_wrapper">
<div class="toggle-result-wrapper">
<a class="toggle_result" href="#">{{t "poll.show_result"}}</a>
</div>
<input type="submit" class="submit pull-right btn btn-default" value="{{t "poll.vote"}}"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment