Fix file icons on android theme

In android (non dark) theme incoming file attachments were all rendering the
generic file icon instead of media-type-specific icons.

// FREEBIE
This commit is contained in:
lilia 2017-05-18 18:17:31 -07:00 committed by Scott Nonnenberg
parent 3a3aa3efb6
commit 333ed3bc17
No known key found for this signature in database
GPG Key ID: A4931C09644C654B
2 changed files with 21 additions and 0 deletions

View File

@ -50,6 +50,15 @@
.incoming .bubble .fileView .icon {
@include color-svg('../images/file.svg', white);
&.audio {
@include color-svg('../images/audio.svg', white);
}
&.video {
@include color-svg('../images/video.svg', white);
}
&.voice {
@include color-svg('../images/voice.svg', white);
}
}
button.clock {

View File

@ -2137,6 +2137,18 @@ li.entry .error-icon-container {
-webkit-mask: url("../images/file.svg") no-repeat center;
-webkit-mask-size: 100%;
background-color: white; }
.android .incoming .bubble .fileView .icon.audio {
-webkit-mask: url("../images/audio.svg") no-repeat center;
-webkit-mask-size: 100%;
background-color: white; }
.android .incoming .bubble .fileView .icon.video {
-webkit-mask: url("../images/video.svg") no-repeat center;
-webkit-mask-size: 100%;
background-color: white; }
.android .incoming .bubble .fileView .icon.voice {
-webkit-mask: url("../images/voice.svg") no-repeat center;
-webkit-mask-size: 100%;
background-color: white; }
.android button.clock {
-webkit-mask: url("../images/clock.svg") no-repeat center;