From a816e56cfa3a033dcc2014d1918261a00bbe5435 Mon Sep 17 00:00:00 2001 From: Keith Solomon Date: Sat, 25 Jul 2026 13:21:02 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20Add=20team-grid=20block=20C?= =?UTF-8?q?SS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- views/blocks/team-grid/team-grid.css | 55 ++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 views/blocks/team-grid/team-grid.css diff --git a/views/blocks/team-grid/team-grid.css b/views/blocks/team-grid/team-grid.css new file mode 100644 index 0000000..56644d5 --- /dev/null +++ b/views/blocks/team-grid/team-grid.css @@ -0,0 +1,55 @@ +/* Team Grid block */ + +.team-grid { + &__card { + @apply flex flex-col; + } + + &__details { + @apply flex flex-col; + } + + &__summary { + @apply flex flex-col items-center text-center cursor-pointer list-none; + + &::-webkit-details-marker { + display: none; + } + + &::marker { + display: none; + content: ''; + } + } + + &__photo { + @apply w-32 h-32 sm:w-40 sm:h-40 lg:w-48 lg:h-48 object-cover rounded-md mb-4; + } + + &__name { + @apply text-cwc-blue-01 text-22px font-bold leading-tight mb-1; + } + + &__title { + @apply text-gray-600 text-16px font-light italic mb-3; + } + + &__bio-wrap { + display: grid; + grid-template-rows: 0fr; + transition: grid-template-rows 300ms ease; + } + + &__details[open] &__bio-wrap { + grid-template-rows: 1fr; + } + + &__bio-inner { + overflow: hidden; + min-height: 0; + } + + &__bio { + @apply text-gray-700 text-16px font-light leading-snug pt-2; + } +}