Skip to content

Commit

Permalink
Merge branch 'main' into feat/Tapis-v3-redesign
Browse files Browse the repository at this point in the history
  • Loading branch information
jarosenb authored Aug 14, 2024
2 parents 7b262fb + 6e297f8 commit a427c7f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ <h3 class="c-app-card__title"><i class="ds-icon ds-icon-{{app.icon}}"></i> {{app

<ul class="c-app-card__flags">
{% if app.is_popular %}
<li><strong>Popular</strong></li>
<li class="is-popular"><strong>Popular</strong></li>
{% endif %}

{% if not app.is_popular and app.is_simcenter %}
<li>SimCenter</li>
<li class="is-simcenter"><strong>SimCenter</strong></li>
{% endif %}


Expand Down
5 changes: 4 additions & 1 deletion designsafe/static/styles/app-card.css
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,12 @@ a.c-app-card:active {
.c-app-card__flags {
font-size: 1.2rem;
}
.c-app-card__flags > *:has(strong) {
.c-app-card__flags > .is-popular {
background-color: #ECE4BF;
}
.c-app-card__flags > .is-simcenter {
background-color: #d9edf7;
}

.c-app-card__repo {
font-style: italic;
Expand Down

0 comments on commit a427c7f

Please sign in to comment.