-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2376cd7
commit f92ff31
Showing
117 changed files
with
18,441 additions
and
9,118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
.yith-wcwl-icon.fa-heart-o:before, | ||
.widget_yith-wcwl-items .heading-icon .fa-heart-o:before{ | ||
content: '\f004'; | ||
filter: grayscale(1); | ||
} | ||
|
||
.yith-wcwl-share .share-button a.facebook i:before{ | ||
font-family: 'FontAwesome'; | ||
content: '\f09a' | ||
} | ||
|
||
.yith-wcwl-share .share-button a.twitter i:before{ | ||
font-family: 'FontAwesome'; | ||
content: '\f099'; | ||
} | ||
|
||
.yith-wcwl-share .share-button a.pinterest i:before{ | ||
font-family: 'FontAwesome'; | ||
content: '\f231'; | ||
} | ||
|
||
.yith-wcwl-share .share-button a.email i:before{ | ||
font-family: 'FontAwesome'; | ||
content: '\f003'; | ||
} | ||
|
||
.yith-wcwl-share .share-button a.whatsapp i:before{ | ||
font-family: 'FontAwesome'; | ||
content: '\f232'; | ||
} | ||
|
||
.wishlist-title.wishlist-title-with-form .show-title-form .fa-pencil{ | ||
font-family: 'FontAwesome'; | ||
content: '\f040'; | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,32 +4,33 @@ var uglify = require('gulp-uglify'); | |
var wpPot = require('gulp-wp-pot'); | ||
var poSync = require('gulp-po-sync'); | ||
var po2mo = require('gulp-po2mo'); | ||
var jshint = require('gulp-jshint'); | ||
|
||
/* Task to compile less */ | ||
|
||
var minify_css = function () { | ||
var minifyCss = function () { | ||
return gulp.src('assets/css/unminified/*.css') | ||
.pipe(cleanCSS({debug: true}, (details) => { | ||
console.log(`${details.name}: ${details.stats.originalSize}kb => ${details.stats.minifiedSize} kb`); | ||
})) | ||
.pipe(gulp.dest('./assets/css/')); | ||
}; | ||
|
||
var minify_themes_css = function () { | ||
var minifyThemesCss = function () { | ||
return gulp.src('assets/css/unminified/themes/*.css') | ||
.pipe(cleanCSS({debug: true}, (details) => { | ||
console.log(`${details.name}: ${details.stats.originalSize}kb => ${details.stats.minifiedSize} kb`); | ||
})) | ||
.pipe(gulp.dest('./assets/css/themes/')); | ||
}; | ||
|
||
var minify_main_js = function () { | ||
var minifyMainJs = function () { | ||
return gulp.src('./assets/js/unminified/jquery.yith-wcwl.js') | ||
.pipe(uglify()) | ||
.pipe(gulp.dest('./assets/js/')) | ||
}; | ||
|
||
var minify_admin_js = function () { | ||
var minifyAdminJs = function () { | ||
return gulp.src('./assets/js/unminified/admin/yith-wcwl.js') | ||
.pipe(uglify()) | ||
.pipe(gulp.dest('./assets/js/admin/')) | ||
|
@@ -46,7 +47,7 @@ var updatePot = function () { | |
"Project-Id-Version": "YITH WooCommerce Wishlist Premium", | ||
"Content-Type": "text/plain; charset=UTF-8", | ||
"Language-Team": "YITH <[email protected]>", | ||
"X-Poedit-KeywordsList": "__;_e;_n:1,2;__ngettext:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2", | ||
"X-Poedit-KeywordsList": "__;_e;_n:1,2;__ngettext:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;esc_attr__;esc_attr_e;esc_html__;esc_html_e", | ||
"X-Poedit-Basepath": "..", | ||
"X-Poedit-SearchPath-0": ".", | ||
"X-Poedit-SearchPathExcluded-0": "plugin-fw", | ||
|
@@ -69,9 +70,16 @@ var updateMo = function () { | |
.pipe(gulp.dest('./languages')); | ||
}; | ||
|
||
exports.minify_js = gulp.series(minify_main_js, minify_admin_js); | ||
exports.minify = gulp.series(minify_css, minify_themes_css); | ||
var validateJs = function () { | ||
return gulp.src('./assets/js/unminified/*yith*.js') | ||
.pipe(jshint()) | ||
.pipe(jshint.reporter('default')); | ||
}; | ||
|
||
exports.minify_js = gulp.series(minifyMainJs, minifyAdminJs); | ||
exports.minify = gulp.series(minifyCss, minifyThemesCss); | ||
exports.uppot = gulp.series(updatePot); | ||
exports.localize = gulp.series(updatePot, updatePo, updateMo); | ||
exports.deploy = gulp.series(minify_css, minify_themes_css, minify_main_js, minify_admin_js, updatePot, updatePo, updateMo); | ||
exports.default = gulp.series(minify_css, minify_themes_css, minify_main_js, minify_admin_js); | ||
exports.deploy = gulp.series(minifyCss, minifyThemesCss, minifyMainJs, minifyAdminJs, updatePot, updatePo, updateMo); | ||
exports.default = gulp.series(minifyCss, minifyThemesCss, validateJs, minifyMainJs, minifyAdminJs); | ||
exports.jshint = gulp.series(validateJs); |
Oops, something went wrong.