From 2724aa14f35dd5ff44dd96b8bdb17965193d700c Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sun, 27 Apr 2008 20:53:32 +0000 Subject: * Reworked Theme "Fledermaus" * Added Freifunk wizard * Added Freifunk iptables rules --- themes/fledermaus/contrib/media/cascade.css | 16 ++++++++++++---- themes/fledermaus/contrib/media/cbi.js | 12 +++++++++--- 2 files changed, 21 insertions(+), 7 deletions(-) (limited to 'themes/fledermaus/contrib') diff --git a/themes/fledermaus/contrib/media/cascade.css b/themes/fledermaus/contrib/media/cascade.css index ad1de6f46a..a7245ae60b 100644 --- a/themes/fledermaus/contrib/media/cascade.css +++ b/themes/fledermaus/contrib/media/cascade.css @@ -196,14 +196,21 @@ table th, table, td { text-align: right; } +.cbi-value { + display: table-row; +} + .cbi-value-title { + display: table-cell; line-height: 1.75em; - width: 15em; font-weight: bold; + padding: 0.25em; } .cbi-value-field { + display: table-cell; text-align: left; + padding: 0.25em; line-height: 1.75em; } @@ -219,8 +226,10 @@ table th, table, td { } .cbi-value-description { + display: inline; font-style: italic; font-size: 0.8em; + padding: 0.25em; margin-bottom: 0.5em; } @@ -229,11 +238,10 @@ table th, table, td { } .cbi-section-node { - display: block; + display: table; + padding: 0.25em; background: #f7f7f7; border: 1px solid #d7d7d7; - overflow: auto; - margn-bottom: 0%; } .cbi-section-node h3 { diff --git a/themes/fledermaus/contrib/media/cbi.js b/themes/fledermaus/contrib/media/cbi.js index f9e463bca1..a3a47aa45b 100644 --- a/themes/fledermaus/contrib/media/cbi.js +++ b/themes/fledermaus/contrib/media/cbi.js @@ -16,15 +16,21 @@ function cbi_d_update(target) { } for (var x in cbi_d[target]) { - for (var i=0; i