Skip to content

Commit cd9f469

Browse files
authored
Merge pull request #626 from Ayushmore1214/patch-4
[UI] Apply Layer5 brand color to search clear ('x') button – Fixes #544
2 parents b3fbd2a + 897f65d commit cd9f469

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

assets/scss/_search_project.scss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,4 +168,12 @@
168168

169169
.form-control {
170170
border: 1px solid #ced4da;
171-
}
171+
}
172+
input[type="search"]::-webkit-search-cancel-button {
173+
filter: invert(55%) sepia(75%) saturate(380%) hue-rotate(135deg) brightness(95%) contrast(90%);
174+
cursor: pointer;
175+
transform: scale(1.1);
176+
}
177+
input[type="search"]::-webkit-search-cancel-button:hover {
178+
filter: invert(60%) sepia(95%) saturate(500%) hue-rotate(140deg) brightness(100%) contrast(100%);
179+
}

0 commit comments

Comments
 (0)