Editor: Update WordPress packages from Gutenberg 10.5
Applies changes between the Gutenberg plugin v10.4 and v10.5. It contains the latest version of WordPress packages and PHP changes applied to non-experimental features. Props youknowriad. See #52991. Built from https://develop.svn.wordpress.org/trunk@50824 git-svn-id: http://core.svn.wordpress.org/trunk@50433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
59
wp-includes/css/dist/block-editor/style-rtl.css
vendored
59
wp-includes/css/dist/block-editor/style-rtl.css
vendored
@@ -679,6 +679,16 @@
|
||||
.block-editor-block-list__insertion-point-popover.is-without-arrow {
|
||||
z-index: 28;
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
}
|
||||
.block-editor-block-list__insertion-point-popover.is-without-arrow * {
|
||||
pointer-events: none;
|
||||
}
|
||||
.block-editor-block-list__insertion-point-popover.is-without-arrow .is-with-inserter {
|
||||
pointer-events: all;
|
||||
}
|
||||
.block-editor-block-list__insertion-point-popover.is-without-arrow .is-with-inserter * {
|
||||
pointer-events: all;
|
||||
}
|
||||
.block-editor-block-list__insertion-point-popover.is-without-arrow .components-popover__content.components-popover__content {
|
||||
background: none;
|
||||
@@ -1577,7 +1587,6 @@
|
||||
padding: 0;
|
||||
}
|
||||
.components-popover.block-editor-block-switcher__popover .components-popover__content > div .components-menu-group {
|
||||
padding: 16px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@@ -1620,6 +1629,7 @@
|
||||
.block-editor-block-switcher__preview__popover .block-editor-block-switcher__preview {
|
||||
width: 300px;
|
||||
height: auto;
|
||||
max-height: 500px;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
@@ -1650,6 +1660,38 @@
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.block-editor-block-switcher__preview-patterns-container {
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item {
|
||||
margin-top: 16px;
|
||||
}
|
||||
.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-preview__container {
|
||||
cursor: pointer;
|
||||
}
|
||||
.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item {
|
||||
height: 100%;
|
||||
border-radius: 2px;
|
||||
transition: all 0.05s ease-in-out;
|
||||
position: relative;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item:hover, .block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item:focus {
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 2px #007cba;
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item:hover {
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 2px #1e1e1e;
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) #1e1e1e;
|
||||
}
|
||||
.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item .block-editor-block-switcher__preview-patterns-container-list__item-title {
|
||||
padding: 4px;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.block-editor-block-types-list > [role=presentation] {
|
||||
padding: 4px;
|
||||
margin-right: -4px;
|
||||
@@ -1760,6 +1802,17 @@
|
||||
min-width: 230px;
|
||||
}
|
||||
|
||||
.components-border-style-control__select {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
.components-border-style-control__select button {
|
||||
width: 100%;
|
||||
}
|
||||
.components-border-style-control__select ul li,
|
||||
.components-border-style-control__select ul li:last-child {
|
||||
margin: 6px;
|
||||
}
|
||||
|
||||
.block-editor-button-block-appender {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -3121,7 +3174,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
display: inline-block;
|
||||
line-height: 0;
|
||||
}
|
||||
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
||||
@supports (position: sticky) {
|
||||
.block-editor-block-toolbar__slot {
|
||||
display: inline-flex;
|
||||
}
|
||||
@@ -3283,7 +3336,6 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
|
||||
.block-editor-inserter__search {
|
||||
padding: 16px;
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: #fff;
|
||||
@@ -3387,7 +3439,6 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
margin-top: -8px;
|
||||
}
|
||||
.block-editor-inserter__tabs .components-tab-panel__tabs {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: 72px;
|
||||
background: #fff;
|
||||
|
||||
File diff suppressed because one or more lines are too long
59
wp-includes/css/dist/block-editor/style.css
vendored
59
wp-includes/css/dist/block-editor/style.css
vendored
@@ -679,6 +679,16 @@
|
||||
.block-editor-block-list__insertion-point-popover.is-without-arrow {
|
||||
z-index: 28;
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
}
|
||||
.block-editor-block-list__insertion-point-popover.is-without-arrow * {
|
||||
pointer-events: none;
|
||||
}
|
||||
.block-editor-block-list__insertion-point-popover.is-without-arrow .is-with-inserter {
|
||||
pointer-events: all;
|
||||
}
|
||||
.block-editor-block-list__insertion-point-popover.is-without-arrow .is-with-inserter * {
|
||||
pointer-events: all;
|
||||
}
|
||||
.block-editor-block-list__insertion-point-popover.is-without-arrow .components-popover__content.components-popover__content {
|
||||
background: none;
|
||||
@@ -1577,7 +1587,6 @@
|
||||
padding: 0;
|
||||
}
|
||||
.components-popover.block-editor-block-switcher__popover .components-popover__content > div .components-menu-group {
|
||||
padding: 16px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@@ -1620,6 +1629,7 @@
|
||||
.block-editor-block-switcher__preview__popover .block-editor-block-switcher__preview {
|
||||
width: 300px;
|
||||
height: auto;
|
||||
max-height: 500px;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
@@ -1650,6 +1660,38 @@
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.block-editor-block-switcher__preview-patterns-container {
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item {
|
||||
margin-top: 16px;
|
||||
}
|
||||
.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-preview__container {
|
||||
cursor: pointer;
|
||||
}
|
||||
.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item {
|
||||
height: 100%;
|
||||
border-radius: 2px;
|
||||
transition: all 0.05s ease-in-out;
|
||||
position: relative;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item:hover, .block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item:focus {
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 2px #007cba;
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item:hover {
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 2px #1e1e1e;
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) #1e1e1e;
|
||||
}
|
||||
.block-editor-block-switcher__preview-patterns-container .block-editor-block-switcher__preview-patterns-container-list__list-item .block-editor-block-switcher__preview-patterns-container-list__item .block-editor-block-switcher__preview-patterns-container-list__item-title {
|
||||
padding: 4px;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.block-editor-block-types-list > [role=presentation] {
|
||||
padding: 4px;
|
||||
margin-left: -4px;
|
||||
@@ -1760,6 +1802,17 @@
|
||||
min-width: 230px;
|
||||
}
|
||||
|
||||
.components-border-style-control__select {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
.components-border-style-control__select button {
|
||||
width: 100%;
|
||||
}
|
||||
.components-border-style-control__select ul li,
|
||||
.components-border-style-control__select ul li:last-child {
|
||||
margin: 6px;
|
||||
}
|
||||
|
||||
.block-editor-button-block-appender {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -3121,7 +3174,7 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
display: inline-block;
|
||||
line-height: 0;
|
||||
}
|
||||
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
||||
@supports (position: sticky) {
|
||||
.block-editor-block-toolbar__slot {
|
||||
display: inline-flex;
|
||||
}
|
||||
@@ -3283,7 +3336,6 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
|
||||
.block-editor-inserter__search {
|
||||
padding: 16px;
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: #fff;
|
||||
@@ -3387,7 +3439,6 @@ figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]::before
|
||||
margin-top: -8px;
|
||||
}
|
||||
.block-editor-inserter__tabs .components-tab-panel__tabs {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: 72px;
|
||||
background: #fff;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -374,10 +374,29 @@ div[data-type="core/button"] {
|
||||
|
||||
.wp-block-file {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.wp-block[data-align=left] > .wp-block-file, .wp-block[data-align=right] > .wp-block-file {
|
||||
height: auto;
|
||||
}
|
||||
.wp-block-file .components-resizable-box__container {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.wp-block-file .wp-block-file__preview {
|
||||
margin-bottom: 1em;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.wp-block-file .wp-block-file__preview-overlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
}
|
||||
.wp-block-file .wp-block-file__content-wrapper {
|
||||
flex-grow: 1;
|
||||
}
|
||||
@@ -650,7 +669,6 @@ div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce::af
|
||||
display: none;
|
||||
width: auto;
|
||||
margin: 0;
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
z-index: 31;
|
||||
top: 0;
|
||||
@@ -1324,6 +1342,7 @@ figure.wp-block-image:not(.wp-block) {
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
display: none;
|
||||
line-height: 0;
|
||||
margin-right: 5px;
|
||||
}
|
||||
.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator svg {
|
||||
@@ -1495,6 +1514,18 @@ figure.wp-block-image:not(.wp-block) {
|
||||
margin: 0.5em;
|
||||
}
|
||||
|
||||
.wp-block-page-list-modal {
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
.wp-block-page-list-modal-buttons {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.wp-block-page-list-modal-buttons .components-button {
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus {
|
||||
min-height: auto !important;
|
||||
}
|
||||
@@ -1696,13 +1727,13 @@ figure.wp-block-image:not(.wp-block) {
|
||||
.wp-block-site-logo a {
|
||||
pointer-events: none;
|
||||
}
|
||||
.wp-block-site-logo.is-resized {
|
||||
.wp-block-site-logo:not(.is-default-size) {
|
||||
display: table;
|
||||
}
|
||||
.wp-block-site-logo:not(.is-resized) {
|
||||
.wp-block-site-logo.is-default-size {
|
||||
width: 120px;
|
||||
}
|
||||
.wp-block-site-logo:not(.is-resized) img {
|
||||
.wp-block-site-logo.is-default-size img {
|
||||
width: 100%;
|
||||
}
|
||||
.wp-block-site-logo .custom-logo-link {
|
||||
@@ -1779,17 +1810,7 @@ figure.wp-block-image:not(.wp-block) {
|
||||
.wp-block-social-links__social-placeholder {
|
||||
display: flex;
|
||||
opacity: 0.8;
|
||||
transition: all 0.1s ease-in-out;
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.wp-block-social-links__social-placeholder {
|
||||
transition-duration: 0s;
|
||||
transition-delay: 0s;
|
||||
}
|
||||
}
|
||||
.is-selected > .wp-block-social-links__social-placeholder {
|
||||
opacity: 0;
|
||||
width: 0;
|
||||
list-style: none;
|
||||
}
|
||||
.wp-block-social-links__social-placeholder > .wp-social-link {
|
||||
padding-right: 0 !important;
|
||||
@@ -1811,9 +1832,6 @@ figure.wp-block-image:not(.wp-block) {
|
||||
padding-right: calc((2/3) * 1em);
|
||||
padding-left: calc((2/3) * 1em);
|
||||
}
|
||||
.wp-block-social-links__social-placeholder + .block-list-appender {
|
||||
box-shadow: inset 0 0 0 1px #757575;
|
||||
}
|
||||
.wp-block-social-links__social-placeholder .wp-social-link::before {
|
||||
content: "";
|
||||
display: block;
|
||||
@@ -1825,6 +1843,21 @@ figure.wp-block-image:not(.wp-block) {
|
||||
background: currentColor;
|
||||
}
|
||||
|
||||
.wp-block-social-links .wp-block-social-links__social-prompt {
|
||||
list-style: none;
|
||||
order: 2;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
line-height: 24px;
|
||||
margin-top: auto;
|
||||
margin-bottom: auto;
|
||||
cursor: default;
|
||||
}
|
||||
.wp-block-social-links .wp-block-social-links__social-prompt + .block-list-appender {
|
||||
margin-left: 8px;
|
||||
padding: 0.25em;
|
||||
}
|
||||
|
||||
.wp-block-social-links .block-list-appender {
|
||||
margin: 4px 0 4px auto;
|
||||
border-radius: 9999px;
|
||||
@@ -1877,12 +1910,6 @@ figure.wp-block-image:not(.wp-block) {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
[data-type="core/social-links"] .wp-social-link:focus {
|
||||
opacity: 1;
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
|
||||
.block-editor-block-list__block[data-type="core/spacer"]::before {
|
||||
content: "";
|
||||
display: block;
|
||||
@@ -2054,14 +2081,24 @@ figure.wp-block-image:not(.wp-block) {
|
||||
outline: 1px solid #ddd;
|
||||
}
|
||||
|
||||
pre.wp-block-verse {
|
||||
color: #1e1e1e;
|
||||
}
|
||||
|
||||
.wp-block[data-align=center] > .wp-block-video {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wp-block-video {
|
||||
position: relative;
|
||||
}
|
||||
.wp-block-video.is-transient video {
|
||||
opacity: 0.3;
|
||||
}
|
||||
.wp-block-video .components-spinner {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 50%;
|
||||
margin-top: -9px;
|
||||
margin-right: -9px;
|
||||
}
|
||||
|
||||
.editor-video-poster-control .components-base-control__label {
|
||||
display: block;
|
||||
}
|
||||
@@ -2199,6 +2236,7 @@ pre.wp-block-verse {
|
||||
}
|
||||
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item .block-setup-block-layout-list__item {
|
||||
height: 100%;
|
||||
max-height: 140px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 2px;
|
||||
@@ -2237,6 +2275,7 @@ pre.wp-block-verse {
|
||||
}
|
||||
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item.is-block-variation .block-setup-block-layout-list__item {
|
||||
height: 90px;
|
||||
min-height: 90px;
|
||||
}
|
||||
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item:not(.is-block-variation) + .block-setup-block-layout-list__list-item.is-block-variation .block-setup-block-layout-list__item {
|
||||
height: 100%;
|
||||
|
||||
File diff suppressed because one or more lines are too long
95
wp-includes/css/dist/block-library/editor.css
vendored
95
wp-includes/css/dist/block-library/editor.css
vendored
@@ -375,10 +375,29 @@ div[data-type="core/button"] {
|
||||
|
||||
.wp-block-file {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.wp-block[data-align=left] > .wp-block-file, .wp-block[data-align=right] > .wp-block-file {
|
||||
height: auto;
|
||||
}
|
||||
.wp-block-file .components-resizable-box__container {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.wp-block-file .wp-block-file__preview {
|
||||
margin-bottom: 1em;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.wp-block-file .wp-block-file__preview-overlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
.wp-block-file .wp-block-file__content-wrapper {
|
||||
flex-grow: 1;
|
||||
}
|
||||
@@ -655,7 +674,6 @@ div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce::af
|
||||
display: none;
|
||||
width: auto;
|
||||
margin: 0;
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
z-index: 31;
|
||||
top: 0;
|
||||
@@ -1329,6 +1347,7 @@ figure.wp-block-image:not(.wp-block) {
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
display: none;
|
||||
line-height: 0;
|
||||
margin-left: 5px;
|
||||
}
|
||||
.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator svg {
|
||||
@@ -1500,6 +1519,18 @@ figure.wp-block-image:not(.wp-block) {
|
||||
margin: 0.5em;
|
||||
}
|
||||
|
||||
.wp-block-page-list-modal {
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
.wp-block-page-list-modal-buttons {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.wp-block-page-list-modal-buttons .components-button {
|
||||
margin-left: 12px;
|
||||
}
|
||||
|
||||
.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus {
|
||||
min-height: auto !important;
|
||||
}
|
||||
@@ -1701,13 +1732,13 @@ figure.wp-block-image:not(.wp-block) {
|
||||
.wp-block-site-logo a {
|
||||
pointer-events: none;
|
||||
}
|
||||
.wp-block-site-logo.is-resized {
|
||||
.wp-block-site-logo:not(.is-default-size) {
|
||||
display: table;
|
||||
}
|
||||
.wp-block-site-logo:not(.is-resized) {
|
||||
.wp-block-site-logo.is-default-size {
|
||||
width: 120px;
|
||||
}
|
||||
.wp-block-site-logo:not(.is-resized) img {
|
||||
.wp-block-site-logo.is-default-size img {
|
||||
width: 100%;
|
||||
}
|
||||
.wp-block-site-logo .custom-logo-link {
|
||||
@@ -1784,17 +1815,7 @@ figure.wp-block-image:not(.wp-block) {
|
||||
.wp-block-social-links__social-placeholder {
|
||||
display: flex;
|
||||
opacity: 0.8;
|
||||
transition: all 0.1s ease-in-out;
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.wp-block-social-links__social-placeholder {
|
||||
transition-duration: 0s;
|
||||
transition-delay: 0s;
|
||||
}
|
||||
}
|
||||
.is-selected > .wp-block-social-links__social-placeholder {
|
||||
opacity: 0;
|
||||
width: 0;
|
||||
list-style: none;
|
||||
}
|
||||
.wp-block-social-links__social-placeholder > .wp-social-link {
|
||||
padding-left: 0 !important;
|
||||
@@ -1816,9 +1837,6 @@ figure.wp-block-image:not(.wp-block) {
|
||||
padding-left: calc((2/3) * 1em);
|
||||
padding-right: calc((2/3) * 1em);
|
||||
}
|
||||
.wp-block-social-links__social-placeholder + .block-list-appender {
|
||||
box-shadow: inset 0 0 0 1px #757575;
|
||||
}
|
||||
.wp-block-social-links__social-placeholder .wp-social-link::before {
|
||||
content: "";
|
||||
display: block;
|
||||
@@ -1830,6 +1848,21 @@ figure.wp-block-image:not(.wp-block) {
|
||||
background: currentColor;
|
||||
}
|
||||
|
||||
.wp-block-social-links .wp-block-social-links__social-prompt {
|
||||
list-style: none;
|
||||
order: 2;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 13px;
|
||||
line-height: 24px;
|
||||
margin-top: auto;
|
||||
margin-bottom: auto;
|
||||
cursor: default;
|
||||
}
|
||||
.wp-block-social-links .wp-block-social-links__social-prompt + .block-list-appender {
|
||||
margin-right: 8px;
|
||||
padding: 0.25em;
|
||||
}
|
||||
|
||||
.wp-block-social-links .block-list-appender {
|
||||
margin: 4px auto 4px 0;
|
||||
border-radius: 9999px;
|
||||
@@ -1882,12 +1915,6 @@ figure.wp-block-image:not(.wp-block) {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
[data-type="core/social-links"] .wp-social-link:focus {
|
||||
opacity: 1;
|
||||
box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
|
||||
.block-editor-block-list__block[data-type="core/spacer"]::before {
|
||||
content: "";
|
||||
display: block;
|
||||
@@ -2059,14 +2086,24 @@ figure.wp-block-image:not(.wp-block) {
|
||||
outline: 1px solid #ddd;
|
||||
}
|
||||
|
||||
pre.wp-block-verse {
|
||||
color: #1e1e1e;
|
||||
}
|
||||
|
||||
.wp-block[data-align=center] > .wp-block-video {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wp-block-video {
|
||||
position: relative;
|
||||
}
|
||||
.wp-block-video.is-transient video {
|
||||
opacity: 0.3;
|
||||
}
|
||||
.wp-block-video .components-spinner {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin-top: -9px;
|
||||
margin-left: -9px;
|
||||
}
|
||||
|
||||
.editor-video-poster-control .components-base-control__label {
|
||||
display: block;
|
||||
}
|
||||
@@ -2204,6 +2241,7 @@ pre.wp-block-verse {
|
||||
}
|
||||
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item .block-setup-block-layout-list__item {
|
||||
height: 100%;
|
||||
max-height: 140px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 2px;
|
||||
@@ -2242,6 +2280,7 @@ pre.wp-block-verse {
|
||||
}
|
||||
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item.is-block-variation .block-setup-block-layout-list__item {
|
||||
height: 90px;
|
||||
min-height: 90px;
|
||||
}
|
||||
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item:not(.is-block-variation) + .block-setup-block-layout-list__list-item.is-block-variation .block-setup-block-layout-list__item {
|
||||
height: 100%;
|
||||
|
||||
File diff suppressed because one or more lines are too long
42
wp-includes/css/dist/block-library/style-rtl.css
vendored
42
wp-includes/css/dist/block-library/style-rtl.css
vendored
@@ -115,6 +115,9 @@
|
||||
.wp-block-buttons > .wp-block-button.has-custom-width .wp-block-button__link {
|
||||
width: 100%;
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.has-custom-font-size .wp-block-button__link {
|
||||
font-size: inherit;
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.wp-block-button__width-25 {
|
||||
width: calc(25% - 0.5em);
|
||||
}
|
||||
@@ -235,6 +238,10 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.wp-block-button.aligncenter {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wp-block-calendar {
|
||||
text-align: center;
|
||||
}
|
||||
@@ -489,7 +496,7 @@
|
||||
font-size: 0;
|
||||
min-height: inherit;
|
||||
}
|
||||
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
||||
@supports (position: sticky) {
|
||||
.wp-block-cover-image::after,
|
||||
.wp-block-cover::after {
|
||||
content: none;
|
||||
@@ -736,6 +743,9 @@ section.wp-block-cover-image > h2,
|
||||
.wp-block-file.alignright {
|
||||
text-align: right;
|
||||
}
|
||||
.wp-block-file .wp-block-file__embed {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.wp-block-file .wp-block-file__button {
|
||||
background: #32373c;
|
||||
border-radius: 2em;
|
||||
@@ -790,7 +800,7 @@ section.wp-block-cover-image > h2,
|
||||
margin: 0;
|
||||
height: 100%;
|
||||
}
|
||||
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
||||
@supports (position: sticky) {
|
||||
.wp-block-gallery .blocks-gallery-image figure,
|
||||
.wp-block-gallery .blocks-gallery-item figure,
|
||||
.blocks-gallery-grid .blocks-gallery-image figure,
|
||||
@@ -809,7 +819,7 @@ section.wp-block-cover-image > h2,
|
||||
height: auto;
|
||||
width: 100%;
|
||||
}
|
||||
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
||||
@supports (position: sticky) {
|
||||
.wp-block-gallery .blocks-gallery-image img,
|
||||
.wp-block-gallery .blocks-gallery-item img,
|
||||
.blocks-gallery-grid .blocks-gallery-image img,
|
||||
@@ -859,7 +869,7 @@ section.wp-block-cover-image > h2,
|
||||
.blocks-gallery-grid.is-cropped .blocks-gallery-item img {
|
||||
width: 100%;
|
||||
}
|
||||
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
||||
@supports (position: sticky) {
|
||||
.wp-block-gallery.is-cropped .blocks-gallery-image a,
|
||||
.wp-block-gallery.is-cropped .blocks-gallery-image img, .wp-block-gallery.is-cropped .blocks-gallery-item a,
|
||||
.wp-block-gallery.is-cropped .blocks-gallery-item img,
|
||||
@@ -1334,6 +1344,8 @@ ul.has-background {
|
||||
}
|
||||
.is-vertical .wp-block-navigation__container {
|
||||
display: block;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.items-justified-center > ul {
|
||||
@@ -1348,6 +1360,19 @@ ul.has-background {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.is-vertical.items-justified-center > ul {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.is-vertical.items-justified-right > ul {
|
||||
align-items: flex-end;
|
||||
}
|
||||
.is-vertical.items-justified-right > ul .wp-block-navigation-link,
|
||||
.is-vertical.items-justified-right > ul .wp-block-pages-list__item {
|
||||
margin-left: 0;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.wp-block-navigation .wp-block-pages-list__item,
|
||||
.wp-block-navigation .wp-block-navigation-link {
|
||||
display: flex;
|
||||
@@ -1639,6 +1664,10 @@ p.has-text-color a {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.wp-block-post-title a {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.wp-block-preformatted {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
@@ -1909,8 +1938,9 @@ p.has-text-color a {
|
||||
.wp-block-site-logo a {
|
||||
display: inline-block;
|
||||
}
|
||||
.wp-block-site-logo:not(.is-resized) img {
|
||||
.wp-block-site-logo.is-default-size img {
|
||||
width: 120px;
|
||||
height: auto;
|
||||
}
|
||||
.wp-block-site-logo .aligncenter {
|
||||
display: table;
|
||||
@@ -2399,7 +2429,7 @@ pre.wp-block-verse {
|
||||
.wp-block-video video {
|
||||
width: 100%;
|
||||
}
|
||||
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
||||
@supports (position: sticky) {
|
||||
.wp-block-video [poster] {
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
|
||||
File diff suppressed because one or more lines are too long
42
wp-includes/css/dist/block-library/style.css
vendored
42
wp-includes/css/dist/block-library/style.css
vendored
@@ -116,6 +116,9 @@
|
||||
.wp-block-buttons > .wp-block-button.has-custom-width .wp-block-button__link {
|
||||
width: 100%;
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.has-custom-font-size .wp-block-button__link {
|
||||
font-size: inherit;
|
||||
}
|
||||
.wp-block-buttons > .wp-block-button.wp-block-button__width-25 {
|
||||
width: calc(25% - 0.5em);
|
||||
}
|
||||
@@ -249,6 +252,10 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.wp-block-button.aligncenter {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wp-block-calendar {
|
||||
text-align: center;
|
||||
}
|
||||
@@ -505,7 +512,7 @@
|
||||
font-size: 0;
|
||||
min-height: inherit;
|
||||
}
|
||||
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
||||
@supports (position: sticky) {
|
||||
.wp-block-cover-image::after,
|
||||
.wp-block-cover::after {
|
||||
content: none;
|
||||
@@ -753,6 +760,9 @@ section.wp-block-cover-image > h2,
|
||||
/*rtl:ignore*/
|
||||
text-align: right;
|
||||
}
|
||||
.wp-block-file .wp-block-file__embed {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.wp-block-file .wp-block-file__button {
|
||||
background: #32373c;
|
||||
border-radius: 2em;
|
||||
@@ -807,7 +817,7 @@ section.wp-block-cover-image > h2,
|
||||
margin: 0;
|
||||
height: 100%;
|
||||
}
|
||||
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
||||
@supports (position: sticky) {
|
||||
.wp-block-gallery .blocks-gallery-image figure,
|
||||
.wp-block-gallery .blocks-gallery-item figure,
|
||||
.blocks-gallery-grid .blocks-gallery-image figure,
|
||||
@@ -826,7 +836,7 @@ section.wp-block-cover-image > h2,
|
||||
height: auto;
|
||||
width: 100%;
|
||||
}
|
||||
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
||||
@supports (position: sticky) {
|
||||
.wp-block-gallery .blocks-gallery-image img,
|
||||
.wp-block-gallery .blocks-gallery-item img,
|
||||
.blocks-gallery-grid .blocks-gallery-image img,
|
||||
@@ -876,7 +886,7 @@ section.wp-block-cover-image > h2,
|
||||
.blocks-gallery-grid.is-cropped .blocks-gallery-item img {
|
||||
width: 100%;
|
||||
}
|
||||
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
||||
@supports (position: sticky) {
|
||||
.wp-block-gallery.is-cropped .blocks-gallery-image a,
|
||||
.wp-block-gallery.is-cropped .blocks-gallery-image img, .wp-block-gallery.is-cropped .blocks-gallery-item a,
|
||||
.wp-block-gallery.is-cropped .blocks-gallery-item img,
|
||||
@@ -1369,6 +1379,8 @@ ul.has-background {
|
||||
}
|
||||
.is-vertical .wp-block-navigation__container {
|
||||
display: block;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.items-justified-center > ul {
|
||||
@@ -1383,6 +1395,19 @@ ul.has-background {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.is-vertical.items-justified-center > ul {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.is-vertical.items-justified-right > ul {
|
||||
align-items: flex-end;
|
||||
}
|
||||
.is-vertical.items-justified-right > ul .wp-block-navigation-link,
|
||||
.is-vertical.items-justified-right > ul .wp-block-pages-list__item {
|
||||
margin-right: 0;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.wp-block-navigation .wp-block-pages-list__item,
|
||||
.wp-block-navigation .wp-block-navigation-link {
|
||||
display: flex;
|
||||
@@ -1674,6 +1699,10 @@ p.has-text-color a {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.wp-block-post-title a {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.wp-block-preformatted {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
@@ -1949,8 +1978,9 @@ p.has-text-color a {
|
||||
.wp-block-site-logo a {
|
||||
display: inline-block;
|
||||
}
|
||||
.wp-block-site-logo:not(.is-resized) img {
|
||||
.wp-block-site-logo.is-default-size img {
|
||||
width: 120px;
|
||||
height: auto;
|
||||
}
|
||||
.wp-block-site-logo .aligncenter {
|
||||
display: table;
|
||||
@@ -2439,7 +2469,7 @@ pre.wp-block-verse {
|
||||
.wp-block-video video {
|
||||
width: 100%;
|
||||
}
|
||||
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
||||
@supports (position: sticky) {
|
||||
.wp-block-video [poster] {
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
|
||||
File diff suppressed because one or more lines are too long
73
wp-includes/css/dist/components/style-rtl.css
vendored
73
wp-includes/css/dist/components/style-rtl.css
vendored
@@ -371,8 +371,8 @@
|
||||
background: none;
|
||||
outline: none;
|
||||
text-align: right;
|
||||
/* Mimics the default link style in common.css */
|
||||
color: #0073aa;
|
||||
color: #007cba;
|
||||
color: var(--wp-admin-theme-color);
|
||||
text-decoration: underline;
|
||||
transition-property: border, background, color;
|
||||
transition-duration: 0.05s;
|
||||
@@ -385,14 +385,8 @@
|
||||
transition-delay: 0s;
|
||||
}
|
||||
}
|
||||
.components-button.is-link:hover:not(:disabled), .components-button.is-link:active:not(:disabled) {
|
||||
color: #00a0d2;
|
||||
box-shadow: none;
|
||||
}
|
||||
.components-button.is-link:focus {
|
||||
color: #124964;
|
||||
box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8);
|
||||
box-shadow: 0 0 0 1px #5b9dd9, 0 0 var(--wp-admin-border-width-focus) 1px rgba(30, 140, 190, 0.8);
|
||||
border-radius: 2px;
|
||||
}
|
||||
.components-button.is-link.is-destructive {
|
||||
color: #cc1818;
|
||||
@@ -2347,6 +2341,9 @@ input.components-combobox-control__input[type=text]:focus {
|
||||
fill: #cacccd;
|
||||
}
|
||||
.components-datetime {
|
||||
padding: 16px;
|
||||
}
|
||||
.components-panel__body .components-datetime {
|
||||
padding: 0;
|
||||
}
|
||||
.components-datetime .components-datetime__calendar-help {
|
||||
@@ -2450,6 +2447,31 @@ input.components-combobox-control__input[type=text]:focus {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.components-datetime__date .CalendarDay .components-datetime__date__day {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-content: center;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
}
|
||||
.components-datetime__date .CalendarDay .components-datetime__date__day.has-events::before {
|
||||
content: " ";
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
border-radius: 2px;
|
||||
position: absolute;
|
||||
right: 50%;
|
||||
margin-right: -2px;
|
||||
bottom: 0;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.components-datetime__date .CalendarDay:not(.CalendarDay__selected) .components-datetime__date__day.has-events::before {
|
||||
background: #007cba;
|
||||
background: var(--wp-admin-theme-color);
|
||||
}
|
||||
|
||||
.components-datetime__time {
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
@@ -2649,10 +2671,6 @@ body.is-dragging-components-draggable {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
}
|
||||
|
||||
.components-drop-zone__provider {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.components-dropdown {
|
||||
display: inline-block;
|
||||
}
|
||||
@@ -3462,7 +3480,6 @@ body.is-dragging-components-draggable {
|
||||
height: 60px;
|
||||
z-index: 10;
|
||||
position: relative;
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
margin: 0 -32px 24px;
|
||||
@@ -3757,7 +3774,7 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
|
||||
box-shadow: inset 0 0 0 1px #1e1e1e;
|
||||
outline: 1px solid transparent;
|
||||
}
|
||||
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
||||
@supports (position: sticky) {
|
||||
.components-placeholder.components-placeholder {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -4183,6 +4200,7 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
|
||||
}
|
||||
}
|
||||
.components-radio-control__input[type=radio]:checked::before {
|
||||
box-sizing: inherit;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
transform: translate(-7px, 7px);
|
||||
@@ -4222,10 +4240,10 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
|
||||
content: "";
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
border: 2px solid #fff;
|
||||
border: 2px solid #007cba;
|
||||
border: 2px solid var(--wp-admin-theme-color);
|
||||
border-radius: 50%;
|
||||
background: #007cba;
|
||||
background: var(--wp-admin-theme-color);
|
||||
background: #fff;
|
||||
cursor: inherit;
|
||||
position: absolute;
|
||||
top: calc(50% - 8px);
|
||||
@@ -4234,16 +4252,16 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
|
||||
|
||||
.components-resizable-box__side-handle::before {
|
||||
display: block;
|
||||
border-radius: 2px;
|
||||
content: "";
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
border: 2px solid #fff;
|
||||
width: 3px;
|
||||
height: 3px;
|
||||
background: #007cba;
|
||||
background: var(--wp-admin-theme-color);
|
||||
cursor: inherit;
|
||||
position: absolute;
|
||||
top: calc(50% - 4px);
|
||||
left: calc(50% - 4px);
|
||||
top: calc(50% - 1px);
|
||||
left: calc(50% - 1px);
|
||||
transition: transform 0.1s ease-in;
|
||||
opacity: 0;
|
||||
}
|
||||
@@ -4254,11 +4272,6 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
|
||||
}
|
||||
}
|
||||
|
||||
.is-dark-theme .components-resizable-box__side-handle::before,
|
||||
.is-dark-theme .components-resizable-box__handle::after {
|
||||
border-color: #ddd;
|
||||
}
|
||||
|
||||
.components-resizable-box__side-handle {
|
||||
z-index: 2;
|
||||
}
|
||||
@@ -4323,7 +4336,7 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
|
||||
|
||||
/* This CSS is shown only to Safari, which has a bug with table-caption making it jumpy.
|
||||
See https://bugs.webkit.org/show_bug.cgi?id=187903. */
|
||||
@media not all and (min-resolution: 0.001dpcm) {
|
||||
@media not all and (-webkit-min-device-pixel-ratio: 0), not all and (min-resolution: 0.001dpcm) {
|
||||
@supports (-webkit-appearance: none) {
|
||||
.components-resizable-box__side-handle.components-resizable-box__handle-top:hover::before,
|
||||
.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before,
|
||||
@@ -4929,7 +4942,7 @@ div.components-toolbar > div {
|
||||
display: block;
|
||||
margin: 0;
|
||||
}
|
||||
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
||||
@supports (position: sticky) {
|
||||
div.components-toolbar > div {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
73
wp-includes/css/dist/components/style.css
vendored
73
wp-includes/css/dist/components/style.css
vendored
@@ -371,8 +371,8 @@
|
||||
background: none;
|
||||
outline: none;
|
||||
text-align: left;
|
||||
/* Mimics the default link style in common.css */
|
||||
color: #0073aa;
|
||||
color: #007cba;
|
||||
color: var(--wp-admin-theme-color);
|
||||
text-decoration: underline;
|
||||
transition-property: border, background, color;
|
||||
transition-duration: 0.05s;
|
||||
@@ -385,14 +385,8 @@
|
||||
transition-delay: 0s;
|
||||
}
|
||||
}
|
||||
.components-button.is-link:hover:not(:disabled), .components-button.is-link:active:not(:disabled) {
|
||||
color: #00a0d2;
|
||||
box-shadow: none;
|
||||
}
|
||||
.components-button.is-link:focus {
|
||||
color: #124964;
|
||||
box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8);
|
||||
box-shadow: 0 0 0 1px #5b9dd9, 0 0 var(--wp-admin-border-width-focus) 1px rgba(30, 140, 190, 0.8);
|
||||
border-radius: 2px;
|
||||
}
|
||||
.components-button.is-link.is-destructive {
|
||||
color: #cc1818;
|
||||
@@ -2354,6 +2348,9 @@ input.components-combobox-control__input[type=text]:focus {
|
||||
|
||||
/*rtl:end:ignore*/
|
||||
.components-datetime {
|
||||
padding: 16px;
|
||||
}
|
||||
.components-panel__body .components-datetime {
|
||||
padding: 0;
|
||||
}
|
||||
.components-datetime .components-datetime__calendar-help {
|
||||
@@ -2459,6 +2456,31 @@ input.components-combobox-control__input[type=text]:focus {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.components-datetime__date .CalendarDay .components-datetime__date__day {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-content: center;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
}
|
||||
.components-datetime__date .CalendarDay .components-datetime__date__day.has-events::before {
|
||||
content: " ";
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
border-radius: 2px;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
margin-left: -2px;
|
||||
bottom: 0;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.components-datetime__date .CalendarDay:not(.CalendarDay__selected) .components-datetime__date__day.has-events::before {
|
||||
background: #007cba;
|
||||
background: var(--wp-admin-theme-color);
|
||||
}
|
||||
|
||||
.components-datetime__time {
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
@@ -2659,10 +2681,6 @@ body.is-dragging-components-draggable {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
}
|
||||
|
||||
.components-drop-zone__provider {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.components-dropdown {
|
||||
display: inline-block;
|
||||
}
|
||||
@@ -3472,7 +3490,6 @@ body.is-dragging-components-draggable {
|
||||
height: 60px;
|
||||
z-index: 10;
|
||||
position: relative;
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
margin: 0 -32px 24px;
|
||||
@@ -3769,7 +3786,7 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
|
||||
box-shadow: inset 0 0 0 1px #1e1e1e;
|
||||
outline: 1px solid transparent;
|
||||
}
|
||||
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
||||
@supports (position: sticky) {
|
||||
.components-placeholder.components-placeholder {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -4199,6 +4216,7 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
|
||||
}
|
||||
}
|
||||
.components-radio-control__input[type=radio]:checked::before {
|
||||
box-sizing: inherit;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
transform: translate(7px, 7px);
|
||||
@@ -4238,10 +4256,10 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
|
||||
content: "";
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
border: 2px solid #fff;
|
||||
border: 2px solid #007cba;
|
||||
border: 2px solid var(--wp-admin-theme-color);
|
||||
border-radius: 50%;
|
||||
background: #007cba;
|
||||
background: var(--wp-admin-theme-color);
|
||||
background: #fff;
|
||||
cursor: inherit;
|
||||
position: absolute;
|
||||
top: calc(50% - 8px);
|
||||
@@ -4250,16 +4268,16 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
|
||||
|
||||
.components-resizable-box__side-handle::before {
|
||||
display: block;
|
||||
border-radius: 2px;
|
||||
content: "";
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
border: 2px solid #fff;
|
||||
width: 3px;
|
||||
height: 3px;
|
||||
background: #007cba;
|
||||
background: var(--wp-admin-theme-color);
|
||||
cursor: inherit;
|
||||
position: absolute;
|
||||
top: calc(50% - 4px);
|
||||
right: calc(50% - 4px);
|
||||
top: calc(50% - 1px);
|
||||
right: calc(50% - 1px);
|
||||
transition: transform 0.1s ease-in;
|
||||
opacity: 0;
|
||||
}
|
||||
@@ -4270,11 +4288,6 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
|
||||
}
|
||||
}
|
||||
|
||||
.is-dark-theme .components-resizable-box__side-handle::before,
|
||||
.is-dark-theme .components-resizable-box__handle::after {
|
||||
border-color: #ddd;
|
||||
}
|
||||
|
||||
.components-resizable-box__side-handle {
|
||||
z-index: 2;
|
||||
}
|
||||
@@ -4339,7 +4352,7 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
|
||||
|
||||
/* This CSS is shown only to Safari, which has a bug with table-caption making it jumpy.
|
||||
See https://bugs.webkit.org/show_bug.cgi?id=187903. */
|
||||
@media not all and (min-resolution: 0.001dpcm) {
|
||||
@media not all and (-webkit-min-device-pixel-ratio: 0), not all and (min-resolution: 0.001dpcm) {
|
||||
@supports (-webkit-appearance: none) {
|
||||
.components-resizable-box__side-handle.components-resizable-box__handle-top:hover::before,
|
||||
.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before,
|
||||
@@ -4948,7 +4961,7 @@ div.components-toolbar > div {
|
||||
display: block;
|
||||
margin: 0;
|
||||
}
|
||||
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
||||
@supports (position: sticky) {
|
||||
div.components-toolbar > div {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
50
wp-includes/css/dist/edit-post/style-rtl.css
vendored
50
wp-includes/css/dist/edit-post/style-rtl.css
vendored
@@ -133,7 +133,6 @@
|
||||
z-index: 0;
|
||||
}
|
||||
.interface-complementary-area .components-panel__header {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
@@ -409,7 +408,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
||||
.edit-post-header > .edit-post-header__settings {
|
||||
order: 1;
|
||||
}
|
||||
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
||||
@supports (position: sticky) {
|
||||
.edit-post-header > .edit-post-header__settings {
|
||||
order: initial;
|
||||
}
|
||||
@@ -1088,7 +1087,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
}
|
||||
|
||||
.edit-post-layout .interface-interface-skeleton__content {
|
||||
background-color: #bbb;
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
.edit-post-layout__inserter-panel {
|
||||
@@ -1178,7 +1177,6 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
}
|
||||
|
||||
.edit-post-manage-blocks-modal__category-title {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
padding: 16px 0;
|
||||
@@ -1489,7 +1487,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
margin: -5px 0;
|
||||
width: 100%;
|
||||
}
|
||||
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
||||
@supports (position: sticky) {
|
||||
.editor-post-author__select {
|
||||
width: auto;
|
||||
}
|
||||
@@ -1526,6 +1524,10 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.edit-post-post-schedule__dialog .components-popover__content > div {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.editor-post-slug__input {
|
||||
margin: -5px 0;
|
||||
padding: 2px;
|
||||
@@ -1537,19 +1539,6 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.edit-post-post-template {
|
||||
width: 100%;
|
||||
justify-content: left;
|
||||
}
|
||||
.edit-post-post-template span {
|
||||
display: block;
|
||||
width: 45%;
|
||||
}
|
||||
|
||||
.edit-post-post-template__value {
|
||||
padding-right: 6px;
|
||||
}
|
||||
|
||||
.edit-post-post-visibility {
|
||||
width: 100%;
|
||||
justify-content: left;
|
||||
@@ -1638,6 +1627,19 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 -4px 0 0 var(--wp-admin-theme-color);
|
||||
}
|
||||
|
||||
.edit-post-template__modal-actions {
|
||||
padding-top: 12px;
|
||||
}
|
||||
|
||||
.edit-post-template__actions button:not(:last-child) {
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
h2.edit-post-template-summary__title {
|
||||
margin: 0;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.edit-post-text-editor {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
@@ -1690,7 +1692,6 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
}
|
||||
|
||||
.edit-post-text-editor__toolbar {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
z-index: 1;
|
||||
top: 0;
|
||||
@@ -1732,7 +1733,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
.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)) {
|
||||
@supports (position: sticky) {
|
||||
.edit-post-visual-editor {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
@@ -1745,6 +1746,9 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
.editor-styles-wrapper > * {
|
||||
cursor: auto;
|
||||
}
|
||||
.editor-styles-wrapper > div {
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__post-title-wrapper .editor-post-title {
|
||||
margin-top: 2em;
|
||||
@@ -1753,6 +1757,12 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
margin-bottom: 28px;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__exit-template-mode {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
right: 8px;
|
||||
}
|
||||
|
||||
.edit-post-welcome-guide {
|
||||
width: 312px;
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
50
wp-includes/css/dist/edit-post/style.css
vendored
50
wp-includes/css/dist/edit-post/style.css
vendored
@@ -133,7 +133,6 @@
|
||||
z-index: 0;
|
||||
}
|
||||
.interface-complementary-area .components-panel__header {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
@@ -409,7 +408,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
||||
.edit-post-header > .edit-post-header__settings {
|
||||
order: 1;
|
||||
}
|
||||
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
||||
@supports (position: sticky) {
|
||||
.edit-post-header > .edit-post-header__settings {
|
||||
order: initial;
|
||||
}
|
||||
@@ -1088,7 +1087,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
}
|
||||
|
||||
.edit-post-layout .interface-interface-skeleton__content {
|
||||
background-color: #bbb;
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
.edit-post-layout__inserter-panel {
|
||||
@@ -1178,7 +1177,6 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
}
|
||||
|
||||
.edit-post-manage-blocks-modal__category-title {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
padding: 16px 0;
|
||||
@@ -1489,7 +1487,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
margin: -5px 0;
|
||||
width: 100%;
|
||||
}
|
||||
@supports ((position: -webkit-sticky) or (position: sticky)) {
|
||||
@supports (position: sticky) {
|
||||
.editor-post-author__select {
|
||||
width: auto;
|
||||
}
|
||||
@@ -1530,6 +1528,10 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.edit-post-post-schedule__dialog .components-popover__content > div {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.editor-post-slug__input {
|
||||
margin: -5px 0;
|
||||
padding: 2px;
|
||||
@@ -1541,19 +1543,6 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.edit-post-post-template {
|
||||
width: 100%;
|
||||
justify-content: left;
|
||||
}
|
||||
.edit-post-post-template span {
|
||||
display: block;
|
||||
width: 45%;
|
||||
}
|
||||
|
||||
.edit-post-post-template__value {
|
||||
padding-left: 6px;
|
||||
}
|
||||
|
||||
.edit-post-post-visibility {
|
||||
width: 100%;
|
||||
justify-content: left;
|
||||
@@ -1642,6 +1631,19 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 -4px 0 0 var(--wp-admin-theme-color);
|
||||
}
|
||||
|
||||
.edit-post-template__modal-actions {
|
||||
padding-top: 12px;
|
||||
}
|
||||
|
||||
.edit-post-template__actions button:not(:last-child) {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
h2.edit-post-template-summary__title {
|
||||
margin: 0;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.edit-post-text-editor {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
@@ -1694,7 +1696,6 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
}
|
||||
|
||||
.edit-post-text-editor__toolbar {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
z-index: 1;
|
||||
top: 0;
|
||||
@@ -1736,7 +1737,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
.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)) {
|
||||
@supports (position: sticky) {
|
||||
.edit-post-visual-editor {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
@@ -1749,6 +1750,9 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
.editor-styles-wrapper > * {
|
||||
cursor: auto;
|
||||
}
|
||||
.editor-styles-wrapper > div {
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__post-title-wrapper .editor-post-title {
|
||||
margin-top: 2em;
|
||||
@@ -1757,6 +1761,12 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
|
||||
margin-bottom: 28px;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__exit-template-mode {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
left: 8px;
|
||||
}
|
||||
|
||||
.edit-post-welcome-guide {
|
||||
width: 312px;
|
||||
}
|
||||
|
||||
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
10
wp-includes/css/dist/editor/style-rtl.css
vendored
10
wp-includes/css/dist/editor/style-rtl.css
vendored
@@ -193,7 +193,6 @@
|
||||
}
|
||||
|
||||
.components-editor-notices__dismissible {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
left: 0;
|
||||
@@ -291,14 +290,6 @@
|
||||
box-shadow: 0 10px 10px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
.editor-page-attributes__template {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.editor-page-attributes__template label,
|
||||
.editor-page-attributes__template select {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.editor-page-attributes__order {
|
||||
width: 100%;
|
||||
}
|
||||
@@ -820,6 +811,7 @@
|
||||
}
|
||||
.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 {
|
||||
box-sizing: inherit;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
transform: translate(-7px, 7px);
|
||||
|
||||
File diff suppressed because one or more lines are too long
10
wp-includes/css/dist/editor/style.css
vendored
10
wp-includes/css/dist/editor/style.css
vendored
@@ -193,7 +193,6 @@
|
||||
}
|
||||
|
||||
.components-editor-notices__dismissible {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
right: 0;
|
||||
@@ -291,14 +290,6 @@
|
||||
box-shadow: 0 10px 10px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
.editor-page-attributes__template {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.editor-page-attributes__template label,
|
||||
.editor-page-attributes__template select {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.editor-page-attributes__order {
|
||||
width: 100%;
|
||||
}
|
||||
@@ -820,6 +811,7 @@
|
||||
}
|
||||
.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 {
|
||||
box-sizing: inherit;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
transform: translate(7px, 7px);
|
||||
|
||||
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
Reference in New Issue
Block a user