Skip to content

Commit

Permalink
merge: PR #730 from dev
Browse files Browse the repository at this point in the history
Weekly release 2023-11-27
  • Loading branch information
alycejenni authored Nov 27, 2023
2 parents eec8feb + 2efb949 commit b2f5bea
Show file tree
Hide file tree
Showing 20 changed files with 14,399 additions and 1,508 deletions.
51 changes: 45 additions & 6 deletions ckanext/nhm/theme/assets/less/beetle-iiif.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

.load-fonts();

.biiif-page-description {
margin-bottom: 1em;
}

.biiif-intro-text-lower {
margin-top: 15px;
}
Expand All @@ -20,6 +24,7 @@
.biiif-filter-collection-label {
font-weight: normal;
margin-left: 10px;
text-transform: capitalize;

&:after {
content: '';
Expand Down Expand Up @@ -118,24 +123,28 @@ button.btn[disabled].biiif-button {

.biiif-thumbnail-track {
cursor: pointer;
display: flex;
overflow-x: auto;
flex-wrap: nowrap;
scroll-snap-type: x proximity;
display: grid;
}

.biiif-thumbnail-container {
flex-grow: 1;
text-align: center;
padding: 10px;
scroll-snap-align: start;
display: grid;
grid-template-rows: auto 1fr;
justify-items: center;
align-items: start;
gap: 5px;

&.active {
background-color: @primary6;
}
}

.biiif-thumbnail-image {
padding: 0 10px;
display: block;
width: auto;
cursor: pointer;
}

.biiif-thumbnail-label {
Expand All @@ -145,5 +154,35 @@ button.btn[disabled].biiif-button {

.biiif-thumbnail-label-collection {
font-style: italic;
font-size: 0.9em;
}
}

.biiif-view-tab {
&.active {
color: white;
}

& > label {
margin: 0;
padding: 15px;

&::after {
content: '';
}
}

& input {
position: absolute !important;
margin: -1px !important;
}
}

.biiif-list-track-container {
height: 500px;
}

.record-select-view {
overflow-y: auto;
margin-top: 10px;
}
1,042 changes: 24 additions & 1,018 deletions ckanext/nhm/theme/assets/scripts/apps/beetle-iiif/dist/beetle-iiif.js

Large diffs are not rendered by default.

Loading

0 comments on commit b2f5bea

Please sign in to comment.