mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-12 13:44:21 +01:00
Build Tools: Minify the package CSS when building.
CSS coming from the `@wordpress` packages wasn't being minified in the build. This had the noteable side effect of causing RTL CSS to not be loaded when `SCRIPT_DEBUG` was set to `false`. Props websupporter. Merges [43905] to trunk. Fixes #45330. Built from https://develop.svn.wordpress.org/trunk@44252 git-svn-id: http://core.svn.wordpress.org/trunk@44082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
dbc692fb84
commit
07ce537eb8
1
wp-includes/css/dist/block-library/editor-rtl.min.css
vendored
Normal file
1
wp-includes/css/dist/block-library/editor-rtl.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
wp-includes/css/dist/block-library/editor.min.css
vendored
Normal file
1
wp-includes/css/dist/block-library/editor.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
wp-includes/css/dist/block-library/style-rtl.min.css
vendored
Normal file
1
wp-includes/css/dist/block-library/style-rtl.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
wp-includes/css/dist/block-library/style.min.css
vendored
Normal file
1
wp-includes/css/dist/block-library/style.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
wp-includes/css/dist/block-library/theme-rtl.min.css
vendored
Normal file
1
wp-includes/css/dist/block-library/theme-rtl.min.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes editor_region_focus{from{box-shadow:inset 0 0 0 0 #33b3db}to{box-shadow:inset 0 0 0 4px #33b3db}}@keyframes rotation{from{transform:rotate(0)}to{transform:rotate(-360deg)}}@keyframes modal-appear{from{margin-top:32px}to{margin-top:0}}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px}.wp-block-preformatted pre{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;color:#40464d}.wp-block-pullquote cite,.wp-block-pullquote footer,.wp-block-pullquote__citation{color:#40464d;text-transform:uppercase;font-size:13px;font-style:normal}.wp-block-quote{margin:20px 0}.wp-block-quote cite,.wp-block-quote footer,.wp-block-quote__citation{color:#6c7781;font-size:13px;margin-top:1em;position:relative;font-style:normal}.wp-block-quote:not(.is-large):not(.is-style-large){border-right:4px solid #000;padding-right:1em}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;margin:1.65em auto}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-table{width:100%;min-width:240px;border-collapse:collapse}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid currentColor;word-break:break-all}
|
1
wp-includes/css/dist/block-library/theme.min.css
vendored
Normal file
1
wp-includes/css/dist/block-library/theme.min.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes editor_region_focus{from{box-shadow:inset 0 0 0 0 #33b3db}to{box-shadow:inset 0 0 0 4px #33b3db}}@keyframes rotation{from{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes modal-appear{from{margin-top:32px}to{margin-top:0}}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px}.wp-block-preformatted pre{font-family:Menlo,Consolas,monaco,monospace;font-size:14px;color:#23282d}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;color:#40464d}.wp-block-pullquote cite,.wp-block-pullquote footer,.wp-block-pullquote__citation{color:#40464d;text-transform:uppercase;font-size:13px;font-style:normal}.wp-block-quote{margin:20px 0}.wp-block-quote cite,.wp-block-quote footer,.wp-block-quote__citation{color:#6c7781;font-size:13px;margin-top:1em;position:relative;font-style:normal}.wp-block-quote:not(.is-large):not(.is-style-large){border-left:4px solid #000;padding-left:1em}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;margin:1.65em auto}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-table{width:100%;min-width:240px;border-collapse:collapse}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid currentColor;word-break:break-all}
|
1
wp-includes/css/dist/components/style-rtl.min.css
vendored
Normal file
1
wp-includes/css/dist/components/style-rtl.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
wp-includes/css/dist/components/style.min.css
vendored
Normal file
1
wp-includes/css/dist/components/style.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
wp-includes/css/dist/edit-post/style-rtl.min.css
vendored
Normal file
1
wp-includes/css/dist/edit-post/style-rtl.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
wp-includes/css/dist/edit-post/style.min.css
vendored
Normal file
1
wp-includes/css/dist/edit-post/style.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
wp-includes/css/dist/editor/editor-styles-rtl.min.css
vendored
Normal file
1
wp-includes/css/dist/editor/editor-styles-rtl.min.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes editor_region_focus{from{box-shadow:inset 0 0 0 0 #33b3db}to{box-shadow:inset 0 0 0 4px #33b3db}}@keyframes rotation{from{transform:rotate(0)}to{transform:rotate(-360deg)}}@keyframes modal-appear{from{margin-top:32px}to{margin-top:0}}body{font-family:"Noto Serif",serif;font-size:16px;line-height:1.8;color:#191e23}p{font-size:16px;line-height:1.8}ol,ul{margin:0;padding:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle}.mce-content-body{line-height:1.8}
|
1
wp-includes/css/dist/editor/editor-styles.min.css
vendored
Normal file
1
wp-includes/css/dist/editor/editor-styles.min.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes editor_region_focus{from{box-shadow:inset 0 0 0 0 #33b3db}to{box-shadow:inset 0 0 0 4px #33b3db}}@keyframes rotation{from{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes modal-appear{from{margin-top:32px}to{margin-top:0}}body{font-family:"Noto Serif",serif;font-size:16px;line-height:1.8;color:#191e23}p{font-size:16px;line-height:1.8}ol,ul{margin:0;padding:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle}.mce-content-body{line-height:1.8}
|
1
wp-includes/css/dist/editor/style-rtl.min.css
vendored
Normal file
1
wp-includes/css/dist/editor/style-rtl.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
wp-includes/css/dist/editor/style.min.css
vendored
Normal file
1
wp-includes/css/dist/editor/style.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
wp-includes/css/dist/format-library/style-rtl.min.css
vendored
Normal file
1
wp-includes/css/dist/format-library/style-rtl.min.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes editor_region_focus{from{box-shadow:inset 0 0 0 0 #33b3db}to{box-shadow:inset 0 0 0 4px #33b3db}}@keyframes rotation{from{transform:rotate(0)}to{transform:rotate(-360deg)}}@keyframes modal-appear{from{margin-top:32px}to{margin-top:0}}.editor-format-toolbar__link-container-content{display:flex}.editor-format-toolbar__link-container-value{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}
|
1
wp-includes/css/dist/format-library/style.min.css
vendored
Normal file
1
wp-includes/css/dist/format-library/style.min.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes editor_region_focus{from{box-shadow:inset 0 0 0 0 #33b3db}to{box-shadow:inset 0 0 0 4px #33b3db}}@keyframes rotation{from{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes modal-appear{from{margin-top:32px}to{margin-top:0}}.editor-format-toolbar__link-container-content{display:flex}.editor-format-toolbar__link-container-value{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}
|
1
wp-includes/css/dist/list-reusable-blocks/style-rtl.min.css
vendored
Normal file
1
wp-includes/css/dist/list-reusable-blocks/style-rtl.min.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes editor_region_focus{from{box-shadow:inset 0 0 0 0 #33b3db}to{box-shadow:inset 0 0 0 4px #33b3db}}@keyframes rotation{from{transform:rotate(0)}to{transform:rotate(-360deg)}}@keyframes modal-appear{from{margin-top:32px}to{margin-top:0}}.list-reusable-blocks-import-dropdown__content .components-popover__content{padding:10px}.list-reusable-blocks-import-form__label{display:block;margin-bottom:10px}.list-reusable-blocks-import-form__button{margin-top:20px;float:left}.list-reusable-blocks-import-form .components-notice__content{margin:0}.list-reusable-blocks__container{display:inline-flex;padding:9px 0 4px;align-items:center;vertical-align:top}
|
1
wp-includes/css/dist/list-reusable-blocks/style.min.css
vendored
Normal file
1
wp-includes/css/dist/list-reusable-blocks/style.min.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes editor_region_focus{from{box-shadow:inset 0 0 0 0 #33b3db}to{box-shadow:inset 0 0 0 4px #33b3db}}@keyframes rotation{from{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes modal-appear{from{margin-top:32px}to{margin-top:0}}.list-reusable-blocks-import-dropdown__content .components-popover__content{padding:10px}.list-reusable-blocks-import-form__label{display:block;margin-bottom:10px}.list-reusable-blocks-import-form__button{margin-top:20px;float:right}.list-reusable-blocks-import-form .components-notice__content{margin:0}.list-reusable-blocks__container{display:inline-flex;padding:9px 0 4px;align-items:center;vertical-align:top}
|
1
wp-includes/css/dist/nux/style-rtl.min.css
vendored
Normal file
1
wp-includes/css/dist/nux/style-rtl.min.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes editor_region_focus{from{box-shadow:inset 0 0 0 0 #33b3db}to{box-shadow:inset 0 0 0 4px #33b3db}}@keyframes rotation{from{transform:rotate(0)}to{transform:rotate(-360deg)}}@keyframes modal-appear{from{margin-top:32px}to{margin-top:0}}.nux-dot-tip::after,.nux-dot-tip::before{border-radius:100%;content:" ";pointer-events:none;position:absolute}.nux-dot-tip::before{animation:nux-pulse 1.6s infinite cubic-bezier(.17,.67,.92,.62);background:rgba(0,115,156,.9);height:24px;right:-12px;top:-12px;transform:scale(.33333);width:24px}.nux-dot-tip::after{background:#00739c;height:8px;right:-4px;top:-4px;width:8px}@keyframes nux-pulse{100%{background:rgba(0,115,156,0);transform:scale(1)}}.nux-dot-tip .components-popover__content{padding:5px 20px 5px 41px;width:350px}@media (min-width:600px){.nux-dot-tip .components-popover__content{width:450px}}.nux-dot-tip .components-popover__content .nux-dot-tip__disable{position:absolute;left:0;top:0}.nux-dot-tip.is-top{margin-top:-4px}.nux-dot-tip.is-bottom{margin-top:4px}.nux-dot-tip.is-middle.is-left{margin-right:-4px}.nux-dot-tip.is-middle.is-right{margin-right:4px}.nux-dot-tip.is-top .components-popover__content{margin-bottom:20px}.nux-dot-tip.is-bottom .components-popover__content{margin-top:20px}.nux-dot-tip.is-middle.is-left .components-popover__content{margin-left:20px}.nux-dot-tip.is-middle.is-right .components-popover__content{margin-right:20px}.nux-dot-tip:not(.is-mobile).is-center,.nux-dot-tip:not(.is-mobile).is-left,.nux-dot-tip:not(.is-mobile).is-right{z-index:1000001}@media (max-width:600px){.nux-dot-tip:not(.is-mobile).is-center .components-popover__content,.nux-dot-tip:not(.is-mobile).is-left .components-popover__content,.nux-dot-tip:not(.is-mobile).is-right .components-popover__content{align-self:end;right:5px;margin:20px 0 0 0;max-width:none!important;position:fixed;left:5px;width:auto}}.nux-dot-tip.components-popover:not(.is-mobile):not(.is-middle).is-right .components-popover__content{margin-left:0}.nux-dot-tip.components-popover:not(.is-mobile):not(.is-middle).is-left .components-popover__content{margin-right:0}.nux-dot-tip.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-right .components-popover__content{margin-left:-12px}.nux-dot-tip.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-left .components-popover__content{margin-right:-12px}
|
1
wp-includes/css/dist/nux/style.min.css
vendored
Normal file
1
wp-includes/css/dist/nux/style.min.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes editor_region_focus{from{box-shadow:inset 0 0 0 0 #33b3db}to{box-shadow:inset 0 0 0 4px #33b3db}}@keyframes rotation{from{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes modal-appear{from{margin-top:32px}to{margin-top:0}}.nux-dot-tip::after,.nux-dot-tip::before{border-radius:100%;content:" ";pointer-events:none;position:absolute}.nux-dot-tip::before{animation:nux-pulse 1.6s infinite cubic-bezier(.17,.67,.92,.62);background:rgba(0,115,156,.9);height:24px;left:-12px;top:-12px;transform:scale(.33333);width:24px}.nux-dot-tip::after{background:#00739c;height:8px;left:-4px;top:-4px;width:8px}@keyframes nux-pulse{100%{background:rgba(0,115,156,0);transform:scale(1)}}.nux-dot-tip .components-popover__content{padding:5px 41px 5px 20px;width:350px}@media (min-width:600px){.nux-dot-tip .components-popover__content{width:450px}}.nux-dot-tip .components-popover__content .nux-dot-tip__disable{position:absolute;right:0;top:0}.nux-dot-tip.is-top{margin-top:-4px}.nux-dot-tip.is-bottom{margin-top:4px}.nux-dot-tip.is-middle.is-left{margin-left:-4px}.nux-dot-tip.is-middle.is-right{margin-left:4px}.nux-dot-tip.is-top .components-popover__content{margin-bottom:20px}.nux-dot-tip.is-bottom .components-popover__content{margin-top:20px}.nux-dot-tip.is-middle.is-left .components-popover__content{margin-right:20px}.nux-dot-tip.is-middle.is-right .components-popover__content{margin-left:20px}.nux-dot-tip:not(.is-mobile).is-center,.nux-dot-tip:not(.is-mobile).is-left,.nux-dot-tip:not(.is-mobile).is-right{z-index:1000001}@media (max-width:600px){.nux-dot-tip:not(.is-mobile).is-center .components-popover__content,.nux-dot-tip:not(.is-mobile).is-left .components-popover__content,.nux-dot-tip:not(.is-mobile).is-right .components-popover__content{align-self:end;left:5px;margin:20px 0 0 0;max-width:none!important;position:fixed;right:5px;width:auto}}.nux-dot-tip.components-popover:not(.is-mobile):not(.is-middle).is-right .components-popover__content{/*!rtl:ignore*/margin-left:0}.nux-dot-tip.components-popover:not(.is-mobile):not(.is-middle).is-left .components-popover__content{/*!rtl:ignore*/margin-right:0}.nux-dot-tip.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-right .components-popover__content{/*!rtl:ignore*/margin-left:-12px}.nux-dot-tip.components-popover.edit-post-more-menu__content:not(.is-mobile):not(.is-middle).is-left .components-popover__content{/*!rtl:ignore*/margin-right:-12px}
|
@ -1852,12 +1852,12 @@ function wp_default_styles( &$styles ) {
|
||||
}
|
||||
$styles->add( 'wp-editor-font', $fonts_url );
|
||||
|
||||
$styles->add( 'wp-block-library-theme', '/wp-includes/css/dist/block-library/theme.css' );
|
||||
$styles->add( 'wp-block-library-theme', "/wp-includes/css/dist/block-library/theme$suffix.css" );
|
||||
$styles->add_data( 'wp-block-library-theme', 'rtl', 'replace' );
|
||||
|
||||
$styles->add(
|
||||
'wp-edit-blocks',
|
||||
'/wp-includes/css/dist/block-library/editor.css',
|
||||
"/wp-includes/css/dist/block-library/editor$suffix.css",
|
||||
array(
|
||||
'wp-components',
|
||||
'wp-editor',
|
||||
@ -1879,7 +1879,7 @@ function wp_default_styles( &$styles ) {
|
||||
|
||||
foreach ( $package_styles as $package => $dependencies ) {
|
||||
$handle = 'wp-' . $package;
|
||||
$path = '/wp-includes/css/dist/' . $package . '/style.css';
|
||||
$path = "/wp-includes/css/dist/$package/style$suffix.css";
|
||||
|
||||
$styles->add( $handle, $path, $dependencies );
|
||||
$styles->add_data( $handle, 'rtl', 'replace' );
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.1-alpha-44251';
|
||||
$wp_version = '5.1-alpha-44252';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user