STYLE Update admin CSS for artisans: enhance link styles, adjust button appearance, and add new member fields styling

This commit is contained in:
Antoine M 2025-04-24 16:03:32 +02:00
parent 86066613cb
commit e7629a41d4

View File

@ -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;