Skip to content

Commit aa4f9ab

Browse files
committed
basic VoIP lipstick
1 parent 9798105 commit aa4f9ab

5 files changed

Lines changed: 36 additions & 10 deletions

File tree

‎skins/base/css/molecules/MessageComposer.css‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ limitations under the License.
5353
.mx_MessageComposer_input textarea {
5454
font-size: 15px;
5555
width: 100%;
56-
height: 1em;
56+
height: 1.2em;
5757
padding-top: 0.7em;
5858
padding-bottom: 0.7em;
5959
border: 0px;
@@ -65,8 +65,6 @@ limitations under the License.
6565

6666
/* needed for FF */
6767
font-family: 'Lato', Helvetica, Arial, Sans-Serif;
68-
font-weight: 300;
69-
font-size: 15px;
7068
}
7169

7270
/* hack for FF as vertical alignment of custom placeholder text is broken */

‎skins/base/css/molecules/voip/VideoView.css‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,28 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16+
17+
.mx_VideoView {
18+
width: 100%;
19+
position: relative;
20+
z-index: 30;
21+
margin-top: 12px;
22+
}
23+
24+
.mx_VideoView video {
25+
width: 100%;
26+
}
27+
28+
.mx_VideoView_remoteVideoFeed {
29+
width: 100%;
30+
border-bottom: 12px solid #f3f8fa;
31+
background-color: #000;
32+
}
33+
34+
.mx_VideoView_localVideoFeed {
35+
width: 20%;
36+
position: absolute;
37+
left: 16px;
38+
bottom: 28px;
39+
z-index: 100;
40+
}

‎skins/base/css/organisms/LeftPanel.css‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ limitations under the License.
6060
color: #378bb4;
6161
}
6262

63+
.mx_LeftPanel .mx_DirectoryMenu .mx_RoomTile_avatar {
64+
padding-left: 14px;
65+
}
66+
6367
.mx_LeftPanel .mx_DirectoryMenu .mx_DirectoryMenu_options {
6468
margin-top: 12px;
6569
width: 100%;

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ limitations under the License.
5050
max-width: 720px;
5151
width: 100%;
5252
margin: auto;
53-
height: 0%;
5453
}
5554

5655
.mx_RoomView_messagePanel {
@@ -62,7 +61,7 @@ limitations under the License.
6261

6362
width: 100%;
6463
height: 100%;
65-
margin-top: 1px;
64+
margin-top: 18px;
6665
margin-bottom: 18px;
6766

6867
overflow-y: scroll;

‎skins/base/views/molecules/voip/VideoView.js‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ module.exports = React.createClass({
3737

3838
render: function() {
3939
return (
40-
<div>
41-
<div>
42-
<VideoFeed ref="remote"/>
40+
<div className="mx_VideoView">
41+
<div className="mx_VideoView_remoteVideoFeed">
42+
<VideoFeed ref="remote"/>
4343
</div>
44-
<div>
45-
<VideoFeed ref="local"/>
44+
<div className="mx_VideoView_localVideoFeed">
45+
<VideoFeed ref="local"/>
4646
</div>
4747
</div>
4848
);

0 commit comments

Comments
 (0)