From 6e24f4ba0901e6f26b70fce90795324b0e3d0090 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Wed, 18 Oct 2017 17:31:42 +0100 Subject: [PATCH 1/4] fix editing visuals --- .../structures/_GroupView.scss | 21 +++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/src/skins/vector/css/matrix-react-sdk/structures/_GroupView.scss b/src/skins/vector/css/matrix-react-sdk/structures/_GroupView.scss index 7ffb39dbce..75a691e81b 100644 --- a/src/skins/vector/css/matrix-react-sdk/structures/_GroupView.scss +++ b/src/skins/vector/css/matrix-react-sdk/structures/_GroupView.scss @@ -54,6 +54,23 @@ limitations under the License. pointer-events: none; } +.mx_GroupView_editable { + border-bottom: 1px solid $strong-input-border-color ! important; + min-width: 150px; + cursor: text; +} + +.mx_GroupView_editable:focus { + border-bottom: 1px solid $accent-color ! important; + outline: none; + box-shadow: none; +} + +.mx_GroupView_header_name:hover div:not(.mx_GroupView_editable) { + color: $accent-color; + cursor: pointer; +} + .mx_GroupView_avatarPicker { position: relative; } @@ -103,10 +120,6 @@ limitations under the License. border-bottom: 1px solid transparent; } -.mx_GroupView_header_name input, .mx_GroupView_header_shortDesc input { - width: 400px; -} - .mx_GroupView_header_shortDesc { vertical-align: bottom; float: left; From fe490341d07d30dab65161c882c172137762a772 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Wed, 18 Oct 2017 19:28:19 +0200 Subject: [PATCH 2/4] replace placeholder groups icon with a themable one --- src/skins/vector/img/icons-groups.svg | 151 +++++--------------------- 1 file changed, 25 insertions(+), 126 deletions(-) diff --git a/src/skins/vector/img/icons-groups.svg b/src/skins/vector/img/icons-groups.svg index 35ced645de..8f89ba83c4 100644 --- a/src/skins/vector/img/icons-groups.svg +++ b/src/skins/vector/img/icons-groups.svg @@ -1,127 +1,26 @@ - - - - - - image/svg+xml - - 81230A28-D944-4572-B5DB-C03CAA2B1FCA - - - - - - 81230A28-D944-4572-B5DB-C03CAA2B1FCA - Created with sketchtool. - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + From 6b589c494546b7bddbdba73c63f60e7df93170e8 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Wed, 18 Oct 2017 19:40:31 +0200 Subject: [PATCH 3/4] fix room icon up --- src/skins/vector/img/icons-room.svg | 124 ++++------------------------ 1 file changed, 16 insertions(+), 108 deletions(-) diff --git a/src/skins/vector/img/icons-room.svg b/src/skins/vector/img/icons-room.svg index 12978cc25f..49b100570f 100644 --- a/src/skins/vector/img/icons-room.svg +++ b/src/skins/vector/img/icons-room.svg @@ -1,109 +1,17 @@ - - - - - - image/svg+xml - - 81230A28-D944-4572-B5DB-C03CAA2B1FCA - - - - - - - - 81230A28-D944-4572-B5DB-C03CAA2B1FCA - Created with sketchtool. - - - - - - - - - - - - - - - - + + + + + + + + + + + From 7bb0ed4a665c8ff46ca60b51eacaed2e3427e82c Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Wed, 18 Oct 2017 19:56:39 +0200 Subject: [PATCH 4/4] fix room add icon --- src/skins/vector/img/icons-room-add.svg | 184 ++++-------------------- 1 file changed, 26 insertions(+), 158 deletions(-) diff --git a/src/skins/vector/img/icons-room-add.svg b/src/skins/vector/img/icons-room-add.svg index df421c8ed8..704e09517f 100644 --- a/src/skins/vector/img/icons-room-add.svg +++ b/src/skins/vector/img/icons-room-add.svg @@ -1,159 +1,27 @@ - - - - - - image/svg+xml - - 81230A28-D944-4572-B5DB-C03CAA2B1FCA - - - - - - 81230A28-D944-4572-B5DB-C03CAA2B1FCA - Created with sketchtool. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + +