refining admin styles

This commit is contained in:
Antoine M 2024-12-10 12:14:07 +01:00
parent 6c9d978993
commit 20f9eff0b9

View File

@ -146,33 +146,27 @@ body.post-type-artisans {
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;
@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 {
/* @apply !pb-1; */
}
#toplevel_page_gf_edit_forms {
/* @apply !pb-1; */
border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
border-bottom: 1px solid rgba(255, 255, 255, 0.15) !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 {
@ -230,14 +224,9 @@ body.post-type-artisans {
}
}
.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)
);
.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 {
@ -260,8 +249,15 @@ body.post-type-artisans {
#admin_artisan_chantier_list {
h3 {
@apply pl-0 font-normal;
@apply font-medium;
}
border: 0 none;
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%);
@ -277,3 +273,13 @@ body.post-type-artisans {
@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;
}
}