refining admin styles

This commit is contained in:
Antoine M 2025-02-18 15:16:01 +01:00
parent a88109953d
commit 24e3725354

View File

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