Skip to content

Commit 3007072

Browse files
authored
Merge pull request #370 from BeAPI/feature/search-field
input search clear
2 parents ad4d543 + 454680b commit 3007072

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/scss/03-base/_forms.scss

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,17 @@ $all-text-inputs: assign-inputs($text-inputs-list);
9494
input[type="reset"] {
9595
@extend %btn-block-outline;
9696
}
97+
98+
input[type="search"] {
99+
&::-webkit-search-cancel-button {
100+
width: 16px;
101+
height: 16px;
102+
cursor: pointer;
103+
background-image: get-svg-url("close", $color-dark);
104+
background-size: contain;
105+
-webkit-appearance: none;
106+
-moz-appearance: none;
107+
appearance: none;
108+
}
109+
}
97110
}

0 commit comments

Comments
 (0)