Initial commit
This commit is contained in:
commit
57a2089dd9
1541 changed files with 595392 additions and 0 deletions
73
wp-includes/blocks/archives/editor-rtl.css
Normal file
73
wp-includes/blocks/archives/editor-rtl.css
Normal file
|
@ -0,0 +1,73 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
ul.wp-block-archives {
|
||||
padding-right: 2.5em;
|
||||
}
|
1
wp-includes/blocks/archives/editor-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/archives/editor-rtl.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
ul.wp-block-archives{padding-right:2.5em}
|
73
wp-includes/blocks/archives/editor.css
Normal file
73
wp-includes/blocks/archives/editor.css
Normal file
|
@ -0,0 +1,73 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
ul.wp-block-archives {
|
||||
padding-left: 2.5em;
|
||||
}
|
1
wp-includes/blocks/archives/editor.min.css
vendored
Normal file
1
wp-includes/blocks/archives/editor.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
ul.wp-block-archives{padding-left:2.5em}
|
74
wp-includes/blocks/audio/editor-rtl.css
Normal file
74
wp-includes/blocks/audio/editor-rtl.css
Normal file
|
@ -0,0 +1,74 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-audio {
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
}
|
1
wp-includes/blocks/audio/editor-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/audio/editor-rtl.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-audio{margin-right:0;margin-left:0}
|
74
wp-includes/blocks/audio/editor.css
Normal file
74
wp-includes/blocks/audio/editor.css
Normal file
|
@ -0,0 +1,74 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-audio {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
1
wp-includes/blocks/audio/editor.min.css
vendored
Normal file
1
wp-includes/blocks/audio/editor.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-audio{margin-left:0;margin-right:0}
|
81
wp-includes/blocks/audio/style-rtl.css
Normal file
81
wp-includes/blocks/audio/style-rtl.css
Normal file
|
@ -0,0 +1,81 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-audio {
|
||||
margin: 0 0 1em 0;
|
||||
}
|
||||
.wp-block-audio figcaption {
|
||||
margin-top: 0.5em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.wp-block-audio audio {
|
||||
width: 100%;
|
||||
min-width: 300px;
|
||||
}
|
1
wp-includes/blocks/audio/style-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/audio/style-rtl.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-audio{margin:0 0 1em}.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-audio audio{width:100%;min-width:300px}
|
81
wp-includes/blocks/audio/style.css
Normal file
81
wp-includes/blocks/audio/style.css
Normal file
|
@ -0,0 +1,81 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-audio {
|
||||
margin: 0 0 1em 0;
|
||||
}
|
||||
.wp-block-audio figcaption {
|
||||
margin-top: 0.5em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.wp-block-audio audio {
|
||||
width: 100%;
|
||||
min-width: 300px;
|
||||
}
|
1
wp-includes/blocks/audio/style.min.css
vendored
Normal file
1
wp-includes/blocks/audio/style.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-audio{margin:0 0 1em}.wp-block-audio figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-audio audio{width:100%;min-width:300px}
|
80
wp-includes/blocks/block/editor-rtl.css
Normal file
80
wp-includes/blocks/block/editor-rtl.css
Normal file
|
@ -0,0 +1,80 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container {
|
||||
padding-right: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow {
|
||||
display: block;
|
||||
}
|
||||
.edit-post-visual-editor .block-library-block__reusable-block-container .components-disabled .block-list-appender {
|
||||
display: none;
|
||||
}
|
1
wp-includes/blocks/block/editor-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/block/editor-rtl.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container{padding-right:0;padding-left:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow{display:block}.edit-post-visual-editor .block-library-block__reusable-block-container .components-disabled .block-list-appender{display:none}
|
80
wp-includes/blocks/block/editor.css
Normal file
80
wp-includes/blocks/block/editor.css
Normal file
|
@ -0,0 +1,80 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow {
|
||||
display: block;
|
||||
}
|
||||
.edit-post-visual-editor .block-library-block__reusable-block-container .components-disabled .block-list-appender {
|
||||
display: none;
|
||||
}
|
1
wp-includes/blocks/block/editor.min.css
vendored
Normal file
1
wp-includes/blocks/block/editor.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container{padding-left:0;padding-right:0}.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow{display:block}.edit-post-visual-editor .block-library-block__reusable-block-container .components-disabled .block-list-appender{display:none}
|
137
wp-includes/blocks/button/editor-rtl.css
Normal file
137
wp-includes/blocks/button/editor-rtl.css
Normal file
|
@ -0,0 +1,137 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block[data-align=center] > .wp-block-button {
|
||||
text-align: center;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.wp-block[data-align=right] > .wp-block-button {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.wp-block-button {
|
||||
position: relative;
|
||||
cursor: text;
|
||||
}
|
||||
.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]::after {
|
||||
color: #fff;
|
||||
}
|
||||
.wp-block-button:focus {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent;
|
||||
outline-offset: -2px;
|
||||
}
|
||||
.wp-block-button[data-rich-text-placeholder]::after {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.wp-block-button__inline-link {
|
||||
color: #757575;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
max-width: 290px;
|
||||
}
|
||||
.wp-block-button__inline-link-input__suggestions {
|
||||
max-width: 290px;
|
||||
}
|
||||
@media (min-width: 782px) {
|
||||
.wp-block-button__inline-link {
|
||||
max-width: 260px;
|
||||
}
|
||||
.wp-block-button__inline-link-input__suggestions {
|
||||
max-width: 260px;
|
||||
}
|
||||
}
|
||||
@media (min-width: 960px) {
|
||||
.wp-block-button__inline-link {
|
||||
max-width: 290px;
|
||||
}
|
||||
.wp-block-button__inline-link-input__suggestions {
|
||||
max-width: 290px;
|
||||
}
|
||||
}
|
||||
.is-selected .wp-block-button__inline-link {
|
||||
height: auto;
|
||||
overflow: visible;
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.wp-button-label__width .components-button-group {
|
||||
display: block;
|
||||
}
|
||||
.wp-button-label__width .components-base-control__field {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
div[data-type="core/button"] {
|
||||
display: table;
|
||||
}
|
1
wp-includes/blocks/button/editor-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/button/editor-rtl.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block[data-align=center]>.wp-block-button{text-align:center;margin-right:auto;margin-left:auto}.wp-block[data-align=right]>.wp-block-button{text-align:right}.wp-block-button{position:relative;cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]:after{color:#fff}.wp-block-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.wp-block-button[data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#757575;height:0;overflow:hidden;max-width:290px}.wp-block-button__inline-link-input__suggestions{max-width:290px}@media (min-width:782px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:260px}}@media (min-width:960px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:290px}}.is-selected .wp-block-button__inline-link{height:auto;overflow:visible;margin-top:16px}.wp-button-label__width .components-button-group{display:block}.wp-button-label__width .components-base-control__field{margin-bottom:12px}div[data-type="core/button"]{display:table}
|
138
wp-includes/blocks/button/editor.css
Normal file
138
wp-includes/blocks/button/editor.css
Normal file
|
@ -0,0 +1,138 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block[data-align=center] > .wp-block-button {
|
||||
text-align: center;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.wp-block[data-align=right] > .wp-block-button {
|
||||
/*!rtl:ignore*/
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.wp-block-button {
|
||||
position: relative;
|
||||
cursor: text;
|
||||
}
|
||||
.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]::after {
|
||||
color: #fff;
|
||||
}
|
||||
.wp-block-button:focus {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent;
|
||||
outline-offset: -2px;
|
||||
}
|
||||
.wp-block-button[data-rich-text-placeholder]::after {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.wp-block-button__inline-link {
|
||||
color: #757575;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
max-width: 290px;
|
||||
}
|
||||
.wp-block-button__inline-link-input__suggestions {
|
||||
max-width: 290px;
|
||||
}
|
||||
@media (min-width: 782px) {
|
||||
.wp-block-button__inline-link {
|
||||
max-width: 260px;
|
||||
}
|
||||
.wp-block-button__inline-link-input__suggestions {
|
||||
max-width: 260px;
|
||||
}
|
||||
}
|
||||
@media (min-width: 960px) {
|
||||
.wp-block-button__inline-link {
|
||||
max-width: 290px;
|
||||
}
|
||||
.wp-block-button__inline-link-input__suggestions {
|
||||
max-width: 290px;
|
||||
}
|
||||
}
|
||||
.is-selected .wp-block-button__inline-link {
|
||||
height: auto;
|
||||
overflow: visible;
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.wp-button-label__width .components-button-group {
|
||||
display: block;
|
||||
}
|
||||
.wp-button-label__width .components-base-control__field {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
div[data-type="core/button"] {
|
||||
display: table;
|
||||
}
|
2
wp-includes/blocks/button/editor.min.css
vendored
Normal file
2
wp-includes/blocks/button/editor.min.css
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.wp-block[data-align=center]>.wp-block-button{text-align:center;margin-left:auto;margin-right:auto}.wp-block[data-align=right]>.wp-block-button{
|
||||
/*!rtl:ignore*/text-align:right}.wp-block-button{position:relative;cursor:text}.wp-block-button:not(.has-text-color):not(.is-style-outline) [data-rich-text-placeholder]:after{color:#fff}.wp-block-button:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:-2px}.wp-block-button[data-rich-text-placeholder]:after{opacity:.8}.wp-block-button__inline-link{color:#757575;height:0;overflow:hidden;max-width:290px}.wp-block-button__inline-link-input__suggestions{max-width:290px}@media (min-width:782px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:260px}}@media (min-width:960px){.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{max-width:290px}}.is-selected .wp-block-button__inline-link{height:auto;overflow:visible;margin-top:16px}.wp-button-label__width .components-button-group{display:block}.wp-button-label__width .components-base-control__field{margin-bottom:12px}div[data-type="core/button"]{display:table}
|
164
wp-includes/blocks/button/style-rtl.css
Normal file
164
wp-includes/blocks/button/style-rtl.css
Normal file
|
@ -0,0 +1,164 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-button__link {
|
||||
color: #fff;
|
||||
background-color: #32373c;
|
||||
border-radius: 9999px;
|
||||
box-shadow: none;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
font-size: 1.125em;
|
||||
padding: calc(0.667em + 2px) calc(1.333em + 2px);
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
overflow-wrap: break-word;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.wp-block-button__link:hover, .wp-block-button__link:focus, .wp-block-button__link:active, .wp-block-button__link:visited {
|
||||
color: #fff;
|
||||
}
|
||||
.wp-block-button__link.aligncenter {
|
||||
text-align: center;
|
||||
}
|
||||
.wp-block-button__link.alignright {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.wp-block-buttons > .wp-block-button.has-custom-width {
|
||||
max-width: none;
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.has-custom-width .wp-block-button__link {
|
||||
width: 100%;
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.has-custom-font-size .wp-block-button__link {
|
||||
font-size: inherit;
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.wp-block-button__width-25 {
|
||||
width: calc(25% - 0.5em);
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.wp-block-button__width-50 {
|
||||
width: calc(50% - 0.5em);
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.wp-block-button__width-75 {
|
||||
width: calc(75% - 0.5em);
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.wp-block-button__width-100 {
|
||||
width: calc(100% - 0.5em);
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.wp-block-button__width-100:only-child {
|
||||
margin-left: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@supports (column-gap: 0.5em) {
|
||||
.wp-block-buttons > .wp-block-button.wp-block-button, .wp-block-buttons.is-content-justification-right > .wp-block-button.wp-block-button {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.wp-block-button__width-25 {
|
||||
width: calc(25% - 0.375em);
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.wp-block-button__width-50 {
|
||||
width: calc(50% - 0.25em);
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.wp-block-button__width-75 {
|
||||
width: calc(75% - 0.125em);
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.wp-block-button__width-100 {
|
||||
width: auto;
|
||||
flex-basis: 100%;
|
||||
}
|
||||
}
|
||||
.wp-block-button.is-style-squared,
|
||||
.wp-block-button__link.wp-block-button.is-style-squared {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.wp-block-button.no-border-radius,
|
||||
.wp-block-button__link.no-border-radius {
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
|
||||
.is-style-outline > .wp-block-button__link,
|
||||
.wp-block-button__link.is-style-outline {
|
||||
border: 2px solid currentColor;
|
||||
padding: 0.667em 1.333em;
|
||||
}
|
||||
|
||||
.is-style-outline > .wp-block-button__link:not(.has-text-color),
|
||||
.wp-block-button__link.is-style-outline:not(.has-text-color) {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.is-style-outline > .wp-block-button__link:not(.has-background),
|
||||
.wp-block-button__link.is-style-outline:not(.has-background) {
|
||||
background-color: transparent;
|
||||
}
|
1
wp-includes/blocks/button/style-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/button/style-rtl.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;cursor:pointer;display:inline-block;font-size:1.125em;padding:calc(.667em + 2px) calc(1.333em + 2px);text-align:center;text-decoration:none;overflow-wrap:break-word;box-sizing:border-box}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:#fff}.wp-block-button__link.aligncenter{text-align:center}.wp-block-button__link.alignright{text-align:right}.wp-block-buttons>.wp-block-button.has-custom-width{max-width:none}.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{width:100%}.wp-block-buttons>.wp-block-button.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:calc(25% - .5em)}.wp-block-buttons>.wp-block-button.wp-block-button__width-50{width:calc(50% - .5em)}.wp-block-buttons>.wp-block-button.wp-block-button__width-75{width:calc(75% - .5em)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100{width:calc(100% - .5em)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100:only-child{margin-left:0;width:100%}@supports (column-gap:0.5em){.wp-block-buttons.is-content-justification-right>.wp-block-button.wp-block-button,.wp-block-buttons>.wp-block-button.wp-block-button{margin-left:0;margin-right:0}.wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:calc(25% - .375em)}.wp-block-buttons>.wp-block-button.wp-block-button__width-50{width:calc(50% - .25em)}.wp-block-buttons>.wp-block-button.wp-block-button__width-75{width:calc(75% - .125em)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100{width:auto;flex-basis:100%}}.wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{border-radius:0}.wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{border-radius:0!important}.is-style-outline>.wp-block-button__link,.wp-block-button__link.is-style-outline{border:2px solid;padding:.667em 1.333em}.is-style-outline>.wp-block-button__link:not(.has-text-color),.wp-block-button__link.is-style-outline:not(.has-text-color){color:currentColor}.is-style-outline>.wp-block-button__link:not(.has-background),.wp-block-button__link.is-style-outline:not(.has-background){background-color:transparent}
|
165
wp-includes/blocks/button/style.css
Normal file
165
wp-includes/blocks/button/style.css
Normal file
|
@ -0,0 +1,165 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-button__link {
|
||||
color: #fff;
|
||||
background-color: #32373c;
|
||||
border-radius: 9999px;
|
||||
box-shadow: none;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
font-size: 1.125em;
|
||||
padding: calc(0.667em + 2px) calc(1.333em + 2px);
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
overflow-wrap: break-word;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.wp-block-button__link:hover, .wp-block-button__link:focus, .wp-block-button__link:active, .wp-block-button__link:visited {
|
||||
color: #fff;
|
||||
}
|
||||
.wp-block-button__link.aligncenter {
|
||||
text-align: center;
|
||||
}
|
||||
.wp-block-button__link.alignright {
|
||||
/*rtl:ignore*/
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.wp-block-buttons > .wp-block-button.has-custom-width {
|
||||
max-width: none;
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.has-custom-width .wp-block-button__link {
|
||||
width: 100%;
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.has-custom-font-size .wp-block-button__link {
|
||||
font-size: inherit;
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.wp-block-button__width-25 {
|
||||
width: calc(25% - 0.5em);
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.wp-block-button__width-50 {
|
||||
width: calc(50% - 0.5em);
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.wp-block-button__width-75 {
|
||||
width: calc(75% - 0.5em);
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.wp-block-button__width-100 {
|
||||
width: calc(100% - 0.5em);
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.wp-block-button__width-100:only-child {
|
||||
margin-right: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@supports (column-gap: 0.5em) {
|
||||
.wp-block-buttons > .wp-block-button.wp-block-button, .wp-block-buttons.is-content-justification-right > .wp-block-button.wp-block-button {
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.wp-block-button__width-25 {
|
||||
width: calc(25% - 0.375em);
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.wp-block-button__width-50 {
|
||||
width: calc(50% - 0.25em);
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.wp-block-button__width-75 {
|
||||
width: calc(75% - 0.125em);
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.wp-block-button__width-100 {
|
||||
width: auto;
|
||||
flex-basis: 100%;
|
||||
}
|
||||
}
|
||||
.wp-block-button.is-style-squared,
|
||||
.wp-block-button__link.wp-block-button.is-style-squared {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.wp-block-button.no-border-radius,
|
||||
.wp-block-button__link.no-border-radius {
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
|
||||
.is-style-outline > .wp-block-button__link,
|
||||
.wp-block-button__link.is-style-outline {
|
||||
border: 2px solid currentColor;
|
||||
padding: 0.667em 1.333em;
|
||||
}
|
||||
|
||||
.is-style-outline > .wp-block-button__link:not(.has-text-color),
|
||||
.wp-block-button__link.is-style-outline:not(.has-text-color) {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
.is-style-outline > .wp-block-button__link:not(.has-background),
|
||||
.wp-block-button__link.is-style-outline:not(.has-background) {
|
||||
background-color: transparent;
|
||||
}
|
1
wp-includes/blocks/button/style.min.css
vendored
Normal file
1
wp-includes/blocks/button/style.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;cursor:pointer;display:inline-block;font-size:1.125em;padding:calc(.667em + 2px) calc(1.333em + 2px);text-align:center;text-decoration:none;overflow-wrap:break-word;box-sizing:border-box}.wp-block-button__link:active,.wp-block-button__link:focus,.wp-block-button__link:hover,.wp-block-button__link:visited{color:#fff}.wp-block-button__link.aligncenter{text-align:center}.wp-block-button__link.alignright{text-align:right}.wp-block-buttons>.wp-block-button.has-custom-width{max-width:none}.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{width:100%}.wp-block-buttons>.wp-block-button.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:calc(25% - .5em)}.wp-block-buttons>.wp-block-button.wp-block-button__width-50{width:calc(50% - .5em)}.wp-block-buttons>.wp-block-button.wp-block-button__width-75{width:calc(75% - .5em)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100{width:calc(100% - .5em)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100:only-child{margin-right:0;width:100%}@supports (column-gap:0.5em){.wp-block-buttons.is-content-justification-right>.wp-block-button.wp-block-button,.wp-block-buttons>.wp-block-button.wp-block-button{margin-right:0;margin-left:0}.wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:calc(25% - .375em)}.wp-block-buttons>.wp-block-button.wp-block-button__width-50{width:calc(50% - .25em)}.wp-block-buttons>.wp-block-button.wp-block-button__width-75{width:calc(75% - .125em)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100{width:auto;flex-basis:100%}}.wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{border-radius:0}.wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{border-radius:0!important}.is-style-outline>.wp-block-button__link,.wp-block-button__link.is-style-outline{border:2px solid;padding:.667em 1.333em}.is-style-outline>.wp-block-button__link:not(.has-text-color),.wp-block-button__link.is-style-outline:not(.has-text-color){color:currentColor}.is-style-outline>.wp-block-button__link:not(.has-background),.wp-block-button__link.is-style-outline:not(.has-background){background-color:transparent}
|
118
wp-includes/blocks/buttons/editor-rtl.css
Normal file
118
wp-includes/blocks/buttons/editor-rtl.css
Normal file
|
@ -0,0 +1,118 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block > .wp-block-buttons {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.wp-block-buttons {
|
||||
/* stylelint-disable indentation */
|
||||
}
|
||||
.wp-block-buttons > .wp-block {
|
||||
margin-right: 0;
|
||||
margin-top: 0.5em;
|
||||
margin-left: 0.5em;
|
||||
}
|
||||
.wp-block-buttons > .block-list-appender {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
}
|
||||
.wp-block-buttons.is-vertical > .block-list-appender .block-list-appender__toggle {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
.wp-block-buttons:not(.is-content-justification-space-between,
|
||||
.is-content-justification-right,
|
||||
.is-content-justification-left,
|
||||
.is-content-justification-center) .wp-block[data-align=center] {
|
||||
/* stylelint-enable indentation */
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
margin-top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.wp-block-buttons:not(.is-content-justification-space-between,
|
||||
.is-content-justification-right,
|
||||
.is-content-justification-left,
|
||||
.is-content-justification-center) .wp-block[data-align=center] .wp-block-button {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.wp-block[data-align=center] > .wp-block-buttons {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.wp-block[data-align=right] > .wp-block-buttons {
|
||||
justify-content: flex-end;
|
||||
}
|
1
wp-includes/blocks/buttons/editor-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/buttons/editor-rtl.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block>.wp-block-buttons{display:flex;flex-wrap:wrap}.wp-block-buttons>.wp-block{margin-right:0;margin-top:.5em;margin-left:.5em}.wp-block-buttons>.block-list-appender{display:inline-flex;align-items:center}.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{justify-content:flex-start}.wp-block-buttons>.wp-block-button:focus{box-shadow:none}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center]{margin-right:auto;margin-left:auto;margin-top:0;width:100%}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center] .wp-block-button{margin-bottom:0}.wp-block[data-align=center]>.wp-block-buttons{align-items:center;justify-content:center}.wp-block[data-align=right]>.wp-block-buttons{justify-content:flex-end}
|
118
wp-includes/blocks/buttons/editor.css
Normal file
118
wp-includes/blocks/buttons/editor.css
Normal file
|
@ -0,0 +1,118 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block > .wp-block-buttons {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.wp-block-buttons {
|
||||
/* stylelint-disable indentation */
|
||||
}
|
||||
.wp-block-buttons > .wp-block {
|
||||
margin-left: 0;
|
||||
margin-top: 0.5em;
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
.wp-block-buttons > .block-list-appender {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
}
|
||||
.wp-block-buttons.is-vertical > .block-list-appender .block-list-appender__toggle {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
.wp-block-buttons:not(.is-content-justification-space-between,
|
||||
.is-content-justification-right,
|
||||
.is-content-justification-left,
|
||||
.is-content-justification-center) .wp-block[data-align=center] {
|
||||
/* stylelint-enable indentation */
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.wp-block-buttons:not(.is-content-justification-space-between,
|
||||
.is-content-justification-right,
|
||||
.is-content-justification-left,
|
||||
.is-content-justification-center) .wp-block[data-align=center] .wp-block-button {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.wp-block[data-align=center] > .wp-block-buttons {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.wp-block[data-align=right] > .wp-block-buttons {
|
||||
justify-content: flex-end;
|
||||
}
|
1
wp-includes/blocks/buttons/editor.min.css
vendored
Normal file
1
wp-includes/blocks/buttons/editor.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block>.wp-block-buttons{display:flex;flex-wrap:wrap}.wp-block-buttons>.wp-block{margin-left:0;margin-top:.5em;margin-right:.5em}.wp-block-buttons>.block-list-appender{display:inline-flex;align-items:center}.wp-block-buttons.is-vertical>.block-list-appender .block-list-appender__toggle{justify-content:flex-start}.wp-block-buttons>.wp-block-button:focus{box-shadow:none}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center]{margin-left:auto;margin-right:auto;margin-top:0;width:100%}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block[data-align=center] .wp-block-button{margin-bottom:0}.wp-block[data-align=center]>.wp-block-buttons{align-items:center;justify-content:center}.wp-block[data-align=right]>.wp-block-buttons{justify-content:flex-end}
|
154
wp-includes/blocks/buttons/style-rtl.css
Normal file
154
wp-includes/blocks/buttons/style-rtl.css
Normal file
|
@ -0,0 +1,154 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-buttons {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
column-gap: 0.5em;
|
||||
/* stylelint-disable indentation */
|
||||
}
|
||||
.wp-block-buttons.is-vertical {
|
||||
flex-direction: column;
|
||||
}
|
||||
.wp-block-buttons.is-vertical > .wp-block-button {
|
||||
margin-right: 0;
|
||||
}
|
||||
.wp-block-buttons.is-vertical > .wp-block-button:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button {
|
||||
display: inline-block;
|
||||
margin-left: 0;
|
||||
margin-right: 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-left {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-left.is-vertical {
|
||||
align-items: flex-start;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-center {
|
||||
justify-content: center;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-center.is-vertical {
|
||||
align-items: center;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-right {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-right > .wp-block-button {
|
||||
margin-left: 0.5em;
|
||||
margin-right: 0;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-right > .wp-block-button:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-right.is-vertical {
|
||||
align-items: flex-end;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-space-between {
|
||||
justify-content: space-between;
|
||||
}
|
||||
.wp-block-buttons.aligncenter {
|
||||
text-align: center;
|
||||
}
|
||||
.wp-block-buttons.alignleft .wp-block-button {
|
||||
margin-left: 0;
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
.wp-block-buttons.alignleft .wp-block-button:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
.wp-block-buttons.alignright .wp-block-button {
|
||||
margin-right: 0;
|
||||
margin-left: 0.5em;
|
||||
}
|
||||
.wp-block-buttons.alignright .wp-block-button:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
.wp-block-buttons:not(.is-content-justification-space-between,
|
||||
.is-content-justification-right,
|
||||
.is-content-justification-left,
|
||||
.is-content-justification-center) .wp-block-button.aligncenter {
|
||||
/* stylelint-enable indentation */
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
margin-bottom: 0.5em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.wp-block-button.aligncenter {
|
||||
text-align: center;
|
||||
}
|
1
wp-includes/blocks/buttons/style-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/buttons/style-rtl.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-buttons{display:flex;flex-direction:row;flex-wrap:wrap;column-gap:.5em}.wp-block-buttons.is-vertical{flex-direction:column}.wp-block-buttons.is-vertical>.wp-block-button{margin-right:0}.wp-block-buttons.is-vertical>.wp-block-button:last-child{margin-bottom:0}.wp-block-buttons>.wp-block-button{display:inline-block;margin-left:0;margin-right:.5em;margin-bottom:.5em}.wp-block-buttons>.wp-block-button:last-child{margin-right:0}.wp-block-buttons.is-content-justification-left{justify-content:flex-start}.wp-block-buttons.is-content-justification-left.is-vertical{align-items:flex-start}.wp-block-buttons.is-content-justification-center{justify-content:center}.wp-block-buttons.is-content-justification-center.is-vertical{align-items:center}.wp-block-buttons.is-content-justification-right{justify-content:flex-end}.wp-block-buttons.is-content-justification-right>.wp-block-button{margin-left:.5em;margin-right:0}.wp-block-buttons.is-content-justification-right>.wp-block-button:first-child{margin-left:0}.wp-block-buttons.is-content-justification-right.is-vertical{align-items:flex-end}.wp-block-buttons.is-content-justification-space-between{justify-content:space-between}.wp-block-buttons.aligncenter{text-align:center}.wp-block-buttons.alignleft .wp-block-button{margin-left:0;margin-right:.5em}.wp-block-buttons.alignleft .wp-block-button:last-child{margin-right:0}.wp-block-buttons.alignright .wp-block-button{margin-right:0;margin-left:.5em}.wp-block-buttons.alignright .wp-block-button:first-child{margin-left:0}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block-button.aligncenter{margin-right:auto;margin-left:auto;margin-bottom:.5em;width:100%}.wp-block-button.aligncenter{text-align:center}
|
167
wp-includes/blocks/buttons/style.css
Normal file
167
wp-includes/blocks/buttons/style.css
Normal file
|
@ -0,0 +1,167 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-buttons {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
column-gap: 0.5em;
|
||||
/* stylelint-disable indentation */
|
||||
}
|
||||
.wp-block-buttons.is-vertical {
|
||||
flex-direction: column;
|
||||
}
|
||||
.wp-block-buttons.is-vertical > .wp-block-button {
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0;
|
||||
}
|
||||
.wp-block-buttons.is-vertical > .wp-block-button:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button {
|
||||
display: inline-block;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 0;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button:last-child {
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-left {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-left.is-vertical {
|
||||
align-items: flex-start;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-center {
|
||||
justify-content: center;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-center.is-vertical {
|
||||
align-items: center;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-right {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-right > .wp-block-button {
|
||||
/*rtl:ignore*/
|
||||
margin-left: 0.5em;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-right > .wp-block-button:first-child {
|
||||
/*rtl:ignore*/
|
||||
margin-left: 0;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-right.is-vertical {
|
||||
align-items: flex-end;
|
||||
}
|
||||
.wp-block-buttons.is-content-justification-space-between {
|
||||
justify-content: space-between;
|
||||
}
|
||||
.wp-block-buttons.aligncenter {
|
||||
text-align: center;
|
||||
}
|
||||
.wp-block-buttons.alignleft .wp-block-button {
|
||||
/*rtl:ignore*/
|
||||
margin-left: 0;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
.wp-block-buttons.alignleft .wp-block-button:last-child {
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0;
|
||||
}
|
||||
.wp-block-buttons.alignright .wp-block-button {
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 0.5em;
|
||||
}
|
||||
.wp-block-buttons.alignright .wp-block-button:first-child {
|
||||
/*rtl:ignore*/
|
||||
margin-left: 0;
|
||||
}
|
||||
.wp-block-buttons:not(.is-content-justification-space-between,
|
||||
.is-content-justification-right,
|
||||
.is-content-justification-left,
|
||||
.is-content-justification-center) .wp-block-button.aligncenter {
|
||||
/* stylelint-enable indentation */
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-bottom: 0.5em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.wp-block-button.aligncenter {
|
||||
text-align: center;
|
||||
}
|
1
wp-includes/blocks/buttons/style.min.css
vendored
Normal file
1
wp-includes/blocks/buttons/style.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-buttons{display:flex;flex-direction:row;flex-wrap:wrap;column-gap:.5em}.wp-block-buttons.is-vertical{flex-direction:column}.wp-block-buttons.is-vertical>.wp-block-button{margin-right:0}.wp-block-buttons.is-vertical>.wp-block-button:last-child{margin-bottom:0}.wp-block-buttons>.wp-block-button{display:inline-block;margin-left:0;margin-right:.5em;margin-bottom:.5em}.wp-block-buttons>.wp-block-button:last-child{margin-right:0}.wp-block-buttons.is-content-justification-left{justify-content:flex-start}.wp-block-buttons.is-content-justification-left.is-vertical{align-items:flex-start}.wp-block-buttons.is-content-justification-center{justify-content:center}.wp-block-buttons.is-content-justification-center.is-vertical{align-items:center}.wp-block-buttons.is-content-justification-right{justify-content:flex-end}.wp-block-buttons.is-content-justification-right>.wp-block-button{margin-left:.5em;margin-right:0}.wp-block-buttons.is-content-justification-right>.wp-block-button:first-child{margin-left:0}.wp-block-buttons.is-content-justification-right.is-vertical{align-items:flex-end}.wp-block-buttons.is-content-justification-space-between{justify-content:space-between}.wp-block-buttons.aligncenter{text-align:center}.wp-block-buttons.alignleft .wp-block-button{margin-left:0;margin-right:.5em}.wp-block-buttons.alignleft .wp-block-button:last-child{margin-right:0}.wp-block-buttons.alignright .wp-block-button{margin-right:0;margin-left:.5em}.wp-block-buttons.alignright .wp-block-button:first-child{margin-left:0}.wp-block-buttons:not(.is-content-justification-space-between,.is-content-justification-right,.is-content-justification-left,.is-content-justification-center) .wp-block-button.aligncenter{margin-left:auto;margin-right:auto;margin-bottom:.5em;width:100%}.wp-block-button.aligncenter{text-align:center}
|
96
wp-includes/blocks/calendar/style-rtl.css
Normal file
96
wp-includes/blocks/calendar/style-rtl.css
Normal file
|
@ -0,0 +1,96 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-calendar {
|
||||
text-align: center;
|
||||
}
|
||||
.wp-block-calendar th,
|
||||
.wp-block-calendar tbody td {
|
||||
padding: 0.25em;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
.wp-block-calendar tfoot td {
|
||||
border: none;
|
||||
}
|
||||
.wp-block-calendar table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
.wp-block-calendar table th {
|
||||
font-weight: 400;
|
||||
background: #ddd;
|
||||
}
|
||||
.wp-block-calendar a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.wp-block-calendar table tbody,
|
||||
.wp-block-calendar table caption {
|
||||
color: #40464d;
|
||||
}
|
1
wp-includes/blocks/calendar/style-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/calendar/style-rtl.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{padding:.25em;border:1px solid #ddd}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{width:100%;border-collapse:collapse}.wp-block-calendar table th{font-weight:400;background:#ddd}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}
|
96
wp-includes/blocks/calendar/style.css
Normal file
96
wp-includes/blocks/calendar/style.css
Normal file
|
@ -0,0 +1,96 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-calendar {
|
||||
text-align: center;
|
||||
}
|
||||
.wp-block-calendar th,
|
||||
.wp-block-calendar tbody td {
|
||||
padding: 0.25em;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
.wp-block-calendar tfoot td {
|
||||
border: none;
|
||||
}
|
||||
.wp-block-calendar table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
.wp-block-calendar table th {
|
||||
font-weight: 400;
|
||||
background: #ddd;
|
||||
}
|
||||
.wp-block-calendar a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.wp-block-calendar table tbody,
|
||||
.wp-block-calendar table caption {
|
||||
color: #40464d;
|
||||
}
|
1
wp-includes/blocks/calendar/style.min.css
vendored
Normal file
1
wp-includes/blocks/calendar/style.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-calendar{text-align:center}.wp-block-calendar tbody td,.wp-block-calendar th{padding:.25em;border:1px solid #ddd}.wp-block-calendar tfoot td{border:none}.wp-block-calendar table{width:100%;border-collapse:collapse}.wp-block-calendar table th{font-weight:400;background:#ddd}.wp-block-calendar a{text-decoration:underline}.wp-block-calendar table caption,.wp-block-calendar table tbody{color:#40464d}
|
76
wp-includes/blocks/categories/editor-rtl.css
Normal file
76
wp-includes/blocks/categories/editor-rtl.css
Normal file
|
@ -0,0 +1,76 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-categories ul {
|
||||
padding-right: 2.5em;
|
||||
}
|
||||
.wp-block-categories ul ul {
|
||||
margin-top: 6px;
|
||||
}
|
1
wp-includes/blocks/categories/editor-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/categories/editor-rtl.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-categories ul{padding-right:2.5em}.wp-block-categories ul ul{margin-top:6px}
|
76
wp-includes/blocks/categories/editor.css
Normal file
76
wp-includes/blocks/categories/editor.css
Normal file
|
@ -0,0 +1,76 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-categories ul {
|
||||
padding-left: 2.5em;
|
||||
}
|
||||
.wp-block-categories ul ul {
|
||||
margin-top: 6px;
|
||||
}
|
1
wp-includes/blocks/categories/editor.min.css
vendored
Normal file
1
wp-includes/blocks/categories/editor.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-categories ul{padding-left:2.5em}.wp-block-categories ul ul{margin-top:6px}
|
76
wp-includes/blocks/categories/style-rtl.css
Normal file
76
wp-includes/blocks/categories/style-rtl.css
Normal file
|
@ -0,0 +1,76 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-categories.alignleft {
|
||||
margin-right: 2em;
|
||||
}
|
||||
.wp-block-categories.alignright {
|
||||
margin-left: 2em;
|
||||
}
|
1
wp-includes/blocks/categories/style-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/categories/style-rtl.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}
|
78
wp-includes/blocks/categories/style.css
Normal file
78
wp-includes/blocks/categories/style.css
Normal file
|
@ -0,0 +1,78 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-categories.alignleft {
|
||||
/*rtl:ignore*/
|
||||
margin-right: 2em;
|
||||
}
|
||||
.wp-block-categories.alignright {
|
||||
/*rtl:ignore*/
|
||||
margin-left: 2em;
|
||||
}
|
1
wp-includes/blocks/categories/style.min.css
vendored
Normal file
1
wp-includes/blocks/categories/style.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-categories.alignleft{margin-right:2em}.wp-block-categories.alignright{margin-left:2em}
|
75
wp-includes/blocks/code/style-rtl.css
Normal file
75
wp-includes/blocks/code/style-rtl.css
Normal file
|
@ -0,0 +1,75 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-code code {
|
||||
display: block;
|
||||
white-space: pre-wrap;
|
||||
overflow-wrap: break-word;
|
||||
}
|
1
wp-includes/blocks/code/style-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/code/style-rtl.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-code code{display:block;white-space:pre-wrap;overflow-wrap:break-word}
|
75
wp-includes/blocks/code/style.css
Normal file
75
wp-includes/blocks/code/style.css
Normal file
|
@ -0,0 +1,75 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-code code {
|
||||
display: block;
|
||||
white-space: pre-wrap;
|
||||
overflow-wrap: break-word;
|
||||
}
|
1
wp-includes/blocks/code/style.min.css
vendored
Normal file
1
wp-includes/blocks/code/style.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-code code{display:block;white-space:pre-wrap;overflow-wrap:break-word}
|
90
wp-includes/blocks/columns/editor-rtl.css
Normal file
90
wp-includes/blocks/columns/editor-rtl.css
Normal file
|
@ -0,0 +1,90 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-columns .wp-block {
|
||||
max-width: none;
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
@media (min-width: 600px) {
|
||||
.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:nth-child(even) {
|
||||
margin-right: 32px;
|
||||
}
|
||||
}
|
||||
@media (min-width: 782px) {
|
||||
.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:not(:first-child) {
|
||||
margin-right: 32px;
|
||||
}
|
||||
}
|
||||
.block-editor-block-list__block.wp-block-column.wp-block-column {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
1
wp-includes/blocks/columns/editor-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/columns/editor-rtl.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-columns .wp-block{max-width:none;margin-right:0;margin-left:0}@media (min-width:600px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:nth-child(2n){margin-right:32px}}@media (min-width:782px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:not(:first-child){margin-right:32px}}.block-editor-block-list__block.wp-block-column.wp-block-column{margin-top:0;margin-bottom:0}
|
90
wp-includes/blocks/columns/editor.css
Normal file
90
wp-includes/blocks/columns/editor.css
Normal file
|
@ -0,0 +1,90 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-columns .wp-block {
|
||||
max-width: none;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
@media (min-width: 600px) {
|
||||
.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:nth-child(even) {
|
||||
margin-left: 32px;
|
||||
}
|
||||
}
|
||||
@media (min-width: 782px) {
|
||||
.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:not(:first-child) {
|
||||
margin-left: 32px;
|
||||
}
|
||||
}
|
||||
.block-editor-block-list__block.wp-block-column.wp-block-column {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
1
wp-includes/blocks/columns/editor.min.css
vendored
Normal file
1
wp-includes/blocks/columns/editor.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-columns .wp-block{max-width:none;margin-left:0;margin-right:0}@media (min-width:600px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:nth-child(2n){margin-left:32px}}@media (min-width:782px){.editor-styles-wrapper .block-editor-block-list__block.wp-block-column:not(:first-child){margin-left:32px}}.block-editor-block-list__block.wp-block-column.wp-block-column{margin-top:0;margin-bottom:0}
|
144
wp-includes/blocks/columns/style-rtl.css
Normal file
144
wp-includes/blocks/columns/style-rtl.css
Normal file
|
@ -0,0 +1,144 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-columns {
|
||||
display: flex;
|
||||
margin-bottom: 1.75em;
|
||||
box-sizing: border-box;
|
||||
flex-wrap: wrap;
|
||||
/**
|
||||
* All Columns Alignment
|
||||
*/
|
||||
}
|
||||
@media (min-width: 782px) {
|
||||
.wp-block-columns {
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
}
|
||||
.wp-block-columns.has-background {
|
||||
padding: 1.25em 2.375em;
|
||||
}
|
||||
.wp-block-columns.are-vertically-aligned-top {
|
||||
align-items: flex-start;
|
||||
}
|
||||
.wp-block-columns.are-vertically-aligned-center {
|
||||
align-items: center;
|
||||
}
|
||||
.wp-block-columns.are-vertically-aligned-bottom {
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.wp-block-column {
|
||||
flex-grow: 1;
|
||||
min-width: 0;
|
||||
word-break: break-word;
|
||||
overflow-wrap: break-word;
|
||||
/**
|
||||
* Individual Column Alignment
|
||||
*/
|
||||
}
|
||||
@media (max-width: 599px) {
|
||||
.wp-block-column {
|
||||
flex-basis: 100% !important;
|
||||
}
|
||||
}
|
||||
@media (min-width: 600px) and (max-width: 781px) {
|
||||
.wp-block-column:not(:only-child) {
|
||||
flex-basis: calc(50% - 1em) !important;
|
||||
flex-grow: 0;
|
||||
}
|
||||
.wp-block-column:nth-child(even) {
|
||||
margin-right: 2em;
|
||||
}
|
||||
}
|
||||
@media (min-width: 782px) {
|
||||
.wp-block-column {
|
||||
flex-basis: 0;
|
||||
flex-grow: 1;
|
||||
}
|
||||
.wp-block-column[style*=flex-basis] {
|
||||
flex-grow: 0;
|
||||
}
|
||||
.wp-block-column:not(:first-child) {
|
||||
margin-right: 2em;
|
||||
}
|
||||
}
|
||||
.wp-block-column.is-vertically-aligned-top {
|
||||
align-self: flex-start;
|
||||
}
|
||||
.wp-block-column.is-vertically-aligned-center {
|
||||
align-self: center;
|
||||
}
|
||||
.wp-block-column.is-vertically-aligned-bottom {
|
||||
align-self: flex-end;
|
||||
}
|
||||
.wp-block-column.is-vertically-aligned-top, .wp-block-column.is-vertically-aligned-center, .wp-block-column.is-vertically-aligned-bottom {
|
||||
width: 100%;
|
||||
}
|
1
wp-includes/blocks/columns/style-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/columns/style-rtl.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-columns{display:flex;margin-bottom:1.75em;box-sizing:border-box;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-columns.has-background{padding:1.25em 2.375em}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}.wp-block-column{flex-grow:1;min-width:0;word-break:break-word;overflow-wrap:break-word}@media (max-width:599px){.wp-block-column{flex-basis:100%!important}}@media (min-width:600px) and (max-width:781px){.wp-block-column:not(:only-child){flex-basis:calc(50% - 1em)!important;flex-grow:0}.wp-block-column:nth-child(2n){margin-right:2em}}@media (min-width:782px){.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-column[style*=flex-basis]{flex-grow:0}.wp-block-column:not(:first-child){margin-right:2em}}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}
|
144
wp-includes/blocks/columns/style.css
Normal file
144
wp-includes/blocks/columns/style.css
Normal file
|
@ -0,0 +1,144 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-columns {
|
||||
display: flex;
|
||||
margin-bottom: 1.75em;
|
||||
box-sizing: border-box;
|
||||
flex-wrap: wrap;
|
||||
/**
|
||||
* All Columns Alignment
|
||||
*/
|
||||
}
|
||||
@media (min-width: 782px) {
|
||||
.wp-block-columns {
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
}
|
||||
.wp-block-columns.has-background {
|
||||
padding: 1.25em 2.375em;
|
||||
}
|
||||
.wp-block-columns.are-vertically-aligned-top {
|
||||
align-items: flex-start;
|
||||
}
|
||||
.wp-block-columns.are-vertically-aligned-center {
|
||||
align-items: center;
|
||||
}
|
||||
.wp-block-columns.are-vertically-aligned-bottom {
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.wp-block-column {
|
||||
flex-grow: 1;
|
||||
min-width: 0;
|
||||
word-break: break-word;
|
||||
overflow-wrap: break-word;
|
||||
/**
|
||||
* Individual Column Alignment
|
||||
*/
|
||||
}
|
||||
@media (max-width: 599px) {
|
||||
.wp-block-column {
|
||||
flex-basis: 100% !important;
|
||||
}
|
||||
}
|
||||
@media (min-width: 600px) and (max-width: 781px) {
|
||||
.wp-block-column:not(:only-child) {
|
||||
flex-basis: calc(50% - 1em) !important;
|
||||
flex-grow: 0;
|
||||
}
|
||||
.wp-block-column:nth-child(even) {
|
||||
margin-left: 2em;
|
||||
}
|
||||
}
|
||||
@media (min-width: 782px) {
|
||||
.wp-block-column {
|
||||
flex-basis: 0;
|
||||
flex-grow: 1;
|
||||
}
|
||||
.wp-block-column[style*=flex-basis] {
|
||||
flex-grow: 0;
|
||||
}
|
||||
.wp-block-column:not(:first-child) {
|
||||
margin-left: 2em;
|
||||
}
|
||||
}
|
||||
.wp-block-column.is-vertically-aligned-top {
|
||||
align-self: flex-start;
|
||||
}
|
||||
.wp-block-column.is-vertically-aligned-center {
|
||||
align-self: center;
|
||||
}
|
||||
.wp-block-column.is-vertically-aligned-bottom {
|
||||
align-self: flex-end;
|
||||
}
|
||||
.wp-block-column.is-vertically-aligned-top, .wp-block-column.is-vertically-aligned-center, .wp-block-column.is-vertically-aligned-bottom {
|
||||
width: 100%;
|
||||
}
|
1
wp-includes/blocks/columns/style.min.css
vendored
Normal file
1
wp-includes/blocks/columns/style.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-columns{display:flex;margin-bottom:1.75em;box-sizing:border-box;flex-wrap:wrap}@media (min-width:782px){.wp-block-columns{flex-wrap:nowrap}}.wp-block-columns.has-background{padding:1.25em 2.375em}.wp-block-columns.are-vertically-aligned-top{align-items:flex-start}.wp-block-columns.are-vertically-aligned-center{align-items:center}.wp-block-columns.are-vertically-aligned-bottom{align-items:flex-end}.wp-block-column{flex-grow:1;min-width:0;word-break:break-word;overflow-wrap:break-word}@media (max-width:599px){.wp-block-column{flex-basis:100%!important}}@media (min-width:600px) and (max-width:781px){.wp-block-column:not(:only-child){flex-basis:calc(50% - 1em)!important;flex-grow:0}.wp-block-column:nth-child(2n){margin-left:2em}}@media (min-width:782px){.wp-block-column{flex-basis:0;flex-grow:1}.wp-block-column[style*=flex-basis]{flex-grow:0}.wp-block-column:not(:first-child){margin-left:2em}}.wp-block-column.is-vertically-aligned-top{align-self:flex-start}.wp-block-column.is-vertically-aligned-center{align-self:center}.wp-block-column.is-vertically-aligned-bottom{align-self:flex-end}.wp-block-column.is-vertically-aligned-bottom,.wp-block-column.is-vertically-aligned-center,.wp-block-column.is-vertically-aligned-top{width:100%}
|
161
wp-includes/blocks/cover/editor-rtl.css
Normal file
161
wp-includes/blocks/cover/editor-rtl.css
Normal file
|
@ -0,0 +1,161 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-cover.is-placeholder {
|
||||
min-height: auto !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
.wp-block-cover.components-placeholder h2 {
|
||||
color: inherit;
|
||||
}
|
||||
.wp-block-cover.is-transient::before {
|
||||
background-color: #fff;
|
||||
opacity: 0.3;
|
||||
}
|
||||
.wp-block-cover .components-spinner {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
top: 50%;
|
||||
right: 50%;
|
||||
transform: translate(50%, -50%);
|
||||
margin: 0;
|
||||
}
|
||||
.wp-block-cover .block-editor-block-list__layout {
|
||||
width: 100%;
|
||||
}
|
||||
.wp-block-cover .wp-block-cover__inner-container {
|
||||
text-align: right;
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
.wp-block-cover .wp-block-cover__placeholder-background-options {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
[data-align=left] > .wp-block-cover,
|
||||
[data-align=right] > .wp-block-cover {
|
||||
max-width: 420px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.block-library-cover__reset-button {
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.block-library-cover__resize-container {
|
||||
position: absolute !important;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.block-library-cover__resize-container:not(.is-resizing) {
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
.wp-block-cover > .components-drop-zone.is-active {
|
||||
transition: 0.2s opacity, 0.2s border;
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.wp-block-cover > .components-drop-zone.is-active {
|
||||
transition-duration: 0s;
|
||||
transition-delay: 0s;
|
||||
}
|
||||
}
|
||||
.wp-block-cover > .components-drop-zone.is-dragging-over-element {
|
||||
background-color: transparent;
|
||||
border: 48px solid var(--wp-admin-theme-color);
|
||||
}
|
||||
.wp-block-cover > .components-drop-zone.is-dragging-over-element .components-drop-zone__content {
|
||||
transform: none;
|
||||
}
|
||||
.wp-block-cover > .components-drop-zone .components-drop-zone__content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
top: -36px;
|
||||
right: -36px;
|
||||
transform: none;
|
||||
}
|
||||
.wp-block-cover > .components-drop-zone .components-drop-zone__content-icon,
|
||||
.wp-block-cover > .components-drop-zone .components-drop-zone__content-text {
|
||||
display: inline;
|
||||
}
|
||||
.wp-block-cover > .components-drop-zone .components-drop-zone__content-icon {
|
||||
margin: 0;
|
||||
margin-left: 8px;
|
||||
}
|
||||
.wp-block-cover > .components-drop-zone .components-drop-zone__content-text {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.block-editor-block-patterns-list__list-item .has-parallax.wp-block-cover {
|
||||
background-attachment: scroll;
|
||||
}
|
1
wp-includes/blocks/cover/editor-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/cover/editor-rtl.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-cover.is-placeholder{min-height:auto!important;padding:0!important}.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover.is-transient:before{background-color:#fff;opacity:.3}.wp-block-cover .components-spinner{position:absolute;z-index:1;top:50%;right:50%;transform:translate(50%,-50%);margin:0}.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover .wp-block-cover__inner-container{text-align:right;margin-right:0;margin-left:0}.wp-block-cover .wp-block-cover__placeholder-background-options{width:100%}[data-align=left]>.wp-block-cover,[data-align=right]>.wp-block-cover{max-width:420px;width:100%}.block-library-cover__reset-button{margin-right:auto}.block-library-cover__resize-container{position:absolute!important;top:0;right:0;left:0;bottom:0}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-cover>.components-drop-zone.is-active{transition:opacity .2s,border .2s}@media (prefers-reduced-motion:reduce){.wp-block-cover>.components-drop-zone.is-active{transition-duration:0s;transition-delay:0s}}.wp-block-cover>.components-drop-zone.is-dragging-over-element{background-color:transparent;border:48px solid var(--wp-admin-theme-color)}.wp-block-cover>.components-drop-zone.is-dragging-over-element .components-drop-zone__content{transform:none}.wp-block-cover>.components-drop-zone .components-drop-zone__content{display:flex;align-items:center;top:-36px;right:-36px;transform:none}.wp-block-cover>.components-drop-zone .components-drop-zone__content-icon,.wp-block-cover>.components-drop-zone .components-drop-zone__content-text{display:inline}.wp-block-cover>.components-drop-zone .components-drop-zone__content-icon{margin:0 0 0 8px}.wp-block-cover>.components-drop-zone .components-drop-zone__content-text{font-size:13px}.block-editor-block-patterns-list__list-item .has-parallax.wp-block-cover{background-attachment:scroll}
|
161
wp-includes/blocks/cover/editor.css
Normal file
161
wp-includes/blocks/cover/editor.css
Normal file
|
@ -0,0 +1,161 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-cover.is-placeholder {
|
||||
min-height: auto !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
.wp-block-cover.components-placeholder h2 {
|
||||
color: inherit;
|
||||
}
|
||||
.wp-block-cover.is-transient::before {
|
||||
background-color: #fff;
|
||||
opacity: 0.3;
|
||||
}
|
||||
.wp-block-cover .components-spinner {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
margin: 0;
|
||||
}
|
||||
.wp-block-cover .block-editor-block-list__layout {
|
||||
width: 100%;
|
||||
}
|
||||
.wp-block-cover .wp-block-cover__inner-container {
|
||||
text-align: left;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
.wp-block-cover .wp-block-cover__placeholder-background-options {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
[data-align=left] > .wp-block-cover,
|
||||
[data-align=right] > .wp-block-cover {
|
||||
max-width: 420px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.block-library-cover__reset-button {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.block-library-cover__resize-container {
|
||||
position: absolute !important;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.block-library-cover__resize-container:not(.is-resizing) {
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
.wp-block-cover > .components-drop-zone.is-active {
|
||||
transition: 0.2s opacity, 0.2s border;
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.wp-block-cover > .components-drop-zone.is-active {
|
||||
transition-duration: 0s;
|
||||
transition-delay: 0s;
|
||||
}
|
||||
}
|
||||
.wp-block-cover > .components-drop-zone.is-dragging-over-element {
|
||||
background-color: transparent;
|
||||
border: 48px solid var(--wp-admin-theme-color);
|
||||
}
|
||||
.wp-block-cover > .components-drop-zone.is-dragging-over-element .components-drop-zone__content {
|
||||
transform: none;
|
||||
}
|
||||
.wp-block-cover > .components-drop-zone .components-drop-zone__content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
top: -36px;
|
||||
left: -36px;
|
||||
transform: none;
|
||||
}
|
||||
.wp-block-cover > .components-drop-zone .components-drop-zone__content-icon,
|
||||
.wp-block-cover > .components-drop-zone .components-drop-zone__content-text {
|
||||
display: inline;
|
||||
}
|
||||
.wp-block-cover > .components-drop-zone .components-drop-zone__content-icon {
|
||||
margin: 0;
|
||||
margin-right: 8px;
|
||||
}
|
||||
.wp-block-cover > .components-drop-zone .components-drop-zone__content-text {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.block-editor-block-patterns-list__list-item .has-parallax.wp-block-cover {
|
||||
background-attachment: scroll;
|
||||
}
|
1
wp-includes/blocks/cover/editor.min.css
vendored
Normal file
1
wp-includes/blocks/cover/editor.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-cover.is-placeholder{min-height:auto!important;padding:0!important}.wp-block-cover.components-placeholder h2{color:inherit}.wp-block-cover.is-transient:before{background-color:#fff;opacity:.3}.wp-block-cover .components-spinner{position:absolute;z-index:1;top:50%;left:50%;transform:translate(-50%,-50%);margin:0}.wp-block-cover .block-editor-block-list__layout{width:100%}.wp-block-cover .wp-block-cover__inner-container{text-align:left;margin-left:0;margin-right:0}.wp-block-cover .wp-block-cover__placeholder-background-options{width:100%}[data-align=left]>.wp-block-cover,[data-align=right]>.wp-block-cover{max-width:420px;width:100%}.block-library-cover__reset-button{margin-left:auto}.block-library-cover__resize-container{position:absolute!important;top:0;left:0;right:0;bottom:0}.block-library-cover__resize-container:not(.is-resizing){height:auto!important}.wp-block-cover>.components-drop-zone.is-active{transition:opacity .2s,border .2s}@media (prefers-reduced-motion:reduce){.wp-block-cover>.components-drop-zone.is-active{transition-duration:0s;transition-delay:0s}}.wp-block-cover>.components-drop-zone.is-dragging-over-element{background-color:transparent;border:48px solid var(--wp-admin-theme-color)}.wp-block-cover>.components-drop-zone.is-dragging-over-element .components-drop-zone__content{transform:none}.wp-block-cover>.components-drop-zone .components-drop-zone__content{display:flex;align-items:center;top:-36px;left:-36px;transform:none}.wp-block-cover>.components-drop-zone .components-drop-zone__content-icon,.wp-block-cover>.components-drop-zone .components-drop-zone__content-text{display:inline}.wp-block-cover>.components-drop-zone .components-drop-zone__content-icon{margin:0 8px 0 0}.wp-block-cover>.components-drop-zone .components-drop-zone__content-text{font-size:13px}.block-editor-block-patterns-list__list-item .has-parallax.wp-block-cover{background-attachment:scroll}
|
374
wp-includes/blocks/cover/style-rtl.css
Normal file
374
wp-includes/blocks/cover/style-rtl.css
Normal file
|
@ -0,0 +1,374 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-cover-image,
|
||||
.wp-block-cover {
|
||||
position: relative;
|
||||
background-size: cover;
|
||||
background-position: center center;
|
||||
min-height: 430px;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 1em;
|
||||
box-sizing: border-box;
|
||||
/**
|
||||
* Set a default background color for has-background-dim _unless_ it includes another
|
||||
* background-color class (e.g. has-green-background-color). The presence of another
|
||||
* background-color class implies that another style will provide the background color
|
||||
* for the overlay.
|
||||
*
|
||||
* See:
|
||||
* - Issue with background color specificity: https://github.com/WordPress/gutenberg/issues/26545
|
||||
* - Issue with alternative fix: https://github.com/WordPress/gutenberg/issues/26545
|
||||
*/
|
||||
}
|
||||
.wp-block-cover-image.has-parallax,
|
||||
.wp-block-cover.has-parallax {
|
||||
background-attachment: fixed;
|
||||
}
|
||||
@supports (-webkit-overflow-scrolling: touch) {
|
||||
.wp-block-cover-image.has-parallax,
|
||||
.wp-block-cover.has-parallax {
|
||||
background-attachment: scroll;
|
||||
}
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.wp-block-cover-image.has-parallax,
|
||||
.wp-block-cover.has-parallax {
|
||||
background-attachment: scroll;
|
||||
}
|
||||
}
|
||||
.wp-block-cover-image.is-repeated,
|
||||
.wp-block-cover.is-repeated {
|
||||
background-repeat: repeat;
|
||||
background-size: auto;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim:not([class*=-background-color]),
|
||||
.wp-block-cover.has-background-dim:not([class*=-background-color]) {
|
||||
background-color: #000;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim::before,
|
||||
.wp-block-cover.has-background-dim::before {
|
||||
content: "";
|
||||
background-color: inherit;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim:not(.has-background-gradient)::before,
|
||||
.wp-block-cover .wp-block-cover__gradient-background {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
opacity: 0.5;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background {
|
||||
opacity: 0.1;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background {
|
||||
opacity: 0.2;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background {
|
||||
opacity: 0.3;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background {
|
||||
opacity: 0.4;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background {
|
||||
opacity: 0.5;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background {
|
||||
opacity: 0.6;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background {
|
||||
opacity: 0.7;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background {
|
||||
opacity: 0.8;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background {
|
||||
opacity: 0.9;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background {
|
||||
opacity: 1;
|
||||
}
|
||||
.wp-block-cover-image.alignleft, .wp-block-cover-image.alignright,
|
||||
.wp-block-cover.alignleft,
|
||||
.wp-block-cover.alignright {
|
||||
max-width: 420px;
|
||||
width: 100%;
|
||||
}
|
||||
.wp-block-cover-image::after,
|
||||
.wp-block-cover::after {
|
||||
display: block;
|
||||
content: "";
|
||||
font-size: 0;
|
||||
min-height: inherit;
|
||||
}
|
||||
@supports (position: sticky) {
|
||||
.wp-block-cover-image::after,
|
||||
.wp-block-cover::after {
|
||||
content: none;
|
||||
}
|
||||
}
|
||||
.wp-block-cover-image.aligncenter, .wp-block-cover-image.alignleft, .wp-block-cover-image.alignright,
|
||||
.wp-block-cover.aligncenter,
|
||||
.wp-block-cover.alignleft,
|
||||
.wp-block-cover.alignright {
|
||||
display: flex;
|
||||
}
|
||||
.wp-block-cover-image .wp-block-cover__inner-container,
|
||||
.wp-block-cover .wp-block-cover__inner-container {
|
||||
width: 100%;
|
||||
z-index: 1;
|
||||
color: #fff;
|
||||
}
|
||||
.wp-block-cover-image p:not(.has-text-color),
|
||||
.wp-block-cover-image h1:not(.has-text-color),
|
||||
.wp-block-cover-image h2:not(.has-text-color),
|
||||
.wp-block-cover-image h3:not(.has-text-color),
|
||||
.wp-block-cover-image h4:not(.has-text-color),
|
||||
.wp-block-cover-image h5:not(.has-text-color),
|
||||
.wp-block-cover-image h6:not(.has-text-color),
|
||||
.wp-block-cover p:not(.has-text-color),
|
||||
.wp-block-cover h1:not(.has-text-color),
|
||||
.wp-block-cover h2:not(.has-text-color),
|
||||
.wp-block-cover h3:not(.has-text-color),
|
||||
.wp-block-cover h4:not(.has-text-color),
|
||||
.wp-block-cover h5:not(.has-text-color),
|
||||
.wp-block-cover h6:not(.has-text-color) {
|
||||
color: inherit;
|
||||
}
|
||||
.wp-block-cover-image.is-position-top-left,
|
||||
.wp-block-cover.is-position-top-left {
|
||||
align-items: flex-start;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.wp-block-cover-image.is-position-top-center,
|
||||
.wp-block-cover.is-position-top-center {
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
}
|
||||
.wp-block-cover-image.is-position-top-right,
|
||||
.wp-block-cover.is-position-top-right {
|
||||
align-items: flex-start;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.wp-block-cover-image.is-position-center-left,
|
||||
.wp-block-cover.is-position-center-left {
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.wp-block-cover-image.is-position-center-center,
|
||||
.wp-block-cover.is-position-center-center {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.wp-block-cover-image.is-position-center-right,
|
||||
.wp-block-cover.is-position-center-right {
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.wp-block-cover-image.is-position-bottom-left,
|
||||
.wp-block-cover.is-position-bottom-left {
|
||||
align-items: flex-end;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.wp-block-cover-image.is-position-bottom-center,
|
||||
.wp-block-cover.is-position-bottom-center {
|
||||
align-items: flex-end;
|
||||
justify-content: center;
|
||||
}
|
||||
.wp-block-cover-image.is-position-bottom-right,
|
||||
.wp-block-cover.is-position-bottom-right {
|
||||
align-items: flex-end;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,
|
||||
.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container {
|
||||
margin: 0;
|
||||
width: auto;
|
||||
}
|
||||
.wp-block-cover-image img.wp-block-cover__image-background,
|
||||
.wp-block-cover-image video.wp-block-cover__video-background,
|
||||
.wp-block-cover img.wp-block-cover__image-background,
|
||||
.wp-block-cover video.wp-block-cover__video-background {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-width: none;
|
||||
max-height: none;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
outline: none;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.wp-block-cover__video-background {
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.wp-block-cover__image-background {
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
section.wp-block-cover-image h2,
|
||||
.wp-block-cover-image-text,
|
||||
.wp-block-cover-text {
|
||||
color: #fff;
|
||||
}
|
||||
section.wp-block-cover-image h2 a,
|
||||
section.wp-block-cover-image h2 a:hover,
|
||||
section.wp-block-cover-image h2 a:focus,
|
||||
section.wp-block-cover-image h2 a:active,
|
||||
.wp-block-cover-image-text a,
|
||||
.wp-block-cover-image-text a:hover,
|
||||
.wp-block-cover-image-text a:focus,
|
||||
.wp-block-cover-image-text a:active,
|
||||
.wp-block-cover-text a,
|
||||
.wp-block-cover-text a:hover,
|
||||
.wp-block-cover-text a:focus,
|
||||
.wp-block-cover-text a:active {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wp-block-cover-image .wp-block-cover.has-left-content {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.wp-block-cover-image .wp-block-cover.has-right-content {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
section.wp-block-cover-image.has-left-content > h2,
|
||||
.wp-block-cover-image.has-left-content .wp-block-cover-image-text,
|
||||
.wp-block-cover.has-left-content .wp-block-cover-text {
|
||||
margin-right: 0;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
section.wp-block-cover-image.has-right-content > h2,
|
||||
.wp-block-cover-image.has-right-content .wp-block-cover-image-text,
|
||||
.wp-block-cover.has-right-content .wp-block-cover-text {
|
||||
margin-left: 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
section.wp-block-cover-image > h2,
|
||||
.wp-block-cover-image .wp-block-cover-image-text,
|
||||
.wp-block-cover .wp-block-cover-text {
|
||||
font-size: 2em;
|
||||
line-height: 1.25;
|
||||
z-index: 1;
|
||||
margin-bottom: 0;
|
||||
max-width: 840px;
|
||||
padding: 0.44em;
|
||||
text-align: center;
|
||||
}
|
1
wp-includes/blocks/cover/style-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/cover/style-rtl.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
374
wp-includes/blocks/cover/style.css
Normal file
374
wp-includes/blocks/cover/style.css
Normal file
|
@ -0,0 +1,374 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-cover-image,
|
||||
.wp-block-cover {
|
||||
position: relative;
|
||||
background-size: cover;
|
||||
background-position: center center;
|
||||
min-height: 430px;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 1em;
|
||||
box-sizing: border-box;
|
||||
/**
|
||||
* Set a default background color for has-background-dim _unless_ it includes another
|
||||
* background-color class (e.g. has-green-background-color). The presence of another
|
||||
* background-color class implies that another style will provide the background color
|
||||
* for the overlay.
|
||||
*
|
||||
* See:
|
||||
* - Issue with background color specificity: https://github.com/WordPress/gutenberg/issues/26545
|
||||
* - Issue with alternative fix: https://github.com/WordPress/gutenberg/issues/26545
|
||||
*/
|
||||
}
|
||||
.wp-block-cover-image.has-parallax,
|
||||
.wp-block-cover.has-parallax {
|
||||
background-attachment: fixed;
|
||||
}
|
||||
@supports (-webkit-overflow-scrolling: touch) {
|
||||
.wp-block-cover-image.has-parallax,
|
||||
.wp-block-cover.has-parallax {
|
||||
background-attachment: scroll;
|
||||
}
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.wp-block-cover-image.has-parallax,
|
||||
.wp-block-cover.has-parallax {
|
||||
background-attachment: scroll;
|
||||
}
|
||||
}
|
||||
.wp-block-cover-image.is-repeated,
|
||||
.wp-block-cover.is-repeated {
|
||||
background-repeat: repeat;
|
||||
background-size: auto;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim:not([class*=-background-color]),
|
||||
.wp-block-cover.has-background-dim:not([class*=-background-color]) {
|
||||
background-color: #000;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim::before,
|
||||
.wp-block-cover.has-background-dim::before {
|
||||
content: "";
|
||||
background-color: inherit;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim:not(.has-background-gradient)::before,
|
||||
.wp-block-cover .wp-block-cover__gradient-background {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
z-index: 1;
|
||||
opacity: 0.5;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-10:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-10:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-10 .wp-block-cover__gradient-background {
|
||||
opacity: 0.1;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-20:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-20:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-20 .wp-block-cover__gradient-background {
|
||||
opacity: 0.2;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-30:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-30:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-30 .wp-block-cover__gradient-background {
|
||||
opacity: 0.3;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-40:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-40:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-40 .wp-block-cover__gradient-background {
|
||||
opacity: 0.4;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-50:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-50:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-50 .wp-block-cover__gradient-background {
|
||||
opacity: 0.5;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-60:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-60:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-60 .wp-block-cover__gradient-background {
|
||||
opacity: 0.6;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-70:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-70:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-70 .wp-block-cover__gradient-background {
|
||||
opacity: 0.7;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-80:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-80:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-80 .wp-block-cover__gradient-background {
|
||||
opacity: 0.8;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-90:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-90:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-90 .wp-block-cover__gradient-background {
|
||||
opacity: 0.9;
|
||||
}
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-100:not(.has-background-gradient)::before,
|
||||
.wp-block-cover-image.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-100:not(.has-background-gradient)::before,
|
||||
.wp-block-cover.has-background-dim.has-background-dim-100 .wp-block-cover__gradient-background {
|
||||
opacity: 1;
|
||||
}
|
||||
.wp-block-cover-image.alignleft, .wp-block-cover-image.alignright,
|
||||
.wp-block-cover.alignleft,
|
||||
.wp-block-cover.alignright {
|
||||
max-width: 420px;
|
||||
width: 100%;
|
||||
}
|
||||
.wp-block-cover-image::after,
|
||||
.wp-block-cover::after {
|
||||
display: block;
|
||||
content: "";
|
||||
font-size: 0;
|
||||
min-height: inherit;
|
||||
}
|
||||
@supports (position: sticky) {
|
||||
.wp-block-cover-image::after,
|
||||
.wp-block-cover::after {
|
||||
content: none;
|
||||
}
|
||||
}
|
||||
.wp-block-cover-image.aligncenter, .wp-block-cover-image.alignleft, .wp-block-cover-image.alignright,
|
||||
.wp-block-cover.aligncenter,
|
||||
.wp-block-cover.alignleft,
|
||||
.wp-block-cover.alignright {
|
||||
display: flex;
|
||||
}
|
||||
.wp-block-cover-image .wp-block-cover__inner-container,
|
||||
.wp-block-cover .wp-block-cover__inner-container {
|
||||
width: 100%;
|
||||
z-index: 1;
|
||||
color: #fff;
|
||||
}
|
||||
.wp-block-cover-image p:not(.has-text-color),
|
||||
.wp-block-cover-image h1:not(.has-text-color),
|
||||
.wp-block-cover-image h2:not(.has-text-color),
|
||||
.wp-block-cover-image h3:not(.has-text-color),
|
||||
.wp-block-cover-image h4:not(.has-text-color),
|
||||
.wp-block-cover-image h5:not(.has-text-color),
|
||||
.wp-block-cover-image h6:not(.has-text-color),
|
||||
.wp-block-cover p:not(.has-text-color),
|
||||
.wp-block-cover h1:not(.has-text-color),
|
||||
.wp-block-cover h2:not(.has-text-color),
|
||||
.wp-block-cover h3:not(.has-text-color),
|
||||
.wp-block-cover h4:not(.has-text-color),
|
||||
.wp-block-cover h5:not(.has-text-color),
|
||||
.wp-block-cover h6:not(.has-text-color) {
|
||||
color: inherit;
|
||||
}
|
||||
.wp-block-cover-image.is-position-top-left,
|
||||
.wp-block-cover.is-position-top-left {
|
||||
align-items: flex-start;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.wp-block-cover-image.is-position-top-center,
|
||||
.wp-block-cover.is-position-top-center {
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
}
|
||||
.wp-block-cover-image.is-position-top-right,
|
||||
.wp-block-cover.is-position-top-right {
|
||||
align-items: flex-start;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.wp-block-cover-image.is-position-center-left,
|
||||
.wp-block-cover.is-position-center-left {
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.wp-block-cover-image.is-position-center-center,
|
||||
.wp-block-cover.is-position-center-center {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.wp-block-cover-image.is-position-center-right,
|
||||
.wp-block-cover.is-position-center-right {
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.wp-block-cover-image.is-position-bottom-left,
|
||||
.wp-block-cover.is-position-bottom-left {
|
||||
align-items: flex-end;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.wp-block-cover-image.is-position-bottom-center,
|
||||
.wp-block-cover.is-position-bottom-center {
|
||||
align-items: flex-end;
|
||||
justify-content: center;
|
||||
}
|
||||
.wp-block-cover-image.is-position-bottom-right,
|
||||
.wp-block-cover.is-position-bottom-right {
|
||||
align-items: flex-end;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.wp-block-cover-image.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,
|
||||
.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container {
|
||||
margin: 0;
|
||||
width: auto;
|
||||
}
|
||||
.wp-block-cover-image img.wp-block-cover__image-background,
|
||||
.wp-block-cover-image video.wp-block-cover__video-background,
|
||||
.wp-block-cover img.wp-block-cover__image-background,
|
||||
.wp-block-cover video.wp-block-cover__video-background {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-width: none;
|
||||
max-height: none;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
outline: none;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.wp-block-cover__video-background {
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.wp-block-cover__image-background {
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
section.wp-block-cover-image h2,
|
||||
.wp-block-cover-image-text,
|
||||
.wp-block-cover-text {
|
||||
color: #fff;
|
||||
}
|
||||
section.wp-block-cover-image h2 a,
|
||||
section.wp-block-cover-image h2 a:hover,
|
||||
section.wp-block-cover-image h2 a:focus,
|
||||
section.wp-block-cover-image h2 a:active,
|
||||
.wp-block-cover-image-text a,
|
||||
.wp-block-cover-image-text a:hover,
|
||||
.wp-block-cover-image-text a:focus,
|
||||
.wp-block-cover-image-text a:active,
|
||||
.wp-block-cover-text a,
|
||||
.wp-block-cover-text a:hover,
|
||||
.wp-block-cover-text a:focus,
|
||||
.wp-block-cover-text a:active {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wp-block-cover-image .wp-block-cover.has-left-content {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.wp-block-cover-image .wp-block-cover.has-right-content {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
section.wp-block-cover-image.has-left-content > h2,
|
||||
.wp-block-cover-image.has-left-content .wp-block-cover-image-text,
|
||||
.wp-block-cover.has-left-content .wp-block-cover-text {
|
||||
margin-left: 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
section.wp-block-cover-image.has-right-content > h2,
|
||||
.wp-block-cover-image.has-right-content .wp-block-cover-image-text,
|
||||
.wp-block-cover.has-right-content .wp-block-cover-text {
|
||||
margin-right: 0;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
section.wp-block-cover-image > h2,
|
||||
.wp-block-cover-image .wp-block-cover-image-text,
|
||||
.wp-block-cover .wp-block-cover-text {
|
||||
font-size: 2em;
|
||||
line-height: 1.25;
|
||||
z-index: 1;
|
||||
margin-bottom: 0;
|
||||
max-width: 840px;
|
||||
padding: 0.44em;
|
||||
text-align: center;
|
||||
}
|
1
wp-includes/blocks/cover/style.min.css
vendored
Normal file
1
wp-includes/blocks/cover/style.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
116
wp-includes/blocks/embed/editor-rtl.css
Normal file
116
wp-includes/blocks/embed/editor-rtl.css
Normal file
|
@ -0,0 +1,116 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-embed {
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
clear: both;
|
||||
}
|
||||
.wp-block-embed.is-loading {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 1em;
|
||||
min-height: 200px;
|
||||
text-align: center;
|
||||
border-radius: 2px;
|
||||
background-color: #fff;
|
||||
box-shadow: inset 0 0 0 1px #1e1e1e;
|
||||
}
|
||||
.wp-block-embed.is-loading p {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
}
|
||||
.wp-block-embed .components-placeholder__error {
|
||||
word-break: break-word;
|
||||
}
|
||||
.wp-block-embed .components-placeholder__learn-more {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
.block-library-embed__interactive-overlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.wp-block[data-align=left] > .wp-block-embed,
|
||||
.wp-block[data-align=right] > .wp-block-embed {
|
||||
max-width: 360px;
|
||||
width: 100%;
|
||||
}
|
||||
.wp-block[data-align=left] > .wp-block-embed .wp-block-embed__wrapper,
|
||||
.wp-block[data-align=right] > .wp-block-embed .wp-block-embed__wrapper {
|
||||
min-width: 280px;
|
||||
}
|
1
wp-includes/blocks/embed/editor-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/embed/editor-rtl.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-embed{margin-right:0;margin-left:0;clear:both}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed .components-placeholder__error{word-break:break-word}.wp-block-embed .components-placeholder__learn-more{margin-top:1em}.block-library-embed__interactive-overlay{position:absolute;top:0;right:0;left:0;bottom:0;opacity:0}.wp-block[data-align=left]>.wp-block-embed,.wp-block[data-align=right]>.wp-block-embed{max-width:360px;width:100%}.wp-block[data-align=left]>.wp-block-embed .wp-block-embed__wrapper,.wp-block[data-align=right]>.wp-block-embed .wp-block-embed__wrapper{min-width:280px}
|
116
wp-includes/blocks/embed/editor.css
Normal file
116
wp-includes/blocks/embed/editor.css
Normal file
|
@ -0,0 +1,116 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-embed {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
clear: both;
|
||||
}
|
||||
.wp-block-embed.is-loading {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 1em;
|
||||
min-height: 200px;
|
||||
text-align: center;
|
||||
border-radius: 2px;
|
||||
background-color: #fff;
|
||||
box-shadow: inset 0 0 0 1px #1e1e1e;
|
||||
}
|
||||
.wp-block-embed.is-loading p {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
}
|
||||
.wp-block-embed .components-placeholder__error {
|
||||
word-break: break-word;
|
||||
}
|
||||
.wp-block-embed .components-placeholder__learn-more {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
.block-library-embed__interactive-overlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.wp-block[data-align=left] > .wp-block-embed,
|
||||
.wp-block[data-align=right] > .wp-block-embed {
|
||||
max-width: 360px;
|
||||
width: 100%;
|
||||
}
|
||||
.wp-block[data-align=left] > .wp-block-embed .wp-block-embed__wrapper,
|
||||
.wp-block[data-align=right] > .wp-block-embed .wp-block-embed__wrapper {
|
||||
min-width: 280px;
|
||||
}
|
1
wp-includes/blocks/embed/editor.min.css
vendored
Normal file
1
wp-includes/blocks/embed/editor.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-embed{margin-left:0;margin-right:0;clear:both}.wp-block-embed.is-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em;min-height:200px;text-align:center;border-radius:2px;background-color:#fff;box-shadow:inset 0 0 0 1px #1e1e1e}.wp-block-embed.is-loading p{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px}.wp-block-embed .components-placeholder__error{word-break:break-word}.wp-block-embed .components-placeholder__learn-more{margin-top:1em}.block-library-embed__interactive-overlay{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}.wp-block[data-align=left]>.wp-block-embed,.wp-block[data-align=right]>.wp-block-embed{max-width:360px;width:100%}.wp-block[data-align=left]>.wp-block-embed .wp-block-embed__wrapper,.wp-block[data-align=right]>.wp-block-embed .wp-block-embed__wrapper{min-width:280px}
|
140
wp-includes/blocks/embed/style-rtl.css
Normal file
140
wp-includes/blocks/embed/style-rtl.css
Normal file
|
@ -0,0 +1,140 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block[data-align=left] > [data-type="core/embed"],
|
||||
.wp-block[data-align=right] > [data-type="core/embed"],
|
||||
.wp-block-embed.alignleft,
|
||||
.wp-block-embed.alignright {
|
||||
max-width: 360px;
|
||||
width: 100%;
|
||||
}
|
||||
.wp-block[data-align=left] > [data-type="core/embed"] .wp-block-embed__wrapper,
|
||||
.wp-block[data-align=right] > [data-type="core/embed"] .wp-block-embed__wrapper,
|
||||
.wp-block-embed.alignleft .wp-block-embed__wrapper,
|
||||
.wp-block-embed.alignright .wp-block-embed__wrapper {
|
||||
min-width: 280px;
|
||||
}
|
||||
|
||||
.wp-block-cover .wp-block-embed {
|
||||
min-width: 320px;
|
||||
min-height: 240px;
|
||||
}
|
||||
|
||||
.wp-block-embed {
|
||||
margin: 0 0 1em 0;
|
||||
}
|
||||
.wp-block-embed figcaption {
|
||||
margin-top: 0.5em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.wp-block-embed iframe {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.wp-block-embed__wrapper {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper::before {
|
||||
content: "";
|
||||
display: block;
|
||||
padding-top: 50%;
|
||||
}
|
||||
.wp-embed-responsive .wp-has-aspect-ratio iframe {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.wp-embed-responsive .wp-embed-aspect-21-9 .wp-block-embed__wrapper::before {
|
||||
padding-top: 42.85%;
|
||||
}
|
||||
.wp-embed-responsive .wp-embed-aspect-18-9 .wp-block-embed__wrapper::before {
|
||||
padding-top: 50%;
|
||||
}
|
||||
.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper::before {
|
||||
padding-top: 56.25%;
|
||||
}
|
||||
.wp-embed-responsive .wp-embed-aspect-4-3 .wp-block-embed__wrapper::before {
|
||||
padding-top: 75%;
|
||||
}
|
||||
.wp-embed-responsive .wp-embed-aspect-1-1 .wp-block-embed__wrapper::before {
|
||||
padding-top: 100%;
|
||||
}
|
||||
.wp-embed-responsive .wp-embed-aspect-9-16 .wp-block-embed__wrapper::before {
|
||||
padding-top: 177.77%;
|
||||
}
|
||||
.wp-embed-responsive .wp-embed-aspect-1-2 .wp-block-embed__wrapper::before {
|
||||
padding-top: 200%;
|
||||
}
|
1
wp-includes/blocks/embed/style-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/embed/style-rtl.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-embed.alignleft,.wp-block-embed.alignright,.wp-block[data-align=left]>[data-type="core/embed"],.wp-block[data-align=right]>[data-type="core/embed"]{max-width:360px;width:100%}.wp-block-embed.alignleft .wp-block-embed__wrapper,.wp-block-embed.alignright .wp-block-embed__wrapper,.wp-block[data-align=left]>[data-type="core/embed"] .wp-block-embed__wrapper,.wp-block[data-align=right]>[data-type="core/embed"] .wp-block-embed__wrapper{min-width:280px}.wp-block-cover .wp-block-embed{min-width:320px;min-height:240px}.wp-block-embed{margin:0 0 1em}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-embed iframe{max-width:100%}.wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-has-aspect-ratio iframe{position:absolute;top:0;left:0;bottom:0;right:0;height:100%;width:100%}.wp-embed-responsive .wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{padding-top:177.77%}.wp-embed-responsive .wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}
|
140
wp-includes/blocks/embed/style.css
Normal file
140
wp-includes/blocks/embed/style.css
Normal file
|
@ -0,0 +1,140 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block[data-align=left] > [data-type="core/embed"],
|
||||
.wp-block[data-align=right] > [data-type="core/embed"],
|
||||
.wp-block-embed.alignleft,
|
||||
.wp-block-embed.alignright {
|
||||
max-width: 360px;
|
||||
width: 100%;
|
||||
}
|
||||
.wp-block[data-align=left] > [data-type="core/embed"] .wp-block-embed__wrapper,
|
||||
.wp-block[data-align=right] > [data-type="core/embed"] .wp-block-embed__wrapper,
|
||||
.wp-block-embed.alignleft .wp-block-embed__wrapper,
|
||||
.wp-block-embed.alignright .wp-block-embed__wrapper {
|
||||
min-width: 280px;
|
||||
}
|
||||
|
||||
.wp-block-cover .wp-block-embed {
|
||||
min-width: 320px;
|
||||
min-height: 240px;
|
||||
}
|
||||
|
||||
.wp-block-embed {
|
||||
margin: 0 0 1em 0;
|
||||
}
|
||||
.wp-block-embed figcaption {
|
||||
margin-top: 0.5em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.wp-block-embed iframe {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.wp-block-embed__wrapper {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper::before {
|
||||
content: "";
|
||||
display: block;
|
||||
padding-top: 50%;
|
||||
}
|
||||
.wp-embed-responsive .wp-has-aspect-ratio iframe {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.wp-embed-responsive .wp-embed-aspect-21-9 .wp-block-embed__wrapper::before {
|
||||
padding-top: 42.85%;
|
||||
}
|
||||
.wp-embed-responsive .wp-embed-aspect-18-9 .wp-block-embed__wrapper::before {
|
||||
padding-top: 50%;
|
||||
}
|
||||
.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper::before {
|
||||
padding-top: 56.25%;
|
||||
}
|
||||
.wp-embed-responsive .wp-embed-aspect-4-3 .wp-block-embed__wrapper::before {
|
||||
padding-top: 75%;
|
||||
}
|
||||
.wp-embed-responsive .wp-embed-aspect-1-1 .wp-block-embed__wrapper::before {
|
||||
padding-top: 100%;
|
||||
}
|
||||
.wp-embed-responsive .wp-embed-aspect-9-16 .wp-block-embed__wrapper::before {
|
||||
padding-top: 177.77%;
|
||||
}
|
||||
.wp-embed-responsive .wp-embed-aspect-1-2 .wp-block-embed__wrapper::before {
|
||||
padding-top: 200%;
|
||||
}
|
1
wp-includes/blocks/embed/style.min.css
vendored
Normal file
1
wp-includes/blocks/embed/style.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-embed.alignleft,.wp-block-embed.alignright,.wp-block[data-align=left]>[data-type="core/embed"],.wp-block[data-align=right]>[data-type="core/embed"]{max-width:360px;width:100%}.wp-block-embed.alignleft .wp-block-embed__wrapper,.wp-block-embed.alignright .wp-block-embed__wrapper,.wp-block[data-align=left]>[data-type="core/embed"] .wp-block-embed__wrapper,.wp-block[data-align=right]>[data-type="core/embed"] .wp-block-embed__wrapper{min-width:280px}.wp-block-cover .wp-block-embed{min-width:320px;min-height:240px}.wp-block-embed{margin:0 0 1em}.wp-block-embed figcaption{margin-top:.5em;margin-bottom:1em}.wp-block-embed iframe{max-width:100%}.wp-block-embed__wrapper{position:relative}.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper:before{content:"";display:block;padding-top:50%}.wp-embed-responsive .wp-has-aspect-ratio iframe{position:absolute;top:0;right:0;bottom:0;left:0;height:100%;width:100%}.wp-embed-responsive .wp-embed-aspect-21-9 .wp-block-embed__wrapper:before{padding-top:42.85%}.wp-embed-responsive .wp-embed-aspect-18-9 .wp-block-embed__wrapper:before{padding-top:50%}.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper:before{padding-top:56.25%}.wp-embed-responsive .wp-embed-aspect-4-3 .wp-block-embed__wrapper:before{padding-top:75%}.wp-embed-responsive .wp-embed-aspect-1-1 .wp-block-embed__wrapper:before{padding-top:100%}.wp-embed-responsive .wp-embed-aspect-9-16 .wp-block-embed__wrapper:before{padding-top:177.77%}.wp-embed-responsive .wp-embed-aspect-1-2 .wp-block-embed__wrapper:before{padding-top:200%}
|
105
wp-includes/blocks/file/editor-rtl.css
Normal file
105
wp-includes/blocks/file/editor-rtl.css
Normal file
|
@ -0,0 +1,105 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-file {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.wp-block[data-align=left] > .wp-block-file, .wp-block[data-align=right] > .wp-block-file {
|
||||
height: auto;
|
||||
}
|
||||
.wp-block-file .components-resizable-box__container {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.wp-block-file .wp-block-file__preview {
|
||||
margin-bottom: 1em;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.wp-block-file .wp-block-file__preview-overlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
}
|
||||
.wp-block-file .wp-block-file__content-wrapper {
|
||||
flex-grow: 1;
|
||||
}
|
||||
.wp-block-file a {
|
||||
min-width: 1em;
|
||||
}
|
||||
.wp-block-file .wp-block-file__button-richtext-wrapper {
|
||||
display: inline-block;
|
||||
margin-right: 0.75em;
|
||||
}
|
1
wp-includes/blocks/file/editor-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/file/editor-rtl.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-file{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block[data-align=left]>.wp-block-file,.wp-block[data-align=right]>.wp-block-file{height:auto}.wp-block-file .components-resizable-box__container{margin-bottom:1em}.wp-block-file .wp-block-file__preview{margin-bottom:1em;width:100%;height:100%}.wp-block-file .wp-block-file__preview-overlay{position:absolute;top:0;left:0;bottom:0;right:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file a{min-width:1em}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-right:.75em}
|
105
wp-includes/blocks/file/editor.css
Normal file
105
wp-includes/blocks/file/editor.css
Normal file
|
@ -0,0 +1,105 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-file {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.wp-block[data-align=left] > .wp-block-file, .wp-block[data-align=right] > .wp-block-file {
|
||||
height: auto;
|
||||
}
|
||||
.wp-block-file .components-resizable-box__container {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.wp-block-file .wp-block-file__preview {
|
||||
margin-bottom: 1em;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.wp-block-file .wp-block-file__preview-overlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
.wp-block-file .wp-block-file__content-wrapper {
|
||||
flex-grow: 1;
|
||||
}
|
||||
.wp-block-file a {
|
||||
min-width: 1em;
|
||||
}
|
||||
.wp-block-file .wp-block-file__button-richtext-wrapper {
|
||||
display: inline-block;
|
||||
margin-left: 0.75em;
|
||||
}
|
1
wp-includes/blocks/file/editor.min.css
vendored
Normal file
1
wp-includes/blocks/file/editor.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-file{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;margin-bottom:0}.wp-block[data-align=left]>.wp-block-file,.wp-block[data-align=right]>.wp-block-file{height:auto}.wp-block-file .components-resizable-box__container{margin-bottom:1em}.wp-block-file .wp-block-file__preview{margin-bottom:1em;width:100%;height:100%}.wp-block-file .wp-block-file__preview-overlay{position:absolute;top:0;right:0;bottom:0;left:0}.wp-block-file .wp-block-file__content-wrapper{flex-grow:1}.wp-block-file a{min-width:1em}.wp-block-file .wp-block-file__button-richtext-wrapper{display:inline-block;margin-left:.75em}
|
101
wp-includes/blocks/file/style-rtl.css
Normal file
101
wp-includes/blocks/file/style-rtl.css
Normal file
|
@ -0,0 +1,101 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-file {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
.wp-block-file.aligncenter {
|
||||
text-align: center;
|
||||
}
|
||||
.wp-block-file.alignright {
|
||||
text-align: right;
|
||||
}
|
||||
.wp-block-file .wp-block-file__embed {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.wp-block-file .wp-block-file__button {
|
||||
background: #32373c;
|
||||
border-radius: 2em;
|
||||
color: #fff;
|
||||
font-size: 0.8em;
|
||||
padding: 0.5em 1em;
|
||||
}
|
||||
.wp-block-file a.wp-block-file__button {
|
||||
text-decoration: none;
|
||||
}
|
||||
.wp-block-file a.wp-block-file__button:hover, .wp-block-file a.wp-block-file__button:visited, .wp-block-file a.wp-block-file__button:focus, .wp-block-file a.wp-block-file__button:active {
|
||||
box-shadow: none;
|
||||
color: #fff;
|
||||
opacity: 0.85;
|
||||
text-decoration: none;
|
||||
}
|
||||
.wp-block-file * + .wp-block-file__button {
|
||||
margin-right: 0.75em;
|
||||
}
|
1
wp-includes/blocks/file/style-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/file/style-rtl.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__embed{margin-bottom:1em}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:.8em;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-right:.75em}
|
102
wp-includes/blocks/file/style.css
Normal file
102
wp-includes/blocks/file/style.css
Normal file
|
@ -0,0 +1,102 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-file {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
.wp-block-file.aligncenter {
|
||||
text-align: center;
|
||||
}
|
||||
.wp-block-file.alignright {
|
||||
/*rtl:ignore*/
|
||||
text-align: right;
|
||||
}
|
||||
.wp-block-file .wp-block-file__embed {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.wp-block-file .wp-block-file__button {
|
||||
background: #32373c;
|
||||
border-radius: 2em;
|
||||
color: #fff;
|
||||
font-size: 0.8em;
|
||||
padding: 0.5em 1em;
|
||||
}
|
||||
.wp-block-file a.wp-block-file__button {
|
||||
text-decoration: none;
|
||||
}
|
||||
.wp-block-file a.wp-block-file__button:hover, .wp-block-file a.wp-block-file__button:visited, .wp-block-file a.wp-block-file__button:focus, .wp-block-file a.wp-block-file__button:active {
|
||||
box-shadow: none;
|
||||
color: #fff;
|
||||
opacity: 0.85;
|
||||
text-decoration: none;
|
||||
}
|
||||
.wp-block-file * + .wp-block-file__button {
|
||||
margin-left: 0.75em;
|
||||
}
|
1
wp-includes/blocks/file/style.min.css
vendored
Normal file
1
wp-includes/blocks/file/style.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-file{margin-bottom:1.5em}.wp-block-file.aligncenter{text-align:center}.wp-block-file.alignright{text-align:right}.wp-block-file .wp-block-file__embed{margin-bottom:1em}.wp-block-file .wp-block-file__button{background:#32373c;border-radius:2em;color:#fff;font-size:.8em;padding:.5em 1em}.wp-block-file a.wp-block-file__button{text-decoration:none}.wp-block-file a.wp-block-file__button:active,.wp-block-file a.wp-block-file__button:focus,.wp-block-file a.wp-block-file__button:hover,.wp-block-file a.wp-block-file__button:visited{box-shadow:none;color:#fff;opacity:.85;text-decoration:none}.wp-block-file *+.wp-block-file__button{margin-left:.75em}
|
393
wp-includes/blocks/freeform/editor-rtl.css
Normal file
393
wp-includes/blocks/freeform/editor-rtl.css
Normal file
|
@ -0,0 +1,393 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-freeform.block-library-rich-text__tinymce {
|
||||
height: auto;
|
||||
/* Allow height of embed iframes to be calculated properly */
|
||||
/* Remove blue highlighting of selected images in WebKit */
|
||||
/* Image captions */
|
||||
/* WP Views */
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce p,
|
||||
.wp-block-freeform.block-library-rich-text__tinymce li {
|
||||
line-height: 1.8;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce ul,
|
||||
.wp-block-freeform.block-library-rich-text__tinymce ol {
|
||||
padding-right: 2.5em;
|
||||
margin-right: 0;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce blockquote {
|
||||
margin: 0;
|
||||
box-shadow: inset 0 0 0 0 #ddd;
|
||||
border-right: 4px solid #000;
|
||||
padding-right: 1em;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce pre {
|
||||
white-space: pre-wrap;
|
||||
font-family: Menlo, Consolas, monaco, monospace;
|
||||
font-size: 15px;
|
||||
color: #1e1e1e;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce > *:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce > *:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus {
|
||||
outline: none;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce a {
|
||||
color: var(--wp-admin-theme-color);
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected] {
|
||||
padding: 0 2px;
|
||||
margin: 0 -2px;
|
||||
border-radius: 2px;
|
||||
box-shadow: 0 0 0 1px #e5f5fa;
|
||||
background: #e5f5fa;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce code {
|
||||
padding: 2px;
|
||||
border-radius: 2px;
|
||||
color: #1e1e1e;
|
||||
background: #f0f0f0;
|
||||
font-family: Menlo, Consolas, monaco, monospace;
|
||||
font-size: 14px;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected] {
|
||||
background: #ddd;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .alignright {
|
||||
float: right;
|
||||
margin: 0.5em 0 0.5em 1em;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .alignleft {
|
||||
float: left;
|
||||
margin: 0.5em 1em 0.5em 0;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .aligncenter {
|
||||
display: block;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag {
|
||||
width: 96%;
|
||||
height: 20px;
|
||||
display: block;
|
||||
margin: 15px auto;
|
||||
outline: 0;
|
||||
cursor: default;
|
||||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC);
|
||||
background-size: 1900px 20px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce img::selection {
|
||||
background-color: transparent;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp {
|
||||
-ms-user-select: element;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption {
|
||||
margin: 0;
|
||||
/* dl browser reset */
|
||||
max-width: 100%;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,
|
||||
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img {
|
||||
display: block;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption, .wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption * {
|
||||
-webkit-user-drag: none;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd {
|
||||
padding-top: 0.5em;
|
||||
margin: 0;
|
||||
/* browser dd reset */
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .wpview {
|
||||
width: 99.99%;
|
||||
/* All IE need hasLayout, incl. 11 (ugh, not again!!) */
|
||||
position: relative;
|
||||
clear: both;
|
||||
margin-bottom: 16px;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
background: transparent;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim {
|
||||
display: none;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder {
|
||||
border: 1px dashed #ddd;
|
||||
padding: 10px;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error {
|
||||
border: 1px solid #ddd;
|
||||
padding: 1em 0;
|
||||
margin: 0;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p {
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder, .wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error {
|
||||
border-color: transparent;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
font-size: 32px;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery::after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus {
|
||||
outline: none;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery a {
|
||||
cursor: default;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery {
|
||||
margin: auto -6px;
|
||||
padding: 6px 0;
|
||||
line-height: 1;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item {
|
||||
float: right;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
padding: 6px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon {
|
||||
margin: 0;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption {
|
||||
font-size: 13px;
|
||||
margin: 4px 0;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item {
|
||||
width: 100%;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item {
|
||||
width: 50%;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item {
|
||||
width: 33.3333333333%;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item {
|
||||
width: 25%;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item {
|
||||
width: 20%;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item {
|
||||
width: 16.6666666667%;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item {
|
||||
width: 14.2857142857%;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item {
|
||||
width: 12.5%;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item {
|
||||
width: 11.1111111111%;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
border: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
div[data-type="core/freeform"]::before {
|
||||
transition: border-color 0.1s linear, box-shadow 0.1s linear;
|
||||
border: 1px solid #ddd;
|
||||
outline: 1px solid transparent;
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
div[data-type="core/freeform"]::before {
|
||||
transition-duration: 0s;
|
||||
transition-delay: 0s;
|
||||
}
|
||||
}
|
||||
div[data-type="core/freeform"].is-selected::before {
|
||||
border-color: #1e1e1e;
|
||||
}
|
||||
div[data-type="core/freeform"] .block-editor-block-contextual-toolbar + div {
|
||||
margin-top: 0;
|
||||
padding-top: 0;
|
||||
}
|
||||
div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce::after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.mce-toolbar-grp .mce-btn.mce-active button,
|
||||
.mce-toolbar-grp .mce-btn.mce-active:hover button,
|
||||
.mce-toolbar-grp .mce-btn.mce-active i,
|
||||
.mce-toolbar-grp .mce-btn.mce-active:hover i {
|
||||
color: #1e1e1e;
|
||||
}
|
||||
.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last {
|
||||
margin-left: 0;
|
||||
margin-right: 8px;
|
||||
}
|
||||
.mce-toolbar-grp .mce-btn i {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.block-library-classic__toolbar {
|
||||
display: none;
|
||||
width: auto;
|
||||
margin: 0;
|
||||
position: sticky;
|
||||
z-index: 31;
|
||||
top: 0;
|
||||
border: 1px solid #ddd;
|
||||
border-bottom: none;
|
||||
border-radius: 2px;
|
||||
margin-bottom: 8px;
|
||||
padding: 0;
|
||||
}
|
||||
div[data-type="core/freeform"].is-selected .block-library-classic__toolbar {
|
||||
display: block;
|
||||
border-color: #1e1e1e;
|
||||
}
|
||||
.block-library-classic__toolbar .mce-tinymce {
|
||||
box-shadow: none;
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
.block-library-classic__toolbar {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
.block-library-classic__toolbar:empty {
|
||||
display: block;
|
||||
background: #f5f5f5;
|
||||
border-bottom: 1px solid #e2e4e7;
|
||||
}
|
||||
.block-library-classic__toolbar:empty::before {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
content: attr(data-placeholder);
|
||||
color: #555d66;
|
||||
line-height: 37px;
|
||||
padding: 14px;
|
||||
}
|
||||
.block-library-classic__toolbar div.mce-toolbar-grp {
|
||||
border-bottom: 1px solid #1e1e1e;
|
||||
}
|
||||
.block-library-classic__toolbar .mce-tinymce-inline,
|
||||
.block-library-classic__toolbar .mce-tinymce-inline > div,
|
||||
.block-library-classic__toolbar div.mce-toolbar-grp,
|
||||
.block-library-classic__toolbar div.mce-toolbar-grp > div,
|
||||
.block-library-classic__toolbar .mce-menubar,
|
||||
.block-library-classic__toolbar .mce-menubar > div {
|
||||
height: auto !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
.block-library-classic__toolbar .mce-container-body.mce-abs-layout {
|
||||
overflow: visible;
|
||||
}
|
||||
.block-library-classic__toolbar .mce-menubar,
|
||||
.block-library-classic__toolbar div.mce-toolbar-grp {
|
||||
position: static;
|
||||
}
|
||||
.block-library-classic__toolbar .mce-toolbar-grp > div {
|
||||
padding: 1px 3px;
|
||||
}
|
||||
.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child) {
|
||||
display: none;
|
||||
}
|
||||
.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar {
|
||||
display: block;
|
||||
}
|
1
wp-includes/blocks/freeform/editor-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/freeform/editor-rtl.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
397
wp-includes/blocks/freeform/editor.css
Normal file
397
wp-includes/blocks/freeform/editor.css
Normal file
|
@ -0,0 +1,397 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-freeform.block-library-rich-text__tinymce {
|
||||
height: auto;
|
||||
/* Allow height of embed iframes to be calculated properly */
|
||||
/* Remove blue highlighting of selected images in WebKit */
|
||||
/* Image captions */
|
||||
/* WP Views */
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce p,
|
||||
.wp-block-freeform.block-library-rich-text__tinymce li {
|
||||
line-height: 1.8;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce ul,
|
||||
.wp-block-freeform.block-library-rich-text__tinymce ol {
|
||||
padding-left: 2.5em;
|
||||
margin-left: 0;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce blockquote {
|
||||
margin: 0;
|
||||
box-shadow: inset 0 0 0 0 #ddd;
|
||||
border-left: 4px solid #000;
|
||||
padding-left: 1em;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce pre {
|
||||
white-space: pre-wrap;
|
||||
font-family: Menlo, Consolas, monaco, monospace;
|
||||
font-size: 15px;
|
||||
color: #1e1e1e;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce > *:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce > *:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus {
|
||||
outline: none;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce a {
|
||||
color: var(--wp-admin-theme-color);
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce:focus a[data-mce-selected] {
|
||||
padding: 0 2px;
|
||||
margin: 0 -2px;
|
||||
border-radius: 2px;
|
||||
box-shadow: 0 0 0 1px #e5f5fa;
|
||||
background: #e5f5fa;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce code {
|
||||
padding: 2px;
|
||||
border-radius: 2px;
|
||||
color: #1e1e1e;
|
||||
background: #f0f0f0;
|
||||
font-family: Menlo, Consolas, monaco, monospace;
|
||||
font-size: 14px;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce:focus code[data-mce-selected] {
|
||||
background: #ddd;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .alignright {
|
||||
/*rtl:ignore*/
|
||||
float: right;
|
||||
/*rtl:ignore*/
|
||||
margin: 0.5em 0 0.5em 1em;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .alignleft {
|
||||
/*rtl:ignore*/
|
||||
float: left;
|
||||
/*rtl:ignore*/
|
||||
margin: 0.5em 1em 0.5em 0;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .aligncenter {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .wp-more-tag {
|
||||
width: 96%;
|
||||
height: 20px;
|
||||
display: block;
|
||||
margin: 15px auto;
|
||||
outline: 0;
|
||||
cursor: default;
|
||||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADtgAAAAoBAMAAAA86gLBAAAAJFBMVEVMaXG7u7vBwcHDw8POzs68vLzGxsbMzMy+vr7AwMDQ0NDGxsYKLGzpAAAADHRSTlMA///zWf+/f///TMxNVGuqAAABwklEQVR4Ae3dMXLaQBTH4bfj8UCpx8hq0vgKvgFNemhT6Qo6gg6R+0ZahM2QLmyBJ99XWP9V5+o3jIUcLQEAAAAAAAAAAAAAAAAAAAAAAABQ8j0WL9lfTtlt18uNXAUA8O/KVtfa1tdcrOdSh9gCQAMlh1hMNbZZ1bsrsQWABsrhLRbz7z5in/32UbfUMUbkMQCAh5RfGYv82UdMdZ6HS2wjT2ILAI8r3XmM2B3WvM59vfO2xXYW2yYAENuPU8S+X/N67mKxzy225yaxBQCxLV392UdcvwV0jPVUj98ntkBWT7C7+9u2/V/vGtvXIWJ6/4rtbottWa6Ri0NUT/u72LYttrb97LHdvUXMxxrb8TO2W2TF1rYbbLG1bbGNjMi4+2Sbi1FsbbvNFlvbFtt5fDnE3d9sP1/XeIyV2Nr2U2/guZUuptNrH/dPI9eLB6SaAEBs6wPJf3/PNk9tYgsAYrv/8TFuzx/fvkFqGtrEFgDEdpcZUb7ejXy6ntrEFgDENvL6gsas4vbdyKt4DACI7TxElJv/Z7udpqFNbAFAbKduy2uU2trttM/x28UWAAAAAAAAAAAAAAAAAAAAAAAAAADgDyPwGmGTCZp7AAAAAElFTkSuQmCC);
|
||||
background-size: 1900px 20px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce img::selection {
|
||||
background-color: transparent;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce div.mceTemp {
|
||||
-ms-user-select: element;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption {
|
||||
margin: 0;
|
||||
/* dl browser reset */
|
||||
max-width: 100%;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,
|
||||
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption img {
|
||||
display: block;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption, .wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption * {
|
||||
-webkit-user-drag: none;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd {
|
||||
padding-top: 0.5em;
|
||||
margin: 0;
|
||||
/* browser dd reset */
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .wpview {
|
||||
width: 99.99%;
|
||||
/* All IE need hasLayout, incl. 11 (ugh, not again!!) */
|
||||
position: relative;
|
||||
clear: both;
|
||||
margin-bottom: 16px;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .wpview iframe {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
background: transparent;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .wpview .mce-shim {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected="2"] .mce-shim {
|
||||
display: none;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .wpview .loading-placeholder {
|
||||
border: 1px dashed #ddd;
|
||||
padding: 10px;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error {
|
||||
border: 1px solid #ddd;
|
||||
padding: 1em 0;
|
||||
margin: 0;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error p {
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .loading-placeholder, .wp-block-freeform.block-library-rich-text__tinymce .wpview[data-mce-selected] .wpview-error {
|
||||
border-color: transparent;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .wpview .dashicons {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
font-size: 32px;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .wpview.wpview-type-gallery::after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery img[data-mce-selected]:focus {
|
||||
outline: none;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery a {
|
||||
cursor: default;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery {
|
||||
margin: auto -6px;
|
||||
padding: 6px 0;
|
||||
line-height: 1;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-item {
|
||||
float: left;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
padding: 6px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption,
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-icon {
|
||||
margin: 0;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery .gallery-caption {
|
||||
font-size: 13px;
|
||||
margin: 4px 0;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-1 .gallery-item {
|
||||
width: 100%;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-2 .gallery-item {
|
||||
width: 50%;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-3 .gallery-item {
|
||||
width: 33.3333333333%;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-4 .gallery-item {
|
||||
width: 25%;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-5 .gallery-item {
|
||||
width: 20%;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-6 .gallery-item {
|
||||
width: 16.6666666667%;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-7 .gallery-item {
|
||||
width: 14.2857142857%;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-8 .gallery-item {
|
||||
width: 12.5%;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery-columns-9 .gallery-item {
|
||||
width: 11.1111111111%;
|
||||
}
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .gallery img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
border: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
div[data-type="core/freeform"]::before {
|
||||
transition: border-color 0.1s linear, box-shadow 0.1s linear;
|
||||
border: 1px solid #ddd;
|
||||
outline: 1px solid transparent;
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
div[data-type="core/freeform"]::before {
|
||||
transition-duration: 0s;
|
||||
transition-delay: 0s;
|
||||
}
|
||||
}
|
||||
div[data-type="core/freeform"].is-selected::before {
|
||||
border-color: #1e1e1e;
|
||||
}
|
||||
div[data-type="core/freeform"] .block-editor-block-contextual-toolbar + div {
|
||||
margin-top: 0;
|
||||
padding-top: 0;
|
||||
}
|
||||
div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce::after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.mce-toolbar-grp .mce-btn.mce-active button,
|
||||
.mce-toolbar-grp .mce-btn.mce-active:hover button,
|
||||
.mce-toolbar-grp .mce-btn.mce-active i,
|
||||
.mce-toolbar-grp .mce-btn.mce-active:hover i {
|
||||
color: #1e1e1e;
|
||||
}
|
||||
.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last {
|
||||
margin-right: 0;
|
||||
margin-left: 8px;
|
||||
}
|
||||
.mce-toolbar-grp .mce-btn i {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.block-library-classic__toolbar {
|
||||
display: none;
|
||||
width: auto;
|
||||
margin: 0;
|
||||
position: sticky;
|
||||
z-index: 31;
|
||||
top: 0;
|
||||
border: 1px solid #ddd;
|
||||
border-bottom: none;
|
||||
border-radius: 2px;
|
||||
margin-bottom: 8px;
|
||||
padding: 0;
|
||||
}
|
||||
div[data-type="core/freeform"].is-selected .block-library-classic__toolbar {
|
||||
display: block;
|
||||
border-color: #1e1e1e;
|
||||
}
|
||||
.block-library-classic__toolbar .mce-tinymce {
|
||||
box-shadow: none;
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
.block-library-classic__toolbar {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
.block-library-classic__toolbar:empty {
|
||||
display: block;
|
||||
background: #f5f5f5;
|
||||
border-bottom: 1px solid #e2e4e7;
|
||||
}
|
||||
.block-library-classic__toolbar:empty::before {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
content: attr(data-placeholder);
|
||||
color: #555d66;
|
||||
line-height: 37px;
|
||||
padding: 14px;
|
||||
}
|
||||
.block-library-classic__toolbar div.mce-toolbar-grp {
|
||||
border-bottom: 1px solid #1e1e1e;
|
||||
}
|
||||
.block-library-classic__toolbar .mce-tinymce-inline,
|
||||
.block-library-classic__toolbar .mce-tinymce-inline > div,
|
||||
.block-library-classic__toolbar div.mce-toolbar-grp,
|
||||
.block-library-classic__toolbar div.mce-toolbar-grp > div,
|
||||
.block-library-classic__toolbar .mce-menubar,
|
||||
.block-library-classic__toolbar .mce-menubar > div {
|
||||
height: auto !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
.block-library-classic__toolbar .mce-container-body.mce-abs-layout {
|
||||
overflow: visible;
|
||||
}
|
||||
.block-library-classic__toolbar .mce-menubar,
|
||||
.block-library-classic__toolbar div.mce-toolbar-grp {
|
||||
position: static;
|
||||
}
|
||||
.block-library-classic__toolbar .mce-toolbar-grp > div {
|
||||
padding: 1px 3px;
|
||||
}
|
||||
.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child) {
|
||||
display: none;
|
||||
}
|
||||
.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar {
|
||||
display: block;
|
||||
}
|
1
wp-includes/blocks/freeform/editor.min.css
vendored
Normal file
1
wp-includes/blocks/freeform/editor.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
174
wp-includes/blocks/gallery/editor-rtl.css
Normal file
174
wp-includes/blocks/gallery/editor-rtl.css
Normal file
|
@ -0,0 +1,174 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-gallery li {
|
||||
list-style-type: none;
|
||||
}
|
||||
.wp-block-gallery .block-editor-media-placeholder.is-appender .components-placeholder__label {
|
||||
display: none;
|
||||
}
|
||||
.wp-block-gallery .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
figure.wp-block-gallery {
|
||||
display: block;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.blocks-gallery-grid.blocks-gallery-grid {
|
||||
padding-right: 0;
|
||||
margin-right: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.blocks-gallery-item figure:not(.is-selected):focus,
|
||||
.blocks-gallery-item img:focus {
|
||||
outline: none;
|
||||
}
|
||||
.blocks-gallery-item figure.is-selected::before {
|
||||
box-shadow: 0 0 0 1px #fff inset, 0 0 0 3px var(--wp-admin-theme-color) inset;
|
||||
content: "";
|
||||
outline: 2px solid transparent;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
z-index: 1;
|
||||
pointer-events: none;
|
||||
}
|
||||
.blocks-gallery-item figure.is-selected figcaption {
|
||||
z-index: 2;
|
||||
}
|
||||
.blocks-gallery-item figure.is-transient img {
|
||||
opacity: 0.3;
|
||||
}
|
||||
.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu {
|
||||
display: inline-flex;
|
||||
}
|
||||
.blocks-gallery-item .block-editor-media-placeholder {
|
||||
margin: 0;
|
||||
height: 100%;
|
||||
}
|
||||
.blocks-gallery-item .block-editor-media-placeholder .components-placeholder__label {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.block-library-gallery-item__inline-menu {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: -2px;
|
||||
margin: 8px;
|
||||
z-index: 20;
|
||||
transition: box-shadow 0.2s ease-out;
|
||||
border-radius: 2px;
|
||||
background: #fff;
|
||||
border: 1px solid #1e1e1e;
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.block-library-gallery-item__inline-menu {
|
||||
transition-duration: 0s;
|
||||
transition-delay: 0s;
|
||||
}
|
||||
}
|
||||
.block-library-gallery-item__inline-menu:hover {
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
.columns-7 .block-library-gallery-item__inline-menu, .columns-8 .block-library-gallery-item__inline-menu {
|
||||
padding: 2px;
|
||||
}
|
||||
}
|
||||
.block-library-gallery-item__inline-menu .components-button.has-icon:not(:focus) {
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
.columns-7 .block-library-gallery-item__inline-menu .components-button.has-icon, .columns-8 .block-library-gallery-item__inline-menu .components-button.has-icon {
|
||||
padding: 0;
|
||||
width: inherit;
|
||||
height: inherit;
|
||||
}
|
||||
}
|
||||
.block-library-gallery-item__inline-menu.is-left {
|
||||
right: -2px;
|
||||
}
|
||||
.block-library-gallery-item__inline-menu.is-right {
|
||||
left: -2px;
|
||||
}
|
||||
|
||||
.blocks-gallery-item .components-spinner {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 50%;
|
||||
margin-top: -9px;
|
||||
margin-right: -9px;
|
||||
}
|
1
wp-includes/blocks/gallery/editor-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/gallery/editor-rtl.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-gallery li{list-style-type:none}.wp-block-gallery .block-editor-media-placeholder.is-appender .components-placeholder__label{display:none}.wp-block-gallery .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button{margin-bottom:0}figure.wp-block-gallery{display:block;margin:0}.blocks-gallery-grid.blocks-gallery-grid{padding-right:0;margin-right:0;margin-bottom:0}.blocks-gallery-item figure:not(.is-selected):focus,.blocks-gallery-item img:focus{outline:none}.blocks-gallery-item figure.is-selected:before{box-shadow:0 0 0 1px #fff inset,0 0 0 3px var(--wp-admin-theme-color) inset;content:"";outline:2px solid transparent;position:absolute;top:0;left:0;bottom:0;right:0;z-index:1;pointer-events:none}.blocks-gallery-item figure.is-selected figcaption{z-index:2}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu{display:inline-flex}.blocks-gallery-item .block-editor-media-placeholder{margin:0;height:100%}.blocks-gallery-item .block-editor-media-placeholder .components-placeholder__label{display:flex}.block-library-gallery-item__inline-menu{display:none;position:absolute;top:-2px;margin:8px;z-index:20;transition:box-shadow .2s ease-out;border-radius:2px;background:#fff;border:1px solid #1e1e1e}@media (prefers-reduced-motion:reduce){.block-library-gallery-item__inline-menu{transition-duration:0s;transition-delay:0s}}.block-library-gallery-item__inline-menu:hover{box-shadow:0 2px 6px rgba(0,0,0,.05)}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__inline-menu{padding:2px}}.block-library-gallery-item__inline-menu .components-button.has-icon:not(:focus){border:none;box-shadow:none}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu .components-button.has-icon,.columns-8 .block-library-gallery-item__inline-menu .components-button.has-icon{padding:0;width:inherit;height:inherit}}.block-library-gallery-item__inline-menu.is-left{right:-2px}.block-library-gallery-item__inline-menu.is-right{left:-2px}.blocks-gallery-item .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}
|
174
wp-includes/blocks/gallery/editor.css
Normal file
174
wp-includes/blocks/gallery/editor.css
Normal file
|
@ -0,0 +1,174 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-gallery li {
|
||||
list-style-type: none;
|
||||
}
|
||||
.wp-block-gallery .block-editor-media-placeholder.is-appender .components-placeholder__label {
|
||||
display: none;
|
||||
}
|
||||
.wp-block-gallery .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
figure.wp-block-gallery {
|
||||
display: block;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.blocks-gallery-grid.blocks-gallery-grid {
|
||||
padding-left: 0;
|
||||
margin-left: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.blocks-gallery-item figure:not(.is-selected):focus,
|
||||
.blocks-gallery-item img:focus {
|
||||
outline: none;
|
||||
}
|
||||
.blocks-gallery-item figure.is-selected::before {
|
||||
box-shadow: 0 0 0 1px #fff inset, 0 0 0 3px var(--wp-admin-theme-color) inset;
|
||||
content: "";
|
||||
outline: 2px solid transparent;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
pointer-events: none;
|
||||
}
|
||||
.blocks-gallery-item figure.is-selected figcaption {
|
||||
z-index: 2;
|
||||
}
|
||||
.blocks-gallery-item figure.is-transient img {
|
||||
opacity: 0.3;
|
||||
}
|
||||
.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu {
|
||||
display: inline-flex;
|
||||
}
|
||||
.blocks-gallery-item .block-editor-media-placeholder {
|
||||
margin: 0;
|
||||
height: 100%;
|
||||
}
|
||||
.blocks-gallery-item .block-editor-media-placeholder .components-placeholder__label {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.block-library-gallery-item__inline-menu {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: -2px;
|
||||
margin: 8px;
|
||||
z-index: 20;
|
||||
transition: box-shadow 0.2s ease-out;
|
||||
border-radius: 2px;
|
||||
background: #fff;
|
||||
border: 1px solid #1e1e1e;
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.block-library-gallery-item__inline-menu {
|
||||
transition-duration: 0s;
|
||||
transition-delay: 0s;
|
||||
}
|
||||
}
|
||||
.block-library-gallery-item__inline-menu:hover {
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
.columns-7 .block-library-gallery-item__inline-menu, .columns-8 .block-library-gallery-item__inline-menu {
|
||||
padding: 2px;
|
||||
}
|
||||
}
|
||||
.block-library-gallery-item__inline-menu .components-button.has-icon:not(:focus) {
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
.columns-7 .block-library-gallery-item__inline-menu .components-button.has-icon, .columns-8 .block-library-gallery-item__inline-menu .components-button.has-icon {
|
||||
padding: 0;
|
||||
width: inherit;
|
||||
height: inherit;
|
||||
}
|
||||
}
|
||||
.block-library-gallery-item__inline-menu.is-left {
|
||||
left: -2px;
|
||||
}
|
||||
.block-library-gallery-item__inline-menu.is-right {
|
||||
right: -2px;
|
||||
}
|
||||
|
||||
.blocks-gallery-item .components-spinner {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin-top: -9px;
|
||||
margin-left: -9px;
|
||||
}
|
1
wp-includes/blocks/gallery/editor.min.css
vendored
Normal file
1
wp-includes/blocks/gallery/editor.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-gallery li{list-style-type:none}.wp-block-gallery .block-editor-media-placeholder.is-appender .components-placeholder__label{display:none}.wp-block-gallery .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button{margin-bottom:0}figure.wp-block-gallery{display:block;margin:0}.blocks-gallery-grid.blocks-gallery-grid{padding-left:0;margin-left:0;margin-bottom:0}.blocks-gallery-item figure:not(.is-selected):focus,.blocks-gallery-item img:focus{outline:none}.blocks-gallery-item figure.is-selected:before{box-shadow:0 0 0 1px #fff inset,0 0 0 3px var(--wp-admin-theme-color) inset;content:"";outline:2px solid transparent;position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none}.blocks-gallery-item figure.is-selected figcaption{z-index:2}.blocks-gallery-item figure.is-transient img{opacity:.3}.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu{display:inline-flex}.blocks-gallery-item .block-editor-media-placeholder{margin:0;height:100%}.blocks-gallery-item .block-editor-media-placeholder .components-placeholder__label{display:flex}.block-library-gallery-item__inline-menu{display:none;position:absolute;top:-2px;margin:8px;z-index:20;transition:box-shadow .2s ease-out;border-radius:2px;background:#fff;border:1px solid #1e1e1e}@media (prefers-reduced-motion:reduce){.block-library-gallery-item__inline-menu{transition-duration:0s;transition-delay:0s}}.block-library-gallery-item__inline-menu:hover{box-shadow:0 2px 6px rgba(0,0,0,.05)}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu,.columns-8 .block-library-gallery-item__inline-menu{padding:2px}}.block-library-gallery-item__inline-menu .components-button.has-icon:not(:focus){border:none;box-shadow:none}@media (min-width:600px){.columns-7 .block-library-gallery-item__inline-menu .components-button.has-icon,.columns-8 .block-library-gallery-item__inline-menu .components-button.has-icon{padding:0;width:inherit;height:inherit}}.block-library-gallery-item__inline-menu.is-left{left:-2px}.block-library-gallery-item__inline-menu.is-right{right:-2px}.blocks-gallery-item .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}
|
286
wp-includes/blocks/gallery/style-rtl.css
Normal file
286
wp-includes/blocks/gallery/style-rtl.css
Normal file
|
@ -0,0 +1,286 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-gallery,
|
||||
.blocks-gallery-grid {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
.wp-block-gallery .blocks-gallery-image,
|
||||
.wp-block-gallery .blocks-gallery-item,
|
||||
.blocks-gallery-grid .blocks-gallery-image,
|
||||
.blocks-gallery-grid .blocks-gallery-item {
|
||||
margin: 0 0 1em 1em;
|
||||
display: flex;
|
||||
flex-grow: 1;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
align-self: flex-start;
|
||||
width: calc(50% - 1em);
|
||||
}
|
||||
.wp-block-gallery .blocks-gallery-image:nth-of-type(even),
|
||||
.wp-block-gallery .blocks-gallery-item:nth-of-type(even),
|
||||
.blocks-gallery-grid .blocks-gallery-image:nth-of-type(even),
|
||||
.blocks-gallery-grid .blocks-gallery-item:nth-of-type(even) {
|
||||
margin-left: 0;
|
||||
}
|
||||
.wp-block-gallery .blocks-gallery-image figure,
|
||||
.wp-block-gallery .blocks-gallery-item figure,
|
||||
.blocks-gallery-grid .blocks-gallery-image figure,
|
||||
.blocks-gallery-grid .blocks-gallery-item figure {
|
||||
margin: 0;
|
||||
height: 100%;
|
||||
}
|
||||
@supports (position: sticky) {
|
||||
.wp-block-gallery .blocks-gallery-image figure,
|
||||
.wp-block-gallery .blocks-gallery-item figure,
|
||||
.blocks-gallery-grid .blocks-gallery-image figure,
|
||||
.blocks-gallery-grid .blocks-gallery-item figure {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
}
|
||||
.wp-block-gallery .blocks-gallery-image img,
|
||||
.wp-block-gallery .blocks-gallery-item img,
|
||||
.blocks-gallery-grid .blocks-gallery-image img,
|
||||
.blocks-gallery-grid .blocks-gallery-item img {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
width: 100%;
|
||||
}
|
||||
@supports (position: sticky) {
|
||||
.wp-block-gallery .blocks-gallery-image img,
|
||||
.wp-block-gallery .blocks-gallery-item img,
|
||||
.blocks-gallery-grid .blocks-gallery-image img,
|
||||
.blocks-gallery-grid .blocks-gallery-item img {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
.wp-block-gallery .blocks-gallery-image figcaption,
|
||||
.wp-block-gallery .blocks-gallery-item figcaption,
|
||||
.blocks-gallery-grid .blocks-gallery-image figcaption,
|
||||
.blocks-gallery-grid .blocks-gallery-item figcaption {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
max-height: 100%;
|
||||
overflow: auto;
|
||||
padding: 3em 0.77em 0.7em;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
font-size: 0.8em;
|
||||
background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0, rgba(0, 0, 0, 0.3) 70%, transparent);
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
}
|
||||
.wp-block-gallery .blocks-gallery-image figcaption img,
|
||||
.wp-block-gallery .blocks-gallery-item figcaption img,
|
||||
.blocks-gallery-grid .blocks-gallery-image figcaption img,
|
||||
.blocks-gallery-grid .blocks-gallery-item figcaption img {
|
||||
display: inline;
|
||||
}
|
||||
.wp-block-gallery figcaption,
|
||||
.blocks-gallery-grid figcaption {
|
||||
flex-grow: 1;
|
||||
}
|
||||
.wp-block-gallery.is-cropped .blocks-gallery-image, .wp-block-gallery.is-cropped .blocks-gallery-item,
|
||||
.blocks-gallery-grid.is-cropped .blocks-gallery-image,
|
||||
.blocks-gallery-grid.is-cropped .blocks-gallery-item {
|
||||
align-self: inherit;
|
||||
}
|
||||
.wp-block-gallery.is-cropped .blocks-gallery-image a,
|
||||
.wp-block-gallery.is-cropped .blocks-gallery-image img, .wp-block-gallery.is-cropped .blocks-gallery-item a,
|
||||
.wp-block-gallery.is-cropped .blocks-gallery-item img,
|
||||
.blocks-gallery-grid.is-cropped .blocks-gallery-image a,
|
||||
.blocks-gallery-grid.is-cropped .blocks-gallery-image img,
|
||||
.blocks-gallery-grid.is-cropped .blocks-gallery-item a,
|
||||
.blocks-gallery-grid.is-cropped .blocks-gallery-item img {
|
||||
width: 100%;
|
||||
}
|
||||
@supports (position: sticky) {
|
||||
.wp-block-gallery.is-cropped .blocks-gallery-image a,
|
||||
.wp-block-gallery.is-cropped .blocks-gallery-image img, .wp-block-gallery.is-cropped .blocks-gallery-item a,
|
||||
.wp-block-gallery.is-cropped .blocks-gallery-item img,
|
||||
.blocks-gallery-grid.is-cropped .blocks-gallery-image a,
|
||||
.blocks-gallery-grid.is-cropped .blocks-gallery-image img,
|
||||
.blocks-gallery-grid.is-cropped .blocks-gallery-item a,
|
||||
.blocks-gallery-grid.is-cropped .blocks-gallery-item img {
|
||||
height: 100%;
|
||||
flex: 1;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
.wp-block-gallery.columns-1 .blocks-gallery-image, .wp-block-gallery.columns-1 .blocks-gallery-item,
|
||||
.blocks-gallery-grid.columns-1 .blocks-gallery-image,
|
||||
.blocks-gallery-grid.columns-1 .blocks-gallery-item {
|
||||
width: 100%;
|
||||
margin-left: 0;
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
.wp-block-gallery.columns-3 .blocks-gallery-image, .wp-block-gallery.columns-3 .blocks-gallery-item,
|
||||
.blocks-gallery-grid.columns-3 .blocks-gallery-image,
|
||||
.blocks-gallery-grid.columns-3 .blocks-gallery-item {
|
||||
width: calc(33.3333333333% - 0.6666666667em);
|
||||
margin-left: 1em;
|
||||
}
|
||||
.wp-block-gallery.columns-4 .blocks-gallery-image, .wp-block-gallery.columns-4 .blocks-gallery-item,
|
||||
.blocks-gallery-grid.columns-4 .blocks-gallery-image,
|
||||
.blocks-gallery-grid.columns-4 .blocks-gallery-item {
|
||||
width: calc(25% - 0.75em);
|
||||
margin-left: 1em;
|
||||
}
|
||||
.wp-block-gallery.columns-5 .blocks-gallery-image, .wp-block-gallery.columns-5 .blocks-gallery-item,
|
||||
.blocks-gallery-grid.columns-5 .blocks-gallery-image,
|
||||
.blocks-gallery-grid.columns-5 .blocks-gallery-item {
|
||||
width: calc(20% - 0.8em);
|
||||
margin-left: 1em;
|
||||
}
|
||||
.wp-block-gallery.columns-6 .blocks-gallery-image, .wp-block-gallery.columns-6 .blocks-gallery-item,
|
||||
.blocks-gallery-grid.columns-6 .blocks-gallery-image,
|
||||
.blocks-gallery-grid.columns-6 .blocks-gallery-item {
|
||||
width: calc(16.6666666667% - 0.8333333333em);
|
||||
margin-left: 1em;
|
||||
}
|
||||
.wp-block-gallery.columns-7 .blocks-gallery-image, .wp-block-gallery.columns-7 .blocks-gallery-item,
|
||||
.blocks-gallery-grid.columns-7 .blocks-gallery-image,
|
||||
.blocks-gallery-grid.columns-7 .blocks-gallery-item {
|
||||
width: calc(14.2857142857% - 0.8571428571em);
|
||||
margin-left: 1em;
|
||||
}
|
||||
.wp-block-gallery.columns-8 .blocks-gallery-image, .wp-block-gallery.columns-8 .blocks-gallery-item,
|
||||
.blocks-gallery-grid.columns-8 .blocks-gallery-image,
|
||||
.blocks-gallery-grid.columns-8 .blocks-gallery-item {
|
||||
width: calc(12.5% - 0.875em);
|
||||
margin-left: 1em;
|
||||
}
|
||||
.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n), .wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n),
|
||||
.blocks-gallery-grid.columns-1 .blocks-gallery-image:nth-of-type(1n),
|
||||
.blocks-gallery-grid.columns-1 .blocks-gallery-item:nth-of-type(1n) {
|
||||
margin-left: 0;
|
||||
}
|
||||
.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n), .wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n),
|
||||
.blocks-gallery-grid.columns-2 .blocks-gallery-image:nth-of-type(2n),
|
||||
.blocks-gallery-grid.columns-2 .blocks-gallery-item:nth-of-type(2n) {
|
||||
margin-left: 0;
|
||||
}
|
||||
.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n), .wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n),
|
||||
.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n),
|
||||
.blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n) {
|
||||
margin-left: 0;
|
||||
}
|
||||
.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n), .wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n),
|
||||
.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n),
|
||||
.blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n) {
|
||||
margin-left: 0;
|
||||
}
|
||||
.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n), .wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n),
|
||||
.blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n),
|
||||
.blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n) {
|
||||
margin-left: 0;
|
||||
}
|
||||
.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n), .wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n),
|
||||
.blocks-gallery-grid.columns-6 .blocks-gallery-image:nth-of-type(6n),
|
||||
.blocks-gallery-grid.columns-6 .blocks-gallery-item:nth-of-type(6n) {
|
||||
margin-left: 0;
|
||||
}
|
||||
.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n), .wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n),
|
||||
.blocks-gallery-grid.columns-7 .blocks-gallery-image:nth-of-type(7n),
|
||||
.blocks-gallery-grid.columns-7 .blocks-gallery-item:nth-of-type(7n) {
|
||||
margin-left: 0;
|
||||
}
|
||||
.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n), .wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n),
|
||||
.blocks-gallery-grid.columns-8 .blocks-gallery-image:nth-of-type(8n),
|
||||
.blocks-gallery-grid.columns-8 .blocks-gallery-item:nth-of-type(8n) {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
.wp-block-gallery .blocks-gallery-image:last-child,
|
||||
.wp-block-gallery .blocks-gallery-item:last-child,
|
||||
.blocks-gallery-grid .blocks-gallery-image:last-child,
|
||||
.blocks-gallery-grid .blocks-gallery-item:last-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
.wp-block-gallery.alignleft, .wp-block-gallery.alignright,
|
||||
.blocks-gallery-grid.alignleft,
|
||||
.blocks-gallery-grid.alignright {
|
||||
max-width: 420px;
|
||||
width: 100%;
|
||||
}
|
||||
.wp-block-gallery.aligncenter .blocks-gallery-item figure,
|
||||
.blocks-gallery-grid.aligncenter .blocks-gallery-item figure {
|
||||
justify-content: center;
|
||||
}
|
1
wp-includes/blocks/gallery/style-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/gallery/style-rtl.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
286
wp-includes/blocks/gallery/style.css
Normal file
286
wp-includes/blocks/gallery/style.css
Normal file
|
@ -0,0 +1,286 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-gallery,
|
||||
.blocks-gallery-grid {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
.wp-block-gallery .blocks-gallery-image,
|
||||
.wp-block-gallery .blocks-gallery-item,
|
||||
.blocks-gallery-grid .blocks-gallery-image,
|
||||
.blocks-gallery-grid .blocks-gallery-item {
|
||||
margin: 0 1em 1em 0;
|
||||
display: flex;
|
||||
flex-grow: 1;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
align-self: flex-start;
|
||||
width: calc(50% - 1em);
|
||||
}
|
||||
.wp-block-gallery .blocks-gallery-image:nth-of-type(even),
|
||||
.wp-block-gallery .blocks-gallery-item:nth-of-type(even),
|
||||
.blocks-gallery-grid .blocks-gallery-image:nth-of-type(even),
|
||||
.blocks-gallery-grid .blocks-gallery-item:nth-of-type(even) {
|
||||
margin-right: 0;
|
||||
}
|
||||
.wp-block-gallery .blocks-gallery-image figure,
|
||||
.wp-block-gallery .blocks-gallery-item figure,
|
||||
.blocks-gallery-grid .blocks-gallery-image figure,
|
||||
.blocks-gallery-grid .blocks-gallery-item figure {
|
||||
margin: 0;
|
||||
height: 100%;
|
||||
}
|
||||
@supports (position: sticky) {
|
||||
.wp-block-gallery .blocks-gallery-image figure,
|
||||
.wp-block-gallery .blocks-gallery-item figure,
|
||||
.blocks-gallery-grid .blocks-gallery-image figure,
|
||||
.blocks-gallery-grid .blocks-gallery-item figure {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
}
|
||||
.wp-block-gallery .blocks-gallery-image img,
|
||||
.wp-block-gallery .blocks-gallery-item img,
|
||||
.blocks-gallery-grid .blocks-gallery-image img,
|
||||
.blocks-gallery-grid .blocks-gallery-item img {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
width: 100%;
|
||||
}
|
||||
@supports (position: sticky) {
|
||||
.wp-block-gallery .blocks-gallery-image img,
|
||||
.wp-block-gallery .blocks-gallery-item img,
|
||||
.blocks-gallery-grid .blocks-gallery-image img,
|
||||
.blocks-gallery-grid .blocks-gallery-item img {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
.wp-block-gallery .blocks-gallery-image figcaption,
|
||||
.wp-block-gallery .blocks-gallery-item figcaption,
|
||||
.blocks-gallery-grid .blocks-gallery-image figcaption,
|
||||
.blocks-gallery-grid .blocks-gallery-item figcaption {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
max-height: 100%;
|
||||
overflow: auto;
|
||||
padding: 3em 0.77em 0.7em;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
font-size: 0.8em;
|
||||
background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0, rgba(0, 0, 0, 0.3) 70%, transparent);
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
}
|
||||
.wp-block-gallery .blocks-gallery-image figcaption img,
|
||||
.wp-block-gallery .blocks-gallery-item figcaption img,
|
||||
.blocks-gallery-grid .blocks-gallery-image figcaption img,
|
||||
.blocks-gallery-grid .blocks-gallery-item figcaption img {
|
||||
display: inline;
|
||||
}
|
||||
.wp-block-gallery figcaption,
|
||||
.blocks-gallery-grid figcaption {
|
||||
flex-grow: 1;
|
||||
}
|
||||
.wp-block-gallery.is-cropped .blocks-gallery-image, .wp-block-gallery.is-cropped .blocks-gallery-item,
|
||||
.blocks-gallery-grid.is-cropped .blocks-gallery-image,
|
||||
.blocks-gallery-grid.is-cropped .blocks-gallery-item {
|
||||
align-self: inherit;
|
||||
}
|
||||
.wp-block-gallery.is-cropped .blocks-gallery-image a,
|
||||
.wp-block-gallery.is-cropped .blocks-gallery-image img, .wp-block-gallery.is-cropped .blocks-gallery-item a,
|
||||
.wp-block-gallery.is-cropped .blocks-gallery-item img,
|
||||
.blocks-gallery-grid.is-cropped .blocks-gallery-image a,
|
||||
.blocks-gallery-grid.is-cropped .blocks-gallery-image img,
|
||||
.blocks-gallery-grid.is-cropped .blocks-gallery-item a,
|
||||
.blocks-gallery-grid.is-cropped .blocks-gallery-item img {
|
||||
width: 100%;
|
||||
}
|
||||
@supports (position: sticky) {
|
||||
.wp-block-gallery.is-cropped .blocks-gallery-image a,
|
||||
.wp-block-gallery.is-cropped .blocks-gallery-image img, .wp-block-gallery.is-cropped .blocks-gallery-item a,
|
||||
.wp-block-gallery.is-cropped .blocks-gallery-item img,
|
||||
.blocks-gallery-grid.is-cropped .blocks-gallery-image a,
|
||||
.blocks-gallery-grid.is-cropped .blocks-gallery-image img,
|
||||
.blocks-gallery-grid.is-cropped .blocks-gallery-item a,
|
||||
.blocks-gallery-grid.is-cropped .blocks-gallery-item img {
|
||||
height: 100%;
|
||||
flex: 1;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
.wp-block-gallery.columns-1 .blocks-gallery-image, .wp-block-gallery.columns-1 .blocks-gallery-item,
|
||||
.blocks-gallery-grid.columns-1 .blocks-gallery-image,
|
||||
.blocks-gallery-grid.columns-1 .blocks-gallery-item {
|
||||
width: 100%;
|
||||
margin-right: 0;
|
||||
}
|
||||
@media (min-width: 600px) {
|
||||
.wp-block-gallery.columns-3 .blocks-gallery-image, .wp-block-gallery.columns-3 .blocks-gallery-item,
|
||||
.blocks-gallery-grid.columns-3 .blocks-gallery-image,
|
||||
.blocks-gallery-grid.columns-3 .blocks-gallery-item {
|
||||
width: calc(33.3333333333% - 0.6666666667em);
|
||||
margin-right: 1em;
|
||||
}
|
||||
.wp-block-gallery.columns-4 .blocks-gallery-image, .wp-block-gallery.columns-4 .blocks-gallery-item,
|
||||
.blocks-gallery-grid.columns-4 .blocks-gallery-image,
|
||||
.blocks-gallery-grid.columns-4 .blocks-gallery-item {
|
||||
width: calc(25% - 0.75em);
|
||||
margin-right: 1em;
|
||||
}
|
||||
.wp-block-gallery.columns-5 .blocks-gallery-image, .wp-block-gallery.columns-5 .blocks-gallery-item,
|
||||
.blocks-gallery-grid.columns-5 .blocks-gallery-image,
|
||||
.blocks-gallery-grid.columns-5 .blocks-gallery-item {
|
||||
width: calc(20% - 0.8em);
|
||||
margin-right: 1em;
|
||||
}
|
||||
.wp-block-gallery.columns-6 .blocks-gallery-image, .wp-block-gallery.columns-6 .blocks-gallery-item,
|
||||
.blocks-gallery-grid.columns-6 .blocks-gallery-image,
|
||||
.blocks-gallery-grid.columns-6 .blocks-gallery-item {
|
||||
width: calc(16.6666666667% - 0.8333333333em);
|
||||
margin-right: 1em;
|
||||
}
|
||||
.wp-block-gallery.columns-7 .blocks-gallery-image, .wp-block-gallery.columns-7 .blocks-gallery-item,
|
||||
.blocks-gallery-grid.columns-7 .blocks-gallery-image,
|
||||
.blocks-gallery-grid.columns-7 .blocks-gallery-item {
|
||||
width: calc(14.2857142857% - 0.8571428571em);
|
||||
margin-right: 1em;
|
||||
}
|
||||
.wp-block-gallery.columns-8 .blocks-gallery-image, .wp-block-gallery.columns-8 .blocks-gallery-item,
|
||||
.blocks-gallery-grid.columns-8 .blocks-gallery-image,
|
||||
.blocks-gallery-grid.columns-8 .blocks-gallery-item {
|
||||
width: calc(12.5% - 0.875em);
|
||||
margin-right: 1em;
|
||||
}
|
||||
.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n), .wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n),
|
||||
.blocks-gallery-grid.columns-1 .blocks-gallery-image:nth-of-type(1n),
|
||||
.blocks-gallery-grid.columns-1 .blocks-gallery-item:nth-of-type(1n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
.wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n), .wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n),
|
||||
.blocks-gallery-grid.columns-2 .blocks-gallery-image:nth-of-type(2n),
|
||||
.blocks-gallery-grid.columns-2 .blocks-gallery-item:nth-of-type(2n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n), .wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n),
|
||||
.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n),
|
||||
.blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n), .wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n),
|
||||
.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n),
|
||||
.blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n), .wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n),
|
||||
.blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n),
|
||||
.blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n), .wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n),
|
||||
.blocks-gallery-grid.columns-6 .blocks-gallery-image:nth-of-type(6n),
|
||||
.blocks-gallery-grid.columns-6 .blocks-gallery-item:nth-of-type(6n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n), .wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n),
|
||||
.blocks-gallery-grid.columns-7 .blocks-gallery-image:nth-of-type(7n),
|
||||
.blocks-gallery-grid.columns-7 .blocks-gallery-item:nth-of-type(7n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n), .wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n),
|
||||
.blocks-gallery-grid.columns-8 .blocks-gallery-image:nth-of-type(8n),
|
||||
.blocks-gallery-grid.columns-8 .blocks-gallery-item:nth-of-type(8n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
.wp-block-gallery .blocks-gallery-image:last-child,
|
||||
.wp-block-gallery .blocks-gallery-item:last-child,
|
||||
.blocks-gallery-grid .blocks-gallery-image:last-child,
|
||||
.blocks-gallery-grid .blocks-gallery-item:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
.wp-block-gallery.alignleft, .wp-block-gallery.alignright,
|
||||
.blocks-gallery-grid.alignleft,
|
||||
.blocks-gallery-grid.alignright {
|
||||
max-width: 420px;
|
||||
width: 100%;
|
||||
}
|
||||
.wp-block-gallery.aligncenter .blocks-gallery-item figure,
|
||||
.blocks-gallery-grid.aligncenter .blocks-gallery-item figure {
|
||||
justify-content: center;
|
||||
}
|
1
wp-includes/blocks/gallery/style.min.css
vendored
Normal file
1
wp-includes/blocks/gallery/style.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
86
wp-includes/blocks/group/editor-rtl.css
Normal file
86
wp-includes/blocks/group/editor-rtl.css
Normal file
|
@ -0,0 +1,86 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Group: All Alignment Settings
|
||||
*/
|
||||
.wp-block-group .block-editor-block-list__insertion-point {
|
||||
right: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
[data-type="core/group"].is-selected .block-list-appender {
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
[data-type="core/group"].is-selected .has-background .block-list-appender {
|
||||
margin-top: 18px;
|
||||
margin-bottom: 18px;
|
||||
}
|
1
wp-includes/blocks/group/editor-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/group/editor-rtl.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-group .block-editor-block-list__insertion-point{right:0;left:0}[data-type="core/group"].is-selected .block-list-appender{margin-right:0;margin-left:0}[data-type="core/group"].is-selected .has-background .block-list-appender{margin-top:18px;margin-bottom:18px}
|
86
wp-includes/blocks/group/editor.css
Normal file
86
wp-includes/blocks/group/editor.css
Normal file
|
@ -0,0 +1,86 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Group: All Alignment Settings
|
||||
*/
|
||||
.wp-block-group .block-editor-block-list__insertion-point {
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
[data-type="core/group"].is-selected .block-list-appender {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
[data-type="core/group"].is-selected .has-background .block-list-appender {
|
||||
margin-top: 18px;
|
||||
margin-bottom: 18px;
|
||||
}
|
1
wp-includes/blocks/group/editor.min.css
vendored
Normal file
1
wp-includes/blocks/group/editor.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-group .block-editor-block-list__insertion-point{left:0;right:0}[data-type="core/group"].is-selected .block-list-appender{margin-left:0;margin-right:0}[data-type="core/group"].is-selected .has-background .block-list-appender{margin-top:18px;margin-bottom:18px}
|
73
wp-includes/blocks/group/style-rtl.css
Normal file
73
wp-includes/blocks/group/style-rtl.css
Normal file
|
@ -0,0 +1,73 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-group {
|
||||
box-sizing: border-box;
|
||||
}
|
1
wp-includes/blocks/group/style-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/group/style-rtl.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-group{box-sizing:border-box}
|
73
wp-includes/blocks/group/style.css
Normal file
73
wp-includes/blocks/group/style.css
Normal file
|
@ -0,0 +1,73 @@
|
|||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
/**
|
||||
* Grid System.
|
||||
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
||||
*/
|
||||
/**
|
||||
* Dimensions.
|
||||
*/
|
||||
/**
|
||||
* Shadows.
|
||||
*/
|
||||
/**
|
||||
* Editor widths.
|
||||
*/
|
||||
/**
|
||||
* Block & Editor UI.
|
||||
*/
|
||||
/**
|
||||
* Block paddings.
|
||||
*/
|
||||
/**
|
||||
* React Native specific.
|
||||
* These variables do not appear to be used anywhere else.
|
||||
*/
|
||||
/**
|
||||
* Breakpoint mixins
|
||||
*/
|
||||
/**
|
||||
* Long content fade mixin
|
||||
*
|
||||
* Creates a fading overlay to signify that the content is longer
|
||||
* than the space allows.
|
||||
*/
|
||||
/**
|
||||
* Focus styles.
|
||||
*/
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
.wp-block-group {
|
||||
box-sizing: border-box;
|
||||
}
|
1
wp-includes/blocks/group/style.min.css
vendored
Normal file
1
wp-includes/blocks/group/style.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.wp-block-group{box-sizing:border-box}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue