xarxaprod-wp-theme/sass/adminstyles.scss

44 lines
989 B
SCSS
Raw Normal View History

2024-01-09 16:13:20 +01:00
// theme for editor admin, import style.sass and apply class before rest of it
// .wp-admin styles
.wp-admin {
.components-button.edit-post-fullscreen-mode-close.has-icon,
.edit-post-fullscreen-mode-close_site-icon {
background-color: #fff;
filter: invert(1);
}
}
.site-icon-preview .app-icon-preview {
background-color: #fff;
}
// editor styles
.edit-post-visual-editor__content-area {
// import theme styles
@import "style";
// apply differences when not rendered properly
:where(.wp-block) {
max-width: 80rem;
}
.black-blocs .wp-block-column a::after {
display:none;
}
}
.editor-styles-wrapper .wp-block-button__link {
color: #000 !important;
background-color: #fff !important;
border-radius: 0 !important;
box-shadow: none !important;
text-decoration: none !important;
padding: 0.6em 1em 0.4em !important;
font-size: inherit !important;
}
2024-01-09 16:13:20 +01:00
// modify internal paths to make objects locally available
@import "adminstyles/fonts";