Skip to content

Commit

Permalink
Bs5 badge upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
Onurcankaratay committed Oct 4, 2024
1 parent ac52484 commit dfcfd38
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function mapFeaturesToBadges(features = []) {
const { display_title = null, '@id': featureID } = feature;
return (
// TODO: create own ~ `.tag` styling or override Bootstrap's default. Maybe.
<a className="badge badge-pill badge-info text-400 text-small d-inline-block me-03 mb-03 pb-04 link-underline-hover"
<a className="badge rounded-pill bg-info text-400 text-small d-inline-block me-03 mb-03 pb-04"
href={featureID} target="_blank" rel="noopener noreferrer" key={featureID}>
{ display_title }
</a>
Expand Down
8 changes: 5 additions & 3 deletions src/encoded/static/scss/encoded/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ $modal-backdrop-opacity : 0.8;

$facetlist-selected-term-color : #248bac;

$badge-color-warning : #e29302;
$badge-color-error : #bd0000;
$badge-color-internal-action: #d0d0d0;
$badge-padding-y: .25em;
$badge-padding-x: .4em;
$badge-font-size: 75%;
$badge-border-radius: .25em;
$badge-color: #fff;

$font-family-sans-serif : "Source Sans Pro", "Work Sans", Helvetica, Arial, sans-serif;
$font-family-serif : "Yrsa", "Times New Roman", Georgia, Times, serif;
Expand Down

0 comments on commit dfcfd38

Please sign in to comment.