mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-29 12:37:57 +01:00
a41c798835
In addition to all the packages being updated to the latest versions, this commit also includes some mandatory changes to avoid editor breakage: - Update React to to 18.2.0. - Add the right stylesheets to support iframed block editors. Props ntsekouras, mamaduka, flixos90, desrosj, peterwilsoncc. See #57471. Built from https://develop.svn.wordpress.org/trunk@55246 git-svn-id: http://core.svn.wordpress.org/trunk@54779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
80 lines
2.1 KiB
CSS
80 lines
2.1 KiB
CSS
:root{
|
|
--wp-admin-theme-color:#007cba;
|
|
--wp-admin-theme-color--rgb:0, 124, 186;
|
|
--wp-admin-theme-color-darker-10:#006ba1;
|
|
--wp-admin-theme-color-darker-10--rgb:0, 107, 161;
|
|
--wp-admin-theme-color-darker-20:#005a87;
|
|
--wp-admin-theme-color-darker-20--rgb:0, 90, 135;
|
|
--wp-admin-border-width-focus:2px;
|
|
--wp-block-synced-color:#7a00df;
|
|
--wp-block-synced-color--rgb:122, 0, 223;
|
|
}
|
|
@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){
|
|
:root{
|
|
--wp-admin-border-width-focus:1.5px;
|
|
}
|
|
}
|
|
|
|
.block-editor-format-toolbar__image-popover{
|
|
z-index:159990;
|
|
}
|
|
|
|
.block-editor-format-toolbar__image-container-content{
|
|
display:flex;
|
|
}
|
|
.block-editor-format-toolbar__image-container-content .components-button{
|
|
align-self:flex-end;
|
|
height:30px;
|
|
margin-bottom:8px;
|
|
margin-left:8px;
|
|
padding:0 6px;
|
|
}
|
|
|
|
.block-editor-format-toolbar__image-container-value{
|
|
flex-grow:1;
|
|
flex-shrink:1;
|
|
margin:7px;
|
|
max-width:500px;
|
|
min-width:150px;
|
|
white-space:nowrap;
|
|
}
|
|
.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__field{
|
|
margin-bottom:0;
|
|
}
|
|
.block-editor-format-toolbar__image-container-value.components-base-control .components-base-control__label{
|
|
display:block;
|
|
}
|
|
|
|
.block-editor-format-toolbar__link-container-content{
|
|
display:flex;
|
|
}
|
|
|
|
.block-editor-format-toolbar__link-container-value{
|
|
flex-grow:1;
|
|
flex-shrink:1;
|
|
margin:7px;
|
|
max-width:500px;
|
|
min-width:150px;
|
|
overflow:hidden;
|
|
text-overflow:ellipsis;
|
|
white-space:nowrap;
|
|
}
|
|
.block-editor-format-toolbar__link-container-value.has-invalid-link{
|
|
color:#cc1818;
|
|
}
|
|
|
|
.components-inline-color-popover .components-popover__content .components-tab-panel__tab-content{
|
|
padding:16px;
|
|
}
|
|
.components-inline-color-popover .components-popover__content .components-color-palette{
|
|
margin-top:.6rem;
|
|
}
|
|
.components-inline-color-popover .components-popover__content .components-base-control__title{
|
|
color:#191e23;
|
|
display:block;
|
|
font-weight:600;
|
|
margin-bottom:16px;
|
|
}
|
|
.components-inline-color-popover .components-popover__content .component-color-indicator{
|
|
vertical-align:text-bottom;
|
|
} |