From 30bae9d52fdc0c9a9ae74d2bd0285b4ac3a1d7f9 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Wed, 8 Jan 2025 14:43:15 +0100 Subject: [PATCH] handling post status colos --- resources/css/admin-style.css | 68 +++++++++++++++++++++++++++++++++-- 1 file changed, 66 insertions(+), 2 deletions(-) diff --git a/resources/css/admin-style.css b/resources/css/admin-style.css index e935af0..52a959c 100644 --- a/resources/css/admin-style.css +++ b/resources/css/admin-style.css @@ -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; +}