-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
2,513 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"name": "jsgrid", | ||
"version": "1.1.0", | ||
"main": [ | ||
"dist/jsgrid.js", | ||
"dist/jsgrid.css", | ||
"dist/jsgrid-theme.css" | ||
], | ||
"ignore": [ | ||
"demos", | ||
"external", | ||
"tests", | ||
".editorconfig", | ||
".gitignore", | ||
".travis.yml", | ||
"bower.json", | ||
"Gruntfile.js", | ||
"LICENSE", | ||
"package.json", | ||
"README.md" | ||
], | ||
"dependencies": { | ||
"jquery": ">=1.8.3" | ||
}, | ||
"devDependencies": { | ||
"qunit": ">=1.10.0" | ||
} | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
/* | ||
* jsGrid v1.1.0 (http://js-grid.com) | ||
* (c) 2015 Artem Tabalin | ||
* Licensed under MIT (https://github.com/tabalinas/jsgrid/blob/master/LICENSE) | ||
*/ | ||
|
||
.jsgrid { | ||
position: relative; | ||
overflow: hidden; | ||
font-size: 1em; | ||
} | ||
|
||
.jsgrid, .jsgrid *, .jsgrid *:before, .jsgrid *:after { | ||
box-sizing: border-box; | ||
} | ||
|
||
.jsgrid input, | ||
.jsgrid textarea, | ||
.jsgrid select { | ||
font-size: 1em; | ||
} | ||
|
||
.jsgrid-grid-header { | ||
overflow-x: hidden; | ||
overflow-y: scroll; | ||
-webkit-user-select: none; | ||
-khtml-user-select: none; | ||
-moz-user-select: none; | ||
-ms-user-select: none; | ||
-o-user-select: none; | ||
user-select: none; | ||
} | ||
|
||
.jsgrid-grid-body { | ||
overflow-x: auto; | ||
overflow-y: scroll; | ||
-webkit-overflow-scrolling: touch; | ||
} | ||
|
||
.jsgrid-table { | ||
width: 100%; | ||
table-layout: fixed; | ||
border-collapse: collapse; | ||
border-spacing: 0; | ||
} | ||
|
||
.jsgrid-table td { | ||
padding: 0.5em 0.5em; | ||
} | ||
|
||
.jsgrid-table td, | ||
.jsgrid-table th { | ||
box-sizing: border-box; | ||
} | ||
|
||
.jsgrid-align-left { | ||
text-align: left; | ||
} | ||
|
||
.jsgrid-align-center { | ||
text-align: center; | ||
} | ||
|
||
.jsgrid-align-right { | ||
text-align: right; | ||
} | ||
|
||
.jsgrid-header-row > th { | ||
padding: .5em .5em; | ||
} | ||
|
||
.jsgrid-filter-row input, | ||
.jsgrid-filter-row textarea, | ||
.jsgrid-filter-row select, | ||
.jsgrid-edit-row input, | ||
.jsgrid-edit-row textarea, | ||
.jsgrid-edit-row select, | ||
.jsgrid-insert-row input, | ||
.jsgrid-insert-row textarea, | ||
.jsgrid-insert-row select { | ||
width: 90%; | ||
padding: .3em .5em; | ||
} | ||
|
||
.jsgrid-filter-row input[type='checkbox'], | ||
.jsgrid-edit-row input[type='checkbox'], | ||
.jsgrid-insert-row input[type='checkbox'] { | ||
width: auto; | ||
} | ||
|
||
.jsgrid-header-row > th, | ||
.jsgrid-filter-row > td, | ||
.jsgrid-insert-row > td, | ||
.jsgrid-edit-row > td { | ||
text-align: center; | ||
} | ||
|
||
.jsgrid-selected-row td { | ||
cursor: pointer; | ||
} | ||
|
||
.jsgrid-nodata-row td { | ||
padding: .5em 0; | ||
text-align: center; | ||
} | ||
|
||
.jsgrid-header-sort { | ||
cursor: pointer; | ||
} | ||
|
||
.jsgrid-pager { | ||
padding: .5em 0; | ||
} | ||
|
||
.jsgrid-pager-nav-button { | ||
padding: .2em .6em; | ||
} | ||
|
||
.jsgrid-pager-page { | ||
padding: .2em .6em; | ||
} |
Oops, something went wrong.