Skip to content

Commit

Permalink
enforce resolvability-checks icons to always use portal primary color
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Sep 5, 2024
1 parent 526f811 commit bc06fff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app/assets/stylesheets/ontologies.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ $ont-metadata-bg-color: #e2ebf0;
$widget-table-border-color: #EFEFEF;


.resolvability-check svg path{
fill: var(--primary-color);
}

.admin-background{
a.chip_button_container_clickable{
color: var(--admin-color) !important;
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/components_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def paginated_list_component(id:, results:, next_page_url:, child_url:, child_tu


def resolvability_check_tag(url)
content_tag(:span, check_resolvability_container(url), style: 'display: inline-block;', onClick: "window.open('#{check_resolvability_url(url: url)}', '_blank');")
content_tag(:span, check_resolvability_container(url), class: 'resolvability-check',style: 'display: inline-block;', onClick: "window.open('#{check_resolvability_url(url: url)}', '_blank');")
end

def rounded_button_component(link)
Expand Down

0 comments on commit bc06fff

Please sign in to comment.