From c553258aff65fc4986b529569b640fd2c4c89fb4 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sun, 13 Dec 2015 13:49:54 +0000 Subject: [PATCH] add dedicated leave button to header --- src/skins/vector/css/molecules/RoomHeader.css | 10 +++++++ src/skins/vector/img/leave.svg | 27 +++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 src/skins/vector/img/leave.svg diff --git a/src/skins/vector/css/molecules/RoomHeader.css b/src/skins/vector/css/molecules/RoomHeader.css index 86609959b6..31d6539a3b 100644 --- a/src/skins/vector/css/molecules/RoomHeader.css +++ b/src/skins/vector/css/molecules/RoomHeader.css @@ -138,6 +138,16 @@ limitations under the License. visibility: visible; } +.mx_RoomHeader_leaveButton { + visibility: hidden; + margin-top: -1px; +} + +.mx_RoomHeader_wrapper:hover .mx_RoomHeader_leaveButton { + visibility: visible; +} + + .mx_RoomHeader_nameEditing { padding-left: 8px; padding-right: 16px; diff --git a/src/skins/vector/img/leave.svg b/src/skins/vector/img/leave.svg new file mode 100644 index 0000000000..8485607360 --- /dev/null +++ b/src/skins/vector/img/leave.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + +