From f404a783003238fe5b509edbf574346bb37d2f55 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 19 Mar 2013 16:06:17 +0100 Subject: [PATCH] prettyfied lists --- plugins/lists/simplelist.css | 21 ++++++++++++++------- plugins/lists/simplelist.html | 2 +- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/plugins/lists/simplelist.css b/plugins/lists/simplelist.css index 8bfe2167..296cd8f6 100644 --- a/plugins/lists/simplelist.css +++ b/plugins/lists/simplelist.css @@ -1,14 +1,21 @@ -/* ---------- */ -td.simplelist { - padding: 0; - list-style: none; +/* font size for regular (non datatable'd) simplelists */ +tbody.simplelist { + font-size: 80%; } -td.simplelist>a { - padding-left: 8px; +/* datatable'd tables behave differently */ +table.with-datatables>tbody.simplelist { + font-size: 100%; } -th.simplelist { +/* larger headers */ +thead.simplelist>tr>th { font-size: 150%; + padding: 10px 10px 20px 10px; +} +/* some space after the arrow */ +tbody.simplelist i { + padding-right: 8px; } + /* ---------- */ /* xxx this probably should be separated in something related to datatables */ select { diff --git a/plugins/lists/simplelist.html b/plugins/lists/simplelist.html index 1ac90108..e34d087e 100644 --- a/plugins/lists/simplelist.html +++ b/plugins/lists/simplelist.html @@ -1,4 +1,4 @@ -{% if header %} {% endif %} +{% if header %} {% endif %}
{{ header }}
{{ header }}
-- 2.43.0