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

94 lines
1.6 KiB
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: 0;
2024-01-09 16:13:20 +01:00
border-color: $color__border-button;
border-radius: 0;
background: $color__background-button;
color: $color__white;
2024-01-09 16:13:20 +01:00
line-height: 1;
//padding: 0.6em 1em 0.4em;
padding: 0.5em;
margin: 0;
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;
color: $color__white;
}
&:visited {
color: $color__white;
2024-01-09 16:13:20 +01:00
}
&:active,
&:focus {
border-color: $color__border-button-focus;
color: $color__white;
2024-01-09 16:13:20 +01:00
}
}
//.button-more {
// display: inline-block;
// &::after {
// content: "+";
// display: inline-block;
// font-weight: bold;
// text-align: center;
// }
// &:hover::after {
// content: ">";
// }
//}
//.more-link {
// .button-more {
// &::after {
// font-size: 4rem;
// width: 4rem;
// }
// &:hover::after {
// }
// }
//}
.category-faq {
.button-more {
&::before {
content: "accedir";
}
}
}
.xarxaprod-search-form {
display: flex;
margin: 0.5rem 0;
.search-field {
padding: 0.5em;
}
.search-submit{
z-index: 10;
margin: 0rem;
border: none;
width: 2.5rem;
height: 2.5rem;
background: none;
cursor: pointer;
font-size: 0px;
}
}
.xarxaprod-icon-search:before {
position: absolute;
padding: 0;
margin: 0.2rem 0 0 -1.5rem;
z-index: 0;
min-width: 2.5rem;
min-height: 2.5rem;
font-size: 2rem;
content: "\26b2";
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}