Skip to content

Commit fdf5b0a

Browse files
committed
Merge branch 'develop' into push-rules-settings
# Conflicts: # src/skins/vector/css/matrix-react-sdk/structures/UserSettings.css
2 parents 7c0fffa + 0ef03c5 commit fdf5b0a

22 files changed

Lines changed: 384 additions & 102 deletions

‎src/components/structures/BottomLeftMenu.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ module.exports = React.createClass({
5050
return (
5151
<div className="mx_BottomLeftMenu">
5252
<div className="mx_BottomLeftMenu_options">
53-
<BottomLeftMenuTile collapsed={ this.props.collapsed } img="img/create-big.svg" label="Create new room" onClick={ this.onCreateRoomClick }/>
53+
<BottomLeftMenuTile collapsed={ this.props.collapsed } img="img/create-big.svg" label="Start chat" onClick={ this.onCreateRoomClick }/>
5454
<BottomLeftMenuTile collapsed={ this.props.collapsed } img="img/directory-big.svg" label="Directory" onClick={ this.onRoomDirectoryClick }/>
5555
<BottomLeftMenuTile collapsed={ this.props.collapsed } img="img/settings-big.svg" label="Settings" onClick={ this.onSettingsClick }/>
5656
</div>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ a:visited {
5252
color: #76cfa6;
5353
}
5454

55-
input[type=text]:focus, textarea:focus, .mx_RoomSettings textarea:focus {
55+
input[type=text]:focus, textarea:focus {
5656
border: 1px solid #76CFA6;
5757
outline: none;
5858
box-shadow: none;

‎src/skins/vector/css/matrix-react-sdk/structures/RoomView.css‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ limitations under the License.
4444
min-width: 0px;
4545
max-width: 960px;
4646
width: 100%;
47-
font-size: 20px;
47+
font-size: 18px;
4848
text-align: center;
4949

5050
pointer-events: none;
@@ -164,9 +164,19 @@ limitations under the License.
164164
margin-bottom: 12px;
165165
}
166166

167+
li.mx_RoomView_myReadMarker_container {
168+
height: 0px;
169+
margin: 0px;
170+
padding: 0px;
171+
border: 0px;
172+
}
173+
167174
hr.mx_RoomView_myReadMarker {
168175
border-top: solid 1px #76cfa6;
169-
border-bottom: none;
176+
border-bottom: solid 1px #76cfa6;
177+
margin-top: 0px;
178+
position: relative;
179+
top: 5px;
170180
}
171181

172182
.mx_RoomView_statusArea {

‎src/skins/vector/css/matrix-react-sdk/structures/UserSettings.css‎

Lines changed: 45 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,38 @@ limitations under the License.
1818
width: 960px;
1919
margin-left: auto;
2020
margin-right: auto;
21-
overflow-y: auto;
21+
22+
display: -webkit-box;
23+
display: -moz-box;
24+
display: -ms-flexbox;
25+
display: -webkit-flex;
26+
display: flex;
27+
flex-direction: column;
28+
-webkit-flex-direction: column;
29+
}
30+
31+
.mx_UserSettings .mx_RoomHeader {
32+
-webkit-box-ordinal-group: 1;
33+
-moz-box-ordinal-group: 1;
34+
-ms-flex-order: 1;
35+
-webkit-order: 1;
36+
order: 1;
37+
38+
-webkit-flex: 0 0 83px;
39+
flex: 0 0 83px;
40+
}
41+
42+
.mx_UserSettings_body {
43+
-webkit-box-ordinal-group: 2;
44+
-moz-box-ordinal-group: 2;
45+
-ms-flex-order: 2;
46+
-webkit-order: 2;
47+
order: 2;
48+
49+
-webkit-flex: 1 1 0;
50+
flex: 1 1 0;
51+
52+
overflow-y: auto;
2253
}
2354

2455
.mx_UserSettings_spinner {
@@ -33,7 +64,6 @@ limitations under the License.
3364
display: inline;
3465
vertical-align: middle;
3566
border: 0px;
36-
height: 36px;
3767
border-radius: 36px;
3868
font-weight: 400;
3969
font-size: 16px;
@@ -103,6 +133,7 @@ limitations under the License.
103133
.mx_UserSettings_profileInputCell input,
104134
.mx_UserSettings_profileInputCell .mx_EditableText
105135
{
136+
display: inline-block;
106137
border: 0px;
107138
border-bottom: 1px solid rgba(151, 151, 151, 0.5);
108139
padding: 0px;
@@ -113,37 +144,27 @@ limitations under the License.
113144
}
114145

115146
.mx_UserSettings_logout {
116-
margin-right: 24px;
117-
margin-bottom: 24px;
118-
margin-left: 63px;
147+
float: right;
148+
margin-right: 32px;
149+
margin-left: 32px;
119150
}
120151

121152
.mx_UserSettings_avatarPicker {
122-
width: 320px;
153+
margin-left: 32px;
154+
margin-right: 32px;
123155
float: right;
156+
cursor: pointer;
157+
}
158+
159+
.mx_UserSettings_avatarPicker .mx_RoomAvatar {
160+
border-radius: 40px;
124161
}
125162

126163
.mx_UserSettings_avatarPicker_edit {
127-
position: relative;
128-
left: 50%;
129-
display: inline-block;
164+
text-align: center;
130165
margin-top: 10px;
131166
}
132167

133-
.mx_UserSettings_avatarPicker_edit > input{
168+
.mx_UserSettings_avatarPicker_edit > input {
134169
display: none;
135170
}
136-
137-
.mx_UserSettings_avatarPicker_edit > label {
138-
cursor: pointer;
139-
}
140-
141-
.mx_UserSettings_avatarPicker_img {
142-
margin: 0 auto;
143-
width: 75%;
144-
}
145-
146-
.mx_UserSettings_avatarPicker_img > img {
147-
display: block;
148-
margin: 0 auto;
149-
}

‎src/skins/vector/css/matrix-react-sdk/structures/login/Login.css‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,15 @@ limitations under the License.
105105
color: #4a4a4a;
106106
}
107107

108+
.mx_Login_forgot {
109+
font-size: 13px;
110+
opacity: 0.8;
111+
}
112+
113+
.mx_Login_forgot:link {
114+
color: #4a4a4a;
115+
}
116+
108117
.mx_Login_loader {
109118
position: absolute;
110119
left: 50%;

src/skins/vector/css/matrix-react-sdk/views/avatars/MemberAvatar.css renamed to src/skins/vector/css/matrix-react-sdk/views/avatars/BaseAvatar.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
.mx_MemberAvatar {
17+
.mx_BaseAvatar {
1818
position: relative;
1919
}
2020

21-
.mx_MemberAvatar_initial {
21+
.mx_BaseAvatar_initial {
2222
position: absolute;
2323
z-index: 1;
2424
color: #fff;
@@ -27,7 +27,7 @@ limitations under the License.
2727
pointer-events: none;
2828
}
2929

30-
.mx_MemberAvatar_image {
30+
.mx_BaseAvatar_image {
3131
border-radius: 20px;
3232
vertical-align: top;
3333
}

‎src/skins/vector/css/matrix-react-sdk/views/rooms/EventTile.css‎

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,6 @@ limitations under the License.
5858
position: relative;
5959
}
6060

61-
.mx_EventTile_content {
62-
padding-right: 100px;
63-
display: block;
64-
}
65-
6661
.mx_EventTile_content {
6762
display: block;
6863
margin-right: 100px;
@@ -94,7 +89,7 @@ limitations under the License.
9489
}
9590

9691
.mx_EventTile_content .markdown-body .hljs {
97-
display: inherit ! important;
92+
display: inline ! important;
9893
}
9994

10095
/* end of overrides */
@@ -135,8 +130,8 @@ limitations under the License.
135130
z-index: 1;
136131
position: relative;
137132
width: 90px;
133+
height: 1px; /* Hack to stop the height of this pushing the messages apart. Replaces marigin-top: -6px. This interacts better with a read marker being in between. Content overflows. */
138134
margin-right: 10px;
139-
margin-top: -6px;
140135
}
141136

142137
.mx_EventTile .mx_MessageTimestamp {
@@ -178,7 +173,7 @@ limitations under the License.
178173
height: 14px;
179174
}
180175

181-
.mx_EventTile_readAvatars .mx_MemberAvatar {
176+
.mx_EventTile_readAvatars .mx_BaseAvatar {
182177
position: absolute;
183178
display: inline-block;
184179
}

‎src/skins/vector/css/matrix-react-sdk/views/rooms/MemberInfo.css‎

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,19 @@ limitations under the License.
3636
border-radius: 48px;
3737
}
3838

39+
.mx_MemberInfo_profile {
40+
margin-bottom: 16px;
41+
}
42+
43+
.mx_MemberInfo h3 {
44+
text-transform: uppercase;
45+
color: #3d3b39;
46+
font-weight: 600;
47+
font-size: 13px;
48+
margin-top: 16px;
49+
margin-bottom: 14px;
50+
}
51+
3952
.mx_MemberInfo_profileField {
4053
font-color: #999999;
4154
font-size: 13px;
@@ -44,21 +57,13 @@ limitations under the License.
4457
}
4558

4659
.mx_MemberInfo_buttons {
47-
margin-top: 18px;
60+
margin-bottom: 16px;
4861
}
4962

5063
.mx_MemberInfo_field {
5164
cursor: pointer;
52-
width: 100px;
53-
text-align: center;
54-
font-size: 11px;
55-
background-color: #888;
56-
color: #fff;
57-
font-weight: bold;
58-
border-radius: 20px;
59-
padding-left: 6px;
60-
padding-right: 6px;
61-
padding-top: 4px;
62-
padding-bottom: 2px;
63-
margin-bottom: 4px;
65+
font-size: 13px;
66+
color: #76cfa6;
67+
margin-left: 8px;
68+
line-height: 23px;
6469
}

‎src/skins/vector/css/matrix-react-sdk/views/rooms/MemberTile.css‎

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ limitations under the License.
3535

3636
.mx_MemberTile_power {
3737
position: absolute;
38-
width: 44px;
39-
height: 44px;
40-
left: 10px;
41-
top: -1px;
38+
width: 16px;
39+
height: 17px;
40+
top: 0px;
41+
right: 6px;
4242
}
4343

4444
.mx_MemberTile_name {
@@ -60,11 +60,6 @@ limitations under the License.
6060
text-overflow: ellipsis;
6161
}
6262

63-
.mx_MemberTile_presence {
64-
font-size: 11px;
65-
opacity: 0.5;
66-
}
67-
6863
.mx_MemberTile_chevron {
6964
margin-top: 8px;
7065
margin-right: -4px;

‎src/skins/vector/css/matrix-react-sdk/views/rooms/MessageComposer.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ limitations under the License.
3333
vertical-align: middle;
3434
}
3535

36-
.mx_MessageComposer .mx_MessageComposer_avatar .mx_MemberAvatar {
36+
.mx_MessageComposer .mx_MessageComposer_avatar .mx_BaseAvatar {
3737
display: block;
3838
}
3939

0 commit comments

Comments
 (0)