Fix relative paths

// FREEBIE
This commit is contained in:
lilia 2017-05-12 10:54:08 -07:00 committed by Scott Nonnenberg
parent 2a7993309a
commit a2b2bd4bf3
No known key found for this signature in database
GPG key ID: A4931C09644C654B
5 changed files with 27 additions and 27 deletions

View file

@ -131,7 +131,7 @@
this.addThumb(this.oUrl); this.addThumb(this.oUrl);
break; break;
default: default:
this.addThumb('/images/file.svg'); break; this.addThumb('../images/file.svg'); break;
} }
this.autoScale(file).then(function(blob) { this.autoScale(file).then(function(blob) {

View file

@ -49,7 +49,7 @@
} }
.incoming .bubble .fileView .icon { .incoming .bubble .fileView .icon {
@include color-svg('/images/file.svg', white); @include color-svg('../images/file.svg', white);
} }
button.clock { button.clock {

View file

@ -206,15 +206,15 @@ $ios-border-color: rgba(0,0,0,0.1);
} }
.outgoing .attachments .fileView .icon { .outgoing .attachments .fileView .icon {
@include color-svg('/images/file.svg', white); @include color-svg('../images/file.svg', white);
&.audio { &.audio {
@include color-svg('/images/audio.svg', white); @include color-svg('../images/audio.svg', white);
} }
&.video { &.video {
@include color-svg('/images/video.svg', white); @include color-svg('../images/video.svg', white);
} }
&.voice { &.voice {
@include color-svg('/images/voice.svg', white); @include color-svg('../images/voice.svg', white);
} }
} }

View file

@ -196,28 +196,28 @@ $text-dark_l2: darken($text-dark, 30%);
} }
.incoming .bubble .fileView .icon{ .incoming .bubble .fileView .icon{
@include color-svg('/images/file.svg', white); @include color-svg('../images/file.svg', white);
&.audio { &.audio {
@include color-svg('/images/audio.svg', white); @include color-svg('../images/audio.svg', white);
} }
&.video { &.video {
@include color-svg('/images/video.svg', white); @include color-svg('../images/video.svg', white);
} }
&.voice { &.voice {
@include color-svg('/images/voice.svg', white); @include color-svg('../images/voice.svg', white);
} }
} }
.outgoing .bubble .fileView .icon { .outgoing .bubble .fileView .icon {
@include color-svg('/images/file.svg', #CCCCCC); @include color-svg('../images/file.svg', #CCCCCC);
&.audio { &.audio {
@include color-svg('/images/audio.svg', #CCCCCC); @include color-svg('../images/audio.svg', #CCCCCC);
} }
&.video { &.video {
@include color-svg('/images/video.svg', #CCCCCC); @include color-svg('../images/video.svg', #CCCCCC);
} }
&.voice { &.voice {
@include color-svg('/images/voice.svg', #CCCCCC); @include color-svg('../images/voice.svg', #CCCCCC);
} }
} }

View file

@ -1958,19 +1958,19 @@ li.entry .error-icon-container {
color: #454545; } color: #454545; }
.ios .outgoing .attachments .fileView .icon { .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%; -webkit-mask-size: 100%;
background-color: white; } background-color: white; }
.ios .outgoing .attachments .fileView .icon.audio { .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%; -webkit-mask-size: 100%;
background-color: white; } background-color: white; }
.ios .outgoing .attachments .fileView .icon.video { .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%; -webkit-mask-size: 100%;
background-color: white; } background-color: white; }
.ios .outgoing .attachments .fileView .icon.voice { .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%; -webkit-mask-size: 100%;
background-color: white; } background-color: white; }
@ -2134,7 +2134,7 @@ li.entry .error-icon-container {
color: #f3f3f3; } color: #f3f3f3; }
.android .incoming .bubble .fileView .icon { .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%; -webkit-mask-size: 100%;
background-color: white; } background-color: white; }
@ -2428,35 +2428,35 @@ li.entry .error-icon-container {
.android-dark .incoming .bubble .content a { .android-dark .incoming .bubble .content a {
color: #f3f3f3; } color: #f3f3f3; }
.android-dark .incoming .bubble .fileView .icon { .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%; -webkit-mask-size: 100%;
background-color: white; } background-color: white; }
.android-dark .incoming .bubble .fileView .icon.audio { .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%; -webkit-mask-size: 100%;
background-color: white; } background-color: white; }
.android-dark .incoming .bubble .fileView .icon.video { .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%; -webkit-mask-size: 100%;
background-color: white; } background-color: white; }
.android-dark .incoming .bubble .fileView .icon.voice { .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%; -webkit-mask-size: 100%;
background-color: white; } background-color: white; }
.android-dark .outgoing .bubble .fileView .icon { .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%; -webkit-mask-size: 100%;
background-color: #CCCCCC; } background-color: #CCCCCC; }
.android-dark .outgoing .bubble .fileView .icon.audio { .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%; -webkit-mask-size: 100%;
background-color: #CCCCCC; } background-color: #CCCCCC; }
.android-dark .outgoing .bubble .fileView .icon.video { .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%; -webkit-mask-size: 100%;
background-color: #CCCCCC; } background-color: #CCCCCC; }
.android-dark .outgoing .bubble .fileView .icon.voice { .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%; -webkit-mask-size: 100%;
background-color: #CCCCCC; } background-color: #CCCCCC; }
.android-dark button.clock { .android-dark button.clock {