1.0.1 • Published 9 years ago
ui-grid-css v1.0.1
UI Grid - Custom CSS
Some improvements over UI Grid. Just load the CSS after theirs to override the styles.
<link rel="stylesheet" href="http://ui-grid.info/release/ui-grid.css" type="text/css">
<link rel="stylesheet" href="/path/to/ui-grid-custom.css" type="text/css">Demo
Note: The demo reports being insecure because ui-grid.info has a broken certificate (last time I checked)

A normal UI Grid with the custom CSS applied

UI Grid with clickable rows enabled
NPM
You can install this via NPM:
$ npm install --save ui-grid-cssThen import the CSS file directly:
<link rel="stylesheet" href="/node_modules/ui-grid-css/dist/ui-grid-custom.css" type="text/css">Or the minified version:
<link rel="stylesheet" href="/node_modules/ui-grid-css/dist/ui-grid-custom.min.css" type="text/css">Building
The source is provided in Sass, so it can be easily changed (to match your color scheme for example)
There are two files in the src directory:
/src
_variables.scss
ui-grid-custom.scssIn the variables file you can change the main colors used as you can imagine.
Once done, build with gulp: (If you don't have it installed, run npm install -g gulp first)
$ gulp buildAnd this will update both css files in the dist folder.