Skip to content

Commit

Permalink
Update resource widget url colour
Browse files Browse the repository at this point in the history
Updates record page resource widget licence url text to be a lighter colour (lightblue)
  • Loading branch information
ItIsJordan committed Dec 20, 2023
1 parent 92aa423 commit c078a94
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hepdata/modules/records/assets/js/hepdata_resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ HEPDATA.hepdata_resources = (function () {
})
.text(function(d) {
return d['data_license'] ? d['data_license'].name : null;
});
})
.attr("class", "licence-url");

resource_item.append("p")
.attr('display', function(d){
Expand Down
4 changes: 4 additions & 0 deletions hepdata/modules/theme/assets/scss/record.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1353,3 +1353,7 @@ g.node {
}

}

.licence-url {
color: lightblue;
}

0 comments on commit c078a94

Please sign in to comment.