xarxaprod-wp-theme/sass/base/elements/_buttons.scss

51 lines
922 B
SCSS
Raw Normal View History

2024-01-09 16:13:20 +01:00
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.wp-block-button__link {
border: 1px solid;
border-color: $color__border-button;
border-radius: 0;
background: $color__background-button;
color: $color__text-screen;
line-height: 1;
padding: 0.6em 1em 0.4em;
text-transform: uppercase;
&:hover {
border-color: $color__border-button-hover;
}
&:active,
&:focus {
border-color: $color__border-button-focus;
}
}
.button-more {
//&::before {
// content: "accedir";
// position: absolute;
// bottom: 1em;
// left: 0.5em;
// font-family: $font__light;
// font-size: 1rem;
// line-height: 0;
//}
&::after {
content: "+";
display: inline-block;
width: 1.5rem;
height: 2rem;
padding: 0 0.5rem;
font-family: $font__black;
font-size: 1.5rem;
}
&:hover::after {
content: ">";
padding-left: 0.2rem;
font-size: 1.2rem;
line-height: 1.5;
}
}