handling post status colos

This commit is contained in:
Antoine M 2025-01-08 14:43:15 +01:00
parent 5d7396e3f9
commit 30bae9d52f

View File

@ -8,12 +8,64 @@ body.post-type-artisans {
}
}
.post-type-artisans #title {
/* width: 220px; */
}
.post-type-artisans #icl_translations {
width: 40px;
}
.post-type-artisans {
.status-state {
@apply font-medium !rounded-2xl px-2 py-2 w-fit mx-auto;
&--ok {
@apply text-green-700;
}
&--deleted {
@apply text-rose-700;
}
&--to_actualize {
@apply text-amber-600;
}
&--waiting_feedback,
&--new_artisan_to_contact {
@apply text-sky-600;
}
&--being_updated {
@apply text-cyan-600;
}
&--rejected {
@apply text-slate-600;
/* filter: saturate(20%); */
}
}
}
@media screen and (max-width: 1600px) {
#conseiller,
#status,
#lastmodified,
#onlinedate,
.column-lastmodified,
.column-conseiller,
.column-onlinedate,
.column-status {
@apply text-center;
}
#lastmodified,
#onlinedate,
#conseiller {
width: 100px;
}
#status {
width: 140px;
}
}
.iedit.type-artisans.hentry {
.column-title:has(strong > a) {
color: transparent;
.post-state {
@apply px-3 py-1 rounded-2xl font-medium text-xs border border-solid;
@apply px-3 py-1 rounded-2xl font-medium text-xs border border-solid inline-block w-fit;
}
}
}
@ -140,6 +192,9 @@ body.post-type-artisans {
.admin-artisan-title {
@apply text-patrimoine-sante-securite !font-semibold !text-2xl;
}
.last-updated {
@apply text-neutral-500 !text-xs my-0;
}
.edit-post-visual-editor__post-title-wrapper {
h1 {
@ -339,8 +394,9 @@ ul.striped > :nth-child(odd) {
@apply flex flex-wrap gap-2;
}
.column-elements .no-results,
.column-metiers .no-results {
@apply text-neutral-400;
@apply text-neutral-400 pl-2;
}
#rank-math-seo-filter {
@ -378,3 +434,11 @@ ul.striped > :nth-child(odd) {
}
}
}
#major-publishing-actions {
@apply !bg-neutral-50;
}
.misc-pub-section.rank-math-seo-score {
@apply !hidden;
}