Skip to content

Commit ba0ae5b

Browse files
committed
various cosmetic fixes based on design feedback
1 parent 9a8a9a4 commit ba0ae5b

5 files changed

Lines changed: 21 additions & 5 deletions

File tree

‎src/skins/vector/css/common.css‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ h2 {
3434
margin-bottom: 16px;
3535
}
3636

37+
a:hover,
38+
a:link,
39+
a:visited {
40+
color: #80CEF4;
41+
}
42+
3743
.mx_ContextualMenu_background {
3844
position: fixed;
3945
top: 0;

‎src/skins/vector/css/molecules/MessageTile.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ limitations under the License.
7272
}
7373

7474
.mx_MessageTile_highlight {
75-
color: #00f;
75+
color: #FF0064;
7676
}
7777

7878
.mx_MessageTile_msgOption {

‎src/skins/vector/css/molecules/RoomHeader.css‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,16 @@ limitations under the License.
116116
margin-top: -5px;
117117
}
118118

119-
.mx_RoomHeader_nameInput {
119+
.mx_RoomHeader_name input, .mx_RoomHeader_nameInput {
120120
border-radius: 3px;
121121
width: 260px;
122122
border: 1px solid #c7c7c7;
123123
font-weight: 300;
124124
font-size: 14px;
125125
padding: 9px;
126+
}
127+
128+
.mx_RoomHeader_nameInput {
126129
margin-top: 6px;
127130
}
128131

‎src/skins/vector/css/organisms/RoomView.css‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ limitations under the License.
106106
flex: 1 1 0;
107107

108108
width: 100%;
109-
margin-top: 18px;
110-
margin-bottom: 18px;
111109

112110
overflow-y: auto;
113111
}

‎src/skins/vector/views/atoms/MessageTimestamp.js‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,20 @@ module.exports = React.createClass({
2424
displayName: 'MessageTimestamp',
2525
mixins: [MessageTimestampController],
2626

27+
formatDate: function(date) {
28+
// date.toLocaleTimeString is completely system dependent.
29+
// just go 24h for now
30+
function pad(n) {
31+
return (n < 10 ? '0' : '') + n;
32+
}
33+
return pad(date.getHours()) + ':' + pad(date.getMinutes());
34+
},
35+
2736
render: function() {
2837
var date = new Date(this.props.ts);
2938
return (
3039
<span className="mx_MessageTimestamp">
31-
{date.toLocaleTimeString()}
40+
{ this.formatDate(date) }
3241
</span>
3342
);
3443
},

0 commit comments

Comments
 (0)