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; font-size: revert;
} }
} }
#menu-posts-conseils,
#menu-posts,
#menu-pages, #menu-pages,
#menu-media { #menu-media {
/* @apply !pt-1; */ @apply !py-1;
border-top: 1px solid rgba(255, 255, 255, 0.2) !important; 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-vocabulaire,
#menu-posts-videos-webinaires, #menu-posts-videos-webinaires,
#toplevel_page_theme-general-settings { #toplevel_page_theme-general-settings {
/* @apply !pb-1; */
} }
#toplevel_page_gf_edit_forms { #toplevel_page_gf_edit_forms {
/* @apply !pb-1; */ border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
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 { .homegrade-blocks-components-icon__panel-body {
.icon-preview { .icon-preview {
@ -230,14 +224,9 @@ body.post-type-artisans {
} }
} }
.block-editor-block-styles__variants .block-editor-block-styles__variants button.components-button.block-editor-block-styles__item.is-active,
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 {
.block-editor-block-styles__variants background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
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 { .components-toggle-group-control-option-base {
div { div {
@ -260,8 +249,15 @@ body.post-type-artisans {
#admin_artisan_chantier_list { #admin_artisan_chantier_list {
h3 { 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 { ul a {
@apply text-patrimoine-sante-securite text-lg flex items-center gap-2; @apply text-patrimoine-sante-securite text-lg flex items-center gap-2;
filter: brightness(80%); filter: brightness(80%);
@ -277,3 +273,13 @@ body.post-type-artisans {
@apply w-6 h-6 object-contain filter-patrimoine-sante-securite; @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;
}
}