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

37 lines
667 B
SCSS
Raw Permalink Normal View History

2024-01-09 16:13:20 +01:00
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
color: $color__text-input;
background-color: $color__background-input;
2024-04-02 19:15:43 +02:00
border: $border__line;
2024-01-09 16:13:20 +01:00
border-radius: 0;
width: 100%;
padding: 0.3rem;
2024-04-02 19:15:43 +02:00
&:focus,&:focus-within,&:focus-visible {
2024-01-09 16:13:20 +01:00
color: $color__text-input-focus;
2024-04-02 19:15:43 +02:00
box-shadow: none;
outline: unset;
2024-01-09 16:13:20 +01:00
}
}
select {
2024-03-14 20:54:11 +01:00
border: $border__line;
2024-01-09 16:13:20 +01:00
}
textarea {
width: 100%;
}