Efforts to make button style more generic and compatible with outlined.
This commit is contained in:
parent
bb159c5356
commit
b02bcbea34
|
@ -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
|
@ -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": {
|
||||||
|
|
Loading…
Reference in New Issue