Compare commits

...

3 Commits

Author SHA1 Message Date
Denis Lopatin
7e2bb1b67a
Merge d8cac6e3ff12877d3164f9ab24146c893dce0445 into c5074c7c18702dd6d330e0048ca44847ac72358f 2025-07-02 11:31:20 +09:00
Julien Déramond
d8cac6e3ff
One line selector 2025-06-30 20:25:04 +02:00
Denis
77b77cde16 feat(forms): Add cursor pointer for search cancel button
This change adds the `cursor: pointer` style to the native
`::-webkit-search-cancel-button` pseudo-element to improve user
experience on WebKit/Blink-based browsers.

Closes: #39114
2025-06-28 22:50:22 +03:00

View File

@ -30,6 +30,11 @@
} }
} }
// Customize the cursor of clear button shown on non-empty search inputs
&[type="search"]::-webkit-search-cancel-button {
cursor: pointer;
}
// Customize the `:focus` state to imitate native WebKit styles. // Customize the `:focus` state to imitate native WebKit styles.
&:focus { &:focus {
color: $input-focus-color; color: $input-focus-color;