diff --git a/skins/base/css/molecules/MemberTile.css b/skins/base/css/molecules/MemberTile.css index a01947e3..efe59984 100644 --- a/skins/base/css/molecules/MemberTile.css +++ b/skins/base/css/molecules/MemberTile.css @@ -29,6 +29,11 @@ limitations under the License. height: 32px; } +.mx_MemberTile_avatar img { + border-radius: 16px; + background-color: #dbdbdb; +} + .mx_MemberTile_name { display: table-cell; vertical-align: middle; diff --git a/skins/base/css/molecules/MessageTile.css b/skins/base/css/molecules/MessageTile.css index 244c8b73..6fccd493 100644 --- a/skins/base/css/molecules/MessageTile.css +++ b/skins/base/css/molecules/MessageTile.css @@ -29,6 +29,12 @@ limitations under the License. float: left; } +.mx_MessageTile_avatar img { + background-color: #dbdbdb; + border-radius: 16px; + border: 0px; +} + .mx_MessageTile_continuation { margin-top: 8px ! important; } diff --git a/skins/base/css/molecules/RoomTile.css b/skins/base/css/molecules/RoomTile.css index b3f4018c..b7007756 100644 --- a/skins/base/css/molecules/RoomTile.css +++ b/skins/base/css/molecules/RoomTile.css @@ -31,6 +31,7 @@ limitations under the License. vertical-align: middle; width: 32px; height: 32px; + border-radius: 16px; } .mx_RoomTile_name { @@ -40,12 +41,24 @@ limitations under the License. text-overflow: ellipsis; } +.mx_RoomTile_badge { + float: right; + background-color: #d8d8d8; + color: #747474; + border-radius: 10px; + font-weight: 400; + font-size: 14px; + line-height: 22px; + width: 34px; + height: 20px; + vertical-align: top; + text-align: center; +} + .mx_RoomTile_unread { - font-weight: bold; } .mx_RoomTile_highlight { - background-color: lime; } .mx_RoomTile_invited { diff --git a/skins/base/views/molecules/MemberTile.js b/skins/base/views/molecules/MemberTile.js index 7ed4eadc..d1d73109 100644 --- a/skins/base/views/molecules/MemberTile.js +++ b/skins/base/views/molecules/MemberTile.js @@ -18,6 +18,7 @@ limitations under the License. var React = require('react'); +var MatrixClientPeg = require("../../../../src/MatrixClientPeg"); var MemberTileController = require("../../../../src/controllers/molecules/MemberTile"); module.exports = React.createClass({ @@ -26,7 +27,7 @@ module.exports = React.createClass({ render: function() { return (