Skip to content

Commit

Permalink
Merge pull request #46 from lifewatch-eric/ecoportal-ontoportal-reset
Browse files Browse the repository at this point in the history
Fix: Green buttons replaced with the primary color of the portal
  • Loading branch information
syphax-bouazzouni authored Jun 3, 2024
2 parents cf06ac9 + 5b2bd3c commit 7170e5d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions app/assets/stylesheets/bioportal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ body{
position: relative;
}

hr {
margin: 0;
}

.alignright {
float:right;
}
Expand Down
4 changes: 2 additions & 2 deletions app/views/landscape/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
%span#chartTooltipValue
None

%button#propertiesBtn{:style => "margin-top: 1em;", :type => "button", :class => "btn btn-success", :onclick => "toggleDiv('properties')"}= t("landscape.more_properties_charts")
%button#propertiesBtn{:style => "margin-top: 1em;", :type => "button", :class => "btn btn-primary", :onclick => "toggleDiv('properties')"}= t("landscape.more_properties_charts")

%hr{:style => "margin-top: 5em; margin-bottom: 5em;"}

Expand Down Expand Up @@ -158,7 +158,7 @@
= check_box_tag "selectedRelations[]", relation, true, :id => relation
= label_tag relation, relation
%br
%button{:type => "button", :class => "btn btn-success", :onclick => "buildNetwork(ontologyRelationsArray)", :style => "margin-bottom: 1em;"}= t("landscape.filter_network")
%button{:type => "button", :class => "btn btn-primary", :onclick => "buildNetwork(ontologyRelationsArray)", :style => "margin-bottom: 1em;"}= t("landscape.filter_network")


-if fairness_service_enabled?
Expand Down
2 changes: 1 addition & 1 deletion app/views/notes/_new_comment.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
%div.form-group
%textarea.form-control.reply_body{cols: "1", name: "body", required: true, placeholder: t('notes.new_comment.comment'), rows: "1", style: "height: 100px;", tabindex: "0"}

= submit_tag t('notes.new_comment.save') , class:'btn btn-success btn-block'
= submit_tag t('notes.new_comment.save') , class:'btn btn-primary btn-block'
2 changes: 1 addition & 1 deletion app/views/notes/_new_proposal.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@
.form-group
= text_field_tag 'proposal[parent]','', placeholder: t('notes.new_proposal.parent'), class: "form-control", required: true

= submit_tag t('notes.new_proposal.save') , class:'btn btn-success btn-block'
= submit_tag t('notes.new_proposal.save') , class:'btn btn-primary btn-block'

0 comments on commit 7170e5d

Please sign in to comment.