From c4d61068d6db99db322ffe44e2691bd5aaae73d9 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 3 Oct 2013 19:51:42 +0000 Subject: Use tablesorter themes and images now installed by acf-jquery --- clouds/clouds.css | 48 ++++++------------------------------------------ clouds/clouds.js | 5 +++++ 2 files changed, 11 insertions(+), 42 deletions(-) create mode 100644 clouds/clouds.js (limited to 'clouds') diff --git a/clouds/clouds.css b/clouds/clouds.css index 3ec360c..eb2d1c4 100755 --- a/clouds/clouds.css +++ b/clouds/clouds.css @@ -1,5 +1,11 @@ /* .css - Alpine ACF */ +/*---------------------------------------------------------------------------------- + * JQUERY TABLESORTER + *--------------------------------------------------------------------------------*/ + +@import "../static/tablesorter/theme.blue.css"; + /*---------------------------------------------------------------------------------- * GENERAL *---------------------------------------------------------------------------------- @@ -428,45 +434,3 @@ body { padding: 5px 0px 5px 0px; margin: 15px 0px 0px 10px; */ } - -/*---------------------------------------------------------------------------------- - * JQUERY TABLESORTER - *---------------------------------------------------------------------------------- - */ - -/* tables */ -table.tablesorter { - font-family:arial; - margin:10px 0pt 15px; - font-size: 8pt; - width: 100%; - text-align: left; -} -table.tablesorter thead tr th, table.tablesorter tfoot tr th { - background-color: #e6EEEE; - border: 1px solid #FFF; - font-size: 8pt; - padding: 4px; -} -table.tablesorter thead tr .header { - background-image: url(../static/bg.gif); - background-repeat: no-repeat; - background-position: center right; - cursor: pointer; -} -table.tablesorter tbody td { - padding: 4px; - vertical-align: top; -} -table.tablesorter tbody tr.odd td { - background-color:#F0F0F6; -} -table.tablesorter thead tr .headerSortUp { - background-image: url(../static/asc.gif); -} -table.tablesorter thead tr .headerSortDown { - background-image: url(../static/desc.gif); -} -table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp { -background-color: #8dbdd8; -} diff --git a/clouds/clouds.js b/clouds/clouds.js new file mode 100644 index 0000000..07c7e76 --- /dev/null +++ b/clouds/clouds.js @@ -0,0 +1,5 @@ +// Add tablesorter-blue class to .tablesorter objects +// Note: you must load jquery before loading this file +$(document).ready(function() { + $(".tablesorter").addClass("tablesorter-blue"); +}); -- cgit v1.2.3