From 93d70d66ea5d636b5458bb1a34525e0c88e45484 Mon Sep 17 00:00:00 2001 From: Seth Bertalotto Date: Tue, 22 Nov 2016 13:37:23 -0800 Subject: [PATCH] update grunt dependencies and fix csslint issues (#609) --- .csslintrc | 2 ++ package.json | 16 ++++++++-------- src/buttons/css/buttons.css | 4 ++++ 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.csslintrc b/.csslintrc index 3e2af48..180c529 100644 --- a/.csslintrc +++ b/.csslintrc @@ -1,6 +1,8 @@ { + "adjoining-classes" : false, "box-sizing" : false, "display-property-grouping": false, + "order-alphabetical" : false, "star-property-hack" : false, "unqualified-attributes" : false } diff --git a/package.json b/package.json index e3cb193..ae04f54 100644 --- a/package.json +++ b/package.json @@ -12,15 +12,15 @@ "files": "build/", "devDependencies": { "bower": "^1.3.7", - "grunt": "^0.4.5", - "grunt-cli": "^0.1.13", - "grunt-contrib-clean": "^0.5.0", + "grunt": "^1.0.1", + "grunt-cli": "^1.2.0", + "grunt-contrib-clean": "^1.0.0", "grunt-contrib-compress": "^1.3.0", - "grunt-contrib-concat": "^0.4.0", - "grunt-contrib-copy": "^0.5.0", - "grunt-contrib-csslint": "^0.2.0", - "grunt-contrib-cssmin": "^0.6.2", - "grunt-contrib-watch": "^0.6.1", + "grunt-contrib-concat": "^1.0.1", + "grunt-contrib-copy": "^1.0.0", + "grunt-contrib-csslint": "^2.0.0", + "grunt-contrib-cssmin": "^1.0.2", + "grunt-contrib-watch": "^1.0.0", "grunt-css-selectors": "^1.1.0", "grunt-pure-grids": "^1.0.0", "grunt-stripmq": "0.0.6" diff --git a/src/buttons/css/buttons.css b/src/buttons/css/buttons.css index 64250df..3500996 100644 --- a/src/buttons/css/buttons.css +++ b/src/buttons/css/buttons.css @@ -16,7 +16,9 @@ .pure-button-hover, .pure-button:hover, .pure-button:focus { + /* csslint ignore:start */ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#1a000000',GradientType=0); + /* csslint ignore:end */ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(transparent), color-stop(40%, rgba(0,0,0, 0.05)), to(rgba(0,0,0, 0.10))); background-image: -webkit-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10)); background-image: -moz-linear-gradient(top, rgba(0,0,0, 0.05) 0%, rgba(0,0,0, 0.10)); @@ -39,8 +41,10 @@ .pure-button-disabled:active { border: none; background-image: none; + /* csslint ignore:start */ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); filter: alpha(opacity=40); + /* csslint ignore:end */ -khtml-opacity: 0.40; -moz-opacity: 0.40; opacity: 0.40;