You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
11 KiB
75 lines
11 KiB
/*
|
|
* Symbolset
|
|
* www.symbolset.com
|
|
* Copyright © 2012 Oak Studios LLC
|
|
*
|
|
* Upload this file to your web server
|
|
* and place this before the closing </body> tag.
|
|
* <script src="webfonts/ss-standard.js"></script>
|
|
*/
|
|
|
|
if (/(MSIE [7-9]\.|Opera.*Version\/(10\.[5-9]|(11|12)\.)|Chrome\/([1-9]|10)\.|Version\/[2-4][\.0-9]+ Safari\/|Version\/(4\.0\.[4-9]|4\.[1-9]|5\.0)[\.0-9]+? Mobile\/.*Safari\/|Android [1-2]\.)/.test(navigator.userAgent)) {
|
|
|
|
var ss_set={'notifications disabled':'\uD83D\uDD15','notificationsdisabled':'\uD83D\uDD15','notification disabled':'\uD83D\uDD15','notificationdisabled':'\uD83D\uDD15','telephone disabled':'\uE300','telephonedisabled':'\uE300','writing disabled':'\uE071','calendar remove':'\uF071','pencil disabled':'\uE071','writingdisabled':'\uE071','delete calendar':'\uF073','calendar delete':'\uF073','remove calendar':'\uF071','check calendar':'\uF072','pencildisabled':'\uE071','deletecalendar':'\uF073','navigate right':'\u25BB','calendardelete':'\uF073','cloud download':'\uEB00','phone disabled':'\uE300','calendar check':'\uF072','removecalendar':'\uF071','medium battery':'\uEA11','calendarremove':'\uF071','battery medium':'\uEA11','female avatar':'\uD83D\uDC67','notifications':'\uD83D\uDD14','navigate left':'\u25C5','clouddownload':'\uEB00','navigate down':'\uF501','bell disabled':'\uD83D\uDD15','shopping cart':'\uE500','phonedisabled':'\uE300','calendarcheck':'\uF072','call disabled':'\uE300','empty battery':'\uEA13','navigateright':'\u25BB','mediumbattery':'\uEA11','battery empty':'\uEA13','batterymedium':'\uEA11','checkcalendar':'\uF072','direct right':'\u25B9','high battery':'\uEA10','calldisabled':'\uE300','notification':'\uD83D\uDD14','rotate right':'\u21BB','navigatedown':'\uF501','navigateleft':'\u25C5','femaleavatar':'\uD83D\uDC67','batteryempty':'\uEA13','emptybattery':'\uEA13','battery high':'\uEA10','shoppingcart':'\uE500','fast forward':'\u23E9','cloud upload':'\uEB40','full battery':'\uD83D\uDD0B','belldisabled':'\uD83D\uDD15','skip forward':'\u23ED','battery full':'\uD83D\uDD0B','add calendar':'\uF070','calendar add':'\uF070','mobile phone':'\uD83D\uDCF1','remove date':'\uF071','directright':'\u25B9','direct left':'\u25C3','information':'\u2139','cloudupload':'\uEB40','male avatar':'\uD83D\uDC64','batteryhigh':'\uEA10','skipforward':'\u23ED','female user':'\uD83D\uDC67','low battery':'\uEA12','navigate up':'\uF500','videocamera':'\uD83D\uDCF9','photographs':'\uD83C\uDF04','rotateright':'\u21BB','thumbs down':'\uD83D\uDC4E','high volume':'\uD83D\uDD0A','credit card':'\uD83D\uDCB3','volume high':'\uD83D\uDD0A','highbattery':'\uEA10','dollar sign':'\uD83D\uDCB2','fullbattery':'\uD83D\uDD0B','delete date':'\uF073','rotate left':'\u21BA','battery low':'\uEA12','addcalendar':'\uF070','fastforward':'\u23E9','calendaradd':'\uF070','batteryfull':'\uD83D\uDD0B','mobilephone':'\uD83D\uDCF1','direct down':'\u25BE','highvolume':'\uD83D\uDD0A','navigation':'\uE670','smartphone':'\uD83D\uDCF1','screenshot':'\u2316','dollarsign':'\uD83D\uDCB2','creditcard':'\uD83D\uDCB3','hard drive':'\uE7B0','femaleuser':'\uD83D\uDC67','maleavatar':'\uD83D\uDC64','removedate':'\uF071','check date':'\uF072','microphone':'\uD83C\uDFA4','eyedropper':'\uE200','deletedate':'\uF073','volume low':'\uD83D\uDD09','low volume':'\uD83D\uDD09','volumehigh':'\uD83D\uDD0A','half heart':'\uE1A0','directions':'\uE672','navigateup':'\uF500','cell phone':'\uD83D\uDCF1','thumbsdown':'\uD83D\uDC4E','photograph':'\uD83C\uDF04','disapprove':'\uD83D\uDC4E','batterylow':'\uEA12','lowbattery':'\uEA12','down right':'\u2B0A','thumbnails':'\uE9A3','attachment':'\uD83D\uDCCE','visibility':'\uD83D\uDC40','connection':'\uEB85','descending':'\u25BE','directdown':'\u25BE','rotateleft':'\u21BA','directleft':'\u25C3','pull quote':'\u201C','down left':'\u2B0B','backspace':'\u232B','paperclip':'\uD83D\uDCCE','direct up':'\u25B4','dashboard':'\uF000','male user':'\uD83D\uDC64','cellphone':'\uD83D\uDCF1','checkmark':'\u2713','checkdate':'\uF072','harddrive':'\uE7B0','halfheart':'\uE1A0','pie chart':'\uE570','downright':'\u2B0A','musicnote':'\u266B','telephone':'\uD83D\uDCDE','briefcase':'\uD83D\uDCBC','bar chart':'\uD83D\uDCCA','ascending':'\u25B4','skip back':'\u23EE','crosshair':'\u2316','thumbs up':'\uD83D\uDC4D','volumelow':'\uD83D\uDD09','open book':'\uD83D\uDCD6','pullquote':'\u201C','half star':'\uE1A1','lowvolume':'\uD83D\uDD09','stopwatch':'\u23F1','maleuser':'\uD83D\uDC64','typeface':'\uED01','redirect':'\u21AA','contract':'\uEE01','document':'\uD83D\uDCC4','skipback':'\u23EE','question':'\u2753','computer':'\uD83D\uDCBB','sign out':'\uEE02','subtract':'\u002D','settings':'\u2699','pictures':'\uD83C\uDF04','database':'\uE7A0','location':'\uE6D0','signpost':'\uE672','navigate':'\uE670','calendar':'\uD83D\uDCC5','piechart':'\uE570','barchart':'\uD83D\uDCCA','add date':'\uF070','openbook':'\uD83D\uDCD6','envelope':'\u2709','facetime':'\uE320','end call':'\uE300','halfstar':'\uE1A1','favorite':'\u22C6','thumbsup':'\uD83D\uDC4D','bookmark':'\uD83D\uDD16','keywords':'\uE100','trashcan':'\uE0D0','previous':'\u25C5','insecure':'\uD83D\uDD13','up right':'\u2B08','unlocked':'\uD83D\uDD13','downleft':'\u2B0B','directup':'\u25B4','zoom out':'\uE003','dropdown':'\u25BE','download':'\uEB01','notebook':'\uD83D\uDCD3','desktop':'\uD83D\uDCBB','endcall':'\uE300','display':'\uD83D\uDCBB','monitor':'\uD83D\uDCBB','loading':'\uEB83','syncing':'\uEB82','visible':'\uD83D\uDC40','approve':'\uD83D\uDC4D','zoom in':'\uE002','signout':'\uEE02','refresh':'\u21BB','private':'\uD83D\uDD12','log out':'\uEE02','caution':'\u26D4','warning':'\u26A0','battery':'\uD83D\uDD0B','package':'\uD83D\uDCE6','dislike':'\uD83D\uDC4E','dictate':'\uD83C\uDFA4','descend':'\u25BE','forward':'\u27A1','speaker':'\uD83D\uDD08','windows':'\uE202','avatars':'\uD83D\uDC65','zoomout':'\uE003','up left':'\u2B09','printer':'\u2399','compass':'\uE671','droplet':'\uD83D\uDCA7','keyword':'\uE100','comment':'\uD83D\uDCAC','shuffle':'\uD83D\uDD00','airplay':'\uE800','retweet':'\uF600','picture':'\uD83C\uDF04','upright':'\u2B08','compose':'\uD83D\uDCDD','adddate':'\uF070','columns':'\uE9A2','checked':'\u2713','mobile':'\uD83D\uDCF1','cursor':'\uE001','search':'\uD83D\uDD0E','zoomin':'\uE002','iphone':'\uD83D\uDCF1','attach':'\uD83D\uDCCE','pencil':'\u270E','ascend':'\u25B4','upleft':'\u2B09','tablet':'\uEA01','laptop':'\uEA00','eraser':'\u2710','locked':'\uD83D\uDD12','secure':'\uD83D\uDD12','unlock':'\uD83D\uDD13','public':'\uD83D\uDD13','target':'\u25CE','folder':'\uD83D\uDCC1','tagged':'\uE100','sample':'\uE200','layers':'\uE202','avatar':'\uD83D\uDC64','locate':'\uE670','replay':'\u21BA','upload':'\uEB41','repeat':'\uD83D\uDD01','volume':'\uD83D\uDD08','camera':'\uD83D\uDCF7','layout':'\uEDA0','action':'\uEE00','delete':'\u2421','images':'\uD83C\uDF04','photos':'\uD83C\uDF04','remove':'\u002D','expand':'\u2922','hyphen':'\u002D','videos':'\uD83D\uDCF9','rewind':'\u23EA','logout':'\uEE02','record':'\u25CF','alert':'\u26A0','clock':'\u23F2','pause':'\uE8A0','merge':'\uEB81','write':'\u270E','erase':'\u2710','nodes':'\uEB85','video':'\uD83D\uDCF9','right':'\u27A1','trash':'\uE0D0','quote':'\u201C','minus':'\u002D','eject':'\u23CF','visit':'\uEE00','check':'\u2713','photo':'\uD83C\uDF04','share':'\uEE00','heart':'\u2665','close':'\u2421','image':'\uD83C\uDF04','cloud':'\u2601','zelda':'\uE1A0','phone':'\uD83D\uDCDE','sound':'\uD83D\uDD08','reply':'\u21A9','email':'\u2709','inbox':'\uD83D\uDCE5','audio':'\u266B','music':'\u266B','users':'\uD83D\uDC65','price':'\uD83D\uDCB2','globe':'\uD83C\uDF0E','print':'\u2399','earth':'\uD83C\uDF0E','world':'\uD83C\uDF0E','timer':'\u23F1','skip':'\u23ED','font':'\uED01','time':'\u23F2','fork':'\uEB80','home':'\u2302','zoom':'\uE002','exit':'\uEE02','cost':'\uD83D\uDCB2','cart':'\uE500','view':'\uD83D\uDC40','text':'\uED00','user':'\uD83D\uDC64','talk':'\uD83D\uDCAC','chat':'\uD83D\uDCAC','look':'\uD83D\uDC40','bell':'\uD83D\uDD14','stop':'\u25A0','send':'\uE350','redo':'\u21BB','link':'\uD83D\uDD17','call':'\uD83D\uDCDE','list':'\uED50','undo':'\u21BA','crop':'\uE201','book':'\uD83D\uDCD5','star':'\u22C6','gear':'\u2699','work':'\uD83D\uDCBC','move':'\uE070','drop':'\uD83D\uDCA7','love':'\u2665','edit':'\u270E','like':'\uD83D\uDC4D','flag':'\u2691','date':'\uD83D\uDCC5','next':'\u25BB','tags':'\uE100','info':'\u2139','page':'\uD83D\uDCC4','cell':'\uD83D\uDCF1','ipad':'\uEA01','play':'\u25B6','sync':'\uEB82','grid':'\uE9A0','plus':'\u002B','file':'\uD83D\uDCC4','help':'\u2753','rows':'\uE9A1','down':'\u2B07','lock':'\uD83D\uDD12','wifi':'\uEB84','left':'\u2B05','back':'\u2B05','mail':'\u2709','key':'\uD83D\uDD11','ban':'\uD83D\uDEAB','add':'\u002B','tag':'\uE100','out':'\uEE00','cog':'\u2699','rss':'\uE310','map':'\uE673','mic':'\uD83C\uDFA4','eye':'\uD83D\uDC40','hdd':'\uE7B0','pin':'\uD83D\uDCCD','box':'\uD83D\uDCE6','fax':'\uD83D\uDCE0','up':'\u2B06'};
|
|
|
|
if (typeof ss_icons !== 'object' || typeof ss_icons !== 'object') {
|
|
var ss_icons = ss_set;
|
|
var ss_keywords = [];
|
|
for (var i in ss_set) { ss_keywords.push(i); };
|
|
} else {
|
|
for (var i in ss_set) { ss_icons[i] = ss_set[i]; ss_keywords.push(i); }
|
|
};
|
|
|
|
if (typeof ss_legacy !== 'function') {
|
|
|
|
/* domready.js */
|
|
!function(a,b){typeof module!="undefined"?module.exports=b():typeof define=="function"&&typeof define.amd=="object"?define(b):this[a]=b()}("ss_ready",function(a){function m(a){l=1;while(a=b.shift())a()}var b=[],c,d=!1,e=document,f=e.documentElement,g=f.doScroll,h="DOMContentLoaded",i="addEventListener",j="onreadystatechange",k="readyState",l=/^loade|c/.test(e[k]);return e[i]&&e[i](h,c=function(){e.removeEventListener(h,c,d),m()},d),g&&e.attachEvent(j,c=function(){/^c/.test(e[k])&&(e.detachEvent(j,c),m())}),a=g?function(c){self!=top?l?c():b.push(c):function(){try{f.doScroll("left")}catch(b){return setTimeout(function(){a(c)},50)}c()}()}:function(a){l?a():b.push(a)}})
|
|
|
|
var ss_legacy = function(node) {
|
|
|
|
if (!node instanceof Object) return false;
|
|
|
|
if (node.length) {
|
|
for (var i=0; i<node.length; i++) {
|
|
ss_legacy(node[i]);
|
|
}
|
|
return;
|
|
};
|
|
|
|
if (node.value) {
|
|
node.value = ss_liga(node.value);
|
|
} else if (node.nodeValue) {
|
|
node.nodeValue = ss_liga(node.nodeValue);
|
|
} else if (node.innerHTML) {
|
|
node.innerHTML = ss_liga(node.innerHTML);
|
|
}
|
|
|
|
};
|
|
|
|
var ss_getElementsByClassName = function(node, classname) {
|
|
var a = [];
|
|
var re = new RegExp('(^| )'+classname+'( |$)');
|
|
var els = node.getElementsByTagName("*");
|
|
for(var i=0,j=els.length; i<j; i++)
|
|
if(re.test(els[i].className))a.push(els[i]);
|
|
return a;
|
|
};
|
|
|
|
var ss_liga = function(that) {
|
|
var re = new RegExp(ss_keywords.join('|').replace(/[-[\]{}()*+?.,\\^$#\s]/g, "\\$&"),"gi");
|
|
return that.replace(re, function(v) {
|
|
return ss_icons[v.toLowerCase()];
|
|
});
|
|
};
|
|
|
|
ss_ready(function() {
|
|
if (document.getElementsByClassName) {
|
|
ss_legacy(document.getElementsByClassName('ss-icon'));
|
|
} else {
|
|
ss_legacy(ss_getElementsByClassName(document.body, 'ss-icon'));
|
|
}
|
|
});
|
|
|
|
}
|
|
|
|
}; |