Merge remote-tracking branch 'origin/develop' into release-v0.9.8

This commit is contained in:
David Baker 2017-04-10 16:55:02 +01:00
commit ea0c41a9f8
7 changed files with 19 additions and 5 deletions

View File

@ -138,7 +138,7 @@
"build": { "build": {
"appId": "im.riot.app", "appId": "im.riot.app",
"category": "Network", "category": "Network",
"electronVersion": "1.4.14", "electronVersion": "1.6.2",
"//asar=false": "https://github.com/electron-userland/electron-builder/issues/675", "//asar=false": "https://github.com/electron-userland/electron-builder/issues/675",
"asar": false, "asar": false,
"dereference": true, "dereference": true,

View File

@ -133,10 +133,17 @@ limitations under the License.
.mx_EventTile_redacted .mx_EventTile_line .mx_UnknownBody { .mx_EventTile_redacted .mx_EventTile_line .mx_UnknownBody {
display: block; display: block;
width: 100%; width: 100%;
max-width: 300px; height: 73px;
height: 24px; background-image: $event-redacted-img;
border-radius: 4px; background-repeat: no-repeat;
background-color: black; }
.mx_EventTile.mx_EventTile_redacted .mx_EventTile_line {
/*
Prevent changing colour of the background because
$event-redacted-img matches $primary-bg-color
*/
background-color: initial !important;
} }
.mx_EventTile_highlight, .mx_EventTile_highlight,

View File

@ -93,6 +93,9 @@ $event-encrypting-color: #abddbc;
$event-sending-color: #ddd; $event-sending-color: #ddd;
$event-notsent-color: #f44; $event-notsent-color: #f44;
// event redaction
$event-redacted-img: url('../../img/redacted.jpg');
// event timestamp // event timestamp
$event-timestamp-color: #acacac; $event-timestamp-color: #acacac;

View File

@ -93,6 +93,9 @@ $event-encrypting-color: rgba(171, 221, 188, 0.4);
$event-sending-color: #888; $event-sending-color: #888;
$event-notsent-color: #f44; $event-notsent-color: #f44;
// event redaction
$event-redacted-img: url('../../img/redacted-dark.jpg');
// event timestamp // event timestamp
$event-timestamp-color: #acacac; $event-timestamp-color: #acacac;

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@ -488,6 +488,7 @@ module.exports = {
text: ( text: (
userText || "User did not supply any additional text." userText || "User did not supply any additional text."
), ),
app: 'riot-web',
version: version, version: version,
user_agent: userAgent, user_agent: userAgent,
}, },