Metiers_du_patrimoine_theme/resources/css/admin-style.css
Antoine M c05b2493c6
All checks were successful
continuous-integration/drone/push Build is passing
handling admin gestion section
2024-12-10 14:58:21 +01:00

303 lines
6.0 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-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-xl;
}
}