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:
parent
3a3aa3efb6
commit
333ed3bc17
2 changed files with 21 additions and 0 deletions
|
@ -50,6 +50,15 @@
|
||||||
|
|
||||||
.incoming .bubble .fileView .icon {
|
.incoming .bubble .fileView .icon {
|
||||||
@include color-svg('../images/file.svg', white);
|
@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 {
|
button.clock {
|
||||||
|
|
|
@ -2137,6 +2137,18 @@ li.entry .error-icon-container {
|
||||||
-webkit-mask: url("../images/file.svg") no-repeat center;
|
-webkit-mask: url("../images/file.svg") no-repeat center;
|
||||||
-webkit-mask-size: 100%;
|
-webkit-mask-size: 100%;
|
||||||
background-color: white; }
|
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 {
|
.android button.clock {
|
||||||
-webkit-mask: url("../images/clock.svg") no-repeat center;
|
-webkit-mask: url("../images/clock.svg") no-repeat center;
|
||||||
|
|
Loading…
Reference in a new issue