mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
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:
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user