d62330e77483b7402702b73f4392d2abfc8f334c
kate
  Mon Feb 20 09:22:39 2012 -0800
Layout fixes, especially for IE.  Dynamically size row and column headers.  Use jQuery cell rotate on headers to achieve vertical text (required for IE, doesn't harm others).  Cleanup css with shortcuts.
diff --git src/hg/js/jquery.rotateTableCellContent.js src/hg/js/jquery.rotateTableCellContent.js
new file mode 100644
index 0000000..c2d618b
--- /dev/null
+++ src/hg/js/jquery.rotateTableCellContent.js
@@ -0,0 +1,32 @@
+(function ($) {
+  $.fn.rotateTableCellContent = function (options) {
+  /*
+  Version 1.0
+  7/2011
+  Written by David Votrubec (davidjs.com) and
+  Michal Tehnik (@Mictech) for ST-Software.com
+  */
+
+		var cssClass = ((options) ? options.className : false) || "vertical";
+
+		var cellsToRotate = $('.' + cssClass, this);
+
+		var betterCells = [];
+		cellsToRotate.each(function () {
+			var cell = $(this)
+		  , newText = cell.text()
+		  , height = cell.height()
+		  , width = cell.width()
+		  , newDiv = $('<div>', { height: width, width: height })
+		  , newInnerDiv = $('<div>', { text: newText, 'class': 'rotated' });
+
+			newDiv.append(newInnerDiv);
+
+			betterCells.push(newDiv);
+		});
+
+		cellsToRotate.each(function (i) {
+			$(this).html(betterCells[i]);
+		});
+	};
+})(jQuery);