survivalkit 1.0.beta.11 → 1.0.beta.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. data/CHANGELOG.markdown +4 -0
  2. data/lib/survivalkit.rb +2 -2
  3. data/stylesheets/survivalkit/fonts/_all.scss +2 -0
  4. data/stylesheets/survivalkit/fonts/_ss-social.scss +136 -0
  5. data/stylesheets/survivalkit/fonts/_ss-standard.scss +426 -0
  6. data/stylesheets/survivalkit/reset/_reset.scss +4 -0
  7. data/templates/clean/manifest.rb +0 -2
  8. data/templates/drupal/manifest.rb +0 -2
  9. data/templates/project/manifest.rb +44 -46
  10. data/templates/project/sources/FitVids/README.md +49 -0
  11. data/templates/project/sources/FitVids/jquery.fitvids.js +80 -0
  12. data/templates/project/sources/FitVids/tests.html +66 -0
  13. data/templates/project/sources/Geared-Scrolling/README.md +31 -0
  14. data/templates/project/sources/Geared-Scrolling/css/specific.css +88 -0
  15. data/templates/project/sources/Geared-Scrolling/images/col1.png +0 -0
  16. data/templates/project/sources/Geared-Scrolling/images/col2.png +0 -0
  17. data/templates/project/sources/Geared-Scrolling/images/col3.png +0 -0
  18. data/templates/project/sources/Geared-Scrolling/images/header.png +0 -0
  19. data/templates/project/sources/Geared-Scrolling/index.html +32 -0
  20. data/templates/project/sources/Geared-Scrolling/js/init.js +11 -0
  21. data/templates/project/sources/Geared-Scrolling/js/jquery.heyday.gearedscrolling.js +283 -0
  22. data/templates/project/sources/Lettering.js/README.md +58 -0
  23. data/templates/project/sources/Lettering.js/examples/index.html +135 -0
  24. data/templates/project/sources/Lettering.js/examples/style.css +171 -0
  25. data/templates/project/sources/Lettering.js/jquery.lettering.js +66 -0
  26. data/templates/project/sources/Respond/README.md +100 -0
  27. data/templates/project/sources/Respond/cross-domain/example.html +24 -0
  28. data/templates/project/sources/Respond/cross-domain/respond-proxy.html +96 -0
  29. data/templates/project/sources/Respond/cross-domain/respond.proxy.gif +0 -0
  30. data/templates/project/sources/Respond/cross-domain/respond.proxy.js +127 -0
  31. data/templates/project/sources/Respond/respond.min.js +6 -0
  32. data/templates/project/sources/Respond/respond.src.js +326 -0
  33. data/templates/project/sources/Respond/test/test.css +80 -0
  34. data/templates/project/sources/Respond/test/test.html +20 -0
  35. data/templates/project/sources/Respond/test/test2.css +8 -0
  36. data/templates/project/sources/Respond/test/unit/index.html +29 -0
  37. data/templates/project/sources/Respond/test/unit/qunit/qunit.css +226 -0
  38. data/templates/project/sources/Respond/test/unit/qunit/qunit.js +1598 -0
  39. data/templates/project/sources/Respond/test/unit/test.css +73 -0
  40. data/templates/project/sources/Respond/test/unit/test2.css +5 -0
  41. data/templates/project/sources/Respond/test/unit/test3.css +5 -0
  42. data/templates/project/sources/Respond/test/unit/tests.js +144 -0
  43. data/templates/project/sources/box-sizing-polyfill/README.md +24 -0
  44. data/templates/project/sources/box-sizing-polyfill/boxsizing.htc +501 -0
  45. data/templates/project/sources/formalize/README.txt +26 -0
  46. data/templates/project/sources/formalize/assets/css/_formalize.sass +326 -0
  47. data/templates/project/sources/formalize/assets/css/demo.css +654 -0
  48. data/templates/project/sources/formalize/assets/css/formalize.css +368 -0
  49. data/templates/project/sources/formalize/assets/css/reset.css +211 -0
  50. data/templates/project/sources/formalize/assets/css/text.css +81 -0
  51. data/templates/project/sources/formalize/assets/images/button.png +0 -0
  52. data/templates/project/sources/formalize/assets/images/select_arrow.gif +0 -0
  53. data/templates/project/sources/formalize/assets/js/dojo.formalize.js +202 -0
  54. data/templates/project/sources/formalize/assets/js/dojo.formalize.min.js +1 -0
  55. data/templates/project/sources/formalize/assets/js/extjs.formalize.js +192 -0
  56. data/templates/project/sources/formalize/assets/js/extjs.formalize.min.js +1 -0
  57. data/templates/project/sources/formalize/assets/js/jquery.formalize.js +181 -0
  58. data/templates/project/sources/formalize/assets/js/jquery.formalize.min.js +1 -0
  59. data/templates/project/sources/formalize/assets/js/mootools.formalize.js +193 -0
  60. data/templates/project/sources/formalize/assets/js/mootools.formalize.min.js +1 -0
  61. data/templates/project/sources/formalize/assets/js/prototype.formalize.js +192 -0
  62. data/templates/project/sources/formalize/assets/js/prototype.formalize.min.js +1 -0
  63. data/templates/project/sources/formalize/assets/js/yui.formalize.js +183 -0
  64. data/templates/project/sources/formalize/assets/js/yui.formalize.min.js +1 -0
  65. data/templates/project/sources/formalize/demo.html +130 -0
  66. data/templates/project/sources/formalize/dojo_demo.html +215 -0
  67. data/templates/project/sources/formalize/dojo_disabled.html +215 -0
  68. data/templates/project/sources/formalize/dojo_errors.html +215 -0
  69. data/templates/project/sources/formalize/extjs_demo.html +215 -0
  70. data/templates/project/sources/formalize/extjs_disabled.html +215 -0
  71. data/templates/project/sources/formalize/extjs_errors.html +215 -0
  72. data/templates/project/sources/formalize/jquery_demo.html +215 -0
  73. data/templates/project/sources/formalize/jquery_disabled.html +215 -0
  74. data/templates/project/sources/formalize/jquery_errors.html +215 -0
  75. data/templates/project/sources/formalize/mootools_demo.html +215 -0
  76. data/templates/project/sources/formalize/mootools_disabled.html +215 -0
  77. data/templates/project/sources/formalize/mootools_errors.html +215 -0
  78. data/templates/project/sources/formalize/prototype_demo.html +215 -0
  79. data/templates/project/sources/formalize/prototype_disabled.html +215 -0
  80. data/templates/project/sources/formalize/prototype_errors.html +215 -0
  81. data/templates/project/sources/formalize/unstyled.html +210 -0
  82. data/templates/project/sources/formalize/yui_demo.html +223 -0
  83. data/templates/project/sources/formalize/yui_disabled.html +223 -0
  84. data/templates/project/sources/formalize/yui_errors.html +223 -0
  85. data/templates/project/sources/iOS-Orientationchange-Fix/README.md +16 -0
  86. data/templates/project/sources/iOS-Orientationchange-Fix/demo.html +43 -0
  87. data/templates/project/sources/iOS-Orientationchange-Fix/ios-orientationchange-fix.js +56 -0
  88. data/templates/project/sources/jQuery-widowFix/index.html +159 -0
  89. data/templates/project/sources/jQuery-widowFix/js/jquery-1.4.3.min.js +166 -0
  90. data/templates/project/sources/jQuery-widowFix/js/jquery.widowFix-1.3.2.js +135 -0
  91. data/templates/project/sources/jQuery-widowFix/js/jquery.widowFix-1.3.2.min.js +10 -0
  92. data/templates/project/sources/jQuery-widowFix/sample.html +84 -0
  93. data/templates/project/sources/jquery-html5-placeholder-shim/jquery.html5-placeholder-shim.js +96 -0
  94. data/templates/project/sources/jquery-html5-placeholder-shim/readme.md +22 -0
  95. data/templates/project/sources/jquery-html5-placeholder-shim/test.html +103 -0
  96. data/templates/project/sources/ss-social/ss-social.js +78 -0
  97. data/templates/project/sources/ss-standard/ss-standard.js +78 -0
  98. data/templates/shared/partials/01-variables/_colors.scss +2 -6
  99. data/templates/shared/partials/01-variables/_fonts.scss +49 -2
  100. data/templates/shared/partials/01-variables/_settings.scss +48 -13
  101. data/templates/shared/partials/04-base/_all.scss +0 -2
  102. data/templates/shared/partials/04-base/_common.scss +0 -4
  103. data/templates/shared/partials/05-layout/_grids-susy.scss +4 -4
  104. data/templates/shared/style.scss +9 -9
  105. metadata +93 -5
  106. data/templates/shared/partials/04-base/_edits.scss +0 -8
  107. data/templates/shared/partials/04-base/_font-face.scss +0 -14
