diff --git a/decidim-budgets/app/assets/stylesheets/decidim/budgets/budget/_budget-vote-button.scss b/decidim-budgets/app/assets/stylesheets/decidim/budgets/budget/_budget-vote-button.scss index 387505f041f1f..23c8fc9065362 100644 --- a/decidim-budgets/app/assets/stylesheets/decidim/budgets/budget/_budget-vote-button.scss +++ b/decidim-budgets/app/assets/stylesheets/decidim/budgets/budget/_budget-vote-button.scss @@ -4,20 +4,19 @@ justify-content: space-between; align-items: center; - &:hover, - &:focus { - &.added { - .budget-list__action { - background: var(--primary); - border-color: white; - color: white; - } - } - &:not(.added) { - .budget-list__action { - border-color: white; - color: white; - } + span { + font-size: 1rem; + } + + &.added { + background-color: tint($success, 80%); + color: $body-font-color; + } + + &:not(.added) { + .budget-list__action { + border-color: white; + color: white; } } } diff --git a/decidim-budgets/app/views/decidim/budgets/projects/_project_budget_button.html.erb b/decidim-budgets/app/views/decidim/budgets/projects/_project_budget_button.html.erb index 604a5053b0bf4..204692aa33749 100644 --- a/decidim-budgets/app/views/decidim/budgets/projects/_project_budget_button.html.erb +++ b/decidim-budgets/app/views/decidim/budgets/projects/_project_budget_button.html.erb @@ -1,11 +1,11 @@ <% if current_user.blank? %>
-
<% else %> -
button expanded button--sc budget-vote-button budget-list__data"> +
button expanded primary button--sc budget-vote-button budget-list__data"> <%= t(voted_for?(project) ? ".added" : ".add") %>