Efforts to make button style more generic and compatible with outlined.

This commit is contained in:
mateuswetah 2023-02-01 09:55:39 -03:00
parent bb159c5356
commit b02bcbea34
3 changed files with 13 additions and 7 deletions

View File

@ -98,15 +98,20 @@
background-color: var(--tainacan-interface--link-color, #298596); background-color: var(--tainacan-interface--link-color, #298596);
color: var(--wp--preset--color--white, #fff); color: var(--wp--preset--color--white, #fff);
} }
&.is-style-outline > .wp-block-button__link,
& > .wp-block-button__link.is-style-outline {
padding: .25rem 1.125rem;
border: 1px solid #555758 !important;
&:not(.has-text-color) {
color: var(--tainacan-interface--link-color, #298596);
}
}
} }
.wp-block-button.is-style-outline:not(.has-background-color) .btn { .wp-block-button.is-style-outline:not(.has-background-color) .btn {
background: transparent !important; background: transparent !important;
} }
.wp-block-button.is-style-outline .btn {
color: var(--tainacan-interface--link-color, #298596);
border: 1px solid #555758 !important;
padding: .25rem 1.125rem;
}
.wp-block-button.aligncenter, .wp-block-button.aligncenter,
.wp-block-button.alignleft, .wp-block-button.alignleft,
.wp-block-button.alignright { .wp-block-button.alignright {

File diff suppressed because one or more lines are too long

View File

@ -182,7 +182,8 @@
"border": { "border": {
"color": "var:preset|color|default", "color": "var:preset|color|default",
"radius": "0.25rem", "radius": "0.25rem",
"width": "1px" "width": "1px",
"style": "solid"
} }
}, },
"core/code": { "core/code": {