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

64 lines
1.0 KiB
SCSS
Raw Normal View History

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.wp-block-button__link {
border: 1px solid;
border-color: $color__border-button;
2022-11-30 15:59:45 +01:00
border-radius: 0;
background: $color__background-button;
2022-11-30 15:59:45 +01:00
color: $color__text-screen;
line-height: 1;
padding: 0.6em 1em 0.4em;
2022-11-30 15:59:45 +01:00
text-transform: uppercase;
&:hover {
border-color: $color__border-button-hover;
}
&:active,
&:focus {
border-color: $color__border-button-focus;
}
}
.button-more {
position:relative;
a {
padding-right: 1rem;
}
a::after {
content: "+";
display: inline-block;
position: absolute;
right: 0.4rem;
top: 55%;
font-family: $font__black;
font-size: 2rem;
line-height: 0;
}
&:hover a::after{
content: ">";
right: 0.3rem;
font-size:1.5rem;
}
}
.type-ofisuport-ajut {
.button-more {
width: 3rem;
height: 3rem;
a {
font-size: 0px;
&::after {
font-size:3rem;
right:0.5rem;
}
}
&:hover a::after {
font-size: 2rem;
right: 0.3rem;
}
}
}