Changed token message background color

This commit is contained in:
María Checa
2017-10-07 19:21:27 +02:00
parent 728edf64a5
commit 65f5c9efa9
2 changed files with 8 additions and 2 deletions

View File

@@ -335,6 +335,12 @@
word-wrap: break-word;
}
.callout.token-message {
background-color: #FFFFFF;
border-color: $info-border;
color: $color-info;
}
.callout.proposal-retired {
font-size: $base-font-size;
}

View File

@@ -51,12 +51,12 @@
<% end %>
<% if poll_voter_token(@poll, current_user).empty? %>
<div class="callout primary js-token-message" style="display: none">
<div class="callout token-message js-token-message" style="display: none">
<%= t('poll_questions.show.voted_token') %>
</div>
<% end %>
<%= link_to t("polls.show.participate_in_other_polls"), polls_path, class: "button" %>pconfig/locales/en/general.yml
<%= link_to t("polls.show.participate_in_other_polls"), polls_path, class: "button" %>
</div>
</div>