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

51 lines
924 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;
2024-01-14 17:12:37 +01:00
//text-transform: uppercase;
2024-01-09 16:13:20 +01:00
&:hover {
border-color: $color__border-button-hover;
}
&:active,
&:focus {
border-color: $color__border-button-focus;
}
}
.button-more {
2024-01-14 17:12:37 +01:00
//&::before {
// content: "accedir";
// position: absolute;
// bottom: 1em;
// left: 0.5em;
// font-family: $font__light;
// font-size: 1rem;
// line-height: 0;
//}
2024-01-09 16:13:20 +01:00
&::after {
content: "+";
display: inline-block;
2024-01-14 17:12:37 +01:00
width: 1.5rem;
height: 2rem;
padding: 0 0.5rem;
font-family: $font__black;
2024-01-09 16:13:20 +01:00
font-size: 1.5rem;
}
&:hover::after {
content: ">";
2024-01-14 17:12:37 +01:00
padding-left: 0.2rem;
font-size: 1.2rem;
line-height: 1.5;
2024-01-09 16:13:20 +01:00
}
}