Version Description
- Update enqueue version for stylesheet, for cache busting.
Download this release
Release Info
Developer | nathanrice |
Plugin | Simple Social Icons |
Version | 1.0.11 |
Comparing to | |
See all releases |
Code changes from version 0.9.1 to 1.0.11
- Gruntfile.js +97 -0
- README.md +90 -0
- css/style.css +57 -0
- font/LICENSE.txt +25 -0
- font/selection.json +498 -0
- font/ssi-icomoon.eot +0 -0
- font/ssi-icomoon.svg +26 -0
- font/ssi-icomoon.ttf +0 -0
- font/ssi-icomoon.woff +0 -0
- images/sprite_24x24.png +0 -0
- images/sprite_32x32.png +0 -0
- images/sprite_48x48.png +0 -0
- languages/simple-social-icons.pot +173 -0
- package.json +37 -0
- readme.txt +102 -31
- simple-social-icons.php +240 -131
Gruntfile.js
ADDED
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
'use strict';
|
2 |
+
|
3 |
+
module.exports = function(grunt) {
|
4 |
+
|
5 |
+
// Load tasks
|
6 |
+
require('load-grunt-tasks')(grunt);
|
7 |
+
|
8 |
+
grunt.initConfig({
|
9 |
+
pkg: grunt.file.readJSON('package.json'),
|
10 |
+
|
11 |
+
|
12 |
+
// Dependencies
|
13 |
+
|
14 |
+
// PHP
|
15 |
+
|
16 |
+
// Lint .php files for syntax errors
|
17 |
+
phplint: {
|
18 |
+
all: [ '*.php', 'lib/**/*.php' ]
|
19 |
+
},
|
20 |
+
|
21 |
+
|
22 |
+
// I18n
|
23 |
+
|
24 |
+
// Add text domain as last argument of i18n functions
|
25 |
+
addtextdomain: {
|
26 |
+
php: {
|
27 |
+
options: {
|
28 |
+
updateDomains: true
|
29 |
+
},
|
30 |
+
src: [
|
31 |
+
'*.php',
|
32 |
+
'lib/**/*.php'
|
33 |
+
]
|
34 |
+
}
|
35 |
+
},
|
36 |
+
|
37 |
+
// Check text domain is last argument of i18n functions
|
38 |
+
checktextdomain: {
|
39 |
+
options: {
|
40 |
+
text_domain: '<%= pkg.name %>',
|
41 |
+
keywords: [
|
42 |
+
'__:1,2d',
|
43 |
+
'_e:1,2d',
|
44 |
+
'_x:1,2c,3d',
|
45 |
+
'_ex:1,2c,3d',
|
46 |
+
'_n:1,2,4d',
|
47 |
+
'_nx:1,2,4c,5d',
|
48 |
+
'_n_noop:1,2,3d',
|
49 |
+
'_nx_noop:1,2,3c,4d',
|
50 |
+
'esc_attr__:1,2d',
|
51 |
+
'esc_html__:1,2d',
|
52 |
+
'esc_attr_e:1,2d',
|
53 |
+
'esc_html_e:1,2d',
|
54 |
+
'esc_attr_x:1,2c,3d',
|
55 |
+
'esc_html_x:1,2c,3d'
|
56 |
+
]
|
57 |
+
},
|
58 |
+
files: {
|
59 |
+
expand: true,
|
60 |
+
src: [
|
61 |
+
'*.php',
|
62 |
+
'lib/**/*.php'
|
63 |
+
]
|
64 |
+
}
|
65 |
+
},
|
66 |
+
|
67 |
+
|
68 |
+
// Build language .pot file
|
69 |
+
makepot: {
|
70 |
+
plugin: {
|
71 |
+
options: {
|
72 |
+
domainPath: '/languages',
|
73 |
+
processPot: function( pot ) {
|
74 |
+
pot.headers['report-msgid-bugs-to'] = 'StudioPress <translations@studiopress.com>';
|
75 |
+
pot.headers['last-translator'] = 'StudioPress <translations@studiopress.com>';
|
76 |
+
pot.headers['language-team'] = 'English <translations@studiopress.com>';
|
77 |
+
pot.headers['plural-forms'] = 'nplurals=2; plural=n != 1;';
|
78 |
+
pot.headers['x-generator'] = 'grunt-wp-i18n 0.4.4';
|
79 |
+
pot.headers['x-poedit-basepath'] = '.';
|
80 |
+
pot.headers['x-poedit-language'] = 'English';
|
81 |
+
pot.headers['x-poedit-country'] = 'UNITED STATES';
|
82 |
+
pot.headers['x-poedit-sourcecharset'] = 'utf-8';
|
83 |
+
pot.headers['x-poedit-keywordslist'] = '__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;';
|
84 |
+
pot.headers['x-poedit-bookmarks'] = '';
|
85 |
+
pot.headers['x-poedit-searchpath-0'] = '.';
|
86 |
+
pot.headers['x-textdomain-support'] = 'yes';
|
87 |
+
return pot;
|
88 |
+
},
|
89 |
+
type: 'wp-plugin'
|
90 |
+
}
|
91 |
+
}
|
92 |
+
},
|
93 |
+
|
94 |
+
|
95 |
+
});
|
96 |
+
|
97 |
+
};
|
README.md
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Simple Social Icons
|
2 |
+
|
3 |
+
Contributors:
|
4 |
+
* [Nathan Rice](https://github.com/nathanrice)
|
5 |
+
* [StudioPress](https://github.com/studiopress)
|
6 |
+
* [Brian Gardner](https://github.com/bgardner)
|
7 |
+
|
8 |
+
### Description
|
9 |
+
|
10 |
+
Simple Social Icons is an easy to use, customizable way to display icons that link visitors to your various social profiles. With it, you can easily choose which profiles to link to, customize the color and size of your icons, as well as align them to the left, center, or right, all from the widget form (no settings page necessary!).
|
11 |
+
|
12 |
+
### Installation
|
13 |
+
|
14 |
+
1. Upload the entire simple-social-icons folder to the /wp-content/plugins/ directory
|
15 |
+
2. Activate the plugin through the 'Plugins' menu in WordPress
|
16 |
+
3. In your Widgets menu, simply drag the widget labeled "Simple Social Icons" into a widgetized Area.
|
17 |
+
4. Configure the widget by choosing a title, icon size and color, and the URLs to your various social profiles.
|
18 |
+
|
19 |
+
### Frequently Asked Questions
|
20 |
+
|
21 |
+
##### Can I reorder the icons?
|
22 |
+
|
23 |
+
No, not at this time.
|
24 |
+
|
25 |
+
##### Which services are included?
|
26 |
+
|
27 |
+
* Bloglovin
|
28 |
+
* Dribbble
|
29 |
+
* Email
|
30 |
+
* Facebook
|
31 |
+
* Flickr
|
32 |
+
* Github
|
33 |
+
* Google+
|
34 |
+
* Instagram
|
35 |
+
* LinkedIn
|
36 |
+
* Pinterest
|
37 |
+
* RSS
|
38 |
+
* StumbleUpon
|
39 |
+
* Tumblr
|
40 |
+
* Twitter
|
41 |
+
* Vimeo
|
42 |
+
* YouTube
|
43 |
+
|
44 |
+
NOTE - The rights to each pictogram in the social extension are either trademarked or copyrighted by the respective company. Icons that are included in the social extension can be identified at http://www.entypo.com/.
|
45 |
+
|
46 |
+
##### Changelog
|
47 |
+
|
48 |
+
0.9.0
|
49 |
+
* Initial Beta Release
|
50 |
+
|
51 |
+
0.9.1
|
52 |
+
* Fixed some styling issues
|
53 |
+
|
54 |
+
0.9.2
|
55 |
+
* Added new profile options
|
56 |
+
* Changed default border radius to 3px
|
57 |
+
|
58 |
+
0.9.3
|
59 |
+
* Fixed CSS conflict in some themes
|
60 |
+
|
61 |
+
0.9.4
|
62 |
+
* Added YouTube icon
|
63 |
+
* Added bottom margin to icons
|
64 |
+
|
65 |
+
0.9.5
|
66 |
+
* Added Instagram icon
|
67 |
+
|
68 |
+
1.0.0
|
69 |
+
* Switched to icon fonts, rather than images
|
70 |
+
|
71 |
+
1.0.1
|
72 |
+
* Made color and background color more specific in the CSS to avoid conflicts
|
73 |
+
|
74 |
+
1.0.2
|
75 |
+
* More specific in the CSS to avoid conflicts
|
76 |
+
|
77 |
+
1.0.3
|
78 |
+
* Added Tumblr icon
|
79 |
+
|
80 |
+
1.0.4
|
81 |
+
* Updated version in enqueue script function
|
82 |
+
|
83 |
+
1.0.5
|
84 |
+
* Updated LICENSE.txt file to include social extension
|
85 |
+
|
86 |
+
1.0.6
|
87 |
+
* Added filters
|
88 |
+
|
89 |
+
1.0.7
|
90 |
+
* Added Bloglovin icon
|
css/style.css
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@font-face {
|
2 |
+
font-family: 'ssi-icomoon';
|
3 |
+
src:url('../font/ssi-icomoon.eot?-texv9a');
|
4 |
+
src:url('../font/ssi-icomoon.eot?#iefix-texv9a') format('embedded-opentype'),
|
5 |
+
url('../font/ssi-icomoon.woff?-texv9a') format('woff'),
|
6 |
+
url('../font/ssi-icomoon.ttf?-texv9a') format('truetype'),
|
7 |
+
url('../font/ssi-icomoon.svg?-texv9a#ssi-icomoon') format('svg');
|
8 |
+
font-weight: normal;
|
9 |
+
font-style: normal;
|
10 |
+
}
|
11 |
+
|
12 |
+
.simple-social-icons {
|
13 |
+
overflow: hidden;
|
14 |
+
}
|
15 |
+
|
16 |
+
.simple-social-icons ul {
|
17 |
+
margin: 0;
|
18 |
+
padding: 0;
|
19 |
+
}
|
20 |
+
|
21 |
+
.simple-social-icons ul li {
|
22 |
+
background: none !important;
|
23 |
+
border: none !important;
|
24 |
+
float: left;
|
25 |
+
list-style-type: none !important;
|
26 |
+
margin: 0 6px 12px !important;
|
27 |
+
padding: 0 !important;
|
28 |
+
}
|
29 |
+
|
30 |
+
.simple-social-icons ul li a {
|
31 |
+
border: none !important;
|
32 |
+
-moz-box-sizing: content-box;
|
33 |
+
-webkit-box-sizing: content-box;
|
34 |
+
box-sizing: content-box;
|
35 |
+
display: inline-block;
|
36 |
+
font-family: 'ssi-icomoon';
|
37 |
+
font-style: normal !important;
|
38 |
+
font-variant: normal !important;
|
39 |
+
font-weight: normal !important;
|
40 |
+
line-height: 1em;
|
41 |
+
speak: none;
|
42 |
+
text-align: center;
|
43 |
+
text-decoration: none !important;
|
44 |
+
text-transform: none !important;
|
45 |
+
width: 1em;
|
46 |
+
-webkit-font-smoothing: antialiased;
|
47 |
+
-moz-osx-font-smoothing: grayscale;
|
48 |
+
}
|
49 |
+
|
50 |
+
.simple-social-icons ul.aligncenter {
|
51 |
+
text-align: center;
|
52 |
+
}
|
53 |
+
|
54 |
+
.simple-social-icons ul.aligncenter li {
|
55 |
+
display: inline-block;
|
56 |
+
float: none;
|
57 |
+
}
|
font/LICENSE.txt
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Font license info
|
2 |
+
|
3 |
+
|
4 |
+
## Entypo
|
5 |
+
|
6 |
+
Copyright (C) 2012 by Daniel Bruce
|
7 |
+
|
8 |
+
Author: Daniel Bruce
|
9 |
+
License: SIL (http://scripts.sil.org/OFL)
|
10 |
+
Homepage: http://www.entypo.com
|
11 |
+
|
12 |
+
|
13 |
+
## Font Awesome
|
14 |
+
|
15 |
+
Copyright (c) Dave Gandy
|
16 |
+
|
17 |
+
Author: Dave Gandy
|
18 |
+
License: SIL (http://scripts.sil.org/OFL)
|
19 |
+
Homepage: http://fortawesome.github.io/Font-Awesome/
|
20 |
+
|
21 |
+
|
22 |
+
## Social Extention
|
23 |
+
|
24 |
+
The rights to each pictogram in the social extention are either trademarked or copyrighted by the respective company.
|
25 |
+
Icons that are included in the social extention can be identified at http://www.entypo.com/.
|
font/selection.json
ADDED
@@ -0,0 +1,498 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"IcoMoonType": "selection",
|
3 |
+
"icons": [
|
4 |
+
{
|
5 |
+
"icon": {
|
6 |
+
"paths": [
|
7 |
+
"M778.24 512c0 147.046-119.245 266.24-266.24 266.24-147.046 0-266.24-119.194-266.24-266.24 0-17.51 1.741-34.611 5.018-51.2h-179.098v353.894c0 75.981 61.542 137.626 137.626 137.626h605.389c75.981 0 137.626-61.594 137.626-137.626v-353.894h-179.046c3.226 16.589 4.966 33.69 4.966 51.2zM814.694 71.68h-605.389c-76.032 0-137.626 61.645-137.626 137.626v149.094h222.925c48.179-68.096 127.59-112.64 217.395-112.64s169.216 44.544 217.395 112.64h222.925v-149.094c0-75.981-61.645-137.626-137.626-137.626zM882.022 241.664c0 13.568-11.059 24.576-24.576 24.576h-73.677c-13.517 0-24.576-11.059-24.576-24.576v-73.728c0-13.568 11.11-24.576 24.576-24.576h73.677c13.568 0 24.576 11.059 24.576 24.576v73.728zM675.84 512c0-90.522-73.37-163.84-163.84-163.84s-163.84 73.318-163.84 163.84 73.37 163.84 163.84 163.84 163.84-73.318 163.84-163.84z"
|
8 |
+
],
|
9 |
+
"attrs": [
|
10 |
+
{}
|
11 |
+
],
|
12 |
+
"tags": [
|
13 |
+
"instagram",
|
14 |
+
"social"
|
15 |
+
],
|
16 |
+
"grid": 20
|
17 |
+
},
|
18 |
+
"attrs": [
|
19 |
+
{}
|
20 |
+
],
|
21 |
+
"properties": {
|
22 |
+
"order": 16,
|
23 |
+
"id": 13,
|
24 |
+
"name": "instagram",
|
25 |
+
"prevSize": 20,
|
26 |
+
"code": 58880
|
27 |
+
},
|
28 |
+
"setIdx": 0,
|
29 |
+
"setId": 4,
|
30 |
+
"iconIdx": 0
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"icon": {
|
34 |
+
"paths": [
|
35 |
+
"M565.862 412.672l69.837 33.741 105.421-33.741v-61.184c0-126.054-102.758-228.608-229.12-228.608-126.31 0-229.069 102.554-229.069 228.608v321.024c0 29.594-24.166 53.709-53.811 53.709s-53.811-24.115-53.811-53.709v-134.4h-175.309v134.4c0 126.054 102.758 228.608 229.12 228.608s229.12-102.554 229.12-228.608v-321.024c0-29.594 24.166-53.709 53.811-53.709 29.696 0 53.862 24.115 53.862 53.709v61.184zM848.742 538.112v134.4c0 29.594-24.166 53.709-53.811 53.709-29.696 0-53.862-24.115-53.862-53.709v-137.114l-105.421 33.741-69.837-33.741v137.114c0 126.054 102.758 228.608 229.12 228.608 126.31 0 229.069-102.554 229.069-228.608v-134.4h-175.258z"
|
36 |
+
],
|
37 |
+
"attrs": [
|
38 |
+
{}
|
39 |
+
],
|
40 |
+
"tags": [
|
41 |
+
"stumbleupon",
|
42 |
+
"social"
|
43 |
+
],
|
44 |
+
"grid": 20
|
45 |
+
},
|
46 |
+
"attrs": [
|
47 |
+
{}
|
48 |
+
],
|
49 |
+
"properties": {
|
50 |
+
"order": 1,
|
51 |
+
"id": 12,
|
52 |
+
"prevSize": 20,
|
53 |
+
"code": 58881,
|
54 |
+
"name": "stumbleupon"
|
55 |
+
},
|
56 |
+
"setIdx": 0,
|
57 |
+
"setId": 4,
|
58 |
+
"iconIdx": 1
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"icon": {
|
62 |
+
"paths": [
|
63 |
+
"M489.728 379.955c-69.53-123.648-143.872-224.41-149.35-231.782-112.179 52.992-195.942 156.314-222.003 280.883 10.547 0.205 178.176 2.202 371.354-49.101zM539.853 515.072c5.325-1.69 10.547-3.226 15.923-4.762-10.086-22.886-21.146-45.773-32.666-68.352-207.155 61.952-405.965 57.498-413.030 57.293-0.154 4.25-0.307 8.448-0.307 12.749 0 103.475 39.117 197.683 103.219 268.954-0.102-0.102-0.307-0.358-0.307-0.358s110.131-195.277 327.168-265.523zM264.755 829.082l0.102-0.154c-3.021-2.355-6.195-4.454-9.114-6.912 5.325 4.301 9.011 7.066 9.011 7.066zM415.642 121.446c-0.358 0.102-0.717 0.154-1.024 0.256 0.563-0.154 0.973-0.205 1.024-0.256v0zM777.677 210.125c-70.861-62.413-163.789-100.352-265.626-100.352-32.717 0-64.41 3.994-94.822 11.366 6.093 8.090 81.613 108.442 150.426 234.65 151.654-56.883 208.998-144.026 210.022-145.664zM512.051 983.040c-260.198 0-471.091-210.893-471.091-471.040s210.893-471.040 471.091-471.040c260.147 0 470.989 210.893 470.989 471.040s-210.842 471.040-470.989 471.040zM580.454 577.792c-236.083 82.278-314.061 247.757-315.597 251.136 68.198 53.299 153.907 85.299 247.194 85.299 55.706 0 108.749-11.315 156.979-31.795-5.939-35.277-29.338-158.515-85.914-305.562-0.87 0.358-1.792 0.614-2.662 0.922zM598.528 415.693c9.421 19.2 18.381 38.656 26.726 58.368 3.021 6.963 5.837 13.875 8.704 20.787 138.957-17.459 275.712 12.186 280.166 13.158-0.922-95.437-35.021-182.989-91.443-251.494-0.819 1.178-65.331 94.362-224.154 159.181zM658.483 558.336c52.838 145.152 74.24 263.27 78.285 287.334 90.368-60.979 154.522-157.696 172.39-269.875-7.936-2.611-120.627-38.298-250.675-17.459z"
|
64 |
+
],
|
65 |
+
"attrs": [
|
66 |
+
{}
|
67 |
+
],
|
68 |
+
"tags": [
|
69 |
+
"dribbble",
|
70 |
+
"social"
|
71 |
+
],
|
72 |
+
"grid": 20
|
73 |
+
},
|
74 |
+
"attrs": [
|
75 |
+
{}
|
76 |
+
],
|
77 |
+
"properties": {
|
78 |
+
"order": 2,
|
79 |
+
"id": 11,
|
80 |
+
"prevSize": 20,
|
81 |
+
"code": 58882,
|
82 |
+
"name": "dribbble"
|
83 |
+
},
|
84 |
+
"setIdx": 0,
|
85 |
+
"setId": 4,
|
86 |
+
"iconIdx": 2
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"icon": {
|
90 |
+
"paths": [
|
91 |
+
"M259.891 156.16c0 54.426-40.192 98.509-106.291 98.509-62.208 0-102.4-44.083-102.4-98.509 0-55.706 41.523-98.509 105.011-98.509s102.4 42.803 103.68 98.509zM56.422 966.349v-633.856h197.018v633.856h-197.018zM371.354 534.682c0-79.053-2.611-145.152-5.222-202.189h171.11l9.114 88.166h3.891c25.907-41.523 89.446-102.4 195.738-102.4 129.587 0 226.816 86.835 226.816 273.51v374.63h-197.018v-351.283c0-81.664-28.57-137.421-99.84-137.421-54.426 0-86.784 37.581-101.069 73.882-5.222 12.954-6.502 31.078-6.502 49.254v365.568h-197.018v-431.718z"
|
92 |
+
],
|
93 |
+
"attrs": [
|
94 |
+
{}
|
95 |
+
],
|
96 |
+
"tags": [
|
97 |
+
"linkedin",
|
98 |
+
"social"
|
99 |
+
],
|
100 |
+
"grid": 20
|
101 |
+
},
|
102 |
+
"attrs": [
|
103 |
+
{}
|
104 |
+
],
|
105 |
+
"properties": {
|
106 |
+
"order": 3,
|
107 |
+
"id": 10,
|
108 |
+
"prevSize": 20,
|
109 |
+
"code": 58883,
|
110 |
+
"name": "linkedin"
|
111 |
+
},
|
112 |
+
"setIdx": 0,
|
113 |
+
"setId": 4,
|
114 |
+
"iconIdx": 3
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"icon": {
|
118 |
+
"paths": [
|
119 |
+
"M798.72 931.635c-39.731 18.944-75.776 32.307-107.981 39.936-32.256 7.578-67.174 11.469-104.602 11.469-42.547 0-80.128-5.478-112.896-16.333-32.666-10.906-60.518-26.419-83.661-46.438-23.091-20.224-39.117-41.574-48.026-64.256-8.96-22.682-13.414-55.552-13.414-98.611v-330.445h-102.861v-133.325c36.557-12.032 67.942-29.184 93.952-51.661 26.112-22.426 47.002-49.408 62.822-80.896 15.77-31.488 26.573-71.475 32.563-120.115h132.352v238.131h220.928v147.866h-220.928v241.613c0 54.579 2.867 89.651 8.653 105.216 5.632 15.462 16.282 27.853 31.795 37.12 20.685 12.493 44.186 18.739 70.707 18.739 47.155 0 94.003-15.514 140.595-46.49v148.48z"
|
120 |
+
],
|
121 |
+
"attrs": [
|
122 |
+
{}
|
123 |
+
],
|
124 |
+
"tags": [
|
125 |
+
"tumblr",
|
126 |
+
"social"
|
127 |
+
],
|
128 |
+
"grid": 20
|
129 |
+
},
|
130 |
+
"attrs": [
|
131 |
+
{}
|
132 |
+
],
|
133 |
+
"properties": {
|
134 |
+
"order": 4,
|
135 |
+
"id": 9,
|
136 |
+
"prevSize": 20,
|
137 |
+
"code": 58884,
|
138 |
+
"name": "tumblr"
|
139 |
+
},
|
140 |
+
"setIdx": 0,
|
141 |
+
"setId": 4,
|
142 |
+
"iconIdx": 4
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"icon": {
|
146 |
+
"paths": [
|
147 |
+
"M441.139 677.274c-26.88 140.954-59.699 276.122-156.979 346.726-30.003-213.094 44.083-373.094 78.49-542.976-58.675-98.816 7.066-297.574 130.867-248.576 152.32 60.262-131.891 367.258 58.88 405.606 199.219 40.038 280.525-345.6 157.030-470.989-178.483-181.146-519.578-4.198-477.594 255.027 10.189 63.386 75.674 82.637 26.163 170.086-114.227-25.293-148.326-115.405-143.923-235.52 7.066-196.557 176.64-334.182 346.726-353.229 215.142-24.115 417.024 78.95 444.826 281.293 31.386 228.352-97.024 475.699-327.117 457.882-62.31-4.762-88.474-35.635-137.37-65.331z"
|
148 |
+
],
|
149 |
+
"attrs": [
|
150 |
+
{}
|
151 |
+
],
|
152 |
+
"tags": [
|
153 |
+
"pinterest",
|
154 |
+
"social"
|
155 |
+
],
|
156 |
+
"grid": 20
|
157 |
+
},
|
158 |
+
"attrs": [
|
159 |
+
{}
|
160 |
+
],
|
161 |
+
"properties": {
|
162 |
+
"order": 5,
|
163 |
+
"id": 8,
|
164 |
+
"prevSize": 20,
|
165 |
+
"code": 58885,
|
166 |
+
"name": "pinterest"
|
167 |
+
},
|
168 |
+
"setIdx": 0,
|
169 |
+
"setId": 4,
|
170 |
+
"iconIdx": 5
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"icon": {
|
174 |
+
"paths": [
|
175 |
+
"M768 211.405h-146.227c-17.306 0-36.608 22.733-36.608 53.197v105.574h182.835v150.528h-182.835v452.096h-172.646v-452.045h-156.518v-150.579h156.518v-88.576c0-127.027 88.166-230.4 209.203-230.4h146.278v160.205z"
|
176 |
+
],
|
177 |
+
"attrs": [
|
178 |
+
{}
|
179 |
+
],
|
180 |
+
"tags": [
|
181 |
+
"facebook",
|
182 |
+
"social"
|
183 |
+
],
|
184 |
+
"grid": 20
|
185 |
+
},
|
186 |
+
"attrs": [
|
187 |
+
{}
|
188 |
+
],
|
189 |
+
"properties": {
|
190 |
+
"order": 6,
|
191 |
+
"id": 7,
|
192 |
+
"prevSize": 20,
|
193 |
+
"code": 58886,
|
194 |
+
"name": "facebook"
|
195 |
+
},
|
196 |
+
"setIdx": 0,
|
197 |
+
"setId": 4,
|
198 |
+
"iconIdx": 6
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"icon": {
|
202 |
+
"paths": [
|
203 |
+
"M983.040 219.802c-34.714 15.411-71.936 25.754-111.053 30.464 39.936-23.91 70.605-61.798 84.992-106.906-37.325 22.118-78.694 38.246-122.675 46.899-35.277-37.581-85.504-61.030-141.107-61.030-106.752 0-193.28 86.528-193.28 193.229 0 15.155 1.69 29.901 5.018 44.032-160.614-8.038-303.053-84.992-398.336-201.933-16.691 28.518-26.266 61.747-26.266 97.178 0 67.072 34.15 126.208 86.016 160.87-31.693-1.024-61.491-9.677-87.552-24.166 0 0.819 0 1.587 0 2.406 0 93.645 66.662 171.725 155.034 189.542-16.179 4.403-33.28 6.758-50.944 6.758-12.442 0-24.525-1.178-36.352-3.43 24.576 76.8 96 132.659 180.531 134.195-66.15 51.866-149.453 82.739-240.026 82.739-15.616 0-30.976-0.922-46.080-2.714 85.504 54.835 187.085 86.835 296.294 86.835 355.482 0 549.888-294.502 549.888-549.939 0-8.346-0.154-16.691-0.563-24.986 37.786-27.238 70.502-61.286 96.461-100.045z"
|
204 |
+
],
|
205 |
+
"attrs": [
|
206 |
+
{}
|
207 |
+
],
|
208 |
+
"tags": [
|
209 |
+
"twitter",
|
210 |
+
"social"
|
211 |
+
],
|
212 |
+
"grid": 20
|
213 |
+
},
|
214 |
+
"attrs": [
|
215 |
+
{}
|
216 |
+
],
|
217 |
+
"properties": {
|
218 |
+
"order": 7,
|
219 |
+
"id": 6,
|
220 |
+
"prevSize": 20,
|
221 |
+
"code": 58887,
|
222 |
+
"name": "twitter"
|
223 |
+
},
|
224 |
+
"setIdx": 0,
|
225 |
+
"setId": 4,
|
226 |
+
"iconIdx": 7
|
227 |
+
},
|
228 |
+
{
|
229 |
+
"icon": {
|
230 |
+
"paths": [
|
231 |
+
"M968.192 299.059c-51.507 295.526-339.2 545.792-425.728 602.931-86.579 57.139-165.478-22.886-194.15-83.456-32.768-68.966-131.021-443.238-156.774-474.163-25.702-31.078-102.912 30.925-102.912 30.925l-37.427-49.971c0 0 156.774-190.72 276.070-214.528 126.464-25.242 126.259 197.837 156.672 321.69 29.44 119.859 49.203 188.467 74.854 188.467 25.754 0 74.854-66.867 128.666-169.318 53.914-102.554-2.304-193.075-107.622-128.717 42.086-257.434 439.859-319.334 388.352-23.859z"
|
232 |
+
],
|
233 |
+
"attrs": [
|
234 |
+
{}
|
235 |
+
],
|
236 |
+
"tags": [
|
237 |
+
"vimeo",
|
238 |
+
"social"
|
239 |
+
],
|
240 |
+
"grid": 20
|
241 |
+
},
|
242 |
+
"attrs": [
|
243 |
+
{}
|
244 |
+
],
|
245 |
+
"properties": {
|
246 |
+
"order": 8,
|
247 |
+
"id": 5,
|
248 |
+
"prevSize": 20,
|
249 |
+
"code": 58888,
|
250 |
+
"name": "vimeo"
|
251 |
+
},
|
252 |
+
"setIdx": 0,
|
253 |
+
"setId": 4,
|
254 |
+
"iconIdx": 8
|
255 |
+
},
|
256 |
+
{
|
257 |
+
"icon": {
|
258 |
+
"paths": [
|
259 |
+
"M252.058 716.8c-110.95 0-200.858-91.597-200.858-204.8s89.907-204.8 200.858-204.8c110.95 0 200.909 91.648 200.909 204.8s-89.958 204.8-200.909 204.8zM771.891 716.8c-111.002 0-201.011-91.597-201.011-204.8s90.010-204.8 201.011-204.8c110.899 0 200.909 91.648 200.909 204.8s-90.010 204.8-200.909 204.8z"
|
260 |
+
],
|
261 |
+
"attrs": [
|
262 |
+
{}
|
263 |
+
],
|
264 |
+
"tags": [
|
265 |
+
"flickr",
|
266 |
+
"social"
|
267 |
+
],
|
268 |
+
"grid": 20
|
269 |
+
},
|
270 |
+
"attrs": [
|
271 |
+
{}
|
272 |
+
],
|
273 |
+
"properties": {
|
274 |
+
"order": 9,
|
275 |
+
"id": 4,
|
276 |
+
"prevSize": 20,
|
277 |
+
"code": 58889,
|
278 |
+
"name": "flickr"
|
279 |
+
},
|
280 |
+
"setIdx": 0,
|
281 |
+
"setId": 4,
|
282 |
+
"iconIdx": 9
|
283 |
+
},
|
284 |
+
{
|
285 |
+
"icon": {
|
286 |
+
"paths": [
|
287 |
+
"M674.816 579.072c-36.762 0-66.56 41.267-66.56 92.109 0 50.893 29.798 92.16 66.56 92.16s66.56-41.267 66.56-92.16c-0.051-50.893-29.85-92.109-66.56-92.109zM906.547 339.251c7.578-18.688 7.936-124.928-32.461-226.611 0 0-92.774 10.138-233.062 106.445-29.44-8.141-79.258-12.186-129.024-12.186-49.818 0-99.584 4.096-129.075 12.186-140.237-96.307-232.96-106.445-232.96-106.445-40.397 101.683-40.090 207.923-32.461 226.611-47.514 51.61-76.544 113.562-76.544 198.195 0 367.923 305.254 373.811 382.31 373.811 17.459 0 52.173 0.051 88.781 0.102 36.608-0.051 71.322-0.102 88.678-0.102 77.107 0 382.31-5.888 382.31-373.811 0-84.634-28.979-146.586-76.493-198.195zM513.434 866.048h-2.816c-193.126 0-343.552-23.040-343.552-210.739 0-44.954 15.923-86.682 53.555-121.293 62.925-57.702 169.267-27.136 289.997-27.136 0.461 0 0.973 0 1.434-0.051 0.512 0 0.973 0.051 1.382 0.051 120.73 0 227.123-30.566 289.997 27.136 37.632 34.611 53.504 76.339 53.504 121.293 0 187.699-150.323 210.739-343.501 210.739zM349.235 579.072c-36.762 0-66.56 41.267-66.56 92.109 0 50.893 29.798 92.16 66.56 92.16s66.56-41.267 66.56-92.16c0-50.893-29.798-92.109-66.56-92.109z"
|
288 |
+
],
|
289 |
+
"attrs": [
|
290 |
+
{}
|
291 |
+
],
|
292 |
+
"tags": [
|
293 |
+
"github",
|
294 |
+
"social"
|
295 |
+
],
|
296 |
+
"grid": 20
|
297 |
+
},
|
298 |
+
"attrs": [
|
299 |
+
{}
|
300 |
+
],
|
301 |
+
"properties": {
|
302 |
+
"order": 10,
|
303 |
+
"id": 3,
|
304 |
+
"prevSize": 20,
|
305 |
+
"code": 58890,
|
306 |
+
"name": "github"
|
307 |
+
},
|
308 |
+
"setIdx": 0,
|
309 |
+
"setId": 4,
|
310 |
+
"iconIdx": 10
|
311 |
+
},
|
312 |
+
{
|
313 |
+
"icon": {
|
314 |
+
"paths": [
|
315 |
+
"M102.502 143.309v121.242c362.803 0 656.896 294.144 656.896 656.947h121.293c0-429.773-348.416-778.189-778.189-778.189zM102.502 385.843v121.293c228.864 0 414.413 185.498 414.413 414.362h121.19c0-295.782-239.77-535.654-535.603-535.654zM218.726 689.050c-64.154 0-116.224 52.070-116.224 116.275s52.070 116.224 116.224 116.224c64.205 0 116.275-52.019 116.275-116.224s-52.070-116.275-116.275-116.275z"
|
316 |
+
],
|
317 |
+
"attrs": [
|
318 |
+
{}
|
319 |
+
],
|
320 |
+
"tags": [
|
321 |
+
"rss",
|
322 |
+
"atom",
|
323 |
+
"feed"
|
324 |
+
],
|
325 |
+
"grid": 20
|
326 |
+
},
|
327 |
+
"attrs": [
|
328 |
+
{}
|
329 |
+
],
|
330 |
+
"properties": {
|
331 |
+
"order": 11,
|
332 |
+
"id": 2,
|
333 |
+
"prevSize": 20,
|
334 |
+
"code": 58891,
|
335 |
+
"name": "rss"
|
336 |
+
},
|
337 |
+
"setIdx": 0,
|
338 |
+
"setId": 4,
|
339 |
+
"iconIdx": 11
|
340 |
+
},
|
341 |
+
{
|
342 |
+
"icon": {
|
343 |
+
"paths": [
|
344 |
+
"M880.077 212.531c-85.606-78.592-224.41-78.592-310.016 0l-58.061 53.35-58.112-53.35c-85.606-78.592-224.358-78.592-309.965 0-96.307 88.371-96.307 231.629 0 320.051l368.077 337.818 368.077-337.818c96.307-88.422 96.307-231.68 0-320.051z"
|
345 |
+
],
|
346 |
+
"attrs": [
|
347 |
+
{}
|
348 |
+
],
|
349 |
+
"tags": [
|
350 |
+
"heart",
|
351 |
+
"love",
|
352 |
+
"like",
|
353 |
+
"favorite"
|
354 |
+
],
|
355 |
+
"grid": 20
|
356 |
+
},
|
357 |
+
"attrs": [
|
358 |
+
{}
|
359 |
+
],
|
360 |
+
"properties": {
|
361 |
+
"order": 12,
|
362 |
+
"id": 1,
|
363 |
+
"prevSize": 20,
|
364 |
+
"code": 58892,
|
365 |
+
"name": "heart"
|
366 |
+
},
|
367 |
+
"setIdx": 0,
|
368 |
+
"setId": 4,
|
369 |
+
"iconIdx": 12
|
370 |
+
},
|
371 |
+
{
|
372 |
+
"icon": {
|
373 |
+
"paths": [
|
374 |
+
"M81.613 270.643c24.986 13.466 371.149 199.373 384.051 206.285 12.851 6.912 29.542 10.24 46.336 10.24 16.845 0 33.536-3.328 46.387-10.291 12.902-6.912 359.014-192.819 384-206.285 25.037-13.414 48.691-55.552 2.765-55.552h-866.253c-45.926 0-22.323 42.138 2.714 55.603zM952.986 373.043c-28.416 14.848-377.19 197.171-394.598 206.285s-29.542 10.291-46.387 10.291c-16.794 0-28.928-1.178-46.336-10.291s-366.234-191.488-394.598-206.285c-20.019-10.445-19.866 1.792-19.866 11.213s0 375.552 0 375.552c0 21.504 28.621 49.152 50.79 49.152h820.070c22.221 0 50.739-27.648 50.739-49.101 0 0 0-366.131 0-375.552 0-9.472 0.205-21.709-19.814-11.264z"
|
375 |
+
],
|
376 |
+
"attrs": [
|
377 |
+
{}
|
378 |
+
],
|
379 |
+
"tags": [
|
380 |
+
"mail",
|
381 |
+
"email",
|
382 |
+
"message",
|
383 |
+
"letter",
|
384 |
+
"envelope",
|
385 |
+
"contact"
|
386 |
+
],
|
387 |
+
"grid": 20
|
388 |
+
},
|
389 |
+
"attrs": [
|
390 |
+
{}
|
391 |
+
],
|
392 |
+
"properties": {
|
393 |
+
"order": 13,
|
394 |
+
"id": 0,
|
395 |
+
"prevSize": 20,
|
396 |
+
"code": 58893,
|
397 |
+
"name": "mail"
|
398 |
+
},
|
399 |
+
"setIdx": 0,
|
400 |
+
"setId": 4,
|
401 |
+
"iconIdx": 13
|
402 |
+
},
|
403 |
+
{
|
404 |
+
"icon": {
|
405 |
+
"width": 951,
|
406 |
+
"paths": [
|
407 |
+
"M420 454.857q0 20.571 18.286 40.286t44.286 38.857 51.714 42 44 59.429 18.286 81.143q0 51.429-27.429 98.857-41.143 69.714-120.571 102.571t-170.286 32.857q-75.429 0-140.857-23.714t-98-78.571q-21.143-34.286-21.143-74.857 0-46.286 25.429-85.714t67.714-65.714q74.857-46.857 230.857-57.143-18.286-24-27.143-42.286t-8.857-41.714q0-20.571 12-48.571-26.286 2.286-38.857 2.286-84.571 0-142.571-55.143t-58-139.714q0-46.857 20.571-90.857t56.571-74.857q44-37.714 104.286-56t124.286-18.286h238.857l-78.857 50.286h-74.857q42.286 36 64 76t21.714 91.429q0 41.143-14 74t-33.714 53.143-39.714 37.143-34 35.143-14 37.714zM336.571 400q21.714 0 44.571-9.429t37.714-24.857q30.286-32.571 30.286-90.857 0-33.143-9.714-71.429t-27.714-74-48.286-59.143-66.857-23.429q-24 0-47.143 11.143t-37.429 30q-26.857 33.714-26.857 91.429 0 26.286 5.714 55.714t18 58.857 29.714 52.857 42.857 38.286 55.143 14.857zM337.714 898.857q33.143 0 63.714-7.429t56.571-22.286 41.714-41.714 15.714-62.286q0-14.286-4-28t-8.286-24-15.429-23.714-16.857-20-22-19.714-20.857-16.571-23.714-17.143-20.857-14.857q-9.143-1.143-27.429-1.143-30.286 0-60 4t-61.429 14.286-55.429 26.286-39.143 42.571-15.429 60.286q0 40 20 70.571t52.286 47.429 68 25.143 72.857 8.286zM800.571 398.286h121.714v61.714h-121.714v125.143h-60v-125.143h-121.143v-61.714h121.143v-124h60v124z"
|
408 |
+
],
|
409 |
+
"attrs": [
|
410 |
+
{}
|
411 |
+
],
|
412 |
+
"tags": [
|
413 |
+
"google-plus"
|
414 |
+
],
|
415 |
+
"grid": 14
|
416 |
+
},
|
417 |
+
"attrs": [
|
418 |
+
{}
|
419 |
+
],
|
420 |
+
"properties": {
|
421 |
+
"order": 14,
|
422 |
+
"id": 1,
|
423 |
+
"prevSize": 28,
|
424 |
+
"code": 58894,
|
425 |
+
"name": "google-plus"
|
426 |
+
},
|
427 |
+
"setIdx": 0,
|
428 |
+
"setId": 4,
|
429 |
+
"iconIdx": 14
|
430 |
+
},
|
431 |
+
{
|
432 |
+
"icon": {
|
433 |
+
"paths": [
|
434 |
+
"M554.857 710.857v120.571q0 38.286-22.286 38.286-13.143 0-25.714-12.571v-172q12.571-12.571 25.714-12.571 22.286 0 22.286 38.286zM748 711.429v26.286h-51.429v-26.286q0-38.857 25.714-38.857t25.714 38.857zM196 586.857h61.143v-53.714h-178.286v53.714h60v325.143h57.143v-325.143zM360.571 912h50.857v-282.286h-50.857v216q-17.143 24-32.571 24-10.286 0-12-12-0.571-1.714-0.571-20v-208h-50.857v223.429q0 28 4.571 41.714 6.857 21.143 33.143 21.143 27.429 0 58.286-34.857v30.857zM605.714 827.429v-112.571q0-41.714-5.143-56.571-9.714-32-40.571-32-28.571 0-53.143 30.857v-124h-50.857v378.857h50.857v-27.429q25.714 31.429 53.143 31.429 30.857 0 40.571-31.429 5.143-15.429 5.143-57.143zM798.857 821.714v-7.429h-52q0 29.143-1.143 34.857-4 20.571-22.857 20.571-26.286 0-26.286-39.429v-49.714h102.286v-58.857q0-45.143-15.429-66.286-22.286-29.143-60.571-29.143-38.857 0-61.143 29.143-16 21.143-16 66.286v98.857q0 45.143 16.571 66.286 22.286 29.143 61.714 29.143 41.143 0 61.714-30.286 10.286-15.429 12-30.857 1.143-5.143 1.143-33.143zM451.429 300v-120q0-39.429-24.571-39.429t-24.571 39.429v120q0 40 24.571 40t24.571-40zM862.286 729.143q0 133.714-14.857 200-8 33.714-33.143 56.571t-58.286 26.286q-105.143 12-317.143 12t-317.143-12q-33.143-3.429-58.571-26.286t-32.857-56.571q-14.857-64-14.857-200 0-133.714 14.857-200 8-33.714 33.143-56.571t58.857-26.857q104.571-11.429 316.571-11.429t317.143 11.429q33.143 4 58.571 26.857t32.857 56.571q14.857 64 14.857 200zM292 0h58.286l-69.143 228v154.857h-57.143v-154.857q-8-42.286-34.857-121.143-21.143-58.857-37.143-106.857h60.571l40.571 150.286zM503.429 190.286v100q0 46.286-16 67.429-21.143 29.143-60.571 29.143-38.286 0-60-29.143-16-21.714-16-67.429v-100q0-45.714 16-66.857 21.714-29.143 60-29.143 39.429 0 60.571 29.143 16 21.143 16 66.857zM694.857 97.714v285.143h-52v-31.429q-30.286 35.429-58.857 35.429-26.286 0-33.714-21.143-4.571-13.714-4.571-42.857v-225.143h52v209.714q0 18.857 0.571 20 1.714 12.571 12 12.571 15.429 0 32.571-24.571v-217.714h52z"
|
435 |
+
],
|
436 |
+
"attrs": [
|
437 |
+
{}
|
438 |
+
],
|
439 |
+
"tags": [
|
440 |
+
"youtube"
|
441 |
+
],
|
442 |
+
"grid": 14
|
443 |
+
},
|
444 |
+
"attrs": [
|
445 |
+
{}
|
446 |
+
],
|
447 |
+
"properties": {
|
448 |
+
"order": 15,
|
449 |
+
"id": 0,
|
450 |
+
"prevSize": 28,
|
451 |
+
"code": 58895,
|
452 |
+
"name": "youtube"
|
453 |
+
},
|
454 |
+
"setIdx": 0,
|
455 |
+
"setId": 4,
|
456 |
+
"iconIdx": 15
|
457 |
+
}
|
458 |
+
],
|
459 |
+
"height": 1024,
|
460 |
+
"metadata": {
|
461 |
+
"name": "ssi-icomoon"
|
462 |
+
},
|
463 |
+
"preferences": {
|
464 |
+
"showGlyphs": true,
|
465 |
+
"showQuickUse": true,
|
466 |
+
"showQuickUse2": true,
|
467 |
+
"showSVGs": true,
|
468 |
+
"fontPref": {
|
469 |
+
"prefix": "icon-",
|
470 |
+
"metadata": {
|
471 |
+
"fontFamily": "ssi-icomoon",
|
472 |
+
"majorVersion": 1,
|
473 |
+
"minorVersion": 0
|
474 |
+
},
|
475 |
+
"metrics": {
|
476 |
+
"emSize": 1024,
|
477 |
+
"baseline": 6.25,
|
478 |
+
"whitespace": 50
|
479 |
+
},
|
480 |
+
"showSelector": false,
|
481 |
+
"showMetrics": false,
|
482 |
+
"showMetadata": false,
|
483 |
+
"showVersion": false,
|
484 |
+
"resetPoint": 58880
|
485 |
+
},
|
486 |
+
"imagePref": {
|
487 |
+
"prefix": "icon-",
|
488 |
+
"png": true,
|
489 |
+
"useClassSelector": true,
|
490 |
+
"color": 4473924,
|
491 |
+
"bgColor": 16777215
|
492 |
+
},
|
493 |
+
"historySize": 100,
|
494 |
+
"showCodes": false,
|
495 |
+
"gridSize": 16,
|
496 |
+
"showLiga": true
|
497 |
+
}
|
498 |
+
}
|
font/ssi-icomoon.eot
ADDED
Binary file
|
font/ssi-icomoon.svg
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" standalone="no"?>
|
2 |
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
3 |
+
<svg xmlns="http://www.w3.org/2000/svg">
|
4 |
+
<metadata>Generated by IcoMoon</metadata>
|
5 |
+
<defs>
|
6 |
+
<font id="ssi-icomoon" horiz-adv-x="1024">
|
7 |
+
<font-face units-per-em="1024" ascent="960" descent="-64" />
|
8 |
+
<missing-glyph horiz-adv-x="1024" />
|
9 |
+
<glyph unicode=" " d="" horiz-adv-x="512" />
|
10 |
+
<glyph unicode="" d="M778.24 460.8c0-147.046-119.245-266.24-266.24-266.24-147.046 0-266.24 119.194-266.24 266.24 0 17.51 1.741 34.611 5.018 51.2h-179.098v-353.894c0-75.981 61.542-137.626 137.626-137.626h605.389c75.981 0 137.626 61.594 137.626 137.626v353.894h-179.046c3.226-16.589 4.966-33.69 4.966-51.2zM814.694 901.12h-605.389c-76.032 0-137.626-61.645-137.626-137.626v-149.094h222.925c48.179 68.096 127.59 112.64 217.395 112.64s169.216-44.544 217.395-112.64h222.925v149.094c0 75.981-61.645 137.626-137.626 137.626zM882.022 731.136c0-13.568-11.059-24.576-24.576-24.576h-73.677c-13.517 0-24.576 11.059-24.576 24.576v73.728c0 13.568 11.11 24.576 24.576 24.576h73.677c13.568 0 24.576-11.059 24.576-24.576v-73.728zM675.84 460.8c0 90.522-73.37 163.84-163.84 163.84s-163.84-73.318-163.84-163.84 73.37-163.84 163.84-163.84 163.84 73.318 163.84 163.84z" />
|
11 |
+
<glyph unicode="" d="M565.862 560.128l69.837-33.741 105.421 33.741v61.184c0 126.054-102.758 228.608-229.12 228.608-126.31 0-229.069-102.554-229.069-228.608v-321.024c0-29.594-24.166-53.709-53.811-53.709s-53.811 24.115-53.811 53.709v134.4h-175.309v-134.4c0-126.054 102.758-228.608 229.12-228.608s229.12 102.554 229.12 228.608v321.024c0 29.594 24.166 53.709 53.811 53.709 29.696 0 53.862-24.115 53.862-53.709v-61.184zM848.742 434.688v-134.4c0-29.594-24.166-53.709-53.811-53.709-29.696 0-53.862 24.115-53.862 53.709v137.114l-105.421-33.741-69.837 33.741v-137.114c0-126.054 102.758-228.608 229.12-228.608 126.31 0 229.069 102.554 229.069 228.608v134.4h-175.258z" />
|
12 |
+
<glyph unicode="" d="M489.728 592.845c-69.53 123.648-143.872 224.41-149.35 231.782-112.179-52.992-195.942-156.314-222.003-280.883 10.547-0.205 178.176-2.202 371.354 49.101zM539.853 457.728c5.325 1.69 10.547 3.226 15.923 4.762-10.086 22.886-21.146 45.773-32.666 68.352-207.155-61.952-405.965-57.498-413.030-57.293-0.154-4.25-0.307-8.448-0.307-12.749 0-103.475 39.117-197.683 103.219-268.954-0.102 0.102-0.307 0.358-0.307 0.358s110.131 195.277 327.168 265.523zM264.755 143.718l0.102 0.154c-3.021 2.355-6.195 4.454-9.114 6.912 5.325-4.301 9.011-7.066 9.011-7.066zM415.642 851.354c-0.358-0.102-0.717-0.154-1.024-0.256 0.563 0.154 0.973 0.205 1.024 0.256v0zM777.677 762.675c-70.861 62.413-163.789 100.352-265.626 100.352-32.717 0-64.41-3.994-94.822-11.366 6.093-8.090 81.613-108.442 150.426-234.65 151.654 56.883 208.998 144.026 210.022 145.664zM512.051-10.24c-260.198 0-471.091 210.893-471.091 471.040s210.893 471.040 471.091 471.040c260.147 0 470.989-210.893 470.989-471.040s-210.842-471.040-470.989-471.040zM580.454 395.008c-236.083-82.278-314.061-247.757-315.597-251.136 68.198-53.299 153.907-85.299 247.194-85.299 55.706 0 108.749 11.315 156.979 31.795-5.939 35.277-29.338 158.515-85.914 305.562-0.87-0.358-1.792-0.614-2.662-0.922zM598.528 557.107c9.421-19.2 18.381-38.656 26.726-58.368 3.021-6.963 5.837-13.875 8.704-20.787 138.957 17.459 275.712-12.186 280.166-13.158-0.922 95.437-35.021 182.989-91.443 251.494-0.819-1.178-65.331-94.362-224.154-159.181zM658.483 414.464c52.838-145.152 74.24-263.27 78.285-287.334 90.368 60.979 154.522 157.696 172.39 269.875-7.936 2.611-120.627 38.298-250.675 17.459z" />
|
13 |
+
<glyph unicode="" d="M259.891 816.64c0-54.426-40.192-98.509-106.291-98.509-62.208 0-102.4 44.083-102.4 98.509 0 55.706 41.523 98.509 105.011 98.509s102.4-42.803 103.68-98.509zM56.422 6.451v633.856h197.018v-633.856h-197.018zM371.354 438.118c0 79.053-2.611 145.152-5.222 202.189h171.11l9.114-88.166h3.891c25.907 41.523 89.446 102.4 195.738 102.4 129.587 0 226.816-86.835 226.816-273.51v-374.63h-197.018v351.283c0 81.664-28.57 137.421-99.84 137.421-54.426 0-86.784-37.581-101.069-73.882-5.222-12.954-6.502-31.078-6.502-49.254v-365.568h-197.018v431.718z" />
|
14 |
+
<glyph unicode="" d="M798.72 41.165c-39.731-18.944-75.776-32.307-107.981-39.936-32.256-7.578-67.174-11.469-104.602-11.469-42.547 0-80.128 5.478-112.896 16.333-32.666 10.906-60.518 26.419-83.661 46.438-23.091 20.224-39.117 41.574-48.026 64.256-8.96 22.682-13.414 55.552-13.414 98.611v330.445h-102.861v133.325c36.557 12.032 67.942 29.184 93.952 51.661 26.112 22.426 47.002 49.408 62.822 80.896 15.77 31.488 26.573 71.475 32.563 120.115h132.352v-238.131h220.928v-147.866h-220.928v-241.613c0-54.579 2.867-89.651 8.653-105.216 5.632-15.462 16.282-27.853 31.795-37.12 20.685-12.493 44.186-18.739 70.707-18.739 47.155 0 94.003 15.514 140.595 46.49v-148.48z" />
|
15 |
+
<glyph unicode="" d="M441.139 295.526c-26.88-140.954-59.699-276.122-156.979-346.726-30.003 213.094 44.083 373.094 78.49 542.976-58.675 98.816 7.066 297.574 130.867 248.576 152.32-60.262-131.891-367.258 58.88-405.606 199.219-40.038 280.525 345.6 157.030 470.989-178.483 181.146-519.578 4.198-477.594-255.027 10.189-63.386 75.674-82.637 26.163-170.086-114.227 25.293-148.326 115.405-143.923 235.52 7.066 196.557 176.64 334.182 346.726 353.229 215.142 24.115 417.024-78.95 444.826-281.293 31.386-228.352-97.024-475.699-327.117-457.882-62.31 4.762-88.474 35.635-137.37 65.331z" />
|
16 |
+
<glyph unicode="" d="M768 761.395h-146.227c-17.306 0-36.608-22.733-36.608-53.197v-105.574h182.835v-150.528h-182.835v-452.096h-172.646v452.045h-156.518v150.579h156.518v88.576c0 127.027 88.166 230.4 209.203 230.4h146.278v-160.205z" />
|
17 |
+
<glyph unicode="" d="M983.040 752.998c-34.714-15.411-71.936-25.754-111.053-30.464 39.936 23.91 70.605 61.798 84.992 106.906-37.325-22.118-78.694-38.246-122.675-46.899-35.277 37.581-85.504 61.030-141.107 61.030-106.752 0-193.28-86.528-193.28-193.229 0-15.155 1.69-29.901 5.018-44.032-160.614 8.038-303.053 84.992-398.336 201.933-16.691-28.518-26.266-61.747-26.266-97.178 0-67.072 34.15-126.208 86.016-160.87-31.693 1.024-61.491 9.677-87.552 24.166 0-0.819 0-1.587 0-2.406 0-93.645 66.662-171.725 155.034-189.542-16.179-4.403-33.28-6.758-50.944-6.758-12.442 0-24.525 1.178-36.352 3.43 24.576-76.8 96-132.659 180.531-134.195-66.15-51.866-149.453-82.739-240.026-82.739-15.616 0-30.976 0.922-46.080 2.714 85.504-54.835 187.085-86.835 296.294-86.835 355.482 0 549.888 294.502 549.888 549.939 0 8.346-0.154 16.691-0.563 24.986 37.786 27.238 70.502 61.286 96.461 100.045z" />
|
18 |
+
<glyph unicode="" d="M968.192 673.741c-51.507-295.526-339.2-545.792-425.728-602.931-86.579-57.139-165.478 22.886-194.15 83.456-32.768 68.966-131.021 443.238-156.774 474.163-25.702 31.078-102.912-30.925-102.912-30.925l-37.427 49.971c0 0 156.774 190.72 276.070 214.528 126.464 25.242 126.259-197.837 156.672-321.69 29.44-119.859 49.203-188.467 74.854-188.467 25.754 0 74.854 66.867 128.666 169.318 53.914 102.554-2.304 193.075-107.622 128.717 42.086 257.434 439.859 319.334 388.352 23.859z" />
|
19 |
+
<glyph unicode="" d="M252.058 256c-110.95 0-200.858 91.597-200.858 204.8s89.907 204.8 200.858 204.8c110.95 0 200.909-91.648 200.909-204.8s-89.958-204.8-200.909-204.8zM771.891 256c-111.002 0-201.011 91.597-201.011 204.8s90.010 204.8 201.011 204.8c110.899 0 200.909-91.648 200.909-204.8s-90.010-204.8-200.909-204.8z" />
|
20 |
+
<glyph unicode="" d="M674.816 393.728c-36.762 0-66.56-41.267-66.56-92.109 0-50.893 29.798-92.16 66.56-92.16s66.56 41.267 66.56 92.16c-0.051 50.893-29.85 92.109-66.56 92.109zM906.547 633.549c7.578 18.688 7.936 124.928-32.461 226.611 0 0-92.774-10.138-233.062-106.445-29.44 8.141-79.258 12.186-129.024 12.186-49.818 0-99.584-4.096-129.075-12.186-140.237 96.307-232.96 106.445-232.96 106.445-40.397-101.683-40.090-207.923-32.461-226.611-47.514-51.61-76.544-113.562-76.544-198.195 0-367.923 305.254-373.811 382.31-373.811 17.459 0 52.173-0.051 88.781-0.102 36.608 0.051 71.322 0.102 88.678 0.102 77.107 0 382.31 5.888 382.31 373.811 0 84.634-28.979 146.586-76.493 198.195zM513.434 106.752h-2.816c-193.126 0-343.552 23.040-343.552 210.739 0 44.954 15.923 86.682 53.555 121.293 62.925 57.702 169.267 27.136 289.997 27.136 0.461 0 0.973 0 1.434 0.051 0.512 0 0.973-0.051 1.382-0.051 120.73 0 227.123 30.566 289.997-27.136 37.632-34.611 53.504-76.339 53.504-121.293 0-187.699-150.323-210.739-343.501-210.739zM349.235 393.728c-36.762 0-66.56-41.267-66.56-92.109 0-50.893 29.798-92.16 66.56-92.16s66.56 41.267 66.56 92.16c0 50.893-29.798 92.109-66.56 92.109z" />
|
21 |
+
<glyph unicode="" d="M102.502 829.491v-121.242c362.803 0 656.896-294.144 656.896-656.947h121.293c0 429.773-348.416 778.189-778.189 778.189zM102.502 586.957v-121.293c228.864 0 414.413-185.498 414.413-414.362h121.19c0 295.782-239.77 535.654-535.603 535.654zM218.726 283.75c-64.154 0-116.224-52.070-116.224-116.275s52.070-116.224 116.224-116.224c64.205 0 116.275 52.019 116.275 116.224s-52.070 116.275-116.275 116.275z" />
|
22 |
+
<glyph unicode="" d="M880.077 760.269c-85.606 78.592-224.41 78.592-310.016 0l-58.061-53.35-58.112 53.35c-85.606 78.592-224.358 78.592-309.965 0-96.307-88.371-96.307-231.629 0-320.051l368.077-337.818 368.077 337.818c96.307 88.422 96.307 231.68 0 320.051z" />
|
23 |
+
<glyph unicode="" d="M81.613 702.157c24.986-13.466 371.149-199.373 384.051-206.285 12.851-6.912 29.542-10.24 46.336-10.24 16.845 0 33.536 3.328 46.387 10.291 12.902 6.912 359.014 192.819 384 206.285 25.037 13.414 48.691 55.552 2.765 55.552h-866.253c-45.926 0-22.323-42.138 2.714-55.603zM952.986 599.757c-28.416-14.848-377.19-197.171-394.598-206.285s-29.542-10.291-46.387-10.291c-16.794 0-28.928 1.178-46.336 10.291s-366.234 191.488-394.598 206.285c-20.019 10.445-19.866-1.792-19.866-11.213s0-375.552 0-375.552c0-21.504 28.621-49.152 50.79-49.152h820.070c22.221 0 50.739 27.648 50.739 49.101 0 0 0 366.131 0 375.552 0 9.472 0.205 21.709-19.814 11.264z" />
|
24 |
+
<glyph unicode="" d="M420 496q0-20.571 18.286-40.286t44.286-38.857 51.714-42 44-59.429 18.286-81.143q0-51.429-27.429-98.857-41.143-69.714-120.571-102.571t-170.286-32.857q-75.429 0-140.857 23.714t-98 78.571q-21.143 34.286-21.143 74.857 0 46.286 25.429 85.714t67.714 65.714q74.857 46.857 230.857 57.143-18.286 24-27.143 42.286t-8.857 41.714q0 20.571 12 48.571-26.286-2.286-38.857-2.286-84.571 0-142.571 55.143t-58 139.714q0 46.857 20.571 90.857t56.571 74.857q44 37.714 104.286 56t124.286 18.286h238.857l-78.857-50.286h-74.857q42.286-36 64-76t21.714-91.429q0-41.143-14-74t-33.714-53.143-39.714-37.143-34-35.143-14-37.714zM336.571 550.857q21.714 0 44.571 9.429t37.714 24.857q30.286 32.571 30.286 90.857 0 33.143-9.714 71.429t-27.714 74-48.286 59.143-66.857 23.429q-24 0-47.143-11.143t-37.429-30q-26.857-33.714-26.857-91.429 0-26.286 5.714-55.714t18-58.857 29.714-52.857 42.857-38.286 55.143-14.857zM337.714 52q33.143 0 63.714 7.429t56.571 22.286 41.714 41.714 15.714 62.286q0 14.286-4 28t-8.286 24-15.429 23.714-16.857 20-22 19.714-20.857 16.571-23.714 17.143-20.857 14.857q-9.143 1.143-27.429 1.143-30.286 0-60-4t-61.429-14.286-55.429-26.286-39.143-42.571-15.429-60.286q0-40 20-70.571t52.286-47.429 68-25.143 72.857-8.286zM800.571 552.571h121.714v-61.714h-121.714v-125.143h-60v125.143h-121.143v61.714h121.143v124h60v-124z" horiz-adv-x="951" />
|
25 |
+
<glyph unicode="" d="M554.857 240v-120.571q0-38.286-22.286-38.286-13.143 0-25.714 12.571v172q12.571 12.571 25.714 12.571 22.286 0 22.286-38.286zM748 239.428v-26.286h-51.429v26.286q0 38.857 25.714 38.857t25.714-38.857zM196 364h61.143v53.714h-178.286v-53.714h60v-325.143h57.143v325.143zM360.571 38.857h50.857v282.286h-50.857v-216q-17.143-24-32.571-24-10.286 0-12 12-0.571 1.714-0.571 20v208h-50.857v-223.429q0-28 4.571-41.714 6.857-21.143 33.143-21.143 27.429 0 58.286 34.857v-30.857zM605.714 123.428v112.571q0 41.714-5.143 56.571-9.714 32-40.571 32-28.571 0-53.143-30.857v124h-50.857v-378.857h50.857v27.429q25.714-31.429 53.143-31.429 30.857 0 40.571 31.429 5.143 15.429 5.143 57.143zM798.857 129.143v7.429h-52q0-29.143-1.143-34.857-4-20.571-22.857-20.571-26.286 0-26.286 39.429v49.714h102.286v58.857q0 45.143-15.429 66.286-22.286 29.143-60.571 29.143-38.857 0-61.143-29.143-16-21.143-16-66.286v-98.857q0-45.143 16.571-66.286 22.286-29.143 61.714-29.143 41.143 0 61.714 30.286 10.286 15.429 12 30.857 1.143 5.143 1.143 33.143zM451.429 650.857v120q0 39.429-24.571 39.429t-24.571-39.429v-120q0-40 24.571-40t24.571 40zM862.286 221.714q0-133.714-14.857-200-8-33.714-33.143-56.571t-58.286-26.286q-105.143-12-317.143-12t-317.143 12q-33.143 3.429-58.571 26.286t-32.857 56.571q-14.857 64-14.857 200 0 133.714 14.857 200 8 33.714 33.143 56.571t58.857 26.857q104.571 11.429 316.571 11.429t317.143-11.429q33.143-4 58.571-26.857t32.857-56.571q14.857-64 14.857-200zM292 950.857h58.286l-69.143-228v-154.857h-57.143v154.857q-8 42.286-34.857 121.143-21.143 58.857-37.143 106.857h60.571l40.571-150.286zM503.429 760.571v-100q0-46.286-16-67.429-21.143-29.143-60.571-29.143-38.286 0-60 29.143-16 21.714-16 67.429v100q0 45.714 16 66.857 21.714 29.143 60 29.143 39.429 0 60.571-29.143 16-21.143 16-66.857zM694.857 853.143v-285.143h-52v31.429q-30.286-35.429-58.857-35.429-26.286 0-33.714 21.143-4.571 13.714-4.571 42.857v225.143h52v-209.714q0-18.857 0.571-20 1.714-12.571 12-12.571 15.429 0 32.571 24.571v217.714h52z" />
|
26 |
+
</font></defs></svg>
|
font/ssi-icomoon.ttf
ADDED
Binary file
|
font/ssi-icomoon.woff
ADDED
Binary file
|
images/sprite_24x24.png
DELETED
Binary file
|
images/sprite_32x32.png
DELETED
Binary file
|
images/sprite_48x48.png
DELETED
Binary file
|
languages/simple-social-icons.pot
ADDED
@@ -0,0 +1,173 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2015 Nathan Rice
|
2 |
+
# This file is distributed under the GNU General Public License v2.0 (or later).
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: Simple Social Icons 1.0.9\n"
|
6 |
+
"Report-Msgid-Bugs-To: StudioPress <translations@studiopress.com>\n"
|
7 |
+
"POT-Creation-Date: 2015-09-29 22:00:46+00:00\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
|
12 |
+
"Last-Translator: StudioPress <translations@studiopress.com>\n"
|
13 |
+
"Language-Team: English <translations@studiopress.com>\n"
|
14 |
+
"X-Generator: grunt-wp-i18n 0.4.4\n"
|
15 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
16 |
+
"X-Poedit-Basepath: .\n"
|
17 |
+
"X-Poedit-Language: English\n"
|
18 |
+
"X-Poedit-Country: UNITED STATES\n"
|
19 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
20 |
+
"X-Poedit-KeywordsList: "
|
21 |
+
"__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_"
|
22 |
+
"attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n"
|
23 |
+
"X-Poedit-Bookmarks: \n"
|
24 |
+
"X-Poedit-SearchPath-0: .\n"
|
25 |
+
"X-Textdomain-Support: yes\n"
|
26 |
+
|
27 |
+
#: simple-social-icons.php:113
|
28 |
+
msgid "Bloglovin URI"
|
29 |
+
msgstr ""
|
30 |
+
|
31 |
+
#: simple-social-icons.php:117
|
32 |
+
msgid "Dribbble URI"
|
33 |
+
msgstr ""
|
34 |
+
|
35 |
+
#: simple-social-icons.php:121
|
36 |
+
msgid "Email URI"
|
37 |
+
msgstr ""
|
38 |
+
|
39 |
+
#: simple-social-icons.php:125
|
40 |
+
msgid "Facebook URI"
|
41 |
+
msgstr ""
|
42 |
+
|
43 |
+
#: simple-social-icons.php:129
|
44 |
+
msgid "Flickr URI"
|
45 |
+
msgstr ""
|
46 |
+
|
47 |
+
#: simple-social-icons.php:133
|
48 |
+
msgid "GitHub URI"
|
49 |
+
msgstr ""
|
50 |
+
|
51 |
+
#: simple-social-icons.php:137
|
52 |
+
msgid "Google+ URI"
|
53 |
+
msgstr ""
|
54 |
+
|
55 |
+
#: simple-social-icons.php:141
|
56 |
+
msgid "Instagram URI"
|
57 |
+
msgstr ""
|
58 |
+
|
59 |
+
#: simple-social-icons.php:145
|
60 |
+
msgid "Linkedin URI"
|
61 |
+
msgstr ""
|
62 |
+
|
63 |
+
#: simple-social-icons.php:149
|
64 |
+
msgid "Pinterest URI"
|
65 |
+
msgstr ""
|
66 |
+
|
67 |
+
#: simple-social-icons.php:153
|
68 |
+
msgid "RSS URI"
|
69 |
+
msgstr ""
|
70 |
+
|
71 |
+
#: simple-social-icons.php:157
|
72 |
+
msgid "StumbleUpon URI"
|
73 |
+
msgstr ""
|
74 |
+
|
75 |
+
#: simple-social-icons.php:161
|
76 |
+
msgid "Tumblr URI"
|
77 |
+
msgstr ""
|
78 |
+
|
79 |
+
#: simple-social-icons.php:165
|
80 |
+
msgid "Twitter URI"
|
81 |
+
msgstr ""
|
82 |
+
|
83 |
+
#: simple-social-icons.php:169
|
84 |
+
msgid "Vimeo URI"
|
85 |
+
msgstr ""
|
86 |
+
|
87 |
+
#: simple-social-icons.php:173
|
88 |
+
msgid "YouTube URI"
|
89 |
+
msgstr ""
|
90 |
+
|
91 |
+
#: simple-social-icons.php:180
|
92 |
+
msgid "Displays select social icons."
|
93 |
+
msgstr ""
|
94 |
+
|
95 |
+
#. Plugin Name of the plugin/theme
|
96 |
+
msgid "Simple Social Icons"
|
97 |
+
msgstr ""
|
98 |
+
|
99 |
+
#: simple-social-icons.php:265
|
100 |
+
msgid "Title:"
|
101 |
+
msgstr ""
|
102 |
+
|
103 |
+
#: simple-social-icons.php:267
|
104 |
+
msgid "Open links in new window?"
|
105 |
+
msgstr ""
|
106 |
+
|
107 |
+
#: simple-social-icons.php:269
|
108 |
+
msgid "Icon Size"
|
109 |
+
msgstr ""
|
110 |
+
|
111 |
+
#: simple-social-icons.php:271
|
112 |
+
msgid "Icon Border Radius:"
|
113 |
+
msgstr ""
|
114 |
+
|
115 |
+
#: simple-social-icons.php:273
|
116 |
+
msgid "Border Width:"
|
117 |
+
msgstr ""
|
118 |
+
|
119 |
+
#: simple-social-icons.php:276
|
120 |
+
msgid "Alignment"
|
121 |
+
msgstr ""
|
122 |
+
|
123 |
+
#: simple-social-icons.php:278
|
124 |
+
msgid "Align Left"
|
125 |
+
msgstr ""
|
126 |
+
|
127 |
+
#: simple-social-icons.php:279
|
128 |
+
msgid "Align Center"
|
129 |
+
msgstr ""
|
130 |
+
|
131 |
+
#: simple-social-icons.php:280
|
132 |
+
msgid "Align Right"
|
133 |
+
msgstr ""
|
134 |
+
|
135 |
+
#: simple-social-icons.php:286
|
136 |
+
msgid "Icon Font Color:"
|
137 |
+
msgstr ""
|
138 |
+
|
139 |
+
#: simple-social-icons.php:288
|
140 |
+
msgid "Icon Font Hover Color:"
|
141 |
+
msgstr ""
|
142 |
+
|
143 |
+
#: simple-social-icons.php:290
|
144 |
+
msgid "Background Color:"
|
145 |
+
msgstr ""
|
146 |
+
|
147 |
+
#: simple-social-icons.php:292
|
148 |
+
msgid "Background Hover Color:"
|
149 |
+
msgstr ""
|
150 |
+
|
151 |
+
#: simple-social-icons.php:294
|
152 |
+
msgid "Border Color:"
|
153 |
+
msgstr ""
|
154 |
+
|
155 |
+
#: simple-social-icons.php:296
|
156 |
+
msgid "Border Hover Color:"
|
157 |
+
msgstr ""
|
158 |
+
|
159 |
+
#. Plugin URI of the plugin/theme
|
160 |
+
msgid "http://wordpress.org/plugins/simple-social-icons/"
|
161 |
+
msgstr ""
|
162 |
+
|
163 |
+
#. Description of the plugin/theme
|
164 |
+
msgid "A simple, CSS and icon font driven social icons widget."
|
165 |
+
msgstr ""
|
166 |
+
|
167 |
+
#. Author of the plugin/theme
|
168 |
+
msgid "Nathan Rice"
|
169 |
+
msgstr ""
|
170 |
+
|
171 |
+
#. Author URI of the plugin/theme
|
172 |
+
msgid "http://www.nathanrice.net/"
|
173 |
+
msgstr ""
|
package.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "simple-social-icons",
|
3 |
+
"description": "Development files for the Simple Social Icons plugin.",
|
4 |
+
"repository": {
|
5 |
+
"type": "git",
|
6 |
+
"url": "https://github.com/copyblogger/simple-social-icons"
|
7 |
+
},
|
8 |
+
"dependencies": {},
|
9 |
+
"devDependencies": {
|
10 |
+
"grunt": "^0.4.5",
|
11 |
+
"grunt-autoprefixer": "^0.8.1",
|
12 |
+
"grunt-checktextdomain": "^0.1.1",
|
13 |
+
"grunt-contrib-cssmin": "^0.10.0",
|
14 |
+
"grunt-contrib-imagemin": "^0.7.1",
|
15 |
+
"grunt-contrib-jshint": "^0.10.0",
|
16 |
+
"grunt-contrib-uglify": "^0.5.0",
|
17 |
+
"grunt-contrib-watch": "^0.6.1",
|
18 |
+
"grunt-csscomb": "~2.0.1",
|
19 |
+
"grunt-jsbeautifier": "^0.2.7",
|
20 |
+
"grunt-jsvalidate": "^0.2.2",
|
21 |
+
"grunt-phplint": "0.0.5",
|
22 |
+
"grunt-styledocco": "^0.1.4",
|
23 |
+
"grunt-wp-i18n": "^0.5.3",
|
24 |
+
"load-grunt-tasks": "^3.3.0"
|
25 |
+
},
|
26 |
+
"plugin": {
|
27 |
+
"name": "Simple Social Icons",
|
28 |
+
"uri": "https://github.com/copyblogger/simple-social-icons",
|
29 |
+
"description": "A simple, CSS and icon font driven social icons widget.",
|
30 |
+
"author": "StudioPress",
|
31 |
+
"authoruri": "http://www.studiopress.com/",
|
32 |
+
"version": "1.0.11",
|
33 |
+
"license": "GPL-2.0+",
|
34 |
+
"licenseuri": "http://www.gnu.org/licenses/gpl-2.0.html",
|
35 |
+
"textdomain": "simple-social-icons"
|
36 |
+
}
|
37 |
+
}
|
readme.txt
CHANGED
@@ -1,33 +1,104 @@
|
|
1 |
-
=== Plugin Name ===
|
2 |
-
Contributors: nathanrice, studiopress
|
3 |
-
Tags: social media, social networking, social profiles
|
4 |
-
Requires at least:
|
5 |
-
Tested up to:
|
6 |
-
Stable tag: 0.
|
7 |
-
|
8 |
-
This plugin
|
9 |
-
|
10 |
-
== Description ==
|
11 |
-
|
12 |
-
Simple Social Icons is an easy to use, customizable way to display icons that link visitors to your various social profiles. With it, you can easily choose which profiles to link to, customize the color and size of your icons, as well as align them to the left or right, all from the widget form (no settings page necessary!).
|
13 |
-
|
14 |
-
== Installation ==
|
15 |
-
|
16 |
-
1. Upload the entire simple-social-icons folder to the /wp-content/plugins/ directory
|
17 |
-
1. Activate the plugin through the 'Plugins' menu in WordPress
|
18 |
-
1. In your Widgets menu, simply drag the widget labeled "Simple Social Icons" into a widgetized Area.
|
19 |
-
1. Configure the widget by choosing a title, icon size and color, and the URLs to your various social profiles.
|
20 |
-
|
21 |
-
== Frequently Asked Questions ==
|
22 |
-
|
23 |
-
= Can I reorder the icons? =
|
24 |
-
|
25 |
-
No, not at this time.
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
|
32 |
= 0.9.1 =
|
33 |
-
* Fixed some styling issues
|
|
|
|
|
|
1 |
+
=== Plugin Name ===
|
2 |
+
Contributors: nathanrice, studiopress, bgardner
|
3 |
+
Tags: social media, social networking, social profiles
|
4 |
+
Requires at least: 4.0
|
5 |
+
Tested up to: 4.3
|
6 |
+
Stable tag: 1.0.11
|
7 |
+
|
8 |
+
This plugin allows you to insert social icons in any widget area.
|
9 |
+
|
10 |
+
== Description ==
|
11 |
+
|
12 |
+
Simple Social Icons is an easy to use, customizable way to display icons that link visitors to your various social profiles. With it, you can easily choose which profiles to link to, customize the color and size of your icons, as well as align them to the left, center, or right, all from the widget form (no settings page necessary!).
|
13 |
+
|
14 |
+
== Installation ==
|
15 |
+
|
16 |
+
1. Upload the entire simple-social-icons folder to the /wp-content/plugins/ directory
|
17 |
+
1. Activate the plugin through the 'Plugins' menu in WordPress
|
18 |
+
1. In your Widgets menu, simply drag the widget labeled "Simple Social Icons" into a widgetized Area.
|
19 |
+
1. Configure the widget by choosing a title, icon size and color, and the URLs to your various social profiles.
|
20 |
+
|
21 |
+
== Frequently Asked Questions ==
|
22 |
+
|
23 |
+
= Can I reorder the icons? =
|
24 |
+
|
25 |
+
No, not at this time.
|
26 |
+
|
27 |
+
= Which services are included? =
|
28 |
+
|
29 |
+
* Bloglovin
|
30 |
+
* Dribbble
|
31 |
+
* Email
|
32 |
+
* Facebook
|
33 |
+
* Flickr
|
34 |
+
* Github
|
35 |
+
* Google+
|
36 |
+
* Instagram
|
37 |
+
* LinkedIn
|
38 |
+
* Pinterest
|
39 |
+
* RSS
|
40 |
+
* StumbleUpon
|
41 |
+
* Tumblr
|
42 |
+
* Twitter
|
43 |
+
* Vimeo
|
44 |
+
* YouTube
|
45 |
+
|
46 |
+
NOTE - The rights to each pictogram in the social extension are either trademarked or copyrighted by the respective company. Icons that are included in the social extension can be identified at http://www.entypo.com/.
|
47 |
+
|
48 |
+
== Changelog ==
|
49 |
+
|
50 |
+
= 1.0.11 =
|
51 |
+
* Update enqueue version for stylesheet, for cache busting.
|
52 |
+
|
53 |
+
= 1.0.10 =
|
54 |
+
* Update textdomain, generate POT.
|
55 |
+
|
56 |
+
= 1.0.9 =
|
57 |
+
* PHP7 compatibility
|
58 |
+
|
59 |
+
= 1.0.8 =
|
60 |
+
* Added border options
|
61 |
+
|
62 |
+
= 1.0.7 =
|
63 |
+
* Added Bloglovin icon
|
64 |
+
|
65 |
+
= 1.0.6 =
|
66 |
+
* Added filters
|
67 |
+
|
68 |
+
= 1.0.5 =
|
69 |
+
* Updated LICENSE.txt file to include social extension
|
70 |
+
|
71 |
+
= 1.0.4 =
|
72 |
+
* Updated version in enqueue script function
|
73 |
+
|
74 |
+
= 1.0.3 =
|
75 |
+
* Added Tumblr icon
|
76 |
+
|
77 |
+
= 1.0.2 =
|
78 |
+
* More specific in the CSS to avoid conflicts
|
79 |
+
|
80 |
+
= 1.0.1 =
|
81 |
+
* Made color and background color more specific in the CSS to avoid conflicts
|
82 |
+
|
83 |
+
= 1.0.0 =
|
84 |
+
* Switched to icon fonts, rather than images
|
85 |
+
|
86 |
+
= 0.9.5 =
|
87 |
+
* Added Instagram icon
|
88 |
+
|
89 |
+
= 0.9.4 =
|
90 |
+
* Added YouTube icon
|
91 |
+
* Added bottom margin to icons
|
92 |
+
|
93 |
+
= 0.9.3 =
|
94 |
+
* Fixed CSS conflict in some themes
|
95 |
+
|
96 |
+
= 0.9.2 =
|
97 |
+
* Added new profile options
|
98 |
+
* Changed default border radius to 3px
|
99 |
|
100 |
= 0.9.1 =
|
101 |
+
* Fixed some styling issues
|
102 |
+
|
103 |
+
= 0.9.0 =
|
104 |
+
* Initial Beta Release
|
simple-social-icons.php
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Simple Social Icons
|
4 |
-
Plugin URI: http://
|
5 |
-
Description: A simple, CSS and
|
6 |
Author: Nathan Rice
|
7 |
Author URI: http://www.nathanrice.net/
|
8 |
|
9 |
-
Version: 0.
|
10 |
|
11 |
License: GNU General Public License v2.0 (or later)
|
12 |
License URI: http://www.opensource.org/licenses/gpl-license.php
|
@@ -29,7 +29,14 @@ class Simple_Social_Icons_Widget extends WP_Widget {
|
|
29 |
protected $sizes;
|
30 |
|
31 |
/**
|
32 |
-
* Default widget
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
*
|
34 |
* @var array
|
35 |
*/
|
@@ -45,103 +52,202 @@ class Simple_Social_Icons_Widget extends WP_Widget {
|
|
45 |
/**
|
46 |
* Default widget option values.
|
47 |
*/
|
48 |
-
$this->defaults = array(
|
49 |
-
'title'
|
50 |
-
'new_window'
|
51 |
-
'size'
|
52 |
-
'border_radius'
|
53 |
-
'
|
|
|
|
|
|
|
|
|
|
|
54 |
'background_color_hover' => '#666666',
|
55 |
-
'alignment'
|
56 |
-
'
|
57 |
-
'
|
58 |
-
'
|
59 |
-
'
|
60 |
-
'
|
61 |
-
'
|
62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
|
64 |
/**
|
65 |
-
*
|
66 |
*/
|
67 |
-
$this->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
|
69 |
/**
|
70 |
* Social profile choices.
|
71 |
*/
|
72 |
-
$this->profiles = array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
'facebook' => array(
|
74 |
-
'label'
|
75 |
-
'pattern' => '<li class="social-facebook"><a href="%s" %s>
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
|
|
|
|
|
|
81 |
),
|
82 |
'gplus' => array(
|
83 |
-
'label'
|
84 |
-
'pattern' => '<li class="social-gplus"><a href="%s" %s>
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
)
|
90 |
),
|
91 |
'linkedin' => array(
|
92 |
-
'label'
|
93 |
-
'pattern' => '<li class="social-linkedin"><a href="%s" %s>
|
94 |
-
'background_positions' => array(
|
95 |
-
'24' => '-48px 0',
|
96 |
-
'32' => '-64px 0',
|
97 |
-
'48' => '-96px 0',
|
98 |
-
)
|
99 |
),
|
100 |
'pinterest' => array(
|
101 |
-
'label'
|
102 |
-
'pattern' => '<li class="social-pinterest"><a href="%s" %s>
|
103 |
-
'background_positions' => array(
|
104 |
-
'24' => '-72px 0',
|
105 |
-
'32' => '-96px 0',
|
106 |
-
'48' => '-144px 0',
|
107 |
-
)
|
108 |
),
|
109 |
'rss' => array(
|
110 |
-
'label'
|
111 |
-
'pattern' => '<li class="social-rss"><a href="%s" %s>
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
|
|
|
|
|
|
117 |
),
|
118 |
'twitter' => array(
|
119 |
-
'label'
|
120 |
-
'pattern' => '<li class="social-twitter"><a href="%s" %s>
|
121 |
-
'background_positions' => array(
|
122 |
-
'24' => '-120px 0',
|
123 |
-
'32' => '-160px 0',
|
124 |
-
'48' => '-240px 0',
|
125 |
-
)
|
126 |
),
|
127 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
|
129 |
$widget_ops = array(
|
130 |
-
'classname'
|
131 |
-
'description' => __( 'Displays select social icons.', '
|
132 |
);
|
133 |
|
134 |
$control_ops = array(
|
135 |
'id_base' => 'simple-social-icons',
|
136 |
-
#'width' => 505,
|
137 |
-
#'height' => 350,
|
138 |
);
|
139 |
|
140 |
-
|
|
|
|
|
|
|
141 |
|
142 |
/** Load CSS in <head> */
|
143 |
add_action( 'wp_head', array( $this, 'css' ) );
|
144 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
145 |
}
|
146 |
|
147 |
/**
|
@@ -156,42 +262,47 @@ class Simple_Social_Icons_Widget extends WP_Widget {
|
|
156 |
$instance = wp_parse_args( (array) $instance, $this->defaults );
|
157 |
?>
|
158 |
|
159 |
-
<p><label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:' ); ?></label> <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $instance['title'] ); ?>" /></p>
|
160 |
-
|
161 |
-
<p><label><input id="<?php echo $this->get_field_id( 'new_window' ); ?>" type="checkbox" name="<?php echo $this->get_field_name( 'new_window' ); ?>" value="1" <?php checked( 1, $instance['new_window'] ); ?>/> <?php esc_html_e( 'Open links in new window?', 'ssiw' ); ?></label></p>
|
162 |
|
163 |
-
<p>
|
164 |
-
<label for="<?php echo $this->get_field_id( 'size' ); ?>"><?php _e( 'Icon Size', 'ssiw' ); ?>:</label>
|
165 |
-
<select id="<?php echo $this->get_field_id( 'size' ); ?>" name="<?php echo $this->get_field_name( 'size' ); ?>">
|
166 |
-
<?php
|
167 |
-
foreach ( (array) $this->sizes as $size ) {
|
168 |
-
printf( '<option value="%d" %s>%dpx</option>', (int) $size, selected( $size, $instance['size'], 0 ), (int) $size );
|
169 |
-
}
|
170 |
-
?>
|
171 |
-
</select>
|
172 |
-
</p>
|
173 |
|
174 |
-
<p><label for="<?php echo $this->get_field_id( '
|
175 |
|
176 |
-
<p><label for="<?php echo $this->get_field_id( '
|
177 |
|
178 |
-
<p><label for="<?php echo $this->get_field_id( '
|
179 |
|
180 |
<p>
|
181 |
-
<label for="<?php echo $this->get_field_id( 'alignment' ); ?>"><?php _e( 'Alignment', '
|
182 |
<select id="<?php echo $this->get_field_id( 'alignment' ); ?>" name="<?php echo $this->get_field_name( 'alignment' ); ?>">
|
183 |
-
<option value="alignleft" <?php selected( 'alignright', $instance['alignment'] ) ?>><?php _e( 'Align Left', '
|
184 |
-
<option value="
|
|
|
185 |
</select>
|
186 |
</p>
|
187 |
|
188 |
<hr style="background: #ccc; border: 0; height: 1px; margin: 20px 0;" />
|
189 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
190 |
<?php
|
191 |
foreach ( (array) $this->profiles as $profile => $data ) {
|
192 |
|
193 |
-
printf( '<p><label for="%s">%s:</label>', esc_attr( $this->get_field_id( $profile ) ), esc_attr( $data['label'] ) );
|
194 |
-
printf( '<input type="text" id="%s"
|
|
|
195 |
|
196 |
}
|
197 |
|
@@ -207,8 +318,12 @@ class Simple_Social_Icons_Widget extends WP_Widget {
|
|
207 |
|
208 |
foreach ( $newinstance as $key => $value ) {
|
209 |
|
210 |
-
/** Border radius must not be empty, must be a digit */
|
211 |
-
if ( 'border_radius' == $key && ( '' == $value || ! ctype_digit( $value ) ) ) {
|
|
|
|
|
|
|
|
|
212 |
$newinstance[$key] = 0;
|
213 |
}
|
214 |
|
@@ -250,9 +365,18 @@ class Simple_Social_Icons_Widget extends WP_Widget {
|
|
250 |
|
251 |
$new_window = $instance['new_window'] ? 'target="_blank"' : '';
|
252 |
|
253 |
-
|
254 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
255 |
$output .= sprintf( $data['pattern'], esc_url( $instance[$profile] ), $new_window );
|
|
|
256 |
}
|
257 |
|
258 |
if ( $output )
|
@@ -262,6 +386,13 @@ class Simple_Social_Icons_Widget extends WP_Widget {
|
|
262 |
|
263 |
}
|
264 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
265 |
/**
|
266 |
* Custom CSS.
|
267 |
*
|
@@ -271,55 +402,33 @@ class Simple_Social_Icons_Widget extends WP_Widget {
|
|
271 |
|
272 |
/** Pull widget settings, merge with defaults */
|
273 |
$all_instances = $this->get_settings();
|
|
|
|
|
|
|
|
|
274 |
$instance = wp_parse_args( $all_instances[$this->number], $this->defaults );
|
275 |
|
276 |
-
|
277 |
-
$
|
278 |
-
'24' => plugin_dir_url( __FILE__ ) . 'images/sprite_24x24.png',
|
279 |
-
'32' => plugin_dir_url( __FILE__ ) . 'images/sprite_32x32.png',
|
280 |
-
'48' => plugin_dir_url( __FILE__ ) . 'images/sprite_48x48.png'
|
281 |
-
);
|
282 |
|
283 |
/** The CSS to output */
|
284 |
-
$css = '
|
285 |
-
overflow: hidden;
|
286 |
-
}
|
287 |
-
.simple-social-icons .alignleft, .simple-social-icons .alignright {
|
288 |
-
margin: 0; padding: 0;
|
289 |
-
}
|
290 |
-
.simple-social-icons ul li, .sidebar .simple-social-icons ul li {
|
291 |
-
background: none; border: none; float: left; list-style-type: none; margin: 0 5px; padding: 0;
|
292 |
-
}
|
293 |
.simple-social-icons ul li a,
|
294 |
.simple-social-icons ul li a:hover {
|
295 |
-
background: ' . $instance['background_color'] . '
|
296 |
-
-moz-border-radius: ' . $instance['border_radius'] . 'px
|
297 |
-
-webkit-border-radius: ' . $instance['border_radius'] . 'px;
|
298 |
border-radius: ' . $instance['border_radius'] . 'px;
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
width: ' . $instance['size'] . 'px;
|
304 |
}
|
305 |
|
306 |
.simple-social-icons ul li a:hover {
|
307 |
-
background-color: ' . $instance['background_color_hover'] . ';
|
|
|
|
|
308 |
}';
|
309 |
|
310 |
-
/** Individual Profile button styles */
|
311 |
-
foreach ( (array) $this->profiles as $profile => $data ) {
|
312 |
-
|
313 |
-
if ( ! $instance[$profile] )
|
314 |
-
continue;
|
315 |
-
|
316 |
-
$css .= '.simple-social-icons ul li.social-' . $profile . ' a,
|
317 |
-
.simple-social-icons ul li.social-' . $profile . ' a:hover {
|
318 |
-
background-position: ' . $data['background_positions'][$instance['size']] . ';
|
319 |
-
}';
|
320 |
-
|
321 |
-
}
|
322 |
-
|
323 |
/** Minify a bit */
|
324 |
$css = str_replace( "\t", '', $css );
|
325 |
$css = str_replace( array( "\n", "\r" ), ' ', $css );
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Simple Social Icons
|
4 |
+
Plugin URI: http://wordpress.org/plugins/simple-social-icons/
|
5 |
+
Description: A simple, CSS and icon font driven social icons widget.
|
6 |
Author: Nathan Rice
|
7 |
Author URI: http://www.nathanrice.net/
|
8 |
|
9 |
+
Version: 1.0.11
|
10 |
|
11 |
License: GNU General Public License v2.0 (or later)
|
12 |
License URI: http://www.opensource.org/licenses/gpl-license.php
|
29 |
protected $sizes;
|
30 |
|
31 |
/**
|
32 |
+
* Default widget profile glyphs.
|
33 |
+
*
|
34 |
+
* @var array
|
35 |
+
*/
|
36 |
+
protected $glyphs;
|
37 |
+
|
38 |
+
/**
|
39 |
+
* Default widget profile values.
|
40 |
*
|
41 |
* @var array
|
42 |
*/
|
52 |
/**
|
53 |
* Default widget option values.
|
54 |
*/
|
55 |
+
$this->defaults = apply_filters( 'simple_social_default_styles', array(
|
56 |
+
'title' => '',
|
57 |
+
'new_window' => 0,
|
58 |
+
'size' => 36,
|
59 |
+
'border_radius' => 3,
|
60 |
+
'border_width' => 0,
|
61 |
+
'border_color' => '#ffffff',
|
62 |
+
'border_color_hover' => '#ffffff',
|
63 |
+
'icon_color' => '#ffffff',
|
64 |
+
'icon_color_hover' => '#ffffff',
|
65 |
+
'background_color' => '#999999',
|
66 |
'background_color_hover' => '#666666',
|
67 |
+
'alignment' => 'alignleft',
|
68 |
+
'bloglovin' => '',
|
69 |
+
'dribbble' => '',
|
70 |
+
'email' => '',
|
71 |
+
'facebook' => '',
|
72 |
+
'flickr' => '',
|
73 |
+
'github' => '',
|
74 |
+
'gplus' => '',
|
75 |
+
'instagram' => '',
|
76 |
+
'linkedin' => '',
|
77 |
+
'pinterest' => '',
|
78 |
+
'rss' => '',
|
79 |
+
'stumbleupon' => '',
|
80 |
+
'tumblr' => '',
|
81 |
+
'twitter' => '',
|
82 |
+
'vimeo' => '',
|
83 |
+
'youtube' => '',
|
84 |
+
) );
|
85 |
|
86 |
/**
|
87 |
+
* Social profile glyphs.
|
88 |
*/
|
89 |
+
$this->glyphs = apply_filters( 'simple_social_default_glyphs', array(
|
90 |
+
'bloglovin' => '',
|
91 |
+
'dribbble' => '',
|
92 |
+
'email' => '',
|
93 |
+
'facebook' => '',
|
94 |
+
'flickr' => '',
|
95 |
+
'github' => '',
|
96 |
+
'gplus' => '',
|
97 |
+
'instagram' => '',
|
98 |
+
'linkedin' => '',
|
99 |
+
'pinterest' => '',
|
100 |
+
'rss' => '',
|
101 |
+
'stumbleupon' => '',
|
102 |
+
'tumblr' => '',
|
103 |
+
'twitter' => '',
|
104 |
+
'vimeo' => '',
|
105 |
+
'youtube' => '',
|
106 |
+
) );
|
107 |
|
108 |
/**
|
109 |
* Social profile choices.
|
110 |
*/
|
111 |
+
$this->profiles = apply_filters( 'simple_social_default_profiles', array(
|
112 |
+
'bloglovin' => array(
|
113 |
+
'label' => __( 'Bloglovin URI', 'simple-social-icons' ),
|
114 |
+
'pattern' => '<li class="social-bloglovin"><a href="%s" %s>' . $this->glyphs['bloglovin'] . '</a></li>',
|
115 |
+
),
|
116 |
+
'dribbble' => array(
|
117 |
+
'label' => __( 'Dribbble URI', 'simple-social-icons' ),
|
118 |
+
'pattern' => '<li class="social-dribbble"><a href="%s" %s>' . $this->glyphs['dribbble'] . '</a></li>',
|
119 |
+
),
|
120 |
+
'email' => array(
|
121 |
+
'label' => __( 'Email URI', 'simple-social-icons' ),
|
122 |
+
'pattern' => '<li class="social-email"><a href="%s" %s>' . $this->glyphs['email'] . '</a></li>',
|
123 |
+
),
|
124 |
'facebook' => array(
|
125 |
+
'label' => __( 'Facebook URI', 'simple-social-icons' ),
|
126 |
+
'pattern' => '<li class="social-facebook"><a href="%s" %s>' . $this->glyphs['facebook'] . '</a></li>',
|
127 |
+
),
|
128 |
+
'flickr' => array(
|
129 |
+
'label' => __( 'Flickr URI', 'simple-social-icons' ),
|
130 |
+
'pattern' => '<li class="social-flickr"><a href="%s" %s>' . $this->glyphs['flickr'] . '</a></li>',
|
131 |
+
),
|
132 |
+
'github' => array(
|
133 |
+
'label' => __( 'GitHub URI', 'simple-social-icons' ),
|
134 |
+
'pattern' => '<li class="social-github"><a href="%s" %s>' . $this->glyphs['github'] . '</a></li>',
|
135 |
),
|
136 |
'gplus' => array(
|
137 |
+
'label' => __( 'Google+ URI', 'simple-social-icons' ),
|
138 |
+
'pattern' => '<li class="social-gplus"><a href="%s" %s>' . $this->glyphs['gplus'] . '</a></li>',
|
139 |
+
),
|
140 |
+
'instagram' => array(
|
141 |
+
'label' => __( 'Instagram URI', 'simple-social-icons' ),
|
142 |
+
'pattern' => '<li class="social-instagram"><a href="%s" %s>' . $this->glyphs['instagram'] . '</a></li>',
|
|
|
143 |
),
|
144 |
'linkedin' => array(
|
145 |
+
'label' => __( 'Linkedin URI', 'simple-social-icons' ),
|
146 |
+
'pattern' => '<li class="social-linkedin"><a href="%s" %s>' . $this->glyphs['linkedin'] . '</a></li>',
|
|
|
|
|
|
|
|
|
|
|
147 |
),
|
148 |
'pinterest' => array(
|
149 |
+
'label' => __( 'Pinterest URI', 'simple-social-icons' ),
|
150 |
+
'pattern' => '<li class="social-pinterest"><a href="%s" %s>' . $this->glyphs['pinterest'] . '</a></li>',
|
|
|
|
|
|
|
|
|
|
|
151 |
),
|
152 |
'rss' => array(
|
153 |
+
'label' => __( 'RSS URI', 'simple-social-icons' ),
|
154 |
+
'pattern' => '<li class="social-rss"><a href="%s" %s>' . $this->glyphs['rss'] . '</a></li>',
|
155 |
+
),
|
156 |
+
'stumbleupon' => array(
|
157 |
+
'label' => __( 'StumbleUpon URI', 'simple-social-icons' ),
|
158 |
+
'pattern' => '<li class="social-stumbleupon"><a href="%s" %s>' . $this->glyphs['stumbleupon'] . '</a></li>',
|
159 |
+
),
|
160 |
+
'tumblr' => array(
|
161 |
+
'label' => __( 'Tumblr URI', 'simple-social-icons' ),
|
162 |
+
'pattern' => '<li class="social-tumblr"><a href="%s" %s>' . $this->glyphs['tumblr'] . '</a></li>',
|
163 |
),
|
164 |
'twitter' => array(
|
165 |
+
'label' => __( 'Twitter URI', 'simple-social-icons' ),
|
166 |
+
'pattern' => '<li class="social-twitter"><a href="%s" %s>' . $this->glyphs['twitter'] . '</a></li>',
|
|
|
|
|
|
|
|
|
|
|
167 |
),
|
168 |
+
'vimeo' => array(
|
169 |
+
'label' => __( 'Vimeo URI', 'simple-social-icons' ),
|
170 |
+
'pattern' => '<li class="social-vimeo"><a href="%s" %s>' . $this->glyphs['vimeo'] . '</a></li>',
|
171 |
+
),
|
172 |
+
'youtube' => array(
|
173 |
+
'label' => __( 'YouTube URI', 'simple-social-icons' ),
|
174 |
+
'pattern' => '<li class="social-youtube"><a href="%s" %s>' . $this->glyphs['youtube'] . '</a></li>',
|
175 |
+
),
|
176 |
+
) );
|
177 |
|
178 |
$widget_ops = array(
|
179 |
+
'classname' => 'simple-social-icons',
|
180 |
+
'description' => __( 'Displays select social icons.', 'simple-social-icons' ),
|
181 |
);
|
182 |
|
183 |
$control_ops = array(
|
184 |
'id_base' => 'simple-social-icons',
|
|
|
|
|
185 |
);
|
186 |
|
187 |
+
parent::__construct( 'simple-social-icons', __( 'Simple Social Icons', 'simple-social-icons' ), $widget_ops, $control_ops );
|
188 |
+
|
189 |
+
/** Enqueue icon font */
|
190 |
+
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_css' ) );
|
191 |
|
192 |
/** Load CSS in <head> */
|
193 |
add_action( 'wp_head', array( $this, 'css' ) );
|
194 |
|
195 |
+
/** Load color picker */
|
196 |
+
add_action( 'admin_enqueue_scripts', array( $this, 'load_color_picker' ) );
|
197 |
+
add_action( 'admin_footer-widgets.php', array( $this, 'print_scripts' ), 9999 );
|
198 |
+
|
199 |
+
}
|
200 |
+
|
201 |
+
/**
|
202 |
+
* Color Picker.
|
203 |
+
*
|
204 |
+
* Enqueue the color picker script.
|
205 |
+
*
|
206 |
+
*/
|
207 |
+
function load_color_picker( $hook ) {
|
208 |
+
if( 'widgets.php' != $hook )
|
209 |
+
return;
|
210 |
+
wp_enqueue_style( 'wp-color-picker' );
|
211 |
+
wp_enqueue_script( 'wp-color-picker' );
|
212 |
+
wp_enqueue_script( 'underscore' );
|
213 |
+
}
|
214 |
+
|
215 |
+
/**
|
216 |
+
* Print scripts.
|
217 |
+
*
|
218 |
+
* Reference https://core.trac.wordpress.org/attachment/ticket/25809/color-picker-widget.php
|
219 |
+
*
|
220 |
+
*/
|
221 |
+
function print_scripts() {
|
222 |
+
?>
|
223 |
+
<script>
|
224 |
+
( function( $ ){
|
225 |
+
function initColorPicker( widget ) {
|
226 |
+
widget.find( '.ssiw-color-picker' ).wpColorPicker( {
|
227 |
+
change: function ( event ) {
|
228 |
+
var $picker = $( this );
|
229 |
+
_.throttle(setTimeout(function () {
|
230 |
+
$picker.trigger( 'change' );
|
231 |
+
}, 5), 250);
|
232 |
+
},
|
233 |
+
width: 235,
|
234 |
+
});
|
235 |
+
}
|
236 |
+
|
237 |
+
function onFormUpdate( event, widget ) {
|
238 |
+
initColorPicker( widget );
|
239 |
+
}
|
240 |
+
|
241 |
+
$( document ).on( 'widget-added widget-updated', onFormUpdate );
|
242 |
+
|
243 |
+
$( document ).ready( function() {
|
244 |
+
$( '#widgets-right .widget:has(.ssiw-color-picker)' ).each( function () {
|
245 |
+
initColorPicker( $( this ) );
|
246 |
+
} );
|
247 |
+
} );
|
248 |
+
}( jQuery ) );
|
249 |
+
</script>
|
250 |
+
<?php
|
251 |
}
|
252 |
|
253 |
/**
|
262 |
$instance = wp_parse_args( (array) $instance, $this->defaults );
|
263 |
?>
|
264 |
|
265 |
+
<p><label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:', 'simple-social-icons' ); ?></label> <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $instance['title'] ); ?>" /></p>
|
|
|
|
|
266 |
|
267 |
+
<p><label><input id="<?php echo $this->get_field_id( 'new_window' ); ?>" type="checkbox" name="<?php echo $this->get_field_name( 'new_window' ); ?>" value="1" <?php checked( 1, $instance['new_window'] ); ?>/> <?php esc_html_e( 'Open links in new window?', 'simple-social-icons' ); ?></label></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
268 |
|
269 |
+
<p><label for="<?php echo $this->get_field_id( 'size' ); ?>"><?php _e( 'Icon Size', 'simple-social-icons' ); ?>:</label> <input id="<?php echo $this->get_field_id( 'size' ); ?>" name="<?php echo $this->get_field_name( 'size' ); ?>" type="text" value="<?php echo esc_attr( $instance['size'] ); ?>" size="3" />px</p>
|
270 |
|
271 |
+
<p><label for="<?php echo $this->get_field_id( 'border_radius' ); ?>"><?php _e( 'Icon Border Radius:', 'simple-social-icons' ); ?></label> <input id="<?php echo $this->get_field_id( 'border_radius' ); ?>" name="<?php echo $this->get_field_name( 'border_radius' ); ?>" type="text" value="<?php echo esc_attr( $instance['border_radius'] ); ?>" size="3" />px</p>
|
272 |
|
273 |
+
<p><label for="<?php echo $this->get_field_id( 'border_width' ); ?>"><?php _e( 'Border Width:', 'simple-social-icons' ); ?></label> <input id="<?php echo $this->get_field_id( 'border_width' ); ?>" name="<?php echo $this->get_field_name( 'border_width' ); ?>" type="text" value="<?php echo esc_attr( $instance['border_width'] ); ?>" size="3" />px</p>
|
274 |
|
275 |
<p>
|
276 |
+
<label for="<?php echo $this->get_field_id( 'alignment' ); ?>"><?php _e( 'Alignment', 'simple-social-icons' ); ?>:</label>
|
277 |
<select id="<?php echo $this->get_field_id( 'alignment' ); ?>" name="<?php echo $this->get_field_name( 'alignment' ); ?>">
|
278 |
+
<option value="alignleft" <?php selected( 'alignright', $instance['alignment'] ) ?>><?php _e( 'Align Left', 'simple-social-icons' ); ?></option>
|
279 |
+
<option value="aligncenter" <?php selected( 'aligncenter', $instance['alignment'] ) ?>><?php _e( 'Align Center', 'simple-social-icons' ); ?></option>
|
280 |
+
<option value="alignright" <?php selected( 'alignright', $instance['alignment'] ) ?>><?php _e( 'Align Right', 'simple-social-icons' ); ?></option>
|
281 |
</select>
|
282 |
</p>
|
283 |
|
284 |
<hr style="background: #ccc; border: 0; height: 1px; margin: 20px 0;" />
|
285 |
|
286 |
+
<p><label for="<?php echo $this->get_field_id( 'background_color' ); ?>"><?php _e( 'Icon Font Color:', 'simple-social-icons' ); ?></label><br /> <input id="<?php echo $this->get_field_id( 'icon_color' ); ?>" name="<?php echo $this->get_field_name( 'icon_color' ); ?>" type="text" class="ssiw-color-picker" data-default-color="<?php echo esc_attr( $this->defaults['icon_color'] ); ?>" value="<?php echo esc_attr( $instance['icon_color'] ); ?>" size="6" /></p>
|
287 |
+
|
288 |
+
<p><label for="<?php echo $this->get_field_id( 'background_color_hover' ); ?>"><?php _e( 'Icon Font Hover Color:', 'simple-social-icons' ); ?></label><br /> <input id="<?php echo $this->get_field_id( 'icon_color_hover' ); ?>" name="<?php echo $this->get_field_name( 'icon_color_hover' ); ?>" type="text" class="ssiw-color-picker" data-default-color="<?php echo esc_attr( $this->defaults['icon_color_hover'] ); ?>" value="<?php echo esc_attr( $instance['icon_color_hover'] ); ?>" size="6" /></p>
|
289 |
+
|
290 |
+
<p><label for="<?php echo $this->get_field_id( 'background_color' ); ?>"><?php _e( 'Background Color:', 'simple-social-icons' ); ?></label><br /> <input id="<?php echo $this->get_field_id( 'background_color' ); ?>" name="<?php echo $this->get_field_name( 'background_color' ); ?>" type="text" class="ssiw-color-picker" data-default-color="<?php echo esc_attr( $this->defaults['background_color'] ); ?>" value="<?php echo esc_attr( $instance['background_color'] ); ?>" size="6" /></p>
|
291 |
+
|
292 |
+
<p><label for="<?php echo $this->get_field_id( 'background_color_hover' ); ?>"><?php _e( 'Background Hover Color:', 'simple-social-icons' ); ?></label><br /> <input id="<?php echo $this->get_field_id( 'background_color_hover' ); ?>" name="<?php echo $this->get_field_name( 'background_color_hover' ); ?>" type="text" class="ssiw-color-picker" data-default-color="<?php echo esc_attr( $this->defaults['background_color_hover'] ); ?>" value="<?php echo esc_attr( $instance['background_color_hover'] ); ?>" size="6" /></p>
|
293 |
+
|
294 |
+
<p><label for="<?php echo $this->get_field_id( 'border_color' ); ?>"><?php _e( 'Border Color:', 'simple-social-icons' ); ?></label><br /> <input id="<?php echo $this->get_field_id( 'border_color' ); ?>" name="<?php echo $this->get_field_name( 'border_color' ); ?>" type="text" class="ssiw-color-picker" data-default-color="<?php echo esc_attr( $this->defaults['border_color'] ); ?>" value="<?php echo esc_attr( $instance['border_color'] ); ?>" size="6" /></p>
|
295 |
+
|
296 |
+
<p><label for="<?php echo $this->get_field_id( 'border_color_hover' ); ?>"><?php _e( 'Border Hover Color:', 'simple-social-icons' ); ?></label><br /> <input id="<?php echo $this->get_field_id( 'border_color_hover' ); ?>" name="<?php echo $this->get_field_name( 'border_color_hover' ); ?>" type="text" class="ssiw-color-picker" data-default-color="<?php echo esc_attr( $this->defaults['border_color_hover'] ); ?>" value="<?php echo esc_attr( $instance['border_color_hover'] ); ?>" size="6" /></p>
|
297 |
+
|
298 |
+
<hr style="background: #ccc; border: 0; height: 1px; margin: 20px 0;" />
|
299 |
+
|
300 |
<?php
|
301 |
foreach ( (array) $this->profiles as $profile => $data ) {
|
302 |
|
303 |
+
printf( '<p><label for="%s">%s:</label></p>', esc_attr( $this->get_field_id( $profile ) ), esc_attr( $data['label'] ) );
|
304 |
+
printf( '<p><input type="text" id="%s" name="%s" value="%s" class="widefat" />', esc_attr( $this->get_field_id( $profile ) ), esc_attr( $this->get_field_name( $profile ) ), esc_url( $instance[$profile] ) );
|
305 |
+
printf( '</p>' );
|
306 |
|
307 |
}
|
308 |
|
318 |
|
319 |
foreach ( $newinstance as $key => $value ) {
|
320 |
|
321 |
+
/** Border radius and Icon size must not be empty, must be a digit */
|
322 |
+
if ( ( 'border_radius' == $key || 'size' == $key ) && ( '' == $value || ! ctype_digit( $value ) ) ) {
|
323 |
+
$newinstance[$key] = 0;
|
324 |
+
}
|
325 |
+
|
326 |
+
if ( ( 'border_width' == $key || 'size' == $key ) && ( '' == $value || ! ctype_digit( $value ) ) ) {
|
327 |
$newinstance[$key] = 0;
|
328 |
}
|
329 |
|
365 |
|
366 |
$new_window = $instance['new_window'] ? 'target="_blank"' : '';
|
367 |
|
368 |
+
$profiles = (array) $this->profiles;
|
369 |
+
|
370 |
+
foreach ( $profiles as $profile => $data ) {
|
371 |
+
|
372 |
+
if ( empty( $instance[ $profile ] ) )
|
373 |
+
continue;
|
374 |
+
|
375 |
+
if ( is_email( $instance[ $profile ] ) )
|
376 |
+
$output .= sprintf( $data['pattern'], 'mailto:' . esc_attr( $instance[$profile] ), $new_window );
|
377 |
+
else
|
378 |
$output .= sprintf( $data['pattern'], esc_url( $instance[$profile] ), $new_window );
|
379 |
+
|
380 |
}
|
381 |
|
382 |
if ( $output )
|
386 |
|
387 |
}
|
388 |
|
389 |
+
function enqueue_css() {
|
390 |
+
|
391 |
+
$cssfile = apply_filters( 'simple_social_default_css', plugin_dir_url( __FILE__ ) . 'css/style.css' );
|
392 |
+
|
393 |
+
wp_enqueue_style( 'simple-social-icons-font', esc_url( $cssfile ), array(), '1.0.11', 'all' );
|
394 |
+
}
|
395 |
+
|
396 |
/**
|
397 |
* Custom CSS.
|
398 |
*
|
402 |
|
403 |
/** Pull widget settings, merge with defaults */
|
404 |
$all_instances = $this->get_settings();
|
405 |
+
if ( ! isset( $this->number ) || ! isset( $all_instances[$this->number] ) ) {
|
406 |
+
return;
|
407 |
+
}
|
408 |
+
|
409 |
$instance = wp_parse_args( $all_instances[$this->number], $this->defaults );
|
410 |
|
411 |
+
$font_size = round( (int) $instance['size'] / 2 );
|
412 |
+
$icon_padding = round ( (int) $font_size / 2 );
|
|
|
|
|
|
|
|
|
413 |
|
414 |
/** The CSS to output */
|
415 |
+
$css = '
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
416 |
.simple-social-icons ul li a,
|
417 |
.simple-social-icons ul li a:hover {
|
418 |
+
background-color: ' . $instance['background_color'] . ' !important;
|
|
|
|
|
419 |
border-radius: ' . $instance['border_radius'] . 'px;
|
420 |
+
color: ' . $instance['icon_color'] . ' !important;
|
421 |
+
border: ' . $instance['border_width'] . 'px ' . $instance['border_color'] . ' solid !important;
|
422 |
+
font-size: ' . $font_size . 'px;
|
423 |
+
padding: ' . $icon_padding . 'px;
|
|
|
424 |
}
|
425 |
|
426 |
.simple-social-icons ul li a:hover {
|
427 |
+
background-color: ' . $instance['background_color_hover'] . ' !important;
|
428 |
+
border-color: ' . $instance['border_color_hover'] . ' !important;
|
429 |
+
color: ' . $instance['icon_color_hover'] . ' !important;
|
430 |
}';
|
431 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
432 |
/** Minify a bit */
|
433 |
$css = str_replace( "\t", '', $css );
|
434 |
$css = str_replace( array( "\n", "\r" ), ' ', $css );
|