White magnifying glass icon dataurl

From Gamepedia Help Wiki
Jump to: navigation, search

The following css and associated dataurl changes the color of the magnifying glass icon on the Search results page from dark grey to white:

#simpleSearch #searchButton {
    background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2213%22%3E %3Cg fill=%22none%22 stroke=%22%23ffffff%22 stroke-width=%222%22%3E %3Cpath d=%22M11.29 11.71l-4-4%22/%3E %3Ccircle cx=%225%22 cy=%225%22 r=%224%22/%3E %3C/g%3E %3C/svg%3E")
}

The color of the magnifying glass can be customized by locating stroke=%22%23ffffff%22 in the above code and changing ffffff to the desired color's hex code.