From ae686b39840d174ac927fca3236ab10083312c4f Mon Sep 17 00:00:00 2001 From: lilia Date: Sun, 6 Dec 2015 20:40:29 -0800 Subject: [PATCH] Style search clear element // FREEBIE --- stylesheets/_index.scss | 7 +++++++ stylesheets/manifest.css | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/stylesheets/_index.scss b/stylesheets/_index.scss index ae3f1da73..12da60d4c 100644 --- a/stylesheets/_index.scss +++ b/stylesheets/_index.scss @@ -89,6 +89,13 @@ input.search { padding: 0; margin: 0; outline: 0; + &::-webkit-search-cancel-button { + -webkit-appearance: none; + width: 16px; + height: 16px; + background: url('/images/x.png') no-repeat center; + background-size: cover; + } } .tool-bar { diff --git a/stylesheets/manifest.css b/stylesheets/manifest.css index d7cda29fe..604e20b57 100644 --- a/stylesheets/manifest.css +++ b/stylesheets/manifest.css @@ -442,6 +442,12 @@ input.search { padding: 0; margin: 0; outline: 0; } + input.search::-webkit-search-cancel-button { + -webkit-appearance: none; + width: 16px; + height: 16px; + background: url("/images/x.png") no-repeat center; + background-size: cover; } .tool-bar button.show-new-conversation { float: right;