From 24e37253547ab0f2f349172a5cec78c4b9701987 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 18 Feb 2025 15:16:01 +0100 Subject: [PATCH] refining admin styles --- resources/css/admin-style.css | 43 +++++++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/resources/css/admin-style.css b/resources/css/admin-style.css index e1ec7d7..3146383 100644 --- a/resources/css/admin-style.css +++ b/resources/css/admin-style.css @@ -55,6 +55,10 @@ body.post-type-artisans { @apply text-center; } } + +.column-status .status-state { + @apply !border-none; +} @media screen and (max-width: 1600px) { #lastmodified, #onlinedate, @@ -88,7 +92,7 @@ body.post-type-artisans { } .iedit.type-artisans.status-offline.hentry { .column-title .post-state { - @apply text-neutral-700 border-neutral-700; + @apply text-neutral-500 border-neutral-500; } } .iedit.type-artisans.status-publish.hentry { @@ -481,20 +485,24 @@ ul.striped > :nth-child(odd) { &--publish { @apply text-green-700 border-green-700; } + &--ok:before, &--publish:before { @apply bg-green-700; } + &--draft, &--offline { @apply text-neutral-500 border-neutral-500; } + &--draft:before, &--offline:before { @apply bg-neutral-500; } - + &--pending, &--to_contact { @apply text-amber-700 border-amber-700; } + &--pending:before, &--to_contact:before { @apply bg-amber-700; } @@ -557,6 +565,11 @@ ul.striped > :nth-child(odd) { @apply !mr-12 2xl:!mr-32 !max-w-screen-2xl; } } + +.subsubsub .mine, +.subsubsub .pillar_content { + @apply hidden; +} #submitdiv #publish { @apply bg-rose-600; .postbox-header { @@ -578,3 +591,29 @@ ul.striped > :nth-child(odd) { @apply px-12; } } + +#set-offline-status, +#set-online-status { + @apply text-white border-none rounded-xl px-4 !py-1 ml-auto; +} + +#set-offline-status { + @apply bg-neutral-600; + &:hover { + @apply bg-neutral-800; + } + .post-status-offline & { + @apply hidden; + } +} + +#set-online-status { + @apply bg-green-700; + &:hover { + @apply bg-green-800; + } + + .post-status-publish & { + @apply hidden; + } +}