Commit 7fbe9daf authored by Madhur's avatar Madhur

relative url

parent 077d2c62
body body
{ {
background: #222222 url("/img/black_linen_v2.png") repeat; background: #222222 url("img/black_linen_v2.png") repeat;
color: #aaaaaa; color: #aaaaaa;
} }
...@@ -27,7 +27,7 @@ display: inline-block; ...@@ -27,7 +27,7 @@ display: inline-block;
width: 23px; width: 23px;
height: 23px; height: 23px;
vertical-align: text-top; vertical-align: text-top;
background: url('/img/IconsetW.png') -10px -4px/42px 1171px no-repeat; background: url('img/IconsetW.png') -10px -4px/42px 1171px no-repeat;
opacity: 0.8; opacity: 0.8;
} }
...@@ -109,11 +109,11 @@ opacity: 1; ...@@ -109,11 +109,11 @@ opacity: 1;
display: inline-block; display: inline-block;
width: 24px; width: 24px;
height: 29px; height: 29px;
background: url('/img/IconsetSmiles.png') no-repeat; background: url('img/IconsetSmiles.png') no-repeat;
background-size: 42px 350px; background-size: 42px 350px;
} }
.is_1x .emoji-menu-tabs .emoji-menu-tab { .is_1x .emoji-menu-tabs .emoji-menu-tab {
background-image: url('/img/IconsetSmiles_1x.png'); background-image: url('img/IconsetSmiles_1x.png');
} }
.emoji-menu-tabs .icon-recent {background-position: -9px -306px; } .emoji-menu-tabs .icon-recent {background-position: -9px -306px; }
......
...@@ -6,7 +6,7 @@ emojiApp.config(function($sceProvider) ...@@ -6,7 +6,7 @@ emojiApp.config(function($sceProvider)
{ {
$sceProvider.enabled(false); $sceProvider.enabled(false);
var icons = {}, var icons = {},
reverseIcons = {}, reverseIcons = {},
i, j, hex, name, dataItem, row, column, totalColumns; i, j, hex, name, dataItem, row, column, totalColumns;
...@@ -27,7 +27,7 @@ emojiApp.config(function($sceProvider) ...@@ -27,7 +27,7 @@ emojiApp.config(function($sceProvider)
} }
} }
$.emojiarea.spritesheetPath = '/img/emojisprite_!.png'; $.emojiarea.spritesheetPath = 'img/emojisprite_!.png';
$.emojiarea.spritesheetDimens = Config.EmojiCategorySpritesheetDimens; $.emojiarea.spritesheetDimens = Config.EmojiCategorySpritesheetDimens;
$.emojiarea.iconSize = 20; $.emojiarea.iconSize = 20;
$.emojiarea.icons = icons; $.emojiarea.icons = icons;
......
...@@ -274,7 +274,7 @@ ...@@ -274,7 +274,7 @@
+ xoffset + 'px ' + yoffset + 'px no-repeat;'; + xoffset + 'px ' + yoffset + 'px no-repeat;';
style += 'background-size:' + scaledWidth + 'px ' + scaledHeight style += 'background-size:' + scaledWidth + 'px ' + scaledHeight
+ 'px;'; + 'px;';
return '<img src="/img/blank.gif" class="img" style="' return '<img src="img/blank.gif" class="img" style="'
+ style + '" alt="' + util.htmlEntities(name) + '">'; + style + '" alt="' + util.htmlEntities(name) + '">';
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment