mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-03 06:01:32 +01:00
1de40f71be
This patch, somewhat small brings a lot to WordPress. This includes features like: - DataViews. - Customization tools like box shadow, background size and repeat. - UI improvements in the site editor. - Preferences sharing between the post and site editors. - Unified panels and editors between post and site editors. - Improved template mode in the post editor. - Iterations to multiple interactive blocks. - Preparing the blocks and UI for pattern overrides. - and a lot more. Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj. See #60315. Built from https://develop.svn.wordpress.org/trunk@57377 git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
61 lines
1.8 KiB
CSS
61 lines
1.8 KiB
CSS
.wp-block[data-align=center]>.wp-block-button{
|
|
margin-left:auto;
|
|
margin-right:auto;
|
|
text-align:center;
|
|
}
|
|
|
|
.wp-block[data-align=right]>.wp-block-button{
|
|
text-align:right;
|
|
}
|
|
|
|
.wp-block-button{
|
|
cursor:text;
|
|
position:relative;
|
|
}
|
|
.wp-block-button:focus{
|
|
box-shadow:0 0 0 1px #fff, 0 0 0 3px var(--wp-admin-theme-color);
|
|
outline:2px solid transparent;
|
|
outline-offset:-2px;
|
|
}
|
|
.wp-block-button[data-rich-text-placeholder]:after{
|
|
opacity:.8;
|
|
}
|
|
|
|
div[data-type="core/button"]{
|
|
display:table;
|
|
}
|
|
|
|
.editor-styles-wrapper .wp-block-button[style*=text-decoration] .wp-block-button__link{
|
|
text-decoration:inherit;
|
|
}
|
|
|
|
.editor-styles-wrapper .wp-block-button .wp-block-button__link:where(.has-border-color){
|
|
border-width:initial;
|
|
}
|
|
.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-top-color]){
|
|
border-top-width:medium;
|
|
}
|
|
.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-right-color]){
|
|
border-left-width:medium;
|
|
}
|
|
.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-bottom-color]){
|
|
border-bottom-width:medium;
|
|
}
|
|
.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-left-color]){
|
|
border-right-width:medium;
|
|
}
|
|
.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-style]){
|
|
border-width:initial;
|
|
}
|
|
.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-top-style]){
|
|
border-top-width:medium;
|
|
}
|
|
.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-right-style]){
|
|
border-left-width:medium;
|
|
}
|
|
.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-bottom-style]){
|
|
border-bottom-width:medium;
|
|
}
|
|
.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-left-style]){
|
|
border-right-width:medium;
|
|
} |