445 lines
9.0 KiB
CSS
445 lines
9.0 KiB
CSS
@import './base/filters.css';
|
|
@import './base/shadows.css';
|
|
|
|
body.post-type-chantiers,
|
|
body.post-type-artisans {
|
|
#titlediv {
|
|
@apply hidden;
|
|
}
|
|
}
|
|
|
|
.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 inline-block w-fit;
|
|
}
|
|
}
|
|
}
|
|
|
|
.iedit.type-artisans.status-pending.hentry {
|
|
.column-title .post-state {
|
|
@apply text-amber-700 border-amber-700;
|
|
}
|
|
}
|
|
.iedit.type-artisans.status-draft.hentry {
|
|
.column-title .post-state {
|
|
@apply text-sky-700 border-sky-700;
|
|
}
|
|
}
|
|
.iedit.type-artisans.status-offline.hentry {
|
|
.column-title .post-state {
|
|
@apply text-neutral-700 border-neutral-700;
|
|
}
|
|
}
|
|
.iedit.type-artisans.status-publish.hentry {
|
|
.column-title .post-state {
|
|
@apply text-green-700 border-green-700;
|
|
}
|
|
}
|
|
#acf-group_672358433051b,
|
|
#acf-group_673610d8e548a {
|
|
@apply opacity-60;
|
|
* {
|
|
cursor: not-allowed;
|
|
/* pointer-events: none; */
|
|
}
|
|
}
|
|
|
|
.subsubsub {
|
|
.all,
|
|
.publish,
|
|
.pending,
|
|
.trash,
|
|
.offline {
|
|
@apply text-transparent border-solid border rounded-full pl-2;
|
|
}
|
|
|
|
.all {
|
|
@apply border-violet-700;
|
|
transition: all 0.6s;
|
|
a,
|
|
span {
|
|
@apply !text-violet-700;
|
|
}
|
|
&:hover,
|
|
&:has(a[aria-current='page']) {
|
|
@apply bg-violet-700;
|
|
a,
|
|
span {
|
|
@apply !text-white;
|
|
}
|
|
}
|
|
}
|
|
.offline {
|
|
@apply border-neutral-700;
|
|
transition: all 0.6s;
|
|
a,
|
|
span {
|
|
@apply !text-neutral-700;
|
|
}
|
|
&:hover,
|
|
&:has(a[aria-current='page']) {
|
|
@apply bg-neutral-700;
|
|
a,
|
|
span {
|
|
@apply !text-white;
|
|
}
|
|
}
|
|
}
|
|
.pending {
|
|
@apply border-amber-700;
|
|
transition: all 0.6s;
|
|
a,
|
|
span {
|
|
@apply !text-amber-700;
|
|
}
|
|
&:hover,
|
|
&:has(a[aria-current='page']) {
|
|
@apply bg-amber-700;
|
|
a,
|
|
span {
|
|
@apply !text-white;
|
|
}
|
|
}
|
|
}
|
|
.trash {
|
|
@apply border-rose-700;
|
|
transition: all 0.6s;
|
|
a,
|
|
span {
|
|
@apply !text-rose-700;
|
|
}
|
|
&:hover,
|
|
&:has(a[aria-current='page']) {
|
|
@apply bg-rose-700;
|
|
a,
|
|
span {
|
|
@apply !text-white;
|
|
}
|
|
}
|
|
}
|
|
.publish {
|
|
@apply border-green-700;
|
|
transition: all 0.6s;
|
|
a,
|
|
span {
|
|
@apply !text-green-700;
|
|
}
|
|
&:hover,
|
|
&:has(a[aria-current='page']) {
|
|
@apply bg-green-700;
|
|
a,
|
|
span {
|
|
@apply !text-white;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.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 {
|
|
font-weight: revert;
|
|
font-size: revert;
|
|
}
|
|
}
|
|
#menu-pages,
|
|
#menu-media {
|
|
@apply !py-1;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
|
|
}
|
|
#menu-pages {
|
|
border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
|
|
}
|
|
|
|
#menu-pages + .wp-menu-separator {
|
|
@apply hidden;
|
|
}
|
|
|
|
#menu-posts-vocabulaire,
|
|
#menu-posts-videos-webinaires,
|
|
#toplevel_page_theme-general-settings {
|
|
}
|
|
|
|
#toplevel_page_gf_edit_forms {
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
|
|
}
|
|
|
|
.homegrade-blocks-components-icon__panel-body {
|
|
.icon-preview {
|
|
max-width: 80px;
|
|
padding: 20px 0;
|
|
}
|
|
}
|
|
|
|
.homegrade-blocks-components-image__panel-body {
|
|
.components-tip {
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.media-replace-container {
|
|
.components-dropdown .components-toolbar__control {
|
|
background-color: #e04d42;
|
|
color: white;
|
|
}
|
|
}
|
|
img {
|
|
display: block;
|
|
}
|
|
.components-dropdown {
|
|
display: block;
|
|
width: fit-content;
|
|
}
|
|
.media-replace-container {
|
|
padding: 10px 0;
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
.components-toggle-group-control-option-base {
|
|
outline: transparent;
|
|
}
|
|
|
|
.components-toggle-group-control {
|
|
div[role='presentation'] {
|
|
background-color: #e04d42;
|
|
}
|
|
}
|
|
}
|
|
.components-toggle-group-control {
|
|
div[role='presentation'] {
|
|
background-color: #e04d42;
|
|
}
|
|
}
|
|
.editor-post-featured-image__action {
|
|
background-color: #e04d42;
|
|
color: white;
|
|
&:hover {
|
|
color: #e04d42;
|
|
background-color: white;
|
|
}
|
|
}
|
|
|
|
.block-editor-block-styles__variants button.components-button.block-editor-block-styles__item.is-active,
|
|
.block-editor-block-styles__variants button.components-button.block-editor-block-styles__item.is-active:hover {
|
|
background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
|
|
}
|
|
.components-toggle-group-control-option-base {
|
|
div {
|
|
@apply py-1;
|
|
line-height: 1.3;
|
|
}
|
|
}
|
|
|
|
.acf_custom_title {
|
|
.acf-label {
|
|
@apply pb-3;
|
|
label {
|
|
@apply !text-patrimoine-sante-securite !text-sm !font-semibold;
|
|
}
|
|
}
|
|
}
|
|
.block-editor-link-control__search-item-top {
|
|
word-break: break-all;
|
|
}
|
|
|
|
#admin_artisan_chantier_list {
|
|
@apply border border-solid border-neutral-300;
|
|
h3 {
|
|
@apply font-medium;
|
|
}
|
|
|
|
background: rgba(0, 0, 0, 0);
|
|
box-shadow: none;
|
|
> .postbox-header {
|
|
@apply !hidden;
|
|
}
|
|
|
|
ul a {
|
|
@apply text-patrimoine-sante-securite text-lg flex items-center gap-2;
|
|
filter: brightness(80%);
|
|
img {
|
|
@apply w-6 h-6 object-contain filter-patrimoine-sante-securite;
|
|
}
|
|
}
|
|
|
|
.no-results {
|
|
@apply text-sm text-neutral-400;
|
|
}
|
|
|
|
.new-chantier {
|
|
@apply bg-patrimoine-sante-securite text-white py-2 px-4 no-underline rounded-full mb-4 block w-fit;
|
|
}
|
|
}
|
|
|
|
.edit-fiche-artisan-link {
|
|
@apply pt-3 text-patrimoine-sante-securite !font-semibold flex items-center gap-2;
|
|
img {
|
|
@apply w-6 h-6 object-contain filter-patrimoine-sante-securite;
|
|
}
|
|
}
|
|
#revisionsdiv,
|
|
#acf-group_673610d8e548a,
|
|
#admin_artisan_chantier_list,
|
|
#acf-group_672358433051b,
|
|
#rank_math_metabox {
|
|
.handle-order-lower,
|
|
.handle-order-higher {
|
|
@apply !hidden;
|
|
}
|
|
}
|
|
|
|
#acf-group_67581cdaf3262 {
|
|
@apply border border-neutral-200 border-solid p-4;
|
|
|
|
div[data-type='message'] {
|
|
@apply text-neutral-900 py-0 text-base;
|
|
}
|
|
}
|
|
|
|
.striped > tbody > :nth-child(odd),
|
|
ul.striped > :nth-child(odd) {
|
|
@apply bg-neutral-50;
|
|
background-color: #efeef04d;
|
|
}
|
|
#the-list {
|
|
.rank-math-column-display.seo-score,
|
|
.rank-math-column-display.schema-type {
|
|
@apply !hidden;
|
|
}
|
|
.rank_math_seo_details.column-rank_math_seo_details > *,
|
|
.date.column-date {
|
|
@apply !text-neutral-500;
|
|
}
|
|
}
|
|
|
|
/* #icl_translations,
|
|
.column-icl_translations {
|
|
width: 60px;
|
|
} */
|
|
|
|
.admin-column-metiers-container {
|
|
@apply flex flex-wrap;
|
|
}
|
|
|
|
.admin-column-taxonomy-term {
|
|
@apply bg-patrimoine-sante-securite-light text-patrimoine-sante-securite
|
|
!font-normal !text-xs rounded-md block w-fit !px-2 !py-1;
|
|
&:hover {
|
|
@apply text-purple-900;
|
|
}
|
|
}
|
|
|
|
.admin-column-metiers-container {
|
|
@apply flex flex-wrap gap-2;
|
|
}
|
|
|
|
.column-elements .no-results,
|
|
.column-metiers .no-results {
|
|
@apply text-neutral-400 pl-2;
|
|
}
|
|
|
|
#rank-math-seo-filter {
|
|
@apply hidden;
|
|
}
|
|
|
|
/* .tablenav select[name='metiers'] {
|
|
@apply text-patrimoine-sante-securite bg-patrimoine-sante-securite-light;
|
|
} */
|
|
|
|
.button-primary {
|
|
@apply bg-patrimoine-sante-securite text-white;
|
|
}
|
|
|
|
.metiers-patrimoine-data-exports-page {
|
|
@apply grid sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4;
|
|
.export-card {
|
|
@apply !rounded-lg border-none
|
|
flex flex-col items-center justify-center !p-8
|
|
gap-8 text-center col-span-2 shadowed;
|
|
max-width: unset;
|
|
h2 {
|
|
@apply !m-0 text-patrimoine-sante-securite max-w-md leading-5 pb-2;
|
|
}
|
|
&__illustration {
|
|
max-width: 200px;
|
|
filter: hue-rotate(-100deg);
|
|
}
|
|
}
|
|
|
|
.cta--primary {
|
|
@apply bg-patrimoine-sante-securite text-white border-purple-800 rounded-full;
|
|
&:hover {
|
|
@apply bg-purple-900 text-white;
|
|
}
|
|
}
|
|
}
|
|
|
|
#major-publishing-actions {
|
|
@apply !bg-neutral-50;
|
|
}
|
|
|
|
.misc-pub-section.rank-math-seo-score {
|
|
@apply !hidden;
|
|
}
|