Pristine upstream, unpacked from the official wordpress.org tarball. https://wordpress.org/wordpress-7.1.1.tar.gz sha1 2a9d68474e8703aa3a66f80427b325e0941b6a1e (published by wordpress.org) sha256 3996fee13448ef12e07e9f0c77db2f655ffa1b7cde71c80a4965d3bf1fb956b3 This branch carries nothing but upstream releases, one commit each, and is never edited. It is the other side of the git-subtree merge that brings security releases into SiriusPress/wordpress/ — see SiriusPress/docs/upstream-merges.md.
90 lines
No EOL
2.8 KiB
CSS
90 lines
No EOL
2.8 KiB
CSS
.wp-block-button__link {
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
text-align: center;
|
|
word-break: break-word;
|
|
box-sizing: border-box;
|
|
height: 100%;
|
|
align-content: center;
|
|
}
|
|
.wp-block-button__link.aligncenter {
|
|
text-align: center;
|
|
}
|
|
.wp-block-button__link.alignright {
|
|
text-align: right;
|
|
}
|
|
|
|
:where(.wp-block-button__link) {
|
|
box-shadow: none;
|
|
text-decoration: none;
|
|
border-radius: 9999px;
|
|
padding: calc(0.667em + 2px) calc(1.333em + 2px);
|
|
}
|
|
|
|
.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[class*=wp-block-button__width] {
|
|
width: calc(var(--wp--block-button--width) * 1% - var(--wp--style--block-gap, 0.5em) * (1 - var(--wp--block-button--width) / 100));
|
|
}
|
|
.wp-block-buttons > .wp-block-button.wp-block-button__width-25 {
|
|
width: calc(25% - var(--wp--style--block-gap, 0.5em) * 0.75);
|
|
}
|
|
.wp-block-buttons > .wp-block-button.wp-block-button__width-50 {
|
|
width: calc(50% - var(--wp--style--block-gap, 0.5em) * 0.5);
|
|
}
|
|
.wp-block-buttons > .wp-block-button.wp-block-button__width-75 {
|
|
width: calc(75% - var(--wp--style--block-gap, 0.5em) * 0.25);
|
|
}
|
|
.wp-block-buttons > .wp-block-button.wp-block-button__width-100 {
|
|
width: 100%;
|
|
flex-basis: 100%;
|
|
}
|
|
|
|
.wp-block-buttons.is-vertical > .wp-block-button[class*=wp-block-button__width] {
|
|
width: calc(var(--wp--block-button--width) * 1%);
|
|
}
|
|
.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;
|
|
}
|
|
|
|
:root :where(.wp-block-button.is-style-outline > .wp-block-button__link),
|
|
:root :where(.wp-block-button .wp-block-button__link.is-style-outline) {
|
|
border: 2px solid currentColor;
|
|
padding: 0.667em 1.333em;
|
|
}
|
|
:root :where(.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color)),
|
|
:root :where(.wp-block-button .wp-block-button__link.is-style-outline:not(.has-text-color)) {
|
|
color: currentColor;
|
|
}
|
|
:root :where(.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background)),
|
|
:root :where(.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background)) {
|
|
background-color: transparent;
|
|
background-image: none;
|
|
} |