mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-14 22:56:19 +01:00
bee0c1a172
It includes all the backports from this Gutenberg PR https://github.com/WordPress/gutenberg/pull/59541/ Props get_dave, youknowriad, talldanwp. See #60315. Fixes #60665. Built from https://develop.svn.wordpress.org/trunk@57760 git-svn-id: http://core.svn.wordpress.org/trunk@57261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1366 lines
33 KiB
CSS
1366 lines
33 KiB
CSS
@charset "UTF-8";
|
|
: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;
|
|
--wp-bound-block-color:#9747ff;
|
|
}
|
|
@media (min-resolution:192dpi){
|
|
:root{
|
|
--wp-admin-border-width-focus:1.5px;
|
|
}
|
|
}
|
|
|
|
.editor-autocompleters__user .editor-autocompleters__no-avatar:before{
|
|
content:"";
|
|
font:normal 20px/1 dashicons;
|
|
margin-left:5px;
|
|
vertical-align:middle;
|
|
}
|
|
.editor-autocompleters__user .editor-autocompleters__user-avatar{
|
|
flex-grow:0;
|
|
flex-shrink:0;
|
|
height:24px;
|
|
margin-left:8px;
|
|
max-width:none;
|
|
width:24px;
|
|
}
|
|
.editor-autocompleters__user .editor-autocompleters__user-name{
|
|
flex-grow:1;
|
|
flex-shrink:0;
|
|
max-width:200px;
|
|
overflow:hidden;
|
|
text-overflow:ellipsis;
|
|
white-space:nowrap;
|
|
}
|
|
.editor-autocompleters__user .editor-autocompleters__user-slug{
|
|
color:#757575;
|
|
flex-grow:0;
|
|
flex-shrink:0;
|
|
margin-right:8px;
|
|
max-width:100px;
|
|
overflow:none;
|
|
text-overflow:ellipsis;
|
|
white-space:nowrap;
|
|
}
|
|
.editor-autocompleters__user:hover .editor-autocompleters__user-slug{
|
|
color:var(--wp-admin-theme-color);
|
|
}
|
|
|
|
.editor-block-manager__no-results{
|
|
font-style:italic;
|
|
padding:24px 0;
|
|
text-align:center;
|
|
}
|
|
|
|
.editor-block-manager__search{
|
|
margin:16px 0;
|
|
}
|
|
|
|
.editor-block-manager__disabled-blocks-count{
|
|
background-color:#fff;
|
|
border:1px solid #ddd;
|
|
border-width:1px 0;
|
|
box-shadow:32px 0 0 0 #fff,-32px 0 0 0 #fff;
|
|
padding:8px;
|
|
position:sticky;
|
|
text-align:center;
|
|
top:-5px;
|
|
z-index:2;
|
|
}
|
|
.editor-block-manager__disabled-blocks-count~.editor-block-manager__results .editor-block-manager__category-title{
|
|
top:31px;
|
|
}
|
|
.editor-block-manager__disabled-blocks-count .is-link{
|
|
margin-right:12px;
|
|
}
|
|
|
|
.editor-block-manager__category{
|
|
margin:0 0 24px;
|
|
}
|
|
|
|
.editor-block-manager__category-title{
|
|
background-color:#fff;
|
|
padding:16px 0;
|
|
position:sticky;
|
|
top:-4px;
|
|
z-index:1;
|
|
}
|
|
.editor-block-manager__category-title .components-checkbox-control__label{
|
|
font-weight:600;
|
|
}
|
|
|
|
.editor-block-manager__checklist{
|
|
margin-top:0;
|
|
}
|
|
|
|
.editor-block-manager__category-title,.editor-block-manager__checklist-item{
|
|
border-bottom:1px solid #ddd;
|
|
}
|
|
|
|
.editor-block-manager__checklist-item{
|
|
align-items:center;
|
|
display:flex;
|
|
justify-content:space-between;
|
|
margin-bottom:0;
|
|
padding:8px 16px 8px 0;
|
|
}
|
|
.components-modal__content .editor-block-manager__checklist-item.components-checkbox-control__input-container{
|
|
margin:0 8px;
|
|
}
|
|
.editor-block-manager__checklist-item .block-editor-block-icon{
|
|
margin-left:10px;
|
|
fill:#1e1e1e;
|
|
}
|
|
|
|
.editor-block-manager__results{
|
|
border-top:1px solid #ddd;
|
|
}
|
|
|
|
.editor-block-manager__disabled-blocks-count+.editor-block-manager__results{
|
|
border-top-width:0;
|
|
}
|
|
|
|
.editor-document-bar{
|
|
align-items:center;
|
|
background:#f0f0f0;
|
|
border-radius:4px;
|
|
display:flex;
|
|
height:32px;
|
|
justify-content:space-between;
|
|
min-width:0;
|
|
width:min(100%, 450px);
|
|
}
|
|
.editor-document-bar:hover{
|
|
background-color:#e0e0e0;
|
|
}
|
|
.editor-document-bar .components-button{
|
|
border-radius:4px;
|
|
}
|
|
.editor-document-bar .components-button:hover{
|
|
background:#e0e0e0;
|
|
color:var(--wp-block-synced-color);
|
|
}
|
|
@media (min-width:960px){
|
|
.editor-document-bar{
|
|
width:min(100%, 450px);
|
|
}
|
|
}
|
|
|
|
.editor-document-bar__command{
|
|
color:var(--wp-block-synced-color);
|
|
flex-grow:1;
|
|
overflow:hidden;
|
|
}
|
|
|
|
.editor-document-bar__title{
|
|
color:#2f2f2f;
|
|
flex-grow:1;
|
|
overflow:hidden;
|
|
}
|
|
@media (min-width:600px){
|
|
.editor-document-bar__title{
|
|
padding-right:32px;
|
|
}
|
|
}
|
|
.editor-document-bar.is-global .editor-document-bar__title,.editor-document-bar__title:hover{
|
|
color:var(--wp-block-synced-color);
|
|
}
|
|
.editor-document-bar__title .block-editor-block-icon{
|
|
flex-shrink:0;
|
|
min-width:24px;
|
|
}
|
|
.editor-document-bar__title h1{
|
|
color:currentColor;
|
|
max-width:50%;
|
|
overflow:hidden;
|
|
text-overflow:ellipsis;
|
|
white-space:nowrap;
|
|
}
|
|
.editor-document-bar.is-animated.has-back-button .editor-document-bar__title{
|
|
animation:editor-document-bar__slide-in-left .3s;
|
|
}
|
|
@media (prefers-reduced-motion:reduce){
|
|
.editor-document-bar.is-animated.has-back-button .editor-document-bar__title{
|
|
animation-delay:0s;
|
|
animation-duration:1ms;
|
|
}
|
|
}
|
|
.editor-document-bar.is-animated .editor-document-bar__title{
|
|
animation:editor-document-bar__slide-in-right .3s;
|
|
}
|
|
@media (prefers-reduced-motion:reduce){
|
|
.editor-document-bar.is-animated .editor-document-bar__title{
|
|
animation-delay:0s;
|
|
animation-duration:1ms;
|
|
}
|
|
}
|
|
|
|
.editor-document-bar__shortcut{
|
|
color:#2f2f2f;
|
|
display:none;
|
|
min-width:32px;
|
|
}
|
|
@media (min-width:782px){
|
|
.editor-document-bar__shortcut{
|
|
display:initial;
|
|
}
|
|
}
|
|
|
|
.editor-document-bar__back.components-button.has-icon.has-text{
|
|
color:#757575;
|
|
flex-shrink:0;
|
|
gap:0;
|
|
min-width:36px;
|
|
position:absolute;
|
|
z-index:1;
|
|
}
|
|
.editor-document-bar__back.components-button.has-icon.has-text:hover{
|
|
background-color:initial;
|
|
color:var(--wp-block-synced-color);
|
|
}
|
|
.editor-document-bar.is-animated .editor-document-bar__back.components-button.has-icon.has-text{
|
|
animation:editor-document-bar__slide-in-left .3s;
|
|
}
|
|
@media (prefers-reduced-motion:reduce){
|
|
.editor-document-bar.is-animated .editor-document-bar__back.components-button.has-icon.has-text{
|
|
animation-delay:0s;
|
|
animation-duration:1ms;
|
|
}
|
|
}
|
|
|
|
@keyframes editor-document-bar__slide-in-right{
|
|
0%{
|
|
opacity:0;
|
|
transform:translateX(15%);
|
|
}
|
|
to{
|
|
opacity:1;
|
|
transform:translateX(0);
|
|
}
|
|
}
|
|
@keyframes editor-document-bar__slide-in-left{
|
|
0%{
|
|
opacity:0;
|
|
transform:translateX(-15%);
|
|
}
|
|
to{
|
|
opacity:1;
|
|
transform:translateX(0);
|
|
}
|
|
}
|
|
.document-outline{
|
|
margin:20px 0;
|
|
}
|
|
.document-outline ul{
|
|
margin:0;
|
|
padding:0;
|
|
}
|
|
|
|
.document-outline__item{
|
|
display:flex;
|
|
margin:4px 0;
|
|
}
|
|
.document-outline__item a{
|
|
text-decoration:none;
|
|
}
|
|
.document-outline__item .document-outline__emdash:before{
|
|
color:#ddd;
|
|
margin-left:4px;
|
|
}
|
|
.document-outline__item.is-h2 .document-outline__emdash:before{
|
|
content:"—";
|
|
}
|
|
.document-outline__item.is-h3 .document-outline__emdash:before{
|
|
content:"——";
|
|
}
|
|
.document-outline__item.is-h4 .document-outline__emdash:before{
|
|
content:"———";
|
|
}
|
|
.document-outline__item.is-h5 .document-outline__emdash:before{
|
|
content:"————";
|
|
}
|
|
.document-outline__item.is-h6 .document-outline__emdash:before{
|
|
content:"—————";
|
|
}
|
|
|
|
.document-outline__button{
|
|
align-items:flex-start;
|
|
background:none;
|
|
border:none;
|
|
border-radius:2px;
|
|
color:#1e1e1e;
|
|
cursor:pointer;
|
|
display:flex;
|
|
margin:0 -1px 0 0;
|
|
padding:2px 1px 2px 5px;
|
|
text-align:right;
|
|
}
|
|
.document-outline__button:disabled{
|
|
cursor:default;
|
|
}
|
|
.document-outline__button:focus{
|
|
box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
outline:2px solid #0000;
|
|
}
|
|
|
|
.document-outline__level{
|
|
background:#ddd;
|
|
border-radius:3px;
|
|
color:#1e1e1e;
|
|
font-size:13px;
|
|
margin-left:4px;
|
|
padding:1px 6px;
|
|
}
|
|
.is-invalid .document-outline__level{
|
|
background:#f0b849;
|
|
}
|
|
|
|
.document-outline__item-content{
|
|
padding:1px 0;
|
|
}
|
|
|
|
.editor-document-outline.has-no-headings{
|
|
color:#757575;
|
|
text-align:center;
|
|
}
|
|
.editor-document-outline.has-no-headings>svg{
|
|
margin-top:28px;
|
|
}
|
|
.editor-document-outline.has-no-headings>p{
|
|
padding-left:32px;
|
|
padding-right:32px;
|
|
}
|
|
|
|
.editor-document-tools{
|
|
align-items:center;
|
|
display:inline-flex;
|
|
}
|
|
.editor-document-tools .editor-document-tools__left>.components-button{
|
|
display:none;
|
|
}
|
|
@media (min-width:600px){
|
|
.editor-document-tools .editor-document-tools__left>.components-button{
|
|
display:inline-flex;
|
|
}
|
|
}
|
|
.editor-document-tools .editor-document-tools__left>.editor-document-tools__inserter-toggle{
|
|
display:inline-flex;
|
|
}
|
|
.editor-document-tools .editor-document-tools__left>.editor-document-tools__inserter-toggle svg{
|
|
transition:transform .2s cubic-bezier(.165, .84, .44, 1);
|
|
}
|
|
@media (prefers-reduced-motion:reduce){
|
|
.editor-document-tools .editor-document-tools__left>.editor-document-tools__inserter-toggle svg{
|
|
transition-delay:0s;
|
|
transition-duration:0s;
|
|
}
|
|
}
|
|
.editor-document-tools .editor-document-tools__left>.editor-document-tools__inserter-toggle.is-pressed svg{
|
|
transform:rotate(-45deg);
|
|
}
|
|
.editor-document-tools .block-editor-list-view{
|
|
display:none;
|
|
}
|
|
@media (min-width:600px){
|
|
.editor-document-tools .block-editor-list-view{
|
|
display:flex;
|
|
}
|
|
}
|
|
.editor-document-tools .editor-document-tools__left>.components-button.has-icon,.editor-document-tools .editor-document-tools__left>.components-dropdown>.components-button.has-icon{
|
|
height:32px;
|
|
min-width:32px;
|
|
padding:4px;
|
|
}
|
|
.editor-document-tools .editor-document-tools__left>.components-button.has-icon.is-pressed,.editor-document-tools .editor-document-tools__left>.components-dropdown>.components-button.has-icon.is-pressed{
|
|
background:#1e1e1e;
|
|
}
|
|
.editor-document-tools .editor-document-tools__left>.components-button.has-icon:focus:not(:disabled),.editor-document-tools .editor-document-tools__left>.components-dropdown>.components-button.has-icon:focus:not(:disabled){
|
|
box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 1px #fff;
|
|
outline:1px solid #0000;
|
|
}
|
|
.editor-document-tools .editor-document-tools__left>.components-button.has-icon:before,.editor-document-tools .editor-document-tools__left>.components-dropdown>.components-button.has-icon:before{
|
|
display:none;
|
|
}
|
|
|
|
.editor-document-tools__left{
|
|
align-items:center;
|
|
display:inline-flex;
|
|
gap:8px;
|
|
margin-left:8px;
|
|
padding-right:16px;
|
|
}
|
|
@media (min-width:782px){
|
|
.editor-document-tools__left{
|
|
padding-right:20px;
|
|
}
|
|
}
|
|
@media (min-width:1280px){
|
|
.editor-document-tools__left{
|
|
padding-left:8px;
|
|
}
|
|
}
|
|
|
|
.editor-document-tools .editor-document-tools__left>.editor-document-tools__inserter-toggle.has-icon{
|
|
height:32px;
|
|
min-width:32px;
|
|
padding:0;
|
|
width:32px;
|
|
}
|
|
.show-icon-labels .editor-document-tools .editor-document-tools__left>.editor-document-tools__inserter-toggle.has-icon{
|
|
height:32px;
|
|
padding:0 8px;
|
|
width:auto;
|
|
}
|
|
|
|
.show-icon-labels .editor-document-tools__left>*+*{
|
|
margin-right:8px;
|
|
}
|
|
|
|
.components-editor-notices__dismissible,.components-editor-notices__pinned{
|
|
color:#1e1e1e;
|
|
left:0;
|
|
position:relative;
|
|
right:0;
|
|
top:0;
|
|
}
|
|
.components-editor-notices__dismissible .components-notice,.components-editor-notices__pinned .components-notice{
|
|
border-bottom:1px solid #0003;
|
|
box-sizing:border-box;
|
|
min-height:60px;
|
|
padding:0 12px;
|
|
}
|
|
.components-editor-notices__dismissible .components-notice .components-notice__dismiss,.components-editor-notices__pinned .components-notice .components-notice__dismiss{
|
|
margin-top:12px;
|
|
}
|
|
|
|
.entities-saved-states__panel-header{
|
|
background:#fff;
|
|
border-bottom:1px solid #ddd;
|
|
box-sizing:border-box;
|
|
height:60px;
|
|
padding-left:8px;
|
|
padding-right:8px;
|
|
}
|
|
|
|
.entities-saved-states__text-prompt{
|
|
padding:16px 16px 4px;
|
|
}
|
|
.entities-saved-states__text-prompt .entities-saved-states__text-prompt--header{
|
|
display:block;
|
|
margin-bottom:12px;
|
|
}
|
|
|
|
.entities-saved-states__description-heading{
|
|
font-size:13px;
|
|
}
|
|
|
|
.entities-saved-states__changes{
|
|
color:#757575;
|
|
font-size:12px;
|
|
list-style:disc;
|
|
margin:8px 16px 0;
|
|
}
|
|
.entities-saved-states__changes li{
|
|
margin-bottom:4px;
|
|
}
|
|
|
|
.editor-error-boundary{
|
|
box-shadow:0 .7px 1px #00000026,0 2.7px 3.8px -.2px #00000026,0 5.5px 7.8px -.3px #00000026,-.1px 11.5px 16.4px -.5px #00000026;
|
|
margin:60px auto auto;
|
|
max-width:780px;
|
|
padding:20px;
|
|
}
|
|
|
|
.editor-inserter-sidebar{
|
|
box-sizing:border-box;
|
|
display:flex;
|
|
flex-direction:column;
|
|
height:100%;
|
|
}
|
|
.editor-inserter-sidebar *,.editor-inserter-sidebar :after,.editor-inserter-sidebar :before{
|
|
box-sizing:inherit;
|
|
}
|
|
|
|
.editor-inserter-sidebar__header{
|
|
display:flex;
|
|
justify-content:flex-end;
|
|
padding-left:8px;
|
|
padding-top:8px;
|
|
}
|
|
|
|
.editor-inserter-sidebar__content{
|
|
height:calc(100% - 44px);
|
|
}
|
|
@media (min-width:782px){
|
|
.editor-inserter-sidebar__content{
|
|
height:100%;
|
|
}
|
|
}
|
|
|
|
.editor-list-view-sidebar{
|
|
display:flex;
|
|
flex-direction:column;
|
|
height:100%;
|
|
}
|
|
@media (min-width:782px){
|
|
.editor-list-view-sidebar{
|
|
width:350px;
|
|
}
|
|
}
|
|
.editor-list-view-sidebar .edit-post-editor__document-overview-panel__header{
|
|
border-bottom:1px solid #ddd;
|
|
display:flex;
|
|
}
|
|
.editor-list-view-sidebar .editor-list-view-sidebar__close-button{
|
|
align-self:center;
|
|
background:#fff;
|
|
margin-left:8px;
|
|
order:1;
|
|
}
|
|
|
|
.editor-list-view-sidebar__tabs-tablist{
|
|
box-sizing:border-box;
|
|
flex-grow:1;
|
|
}
|
|
|
|
.editor-list-view-sidebar__tabs-tab{
|
|
margin-bottom:-1px;
|
|
width:50%;
|
|
}
|
|
|
|
.editor-list-view-sidebar__tabs-tabpanel{
|
|
height:calc(100% - 47px);
|
|
}
|
|
|
|
.editor-list-view-sidebar__list-view-container>.document-outline,.editor-list-view-sidebar__list-view-panel-content{
|
|
height:100%;
|
|
overflow:auto;
|
|
padding:8px 6px;
|
|
scrollbar-color:#0000 #0000;
|
|
scrollbar-gutter:stable both-edges;
|
|
scrollbar-gutter:auto;
|
|
scrollbar-width:thin;
|
|
will-change:transform;
|
|
}
|
|
.editor-list-view-sidebar__list-view-container>.document-outline::-webkit-scrollbar,.editor-list-view-sidebar__list-view-panel-content::-webkit-scrollbar{
|
|
height:12px;
|
|
width:12px;
|
|
}
|
|
.editor-list-view-sidebar__list-view-container>.document-outline::-webkit-scrollbar-track,.editor-list-view-sidebar__list-view-panel-content::-webkit-scrollbar-track{
|
|
background-color:initial;
|
|
}
|
|
.editor-list-view-sidebar__list-view-container>.document-outline::-webkit-scrollbar-thumb,.editor-list-view-sidebar__list-view-panel-content::-webkit-scrollbar-thumb{
|
|
background-clip:padding-box;
|
|
background-color:initial;
|
|
border:3px solid #0000;
|
|
border-radius:8px;
|
|
}
|
|
.editor-list-view-sidebar__list-view-container>.document-outline:focus-within::-webkit-scrollbar-thumb,.editor-list-view-sidebar__list-view-container>.document-outline:focus::-webkit-scrollbar-thumb,.editor-list-view-sidebar__list-view-container>.document-outline:hover::-webkit-scrollbar-thumb,.editor-list-view-sidebar__list-view-panel-content:focus-within::-webkit-scrollbar-thumb,.editor-list-view-sidebar__list-view-panel-content:focus::-webkit-scrollbar-thumb,.editor-list-view-sidebar__list-view-panel-content:hover::-webkit-scrollbar-thumb{
|
|
background-color:#949494;
|
|
}
|
|
.editor-list-view-sidebar__list-view-container>.document-outline:focus,.editor-list-view-sidebar__list-view-container>.document-outline:focus-within,.editor-list-view-sidebar__list-view-container>.document-outline:hover,.editor-list-view-sidebar__list-view-panel-content:focus,.editor-list-view-sidebar__list-view-panel-content:focus-within,.editor-list-view-sidebar__list-view-panel-content:hover{
|
|
scrollbar-color:#949494 #0000;
|
|
}
|
|
@media (hover:none){
|
|
.editor-list-view-sidebar__list-view-container>.document-outline,.editor-list-view-sidebar__list-view-panel-content{
|
|
scrollbar-color:#949494 #0000;
|
|
}
|
|
}
|
|
|
|
.editor-list-view-sidebar__list-view-container{
|
|
display:flex;
|
|
flex-direction:column;
|
|
height:100%;
|
|
}
|
|
|
|
.editor-list-view-sidebar__tab-panel{
|
|
height:100%;
|
|
}
|
|
|
|
.editor-list-view-sidebar__outline{
|
|
border-bottom:1px solid #ddd;
|
|
display:flex;
|
|
flex-direction:column;
|
|
gap:8px;
|
|
padding:16px;
|
|
}
|
|
.editor-list-view-sidebar__outline>div>span:first-child{
|
|
display:inline-block;
|
|
width:90px;
|
|
}
|
|
.editor-list-view-sidebar__outline>div>span{
|
|
color:#757575;
|
|
font-size:12px;
|
|
line-height:1.4;
|
|
}
|
|
|
|
.editor-post-author__panel{
|
|
padding-top:8px;
|
|
}
|
|
|
|
.editor-post-author__panel .editor-post-panel__row-control>div{
|
|
width:100%;
|
|
}
|
|
|
|
.editor-post-excerpt__textarea{
|
|
margin-bottom:10px;
|
|
width:100%;
|
|
}
|
|
|
|
.editor-post-featured-image{
|
|
padding:0;
|
|
}
|
|
.editor-post-featured-image .components-spinner{
|
|
margin-right:-9px;
|
|
margin-top:-9px;
|
|
position:absolute;
|
|
right:50%;
|
|
top:50%;
|
|
}
|
|
.editor-post-featured-image .components-responsive-wrapper__content{
|
|
max-width:100%;
|
|
width:auto;
|
|
}
|
|
|
|
.editor-post-featured-image__container{
|
|
position:relative;
|
|
}
|
|
.editor-post-featured-image__container:focus .editor-post-featured-image__actions,.editor-post-featured-image__container:focus-within .editor-post-featured-image__actions,.editor-post-featured-image__container:hover .editor-post-featured-image__actions{
|
|
opacity:1;
|
|
}
|
|
|
|
.editor-post-featured-image__preview,.editor-post-featured-image__toggle{
|
|
box-shadow:0 0 0 0 var(--wp-admin-theme-color);
|
|
display:flex;
|
|
justify-content:center;
|
|
max-height:150px;
|
|
overflow:hidden;
|
|
padding:0;
|
|
transition:all .1s ease-out;
|
|
width:100%;
|
|
}
|
|
@media (prefers-reduced-motion:reduce){
|
|
.editor-post-featured-image__preview,.editor-post-featured-image__toggle{
|
|
transition-delay:0s;
|
|
transition-duration:0s;
|
|
}
|
|
}
|
|
|
|
.editor-post-featured-image__preview{
|
|
height:auto;
|
|
}
|
|
.editor-post-featured-image__preview .components-responsive-wrapper{
|
|
background:#f0f0f0;
|
|
width:100%;
|
|
}
|
|
|
|
.editor-post-featured-image__toggle{
|
|
background-color:#f0f0f0;
|
|
border-radius:2px;
|
|
line-height:20px;
|
|
min-height:90px;
|
|
padding:8px 0;
|
|
text-align:center;
|
|
}
|
|
.editor-post-featured-image__toggle:hover{
|
|
background:#ddd;
|
|
color:#1e1e1e;
|
|
}
|
|
|
|
.editor-post-featured-image__actions{
|
|
bottom:0;
|
|
opacity:0;
|
|
padding:8px;
|
|
position:absolute;
|
|
transition:opacity 50ms ease-out;
|
|
}
|
|
@media (prefers-reduced-motion:reduce){
|
|
.editor-post-featured-image__actions{
|
|
transition-delay:0s;
|
|
transition-duration:0s;
|
|
}
|
|
}
|
|
|
|
.editor-post-featured-image__action{
|
|
-webkit-backdrop-filter:blur(16px) saturate(180%);
|
|
backdrop-filter:blur(16px) saturate(180%);
|
|
background:#ffffffbf;
|
|
flex-grow:1;
|
|
justify-content:center;
|
|
}
|
|
|
|
[class].editor-post-format__suggestion{
|
|
margin:4px 0 0;
|
|
}
|
|
|
|
.editor-post-last-revision__title{
|
|
font-weight:500;
|
|
width:100%;
|
|
}
|
|
|
|
.editor-post-last-revision__title.components-button.has-icon{
|
|
height:100%;
|
|
justify-content:space-between;
|
|
}
|
|
.editor-post-last-revision__title.components-button.has-icon:active,.editor-post-last-revision__title.components-button.has-icon:hover{
|
|
background:#f0f0f0;
|
|
}
|
|
.editor-post-last-revision__title.components-button.has-icon:focus{
|
|
border-radius:0;
|
|
box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
}
|
|
|
|
.components-panel__body.is-opened.editor-post-last-revision__panel{
|
|
height:48px;
|
|
padding:0;
|
|
}
|
|
.components-panel__body.is-opened.editor-post-last-revision__panel .editor-post-last-revision__title.components-button.components-button{
|
|
padding:16px;
|
|
}
|
|
|
|
.editor-post-locked-modal__buttons{
|
|
margin-top:24px;
|
|
}
|
|
|
|
.editor-post-locked-modal__avatar{
|
|
border-radius:2px;
|
|
margin-top:16px;
|
|
min-width:auto !important;
|
|
}
|
|
|
|
.editor-post-panel__row{
|
|
align-items:flex-start !important;
|
|
justify-content:flex-start !important;
|
|
min-height:40px;
|
|
width:100%;
|
|
}
|
|
|
|
.editor-post-panel__row-label{
|
|
align-items:center;
|
|
display:flex;
|
|
flex-shrink:0;
|
|
min-height:40px;
|
|
width:30%;
|
|
}
|
|
|
|
.editor-post-panel__row-control{
|
|
align-items:center;
|
|
display:flex;
|
|
flex-grow:1;
|
|
min-height:40px;
|
|
}
|
|
|
|
.editor-post-publish-button__button.has-changes-dot:before{
|
|
background:currentcolor;
|
|
border-radius:4px;
|
|
content:"";
|
|
height:8px;
|
|
margin:auto -3px auto 5px;
|
|
width:8px;
|
|
}
|
|
|
|
.editor-post-publish-panel{
|
|
background:#fff;
|
|
}
|
|
|
|
.editor-post-publish-panel__content{
|
|
min-height:calc(100% - 144px);
|
|
}
|
|
.editor-post-publish-panel__content>.components-spinner{
|
|
display:block;
|
|
margin:100px auto 0;
|
|
}
|
|
|
|
.editor-post-publish-panel__header{
|
|
align-content:space-between;
|
|
align-items:center;
|
|
background:#fff;
|
|
border-bottom:1px solid #ddd;
|
|
display:flex;
|
|
height:61px;
|
|
padding-left:16px;
|
|
padding-right:16px;
|
|
}
|
|
.editor-post-publish-panel__header .components-button{
|
|
justify-content:center;
|
|
width:100%;
|
|
}
|
|
.editor-post-publish-panel__header .has-icon{
|
|
margin-right:auto;
|
|
width:auto;
|
|
}
|
|
|
|
.components-site-card{
|
|
align-items:center;
|
|
display:flex;
|
|
margin:16px 0;
|
|
}
|
|
|
|
.components-site-icon{
|
|
border:none;
|
|
border-radius:2px;
|
|
height:36px;
|
|
margin-left:12px;
|
|
width:36px;
|
|
}
|
|
|
|
.components-site-name{
|
|
display:block;
|
|
font-size:14px;
|
|
}
|
|
|
|
.components-site-home{
|
|
color:#757575;
|
|
display:block;
|
|
font-size:12px;
|
|
}
|
|
|
|
.editor-post-publish-panel__header-cancel-button,.editor-post-publish-panel__header-publish-button{
|
|
flex:1;
|
|
}
|
|
@media (min-width:480px){
|
|
.editor-post-publish-panel__header-cancel-button,.editor-post-publish-panel__header-publish-button{
|
|
max-width:160px;
|
|
}
|
|
}
|
|
|
|
.editor-post-publish-panel__header-publish-button{
|
|
padding-left:4px;
|
|
}
|
|
|
|
.editor-post-publish-panel__header-cancel-button{
|
|
padding-right:4px;
|
|
}
|
|
|
|
.editor-post-publish-panel__header-published{
|
|
flex-grow:1;
|
|
}
|
|
|
|
.editor-post-publish-panel__footer{
|
|
padding:16px;
|
|
}
|
|
|
|
.components-button.editor-post-publish-panel__toggle.is-primary{
|
|
align-items:center;
|
|
display:inline-flex;
|
|
}
|
|
.components-button.editor-post-publish-panel__toggle.is-primary.is-busy .dashicon{
|
|
display:none;
|
|
}
|
|
.components-button.editor-post-publish-panel__toggle.is-primary .dashicon{
|
|
margin-left:-4px;
|
|
}
|
|
|
|
.editor-post-publish-panel__link{
|
|
font-weight:400;
|
|
padding-right:4px;
|
|
}
|
|
|
|
.editor-post-publish-panel__prepublish{
|
|
padding:16px;
|
|
}
|
|
.editor-post-publish-panel__prepublish strong{
|
|
color:#1e1e1e;
|
|
}
|
|
.editor-post-publish-panel__prepublish .components-panel__body{
|
|
background:#fff;
|
|
margin-left:-16px;
|
|
margin-right:-16px;
|
|
}
|
|
.editor-post-publish-panel__prepublish .editor-post-visibility__dialog-legend{
|
|
display:none;
|
|
}
|
|
|
|
.post-publish-panel__postpublish .components-panel__body{
|
|
border-bottom:1px solid #e0e0e0;
|
|
border-top:none;
|
|
}
|
|
|
|
.post-publish-panel__postpublish-buttons{
|
|
align-content:space-between;
|
|
display:flex;
|
|
flex-wrap:wrap;
|
|
gap:16px;
|
|
}
|
|
.post-publish-panel__postpublish-buttons .components-button{
|
|
flex:1;
|
|
justify-content:center;
|
|
}
|
|
.post-publish-panel__postpublish-buttons .components-clipboard-button{
|
|
width:100%;
|
|
}
|
|
|
|
.post-publish-panel__postpublish-post-address-container{
|
|
align-items:flex-end;
|
|
display:flex;
|
|
margin-bottom:16px;
|
|
}
|
|
.post-publish-panel__postpublish-post-address-container .post-publish-panel__postpublish-post-address{
|
|
flex:1;
|
|
}
|
|
.post-publish-panel__postpublish-post-address-container input[readonly]{
|
|
background:#f0f0f0;
|
|
border-color:#ccc;
|
|
height:36px;
|
|
overflow:hidden;
|
|
padding:12px;
|
|
text-overflow:ellipsis;
|
|
}
|
|
|
|
.post-publish-panel__postpublish-post-address__copy-button-wrap{
|
|
flex-shrink:0;
|
|
margin-right:16px;
|
|
}
|
|
|
|
.post-publish-panel__postpublish-header{
|
|
font-weight:500;
|
|
}
|
|
|
|
.post-publish-panel__postpublish-subheader{
|
|
margin:0 0 8px;
|
|
}
|
|
|
|
.post-publish-panel__tip{
|
|
color:#f0b849;
|
|
}
|
|
|
|
@media screen and (max-width:782px){
|
|
.post-publish-panel__postpublish-post-address__button-wrap .components-button{
|
|
height:40px;
|
|
}
|
|
}
|
|
.editor-post-saved-state{
|
|
align-items:center;
|
|
color:#757575;
|
|
display:flex;
|
|
overflow:hidden;
|
|
padding:12px 4px;
|
|
white-space:nowrap;
|
|
width:28px;
|
|
}
|
|
.editor-post-saved-state.is-saved[aria-disabled=true],.editor-post-saved-state.is-saved[aria-disabled=true]:hover,.editor-post-saved-state.is-saving[aria-disabled=true],.editor-post-saved-state.is-saving[aria-disabled=true]:hover{
|
|
background:#0000;
|
|
color:#757575;
|
|
}
|
|
.editor-post-saved-state svg{
|
|
display:inline-block;
|
|
flex:0 0 auto;
|
|
fill:currentColor;
|
|
margin-left:8px;
|
|
}
|
|
@media (min-width:600px){
|
|
.editor-post-saved-state{
|
|
padding:8px 12px;
|
|
text-indent:inherit;
|
|
width:auto;
|
|
}
|
|
.editor-post-saved-state svg{
|
|
margin-left:0;
|
|
}
|
|
}
|
|
|
|
.editor-post-save-draft.has-text.has-icon svg{
|
|
margin-left:0;
|
|
}
|
|
|
|
.editor-post-schedule__panel-dropdown{
|
|
width:100%;
|
|
}
|
|
|
|
.editor-post-schedule__dialog .components-popover__content{
|
|
min-width:320px;
|
|
padding:16px;
|
|
}
|
|
|
|
.editor-post-schedule__dialog-toggle.components-button{
|
|
display:block;
|
|
height:auto;
|
|
line-height:16px;
|
|
max-width:100%;
|
|
overflow:hidden;
|
|
padding:10px 12px;
|
|
text-align:right;
|
|
white-space:unset;
|
|
}
|
|
|
|
.editor-post-sync-status__value{
|
|
padding:6px 12px 6px 0;
|
|
}
|
|
|
|
.editor-post-taxonomies__hierarchical-terms-list{
|
|
margin-right:-6px;
|
|
margin-top:-6px;
|
|
max-height:14em;
|
|
overflow:auto;
|
|
padding-right:6px;
|
|
padding-top:6px;
|
|
}
|
|
|
|
.editor-post-taxonomies__hierarchical-terms-choice{
|
|
margin-bottom:8px;
|
|
}
|
|
.editor-post-taxonomies__hierarchical-terms-choice:last-child{
|
|
margin-bottom:4px;
|
|
}
|
|
|
|
.editor-post-taxonomies__hierarchical-terms-subchoices{
|
|
margin-right:16px;
|
|
margin-top:8px;
|
|
}
|
|
|
|
.editor-post-taxonomies__flat-term-most-used .editor-post-taxonomies__flat-term-most-used-label{
|
|
margin-bottom:4px;
|
|
}
|
|
|
|
.editor-post-taxonomies__flat-term-most-used-list{
|
|
margin:0;
|
|
}
|
|
.editor-post-taxonomies__flat-term-most-used-list li{
|
|
display:inline-block;
|
|
margin-left:8px;
|
|
}
|
|
.editor-post-taxonomies__flat-term-most-used-list .components-button{
|
|
font-size:12px;
|
|
}
|
|
|
|
.editor-post-template__swap-template-modal{
|
|
z-index:1000001;
|
|
}
|
|
|
|
.editor-post-template__swap-template-modal-content .block-editor-block-patterns-list{
|
|
column-count:2;
|
|
column-gap:24px;
|
|
padding-top:2px;
|
|
}
|
|
@media (min-width:782px){
|
|
.editor-post-template__swap-template-modal-content .block-editor-block-patterns-list{
|
|
column-count:3;
|
|
}
|
|
}
|
|
@media (min-width:1280px){
|
|
.editor-post-template__swap-template-modal-content .block-editor-block-patterns-list{
|
|
column-count:4;
|
|
}
|
|
}
|
|
.editor-post-template__swap-template-modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item{
|
|
break-inside:avoid-column;
|
|
}
|
|
.editor-post-template__swap-template-modal-content .block-editor-block-patterns-list .block-editor-block-patterns-list__item:not(:focus):not(:hover) .block-editor-block-preview__container{
|
|
box-shadow:0 0 0 1px #ddd;
|
|
}
|
|
|
|
.editor-post-template__dropdown .components-popover__content{
|
|
min-width:240px;
|
|
}
|
|
.editor-post-template__dropdown .components-button.is-pressed,.editor-post-template__dropdown .components-button.is-pressed:hover{
|
|
background:inherit;
|
|
color:inherit;
|
|
}
|
|
|
|
@media (min-width:782px){
|
|
.editor-post-template__create-form{
|
|
width:320px;
|
|
}
|
|
}
|
|
|
|
.editor-post-template__classic-theme-dropdown{
|
|
padding:8px;
|
|
}
|
|
|
|
.edit-post-text-editor__body textarea.editor-post-text-editor{
|
|
border:1px solid #949494;
|
|
border-radius:0;
|
|
box-shadow:none;
|
|
display:block;
|
|
font-family:Menlo,Consolas,monaco,monospace;
|
|
font-size:16px !important;
|
|
line-height:2.4;
|
|
margin:0;
|
|
min-height:200px;
|
|
overflow:hidden;
|
|
padding:16px;
|
|
resize:none;
|
|
transition:border .1s ease-out,box-shadow .1s linear;
|
|
width:100%;
|
|
}
|
|
@media (prefers-reduced-motion:reduce){
|
|
.edit-post-text-editor__body textarea.editor-post-text-editor{
|
|
transition-delay:0s;
|
|
transition-duration:0s;
|
|
}
|
|
}
|
|
@media (min-width:600px){
|
|
.edit-post-text-editor__body textarea.editor-post-text-editor{
|
|
font-size:15px !important;
|
|
padding:24px;
|
|
}
|
|
}
|
|
.edit-post-text-editor__body textarea.editor-post-text-editor:focus{
|
|
border-color:var(--wp-admin-theme-color);
|
|
box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
position:relative;
|
|
}
|
|
.edit-post-text-editor__body textarea.editor-post-text-editor::-webkit-input-placeholder{
|
|
color:#1e1e1e9e;
|
|
}
|
|
.edit-post-text-editor__body textarea.editor-post-text-editor::-moz-placeholder{
|
|
color:#1e1e1e9e;
|
|
opacity:1;
|
|
}
|
|
.edit-post-text-editor__body textarea.editor-post-text-editor:-ms-input-placeholder{
|
|
color:#1e1e1e9e;
|
|
}
|
|
|
|
.edit-post-text-editor__body .editor-post-title.is-raw-text{
|
|
margin-bottom:24px;
|
|
margin-top:2px;
|
|
max-width:none;
|
|
}
|
|
|
|
.editor-post-url__panel-dropdown{
|
|
width:100%;
|
|
}
|
|
|
|
.components-button.editor-post-url__panel-toggle{
|
|
display:block;
|
|
max-width:100%;
|
|
overflow:hidden;
|
|
text-align:right;
|
|
text-overflow:ellipsis;
|
|
white-space:nowrap;
|
|
}
|
|
|
|
.editor-post-url__panel-dialog .editor-post-url{
|
|
margin:8px;
|
|
min-width:248px;
|
|
}
|
|
|
|
.editor-post-url__link-label{
|
|
font-size:13px;
|
|
font-weight:400;
|
|
margin:0;
|
|
}
|
|
.editor-post-url__link{
|
|
direction:ltr;
|
|
word-break:break-word;
|
|
}
|
|
.editor-post-url__link-slug{
|
|
font-weight:600;
|
|
}
|
|
|
|
.editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio]{
|
|
border:1px solid #1e1e1e;
|
|
border-radius:2px;
|
|
border-radius:50%;
|
|
box-shadow:0 0 0 #0000;
|
|
font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;
|
|
font-size:16px;
|
|
height:24px;
|
|
line-height:normal;
|
|
margin-left:12px;
|
|
margin-top:2px;
|
|
padding:6px 8px;
|
|
transition:box-shadow .1s linear;
|
|
transition:none;
|
|
width:24px;
|
|
}
|
|
@media (prefers-reduced-motion:reduce){
|
|
.editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio]{
|
|
transition-delay:0s;
|
|
transition-duration:0s;
|
|
}
|
|
}
|
|
@media (min-width:600px){
|
|
.editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio]{
|
|
font-size:13px;
|
|
line-height:normal;
|
|
}
|
|
}
|
|
.editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio]:focus{
|
|
border-color:var(--wp-admin-theme-color);
|
|
box-shadow:0 0 0 .5px var(--wp-admin-theme-color);
|
|
}
|
|
.editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio]::-webkit-input-placeholder{
|
|
color:#1e1e1e9e;
|
|
}
|
|
.editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio]::-moz-placeholder{
|
|
color:#1e1e1e9e;
|
|
opacity:1;
|
|
}
|
|
.editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio]:-ms-input-placeholder{
|
|
color:#1e1e1e9e;
|
|
}
|
|
@media (min-width:600px){
|
|
.editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio]{
|
|
height:20px;
|
|
width:20px;
|
|
}
|
|
}
|
|
.editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio]:checked:before{
|
|
background-color:#fff;
|
|
border:4px solid #fff;
|
|
box-sizing:inherit;
|
|
height:8px;
|
|
margin:0;
|
|
transform:translate(-7px, 7px);
|
|
width:8px;
|
|
}
|
|
@media (min-width:600px){
|
|
.editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio]:checked:before{
|
|
transform:translate(-5px, 5px);
|
|
}
|
|
}
|
|
.editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio]:focus{
|
|
box-shadow:0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
|
|
outline:2px solid #0000;
|
|
}
|
|
.editor-post-visibility__fieldset .editor-post-visibility__radio[type=radio]:checked{
|
|
background:var(--wp-admin-theme-color);
|
|
border-color:var(--wp-admin-theme-color);
|
|
}
|
|
.editor-post-visibility__fieldset .editor-post-visibility__info{
|
|
color:#757575;
|
|
margin-right:36px;
|
|
margin-top:.5em;
|
|
}
|
|
@media (min-width:600px){
|
|
.editor-post-visibility__fieldset .editor-post-visibility__info{
|
|
margin-right:32px;
|
|
}
|
|
}
|
|
.editor-post-visibility__fieldset .editor-post-visibility__choice:last-child .editor-post-visibility__info{
|
|
margin-bottom:0;
|
|
}
|
|
.editor-post-visibility__fieldset .editor-post-visibility__password .editor-post-visibility__password-input[type=text]{
|
|
border:1px solid #949494;
|
|
border-radius:2px;
|
|
box-shadow:0 0 0 #0000;
|
|
font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;
|
|
font-size:16px;
|
|
line-height:normal;
|
|
margin-right:32px;
|
|
padding:6px 8px;
|
|
transition:box-shadow .1s linear;
|
|
width:calc(100% - 32px);
|
|
}
|
|
@media (prefers-reduced-motion:reduce){
|
|
.editor-post-visibility__fieldset .editor-post-visibility__password .editor-post-visibility__password-input[type=text]{
|
|
transition-delay:0s;
|
|
transition-duration:0s;
|
|
}
|
|
}
|
|
@media (min-width:600px){
|
|
.editor-post-visibility__fieldset .editor-post-visibility__password .editor-post-visibility__password-input[type=text]{
|
|
font-size:13px;
|
|
line-height:normal;
|
|
}
|
|
}
|
|
.editor-post-visibility__fieldset .editor-post-visibility__password .editor-post-visibility__password-input[type=text]:focus{
|
|
border-color:var(--wp-admin-theme-color);
|
|
box-shadow:0 0 0 .5px var(--wp-admin-theme-color);
|
|
outline:2px solid #0000;
|
|
}
|
|
.editor-post-visibility__fieldset .editor-post-visibility__password .editor-post-visibility__password-input[type=text]::-webkit-input-placeholder{
|
|
color:#1e1e1e9e;
|
|
}
|
|
.editor-post-visibility__fieldset .editor-post-visibility__password .editor-post-visibility__password-input[type=text]::-moz-placeholder{
|
|
color:#1e1e1e9e;
|
|
opacity:1;
|
|
}
|
|
.editor-post-visibility__fieldset .editor-post-visibility__password .editor-post-visibility__password-input[type=text]:-ms-input-placeholder{
|
|
color:#1e1e1e9e;
|
|
}
|
|
|
|
.editor-post-trash.components-button{
|
|
flex-grow:1;
|
|
justify-content:center;
|
|
}
|
|
|
|
.editor-preview-dropdown__button-external{
|
|
display:flex;
|
|
justify-content:space-between;
|
|
width:100%;
|
|
}
|
|
|
|
.table-of-contents__popover.components-popover .components-popover__content{
|
|
min-width:380px;
|
|
}
|
|
|
|
.components-popover.table-of-contents__popover{
|
|
z-index:99998;
|
|
}
|
|
|
|
.table-of-contents__popover .components-popover__content{
|
|
padding:16px;
|
|
}
|
|
@media (min-width:600px){
|
|
.table-of-contents__popover .components-popover__content{
|
|
max-height:calc(100vh - 120px);
|
|
overflow-y:auto;
|
|
}
|
|
}
|
|
.table-of-contents__popover hr{
|
|
margin:10px -16px 0;
|
|
}
|
|
|
|
.table-of-contents__wrapper:focus:before{
|
|
bottom:0;
|
|
box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
content:"";
|
|
display:block;
|
|
left:0;
|
|
pointer-events:none;
|
|
position:absolute;
|
|
right:0;
|
|
top:0;
|
|
}
|
|
|
|
.table-of-contents__counts{
|
|
display:flex;
|
|
flex-wrap:wrap;
|
|
margin:-8px 0 0;
|
|
}
|
|
|
|
.table-of-contents__count{
|
|
color:#1e1e1e;
|
|
display:flex;
|
|
flex-basis:33%;
|
|
flex-direction:column;
|
|
font-size:13px;
|
|
margin-bottom:0;
|
|
margin-top:8px;
|
|
padding-left:8px;
|
|
}
|
|
.table-of-contents__count:nth-child(4n){
|
|
padding-left:0;
|
|
}
|
|
|
|
.table-of-contents__number,.table-of-contents__popover .word-count{
|
|
color:#1e1e1e;
|
|
font-size:21px;
|
|
font-weight:400;
|
|
line-height:30px;
|
|
}
|
|
|
|
.table-of-contents__title{
|
|
display:block;
|
|
font-size:15px;
|
|
font-weight:600;
|
|
margin-top:20px;
|
|
}
|
|
|
|
.editor-template-validation-notice{
|
|
align-items:center;
|
|
display:flex;
|
|
justify-content:space-between;
|
|
}
|
|
.editor-template-validation-notice .components-button{
|
|
margin-right:5px;
|
|
} |