xarxaprod-wp-theme/sass/adminstyles.scss

37 lines
909 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
// admin styles
2024-01-09 16:13:20 +01:00
.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;
2024-03-11 16:10:46 +01:00
h1,figure {
margin-left: auto;
margin-right: auto;
}
2024-01-09 16:13:20 +01:00
}
}
// modify internal paths to make objects locally available
//@import "adminstyles/fonts";
////////////////////////////////////////