From 018842f899ddfb111934e9dbce06050a957b10d9 Mon Sep 17 00:00:00 2001 From: rdrew Date: Thu, 5 Mar 2026 11:33:40 -0400 Subject: [PATCH 1/2] theme sync --- css/components/islandora_mods.css | 20 ++++++++++++++++++++ olivespostcards.info.yml | 14 +------------- 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/css/components/islandora_mods.css b/css/components/islandora_mods.css index dca673b..61f7789 100755 --- a/css/components/islandora_mods.css +++ b/css/components/islandora_mods.css @@ -1,3 +1,23 @@ +/*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; */ +} +.lva .grid-item__image { + margin: 0; + height: 274px; + background: #ece8e3; + overflow: hidden; +} +.node--type-islandora-object .field--label-inline > .field__item { + display: table; +} +.lva iframe.pdf { + height: 1000px; + border: 1px solid #ccc; +} +/*=======================*/ .mirador76 { display: none !important; } diff --git a/olivespostcards.info.yml b/olivespostcards.info.yml index ca27c09..8b18939 100755 --- a/olivespostcards.info.yml +++ b/olivespostcards.info.yml @@ -1,19 +1,7 @@ -# This theme is marked as @internal. It is intended to evolve and change over -# minor releases. -# As the UI of Drupal improves between minor versions, the markup and assets in -# the Olivespostcards theme will change. The Olivespostcards theme is not backwards compatible -# If you wish to modify the output or assets of Olivespostcards you can: -# 1. Copy the whole of Olivespostcards and rename it as your own theme. You will need to -# manually manage your own updates if you want to stay up to date with Olivespostcards's -# bug fixes and feature support. -# -# 2. Sub-theme Olivespostcards. This is only recommended if you want to make minor -# tweaks and understand that Olivespostcards could break your modifications as it -# changes. name: Olivespostcards type: theme base theme: false -description: THIS IS A CLONE OF OLIVERO FOR ISLANDIMAGINED. +description: This theme is for IslandImagined main site. alt text: Screenshot of Olivespostcards, Drupal front-end theme. package: Core version: VERSION From b947d80b83b5286f702a78d33dc9f323510dd600 Mon Sep 17 00:00:00 2001 From: rdrew Date: Thu, 5 Mar 2026 12:14:36 -0400 Subject: [PATCH 2/2] 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; }