280 lines
5.5 KiB
CSS
280 lines
5.5 KiB
CSS
@import './base/filters.css';
|
|
|
|
body.post-type-chantiers,
|
|
body.post-type-artisans {
|
|
#titlediv {
|
|
@apply hidden;
|
|
}
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.edit-post-visual-editor__post-title-wrapper {
|
|
h1 {
|
|
font-weight: revert;
|
|
font-size: revert;
|
|
}
|
|
}
|
|
|
|
#menu-posts-conseils,
|
|
#menu-posts,
|
|
#menu-pages,
|
|
#menu-media {
|
|
/* @apply !pt-1; */
|
|
border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
|
|
}
|
|
|
|
#menu-posts-vocabulaire,
|
|
#menu-posts-videos-webinaires,
|
|
#toplevel_page_theme-general-settings {
|
|
/* @apply !pb-1; */
|
|
}
|
|
|
|
#toplevel_page_gf_edit_forms {
|
|
/* @apply !pb-1; */
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
|
|
}
|
|
/* .wp-block-post-content,
|
|
.is-root-container {
|
|
background-color: red !imporatant;
|
|
}
|
|
|
|
.block-editor-block-list__block {
|
|
background-color: yellow !imporatant; */
|
|
/* } */
|
|
|
|
.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 {
|
|
h3 {
|
|
@apply pl-0 font-normal;
|
|
}
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|