aboutsummaryrefslogtreecommitdiff
path: root/ui/table-sort.css
diff options
context:
space:
mode:
Diffstat (limited to 'ui/table-sort.css')
-rw-r--r--ui/table-sort.css39
1 files changed, 39 insertions, 0 deletions
diff --git a/ui/table-sort.css b/ui/table-sort.css
new file mode 100644
index 0000000..1034f4e
--- /dev/null
+++ b/ui/table-sort.css
@@ -0,0 +1,39 @@
+/* sort indicator in column headings */
+.sortArrow {
+ color: grey;
+}
+
+thead {
+ font-weight: bold;
+ text-align: center;
+}
+
+table {
+ padding: 10px; /* Padding makes it look nicer. */
+ margin: 0 auto; /* center table on the page */
+ border-collapse: collapse; /* this is like old cellpadding */
+}
+
+/* like cellspacing? */
+td {
+ padding: 5px;
+}
+
+/* Built-in support for R NA values */
+.na {
+ color: darkred;
+}
+
+/* Numbers aligned on the right, like Excel */
+.num {
+ text-align: right;
+}
+
+.highlight {
+ background-color: #f0f0f0;
+}
+
+tbody tr:hover {
+ background-color: lightcyan;
+}
+