Fix error when on sass file compilation
This commit is contained in:
parent
9a9bd41569
commit
8eb91e67f1
|
@ -1322,7 +1322,7 @@ ul.msg_list li a .message {
|
|||
position: absolute;
|
||||
text-shadow: none;
|
||||
top: 100%;
|
||||
z-index: 1000;
|
||||
z-index: 9998;
|
||||
border: 1px solid #D9DEE4;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0; }
|
||||
|
|
2
build/css/custom.min.css
vendored
2
build/css/custom.min.css
vendored
File diff suppressed because one or more lines are too long
20
gulpfile.js
20
gulpfile.js
|
@ -15,20 +15,26 @@ gulp.task('scripts', function() {
|
|||
.pipe(gulp.dest(DEST+'/js'));
|
||||
});
|
||||
|
||||
gulp.task('sass', function() {
|
||||
return sass('src/scss/*.scss')
|
||||
.pipe(concat('custom.css'))
|
||||
.pipe(gulp.dest(DEST+'/css'))
|
||||
.pipe(rename({suffix: '.min'}))
|
||||
.pipe(uglify())
|
||||
// TODO: Maybe we can simplify how sass compile the minify and unminify version
|
||||
var compileSASS = function (filename, options) {
|
||||
return sass('src/scss/*.scss', options)
|
||||
.pipe(concat(filename))
|
||||
.pipe(gulp.dest(DEST+'/css'));
|
||||
};
|
||||
|
||||
gulp.task('sass', function() {
|
||||
return compileSASS('custom.css', {});
|
||||
});
|
||||
|
||||
gulp.task('sass-minify', function() {
|
||||
return compileSASS('custom.min.css', {style: 'compressed'});
|
||||
});
|
||||
|
||||
gulp.task('watch', function() {
|
||||
// Watch .js files
|
||||
gulp.watch('src/js/*.js', ['scripts']);
|
||||
// Watch .scss files
|
||||
gulp.watch('src/scss/*.scss', ['sass']);
|
||||
gulp.watch('src/scss/*.scss', ['sass', 'sass-minify']);
|
||||
});
|
||||
|
||||
// Default Task
|
||||
|
|
Loading…
Reference in a new issue