- md5
- 5b355700a6e87160644ed3bc367612ce
- sha1
- 99c6cc9f9dec337f10922dbb3d46161efca59cb3
- sha256
- c60c172666c805bc098485e2ed0044b62a28e9714edce0c8f01cd1ca8fbd004d
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
/**
* Typography
*/
/**
* SCSS Variables.
*
* Please use variables from this sheet to ensure consistency across the UI.
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
*/
/**
* Colors
*/
/**
* Fonts & basic variables.
*/
/**
* Typography
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Radius scale.
*/
/**
* Elevation scale.
*/
/**
* Dimensions.
*/
/**
* Mobile specific styles
*/
/**
* Editor styles.
*/
/**
* Block & Editor UI.
*/
/**
* Block paddings.
*/
/**
* React Native specific.
* These variables do not appear to be used anywhere else.
*/
/**
* Breakpoints & Media Queries
*/
/**
* Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
* Long content fade mixin
*
* Creates a fading overlay to signify that the content is longer
* than the space allows.
*/
/**
* Breakpoint mixins
*/
/**
* Focus styles.
*/
/**
* Standard focus rings for the WordPress Design System.
*
* Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
* e.g. `&:focus { @include outset-ring__focus(); }`.
*/
/**
* Applies editor left position to the selector passed as argument
*/
/**
* Styles that are reused verbatim in a few places
*/
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
/**
* Reset default styles for JavaScript UI based pages.
* This is a WP-admin agnostic reset
*/
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* Creates a checkerboard pattern background to indicate transparency.
* @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
*/
.block-library-html__edit .block-library-html__preview-overlay {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
.block-library-html__no-output-marker {
position: absolute;
top: -4px;
right: 100%;
z-index: 1;
display: flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
margin-right: 4px;
transform: translateY(-100%);
border-radius: 2px;
background: #fff;
box-shadow: inset 0 0 0 1px #1e1e1e;
outline: 1px solid transparent;
color: #1e1e1e;
cursor: default;
}
.block-library-html__edit:hover > .block-library-html__no-output-marker, .block-library-html__edit.is-selected > .block-library-html__no-output-marker {
background: var(--wp-admin-theme-color);
box-shadow: none;
color: #fff;
}
.is-layout-flex > .block-library-html__edit > .block-library-html__no-output-marker {
top: 50%;
transform: translateY(-50%);
}
.is-layout-flex:not(.is-vertical) > .block-library-html__edit > .block-library-html__no-output-marker {
right: auto;
left: 50%;
margin: 0;
transform: translate(-50%, -50%);
}
.block-library-html__edit.has-no-output + .block-library-html__edit.has-no-output > .block-library-html__no-output-marker {
margin-right: 32px;
}
.block-library-html__edit.has-no-output + .block-library-html__edit.has-no-output + .block-library-html__edit.has-no-output > .block-library-html__no-output-marker {
margin-right: 60px;
}
.block-library-html__edit.has-no-output + .block-library-html__edit.has-no-output + .block-library-html__edit.has-no-output + .block-library-html__edit.has-no-output > .block-library-html__no-output-marker {
margin-right: 88px;
}
.block-library-html__edit.has-no-output + .block-library-html__edit.has-no-output + .block-library-html__edit.has-no-output + .block-library-html__edit.has-no-output + .block-library-html__edit.has-no-output > .block-library-html__no-output-marker {
margin-right: 116px;
}
.block-library-html__edit-code {
margin: 16px;
}
.block-library-html__edit-code .block-library-html__edit-code-button {
justify-content: center;
}
@media (min-width: 600px) {
.block-library-html__modal:not(.is-full-screen) {
height: 9999rem;
}
}
.block-library-html__modal .components-modal__children-container {
height: 100%;
}
.block-library-html__modal-tabs {
flex: 1;
}
.block-library-html__modal-content {
flex: 1;
}
.block-library-html__modal-tab {
height: 100%;
display: flex;
flex-direction: column;
margin: 0;
box-sizing: border-box;
border: 1px solid #e0e0e0;
border-radius: 2px;
padding: 16px;
font-family: Menlo, Consolas, monaco, monospace;
}
.block-library-html__modal-editor {
width: 100%;
height: 100%;
flex: 1;
border: none;
background: transparent;
padding: 0;
font-family: inherit;
font-size: inherit;
line-height: inherit;
color: inherit;
resize: none;
/*rtl:ignore*/
direction: ltr;
overflow-x: auto;
box-sizing: border-box;
}
.block-library-html__modal-editor:focus {
outline: none;
box-shadow: none;
}
.block-library-html__preview {
display: flex;
align-items: center;
justify-content: center;
min-height: 0;
overflow-y: auto;
flex: 1;
}
.block-library-html__preview iframe {
height: 100%;
}
The same content is in 5 releases, WordPress 7.2-beta1 to 7.2-beta5. See them all, or every version of this file.