Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,25 @@ grunt.initConfig({
}
},

// -- Autoprefixer Config --------------------------------------------------------

autoprefixer: {
options: {
browsers: ['last 2 versions', 'ie >= 8', 'iOS >= 6', 'Android >= 4']
},

dist: {
files: {
'src/base/css/*.css': '*.css',
'src/buttons/css/*.css': '*.css',
'src/forms/css/*.css': '*.css',
'src/grids/css/*.css': '*.css',
'src/menus/css/*.css': '*.css',
'src/tables/css/*.css': '*.css'
}
},
},

// -- CSSLint Config -------------------------------------------------------

csslint: {
Expand Down Expand Up @@ -250,6 +269,7 @@ grunt.initConfig({
// -- Main Tasks ---------------------------------------------------------------

// npm tasks.
grunt.loadNpmTasks('grunt-autoprefixer');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-concat');
Expand All @@ -264,7 +284,7 @@ grunt.loadNpmTasks('grunt-stripmq');
// Local tasks.
grunt.loadTasks('tasks/');

grunt.registerTask('default', ['import', 'test', 'build']);
grunt.registerTask('default', ['autoprefixer', 'import', 'test', 'build']);
grunt.registerTask('import', ['bower_install']);
grunt.registerTask('test', ['csslint']);
grunt.registerTask('build', [
Expand Down
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,17 @@
"devDependencies": {
"bower": "^1.3.7",
"grunt": "^0.4.5",
"grunt-autoprefixer": "^3.0.3",
"grunt-cli": "^0.1.13",
"grunt-contrib-clean": "^0.5.0",
"grunt-contrib-clean": "^0.6.0",
"grunt-contrib-compress": "^0.13.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-concat": "^0.5.1",
"grunt-contrib-copy": "^0.8.0",
"grunt-contrib-csslint": "^0.4.0",
"grunt-contrib-cssmin": "^0.12.3",
"grunt-contrib-watch": "^0.6.1",
"grunt-css-selectors": "^1.1.0",
"grunt-pure-grids": "^1.0.0",
"grunt-css-selectors": "^1.2.0",
"grunt-pure-grids": "^1.0.2",
"grunt-stripmq": "0.0.6"
},
"description": "Pure is a ridiculously tiny CSS library you can use to start any web project.",
Expand Down
5 changes: 0 additions & 5 deletions src/buttons/css/buttons-core.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@
text-align: center;
cursor: pointer;
-webkit-user-drag: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

Expand Down
4 changes: 0 additions & 4 deletions src/buttons/css/buttons.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
.pure-button:hover,
.pure-button:focus {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#1a000000',GradientType=0);
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));
background-image: -o-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
background-image: linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
}
.pure-button:focus {
Expand Down
4 changes: 0 additions & 4 deletions src/forms/css/forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ so we can ignore the csslint warning.
box-shadow: inset 0 1px 3px #ddd;
border-radius: 4px;
vertical-align: middle;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

Expand All @@ -43,8 +41,6 @@ since IE8 won't execute CSS that contains a CSS3 selector.
border: 1px solid #ccc;
box-shadow: inset 0 1px 3px #ddd;
border-radius: 4px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

Expand Down
1 change: 0 additions & 1 deletion src/grids/css/grids-core.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@

/* Prevents distributing space between rows */
-ms-align-content: flex-start;
-webkit-align-content: flex-start;
align-content: flex-start;
}

Expand Down
2 changes: 0 additions & 2 deletions src/menus/css/menus-core.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*csslint adjoining-classes: false, box-model:false*/
.pure-menu {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

Expand Down