Skip to content

Commit

Permalink
Improve link contrast on dark panels
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyh committed Feb 19, 2021
1 parent a042f21 commit 018e5b6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion cubedash/static/base.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cubedash/static/base.sass
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ ul
> h1
color: #fff
a
color: #999
color: #aeaeae

// Allow horizontal scrolling rather than wrapping content
&.overflowable
Expand Down
7 changes: 1 addition & 6 deletions cubedash/templates/metadata-types.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
.panel.odd > h3 {
margin-bottom: 10px;
}

.strong {
font-weight: bold;
}
</style>
{% endblock %}

Expand All @@ -35,8 +31,7 @@ <h2 class="followed lonesome">{{ datacube_metadata_types | count }} Local Metada
{% for metadata_type in datacube_metadata_types %}
<tr>
<td>
<a href="{{ url_for('product.metadata_type_page', name=metadata_type.name) }}"
class="strong">
<a href="{{ url_for('product.metadata_type_page', name=metadata_type.name) }}">
{{ metadata_type.name }}
</a>
</td>
Expand Down
6 changes: 1 addition & 5 deletions cubedash/templates/products.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
.panel > h2 {
margin-bottom: 30px;
}

.strong {
font-weight: bold;
}
</style>
{% endblock %}

Expand Down Expand Up @@ -42,7 +38,7 @@ <h2 class="followed lonesome">{{ datacube_products | count }} Local Products</h2
<tr>
<td>
<a href="{{ url_for('product.product_page', name=product.name) }}"
class="{% if summary.dataset_count == 0 %}muted{% endif %} strong"
class="{% if summary.dataset_count == 0 %}muted{% endif %}"
>{{ product.name }}</a>
</td>
<td>{{ product.definition.description }}</td>
Expand Down

0 comments on commit 018e5b6

Please sign in to comment.