2017-12-12 01:43:48 +00:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
var gulp = require('gulp');
|
|
|
|
var concatCss = require('gulp-concat-css');
|
|
|
|
|
|
|
|
/**********************************
|
|
|
|
* *
|
|
|
|
* userContent.css *
|
|
|
|
* *
|
|
|
|
**********************************/
|
|
|
|
|
|
|
|
/* Add everything to userContent */
|
|
|
|
gulp.task('userContent_all', function() {
|
|
|
|
return gulp.src(['color_variables.css', 'userContent-files/all_about_pages.css', 'userContent-files/*/*.css'])
|
|
|
|
.pipe(concatCss('userContent.css'))
|
|
|
|
.pipe(gulp.dest('.'));
|
|
|
|
});
|
|
|
|
|
|
|
|
/* Only make changes to addons.mozilla.org */
|
|
|
|
gulp.task('userContent_amo', function() {
|
|
|
|
return gulp.src(['color_variables.css', 'userContent-files/webpages/amo_store.css'])
|
|
|
|
.pipe(concatCss('userContent.css'))
|
|
|
|
.pipe(gulp.dest('.'));
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
/**********************************
|
|
|
|
* *
|
|
|
|
* userChrome.css *
|
|
|
|
* *
|
|
|
|
**********************************/
|
|
|
|
|
|
|
|
/* Add everything to userContent */
|
|
|
|
gulp.task('userChrome_all', function() {
|
|
|
|
return gulp.src(['color_variables.css', 'userChrome-files/*.css'])
|
|
|
|
.pipe(concatCss('userChrome.css'))
|
|
|
|
.pipe(gulp.dest('.'));
|
|
|
|
});
|
|
|
|
|
2017-12-12 06:26:47 +00:00
|
|
|
/* Remove White Flash and Bookmarks Border */
|
|
|
|
gulp.task('userChrome_basic', function() {
|
|
|
|
return gulp.src(['userChrome-files/remove_white_flash.css', 'userChrome-files/remove_bookmarks_bottom_border.css'])
|
|
|
|
.pipe(concatCss('userChrome.css'))
|
|
|
|
.pipe(gulp.dest('.'));
|
|
|
|
});
|
|
|
|
|