Loading Gruntfile.coffee +5 −17 Original line number Diff line number Diff line Loading @@ -4,10 +4,6 @@ module.exports = (grunt)-> grunt.initConfig pkg: grunt.file.readJSON('package.json') clean: main: src: TARGET_DIR less: app_css: src: "#{SRC_DIR}/<%= pkg.name %>.less" Loading @@ -19,22 +15,16 @@ module.exports = (grunt)-> dest: "#{TARGET_DIR}/<%= pkg.name %>.min.css" watch: build: options: base: SRC_DIR keepalive: true files: ["#{SRC_DIR}/**/*.less"] tasks: ["less"] css: options: livereload: true files: "#{TARGET_DIR}/<%= pkg.name %>.css" files: "#{SRC_DIR}/*.less" tasks: ["build"] html_templates: assets: options: livereload: true files: 'index.html' files: ['index.html', 'assets/*'] connect: server: Loading @@ -43,12 +33,10 @@ module.exports = (grunt)-> keepalive: true grunt.loadNpmTasks("grunt-contrib-clean") grunt.loadNpmTasks("grunt-contrib-less") grunt.loadNpmTasks("grunt-contrib-cssmin") grunt.loadNpmTasks("grunt-contrib-watch") grunt.loadNpmTasks('grunt-contrib-connect') grunt.registerTask("default", ["build", "watch"]) grunt.registerTask("build", ["clean", "less"]) grunt.registerTask("dist", ["clean", "less", "cssmin"]) grunt.registerTask("build", ["less", "cssmin"]) assets/docs.css +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ } .flag-wrapper:after { padding-top: 75%; /*1160/2000 ratio*/ padding-top: 75%; /* ratio */ display: block; content: ''; } Loading css/country-flag-icons.css +1 −19 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ position: relative; display: inline-block; width: 1.3333333333333333em; line-height: 1em; line-height: 2em; background-size: contain; background-position: 50%; background-repeat: no-repeat; Loading @@ -18,24 +18,6 @@ background-position: 50%; background-repeat: no-repeat; } .flag-icon-gr { background-image: url(../flags/4x3/gr.svg); } .flag-icon-gr.flag-icon-squared { background-image: url(../flags/1x1/gr.svg); } .flag-icon-dk { background-image: url(../flags/4x3/dk.svg); } .flag-icon-dk.flag-icon-squared { background-image: url(../flags/1x1/dk.svg); } .flag-icon-us { background-image: url(../flags/4x3/us.svg); } .flag-icon-us.flag-icon-squared { background-image: url(../flags/1x1/us.svg); } .flag-icon-ad { background-image: url(../flags/4x3/ad.svg); } Loading css/country-flag-icons.min.css +1 −1 File changed.Preview size limit exceeded, changes collapsed. Show changes less/country-flag-icons-base.less +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ position: relative; display: inline-block; width: unit(4 / 3, em); line-height: 1em; line-height: 2em; .flag-icon-background; &:before { content: "\00a0"; Loading Loading
Gruntfile.coffee +5 −17 Original line number Diff line number Diff line Loading @@ -4,10 +4,6 @@ module.exports = (grunt)-> grunt.initConfig pkg: grunt.file.readJSON('package.json') clean: main: src: TARGET_DIR less: app_css: src: "#{SRC_DIR}/<%= pkg.name %>.less" Loading @@ -19,22 +15,16 @@ module.exports = (grunt)-> dest: "#{TARGET_DIR}/<%= pkg.name %>.min.css" watch: build: options: base: SRC_DIR keepalive: true files: ["#{SRC_DIR}/**/*.less"] tasks: ["less"] css: options: livereload: true files: "#{TARGET_DIR}/<%= pkg.name %>.css" files: "#{SRC_DIR}/*.less" tasks: ["build"] html_templates: assets: options: livereload: true files: 'index.html' files: ['index.html', 'assets/*'] connect: server: Loading @@ -43,12 +33,10 @@ module.exports = (grunt)-> keepalive: true grunt.loadNpmTasks("grunt-contrib-clean") grunt.loadNpmTasks("grunt-contrib-less") grunt.loadNpmTasks("grunt-contrib-cssmin") grunt.loadNpmTasks("grunt-contrib-watch") grunt.loadNpmTasks('grunt-contrib-connect') grunt.registerTask("default", ["build", "watch"]) grunt.registerTask("build", ["clean", "less"]) grunt.registerTask("dist", ["clean", "less", "cssmin"]) grunt.registerTask("build", ["less", "cssmin"])
assets/docs.css +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ } .flag-wrapper:after { padding-top: 75%; /*1160/2000 ratio*/ padding-top: 75%; /* ratio */ display: block; content: ''; } Loading
css/country-flag-icons.css +1 −19 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ position: relative; display: inline-block; width: 1.3333333333333333em; line-height: 1em; line-height: 2em; background-size: contain; background-position: 50%; background-repeat: no-repeat; Loading @@ -18,24 +18,6 @@ background-position: 50%; background-repeat: no-repeat; } .flag-icon-gr { background-image: url(../flags/4x3/gr.svg); } .flag-icon-gr.flag-icon-squared { background-image: url(../flags/1x1/gr.svg); } .flag-icon-dk { background-image: url(../flags/4x3/dk.svg); } .flag-icon-dk.flag-icon-squared { background-image: url(../flags/1x1/dk.svg); } .flag-icon-us { background-image: url(../flags/4x3/us.svg); } .flag-icon-us.flag-icon-squared { background-image: url(../flags/1x1/us.svg); } .flag-icon-ad { background-image: url(../flags/4x3/ad.svg); } Loading
css/country-flag-icons.min.css +1 −1 File changed.Preview size limit exceeded, changes collapsed. Show changes
less/country-flag-icons-base.less +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ position: relative; display: inline-block; width: unit(4 / 3, em); line-height: 1em; line-height: 2em; .flag-icon-background; &:before { content: "\00a0"; Loading