CoreFiles by mySites.guru
style-editor-frame.scss67 lines, 1,577 bytes, from wordpress-5.0-beta3.zip
Raw History Compare with 5.0-beta2
md5
6c77f55203d822ac2610fbde7f078268
sha1
74236f2397a6b555421e6ee7d31a523037028269
sha256
89307734e45663884d5cd901cc4a4cb0233b78bc4706eeb3fe439dcc7d871347
/*!
Twenty Nineteen Editor Frame Styles

NOTE: This file customizes items that are out of the normal scope of style-editor.css due to the auto-prefixing functionality associated with add_editor_style(). When that file is able to edit the post title and a container similar to .edit-post-layout, these styles should be migrated into style-editor.css. 
*/

/** === Includes === */

@import "sass/variables-site/variables-site";
@import "sass/variables-site/colors";
@import "sass/mixins/mixins-master";

/** === Title === */

body.block-editor-page .block-editor .editor-post-title__block {
	@include post-section-dash;

	&:before {
		width: $font__size-xxl;
		margin-top: 0;
		margin-bottom: 0;
		margin-left: 1em;
		position: relative;
		top: 0.5em;
	}

	.editor-post-title__input {
		font-family: $font__heading;
		font-size: $font__size-xxl;
	}
}

/** === Default Appender === */

body.block-editor-page .block-editor .editor-default-block-appender__content {
	font-family: $font__body;
	font-size: $font__size_base;
}

/** === Off-Center Content === */

body.block-editor-page .block-editor .edit-post-layout {

	@include media(tablet) {
		.editor-writing-flow {
			max-width: 80%;
			margin: 0 10%;
		}

		.editor-post-title__block,
		.editor-default-block-appender,
		.editor-block-list__block {
			margin-left: 0;
			margin-right: 0;
		}

		.editor-block-list__block[data-align="full"] {
			width: calc( 125% + 88px + 28px );
			position: relative;
			left: calc( -12.5% - 46px - 14px );
		}

		.editor-block-list__block[data-align="right"] {
			max-width: 125%;
		}
	}
}

The same content is in 2 releases, WordPress 5.0-beta2 to 5.0-beta3. See them all, or every version of this file.