From b26100826c73969a05f2357019f32702bf13269a Mon Sep 17 00:00:00 2001 From: "jorg.vr" Date: Tue, 17 Dec 2024 16:13:05 +0100 Subject: [PATCH] Use primary color for full icon --- .../stylesheets/components/evaluations.css.scss | 12 +++++++----- app/views/evaluations/_evaluation_table.html.erb | 2 +- app/views/evaluations/_feedback_status.html.erb | 4 ++-- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/app/assets/stylesheets/components/evaluations.css.scss b/app/assets/stylesheets/components/evaluations.css.scss index de06ae6203..a6a260e077 100644 --- a/app/assets/stylesheets/components/evaluations.css.scss +++ b/app/assets/stylesheets/components/evaluations.css.scss @@ -182,12 +182,12 @@ ul.feedback-list { &:hover, &:focus { font-weight: 400; - background: var(--d-secondary-container); - color: var(--d-on-secondary-container); + background: var(--d-primary-container); + color: var(--d-on-primary-container); opacity: 0.75; .feedback-icon .circle { - fill: var(--d-secondary-container); + fill: var(--d-primary-container); opacity: 0.75; } } @@ -214,8 +214,10 @@ ul.feedback-list { color: inherit; } - i.completed { - color: var(--d-secondary) !important; + &.completed { + i { + color: var(--d-primary) !important; + } } .circle { diff --git a/app/views/evaluations/_evaluation_table.html.erb b/app/views/evaluations/_evaluation_table.html.erb index af6ebc8248..3d4cb649bc 100644 --- a/app/views/evaluations/_evaluation_table.html.erb +++ b/app/views/evaluations/_evaluation_table.html.erb @@ -18,7 +18,7 @@ <%= link_to evaluation_feedback_path(evaluation, feedback), title: feedback_title(feedback), "data-bs-toggle": "tooltip", - class: "btn btn-icon d-btn-secondary" do %> + class: "btn btn-icon" do %> <%= render partial: 'feedback_status', locals: { evaluation: feedback.evaluation, feedback: feedback } %> <% end %> diff --git a/app/views/evaluations/_feedback_status.html.erb b/app/views/evaluations/_feedback_status.html.erb index 2cda72a761..eabf1faa90 100644 --- a/app/views/evaluations/_feedback_status.html.erb +++ b/app/views/evaluations/_feedback_status.html.erb @@ -1,11 +1,11 @@ - +