Skip to content

Commit dcecdc8

Browse files
committed
lipstick for hangup button and typing notifs
1 parent 0a3cddb commit dcecdc8

6 files changed

Lines changed: 43 additions & 6 deletions

File tree

‎skins/base/css/molecules/MemberInfo.css‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ limitations under the License.
5555

5656
.mx_MemberInfo_field {
5757
padding: 6px;
58+
overflow: hidden;
59+
text-overflow: ellipsis;
5860
}
5961

6062
.mx_MemberInfo_button {

‎skins/base/css/molecules/RoomHeader.css‎

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,39 @@ limitations under the License.
4343
width: 100%;
4444
}
4545

46-
.mx_RoomHeader_rightRow {
46+
.mx_RoomHeader_hangupButton {
4747
height: 48px;
4848
margin-top: 18px;
49-
background-color: #fff;
49+
background-color: #80cef4;
5050
border-radius: 48px;
51-
border: 1px solid #a9dbf4;
51+
margin-right: 8px;
52+
color: #fff;
53+
line-height: 48px;
54+
text-align: center;
5255

5356
-webkit-box-ordinal-group: 2;
5457
-moz-box-ordinal-group: 2;
5558
-ms-flex-order: 2;
5659
-webkit-order: 2;
5760
order: 2;
5861

62+
-webkit-flex: 0 0 90px;
63+
flex: 0 0 90px;
64+
}
65+
66+
.mx_RoomHeader_rightRow {
67+
height: 48px;
68+
margin-top: 18px;
69+
background-color: #fff;
70+
border-radius: 48px;
71+
border: 1px solid #a9dbf4;
72+
73+
-webkit-box-ordinal-group: 3;
74+
-moz-box-ordinal-group: 3;
75+
-ms-flex-order: 3;
76+
-webkit-order: 3;
77+
order: 3;
78+
5979
-webkit-flex: 0 0 200px;
6080
flex: 0 0 200px;
6181
}

‎skins/base/css/organisms/RoomView.css‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,20 @@ limitations under the License.
105105
border-top: 1px solid #a8dbf3;
106106
}
107107

108+
.mx_RoomView_typingBar {
109+
margin-top: 17px;
110+
margin-left: 56px;
111+
color: #818794;
112+
}
113+
114+
.mx_RoomView_typingBar img {
115+
padding-left: 12px;
116+
padding-right: 12px;
117+
margin-left: -64px;
118+
margin-top: -7px;
119+
float: left;
120+
}
121+
108122
.mx_RoomView .mx_MessageComposer {
109123
-webkit-box-ordinal-group: 5;
110124
-moz-box-ordinal-group: 5;

‎skins/base/img/typing.png‎

236 Bytes
Loading

‎skins/base/views/molecules/RoomHeader.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ module.exports = React.createClass({
4444
case "ringback":
4545
case "connected":
4646
callButtons = (
47-
<div className="mx_RoomHeader_button" onClick={this.onHangupClick}>
48-
BYEBYE
47+
<div className="mx_RoomHeader_hangupButton" onClick={this.onHangupClick}>
48+
End call
4949
</div>
5050
);
5151
break;
@@ -66,14 +66,14 @@ module.exports = React.createClass({
6666
{ topic }
6767
</div>
6868
</div>
69+
{callButtons}
6970
<div className="mx_RoomHeader_rightRow">
7071
<div className="mx_RoomHeader_button">
7172
<img src="img/settings.png" width="32" height="32"/>
7273
</div>
7374
<div className="mx_RoomHeader_button">
7475
<img src="img/search.png" width="32" height="32"/>
7576
</div>
76-
{callButtons}
7777
<div className="mx_RoomHeader_button" onClick={this.onVideoClick}>
7878
<img src="img/video.png" width="32" height="32"/>
7979
</div>

‎skins/base/views/organisms/RoomView.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ module.exports = React.createClass({
9797
if (typingString) {
9898
statusBar = (
9999
<div className="mx_RoomView_typingBar">
100+
<img src="img/typing.png" width="40" height="40" alt=""/>
100101
{typingString}
101102
</div>
102103
);

0 commit comments

Comments
 (0)