From a070bccffba63e6b252b5a820d70af93a456ed96 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 23 Sep 2016 15:26:08 +0100 Subject: [PATCH] Hacky hardcoded css for join button --- .../views/elements/DirectorySearchBox.css | 17 +++++++++++++++++ src/skins/vector/img/icon-return.svg | 18 ++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 src/skins/vector/img/icon-return.svg diff --git a/src/skins/vector/css/matrix-react-sdk/views/elements/DirectorySearchBox.css b/src/skins/vector/css/matrix-react-sdk/views/elements/DirectorySearchBox.css index 9afaa10d..60a005f3 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/elements/DirectorySearchBox.css +++ b/src/skins/vector/css/matrix-react-sdk/views/elements/DirectorySearchBox.css @@ -32,6 +32,23 @@ input[type=text].mx_DirectorySearchBox_input:focus { border: 0; } +.mx_DirectorySearchBox_joinButton { + position: absolute; + right: 30px; + top: 5px; + padding: 3px; + padding-left: 10px; + padding-right: 10px; + background-color: #efefef; + border-radius: 3px; + background-image: url('img/icon-return.svg'); + background-position: 8px 70%; + background-repeat: no-repeat; + text-indent: 18px; + font-weight: 600; + font-size: 12px; +} + .mx_DirectorySearchBox_clear { position: absolute; right: 0px; diff --git a/src/skins/vector/img/icon-return.svg b/src/skins/vector/img/icon-return.svg new file mode 100644 index 00000000..80da0f82 --- /dev/null +++ b/src/skins/vector/img/icon-return.svg @@ -0,0 +1,18 @@ + + + + B542A09B-DBBF-41D4-A5FD-D05EE1E6BBC4 + Created with sketchtool. + + + + + + + + + + + + + \ No newline at end of file