@@ -0,0 +1,10 @@
1
+ /*
2
+ * jQuery WidowFix Plugin
3
+ * http://matthewlein.com/widowfix/
4
+ * Copyright (c) 2010 Matthew Lein
5
+ * Version: 1.3.2 (7/23/2011)
6
+ * Dual licensed under the MIT and GPL licenses
7
+ * Requires: jQuery v1.4 or later
8
+ */
9
+
10
+ (function(a){jQuery.fn.widowFix=function(d){var c={letterLimit:null,prevLimit:null,linkFix:false,dashes:false};var b=a.extend(c,d);if(this.length){return this.each(function(){var i=a(this);var n;if(b.linkFix){var h=i.find("a:last");h.wrap("<var>");var e=a("var").html();n=h.contents()[0];h.contents().unwrap()}var f=a(this).html().split(" "),m=f.pop();if(f.length<=1){return}function k(){if(m===""){m=f.pop();k()}}k();if(b.dashes){var j=["-","–","—"];a.each(j,function(o,p){if(m.indexOf(p)>0){m='<span style="white-space:nowrap;">'+m+"</span>";return false}})}var l=f[f.length-1];if(b.linkFix){if(b.letterLimit!==null&&n.length>=b.letterLimit){i.find("var").each(function(){a(this).contents().replaceWith(e);a(this).contents().unwrap()});return}else{if(b.prevLimit!==null&&l.length>=b.prevLimit){i.find("var").each(function(){a(this).contents().replaceWith(e);a(this).contents().unwrap()});return}}}else{if(b.letterLimit!==null&&m.length>=b.letterLimit){return}else{if(b.prevLimit!==null&&l.length>=b.prevLimit){return}}}var g=f.join(" ")+"&nbsp;"+m;i.html(g);if(b.linkFix){i.find("var").each(function(){a(this).contents().replaceWith(e);a(this).contents().unwrap()})}})}}})(jQuery);
@@ -0,0 +1,84 @@
1
+ <!DOCTYPE HTML>
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>jQuery Widow Fix Sample</title>
6
+ <script type="text/javascript" src="js/jquery-1.4.3.min.js"></script>
7
+ <script type="text/javascript" src="js/jquery.widowFix-1.3.2.min.js"></script>
8
+ <style type="text/css">
9
+ #wfDemo1, #wfDemo2, #wfDemo3, #unFixed div {
10
+ width: 400px;
11
+ margin-top: 10px;
12
+ font-family: Georgia, "Times New Roman", Times, serif;
13
+ padding: 10px;
14
+ border: 1px solid #666;
15
+ margin-bottom: 30px;
16
+ }
17
+ #fixed, #unFixed {
18
+ float:left;
19
+ margin-right:20px;
20
+ }
21
+ h1, h2 {
22
+ font-size: 30px;
23
+ margin-top: 0px;
24
+ margin-bottom: 4px;
25
+ }
26
+ p {
27
+ font-size: 12px;
28
+ margin-bottom: 5px;
29
+ margin-top: 0px;
30
+ }
31
+ </style>
32
+ <script type="text/javascript">
33
+ $(document).ready(function() {
34
+ $('#wfDemo1 h2, #unFixedDemo2 h2, #unFixedDemo3 h2').widowFix();
35
+
36
+ $('#wfDemo2 h2').widowFix({
37
+ letterLimit: 10
38
+ });
39
+
40
+ $('#wfDemo3 h2').widowFix({
41
+ letterLimit: 10,
42
+ prevLimit: 6
43
+ });
44
+ });
45
+ </script>
46
+ </head>
47
+ <body>
48
+ <div id="fixed">
49
+ <h1>Widow Fix defaults</h1>
50
+ <div id="wfDemo1">
51
+ <h2>What a terrible place to break</h2>
52
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras eleifend diam non orci pellentesque sit amet scelerisque eros interdum. Integer at sodales leo. Maecenas non felis nibh urna augue. Integer in urna ut erat ultricies rutrum. Cras eleifend metus laoreet lacus accumsan elementum augue aliquet.</p>
53
+ </div>
54
+ <h1>Using letterLimit: 10</h1>
55
+ <div id="wfDemo2">
56
+ <h2>This skips ones that are looooooooong</h2>
57
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras eleifend diam non orci pellentesque sit amet scelerisque eros interdum. Integer at sodales leo. Maecenas non felis nibh urna augue. Integer in urna ut erat ultricies rutrum. Cras eleifend metus laoreet lacus accumsan elementum augue aliquet.</p>
58
+ </div>
59
+ <h1>Using prevLimit: 6</h1>
60
+ <div id="wfDemo3">
61
+ <h2>Skipped too, prev length fail</h2>
62
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras eleifend diam non orci pellentesque sit amet scelerisque eros interdum. Integer at sodales leo. Maecenas non felis nibh urna augue. Integer in urna ut erat ultricies rutrum. Cras eleifend metus laoreet lacus accumsan elementum augue aliquet.</p>
63
+ </div>
64
+ </div>
65
+
66
+ <div id="unFixed">
67
+ <h1>Without Fix</h1>
68
+ <div id="unFixedDemo1">
69
+ <h2>What a terrible place to break</h2>
70
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras eleifend diam non orci pellentesque sit amet scelerisque eros interdum. Integer at sodales leo. Maecenas non felis nibh urna augue. Integer in urna ut erat ultricies rutrum. Cras eleifend metus laoreet lacus accumsan elementum augue aliquet.</p>
71
+ </div>
72
+ <h1>No letterLimit</h1>
73
+ <div id="unFixedDemo2">
74
+ <h2>This skips ones that are looooooooong</h2>
75
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras eleifend diam non orci pellentesque sit amet scelerisque eros interdum. Integer at sodales leo. Maecenas non felis nibh urna augue. Integer in urna ut erat ultricies rutrum. Cras eleifend metus laoreet lacus accumsan elementum augue aliquet.</p>
76
+ </div>
77
+ <h1>No prevLimit</h1>
78
+ <div id="unFixedDemo3">
79
+ <h2>Skipped too, prev length fail</h2>
80
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras eleifend diam non orci pellentesque sit amet scelerisque eros interdum. Integer at sodales leo. Maecenas non felis nibh urna augue. Integer in urna ut erat ultricies rutrum. Cras eleifend metus laoreet lacus accumsan elementum augue aliquet.</p>
81
+ </div>
82
+ </div>
83
+ </body>
84
+ </html>
@@ -0,0 +1,96 @@
1
+ (function($) {
2
+ // @todo Document this.
3
+ $.extend($,{ placeholder: {
4
+ browser_supported: function() {
5
+ return this._supported !== undefined ?
6
+ this._supported :
7
+ ( this._supported = !!('placeholder' in $('<input type="text">')[0]) );
8
+ },
9
+ shim: function(opts) {
10
+ var config = {
11
+ color: '#888',
12
+ cls: 'placeholder',
13
+ lr_padding:4,
14
+ selector: 'input[placeholder], textarea[placeholder]'
15
+ };
16
+ $.extend(config,opts);
17
+ !this.browser_supported() && $(config.selector)._placeholder_shim(config);
18
+ }
19
+ }});
20
+
21
+ $.extend($.fn,{
22
+ _placeholder_shim: function(config) {
23
+ function calcPositionCss(target)
24
+ {
25
+ var op = $(target).offsetParent().offset();
26
+ var ot = $(target).offset();
27
+
28
+ return {
29
+ top: ot.top - op.top + ($(target).outerHeight() - $(target).height()) /2,
30
+ left: ot.left - op.left + config.lr_padding,
31
+ width: $(target).width() - config.lr_padding
32
+ };
33
+ }
34
+ return this.each(function() {
35
+ var $this = $(this);
36
+
37
+ if( $this.data('placeholder') ) {
38
+ var $ol = $this.data('placeholder');
39
+ $ol.css(calcPositionCss($this));
40
+ return true;
41
+ }
42
+
43
+ var possible_line_height = {};
44
+ if( !$this.is('textarea') && $this.css('height') != 'auto') {
45
+ possible_line_height = { lineHeight: $this.css('height'), whiteSpace: 'nowrap' };
46
+ }
47
+
48
+ var ol = $('<label />')
49
+ .text($this.attr('placeholder'))
50
+ .addClass(config.cls)
51
+ .css($.extend({
52
+ position:'absolute',
53
+ display: 'inline',
54
+ 'float':'none',
55
+ overflow:'hidden',
56
+ textAlign: 'left',
57
+ color: config.color,
58
+ cursor: 'text',
59
+ paddingTop: $this.css('padding-top'),
60
+ paddingLeft: $this.css('padding-left'),
61
+ fontSize: $this.css('font-size'),
62
+ fontFamily: $this.css('font-family'),
63
+ fontStyle: $this.css('font-style'),
64
+ fontWeight: $this.css('font-weight'),
65
+ textTransform: $this.css('text-transform'),
66
+ zIndex: 99
67
+ }, possible_line_height))
68
+ .css(calcPositionCss(this))
69
+ .attr('for', this.id)
70
+ .data('target',$this)
71
+ .click(function(){
72
+ $this.data('target').focus()
73
+ })
74
+ .insertBefore(this);
75
+ $this
76
+ .data('placeholder',ol)
77
+ .focus(function(){
78
+ ol.hide();
79
+ }).blur(function() {
80
+ ol[$this.val().length ? 'hide' : 'show']();
81
+ }).triggerHandler('blur');
82
+ $(window)
83
+ .resize(function() {
84
+ var $target = ol.data('target')
85
+ ol.css(calcPositionCss($target))
86
+ });
87
+ });
88
+ }
89
+ });
90
+ })(jQuery);
91
+
92
+ jQuery(document).add(window).bind('ready load', function() {
93
+ if (jQuery.placeholder) {
94
+ jQuery.placeholder.shim();
95
+ }
96
+ });
@@ -0,0 +1,22 @@
1
+ # HTML5 Placeholder support for non compliant browsers using jQuery.
2
+
3
+ This plugin adds support for the placeholder attribute in HTML5 form elements to browsers that don't natively support it.
4
+
5
+ ## Usage:
6
+
7
+ Just include the ``jquery.html-placeholder-shim.js`` script into your document head like so:
8
+
9
+ <head>
10
+ <script type='text/javascript' src='jquery.js'></script>
11
+ <script type='text/javascript' src='jquery/html5-placeholder-shim.js'></script>
12
+ </head>
13
+
14
+ The script will automatically execute itself on the ``$(document).ready`` event.
15
+
16
+ ## HTML5 placeholder Example:
17
+
18
+ <input type="search" placeholder="search the internets" name="query" />
19
+
20
+ ## License:
21
+
22
+ Dual licensed under the MIT and GPL licenses.
@@ -0,0 +1,103 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <style>
5
+ html {
6
+ background-color:#ddd;
7
+ padding:10px;
8
+ }
9
+ body {
10
+ text-align:center;
11
+ background-color:#ccc;
12
+ padding:10px;
13
+ font-family:sans-serif;
14
+ }
15
+ #wrap {
16
+ padding:2em;
17
+ margin:20px auto;
18
+ background-color:#fff;
19
+ border:3px solid #999;
20
+ text-align:left;
21
+ width:90%;
22
+ }
23
+ #wrap input {
24
+ width:300px;
25
+ }
26
+ input.small {
27
+ font-size:10px;
28
+ }
29
+ input.medium {
30
+ font-size:15px;;
31
+ }
32
+ input.large {
33
+ font-size:1.4em;
34
+ }
35
+ input.xl {
36
+ font-size:3em;
37
+ }
38
+ #wrap label{
39
+ display:block;
40
+ float:left;
41
+ width:140px;
42
+ }
43
+ #cont {
44
+ position:relative;
45
+
46
+ margin:5px;
47
+ }
48
+ #cont div {
49
+ padding:5px;
50
+ margin:5px;
51
+ zoom:1;
52
+ }
53
+ </style>
54
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.js"></script>
55
+ <script src="jquery.html5-placeholder-shim.js"></script>
56
+ <!-- <script type='text/javascript' src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script> -->
57
+
58
+ <script>
59
+ $(function(){
60
+ $.placeholder.shim();
61
+ });
62
+ </script>
63
+ </head>
64
+ <body>
65
+ <div id="wrap">
66
+
67
+ <h2>Basic Examples</h2>
68
+ <a href="#" onclick="$('#cont').toggle();return false;">hide form</a>
69
+ <a href="#" onclick="$('#medium').toggle();$.placeholder.shim();return false;">hide medium row</a>
70
+ <div id="cont" >
71
+ <div>
72
+ <label>small</label>
73
+ <input type="text" placeholder="placeholder" class="small" />
74
+ <input type="text" placeholder="placeholder" value="value" class="small" />
75
+ </div>
76
+ <div id="medium">
77
+ <label>medium</label>
78
+ <input type="text" placeholder="placeholder" class="medium" />
79
+ <input type="text" placeholder="placeholder" value="value" class="medium" />
80
+ </div>
81
+ <div>
82
+ <label>large</label>
83
+ <input type="text" placeholder="placeholder" class="large" />
84
+ <input type="text" placeholder="placeholder" value="value" class="large" />
85
+ </div>
86
+ <div>
87
+ <label>XL</label>
88
+ <input type="text" placeholder="placeholder" class="xl" />
89
+ <input type="text" placeholder="placeholder" value="value" class="xl" />
90
+ </div>
91
+ <div>
92
+ <label>too long</label>
93
+ <input type="text" placeholder="too much text shouldn't overflow... too much text shouldn't overflow... too much text shouldn't overflow" class="" />
94
+ <input type="text" placeholder="too much text shouldn't overflow... too much text shouldn't overflow... too much text shouldn't overflow" value="value" class="" />
95
+
96
+ </div>
97
+ </div>
98
+
99
+
100
+ </div>
101
+
102
+ </body>
103
+ </html>
@@ -0,0 +1,78 @@
1
+ /*
2
+ * Symbolset
3
+ * www.symbolset.com
4
+ * Copyright © 2012 Oak Studios LLC
5
+ *
6
+ * Upload this file to your web server
7
+ * and place this before the closing </body> tag.
8
+ * <script src="webfonts/ss-social.js"></script>
9
+ */
10
+
11
+ 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]\.|BlackBerry.*WebKit)/.test(navigator.userAgent) && !/(IEMobile)/.test(navigator.userAgent)) {
12
+
13
+ var ss_set={'stack overflow':'\uF672','github octocat':'\uF671','githuboctocat':'\uF671','stackoverflow':'\uF672','google plus':'\uF613','kickstarter':'\uF681','foursquare':'\uF690','googleplus':'\uF613','instagram':'\uF641','pinterest':'\uF650','posterous':'\uF623','wordpress':'\uF621','thumbs up':'\uD83D\uDC4D','dribbble':'\uF660','facebook':'\uF610','linkedin':'\uF612','thumbsup':'\uD83D\uDC4D','google +':'\uF613','readmill':'\uF652','envelope':'\u2709','twitter':'\uF611','behance':'\uF661','dropbox':'\uF653','youtube':'\uF630','octocat':'\uF671','google+':'\uF613','approve':'\uD83D\uDC4D','spotify':'\uF6B1','last fm':'\uF6B2','blogger':'\uF622','flickr':'\uF640','tumblr':'\uF620','paypal':'\uF680','lastfm':'\uF6B2','github':'\uF670','svpply':'\uF651','email':'\u2709','skype':'\uF6A0','vimeo':'\uF631','mail':'\u2709','rdio':'\uF6B0','like':'\uD83D\uDC4D','rss':'\uE310'};
14
+
15
+ if (typeof ss_icons !== 'object' || typeof ss_icons !== 'object') {
16
+ var ss_icons = ss_set;
17
+ var ss_keywords = [];
18
+ for (var i in ss_set) { ss_keywords.push(i); };
19
+ } else {
20
+ for (var i in ss_set) { ss_icons[i] = ss_set[i]; ss_keywords.push(i); }
21
+ };
22
+
23
+ if (typeof ss_legacy !== 'function') {
24
+
25
+ /* domready.js */
26
+ !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)}})
27
+
28
+ var ss_legacy = function(node) {
29
+
30
+ if (!node instanceof Object) return false;
31
+
32
+ if (node.length) {
33
+ for (var i=0; i<node.length; i++) {
34
+ ss_legacy(node[i]);
35
+ }
36
+ return;
37
+ };
38
+
39
+ if (node.value) {
40
+ node.value = ss_liga(node.value);
41
+ } else if (node.nodeValue) {
42
+ node.nodeValue = ss_liga(node.nodeValue);
43
+ } else if (node.innerHTML) {
44
+ node.innerHTML = ss_liga(node.innerHTML);
45
+ }
46
+
47
+ };
48
+
49
+ var ss_getElementsByClassName = function(node, classname) {
50
+ if (document.querySelectorAll) {
51
+ return document.querySelectorAll('.'+classname);
52
+ }
53
+ var a = [];
54
+ var re = new RegExp('(^| )'+classname+'( |$)');
55
+ var els = node.getElementsByTagName("*");
56
+ for(var i=0,j=els.length; i<j; i++)
57
+ if(re.test(els[i].className))a.push(els[i]);
58
+ return a;
59
+ };
60
+
61
+ var ss_liga = function(that) {
62
+ var re = new RegExp(ss_keywords.join('|').replace(/[-[\]{}()*+?.,\\^$#\s]/g, "\\$&"),"gi");
63
+ return that.replace(re, function(v) {
64
+ return ss_icons[v.toLowerCase()];
65
+ });
66
+ };
67
+
68
+ ss_ready(function() {
69
+ if (document.getElementsByClassName) {
70
+ ss_legacy(document.getElementsByClassName('ss-icon'));
71
+ } else {
72
+ ss_legacy(ss_getElementsByClassName(document.body, 'ss-icon'));
73
+ }
74
+ });
75
+
76
+ }
77
+
78
+ };
@@ -0,0 +1,78 @@
1
+ /*
2
+ * Symbolset
3
+ * www.symbolset.com
4
+ * Copyright © 2012 Oak Studios LLC
5
+ *
6
+ * Upload this file to your web server
7
+ * and place this before the closing </body> tag.
8
+ * <script src="webfonts/ss-standard.js"></script>
9
+ */
10
+
11
+ 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]\.|BlackBerry.*WebKit)/.test(navigator.userAgent) && !/(IEMobile)/.test(navigator.userAgent)) {
12
+
13
+ var ss_set={'notifications disabled':'\uD83D\uDD15','notification disabled':'\uD83D\uDD15','notificationsdisabled':'\uD83D\uDD15','notificationdisabled':'\uD83D\uDD15','telephone disabled':'\uE300','telephonedisabled':'\uE300','writing disabled':'\uE071','remove calendar':'\uF071','calendar remove':'\uF071','calendar delete':'\uF073','writingdisabled':'\uE071','delete calendar':'\uF073','pencil disabled':'\uE071','calendarremove':'\uF071','phone disabled':'\uE300','check calendar':'\uF072','navigate right':'\u25BB','pencildisabled':'\uE071','removecalendar':'\uF071','calendar check':'\uF072','deletecalendar':'\uF073','download cloud':'\uEB00','battery medium':'\uEA11','calendardelete':'\uF073','cloud download':'\uEB00','medium battery':'\uEA11','ellipsis chat':'\uE399','mediumbattery':'\uEA11','bell disabled':'\uD83D\uDD15','clouddownload':'\uEB00','shopping cart':'\uE500','calendarcheck':'\uF072','phonedisabled':'\uE300','female avatar':'\uD83D\uDC67','notifications':'\uD83D\uDD14','call disabled':'\uE300','battery empty':'\uEA13','navigateright':'\u25BB','empty battery':'\uEA13','batterymedium':'\uEA11','checkcalendar':'\uF072','navigate down':'\uF501','navigate left':'\u25C5','downloadcloud':'\uEB00','navigateleft':'\u25C5','ellipsischat':'\uE399','navigatedown':'\uF501','batteryempty':'\uEA13','battery high':'\uEA10','notification':'\uD83D\uDD14','battery full':'\uD83D\uDD0B','calldisabled':'\uE300','femaleavatar':'\uD83D\uDC67','rotate right':'\u21BB','calendar add':'\uF070','high battery':'\uEA10','emptybattery':'\uEA13','cloud upload':'\uEB40','direct right':'\u25B9','full battery':'\uD83D\uDD0B','add calendar':'\uF070','upload cloud':'\uEB40','belldisabled':'\uD83D\uDD15','fast forward':'\u23E9','skip forward':'\u23ED','mobile phone':'\uD83D\uDCF1','shoppingcart':'\uE500','direct left':'\u25C3','low battery':'\uEA12','skipforward':'\u23ED','rotateright':'\u21BB','male avatar':'\uD83D\uDC64','direct down':'\u25BE','videocamera':'\uD83D\uDCF9','female user':'\uD83D\uDC67','information':'\u2139','thumbs down':'\uD83D\uDC4E','photographs':'\uD83C\uDF04','calendaradd':'\uF070','rotate left':'\u21BA','high volume':'\uD83D\uDD0A','batteryhigh':'\uEA10','credit card':'\uD83D\uDCB3','batteryfull':'\uD83D\uDD0B','navigate up':'\uF500','dollar sign':'\uD83D\uDCB2','fastforward':'\u23E9','mobilephone':'\uD83D\uDCF1','battery low':'\uEA12','addcalendar':'\uF070','fullbattery':'\uD83D\uDD0B','uploadcloud':'\uEB40','delete date':'\uF073','remove date':'\uF071','volume high':'\uD83D\uDD0A','directright':'\u25B9','cloudupload':'\uEB40','highbattery':'\uEA10','navigation':'\uE670','smartphone':'\uD83D\uDCF1','screenshot':'\u2316','dollarsign':'\uD83D\uDCB2','creditcard':'\uD83D\uDCB3','hard drive':'\uE7B0','femaleuser':'\uD83D\uDC67','maleavatar':'\uD83D\uDC64','removedate':'\uF071','microphone':'\uD83C\uDFA4','low volume':'\uD83D\uDD09','volume low':'\uD83D\uDD09','highvolume':'\uD83D\uDD0A','check date':'\uF072','volumehigh':'\uD83D\uDD0A','deletedate':'\uF073','cell phone':'\uD83D\uDCF1','directions':'\uE672','photograph':'\uD83C\uDF04','half heart':'\uE1A0','thumbsdown':'\uD83D\uDC4E','disapprove':'\uD83D\uDC4E','lowbattery':'\uEA12','down right':'\u2B0A','batterylow':'\uEA12','thumbnails':'\uE9A3','navigateup':'\uF500','attachment':'\uD83D\uDCCE','visibility':'\uD83D\uDC40','pull quote':'\u201C','descending':'\u25BE','directdown':'\u25BE','directleft':'\u25C3','connection':'\uEB85','rotateleft':'\u21BA','eyedropper':'\uE200','volumelow':'\uD83D\uDD09','stopwatch':'\u23F1','warehouse':'\uE602','paperclip':'\uD83D\uDCCE','backspace':'\u232B','ascending':'\u25B4','half star':'\uE1A1','cellphone':'\uD83D\uDCF1','lightbulb':'\uD83D\uDCA1','thumbs up':'\uD83D\uDC4D','down left':'\u2B0B','newspaper':'\uD83D\uDCF0','direct up':'\u25B4','checkdate':'\uF072','halfheart':'\uE1A0','bar chart':'\uD83D\uDCCA','harddrive':'\uE7B0','male user':'\uD83D\uDC64','pie chart':'\uE570','downright':'\u2B0A','skip back':'\u23EE','musicnote':'\u266B','dashboard':'\uF000','briefcase':'\uD83D\uDCBC','pullquote':'\u201C','telephone':'\uD83D\uDCDE','checkmark':'\u2713','lowvolume':'\uD83D\uDD09','buildings':'\uD83C\uDFE2','crosshair':'\u2316','open book':'\uD83D\uDCD6','add date':'\uF070','notebook':'\uD83D\uDCD3','document':'\uD83D\uDCC4','skipback':'\u23EE','typeface':'\uED01','transfer':'\u21C6','redirect':'\u21AA','computer':'\uD83D\uDCBB','contract':'\uEE01','question':'\u2753','sign out':'\uEE02','download':'\uEB01','pictures':'\uD83C\uDF04','subtract':'\u002D','settings':'\u2699','database':'\uE7A0','location':'\uE6D0','signpost':'\uE672','navigate':'\uE670','calendar':'\uD83D\uDCC5','barchart':'\uD83D\uDCCA','openbook':'\uD83D\uDCD6','maleuser':'\uD83D\uDC64','ellipsis':'\u2026','envelope':'\u2709','facetime':'\uE320','end call':'\uE300','halfstar':'\uE1A1','favorite':'\u22C6','thumbsup':'\uD83D\uDC4D','up right':'\u2B08','bookmark':'\uD83D\uDD16','keywords':'\uE100','downleft':'\u2B0B','trashcan':'\uE0D0','insecure':'\uD83D\uDD13','unlocked':'\uD83D\uDD13','previous':'\u25C5','directup':'\u25B4','zoom out':'\uE003','dropdown':'\u25BE','piechart':'\uE570','caution':'\u26D4','desktop':'\uD83D\uDCBB','zoom in':'\uE002','display':'\uD83D\uDCBB','monitor':'\uD83D\uDCBB','windows':'\uE202','warning':'\u26A0','descend':'\u25BE','package':'\uD83D\uDCE6','upright':'\u2B08','droplet':'\uD83D\uDCA7','keyword':'\uE100','printer':'\u2399','private':'\uD83D\uDD12','avatars':'\uD83D\uDC65','dictate':'\uD83C\uDFA4','battery':'\uD83D\uDD0B','zoomout':'\uE003','checked':'\u2713','speaker':'\uD83D\uDD08','comment':'\uD83D\uDCAC','forward':'\u27A1','up left':'\u2B09','approve':'\uD83D\uDC4D','endcall':'\uE300','compass':'\uE671','retweet':'\uF600','loading':'\uEB83','shuffle':'\uD83D\uDD00','syncing':'\uEB82','visible':'\uD83D\uDC40','airplay':'\uE800','adddate':'\uF070','picture':'\uD83C\uDF04','dislike':'\uD83D\uDC4E','compose':'\uD83D\uDCDD','refresh':'\u21BB','columns':'\uE9A2','signout':'\uEE02','log out':'\uEE02','target':'\u25CE','cursor':'\uE001','search':'\uD83D\uDD0E','zoomin':'\uE002','tablet':'\uEA01','laptop':'\uEA00','funnel':'\uE9B0','upload':'\uEB41','attach':'\uD83D\uDCCE','filter':'\uE9B0','pencil':'\u270E','ascend':'\u25B4','eraser':'\u2710','locked':'\uD83D\uDD12','secure':'\uD83D\uDD12','unlock':'\uD83D\uDD13','replay':'\u21BA','public':'\uD83D\uDD13','repeat':'\uD83D\uDD01','folder':'\uD83D\uDCC1','upleft':'\u2B09','iphone':'\uD83D\uDCF1','tagged':'\uE100','rewind':'\u23EA','record':'\u25CF','layout':'\uEDA0','action':'\uEE00','expand':'\u2922','sample':'\uE200','layers':'\uE202','videos':'\uD83D\uDCF9','photos':'\uD83C\uDF04','stroke':'\uE241','logout':'\uEE02','images':'\uD83C\uDF04','hyphen':'\u002D','remove':'\u002D','camera':'\uD83D\uDCF7','volume':'\uD83D\uDD08','delete':'\u2421','avatar':'\uD83D\uDC64','locate':'\uE670','mobile':'\uD83D\uDCF1','pause':'\uE8A0','zelda':'\uE1A0','write':'\u270E','nodes':'\uEB85','merge':'\uEB81','alert':'\u26A0','video':'\uD83D\uDCF9','world':'\uD83C\uDF0E','print':'\u2399','trash':'\uE0D0','photo':'\uD83C\uDF04','right':'\u27A1','image':'\uD83C\uDF04','phone':'\uD83D\uDCDE','reply':'\u21A9','heart':'\u2665','minus':'\u002D','erase':'\u2710','quote':'\u201C','check':'\u2713','sound':'\uD83D\uDD08','flask':'\uF4C0','share':'\uEE00','close':'\u2421','email':'\u2709','inbox':'\uD83D\uDCE5','visit':'\uEE00','audio':'\u266B','music':'\u266B','users':'\uD83D\uDC65','price':'\uD83D\uDCB2','house':'\u2302','timer':'\u23F1','cloud':'\u2601','eject':'\u23CF','earth':'\uD83C\uDF0E','globe':'\uD83C\uDF0E','clock':'\u23F2','list':'\uED50','time':'\u23F2','cell':'\uD83D\uDCF1','zoom':'\uE002','date':'\uD83D\uDCC5','home':'\u2302','ipad':'\uEA01','bell':'\uD83D\uDD14','cost':'\uD83D\uDCB2','cart':'\uE500','view':'\uD83D\uDC40','gear':'\u2699','user':'\uD83D\uDC64','talk':'\uD83D\uDCAC','chat':'\uD83D\uDCAC','look':'\uD83D\uDC40','fork':'\uEB80','mail':'\u2709','send':'\uE350','link':'\uD83D\uDD17','move':'\uE070','call':'\uD83D\uDCDE','plus':'\u002B','exit':'\uEE02','fill':'\uE240','info':'\u2139','crop':'\uE201','play':'\u25B6','star':'\u22C6','help':'\u2753','work':'\uD83D\uDCBC','stop':'\u25A0','drop':'\uD83D\uDCA7','love':'\u2665','edit':'\u270E','rows':'\uE9A1','city':'\uD83C\uDFE2','like':'\uD83D\uDC4D','redo':'\u21BB','flag':'\u2691','font':'\uED01','tags':'\uE100','down':'\u2B07','grid':'\uE9A0','text':'\uED00','left':'\u2B05','back':'\u2B05','skip':'\u23ED','page':'\uD83D\uDCC4','news':'\uD83D\uDCF0','sync':'\uEB82','file':'\uD83D\uDCC4','wifi':'\uEB84','next':'\u25BB','undo':'\u21BA','book':'\uD83D\uDCD5','lock':'\uD83D\uDD12','idea':'\uD83D\uDCA1','key':'\uD83D\uDD11','tag':'\uE100','fax':'\uD83D\uDCE0','map':'\uE673','out':'\uEE00','rss':'\uE310','add':'\u002B','ban':'\uD83D\uDEAB','cog':'\u2699','eye':'\uD83D\uDC40','hdd':'\uE7B0','box':'\uD83D\uDCE6','pin':'\uD83D\uDCCD','mic':'\uD83C\uDFA4','up':'\u2B06'};
14
+
15
+ if (typeof ss_icons !== 'object' || typeof ss_icons !== 'object') {
16
+ var ss_icons = ss_set;
17
+ var ss_keywords = [];
18
+ for (var i in ss_set) { ss_keywords.push(i); };
19
+ } else {
20
+ for (var i in ss_set) { ss_icons[i] = ss_set[i]; ss_keywords.push(i); }
21
+ };
22
+
23
+ if (typeof ss_legacy !== 'function') {
24
+
25
+ /* domready.js */
26
+ !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)}})
27
+
28
+ var ss_legacy = function(node) {
29
+
30
+ if (!node instanceof Object) return false;
31
+
32
+ if (node.length) {
33
+ for (var i=0; i<node.length; i++) {
34
+ ss_legacy(node[i]);
35
+ }
36
+ return;
37
+ };
38
+
39
+ if (node.value) {
40
+ node.value = ss_liga(node.value);
41
+ } else if (node.nodeValue) {
42
+ node.nodeValue = ss_liga(node.nodeValue);
43
+ } else if (node.innerHTML) {
44
+ node.innerHTML = ss_liga(node.innerHTML);
45
+ }
46
+
47
+ };
48
+
49
+ var ss_getElementsByClassName = function(node, classname) {
50
+ if (document.querySelectorAll) {
51
+ return document.querySelectorAll('.'+classname);
52
+ }
53
+ var a = [];
54
+ var re = new RegExp('(^| )'+classname+'( |$)');
55
+ var els = node.getElementsByTagName("*");
56
+ for(var i=0,j=els.length; i<j; i++)
57
+ if(re.test(els[i].className))a.push(els[i]);
58
+ return a;
59
+ };
60
+
61
+ var ss_liga = function(that) {
62
+ var re = new RegExp(ss_keywords.join('|').replace(/[-[\]{}()*+?.,\\^$#\s]/g, "\\$&"),"gi");
63
+ return that.replace(re, function(v) {
64
+ return ss_icons[v.toLowerCase()];
65
+ });
66
+ };
67
+
68
+ ss_ready(function() {
69
+ if (document.getElementsByClassName) {
70
+ ss_legacy(document.getElementsByClassName('ss-icon'));
71
+ } else {
72
+ ss_legacy(ss_getElementsByClassName(document.body, 'ss-icon'));
73
+ }
74
+ });
75
+
76
+ }
77
+
78
+ };