mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-18 00:25:37 +01:00
11d4f1b3bf
Props: ironprogrammer, petitphp, hellofromTonya, azaozz. Fixes: #57891. Built from https://develop.svn.wordpress.org/trunk@55494 git-svn-id: http://core.svn.wordpress.org/trunk@55027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
61 lines
1.3 KiB
CSS
61 lines
1.3 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;
|
|
}
|
|
|
|
.wp-block-button__inline-link{
|
|
color:#757575;
|
|
height:0;
|
|
max-width:290px;
|
|
overflow:hidden;
|
|
}
|
|
.wp-block-button__inline-link-input__suggestions{
|
|
max-width:290px;
|
|
}
|
|
@media (min-width:782px){
|
|
.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{
|
|
max-width:260px;
|
|
}
|
|
}
|
|
@media (min-width:960px){
|
|
.wp-block-button__inline-link,.wp-block-button__inline-link-input__suggestions{
|
|
max-width:290px;
|
|
}
|
|
}
|
|
.is-selected .wp-block-button__inline-link{
|
|
height:auto;
|
|
overflow:visible;
|
|
}
|
|
|
|
.wp-button-label__width .components-button-group{
|
|
display:block;
|
|
}
|
|
.wp-button-label__width .components-base-control__field{
|
|
margin-bottom:12px;
|
|
}
|
|
|
|
div[data-type="core/button"]{
|
|
display:table;
|
|
}
|
|
|
|
.editor-styles-wrapper .wp-block-button[style*=text-decoration] .wp-block-button__link{
|
|
text-decoration:inherit;
|
|
} |