From b947d80b83b5286f702a78d33dc9f323510dd600 Mon Sep 17 00:00:00 2001 From: rdrew Date: Thu, 5 Mar 2026 12:14:36 -0400 Subject: [PATCH] sync --- css/components/islandora_mods.css | 87 ++++++++++++++++++++++++++----- 1 file changed, 74 insertions(+), 13 deletions(-) diff --git a/css/components/islandora_mods.css b/css/components/islandora_mods.css index 61f7789..6aab2a0 100755 --- a/css/components/islandora_mods.css +++ b/css/components/islandora_mods.css @@ -1,25 +1,86 @@ /*l'nuey collection stuff*/ .lva .view-grid > .view-content { - display: grid; - grid-template-columns: repeat(4, 1fr); - /* margin: 0.47214rem 0 0.47214rem 2.61803rem; */ + display: grid; + grid-template-columns: repeat(4, 1fr); + /* margin: 0.47214rem 0 0.47214rem 2.61803rem; */ } .lva .grid-item__image { - margin: 0; - height: 274px; - background: #ece8e3; - overflow: hidden; + margin: 0; + /*height: 274px;*/ + background: #ece8e3; + overflow: hidden; + img { + border: 1px solid #ccc; + } } .node--type-islandora-object .field--label-inline > .field__item { - display: table; -} + display: table; +} .lva iframe.pdf { - height: 1000px; - border: 1px solid #ccc; + height: 1000px; + border: 1px solid #ccc; +} + +/*=======================*/ +/*disclaimer*/ +details { + margin: 1rem 0; + border: 1px solid #ddd; + border-radius: 6px; + overflow: hidden; +} + +summary { + padding: 1rem 1.5rem; + background: #f8f9fa; + cursor: pointer; + font-weight: 600; + list-style: none; /* removes default marker */ + position: relative; +} + +summary::-webkit-details-marker { + display: none; +} /* Chrome/Safari */ + +summary::after { + content: "▼"; + position: absolute; + right: 1.5rem; + transition: transform 0.3s; +} + +details[open] summary::after { + transform: rotate(180deg); +} + +details > .content { + padding: 0 1.5rem 1.5rem; + background: white; +} + +/* Optional: smooth height animation (works well in 2025+ browsers) */ +details > .content { + overflow: hidden; + transition: max-height 0.4s ease, padding 0.4s ease; + max-height: 0; + padding-top: 0; + padding-bottom: 0; +} + +details[open] > .content { + max-height: 1000px; /* large enough for your content */ + padding: 1.5rem; } /*=======================*/ +div#block-olivespostcards-documenttype .block__title { + line-height: 1; +} +div#block-olivespostcards-solrsearchcontentsearchresultspagerforblock { + margin: 0; +} .mirador76 { - display: none !important; + display: none !important; } div#block-olivespostcards-solrsearchcontentadvancedsearchforblock h2 { line-height: 1; @@ -120,7 +181,7 @@ div#formatted-bibliography .csl-bib-body { line-height: 1.4; margin-bottom: 5px; font-size: 0.9em; -color: var(--color-text-neutral-medium); + color: var(--color-text-neutral-medium); a.views-more-link { text-decoration: underline; }