diff --git a/src/skins/vector/css/molecules/MessageComposer.css b/src/skins/vector/css/molecules/MessageComposer.css index ab76c5ac05..a74777bff4 100644 --- a/src/skins/vector/css/molecules/MessageComposer.css +++ b/src/skins/vector/css/molecules/MessageComposer.css @@ -85,7 +85,7 @@ limitations under the License. .mx_MessageComposer_call { padding-right: 10px; - padding-top: 3px; + padding-top: 4px; } .mx_MessageComposer_upload img { diff --git a/src/skins/vector/css/molecules/RoomHeader.css b/src/skins/vector/css/molecules/RoomHeader.css index 80b7c436ca..312d56a7dc 100644 --- a/src/skins/vector/css/molecules/RoomHeader.css +++ b/src/skins/vector/css/molecules/RoomHeader.css @@ -71,8 +71,7 @@ limitations under the License. } .mx_RoomHeader_rightRow { - height: 48px; - margin-top: 18px; + margin-top: 32px; background-color: #fff; -webkit-box-ordinal-group: 3; @@ -98,6 +97,7 @@ limitations under the License. } .mx_RoomHeader_name { + cursor: pointer; vertical-align: middle; height: 28px; color: #454545; @@ -108,6 +108,26 @@ limitations under the License. text-overflow: ellipsis; } +.mx_RoomHeader_nametext { + display: inline-block; +} + +.mx_RoomHeader_settingsButton { + display: inline-block; + visibility: hidden; + position: relative; + bottom: 10px; + left: 4px; +} + +.mx_RoomHeader_name:hover { + color: #76cfa6; +} + +.mx_RoomHeader_name:hover .mx_RoomHeader_settingsButton { + visibility: visible; +} + .mx_RoomHeader_nameEditing { padding-left: 16px; padding-right: 16px; @@ -151,7 +171,6 @@ limitations under the License. } .mx_RoomHeader_button { - height: 48px; display: table-cell; vertical-align: middle; padding-left: 8px; @@ -168,4 +187,4 @@ limitations under the License. .mx_RoomHeader_voipButtons { margin-top: 18px; -} \ No newline at end of file +} diff --git a/src/skins/vector/img/search.png b/src/skins/vector/img/search.png index d2c99855d0..2f98d29048 100644 Binary files a/src/skins/vector/img/search.png and b/src/skins/vector/img/search.png differ diff --git a/src/skins/vector/img/settings.png b/src/skins/vector/img/settings.png index 445a3909e4..264b3c9bc3 100644 Binary files a/src/skins/vector/img/settings.png and b/src/skins/vector/img/settings.png differ diff --git a/src/skins/vector/views/molecules/RoomHeader.js b/src/skins/vector/views/molecules/RoomHeader.js index de6aea15e8..c4e4cdcc17 100644 --- a/src/skins/vector/views/molecules/RoomHeader.js +++ b/src/skins/vector/views/molecules/RoomHeader.js @@ -59,7 +59,6 @@ module.exports = React.createClass({ var topic = this.props.room.currentState.getStateEvents('m.room.topic', ''); var call_buttons; - var zoom_button; if (this.state && this.state.call_state != 'ended') { var muteVideoButton; var activeCall = ( @@ -111,16 +110,15 @@ module.exports = React.createClass({ cancel_button =
Cancel
save_button =
Save Changes
} else { + // name = -
- +
+
{ this.props.room.name }
+
+ +
if (topic) topic_el =
{ topic.getContent().topic }
; - settings_button = ( -
- -
- ); } var roomAvatar = null; @@ -130,12 +128,23 @@ module.exports = React.createClass({ ); } - if (activeCall && activeCall.type == "video") { - zoom_button = ( -
- Fullscreen -
- ); + var zoom_button, video_button, voice_button; + if (activeCall) { + if (activeCall.type == "video") { + zoom_button = ( +
+ Fullscreen +
+ ); + } + video_button = +
+ Video call +
; + voice_button = +
+ VoIP call +
; } header = @@ -153,16 +162,11 @@ module.exports = React.createClass({ {cancel_button} {save_button}
- { settings_button } + { video_button } + { voice_button } { zoom_button } -
- Search -
-
- Video call -
-
- VoIP call +
+ Search