Commit eeabd4ee52010e4974fd48c27f84555d4bb556a8
1 parent
3e8cadea
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
pairwise_plugin: fix css
Showing
2 changed files
with
6 additions
and
11 deletions
Show diff stats
plugins/pairwise/lib/pairwise_plugin/helpers/viewer_helper.rb
@@ -10,7 +10,7 @@ module PairwisePlugin::Helpers::ViewerHelper | @@ -10,7 +10,7 @@ module PairwisePlugin::Helpers::ViewerHelper | ||
10 | loading_javascript = pairwise_spinner_show_function_call(pairwise_content) + pairwise_hide_skip_call(pairwise_content) | 10 | loading_javascript = pairwise_spinner_show_function_call(pairwise_content) + pairwise_hide_skip_call(pairwise_content) |
11 | 11 | ||
12 | content_tag(:div, prompt.send("#{direction}_choice_text"), :class => 'choice-text') + | 12 | content_tag(:div, prompt.send("#{direction}_choice_text"), :class => 'choice-text') + |
13 | - link_to_remote(_('Vote'), :loading => loading_javascript, :url => link_target) | 13 | + link_to_remote(_('Vote'), :loading => loading_javascript, :url => link_target, :html => {:class => 'vote-link'}) |
14 | end | 14 | end |
15 | 15 | ||
16 | def choose_right_link(pairwise_content, question, prompt, embeded = false, source = nil, appearance_id = nil) | 16 | def choose_right_link(pairwise_content, question, prompt, embeded = false, source = nil, appearance_id = nil) |
plugins/pairwise/public/style.css
@@ -77,7 +77,7 @@ | @@ -77,7 +77,7 @@ | ||
77 | position: relative; | 77 | position: relative; |
78 | } | 78 | } |
79 | 79 | ||
80 | -#pairwise_main .prompt a:hover { | 80 | +#pairwise_main .prompt a.vote-link:hover { |
81 | background-color: #2D4D0D; | 81 | background-color: #2D4D0D; |
82 | } | 82 | } |
83 | 83 | ||
@@ -91,7 +91,8 @@ | @@ -91,7 +91,8 @@ | ||
91 | float: right; | 91 | float: right; |
92 | } | 92 | } |
93 | 93 | ||
94 | -#pairwise_main .prompt a{ | 94 | +#pairwise_main .prompt a.vote-link { |
95 | + text-decoration: none; | ||
95 | color: rgb(243, 243, 243) !important; | 96 | color: rgb(243, 243, 243) !important; |
96 | font-weight: bold; | 97 | font-weight: bold; |
97 | font-size: 18px; | 98 | font-size: 18px; |
@@ -109,7 +110,8 @@ | @@ -109,7 +110,8 @@ | ||
109 | } | 110 | } |
110 | #pairwise_main .prompt .choice-text { | 111 | #pairwise_main .prompt .choice-text { |
111 | color: #2a2d28; | 112 | color: #2a2d28; |
112 | - font-size: 15px; | 113 | + font-size: 14px; |
114 | + padding: 1px; | ||
113 | } | 115 | } |
114 | 116 | ||
115 | #pairwise_main .separator { | 117 | #pairwise_main .separator { |
@@ -241,13 +243,6 @@ div#pairwise_form_fields textarea { | @@ -241,13 +243,6 @@ div#pairwise_form_fields textarea { | ||
241 | 243 | ||
242 | } | 244 | } |
243 | 245 | ||
244 | -#pairwise_main div.prompt a { | ||
245 | - color:white; | ||
246 | - display: block; | ||
247 | - text-decoration: none; | ||
248 | -} | ||
249 | - | ||
250 | - | ||
251 | #pairwise_main div#suggestions_box { | 246 | #pairwise_main div#suggestions_box { |
252 | padding: 10px; | 247 | padding: 10px; |
253 | margin-top: 15px; | 248 | margin-top: 15px; |