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 --- snow/snow.css | 48 ++++++------------------------------------------ snow/snow.js | 5 +++++ 2 files changed, 11 insertions(+), 42 deletions(-) create mode 100644 snow/snow.js (limited to 'snow') diff --git a/snow/snow.css b/snow/snow.css index 24f2f68..9413ffe 100644 --- a/snow/snow.css +++ b/snow/snow.css @@ -1,6 +1,12 @@ /* "Snow" - a css for Alpine Configuration Framework - * N. Angelacos 2008 - GPL2 */ +/*---------------------------------------------------------------------------------- + * JQUERY TABLESORTER + *--------------------------------------------------------------------------------*/ + +@import "../static/tablesorter/theme.blue.css"; + /* * ----------------------------------------------------------------------- * Debug Definitons @@ -389,45 +395,3 @@ input.text[readonly], textarea[readonly] { font-weight: bold; vertical-align: bottom; } - -/*---------------------------------------------------------------------------------- - * 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/snow/snow.js b/snow/snow.js new file mode 100644 index 0000000..07c7e76 --- /dev/null +++ b/snow/snow.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