Skip to content

Commit

Permalink
feat: add small visual enhancements (#24)
Browse files Browse the repository at this point in the history
* Removed extra 'Learn more about the repository'

* Still under development banner color white / green background

* update grays in datasets and resource read

* changes inactive stage background color

* needs rebase

---------

Co-authored-by: toavina <[email protected]>
Co-authored-by: Chas Nelson <[email protected]>
  • Loading branch information
3 people authored Aug 30, 2024
1 parent 221a315 commit 8ed195b
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 5 deletions.
59 changes: 55 additions & 4 deletions ckanext/zarr/assets/css/zarr.css
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,24 @@
color: var(--secondary);
}

#dataset-search-form .btn-default:hover > .fa-search {
color: var(--secondary);
#dataset-search-form .btn-default:hover > .fa-search,
#organization-datasets-search-form .btn-default:hover > .fa-search,
#organization-search-form .btn-default:hover > .fa-search,
#group-search-form .btn-default:hover > .fa-search {
color: #198A00;
}

#dataset-search-form .btn-default > .fa-search {
color: var(--background);
#dataset-search-form .btn-default > .fa-search,
#organization-datasets-search-form .btn-default > .fa-search,
#organization-search-form .btn-default > .fa-search,
#group-search-form .btn-default > .fa-search {
color: #DFF0DB;
}

.big-search-form .lens-btn {
background-color: white;
padding-right: 14px;
padding-left: 14px;
}

.dataset-resources li a.badge, .dataset-resources li a.badge:hover {
Expand Down Expand Up @@ -299,3 +311,42 @@
margin-top: 20px;
color: var(--primary);
}
/* about */

/* misc */
.dev-banner {
background-color: var(--primary);
}

@media only screen and (min-width: 628px) {
ul li.dev-banner a {
margin-left: 0 !important;
background-color: var(--primary) !important;
}
}

.module-heading {
background-color: var(--primary10);
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
--bs-table-accent-bg: var(--primary10);
}

.dataset-heading .bg-secondary, .dataset-private.badge.badge-inverse.pull-right {
background-color: var(--primary65) !important; /* original is :important as well */
box-shadow: 0 0 0 1px rgba(25, 138, 0, 0.6);
}

.dataset-resources li {
box-shadow: 0 0 0 1px rgba(255, 165, 0, 0.4);
}

.editor .editor-info-block {
background-color: var(--primary10);
}

.stages li {
background-color: var(--primary10);
}
/* misc */
2 changes: 1 addition & 1 deletion ckanext/zarr/templates/home/snippets/promoted.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h1 class="headline">Zambia Research and Evaluation Repository</h1>
<ul>
<li>Ensuring broad access and interoperability</li>
<li>Facilitating efficient data provision</li>
<li>Consolidating and disseminating data from various institutions Learn more about the repository</li>
<li>Consolidating and disseminating data from various institutions</li>
</ul>
{% endtrans %}
</p>
Expand Down

0 comments on commit 8ed195b

Please sign in to comment.