2023-03-09 01:05:24 +01:00
|
|
|
.wp-block-button__link{
|
|
|
|
box-sizing:border-box;
|
|
|
|
cursor:pointer;
|
|
|
|
display:inline-block;
|
|
|
|
text-align:center;
|
|
|
|
word-break:break-word;
|
|
|
|
}
|
|
|
|
.wp-block-button__link.aligncenter{
|
|
|
|
text-align:center;
|
|
|
|
}
|
|
|
|
.wp-block-button__link.alignright{
|
|
|
|
text-align:right;
|
|
|
|
}
|
|
|
|
|
|
|
|
:where(.wp-block-button__link){
|
|
|
|
border-radius:9999px;
|
|
|
|
box-shadow:none;
|
|
|
|
padding:calc(.667em + 2px) calc(1.333em + 2px);
|
|
|
|
text-decoration:none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-button[style*=text-decoration] .wp-block-button__link{
|
|
|
|
text-decoration:inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-buttons>.wp-block-button.has-custom-width{
|
|
|
|
max-width:none;
|
|
|
|
}
|
|
|
|
.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{
|
|
|
|
width:100%;
|
|
|
|
}
|
|
|
|
.wp-block-buttons>.wp-block-button.has-custom-font-size .wp-block-button__link{
|
|
|
|
font-size:inherit;
|
|
|
|
}
|
|
|
|
.wp-block-buttons>.wp-block-button.wp-block-button__width-25{
|
|
|
|
width:calc(25% - var(--wp--style--block-gap, .5em)*.75);
|
|
|
|
}
|
|
|
|
.wp-block-buttons>.wp-block-button.wp-block-button__width-50{
|
|
|
|
width:calc(50% - var(--wp--style--block-gap, .5em)*.5);
|
|
|
|
}
|
|
|
|
.wp-block-buttons>.wp-block-button.wp-block-button__width-75{
|
|
|
|
width:calc(75% - var(--wp--style--block-gap, .5em)*.25);
|
|
|
|
}
|
|
|
|
.wp-block-buttons>.wp-block-button.wp-block-button__width-100{
|
|
|
|
flex-basis:100%;
|
|
|
|
width:100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-25{
|
|
|
|
width:25%;
|
|
|
|
}
|
|
|
|
.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-50{
|
|
|
|
width:50%;
|
|
|
|
}
|
|
|
|
.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-75{
|
|
|
|
width:75%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{
|
|
|
|
border-radius:0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{
|
|
|
|
border-radius:0 !important;
|
|
|
|
}
|
|
|
|
|
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
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
2024-01-29 22:07:12 +01:00
|
|
|
.wp-block-button .wp-block-button__link:where(.is-style-outline),.wp-block-button:where(.is-style-outline)>.wp-block-button__link{
|
2023-03-09 01:05:24 +01:00
|
|
|
border:2px solid;
|
|
|
|
padding:.667em 1.333em;
|
|
|
|
}
|
|
|
|
|
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
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
2024-01-29 22:07:12 +01:00
|
|
|
.wp-block-button .wp-block-button__link:where(.is-style-outline):not(.has-text-color),.wp-block-button:where(.is-style-outline)>.wp-block-button__link:not(.has-text-color){
|
2023-03-09 01:05:24 +01:00
|
|
|
color:currentColor;
|
|
|
|
}
|
|
|
|
|
Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
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
2024-01-29 22:07:12 +01:00
|
|
|
.wp-block-button .wp-block-button__link:where(.is-style-outline):not(.has-background),.wp-block-button:where(.is-style-outline)>.wp-block-button__link:not(.has-background){
|
2023-09-21 15:26:32 +02:00
|
|
|
background-color:transparent;
|
2023-03-09 01:05:24 +01:00
|
|
|
background-image:none;
|
2023-06-27 16:24:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-button .wp-block-button__link:where(.has-border-color){
|
|
|
|
border-width:initial;
|
|
|
|
}
|
|
|
|
.wp-block-button .wp-block-button__link:where([style*=border-top-color]){
|
|
|
|
border-top-width:medium;
|
|
|
|
}
|
|
|
|
.wp-block-button .wp-block-button__link:where([style*=border-right-color]){
|
|
|
|
border-left-width:medium;
|
|
|
|
}
|
|
|
|
.wp-block-button .wp-block-button__link:where([style*=border-bottom-color]){
|
|
|
|
border-bottom-width:medium;
|
|
|
|
}
|
|
|
|
.wp-block-button .wp-block-button__link:where([style*=border-left-color]){
|
|
|
|
border-right-width:medium;
|
|
|
|
}
|
|
|
|
.wp-block-button .wp-block-button__link:where([style*=border-style]){
|
|
|
|
border-width:initial;
|
|
|
|
}
|
|
|
|
.wp-block-button .wp-block-button__link:where([style*=border-top-style]){
|
|
|
|
border-top-width:medium;
|
|
|
|
}
|
|
|
|
.wp-block-button .wp-block-button__link:where([style*=border-right-style]){
|
|
|
|
border-left-width:medium;
|
|
|
|
}
|
|
|
|
.wp-block-button .wp-block-button__link:where([style*=border-bottom-style]){
|
|
|
|
border-bottom-width:medium;
|
|
|
|
}
|
|
|
|
.wp-block-button .wp-block-button__link:where([style*=border-left-style]){
|
|
|
|
border-right-width:medium;
|
2023-03-09 01:05:24 +01:00
|
|
|
}
|