mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Editor: update packages
Fixes #50589. Built from https://develop.svn.wordpress.org/trunk@48379 git-svn-id: http://core.svn.wordpress.org/trunk@48148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
30747fab22
commit
c3e3c7ed6c
File diff suppressed because one or more lines are too long
@ -36,6 +36,7 @@
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"anchor": true,
|
||||
"align": true,
|
||||
"lightBlockWrapper": true
|
||||
}
|
||||
|
@ -54,6 +54,7 @@
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"anchor": true,
|
||||
"align": true,
|
||||
"alignWide": false,
|
||||
"reusable": false,
|
||||
|
@ -2,6 +2,7 @@
|
||||
"name": "core/buttons",
|
||||
"category": "design",
|
||||
"supports": {
|
||||
"anchor": true,
|
||||
"align": true,
|
||||
"alignWide": false,
|
||||
"lightBlockWrapper": true
|
||||
|
@ -9,6 +9,7 @@
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"anchor": true,
|
||||
"html": false,
|
||||
"lightBlockWrapper": true
|
||||
}
|
||||
|
@ -15,6 +15,7 @@
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"anchor": true,
|
||||
"reusable": false,
|
||||
"html": false,
|
||||
"lightBlockWrapper": true
|
||||
|
@ -7,6 +7,7 @@
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"anchor": true,
|
||||
"align": [
|
||||
"wide",
|
||||
"full"
|
||||
|
@ -36,6 +36,7 @@
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"anchor": true,
|
||||
"align": true
|
||||
}
|
||||
}
|
||||
|
@ -77,6 +77,7 @@
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"anchor": true,
|
||||
"align": true
|
||||
}
|
||||
}
|
||||
|
@ -71,6 +71,7 @@
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"anchor": true,
|
||||
"lightBlockWrapper": true
|
||||
}
|
||||
}
|
||||
|
@ -28,6 +28,7 @@
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"anchor": true,
|
||||
"className": false,
|
||||
"__unstablePasteTextInline": true,
|
||||
"lightBlockWrapper": true
|
||||
|
@ -78,6 +78,7 @@
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"anchor": true,
|
||||
"align": [
|
||||
"wide",
|
||||
"full"
|
||||
|
@ -27,6 +27,7 @@
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"anchor": true,
|
||||
"className": false,
|
||||
"lightBlockWrapper": true,
|
||||
"__experimentalColor": {
|
||||
|
@ -11,6 +11,7 @@
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"anchor": true,
|
||||
"lightBlockWrapper": true
|
||||
}
|
||||
}
|
||||
|
@ -28,6 +28,7 @@
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"anchor": true,
|
||||
"align": [
|
||||
"left",
|
||||
"right",
|
||||
|
@ -18,5 +18,8 @@
|
||||
"align": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"anchor": true
|
||||
}
|
||||
}
|
||||
|
@ -8,5 +8,8 @@
|
||||
"customColor": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"anchor": true
|
||||
}
|
||||
}
|
||||
|
@ -7,6 +7,7 @@
|
||||
"center",
|
||||
"right"
|
||||
],
|
||||
"lightBlockWrapper": true
|
||||
"lightBlockWrapper": true,
|
||||
"anchor": true
|
||||
}
|
||||
}
|
||||
|
@ -6,5 +6,8 @@
|
||||
"type": "number",
|
||||
"default": 100
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"anchor": true
|
||||
}
|
||||
}
|
||||
|
@ -122,6 +122,7 @@
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"anchor": true,
|
||||
"align": true
|
||||
}
|
||||
}
|
||||
|
@ -14,6 +14,7 @@
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"anchor": true,
|
||||
"lightBlockWrapper": true
|
||||
}
|
||||
}
|
||||
|
@ -62,6 +62,7 @@
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"anchor": true,
|
||||
"align": true,
|
||||
"lightBlockWrapper": true
|
||||
}
|
||||
|
@ -1,12 +1,20 @@
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Fonts & basic variables.
|
||||
*/
|
||||
@ -124,7 +132,7 @@
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
font-size: 36px;
|
||||
background-color: #edeff0; }
|
||||
background-color: #ddd; }
|
||||
|
||||
.block-directory-downloadable-block-info__content {
|
||||
margin: 0 0 16px;
|
||||
@ -156,8 +164,8 @@
|
||||
justify-content: center;
|
||||
background: transparent;
|
||||
word-break: break-word;
|
||||
border-top: 1px solid #e2e4e7;
|
||||
border-bottom: 1px solid #e2e4e7;
|
||||
border-top: 1px solid #ddd;
|
||||
border-bottom: 1px solid #ddd;
|
||||
transition: all 0.05s ease-in-out;
|
||||
position: relative;
|
||||
text-align: right;
|
||||
@ -165,6 +173,8 @@
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.block-directory-downloadable-block-list-item {
|
||||
transition-duration: 0s; } }
|
||||
.block-directory-downloadable-block-list-item + .block-directory-downloadable-block-list-item {
|
||||
border-top: none; }
|
||||
|
||||
.block-directory-downloadable-block-list-item:last-child:not(:only-of-type) {
|
||||
border-top: 0; }
|
||||
@ -191,7 +201,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 16px;
|
||||
background-color: #f3f4f5; }
|
||||
background-color: #f0f0f0; }
|
||||
|
||||
.block-directory-downloadable-block-list-item__content {
|
||||
color: #606a73; }
|
||||
|
@ -1 +1 @@
|
||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.block-directory-block-ratings{display:flex}.block-directory-block-ratings>div{line-height:1;display:flex}.block-directory-block-ratings .block-directory-block-ratings__rating-count{color:#606a73;font-size:ms(-2)}.block-directory-block-ratings svg{fill:#ffb900}.block-directory-compact-list{margin:0;list-style:none}.block-directory-compact-list__item{display:flex;flex-direction:row;align-items:center;margin-bottom:16px}.block-directory-compact-list__item:last-child{margin-bottom:0}.block-directory-compact-list__item-details{margin-right:8px}.block-directory-compact-list__item-title{font-weight:500}.block-directory-compact-list__item-author{color:#555d66;font-size:11px}.block-directory-downloadable-block-author-info__content{color:#606a73;font-size:12px}.block-directory-downloadable-block-author-info__content-author{margin-bottom:4px;font-size:13px}.block-directory-downloadable-block-header__row{display:flex;flex-grow:1}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column{display:flex;flex-direction:column;flex-grow:1;padding-right:12px}.block-directory-downloadable-block-header__title{margin:0;font-size:13px;color:currentColor}.block-directory-downloadable-block-icon{width:36px;height:36px}.block-directory-downloadable-block-icon .block-editor-block-icon{width:36px;height:36px;font-size:36px;background-color:#edeff0}.block-directory-downloadable-block-info__content{margin:0 0 16px;font-size:13px}.block-directory-downloadable-block-info__meta{display:flex;align-items:center;margin-bottom:2px;color:#606a73;font-size:12px}.block-directory-downloadable-block-info__meta:last-child{margin-bottom:0}.block-directory-downloadable-block-info__icon{margin-left:4px;fill:#606a73}.block-directory-downloadable-block-list-item{width:100%;padding:0;margin:0;display:flex;flex-direction:row;font-size:13px;color:#32373c;align-items:flex-start;justify-content:center;background:transparent;word-break:break-word;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7;transition:all .05s ease-in-out;position:relative;text-align:right;overflow:hidden}@media (prefers-reduced-motion:reduce){.block-directory-downloadable-block-list-item{transition-duration:0s}}.block-directory-downloadable-block-list-item:last-child:not(:only-of-type){border-top:0}.block-directory-downloadable-block-list-item:last-child{border-bottom:0}.block-directory-downloadable-block-list-item__panel{display:flex;flex-grow:1;flex-direction:column}.block-directory-downloadable-block-list-item__header{display:flex;flex-direction:column;padding:16px 16px 0}.block-directory-downloadable-block-list-item__body{display:flex;flex-direction:column;padding:16px}.block-directory-downloadable-block-list-item__footer{display:flex;flex-direction:column;padding:16px;background-color:#f3f4f5}.block-directory-downloadable-block-list-item__content{color:#606a73}.block-directory-downloadable-block-notice{margin:0 0 16px}.block-directory-downloadable-block-notice__content{padding-left:12px;margin-bottom:8px}.block-directory-downloadable-blocks-list{list-style:none;margin:0;overflow:hidden;display:flex;flex-wrap:wrap}.block-directory-downloadable-blocks-panel__description{font-style:italic;padding:16px;margin:0;text-align:right;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results{font-style:normal;padding:0;margin:112px 0;text-align:center;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner{float:inherit}.installed-blocks-pre-publish-panel__copy{margin-top:0}
|
||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.block-directory-block-ratings{display:flex}.block-directory-block-ratings>div{line-height:1;display:flex}.block-directory-block-ratings .block-directory-block-ratings__rating-count{color:#606a73;font-size:ms(-2)}.block-directory-block-ratings svg{fill:#ffb900}.block-directory-compact-list{margin:0;list-style:none}.block-directory-compact-list__item{display:flex;flex-direction:row;align-items:center;margin-bottom:16px}.block-directory-compact-list__item:last-child{margin-bottom:0}.block-directory-compact-list__item-details{margin-right:8px}.block-directory-compact-list__item-title{font-weight:500}.block-directory-compact-list__item-author{color:#555d66;font-size:11px}.block-directory-downloadable-block-author-info__content{color:#606a73;font-size:12px}.block-directory-downloadable-block-author-info__content-author{margin-bottom:4px;font-size:13px}.block-directory-downloadable-block-header__row{display:flex;flex-grow:1}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column{display:flex;flex-direction:column;flex-grow:1;padding-right:12px}.block-directory-downloadable-block-header__title{margin:0;font-size:13px;color:currentColor}.block-directory-downloadable-block-icon{width:36px;height:36px}.block-directory-downloadable-block-icon .block-editor-block-icon{width:36px;height:36px;font-size:36px;background-color:#ddd}.block-directory-downloadable-block-info__content{margin:0 0 16px;font-size:13px}.block-directory-downloadable-block-info__meta{display:flex;align-items:center;margin-bottom:2px;color:#606a73;font-size:12px}.block-directory-downloadable-block-info__meta:last-child{margin-bottom:0}.block-directory-downloadable-block-info__icon{margin-left:4px;fill:#606a73}.block-directory-downloadable-block-list-item{width:100%;padding:0;margin:0;display:flex;flex-direction:row;font-size:13px;color:#32373c;align-items:flex-start;justify-content:center;background:transparent;word-break:break-word;border-top:1px solid #ddd;border-bottom:1px solid #ddd;transition:all .05s ease-in-out;position:relative;text-align:right;overflow:hidden}@media (prefers-reduced-motion:reduce){.block-directory-downloadable-block-list-item{transition-duration:0s}}.block-directory-downloadable-block-list-item+.block-directory-downloadable-block-list-item{border-top:none}.block-directory-downloadable-block-list-item:last-child:not(:only-of-type){border-top:0}.block-directory-downloadable-block-list-item:last-child{border-bottom:0}.block-directory-downloadable-block-list-item__panel{display:flex;flex-grow:1;flex-direction:column}.block-directory-downloadable-block-list-item__header{display:flex;flex-direction:column;padding:16px 16px 0}.block-directory-downloadable-block-list-item__body{display:flex;flex-direction:column;padding:16px}.block-directory-downloadable-block-list-item__footer{display:flex;flex-direction:column;padding:16px;background-color:#f0f0f0}.block-directory-downloadable-block-list-item__content{color:#606a73}.block-directory-downloadable-block-notice{margin:0 0 16px}.block-directory-downloadable-block-notice__content{padding-left:12px;margin-bottom:8px}.block-directory-downloadable-blocks-list{list-style:none;margin:0;overflow:hidden;display:flex;flex-wrap:wrap}.block-directory-downloadable-blocks-panel__description{font-style:italic;padding:16px;margin:0;text-align:right;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results{font-style:normal;padding:0;margin:112px 0;text-align:center;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner{float:inherit}.installed-blocks-pre-publish-panel__copy{margin-top:0}
|
18
wp-includes/css/dist/block-directory/style.css
vendored
18
wp-includes/css/dist/block-directory/style.css
vendored
@ -1,12 +1,20 @@
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Fonts & basic variables.
|
||||
*/
|
||||
@ -124,7 +132,7 @@
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
font-size: 36px;
|
||||
background-color: #edeff0; }
|
||||
background-color: #ddd; }
|
||||
|
||||
.block-directory-downloadable-block-info__content {
|
||||
margin: 0 0 16px;
|
||||
@ -156,8 +164,8 @@
|
||||
justify-content: center;
|
||||
background: transparent;
|
||||
word-break: break-word;
|
||||
border-top: 1px solid #e2e4e7;
|
||||
border-bottom: 1px solid #e2e4e7;
|
||||
border-top: 1px solid #ddd;
|
||||
border-bottom: 1px solid #ddd;
|
||||
transition: all 0.05s ease-in-out;
|
||||
position: relative;
|
||||
text-align: left;
|
||||
@ -165,6 +173,8 @@
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.block-directory-downloadable-block-list-item {
|
||||
transition-duration: 0s; } }
|
||||
.block-directory-downloadable-block-list-item + .block-directory-downloadable-block-list-item {
|
||||
border-top: none; }
|
||||
|
||||
.block-directory-downloadable-block-list-item:last-child:not(:only-of-type) {
|
||||
border-top: 0; }
|
||||
@ -191,7 +201,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 16px;
|
||||
background-color: #f3f4f5; }
|
||||
background-color: #f0f0f0; }
|
||||
|
||||
.block-directory-downloadable-block-list-item__content {
|
||||
color: #606a73; }
|
||||
|
@ -1 +1 @@
|
||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.block-directory-block-ratings{display:flex}.block-directory-block-ratings>div{line-height:1;display:flex}.block-directory-block-ratings .block-directory-block-ratings__rating-count{color:#606a73;font-size:ms(-2)}.block-directory-block-ratings svg{fill:#ffb900}.block-directory-compact-list{margin:0;list-style:none}.block-directory-compact-list__item{display:flex;flex-direction:row;align-items:center;margin-bottom:16px}.block-directory-compact-list__item:last-child{margin-bottom:0}.block-directory-compact-list__item-details{margin-left:8px}.block-directory-compact-list__item-title{font-weight:500}.block-directory-compact-list__item-author{color:#555d66;font-size:11px}.block-directory-downloadable-block-author-info__content{color:#606a73;font-size:12px}.block-directory-downloadable-block-author-info__content-author{margin-bottom:4px;font-size:13px}.block-directory-downloadable-block-header__row{display:flex;flex-grow:1}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column{display:flex;flex-direction:column;flex-grow:1;padding-left:12px}.block-directory-downloadable-block-header__title{margin:0;font-size:13px;color:currentColor}.block-directory-downloadable-block-icon{width:36px;height:36px}.block-directory-downloadable-block-icon .block-editor-block-icon{width:36px;height:36px;font-size:36px;background-color:#edeff0}.block-directory-downloadable-block-info__content{margin:0 0 16px;font-size:13px}.block-directory-downloadable-block-info__meta{display:flex;align-items:center;margin-bottom:2px;color:#606a73;font-size:12px}.block-directory-downloadable-block-info__meta:last-child{margin-bottom:0}.block-directory-downloadable-block-info__icon{margin-right:4px;fill:#606a73}.block-directory-downloadable-block-list-item{width:100%;padding:0;margin:0;display:flex;flex-direction:row;font-size:13px;color:#32373c;align-items:flex-start;justify-content:center;background:transparent;word-break:break-word;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7;transition:all .05s ease-in-out;position:relative;text-align:left;overflow:hidden}@media (prefers-reduced-motion:reduce){.block-directory-downloadable-block-list-item{transition-duration:0s}}.block-directory-downloadable-block-list-item:last-child:not(:only-of-type){border-top:0}.block-directory-downloadable-block-list-item:last-child{border-bottom:0}.block-directory-downloadable-block-list-item__panel{display:flex;flex-grow:1;flex-direction:column}.block-directory-downloadable-block-list-item__header{display:flex;flex-direction:column;padding:16px 16px 0}.block-directory-downloadable-block-list-item__body{display:flex;flex-direction:column;padding:16px}.block-directory-downloadable-block-list-item__footer{display:flex;flex-direction:column;padding:16px;background-color:#f3f4f5}.block-directory-downloadable-block-list-item__content{color:#606a73}.block-directory-downloadable-block-notice{margin:0 0 16px}.block-directory-downloadable-block-notice__content{padding-right:12px;margin-bottom:8px}.block-directory-downloadable-blocks-list{list-style:none;margin:0;overflow:hidden;display:flex;flex-wrap:wrap}.block-directory-downloadable-blocks-panel__description{font-style:italic;padding:16px;margin:0;text-align:left;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results{font-style:normal;padding:0;margin:112px 0;text-align:center;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner{float:inherit}.installed-blocks-pre-publish-panel__copy{margin-top:0}
|
||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.block-directory-block-ratings{display:flex}.block-directory-block-ratings>div{line-height:1;display:flex}.block-directory-block-ratings .block-directory-block-ratings__rating-count{color:#606a73;font-size:ms(-2)}.block-directory-block-ratings svg{fill:#ffb900}.block-directory-compact-list{margin:0;list-style:none}.block-directory-compact-list__item{display:flex;flex-direction:row;align-items:center;margin-bottom:16px}.block-directory-compact-list__item:last-child{margin-bottom:0}.block-directory-compact-list__item-details{margin-left:8px}.block-directory-compact-list__item-title{font-weight:500}.block-directory-compact-list__item-author{color:#555d66;font-size:11px}.block-directory-downloadable-block-author-info__content{color:#606a73;font-size:12px}.block-directory-downloadable-block-author-info__content-author{margin-bottom:4px;font-size:13px}.block-directory-downloadable-block-header__row{display:flex;flex-grow:1}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column{display:flex;flex-direction:column;flex-grow:1;padding-left:12px}.block-directory-downloadable-block-header__title{margin:0;font-size:13px;color:currentColor}.block-directory-downloadable-block-icon{width:36px;height:36px}.block-directory-downloadable-block-icon .block-editor-block-icon{width:36px;height:36px;font-size:36px;background-color:#ddd}.block-directory-downloadable-block-info__content{margin:0 0 16px;font-size:13px}.block-directory-downloadable-block-info__meta{display:flex;align-items:center;margin-bottom:2px;color:#606a73;font-size:12px}.block-directory-downloadable-block-info__meta:last-child{margin-bottom:0}.block-directory-downloadable-block-info__icon{margin-right:4px;fill:#606a73}.block-directory-downloadable-block-list-item{width:100%;padding:0;margin:0;display:flex;flex-direction:row;font-size:13px;color:#32373c;align-items:flex-start;justify-content:center;background:transparent;word-break:break-word;border-top:1px solid #ddd;border-bottom:1px solid #ddd;transition:all .05s ease-in-out;position:relative;text-align:left;overflow:hidden}@media (prefers-reduced-motion:reduce){.block-directory-downloadable-block-list-item{transition-duration:0s}}.block-directory-downloadable-block-list-item+.block-directory-downloadable-block-list-item{border-top:none}.block-directory-downloadable-block-list-item:last-child:not(:only-of-type){border-top:0}.block-directory-downloadable-block-list-item:last-child{border-bottom:0}.block-directory-downloadable-block-list-item__panel{display:flex;flex-grow:1;flex-direction:column}.block-directory-downloadable-block-list-item__header{display:flex;flex-direction:column;padding:16px 16px 0}.block-directory-downloadable-block-list-item__body{display:flex;flex-direction:column;padding:16px}.block-directory-downloadable-block-list-item__footer{display:flex;flex-direction:column;padding:16px;background-color:#f0f0f0}.block-directory-downloadable-block-list-item__content{color:#606a73}.block-directory-downloadable-block-notice{margin:0 0 16px}.block-directory-downloadable-block-notice__content{padding-right:12px;margin-bottom:8px}.block-directory-downloadable-blocks-list{list-style:none;margin:0;overflow:hidden;display:flex;flex-wrap:wrap}.block-directory-downloadable-blocks-panel__description{font-style:italic;padding:16px;margin:0;text-align:left;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results{font-style:normal;padding:0;margin:112px 0;text-align:center;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner{float:inherit}.installed-blocks-pre-publish-panel__copy{margin-top:0}
|
387
wp-includes/css/dist/block-editor/style-rtl.css
vendored
387
wp-includes/css/dist/block-editor/style-rtl.css
vendored
@ -1,12 +1,20 @@
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Fonts & basic variables.
|
||||
*/
|
||||
@ -95,7 +103,7 @@
|
||||
|
||||
.block-editor-block-inspector .components-panel__body {
|
||||
border: none;
|
||||
border-top: 1px solid #e2e4e7; }
|
||||
border-top: 1px solid #f0f0f0; }
|
||||
|
||||
.block-editor-block-inspector .block-editor-block-card {
|
||||
padding: 16px; }
|
||||
@ -107,12 +115,6 @@
|
||||
padding: 32px 16px;
|
||||
text-align: center; }
|
||||
|
||||
.block-editor-block-list__layout .block-editor-block-list__block.is-dragging > * {
|
||||
background: #f8f9f9; }
|
||||
|
||||
.block-editor-block-list__layout .block-editor-block-list__block.is-dragging > * > * {
|
||||
visibility: hidden; }
|
||||
|
||||
.block-editor-block-list__layout .block-editor-block-list__block .reusable-block-edit-panel * {
|
||||
z-index: 1; }
|
||||
|
||||
@ -234,6 +236,32 @@
|
||||
background: transparent; }
|
||||
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered:not(.is-selected)::after {
|
||||
box-shadow: 0 0 0 1px #949494; }
|
||||
.is-block-moving-mode .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected {
|
||||
box-shadow: 0 0 0 1.5px #007cba;
|
||||
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color);
|
||||
outline: 1.5px solid transparent; }
|
||||
.is-block-moving-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
z-index: 0;
|
||||
pointer-events: none;
|
||||
transition: border-color 0.1s linear, border-style 0.1s linear, box-shadow 0.1s linear;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: -14px;
|
||||
border-radius: 2px;
|
||||
border-top: 4px solid #ccc; }
|
||||
.is-block-moving-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::after {
|
||||
content: none; }
|
||||
.is-block-moving-mode.can-insert-moving-block .block-editor-block-list__layout .block-editor-block-list__block.is-selected::before {
|
||||
border-color: #007cba;
|
||||
border-color: var(--wp-admin-theme-color); }
|
||||
|
||||
.is-block-moving-mode.block-editor-block-list__block-selection-button {
|
||||
opacity: 0;
|
||||
font-size: 1px;
|
||||
height: 1px;
|
||||
padding: 0; }
|
||||
|
||||
/**
|
||||
* Block styles and alignments
|
||||
@ -359,20 +387,20 @@
|
||||
.block-editor-block-list__block-popover-inserter.is-visible {
|
||||
position: static; }
|
||||
|
||||
.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button,
|
||||
.block-editor-default-block-appender .block-editor-inserter__toggle.components-button,
|
||||
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button,
|
||||
.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button {
|
||||
.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon,
|
||||
.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon,
|
||||
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon,
|
||||
.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon {
|
||||
background: #1e1e1e;
|
||||
border-radius: 2px;
|
||||
color: #fff;
|
||||
padding: 0;
|
||||
min-width: 24px;
|
||||
height: 24px; }
|
||||
.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button:hover,
|
||||
.block-editor-default-block-appender .block-editor-inserter__toggle.components-button:hover,
|
||||
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button:hover,
|
||||
.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button:hover {
|
||||
.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,
|
||||
.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon:hover,
|
||||
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,
|
||||
.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon:hover {
|
||||
color: #fff; }
|
||||
|
||||
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button,
|
||||
@ -407,9 +435,9 @@
|
||||
.wp-block .block-list-appender .block-editor-inserter__toggle {
|
||||
animation-duration: 1ms; } }
|
||||
|
||||
.wp-block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender {
|
||||
.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender {
|
||||
display: none; }
|
||||
.wp-block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender .block-editor-inserter__toggle {
|
||||
.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender .block-editor-inserter__toggle {
|
||||
opacity: 0;
|
||||
transform: scale(0); }
|
||||
|
||||
@ -440,12 +468,6 @@
|
||||
.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus {
|
||||
box-shadow: none; }
|
||||
|
||||
/**
|
||||
* Block Toolbar, top and contextual.
|
||||
*/
|
||||
.block-editor-block-contextual-toolbar-wrapper {
|
||||
padding-right: 48px; }
|
||||
|
||||
/**
|
||||
* Block Toolbar when contextual.
|
||||
*/
|
||||
@ -477,9 +499,10 @@
|
||||
width: 48px; }
|
||||
.block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button {
|
||||
min-width: 36px;
|
||||
width: 36px;
|
||||
width: 36px; }
|
||||
[draggable="true"] .block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button {
|
||||
cursor: grab; }
|
||||
.block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button:active {
|
||||
[draggable="true"] .block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button:active {
|
||||
cursor: grabbing; }
|
||||
.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button {
|
||||
min-width: 24px;
|
||||
@ -509,8 +532,7 @@
|
||||
top: -1px;
|
||||
box-shadow: 0 0 0 1px #1e1e1e;
|
||||
border-radius: 1px;
|
||||
background-color: #fff;
|
||||
margin-right: 49px; }
|
||||
background-color: #fff; }
|
||||
.block-editor-block-list__block-selection-button .components-button:focus {
|
||||
box-shadow: 0 0 0 1.5px #007cba;
|
||||
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color); }
|
||||
@ -528,7 +550,8 @@
|
||||
* Popovers.
|
||||
*/
|
||||
.block-editor-block-list__insertion-point-popover.is-without-arrow {
|
||||
z-index: 28; }
|
||||
z-index: 28;
|
||||
position: absolute; }
|
||||
.block-editor-block-list__insertion-point-popover.is-without-arrow .components-popover__content.components-popover__content {
|
||||
background: none;
|
||||
border: none;
|
||||
@ -537,7 +560,8 @@
|
||||
margin-right: 0; }
|
||||
|
||||
.components-popover.block-editor-block-list__block-popover {
|
||||
z-index: 31; }
|
||||
z-index: 31;
|
||||
position: absolute; }
|
||||
.components-popover.block-editor-block-list__block-popover .components-popover__content {
|
||||
margin: 0 !important;
|
||||
min-width: auto;
|
||||
@ -551,11 +575,7 @@
|
||||
pointer-events: all; }
|
||||
.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__block-selection-button,
|
||||
.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar {
|
||||
margin-bottom: 12px;
|
||||
margin-right: -48px; }
|
||||
.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar[data-align="full"],
|
||||
.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__block-selection-button[data-align="full"] {
|
||||
margin-right: 0; }
|
||||
margin-bottom: 12px; }
|
||||
.is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover {
|
||||
opacity: 0; }
|
||||
|
||||
@ -681,7 +701,7 @@
|
||||
.block-editor-block-compare__wrapper .block-editor-block-compare__html {
|
||||
font-family: Menlo, Consolas, monaco, monospace;
|
||||
font-size: 12px;
|
||||
color: #23282d;
|
||||
color: #1e1e1e;
|
||||
border-bottom: 1px solid #ddd;
|
||||
padding-bottom: 15px;
|
||||
line-height: 1.7; }
|
||||
@ -706,14 +726,44 @@
|
||||
font-weight: 400;
|
||||
margin: 0.67em 0; }
|
||||
|
||||
.block-editor-block-draggable-chip-wrapper {
|
||||
position: absolute;
|
||||
top: -60px; }
|
||||
|
||||
.block-editor-block-draggable-chip {
|
||||
background-color: #1e1e1e;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #1e1e1e;
|
||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
|
||||
color: #fff;
|
||||
cursor: grabbing;
|
||||
display: inline-flex;
|
||||
height: 48px;
|
||||
min-width: 72px;
|
||||
padding: 0 12px;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none; }
|
||||
.block-editor-block-draggable-chip svg {
|
||||
fill: currentColor; }
|
||||
.block-editor-block-draggable-chip .block-editor-block-draggable-chip__content {
|
||||
margin: auto; }
|
||||
.block-editor-block-draggable-chip .components-flex__item {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px; }
|
||||
|
||||
.is-dragging.is-selected,
|
||||
.is-dragging.is-multi-selected {
|
||||
display: none !important; }
|
||||
|
||||
.block-editor-block-mobile-toolbar {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
border-left: 1px solid #e2e4e7; }
|
||||
border-left: 1px solid #ddd; }
|
||||
.block-editor-block-mobile-toolbar .block-editor-block-mover-button {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: 4px;
|
||||
border-radius: 2px;
|
||||
padding: 3px;
|
||||
margin: 0;
|
||||
justify-content: center;
|
||||
@ -997,6 +1047,28 @@
|
||||
border: 1px solid #1e1e1e;
|
||||
border-radius: 2px; }
|
||||
|
||||
.block-editor-block-patterns-list__item {
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
margin-top: 16px;
|
||||
transition: all 0.05s ease-in-out;
|
||||
position: relative;
|
||||
border: 1px solid transparent; }
|
||||
.block-editor-block-patterns-list__item:hover {
|
||||
border: 1px solid #007cba;
|
||||
border: 1px solid var(--wp-admin-theme-color); }
|
||||
.block-editor-block-patterns-list__item:focus {
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 1.5px #007cba;
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 1.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.block-editor-block-patterns-list__item.is-placeholder {
|
||||
min-height: 100px; }
|
||||
|
||||
.block-editor-block-patterns-list__item-title {
|
||||
padding: 4px;
|
||||
font-size: 12px;
|
||||
text-align: center; }
|
||||
|
||||
.block-editor-block-preview__container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
@ -1058,7 +1130,6 @@
|
||||
.block-editor-block-styles__item-preview {
|
||||
outline: 1px solid transparent;
|
||||
padding: 0;
|
||||
border: 1px solid rgba(30, 30, 30, 0.2);
|
||||
border-radius: 2px;
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
@ -1067,9 +1138,12 @@
|
||||
flex-grow: 1;
|
||||
min-height: 80px; }
|
||||
|
||||
.block-editor-block-switcher__styles__menugroup {
|
||||
position: relative; }
|
||||
|
||||
.block-editor-block-styles__item-label {
|
||||
text-align: center;
|
||||
padding: 4px 2px; }
|
||||
padding: 4px 0; }
|
||||
|
||||
.block-editor-block-switcher {
|
||||
position: relative; }
|
||||
@ -1122,54 +1196,51 @@
|
||||
bottom: 8px;
|
||||
right: 8px; }
|
||||
|
||||
.components-popover.block-editor-block-switcher__popover .components-popover__content {
|
||||
min-width: 300px; }
|
||||
|
||||
.components-popover.block-editor-block-switcher__popover .components-popover__content > div {
|
||||
min-width: 300px;
|
||||
max-width: calc(340px * 2);
|
||||
min-width: auto;
|
||||
display: flex;
|
||||
background: #fff;
|
||||
padding: 0; }
|
||||
.components-popover.block-editor-block-switcher__popover .components-popover__content > div .components-menu-group {
|
||||
padding: 16px 24px; }
|
||||
.components-popover.block-editor-block-switcher__popover .components-popover__content > div .components-menu-group + .components-menu-group {
|
||||
border-color: #ccc; }
|
||||
.components-popover.block-editor-block-switcher__popover .components-popover__content > div .block-editor-block-switcher__container {
|
||||
min-width: 300px;
|
||||
max-width: 340px;
|
||||
width: 50%; }
|
||||
.components-popover.block-editor-block-switcher__popover .components-popover__content > div .block-editor-block-switcher__label {
|
||||
margin-bottom: 12px;
|
||||
color: #757575;
|
||||
text-transform: uppercase;
|
||||
font-size: 11px;
|
||||
font-weight: 500; }
|
||||
@media (min-width: 782px) {
|
||||
.components-popover.block-editor-block-switcher__popover .components-popover__content > div {
|
||||
position: relative; }
|
||||
.components-popover.block-editor-block-switcher__popover .components-popover__content > div .block-editor-block-switcher__preview {
|
||||
border-right: 1px solid #e2e4e7;
|
||||
margin-top: -12px;
|
||||
margin-bottom: -12px;
|
||||
background: #fff;
|
||||
width: 300px;
|
||||
height: auto;
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
-ms-grid-row-align: stretch;
|
||||
align-self: stretch;
|
||||
top: 0;
|
||||
padding: 10px; } }
|
||||
.components-popover.block-editor-block-switcher__popover .components-popover__content > div .components-panel__body {
|
||||
padding: 16px;
|
||||
margin: 0; }
|
||||
|
||||
.block-editor-block-switcher__popover .components-popover__content .block-editor-block-styles {
|
||||
margin: 0 -3px; }
|
||||
|
||||
.block-editor-block-switcher__popover .components-popover__content .components-panel__body {
|
||||
border: 0;
|
||||
position: relative;
|
||||
z-index: 1; }
|
||||
.components-popover.block-editor-block-switcher__popover .components-popover__content > div .components-panel__body + .components-panel__body {
|
||||
border-top: 1px solid #e2e4e7; }
|
||||
|
||||
.block-editor-block-switcher__popover .block-editor-block-styles {
|
||||
margin: 0 -3px; }
|
||||
.block-editor-block-switcher__popover .components-popover__content .components-panel__body + .components-panel__body {
|
||||
border-top: 1px solid #f0f0f0; }
|
||||
|
||||
.block-editor-block-switcher__popover .block-editor-block-types-list {
|
||||
margin: 12px 0 0 0; }
|
||||
.block-editor-block-switcher__popover__preview__parent .block-editor-block-switcher__popover__preview__container {
|
||||
position: absolute;
|
||||
top: -12px;
|
||||
right: calc(100% + 32px); }
|
||||
|
||||
.block-editor-block-switcher__preview__popover {
|
||||
display: none; }
|
||||
.block-editor-block-switcher__preview__popover.components-popover {
|
||||
margin-right: 4px;
|
||||
margin-top: 11px; }
|
||||
@media (min-width: 782px) {
|
||||
.block-editor-block-switcher__preview__popover {
|
||||
display: block; } }
|
||||
.block-editor-block-switcher__preview__popover .components-popover__content {
|
||||
box-shadow: none;
|
||||
border: 1px solid #1e1e1e;
|
||||
background: #fff;
|
||||
border-radius: 2px; }
|
||||
.block-editor-block-switcher__preview__popover .block-editor-block-switcher__preview {
|
||||
width: 300px;
|
||||
height: auto;
|
||||
padding: 16px; }
|
||||
|
||||
.block-editor-block-switcher__preview-title {
|
||||
margin-bottom: 12px;
|
||||
@ -1290,9 +1361,6 @@
|
||||
background-color: #1e1e1e;
|
||||
color: #fff;
|
||||
border-radius: 2px; }
|
||||
.block-editor-button-block-appender.block-list-appender__toggle .block-editor-button-block-appender__label {
|
||||
display: block;
|
||||
margin-right: 8px; }
|
||||
|
||||
.block-editor-color-gradient-control__color-indicator {
|
||||
margin-bottom: 8px; }
|
||||
@ -1335,7 +1403,7 @@
|
||||
margin-top: 28px;
|
||||
margin-bottom: 28px;
|
||||
padding: 0 0 0 50px;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.block-editor-default-block-appender textarea.block-editor-default-block-appender__content {
|
||||
transition-duration: 0s; } }
|
||||
@ -1400,8 +1468,8 @@
|
||||
padding-left: 36px;
|
||||
margin: 16px;
|
||||
position: relative;
|
||||
border: 1px solid #e2e4e7;
|
||||
border-radius: 4px; }
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 2px; }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] {
|
||||
transition-duration: 0s; } }
|
||||
@ -1417,12 +1485,12 @@
|
||||
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]::-moz-placeholder {
|
||||
@ -1503,12 +1571,12 @@
|
||||
border-radius: 5px;
|
||||
height: auto; }
|
||||
.block-editor-link-control__search-item:hover, .block-editor-link-control__search-item:focus {
|
||||
background-color: #edeff0; }
|
||||
background-color: #ddd; }
|
||||
.block-editor-link-control__search-item:focus:not(:disabled) {
|
||||
box-shadow: 0 0 0 1.5px #007cba inset;
|
||||
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color) inset; }
|
||||
.block-editor-link-control__search-item.is-selected {
|
||||
background: #f3f4f5; }
|
||||
background: #f0f0f0; }
|
||||
.block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type {
|
||||
background: #fff; }
|
||||
.block-editor-link-control__search-item.is-current {
|
||||
@ -1532,7 +1600,7 @@
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis; }
|
||||
.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark {
|
||||
color: #191e23; }
|
||||
color: #1e1e1e; }
|
||||
.block-editor-link-control__search-item .block-editor-link-control__search-item-title {
|
||||
display: block;
|
||||
margin-bottom: 0.2em;
|
||||
@ -1553,7 +1621,7 @@
|
||||
padding: 3px 8px;
|
||||
margin-right: auto;
|
||||
font-size: 0.9em;
|
||||
background-color: #f3f4f5;
|
||||
background-color: #f0f0f0;
|
||||
border-radius: 2px; }
|
||||
|
||||
.block-editor-link-control__loading {
|
||||
@ -1574,13 +1642,13 @@
|
||||
right: 0;
|
||||
display: block;
|
||||
width: 100%;
|
||||
border-top: 1px solid #e2e4e7; }
|
||||
border-top: 1px solid #ddd; }
|
||||
|
||||
.block-editor-link-control__search-results div[role="menu"] > .block-editor-link-control__search-item.block-editor-link-control__search-item {
|
||||
padding: 10px; }
|
||||
|
||||
.block-editor-link-control__settings {
|
||||
border-top: 1px solid #e2e4e7;
|
||||
border-top: 1px solid #ddd;
|
||||
margin: 0;
|
||||
padding: 16px 24px; }
|
||||
.block-editor-link-control__settings :last-child {
|
||||
@ -1926,7 +1994,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
margin-left: -12px;
|
||||
margin-bottom: -12px;
|
||||
padding: 12px 20px;
|
||||
border-top: 1px solid #e2e4e7;
|
||||
border-top: 1px solid #ddd;
|
||||
color: #6c7781; }
|
||||
|
||||
.block-editor-block-list__block .block-editor-url-input,
|
||||
@ -2006,12 +2074,12 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.block-editor-url-input__input[type="text"]::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.block-editor-url-input__input[type="text"]::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.block-editor-url-input__input[type="text"]:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .block-editor-url-input__input[type="text"]::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.is-dark-theme .block-editor-url-input__input[type="text"]::-moz-placeholder {
|
||||
@ -2050,7 +2118,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
text-align: right;
|
||||
box-shadow: none; }
|
||||
.block-editor-url-input__suggestion:hover {
|
||||
background: #e2e4e7; }
|
||||
background: #ddd; }
|
||||
.block-editor-url-input__suggestion:focus, .block-editor-url-input__suggestion.is-selected {
|
||||
background: #005a87;
|
||||
background: var(--wp-admin-theme-color-darker-20);
|
||||
@ -2071,11 +2139,11 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
width: 1px;
|
||||
height: 24px;
|
||||
left: -1px;
|
||||
background: #e2e4e7; }
|
||||
background: #ddd; }
|
||||
|
||||
.block-editor-url-input__button-modal {
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
|
||||
border: 1px solid #e2e4e7;
|
||||
border: 1px solid #ddd;
|
||||
background: #fff; }
|
||||
|
||||
.block-editor-url-input__button-modal-line {
|
||||
@ -2091,7 +2159,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
height: 36px; }
|
||||
|
||||
.block-editor-url-popover__additional-controls {
|
||||
border-top: 1px solid #e2e4e7; }
|
||||
border-top: 1px solid #ddd; }
|
||||
|
||||
.block-editor-url-popover__additional-controls > div[role="menu"] .components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary) > svg {
|
||||
box-shadow: none; }
|
||||
@ -2109,7 +2177,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
padding: 3px; }
|
||||
.block-editor-url-popover .components-button.has-icon > svg {
|
||||
padding: 5px;
|
||||
border-radius: 4px;
|
||||
border-radius: 2px;
|
||||
height: 30px;
|
||||
width: 30px; }
|
||||
.block-editor-url-popover .components-button.has-icon:not(:disabled):focus {
|
||||
@ -2122,7 +2190,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
.block-editor-url-popover__settings-toggle {
|
||||
flex-shrink: 0;
|
||||
border-radius: 0;
|
||||
border-right: 1px solid #e2e4e7;
|
||||
border-right: 1px solid #ddd;
|
||||
margin-right: 1px; }
|
||||
.block-editor-url-popover__settings-toggle[aria-expanded="true"] .dashicon {
|
||||
transform: rotate(-180deg); }
|
||||
@ -2134,7 +2202,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
.block-editor-url-popover__settings {
|
||||
display: block;
|
||||
padding: 16px;
|
||||
border-top: 1px solid #e2e4e7; }
|
||||
border-top: 1px solid #ddd; }
|
||||
|
||||
.block-editor-url-popover__link-editor,
|
||||
.block-editor-url-popover__link-viewer {
|
||||
@ -2227,7 +2295,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
margin-top: -1px;
|
||||
margin-bottom: -1px;
|
||||
border: 0;
|
||||
border-left: 1px solid #e2e4e7; }
|
||||
border-left: 1px solid #ddd; }
|
||||
.block-editor-block-toolbar > :last-child,
|
||||
.block-editor-block-toolbar > :last-child .components-toolbar-group,
|
||||
.block-editor-block-toolbar > :last-child .components-toolbar {
|
||||
@ -2273,21 +2341,6 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
.block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-switcher {
|
||||
display: block; }
|
||||
|
||||
.block-editor-block-toolbar__drag-clone::before {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: -60px;
|
||||
width: 72px;
|
||||
height: 48px;
|
||||
border-radius: 2px;
|
||||
background-color: #1e1e1e;
|
||||
border: 1px solid #1e1e1e;
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTcgMTYuNWgxMFYxNUg3djEuNXptMC05VjloMTBWNy41SDd6IiBmaWxsPSIjZmZmIi8+PC9zdmc+);
|
||||
background-size: 24px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center; }
|
||||
|
||||
.block-editor-inserter {
|
||||
display: inline-block;
|
||||
background: none;
|
||||
@ -2364,7 +2417,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
line-height: normal;
|
||||
display: block;
|
||||
padding: 16px 16px 16px 48px;
|
||||
background: #f3f4f5;
|
||||
background: #f0f0f0;
|
||||
border: none;
|
||||
width: 100%;
|
||||
height: 48px;
|
||||
@ -2385,12 +2438,12 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.is-dark-theme .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-moz-placeholder {
|
||||
@ -2411,11 +2464,18 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
color: #606a73; }
|
||||
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::placeholder {
|
||||
color: #606a73; }
|
||||
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-decoration, .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-cancel-button, .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-results-button, .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-results-decoration {
|
||||
-webkit-appearance: none; }
|
||||
|
||||
.block-editor-inserter__search-icon {
|
||||
position: absolute;
|
||||
top: 28px;
|
||||
left: 28px; }
|
||||
top: 0;
|
||||
left: 20px;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
align-items: center; }
|
||||
.block-editor-inserter__search-icon > svg {
|
||||
margin: 8px; }
|
||||
|
||||
.block-editor-inserter__tabs {
|
||||
display: flex;
|
||||
@ -2427,7 +2487,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
top: 72px;
|
||||
background: #fff;
|
||||
z-index: 1;
|
||||
border-bottom: 1px solid #e2e4e7; }
|
||||
border-bottom: 1px solid #ddd; }
|
||||
.block-editor-inserter__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item {
|
||||
flex-grow: 1;
|
||||
margin-bottom: -1px; }
|
||||
@ -2491,7 +2551,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
width: 300px;
|
||||
background: #fff;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #e2e4e7;
|
||||
border: 1px solid #ddd;
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
right: calc(100% + 16px); }
|
||||
@ -2505,7 +2565,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
|
||||
.block-editor-inserter__preview-content {
|
||||
min-height: 144px;
|
||||
background: #f3f4f5;
|
||||
background: #f0f0f0;
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
flex-grow: 1;
|
||||
@ -2518,50 +2578,57 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
align-items: center;
|
||||
min-height: 144px;
|
||||
color: #606a73;
|
||||
background: #f3f4f5; }
|
||||
background: #f0f0f0; }
|
||||
|
||||
.block-editor-inserter__tips {
|
||||
border-top: 1px solid #e2e4e7;
|
||||
border-top: 1px solid #ddd;
|
||||
padding: 16px;
|
||||
flex-shrink: 0; }
|
||||
|
||||
.block-editor-inserter__patterns-item {
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
margin-top: 16px;
|
||||
transition: all 0.05s ease-in-out;
|
||||
position: relative;
|
||||
border: 1px solid transparent; }
|
||||
.block-editor-inserter__patterns-item:hover {
|
||||
border: 1px solid #007cba;
|
||||
border: 1px solid var(--wp-admin-theme-color); }
|
||||
.block-editor-inserter__patterns-item:focus {
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 1.5px #007cba;
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 1.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.block-editor-inserter__patterns-item.is-placeholder {
|
||||
min-height: 100px; }
|
||||
.block-editor-inserter__manage-reusable-blocks-container {
|
||||
padding: 16px; }
|
||||
|
||||
.block-editor-inserter__patterns-item-title {
|
||||
padding: 4px;
|
||||
font-size: 12px;
|
||||
text-align: center; }
|
||||
.block-editor-inserter__quick-inserter {
|
||||
width: 350px; }
|
||||
|
||||
.block-editor-inserter__quick-inserter-results {
|
||||
padding-bottom: 16px; }
|
||||
.block-editor-inserter__quick-inserter-results .block-editor-inserter__panel-header {
|
||||
height: 0;
|
||||
padding: 0;
|
||||
float: right; }
|
||||
|
||||
.block-editor-inserter__quick-inserter-patterns {
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
-ms-grid-columns: 1fr 1fr;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-gap: 8px; }
|
||||
|
||||
.block-editor-inserter__quick-inserter-separator {
|
||||
border-top: 1px solid #ddd; }
|
||||
|
||||
@media (min-width: 782px) {
|
||||
.block-editor-inserter__popover.is-quick > .components-popover__content > div {
|
||||
padding: 0; } }
|
||||
|
||||
.block-editor-inserter__quick-inserter-expand.components-button {
|
||||
display: block;
|
||||
background: #1e1e1e;
|
||||
color: #fff;
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
border-radius: 0; }
|
||||
.block-editor-inserter__quick-inserter-expand.components-button:hover {
|
||||
color: #fff; }
|
||||
.block-editor-inserter__quick-inserter-expand.components-button:focus:not(:disabled) {
|
||||
box-shadow: inset 0 0 0 1.5px #1e1e1e, inset 0 0 0 2px #fff; }
|
||||
|
||||
.block-editor-post-preview__dropdown {
|
||||
display: none;
|
||||
margin-left: 12px;
|
||||
padding: 0; }
|
||||
|
||||
.block-editor-post-preview__button-toggle {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 0 12px 0 8px; }
|
||||
.block-editor-post-preview__button-toggle:focus:not(:disabled) {
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 1.5px #007cba;
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 1.5px var(--wp-admin-theme-color); }
|
||||
.block-editor-post-preview__button-toggle svg {
|
||||
margin-right: 4px; }
|
||||
|
||||
.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize {
|
||||
padding-right: 40px; }
|
||||
.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize.has-icon {
|
||||
|
File diff suppressed because one or more lines are too long
387
wp-includes/css/dist/block-editor/style.css
vendored
387
wp-includes/css/dist/block-editor/style.css
vendored
@ -1,12 +1,20 @@
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Fonts & basic variables.
|
||||
*/
|
||||
@ -95,7 +103,7 @@
|
||||
|
||||
.block-editor-block-inspector .components-panel__body {
|
||||
border: none;
|
||||
border-top: 1px solid #e2e4e7; }
|
||||
border-top: 1px solid #f0f0f0; }
|
||||
|
||||
.block-editor-block-inspector .block-editor-block-card {
|
||||
padding: 16px; }
|
||||
@ -107,12 +115,6 @@
|
||||
padding: 32px 16px;
|
||||
text-align: center; }
|
||||
|
||||
.block-editor-block-list__layout .block-editor-block-list__block.is-dragging > * {
|
||||
background: #f8f9f9; }
|
||||
|
||||
.block-editor-block-list__layout .block-editor-block-list__block.is-dragging > * > * {
|
||||
visibility: hidden; }
|
||||
|
||||
.block-editor-block-list__layout .block-editor-block-list__block .reusable-block-edit-panel * {
|
||||
z-index: 1; }
|
||||
|
||||
@ -234,6 +236,32 @@
|
||||
background: transparent; }
|
||||
.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-hovered:not(.is-selected)::after {
|
||||
box-shadow: 0 0 0 1px #949494; }
|
||||
.is-block-moving-mode .block-editor-block-list__layout .block-editor-block-list__block.has-child-selected {
|
||||
box-shadow: 0 0 0 1.5px #007cba;
|
||||
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color);
|
||||
outline: 1.5px solid transparent; }
|
||||
.is-block-moving-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
z-index: 0;
|
||||
pointer-events: none;
|
||||
transition: border-color 0.1s linear, border-style 0.1s linear, box-shadow 0.1s linear;
|
||||
right: 0;
|
||||
left: 0;
|
||||
top: -14px;
|
||||
border-radius: 2px;
|
||||
border-top: 4px solid #ccc; }
|
||||
.is-block-moving-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected::after {
|
||||
content: none; }
|
||||
.is-block-moving-mode.can-insert-moving-block .block-editor-block-list__layout .block-editor-block-list__block.is-selected::before {
|
||||
border-color: #007cba;
|
||||
border-color: var(--wp-admin-theme-color); }
|
||||
|
||||
.is-block-moving-mode.block-editor-block-list__block-selection-button {
|
||||
opacity: 0;
|
||||
font-size: 1px;
|
||||
height: 1px;
|
||||
padding: 0; }
|
||||
|
||||
/**
|
||||
* Block styles and alignments
|
||||
@ -363,20 +391,20 @@
|
||||
.block-editor-block-list__block-popover-inserter.is-visible {
|
||||
position: static; }
|
||||
|
||||
.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button,
|
||||
.block-editor-default-block-appender .block-editor-inserter__toggle.components-button,
|
||||
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button,
|
||||
.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button {
|
||||
.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon,
|
||||
.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon,
|
||||
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon,
|
||||
.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon {
|
||||
background: #1e1e1e;
|
||||
border-radius: 2px;
|
||||
color: #fff;
|
||||
padding: 0;
|
||||
min-width: 24px;
|
||||
height: 24px; }
|
||||
.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button:hover,
|
||||
.block-editor-default-block-appender .block-editor-inserter__toggle.components-button:hover,
|
||||
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button:hover,
|
||||
.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button:hover {
|
||||
.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,
|
||||
.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon:hover,
|
||||
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button.has-icon:hover,
|
||||
.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle.components-button.has-icon:hover {
|
||||
color: #fff; }
|
||||
|
||||
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle.components-button,
|
||||
@ -411,9 +439,9 @@
|
||||
.wp-block .block-list-appender .block-editor-inserter__toggle {
|
||||
animation-duration: 1ms; } }
|
||||
|
||||
.wp-block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender {
|
||||
.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender {
|
||||
display: none; }
|
||||
.wp-block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender .block-editor-inserter__toggle {
|
||||
.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender .block-editor-inserter__toggle {
|
||||
opacity: 0;
|
||||
transform: scale(0); }
|
||||
|
||||
@ -444,12 +472,6 @@
|
||||
.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus {
|
||||
box-shadow: none; }
|
||||
|
||||
/**
|
||||
* Block Toolbar, top and contextual.
|
||||
*/
|
||||
.block-editor-block-contextual-toolbar-wrapper {
|
||||
padding-left: 48px; }
|
||||
|
||||
/**
|
||||
* Block Toolbar when contextual.
|
||||
*/
|
||||
@ -481,9 +503,10 @@
|
||||
width: 48px; }
|
||||
.block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button {
|
||||
min-width: 36px;
|
||||
width: 36px;
|
||||
width: 36px; }
|
||||
[draggable="true"] .block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button {
|
||||
cursor: grab; }
|
||||
.block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button:active {
|
||||
[draggable="true"] .block-editor-block-contextual-toolbar .block-editor-block-mover .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button:active {
|
||||
cursor: grabbing; }
|
||||
.block-editor-block-contextual-toolbar .block-editor-block-mover.is-horizontal .components-button.has-icon.block-editor-block-mover-button.block-editor-block-mover-button {
|
||||
min-width: 24px;
|
||||
@ -513,8 +536,7 @@
|
||||
top: -1px;
|
||||
box-shadow: 0 0 0 1px #1e1e1e;
|
||||
border-radius: 1px;
|
||||
background-color: #fff;
|
||||
margin-left: 49px; }
|
||||
background-color: #fff; }
|
||||
.block-editor-block-list__block-selection-button .components-button:focus {
|
||||
box-shadow: 0 0 0 1.5px #007cba;
|
||||
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color); }
|
||||
@ -532,7 +554,8 @@
|
||||
* Popovers.
|
||||
*/
|
||||
.block-editor-block-list__insertion-point-popover.is-without-arrow {
|
||||
z-index: 28; }
|
||||
z-index: 28;
|
||||
position: absolute; }
|
||||
.block-editor-block-list__insertion-point-popover.is-without-arrow .components-popover__content.components-popover__content {
|
||||
background: none;
|
||||
border: none;
|
||||
@ -541,7 +564,8 @@
|
||||
margin-left: 0; }
|
||||
|
||||
.components-popover.block-editor-block-list__block-popover {
|
||||
z-index: 31; }
|
||||
z-index: 31;
|
||||
position: absolute; }
|
||||
.components-popover.block-editor-block-list__block-popover .components-popover__content {
|
||||
margin: 0 !important;
|
||||
min-width: auto;
|
||||
@ -555,11 +579,7 @@
|
||||
pointer-events: all; }
|
||||
.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__block-selection-button,
|
||||
.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar {
|
||||
margin-bottom: 12px;
|
||||
margin-left: -48px; }
|
||||
.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar[data-align="full"],
|
||||
.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__block-selection-button[data-align="full"] {
|
||||
margin-left: 0; }
|
||||
margin-bottom: 12px; }
|
||||
.is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover {
|
||||
opacity: 0; }
|
||||
|
||||
@ -685,7 +705,7 @@
|
||||
.block-editor-block-compare__wrapper .block-editor-block-compare__html {
|
||||
font-family: Menlo, Consolas, monaco, monospace;
|
||||
font-size: 12px;
|
||||
color: #23282d;
|
||||
color: #1e1e1e;
|
||||
border-bottom: 1px solid #ddd;
|
||||
padding-bottom: 15px;
|
||||
line-height: 1.7; }
|
||||
@ -710,14 +730,44 @@
|
||||
font-weight: 400;
|
||||
margin: 0.67em 0; }
|
||||
|
||||
.block-editor-block-draggable-chip-wrapper {
|
||||
position: absolute;
|
||||
top: -60px; }
|
||||
|
||||
.block-editor-block-draggable-chip {
|
||||
background-color: #1e1e1e;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #1e1e1e;
|
||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
|
||||
color: #fff;
|
||||
cursor: grabbing;
|
||||
display: inline-flex;
|
||||
height: 48px;
|
||||
min-width: 72px;
|
||||
padding: 0 12px;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none; }
|
||||
.block-editor-block-draggable-chip svg {
|
||||
fill: currentColor; }
|
||||
.block-editor-block-draggable-chip .block-editor-block-draggable-chip__content {
|
||||
margin: auto; }
|
||||
.block-editor-block-draggable-chip .components-flex__item {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px; }
|
||||
|
||||
.is-dragging.is-selected,
|
||||
.is-dragging.is-multi-selected {
|
||||
display: none !important; }
|
||||
|
||||
.block-editor-block-mobile-toolbar {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
border-right: 1px solid #e2e4e7; }
|
||||
border-right: 1px solid #ddd; }
|
||||
.block-editor-block-mobile-toolbar .block-editor-block-mover-button {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: 4px;
|
||||
border-radius: 2px;
|
||||
padding: 3px;
|
||||
margin: 0;
|
||||
justify-content: center;
|
||||
@ -1001,6 +1051,28 @@
|
||||
border: 1px solid #1e1e1e;
|
||||
border-radius: 2px; }
|
||||
|
||||
.block-editor-block-patterns-list__item {
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
margin-top: 16px;
|
||||
transition: all 0.05s ease-in-out;
|
||||
position: relative;
|
||||
border: 1px solid transparent; }
|
||||
.block-editor-block-patterns-list__item:hover {
|
||||
border: 1px solid #007cba;
|
||||
border: 1px solid var(--wp-admin-theme-color); }
|
||||
.block-editor-block-patterns-list__item:focus {
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 1.5px #007cba;
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 1.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.block-editor-block-patterns-list__item.is-placeholder {
|
||||
min-height: 100px; }
|
||||
|
||||
.block-editor-block-patterns-list__item-title {
|
||||
padding: 4px;
|
||||
font-size: 12px;
|
||||
text-align: center; }
|
||||
|
||||
.block-editor-block-preview__container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
@ -1062,7 +1134,6 @@
|
||||
.block-editor-block-styles__item-preview {
|
||||
outline: 1px solid transparent;
|
||||
padding: 0;
|
||||
border: 1px solid rgba(30, 30, 30, 0.2);
|
||||
border-radius: 2px;
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
@ -1071,9 +1142,12 @@
|
||||
flex-grow: 1;
|
||||
min-height: 80px; }
|
||||
|
||||
.block-editor-block-switcher__styles__menugroup {
|
||||
position: relative; }
|
||||
|
||||
.block-editor-block-styles__item-label {
|
||||
text-align: center;
|
||||
padding: 4px 2px; }
|
||||
padding: 4px 0; }
|
||||
|
||||
.block-editor-block-switcher {
|
||||
position: relative; }
|
||||
@ -1126,54 +1200,51 @@
|
||||
bottom: 8px;
|
||||
left: 8px; }
|
||||
|
||||
.components-popover.block-editor-block-switcher__popover .components-popover__content {
|
||||
min-width: 300px; }
|
||||
|
||||
.components-popover.block-editor-block-switcher__popover .components-popover__content > div {
|
||||
min-width: 300px;
|
||||
max-width: calc(340px * 2);
|
||||
min-width: auto;
|
||||
display: flex;
|
||||
background: #fff;
|
||||
padding: 0; }
|
||||
.components-popover.block-editor-block-switcher__popover .components-popover__content > div .components-menu-group {
|
||||
padding: 16px 24px; }
|
||||
.components-popover.block-editor-block-switcher__popover .components-popover__content > div .components-menu-group + .components-menu-group {
|
||||
border-color: #ccc; }
|
||||
.components-popover.block-editor-block-switcher__popover .components-popover__content > div .block-editor-block-switcher__container {
|
||||
min-width: 300px;
|
||||
max-width: 340px;
|
||||
width: 50%; }
|
||||
.components-popover.block-editor-block-switcher__popover .components-popover__content > div .block-editor-block-switcher__label {
|
||||
margin-bottom: 12px;
|
||||
color: #757575;
|
||||
text-transform: uppercase;
|
||||
font-size: 11px;
|
||||
font-weight: 500; }
|
||||
@media (min-width: 782px) {
|
||||
.components-popover.block-editor-block-switcher__popover .components-popover__content > div {
|
||||
position: relative; }
|
||||
.components-popover.block-editor-block-switcher__popover .components-popover__content > div .block-editor-block-switcher__preview {
|
||||
border-left: 1px solid #e2e4e7;
|
||||
margin-top: -12px;
|
||||
margin-bottom: -12px;
|
||||
background: #fff;
|
||||
width: 300px;
|
||||
height: auto;
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
-ms-grid-row-align: stretch;
|
||||
align-self: stretch;
|
||||
top: 0;
|
||||
padding: 10px; } }
|
||||
.components-popover.block-editor-block-switcher__popover .components-popover__content > div .components-panel__body {
|
||||
padding: 16px;
|
||||
margin: 0; }
|
||||
|
||||
.block-editor-block-switcher__popover .components-popover__content .block-editor-block-styles {
|
||||
margin: 0 -3px; }
|
||||
|
||||
.block-editor-block-switcher__popover .components-popover__content .components-panel__body {
|
||||
border: 0;
|
||||
position: relative;
|
||||
z-index: 1; }
|
||||
.components-popover.block-editor-block-switcher__popover .components-popover__content > div .components-panel__body + .components-panel__body {
|
||||
border-top: 1px solid #e2e4e7; }
|
||||
|
||||
.block-editor-block-switcher__popover .block-editor-block-styles {
|
||||
margin: 0 -3px; }
|
||||
.block-editor-block-switcher__popover .components-popover__content .components-panel__body + .components-panel__body {
|
||||
border-top: 1px solid #f0f0f0; }
|
||||
|
||||
.block-editor-block-switcher__popover .block-editor-block-types-list {
|
||||
margin: 12px 0 0 0; }
|
||||
.block-editor-block-switcher__popover__preview__parent .block-editor-block-switcher__popover__preview__container {
|
||||
position: absolute;
|
||||
top: -12px;
|
||||
left: calc(100% + 32px); }
|
||||
|
||||
.block-editor-block-switcher__preview__popover {
|
||||
display: none; }
|
||||
.block-editor-block-switcher__preview__popover.components-popover {
|
||||
margin-left: 4px;
|
||||
margin-top: 11px; }
|
||||
@media (min-width: 782px) {
|
||||
.block-editor-block-switcher__preview__popover {
|
||||
display: block; } }
|
||||
.block-editor-block-switcher__preview__popover .components-popover__content {
|
||||
box-shadow: none;
|
||||
border: 1px solid #1e1e1e;
|
||||
background: #fff;
|
||||
border-radius: 2px; }
|
||||
.block-editor-block-switcher__preview__popover .block-editor-block-switcher__preview {
|
||||
width: 300px;
|
||||
height: auto;
|
||||
padding: 16px; }
|
||||
|
||||
.block-editor-block-switcher__preview-title {
|
||||
margin-bottom: 12px;
|
||||
@ -1294,9 +1365,6 @@
|
||||
background-color: #1e1e1e;
|
||||
color: #fff;
|
||||
border-radius: 2px; }
|
||||
.block-editor-button-block-appender.block-list-appender__toggle .block-editor-button-block-appender__label {
|
||||
display: block;
|
||||
margin-left: 8px; }
|
||||
|
||||
.block-editor-color-gradient-control__color-indicator {
|
||||
margin-bottom: 8px; }
|
||||
@ -1339,7 +1407,7 @@
|
||||
margin-top: 28px;
|
||||
margin-bottom: 28px;
|
||||
padding: 0 50px 0 0;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.block-editor-default-block-appender textarea.block-editor-default-block-appender__content {
|
||||
transition-duration: 0s; } }
|
||||
@ -1404,8 +1472,8 @@
|
||||
padding-right: 36px;
|
||||
margin: 16px;
|
||||
position: relative;
|
||||
border: 1px solid #e2e4e7;
|
||||
border-radius: 4px; }
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 2px; }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"] {
|
||||
transition-duration: 0s; } }
|
||||
@ -1421,12 +1489,12 @@
|
||||
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.is-dark-theme .block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type="text"]::-moz-placeholder {
|
||||
@ -1507,12 +1575,12 @@
|
||||
border-radius: 5px;
|
||||
height: auto; }
|
||||
.block-editor-link-control__search-item:hover, .block-editor-link-control__search-item:focus {
|
||||
background-color: #edeff0; }
|
||||
background-color: #ddd; }
|
||||
.block-editor-link-control__search-item:focus:not(:disabled) {
|
||||
box-shadow: 0 0 0 1.5px #007cba inset;
|
||||
box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color) inset; }
|
||||
.block-editor-link-control__search-item.is-selected {
|
||||
background: #f3f4f5; }
|
||||
background: #f0f0f0; }
|
||||
.block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type {
|
||||
background: #fff; }
|
||||
.block-editor-link-control__search-item.is-current {
|
||||
@ -1536,7 +1604,7 @@
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis; }
|
||||
.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark {
|
||||
color: #191e23; }
|
||||
color: #1e1e1e; }
|
||||
.block-editor-link-control__search-item .block-editor-link-control__search-item-title {
|
||||
display: block;
|
||||
margin-bottom: 0.2em;
|
||||
@ -1557,7 +1625,7 @@
|
||||
padding: 3px 8px;
|
||||
margin-left: auto;
|
||||
font-size: 0.9em;
|
||||
background-color: #f3f4f5;
|
||||
background-color: #f0f0f0;
|
||||
border-radius: 2px; }
|
||||
|
||||
.block-editor-link-control__loading {
|
||||
@ -1578,13 +1646,13 @@
|
||||
left: 0;
|
||||
display: block;
|
||||
width: 100%;
|
||||
border-top: 1px solid #e2e4e7; }
|
||||
border-top: 1px solid #ddd; }
|
||||
|
||||
.block-editor-link-control__search-results div[role="menu"] > .block-editor-link-control__search-item.block-editor-link-control__search-item {
|
||||
padding: 10px; }
|
||||
|
||||
.block-editor-link-control__settings {
|
||||
border-top: 1px solid #e2e4e7;
|
||||
border-top: 1px solid #ddd;
|
||||
margin: 0;
|
||||
padding: 16px 24px; }
|
||||
.block-editor-link-control__settings :last-child {
|
||||
@ -1930,7 +1998,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
margin-right: -12px;
|
||||
margin-bottom: -12px;
|
||||
padding: 12px 20px;
|
||||
border-top: 1px solid #e2e4e7;
|
||||
border-top: 1px solid #ddd;
|
||||
color: #6c7781; }
|
||||
|
||||
.block-editor-block-list__block .block-editor-url-input,
|
||||
@ -2010,12 +2078,12 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.block-editor-url-input__input[type="text"]::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.block-editor-url-input__input[type="text"]::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.block-editor-url-input__input[type="text"]:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .block-editor-url-input__input[type="text"]::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.is-dark-theme .block-editor-url-input__input[type="text"]::-moz-placeholder {
|
||||
@ -2054,7 +2122,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
text-align: left;
|
||||
box-shadow: none; }
|
||||
.block-editor-url-input__suggestion:hover {
|
||||
background: #e2e4e7; }
|
||||
background: #ddd; }
|
||||
.block-editor-url-input__suggestion:focus, .block-editor-url-input__suggestion.is-selected {
|
||||
background: #005a87;
|
||||
background: var(--wp-admin-theme-color-darker-20);
|
||||
@ -2075,11 +2143,11 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
width: 1px;
|
||||
height: 24px;
|
||||
right: -1px;
|
||||
background: #e2e4e7; }
|
||||
background: #ddd; }
|
||||
|
||||
.block-editor-url-input__button-modal {
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
|
||||
border: 1px solid #e2e4e7;
|
||||
border: 1px solid #ddd;
|
||||
background: #fff; }
|
||||
|
||||
.block-editor-url-input__button-modal-line {
|
||||
@ -2095,7 +2163,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
height: 36px; }
|
||||
|
||||
.block-editor-url-popover__additional-controls {
|
||||
border-top: 1px solid #e2e4e7; }
|
||||
border-top: 1px solid #ddd; }
|
||||
|
||||
.block-editor-url-popover__additional-controls > div[role="menu"] .components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary) > svg {
|
||||
box-shadow: none; }
|
||||
@ -2113,7 +2181,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
padding: 3px; }
|
||||
.block-editor-url-popover .components-button.has-icon > svg {
|
||||
padding: 5px;
|
||||
border-radius: 4px;
|
||||
border-radius: 2px;
|
||||
height: 30px;
|
||||
width: 30px; }
|
||||
.block-editor-url-popover .components-button.has-icon:not(:disabled):focus {
|
||||
@ -2126,7 +2194,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
.block-editor-url-popover__settings-toggle {
|
||||
flex-shrink: 0;
|
||||
border-radius: 0;
|
||||
border-left: 1px solid #e2e4e7;
|
||||
border-left: 1px solid #ddd;
|
||||
margin-left: 1px; }
|
||||
.block-editor-url-popover__settings-toggle[aria-expanded="true"] .dashicon {
|
||||
transform: rotate(180deg); }
|
||||
@ -2138,7 +2206,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
.block-editor-url-popover__settings {
|
||||
display: block;
|
||||
padding: 16px;
|
||||
border-top: 1px solid #e2e4e7; }
|
||||
border-top: 1px solid #ddd; }
|
||||
|
||||
.block-editor-url-popover__link-editor,
|
||||
.block-editor-url-popover__link-viewer {
|
||||
@ -2231,7 +2299,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
margin-top: -1px;
|
||||
margin-bottom: -1px;
|
||||
border: 0;
|
||||
border-right: 1px solid #e2e4e7; }
|
||||
border-right: 1px solid #ddd; }
|
||||
.block-editor-block-toolbar > :last-child,
|
||||
.block-editor-block-toolbar > :last-child .components-toolbar-group,
|
||||
.block-editor-block-toolbar > :last-child .components-toolbar {
|
||||
@ -2277,21 +2345,6 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
.block-editor-block-toolbar__block-switcher-wrapper .block-editor-block-switcher {
|
||||
display: block; }
|
||||
|
||||
.block-editor-block-toolbar__drag-clone::before {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: -60px;
|
||||
width: 72px;
|
||||
height: 48px;
|
||||
border-radius: 2px;
|
||||
background-color: #1e1e1e;
|
||||
border: 1px solid #1e1e1e;
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTcgMTYuNWgxMFYxNUg3djEuNXptMC05VjloMTBWNy41SDd6IiBmaWxsPSIjZmZmIi8+PC9zdmc+);
|
||||
background-size: 24px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center; }
|
||||
|
||||
.block-editor-inserter {
|
||||
display: inline-block;
|
||||
background: none;
|
||||
@ -2368,7 +2421,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
line-height: normal;
|
||||
display: block;
|
||||
padding: 16px 48px 16px 16px;
|
||||
background: #f3f4f5;
|
||||
background: #f0f0f0;
|
||||
border: none;
|
||||
width: 100%;
|
||||
height: 48px;
|
||||
@ -2389,12 +2442,12 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.is-dark-theme .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-moz-placeholder {
|
||||
@ -2415,11 +2468,18 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
color: #606a73; }
|
||||
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::placeholder {
|
||||
color: #606a73; }
|
||||
.block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-decoration, .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-cancel-button, .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-results-button, .block-editor-inserter__search input[type="search"].block-editor-inserter__search-input::-webkit-search-results-decoration {
|
||||
-webkit-appearance: none; }
|
||||
|
||||
.block-editor-inserter__search-icon {
|
||||
position: absolute;
|
||||
top: 28px;
|
||||
right: 28px; }
|
||||
top: 0;
|
||||
right: 20px;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
align-items: center; }
|
||||
.block-editor-inserter__search-icon > svg {
|
||||
margin: 8px; }
|
||||
|
||||
.block-editor-inserter__tabs {
|
||||
display: flex;
|
||||
@ -2431,7 +2491,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
top: 72px;
|
||||
background: #fff;
|
||||
z-index: 1;
|
||||
border-bottom: 1px solid #e2e4e7; }
|
||||
border-bottom: 1px solid #ddd; }
|
||||
.block-editor-inserter__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item {
|
||||
flex-grow: 1;
|
||||
margin-bottom: -1px; }
|
||||
@ -2495,7 +2555,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
width: 300px;
|
||||
background: #fff;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #e2e4e7;
|
||||
border: 1px solid #ddd;
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
left: calc(100% + 16px); }
|
||||
@ -2509,7 +2569,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
|
||||
.block-editor-inserter__preview-content {
|
||||
min-height: 144px;
|
||||
background: #f3f4f5;
|
||||
background: #f0f0f0;
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
flex-grow: 1;
|
||||
@ -2522,50 +2582,57 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
align-items: center;
|
||||
min-height: 144px;
|
||||
color: #606a73;
|
||||
background: #f3f4f5; }
|
||||
background: #f0f0f0; }
|
||||
|
||||
.block-editor-inserter__tips {
|
||||
border-top: 1px solid #e2e4e7;
|
||||
border-top: 1px solid #ddd;
|
||||
padding: 16px;
|
||||
flex-shrink: 0; }
|
||||
|
||||
.block-editor-inserter__patterns-item {
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
margin-top: 16px;
|
||||
transition: all 0.05s ease-in-out;
|
||||
position: relative;
|
||||
border: 1px solid transparent; }
|
||||
.block-editor-inserter__patterns-item:hover {
|
||||
border: 1px solid #007cba;
|
||||
border: 1px solid var(--wp-admin-theme-color); }
|
||||
.block-editor-inserter__patterns-item:focus {
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 1.5px #007cba;
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 1.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.block-editor-inserter__patterns-item.is-placeholder {
|
||||
min-height: 100px; }
|
||||
.block-editor-inserter__manage-reusable-blocks-container {
|
||||
padding: 16px; }
|
||||
|
||||
.block-editor-inserter__patterns-item-title {
|
||||
padding: 4px;
|
||||
font-size: 12px;
|
||||
text-align: center; }
|
||||
.block-editor-inserter__quick-inserter {
|
||||
width: 350px; }
|
||||
|
||||
.block-editor-inserter__quick-inserter-results {
|
||||
padding-bottom: 16px; }
|
||||
.block-editor-inserter__quick-inserter-results .block-editor-inserter__panel-header {
|
||||
height: 0;
|
||||
padding: 0;
|
||||
float: left; }
|
||||
|
||||
.block-editor-inserter__quick-inserter-patterns {
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
-ms-grid-columns: 1fr 1fr;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-gap: 8px; }
|
||||
|
||||
.block-editor-inserter__quick-inserter-separator {
|
||||
border-top: 1px solid #ddd; }
|
||||
|
||||
@media (min-width: 782px) {
|
||||
.block-editor-inserter__popover.is-quick > .components-popover__content > div {
|
||||
padding: 0; } }
|
||||
|
||||
.block-editor-inserter__quick-inserter-expand.components-button {
|
||||
display: block;
|
||||
background: #1e1e1e;
|
||||
color: #fff;
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
border-radius: 0; }
|
||||
.block-editor-inserter__quick-inserter-expand.components-button:hover {
|
||||
color: #fff; }
|
||||
.block-editor-inserter__quick-inserter-expand.components-button:focus:not(:disabled) {
|
||||
box-shadow: inset 0 0 0 1.5px #1e1e1e, inset 0 0 0 2px #fff; }
|
||||
|
||||
.block-editor-post-preview__dropdown {
|
||||
display: none;
|
||||
margin-right: 12px;
|
||||
padding: 0; }
|
||||
|
||||
.block-editor-post-preview__button-toggle {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 0 8px 0 12px; }
|
||||
.block-editor-post-preview__button-toggle:focus:not(:disabled) {
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 1.5px #007cba;
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 1.5px var(--wp-admin-theme-color); }
|
||||
.block-editor-post-preview__button-toggle svg {
|
||||
margin-left: 4px; }
|
||||
|
||||
.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize {
|
||||
padding-left: 40px; }
|
||||
.block-editor-post-preview__button-resize.block-editor-post-preview__button-resize.has-icon {
|
||||
|
File diff suppressed because one or more lines are too long
326
wp-includes/css/dist/block-library/editor-rtl.css
vendored
326
wp-includes/css/dist/block-library/editor-rtl.css
vendored
@ -1,12 +1,20 @@
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Fonts & basic variables.
|
||||
*/
|
||||
@ -82,6 +90,9 @@
|
||||
.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; }
|
||||
|
||||
.wp-block[data-align="center"] > .wp-block-button {
|
||||
text-align: center;
|
||||
margin-right: auto;
|
||||
@ -96,7 +107,8 @@
|
||||
.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 #00a0d2;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba;
|
||||
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 {
|
||||
@ -215,7 +227,9 @@ div[data-type="core/button"] {
|
||||
padding: 1em;
|
||||
min-height: 200px;
|
||||
text-align: center;
|
||||
background: #f8f9f9; }
|
||||
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; }
|
||||
@ -251,6 +265,8 @@ div[data-type="core/button"] {
|
||||
margin-right: 1em; }
|
||||
|
||||
.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 */ }
|
||||
@ -263,14 +279,14 @@ div[data-type="core/button"] {
|
||||
margin-right: 0; }
|
||||
.wp-block-freeform.block-library-rich-text__tinymce blockquote {
|
||||
margin: 0;
|
||||
box-shadow: inset 0 0 0 0 #e2e4e7;
|
||||
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: #23282d; }
|
||||
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 {
|
||||
@ -278,7 +294,8 @@ div[data-type="core/button"] {
|
||||
.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus {
|
||||
outline: none; }
|
||||
.wp-block-freeform.block-library-rich-text__tinymce a {
|
||||
color: #007fac; }
|
||||
color: #007cba;
|
||||
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;
|
||||
@ -288,12 +305,12 @@ div[data-type="core/button"] {
|
||||
.wp-block-freeform.block-library-rich-text__tinymce code {
|
||||
padding: 2px;
|
||||
border-radius: 2px;
|
||||
color: #23282d;
|
||||
background: #f3f4f5;
|
||||
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: #e8eaeb; }
|
||||
background: #ddd; }
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .alignright {
|
||||
float: right;
|
||||
margin: 0.5em 0 0.5em 1em; }
|
||||
@ -353,10 +370,10 @@ div[data-type="core/button"] {
|
||||
.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 #e8eaeb;
|
||||
border: 1px dashed #ddd;
|
||||
padding: 10px; }
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error {
|
||||
border: 1px solid #e8eaeb;
|
||||
border: 1px solid #ddd;
|
||||
padding: 1em 0;
|
||||
margin: 0;
|
||||
word-wrap: break-word; }
|
||||
@ -423,7 +440,7 @@ div[data-type="core/button"] {
|
||||
|
||||
div[data-type="core/freeform"]::before {
|
||||
transition: border-color 0.1s linear, box-shadow 0.1s linear;
|
||||
border: 1px solid #e2e4e7;
|
||||
border: 1px solid #ddd;
|
||||
outline: 1px solid transparent; }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
div[data-type="core/freeform"]::before {
|
||||
@ -445,7 +462,7 @@ div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce::af
|
||||
.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: #23282d; }
|
||||
color: #1e1e1e; }
|
||||
|
||||
.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last {
|
||||
margin-left: 0;
|
||||
@ -460,9 +477,9 @@ div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce::af
|
||||
margin: 0;
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
z-index: 10;
|
||||
top: 8px;
|
||||
border: 1px solid #e2e4e7;
|
||||
z-index: 31;
|
||||
top: 0;
|
||||
border: 1px solid #ddd;
|
||||
border-bottom: none;
|
||||
border-radius: 2px;
|
||||
margin-bottom: 8px;
|
||||
@ -544,67 +561,47 @@ figure.wp-block-gallery {
|
||||
.blocks-gallery-item figure.is-transient img {
|
||||
opacity: 0.3; }
|
||||
|
||||
.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu,
|
||||
.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu {
|
||||
background: #fff;
|
||||
border: 1px solid #1e1e1e;
|
||||
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;
|
||||
transition: box-shadow 0.2s ease-out; }
|
||||
background: #fff;
|
||||
border: 1px solid #1e1e1e; }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu,
|
||||
.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu {
|
||||
.block-library-gallery-item__inline-menu {
|
||||
transition-duration: 0s; } }
|
||||
.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu:hover,
|
||||
.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu:hover {
|
||||
.block-library-gallery-item__inline-menu:hover {
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); }
|
||||
.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button,
|
||||
.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button {
|
||||
color: #1e1e1e;
|
||||
min-width: 24px;
|
||||
height: 24px; }
|
||||
@media (min-width: 600px) {
|
||||
.columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button,
|
||||
.columns-8 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button, .columns-7
|
||||
.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,
|
||||
.columns-8
|
||||
.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button {
|
||||
.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 {
|
||||
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; } }
|
||||
.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button:focus,
|
||||
.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:focus {
|
||||
color: inherit; }
|
||||
|
||||
.block-library-gallery-item__move-menu,
|
||||
.block-library-gallery-item__inline-menu {
|
||||
margin: 8px;
|
||||
display: inline-flex;
|
||||
z-index: 20; }
|
||||
.block-library-gallery-item__move-menu .components-button,
|
||||
.block-library-gallery-item__inline-menu .components-button {
|
||||
color: transparent; }
|
||||
@media (min-width: 600px) {
|
||||
.columns-7 .block-library-gallery-item__move-menu,
|
||||
.columns-8 .block-library-gallery-item__move-menu, .columns-7
|
||||
.block-library-gallery-item__inline-menu,
|
||||
.columns-8
|
||||
.block-library-gallery-item__inline-menu {
|
||||
padding: 2px; } }
|
||||
|
||||
.block-library-gallery-item__inline-menu {
|
||||
position: absolute;
|
||||
top: -2px;
|
||||
left: -2px; }
|
||||
|
||||
.block-library-gallery-item__move-menu {
|
||||
position: absolute;
|
||||
top: -2px;
|
||||
.block-library-gallery-item__inline-menu.is-left {
|
||||
right: -2px; }
|
||||
|
||||
.blocks-gallery-item__move-backward.components-button,
|
||||
.blocks-gallery-item__move-forward.components-button,
|
||||
.blocks-gallery-item__remove.components-button {
|
||||
padding: 0; }
|
||||
.block-library-gallery-item__inline-menu.is-right {
|
||||
left: -2px; }
|
||||
|
||||
.blocks-gallery-item .components-spinner {
|
||||
position: absolute;
|
||||
@ -676,9 +673,9 @@ figure.wp-block-gallery {
|
||||
right: 0; }
|
||||
.wp-block-html .block-editor-plain-text {
|
||||
font-family: Menlo, Consolas, monaco, monospace;
|
||||
color: #23282d;
|
||||
color: #1e1e1e;
|
||||
padding: 0.8em 1em;
|
||||
border: 1px solid #e2e4e7;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 4px;
|
||||
max-height: 250px;
|
||||
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
||||
@ -743,42 +740,40 @@ figure.wp-block-image:not(.wp-block) {
|
||||
margin-left: auto;
|
||||
text-align: center; }
|
||||
|
||||
.richimage__crop-area {
|
||||
.wp-block-image__crop-area {
|
||||
position: relative;
|
||||
max-width: 100%;
|
||||
width: 100%; }
|
||||
|
||||
.richimage__crop-icon {
|
||||
.wp-block-image__crop-icon {
|
||||
padding: 0 8px;
|
||||
min-width: 48px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center; }
|
||||
.richimage__crop-icon svg {
|
||||
.wp-block-image__crop-icon svg {
|
||||
fill: currentColor; }
|
||||
|
||||
.richimage__zoom-control {
|
||||
border: 1px solid #1e1e1e;
|
||||
border-radius: 2px;
|
||||
background-color: #fff;
|
||||
margin-top: 12px;
|
||||
margin-bottom: 12px;
|
||||
padding: 12px 12px 8px;
|
||||
line-height: 1; }
|
||||
.wp-block-image__zoom .components-popover__content {
|
||||
overflow: visible; }
|
||||
|
||||
.components-toolbar.richimage-toolbar__dropdown {
|
||||
padding: 0;
|
||||
border-right: none;
|
||||
border-left: none; }
|
||||
.components-toolbar.richimage-toolbar__dropdown .components-icon-button.has-text svg {
|
||||
margin-left: 0; }
|
||||
.components-toolbar.richimage-toolbar__dropdown .components-dropdown-menu__indicator {
|
||||
display: none; }
|
||||
.wp-block-image__zoom .components-range-control {
|
||||
flex: 1; }
|
||||
|
||||
.richimage-toolbar__dropdown > .components-button,
|
||||
.richimage-toolbar__dropdown,
|
||||
.richimage-toolbar__control {
|
||||
padding: 6px; }
|
||||
.wp-block-image__zoom .components-base-control__field {
|
||||
display: flex;
|
||||
margin-bottom: 0; }
|
||||
|
||||
.wp-block-image__aspect-ratio {
|
||||
height: 46px;
|
||||
margin-top: -8px;
|
||||
margin-bottom: -8px;
|
||||
display: flex;
|
||||
align-items: center; }
|
||||
.wp-block-image__aspect-ratio .components-button {
|
||||
width: 36px;
|
||||
padding-right: 0;
|
||||
padding-left: 0; }
|
||||
|
||||
.wp-block-latest-comments.has-avatars .avatar {
|
||||
margin-left: 10px; }
|
||||
@ -821,8 +816,8 @@ figure.wp-block-image:not(.wp-block) {
|
||||
padding: 8px 14px; }
|
||||
|
||||
.wp-block-legacy-widget__edit-widget-title {
|
||||
background: #f8f9f9;
|
||||
color: #555d66;
|
||||
background: #ddd;
|
||||
color: #1e1e1e;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
padding: 8px 14px;
|
||||
@ -913,9 +908,6 @@ figure.wp-block-image:not(.wp-block) {
|
||||
opacity: 1;
|
||||
visibility: visible; }
|
||||
|
||||
.has-child .wp-block-navigation__container .block-list-appender .block-editor-button-block-appender {
|
||||
margin-right: 16px; }
|
||||
|
||||
/**
|
||||
* Colors Selector component
|
||||
*/
|
||||
@ -946,6 +938,8 @@ figure.wp-block-image:not(.wp-block) {
|
||||
min-height: 22px;
|
||||
line-height: 20px;
|
||||
padding: 2px; }
|
||||
.block-library-colors-selector .block-library-colors-selector__state-selection > svg {
|
||||
min-width: auto !important; }
|
||||
.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color > svg,
|
||||
.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color > svg path {
|
||||
color: inherit; }
|
||||
@ -977,6 +971,45 @@ figure.wp-block-image:not(.wp-block) {
|
||||
color: #000;
|
||||
background-color: #fff; }
|
||||
|
||||
.wp-block-navigation-placeholder .components-spinner {
|
||||
margin-top: -4px;
|
||||
margin-right: 4px;
|
||||
vertical-align: middle;
|
||||
margin-left: 7px; }
|
||||
|
||||
.wp-block-navigation-placeholder .components-custom-select-control__label {
|
||||
margin-bottom: 1rem; }
|
||||
|
||||
.wp-block-navigation-placeholder .components-custom-select-control__button {
|
||||
height: auto;
|
||||
padding: 0.375rem 1.5rem 0.375rem 0.75rem;
|
||||
min-width: 13.75rem; }
|
||||
|
||||
.wp-block-navigation-placeholder .components-custom-select-control.has-menus .components-custom-select-control__item.is-create-empty-option {
|
||||
position: relative;
|
||||
margin-top: 20px; }
|
||||
.wp-block-navigation-placeholder .components-custom-select-control.has-menus .components-custom-select-control__item.is-create-empty-option::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: -10px;
|
||||
right: 25px;
|
||||
left: 25px;
|
||||
height: 15px;
|
||||
border-top: 1px solid #757575; }
|
||||
|
||||
.wp-block-navigation-placeholder .components-custom-select-control__label {
|
||||
font-size: 13px;
|
||||
font-weight: normal; }
|
||||
|
||||
.wp-block-navigation-placeholder .components-custom-select-control__menu {
|
||||
margin: 0;
|
||||
max-height: none;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px; }
|
||||
|
||||
.wp-block-navigation .block-editor-button-block-appender {
|
||||
justify-content: flex-start; }
|
||||
|
||||
.wp-block-navigation-link__field .components-text-control__input.components-text-control__input,
|
||||
.wp-block-navigation-link__container {
|
||||
border-radius: 0;
|
||||
@ -1005,7 +1038,7 @@ figure.wp-block-image:not(.wp-block) {
|
||||
|
||||
.wp-block-navigation-link__separator {
|
||||
margin: 8px 0 8px;
|
||||
border-top: 1px solid #e2e4e7; }
|
||||
border-top: 1px solid #ddd; }
|
||||
|
||||
.components-popover.wp-block-navigation-link__dropdown-content {
|
||||
margin-top: -1px;
|
||||
@ -1127,9 +1160,9 @@ figure.wp-block-image:not(.wp-block) {
|
||||
margin-left: 8px; }
|
||||
|
||||
.wp-block-search__input {
|
||||
border-radius: 4px;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #7e8993;
|
||||
color: rgba(14, 28, 46, 0.62);
|
||||
color: rgba(30, 30, 30, 0.62);
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
padding: 8px; }
|
||||
@ -1138,7 +1171,7 @@ figure.wp-block-image:not(.wp-block) {
|
||||
|
||||
.wp-block-search__button {
|
||||
background: #f7f7f7;
|
||||
border-radius: 4px;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #ccc;
|
||||
box-shadow: inset 0 -1px 0 #ccc;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
@ -1156,7 +1189,6 @@ figure.wp-block-image:not(.wp-block) {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 14px;
|
||||
background-color: rgba(139, 139, 150, 0.1);
|
||||
font-size: 13px;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
margin-bottom: 28px; }
|
||||
@ -1202,14 +1234,14 @@ figure.wp-block-image:not(.wp-block) {
|
||||
outline: 2px solid transparent; }
|
||||
.block-editor .blocks-shortcode__textarea::-webkit-input-placeholder,
|
||||
.blocks-shortcode__textarea::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.block-editor .blocks-shortcode__textarea::-moz-placeholder,
|
||||
.blocks-shortcode__textarea::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.block-editor .blocks-shortcode__textarea:-ms-input-placeholder,
|
||||
.blocks-shortcode__textarea:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .block-editor .blocks-shortcode__textarea::-webkit-input-placeholder, .is-dark-theme
|
||||
.blocks-shortcode__textarea::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
@ -1287,7 +1319,7 @@ figure.wp-block-image:not(.wp-block) {
|
||||
left: 8px; }
|
||||
|
||||
.block-library-spacer__resize-container.has-show-handle {
|
||||
background: #f3f4f5; }
|
||||
background: #f0f0f0; }
|
||||
.is-dark-theme .block-library-spacer__resize-container.has-show-handle {
|
||||
background: rgba(255, 255, 255, 0.15); }
|
||||
|
||||
@ -1332,8 +1364,10 @@ figure.wp-block-image:not(.wp-block) {
|
||||
border: 1px solid; }
|
||||
.wp-block-table td.is-selected,
|
||||
.wp-block-table th.is-selected {
|
||||
border-color: #00a0d2;
|
||||
box-shadow: inset 0 0 0 1px #00a0d2;
|
||||
border-color: #007cba;
|
||||
border-color: var(--wp-admin-theme-color);
|
||||
box-shadow: inset 0 0 0 1px #007cba;
|
||||
box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
|
||||
border-style: double; }
|
||||
.wp-block-table figcaption {
|
||||
color: #555d66;
|
||||
@ -1372,49 +1406,21 @@ figure.wp-block-image:not(.wp-block) {
|
||||
color: #8f98a1;
|
||||
text-decoration: none; }
|
||||
|
||||
.wp-block-template-part__placeholder-tabs {
|
||||
display: flex;
|
||||
flex-grow: 1;
|
||||
flex-direction: column; }
|
||||
.wp-block-template-part__placeholder-tabs .components-tab-panel__tabs {
|
||||
border-bottom: 1px solid #e2e4e7; }
|
||||
.wp-block-template-part__placeholder-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item {
|
||||
flex-grow: 1;
|
||||
margin-bottom: -1px; }
|
||||
.wp-block-template-part__placeholder-tabs .components-tab-panel__tab-content {
|
||||
margin-top: 16px;
|
||||
display: flex;
|
||||
flex-grow: 1;
|
||||
flex-direction: column;
|
||||
position: relative; }
|
||||
.wp-block-template-part__placeholder-tabs .wp-block-template-part__placeholder-input-container {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
width: 100%; }
|
||||
.wp-block-template-part__placeholder-tabs .wp-block-template-part__placeholder-input-container .wp-block-template-part__placeholder-input {
|
||||
margin: 5px; }
|
||||
.wp-block-template-part__placeholder-tabs .wp-block-template-part__placeholder-help-phrase {
|
||||
padding: 0 12px 12px; }
|
||||
.wp-block-template-part__placeholder-tabs .wp-block-template-part__placeholder-create-button {
|
||||
align-self: flex-start; }
|
||||
.wp-block-template-part__placeholder-tabs .wp-block-template-part__placeholder-preview-filter-input {
|
||||
width: inherit; }
|
||||
.wp-block-template-part__placeholder-preview-dropdown-content .components-popover__content {
|
||||
min-width: 320px;
|
||||
padding: 0; }
|
||||
|
||||
.wp-block-template-part__placeholder-preview-search-form {
|
||||
border-bottom: 1px solid #ddd; }
|
||||
|
||||
.wp-block-template-part__placeholder-preview-container {
|
||||
width: inherit;
|
||||
max-height: 600px;
|
||||
overflow-y: scroll;
|
||||
background: #fff;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #e2e4e7;
|
||||
top: 16px;
|
||||
right: calc(100% + 16px); }
|
||||
padding-bottom: 16px; }
|
||||
.wp-block-template-part__placeholder-preview-container .wp-block-template-part__placeholder-preview-item {
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
margin-top: 16px;
|
||||
transition: all 0.05s ease-in-out;
|
||||
position: relative;
|
||||
border: 1px solid transparent; }
|
||||
.wp-block-template-part__placeholder-preview-container .wp-block-template-part__placeholder-preview-item:hover {
|
||||
border: 1px solid #007cba;
|
||||
@ -1428,10 +1434,8 @@ figure.wp-block-image:not(.wp-block) {
|
||||
.wp-block-template-part__placeholder-preview-container .wp-block-template-part__placeholder-preview-item-title {
|
||||
padding: 4px;
|
||||
font-size: 12px;
|
||||
text-align: center; }
|
||||
text-align: right; }
|
||||
.wp-block-template-part__placeholder-preview-container .wp-block-template-part__placeholder-panel-group-header {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 16px 16px 0; }
|
||||
.wp-block-template-part__placeholder-preview-container .wp-block-template-part__placeholder-panel-group-content {
|
||||
padding: 0 16px; }
|
||||
@ -1440,14 +1444,34 @@ figure.wp-block-image:not(.wp-block) {
|
||||
color: var(--wp-admin-theme-color);
|
||||
text-transform: uppercase;
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
font-weight: 500; }
|
||||
|
||||
.wp-block-template-part__name-panel {
|
||||
background-color: #fff;
|
||||
border-radius: 2px;
|
||||
box-shadow: 0 0 0 1px #1e1e1e;
|
||||
outline: 1px solid transparent;
|
||||
padding: 6px 12px; }
|
||||
.wp-block-template-part__name-panel .components-base-control__field {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
margin-bottom: 0; }
|
||||
.wp-block-template-part__name-panel .components-base-control__label {
|
||||
margin-bottom: 0;
|
||||
margin-left: 8px; }
|
||||
|
||||
.is-navigate-mode .is-selected .wp-block-template-part__name-panel {
|
||||
box-shadow: 0 0 0 1px #007cba;
|
||||
box-shadow: 0 0 0 1px var(--wp-admin-theme-color); }
|
||||
.is-dark-theme .is-navigate-mode .is-selected .wp-block-template-part__name-panel {
|
||||
box-shadow: 0 0 0 1px #007cba;
|
||||
box-shadow: 0 0 0 1px var(--wp-admin-theme-color); }
|
||||
|
||||
.wp-block-text-columns .block-editor-rich-text__editable:focus {
|
||||
outline: 1px solid #e2e4e7; }
|
||||
outline: 1px solid #ddd; }
|
||||
|
||||
pre.wp-block-verse {
|
||||
color: #191e23;
|
||||
color: #1e1e1e;
|
||||
white-space: nowrap;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
@ -1528,12 +1552,12 @@ pre.wp-block-verse {
|
||||
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.reusable-block-edit-panel__title[type="text"]::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.reusable-block-edit-panel__title[type="text"]::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.reusable-block-edit-panel__title[type="text"]:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .reusable-block-edit-panel__title[type="text"]::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.is-dark-theme .reusable-block-edit-panel__title[type="text"]::-moz-placeholder {
|
||||
|
File diff suppressed because one or more lines are too long
326
wp-includes/css/dist/block-library/editor.css
vendored
326
wp-includes/css/dist/block-library/editor.css
vendored
@ -1,12 +1,20 @@
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Fonts & basic variables.
|
||||
*/
|
||||
@ -82,6 +90,9 @@
|
||||
.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; }
|
||||
|
||||
.wp-block[data-align="center"] > .wp-block-button {
|
||||
text-align: center;
|
||||
margin-left: auto;
|
||||
@ -97,7 +108,8 @@
|
||||
.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 #00a0d2;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba;
|
||||
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 {
|
||||
@ -216,7 +228,9 @@ div[data-type="core/button"] {
|
||||
padding: 1em;
|
||||
min-height: 200px;
|
||||
text-align: center;
|
||||
background: #f8f9f9; }
|
||||
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; }
|
||||
@ -252,6 +266,8 @@ div[data-type="core/button"] {
|
||||
margin-left: 1em; }
|
||||
|
||||
.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 */ }
|
||||
@ -264,14 +280,14 @@ div[data-type="core/button"] {
|
||||
margin-left: 0; }
|
||||
.wp-block-freeform.block-library-rich-text__tinymce blockquote {
|
||||
margin: 0;
|
||||
box-shadow: inset 0 0 0 0 #e2e4e7;
|
||||
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: #23282d; }
|
||||
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 {
|
||||
@ -279,7 +295,8 @@ div[data-type="core/button"] {
|
||||
.wp-block-freeform.block-library-rich-text__tinymce.mce-edit-focus {
|
||||
outline: none; }
|
||||
.wp-block-freeform.block-library-rich-text__tinymce a {
|
||||
color: #007fac; }
|
||||
color: #007cba;
|
||||
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;
|
||||
@ -289,12 +306,12 @@ div[data-type="core/button"] {
|
||||
.wp-block-freeform.block-library-rich-text__tinymce code {
|
||||
padding: 2px;
|
||||
border-radius: 2px;
|
||||
color: #23282d;
|
||||
background: #f3f4f5;
|
||||
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: #e8eaeb; }
|
||||
background: #ddd; }
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .alignright {
|
||||
/*rtl:ignore*/
|
||||
float: right;
|
||||
@ -358,10 +375,10 @@ div[data-type="core/button"] {
|
||||
.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 #e8eaeb;
|
||||
border: 1px dashed #ddd;
|
||||
padding: 10px; }
|
||||
.wp-block-freeform.block-library-rich-text__tinymce .wpview .wpview-error {
|
||||
border: 1px solid #e8eaeb;
|
||||
border: 1px solid #ddd;
|
||||
padding: 1em 0;
|
||||
margin: 0;
|
||||
word-wrap: break-word; }
|
||||
@ -428,7 +445,7 @@ div[data-type="core/button"] {
|
||||
|
||||
div[data-type="core/freeform"]::before {
|
||||
transition: border-color 0.1s linear, box-shadow 0.1s linear;
|
||||
border: 1px solid #e2e4e7;
|
||||
border: 1px solid #ddd;
|
||||
outline: 1px solid transparent; }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
div[data-type="core/freeform"]::before {
|
||||
@ -450,7 +467,7 @@ div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce::af
|
||||
.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: #23282d; }
|
||||
color: #1e1e1e; }
|
||||
|
||||
.mce-toolbar-grp .mce-rtl .mce-flow-layout-item.mce-last {
|
||||
margin-right: 0;
|
||||
@ -465,9 +482,9 @@ div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce::af
|
||||
margin: 0;
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
z-index: 10;
|
||||
top: 8px;
|
||||
border: 1px solid #e2e4e7;
|
||||
z-index: 31;
|
||||
top: 0;
|
||||
border: 1px solid #ddd;
|
||||
border-bottom: none;
|
||||
border-radius: 2px;
|
||||
margin-bottom: 8px;
|
||||
@ -549,67 +566,47 @@ figure.wp-block-gallery {
|
||||
.blocks-gallery-item figure.is-transient img {
|
||||
opacity: 0.3; }
|
||||
|
||||
.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu,
|
||||
.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu {
|
||||
background: #fff;
|
||||
border: 1px solid #1e1e1e;
|
||||
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;
|
||||
transition: box-shadow 0.2s ease-out; }
|
||||
background: #fff;
|
||||
border: 1px solid #1e1e1e; }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu,
|
||||
.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu {
|
||||
.block-library-gallery-item__inline-menu {
|
||||
transition-duration: 0s; } }
|
||||
.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu:hover,
|
||||
.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu:hover {
|
||||
.block-library-gallery-item__inline-menu:hover {
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); }
|
||||
.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button,
|
||||
.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button {
|
||||
color: #1e1e1e;
|
||||
min-width: 24px;
|
||||
height: 24px; }
|
||||
@media (min-width: 600px) {
|
||||
.columns-7 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button,
|
||||
.columns-8 .blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button, .columns-7
|
||||
.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button,
|
||||
.columns-8
|
||||
.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button {
|
||||
.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 {
|
||||
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; } }
|
||||
.blocks-gallery-item .is-selected .block-library-gallery-item__move-menu .components-button:focus,
|
||||
.blocks-gallery-item .is-selected .block-library-gallery-item__inline-menu .components-button:focus {
|
||||
color: inherit; }
|
||||
|
||||
.block-library-gallery-item__move-menu,
|
||||
.block-library-gallery-item__inline-menu {
|
||||
margin: 8px;
|
||||
display: inline-flex;
|
||||
z-index: 20; }
|
||||
.block-library-gallery-item__move-menu .components-button,
|
||||
.block-library-gallery-item__inline-menu .components-button {
|
||||
color: transparent; }
|
||||
@media (min-width: 600px) {
|
||||
.columns-7 .block-library-gallery-item__move-menu,
|
||||
.columns-8 .block-library-gallery-item__move-menu, .columns-7
|
||||
.block-library-gallery-item__inline-menu,
|
||||
.columns-8
|
||||
.block-library-gallery-item__inline-menu {
|
||||
padding: 2px; } }
|
||||
|
||||
.block-library-gallery-item__inline-menu {
|
||||
position: absolute;
|
||||
top: -2px;
|
||||
right: -2px; }
|
||||
|
||||
.block-library-gallery-item__move-menu {
|
||||
position: absolute;
|
||||
top: -2px;
|
||||
.block-library-gallery-item__inline-menu.is-left {
|
||||
left: -2px; }
|
||||
|
||||
.blocks-gallery-item__move-backward.components-button,
|
||||
.blocks-gallery-item__move-forward.components-button,
|
||||
.blocks-gallery-item__remove.components-button {
|
||||
padding: 0; }
|
||||
.block-library-gallery-item__inline-menu.is-right {
|
||||
right: -2px; }
|
||||
|
||||
.blocks-gallery-item .components-spinner {
|
||||
position: absolute;
|
||||
@ -681,9 +678,9 @@ figure.wp-block-gallery {
|
||||
left: 0; }
|
||||
.wp-block-html .block-editor-plain-text {
|
||||
font-family: Menlo, Consolas, monaco, monospace;
|
||||
color: #23282d;
|
||||
color: #1e1e1e;
|
||||
padding: 0.8em 1em;
|
||||
border: 1px solid #e2e4e7;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 4px;
|
||||
max-height: 250px;
|
||||
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
||||
@ -748,42 +745,40 @@ figure.wp-block-image:not(.wp-block) {
|
||||
margin-right: auto;
|
||||
text-align: center; }
|
||||
|
||||
.richimage__crop-area {
|
||||
.wp-block-image__crop-area {
|
||||
position: relative;
|
||||
max-width: 100%;
|
||||
width: 100%; }
|
||||
|
||||
.richimage__crop-icon {
|
||||
.wp-block-image__crop-icon {
|
||||
padding: 0 8px;
|
||||
min-width: 48px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center; }
|
||||
.richimage__crop-icon svg {
|
||||
.wp-block-image__crop-icon svg {
|
||||
fill: currentColor; }
|
||||
|
||||
.richimage__zoom-control {
|
||||
border: 1px solid #1e1e1e;
|
||||
border-radius: 2px;
|
||||
background-color: #fff;
|
||||
margin-top: 12px;
|
||||
margin-bottom: 12px;
|
||||
padding: 12px 12px 8px;
|
||||
line-height: 1; }
|
||||
.wp-block-image__zoom .components-popover__content {
|
||||
overflow: visible; }
|
||||
|
||||
.components-toolbar.richimage-toolbar__dropdown {
|
||||
padding: 0;
|
||||
border-left: none;
|
||||
border-right: none; }
|
||||
.components-toolbar.richimage-toolbar__dropdown .components-icon-button.has-text svg {
|
||||
margin-right: 0; }
|
||||
.components-toolbar.richimage-toolbar__dropdown .components-dropdown-menu__indicator {
|
||||
display: none; }
|
||||
.wp-block-image__zoom .components-range-control {
|
||||
flex: 1; }
|
||||
|
||||
.richimage-toolbar__dropdown > .components-button,
|
||||
.richimage-toolbar__dropdown,
|
||||
.richimage-toolbar__control {
|
||||
padding: 6px; }
|
||||
.wp-block-image__zoom .components-base-control__field {
|
||||
display: flex;
|
||||
margin-bottom: 0; }
|
||||
|
||||
.wp-block-image__aspect-ratio {
|
||||
height: 46px;
|
||||
margin-top: -8px;
|
||||
margin-bottom: -8px;
|
||||
display: flex;
|
||||
align-items: center; }
|
||||
.wp-block-image__aspect-ratio .components-button {
|
||||
width: 36px;
|
||||
padding-left: 0;
|
||||
padding-right: 0; }
|
||||
|
||||
.wp-block-latest-comments.has-avatars .avatar {
|
||||
margin-right: 10px; }
|
||||
@ -826,8 +821,8 @@ figure.wp-block-image:not(.wp-block) {
|
||||
padding: 8px 14px; }
|
||||
|
||||
.wp-block-legacy-widget__edit-widget-title {
|
||||
background: #f8f9f9;
|
||||
color: #555d66;
|
||||
background: #ddd;
|
||||
color: #1e1e1e;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
padding: 8px 14px;
|
||||
@ -918,9 +913,6 @@ figure.wp-block-image:not(.wp-block) {
|
||||
opacity: 1;
|
||||
visibility: visible; }
|
||||
|
||||
.has-child .wp-block-navigation__container .block-list-appender .block-editor-button-block-appender {
|
||||
margin-left: 16px; }
|
||||
|
||||
/**
|
||||
* Colors Selector component
|
||||
*/
|
||||
@ -951,6 +943,8 @@ figure.wp-block-image:not(.wp-block) {
|
||||
min-height: 22px;
|
||||
line-height: 20px;
|
||||
padding: 2px; }
|
||||
.block-library-colors-selector .block-library-colors-selector__state-selection > svg {
|
||||
min-width: auto !important; }
|
||||
.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color > svg,
|
||||
.block-library-colors-selector .block-library-colors-selector__state-selection.has-text-color > svg path {
|
||||
color: inherit; }
|
||||
@ -982,6 +976,45 @@ figure.wp-block-image:not(.wp-block) {
|
||||
color: #000;
|
||||
background-color: #fff; }
|
||||
|
||||
.wp-block-navigation-placeholder .components-spinner {
|
||||
margin-top: -4px;
|
||||
margin-left: 4px;
|
||||
vertical-align: middle;
|
||||
margin-right: 7px; }
|
||||
|
||||
.wp-block-navigation-placeholder .components-custom-select-control__label {
|
||||
margin-bottom: 1rem; }
|
||||
|
||||
.wp-block-navigation-placeholder .components-custom-select-control__button {
|
||||
height: auto;
|
||||
padding: 0.375rem 0.75rem 0.375rem 1.5rem;
|
||||
min-width: 13.75rem; }
|
||||
|
||||
.wp-block-navigation-placeholder .components-custom-select-control.has-menus .components-custom-select-control__item.is-create-empty-option {
|
||||
position: relative;
|
||||
margin-top: 20px; }
|
||||
.wp-block-navigation-placeholder .components-custom-select-control.has-menus .components-custom-select-control__item.is-create-empty-option::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: -10px;
|
||||
left: 25px;
|
||||
right: 25px;
|
||||
height: 15px;
|
||||
border-top: 1px solid #757575; }
|
||||
|
||||
.wp-block-navigation-placeholder .components-custom-select-control__label {
|
||||
font-size: 13px;
|
||||
font-weight: normal; }
|
||||
|
||||
.wp-block-navigation-placeholder .components-custom-select-control__menu {
|
||||
margin: 0;
|
||||
max-height: none;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px; }
|
||||
|
||||
.wp-block-navigation .block-editor-button-block-appender {
|
||||
justify-content: flex-start; }
|
||||
|
||||
.wp-block-navigation-link__field .components-text-control__input.components-text-control__input,
|
||||
.wp-block-navigation-link__container {
|
||||
border-radius: 0;
|
||||
@ -1010,7 +1043,7 @@ figure.wp-block-image:not(.wp-block) {
|
||||
|
||||
.wp-block-navigation-link__separator {
|
||||
margin: 8px 0 8px;
|
||||
border-top: 1px solid #e2e4e7; }
|
||||
border-top: 1px solid #ddd; }
|
||||
|
||||
.components-popover.wp-block-navigation-link__dropdown-content {
|
||||
margin-top: -1px;
|
||||
@ -1132,9 +1165,9 @@ figure.wp-block-image:not(.wp-block) {
|
||||
margin-right: 8px; }
|
||||
|
||||
.wp-block-search__input {
|
||||
border-radius: 4px;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #7e8993;
|
||||
color: rgba(14, 28, 46, 0.62);
|
||||
color: rgba(30, 30, 30, 0.62);
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
padding: 8px; }
|
||||
@ -1143,7 +1176,7 @@ figure.wp-block-image:not(.wp-block) {
|
||||
|
||||
.wp-block-search__button {
|
||||
background: #f7f7f7;
|
||||
border-radius: 4px;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #ccc;
|
||||
box-shadow: inset 0 -1px 0 #ccc;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
@ -1161,7 +1194,6 @@ figure.wp-block-image:not(.wp-block) {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 14px;
|
||||
background-color: rgba(139, 139, 150, 0.1);
|
||||
font-size: 13px;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
margin-bottom: 28px; }
|
||||
@ -1207,14 +1239,14 @@ figure.wp-block-image:not(.wp-block) {
|
||||
outline: 2px solid transparent; }
|
||||
.block-editor .blocks-shortcode__textarea::-webkit-input-placeholder,
|
||||
.blocks-shortcode__textarea::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.block-editor .blocks-shortcode__textarea::-moz-placeholder,
|
||||
.blocks-shortcode__textarea::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.block-editor .blocks-shortcode__textarea:-ms-input-placeholder,
|
||||
.blocks-shortcode__textarea:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .block-editor .blocks-shortcode__textarea::-webkit-input-placeholder, .is-dark-theme
|
||||
.blocks-shortcode__textarea::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
@ -1292,7 +1324,7 @@ figure.wp-block-image:not(.wp-block) {
|
||||
right: 8px; }
|
||||
|
||||
.block-library-spacer__resize-container.has-show-handle {
|
||||
background: #f3f4f5; }
|
||||
background: #f0f0f0; }
|
||||
.is-dark-theme .block-library-spacer__resize-container.has-show-handle {
|
||||
background: rgba(255, 255, 255, 0.15); }
|
||||
|
||||
@ -1337,8 +1369,10 @@ figure.wp-block-image:not(.wp-block) {
|
||||
border: 1px solid; }
|
||||
.wp-block-table td.is-selected,
|
||||
.wp-block-table th.is-selected {
|
||||
border-color: #00a0d2;
|
||||
box-shadow: inset 0 0 0 1px #00a0d2;
|
||||
border-color: #007cba;
|
||||
border-color: var(--wp-admin-theme-color);
|
||||
box-shadow: inset 0 0 0 1px #007cba;
|
||||
box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
|
||||
border-style: double; }
|
||||
.wp-block-table figcaption {
|
||||
color: #555d66;
|
||||
@ -1377,49 +1411,21 @@ figure.wp-block-image:not(.wp-block) {
|
||||
color: #8f98a1;
|
||||
text-decoration: none; }
|
||||
|
||||
.wp-block-template-part__placeholder-tabs {
|
||||
display: flex;
|
||||
flex-grow: 1;
|
||||
flex-direction: column; }
|
||||
.wp-block-template-part__placeholder-tabs .components-tab-panel__tabs {
|
||||
border-bottom: 1px solid #e2e4e7; }
|
||||
.wp-block-template-part__placeholder-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item {
|
||||
flex-grow: 1;
|
||||
margin-bottom: -1px; }
|
||||
.wp-block-template-part__placeholder-tabs .components-tab-panel__tab-content {
|
||||
margin-top: 16px;
|
||||
display: flex;
|
||||
flex-grow: 1;
|
||||
flex-direction: column;
|
||||
position: relative; }
|
||||
.wp-block-template-part__placeholder-tabs .wp-block-template-part__placeholder-input-container {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
width: 100%; }
|
||||
.wp-block-template-part__placeholder-tabs .wp-block-template-part__placeholder-input-container .wp-block-template-part__placeholder-input {
|
||||
margin: 5px; }
|
||||
.wp-block-template-part__placeholder-tabs .wp-block-template-part__placeholder-help-phrase {
|
||||
padding: 0 12px 12px; }
|
||||
.wp-block-template-part__placeholder-tabs .wp-block-template-part__placeholder-create-button {
|
||||
align-self: flex-start; }
|
||||
.wp-block-template-part__placeholder-tabs .wp-block-template-part__placeholder-preview-filter-input {
|
||||
width: inherit; }
|
||||
.wp-block-template-part__placeholder-preview-dropdown-content .components-popover__content {
|
||||
min-width: 320px;
|
||||
padding: 0; }
|
||||
|
||||
.wp-block-template-part__placeholder-preview-search-form {
|
||||
border-bottom: 1px solid #ddd; }
|
||||
|
||||
.wp-block-template-part__placeholder-preview-container {
|
||||
width: inherit;
|
||||
max-height: 600px;
|
||||
overflow-y: scroll;
|
||||
background: #fff;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #e2e4e7;
|
||||
top: 16px;
|
||||
left: calc(100% + 16px); }
|
||||
padding-bottom: 16px; }
|
||||
.wp-block-template-part__placeholder-preview-container .wp-block-template-part__placeholder-preview-item {
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
margin-top: 16px;
|
||||
transition: all 0.05s ease-in-out;
|
||||
position: relative;
|
||||
border: 1px solid transparent; }
|
||||
.wp-block-template-part__placeholder-preview-container .wp-block-template-part__placeholder-preview-item:hover {
|
||||
border: 1px solid #007cba;
|
||||
@ -1433,10 +1439,8 @@ figure.wp-block-image:not(.wp-block) {
|
||||
.wp-block-template-part__placeholder-preview-container .wp-block-template-part__placeholder-preview-item-title {
|
||||
padding: 4px;
|
||||
font-size: 12px;
|
||||
text-align: center; }
|
||||
text-align: left; }
|
||||
.wp-block-template-part__placeholder-preview-container .wp-block-template-part__placeholder-panel-group-header {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 16px 16px 0; }
|
||||
.wp-block-template-part__placeholder-preview-container .wp-block-template-part__placeholder-panel-group-content {
|
||||
padding: 0 16px; }
|
||||
@ -1445,14 +1449,34 @@ figure.wp-block-image:not(.wp-block) {
|
||||
color: var(--wp-admin-theme-color);
|
||||
text-transform: uppercase;
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
font-weight: 500; }
|
||||
|
||||
.wp-block-template-part__name-panel {
|
||||
background-color: #fff;
|
||||
border-radius: 2px;
|
||||
box-shadow: 0 0 0 1px #1e1e1e;
|
||||
outline: 1px solid transparent;
|
||||
padding: 6px 12px; }
|
||||
.wp-block-template-part__name-panel .components-base-control__field {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
margin-bottom: 0; }
|
||||
.wp-block-template-part__name-panel .components-base-control__label {
|
||||
margin-bottom: 0;
|
||||
margin-right: 8px; }
|
||||
|
||||
.is-navigate-mode .is-selected .wp-block-template-part__name-panel {
|
||||
box-shadow: 0 0 0 1px #007cba;
|
||||
box-shadow: 0 0 0 1px var(--wp-admin-theme-color); }
|
||||
.is-dark-theme .is-navigate-mode .is-selected .wp-block-template-part__name-panel {
|
||||
box-shadow: 0 0 0 1px #007cba;
|
||||
box-shadow: 0 0 0 1px var(--wp-admin-theme-color); }
|
||||
|
||||
.wp-block-text-columns .block-editor-rich-text__editable:focus {
|
||||
outline: 1px solid #e2e4e7; }
|
||||
outline: 1px solid #ddd; }
|
||||
|
||||
pre.wp-block-verse {
|
||||
color: #191e23;
|
||||
color: #1e1e1e;
|
||||
white-space: nowrap;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
@ -1533,12 +1557,12 @@ pre.wp-block-verse {
|
||||
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.reusable-block-edit-panel__title[type="text"]::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.reusable-block-edit-panel__title[type="text"]::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.reusable-block-edit-panel__title[type="text"]:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .reusable-block-edit-panel__title[type="text"]::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.is-dark-theme .reusable-block-edit-panel__title[type="text"]::-moz-placeholder {
|
||||
|
File diff suppressed because one or more lines are too long
150
wp-includes/css/dist/block-library/style-rtl.css
vendored
150
wp-includes/css/dist/block-library/style-rtl.css
vendored
@ -1,12 +1,20 @@
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Fonts & basic variables.
|
||||
*/
|
||||
@ -115,11 +123,18 @@
|
||||
margin-left: 0; }
|
||||
|
||||
.wp-block-buttons.alignright .wp-block-button {
|
||||
margin-left: 0;
|
||||
margin-right: 8px; }
|
||||
margin-right: 0;
|
||||
margin-left: 8px; }
|
||||
.wp-block-buttons.alignright .wp-block-button:first-child {
|
||||
margin-right: 0; }
|
||||
|
||||
.wp-block-buttons.alignleft .wp-block-button {
|
||||
margin-left: 0;
|
||||
margin-right: 8px; }
|
||||
.wp-block-buttons.alignleft .wp-block-button:last-child {
|
||||
margin-left: 0; }
|
||||
|
||||
.wp-block-button.aligncenter,
|
||||
.wp-block-buttons.aligncenter {
|
||||
text-align: center; }
|
||||
|
||||
@ -128,7 +143,7 @@
|
||||
.wp-block-calendar th,
|
||||
.wp-block-calendar tbody td {
|
||||
padding: 4px;
|
||||
border: 1px solid #e2e4e7; }
|
||||
border: 1px solid #ddd; }
|
||||
.wp-block-calendar tfoot td {
|
||||
border: none; }
|
||||
.wp-block-calendar table {
|
||||
@ -137,11 +152,12 @@
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; }
|
||||
.wp-block-calendar table th {
|
||||
font-weight: 400;
|
||||
background: #edeff0; }
|
||||
background: #ddd; }
|
||||
.wp-block-calendar a {
|
||||
text-decoration: underline; }
|
||||
.wp-block-calendar tfoot a {
|
||||
color: #00739c; }
|
||||
color: #007cba;
|
||||
color: var(--wp-admin-theme-color); }
|
||||
.wp-block-calendar table tbody,
|
||||
.wp-block-calendar table caption {
|
||||
color: #40464d; }
|
||||
@ -342,7 +358,7 @@
|
||||
.wp-block-cover .wp-block-cover__inner-container {
|
||||
width: calc(100% - 70px);
|
||||
z-index: 1;
|
||||
color: #f8f9f9; }
|
||||
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),
|
||||
@ -1003,6 +1019,37 @@ h6.has-background {
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1; } }
|
||||
|
||||
.wp-block-navigation .wp-block-navigation-link:not(.has-text-color),
|
||||
.wp-block-navigation.is-style-light .wp-block-navigation-link:not(.has-text-color) {
|
||||
color: #1e1e1e; }
|
||||
|
||||
.wp-block-navigation:not(.has-background) .wp-block-navigation__container,
|
||||
.wp-block-navigation.is-style-light:not(.has-background) .wp-block-navigation__container {
|
||||
background-color: #fff; }
|
||||
|
||||
.wp-block-navigation.is-style-dark .wp-block-navigation-link:not(.has-text-color) {
|
||||
color: #fff; }
|
||||
|
||||
.wp-block-navigation.is-style-dark:not(.has-background) .wp-block-navigation__container {
|
||||
background-color: #1e1e1e; }
|
||||
|
||||
.items-justified-left > ul {
|
||||
justify-content: flex-start; }
|
||||
|
||||
.items-justified-center > ul {
|
||||
justify-content: center; }
|
||||
|
||||
.items-justified-right > ul {
|
||||
justify-content: flex-end; }
|
||||
|
||||
.wp-block-navigation-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
margin: 0; }
|
||||
.wp-block-navigation-link .wp-block-navigation__container:empty {
|
||||
display: none; }
|
||||
|
||||
.wp-block-navigation__container {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
@ -1012,18 +1059,8 @@ h6.has-background {
|
||||
.is-vertical .wp-block-navigation__container {
|
||||
display: block; }
|
||||
|
||||
.wp-block-navigation-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
margin: 0;
|
||||
padding: 8px; }
|
||||
.wp-block-navigation-link .wp-block-navigation__container:empty {
|
||||
display: none; }
|
||||
|
||||
.has-child .wp-block-navigation__container {
|
||||
border: 1px solid rgba(0, 0, 0, 0.15);
|
||||
padding: 6px 0;
|
||||
background-color: inherit;
|
||||
color: inherit;
|
||||
position: absolute;
|
||||
@ -1034,8 +1071,6 @@ h6.has-background {
|
||||
opacity: 0;
|
||||
transition: opacity 0.1s linear;
|
||||
visibility: hidden; }
|
||||
.has-child .wp-block-navigation__container > .wp-block-navigation-link {
|
||||
font-size: 15px; }
|
||||
.has-child .wp-block-navigation__container > .wp-block-navigation-link > .wp-block-navigation-link__content {
|
||||
flex-grow: 1; }
|
||||
.has-child .wp-block-navigation__container > .wp-block-navigation-link > .wp-block-navigation-link__submenu-icon {
|
||||
@ -1044,8 +1079,8 @@ h6.has-background {
|
||||
.has-child .wp-block-navigation__container {
|
||||
right: 24px; }
|
||||
.has-child .wp-block-navigation__container .wp-block-navigation__container {
|
||||
right: calc(100% + 8px);
|
||||
top: -7px; }
|
||||
right: 100%;
|
||||
top: -1px; }
|
||||
.has-child .wp-block-navigation__container .wp-block-navigation__container::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
@ -1075,12 +1110,13 @@ h6.has-background {
|
||||
|
||||
.wp-block-navigation-link__content {
|
||||
text-decoration: none;
|
||||
padding: 6px 16px; }
|
||||
padding: 8px 16px; }
|
||||
.wp-block-navigation-link__content + .wp-block-navigation-link__content {
|
||||
padding-top: 0; }
|
||||
.has-text-color .wp-block-navigation-link__content {
|
||||
color: inherit; }
|
||||
|
||||
.wp-block-navigation-link__label {
|
||||
font-size: 17px;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
word-break: normal;
|
||||
overflow-wrap: break-word; }
|
||||
@ -1094,72 +1130,6 @@ h6.has-background {
|
||||
.wp-block-navigation-link__submenu-icon svg {
|
||||
transform: rotate(-90deg); } }
|
||||
|
||||
.wp-block-navigation .wp-block-navigation-link:not(.has-text-color),
|
||||
.wp-block-navigation.is-style-light .wp-block-navigation-link:not(.has-text-color) {
|
||||
color: #111; }
|
||||
|
||||
.wp-block-navigation:not(.has-background) .wp-block-navigation__container,
|
||||
.wp-block-navigation.is-style-light:not(.has-background) .wp-block-navigation__container {
|
||||
background-color: #fff; }
|
||||
|
||||
.wp-block-navigation.is-style-dark .wp-block-navigation-link:not(.has-text-color) {
|
||||
color: #fff; }
|
||||
|
||||
.wp-block-navigation.is-style-dark:not(.has-background) .wp-block-navigation__container {
|
||||
background-color: #333; }
|
||||
|
||||
.items-justified-left > ul {
|
||||
justify-content: flex-start; }
|
||||
|
||||
.items-justified-center > ul {
|
||||
justify-content: center; }
|
||||
|
||||
.items-justified-right > ul {
|
||||
justify-content: flex-end; }
|
||||
|
||||
.wp-block-navigation-placeholder__actions {
|
||||
display: flex;
|
||||
align-items: flex-start; }
|
||||
.wp-block-navigation-placeholder__actions .components-base-control {
|
||||
margin-left: 5px; }
|
||||
.wp-block-navigation-placeholder__actions .components-select-control__input {
|
||||
margin: 0;
|
||||
min-height: 36px; }
|
||||
.wp-block-navigation-placeholder__actions .wp-block-navigation-placeholder__button {
|
||||
height: 36px; }
|
||||
|
||||
.wp-block-navigation-placeholder .components-spinner {
|
||||
margin-top: -4px;
|
||||
margin-right: 4px;
|
||||
vertical-align: middle;
|
||||
margin-left: 7px; }
|
||||
|
||||
.wp-block-navigation-placeholder .components-custom-select-control__button {
|
||||
height: auto;
|
||||
margin-bottom: 0;
|
||||
min-width: 220px; }
|
||||
|
||||
.wp-block-navigation-placeholder .components-custom-select-control.has-menus .components-custom-select-control__item {
|
||||
display: list-item;
|
||||
padding: 10px 25px; }
|
||||
.wp-block-navigation-placeholder .components-custom-select-control.has-menus .components-custom-select-control__item.is-create-empty-option {
|
||||
position: relative;
|
||||
margin-top: 20px; }
|
||||
.wp-block-navigation-placeholder .components-custom-select-control.has-menus .components-custom-select-control__item.is-create-empty-option::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: -10px;
|
||||
right: 25px;
|
||||
left: 25px;
|
||||
display: list-item;
|
||||
height: 15px;
|
||||
border-top: 1px solid #757575; }
|
||||
|
||||
.wp-block-navigation-placeholder .components-custom-select-control__menu {
|
||||
margin-top: 3px;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px; }
|
||||
|
||||
.is-small-text {
|
||||
font-size: 14px; }
|
||||
|
||||
@ -1674,9 +1644,9 @@ p.wp-block-subhead {
|
||||
border-spacing: 0;
|
||||
border-collapse: inherit;
|
||||
background-color: transparent;
|
||||
border-bottom: 1px solid #f3f4f5; }
|
||||
border-bottom: 1px solid #f0f0f0; }
|
||||
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
|
||||
background-color: #f3f4f5; }
|
||||
background-color: #f0f0f0; }
|
||||
.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd) {
|
||||
background-color: #f3f4f5; }
|
||||
.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd) {
|
||||
|
File diff suppressed because one or more lines are too long
150
wp-includes/css/dist/block-library/style.css
vendored
150
wp-includes/css/dist/block-library/style.css
vendored
@ -1,12 +1,20 @@
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Fonts & basic variables.
|
||||
*/
|
||||
@ -116,11 +124,22 @@
|
||||
margin-right: 0; }
|
||||
|
||||
.wp-block-buttons.alignright .wp-block-button {
|
||||
/*rtl:ignore*/
|
||||
margin-right: 0;
|
||||
/*rtl:ignore*/
|
||||
margin-left: 8px; }
|
||||
.wp-block-buttons.alignright .wp-block-button:first-child {
|
||||
margin-left: 0; }
|
||||
|
||||
.wp-block-buttons.alignleft .wp-block-button {
|
||||
/*rtl:ignore*/
|
||||
margin-left: 0;
|
||||
/*rtl:ignore*/
|
||||
margin-right: 8px; }
|
||||
.wp-block-buttons.alignleft .wp-block-button:last-child {
|
||||
margin-right: 0; }
|
||||
|
||||
.wp-block-button.aligncenter,
|
||||
.wp-block-buttons.aligncenter {
|
||||
text-align: center; }
|
||||
|
||||
@ -129,7 +148,7 @@
|
||||
.wp-block-calendar th,
|
||||
.wp-block-calendar tbody td {
|
||||
padding: 4px;
|
||||
border: 1px solid #e2e4e7; }
|
||||
border: 1px solid #ddd; }
|
||||
.wp-block-calendar tfoot td {
|
||||
border: none; }
|
||||
.wp-block-calendar table {
|
||||
@ -138,11 +157,12 @@
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; }
|
||||
.wp-block-calendar table th {
|
||||
font-weight: 400;
|
||||
background: #edeff0; }
|
||||
background: #ddd; }
|
||||
.wp-block-calendar a {
|
||||
text-decoration: underline; }
|
||||
.wp-block-calendar tfoot a {
|
||||
color: #00739c; }
|
||||
color: #007cba;
|
||||
color: var(--wp-admin-theme-color); }
|
||||
.wp-block-calendar table tbody,
|
||||
.wp-block-calendar table caption {
|
||||
color: #40464d; }
|
||||
@ -345,7 +365,7 @@
|
||||
.wp-block-cover .wp-block-cover__inner-container {
|
||||
width: calc(100% - 70px);
|
||||
z-index: 1;
|
||||
color: #f8f9f9; }
|
||||
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),
|
||||
@ -1025,6 +1045,37 @@ h6.has-background {
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1; } }
|
||||
|
||||
.wp-block-navigation .wp-block-navigation-link:not(.has-text-color),
|
||||
.wp-block-navigation.is-style-light .wp-block-navigation-link:not(.has-text-color) {
|
||||
color: #1e1e1e; }
|
||||
|
||||
.wp-block-navigation:not(.has-background) .wp-block-navigation__container,
|
||||
.wp-block-navigation.is-style-light:not(.has-background) .wp-block-navigation__container {
|
||||
background-color: #fff; }
|
||||
|
||||
.wp-block-navigation.is-style-dark .wp-block-navigation-link:not(.has-text-color) {
|
||||
color: #fff; }
|
||||
|
||||
.wp-block-navigation.is-style-dark:not(.has-background) .wp-block-navigation__container {
|
||||
background-color: #1e1e1e; }
|
||||
|
||||
.items-justified-left > ul {
|
||||
justify-content: flex-start; }
|
||||
|
||||
.items-justified-center > ul {
|
||||
justify-content: center; }
|
||||
|
||||
.items-justified-right > ul {
|
||||
justify-content: flex-end; }
|
||||
|
||||
.wp-block-navigation-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
margin: 0; }
|
||||
.wp-block-navigation-link .wp-block-navigation__container:empty {
|
||||
display: none; }
|
||||
|
||||
.wp-block-navigation__container {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
@ -1034,18 +1085,8 @@ h6.has-background {
|
||||
.is-vertical .wp-block-navigation__container {
|
||||
display: block; }
|
||||
|
||||
.wp-block-navigation-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
margin: 0;
|
||||
padding: 8px; }
|
||||
.wp-block-navigation-link .wp-block-navigation__container:empty {
|
||||
display: none; }
|
||||
|
||||
.has-child .wp-block-navigation__container {
|
||||
border: 1px solid rgba(0, 0, 0, 0.15);
|
||||
padding: 6px 0;
|
||||
background-color: inherit;
|
||||
color: inherit;
|
||||
position: absolute;
|
||||
@ -1056,8 +1097,6 @@ h6.has-background {
|
||||
opacity: 0;
|
||||
transition: opacity 0.1s linear;
|
||||
visibility: hidden; }
|
||||
.has-child .wp-block-navigation__container > .wp-block-navigation-link {
|
||||
font-size: 15px; }
|
||||
.has-child .wp-block-navigation__container > .wp-block-navigation-link > .wp-block-navigation-link__content {
|
||||
flex-grow: 1; }
|
||||
.has-child .wp-block-navigation__container > .wp-block-navigation-link > .wp-block-navigation-link__submenu-icon {
|
||||
@ -1066,8 +1105,8 @@ h6.has-background {
|
||||
.has-child .wp-block-navigation__container {
|
||||
left: 24px; }
|
||||
.has-child .wp-block-navigation__container .wp-block-navigation__container {
|
||||
left: calc(100% + 8px);
|
||||
top: -7px; }
|
||||
left: 100%;
|
||||
top: -1px; }
|
||||
.has-child .wp-block-navigation__container .wp-block-navigation__container::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
@ -1097,12 +1136,13 @@ h6.has-background {
|
||||
|
||||
.wp-block-navigation-link__content {
|
||||
text-decoration: none;
|
||||
padding: 6px 16px; }
|
||||
padding: 8px 16px; }
|
||||
.wp-block-navigation-link__content + .wp-block-navigation-link__content {
|
||||
padding-top: 0; }
|
||||
.has-text-color .wp-block-navigation-link__content {
|
||||
color: inherit; }
|
||||
|
||||
.wp-block-navigation-link__label {
|
||||
font-size: 17px;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
word-break: normal;
|
||||
overflow-wrap: break-word; }
|
||||
@ -1116,72 +1156,6 @@ h6.has-background {
|
||||
.wp-block-navigation-link__submenu-icon svg {
|
||||
transform: rotate(90deg); } }
|
||||
|
||||
.wp-block-navigation .wp-block-navigation-link:not(.has-text-color),
|
||||
.wp-block-navigation.is-style-light .wp-block-navigation-link:not(.has-text-color) {
|
||||
color: #111; }
|
||||
|
||||
.wp-block-navigation:not(.has-background) .wp-block-navigation__container,
|
||||
.wp-block-navigation.is-style-light:not(.has-background) .wp-block-navigation__container {
|
||||
background-color: #fff; }
|
||||
|
||||
.wp-block-navigation.is-style-dark .wp-block-navigation-link:not(.has-text-color) {
|
||||
color: #fff; }
|
||||
|
||||
.wp-block-navigation.is-style-dark:not(.has-background) .wp-block-navigation__container {
|
||||
background-color: #333; }
|
||||
|
||||
.items-justified-left > ul {
|
||||
justify-content: flex-start; }
|
||||
|
||||
.items-justified-center > ul {
|
||||
justify-content: center; }
|
||||
|
||||
.items-justified-right > ul {
|
||||
justify-content: flex-end; }
|
||||
|
||||
.wp-block-navigation-placeholder__actions {
|
||||
display: flex;
|
||||
align-items: flex-start; }
|
||||
.wp-block-navigation-placeholder__actions .components-base-control {
|
||||
margin-right: 5px; }
|
||||
.wp-block-navigation-placeholder__actions .components-select-control__input {
|
||||
margin: 0;
|
||||
min-height: 36px; }
|
||||
.wp-block-navigation-placeholder__actions .wp-block-navigation-placeholder__button {
|
||||
height: 36px; }
|
||||
|
||||
.wp-block-navigation-placeholder .components-spinner {
|
||||
margin-top: -4px;
|
||||
margin-left: 4px;
|
||||
vertical-align: middle;
|
||||
margin-right: 7px; }
|
||||
|
||||
.wp-block-navigation-placeholder .components-custom-select-control__button {
|
||||
height: auto;
|
||||
margin-bottom: 0;
|
||||
min-width: 220px; }
|
||||
|
||||
.wp-block-navigation-placeholder .components-custom-select-control.has-menus .components-custom-select-control__item {
|
||||
display: list-item;
|
||||
padding: 10px 25px; }
|
||||
.wp-block-navigation-placeholder .components-custom-select-control.has-menus .components-custom-select-control__item.is-create-empty-option {
|
||||
position: relative;
|
||||
margin-top: 20px; }
|
||||
.wp-block-navigation-placeholder .components-custom-select-control.has-menus .components-custom-select-control__item.is-create-empty-option::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: -10px;
|
||||
left: 25px;
|
||||
right: 25px;
|
||||
display: list-item;
|
||||
height: 15px;
|
||||
border-top: 1px solid #757575; }
|
||||
|
||||
.wp-block-navigation-placeholder .components-custom-select-control__menu {
|
||||
margin-top: 3px;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px; }
|
||||
|
||||
.is-small-text {
|
||||
font-size: 14px; }
|
||||
|
||||
@ -1699,9 +1673,9 @@ p.wp-block-subhead {
|
||||
border-spacing: 0;
|
||||
border-collapse: inherit;
|
||||
background-color: transparent;
|
||||
border-bottom: 1px solid #f3f4f5; }
|
||||
border-bottom: 1px solid #f0f0f0; }
|
||||
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
|
||||
background-color: #f3f4f5; }
|
||||
background-color: #f0f0f0; }
|
||||
.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd) {
|
||||
background-color: #f3f4f5; }
|
||||
.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd) {
|
||||
|
File diff suppressed because one or more lines are too long
12
wp-includes/css/dist/block-library/theme-rtl.css
vendored
12
wp-includes/css/dist/block-library/theme-rtl.css
vendored
@ -1,12 +1,20 @@
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Fonts & basic variables.
|
||||
*/
|
||||
@ -73,9 +81,9 @@
|
||||
.wp-block-code {
|
||||
font-family: Menlo, Consolas, monaco, monospace;
|
||||
font-size: 15px;
|
||||
color: #23282d;
|
||||
color: #1e1e1e;
|
||||
padding: 0.8em 1em;
|
||||
border: 1px solid #e2e4e7;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 4px; }
|
||||
|
||||
.wp-block-embed figcaption {
|
||||
|
@ -1 +1 @@
|
||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}#start-resizable-editor-section{display:none}.wp-block-audio figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;font-size:15px;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px}.blocks-gallery-caption,.wp-block-embed figcaption,.wp-block-image figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;margin-bottom:28px;color:#40464d}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:#40464d;text-transform:uppercase;font-size:13px;font-style:normal}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none}.wp-block-navigation-link.wp-block-navigation-link{margin:0}.wp-block-quote{border-right:4px solid #000;margin:0 0 28px;padding-right:1em}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:#6c7781;font-size:13px;margin-top:1em;position:relative;font-style:normal}.wp-block-quote.has-text-align-right{border-right:none;border-left:4px solid #000;padding-right:0;padding-left:1em}.wp-block-quote.has-text-align-center{border:none;padding-right:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-group.has-background{padding:20px 30px;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;margin-right:auto;margin-left:auto}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table{border-collapse:collapse}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-table figcaption,.wp-block-video figcaption{color:#555d66;font-size:13px;text-align:center}#end-resizable-editor-section{display:none}
|
||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}#start-resizable-editor-section{display:none}.wp-block-audio figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;font-size:15px;color:#1e1e1e;padding:.8em 1em;border:1px solid #ddd;border-radius:4px}.blocks-gallery-caption,.wp-block-embed figcaption,.wp-block-image figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;margin-bottom:28px;color:#40464d}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:#40464d;text-transform:uppercase;font-size:13px;font-style:normal}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none}.wp-block-navigation-link.wp-block-navigation-link{margin:0}.wp-block-quote{border-right:4px solid #000;margin:0 0 28px;padding-right:1em}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:#6c7781;font-size:13px;margin-top:1em;position:relative;font-style:normal}.wp-block-quote.has-text-align-right{border-right:none;border-left:4px solid #000;padding-right:0;padding-left:1em}.wp-block-quote.has-text-align-center{border:none;padding-right:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-group.has-background{padding:20px 30px;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;margin-right:auto;margin-left:auto}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table{border-collapse:collapse}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-table figcaption,.wp-block-video figcaption{color:#555d66;font-size:13px;text-align:center}#end-resizable-editor-section{display:none}
|
12
wp-includes/css/dist/block-library/theme.css
vendored
12
wp-includes/css/dist/block-library/theme.css
vendored
@ -1,12 +1,20 @@
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Fonts & basic variables.
|
||||
*/
|
||||
@ -73,9 +81,9 @@
|
||||
.wp-block-code {
|
||||
font-family: Menlo, Consolas, monaco, monospace;
|
||||
font-size: 15px;
|
||||
color: #23282d;
|
||||
color: #1e1e1e;
|
||||
padding: 0.8em 1em;
|
||||
border: 1px solid #e2e4e7;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 4px; }
|
||||
|
||||
.wp-block-embed figcaption {
|
||||
|
@ -1 +1 @@
|
||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}#start-resizable-editor-section{display:none}.wp-block-audio figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;font-size:15px;color:#23282d;padding:.8em 1em;border:1px solid #e2e4e7;border-radius:4px}.blocks-gallery-caption,.wp-block-embed figcaption,.wp-block-image figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;margin-bottom:28px;color:#40464d}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:#40464d;text-transform:uppercase;font-size:13px;font-style:normal}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none}.wp-block-navigation-link.wp-block-navigation-link{margin:0}.wp-block-quote{border-left:4px solid #000;margin:0 0 28px;padding-left:1em}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:#6c7781;font-size:13px;margin-top:1em;position:relative;font-style:normal}.wp-block-quote.has-text-align-right{border-left:none;border-right:4px solid #000;padding-left:0;padding-right:1em}.wp-block-quote.has-text-align-center{border:none;padding-left:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-group.has-background{padding:20px 30px;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;margin-left:auto;margin-right:auto}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table{border-collapse:collapse}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-table figcaption,.wp-block-video figcaption{color:#555d66;font-size:13px;text-align:center}#end-resizable-editor-section{display:none}
|
||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}#start-resizable-editor-section{display:none}.wp-block-audio figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;font-size:15px;color:#1e1e1e;padding:.8em 1em;border:1px solid #ddd;border-radius:4px}.blocks-gallery-caption,.wp-block-embed figcaption,.wp-block-image figcaption{color:#555d66;font-size:13px;text-align:center}.wp-block-pullquote{border-top:4px solid #555d66;border-bottom:4px solid #555d66;margin-bottom:28px;color:#40464d}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:#40464d;text-transform:uppercase;font-size:13px;font-style:normal}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none}.wp-block-navigation-link.wp-block-navigation-link{margin:0}.wp-block-quote{border-left:4px solid #000;margin:0 0 28px;padding-left:1em}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:#6c7781;font-size:13px;margin-top:1em;position:relative;font-style:normal}.wp-block-quote.has-text-align-right{border-left:none;border-right:4px solid #000;padding-left:0;padding-right:1em}.wp-block-quote.has-text-align-center{border:none;padding-left:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-group.has-background{padding:20px 30px;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid #8f98a1;margin-left:auto;margin-right:auto}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table{border-collapse:collapse}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-table figcaption,.wp-block-video figcaption{color:#555d66;font-size:13px;text-align:center}#end-resizable-editor-section{display:none}
|
294
wp-includes/css/dist/components/style-rtl.css
vendored
294
wp-includes/css/dist/components/style-rtl.css
vendored
@ -1,12 +1,20 @@
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Fonts & basic variables.
|
||||
*/
|
||||
@ -142,12 +150,12 @@
|
||||
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.components-angle-picker-control__input-field[type="number"]::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-angle-picker-control__input-field[type="number"]::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-angle-picker-control__input-field[type="number"]:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .components-angle-picker-control__input-field[type="number"]::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.is-dark-theme .components-angle-picker-control__input-field[type="number"]::-moz-placeholder {
|
||||
@ -244,7 +252,6 @@
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
padding: 6px 12px;
|
||||
overflow: hidden;
|
||||
border-radius: 2px;
|
||||
color: #1e1e1e;
|
||||
/**
|
||||
@ -261,6 +268,9 @@
|
||||
*/
|
||||
/**
|
||||
* Link buttons.
|
||||
*/
|
||||
/**
|
||||
* Buttons that indicate destructive actions.
|
||||
*/ }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.components-button {
|
||||
@ -315,7 +325,7 @@
|
||||
border-color: #007cba;
|
||||
border-color: var(--wp-admin-theme-color); }
|
||||
.components-button.is-secondary:active:not(:disabled), .components-button.is-tertiary:active:not(:disabled) {
|
||||
background: #e7e8e9;
|
||||
background: #ddd;
|
||||
color: #006ba1;
|
||||
color: var(--wp-admin-theme-color-darker-10);
|
||||
box-shadow: none; }
|
||||
@ -326,7 +336,7 @@
|
||||
box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color-darker-10); }
|
||||
.components-button.is-secondary:disabled, .components-button.is-secondary[aria-disabled="true"], .components-button.is-secondary[aria-disabled="true"]:hover, .components-button.is-tertiary:disabled, .components-button.is-tertiary[aria-disabled="true"], .components-button.is-tertiary[aria-disabled="true"]:hover {
|
||||
color: #828282;
|
||||
background: #f4f5f5;
|
||||
background: #eaeaea;
|
||||
transform: none;
|
||||
opacity: 1;
|
||||
box-shadow: none; }
|
||||
@ -343,7 +353,8 @@
|
||||
color: #007cba;
|
||||
color: var(--wp-admin-theme-color);
|
||||
background: transparent;
|
||||
padding: 6px; }
|
||||
padding: 6px;
|
||||
outline: 1px dotted transparent; }
|
||||
.components-button.is-tertiary .dashicon {
|
||||
display: inline-block;
|
||||
flex: 0 0 auto; }
|
||||
@ -371,8 +382,15 @@
|
||||
.components-button.is-link:focus {
|
||||
color: #124964;
|
||||
box-shadow: 0 0 0 1px #5b9dd9, 0 0 1.5px 1px rgba(30, 140, 190, 0.8); }
|
||||
.components-button.is-link.is-destructive {
|
||||
color: #d94f4f; }
|
||||
.components-button.is-destructive {
|
||||
color: #b52727; }
|
||||
.components-button.is-destructive.is-secondary {
|
||||
box-shadow: inset 0 0 0 1px #b52727; }
|
||||
.components-button.is-destructive:hover:not(:disabled), .components-button.is-destructive:active:not(:disabled) {
|
||||
color: #a02222;
|
||||
box-shadow: inset 0 0 0 1px #a02222; }
|
||||
.components-button.is-destructive:focus:not(:disabled) {
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 1.5px #a02222; }
|
||||
.components-button:not([aria-disabled="true"]):active {
|
||||
color: inherit; }
|
||||
.components-button:disabled, .components-button[aria-disabled="true"] {
|
||||
@ -434,7 +452,7 @@
|
||||
font-size: 16px;
|
||||
/* Override core line-height. To be reviewed. */
|
||||
line-height: normal;
|
||||
border: 2px solid #757575;
|
||||
border: 1px solid #1e1e1e;
|
||||
margin-left: 12px;
|
||||
transition: none;
|
||||
border-radius: 2px;
|
||||
@ -469,12 +487,12 @@
|
||||
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.components-checkbox-control__input[type="checkbox"]::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-checkbox-control__input[type="checkbox"]::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-checkbox-control__input[type="checkbox"]:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .components-checkbox-control__input[type="checkbox"]::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.is-dark-theme .components-checkbox-control__input[type="checkbox"]::-moz-placeholder {
|
||||
@ -483,15 +501,16 @@
|
||||
.is-dark-theme .components-checkbox-control__input[type="checkbox"]:-ms-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.components-checkbox-control__input[type="checkbox"]:focus {
|
||||
border-color: #757575;
|
||||
box-shadow: 0 0 0 1px #757575; }
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #007cba;
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.components-checkbox-control__input[type="checkbox"]:checked {
|
||||
background: #007cba;
|
||||
background: var(--wp-admin-theme-color);
|
||||
border-color: #007cba;
|
||||
border-color: var(--wp-admin-theme-color); }
|
||||
.components-checkbox-control__input[type="checkbox"]:checked:focus {
|
||||
box-shadow: 0 0 0 1.5px #757575; }
|
||||
.components-checkbox-control__input[type="checkbox"]:checked::-ms-check {
|
||||
opacity: 0; }
|
||||
.components-checkbox-control__input[type="checkbox"]:checked::before, .components-checkbox-control__input[type="checkbox"][aria-checked="mixed"]::before {
|
||||
margin: -3px -5px;
|
||||
color: #fff; }
|
||||
@ -519,8 +538,6 @@
|
||||
.components-checkbox-control__input[type="checkbox"][aria-checked="mixed"]::before {
|
||||
float: none;
|
||||
font-size: 21px; } }
|
||||
.components-checkbox-control__input[type="checkbox"][aria-checked="mixed"]:focus {
|
||||
box-shadow: 0 0 0 1.5px #555d66; }
|
||||
@media (min-width: 600px) {
|
||||
.components-checkbox-control__input[type="checkbox"] {
|
||||
height: 20px;
|
||||
@ -529,8 +546,8 @@
|
||||
.components-checkbox-control__input[type="checkbox"] {
|
||||
transition-duration: 0s; } }
|
||||
.components-checkbox-control__input[type="checkbox"]:focus {
|
||||
box-shadow: 0 0 0 2px #007cba;
|
||||
box-shadow: 0 0 0 2px var(--wp-admin-theme-color);
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #007cba;
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.components-checkbox-control__input[type="checkbox"]:checked {
|
||||
background: #007cba;
|
||||
@ -539,8 +556,6 @@
|
||||
border-color: var(--wp-admin-theme-color); }
|
||||
.components-checkbox-control__input[type="checkbox"]:checked::-ms-check {
|
||||
opacity: 0; }
|
||||
.components-checkbox-control__input[type="checkbox"]:focus:checked {
|
||||
border: none; }
|
||||
.components-checkbox-control__input[type="checkbox"]:checked::before {
|
||||
content: none; }
|
||||
|
||||
@ -843,12 +858,15 @@ svg.components-checkbox-control__checked {
|
||||
transition-duration: 0s; } }
|
||||
|
||||
.components-color-picker__saturation-pointer:focus {
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 4px #00a0d2, 0 0 5px 0 #00a0d2, inset 0 0 1px 1px rgba(0, 0, 0, 0.3), 0 0 1px 2px rgba(0, 0, 0, 0.4); }
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 4px #007cba, 0 0 5px 0 #007cba, inset 0 0 1px 1px rgba(0, 0, 0, 0.3), 0 0 1px 2px rgba(0, 0, 0, 0.4);
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color), 0 0 5px 0 var(--wp-admin-theme-color), inset 0 0 1px 1px rgba(0, 0, 0, 0.3), 0 0 1px 2px rgba(0, 0, 0, 0.4); }
|
||||
|
||||
.components-color-picker__hue-pointer:focus,
|
||||
.components-color-picker__alpha-pointer:focus {
|
||||
border-color: #00a0d2;
|
||||
box-shadow: 0 0 0 2px #00a0d2, 0 0 3px 0 #00a0d2;
|
||||
border-color: #007cba;
|
||||
border-color: var(--wp-admin-theme-color);
|
||||
box-shadow: 0 0 0 2px #007cba, 0 0 3px 0 #007cba;
|
||||
box-shadow: 0 0 0 2px var(--wp-admin-theme-color), 0 0 3px 0 var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent;
|
||||
outline-offset: -2px; }
|
||||
|
||||
@ -883,6 +901,61 @@ svg.components-checkbox-control__checked {
|
||||
height: 30px;
|
||||
padding: 0 5px; }
|
||||
|
||||
.components-combobox-control {
|
||||
color: #555d66;
|
||||
position: relative; }
|
||||
|
||||
.components-combobox-control__label {
|
||||
display: block;
|
||||
margin-bottom: 5px; }
|
||||
|
||||
.components-combobox-control__button {
|
||||
border: 1px solid #7e8993;
|
||||
border-radius: 4px;
|
||||
color: #555d66;
|
||||
display: inline-block;
|
||||
min-height: 30px;
|
||||
min-width: 130px;
|
||||
position: relative;
|
||||
text-align: right; }
|
||||
.components-combobox-control__button:focus {
|
||||
border-color: #007cba;
|
||||
border-color: var(--wp-admin-theme-color); }
|
||||
.components-combobox-control__button-input {
|
||||
border: none;
|
||||
height: calc(100% - 2px);
|
||||
right: 1px;
|
||||
padding: 0 4px;
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
width: calc(100% - 2px); }
|
||||
.components-combobox-control__button-button:hover {
|
||||
box-shadow: none !important; }
|
||||
.components-combobox-control__button-icon {
|
||||
height: 100%;
|
||||
padding: 0 4px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0; }
|
||||
|
||||
.components-combobox-control__menu {
|
||||
background: #fff;
|
||||
min-width: 100%;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
z-index: 1000000; }
|
||||
|
||||
.components-combobox-control__item {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
list-style-type: none;
|
||||
padding: 10px 25px 10px 5px; }
|
||||
.components-combobox-control__item.is-highlighted {
|
||||
background: #ddd; }
|
||||
.components-combobox-control__item-icon {
|
||||
margin-right: -20px;
|
||||
margin-left: 0; }
|
||||
|
||||
.components-custom-gradient-picker {
|
||||
margin-top: 8px; }
|
||||
|
||||
@ -1005,7 +1078,7 @@ svg.components-checkbox-control__checked {
|
||||
padding: 10px 25px 10px 5px;
|
||||
cursor: default; }
|
||||
.components-custom-select-control__item.is-highlighted {
|
||||
background: #e2e4e7; }
|
||||
background: #ddd; }
|
||||
.components-custom-select-control__item-icon {
|
||||
margin-right: -20px;
|
||||
margin-left: 0; }
|
||||
@ -1865,7 +1938,7 @@ svg.dashicon {
|
||||
|
||||
.components-datetime__date {
|
||||
min-height: 236px;
|
||||
border-top: 1px solid #e2e4e7; }
|
||||
border-top: 1px solid #ddd; }
|
||||
.components-datetime__date .DayPickerNavigation_leftButton__horizontalDefault {
|
||||
right: 0; }
|
||||
.components-datetime__date .CalendarMonth_caption {
|
||||
@ -1944,9 +2017,9 @@ svg.dashicon {
|
||||
margin: 0; }
|
||||
.components-datetime__time.is-12-hour .components-datetime__time-field-day input {
|
||||
margin: -4px 0 0 !important;
|
||||
border-radius: 0 4px 4px 0 !important; }
|
||||
border-radius: 0 2px 2px 0 !important; }
|
||||
.components-datetime__time.is-12-hour .components-datetime__time-field-year input {
|
||||
border-radius: 4px 0 0 4px !important; }
|
||||
border-radius: 2px 0 0 2px !important; }
|
||||
|
||||
.components-datetime__time-legend {
|
||||
font-weight: 600;
|
||||
@ -2015,9 +2088,6 @@ body.is-dragging-components-draggable {
|
||||
background: transparent;
|
||||
pointer-events: none;
|
||||
z-index: 1000000000; }
|
||||
.components-draggable__clone > * {
|
||||
margin-top: 0 !important;
|
||||
margin-bottom: 0 !important; }
|
||||
|
||||
.components-drop-zone {
|
||||
position: absolute;
|
||||
@ -2029,7 +2099,8 @@ body.is-dragging-components-draggable {
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
transition: 0.3s opacity, 0.3s background-color, 0s visibility 0.3s;
|
||||
border: 2px solid #0071a1;
|
||||
border: 2px solid #007cba;
|
||||
border: 2px solid var(--wp-admin-theme-color);
|
||||
border-radius: 2px; }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.components-drop-zone {
|
||||
@ -2042,7 +2113,8 @@ body.is-dragging-components-draggable {
|
||||
.components-drop-zone.is-active {
|
||||
transition-duration: 0s; } }
|
||||
.components-drop-zone.is-dragging-over-element {
|
||||
background-color: rgba(0, 113, 161, 0.8); }
|
||||
background-color: #007cba;
|
||||
background-color: var(--wp-admin-theme-color); }
|
||||
|
||||
.components-drop-zone__content {
|
||||
position: absolute;
|
||||
@ -2108,7 +2180,7 @@ body.is-dragging-components-draggable {
|
||||
display: block;
|
||||
content: "";
|
||||
box-sizing: content-box;
|
||||
background-color: #e2e4e7;
|
||||
background-color: #ddd;
|
||||
position: absolute;
|
||||
top: -3px;
|
||||
right: 0;
|
||||
@ -2163,7 +2235,7 @@ body.is-dragging-components-draggable {
|
||||
|
||||
.components-focal-point-picker-wrapper {
|
||||
background-color: transparent;
|
||||
border: 1px solid #e2e4e7;
|
||||
border: 1px solid #ddd;
|
||||
height: 200px;
|
||||
width: 100%;
|
||||
padding: 14px; }
|
||||
@ -2261,12 +2333,12 @@ body.is-dragging-components-draggable {
|
||||
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.components-font-size-picker__controls .components-font-size-picker__number::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-font-size-picker__controls .components-font-size-picker__number::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-font-size-picker__controls .components-font-size-picker__number:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .components-font-size-picker__controls .components-font-size-picker__number::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.is-dark-theme .components-font-size-picker__controls .components-font-size-picker__number::-moz-placeholder {
|
||||
@ -2305,7 +2377,7 @@ body.is-dragging-components-draggable {
|
||||
box-sizing: border-box;
|
||||
vertical-align: top;
|
||||
background-color: #fff;
|
||||
border: 2px solid #6c7781;
|
||||
border: 1px solid #1e1e1e;
|
||||
width: 36px;
|
||||
height: 18px;
|
||||
border-radius: 9px;
|
||||
@ -2317,31 +2389,24 @@ body.is-dragging-components-draggable {
|
||||
display: block;
|
||||
position: absolute;
|
||||
box-sizing: border-box;
|
||||
top: 4px;
|
||||
right: 4px;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
top: 3px;
|
||||
right: 3px;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
transition: 0.1s transform ease;
|
||||
background-color: #6c7781;
|
||||
border: 5px solid #6c7781; }
|
||||
background-color: #1e1e1e;
|
||||
border: 5px solid #1e1e1e; }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.components-form-toggle .components-form-toggle__thumb {
|
||||
transition-duration: 0s; } }
|
||||
.components-form-toggle:hover .components-form-toggle__track {
|
||||
border: 2px solid #555d66; }
|
||||
.components-form-toggle:hover .components-form-toggle__thumb {
|
||||
background-color: #555d66;
|
||||
border: 5px solid #6c7781; }
|
||||
.components-form-toggle:hover .components-form-toggle__off {
|
||||
color: #555d66; }
|
||||
.components-form-toggle.is-checked .components-form-toggle__track {
|
||||
background-color: #007cba;
|
||||
background-color: var(--wp-admin-theme-color);
|
||||
border: 2px solid #007cba;
|
||||
border: 2px solid var(--wp-admin-theme-color);
|
||||
border: 1px solid #007cba;
|
||||
border: 1px solid var(--wp-admin-theme-color);
|
||||
border: 9px solid transparent; }
|
||||
.components-form-toggle__input:focus + .components-form-toggle__track {
|
||||
.components-form-toggle .components-form-toggle__input:focus + .components-form-toggle__track {
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #007cba;
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent;
|
||||
@ -2402,12 +2467,12 @@ body.is-dragging-components-draggable {
|
||||
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.components-form-token-field__input-container::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-form-token-field__input-container::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-form-token-field__input-container:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .components-form-token-field__input-container::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.is-dark-theme .components-form-token-field__input-container::-moz-placeholder {
|
||||
@ -2416,7 +2481,7 @@ body.is-dragging-components-draggable {
|
||||
.is-dark-theme .components-form-token-field__input-container:-ms-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.components-form-token-field__input-container.is-disabled {
|
||||
background: #e2e4e7;
|
||||
background: #ddd;
|
||||
border-color: #ccd0d4; }
|
||||
.components-form-token-field__input-container input[type="text"].components-form-token-field__input {
|
||||
display: inline-block;
|
||||
@ -2427,7 +2492,7 @@ body.is-dragging-components-draggable {
|
||||
min-height: 24px;
|
||||
background: inherit;
|
||||
border: 0;
|
||||
color: #23282d;
|
||||
color: #1e1e1e;
|
||||
box-shadow: none; }
|
||||
.components-form-token-field__input-container input[type="text"].components-form-token-field__input:focus,
|
||||
.components-form-token-field.is-active .components-form-token-field__input-container input[type="text"].components-form-token-field__input {
|
||||
@ -2478,7 +2543,7 @@ body.is-dragging-components-draggable {
|
||||
border-radius: 0 4px 4px 0;
|
||||
padding: 0 6px 0 4px; }
|
||||
.components-form-token-field__token.is-borderless.is-validating .components-form-token-field__token-text {
|
||||
color: #23282d; }
|
||||
color: #1e1e1e; }
|
||||
.components-form-token-field__token.is-disabled .components-form-token-field__remove-token {
|
||||
cursor: default; }
|
||||
|
||||
@ -2487,7 +2552,7 @@ body.is-dragging-components-draggable {
|
||||
display: inline-block;
|
||||
line-height: 24px;
|
||||
height: auto;
|
||||
background: #e2e4e7;
|
||||
background: #ddd;
|
||||
transition: all 0.2s cubic-bezier(0.4, 1, 0.4, 1); }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.components-form-token-field__token-text,
|
||||
@ -2533,7 +2598,8 @@ body.is-dragging-components-draggable {
|
||||
padding: 4px 8px;
|
||||
cursor: pointer; }
|
||||
.components-form-token-field__suggestion.is-selected {
|
||||
background: #0071a1;
|
||||
background: #007cba;
|
||||
background: var(--wp-admin-theme-color);
|
||||
color: #fff; }
|
||||
|
||||
.components-form-token-field__suggestion-match {
|
||||
@ -2648,13 +2714,15 @@ body.is-dragging-components-draggable {
|
||||
left: 0;
|
||||
pointer-events: none;
|
||||
outline: 4px solid transparent;
|
||||
box-shadow: inset 0 0 0 4px #33b3db; }
|
||||
box-shadow: inset 0 0 0 4px #007cba;
|
||||
box-shadow: inset 0 0 0 4px var(--wp-admin-theme-color); }
|
||||
@supports (outline-offset: 1px) {
|
||||
.components-navigate-regions.is-focusing-regions [role="region"]:focus::after {
|
||||
content: none; }
|
||||
.components-navigate-regions.is-focusing-regions [role="region"]:focus {
|
||||
outline-style: solid;
|
||||
outline-color: #33b3db;
|
||||
outline-color: #007cba;
|
||||
outline-color: var(--wp-admin-theme-color);
|
||||
outline-width: 4px;
|
||||
outline-offset: -4px; } }
|
||||
|
||||
@ -2741,9 +2809,9 @@ body.is-dragging-components-draggable {
|
||||
right: 0;
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
border: 1px solid #e2e4e7;
|
||||
border: 1px solid #ddd;
|
||||
background: #fff;
|
||||
box-shadow: 0 3px 30px rgba(25, 30, 35, 0.2);
|
||||
box-shadow: 0 3px 30px rgba(0, 0, 0, 0.2);
|
||||
overflow: auto; }
|
||||
@media (min-width: 600px) {
|
||||
.components-modal__frame {
|
||||
@ -2769,7 +2837,7 @@ body.is-dragging-components-draggable {
|
||||
|
||||
.components-modal__header {
|
||||
box-sizing: border-box;
|
||||
border-bottom: 1px solid #e2e4e7;
|
||||
border-bottom: 1px solid #ddd;
|
||||
padding: 0 24px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
@ -2823,8 +2891,9 @@ body.is-dragging-components-draggable {
|
||||
display: flex;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
background-color: #e5f5fa;
|
||||
border-right: 4px solid #00a0d2;
|
||||
background-color: #fff;
|
||||
border-right: 4px solid #007cba;
|
||||
border-right: 4px solid var(--wp-admin-theme-color);
|
||||
margin: 5px 15px 2px;
|
||||
padding: 8px 12px;
|
||||
align-items: center; }
|
||||
@ -2856,7 +2925,7 @@ body.is-dragging-components-draggable {
|
||||
align-self: flex-start;
|
||||
flex-shrink: 0; }
|
||||
.components-notice__dismiss:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover, .components-notice__dismiss:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):active, .components-notice__dismiss:not(:disabled):not([aria-disabled="true"]):focus {
|
||||
color: #191e23;
|
||||
color: #1e1e1e;
|
||||
background-color: transparent; }
|
||||
.components-notice__dismiss:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover {
|
||||
box-shadow: none; }
|
||||
@ -2876,7 +2945,7 @@ body.is-dragging-components-draggable {
|
||||
|
||||
.components-panel {
|
||||
background: #fff;
|
||||
border: 1px solid #e2e4e7; }
|
||||
border: 1px solid #f0f0f0; }
|
||||
.components-panel > .components-panel__header:first-child,
|
||||
.components-panel > .components-panel__body:first-child {
|
||||
margin-top: -1px; }
|
||||
@ -2888,8 +2957,8 @@ body.is-dragging-components-draggable {
|
||||
margin-top: -1px; }
|
||||
|
||||
.components-panel__body {
|
||||
border-top: 1px solid #e2e4e7;
|
||||
border-bottom: 1px solid #e2e4e7; }
|
||||
border-top: 1px solid #f0f0f0;
|
||||
border-bottom: 1px solid #f0f0f0; }
|
||||
.components-panel__body h3 {
|
||||
margin: 0 0 0.5em; }
|
||||
.components-panel__body.is-opened {
|
||||
@ -2901,8 +2970,8 @@ body.is-dragging-components-draggable {
|
||||
align-items: center;
|
||||
padding: 0 16px;
|
||||
height: 48px;
|
||||
border-top: 1px solid #e2e4e7;
|
||||
border-bottom: 1px solid #e2e4e7; }
|
||||
border-top: 1px solid #ddd;
|
||||
border-bottom: 1px solid #ddd; }
|
||||
.components-panel__header h2 {
|
||||
margin: 0;
|
||||
font-size: inherit;
|
||||
@ -2930,7 +2999,7 @@ body.is-dragging-components-draggable {
|
||||
margin-bottom: 5px; }
|
||||
|
||||
.components-panel__body > .components-panel__body-title:hover {
|
||||
background: #f3f4f5;
|
||||
background: #f0f0f0;
|
||||
border: none; }
|
||||
|
||||
.components-panel__body-toggle.components-button {
|
||||
@ -2957,7 +3026,7 @@ body.is-dragging-components-draggable {
|
||||
left: 16px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
color: #191e23;
|
||||
color: #1e1e1e;
|
||||
fill: currentColor;
|
||||
transition: 0.1s color ease-in-out; }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
@ -2984,11 +3053,12 @@ body.is-dragging-components-draggable {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-top: 20px; }
|
||||
margin-top: 8px;
|
||||
min-height: 36px; }
|
||||
.components-panel__row select {
|
||||
min-width: 0; }
|
||||
.components-panel__row label {
|
||||
margin-left: 10px;
|
||||
margin-left: 12px;
|
||||
flex-shrink: 0;
|
||||
max-width: 75%; }
|
||||
.components-panel__row:empty, .components-panel__row:first-of-type {
|
||||
@ -3081,12 +3151,12 @@ body.is-dragging-components-draggable {
|
||||
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.components-placeholder__input[type="url"]::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-placeholder__input[type="url"]::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-placeholder__input[type="url"]:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .components-placeholder__input[type="url"]::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.is-dark-theme .components-placeholder__input[type="url"]::-moz-placeholder {
|
||||
@ -3299,7 +3369,7 @@ body.is-dragging-components-draggable {
|
||||
font-size: 16px;
|
||||
/* Override core line-height. To be reviewed. */
|
||||
line-height: normal;
|
||||
border: 2px solid #757575;
|
||||
border: 1px solid #1e1e1e;
|
||||
margin-left: 12px;
|
||||
transition: none;
|
||||
border-radius: 50%;
|
||||
@ -3320,12 +3390,12 @@ body.is-dragging-components-draggable {
|
||||
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.components-radio-control__input[type="radio"]::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-radio-control__input[type="radio"]::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-radio-control__input[type="radio"]:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .components-radio-control__input[type="radio"]::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.is-dark-theme .components-radio-control__input[type="radio"]::-moz-placeholder {
|
||||
@ -3334,23 +3404,24 @@ body.is-dragging-components-draggable {
|
||||
.is-dark-theme .components-radio-control__input[type="radio"]:-ms-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.components-radio-control__input[type="radio"]:checked::before {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
margin: 6px 6px 0 0;
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
margin: 8px 8px 0 0;
|
||||
background-color: #fff; }
|
||||
@media (min-width: 782px) {
|
||||
.components-radio-control__input[type="radio"]:checked::before {
|
||||
margin: 3px 3px 0 0; } }
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
margin: 4px 4px 0 0; } }
|
||||
.components-radio-control__input[type="radio"]:focus {
|
||||
border-color: #757575;
|
||||
box-shadow: 0 0 0 1px #757575; }
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #007cba;
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.components-radio-control__input[type="radio"]:checked {
|
||||
background: #007cba;
|
||||
background: var(--wp-admin-theme-color);
|
||||
border-color: #007cba;
|
||||
border-color: var(--wp-admin-theme-color); }
|
||||
.components-radio-control__input[type="radio"]:checked:focus {
|
||||
box-shadow: 0 0 0 1.5px #757575; }
|
||||
|
||||
.components-resizable-box__handle {
|
||||
display: none;
|
||||
@ -3521,8 +3592,8 @@ body.lockscroll {
|
||||
.components-snackbar {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
background-color: #32373c;
|
||||
border-radius: 4px;
|
||||
background-color: #1e1e1e;
|
||||
border-radius: 2px;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
||||
color: #fff;
|
||||
padding: 16px 24px;
|
||||
@ -3533,10 +3604,7 @@ body.lockscroll {
|
||||
@media (min-width: 600px) {
|
||||
.components-snackbar {
|
||||
width: fit-content; } }
|
||||
.components-snackbar:hover {
|
||||
background-color: #191e23; }
|
||||
.components-snackbar:focus {
|
||||
background-color: #191e23;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--wp-admin-theme-color); }
|
||||
|
||||
@ -3555,7 +3623,8 @@ body.lockscroll {
|
||||
box-shadow: none;
|
||||
outline: 1px dotted #fff; }
|
||||
.components-snackbar__action.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover {
|
||||
color: #33b3db; }
|
||||
color: #007cba;
|
||||
color: var(--wp-admin-theme-color); }
|
||||
|
||||
.components-snackbar__content {
|
||||
display: flex;
|
||||
@ -3737,7 +3806,7 @@ body.lockscroll {
|
||||
.components-text-control__input[type="email"]::-webkit-input-placeholder,
|
||||
.components-text-control__input[type="month"]::-webkit-input-placeholder,
|
||||
.components-text-control__input[type="number"]::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-text-control__input::-moz-placeholder,
|
||||
.components-text-control__input[type="text"]::-moz-placeholder,
|
||||
.components-text-control__input[type="tel"]::-moz-placeholder,
|
||||
@ -3753,7 +3822,7 @@ body.lockscroll {
|
||||
.components-text-control__input[type="month"]::-moz-placeholder,
|
||||
.components-text-control__input[type="number"]::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-text-control__input:-ms-input-placeholder,
|
||||
.components-text-control__input[type="text"]:-ms-input-placeholder,
|
||||
.components-text-control__input[type="tel"]:-ms-input-placeholder,
|
||||
@ -3768,7 +3837,7 @@ body.lockscroll {
|
||||
.components-text-control__input[type="email"]:-ms-input-placeholder,
|
||||
.components-text-control__input[type="month"]:-ms-input-placeholder,
|
||||
.components-text-control__input[type="number"]:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .components-text-control__input::-webkit-input-placeholder, .is-dark-theme
|
||||
.components-text-control__input[type="text"]::-webkit-input-placeholder, .is-dark-theme
|
||||
.components-text-control__input[type="tel"]::-webkit-input-placeholder, .is-dark-theme
|
||||
@ -3843,12 +3912,12 @@ body.lockscroll {
|
||||
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.components-textarea-control__input::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-textarea-control__input::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-textarea-control__input:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .components-textarea-control__input::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.is-dark-theme .components-textarea-control__input::-moz-placeholder {
|
||||
@ -4011,7 +4080,7 @@ div.components-toolbar > div + div.has-left-divider::before {
|
||||
display: inline-block;
|
||||
content: "";
|
||||
box-sizing: content-box;
|
||||
background-color: #e2e4e7;
|
||||
background-color: #ddd;
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
right: -3px;
|
||||
@ -4079,6 +4148,9 @@ div.components-toolbar > div + div.has-left-divider::before {
|
||||
color: #fff;
|
||||
white-space: nowrap;
|
||||
text-align: center;
|
||||
line-height: 1.4;
|
||||
font-size: 12px;
|
||||
box-shadow: none;
|
||||
pointer-events: none; }
|
||||
.components-tooltip .components-popover__content > div {
|
||||
padding: 4px 8px; }
|
||||
@ -4101,7 +4173,7 @@ div.components-toolbar > div + div.has-left-divider::before {
|
||||
word-wrap: normal !important; }
|
||||
|
||||
.components-visually-hidden:focus {
|
||||
background-color: #e2e4e7;
|
||||
background-color: #ddd;
|
||||
clip: auto !important;
|
||||
-webkit-clip-path: none;
|
||||
clip-path: none;
|
||||
|
File diff suppressed because one or more lines are too long
294
wp-includes/css/dist/components/style.css
vendored
294
wp-includes/css/dist/components/style.css
vendored
@ -1,12 +1,20 @@
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Fonts & basic variables.
|
||||
*/
|
||||
@ -142,12 +150,12 @@
|
||||
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.components-angle-picker-control__input-field[type="number"]::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-angle-picker-control__input-field[type="number"]::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-angle-picker-control__input-field[type="number"]:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .components-angle-picker-control__input-field[type="number"]::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.is-dark-theme .components-angle-picker-control__input-field[type="number"]::-moz-placeholder {
|
||||
@ -244,7 +252,6 @@
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
padding: 6px 12px;
|
||||
overflow: hidden;
|
||||
border-radius: 2px;
|
||||
color: #1e1e1e;
|
||||
/**
|
||||
@ -261,6 +268,9 @@
|
||||
*/
|
||||
/**
|
||||
* Link buttons.
|
||||
*/
|
||||
/**
|
||||
* Buttons that indicate destructive actions.
|
||||
*/ }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.components-button {
|
||||
@ -315,7 +325,7 @@
|
||||
border-color: #007cba;
|
||||
border-color: var(--wp-admin-theme-color); }
|
||||
.components-button.is-secondary:active:not(:disabled), .components-button.is-tertiary:active:not(:disabled) {
|
||||
background: #e7e8e9;
|
||||
background: #ddd;
|
||||
color: #006ba1;
|
||||
color: var(--wp-admin-theme-color-darker-10);
|
||||
box-shadow: none; }
|
||||
@ -326,7 +336,7 @@
|
||||
box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color-darker-10); }
|
||||
.components-button.is-secondary:disabled, .components-button.is-secondary[aria-disabled="true"], .components-button.is-secondary[aria-disabled="true"]:hover, .components-button.is-tertiary:disabled, .components-button.is-tertiary[aria-disabled="true"], .components-button.is-tertiary[aria-disabled="true"]:hover {
|
||||
color: #828282;
|
||||
background: #f4f5f5;
|
||||
background: #eaeaea;
|
||||
transform: none;
|
||||
opacity: 1;
|
||||
box-shadow: none; }
|
||||
@ -343,7 +353,8 @@
|
||||
color: #007cba;
|
||||
color: var(--wp-admin-theme-color);
|
||||
background: transparent;
|
||||
padding: 6px; }
|
||||
padding: 6px;
|
||||
outline: 1px dotted transparent; }
|
||||
.components-button.is-tertiary .dashicon {
|
||||
display: inline-block;
|
||||
flex: 0 0 auto; }
|
||||
@ -371,8 +382,15 @@
|
||||
.components-button.is-link:focus {
|
||||
color: #124964;
|
||||
box-shadow: 0 0 0 1px #5b9dd9, 0 0 1.5px 1px rgba(30, 140, 190, 0.8); }
|
||||
.components-button.is-link.is-destructive {
|
||||
color: #d94f4f; }
|
||||
.components-button.is-destructive {
|
||||
color: #b52727; }
|
||||
.components-button.is-destructive.is-secondary {
|
||||
box-shadow: inset 0 0 0 1px #b52727; }
|
||||
.components-button.is-destructive:hover:not(:disabled), .components-button.is-destructive:active:not(:disabled) {
|
||||
color: #a02222;
|
||||
box-shadow: inset 0 0 0 1px #a02222; }
|
||||
.components-button.is-destructive:focus:not(:disabled) {
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 1.5px #a02222; }
|
||||
.components-button:not([aria-disabled="true"]):active {
|
||||
color: inherit; }
|
||||
.components-button:disabled, .components-button[aria-disabled="true"] {
|
||||
@ -434,7 +452,7 @@
|
||||
font-size: 16px;
|
||||
/* Override core line-height. To be reviewed. */
|
||||
line-height: normal;
|
||||
border: 2px solid #757575;
|
||||
border: 1px solid #1e1e1e;
|
||||
margin-right: 12px;
|
||||
transition: none;
|
||||
border-radius: 2px;
|
||||
@ -469,12 +487,12 @@
|
||||
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.components-checkbox-control__input[type="checkbox"]::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-checkbox-control__input[type="checkbox"]::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-checkbox-control__input[type="checkbox"]:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .components-checkbox-control__input[type="checkbox"]::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.is-dark-theme .components-checkbox-control__input[type="checkbox"]::-moz-placeholder {
|
||||
@ -483,15 +501,16 @@
|
||||
.is-dark-theme .components-checkbox-control__input[type="checkbox"]:-ms-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.components-checkbox-control__input[type="checkbox"]:focus {
|
||||
border-color: #757575;
|
||||
box-shadow: 0 0 0 1px #757575; }
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #007cba;
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.components-checkbox-control__input[type="checkbox"]:checked {
|
||||
background: #007cba;
|
||||
background: var(--wp-admin-theme-color);
|
||||
border-color: #007cba;
|
||||
border-color: var(--wp-admin-theme-color); }
|
||||
.components-checkbox-control__input[type="checkbox"]:checked:focus {
|
||||
box-shadow: 0 0 0 1.5px #757575; }
|
||||
.components-checkbox-control__input[type="checkbox"]:checked::-ms-check {
|
||||
opacity: 0; }
|
||||
.components-checkbox-control__input[type="checkbox"]:checked::before, .components-checkbox-control__input[type="checkbox"][aria-checked="mixed"]::before {
|
||||
margin: -3px -5px;
|
||||
color: #fff; }
|
||||
@ -519,8 +538,6 @@
|
||||
.components-checkbox-control__input[type="checkbox"][aria-checked="mixed"]::before {
|
||||
float: none;
|
||||
font-size: 21px; } }
|
||||
.components-checkbox-control__input[type="checkbox"][aria-checked="mixed"]:focus {
|
||||
box-shadow: 0 0 0 1.5px #555d66; }
|
||||
@media (min-width: 600px) {
|
||||
.components-checkbox-control__input[type="checkbox"] {
|
||||
height: 20px;
|
||||
@ -529,8 +546,8 @@
|
||||
.components-checkbox-control__input[type="checkbox"] {
|
||||
transition-duration: 0s; } }
|
||||
.components-checkbox-control__input[type="checkbox"]:focus {
|
||||
box-shadow: 0 0 0 2px #007cba;
|
||||
box-shadow: 0 0 0 2px var(--wp-admin-theme-color);
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #007cba;
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.components-checkbox-control__input[type="checkbox"]:checked {
|
||||
background: #007cba;
|
||||
@ -539,8 +556,6 @@
|
||||
border-color: var(--wp-admin-theme-color); }
|
||||
.components-checkbox-control__input[type="checkbox"]:checked::-ms-check {
|
||||
opacity: 0; }
|
||||
.components-checkbox-control__input[type="checkbox"]:focus:checked {
|
||||
border: none; }
|
||||
.components-checkbox-control__input[type="checkbox"]:checked::before {
|
||||
content: none; }
|
||||
|
||||
@ -846,12 +861,15 @@ svg.components-checkbox-control__checked {
|
||||
transition-duration: 0s; } }
|
||||
|
||||
.components-color-picker__saturation-pointer:focus {
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 4px #00a0d2, 0 0 5px 0 #00a0d2, inset 0 0 1px 1px rgba(0, 0, 0, 0.3), 0 0 1px 2px rgba(0, 0, 0, 0.4); }
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 4px #007cba, 0 0 5px 0 #007cba, inset 0 0 1px 1px rgba(0, 0, 0, 0.3), 0 0 1px 2px rgba(0, 0, 0, 0.4);
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color), 0 0 5px 0 var(--wp-admin-theme-color), inset 0 0 1px 1px rgba(0, 0, 0, 0.3), 0 0 1px 2px rgba(0, 0, 0, 0.4); }
|
||||
|
||||
.components-color-picker__hue-pointer:focus,
|
||||
.components-color-picker__alpha-pointer:focus {
|
||||
border-color: #00a0d2;
|
||||
box-shadow: 0 0 0 2px #00a0d2, 0 0 3px 0 #00a0d2;
|
||||
border-color: #007cba;
|
||||
border-color: var(--wp-admin-theme-color);
|
||||
box-shadow: 0 0 0 2px #007cba, 0 0 3px 0 #007cba;
|
||||
box-shadow: 0 0 0 2px var(--wp-admin-theme-color), 0 0 3px 0 var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent;
|
||||
outline-offset: -2px; }
|
||||
|
||||
@ -887,6 +905,61 @@ svg.components-checkbox-control__checked {
|
||||
height: 30px;
|
||||
padding: 0 5px; }
|
||||
|
||||
.components-combobox-control {
|
||||
color: #555d66;
|
||||
position: relative; }
|
||||
|
||||
.components-combobox-control__label {
|
||||
display: block;
|
||||
margin-bottom: 5px; }
|
||||
|
||||
.components-combobox-control__button {
|
||||
border: 1px solid #7e8993;
|
||||
border-radius: 4px;
|
||||
color: #555d66;
|
||||
display: inline-block;
|
||||
min-height: 30px;
|
||||
min-width: 130px;
|
||||
position: relative;
|
||||
text-align: left; }
|
||||
.components-combobox-control__button:focus {
|
||||
border-color: #007cba;
|
||||
border-color: var(--wp-admin-theme-color); }
|
||||
.components-combobox-control__button-input {
|
||||
border: none;
|
||||
height: calc(100% - 2px);
|
||||
left: 1px;
|
||||
padding: 0 4px;
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
width: calc(100% - 2px); }
|
||||
.components-combobox-control__button-button:hover {
|
||||
box-shadow: none !important; }
|
||||
.components-combobox-control__button-icon {
|
||||
height: 100%;
|
||||
padding: 0 4px;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0; }
|
||||
|
||||
.components-combobox-control__menu {
|
||||
background: #fff;
|
||||
min-width: 100%;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
z-index: 1000000; }
|
||||
|
||||
.components-combobox-control__item {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
list-style-type: none;
|
||||
padding: 10px 5px 10px 25px; }
|
||||
.components-combobox-control__item.is-highlighted {
|
||||
background: #ddd; }
|
||||
.components-combobox-control__item-icon {
|
||||
margin-left: -20px;
|
||||
margin-right: 0; }
|
||||
|
||||
.components-custom-gradient-picker {
|
||||
margin-top: 8px; }
|
||||
|
||||
@ -1009,7 +1082,7 @@ svg.components-checkbox-control__checked {
|
||||
padding: 10px 5px 10px 25px;
|
||||
cursor: default; }
|
||||
.components-custom-select-control__item.is-highlighted {
|
||||
background: #e2e4e7; }
|
||||
background: #ddd; }
|
||||
.components-custom-select-control__item-icon {
|
||||
margin-left: -20px;
|
||||
margin-right: 0; }
|
||||
@ -1873,7 +1946,7 @@ svg.dashicon {
|
||||
|
||||
.components-datetime__date {
|
||||
min-height: 236px;
|
||||
border-top: 1px solid #e2e4e7; }
|
||||
border-top: 1px solid #ddd; }
|
||||
.components-datetime__date .DayPickerNavigation_leftButton__horizontalDefault {
|
||||
left: 0; }
|
||||
.components-datetime__date .CalendarMonth_caption {
|
||||
@ -1953,9 +2026,9 @@ svg.dashicon {
|
||||
margin: 0; }
|
||||
.components-datetime__time.is-12-hour .components-datetime__time-field-day input {
|
||||
margin: -4px 0 0 !important;
|
||||
border-radius: 4px 0 0 4px !important; }
|
||||
border-radius: 2px 0 0 2px !important; }
|
||||
.components-datetime__time.is-12-hour .components-datetime__time-field-year input {
|
||||
border-radius: 0 4px 4px 0 !important; }
|
||||
border-radius: 0 2px 2px 0 !important; }
|
||||
|
||||
.components-datetime__time-legend {
|
||||
font-weight: 600;
|
||||
@ -2024,9 +2097,6 @@ body.is-dragging-components-draggable {
|
||||
background: transparent;
|
||||
pointer-events: none;
|
||||
z-index: 1000000000; }
|
||||
.components-draggable__clone > * {
|
||||
margin-top: 0 !important;
|
||||
margin-bottom: 0 !important; }
|
||||
|
||||
.components-drop-zone {
|
||||
position: absolute;
|
||||
@ -2038,7 +2108,8 @@ body.is-dragging-components-draggable {
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
transition: 0.3s opacity, 0.3s background-color, 0s visibility 0.3s;
|
||||
border: 2px solid #0071a1;
|
||||
border: 2px solid #007cba;
|
||||
border: 2px solid var(--wp-admin-theme-color);
|
||||
border-radius: 2px; }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.components-drop-zone {
|
||||
@ -2051,7 +2122,8 @@ body.is-dragging-components-draggable {
|
||||
.components-drop-zone.is-active {
|
||||
transition-duration: 0s; } }
|
||||
.components-drop-zone.is-dragging-over-element {
|
||||
background-color: rgba(0, 113, 161, 0.8); }
|
||||
background-color: #007cba;
|
||||
background-color: var(--wp-admin-theme-color); }
|
||||
|
||||
.components-drop-zone__content {
|
||||
position: absolute;
|
||||
@ -2117,7 +2189,7 @@ body.is-dragging-components-draggable {
|
||||
display: block;
|
||||
content: "";
|
||||
box-sizing: content-box;
|
||||
background-color: #e2e4e7;
|
||||
background-color: #ddd;
|
||||
position: absolute;
|
||||
top: -3px;
|
||||
left: 0;
|
||||
@ -2172,7 +2244,7 @@ body.is-dragging-components-draggable {
|
||||
|
||||
.components-focal-point-picker-wrapper {
|
||||
background-color: transparent;
|
||||
border: 1px solid #e2e4e7;
|
||||
border: 1px solid #ddd;
|
||||
height: 200px;
|
||||
width: 100%;
|
||||
padding: 14px; }
|
||||
@ -2270,12 +2342,12 @@ body.is-dragging-components-draggable {
|
||||
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.components-font-size-picker__controls .components-font-size-picker__number::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-font-size-picker__controls .components-font-size-picker__number::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-font-size-picker__controls .components-font-size-picker__number:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .components-font-size-picker__controls .components-font-size-picker__number::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.is-dark-theme .components-font-size-picker__controls .components-font-size-picker__number::-moz-placeholder {
|
||||
@ -2314,7 +2386,7 @@ body.is-dragging-components-draggable {
|
||||
box-sizing: border-box;
|
||||
vertical-align: top;
|
||||
background-color: #fff;
|
||||
border: 2px solid #6c7781;
|
||||
border: 1px solid #1e1e1e;
|
||||
width: 36px;
|
||||
height: 18px;
|
||||
border-radius: 9px;
|
||||
@ -2326,31 +2398,24 @@ body.is-dragging-components-draggable {
|
||||
display: block;
|
||||
position: absolute;
|
||||
box-sizing: border-box;
|
||||
top: 4px;
|
||||
left: 4px;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
top: 3px;
|
||||
left: 3px;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
transition: 0.1s transform ease;
|
||||
background-color: #6c7781;
|
||||
border: 5px solid #6c7781; }
|
||||
background-color: #1e1e1e;
|
||||
border: 5px solid #1e1e1e; }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.components-form-toggle .components-form-toggle__thumb {
|
||||
transition-duration: 0s; } }
|
||||
.components-form-toggle:hover .components-form-toggle__track {
|
||||
border: 2px solid #555d66; }
|
||||
.components-form-toggle:hover .components-form-toggle__thumb {
|
||||
background-color: #555d66;
|
||||
border: 5px solid #6c7781; }
|
||||
.components-form-toggle:hover .components-form-toggle__off {
|
||||
color: #555d66; }
|
||||
.components-form-toggle.is-checked .components-form-toggle__track {
|
||||
background-color: #007cba;
|
||||
background-color: var(--wp-admin-theme-color);
|
||||
border: 2px solid #007cba;
|
||||
border: 2px solid var(--wp-admin-theme-color);
|
||||
border: 1px solid #007cba;
|
||||
border: 1px solid var(--wp-admin-theme-color);
|
||||
border: 9px solid transparent; }
|
||||
.components-form-toggle__input:focus + .components-form-toggle__track {
|
||||
.components-form-toggle .components-form-toggle__input:focus + .components-form-toggle__track {
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #007cba;
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent;
|
||||
@ -2411,12 +2476,12 @@ body.is-dragging-components-draggable {
|
||||
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.components-form-token-field__input-container::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-form-token-field__input-container::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-form-token-field__input-container:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .components-form-token-field__input-container::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.is-dark-theme .components-form-token-field__input-container::-moz-placeholder {
|
||||
@ -2425,7 +2490,7 @@ body.is-dragging-components-draggable {
|
||||
.is-dark-theme .components-form-token-field__input-container:-ms-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.components-form-token-field__input-container.is-disabled {
|
||||
background: #e2e4e7;
|
||||
background: #ddd;
|
||||
border-color: #ccd0d4; }
|
||||
.components-form-token-field__input-container input[type="text"].components-form-token-field__input {
|
||||
display: inline-block;
|
||||
@ -2436,7 +2501,7 @@ body.is-dragging-components-draggable {
|
||||
min-height: 24px;
|
||||
background: inherit;
|
||||
border: 0;
|
||||
color: #23282d;
|
||||
color: #1e1e1e;
|
||||
box-shadow: none; }
|
||||
.components-form-token-field__input-container input[type="text"].components-form-token-field__input:focus,
|
||||
.components-form-token-field.is-active .components-form-token-field__input-container input[type="text"].components-form-token-field__input {
|
||||
@ -2487,7 +2552,7 @@ body.is-dragging-components-draggable {
|
||||
border-radius: 4px 0 0 4px;
|
||||
padding: 0 4px 0 6px; }
|
||||
.components-form-token-field__token.is-borderless.is-validating .components-form-token-field__token-text {
|
||||
color: #23282d; }
|
||||
color: #1e1e1e; }
|
||||
.components-form-token-field__token.is-disabled .components-form-token-field__remove-token {
|
||||
cursor: default; }
|
||||
|
||||
@ -2496,7 +2561,7 @@ body.is-dragging-components-draggable {
|
||||
display: inline-block;
|
||||
line-height: 24px;
|
||||
height: auto;
|
||||
background: #e2e4e7;
|
||||
background: #ddd;
|
||||
transition: all 0.2s cubic-bezier(0.4, 1, 0.4, 1); }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.components-form-token-field__token-text,
|
||||
@ -2542,7 +2607,8 @@ body.is-dragging-components-draggable {
|
||||
padding: 4px 8px;
|
||||
cursor: pointer; }
|
||||
.components-form-token-field__suggestion.is-selected {
|
||||
background: #0071a1;
|
||||
background: #007cba;
|
||||
background: var(--wp-admin-theme-color);
|
||||
color: #fff; }
|
||||
|
||||
.components-form-token-field__suggestion-match {
|
||||
@ -2657,13 +2723,15 @@ body.is-dragging-components-draggable {
|
||||
right: 0;
|
||||
pointer-events: none;
|
||||
outline: 4px solid transparent;
|
||||
box-shadow: inset 0 0 0 4px #33b3db; }
|
||||
box-shadow: inset 0 0 0 4px #007cba;
|
||||
box-shadow: inset 0 0 0 4px var(--wp-admin-theme-color); }
|
||||
@supports (outline-offset: 1px) {
|
||||
.components-navigate-regions.is-focusing-regions [role="region"]:focus::after {
|
||||
content: none; }
|
||||
.components-navigate-regions.is-focusing-regions [role="region"]:focus {
|
||||
outline-style: solid;
|
||||
outline-color: #33b3db;
|
||||
outline-color: #007cba;
|
||||
outline-color: var(--wp-admin-theme-color);
|
||||
outline-width: 4px;
|
||||
outline-offset: -4px; } }
|
||||
|
||||
@ -2750,9 +2818,9 @@ body.is-dragging-components-draggable {
|
||||
left: 0;
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
border: 1px solid #e2e4e7;
|
||||
border: 1px solid #ddd;
|
||||
background: #fff;
|
||||
box-shadow: 0 3px 30px rgba(25, 30, 35, 0.2);
|
||||
box-shadow: 0 3px 30px rgba(0, 0, 0, 0.2);
|
||||
overflow: auto; }
|
||||
@media (min-width: 600px) {
|
||||
.components-modal__frame {
|
||||
@ -2778,7 +2846,7 @@ body.is-dragging-components-draggable {
|
||||
|
||||
.components-modal__header {
|
||||
box-sizing: border-box;
|
||||
border-bottom: 1px solid #e2e4e7;
|
||||
border-bottom: 1px solid #ddd;
|
||||
padding: 0 24px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
@ -2832,8 +2900,9 @@ body.is-dragging-components-draggable {
|
||||
display: flex;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
background-color: #e5f5fa;
|
||||
border-left: 4px solid #00a0d2;
|
||||
background-color: #fff;
|
||||
border-left: 4px solid #007cba;
|
||||
border-left: 4px solid var(--wp-admin-theme-color);
|
||||
margin: 5px 15px 2px;
|
||||
padding: 8px 12px;
|
||||
align-items: center; }
|
||||
@ -2865,7 +2934,7 @@ body.is-dragging-components-draggable {
|
||||
align-self: flex-start;
|
||||
flex-shrink: 0; }
|
||||
.components-notice__dismiss:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover, .components-notice__dismiss:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):active, .components-notice__dismiss:not(:disabled):not([aria-disabled="true"]):focus {
|
||||
color: #191e23;
|
||||
color: #1e1e1e;
|
||||
background-color: transparent; }
|
||||
.components-notice__dismiss:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover {
|
||||
box-shadow: none; }
|
||||
@ -2885,7 +2954,7 @@ body.is-dragging-components-draggable {
|
||||
|
||||
.components-panel {
|
||||
background: #fff;
|
||||
border: 1px solid #e2e4e7; }
|
||||
border: 1px solid #f0f0f0; }
|
||||
.components-panel > .components-panel__header:first-child,
|
||||
.components-panel > .components-panel__body:first-child {
|
||||
margin-top: -1px; }
|
||||
@ -2897,8 +2966,8 @@ body.is-dragging-components-draggable {
|
||||
margin-top: -1px; }
|
||||
|
||||
.components-panel__body {
|
||||
border-top: 1px solid #e2e4e7;
|
||||
border-bottom: 1px solid #e2e4e7; }
|
||||
border-top: 1px solid #f0f0f0;
|
||||
border-bottom: 1px solid #f0f0f0; }
|
||||
.components-panel__body h3 {
|
||||
margin: 0 0 0.5em; }
|
||||
.components-panel__body.is-opened {
|
||||
@ -2910,8 +2979,8 @@ body.is-dragging-components-draggable {
|
||||
align-items: center;
|
||||
padding: 0 16px;
|
||||
height: 48px;
|
||||
border-top: 1px solid #e2e4e7;
|
||||
border-bottom: 1px solid #e2e4e7; }
|
||||
border-top: 1px solid #ddd;
|
||||
border-bottom: 1px solid #ddd; }
|
||||
.components-panel__header h2 {
|
||||
margin: 0;
|
||||
font-size: inherit;
|
||||
@ -2939,7 +3008,7 @@ body.is-dragging-components-draggable {
|
||||
margin-bottom: 5px; }
|
||||
|
||||
.components-panel__body > .components-panel__body-title:hover {
|
||||
background: #f3f4f5;
|
||||
background: #f0f0f0;
|
||||
border: none; }
|
||||
|
||||
.components-panel__body-toggle.components-button {
|
||||
@ -2968,7 +3037,7 @@ body.is-dragging-components-draggable {
|
||||
right: 16px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
color: #191e23;
|
||||
color: #1e1e1e;
|
||||
fill: currentColor;
|
||||
transition: 0.1s color ease-in-out; }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
@ -2995,11 +3064,12 @@ body.is-dragging-components-draggable {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-top: 20px; }
|
||||
margin-top: 8px;
|
||||
min-height: 36px; }
|
||||
.components-panel__row select {
|
||||
min-width: 0; }
|
||||
.components-panel__row label {
|
||||
margin-right: 10px;
|
||||
margin-right: 12px;
|
||||
flex-shrink: 0;
|
||||
max-width: 75%; }
|
||||
.components-panel__row:empty, .components-panel__row:first-of-type {
|
||||
@ -3092,12 +3162,12 @@ body.is-dragging-components-draggable {
|
||||
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.components-placeholder__input[type="url"]::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-placeholder__input[type="url"]::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-placeholder__input[type="url"]:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .components-placeholder__input[type="url"]::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.is-dark-theme .components-placeholder__input[type="url"]::-moz-placeholder {
|
||||
@ -3314,7 +3384,7 @@ body.is-dragging-components-draggable {
|
||||
font-size: 16px;
|
||||
/* Override core line-height. To be reviewed. */
|
||||
line-height: normal;
|
||||
border: 2px solid #757575;
|
||||
border: 1px solid #1e1e1e;
|
||||
margin-right: 12px;
|
||||
transition: none;
|
||||
border-radius: 50%;
|
||||
@ -3335,12 +3405,12 @@ body.is-dragging-components-draggable {
|
||||
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.components-radio-control__input[type="radio"]::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-radio-control__input[type="radio"]::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-radio-control__input[type="radio"]:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .components-radio-control__input[type="radio"]::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.is-dark-theme .components-radio-control__input[type="radio"]::-moz-placeholder {
|
||||
@ -3349,23 +3419,24 @@ body.is-dragging-components-draggable {
|
||||
.is-dark-theme .components-radio-control__input[type="radio"]:-ms-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.components-radio-control__input[type="radio"]:checked::before {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
margin: 6px 0 0 6px;
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
margin: 8px 0 0 8px;
|
||||
background-color: #fff; }
|
||||
@media (min-width: 782px) {
|
||||
.components-radio-control__input[type="radio"]:checked::before {
|
||||
margin: 3px 0 0 3px; } }
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
margin: 4px 0 0 4px; } }
|
||||
.components-radio-control__input[type="radio"]:focus {
|
||||
border-color: #757575;
|
||||
box-shadow: 0 0 0 1px #757575; }
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #007cba;
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.components-radio-control__input[type="radio"]:checked {
|
||||
background: #007cba;
|
||||
background: var(--wp-admin-theme-color);
|
||||
border-color: #007cba;
|
||||
border-color: var(--wp-admin-theme-color); }
|
||||
.components-radio-control__input[type="radio"]:checked:focus {
|
||||
box-shadow: 0 0 0 1.5px #757575; }
|
||||
|
||||
.components-resizable-box__handle {
|
||||
display: none;
|
||||
@ -3540,8 +3611,8 @@ body.lockscroll {
|
||||
.components-snackbar {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
background-color: #32373c;
|
||||
border-radius: 4px;
|
||||
background-color: #1e1e1e;
|
||||
border-radius: 2px;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
||||
color: #fff;
|
||||
padding: 16px 24px;
|
||||
@ -3552,10 +3623,7 @@ body.lockscroll {
|
||||
@media (min-width: 600px) {
|
||||
.components-snackbar {
|
||||
width: fit-content; } }
|
||||
.components-snackbar:hover {
|
||||
background-color: #191e23; }
|
||||
.components-snackbar:focus {
|
||||
background-color: #191e23;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--wp-admin-theme-color); }
|
||||
|
||||
@ -3574,7 +3642,8 @@ body.lockscroll {
|
||||
box-shadow: none;
|
||||
outline: 1px dotted #fff; }
|
||||
.components-snackbar__action.components-button:not(:disabled):not([aria-disabled="true"]):not(.is-secondary):hover {
|
||||
color: #33b3db; }
|
||||
color: #007cba;
|
||||
color: var(--wp-admin-theme-color); }
|
||||
|
||||
.components-snackbar__content {
|
||||
display: flex;
|
||||
@ -3758,7 +3827,7 @@ body.lockscroll {
|
||||
.components-text-control__input[type="email"]::-webkit-input-placeholder,
|
||||
.components-text-control__input[type="month"]::-webkit-input-placeholder,
|
||||
.components-text-control__input[type="number"]::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-text-control__input::-moz-placeholder,
|
||||
.components-text-control__input[type="text"]::-moz-placeholder,
|
||||
.components-text-control__input[type="tel"]::-moz-placeholder,
|
||||
@ -3774,7 +3843,7 @@ body.lockscroll {
|
||||
.components-text-control__input[type="month"]::-moz-placeholder,
|
||||
.components-text-control__input[type="number"]::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-text-control__input:-ms-input-placeholder,
|
||||
.components-text-control__input[type="text"]:-ms-input-placeholder,
|
||||
.components-text-control__input[type="tel"]:-ms-input-placeholder,
|
||||
@ -3789,7 +3858,7 @@ body.lockscroll {
|
||||
.components-text-control__input[type="email"]:-ms-input-placeholder,
|
||||
.components-text-control__input[type="month"]:-ms-input-placeholder,
|
||||
.components-text-control__input[type="number"]:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .components-text-control__input::-webkit-input-placeholder, .is-dark-theme
|
||||
.components-text-control__input[type="text"]::-webkit-input-placeholder, .is-dark-theme
|
||||
.components-text-control__input[type="tel"]::-webkit-input-placeholder, .is-dark-theme
|
||||
@ -3864,12 +3933,12 @@ body.lockscroll {
|
||||
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.components-textarea-control__input::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-textarea-control__input::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.components-textarea-control__input:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .components-textarea-control__input::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.is-dark-theme .components-textarea-control__input::-moz-placeholder {
|
||||
@ -4032,7 +4101,7 @@ div.components-toolbar > div + div.has-left-divider::before {
|
||||
display: inline-block;
|
||||
content: "";
|
||||
box-sizing: content-box;
|
||||
background-color: #e2e4e7;
|
||||
background-color: #ddd;
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
left: -3px;
|
||||
@ -4100,6 +4169,9 @@ div.components-toolbar > div + div.has-left-divider::before {
|
||||
color: #fff;
|
||||
white-space: nowrap;
|
||||
text-align: center;
|
||||
line-height: 1.4;
|
||||
font-size: 12px;
|
||||
box-shadow: none;
|
||||
pointer-events: none; }
|
||||
.components-tooltip .components-popover__content > div {
|
||||
padding: 4px 8px; }
|
||||
@ -4122,7 +4194,7 @@ div.components-toolbar > div + div.has-left-divider::before {
|
||||
word-wrap: normal !important; }
|
||||
|
||||
.components-visually-hidden:focus {
|
||||
background-color: #e2e4e7;
|
||||
background-color: #ddd;
|
||||
clip: auto !important;
|
||||
-webkit-clip-path: none;
|
||||
clip-path: none;
|
||||
|
File diff suppressed because one or more lines are too long
99
wp-includes/css/dist/edit-post/style-rtl.css
vendored
99
wp-includes/css/dist/edit-post/style-rtl.css
vendored
@ -1,12 +1,20 @@
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Fonts & basic variables.
|
||||
*/
|
||||
@ -136,7 +144,7 @@
|
||||
margin-bottom: 1.5em; }
|
||||
.interface-complementary-area hr {
|
||||
border-top: none;
|
||||
border-bottom: 1px solid #e2e4e7;
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
margin: 1.5em 0; }
|
||||
.interface-complementary-area div.components-toolbar-group,
|
||||
.interface-complementary-area div.components-toolbar {
|
||||
@ -256,16 +264,16 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
||||
@media (min-width: 782px) {
|
||||
.interface-interface-skeleton__sidebar {
|
||||
overflow: auto;
|
||||
border-right: 1px solid #e2e4e7; } }
|
||||
border-right: 1px solid #f0f0f0; } }
|
||||
|
||||
@media (min-width: 782px) {
|
||||
.interface-interface-skeleton__left-sidebar {
|
||||
border-left: 1px solid #e2e4e7; } }
|
||||
border-left: 1px solid #f0f0f0; } }
|
||||
|
||||
.interface-interface-skeleton__header {
|
||||
flex-shrink: 0;
|
||||
height: auto;
|
||||
border-bottom: 1px solid #e2e4e7;
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
z-index: 30;
|
||||
color: #1e1e1e;
|
||||
position: -webkit-sticky;
|
||||
@ -279,7 +287,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
||||
.interface-interface-skeleton__footer {
|
||||
height: auto;
|
||||
flex-shrink: 0;
|
||||
border-top: 1px solid #e2e4e7;
|
||||
border-top: 1px solid #f0f0f0;
|
||||
color: #1e1e1e;
|
||||
display: none; }
|
||||
@media (min-width: 782px) {
|
||||
@ -352,9 +360,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
||||
.edit-post-header__settings .editor-post-saved-state,
|
||||
.edit-post-header__settings .components-button.editor-post-switch-to-draft,
|
||||
.edit-post-header__settings .components-button.editor-post-preview,
|
||||
.edit-post-header__settings .components-button.block-editor-post-preview__dropdown,
|
||||
.edit-post-header__settings .components-button.editor-post-publish-button,
|
||||
.edit-post-header__settings .components-button.editor-post-publish-panel__toggle {
|
||||
.edit-post-header__settings .components-button.block-editor-post-preview__dropdown {
|
||||
padding: 0 6px;
|
||||
margin-left: 4px; }
|
||||
@media (min-width: 600px) {
|
||||
@ -362,6 +368,21 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
||||
.edit-post-header__settings .editor-post-saved-state,
|
||||
.edit-post-header__settings .components-button.editor-post-switch-to-draft,
|
||||
.edit-post-header__settings .components-button.editor-post-preview,
|
||||
.edit-post-header__settings .components-button.block-editor-post-preview__dropdown {
|
||||
margin-left: 12px; } }
|
||||
|
||||
.edit-post-header__settings .components-button.editor-post-save-draft,
|
||||
.edit-post-header__settings .components-button.editor-post-switch-to-draft,
|
||||
.edit-post-header__settings .components-button.editor-post-preview,
|
||||
.edit-post-header__settings .components-button.block-editor-post-preview__button-toggle {
|
||||
color: #1e1e1e; }
|
||||
|
||||
.edit-post-header__settings .components-button.block-editor-post-preview__dropdown,
|
||||
.edit-post-header__settings .components-button.editor-post-publish-button,
|
||||
.edit-post-header__settings .components-button.editor-post-publish-panel__toggle {
|
||||
padding: 0 6px;
|
||||
margin-left: 4px; }
|
||||
@media (min-width: 600px) {
|
||||
.edit-post-header__settings .components-button.block-editor-post-preview__dropdown,
|
||||
.edit-post-header__settings .components-button.editor-post-publish-button,
|
||||
.edit-post-header__settings .components-button.editor-post-publish-panel__toggle {
|
||||
@ -445,7 +466,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
||||
right: 0;
|
||||
left: 0;
|
||||
background: #fff;
|
||||
border-bottom: 1px solid #e2e4e7; }
|
||||
border-bottom: 1px solid #ddd; }
|
||||
.edit-post-header-toolbar__block-toolbar:empty {
|
||||
display: none; }
|
||||
.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar-group,
|
||||
@ -469,7 +490,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
||||
.is-sidebar-opened .edit-post-header-toolbar__block-toolbar {
|
||||
left: auto; }
|
||||
.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar {
|
||||
border-right: 1px solid #e2e4e7; }
|
||||
border-right: 1px solid #ddd; }
|
||||
.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar-group,
|
||||
.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar {
|
||||
height: 60px;
|
||||
@ -519,10 +540,10 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
padding: 0.6rem 0;
|
||||
border-top: 1px solid #e2e4e7;
|
||||
border-top: 1px solid #ddd;
|
||||
margin-bottom: 0; }
|
||||
.edit-post-keyboard-shortcut-help-modal__shortcut:last-child {
|
||||
border-bottom: 1px solid #e2e4e7; }
|
||||
border-bottom: 1px solid #ddd; }
|
||||
.edit-post-keyboard-shortcut-help-modal__shortcut:empty {
|
||||
display: none; }
|
||||
|
||||
@ -555,7 +576,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
||||
flex-shrink: 0; }
|
||||
|
||||
.edit-post-layout__metaboxes:not(:empty) {
|
||||
border-top: 1px solid #e2e4e7;
|
||||
border-top: 1px solid #ddd;
|
||||
padding: 10px 0 10px;
|
||||
clear: both; }
|
||||
.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area {
|
||||
@ -617,8 +638,8 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
z-index: 99998;
|
||||
top: 32px;
|
||||
right: auto;
|
||||
width: 280px;
|
||||
border-right: 1px solid #e2e4e7;
|
||||
width: 281px;
|
||||
border-right: 1px solid #ddd;
|
||||
transform: translateX(-100%);
|
||||
animation: edit-post-post-publish-panel__slide-in-animation 0.1s forwards; } }
|
||||
@media (min-width: 782px) and (prefers-reduced-motion: reduce) {
|
||||
@ -651,7 +672,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
left: 0;
|
||||
width: 280px;
|
||||
background-color: #fff;
|
||||
border: 1px dotted #e2e4e7;
|
||||
border: 1px dotted #ddd;
|
||||
height: auto !important;
|
||||
padding: 24px;
|
||||
display: flex;
|
||||
@ -743,18 +764,18 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
.edit-post-manage-blocks-modal__search .components-base-control__label {
|
||||
margin-top: -4px; }
|
||||
.edit-post-manage-blocks-modal__search input[type="search"].components-text-control__input {
|
||||
padding: 12px;
|
||||
border-radius: 4px; }
|
||||
padding: 8px;
|
||||
border-radius: 2px; }
|
||||
|
||||
.edit-post-manage-blocks-modal__disabled-blocks-count {
|
||||
border-top: 1px solid #e2e4e7;
|
||||
border-top: 1px solid #ddd;
|
||||
margin-right: -24px;
|
||||
margin-left: -24px;
|
||||
padding-top: 0.6rem;
|
||||
padding-bottom: 0.6rem;
|
||||
padding-right: 24px;
|
||||
padding-left: 24px;
|
||||
background-color: #f3f4f5; }
|
||||
background-color: #f0f0f0; }
|
||||
|
||||
.edit-post-manage-blocks-modal__category {
|
||||
margin: 0 0 2rem 0; }
|
||||
@ -781,9 +802,9 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
.edit-post-manage-blocks-modal__checklist-item {
|
||||
margin-bottom: 0;
|
||||
padding-right: 16px;
|
||||
border-top: 1px solid #e2e4e7; }
|
||||
border-top: 1px solid #ddd; }
|
||||
.edit-post-manage-blocks-modal__checklist-item:last-child {
|
||||
border-bottom: 1px solid #e2e4e7; }
|
||||
border-bottom: 1px solid #ddd; }
|
||||
.edit-post-manage-blocks-modal__checklist-item .components-base-control__field {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
@ -807,7 +828,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
margin-left: -24px;
|
||||
padding-right: 24px;
|
||||
padding-left: 24px;
|
||||
border-top: 1px solid #e2e4e7; }
|
||||
border-top: 1px solid #ddd; }
|
||||
|
||||
.edit-post-meta-boxes-area {
|
||||
position: relative;
|
||||
@ -834,7 +855,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
.edit-post-meta-boxes-area #poststuff .stuffbox > h3,
|
||||
.edit-post-meta-boxes-area #poststuff h2.hndle {
|
||||
/* WordPress selectors yolo */
|
||||
border-bottom: 1px solid #e2e4e7;
|
||||
border-bottom: 1px solid #ddd;
|
||||
box-sizing: border-box;
|
||||
color: inherit;
|
||||
font-weight: 600;
|
||||
@ -847,7 +868,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
color: inherit;
|
||||
margin-bottom: 0; }
|
||||
.edit-post-meta-boxes-area .postbox > .inside {
|
||||
border-bottom: 1px solid #e2e4e7;
|
||||
border-bottom: 1px solid #ddd;
|
||||
color: inherit;
|
||||
padding: 0 14px 14px;
|
||||
margin: 0; }
|
||||
@ -930,7 +951,11 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
direction: ltr; }
|
||||
.edit-post-post-schedule {
|
||||
width: 100%;
|
||||
position: relative; }
|
||||
position: relative;
|
||||
justify-content: left; }
|
||||
.edit-post-post-schedule span {
|
||||
display: block;
|
||||
width: 35%; }
|
||||
|
||||
.components-button.edit-post-post-schedule__toggle {
|
||||
text-align: left; }
|
||||
@ -945,7 +970,11 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
text-align: center; }
|
||||
|
||||
.edit-post-post-visibility {
|
||||
width: 100%; }
|
||||
width: 100%;
|
||||
justify-content: left; }
|
||||
.edit-post-post-visibility span {
|
||||
display: block;
|
||||
width: 35%; }
|
||||
|
||||
@media (min-width: 782px) {
|
||||
.edit-post-post-visibility__dialog .components-popover__content {
|
||||
@ -1006,7 +1035,9 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
border-bottom: 4px solid transparent; }
|
||||
.components-button.edit-post-sidebar__panel-tab:focus {
|
||||
box-shadow: inset 0 0 0 1.5px #007cba;
|
||||
box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color); }
|
||||
box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color);
|
||||
position: relative;
|
||||
z-index: 1; }
|
||||
.components-button.edit-post-sidebar__panel-tab.is-active:focus {
|
||||
box-shadow: inset 0 0 0 1.5px #007cba, inset 0 -4px 0 0 #007cba;
|
||||
box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color), inset 0 -4px 0 0 var(--wp-admin-theme-color); }
|
||||
@ -1080,7 +1111,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
padding: 6px 12px; }
|
||||
.edit-post-visual-editor .components-button.is-tertiary {
|
||||
.edit-post-visual-editor .components-button.is-tertiary, .edit-post-visual-editor .components-button.has-icon {
|
||||
padding: 6px; }
|
||||
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
||||
.edit-post-visual-editor {
|
||||
@ -1100,6 +1131,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
height: 0; }
|
||||
|
||||
.edit-post-visual-editor__post-title-wrapper .editor-post-title {
|
||||
margin-top: 2em;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
margin-bottom: 32px; }
|
||||
@ -1112,9 +1144,9 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
font-weight: 600; }
|
||||
|
||||
.edit-post-options-modal__option {
|
||||
border-top: 1px solid #e2e4e7; }
|
||||
border-top: 1px solid #ddd; }
|
||||
.edit-post-options-modal__option:last-child {
|
||||
border-bottom: 1px solid #e2e4e7; }
|
||||
border-bottom: 1px solid #ddd; }
|
||||
.edit-post-options-modal__option .components-base-control__field {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
@ -1261,6 +1293,11 @@ body.admin-color-light {
|
||||
--wp-admin-theme-color-darker-10: #0073a1;
|
||||
--wp-admin-theme-color-darker-20: #006187; }
|
||||
|
||||
body.admin-color-modern {
|
||||
--wp-admin-theme-color: #3858e9;
|
||||
--wp-admin-theme-color-darker-10: #2145e6;
|
||||
--wp-admin-theme-color-darker-20: #183ad6; }
|
||||
|
||||
body.admin-color-blue {
|
||||
--wp-admin-theme-color: #096484;
|
||||
--wp-admin-theme-color-darker-10: #07526c;
|
||||
|
File diff suppressed because one or more lines are too long
99
wp-includes/css/dist/edit-post/style.css
vendored
99
wp-includes/css/dist/edit-post/style.css
vendored
@ -1,12 +1,20 @@
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Fonts & basic variables.
|
||||
*/
|
||||
@ -136,7 +144,7 @@
|
||||
margin-bottom: 1.5em; }
|
||||
.interface-complementary-area hr {
|
||||
border-top: none;
|
||||
border-bottom: 1px solid #e2e4e7;
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
margin: 1.5em 0; }
|
||||
.interface-complementary-area div.components-toolbar-group,
|
||||
.interface-complementary-area div.components-toolbar {
|
||||
@ -256,16 +264,16 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
||||
@media (min-width: 782px) {
|
||||
.interface-interface-skeleton__sidebar {
|
||||
overflow: auto;
|
||||
border-left: 1px solid #e2e4e7; } }
|
||||
border-left: 1px solid #f0f0f0; } }
|
||||
|
||||
@media (min-width: 782px) {
|
||||
.interface-interface-skeleton__left-sidebar {
|
||||
border-right: 1px solid #e2e4e7; } }
|
||||
border-right: 1px solid #f0f0f0; } }
|
||||
|
||||
.interface-interface-skeleton__header {
|
||||
flex-shrink: 0;
|
||||
height: auto;
|
||||
border-bottom: 1px solid #e2e4e7;
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
z-index: 30;
|
||||
color: #1e1e1e;
|
||||
position: -webkit-sticky;
|
||||
@ -279,7 +287,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
||||
.interface-interface-skeleton__footer {
|
||||
height: auto;
|
||||
flex-shrink: 0;
|
||||
border-top: 1px solid #e2e4e7;
|
||||
border-top: 1px solid #f0f0f0;
|
||||
color: #1e1e1e;
|
||||
display: none; }
|
||||
@media (min-width: 782px) {
|
||||
@ -352,9 +360,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
||||
.edit-post-header__settings .editor-post-saved-state,
|
||||
.edit-post-header__settings .components-button.editor-post-switch-to-draft,
|
||||
.edit-post-header__settings .components-button.editor-post-preview,
|
||||
.edit-post-header__settings .components-button.block-editor-post-preview__dropdown,
|
||||
.edit-post-header__settings .components-button.editor-post-publish-button,
|
||||
.edit-post-header__settings .components-button.editor-post-publish-panel__toggle {
|
||||
.edit-post-header__settings .components-button.block-editor-post-preview__dropdown {
|
||||
padding: 0 6px;
|
||||
margin-right: 4px; }
|
||||
@media (min-width: 600px) {
|
||||
@ -362,6 +368,21 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
||||
.edit-post-header__settings .editor-post-saved-state,
|
||||
.edit-post-header__settings .components-button.editor-post-switch-to-draft,
|
||||
.edit-post-header__settings .components-button.editor-post-preview,
|
||||
.edit-post-header__settings .components-button.block-editor-post-preview__dropdown {
|
||||
margin-right: 12px; } }
|
||||
|
||||
.edit-post-header__settings .components-button.editor-post-save-draft,
|
||||
.edit-post-header__settings .components-button.editor-post-switch-to-draft,
|
||||
.edit-post-header__settings .components-button.editor-post-preview,
|
||||
.edit-post-header__settings .components-button.block-editor-post-preview__button-toggle {
|
||||
color: #1e1e1e; }
|
||||
|
||||
.edit-post-header__settings .components-button.block-editor-post-preview__dropdown,
|
||||
.edit-post-header__settings .components-button.editor-post-publish-button,
|
||||
.edit-post-header__settings .components-button.editor-post-publish-panel__toggle {
|
||||
padding: 0 6px;
|
||||
margin-right: 4px; }
|
||||
@media (min-width: 600px) {
|
||||
.edit-post-header__settings .components-button.block-editor-post-preview__dropdown,
|
||||
.edit-post-header__settings .components-button.editor-post-publish-button,
|
||||
.edit-post-header__settings .components-button.editor-post-publish-panel__toggle {
|
||||
@ -445,7 +466,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
||||
left: 0;
|
||||
right: 0;
|
||||
background: #fff;
|
||||
border-bottom: 1px solid #e2e4e7; }
|
||||
border-bottom: 1px solid #ddd; }
|
||||
.edit-post-header-toolbar__block-toolbar:empty {
|
||||
display: none; }
|
||||
.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar-group,
|
||||
@ -469,7 +490,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
||||
.is-sidebar-opened .edit-post-header-toolbar__block-toolbar {
|
||||
right: auto; }
|
||||
.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar {
|
||||
border-left: 1px solid #e2e4e7; }
|
||||
border-left: 1px solid #ddd; }
|
||||
.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar-group,
|
||||
.edit-post-header-toolbar__block-toolbar .block-editor-block-toolbar .components-toolbar {
|
||||
height: 60px;
|
||||
@ -519,10 +540,10 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
padding: 0.6rem 0;
|
||||
border-top: 1px solid #e2e4e7;
|
||||
border-top: 1px solid #ddd;
|
||||
margin-bottom: 0; }
|
||||
.edit-post-keyboard-shortcut-help-modal__shortcut:last-child {
|
||||
border-bottom: 1px solid #e2e4e7; }
|
||||
border-bottom: 1px solid #ddd; }
|
||||
.edit-post-keyboard-shortcut-help-modal__shortcut:empty {
|
||||
display: none; }
|
||||
|
||||
@ -555,7 +576,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
||||
flex-shrink: 0; }
|
||||
|
||||
.edit-post-layout__metaboxes:not(:empty) {
|
||||
border-top: 1px solid #e2e4e7;
|
||||
border-top: 1px solid #ddd;
|
||||
padding: 10px 0 10px;
|
||||
clear: both; }
|
||||
.edit-post-layout__metaboxes:not(:empty) .edit-post-meta-boxes-area {
|
||||
@ -617,8 +638,8 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
z-index: 99998;
|
||||
top: 32px;
|
||||
left: auto;
|
||||
width: 280px;
|
||||
border-left: 1px solid #e2e4e7;
|
||||
width: 281px;
|
||||
border-left: 1px solid #ddd;
|
||||
transform: translateX(100%);
|
||||
animation: edit-post-post-publish-panel__slide-in-animation 0.1s forwards; } }
|
||||
@media (min-width: 782px) and (prefers-reduced-motion: reduce) {
|
||||
@ -651,7 +672,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
right: 0;
|
||||
width: 280px;
|
||||
background-color: #fff;
|
||||
border: 1px dotted #e2e4e7;
|
||||
border: 1px dotted #ddd;
|
||||
height: auto !important;
|
||||
padding: 24px;
|
||||
display: flex;
|
||||
@ -743,18 +764,18 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
.edit-post-manage-blocks-modal__search .components-base-control__label {
|
||||
margin-top: -4px; }
|
||||
.edit-post-manage-blocks-modal__search input[type="search"].components-text-control__input {
|
||||
padding: 12px;
|
||||
border-radius: 4px; }
|
||||
padding: 8px;
|
||||
border-radius: 2px; }
|
||||
|
||||
.edit-post-manage-blocks-modal__disabled-blocks-count {
|
||||
border-top: 1px solid #e2e4e7;
|
||||
border-top: 1px solid #ddd;
|
||||
margin-left: -24px;
|
||||
margin-right: -24px;
|
||||
padding-top: 0.6rem;
|
||||
padding-bottom: 0.6rem;
|
||||
padding-left: 24px;
|
||||
padding-right: 24px;
|
||||
background-color: #f3f4f5; }
|
||||
background-color: #f0f0f0; }
|
||||
|
||||
.edit-post-manage-blocks-modal__category {
|
||||
margin: 0 0 2rem 0; }
|
||||
@ -781,9 +802,9 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
.edit-post-manage-blocks-modal__checklist-item {
|
||||
margin-bottom: 0;
|
||||
padding-left: 16px;
|
||||
border-top: 1px solid #e2e4e7; }
|
||||
border-top: 1px solid #ddd; }
|
||||
.edit-post-manage-blocks-modal__checklist-item:last-child {
|
||||
border-bottom: 1px solid #e2e4e7; }
|
||||
border-bottom: 1px solid #ddd; }
|
||||
.edit-post-manage-blocks-modal__checklist-item .components-base-control__field {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
@ -807,7 +828,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
margin-right: -24px;
|
||||
padding-left: 24px;
|
||||
padding-right: 24px;
|
||||
border-top: 1px solid #e2e4e7; }
|
||||
border-top: 1px solid #ddd; }
|
||||
|
||||
.edit-post-meta-boxes-area {
|
||||
position: relative;
|
||||
@ -834,7 +855,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
.edit-post-meta-boxes-area #poststuff .stuffbox > h3,
|
||||
.edit-post-meta-boxes-area #poststuff h2.hndle {
|
||||
/* WordPress selectors yolo */
|
||||
border-bottom: 1px solid #e2e4e7;
|
||||
border-bottom: 1px solid #ddd;
|
||||
box-sizing: border-box;
|
||||
color: inherit;
|
||||
font-weight: 600;
|
||||
@ -847,7 +868,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
color: inherit;
|
||||
margin-bottom: 0; }
|
||||
.edit-post-meta-boxes-area .postbox > .inside {
|
||||
border-bottom: 1px solid #e2e4e7;
|
||||
border-bottom: 1px solid #ddd;
|
||||
color: inherit;
|
||||
padding: 0 14px 14px;
|
||||
margin: 0; }
|
||||
@ -934,7 +955,11 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
/* rtl:end:ignore */
|
||||
.edit-post-post-schedule {
|
||||
width: 100%;
|
||||
position: relative; }
|
||||
position: relative;
|
||||
justify-content: left; }
|
||||
.edit-post-post-schedule span {
|
||||
display: block;
|
||||
width: 35%; }
|
||||
|
||||
.components-button.edit-post-post-schedule__toggle {
|
||||
text-align: right; }
|
||||
@ -949,7 +974,11 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
text-align: center; }
|
||||
|
||||
.edit-post-post-visibility {
|
||||
width: 100%; }
|
||||
width: 100%;
|
||||
justify-content: left; }
|
||||
.edit-post-post-visibility span {
|
||||
display: block;
|
||||
width: 35%; }
|
||||
|
||||
@media (min-width: 782px) {
|
||||
.edit-post-post-visibility__dialog .components-popover__content {
|
||||
@ -1010,7 +1039,9 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
border-bottom: 4px solid transparent; }
|
||||
.components-button.edit-post-sidebar__panel-tab:focus {
|
||||
box-shadow: inset 0 0 0 1.5px #007cba;
|
||||
box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color); }
|
||||
box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color);
|
||||
position: relative;
|
||||
z-index: 1; }
|
||||
.components-button.edit-post-sidebar__panel-tab.is-active:focus {
|
||||
box-shadow: inset 0 0 0 1.5px #007cba, inset 0 -4px 0 0 #007cba;
|
||||
box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color), inset 0 -4px 0 0 var(--wp-admin-theme-color); }
|
||||
@ -1084,7 +1115,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
padding: 6px 12px; }
|
||||
.edit-post-visual-editor .components-button.is-tertiary {
|
||||
.edit-post-visual-editor .components-button.is-tertiary, .edit-post-visual-editor .components-button.has-icon {
|
||||
padding: 6px; }
|
||||
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
||||
.edit-post-visual-editor {
|
||||
@ -1104,6 +1135,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
height: 0; }
|
||||
|
||||
.edit-post-visual-editor__post-title-wrapper .editor-post-title {
|
||||
margin-top: 2em;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-bottom: 32px; }
|
||||
@ -1116,9 +1148,9 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
font-weight: 600; }
|
||||
|
||||
.edit-post-options-modal__option {
|
||||
border-top: 1px solid #e2e4e7; }
|
||||
border-top: 1px solid #ddd; }
|
||||
.edit-post-options-modal__option:last-child {
|
||||
border-bottom: 1px solid #e2e4e7; }
|
||||
border-bottom: 1px solid #ddd; }
|
||||
.edit-post-options-modal__option .components-base-control__field {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
@ -1265,6 +1297,11 @@ body.admin-color-light {
|
||||
--wp-admin-theme-color-darker-10: #0073a1;
|
||||
--wp-admin-theme-color-darker-20: #006187; }
|
||||
|
||||
body.admin-color-modern {
|
||||
--wp-admin-theme-color: #3858e9;
|
||||
--wp-admin-theme-color-darker-10: #2145e6;
|
||||
--wp-admin-theme-color-darker-20: #183ad6; }
|
||||
|
||||
body.admin-color-blue {
|
||||
--wp-admin-theme-color: #096484;
|
||||
--wp-admin-theme-color-darker-10: #07526c;
|
||||
|
2
wp-includes/css/dist/edit-post/style.min.css
vendored
2
wp-includes/css/dist/edit-post/style.min.css
vendored
File diff suppressed because one or more lines are too long
@ -1,12 +1,20 @@
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Fonts & basic variables.
|
||||
*/
|
||||
|
@ -1,12 +1,20 @@
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Fonts & basic variables.
|
||||
*/
|
||||
|
133
wp-includes/css/dist/editor/style-rtl.css
vendored
133
wp-includes/css/dist/editor/style-rtl.css
vendored
@ -2,12 +2,20 @@
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Fonts & basic variables.
|
||||
*/
|
||||
@ -98,7 +106,8 @@
|
||||
flex-shrink: 0; }
|
||||
|
||||
.editor-autocompleters__user:hover .editor-autocompleters__user-slug {
|
||||
color: #66c6e4; }
|
||||
color: #007cba;
|
||||
color: var(--wp-admin-theme-color); }
|
||||
|
||||
.document-outline {
|
||||
margin: 20px 0; }
|
||||
@ -112,7 +121,7 @@
|
||||
.document-outline__item a {
|
||||
text-decoration: none; }
|
||||
.document-outline__item .document-outline__emdash::before {
|
||||
color: #e2e4e7;
|
||||
color: #ddd;
|
||||
margin-left: 4px; }
|
||||
.document-outline__item.is-h2 .document-outline__emdash::before {
|
||||
content: "—"; }
|
||||
@ -133,7 +142,7 @@
|
||||
align-items: flex-start;
|
||||
margin: 0 -1px 0 0;
|
||||
padding: 2px 1px 2px 5px;
|
||||
color: #23282d;
|
||||
color: #1e1e1e;
|
||||
text-align: right;
|
||||
border-radius: 2px; }
|
||||
.document-outline__button:disabled {
|
||||
@ -144,8 +153,8 @@
|
||||
outline: 2px solid transparent; }
|
||||
|
||||
.document-outline__level {
|
||||
background: #e2e4e7;
|
||||
color: #23282d;
|
||||
background: #ddd;
|
||||
color: #1e1e1e;
|
||||
border-radius: 3px;
|
||||
font-size: 13px;
|
||||
padding: 1px 6px;
|
||||
@ -161,14 +170,14 @@
|
||||
position: sticky;
|
||||
top: 0;
|
||||
left: 0;
|
||||
color: #191e23; }
|
||||
color: #1e1e1e; }
|
||||
|
||||
.components-editor-notices__pinned {
|
||||
position: relative;
|
||||
right: 0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
color: #191e23; }
|
||||
color: #1e1e1e; }
|
||||
|
||||
.components-editor-notices__dismissible .components-notice,
|
||||
.components-editor-notices__pinned .components-notice {
|
||||
@ -213,7 +222,7 @@
|
||||
top: 32px;
|
||||
right: auto;
|
||||
width: 280px;
|
||||
border-right: 1px solid #e2e4e7; }
|
||||
border-right: 1px solid #ddd; }
|
||||
body.is-fullscreen-mode .entities-saved-states__panel {
|
||||
top: 0; }
|
||||
.entities-saved-states__panel .entities-saved-states__find-entity {
|
||||
@ -225,7 +234,7 @@
|
||||
padding-right: 8px;
|
||||
padding-left: 8px;
|
||||
height: 61px;
|
||||
border-bottom: 1px solid #e2e4e7;
|
||||
border-bottom: 1px solid #ddd;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-content: space-between; }
|
||||
@ -235,7 +244,7 @@
|
||||
position: absolute;
|
||||
left: 8px; }
|
||||
.entities-saved-states__panel .entities-saved-states__text-prompt {
|
||||
border-bottom: 1px solid #e2e4e7;
|
||||
border-bottom: 1px solid #ddd;
|
||||
padding: 16px;
|
||||
padding-bottom: 4px; }
|
||||
|
||||
@ -244,7 +253,7 @@
|
||||
max-width: 780px;
|
||||
padding: 20px;
|
||||
margin-top: 60px;
|
||||
box-shadow: 0 3px 30px rgba(25, 30, 35, 0.2); }
|
||||
box-shadow: 0 3px 30px rgba(0, 0, 0, 0.2); }
|
||||
|
||||
.editor-page-attributes__template {
|
||||
margin-bottom: 10px; }
|
||||
@ -289,7 +298,8 @@
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
transition: all 0.1s ease-out;
|
||||
box-shadow: 0 0 0 0 #00a0d2; }
|
||||
box-shadow: 0 0 0 0 #007cba;
|
||||
box-shadow: 0 0 0 0 var(--wp-admin-theme-color); }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.editor-post-featured-image__toggle,
|
||||
.editor-post-featured-image__preview {
|
||||
@ -299,17 +309,19 @@
|
||||
height: auto; }
|
||||
|
||||
.editor-post-featured-image__preview:not(:disabled):not([aria-disabled="true"]):focus {
|
||||
box-shadow: 0 0 0 4px #00a0d2; }
|
||||
box-shadow: 0 0 0 4px #007cba;
|
||||
box-shadow: 0 0 0 4px var(--wp-admin-theme-color); }
|
||||
|
||||
.editor-post-featured-image__toggle {
|
||||
border: 1px dashed #a2aab2;
|
||||
background-color: #edeff0;
|
||||
border-radius: 2px;
|
||||
background-color: #f0f0f0;
|
||||
min-height: 90px;
|
||||
line-height: 20px;
|
||||
padding: 8px 0;
|
||||
text-align: center; }
|
||||
.editor-post-featured-image__toggle:hover {
|
||||
background-color: #f8f9f9; }
|
||||
background: #ddd;
|
||||
color: #1e1e1e; }
|
||||
|
||||
.editor-post-format {
|
||||
flex-direction: column;
|
||||
@ -335,7 +347,7 @@
|
||||
.components-button.editor-post-last-revision__title {
|
||||
height: 100%; }
|
||||
.components-button.editor-post-last-revision__title:hover, .components-button.editor-post-last-revision__title:active {
|
||||
background: #f3f4f5; }
|
||||
background: #f0f0f0; }
|
||||
.components-button.editor-post-last-revision__title:focus {
|
||||
box-shadow: inset 0 0 0 1.5px #007cba;
|
||||
box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color);
|
||||
@ -381,23 +393,33 @@
|
||||
|
||||
.editor-post-publish-panel__header {
|
||||
background: #fff;
|
||||
padding-right: 8px;
|
||||
padding-left: 8px;
|
||||
padding-right: 16px;
|
||||
padding-left: 16px;
|
||||
height: 61px;
|
||||
border-bottom: 1px solid #e2e4e7;
|
||||
border-bottom: 1px solid #ddd;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-content: space-between; }
|
||||
.editor-post-publish-panel__header .components-button.has-icon {
|
||||
position: absolute;
|
||||
left: 8px; }
|
||||
.editor-post-publish-panel__header .components-button {
|
||||
width: 100%;
|
||||
justify-content: center; }
|
||||
.editor-post-publish-panel__header .has-icon {
|
||||
margin-right: auto;
|
||||
width: auto; }
|
||||
|
||||
.editor-post-publish-panel__header-publish-button,
|
||||
.editor-post-publish-panel__header-cancel-button {
|
||||
flex-grow: 1; }
|
||||
@media (min-width: 480px) {
|
||||
.editor-post-publish-panel__header-publish-button,
|
||||
.editor-post-publish-panel__header-cancel-button {
|
||||
max-width: 160px; } }
|
||||
|
||||
.editor-post-publish-panel__header-publish-button {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
flex-grow: 1;
|
||||
text-align: left;
|
||||
flex-wrap: nowrap; }
|
||||
padding-left: 4px; }
|
||||
|
||||
.editor-post-publish-panel__header-cancel-button {
|
||||
padding-right: 4px; }
|
||||
|
||||
.editor-post-publish-panel__header-published {
|
||||
flex-grow: 1; }
|
||||
@ -420,7 +442,7 @@
|
||||
.editor-post-publish-panel__prepublish {
|
||||
padding: 16px; }
|
||||
.editor-post-publish-panel__prepublish strong {
|
||||
color: #191e23; }
|
||||
color: #1e1e1e; }
|
||||
.editor-post-publish-panel__prepublish .components-panel__body {
|
||||
background: #fff;
|
||||
margin-right: -16px;
|
||||
@ -429,7 +451,7 @@
|
||||
display: none; }
|
||||
|
||||
.post-publish-panel__postpublish .components-panel__body {
|
||||
border-bottom: 1px solid #e2e4e7;
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
border-top: none; }
|
||||
|
||||
.post-publish-panel__postpublish-buttons {
|
||||
@ -454,7 +476,7 @@
|
||||
margin-bottom: 16px; }
|
||||
.post-publish-panel__postpublish-post-address input[readonly] {
|
||||
padding: 10px;
|
||||
background: #e8eaeb;
|
||||
background: #ddd;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis; }
|
||||
|
||||
@ -564,7 +586,7 @@
|
||||
font-size: 16px;
|
||||
/* Override core line-height. To be reviewed. */
|
||||
line-height: normal;
|
||||
border: 2px solid #757575;
|
||||
border: 1px solid #1e1e1e;
|
||||
margin-left: 12px;
|
||||
transition: none;
|
||||
border-radius: 50%;
|
||||
@ -588,14 +610,14 @@
|
||||
outline: 2px solid transparent; }
|
||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]::-webkit-input-placeholder,
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]::-moz-placeholder,
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:-ms-input-placeholder,
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]::-webkit-input-placeholder, .is-dark-theme
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
@ -608,27 +630,27 @@
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:checked::before,
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:checked::before {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
margin: 6px 6px 0 0;
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
margin: 8px 8px 0 0;
|
||||
background-color: #fff; }
|
||||
@media (min-width: 782px) {
|
||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:checked::before,
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:checked::before {
|
||||
margin: 3px 3px 0 0; } }
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
margin: 4px 4px 0 0; } }
|
||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:focus,
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:focus {
|
||||
border-color: #757575;
|
||||
box-shadow: 0 0 0 1px #757575; }
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #007cba;
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:checked,
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:checked {
|
||||
background: #007cba;
|
||||
background: var(--wp-admin-theme-color);
|
||||
border-color: #007cba;
|
||||
border-color: var(--wp-admin-theme-color); }
|
||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:checked:focus,
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:checked:focus {
|
||||
box-shadow: 0 0 0 1.5px #757575; }
|
||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-label,
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-label {
|
||||
font-weight: 600; }
|
||||
@ -671,14 +693,14 @@
|
||||
outline: 2px solid transparent; }
|
||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]::-webkit-input-placeholder,
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]::-moz-placeholder,
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]:-ms-input-placeholder,
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]::-webkit-input-placeholder, .is-dark-theme
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
@ -702,7 +724,6 @@
|
||||
padding: 19px 0;
|
||||
word-break: keep-all;
|
||||
font-family: inherit;
|
||||
line-height: inherit;
|
||||
color: inherit;
|
||||
border: 1px solid transparent;
|
||||
border-right-width: 0;
|
||||
@ -710,7 +731,8 @@
|
||||
border-radius: 0;
|
||||
outline: 1px solid transparent;
|
||||
font-size: 2.44em;
|
||||
font-weight: bold; }
|
||||
font-weight: bold;
|
||||
line-height: 1.4; }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.editor-post-title .editor-post-title__input {
|
||||
transition-duration: 0s; } }
|
||||
@ -718,11 +740,11 @@
|
||||
.editor-post-title .editor-post-title__input {
|
||||
border-width: 1px; } }
|
||||
.editor-post-title .editor-post-title__input::-webkit-input-placeholder {
|
||||
color: rgba(22, 36, 53, 0.55); }
|
||||
color: rgba(30, 30, 30, 0.55); }
|
||||
.editor-post-title .editor-post-title__input::-moz-placeholder {
|
||||
color: rgba(22, 36, 53, 0.55); }
|
||||
color: rgba(30, 30, 30, 0.55); }
|
||||
.editor-post-title .editor-post-title__input:-ms-input-placeholder {
|
||||
color: rgba(22, 36, 53, 0.55); }
|
||||
color: rgba(30, 30, 30, 0.55); }
|
||||
.editor-post-title .editor-post-title__input:focus {
|
||||
border: 1px solid transparent;
|
||||
outline: 1px solid transparent;
|
||||
@ -737,12 +759,7 @@
|
||||
opacity: 1; }
|
||||
|
||||
.editor-post-trash.components-button {
|
||||
color: #b52727;
|
||||
border-color: #b52727;
|
||||
justify-content: center; }
|
||||
.editor-post-trash.components-button:not(:disabled):not([aria-disabled="true"]):hover, .editor-post-trash.components-button:not([aria-disabled="true"]):focus {
|
||||
color: #a02222;
|
||||
border-color: #a02222; }
|
||||
margin-right: -6px; }
|
||||
|
||||
.table-of-contents__popover.components-popover .components-popover__content {
|
||||
min-width: 380px; }
|
||||
|
File diff suppressed because one or more lines are too long
133
wp-includes/css/dist/editor/style.css
vendored
133
wp-includes/css/dist/editor/style.css
vendored
@ -2,12 +2,20 @@
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Fonts & basic variables.
|
||||
*/
|
||||
@ -98,7 +106,8 @@
|
||||
flex-shrink: 0; }
|
||||
|
||||
.editor-autocompleters__user:hover .editor-autocompleters__user-slug {
|
||||
color: #66c6e4; }
|
||||
color: #007cba;
|
||||
color: var(--wp-admin-theme-color); }
|
||||
|
||||
.document-outline {
|
||||
margin: 20px 0; }
|
||||
@ -112,7 +121,7 @@
|
||||
.document-outline__item a {
|
||||
text-decoration: none; }
|
||||
.document-outline__item .document-outline__emdash::before {
|
||||
color: #e2e4e7;
|
||||
color: #ddd;
|
||||
margin-right: 4px; }
|
||||
.document-outline__item.is-h2 .document-outline__emdash::before {
|
||||
content: "—"; }
|
||||
@ -133,7 +142,7 @@
|
||||
align-items: flex-start;
|
||||
margin: 0 0 0 -1px;
|
||||
padding: 2px 5px 2px 1px;
|
||||
color: #23282d;
|
||||
color: #1e1e1e;
|
||||
text-align: left;
|
||||
border-radius: 2px; }
|
||||
.document-outline__button:disabled {
|
||||
@ -144,8 +153,8 @@
|
||||
outline: 2px solid transparent; }
|
||||
|
||||
.document-outline__level {
|
||||
background: #e2e4e7;
|
||||
color: #23282d;
|
||||
background: #ddd;
|
||||
color: #1e1e1e;
|
||||
border-radius: 3px;
|
||||
font-size: 13px;
|
||||
padding: 1px 6px;
|
||||
@ -161,14 +170,14 @@
|
||||
position: sticky;
|
||||
top: 0;
|
||||
right: 0;
|
||||
color: #191e23; }
|
||||
color: #1e1e1e; }
|
||||
|
||||
.components-editor-notices__pinned {
|
||||
position: relative;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
color: #191e23; }
|
||||
color: #1e1e1e; }
|
||||
|
||||
.components-editor-notices__dismissible .components-notice,
|
||||
.components-editor-notices__pinned .components-notice {
|
||||
@ -213,7 +222,7 @@
|
||||
top: 32px;
|
||||
left: auto;
|
||||
width: 280px;
|
||||
border-left: 1px solid #e2e4e7; }
|
||||
border-left: 1px solid #ddd; }
|
||||
body.is-fullscreen-mode .entities-saved-states__panel {
|
||||
top: 0; }
|
||||
.entities-saved-states__panel .entities-saved-states__find-entity {
|
||||
@ -225,7 +234,7 @@
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
height: 61px;
|
||||
border-bottom: 1px solid #e2e4e7;
|
||||
border-bottom: 1px solid #ddd;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-content: space-between; }
|
||||
@ -235,7 +244,7 @@
|
||||
position: absolute;
|
||||
right: 8px; }
|
||||
.entities-saved-states__panel .entities-saved-states__text-prompt {
|
||||
border-bottom: 1px solid #e2e4e7;
|
||||
border-bottom: 1px solid #ddd;
|
||||
padding: 16px;
|
||||
padding-bottom: 4px; }
|
||||
|
||||
@ -244,7 +253,7 @@
|
||||
max-width: 780px;
|
||||
padding: 20px;
|
||||
margin-top: 60px;
|
||||
box-shadow: 0 3px 30px rgba(25, 30, 35, 0.2); }
|
||||
box-shadow: 0 3px 30px rgba(0, 0, 0, 0.2); }
|
||||
|
||||
.editor-page-attributes__template {
|
||||
margin-bottom: 10px; }
|
||||
@ -289,7 +298,8 @@
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
transition: all 0.1s ease-out;
|
||||
box-shadow: 0 0 0 0 #00a0d2; }
|
||||
box-shadow: 0 0 0 0 #007cba;
|
||||
box-shadow: 0 0 0 0 var(--wp-admin-theme-color); }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.editor-post-featured-image__toggle,
|
||||
.editor-post-featured-image__preview {
|
||||
@ -299,17 +309,19 @@
|
||||
height: auto; }
|
||||
|
||||
.editor-post-featured-image__preview:not(:disabled):not([aria-disabled="true"]):focus {
|
||||
box-shadow: 0 0 0 4px #00a0d2; }
|
||||
box-shadow: 0 0 0 4px #007cba;
|
||||
box-shadow: 0 0 0 4px var(--wp-admin-theme-color); }
|
||||
|
||||
.editor-post-featured-image__toggle {
|
||||
border: 1px dashed #a2aab2;
|
||||
background-color: #edeff0;
|
||||
border-radius: 2px;
|
||||
background-color: #f0f0f0;
|
||||
min-height: 90px;
|
||||
line-height: 20px;
|
||||
padding: 8px 0;
|
||||
text-align: center; }
|
||||
.editor-post-featured-image__toggle:hover {
|
||||
background-color: #f8f9f9; }
|
||||
background: #ddd;
|
||||
color: #1e1e1e; }
|
||||
|
||||
.editor-post-format {
|
||||
flex-direction: column;
|
||||
@ -335,7 +347,7 @@
|
||||
.components-button.editor-post-last-revision__title {
|
||||
height: 100%; }
|
||||
.components-button.editor-post-last-revision__title:hover, .components-button.editor-post-last-revision__title:active {
|
||||
background: #f3f4f5; }
|
||||
background: #f0f0f0; }
|
||||
.components-button.editor-post-last-revision__title:focus {
|
||||
box-shadow: inset 0 0 0 1.5px #007cba;
|
||||
box-shadow: inset 0 0 0 1.5px var(--wp-admin-theme-color);
|
||||
@ -381,23 +393,33 @@
|
||||
|
||||
.editor-post-publish-panel__header {
|
||||
background: #fff;
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
height: 61px;
|
||||
border-bottom: 1px solid #e2e4e7;
|
||||
border-bottom: 1px solid #ddd;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-content: space-between; }
|
||||
.editor-post-publish-panel__header .components-button.has-icon {
|
||||
position: absolute;
|
||||
right: 8px; }
|
||||
.editor-post-publish-panel__header .components-button {
|
||||
width: 100%;
|
||||
justify-content: center; }
|
||||
.editor-post-publish-panel__header .has-icon {
|
||||
margin-left: auto;
|
||||
width: auto; }
|
||||
|
||||
.editor-post-publish-panel__header-publish-button,
|
||||
.editor-post-publish-panel__header-cancel-button {
|
||||
flex-grow: 1; }
|
||||
@media (min-width: 480px) {
|
||||
.editor-post-publish-panel__header-publish-button,
|
||||
.editor-post-publish-panel__header-cancel-button {
|
||||
max-width: 160px; } }
|
||||
|
||||
.editor-post-publish-panel__header-publish-button {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
flex-grow: 1;
|
||||
text-align: right;
|
||||
flex-wrap: nowrap; }
|
||||
padding-right: 4px; }
|
||||
|
||||
.editor-post-publish-panel__header-cancel-button {
|
||||
padding-left: 4px; }
|
||||
|
||||
.editor-post-publish-panel__header-published {
|
||||
flex-grow: 1; }
|
||||
@ -420,7 +442,7 @@
|
||||
.editor-post-publish-panel__prepublish {
|
||||
padding: 16px; }
|
||||
.editor-post-publish-panel__prepublish strong {
|
||||
color: #191e23; }
|
||||
color: #1e1e1e; }
|
||||
.editor-post-publish-panel__prepublish .components-panel__body {
|
||||
background: #fff;
|
||||
margin-left: -16px;
|
||||
@ -429,7 +451,7 @@
|
||||
display: none; }
|
||||
|
||||
.post-publish-panel__postpublish .components-panel__body {
|
||||
border-bottom: 1px solid #e2e4e7;
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
border-top: none; }
|
||||
|
||||
.post-publish-panel__postpublish-buttons {
|
||||
@ -454,7 +476,7 @@
|
||||
margin-bottom: 16px; }
|
||||
.post-publish-panel__postpublish-post-address input[readonly] {
|
||||
padding: 10px;
|
||||
background: #e8eaeb;
|
||||
background: #ddd;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis; }
|
||||
|
||||
@ -564,7 +586,7 @@
|
||||
font-size: 16px;
|
||||
/* Override core line-height. To be reviewed. */
|
||||
line-height: normal;
|
||||
border: 2px solid #757575;
|
||||
border: 1px solid #1e1e1e;
|
||||
margin-right: 12px;
|
||||
transition: none;
|
||||
border-radius: 50%;
|
||||
@ -588,14 +610,14 @@
|
||||
outline: 2px solid transparent; }
|
||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]::-webkit-input-placeholder,
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]::-moz-placeholder,
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:-ms-input-placeholder,
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]::-webkit-input-placeholder, .is-dark-theme
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
@ -608,27 +630,27 @@
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:checked::before,
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:checked::before {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
margin: 6px 0 0 6px;
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
margin: 8px 0 0 8px;
|
||||
background-color: #fff; }
|
||||
@media (min-width: 782px) {
|
||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:checked::before,
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:checked::before {
|
||||
margin: 3px 0 0 3px; } }
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
margin: 4px 0 0 4px; } }
|
||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:focus,
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:focus {
|
||||
border-color: #757575;
|
||||
box-shadow: 0 0 0 1px #757575; }
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #007cba;
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent; }
|
||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:checked,
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:checked {
|
||||
background: #007cba;
|
||||
background: var(--wp-admin-theme-color);
|
||||
border-color: #007cba;
|
||||
border-color: var(--wp-admin-theme-color); }
|
||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type="radio"]:checked:focus,
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type="radio"]:checked:focus {
|
||||
box-shadow: 0 0 0 1.5px #757575; }
|
||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-label,
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-label {
|
||||
font-weight: 600; }
|
||||
@ -671,14 +693,14 @@
|
||||
outline: 2px solid transparent; }
|
||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]::-webkit-input-placeholder,
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]::-webkit-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]::-moz-placeholder,
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]:-ms-input-placeholder,
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]:-ms-input-placeholder {
|
||||
color: rgba(14, 28, 46, 0.62); }
|
||||
color: rgba(30, 30, 30, 0.62); }
|
||||
.is-dark-theme .edit-post-post-visibility__dialog .editor-post-visibility__dialog-password-input[type="text"]::-webkit-input-placeholder, .is-dark-theme
|
||||
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-password-input[type="text"]::-webkit-input-placeholder {
|
||||
color: rgba(255, 255, 255, 0.65); }
|
||||
@ -702,7 +724,6 @@
|
||||
padding: 19px 0;
|
||||
word-break: keep-all;
|
||||
font-family: inherit;
|
||||
line-height: inherit;
|
||||
color: inherit;
|
||||
border: 1px solid transparent;
|
||||
border-left-width: 0;
|
||||
@ -710,7 +731,8 @@
|
||||
border-radius: 0;
|
||||
outline: 1px solid transparent;
|
||||
font-size: 2.44em;
|
||||
font-weight: bold; }
|
||||
font-weight: bold;
|
||||
line-height: 1.4; }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.editor-post-title .editor-post-title__input {
|
||||
transition-duration: 0s; } }
|
||||
@ -718,11 +740,11 @@
|
||||
.editor-post-title .editor-post-title__input {
|
||||
border-width: 1px; } }
|
||||
.editor-post-title .editor-post-title__input::-webkit-input-placeholder {
|
||||
color: rgba(22, 36, 53, 0.55); }
|
||||
color: rgba(30, 30, 30, 0.55); }
|
||||
.editor-post-title .editor-post-title__input::-moz-placeholder {
|
||||
color: rgba(22, 36, 53, 0.55); }
|
||||
color: rgba(30, 30, 30, 0.55); }
|
||||
.editor-post-title .editor-post-title__input:-ms-input-placeholder {
|
||||
color: rgba(22, 36, 53, 0.55); }
|
||||
color: rgba(30, 30, 30, 0.55); }
|
||||
.editor-post-title .editor-post-title__input:focus {
|
||||
border: 1px solid transparent;
|
||||
outline: 1px solid transparent;
|
||||
@ -737,12 +759,7 @@
|
||||
opacity: 1; }
|
||||
|
||||
.editor-post-trash.components-button {
|
||||
color: #b52727;
|
||||
border-color: #b52727;
|
||||
justify-content: center; }
|
||||
.editor-post-trash.components-button:not(:disabled):not([aria-disabled="true"]):hover, .editor-post-trash.components-button:not([aria-disabled="true"]):focus {
|
||||
color: #a02222;
|
||||
border-color: #a02222; }
|
||||
margin-left: -6px; }
|
||||
|
||||
.table-of-contents__popover.components-popover .components-popover__content {
|
||||
min-width: 380px; }
|
||||
|
2
wp-includes/css/dist/editor/style.min.css
vendored
2
wp-includes/css/dist/editor/style.min.css
vendored
File diff suppressed because one or more lines are too long
@ -1,12 +1,20 @@
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Fonts & basic variables.
|
||||
*/
|
||||
|
@ -1,12 +1,20 @@
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Fonts & basic variables.
|
||||
*/
|
||||
|
@ -1,12 +1,20 @@
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Fonts & basic variables.
|
||||
*/
|
||||
@ -89,6 +97,11 @@ body.admin-color-light {
|
||||
--wp-admin-theme-color-darker-10: #0073a1;
|
||||
--wp-admin-theme-color-darker-20: #006187; }
|
||||
|
||||
body.admin-color-modern {
|
||||
--wp-admin-theme-color: #3858e9;
|
||||
--wp-admin-theme-color-darker-10: #2145e6;
|
||||
--wp-admin-theme-color-darker-20: #183ad6; }
|
||||
|
||||
body.admin-color-blue {
|
||||
--wp-admin-theme-color: #096484;
|
||||
--wp-admin-theme-color-darker-10: #07526c;
|
||||
|
@ -1 +1 @@
|
||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.list-reusable-blocks-import-dropdown__content .components-popover__content>div{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;align-items:center;position:relative;top:-3px}.list-reusable-blocks__container .components-button{height:26px}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}
|
||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.list-reusable-blocks-import-dropdown__content .components-popover__content>div{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;align-items:center;position:relative;top:-3px}.list-reusable-blocks__container .components-button{height:26px}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}
|
@ -1,12 +1,20 @@
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Fonts & basic variables.
|
||||
*/
|
||||
@ -89,6 +97,11 @@ body.admin-color-light {
|
||||
--wp-admin-theme-color-darker-10: #0073a1;
|
||||
--wp-admin-theme-color-darker-20: #006187; }
|
||||
|
||||
body.admin-color-modern {
|
||||
--wp-admin-theme-color: #3858e9;
|
||||
--wp-admin-theme-color-darker-10: #2145e6;
|
||||
--wp-admin-theme-color-darker-20: #183ad6; }
|
||||
|
||||
body.admin-color-blue {
|
||||
--wp-admin-theme-color: #096484;
|
||||
--wp-admin-theme-color-darker-10: #07526c;
|
||||
|
@ -1 +1 @@
|
||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.list-reusable-blocks-import-dropdown__content .components-popover__content>div{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;align-items:center;position:relative;top:-3px}.list-reusable-blocks__container .components-button{height:26px}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}
|
||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.list-reusable-blocks-import-dropdown__content .components-popover__content>div{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;align-items:center;position:relative;top:-3px}.list-reusable-blocks__container .components-button{height:26px}body.admin-color-light{--wp-admin-theme-color:#0085ba;--wp-admin-theme-color-darker-10:#0073a1;--wp-admin-theme-color-darker-20:#006187}body.admin-color-modern{--wp-admin-theme-color:#3858e9;--wp-admin-theme-color-darker-10:#2145e6;--wp-admin-theme-color-darker-20:#183ad6}body.admin-color-blue{--wp-admin-theme-color:#096484;--wp-admin-theme-color-darker-10:#07526c;--wp-admin-theme-color-darker-20:#064054}body.admin-color-coffee{--wp-admin-theme-color:#46403c;--wp-admin-theme-color-darker-10:#383330;--wp-admin-theme-color-darker-20:#2b2724}body.admin-color-ectoplasm{--wp-admin-theme-color:#523f6d;--wp-admin-theme-color-darker-10:#46365d;--wp-admin-theme-color-darker-20:#3a2c4d}body.admin-color-midnight{--wp-admin-theme-color:#e14d43;--wp-admin-theme-color-darker-10:#dd382d;--wp-admin-theme-color-darker-20:#d02c21}body.admin-color-ocean{--wp-admin-theme-color:#627c83;--wp-admin-theme-color-darker-10:#576e74;--wp-admin-theme-color-darker-20:#4c6066}body.admin-color-sunrise{--wp-admin-theme-color:#dd823b;--wp-admin-theme-color-darker-10:#d97426;--wp-admin-theme-color-darker-20:#c36922}
|
9
wp-includes/css/dist/nux/style-rtl.css
vendored
9
wp-includes/css/dist/nux/style-rtl.css
vendored
@ -1,12 +1,20 @@
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Fonts & basic variables.
|
||||
*/
|
||||
@ -71,6 +79,7 @@
|
||||
.nux-dot-tip::before {
|
||||
animation: nux-pulse 1.6s infinite cubic-bezier(0.17, 0.67, 0.92, 0.62);
|
||||
background: rgba(0, 115, 156, 0.9);
|
||||
opacity: 0.9;
|
||||
height: 24px;
|
||||
right: -12px;
|
||||
top: -12px;
|
||||
|
2
wp-includes/css/dist/nux/style-rtl.min.css
vendored
2
wp-includes/css/dist/nux/style-rtl.min.css
vendored
@ -1 +1 @@
|
||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.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 cubic-bezier(.17,.67,.92,.62) infinite;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{to{background:rgba(0,115,156,0);transform:scale(1)}}.nux-dot-tip .components-popover__content{width:350px}.nux-dot-tip .components-popover__content>div{padding:20px 18px}@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[data-y-axis=top]{margin-top:-4px}.nux-dot-tip[data-y-axis=bottom]{margin-top:4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left]{margin-right:-4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right]{margin-right:4px}.nux-dot-tip[data-y-axis=top] .components-popover__content{margin-bottom:20px}.nux-dot-tip[data-y-axis=bottom] .components-popover__content{margin-top:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left] .components-popover__content{margin-left:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right] .components-popover__content{margin-right:20px}.nux-dot-tip[data-y-axis=center],.nux-dot-tip[data-y-axis=left],.nux-dot-tip[data-y-axis=right]{z-index:1000001}@media (max-width:600px){.nux-dot-tip[data-y-axis=center] .components-popover__content,.nux-dot-tip[data-y-axis=left] .components-popover__content,.nux-dot-tip[data-y-axis=right] .components-popover__content{-ms-grid-row-align:end;align-self:end;right:5px;margin:20px 0 0;max-width:none!important;position:fixed;left:5px;width:auto}}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{margin-left:0}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content{margin-right:0}.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{margin-left:-12px}.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content{margin-right:-12px}
|
||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.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 cubic-bezier(.17,.67,.92,.62) infinite;background:rgba(0,115,156,.9);opacity:.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{to{background:rgba(0,115,156,0);transform:scale(1)}}.nux-dot-tip .components-popover__content{width:350px}.nux-dot-tip .components-popover__content>div{padding:20px 18px}@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[data-y-axis=top]{margin-top:-4px}.nux-dot-tip[data-y-axis=bottom]{margin-top:4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left]{margin-right:-4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right]{margin-right:4px}.nux-dot-tip[data-y-axis=top] .components-popover__content{margin-bottom:20px}.nux-dot-tip[data-y-axis=bottom] .components-popover__content{margin-top:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left] .components-popover__content{margin-left:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right] .components-popover__content{margin-right:20px}.nux-dot-tip[data-y-axis=center],.nux-dot-tip[data-y-axis=left],.nux-dot-tip[data-y-axis=right]{z-index:1000001}@media (max-width:600px){.nux-dot-tip[data-y-axis=center] .components-popover__content,.nux-dot-tip[data-y-axis=left] .components-popover__content,.nux-dot-tip[data-y-axis=right] .components-popover__content{-ms-grid-row-align:end;align-self:end;right:5px;margin:20px 0 0;max-width:none!important;position:fixed;left:5px;width:auto}}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{margin-left:0}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content{margin-right:0}.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{margin-left:-12px}.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content{margin-right:-12px}
|
9
wp-includes/css/dist/nux/style.css
vendored
9
wp-includes/css/dist/nux/style.css
vendored
@ -1,12 +1,20 @@
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Breakpoints & Media Queries
|
||||
*/
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
/**
|
||||
* Deprecated colors.
|
||||
* Please avoid using these.
|
||||
*/
|
||||
/**
|
||||
* Fonts & basic variables.
|
||||
*/
|
||||
@ -71,6 +79,7 @@
|
||||
.nux-dot-tip::before {
|
||||
animation: nux-pulse 1.6s infinite cubic-bezier(0.17, 0.67, 0.92, 0.62);
|
||||
background: rgba(0, 115, 156, 0.9);
|
||||
opacity: 0.9;
|
||||
height: 24px;
|
||||
left: -12px;
|
||||
top: -12px;
|
||||
|
2
wp-includes/css/dist/nux/style.min.css
vendored
2
wp-includes/css/dist/nux/style.min.css
vendored
@ -1,4 +1,4 @@
|
||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.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 cubic-bezier(.17,.67,.92,.62) infinite;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{to{background:rgba(0,115,156,0);transform:scale(1)}}.nux-dot-tip .components-popover__content{width:350px}.nux-dot-tip .components-popover__content>div{padding:20px 18px}@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[data-y-axis=top]{margin-top:-4px}.nux-dot-tip[data-y-axis=bottom]{margin-top:4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left]{margin-left:-4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right]{margin-left:4px}.nux-dot-tip[data-y-axis=top] .components-popover__content{margin-bottom:20px}.nux-dot-tip[data-y-axis=bottom] .components-popover__content{margin-top:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left] .components-popover__content{margin-right:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right] .components-popover__content{margin-left:20px}.nux-dot-tip[data-y-axis=center],.nux-dot-tip[data-y-axis=left],.nux-dot-tip[data-y-axis=right]{z-index:1000001}@media (max-width:600px){.nux-dot-tip[data-y-axis=center] .components-popover__content,.nux-dot-tip[data-y-axis=left] .components-popover__content,.nux-dot-tip[data-y-axis=right] .components-popover__content{-ms-grid-row-align:end;align-self:end;left:5px;margin:20px 0 0;max-width:none!important;position:fixed;right:5px;width:auto}}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{
|
||||
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87}.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 cubic-bezier(.17,.67,.92,.62) infinite;background:rgba(0,115,156,.9);opacity:.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{to{background:rgba(0,115,156,0);transform:scale(1)}}.nux-dot-tip .components-popover__content{width:350px}.nux-dot-tip .components-popover__content>div{padding:20px 18px}@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[data-y-axis=top]{margin-top:-4px}.nux-dot-tip[data-y-axis=bottom]{margin-top:4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left]{margin-left:-4px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right]{margin-left:4px}.nux-dot-tip[data-y-axis=top] .components-popover__content{margin-bottom:20px}.nux-dot-tip[data-y-axis=bottom] .components-popover__content{margin-top:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=left] .components-popover__content{margin-right:20px}.nux-dot-tip[data-y-axis=middle][data-y-axis=right] .components-popover__content{margin-left:20px}.nux-dot-tip[data-y-axis=center],.nux-dot-tip[data-y-axis=left],.nux-dot-tip[data-y-axis=right]{z-index:1000001}@media (max-width:600px){.nux-dot-tip[data-y-axis=center] .components-popover__content,.nux-dot-tip[data-y-axis=left] .components-popover__content,.nux-dot-tip[data-y-axis=right] .components-popover__content{-ms-grid-row-align:end;align-self:end;left:5px;margin:20px 0 0;max-width:none!important;position:fixed;right:5px;width:auto}}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{
|
||||
/*!rtl:ignore*/margin-left:0}.nux-dot-tip.components-popover:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content{
|
||||
/*!rtl:ignore*/margin-right:0}.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=right] .components-popover__content{
|
||||
/*!rtl:ignore*/margin-left:-12px}.nux-dot-tip.components-popover.edit-post-more-menu__content:not([data-y-axis=middle])[data-y-axis=left] .components-popover__content{
|
||||
|
8
wp-includes/js/dist/a11y.js
vendored
8
wp-includes/js/dist/a11y.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["a11y"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 457);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 459);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -94,14 +94,14 @@ this["wp"] = this["wp"] || {}; this["wp"]["a11y"] =
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 254:
|
||||
/***/ 259:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["domReady"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 457:
|
||||
/***/ 459:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -113,7 +113,7 @@ __webpack_require__.d(__webpack_exports__, "setup", function() { return /* bindi
|
||||
__webpack_require__.d(__webpack_exports__, "speak", function() { return /* binding */ speak; });
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","domReady"]}
|
||||
var external_this_wp_domReady_ = __webpack_require__(254);
|
||||
var external_this_wp_domReady_ = __webpack_require__(259);
|
||||
var external_this_wp_domReady_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_domReady_);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","i18n"]}
|
||||
|
2
wp-includes/js/dist/a11y.min.js
vendored
2
wp-includes/js/dist/a11y.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
this.wp=this.wp||{},this.wp.a11y=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=457)}({1:function(t,e){!function(){t.exports=this.wp.i18n}()},254:function(t,e){!function(){t.exports=this.wp.domReady}()},457:function(t,e,n){"use strict";n.r(e),n.d(e,"setup",(function(){return p})),n.d(e,"speak",(function(){return d}));var r=n(254),i=n.n(r),o=n(1);function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"polite",e=document.createElement("div");e.id="a11y-speak-".concat(t),e.className="a11y-speak-region",e.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),e.setAttribute("aria-live",t),e.setAttribute("aria-relevant","additions text"),e.setAttribute("aria-atomic","true");var n=document,r=n.body;return r&&r.appendChild(e),e}var u="";function p(){var t=document.getElementById("a11y-speak-intro-text"),e=document.getElementById("a11y-speak-assertive"),n=document.getElementById("a11y-speak-polite");null===t&&function(){var t=document.createElement("p");t.id="a11y-speak-intro-text",t.className="a11y-speak-intro-text",t.textContent=Object(o.__)("Notifications"),t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("hidden","hidden");var e=document.body;e&&e.appendChild(t)}(),null===e&&a("assertive"),null===n&&a("polite")}function d(t,e){!function(){for(var t=document.getElementsByClassName("a11y-speak-region"),e=document.getElementById("a11y-speak-intro-text"),n=0;n<t.length;n++)t[n].textContent="";e&&e.setAttribute("hidden","hidden")}(),t=function(t){return t=t.replace(/<[^<>]+>/g," "),u===t&&(t+=" "),u=t,t}(t);var n=document.getElementById("a11y-speak-intro-text"),r=document.getElementById("a11y-speak-assertive"),i=document.getElementById("a11y-speak-polite");r&&"assertive"===e?r.textContent=t:i&&(i.textContent=t),n&&n.removeAttribute("hidden")}i()(p)}});
|
||||
this.wp=this.wp||{},this.wp.a11y=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=459)}({1:function(t,e){!function(){t.exports=this.wp.i18n}()},259:function(t,e){!function(){t.exports=this.wp.domReady}()},459:function(t,e,n){"use strict";n.r(e),n.d(e,"setup",(function(){return p})),n.d(e,"speak",(function(){return d}));var r=n(259),i=n.n(r),o=n(1);function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"polite",e=document.createElement("div");e.id="a11y-speak-".concat(t),e.className="a11y-speak-region",e.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),e.setAttribute("aria-live",t),e.setAttribute("aria-relevant","additions text"),e.setAttribute("aria-atomic","true");var n=document,r=n.body;return r&&r.appendChild(e),e}var u="";function p(){var t=document.getElementById("a11y-speak-intro-text"),e=document.getElementById("a11y-speak-assertive"),n=document.getElementById("a11y-speak-polite");null===t&&function(){var t=document.createElement("p");t.id="a11y-speak-intro-text",t.className="a11y-speak-intro-text",t.textContent=Object(o.__)("Notifications"),t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("hidden","hidden");var e=document.body;e&&e.appendChild(t)}(),null===e&&a("assertive"),null===n&&a("polite")}function d(t,e){!function(){for(var t=document.getElementsByClassName("a11y-speak-region"),e=document.getElementById("a11y-speak-intro-text"),n=0;n<t.length;n++)t[n].textContent="";e&&e.setAttribute("hidden","hidden")}(),t=function(t){return t=t.replace(/<[^<>]+>/g," "),u===t&&(t+=" "),u=t,t}(t);var n=document.getElementById("a11y-speak-intro-text"),r=document.getElementById("a11y-speak-assertive"),i=document.getElementById("a11y-speak-polite");r&&"assertive"===e?r.textContent=t:i&&(i.textContent=t),n&&n.removeAttribute("hidden")}i()(p)}});
|
98
wp-includes/js/dist/annotations.js
vendored
98
wp-includes/js/dist/annotations.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["annotations"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 450);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 452);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -99,7 +99,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["annotations"] =
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
|
||||
/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(42);
|
||||
/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(41);
|
||||
|
||||
function _objectWithoutProperties(source, excluded) {
|
||||
if (source == null) return {};
|
||||
@ -122,7 +122,7 @@ function _objectWithoutProperties(source, excluded) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 16:
|
||||
/***/ 17:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -142,7 +142,7 @@ function _arrayWithoutHoles(arr) {
|
||||
var iterableToArray = __webpack_require__(35);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(28);
|
||||
var unsupportedIterableToArray = __webpack_require__(29);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
||||
function _nonIterableSpread() {
|
||||
@ -166,14 +166,14 @@ function _toConsumableArray(arr) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 25:
|
||||
/***/ 24:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["richText"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 253:
|
||||
/***/ 258:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -261,7 +261,7 @@ function _arrayLikeToArray(arr, len) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 28:
|
||||
/***/ 29:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -279,7 +279,7 @@ function _unsupportedIterableToArray(o, minLen) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 31:
|
||||
/***/ 32:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["hooks"]; }());
|
||||
@ -307,6 +307,28 @@ function _iterableToArray(iter) {
|
||||
/***/ 41:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; });
|
||||
function _objectWithoutPropertiesLoose(source, excluded) {
|
||||
if (source == null) return {};
|
||||
var target = {};
|
||||
var sourceKeys = Object.keys(source);
|
||||
var key, i;
|
||||
|
||||
for (i = 0; i < sourceKeys.length; i++) {
|
||||
key = sourceKeys[i];
|
||||
if (excluded.indexOf(key) >= 0) continue;
|
||||
target[key] = source[key];
|
||||
}
|
||||
|
||||
return target;
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 42:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
||||
@ -586,29 +608,7 @@ function isShallowEqual( a, b, fromIndex ) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 42:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; });
|
||||
function _objectWithoutPropertiesLoose(source, excluded) {
|
||||
if (source == null) return {};
|
||||
var target = {};
|
||||
var sourceKeys = Object.keys(source);
|
||||
var key, i;
|
||||
|
||||
for (i = 0; i < sourceKeys.length; i++) {
|
||||
key = sourceKeys[i];
|
||||
if (excluded.indexOf(key) >= 0) continue;
|
||||
target[key] = source[key];
|
||||
}
|
||||
|
||||
return target;
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 450:
|
||||
/***/ 452:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -635,7 +635,7 @@ __webpack_require__.d(actions_namespaceObject, "__experimentalRemoveAnnotationsB
|
||||
var external_this_wp_data_ = __webpack_require__(4);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
|
||||
var toConsumableArray = __webpack_require__(16);
|
||||
var toConsumableArray = __webpack_require__(17);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
||||
var defineProperty = __webpack_require__(5);
|
||||
@ -683,7 +683,7 @@ function isValidAnnotationRange(annotation) {
|
||||
/**
|
||||
* Reducer managing annotations.
|
||||
*
|
||||
* @param {Array} state The annotations currently shown in the editor.
|
||||
* @param {Object} state The annotations currently shown in the editor.
|
||||
* @param {Object} action Dispatched action.
|
||||
*
|
||||
* @return {Array} Updated state.
|
||||
@ -691,6 +691,8 @@ function isValidAnnotationRange(annotation) {
|
||||
|
||||
|
||||
function reducer_annotations() {
|
||||
var _state$blockClientId;
|
||||
|
||||
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
||||
var action = arguments.length > 1 ? arguments[1] : undefined;
|
||||
|
||||
@ -710,7 +712,7 @@ function reducer_annotations() {
|
||||
return state;
|
||||
}
|
||||
|
||||
var previousAnnotationsForBlock = Object(external_this_lodash_["get"])(state, blockClientId, []);
|
||||
var previousAnnotationsForBlock = (_state$blockClientId = state === null || state === void 0 ? void 0 : state[blockClientId]) !== null && _state$blockClientId !== void 0 ? _state$blockClientId : [];
|
||||
return _objectSpread({}, state, Object(defineProperty["a" /* default */])({}, blockClientId, [].concat(Object(toConsumableArray["a" /* default */])(previousAnnotationsForBlock), [newAnnotation])));
|
||||
|
||||
case 'ANNOTATION_REMOVE':
|
||||
@ -755,7 +757,7 @@ function reducer_annotations() {
|
||||
var objectWithoutProperties = __webpack_require__(14);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
|
||||
var rememo = __webpack_require__(41);
|
||||
var rememo = __webpack_require__(42);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/selectors.js
|
||||
|
||||
@ -791,14 +793,20 @@ var EMPTY_ARRAY = [];
|
||||
*/
|
||||
|
||||
var __experimentalGetAnnotationsForBlock = Object(rememo["a" /* default */])(function (state, blockClientId) {
|
||||
return Object(external_this_lodash_["get"])(state, blockClientId, []).filter(function (annotation) {
|
||||
var _state$blockClientId;
|
||||
|
||||
return ((_state$blockClientId = state === null || state === void 0 ? void 0 : state[blockClientId]) !== null && _state$blockClientId !== void 0 ? _state$blockClientId : []).filter(function (annotation) {
|
||||
return annotation.selector === 'block';
|
||||
});
|
||||
}, function (state, blockClientId) {
|
||||
return [Object(external_this_lodash_["get"])(state, blockClientId, EMPTY_ARRAY)];
|
||||
var _state$blockClientId2;
|
||||
|
||||
return [(_state$blockClientId2 = state === null || state === void 0 ? void 0 : state[blockClientId]) !== null && _state$blockClientId2 !== void 0 ? _state$blockClientId2 : EMPTY_ARRAY];
|
||||
});
|
||||
function __experimentalGetAllAnnotationsForBlock(state, blockClientId) {
|
||||
return Object(external_this_lodash_["get"])(state, blockClientId, EMPTY_ARRAY);
|
||||
var _state$blockClientId3;
|
||||
|
||||
return (_state$blockClientId3 = state === null || state === void 0 ? void 0 : state[blockClientId]) !== null && _state$blockClientId3 !== void 0 ? _state$blockClientId3 : EMPTY_ARRAY;
|
||||
}
|
||||
/**
|
||||
* Returns the annotations that apply to the given RichText instance.
|
||||
@ -814,7 +822,9 @@ function __experimentalGetAllAnnotationsForBlock(state, blockClientId) {
|
||||
*/
|
||||
|
||||
var __experimentalGetAnnotationsForRichText = Object(rememo["a" /* default */])(function (state, blockClientId, richTextIdentifier) {
|
||||
return Object(external_this_lodash_["get"])(state, blockClientId, []).filter(function (annotation) {
|
||||
var _state$blockClientId4;
|
||||
|
||||
return ((_state$blockClientId4 = state === null || state === void 0 ? void 0 : state[blockClientId]) !== null && _state$blockClientId4 !== void 0 ? _state$blockClientId4 : []).filter(function (annotation) {
|
||||
return annotation.selector === 'range' && richTextIdentifier === annotation.richTextIdentifier;
|
||||
}).map(function (annotation) {
|
||||
var range = annotation.range,
|
||||
@ -823,7 +833,9 @@ var __experimentalGetAnnotationsForRichText = Object(rememo["a" /* default */])(
|
||||
return selectors_objectSpread({}, range, {}, other);
|
||||
});
|
||||
}, function (state, blockClientId) {
|
||||
return [Object(external_this_lodash_["get"])(state, blockClientId, EMPTY_ARRAY)];
|
||||
var _state$blockClientId5;
|
||||
|
||||
return [(_state$blockClientId5 = state === null || state === void 0 ? void 0 : state[blockClientId]) !== null && _state$blockClientId5 !== void 0 ? _state$blockClientId5 : EMPTY_ARRAY];
|
||||
});
|
||||
/**
|
||||
* Returns all annotations in the editor state.
|
||||
@ -839,7 +851,7 @@ function __experimentalGetAnnotations(state) {
|
||||
}
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/uuid/dist/esm-browser/v4.js + 2 modules
|
||||
var v4 = __webpack_require__(253);
|
||||
var v4 = __webpack_require__(258);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/actions.js
|
||||
/**
|
||||
@ -973,7 +985,7 @@ var store = Object(external_this_wp_data_["registerStore"])(MODULE_KEY, {
|
||||
/* harmony default export */ var build_module_store = (store);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","richText"]}
|
||||
var external_this_wp_richText_ = __webpack_require__(25);
|
||||
var external_this_wp_richText_ = __webpack_require__(24);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","i18n"]}
|
||||
var external_this_wp_i18n_ = __webpack_require__(1);
|
||||
@ -1169,7 +1181,7 @@ var format_name = annotation_annotation.name,
|
||||
Object(external_this_wp_richText_["registerFormatType"])(format_name, settings);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","hooks"]}
|
||||
var external_this_wp_hooks_ = __webpack_require__(31);
|
||||
var external_this_wp_hooks_ = __webpack_require__(32);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/block/index.js
|
||||
/**
|
||||
|
2
wp-includes/js/dist/annotations.min.js
vendored
2
wp-includes/js/dist/annotations.min.js
vendored
File diff suppressed because one or more lines are too long
8
wp-includes/js/dist/api-fetch.js
vendored
8
wp-includes/js/dist/api-fetch.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["apiFetch"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 448);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 450);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -99,7 +99,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["apiFetch"] =
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
|
||||
/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(42);
|
||||
/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(41);
|
||||
|
||||
function _objectWithoutProperties(source, excluded) {
|
||||
if (source == null) return {};
|
||||
@ -136,7 +136,7 @@ function _objectWithoutProperties(source, excluded) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 42:
|
||||
/***/ 41:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -158,7 +158,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 448:
|
||||
/***/ 450:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
2
wp-includes/js/dist/api-fetch.min.js
vendored
2
wp-includes/js/dist/api-fetch.min.js
vendored
File diff suppressed because one or more lines are too long
12
wp-includes/js/dist/autop.js
vendored
12
wp-includes/js/dist/autop.js
vendored
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["autop"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 279);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 283);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 15:
|
||||
/***/ 13:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -126,7 +126,7 @@ function _iterableToArrayLimit(arr, i) {
|
||||
return _arr;
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(28);
|
||||
var unsupportedIterableToArray = __webpack_require__(29);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(39);
|
||||
@ -159,14 +159,14 @@ function _arrayLikeToArray(arr, len) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 279:
|
||||
/***/ 283:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "autop", function() { return autop; });
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "removep", function() { return removep; });
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(15);
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(13);
|
||||
|
||||
|
||||
/**
|
||||
@ -575,7 +575,7 @@ function removep(html) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 28:
|
||||
/***/ 29:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
2
wp-includes/js/dist/autop.min.js
vendored
2
wp-includes/js/dist/autop.min.js
vendored
File diff suppressed because one or more lines are too long
4
wp-includes/js/dist/blob.js
vendored
4
wp-includes/js/dist/blob.js
vendored
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["blob"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 280);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 284);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 280:
|
||||
/***/ 284:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
2
wp-includes/js/dist/blob.min.js
vendored
2
wp-includes/js/dist/blob.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
this.wp=this.wp||{},this.wp.blob=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=280)}({280:function(e,t,n){"use strict";n.r(t),n.d(t,"createBlobURL",(function(){return f})),n.d(t,"getBlobByURL",(function(){return c})),n.d(t,"revokeBlobURL",(function(){return l})),n.d(t,"isBlobURL",(function(){return d}));var r=window.URL,o=r.createObjectURL,u=r.revokeObjectURL,i={};function f(e){var t=o(e);return i[t]=e,t}function c(e){return i[e]}function l(e){i[e]&&u(e),delete i[e]}function d(e){return!(!e||!e.indexOf)&&0===e.indexOf("blob:")}}});
|
||||
this.wp=this.wp||{},this.wp.blob=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=284)}({284:function(e,t,n){"use strict";n.r(t),n.d(t,"createBlobURL",(function(){return f})),n.d(t,"getBlobByURL",(function(){return c})),n.d(t,"revokeBlobURL",(function(){return l})),n.d(t,"isBlobURL",(function(){return d}));var r=window.URL,o=r.createObjectURL,u=r.revokeObjectURL,i={};function f(e){var t=o(e);return i[t]=e,t}function c(e){return i[e]}function l(e){i[e]&&u(e),delete i[e]}function d(e){return!(!e||!e.indexOf)&&0===e.indexOf("blob:")}}});
|
560
wp-includes/js/dist/block-directory.js
vendored
560
wp-includes/js/dist/block-directory.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["blockDirectory"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 441);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 443);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -101,14 +101,69 @@ this["wp"] = this["wp"] || {}; this["wp"]["blockDirectory"] =
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 12:
|
||||
/***/ 10:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["blocks"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 130:
|
||||
/***/ 13:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
// EXPORTS
|
||||
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _slicedToArray; });
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
||||
var arrayWithHoles = __webpack_require__(38);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
||||
function _iterableToArrayLimit(arr, i) {
|
||||
if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
|
||||
var _arr = [];
|
||||
var _n = true;
|
||||
var _d = false;
|
||||
var _e = undefined;
|
||||
|
||||
try {
|
||||
for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
|
||||
_arr.push(_s.value);
|
||||
|
||||
if (i && _arr.length === i) break;
|
||||
}
|
||||
} catch (err) {
|
||||
_d = true;
|
||||
_e = err;
|
||||
} finally {
|
||||
try {
|
||||
if (!_n && _i["return"] != null) _i["return"]();
|
||||
} finally {
|
||||
if (_d) throw _e;
|
||||
}
|
||||
}
|
||||
|
||||
return _arr;
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(29);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(39);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
||||
|
||||
|
||||
|
||||
|
||||
function _slicedToArray(arr, i) {
|
||||
return Object(arrayWithHoles["a" /* default */])(arr) || _iterableToArrayLimit(arr, i) || Object(unsupportedIterableToArray["a" /* default */])(arr, i) || Object(nonIterableRest["a" /* default */])();
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 131:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -166,7 +221,7 @@ function Icon(_ref) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
|
||||
/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(42);
|
||||
/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(41);
|
||||
|
||||
function _objectWithoutProperties(source, excluded) {
|
||||
if (source == null) return {};
|
||||
@ -189,62 +244,7 @@ function _objectWithoutProperties(source, excluded) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 15:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
// EXPORTS
|
||||
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _slicedToArray; });
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
||||
var arrayWithHoles = __webpack_require__(38);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
||||
function _iterableToArrayLimit(arr, i) {
|
||||
if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
|
||||
var _arr = [];
|
||||
var _n = true;
|
||||
var _d = false;
|
||||
var _e = undefined;
|
||||
|
||||
try {
|
||||
for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
|
||||
_arr.push(_s.value);
|
||||
|
||||
if (i && _arr.length === i) break;
|
||||
}
|
||||
} catch (err) {
|
||||
_d = true;
|
||||
_e = err;
|
||||
} finally {
|
||||
try {
|
||||
if (!_n && _i["return"] != null) _i["return"]();
|
||||
} finally {
|
||||
if (_d) throw _e;
|
||||
}
|
||||
}
|
||||
|
||||
return _arr;
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(28);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(39);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
||||
|
||||
|
||||
|
||||
|
||||
function _slicedToArray(arr, i) {
|
||||
return Object(arrayWithHoles["a" /* default */])(arr) || _iterableToArrayLimit(arr, i) || Object(unsupportedIterableToArray["a" /* default */])(arr, i) || Object(nonIterableRest["a" /* default */])();
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 16:
|
||||
/***/ 17:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -264,7 +264,7 @@ function _arrayWithoutHoles(arr) {
|
||||
var iterableToArray = __webpack_require__(35);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(28);
|
||||
var unsupportedIterableToArray = __webpack_require__(29);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
||||
function _nonIterableSpread() {
|
||||
@ -295,13 +295,6 @@ function _toConsumableArray(arr) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 255:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["editPost"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 26:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
@ -319,25 +312,14 @@ function _arrayLikeToArray(arr, len) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 28:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
/***/ 260:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
|
||||
/* harmony import */ var _arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(26);
|
||||
|
||||
function _unsupportedIterableToArray(o, minLen) {
|
||||
if (!o) return;
|
||||
if (typeof o === "string") return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
||||
var n = Object.prototype.toString.call(o).slice(8, -1);
|
||||
if (n === "Object" && o.constructor) n = o.constructor.name;
|
||||
if (n === "Map" || n === "Set") return Array.from(o);
|
||||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
||||
}
|
||||
(function() { module.exports = this["wp"]["editPost"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 281:
|
||||
/***/ 285:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -362,7 +344,7 @@ var starFilled = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createE
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 282:
|
||||
/***/ 286:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -387,6 +369,24 @@ var starEmpty = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createEl
|
||||
/* harmony default export */ __webpack_exports__["a"] = (starEmpty);
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 29:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
|
||||
/* harmony import */ var _arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(26);
|
||||
|
||||
function _unsupportedIterableToArray(o, minLen) {
|
||||
if (!o) return;
|
||||
if (typeof o === "string") return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
||||
var n = Object.prototype.toString.call(o).slice(8, -1);
|
||||
if (n === "Object" && o.constructor) n = o.constructor.name;
|
||||
if (n === "Map" || n === "Set") return Array.from(o);
|
||||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 3:
|
||||
@ -396,6 +396,13 @@ var starEmpty = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createEl
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 30:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["url"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 35:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
@ -443,7 +450,7 @@ function _nonIterableRest() {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 42:
|
||||
/***/ 41:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -465,7 +472,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 441:
|
||||
/***/ 443:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -477,7 +484,6 @@ var selectors_namespaceObject = {};
|
||||
__webpack_require__.r(selectors_namespaceObject);
|
||||
__webpack_require__.d(selectors_namespaceObject, "isRequestingDownloadableBlocks", function() { return isRequestingDownloadableBlocks; });
|
||||
__webpack_require__.d(selectors_namespaceObject, "getDownloadableBlocks", function() { return selectors_getDownloadableBlocks; });
|
||||
__webpack_require__.d(selectors_namespaceObject, "hasInstallBlocksPermission", function() { return selectors_hasInstallBlocksPermission; });
|
||||
__webpack_require__.d(selectors_namespaceObject, "getInstalledBlockTypes", function() { return getInstalledBlockTypes; });
|
||||
__webpack_require__.d(selectors_namespaceObject, "getNewBlockTypes", function() { return getNewBlockTypes; });
|
||||
__webpack_require__.d(selectors_namespaceObject, "getUnusedBlockTypes", function() { return getUnusedBlockTypes; });
|
||||
@ -490,7 +496,6 @@ var actions_namespaceObject = {};
|
||||
__webpack_require__.r(actions_namespaceObject);
|
||||
__webpack_require__.d(actions_namespaceObject, "fetchDownloadableBlocks", function() { return fetchDownloadableBlocks; });
|
||||
__webpack_require__.d(actions_namespaceObject, "receiveDownloadableBlocks", function() { return receiveDownloadableBlocks; });
|
||||
__webpack_require__.d(actions_namespaceObject, "setInstallBlocksPermission", function() { return setInstallBlocksPermission; });
|
||||
__webpack_require__.d(actions_namespaceObject, "installBlockType", function() { return actions_installBlockType; });
|
||||
__webpack_require__.d(actions_namespaceObject, "uninstallBlockType", function() { return actions_uninstallBlockType; });
|
||||
__webpack_require__.d(actions_namespaceObject, "addInstalledBlockType", function() { return addInstalledBlockType; });
|
||||
@ -499,6 +504,9 @@ __webpack_require__.d(actions_namespaceObject, "setIsInstalling", function() { r
|
||||
__webpack_require__.d(actions_namespaceObject, "setErrorNotice", function() { return setErrorNotice; });
|
||||
__webpack_require__.d(actions_namespaceObject, "clearErrorNotice", function() { return clearErrorNotice; });
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","notices"]}
|
||||
var external_this_wp_notices_ = __webpack_require__(92);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
||||
var defineProperty = __webpack_require__(5);
|
||||
|
||||
@ -509,7 +517,10 @@ var external_this_wp_data_ = __webpack_require__(4);
|
||||
var external_this_wp_dataControls_ = __webpack_require__(36);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
|
||||
var toConsumableArray = __webpack_require__(16);
|
||||
var toConsumableArray = __webpack_require__(17);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":"lodash"}
|
||||
var external_this_lodash_ = __webpack_require__(2);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/reducer.js
|
||||
|
||||
@ -519,10 +530,15 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
||||
|
||||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
||||
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Reducer returning an array of downloadable blocks.
|
||||
*
|
||||
@ -588,25 +604,6 @@ var reducer_blockManagement = function blockManagement() {
|
||||
|
||||
return state;
|
||||
};
|
||||
/**
|
||||
* Reducer returning an array of downloadable blocks.
|
||||
*
|
||||
* @param {Object} state Current state.
|
||||
* @param {Object} action Dispatched action.
|
||||
*
|
||||
* @return {Object} Updated state.
|
||||
*/
|
||||
|
||||
function reducer_hasPermission() {
|
||||
var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
|
||||
var action = arguments.length > 1 ? arguments[1] : undefined;
|
||||
|
||||
if (action.type === 'SET_INSTALL_BLOCKS_PERMISSION') {
|
||||
return action.hasPermission;
|
||||
}
|
||||
|
||||
return state;
|
||||
}
|
||||
/**
|
||||
* Reducer returning an object of error notices.
|
||||
*
|
||||
@ -622,7 +619,13 @@ var reducer_errorNotices = function errorNotices() {
|
||||
|
||||
switch (action.type) {
|
||||
case 'SET_ERROR_NOTICE':
|
||||
return _objectSpread({}, state, Object(defineProperty["a" /* default */])({}, action.blockId, action.notice));
|
||||
return _objectSpread({}, state, Object(defineProperty["a" /* default */])({}, action.blockId, {
|
||||
message: action.message,
|
||||
isFatal: action.isFatal
|
||||
}));
|
||||
|
||||
case 'CLEAR_ERROR_NOTICE':
|
||||
return Object(external_this_lodash_["omit"])(state, action.blockId);
|
||||
}
|
||||
|
||||
return state;
|
||||
@ -630,7 +633,6 @@ var reducer_errorNotices = function errorNotices() {
|
||||
/* harmony default export */ var reducer = (Object(external_this_wp_data_["combineReducers"])({
|
||||
downloadableBlocks: reducer_downloadableBlocks,
|
||||
blockManagement: reducer_blockManagement,
|
||||
hasPermission: reducer_hasPermission,
|
||||
errorNotices: reducer_errorNotices
|
||||
}));
|
||||
|
||||
@ -710,17 +712,6 @@ function selectors_getDownloadableBlocks(state, filterValue) {
|
||||
|
||||
return state.downloadableBlocks[filterValue].results;
|
||||
}
|
||||
/**
|
||||
* Returns true if user has permission to install blocks.
|
||||
*
|
||||
* @param {Object} state Global application state.
|
||||
*
|
||||
* @return {boolean} User has permission to install blocks.
|
||||
*/
|
||||
|
||||
function selectors_hasInstallBlocksPermission(state) {
|
||||
return state.hasPermission;
|
||||
}
|
||||
/**
|
||||
* Returns the block types that have been installed on the server.
|
||||
*
|
||||
@ -809,7 +800,7 @@ function getErrorNotices(state) {
|
||||
*/
|
||||
|
||||
function getErrorNoticeForBlock(state, blockId) {
|
||||
return state.errorNotices[blockId] || false;
|
||||
return state.errorNotices[blockId];
|
||||
}
|
||||
|
||||
// EXTERNAL MODULE: external {"this":"regeneratorRuntime"}
|
||||
@ -819,7 +810,14 @@ var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.
|
||||
// EXTERNAL MODULE: external {"this":["wp","i18n"]}
|
||||
var external_this_wp_i18n_ = __webpack_require__(1);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","url"]}
|
||||
var external_this_wp_url_ = __webpack_require__(30);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/controls.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
/**
|
||||
* Loads a JavaScript file.
|
||||
*
|
||||
@ -827,8 +825,9 @@ var external_this_wp_i18n_ = __webpack_require__(1);
|
||||
*
|
||||
* @return {Promise} Promise which will resolve when the asset is loaded.
|
||||
*/
|
||||
var loadScript = function loadScript(asset) {
|
||||
if (!asset || !/\.js$/.test(asset)) {
|
||||
|
||||
var controls_loadScript = function loadScript(asset) {
|
||||
if (!asset || !/\.js$/.test(Object(external_this_wp_url_["getPath"])(asset))) {
|
||||
return Promise.reject(new Error('No script found.'));
|
||||
}
|
||||
|
||||
@ -861,8 +860,8 @@ var loadScript = function loadScript(asset) {
|
||||
* @return {Promise} Promise which will resolve when the asset is added.
|
||||
*/
|
||||
|
||||
var loadStyle = function loadStyle(asset) {
|
||||
if (!asset || !/\.css$/.test(asset)) {
|
||||
var controls_loadStyle = function loadStyle(asset) {
|
||||
if (!asset || !/\.css$/.test(Object(external_this_wp_url_["getPath"])(asset))) {
|
||||
return Promise.reject(new Error('No style found.'));
|
||||
}
|
||||
|
||||
@ -900,13 +899,35 @@ var controls = {
|
||||
LOAD_ASSETS: function LOAD_ASSETS(_ref) {
|
||||
var assets = _ref.assets;
|
||||
var scripts = assets.map(function (asset) {
|
||||
return asset.match(/\.js$/) !== null ? loadScript(asset) : loadStyle(asset);
|
||||
return Object(external_this_wp_url_["getPath"])(asset).match(/\.js$/) !== null ? controls_loadScript(asset) : controls_loadStyle(asset);
|
||||
});
|
||||
return Promise.all(scripts);
|
||||
}
|
||||
};
|
||||
/* harmony default export */ var store_controls = (controls);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/utils/get-plugin-url.js
|
||||
/**
|
||||
* Get the plugin's direct API link out of a block-directory response.
|
||||
*
|
||||
* @param {Object} block The block object
|
||||
*
|
||||
* @return {string} The plugin URL, if exists.
|
||||
*/
|
||||
function getPluginUrl(block) {
|
||||
if (!block) {
|
||||
return false;
|
||||
}
|
||||
|
||||
var link = block.links['wp:plugin'] || block.links.self;
|
||||
|
||||
if (link && link.length) {
|
||||
return link[0].href;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/actions.js
|
||||
|
||||
|
||||
@ -928,6 +949,7 @@ function actions_objectSpread(target) { for (var i = 1; i < arguments.length; i+
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Returns an action object used in signalling that the downloadable blocks
|
||||
* have been requested and is loading.
|
||||
@ -960,21 +982,6 @@ function receiveDownloadableBlocks(downloadableBlocks, filterValue) {
|
||||
filterValue: filterValue
|
||||
};
|
||||
}
|
||||
/**
|
||||
* Returns an action object used in signalling that the user does not have
|
||||
* permission to install blocks.
|
||||
*
|
||||
* @param {boolean} hasPermission User has permission to install blocks.
|
||||
*
|
||||
* @return {Object} Action object.
|
||||
*/
|
||||
|
||||
function setInstallBlocksPermission(hasPermission) {
|
||||
return {
|
||||
type: 'SET_INSTALL_BLOCKS_PERMISSION',
|
||||
hasPermission: hasPermission
|
||||
};
|
||||
}
|
||||
/**
|
||||
* Action triggered to install a block plugin.
|
||||
*
|
||||
@ -984,8 +991,7 @@ function setInstallBlocksPermission(hasPermission) {
|
||||
*/
|
||||
|
||||
function actions_installBlockType(block) {
|
||||
var id, assets, success, _response$_links, _response$_links$self, response, endpoint, registeredBlocks;
|
||||
|
||||
var id, assets, success, url, links, response, registeredBlocks, message, isFatal, fatalAPIErrors;
|
||||
return external_this_regeneratorRuntime_default.a.wrap(function installBlockType$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
@ -1010,9 +1016,32 @@ function actions_installBlockType(block) {
|
||||
return setIsInstalling(block.id, true);
|
||||
|
||||
case 9:
|
||||
_context.next = 11;
|
||||
// If we have a wp:plugin link, the plugin is installed but inactive.
|
||||
url = getPluginUrl(block);
|
||||
links = {};
|
||||
|
||||
if (!url) {
|
||||
_context.next = 16;
|
||||
break;
|
||||
}
|
||||
|
||||
_context.next = 14;
|
||||
return Object(external_this_wp_dataControls_["apiFetch"])({
|
||||
path: '__experimental/plugins',
|
||||
url: url,
|
||||
data: {
|
||||
status: 'active'
|
||||
},
|
||||
method: 'PUT'
|
||||
});
|
||||
|
||||
case 14:
|
||||
_context.next = 20;
|
||||
break;
|
||||
|
||||
case 16:
|
||||
_context.next = 18;
|
||||
return Object(external_this_wp_dataControls_["apiFetch"])({
|
||||
path: 'wp/v2/plugins',
|
||||
data: {
|
||||
slug: block.id,
|
||||
status: 'active'
|
||||
@ -1020,56 +1049,75 @@ function actions_installBlockType(block) {
|
||||
method: 'POST'
|
||||
});
|
||||
|
||||
case 11:
|
||||
case 18:
|
||||
response = _context.sent;
|
||||
endpoint = response === null || response === void 0 ? void 0 : (_response$_links = response._links) === null || _response$_links === void 0 ? void 0 : (_response$_links$self = _response$_links.self[0]) === null || _response$_links$self === void 0 ? void 0 : _response$_links$self.href;
|
||||
_context.next = 15;
|
||||
// Add the `self` link for newly-installed blocks.
|
||||
links = response._links;
|
||||
|
||||
case 20:
|
||||
_context.next = 22;
|
||||
return addInstalledBlockType(actions_objectSpread({}, block, {
|
||||
endpoint: endpoint
|
||||
links: actions_objectSpread({}, block.links, {}, links)
|
||||
}));
|
||||
|
||||
case 15:
|
||||
_context.next = 17;
|
||||
case 22:
|
||||
_context.next = 24;
|
||||
return loadAssets(assets);
|
||||
|
||||
case 17:
|
||||
_context.next = 19;
|
||||
case 24:
|
||||
_context.next = 26;
|
||||
return Object(external_this_wp_dataControls_["select"])('core/blocks', 'getBlockTypes');
|
||||
|
||||
case 19:
|
||||
case 26:
|
||||
registeredBlocks = _context.sent;
|
||||
|
||||
if (registeredBlocks.length) {
|
||||
_context.next = 22;
|
||||
if (!(!registeredBlocks.length || !registeredBlocks.filter(function (i) {
|
||||
return i.name === block.name;
|
||||
}).length)) {
|
||||
_context.next = 29;
|
||||
break;
|
||||
}
|
||||
|
||||
throw new Error(Object(external_this_wp_i18n_["__"])('Unable to get block types.'));
|
||||
|
||||
case 22:
|
||||
success = true;
|
||||
_context.next = 29;
|
||||
break;
|
||||
|
||||
case 25:
|
||||
_context.prev = 25;
|
||||
_context.t0 = _context["catch"](4);
|
||||
_context.next = 29;
|
||||
return setErrorNotice(id, _context.t0.message || Object(external_this_wp_i18n_["__"])('An error occurred.'));
|
||||
throw new Error(Object(external_this_wp_i18n_["__"])('Error registering block. Try reloading the page.'));
|
||||
|
||||
case 29:
|
||||
_context.next = 31;
|
||||
return setIsInstalling(block.id, false);
|
||||
|
||||
case 31:
|
||||
return _context.abrupt("return", success);
|
||||
success = true;
|
||||
_context.next = 40;
|
||||
break;
|
||||
|
||||
case 32:
|
||||
_context.prev = 32;
|
||||
_context.t0 = _context["catch"](4);
|
||||
message = _context.t0.message || Object(external_this_wp_i18n_["__"])('An error occurred.'); // Errors we throw are fatal
|
||||
|
||||
isFatal = _context.t0 instanceof Error; // Specific API errors that are fatal
|
||||
|
||||
fatalAPIErrors = {
|
||||
folder_exists: Object(external_this_wp_i18n_["__"])('This block is already installed. Try reloading the page.'),
|
||||
unable_to_connect_to_filesystem: Object(external_this_wp_i18n_["__"])('Error installing block. You can reload the page and try again.')
|
||||
};
|
||||
|
||||
if (fatalAPIErrors[_context.t0.code]) {
|
||||
isFatal = true;
|
||||
message = fatalAPIErrors[_context.t0.code];
|
||||
}
|
||||
|
||||
_context.next = 40;
|
||||
return setErrorNotice(id, message, isFatal);
|
||||
|
||||
case 40:
|
||||
_context.next = 42;
|
||||
return setIsInstalling(block.id, false);
|
||||
|
||||
case 42:
|
||||
return _context.abrupt("return", success);
|
||||
|
||||
case 43:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _marked, null, [[4, 25]]);
|
||||
}, _marked, null, [[4, 32]]);
|
||||
}
|
||||
/**
|
||||
* Action triggered to uninstall a block plugin.
|
||||
@ -1085,7 +1133,7 @@ function actions_uninstallBlockType(block) {
|
||||
_context2.prev = 0;
|
||||
_context2.next = 3;
|
||||
return Object(external_this_wp_dataControls_["apiFetch"])({
|
||||
url: block.endpoint,
|
||||
url: getPluginUrl(block),
|
||||
data: {
|
||||
status: 'inactive'
|
||||
},
|
||||
@ -1095,7 +1143,7 @@ function actions_uninstallBlockType(block) {
|
||||
case 3:
|
||||
_context2.next = 5;
|
||||
return Object(external_this_wp_dataControls_["apiFetch"])({
|
||||
url: block.endpoint,
|
||||
url: getPluginUrl(block),
|
||||
method: 'DELETE'
|
||||
});
|
||||
|
||||
@ -1168,16 +1216,19 @@ function setIsInstalling(blockId, isInstalling) {
|
||||
* Sets an error notice string to be displayed to the user
|
||||
*
|
||||
* @param {string} blockId The ID of the block plugin. eg: my-block
|
||||
* @param {string} notice The message shown in the notice.
|
||||
* @param {string} message The message shown in the notice.
|
||||
* @param {boolean} isFatal Whether the user can recover from the error
|
||||
*
|
||||
* @return {Object} Action object.
|
||||
*/
|
||||
|
||||
function setErrorNotice(blockId, notice) {
|
||||
function setErrorNotice(blockId, message) {
|
||||
var isFatal = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
||||
return {
|
||||
type: 'SET_ERROR_NOTICE',
|
||||
blockId: blockId,
|
||||
notice: notice
|
||||
message: message,
|
||||
isFatal: isFatal
|
||||
};
|
||||
}
|
||||
/**
|
||||
@ -1190,15 +1241,11 @@ function setErrorNotice(blockId, notice) {
|
||||
|
||||
function clearErrorNotice(blockId) {
|
||||
return {
|
||||
type: 'SET_ERROR_NOTICE',
|
||||
blockId: blockId,
|
||||
notice: false
|
||||
type: 'CLEAR_ERROR_NOTICE',
|
||||
blockId: blockId
|
||||
};
|
||||
}
|
||||
|
||||
// EXTERNAL MODULE: external {"this":"lodash"}
|
||||
var external_this_lodash_ = __webpack_require__(2);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/store/resolvers.js
|
||||
|
||||
|
||||
@ -1238,7 +1285,7 @@ var external_this_lodash_ = __webpack_require__(2);
|
||||
case 5:
|
||||
_context.next = 7;
|
||||
return Object(external_this_wp_dataControls_["apiFetch"])({
|
||||
path: "__experimental/block-directory/search?term=".concat(filterValue)
|
||||
path: "wp/v2/block-directory/search?term=".concat(filterValue)
|
||||
});
|
||||
|
||||
case 7:
|
||||
@ -1252,75 +1299,19 @@ var external_this_lodash_ = __webpack_require__(2);
|
||||
return receiveDownloadableBlocks(blocks, filterValue);
|
||||
|
||||
case 11:
|
||||
_context.next = 18;
|
||||
_context.next = 15;
|
||||
break;
|
||||
|
||||
case 13:
|
||||
_context.prev = 13;
|
||||
_context.t0 = _context["catch"](2);
|
||||
|
||||
if (!(_context.t0.code === 'rest_block_directory_cannot_view')) {
|
||||
_context.next = 18;
|
||||
break;
|
||||
}
|
||||
|
||||
_context.next = 18;
|
||||
return setInstallBlocksPermission(false);
|
||||
|
||||
case 18:
|
||||
case 15:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, getDownloadableBlocks, null, [[2, 13]]);
|
||||
}),
|
||||
hasInstallBlocksPermission: /*#__PURE__*/external_this_regeneratorRuntime_default.a.mark(function hasInstallBlocksPermission() {
|
||||
var response, allowHeader, isAllowed;
|
||||
return external_this_regeneratorRuntime_default.a.wrap(function hasInstallBlocksPermission$(_context2) {
|
||||
while (1) {
|
||||
switch (_context2.prev = _context2.next) {
|
||||
case 0:
|
||||
_context2.prev = 0;
|
||||
_context2.next = 3;
|
||||
return Object(external_this_wp_dataControls_["apiFetch"])({
|
||||
method: 'OPTIONS',
|
||||
path: "__experimental/block-directory/search",
|
||||
parse: false
|
||||
});
|
||||
|
||||
case 3:
|
||||
response = _context2.sent;
|
||||
|
||||
if (Object(external_this_lodash_["hasIn"])(response, ['headers', 'get'])) {
|
||||
// If the request is fetched using the fetch api, the header can be
|
||||
// retrieved using the 'get' method.
|
||||
allowHeader = response.headers.get('allow');
|
||||
} else {
|
||||
// If the request was preloaded server-side and is returned by the
|
||||
// preloading middleware, the header will be a simple property.
|
||||
allowHeader = Object(external_this_lodash_["get"])(response, ['headers', 'Allow'], '');
|
||||
}
|
||||
|
||||
isAllowed = Object(external_this_lodash_["includes"])(allowHeader, 'GET');
|
||||
_context2.next = 8;
|
||||
return setInstallBlocksPermission(isAllowed);
|
||||
|
||||
case 8:
|
||||
_context2.next = 14;
|
||||
break;
|
||||
|
||||
case 10:
|
||||
_context2.prev = 10;
|
||||
_context2.t0 = _context2["catch"](0);
|
||||
_context2.next = 14;
|
||||
return setInstallBlocksPermission(false);
|
||||
|
||||
case 14:
|
||||
case "end":
|
||||
return _context2.stop();
|
||||
}
|
||||
}
|
||||
}, hasInstallBlocksPermission, null, [[0, 10]]);
|
||||
})
|
||||
});
|
||||
|
||||
@ -1375,7 +1366,7 @@ var external_this_wp_element_ = __webpack_require__(0);
|
||||
var external_this_wp_plugins_ = __webpack_require__(63);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","blocks"]}
|
||||
var external_this_wp_blocks_ = __webpack_require__(12);
|
||||
var external_this_wp_blocks_ = __webpack_require__(10);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/auto-block-uninstaller/index.js
|
||||
/**
|
||||
@ -1394,10 +1385,10 @@ function AutoBlockUninstaller() {
|
||||
isSavingPost = _select.isSavingPost;
|
||||
|
||||
return isSavingPost() && !isAutosavingPost();
|
||||
});
|
||||
}, []);
|
||||
var unusedBlockTypes = Object(external_this_wp_data_["useSelect"])(function (select) {
|
||||
return select('core/block-directory').getUnusedBlockTypes();
|
||||
});
|
||||
}, []);
|
||||
Object(external_this_wp_element_["useEffect"])(function () {
|
||||
if (shouldRemoveBlockTypes && unusedBlockTypes.length) {
|
||||
unusedBlockTypes.forEach(function (blockType) {
|
||||
@ -1410,7 +1401,7 @@ function AutoBlockUninstaller() {
|
||||
}
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
|
||||
var slicedToArray = __webpack_require__(15);
|
||||
var slicedToArray = __webpack_require__(13);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","blockEditor"]}
|
||||
var external_this_wp_blockEditor_ = __webpack_require__(7);
|
||||
@ -1450,10 +1441,10 @@ function DownloadableBlockAuthorInfo(_ref) {
|
||||
/* harmony default export */ var downloadable_block_author_info = (DownloadableBlockAuthorInfo);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/icon/index.js
|
||||
var build_module_icon = __webpack_require__(130);
|
||||
var build_module_icon = __webpack_require__(131);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/star-filled.js
|
||||
var star_filled = __webpack_require__(281);
|
||||
var star_filled = __webpack_require__(285);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","primitives"]}
|
||||
var external_this_wp_primitives_ = __webpack_require__(6);
|
||||
@ -1474,7 +1465,7 @@ var starHalf = Object(external_this_wp_element_["createElement"])(external_this_
|
||||
/* harmony default export */ var star_half = (starHalf);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/star-empty.js
|
||||
var star_empty = __webpack_require__(282);
|
||||
var star_empty = __webpack_require__(286);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/block-ratings/stars.js
|
||||
|
||||
@ -1564,7 +1555,7 @@ function DownloadableBlockIcon(_ref) {
|
||||
title = _ref.title;
|
||||
return Object(external_this_wp_element_["createElement"])("div", {
|
||||
className: "block-directory-downloadable-block-icon"
|
||||
}, icon.match(/\.(jpeg|jpg|gif|png)(?:\?.*)?$/) !== null ? Object(external_this_wp_element_["createElement"])("img", {
|
||||
}, icon.match(/\.(jpeg|jpg|gif|png|svg)(?:\?.*)?$/) !== null ? Object(external_this_wp_element_["createElement"])("img", {
|
||||
src: icon,
|
||||
alt: Object(external_this_wp_i18n_["sprintf"])( // translators: %s: Name of the plugin e.g: "Akismet".
|
||||
Object(external_this_wp_i18n_["__"])('%s block icon'), title)
|
||||
@ -1596,7 +1587,10 @@ function DownloadableBlockHeader(_ref) {
|
||||
title = _ref.title,
|
||||
rating = _ref.rating,
|
||||
ratingCount = _ref.ratingCount,
|
||||
isLoading = _ref.isLoading,
|
||||
_ref$isLoading = _ref.isLoading,
|
||||
isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
|
||||
_ref$isInstallable = _ref.isInstallable,
|
||||
isInstallable = _ref$isInstallable === void 0 ? true : _ref$isInstallable,
|
||||
_onClick = _ref.onClick;
|
||||
return Object(external_this_wp_element_["createElement"])("div", {
|
||||
className: "block-directory-downloadable-block-header__row"
|
||||
@ -1613,11 +1607,11 @@ function DownloadableBlockHeader(_ref) {
|
||||
})), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
|
||||
isSecondary: true,
|
||||
isBusy: isLoading,
|
||||
disabled: isLoading,
|
||||
disabled: isLoading || !isInstallable,
|
||||
onClick: function onClick(event) {
|
||||
event.preventDefault();
|
||||
|
||||
if (!isLoading) {
|
||||
if (!isLoading && isInstallable) {
|
||||
_onClick();
|
||||
}
|
||||
}
|
||||
@ -1716,13 +1710,18 @@ var downloadable_block_notice_DownloadableBlockNotice = function DownloadableBlo
|
||||
className: "block-directory-downloadable-block-notice"
|
||||
}, Object(external_this_wp_element_["createElement"])("div", {
|
||||
className: "block-directory-downloadable-block-notice__content"
|
||||
}, errorNotice), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
|
||||
}, errorNotice.message), Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Button"], {
|
||||
isSmall: true,
|
||||
isPrimary: true,
|
||||
onClick: function onClick() {
|
||||
if (errorNotice.isFatal) {
|
||||
window.location.reload();
|
||||
return false;
|
||||
}
|
||||
|
||||
_onClick(block);
|
||||
}
|
||||
}, Object(external_this_wp_i18n_["__"])('Retry')));
|
||||
}, errorNotice.isFatal ? Object(external_this_wp_i18n_["__"])('Reload') : Object(external_this_wp_i18n_["__"])('Retry')));
|
||||
};
|
||||
/* harmony default export */ var downloadable_block_notice = (downloadable_block_notice_DownloadableBlockNotice);
|
||||
|
||||
@ -1744,9 +1743,22 @@ var downloadable_block_notice_DownloadableBlockNotice = function DownloadableBlo
|
||||
function DownloadableBlockListItem(_ref) {
|
||||
var item = _ref.item,
|
||||
onClick = _ref.onClick;
|
||||
var isLoading = Object(external_this_wp_data_["useSelect"])(function (select) {
|
||||
return select('core/block-directory').isInstalling(item.id);
|
||||
}, [item]);
|
||||
|
||||
var _useSelect = Object(external_this_wp_data_["useSelect"])(function (select) {
|
||||
var _select = select('core/block-directory'),
|
||||
isInstalling = _select.isInstalling,
|
||||
getErrorNoticeForBlock = _select.getErrorNoticeForBlock;
|
||||
|
||||
var notice = getErrorNoticeForBlock(item.id);
|
||||
var hasFatal = notice && notice.isFatal;
|
||||
return {
|
||||
isLoading: isInstalling(item.id),
|
||||
isInstallable: !hasFatal
|
||||
};
|
||||
}, [item]),
|
||||
isLoading = _useSelect.isLoading,
|
||||
isInstallable = _useSelect.isInstallable;
|
||||
|
||||
var icon = item.icon,
|
||||
title = item.title,
|
||||
description = item.description,
|
||||
@ -1769,7 +1781,8 @@ function DownloadableBlockListItem(_ref) {
|
||||
title: title,
|
||||
rating: rating,
|
||||
ratingCount: ratingCount,
|
||||
isLoading: isLoading
|
||||
isLoading: isLoading,
|
||||
isInstallable: isInstallable
|
||||
})), Object(external_this_wp_element_["createElement"])("section", {
|
||||
className: "block-directory-downloadable-block-list-item__body"
|
||||
}, Object(external_this_wp_element_["createElement"])(downloadable_block_notice, {
|
||||
@ -1876,14 +1889,14 @@ function DownloadableBlocksPanel(_ref) {
|
||||
isWaiting = _ref.isWaiting,
|
||||
debouncedSpeak = _ref.debouncedSpeak;
|
||||
|
||||
if (!hasPermission) {
|
||||
if (false === hasPermission) {
|
||||
debouncedSpeak(Object(external_this_wp_i18n_["__"])('No blocks found in your library. Please contact your site administrator to install new blocks.'));
|
||||
return Object(external_this_wp_element_["createElement"])("p", {
|
||||
className: "block-directory-downloadable-blocks-panel__description has-no-results"
|
||||
}, Object(external_this_wp_i18n_["__"])('No blocks found in your library.'), Object(external_this_wp_element_["createElement"])("br", null), Object(external_this_wp_i18n_["__"])('Please contact your site administrator to install new blocks.'));
|
||||
}
|
||||
|
||||
if (isLoading || isWaiting) {
|
||||
if (typeof hasPermission === 'undefined' || isLoading || isWaiting) {
|
||||
return Object(external_this_wp_element_["createElement"])("p", {
|
||||
className: "block-directory-downloadable-blocks-panel__description has-no-results"
|
||||
}, Object(external_this_wp_element_["createElement"])(external_this_wp_components_["Spinner"], null));
|
||||
@ -1913,10 +1926,9 @@ function DownloadableBlocksPanel(_ref) {
|
||||
|
||||
var _select = select('core/block-directory'),
|
||||
getDownloadableBlocks = _select.getDownloadableBlocks,
|
||||
hasInstallBlocksPermission = _select.hasInstallBlocksPermission,
|
||||
isRequestingDownloadableBlocks = _select.isRequestingDownloadableBlocks;
|
||||
|
||||
var hasPermission = hasInstallBlocksPermission();
|
||||
var hasPermission = select('core').canUser('read', 'block-directory/search');
|
||||
var downloadableItems = hasPermission ? getDownloadableBlocks(filterValue) : [];
|
||||
var isLoading = isRequestingDownloadableBlocks(filterValue);
|
||||
return {
|
||||
@ -1979,7 +1991,7 @@ function InserterMenuDownloadableBlocksPanel() {
|
||||
/* harmony default export */ var inserter_menu_downloadable_blocks_panel = (InserterMenuDownloadableBlocksPanel);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","editPost"]}
|
||||
var external_this_wp_editPost_ = __webpack_require__(255);
|
||||
var external_this_wp_editPost_ = __webpack_require__(260);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/components/compact-list/index.js
|
||||
|
||||
@ -2042,7 +2054,7 @@ function CompactList(_ref) {
|
||||
function InstalledBlocksPrePublishPanel() {
|
||||
var newBlockTypes = Object(external_this_wp_data_["useSelect"])(function (select) {
|
||||
return select('core/block-directory').getNewBlockTypes();
|
||||
});
|
||||
}, []);
|
||||
|
||||
if (!newBlockTypes.length) {
|
||||
return null;
|
||||
@ -2081,6 +2093,10 @@ Object(external_this_wp_plugins_["registerPlugin"])('block-directory', {
|
||||
});
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/block-directory/build-module/index.js
|
||||
/**
|
||||
* WordPress dependencies
|
||||
*/
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -2088,6 +2104,7 @@ Object(external_this_wp_plugins_["registerPlugin"])('block-directory', {
|
||||
|
||||
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 5:
|
||||
@ -2138,6 +2155,13 @@ function _defineProperty(obj, key, value) {
|
||||
|
||||
(function() { module.exports = this["wp"]["compose"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 92:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["notices"]; }());
|
||||
|
||||
/***/ })
|
||||
|
||||
/******/ });
|
2
wp-includes/js/dist/block-directory.min.js
vendored
2
wp-includes/js/dist/block-directory.min.js
vendored
File diff suppressed because one or more lines are too long
3825
wp-includes/js/dist/block-editor.js
vendored
3825
wp-includes/js/dist/block-editor.js
vendored
File diff suppressed because it is too large
Load Diff
6
wp-includes/js/dist/block-editor.min.js
vendored
6
wp-includes/js/dist/block-editor.min.js
vendored
File diff suppressed because one or more lines are too long
1515
wp-includes/js/dist/block-library.js
vendored
1515
wp-includes/js/dist/block-library.js
vendored
File diff suppressed because it is too large
Load Diff
8
wp-includes/js/dist/block-library.min.js
vendored
8
wp-includes/js/dist/block-library.min.js
vendored
File diff suppressed because one or more lines are too long
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["blockSerializationDefaultParser"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 299);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 303);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 15:
|
||||
/***/ 13:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -126,7 +126,7 @@ function _iterableToArrayLimit(arr, i) {
|
||||
return _arr;
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(28);
|
||||
var unsupportedIterableToArray = __webpack_require__(29);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(39);
|
||||
@ -159,7 +159,7 @@ function _arrayLikeToArray(arr, len) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 28:
|
||||
/***/ 29:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -177,13 +177,13 @@ function _unsupportedIterableToArray(o, minLen) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 299:
|
||||
/***/ 303:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parse", function() { return parse; });
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(15);
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(13);
|
||||
|
||||
var document;
|
||||
var offset;
|
||||
|
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
this.wp=this.wp||{},this.wp.blockSerializationDefaultParser=function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=299)}({15:function(t,n,r){"use strict";r.d(n,"a",(function(){return i}));var e=r(38);var o=r(28),u=r(39);function i(t,n){return Object(e.a)(t)||function(t,n){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],e=!0,o=!1,u=void 0;try{for(var i,c=t[Symbol.iterator]();!(e=(i=c.next()).done)&&(r.push(i.value),!n||r.length!==n);e=!0);}catch(t){o=!0,u=t}finally{try{e||null==c.return||c.return()}finally{if(o)throw u}}return r}}(t,n)||Object(o.a)(t,n)||Object(u.a)()}},26:function(t,n,r){"use strict";function e(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=new Array(n);r<n;r++)e[r]=t[r];return e}r.d(n,"a",(function(){return e}))},28:function(t,n,r){"use strict";r.d(n,"a",(function(){return o}));var e=r(26);function o(t,n){if(t){if("string"==typeof t)return Object(e.a)(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(e.a)(t,n):void 0}}},299:function(t,n,r){"use strict";r.r(n),r.d(n,"parse",(function(){return s}));var e,o,u,i,c=r(15),a=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function l(t,n,r,e,o){return{blockName:t,attrs:n,innerBlocks:r,innerHTML:e,innerContent:o}}function f(t){return l(null,{},[],t,[t])}var s=function(t){e=t,o=0,u=[],i=[],a.lastIndex=0;do{}while(p());return u};function p(){var t=function(){var t=a.exec(e);if(null===t)return["no-more-tokens"];var n=t.index,r=Object(c.a)(t,7),o=r[0],u=r[1],i=r[2],l=r[3],f=r[4],s=r[6],p=o.length,b=!!u,d=!!s,v=(i||"core/")+l,h=!!f,y=h?function(t){try{return JSON.parse(t)}catch(t){return null}}(f):{};if(d)return["void-block",v,y,n,p];if(b)return["block-closer",v,null,n,p];return["block-opener",v,y,n,p]}(),n=Object(c.a)(t,5),r=n[0],s=n[1],p=n[2],h=n[3],y=n[4],k=i.length,O=h>o?o:null;switch(r){case"no-more-tokens":if(0===k)return b(),!1;if(1===k)return v(),!1;for(;0<i.length;)v();return!1;case"void-block":return 0===k?(null!==O&&u.push(f(e.substr(O,h-O))),u.push(l(s,p,[],"",[])),o=h+y,!0):(d(l(s,p,[],"",[]),h,y),o=h+y,!0);case"block-opener":return i.push(function(t,n,r,e,o){return{block:t,tokenStart:n,tokenLength:r,prevOffset:e||n+r,leadingHtmlStart:o}}(l(s,p,[],"",[]),h,y,h+y,O)),o=h+y,!0;case"block-closer":if(0===k)return b(),!1;if(1===k)return v(h),o=h+y,!0;var g=i.pop(),m=e.substr(g.prevOffset,h-g.prevOffset);return g.block.innerHTML+=m,g.block.innerContent.push(m),g.prevOffset=h+y,d(g.block,g.tokenStart,g.tokenLength,h+y),o=h+y,!0;default:return b(),!1}}function b(t){var n=t||e.length-o;0!==n&&u.push(f(e.substr(o,n)))}function d(t,n,r,o){var u=i[i.length-1];u.block.innerBlocks.push(t);var c=e.substr(u.prevOffset,n-u.prevOffset);c&&(u.block.innerHTML+=c,u.block.innerContent.push(c)),u.block.innerContent.push(null),u.prevOffset=o||n+r}function v(t){var n=i.pop(),r=n.block,o=n.leadingHtmlStart,c=n.prevOffset,a=n.tokenStart,l=t?e.substr(c,t-c):e.substr(c);l&&(r.innerHTML+=l,r.innerContent.push(l)),null!==o&&u.push(f(e.substr(o,a-o))),u.push(r)}},38:function(t,n,r){"use strict";function e(t){if(Array.isArray(t))return t}r.d(n,"a",(function(){return e}))},39:function(t,n,r){"use strict";function e(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(n,"a",(function(){return e}))}});
|
||||
this.wp=this.wp||{},this.wp.blockSerializationDefaultParser=function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=303)}({13:function(t,n,r){"use strict";r.d(n,"a",(function(){return i}));var e=r(38);var o=r(29),u=r(39);function i(t,n){return Object(e.a)(t)||function(t,n){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],e=!0,o=!1,u=void 0;try{for(var i,c=t[Symbol.iterator]();!(e=(i=c.next()).done)&&(r.push(i.value),!n||r.length!==n);e=!0);}catch(t){o=!0,u=t}finally{try{e||null==c.return||c.return()}finally{if(o)throw u}}return r}}(t,n)||Object(o.a)(t,n)||Object(u.a)()}},26:function(t,n,r){"use strict";function e(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=new Array(n);r<n;r++)e[r]=t[r];return e}r.d(n,"a",(function(){return e}))},29:function(t,n,r){"use strict";r.d(n,"a",(function(){return o}));var e=r(26);function o(t,n){if(t){if("string"==typeof t)return Object(e.a)(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(e.a)(t,n):void 0}}},303:function(t,n,r){"use strict";r.r(n),r.d(n,"parse",(function(){return s}));var e,o,u,i,c=r(13),a=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function l(t,n,r,e,o){return{blockName:t,attrs:n,innerBlocks:r,innerHTML:e,innerContent:o}}function f(t){return l(null,{},[],t,[t])}var s=function(t){e=t,o=0,u=[],i=[],a.lastIndex=0;do{}while(p());return u};function p(){var t=function(){var t=a.exec(e);if(null===t)return["no-more-tokens"];var n=t.index,r=Object(c.a)(t,7),o=r[0],u=r[1],i=r[2],l=r[3],f=r[4],s=r[6],p=o.length,b=!!u,d=!!s,v=(i||"core/")+l,h=!!f,y=h?function(t){try{return JSON.parse(t)}catch(t){return null}}(f):{};if(d)return["void-block",v,y,n,p];if(b)return["block-closer",v,null,n,p];return["block-opener",v,y,n,p]}(),n=Object(c.a)(t,5),r=n[0],s=n[1],p=n[2],h=n[3],y=n[4],k=i.length,O=h>o?o:null;switch(r){case"no-more-tokens":if(0===k)return b(),!1;if(1===k)return v(),!1;for(;0<i.length;)v();return!1;case"void-block":return 0===k?(null!==O&&u.push(f(e.substr(O,h-O))),u.push(l(s,p,[],"",[])),o=h+y,!0):(d(l(s,p,[],"",[]),h,y),o=h+y,!0);case"block-opener":return i.push(function(t,n,r,e,o){return{block:t,tokenStart:n,tokenLength:r,prevOffset:e||n+r,leadingHtmlStart:o}}(l(s,p,[],"",[]),h,y,h+y,O)),o=h+y,!0;case"block-closer":if(0===k)return b(),!1;if(1===k)return v(h),o=h+y,!0;var g=i.pop(),m=e.substr(g.prevOffset,h-g.prevOffset);return g.block.innerHTML+=m,g.block.innerContent.push(m),g.prevOffset=h+y,d(g.block,g.tokenStart,g.tokenLength,h+y),o=h+y,!0;default:return b(),!1}}function b(t){var n=t||e.length-o;0!==n&&u.push(f(e.substr(o,n)))}function d(t,n,r,o){var u=i[i.length-1];u.block.innerBlocks.push(t);var c=e.substr(u.prevOffset,n-u.prevOffset);c&&(u.block.innerHTML+=c,u.block.innerContent.push(c)),u.block.innerContent.push(null),u.prevOffset=o||n+r}function v(t){var n=i.pop(),r=n.block,o=n.leadingHtmlStart,c=n.prevOffset,a=n.tokenStart,l=t?e.substr(c,t-c):e.substr(c);l&&(r.innerHTML+=l,r.innerContent.push(l)),null!==o&&u.push(f(e.substr(o,a-o))),u.push(r)}},38:function(t,n,r){"use strict";function e(t){if(Array.isArray(t))return t}r.d(n,"a",(function(){return e}))},39:function(t,n,r){"use strict";function e(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(n,"a",(function(){return e}))}});
|
106
wp-includes/js/dist/blocks.js
vendored
106
wp-includes/js/dist/blocks.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["blocks"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 439);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 441);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -101,33 +101,14 @@ this["wp"] = this["wp"] || {}; this["wp"]["blocks"] =
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 117:
|
||||
/***/ 119:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["shortcode"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 140:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _toArray; });
|
||||
/* harmony import */ var _arrayWithHoles__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38);
|
||||
/* harmony import */ var _iterableToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(35);
|
||||
/* harmony import */ var _unsupportedIterableToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(28);
|
||||
/* harmony import */ var _nonIterableRest__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(39);
|
||||
|
||||
|
||||
|
||||
|
||||
function _toArray(arr) {
|
||||
return Object(_arrayWithHoles__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(arr) || Object(_iterableToArray__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(arr) || Object(_unsupportedIterableToArray__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(arr) || Object(_nonIterableRest__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])();
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 15:
|
||||
/***/ 13:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -166,7 +147,7 @@ function _iterableToArrayLimit(arr, i) {
|
||||
return _arr;
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(28);
|
||||
var unsupportedIterableToArray = __webpack_require__(29);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(39);
|
||||
@ -182,7 +163,26 @@ function _slicedToArray(arr, i) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 16:
|
||||
/***/ 140:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _toArray; });
|
||||
/* harmony import */ var _arrayWithHoles__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38);
|
||||
/* harmony import */ var _iterableToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(35);
|
||||
/* harmony import */ var _unsupportedIterableToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(29);
|
||||
/* harmony import */ var _nonIterableRest__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(39);
|
||||
|
||||
|
||||
|
||||
|
||||
function _toArray(arr) {
|
||||
return Object(_arrayWithHoles__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(arr) || Object(_iterableToArray__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(arr) || Object(_unsupportedIterableToArray__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(arr) || Object(_nonIterableRest__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])();
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 17:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -202,7 +202,7 @@ function _arrayWithoutHoles(arr) {
|
||||
var iterableToArray = __webpack_require__(35);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(28);
|
||||
var unsupportedIterableToArray = __webpack_require__(29);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
||||
function _nonIterableSpread() {
|
||||
@ -255,7 +255,7 @@ function _classCallCheck(instance, Constructor) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 195:
|
||||
/***/ 198:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -287,7 +287,7 @@ var blockDefault = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["creat
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 253:
|
||||
/***/ 258:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -375,14 +375,14 @@ function _arrayLikeToArray(arr, len) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 261:
|
||||
/***/ 266:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["blockSerializationDefaultParser"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 262:
|
||||
/***/ 267:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var __WEBPACK_AMD_DEFINE_RESULT__;;/*! showdown v 1.9.1 - 02-11-2019 */
|
||||
@ -5526,7 +5526,7 @@ if (true) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 28:
|
||||
/***/ 29:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -5544,14 +5544,14 @@ function _unsupportedIterableToArray(o, minLen) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 29:
|
||||
/***/ 31:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["dom"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 31:
|
||||
/***/ 32:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["hooks"]; }());
|
||||
@ -5598,7 +5598,7 @@ function _nonIterableRest() {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 41:
|
||||
/***/ 42:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -5880,7 +5880,14 @@ function isShallowEqual( a, b, fromIndex ) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 439:
|
||||
/***/ 44:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["blob"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 441:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -5989,7 +5996,7 @@ __webpack_require__.d(actions_namespaceObject, "removeBlockCollection", function
|
||||
var external_this_wp_data_ = __webpack_require__(4);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
|
||||
var toConsumableArray = __webpack_require__(16);
|
||||
var toConsumableArray = __webpack_require__(17);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
||||
var defineProperty = __webpack_require__(5);
|
||||
@ -6244,7 +6251,7 @@ function collections() {
|
||||
}));
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
|
||||
var rememo = __webpack_require__(41);
|
||||
var rememo = __webpack_require__(42);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/store/selectors.js
|
||||
|
||||
@ -6773,13 +6780,13 @@ Object(external_this_wp_data_["registerStore"])('core/blocks', {
|
||||
});
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/uuid/dist/esm-browser/v4.js + 2 modules
|
||||
var v4 = __webpack_require__(253);
|
||||
var v4 = __webpack_require__(258);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","hooks"]}
|
||||
var external_this_wp_hooks_ = __webpack_require__(31);
|
||||
var external_this_wp_hooks_ = __webpack_require__(32);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/block-default.js
|
||||
var block_default = __webpack_require__(195);
|
||||
var block_default = __webpack_require__(198);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/tinycolor2/tinycolor.js
|
||||
var tinycolor = __webpack_require__(56);
|
||||
@ -6789,7 +6796,7 @@ var tinycolor_default = /*#__PURE__*/__webpack_require__.n(tinycolor);
|
||||
var external_this_wp_element_ = __webpack_require__(0);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","dom"]}
|
||||
var external_this_wp_dom_ = __webpack_require__(29);
|
||||
var external_this_wp_dom_ = __webpack_require__(31);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/utils.js
|
||||
|
||||
@ -7956,7 +7963,7 @@ var factory_getBlockFromExample = function getBlockFromExample(name, example) {
|
||||
};
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
|
||||
var slicedToArray = __webpack_require__(15);
|
||||
var slicedToArray = __webpack_require__(13);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/hpq/es/get-path.js
|
||||
/**
|
||||
@ -8138,10 +8145,10 @@ function query(selector, matchers) {
|
||||
};
|
||||
}
|
||||
// EXTERNAL MODULE: external {"this":["wp","autop"]}
|
||||
var external_this_wp_autop_ = __webpack_require__(94);
|
||||
var external_this_wp_autop_ = __webpack_require__(97);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","blockSerializationDefaultParser"]}
|
||||
var external_this_wp_blockSerializationDefaultParser_ = __webpack_require__(261);
|
||||
var external_this_wp_blockSerializationDefaultParser_ = __webpack_require__(266);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toArray.js
|
||||
var toArray = __webpack_require__(140);
|
||||
@ -11960,7 +11967,7 @@ function figureContentReducer(node, doc, schema) {
|
||||
}
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","shortcode"]}
|
||||
var external_this_wp_shortcode_ = __webpack_require__(117);
|
||||
var external_this_wp_shortcode_ = __webpack_require__(119);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/shortcode-converter.js
|
||||
|
||||
@ -12054,7 +12061,7 @@ function segmentHTMLToShortcodeBlock(HTML) {
|
||||
/* harmony default export */ var shortcode_converter = (segmentHTMLToShortcodeBlock);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/showdown/dist/showdown.js
|
||||
var showdown = __webpack_require__(262);
|
||||
var showdown = __webpack_require__(267);
|
||||
var showdown_default = /*#__PURE__*/__webpack_require__.n(showdown);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/markdown-converter.js
|
||||
@ -12793,13 +12800,6 @@ function synchronizeBlocksWithTemplate() {
|
||||
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 44:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["blob"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 5:
|
||||
@ -14078,7 +14078,7 @@ function _extends() {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 94:
|
||||
/***/ 97:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["autop"]; }());
|
||||
|
4
wp-includes/js/dist/blocks.min.js
vendored
4
wp-includes/js/dist/blocks.min.js
vendored
File diff suppressed because one or more lines are too long
6704
wp-includes/js/dist/components.js
vendored
6704
wp-includes/js/dist/components.js
vendored
File diff suppressed because it is too large
Load Diff
8
wp-includes/js/dist/components.min.js
vendored
8
wp-includes/js/dist/components.min.js
vendored
File diff suppressed because one or more lines are too long
516
wp-includes/js/dist/compose.js
vendored
516
wp-includes/js/dist/compose.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["compose"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 445);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 447);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -94,7 +94,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["compose"] =
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 10:
|
||||
/***/ 12:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -109,203 +109,12 @@ function _assertThisInitialized(self) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 100:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
// shim for using process in browser
|
||||
var process = module.exports = {};
|
||||
|
||||
// cached from whatever global is present so that test runners that stub it
|
||||
// don't break things. But we need to wrap it in a try catch in case it is
|
||||
// wrapped in strict mode code which doesn't define any globals. It's inside a
|
||||
// function because try/catches deoptimize in certain engines.
|
||||
|
||||
var cachedSetTimeout;
|
||||
var cachedClearTimeout;
|
||||
|
||||
function defaultSetTimout() {
|
||||
throw new Error('setTimeout has not been defined');
|
||||
}
|
||||
function defaultClearTimeout () {
|
||||
throw new Error('clearTimeout has not been defined');
|
||||
}
|
||||
(function () {
|
||||
try {
|
||||
if (typeof setTimeout === 'function') {
|
||||
cachedSetTimeout = setTimeout;
|
||||
} else {
|
||||
cachedSetTimeout = defaultSetTimout;
|
||||
}
|
||||
} catch (e) {
|
||||
cachedSetTimeout = defaultSetTimout;
|
||||
}
|
||||
try {
|
||||
if (typeof clearTimeout === 'function') {
|
||||
cachedClearTimeout = clearTimeout;
|
||||
} else {
|
||||
cachedClearTimeout = defaultClearTimeout;
|
||||
}
|
||||
} catch (e) {
|
||||
cachedClearTimeout = defaultClearTimeout;
|
||||
}
|
||||
} ())
|
||||
function runTimeout(fun) {
|
||||
if (cachedSetTimeout === setTimeout) {
|
||||
//normal enviroments in sane situations
|
||||
return setTimeout(fun, 0);
|
||||
}
|
||||
// if setTimeout wasn't available but was latter defined
|
||||
if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
|
||||
cachedSetTimeout = setTimeout;
|
||||
return setTimeout(fun, 0);
|
||||
}
|
||||
try {
|
||||
// when when somebody has screwed with setTimeout but no I.E. maddness
|
||||
return cachedSetTimeout(fun, 0);
|
||||
} catch(e){
|
||||
try {
|
||||
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
|
||||
return cachedSetTimeout.call(null, fun, 0);
|
||||
} catch(e){
|
||||
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
|
||||
return cachedSetTimeout.call(this, fun, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
function runClearTimeout(marker) {
|
||||
if (cachedClearTimeout === clearTimeout) {
|
||||
//normal enviroments in sane situations
|
||||
return clearTimeout(marker);
|
||||
}
|
||||
// if clearTimeout wasn't available but was latter defined
|
||||
if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
|
||||
cachedClearTimeout = clearTimeout;
|
||||
return clearTimeout(marker);
|
||||
}
|
||||
try {
|
||||
// when when somebody has screwed with setTimeout but no I.E. maddness
|
||||
return cachedClearTimeout(marker);
|
||||
} catch (e){
|
||||
try {
|
||||
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
|
||||
return cachedClearTimeout.call(null, marker);
|
||||
} catch (e){
|
||||
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
|
||||
// Some versions of I.E. have different rules for clearTimeout vs setTimeout
|
||||
return cachedClearTimeout.call(this, marker);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
var queue = [];
|
||||
var draining = false;
|
||||
var currentQueue;
|
||||
var queueIndex = -1;
|
||||
|
||||
function cleanUpNextTick() {
|
||||
if (!draining || !currentQueue) {
|
||||
return;
|
||||
}
|
||||
draining = false;
|
||||
if (currentQueue.length) {
|
||||
queue = currentQueue.concat(queue);
|
||||
} else {
|
||||
queueIndex = -1;
|
||||
}
|
||||
if (queue.length) {
|
||||
drainQueue();
|
||||
}
|
||||
}
|
||||
|
||||
function drainQueue() {
|
||||
if (draining) {
|
||||
return;
|
||||
}
|
||||
var timeout = runTimeout(cleanUpNextTick);
|
||||
draining = true;
|
||||
|
||||
var len = queue.length;
|
||||
while(len) {
|
||||
currentQueue = queue;
|
||||
queue = [];
|
||||
while (++queueIndex < len) {
|
||||
if (currentQueue) {
|
||||
currentQueue[queueIndex].run();
|
||||
}
|
||||
}
|
||||
queueIndex = -1;
|
||||
len = queue.length;
|
||||
}
|
||||
currentQueue = null;
|
||||
draining = false;
|
||||
runClearTimeout(timeout);
|
||||
}
|
||||
|
||||
process.nextTick = function (fun) {
|
||||
var args = new Array(arguments.length - 1);
|
||||
if (arguments.length > 1) {
|
||||
for (var i = 1; i < arguments.length; i++) {
|
||||
args[i - 1] = arguments[i];
|
||||
}
|
||||
}
|
||||
queue.push(new Item(fun, args));
|
||||
if (queue.length === 1 && !draining) {
|
||||
runTimeout(drainQueue);
|
||||
}
|
||||
};
|
||||
|
||||
// v8 likes predictible objects
|
||||
function Item(fun, array) {
|
||||
this.fun = fun;
|
||||
this.array = array;
|
||||
}
|
||||
Item.prototype.run = function () {
|
||||
this.fun.apply(null, this.array);
|
||||
};
|
||||
process.title = 'browser';
|
||||
process.browser = true;
|
||||
process.env = {};
|
||||
process.argv = [];
|
||||
process.version = ''; // empty string to avoid regexp issues
|
||||
process.versions = {};
|
||||
|
||||
function noop() {}
|
||||
|
||||
process.on = noop;
|
||||
process.addListener = noop;
|
||||
process.once = noop;
|
||||
process.off = noop;
|
||||
process.removeListener = noop;
|
||||
process.removeAllListeners = noop;
|
||||
process.emit = noop;
|
||||
process.prependListener = noop;
|
||||
process.prependOnceListener = noop;
|
||||
|
||||
process.listeners = function (name) { return [] }
|
||||
|
||||
process.binding = function (name) {
|
||||
throw new Error('process.binding is not supported');
|
||||
};
|
||||
|
||||
process.cwd = function () { return '/' };
|
||||
process.chdir = function (dir) {
|
||||
throw new Error('process.chdir is not supported');
|
||||
};
|
||||
process.umask = function() { return 0; };
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 126:
|
||||
/***/ 128:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useMediaQuery; });
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(15);
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(13);
|
||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0);
|
||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__);
|
||||
|
||||
@ -352,27 +161,6 @@ function useMediaQuery(query) {
|
||||
/***/ 13:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _getPrototypeOf; });
|
||||
function _getPrototypeOf(o) {
|
||||
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
||||
return o.__proto__ || Object.getPrototypeOf(o);
|
||||
};
|
||||
return _getPrototypeOf(o);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 143:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["priorityQueue"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 15:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
// EXPORTS
|
||||
@ -409,7 +197,7 @@ function _iterableToArrayLimit(arr, i) {
|
||||
return _arr;
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(28);
|
||||
var unsupportedIterableToArray = __webpack_require__(29);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(39);
|
||||
@ -425,7 +213,43 @@ function _slicedToArray(arr, i) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 143:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var e=__webpack_require__(16),n={display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},t=function(t){var r=t.onResize,u=e.useRef();return function(n,t){var r=function(){return n.current&&n.current.contentDocument&&n.current.contentDocument.defaultView};function u(){t();var e=r();e&&e.addEventListener("resize",t)}e.useEffect((function(){return r()?u():n.current&&n.current.addEventListener&&n.current.addEventListener("load",u),function(){var e=r();e&&"function"==typeof e.removeEventListener&&e.removeEventListener("resize",t)}}),[])}(u,(function(){return r(u)})),e.createElement("iframe",{style:n,src:"about:blank",ref:u,"aria-hidden":!0,tabIndex:-1,frameBorder:0})},r=function(e){return{width:null!=e?e.offsetWidth:null,height:null!=e?e.offsetHeight:null}};module.exports=function(n){void 0===n&&(n=r);var u=e.useState(n(null)),o=u[0],i=u[1],c=e.useCallback((function(e){return i(n(e.current))}),[n]);return[e.useMemo((function(){return e.createElement(t,{onResize:c})}),[c]),o]};
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 144:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["priorityQueue"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 15:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _getPrototypeOf; });
|
||||
function _getPrototypeOf(o) {
|
||||
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
||||
return o.__proto__ || Object.getPrototypeOf(o);
|
||||
};
|
||||
return _getPrototypeOf(o);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 16:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["React"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 17:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -445,7 +269,7 @@ function _arrayWithoutHoles(arr) {
|
||||
var iterableToArray = __webpack_require__(35);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(28);
|
||||
var unsupportedIterableToArray = __webpack_require__(29);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
||||
function _nonIterableSpread() {
|
||||
@ -462,13 +286,6 @@ function _toConsumableArray(arr) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 17:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["React"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 18:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
@ -554,7 +371,7 @@ function _inherits(subClass, superClass) {
|
||||
"use strict";
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _possibleConstructorReturn; });
|
||||
/* harmony import */ var _helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(40);
|
||||
/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(10);
|
||||
/* harmony import */ var _assertThisInitialized__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(12);
|
||||
|
||||
|
||||
function _possibleConstructorReturn(self, call) {
|
||||
@ -567,11 +384,11 @@ function _possibleConstructorReturn(self, call) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 246:
|
||||
/***/ 251:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var _use_media_query__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(126);
|
||||
/* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var _use_media_query__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(128);
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
@ -596,7 +413,7 @@ var useReducedMotion = process.env.FORCE_REDUCED_MOTION || IS_IE ? function () {
|
||||
};
|
||||
/* harmony default export */ __webpack_exports__["a"] = (useReducedMotion);
|
||||
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(100)))
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(93)))
|
||||
|
||||
/***/ }),
|
||||
|
||||
@ -617,7 +434,7 @@ function _arrayLikeToArray(arr, len) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 265:
|
||||
/***/ 270:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
/*!
|
||||
@ -1591,7 +1408,7 @@ function getAttributeValue(suffix, element) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 266:
|
||||
/***/ 271:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var __WEBPACK_AMD_DEFINE_RESULT__;/*global define:false */
|
||||
@ -2657,15 +2474,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/*global define:false */
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 267:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var e=__webpack_require__(17),n={display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},t=function(t){var r=t.onResize,u=e.useRef();return function(n,t){var r=function(){return n.current&&n.current.contentDocument&&n.current.contentDocument.defaultView};function u(){t();var e=r();e&&e.addEventListener("resize",t)}e.useEffect((function(){return r()?u():n.current&&n.current.addEventListener&&n.current.addEventListener("load",u),function(){var e=r();e&&"function"==typeof e.removeEventListener&&e.removeEventListener("resize",t)}}),[])}(u,(function(){return r(u)})),e.createElement("iframe",{style:n,src:"about:blank",ref:u,"aria-hidden":!0,tabIndex:-1,frameBorder:0})},r=function(e){return{width:null!=e?e.offsetWidth:null,height:null!=e?e.offsetHeight:null}};module.exports=function(n){void 0===n&&(n=r);var u=e.useState(n(null)),o=u[0],i=u[1],c=e.useCallback((function(e){return i(n(e.current))}),[n]);return[e.useMemo((function(){return e.createElement(t,{onResize:c})}),[c]),o]};
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 28:
|
||||
/***/ 29:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -2739,7 +2548,7 @@ function _typeof(obj) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 408:
|
||||
/***/ 411:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
/**
|
||||
@ -2792,7 +2601,7 @@ function _typeof(obj) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 445:
|
||||
/***/ 447:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -2910,7 +2719,7 @@ var createClass = __webpack_require__(18);
|
||||
var possibleConstructorReturn = __webpack_require__(21);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
||||
var getPrototypeOf = __webpack_require__(13);
|
||||
var getPrototypeOf = __webpack_require__(15);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules
|
||||
var inherits = __webpack_require__(20);
|
||||
@ -3009,7 +2818,7 @@ var pure = create_higher_order_component(function (Wrapped) {
|
||||
var esm_extends = __webpack_require__(8);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
||||
var assertThisInitialized = __webpack_require__(10);
|
||||
var assertThisInitialized = __webpack_require__(12);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/higher-order/with-global-events/listener.js
|
||||
|
||||
@ -3441,10 +3250,10 @@ function withState() {
|
||||
}
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
|
||||
var slicedToArray = __webpack_require__(15);
|
||||
var slicedToArray = __webpack_require__(13);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/clipboard/dist/clipboard.js
|
||||
var dist_clipboard = __webpack_require__(265);
|
||||
var dist_clipboard = __webpack_require__(270);
|
||||
var clipboard_default = /*#__PURE__*/__webpack_require__.n(dist_clipboard);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-copy-on-click/index.js
|
||||
@ -3584,11 +3393,11 @@ function useDragging(_ref) {
|
||||
}
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/mousetrap/mousetrap.js
|
||||
var mousetrap_mousetrap = __webpack_require__(266);
|
||||
var mousetrap_mousetrap = __webpack_require__(271);
|
||||
var mousetrap_default = /*#__PURE__*/__webpack_require__.n(mousetrap_mousetrap);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/mousetrap/plugins/global-bind/mousetrap-global-bind.js
|
||||
var mousetrap_global_bind = __webpack_require__(408);
|
||||
var mousetrap_global_bind = __webpack_require__(411);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-keyboard-shortcut/index.js
|
||||
/**
|
||||
@ -3646,6 +3455,10 @@ function useKeyboardShortcut(shortcuts, callback) {
|
||||
isDisabled = _ref$isDisabled === void 0 ? false : _ref$isDisabled,
|
||||
target = _ref.target;
|
||||
|
||||
var currentCallback = Object(external_this_wp_element_["useRef"])(callback);
|
||||
Object(external_this_wp_element_["useEffect"])(function () {
|
||||
currentCallback.current = callback;
|
||||
}, [callback]);
|
||||
Object(external_this_wp_element_["useEffect"])(function () {
|
||||
if (isDisabled) {
|
||||
return;
|
||||
@ -3668,18 +3481,20 @@ function useKeyboardShortcut(shortcuts, callback) {
|
||||
}
|
||||
|
||||
var bindFn = bindGlobal ? 'bindGlobal' : 'bind';
|
||||
mousetrap[bindFn](shortcut, callback, eventName);
|
||||
mousetrap[bindFn](shortcut, function () {
|
||||
return currentCallback.current.apply(currentCallback, arguments);
|
||||
}, eventName);
|
||||
});
|
||||
return function () {
|
||||
mousetrap.reset();
|
||||
};
|
||||
}, [shortcuts, bindGlobal, eventName, callback, target, isDisabled]);
|
||||
}, [shortcuts, bindGlobal, eventName, target, isDisabled]);
|
||||
}
|
||||
|
||||
/* harmony default export */ var use_keyboard_shortcut = (useKeyboardShortcut);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-media-query/index.js
|
||||
var use_media_query = __webpack_require__(126);
|
||||
var use_media_query = __webpack_require__(128);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-previous/index.js
|
||||
/**
|
||||
@ -3718,7 +3533,7 @@ function usePrevious(value) {
|
||||
}
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-reduced-motion/index.js
|
||||
var use_reduced_motion = __webpack_require__(246);
|
||||
var use_reduced_motion = __webpack_require__(251);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-viewport-match/index.js
|
||||
/**
|
||||
@ -3812,7 +3627,7 @@ use_viewport_match_useViewportMatch.__experimentalWidthProvider = ViewportMatchW
|
||||
/* harmony default export */ var use_viewport_match = (use_viewport_match_useViewportMatch);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/react-resize-aware/dist/index.js
|
||||
var dist = __webpack_require__(267);
|
||||
var dist = __webpack_require__(143);
|
||||
var dist_default = /*#__PURE__*/__webpack_require__.n(dist);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-resize-observer/index.js
|
||||
@ -3846,10 +3661,10 @@ var dist_default = /*#__PURE__*/__webpack_require__.n(dist);
|
||||
/* harmony default export */ var use_resize_observer = (dist_default.a);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
|
||||
var toConsumableArray = __webpack_require__(16);
|
||||
var toConsumableArray = __webpack_require__(17);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","priorityQueue"]}
|
||||
var external_this_wp_priorityQueue_ = __webpack_require__(143);
|
||||
var external_this_wp_priorityQueue_ = __webpack_require__(144);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/compose/build-module/hooks/use-async-list/index.js
|
||||
|
||||
@ -4009,6 +3824,197 @@ function _extends() {
|
||||
return _extends.apply(this, arguments);
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 93:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
// shim for using process in browser
|
||||
var process = module.exports = {};
|
||||
|
||||
// cached from whatever global is present so that test runners that stub it
|
||||
// don't break things. But we need to wrap it in a try catch in case it is
|
||||
// wrapped in strict mode code which doesn't define any globals. It's inside a
|
||||
// function because try/catches deoptimize in certain engines.
|
||||
|
||||
var cachedSetTimeout;
|
||||
var cachedClearTimeout;
|
||||
|
||||
function defaultSetTimout() {
|
||||
throw new Error('setTimeout has not been defined');
|
||||
}
|
||||
function defaultClearTimeout () {
|
||||
throw new Error('clearTimeout has not been defined');
|
||||
}
|
||||
(function () {
|
||||
try {
|
||||
if (typeof setTimeout === 'function') {
|
||||
cachedSetTimeout = setTimeout;
|
||||
} else {
|
||||
cachedSetTimeout = defaultSetTimout;
|
||||
}
|
||||
} catch (e) {
|
||||
cachedSetTimeout = defaultSetTimout;
|
||||
}
|
||||
try {
|
||||
if (typeof clearTimeout === 'function') {
|
||||
cachedClearTimeout = clearTimeout;
|
||||
} else {
|
||||
cachedClearTimeout = defaultClearTimeout;
|
||||
}
|
||||
} catch (e) {
|
||||
cachedClearTimeout = defaultClearTimeout;
|
||||
}
|
||||
} ())
|
||||
function runTimeout(fun) {
|
||||
if (cachedSetTimeout === setTimeout) {
|
||||
//normal enviroments in sane situations
|
||||
return setTimeout(fun, 0);
|
||||
}
|
||||
// if setTimeout wasn't available but was latter defined
|
||||
if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
|
||||
cachedSetTimeout = setTimeout;
|
||||
return setTimeout(fun, 0);
|
||||
}
|
||||
try {
|
||||
// when when somebody has screwed with setTimeout but no I.E. maddness
|
||||
return cachedSetTimeout(fun, 0);
|
||||
} catch(e){
|
||||
try {
|
||||
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
|
||||
return cachedSetTimeout.call(null, fun, 0);
|
||||
} catch(e){
|
||||
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
|
||||
return cachedSetTimeout.call(this, fun, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
function runClearTimeout(marker) {
|
||||
if (cachedClearTimeout === clearTimeout) {
|
||||
//normal enviroments in sane situations
|
||||
return clearTimeout(marker);
|
||||
}
|
||||
// if clearTimeout wasn't available but was latter defined
|
||||
if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
|
||||
cachedClearTimeout = clearTimeout;
|
||||
return clearTimeout(marker);
|
||||
}
|
||||
try {
|
||||
// when when somebody has screwed with setTimeout but no I.E. maddness
|
||||
return cachedClearTimeout(marker);
|
||||
} catch (e){
|
||||
try {
|
||||
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
|
||||
return cachedClearTimeout.call(null, marker);
|
||||
} catch (e){
|
||||
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
|
||||
// Some versions of I.E. have different rules for clearTimeout vs setTimeout
|
||||
return cachedClearTimeout.call(this, marker);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
var queue = [];
|
||||
var draining = false;
|
||||
var currentQueue;
|
||||
var queueIndex = -1;
|
||||
|
||||
function cleanUpNextTick() {
|
||||
if (!draining || !currentQueue) {
|
||||
return;
|
||||
}
|
||||
draining = false;
|
||||
if (currentQueue.length) {
|
||||
queue = currentQueue.concat(queue);
|
||||
} else {
|
||||
queueIndex = -1;
|
||||
}
|
||||
if (queue.length) {
|
||||
drainQueue();
|
||||
}
|
||||
}
|
||||
|
||||
function drainQueue() {
|
||||
if (draining) {
|
||||
return;
|
||||
}
|
||||
var timeout = runTimeout(cleanUpNextTick);
|
||||
draining = true;
|
||||
|
||||
var len = queue.length;
|
||||
while(len) {
|
||||
currentQueue = queue;
|
||||
queue = [];
|
||||
while (++queueIndex < len) {
|
||||
if (currentQueue) {
|
||||
currentQueue[queueIndex].run();
|
||||
}
|
||||
}
|
||||
queueIndex = -1;
|
||||
len = queue.length;
|
||||
}
|
||||
currentQueue = null;
|
||||
draining = false;
|
||||
runClearTimeout(timeout);
|
||||
}
|
||||
|
||||
process.nextTick = function (fun) {
|
||||
var args = new Array(arguments.length - 1);
|
||||
if (arguments.length > 1) {
|
||||
for (var i = 1; i < arguments.length; i++) {
|
||||
args[i - 1] = arguments[i];
|
||||
}
|
||||
}
|
||||
queue.push(new Item(fun, args));
|
||||
if (queue.length === 1 && !draining) {
|
||||
runTimeout(drainQueue);
|
||||
}
|
||||
};
|
||||
|
||||
// v8 likes predictible objects
|
||||
function Item(fun, array) {
|
||||
this.fun = fun;
|
||||
this.array = array;
|
||||
}
|
||||
Item.prototype.run = function () {
|
||||
this.fun.apply(null, this.array);
|
||||
};
|
||||
process.title = 'browser';
|
||||
process.browser = true;
|
||||
process.env = {};
|
||||
process.argv = [];
|
||||
process.version = ''; // empty string to avoid regexp issues
|
||||
process.versions = {};
|
||||
|
||||
function noop() {}
|
||||
|
||||
process.on = noop;
|
||||
process.addListener = noop;
|
||||
process.once = noop;
|
||||
process.off = noop;
|
||||
process.removeListener = noop;
|
||||
process.removeAllListeners = noop;
|
||||
process.emit = noop;
|
||||
process.prependListener = noop;
|
||||
process.prependOnceListener = noop;
|
||||
|
||||
process.listeners = function (name) { return [] }
|
||||
|
||||
process.binding = function (name) {
|
||||
throw new Error('process.binding is not supported');
|
||||
};
|
||||
|
||||
process.cwd = function () { return '/' };
|
||||
process.chdir = function (dir) {
|
||||
throw new Error('process.chdir is not supported');
|
||||
};
|
||||
process.umask = function() { return 0; };
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
/******/ });
|
4
wp-includes/js/dist/compose.min.js
vendored
4
wp-includes/js/dist/compose.min.js
vendored
File diff suppressed because one or more lines are too long
42
wp-includes/js/dist/core-data.js
vendored
42
wp-includes/js/dist/core-data.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["coreData"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 444);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 446);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -101,7 +101,14 @@ this["wp"] = this["wp"] || {}; this["wp"]["coreData"] =
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 118:
|
||||
/***/ 10:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["blocks"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 120:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -416,14 +423,7 @@ module.exports = EquivalentKeyMap;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 12:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["blocks"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 15:
|
||||
/***/ 13:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -462,7 +462,7 @@ function _iterableToArrayLimit(arr, i) {
|
||||
return _arr;
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(28);
|
||||
var unsupportedIterableToArray = __webpack_require__(29);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(39);
|
||||
@ -478,7 +478,7 @@ function _slicedToArray(arr, i) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 16:
|
||||
/***/ 17:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -498,7 +498,7 @@ function _arrayWithoutHoles(arr) {
|
||||
var iterableToArray = __webpack_require__(35);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(28);
|
||||
var unsupportedIterableToArray = __webpack_require__(29);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
||||
function _nonIterableSpread() {
|
||||
@ -546,7 +546,7 @@ function _arrayLikeToArray(arr, len) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 28:
|
||||
/***/ 29:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -625,7 +625,7 @@ function _nonIterableRest() {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 41:
|
||||
/***/ 42:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -907,7 +907,7 @@ function isShallowEqual( a, b, fromIndex ) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 444:
|
||||
/***/ 446:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -1000,10 +1000,10 @@ var defineProperty = __webpack_require__(5);
|
||||
var external_this_wp_data_ = __webpack_require__(4);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
|
||||
var slicedToArray = __webpack_require__(15);
|
||||
var slicedToArray = __webpack_require__(13);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
|
||||
var toConsumableArray = __webpack_require__(16);
|
||||
var toConsumableArray = __webpack_require__(17);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":"lodash"}
|
||||
var external_this_lodash_ = __webpack_require__(2);
|
||||
@ -3080,7 +3080,7 @@ function reducer_autosaves() {
|
||||
}));
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
|
||||
var rememo = __webpack_require__(41);
|
||||
var rememo = __webpack_require__(42);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","deprecated"]}
|
||||
var external_this_wp_deprecated_ = __webpack_require__(37);
|
||||
@ -3096,7 +3096,7 @@ var external_this_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(ext
|
||||
var REDUCER_KEY = 'core';
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/equivalent-key-map/equivalent-key-map.js
|
||||
var equivalent_key_map = __webpack_require__(118);
|
||||
var equivalent_key_map = __webpack_require__(120);
|
||||
var equivalent_key_map_default = /*#__PURE__*/__webpack_require__.n(equivalent_key_map);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/queried-data/selectors.js
|
||||
@ -4337,7 +4337,7 @@ function resolvers_getAutosave(postType, postId) {
|
||||
var external_this_wp_element_ = __webpack_require__(0);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","blocks"]}
|
||||
var external_this_wp_blocks_ = __webpack_require__(12);
|
||||
var external_this_wp_blocks_ = __webpack_require__(10);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/core-data/build-module/entity-provider.js
|
||||
|
||||
|
2
wp-includes/js/dist/core-data.min.js
vendored
2
wp-includes/js/dist/core-data.min.js
vendored
File diff suppressed because one or more lines are too long
12
wp-includes/js/dist/data-controls.js
vendored
12
wp-includes/js/dist/data-controls.js
vendored
@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["dataControls"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 410);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 413);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 16:
|
||||
/***/ 17:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -107,7 +107,7 @@ function _arrayWithoutHoles(arr) {
|
||||
var iterableToArray = __webpack_require__(35);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(28);
|
||||
var unsupportedIterableToArray = __webpack_require__(29);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
||||
function _nonIterableSpread() {
|
||||
@ -141,7 +141,7 @@ function _arrayLikeToArray(arr, len) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 28:
|
||||
/***/ 29:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -177,7 +177,7 @@ function _iterableToArray(iter) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 410:
|
||||
/***/ 413:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -187,7 +187,7 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__unstableSyncSelect", function() { return __unstableSyncSelect; });
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dispatch", function() { return dispatch; });
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "controls", function() { return controls; });
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(16);
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17);
|
||||
/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(45);
|
||||
/* harmony import */ var _wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_api_fetch__WEBPACK_IMPORTED_MODULE_1__);
|
||||
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4);
|
||||
|
2
wp-includes/js/dist/data-controls.min.js
vendored
2
wp-includes/js/dist/data-controls.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
this.wp=this.wp||{},this.wp.dataControls=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=410)}({16:function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var n=r(26);var o=r(35),u=r(28);function c(t){return function(t){if(Array.isArray(t))return Object(n.a)(t)}(t)||Object(o.a)(t)||Object(u.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},26:function(t,e,r){"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,"a",(function(){return n}))},28:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(26);function o(t,e){if(t){if("string"==typeof t)return Object(n.a)(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(t,e):void 0}}},35:function(t,e,r){"use strict";function n(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}r.d(e,"a",(function(){return n}))},4:function(t,e){!function(){t.exports=this.wp.data}()},410:function(t,e,r){"use strict";r.r(e),r.d(e,"apiFetch",(function(){return a})),r.d(e,"select",(function(){return i})),r.d(e,"__unstableSyncSelect",(function(){return f})),r.d(e,"dispatch",(function(){return s})),r.d(e,"controls",(function(){return l}));var n=r(16),o=r(45),u=r.n(o),c=r(4),a=function(t){return{type:"API_FETCH",request:t}};function i(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:"SELECT",storeKey:t,selectorName:e,args:n}}function f(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:"SYNC_SELECT",storeKey:t,selectorName:e,args:n}}function s(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:"DISPATCH",storeKey:t,actionName:e,args:n}}var l={API_FETCH:function(t){var e=t.request;return u()(e)},SELECT:Object(c.createRegistryControl)((function(t){return function(e){var r,o=e.storeKey,u=e.selectorName,c=e.args;return(r=t[t.select(o)[u].hasResolver?"__experimentalResolveSelect":"select"](o))[u].apply(r,Object(n.a)(c))}})),SYNC_SELECT:Object(c.createRegistryControl)((function(t){return function(e){var r,o=e.storeKey,u=e.selectorName,c=e.args;return(r=t.select(o))[u].apply(r,Object(n.a)(c))}})),DISPATCH:Object(c.createRegistryControl)((function(t){return function(e){var r,o=e.storeKey,u=e.actionName,c=e.args;return(r=t.dispatch(o))[u].apply(r,Object(n.a)(c))}}))}},45:function(t,e){!function(){t.exports=this.wp.apiFetch}()}});
|
||||
this.wp=this.wp||{},this.wp.dataControls=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=413)}({17:function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var n=r(26);var o=r(35),u=r(29);function c(t){return function(t){if(Array.isArray(t))return Object(n.a)(t)}(t)||Object(o.a)(t)||Object(u.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},26:function(t,e,r){"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,"a",(function(){return n}))},29:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(26);function o(t,e){if(t){if("string"==typeof t)return Object(n.a)(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(t,e):void 0}}},35:function(t,e,r){"use strict";function n(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}r.d(e,"a",(function(){return n}))},4:function(t,e){!function(){t.exports=this.wp.data}()},413:function(t,e,r){"use strict";r.r(e),r.d(e,"apiFetch",(function(){return a})),r.d(e,"select",(function(){return i})),r.d(e,"__unstableSyncSelect",(function(){return f})),r.d(e,"dispatch",(function(){return s})),r.d(e,"controls",(function(){return l}));var n=r(17),o=r(45),u=r.n(o),c=r(4),a=function(t){return{type:"API_FETCH",request:t}};function i(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:"SELECT",storeKey:t,selectorName:e,args:n}}function f(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:"SYNC_SELECT",storeKey:t,selectorName:e,args:n}}function s(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return{type:"DISPATCH",storeKey:t,actionName:e,args:n}}var l={API_FETCH:function(t){var e=t.request;return u()(e)},SELECT:Object(c.createRegistryControl)((function(t){return function(e){var r,o=e.storeKey,u=e.selectorName,c=e.args;return(r=t[t.select(o)[u].hasResolver?"__experimentalResolveSelect":"select"](o))[u].apply(r,Object(n.a)(c))}})),SYNC_SELECT:Object(c.createRegistryControl)((function(t){return function(e){var r,o=e.storeKey,u=e.selectorName,c=e.args;return(r=t.select(o))[u].apply(r,Object(n.a)(c))}})),DISPATCH:Object(c.createRegistryControl)((function(t){return function(e){var r,o=e.storeKey,u=e.actionName,c=e.args;return(r=t.dispatch(o))[u].apply(r,Object(n.a)(c))}}))}},45:function(t,e){!function(){t.exports=this.wp.apiFetch}()}});
|
78
wp-includes/js/dist/data.js
vendored
78
wp-includes/js/dist/data.js
vendored
@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["data"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 440);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 442);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
@ -94,7 +94,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["data"] =
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 118:
|
||||
/***/ 120:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -409,7 +409,7 @@ module.exports = EquivalentKeyMap;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 119:
|
||||
/***/ 121:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
var g;
|
||||
@ -436,14 +436,7 @@ module.exports = g;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 143:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["priorityQueue"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 15:
|
||||
/***/ 13:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -482,7 +475,7 @@ function _iterableToArrayLimit(arr, i) {
|
||||
return _arr;
|
||||
}
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(28);
|
||||
var unsupportedIterableToArray = __webpack_require__(29);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
||||
var nonIterableRest = __webpack_require__(39);
|
||||
@ -498,7 +491,14 @@ function _slicedToArray(arr, i) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 154:
|
||||
/***/ 144:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["priorityQueue"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 158:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
function combineReducers( reducers ) {
|
||||
@ -558,6 +558,13 @@ module.exports = combineReducers;
|
||||
/***/ }),
|
||||
|
||||
/***/ 16:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["React"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 17:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -577,7 +584,7 @@ function _arrayWithoutHoles(arr) {
|
||||
var iterableToArray = __webpack_require__(35);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
||||
var unsupportedIterableToArray = __webpack_require__(28);
|
||||
var unsupportedIterableToArray = __webpack_require__(29);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
||||
function _nonIterableSpread() {
|
||||
@ -594,18 +601,11 @@ function _toConsumableArray(arr) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 17:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["React"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 188:
|
||||
/***/ 191:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(global, module) {/* harmony import */ var _ponyfill_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(270);
|
||||
/* WEBPACK VAR INJECTION */(function(global, module) {/* harmony import */ var _ponyfill_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(274);
|
||||
/* global window */
|
||||
|
||||
|
||||
@ -624,7 +624,7 @@ if (typeof self !== 'undefined') {
|
||||
var result = Object(_ponyfill_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(root);
|
||||
/* harmony default export */ __webpack_exports__["a"] = (result);
|
||||
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(119), __webpack_require__(409)(module)))
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(121), __webpack_require__(412)(module)))
|
||||
|
||||
/***/ }),
|
||||
|
||||
@ -659,14 +659,14 @@ function _arrayLikeToArray(arr, len) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 268:
|
||||
/***/ 272:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["reduxRoutine"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 269:
|
||||
/***/ 273:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
module.exports = isPromise;
|
||||
@ -679,7 +679,7 @@ function isPromise(obj) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 270:
|
||||
/***/ 274:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -705,7 +705,7 @@ function symbolObservablePonyfill(root) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 28:
|
||||
/***/ 29:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -763,7 +763,7 @@ function _nonIterableRest() {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 409:
|
||||
/***/ 412:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
module.exports = function(originalModule) {
|
||||
@ -794,7 +794,7 @@ module.exports = function(originalModule) {
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 440:
|
||||
/***/ 442:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
@ -850,11 +850,11 @@ __webpack_require__.d(plugins_namespaceObject, "controls", function() { return c
|
||||
__webpack_require__.d(plugins_namespaceObject, "persistence", function() { return plugins_persistence; });
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/turbo-combine-reducers/index.js
|
||||
var turbo_combine_reducers = __webpack_require__(154);
|
||||
var turbo_combine_reducers = __webpack_require__(158);
|
||||
var turbo_combine_reducers_default = /*#__PURE__*/__webpack_require__.n(turbo_combine_reducers);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
|
||||
var slicedToArray = __webpack_require__(15);
|
||||
var slicedToArray = __webpack_require__(13);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
||||
var defineProperty = __webpack_require__(5);
|
||||
@ -874,7 +874,7 @@ var external_this_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.
|
||||
var asyncToGenerator = __webpack_require__(46);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/symbol-observable/es/index.js
|
||||
var es = __webpack_require__(188);
|
||||
var es = __webpack_require__(191);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/redux/es/redux.js
|
||||
|
||||
@ -1528,11 +1528,11 @@ if (false) {}
|
||||
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","reduxRoutine"]}
|
||||
var external_this_wp_reduxRoutine_ = __webpack_require__(268);
|
||||
var external_this_wp_reduxRoutine_ = __webpack_require__(272);
|
||||
var external_this_wp_reduxRoutine_default = /*#__PURE__*/__webpack_require__.n(external_this_wp_reduxRoutine_);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@wordpress/data/node_modules/is-promise/index.js
|
||||
var is_promise = __webpack_require__(269);
|
||||
var is_promise = __webpack_require__(273);
|
||||
var is_promise_default = /*#__PURE__*/__webpack_require__.n(is_promise);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/promise-middleware.js
|
||||
@ -1565,7 +1565,7 @@ var promise_middleware_promiseMiddleware = function promiseMiddleware() {
|
||||
/* harmony default export */ var promise_middleware = (promise_middleware_promiseMiddleware);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
|
||||
var toConsumableArray = __webpack_require__(16);
|
||||
var toConsumableArray = __webpack_require__(17);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/resolvers-cache-middleware.js
|
||||
|
||||
@ -1625,7 +1625,7 @@ var resolvers_cache_middleware_createResolversCacheMiddleware = function createR
|
||||
/* harmony default export */ var resolvers_cache_middleware = (resolvers_cache_middleware_createResolversCacheMiddleware);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/equivalent-key-map/equivalent-key-map.js
|
||||
var equivalent_key_map = __webpack_require__(118);
|
||||
var equivalent_key_map = __webpack_require__(120);
|
||||
var equivalent_key_map_default = /*#__PURE__*/__webpack_require__.n(equivalent_key_map);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/@wordpress/data/build-module/namespace-store/metadata/utils.js
|
||||
@ -2978,7 +2978,7 @@ var external_this_wp_element_ = __webpack_require__(0);
|
||||
var external_this_wp_compose_ = __webpack_require__(9);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":"React"}
|
||||
var external_this_React_ = __webpack_require__(17);
|
||||
var external_this_React_ = __webpack_require__(16);
|
||||
|
||||
// CONCATENATED MODULE: ./node_modules/use-memo-one/dist/use-memo-one.esm.js
|
||||
|
||||
@ -3026,7 +3026,7 @@ var useCallback = useCallbackOne;
|
||||
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","priorityQueue"]}
|
||||
var external_this_wp_priorityQueue_ = __webpack_require__(143);
|
||||
var external_this_wp_priorityQueue_ = __webpack_require__(144);
|
||||
|
||||
// EXTERNAL MODULE: external {"this":["wp","isShallowEqual"]}
|
||||
var external_this_wp_isShallowEqual_ = __webpack_require__(55);
|
||||
|
2
wp-includes/js/dist/data.min.js
vendored
2
wp-includes/js/dist/data.min.js
vendored
File diff suppressed because one or more lines are too long
22
wp-includes/js/dist/date.js
vendored
22
wp-includes/js/dist/date.js
vendored
File diff suppressed because one or more lines are too long
6
wp-includes/js/dist/date.min.js
vendored
6
wp-includes/js/dist/date.min.js
vendored
File diff suppressed because one or more lines are too long
8
wp-includes/js/dist/deprecated.js
vendored
8
wp-includes/js/dist/deprecated.js
vendored
@ -82,26 +82,26 @@ this["wp"] = this["wp"] || {}; this["wp"]["deprecated"] =
|
||||
/******/
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 415);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 418);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 31:
|
||||
/***/ 32:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() { module.exports = this["wp"]["hooks"]; }());
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 415:
|
||||
/***/ 418:
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "logged", function() { return logged; });
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return deprecated; });
|
||||
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31);
|
||||
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(32);
|
||||
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/**
|
||||
* WordPress dependencies
|
||||
|
2
wp-includes/js/dist/deprecated.min.js
vendored
2
wp-includes/js/dist/deprecated.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! This file is auto-generated */
|
||||
this.wp=this.wp||{},this.wp.deprecated=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=415)}({31:function(e,t){!function(){e.exports=this.wp.hooks}()},415:function(e,t,n){"use strict";n.r(t),n.d(t,"logged",(function(){return o})),n.d(t,"default",(function(){return c}));var r=n(31),o=Object.create(null);function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.version,c=t.alternative,i=t.plugin,u=t.link,a=t.hint,l=i?" from ".concat(i):"",f=n?" and will be removed".concat(l," in version ").concat(n):"",d=c?" Please use ".concat(c," instead."):"",s=u?" See: ".concat(u):"",p=a?" Note: ".concat(a):"",b="".concat(e," is deprecated").concat(f,".").concat(d).concat(s).concat(p);b in o||(Object(r.doAction)("deprecated",e,t,b),console.warn(b),o[b]=!0)}}}).default;
|
||||
this.wp=this.wp||{},this.wp.deprecated=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=418)}({32:function(e,t){!function(){e.exports=this.wp.hooks}()},418:function(e,t,n){"use strict";n.r(t),n.d(t,"logged",(function(){return o})),n.d(t,"default",(function(){return c}));var r=n(32),o=Object.create(null);function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.version,c=t.alternative,i=t.plugin,u=t.link,a=t.hint,l=i?" from ".concat(i):"",f=n?" and will be removed".concat(l," in version ").concat(n):"",d=c?" Please use ".concat(c," instead."):"",s=u?" See: ".concat(u):"",p=a?" Note: ".concat(a):"",b="".concat(e," is deprecated").concat(f,".").concat(d).concat(s).concat(p);b in o||(Object(r.doAction)("deprecated",e,t,b),console.warn(b),o[b]=!0)}}}).default;
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user