Commit 784cb7ef authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch 'rewrite-search-webkit-scss' into 'master'

Rewrite search input styles for webkit

See merge request gitlab-org/gitlab!80479
parents 343607b5 a3da0ae5
...@@ -366,12 +366,13 @@ input[type='checkbox']:hover { ...@@ -366,12 +366,13 @@ input[type='checkbox']:hover {
} }
} }
// Disable webkit input icons, link to solution: https://stackoverflow.com/questions/9421551/how-do-i-remove-all-default-webkit-search-field-styling // Disable Webkit's search input styles
/* stylelint-disable property-no-vendor-prefix */ input[type='search'] {
input[type='search']::-webkit-search-decoration, /* stylelint-disable-next-line property-no-vendor-prefix */
input[type='search']::-webkit-search-cancel-button, -webkit-appearance: textfield;
input[type='search']::-webkit-search-results-button,
input[type='search']::-webkit-search-results-decoration { &::-webkit-search-cancel-button,
-webkit-appearance: none; &::-webkit-search-results-button {
@include gl-display-none;
}
} }
/* stylelint-enable */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment