From b2a1c89e83d2fcd19d778f730011e08080e1bfea Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Mon, 18 Jan 2016 00:16:04 +0000 Subject: [PATCH 1/3] bring back power badges --- .../matrix-react-sdk/views/rooms/MemberTile.css | 8 ++++---- src/skins/vector/img/admin.svg | 17 +++++++++++++++++ src/skins/vector/img/mod.svg | 16 ++++++++++++++++ 3 files changed, 37 insertions(+), 4 deletions(-) create mode 100644 src/skins/vector/img/admin.svg create mode 100644 src/skins/vector/img/mod.svg diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberTile.css b/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberTile.css index adfb55540a..f17438abcc 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberTile.css +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberTile.css @@ -35,10 +35,10 @@ limitations under the License. .mx_MemberTile_power { position: absolute; - width: 44px; - height: 44px; - left: 10px; - top: -1px; + width: 16px; + height: 17px; + top: 0px; + right: 6px; } .mx_MemberTile_name { diff --git a/src/skins/vector/img/admin.svg b/src/skins/vector/img/admin.svg new file mode 100644 index 0000000000..7ea7459304 --- /dev/null +++ b/src/skins/vector/img/admin.svg @@ -0,0 +1,17 @@ + + + + icons_owner + Created with sketchtool. + + + + + + + + + + + + diff --git a/src/skins/vector/img/mod.svg b/src/skins/vector/img/mod.svg new file mode 100644 index 0000000000..847baf98f9 --- /dev/null +++ b/src/skins/vector/img/mod.svg @@ -0,0 +1,16 @@ + + + + icons_admin + Created with sketchtool. + + + + + + + + + + + From 1fef91b82c55d02cd8f58eaf2f2c1f06df7b3aba Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Mon, 18 Jan 2016 01:18:11 +0000 Subject: [PATCH 2/3] MemberInfo lipstick --- .../views/rooms/MemberInfo.css | 30 +++++++++++-------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberInfo.css b/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberInfo.css index 8b15a7197f..0f9a55e9a7 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberInfo.css +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberInfo.css @@ -36,6 +36,19 @@ limitations under the License. border-radius: 48px; } +.mx_MemberInfo_profile { + margin-bottom: 16px; +} + +.mx_MemberInfo h3 { + text-transform: uppercase; + color: #3d3b39; + font-weight: 600; + font-size: 13px; + margin-top: 16px; + margin-bottom: 14px; +} + .mx_MemberInfo_profileField { font-color: #999999; font-size: 13px; @@ -44,21 +57,12 @@ limitations under the License. } .mx_MemberInfo_buttons { - margin-top: 18px; } .mx_MemberInfo_field { cursor: pointer; - width: 100px; - text-align: center; - font-size: 11px; - background-color: #888; - color: #fff; - font-weight: bold; - border-radius: 20px; - padding-left: 6px; - padding-right: 6px; - padding-top: 4px; - padding-bottom: 2px; - margin-bottom: 4px; + font-size: 13px; + color: #76cfa6; + margin-left: 8px; + line-height: 23px; } From 8792be4db2933f2f7bbed297080c3b4417f7d134 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Mon, 18 Jan 2016 01:25:57 +0000 Subject: [PATCH 3/3] moar space --- src/skins/vector/css/matrix-react-sdk/views/rooms/MemberInfo.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberInfo.css b/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberInfo.css index 0f9a55e9a7..d750a9fdc5 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberInfo.css +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberInfo.css @@ -57,6 +57,7 @@ limitations under the License. } .mx_MemberInfo_buttons { + margin-bottom: 16px; } .mx_MemberInfo_field {