working on statutes
This commit is contained in:
parent
c788d119ba
commit
7e2bf1853c
|
|
@ -1,6 +1,9 @@
|
|||
@import './base/filters.css';
|
||||
@import './base/shadows.css';
|
||||
|
||||
/* DASHBOARD */
|
||||
@import './dashboard/advisor-dashboard-widget.css';
|
||||
|
||||
body.post-type-chantiers,
|
||||
body.post-type-artisans {
|
||||
#titlediv {
|
||||
|
|
@ -20,7 +23,7 @@ body.post-type-artisans {
|
|||
---------------------------*/
|
||||
.post-type-artisans {
|
||||
.status-state {
|
||||
@apply font-medium !rounded-2xl px-2 py-2 w-fit mx-auto;
|
||||
@apply font-medium rounded-2xl px-2 py-2 w-fit mx-auto;
|
||||
&--ok {
|
||||
@apply text-green-700;
|
||||
}
|
||||
|
|
@ -28,10 +31,10 @@ body.post-type-artisans {
|
|||
@apply text-rose-700;
|
||||
}
|
||||
&--to_actualize {
|
||||
@apply text-amber-500;
|
||||
@apply text-amber-700;
|
||||
}
|
||||
&--to_contact {
|
||||
@apply text-yellow-500;
|
||||
@apply text-yellow-700;
|
||||
}
|
||||
&--waiting_feedback,
|
||||
&--ongoing {
|
||||
|
|
@ -453,3 +456,123 @@ ul.striped > :nth-child(odd) {
|
|||
.acf-input-wrap input::placeholder {
|
||||
@apply text-neutral-400;
|
||||
}
|
||||
|
||||
.top-status {
|
||||
@apply flex gap-16 mt-6;
|
||||
.state-container {
|
||||
@apply flex gap-3 justify-center items-center;
|
||||
p {
|
||||
@apply my-0 font-medium text-xs;
|
||||
}
|
||||
}
|
||||
|
||||
.status-state,
|
||||
.post-state {
|
||||
@apply block px-3 py-2 flex items-center justify-center gap-2;
|
||||
&:before {
|
||||
@apply content-[''] block w-2 h-2 rounded-full;
|
||||
}
|
||||
}
|
||||
}
|
||||
.status-state,
|
||||
.post-state {
|
||||
@apply !rounded-xl font-medium text-xs border border-solid inline-block w-fit;
|
||||
&--ok,
|
||||
&--publish {
|
||||
@apply text-green-700 border-green-700;
|
||||
}
|
||||
&--publish:before {
|
||||
@apply bg-green-700;
|
||||
}
|
||||
|
||||
&--offline {
|
||||
@apply text-neutral-500 border-neutral-500;
|
||||
}
|
||||
&--offline:before {
|
||||
@apply bg-neutral-500;
|
||||
}
|
||||
|
||||
&--to_contact {
|
||||
@apply text-amber-700 border-amber-700;
|
||||
}
|
||||
&--to_contact:before {
|
||||
@apply bg-amber-700;
|
||||
}
|
||||
|
||||
&--deleted {
|
||||
@apply text-rose-700;
|
||||
}
|
||||
&--deleted:before {
|
||||
@apply bg-rose-700;
|
||||
}
|
||||
&--to_contact,
|
||||
&--to_actualize {
|
||||
@apply text-amber-700;
|
||||
}
|
||||
&--to_contact:before,
|
||||
&--to_actualize:before {
|
||||
@apply bg-amber-700;
|
||||
}
|
||||
|
||||
&--waiting_feedback,
|
||||
&--ongoing {
|
||||
@apply text-blue-600;
|
||||
}
|
||||
&--waiting_feedback:before,
|
||||
&--ongoing:before {
|
||||
@apply bg-blue-600;
|
||||
}
|
||||
|
||||
&--rejected {
|
||||
@apply text-rose-400;
|
||||
}
|
||||
&--rejected:before {
|
||||
@apply bg-rose-400;
|
||||
}
|
||||
}
|
||||
|
||||
/* ------------------------------------
|
||||
CUSTOMIZATION BASED ON USER ROLE
|
||||
------------------------------------*/
|
||||
.role-editor {
|
||||
.rank-math-lock-modified-date,
|
||||
.misc-pub-curtime,
|
||||
.misc-pub-revisions,
|
||||
.misc-pub-visibility,
|
||||
#icl_div,
|
||||
#rank_math_metabox,
|
||||
#acf-group_672358433051b,
|
||||
#revisionsdiv,
|
||||
#toplevel_page_rank-math,
|
||||
#menu-tools,
|
||||
#submitdiv .handle-order-higher,
|
||||
#submitdiv .handle-order-lower,
|
||||
#submitdiv #preview-action,
|
||||
#footer-left {
|
||||
@apply !hidden;
|
||||
}
|
||||
.post-type-artisans #post-body {
|
||||
@apply !mr-12 2xl:!mr-32 !max-w-screen-2xl;
|
||||
}
|
||||
}
|
||||
#submitdiv #publish {
|
||||
@apply bg-rose-600;
|
||||
.postbox-header {
|
||||
@apply border-none;
|
||||
}
|
||||
}
|
||||
#acf-group_67581cdaf3262 {
|
||||
@apply border-2 border-patrimoine-sante-securite border-solid p-0 rounded-xl;
|
||||
@apply bg-white;
|
||||
/* border: 2px solid red !important; */
|
||||
|
||||
.acf-field-6758467534c1e {
|
||||
@apply px-[10px];
|
||||
label {
|
||||
@apply font-normal !text-white text-xl bg-patrimoine-sante-securite px-4 py-2 rounded-t-xl block;
|
||||
}
|
||||
}
|
||||
.acf-field:not(.acf-field-6758467534c1e) {
|
||||
@apply px-12;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user