From 3cd32e2f440e05b57cba10e05778024b1a95dc2c Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 5 Nov 2018 13:07:49 +0100 Subject: [PATCH] update search icon(s) --- res/img/icons-search-copy.svg | 10 ---------- res/img/icons-search.svg | 21 ++++++++++++++------- res/img/search.svg | 17 ----------------- res/themes/dharma/css/_dharma.scss | 4 ++-- src/components/views/rooms/RoomHeader.js | 2 +- 5 files changed, 17 insertions(+), 37 deletions(-) delete mode 100644 res/img/icons-search-copy.svg delete mode 100644 res/img/search.svg diff --git a/res/img/icons-search-copy.svg b/res/img/icons-search-copy.svg deleted file mode 100644 index b026718b84..0000000000 --- a/res/img/icons-search-copy.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/res/img/icons-search.svg b/res/img/icons-search.svg index 8b1ce43264..9d3e98106b 100644 --- a/res/img/icons-search.svg +++ b/res/img/icons-search.svg @@ -1,8 +1,15 @@ - - - - - - - + + + Shape + Created with Sketch. + + + + + + + + + + \ No newline at end of file diff --git a/res/img/search.svg b/res/img/search.svg deleted file mode 100644 index bd4cd9200c..0000000000 --- a/res/img/search.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - icons_search - Created with bin/sketchtool. - - - - - - - - - - - - \ No newline at end of file diff --git a/res/themes/dharma/css/_dharma.scss b/res/themes/dharma/css/_dharma.scss index db64e0710e..1fa5963ccd 100644 --- a/res/themes/dharma/css/_dharma.scss +++ b/res/themes/dharma/css/_dharma.scss @@ -242,14 +242,14 @@ input[type=search] { input[type=text].mx_textinput_icon, input[type=search].mx_textinput_icon { - padding-left: 30px; + padding-left: 36px; background-repeat: no-repeat; background-position: 10px center; } input[type=text].mx_textinput_icon.mx_textinput_search, input[type=search].mx_textinput_icon.mx_textinput_search { - background-image: url('../../img/icons-search-copy.svg'); + background-image: url('../../img/icons-search.svg'); } // dont search UI as not all browsers support it, diff --git a/src/components/views/rooms/RoomHeader.js b/src/components/views/rooms/RoomHeader.js index e32ff26d32..3b85730e11 100644 --- a/src/components/views/rooms/RoomHeader.js +++ b/src/components/views/rooms/RoomHeader.js @@ -382,7 +382,7 @@ module.exports = React.createClass({ if (this.props.onSearchClick && this.props.inRoom) { searchButton = - + ; }