From b00bbdfbec62bfac7f29f3a5b335a2407af688fc Mon Sep 17 00:00:00 2001 From: cflakes Date: Sun, 4 Jul 2010 17:44:03 +0000 Subject: [PATCH] Made usuable in all skins. The new policy is to use (...)+ for horizontal headers and for vertical ones. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2062 726aef4b-f618-498e-8847-2d620e286838 --- webskins/_default_/pub/_default_.css | 8 ++++++-- webskins/dark-clouds/pub/dark-clouds.css | 6 +++++- webskins/ice/pub/ice.css | 14 ++++++++++++-- 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/webskins/_default_/pub/_default_.css b/webskins/_default_/pub/_default_.css index 120db66d..4d899a12 100644 --- a/webskins/_default_/pub/_default_.css +++ b/webskins/_default_/pub/_default_.css @@ -252,15 +252,19 @@ table { border-spacing: 1px; } -td { +td, th { padding: 5px 10px; min-width: 50px; } -thead td { +thead td, th { background-color: #a0a0a0; } +th { + text-align: left; +} + tbody td { background-color: #cecece; } diff --git a/webskins/dark-clouds/pub/dark-clouds.css b/webskins/dark-clouds/pub/dark-clouds.css index 76de0e14..9f59ad64 100644 --- a/webskins/dark-clouds/pub/dark-clouds.css +++ b/webskins/dark-clouds/pub/dark-clouds.css @@ -46,11 +46,15 @@ table thead td { padding: 6px; } -table td { +table td, table th { padding: 4px; border: 1px solid #000; } +table th { + text-align: left; +} + td.mod_name { white-space: nowrap; } diff --git a/webskins/ice/pub/ice.css b/webskins/ice/pub/ice.css index 5f4d46d4..29943090 100644 --- a/webskins/ice/pub/ice.css +++ b/webskins/ice/pub/ice.css @@ -77,7 +77,7 @@ table { margin: 10px; } -table td { +td { border-left: 1px solid #000; border-top: 1px solid #000; padding: 4px; @@ -89,16 +89,26 @@ table thead { font-weight: bold; } -th, thead td { +thead td { font-size: 13px; border-bottom: 1px solid #000; min-width: 50px; } +th { + text-align: left; + padding: 4px; + border-top: 1px solid #000; +} + tr td:first-child { border-left: none; } +tr:first-child th { + border-top: none; +} + table tr:first-child td { border-top: none; }