Compare commits

...

3 Commits

Author SHA1 Message Date
cf05c380ea tweak outline button hover style 2024-05-13 15:04:02 +05:00
c8e4131ac3 add hover effect to outline button style 2024-05-13 14:59:25 +05:00
dbe18296d5 add hover effect to thin button 2024-05-13 14:42:15 +05:00
2 changed files with 8 additions and 0 deletions

View File

@ -22,6 +22,10 @@ function lex_scotland_block_styles() {
color: var(--wp--preset--color--contrast);
border-radius: 0;
font-size: var(--wp--preset--font-size--small);
border: 1px solid var(--wp--preset--color--light-green);
}
.wp-block-button.is-style-thin .wp-element-button:hover {
border: 1px dashed;
}
'
) );

View File

@ -294,7 +294,11 @@
"fontWeight": "700"
}
},
"core/buttons": {
"css": "& .wp-block-button__link { transition: all 0.25s ease-in-out; }\n& .wp-block-button.is-style-outline .wp-block-button__link:hover { box-shadow: rgb(51, 51, 51) 4px 4px 0 0; transform: translate(-4px, -4px) }"
},
"core/button": {
"css": "",
"variations": {
"fill": {
"color": {