From 23ffbcbc99ba9009a7266dc56485b0f468ca261a Mon Sep 17 00:00:00 2001 From: cd-bitwarden <106776772+cd-bitwarden@users.noreply.github.com> Date: Mon, 31 Oct 2022 18:01:55 -0400 Subject: [PATCH] Ps 1754 community pr reviewed (#3929) * community PR reviewed, Update search cancel button to be visible in all themes * community PR reviewed, Update search cancel button to be visible in all themes 2 --- .../browser/src/popup/images/close-button-white.svg | 1 + apps/browser/src/popup/scss/base.scss | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 apps/browser/src/popup/images/close-button-white.svg diff --git a/apps/browser/src/popup/images/close-button-white.svg b/apps/browser/src/popup/images/close-button-white.svg new file mode 100644 index 00000000000..8aea3464780 --- /dev/null +++ b/apps/browser/src/popup/images/close-button-white.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/apps/browser/src/popup/scss/base.scss b/apps/browser/src/popup/scss/base.scss index 6cfa632451b..e534fedba27 100644 --- a/apps/browser/src/popup/scss/base.scss +++ b/apps/browser/src/popup/scss/base.scss @@ -438,6 +438,19 @@ main { main { bottom: 55px; } + + [type="search"]::-webkit-search-cancel-button { + -webkit-appearance: none; + appearance: none; + height: 15px; + width: 15px; + background-repeat: no-repeat; + mask-image: url("../images/close-button-white.svg"); + -webkit-mask-image: url("../images/close-button-white.svg"); + @include themify($themes) { + background-color: themed("headerInputColor"); + } + } } .center-content,