mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-21 18:43:43 +03:00

This fixes an issue where adding the button block classes to the pledge form was creating double-button styles. This also fixes a mistakenly removed class on the remove contributor button.
Follow up to 5d76b97557
58 lines
839 B
SCSS
58 lines
839 B
SCSS
body.home {
|
|
.wp-block-button {
|
|
@extend .button;
|
|
|
|
display: inline-block;
|
|
height: auto;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.wp-block-button__link {
|
|
background: none;
|
|
color: $color__link-button;
|
|
text-decoration: none;
|
|
|
|
&:hover,
|
|
&:visited {
|
|
color: $color__link-button;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Add "danger" button styles, red text on grey background.
|
|
.button.button-danger {
|
|
color: $color-error-red;
|
|
|
|
&:visited {
|
|
color: $color-error-red;
|
|
}
|
|
|
|
&.hover,
|
|
&:hover,
|
|
&.focus,
|
|
&:focus {
|
|
color: $color-error-red;
|
|
}
|
|
|
|
&.focus,
|
|
&:focus {
|
|
border-color: rgba($color-error-red, 0.6);
|
|
box-shadow: 0 0 3px $color-error-red;
|
|
}
|
|
}
|
|
|
|
.button.button-link {
|
|
padding: 0;
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
border: none;
|
|
background-color: transparent;
|
|
box-shadow: none;
|
|
text-decoration: underline;
|
|
|
|
&.focus,
|
|
&:focus {
|
|
box-shadow: none;
|
|
}
|
|
}
|