xarxaprod-wp-theme/sass/adminstyles.scss

49 lines
1.3 KiB
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;
//``}
//.black-blocs .wp-block-column a::after {
// display:none;
//}
font-family: $font__main;
h1 {
margin-left: auto;
margin-right: auto;
}
.wp-block-button__link {
//color: $color__black !important;
//background-color: $color__white !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";
////////////////////////////////////////