Skip to content

Commit

Permalink
CMR-10283: Fix styling inconsistencies from using the latest cmr-prev…
Browse files Browse the repository at this point in the history
…iew version
  • Loading branch information
eudoroolivares2016 committed Dec 18, 2024
1 parent b10ce3f commit 05e3a72
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 0 deletions.
21 changes: 21 additions & 0 deletions search-app/resources/templates/collection-base.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,27 @@
<div id="metadata-preview">
<p>Fetching Collection...</p>
</div>
<!-- TODO we need to update a new version of EUI compliant with bootstrap-5 fix styling in the meantime -->
<style>
.btn-sm {
color: #fff !important;
}

h5 {
font-weight: bold;
font-size: 1rem;
}

h4 {
font-weight: bold;
font-size: 1.25rem;
color: inherit;
}

table, td, th {
border-color: #dee2e6 !important;
}
</style>
{% endblock %}

{% block body-end %}
Expand Down
16 changes: 16 additions & 0 deletions search-app/resources/templates/service-base.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,22 @@
<div id="metadata-preview">
<p>Fetching Service...</p>
</div>
<!-- TODO we need to update a new version of EUI compliant with bootstrap-5 fix styling in the meantime -->
<style>
h5 {
font-weight: bold;
font-size: 1rem;
}

h4 {
font-weight: bold;
font-size: 1.25rem;
color: inherit;
}
table, td, th {
border-color: #dee2e6 !important;
}
</style>
{% endblock %}

{% block body-end %}
Expand Down
13 changes: 13 additions & 0 deletions search-app/resources/templates/tool-base.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@
<div id="metadata-preview">
<p>Fetching Tool...</p>
</div>
<!-- TODO we need to update a new version of EUI compliant with bootstrap-5 fix styling in the meantime -->
<style>
h5 {
font-weight: bold;
font-size: 1rem;
}

h4 {
font-weight: bold;
font-size: 1.25rem;
color: inherit;
}
</style>
{% endblock %}

{% block body-end %}
Expand Down
17 changes: 17 additions & 0 deletions search-app/resources/templates/variable-base.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,23 @@
<div id="metadata-preview">
<p>Fetching Variable...</p>
</div>
<!-- TODO we need to update a new version of EUI compliant with bootstrap-5 fix styling in the meantime -->
<style>
h5 {
font-weight: bold;
font-size: 1rem;
}

h4 {
font-weight: bold;
font-size: 1.25rem;
color: inherit;
}

table, td, th {
border-color: #dee2e6 !important;
}
</style>
{% endblock %}

{% block body-end %}
Expand Down

0 comments on commit 05e3a72

Please sign in to comment.