Skip to content

Commit ca0d8e4

Browse files
author
Luke Barnard
committed
Merge branch 'develop' of github.com:vector-im/riot-web into develop
2 parents ae1a5a5 + e405d6c commit ca0d8e4

7 files changed

Lines changed: 57 additions & 5 deletions

File tree

‎config.sample.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"integrations_rest_url": "https://scalar.vector.im/api",
77
"bug_report_endpoint_url": "https://riot.im/bugreports/submit",
88
"enableLabs": true,
9+
"default_federate": true,
910
"roomDirectory": {
1011
"servers": [
1112
"matrix.org"

‎scripts/copy-res.js‎

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,15 @@ function genLangFile(lang, dest) {
160160
let translations = {};
161161
[reactSdkFile, riotWebFile].forEach(function(f) {
162162
if (fs.existsSync(f)) {
163-
Object.assign(
164-
translations,
165-
JSON.parse(fs.readFileSync(f).toString())
166-
);
163+
try {
164+
Object.assign(
165+
translations,
166+
JSON.parse(fs.readFileSync(f).toString())
167+
);
168+
} catch (e) {
169+
console.error("Failed: "+f, e);
170+
throw e;
171+
}
167172
}
168173
});
169174

‎src/i18n/strings/be.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,5 @@
7272
"Source URL": "URL-адрас крыніцы",
7373
"The Home Server may be too old to support third party networks": "Хатні сервер можа быць занадта стары для падтрымкі іншых сетак",
7474
"There are advanced notifications which are not shown here": "Ёсць пашыраныя апавяшчэння, якія не паказаныя тут",
75-
"The server may be unavailable or overloaded": "Сервер можа быць недаступны ці перагружаны",
75+
"The server may be unavailable or overloaded": "Сервер можа быць недаступны ці перагружаны"
7676
}

‎src/skins/vector/css/_components.scss‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
@import "./matrix-react-sdk/views/dialogs/_ChatInviteDialog.scss";
2121
@import "./matrix-react-sdk/views/dialogs/_ConfirmUserActionDialog.scss";
2222
@import "./matrix-react-sdk/views/dialogs/_CreateGroupDialog.scss";
23+
@import "./matrix-react-sdk/views/dialogs/_CreateRoomDialog.scss";
2324
@import "./matrix-react-sdk/views/dialogs/_EncryptedEventDialog.scss";
2425
@import "./matrix-react-sdk/views/dialogs/_QuestionDialog.scss";
2526
@import "./matrix-react-sdk/views/dialogs/_SetMxIdDialog.scss";

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ limitations under the License.
6767
margin-bottom: 14px;
6868
}
6969

70+
.mx_Login_field_disabled {
71+
opacity: 0.3;
72+
}
73+
7074
.mx_Login_fieldLabel {
7175
margin-top: -10px;
7276
margin-left: 8px;
@@ -87,6 +91,10 @@ limitations under the License.
8791
color: $accent-fg-color;
8892
}
8993

94+
.mx_Login_submit:disabled {
95+
opacity: 0.3;
96+
}
97+
9098
.mx_Login_label {
9199
font-size: 13px;
92100
opacity: 0.8;
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/*
2+
Copyright 2017 Michael Telatynski <7t3chguy@gmail.com>
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
17+
.mx_CreateRoomDialog_details_summary {
18+
outline: none;
19+
}
20+
21+
.mx_CreateRoomDialog_label {
22+
text-align: left;
23+
padding-bottom: 12px;
24+
}
25+
26+
.mx_CreateRoomDialog_input {
27+
font-size: 15px;
28+
border-radius: 3px;
29+
border: 1px solid $input-border-color;
30+
padding: 9px;
31+
color: $primary-fg-color;
32+
background-color: $primary-bg-color;
33+
}

‎src/skins/vector/css/matrix-react-sdk/views/elements/_Dropdown.scss‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ limitations under the License.
1818
position: relative;
1919
}
2020

21+
.mx_Dropdown_disabled {
22+
opacity: 0.3;
23+
}
24+
2125
.mx_Dropdown_input {
2226
position: relative;
2327
border-radius: 3px;

0 commit comments

Comments
 (0)