xarxaprod-wp-theme/sass/adminstyles.scss

35 lines
929 B
SCSS

/////////////////////////////////////////////////////////////////////
// theme for editor admin, import style.sass and apply class before rest of it
// 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 {
.editor-styles-wrapper {
// import theme styles
@import "style";
// apply differences when not rendered properly
//:where(.wp-block) {
// max-width: 80rem;
//``}
font-family: $font__main;
h1,h2,h3,h4,h5,ul,figure,button {
margin-left: auto;
margin-right: auto;
}
}
}
// modify internal paths to make objects locally available
//@import "adminstyles/fonts";
////////////////////////////////////////