restored the third-party area to the original dataTables.bootstrap.css and pack all...
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 27 Mar 2013 10:58:23 +0000 (11:58 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 27 Mar 2013 10:58:23 +0000 (11:58 +0100)
15 files changed:
plugins/hazelnut/hazelnut.css
plugins/hazelnut/img/README [new file with mode: 0644]
plugins/hazelnut/img/tablesort-bullet1.png [new file with mode: 0644]
plugins/hazelnut/img/tablesort-bullet2.png [new file with mode: 0644]
plugins/hazelnut/img/tablesort-col-alt.png [new file with mode: 0644]
plugins/hazelnut/img/tablesort-gradient.png [new file with mode: 0644]
plugins/hazelnut/img/tablesort-header-down.png [new file with mode: 0644]
plugins/hazelnut/img/tablesort-header-sortable.png [new file with mode: 0644]
plugins/hazelnut/img/tablesort-header-up.png [new file with mode: 0644]
plugins/hazelnut/img/tablesort-header.png [new file with mode: 0644]
plugins/hazelnut/img/tablesort-td-alt.png [new file with mode: 0644]
plugins/hazelnut/img/toggle-hidden.png [new file with mode: 0755]
plugins/hazelnut/img/toggle-visible.png [new file with mode: 0755]
third-party/datatables/css/README
third-party/datatables/css/dataTables.bootstrap.css

index 5b21e90..2439bd1 100644 (file)
@@ -2,3 +2,42 @@ div.spacer {
     height:20px;
     clear: both;
 }
+
+div.Hazelnut table.dataTable th {
+    font: bold 10px/22px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+    color: #4f6b72;
+    border-right: 1px solid #C1DAD7;
+    border-bottom: 1px solid #C1DAD7;
+    border-top: 1px solid #C1DAD7;
+    letter-spacing: 1px;
+    text-transform: uppercase;
+    text-align: left;
+    padding: 8px 12px 4px 20px;
+    vertical-align:middle;
+    background: #CAE8EA url(../img/tablesort-header.jpg) no-repeat;
+}
+
+div.Hazelnut table.dataTable td, div.Hazelnut table.dataTable textarea, div.Hazelnut table.dataTable input [type="text"] {
+    font: normal 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
+    border-right: 1px solid #C1DAD7;
+    border-bottom: 1px solid #C1DAD7;
+}
+div.Hazelnut table.dataTable td {
+    padding: 4px 8px 4px 8px;
+    /* this applies on even rows only, odd ones have a setting in bootstrap of rbg 249.249.249 */
+    background-color: #f0fff0;
+}
+div.Hazelnut table.dataTable td a {
+    font-weight:normal;
+}
+/* these come from bootstrap */
+div.Hazelnut div.dataTables_info {
+    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
+}
+
+div.Hazelnut table.dataTable thead .sorting { background: url('../img/tablesort-header-sortable.png') no-repeat; }
+div.Hazelnut table.dataTable thead .sorting_asc { background: url('../img/tablesort-header-up.png') no-repeat; }
+div.Hazelnut table.dataTable thead .sorting_desc { background: url('../img/tablesort-header-down.png') no-repeat; }
+/* former set did not have that exact equivalent - using an approximation for now */
+div.Hazelnut table.dataTable thead .sorting_asc_disabled { background: url('../img/tablesort-header-sortable.png') no-repeat; }
+div.Hazelnut table.dataTable thead .sorting_desc_disabled { background: url('../img/tablesort-header-sortable.png') no-repeat; }
diff --git a/plugins/hazelnut/img/README b/plugins/hazelnut/img/README
new file mode 100644 (file)
index 0000000..5df2d69
--- /dev/null
@@ -0,0 +1,2 @@
+these styling elements come from plekit with a simple transition to png
+they're currently not all used in myslice
diff --git a/plugins/hazelnut/img/tablesort-bullet1.png b/plugins/hazelnut/img/tablesort-bullet1.png
new file mode 100644 (file)
index 0000000..4304f36
Binary files /dev/null and b/plugins/hazelnut/img/tablesort-bullet1.png differ
diff --git a/plugins/hazelnut/img/tablesort-bullet2.png b/plugins/hazelnut/img/tablesort-bullet2.png
new file mode 100644 (file)
index 0000000..4f181e1
Binary files /dev/null and b/plugins/hazelnut/img/tablesort-bullet2.png differ
diff --git a/plugins/hazelnut/img/tablesort-col-alt.png b/plugins/hazelnut/img/tablesort-col-alt.png
new file mode 100644 (file)
index 0000000..8179f83
Binary files /dev/null and b/plugins/hazelnut/img/tablesort-col-alt.png differ
diff --git a/plugins/hazelnut/img/tablesort-gradient.png b/plugins/hazelnut/img/tablesort-gradient.png
new file mode 100644 (file)
index 0000000..26558a4
Binary files /dev/null and b/plugins/hazelnut/img/tablesort-gradient.png differ
diff --git a/plugins/hazelnut/img/tablesort-header-down.png b/plugins/hazelnut/img/tablesort-header-down.png
new file mode 100644 (file)
index 0000000..c8ed657
Binary files /dev/null and b/plugins/hazelnut/img/tablesort-header-down.png differ
diff --git a/plugins/hazelnut/img/tablesort-header-sortable.png b/plugins/hazelnut/img/tablesort-header-sortable.png
new file mode 100644 (file)
index 0000000..0c16904
Binary files /dev/null and b/plugins/hazelnut/img/tablesort-header-sortable.png differ
diff --git a/plugins/hazelnut/img/tablesort-header-up.png b/plugins/hazelnut/img/tablesort-header-up.png
new file mode 100644 (file)
index 0000000..d12fe2a
Binary files /dev/null and b/plugins/hazelnut/img/tablesort-header-up.png differ
diff --git a/plugins/hazelnut/img/tablesort-header.png b/plugins/hazelnut/img/tablesort-header.png
new file mode 100644 (file)
index 0000000..cff526f
Binary files /dev/null and b/plugins/hazelnut/img/tablesort-header.png differ
diff --git a/plugins/hazelnut/img/tablesort-td-alt.png b/plugins/hazelnut/img/tablesort-td-alt.png
new file mode 100644 (file)
index 0000000..ef5ab35
Binary files /dev/null and b/plugins/hazelnut/img/tablesort-td-alt.png differ
diff --git a/plugins/hazelnut/img/toggle-hidden.png b/plugins/hazelnut/img/toggle-hidden.png
new file mode 100755 (executable)
index 0000000..023f22a
Binary files /dev/null and b/plugins/hazelnut/img/toggle-hidden.png differ
diff --git a/plugins/hazelnut/img/toggle-visible.png b/plugins/hazelnut/img/toggle-visible.png
new file mode 100755 (executable)
index 0000000..baf6c28
Binary files /dev/null and b/plugins/hazelnut/img/toggle-visible.png differ
index c979ef9..1349295 100644 (file)
@@ -1,2 +1,2 @@
-manually replaced images/ with ../img/ in this css after downloading
-remember url() gives a location relative to where the css file lies
+we use different background images than the ones provided byt this package
+this gets customized in hazelnut.css
index 63fa1eb..fc3dfbd 100644 (file)
@@ -36,12 +36,12 @@ table.table thead .sorting_desc_disabled {
        *cursor: hand;
 }
 
-table.table thead .sorting { background: url('../img/sort_both.png') no-repeat center right; }
-table.table thead .sorting_asc { background: url('../img/sort_asc.png') no-repeat center right; }
-table.table thead .sorting_desc { background: url('../img/sort_desc.png') no-repeat center right; }
+table.table thead .sorting { background: url('images/sort_both.png') no-repeat center right; }
+table.table thead .sorting_asc { background: url('images/sort_asc.png') no-repeat center right; }
+table.table thead .sorting_desc { background: url('images/sort_desc.png') no-repeat center right; }
 
-table.table thead .sorting_asc_disabled { background: url('../img/sort_asc_disabled.png') no-repeat center right; }
-table.table thead .sorting_desc_disabled { background: url('../img/sort_desc_disabled.png') no-repeat center right; }
+table.table thead .sorting_asc_disabled { background: url('images/sort_asc_disabled.png') no-repeat center right; }
+table.table thead .sorting_desc_disabled { background: url('images/sort_desc_disabled.png') no-repeat center right; }
 
 table.dataTable th:active {
        outline: none;