mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-16 15:46:04 +01:00
3c8457e747
This updates the following npm dependencies: - `autoprefixer` to version `10.4.16`. - `grunt-contrib-qunit` to version `8.0.1`. - `postcss` to version `8.4.30`. - `react-refresh` to version `0.14.0`. - `sass` to version `1.68.0`. - `sinon` to version `16.0.0`. - `uuid` to version `9.0.1`. - `tslib` to version `2.6.2`. This change accompanies a similar one in the Gutenberg repository: https://github.com/WordPress/gutenberg/pull/54657. Props gziolo, desrosj. Fixes #58863. Built from https://develop.svn.wordpress.org/trunk@56647 git-svn-id: http://core.svn.wordpress.org/trunk@56159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
105 lines
3.3 KiB
CSS
105 lines
3.3 KiB
CSS
.wp-block-site-logo.aligncenter>div,.wp-block[data-align=center]>.wp-block-site-logo{
|
|
display:table;
|
|
margin-left:auto;
|
|
margin-right:auto;
|
|
}
|
|
|
|
.wp-block-site-logo a{
|
|
pointer-events:none;
|
|
}
|
|
.wp-block-site-logo .custom-logo-link{
|
|
cursor:inherit;
|
|
}
|
|
.wp-block-site-logo .custom-logo-link:focus{
|
|
box-shadow:none;
|
|
}
|
|
.wp-block-site-logo .custom-logo-link.is-transient img{
|
|
opacity:.3;
|
|
}
|
|
.wp-block-site-logo img{
|
|
display:block;
|
|
height:auto;
|
|
max-width:100%;
|
|
}
|
|
|
|
.wp-block-site-logo.wp-block-site-logo.is-default-size .components-placeholder{
|
|
height:60px;
|
|
width:60px;
|
|
}
|
|
.wp-block-site-logo.wp-block-site-logo .components-resizable-box__container,.wp-block-site-logo.wp-block-site-logo>div{
|
|
border-radius:inherit;
|
|
}
|
|
.wp-block-site-logo.wp-block-site-logo .components-placeholder{
|
|
align-items:center;
|
|
border-radius:inherit;
|
|
display:flex;
|
|
height:100%;
|
|
justify-content:center;
|
|
min-height:48px;
|
|
min-width:48px;
|
|
padding:0;
|
|
width:100%;
|
|
}
|
|
.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-drop-zone__content-text,.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-form-file-upload{
|
|
display:none;
|
|
}
|
|
.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button{
|
|
align-items:center;
|
|
background:var(--wp-admin-theme-color);
|
|
border-color:var(--wp-admin-theme-color);
|
|
border-radius:50%;
|
|
border-style:solid;
|
|
color:#fff;
|
|
display:flex;
|
|
height:48px;
|
|
justify-content:center;
|
|
padding:0;
|
|
position:relative;
|
|
width:48px;
|
|
}
|
|
.wp-block-site-logo.wp-block-site-logo .components-placeholder .components-button.components-button>svg{
|
|
color:inherit;
|
|
}
|
|
|
|
.block-library-site-logo__inspector-upload-container{
|
|
position:relative;
|
|
}
|
|
.block-library-site-logo__inspector-upload-container .components-drop-zone__content-icon{
|
|
display:none;
|
|
}
|
|
|
|
.block-library-site-logo__inspector-media-replace-container button.components-button,.block-library-site-logo__inspector-upload-container button.components-button{
|
|
box-shadow:inset 0 0 0 1px #ccc;
|
|
color:#1e1e1e;
|
|
display:block;
|
|
height:40px;
|
|
width:100%;
|
|
}
|
|
.block-library-site-logo__inspector-media-replace-container button.components-button:hover,.block-library-site-logo__inspector-upload-container button.components-button:hover{
|
|
color:var(--wp-admin-theme-color);
|
|
}
|
|
.block-library-site-logo__inspector-media-replace-container button.components-button:focus,.block-library-site-logo__inspector-upload-container button.components-button:focus{
|
|
box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
}
|
|
.block-library-site-logo__inspector-media-replace-container .block-library-site-logo__inspector-media-replace-title,.block-library-site-logo__inspector-upload-container .block-library-site-logo__inspector-media-replace-title{
|
|
text-align:start;
|
|
text-align-last:center;
|
|
white-space:normal;
|
|
word-break:break-all;
|
|
}
|
|
|
|
.block-library-site-logo__inspector-media-replace-container .components-dropdown{
|
|
display:block;
|
|
}
|
|
.block-library-site-logo__inspector-media-replace-container img{
|
|
aspect-ratio:1;
|
|
border-radius:50% !important;
|
|
box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);
|
|
min-width:20px;
|
|
width:20px;
|
|
}
|
|
.block-library-site-logo__inspector-media-replace-container .block-library-site-logo__inspector-readonly-logo-preview{
|
|
display:flex;
|
|
height:40px;
|
|
padding:6px 12px;
|
|
} |