From e7629a41d431bf14b8950648ded79043173b1734 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Thu, 24 Apr 2025 16:03:32 +0200 Subject: [PATCH] STYLE Update admin CSS for artisans: enhance link styles, adjust button appearance, and add new member fields styling --- resources/css/admin-style.css | 49 ++++++++++++++++++++++++++++++----- 1 file changed, 43 insertions(+), 6 deletions(-) diff --git a/resources/css/admin-style.css b/resources/css/admin-style.css index 35d85e6..3f7a748 100644 --- a/resources/css/admin-style.css +++ b/resources/css/admin-style.css @@ -379,11 +379,17 @@ body.post-type-artisans { @apply !hidden; } - ul a { - @apply text-patrimoine-sante-securite text-base flex items-center gap-2; - filter: brightness(80%); - img { - @apply w-6 h-6 object-contain filter-patrimoine-sante-securite; + ul { + li { + @apply mb-3; + } + a { + @apply text-patrimoine-sante-securite text-base flex items-center gap-2; + text-underline-offset: 4px !important; + filter: brightness(80%); + img { + @apply w-6 h-6 object-contain filter-patrimoine-sante-securite; + } } } @@ -392,7 +398,11 @@ body.post-type-artisans { } .new-chantier { - @apply bg-patrimoine-sante-securite text-white py-2 px-4 no-underline rounded-full mb-4 block w-fit; + /* @apply bg-patrimoine-sante-securite text-white py-2 px-4 rounded-xl mb-4 block w-fit mt-5; */ + @apply !bg-patrimoine-sante-securite !text-white !border-none no-underline !rounded-xl !px-3 !py-1 my-8 flex items-center justify-center gap-2 w-fit; + &:before { + @apply content-['+'] !text-2xl; + } } } @@ -698,6 +708,33 @@ select[data-enpassusermodified='yes'] { @apply border-none; } } +/* FIELD DES MEMBRES DE L'ÉQUIPE DE L'ARTISAN */ +.acf-field-670d268f2b324 { + label[for='acf-field_670d268f2b324'] { + @apply !hidden; + } + + div[data-layout='membre'] { + &.-collapsed { + @apply !border-none; + } + .acf-fc-layout-handle { + @apply !flex !gap-4 !text-base !items-center !bg-violet-50 !text-violet-950 !border-none !font-semibold; + } + span.acf-fc-layout-order { + @apply !bg-patrimoine-sante-securite !rounded-full mr-4 !block !text-white !border-none; + } + } + .acf-actions a[data-name='add-layout'] { + @apply !bg-patrimoine-sante-securite !text-white !border-none !rounded-xl !px-3 !py-1 my-8 flex items-center justify-center gap-2 w-fit !mx-auto; + &:before { + @apply content-['+'] !text-2xl; + } + } +} + +/* FIELD DE GESTION */ + #acf-group_67581cdaf3262 { @apply border border-patrimoine-sante-securite border-solid rounded-t-xl p-0; @apply bg-white;