From 7a5b78dbc6c3ad896bd07ad19aa8c9cb8fec11ac Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sun, 9 Nov 2014 21:41:32 -0500 Subject: Improve css for tables --- assets/css/table.css | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) (limited to 'assets/css/table.css') diff --git a/assets/css/table.css b/assets/css/table.css index 008b4bbf..c5ddb4c0 100644 --- a/assets/css/table.css +++ b/assets/css/table.css @@ -41,4 +41,51 @@ th a { th a:focus, th a:hover { text-decoration: underline; +} + +.table-fixed { + table-layout: fixed; + white-space: nowrap; +} + +.table-fixed td { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.column-5 { + width: 5%; +} + +.column-8 { + width: 7.5%; +} + +.column-10 { + width: 10%; +} + +.column-20 { + width: 20%; +} + +.column-30 { + width: 30%; +} + +.column-40 { + width: 40%; +} + +.column-50 { + width: 50%; +} + +.column-60 { + width: 60%; +} + +.column-70 { + width: 70%; } \ No newline at end of file -- cgit v1.2.3