diff --git a/css/dataTables.responsive.css b/css/dataTables.responsive.css index e0248be..80d9fad 100644 --- a/css/dataTables.responsive.css +++ b/css/dataTables.responsive.css @@ -18,6 +18,7 @@ table.dataTable.dtr-inline.collapsed tbody th:first-child:before { text-align: center; line-height: 14px; box-shadow: 0 0 3px #444; + box-sizing: content-box; content: '+'; background-color: #31b131; } @@ -50,6 +51,7 @@ table.dataTable.dtr-column tbody th.control:before { text-align: center; line-height: 14px; box-shadow: 0 0 3px #444; + box-sizing: content-box; content: '+'; background-color: #31b131; } diff --git a/css/dataTables.responsive.scss b/css/dataTables.responsive.scss index f8b85d8..fdf671b 100644 --- a/css/dataTables.responsive.scss +++ b/css/dataTables.responsive.scss @@ -11,6 +11,7 @@ text-align: center; line-height: 14px; box-shadow: 0 0 3px #444; + box-sizing: content-box; } @mixin control-open() { diff --git a/examples/.DS_Store b/examples/.DS_Store new file mode 100644 index 0000000..5008ddf Binary files /dev/null and b/examples/.DS_Store differ diff --git a/examples/child-rows/disable-child-rows.xml b/examples/child-rows/disable-child-rows.xml new file mode 100644 index 0000000..1fb511e --- /dev/null +++ b/examples/child-rows/disable-child-rows.xml @@ -0,0 +1,28 @@ + + + + + + + + +Disable child rows + + + + + diff --git a/examples/child-rows/index.xml b/examples/child-rows/index.xml new file mode 100755 index 0000000..fb821a4 --- /dev/null +++ b/examples/child-rows/index.xml @@ -0,0 +1,12 @@ + + + +Child row control + + + + diff --git a/examples/display-control/index.xml b/examples/display-control/index.xml new file mode 100755 index 0000000..e542699 --- /dev/null +++ b/examples/display-control/index.xml @@ -0,0 +1,12 @@ + + + +Display control + + + + diff --git a/examples/index.xml b/examples/index.xml new file mode 100755 index 0000000..f66f1f3 --- /dev/null +++ b/examples/index.xml @@ -0,0 +1,12 @@ + + + +Responsive DataTables + + + + diff --git a/examples/initialisation/ajax.xml b/examples/initialisation/ajax.xml new file mode 100644 index 0000000..d64211f --- /dev/null +++ b/examples/initialisation/ajax.xml @@ -0,0 +1,36 @@ + + + + + div.container { max-width: 1200px } + + + + + +Ajax data + + + + + diff --git a/examples/auto.xml b/examples/initialisation/auto.xml similarity index 100% rename from examples/auto.xml rename to examples/initialisation/auto.xml diff --git a/examples/classes.xml b/examples/initialisation/classes.xml similarity index 100% rename from examples/classes.xml rename to examples/initialisation/classes.xml diff --git a/examples/column.xml b/examples/initialisation/column.xml similarity index 100% rename from examples/column.xml rename to examples/initialisation/column.xml diff --git a/examples/initialisation/index.xml b/examples/initialisation/index.xml new file mode 100755 index 0000000..03fdf56 --- /dev/null +++ b/examples/initialisation/index.xml @@ -0,0 +1,12 @@ + + + +Initialisation + + + + diff --git a/examples/initialisation/init-option.xml b/examples/initialisation/init-option.xml new file mode 100644 index 0000000..3b5ce92 --- /dev/null +++ b/examples/initialisation/init-option.xml @@ -0,0 +1,30 @@ + + + + + div.container { max-width: 1200px } + + + + + +Initialisation - option + + + + + diff --git a/examples/initialisation/simple.xml b/examples/initialisation/simple.xml new file mode 100644 index 0000000..0231ffa --- /dev/null +++ b/examples/initialisation/simple.xml @@ -0,0 +1,28 @@ + + + + + div.container { max-width: 1200px } + + + + + +Initialisation - class name + + + + + diff --git a/examples/styling/bootstrap.xml b/examples/styling/bootstrap.xml new file mode 100644 index 0000000..9087714 --- /dev/null +++ b/examples/styling/bootstrap.xml @@ -0,0 +1,33 @@ + + + + + body { font-size: 140% } + + table.dataTable th, + table.dataTable td { + white-space: nowrap; + } + + + + + +Bootstrap styling + + + + + diff --git a/examples/styling/foundation.xml b/examples/styling/foundation.xml new file mode 100644 index 0000000..1a36f71 --- /dev/null +++ b/examples/styling/foundation.xml @@ -0,0 +1,29 @@ + + + + + table.dataTable th, + table.dataTable td { + white-space: nowrap; + } + + + + + +Foundation styling + + + + + diff --git a/examples/styling/index.xml b/examples/styling/index.xml new file mode 100755 index 0000000..f578f7a --- /dev/null +++ b/examples/styling/index.xml @@ -0,0 +1,12 @@ + + + +Styling + + + + diff --git a/make.sh b/make.sh index 4aaf6b1..b9306e7 100644 --- a/make.sh +++ b/make.sh @@ -23,7 +23,7 @@ js_compress $OUT_DIR/js/dataTables.responsive.js # Copy and build examples rsync -r examples $OUT_DIR -examples_process $OUT_DIR +examples_process $OUT_DIR/examples # Readme cp Readme.md $OUT_DIR