Skip to content

Commit

Permalink
Added minifiedCss made with gulp so we have resolved issue NaturalInt…
Browse files Browse the repository at this point in the history
  • Loading branch information
LnrdRmj committed May 31, 2019
1 parent 51b984b commit 359e1eb
Show file tree
Hide file tree
Showing 7 changed files with 4,910 additions and 6 deletions.
14 changes: 14 additions & 0 deletions build/minify.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/menu.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}

#h_line, #v_line, #tooltip-span {
display:none;
display:none;
position:absolute;
overflow:hidden;
}
Expand Down Expand Up @@ -79,4 +79,4 @@

.no-pl{
padding-left: 0px!important;
}
}
17 changes: 17 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
var gulp = require("gulp");
var concat = require("gulp-concat");
var minifyCSS = require("gulp-minify-css");
var watch = require("gulp");

gulp.task('concatScripts', function() {
return gulp.src(["css/*.css", "css/fontello.min.css"])
.pipe(concat('minify.css'))
.pipe(minifyCSS())
.pipe(gulp.dest('build'));
});

gulp.task("updateCSS", function(){
gulp.watch("css/*.css", ["concatScripts"]);
});

exports.default = ["concatScripts", "updateCSS"];
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

<title>ImgLab - Image Annotation tool</title>

<link rel="stylesheet" href="css/style.min.css">
<!--<link rel="stylesheet" href="minifyCSS/build/minify.css">-->
<link rel="stylesheet" href="css/slider.1.min.css">
<link rel="stylesheet" href="css/tags.min.css">
<link rel="stylesheet" href="css/svg.select.min.css">
Expand All @@ -44,9 +44,9 @@
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/snackbar.min.css">
<link rel="stylesheet" href="css/menu.min.css">
<link rel="stylesheet" href="css/fontello.min.css">
<link rel="stylesheet" href="css/jquery-editable-select.min.css">
<link rel="stylesheet" href="css/taggle.min.css">
<link rel="stylesheet" href="css/taggle.min.css">-->
<link rel="stylesheet" href="css/fontello.min.css">

<script src="js/thirdparty/jquery.min.js"></script>
<script src="js/thirdparty/jquery-confirm.min.js"></script>
Expand Down
Loading

0 comments on commit 359e1eb

Please sign in to comment.