From: Nicolas Boisselier Date: Mon, 16 Jan 2017 01:15:09 +0000 (+0000) Subject: Bed X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=f6a070c23a070be9a7cb5596d852597c7b288d9a;p=nb.git Bed --- diff --git a/lib/php/page.php b/lib/php/page.php index 7f323086..0d78ad43 100644 --- a/lib/php/page.php +++ b/lib/php/page.php @@ -415,7 +415,7 @@ class Page extends nb { // CSS foreach ((array)($this->css) as $vv) { foreach ($this->path2url($vv) as $v) { - $head .= ''.NB_EOL; + $head .= ''.NB_EOL; } } diff --git a/www/dbq/html/default.css b/www/dbq/html/default.css index 249d1405..d6f7b8cc 100644 --- a/www/dbq/html/default.css +++ b/www/dbq/html/default.css @@ -99,15 +99,19 @@ object, iframe, pre background-color: #FAFAFA; } -table.rows tr:nth-child(even) td { - background-color: #FEFEFE; -} .rows { padding: 0; } + table.rows { border-style: hidden; border-collapse: collapse; box-shadow: 0 0 0 1px #DDDDDD; + table-layout: fixed; + width: 99%; +} + +table.rows tr:nth-child(even) td { + background-color: #FEFEFE; } ul.row li, div.row div, table.rows th, table.rows td { @@ -115,8 +119,18 @@ ul.row li, div.row div, table.rows th, table.rows td { } ul.row li, div.row div, table.rows tr:last-child td { border-bottom: none; } -table.rows td { padding: 0.3em 0.3em; } +table.rows td { + padding: 0.3em 0.3em; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; +} + +table.rows tr > * { + border-right: solid 1px #FEFEFE; + text-align: left; +} /* To counter balance border corner when no border collapse table.rows th { padding-top: 0; } table.rows tr:last-child td { padding-bottom: 0; }