diff --git a/js/views/file_input_view.js b/js/views/file_input_view.js index 40597a895593..3c4ee9440b56 100644 --- a/js/views/file_input_view.js +++ b/js/views/file_input_view.js @@ -131,7 +131,7 @@ this.addThumb(this.oUrl); break; default: - this.addThumb('/images/file.svg'); break; + this.addThumb('../images/file.svg'); break; } this.autoScale(file).then(function(blob) { diff --git a/stylesheets/_android.scss b/stylesheets/_android.scss index 30cd0579aae8..2b7038f77300 100644 --- a/stylesheets/_android.scss +++ b/stylesheets/_android.scss @@ -49,7 +49,7 @@ } .incoming .bubble .fileView .icon { - @include color-svg('/images/file.svg', white); + @include color-svg('../images/file.svg', white); } button.clock { diff --git a/stylesheets/_ios.scss b/stylesheets/_ios.scss index 1d84f3c54f65..013772f971fd 100644 --- a/stylesheets/_ios.scss +++ b/stylesheets/_ios.scss @@ -206,15 +206,15 @@ $ios-border-color: rgba(0,0,0,0.1); } .outgoing .attachments .fileView .icon { - @include color-svg('/images/file.svg', white); + @include color-svg('../images/file.svg', white); &.audio { - @include color-svg('/images/audio.svg', white); + @include color-svg('../images/audio.svg', white); } &.video { - @include color-svg('/images/video.svg', white); + @include color-svg('../images/video.svg', white); } &.voice { - @include color-svg('/images/voice.svg', white); + @include color-svg('../images/voice.svg', white); } } diff --git a/stylesheets/android-dark.scss b/stylesheets/android-dark.scss index 1e182599a3d8..0476d010f208 100644 --- a/stylesheets/android-dark.scss +++ b/stylesheets/android-dark.scss @@ -196,28 +196,28 @@ $text-dark_l2: darken($text-dark, 30%); } .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); + @include color-svg('../images/audio.svg', white); } &.video { - @include color-svg('/images/video.svg', white); + @include color-svg('../images/video.svg', white); } &.voice { - @include color-svg('/images/voice.svg', white); + @include color-svg('../images/voice.svg', white); } } .outgoing .bubble .fileView .icon { - @include color-svg('/images/file.svg', #CCCCCC); + @include color-svg('../images/file.svg', #CCCCCC); &.audio { - @include color-svg('/images/audio.svg', #CCCCCC); + @include color-svg('../images/audio.svg', #CCCCCC); } &.video { - @include color-svg('/images/video.svg', #CCCCCC); + @include color-svg('../images/video.svg', #CCCCCC); } &.voice { - @include color-svg('/images/voice.svg', #CCCCCC); + @include color-svg('../images/voice.svg', #CCCCCC); } } diff --git a/stylesheets/manifest.css b/stylesheets/manifest.css index 06d20f57dc78..76e43871bb49 100644 --- a/stylesheets/manifest.css +++ b/stylesheets/manifest.css @@ -1958,19 +1958,19 @@ li.entry .error-icon-container { color: #454545; } .ios .outgoing .attachments .fileView .icon { - -webkit-mask: url("/images/file.svg") no-repeat center; + -webkit-mask: url("../images/file.svg") no-repeat center; -webkit-mask-size: 100%; background-color: white; } .ios .outgoing .attachments .fileView .icon.audio { - -webkit-mask: url("/images/audio.svg") no-repeat center; + -webkit-mask: url("../images/audio.svg") no-repeat center; -webkit-mask-size: 100%; background-color: white; } .ios .outgoing .attachments .fileView .icon.video { - -webkit-mask: url("/images/video.svg") no-repeat center; + -webkit-mask: url("../images/video.svg") no-repeat center; -webkit-mask-size: 100%; background-color: white; } .ios .outgoing .attachments .fileView .icon.voice { - -webkit-mask: url("/images/voice.svg") no-repeat center; + -webkit-mask: url("../images/voice.svg") no-repeat center; -webkit-mask-size: 100%; background-color: white; } @@ -2134,7 +2134,7 @@ li.entry .error-icon-container { color: #f3f3f3; } .android .incoming .bubble .fileView .icon { - -webkit-mask: url("/images/file.svg") no-repeat center; + -webkit-mask: url("../images/file.svg") no-repeat center; -webkit-mask-size: 100%; background-color: white; } @@ -2428,35 +2428,35 @@ li.entry .error-icon-container { .android-dark .incoming .bubble .content a { color: #f3f3f3; } .android-dark .incoming .bubble .fileView .icon { - -webkit-mask: url("/images/file.svg") no-repeat center; + -webkit-mask: url("../images/file.svg") no-repeat center; -webkit-mask-size: 100%; background-color: white; } .android-dark .incoming .bubble .fileView .icon.audio { - -webkit-mask: url("/images/audio.svg") no-repeat center; + -webkit-mask: url("../images/audio.svg") no-repeat center; -webkit-mask-size: 100%; background-color: white; } .android-dark .incoming .bubble .fileView .icon.video { - -webkit-mask: url("/images/video.svg") no-repeat center; + -webkit-mask: url("../images/video.svg") no-repeat center; -webkit-mask-size: 100%; background-color: white; } .android-dark .incoming .bubble .fileView .icon.voice { - -webkit-mask: url("/images/voice.svg") no-repeat center; + -webkit-mask: url("../images/voice.svg") no-repeat center; -webkit-mask-size: 100%; background-color: white; } .android-dark .outgoing .bubble .fileView .icon { - -webkit-mask: url("/images/file.svg") no-repeat center; + -webkit-mask: url("../images/file.svg") no-repeat center; -webkit-mask-size: 100%; background-color: #CCCCCC; } .android-dark .outgoing .bubble .fileView .icon.audio { - -webkit-mask: url("/images/audio.svg") no-repeat center; + -webkit-mask: url("../images/audio.svg") no-repeat center; -webkit-mask-size: 100%; background-color: #CCCCCC; } .android-dark .outgoing .bubble .fileView .icon.video { - -webkit-mask: url("/images/video.svg") no-repeat center; + -webkit-mask: url("../images/video.svg") no-repeat center; -webkit-mask-size: 100%; background-color: #CCCCCC; } .android-dark .outgoing .bubble .fileView .icon.voice { - -webkit-mask: url("/images/voice.svg") no-repeat center; + -webkit-mask: url("../images/voice.svg") no-repeat center; -webkit-mask-size: 100%; background-color: #CCCCCC; } .android-dark button.clock {