From 95ee7db655e0036383ff16239fe5b7178975b5c4 Mon Sep 17 00:00:00 2001 From: jan Date: Thu, 25 Oct 2007 14:17:50 +0000 Subject: [PATCH] css improvments git-svn-id: file:///home/jan/tmp/wetterstation/trunk@229 dd492736-c11a-0410-ad51-8c26713eaf7f --- .../content/module_sets/set_chart.html | 2 -- .../content/module_sets/set_full.html | 2 -- .../content/module_sets/set_report.html | 4 +-- .../content/module_sets/set_small.html | 2 -- webstuff/frontend/css/example.css | 27 ++++++++++--------- webstuff/frontend/index.php | 2 +- webstuff/frontend/php_inc/module_set.inc.php | 4 +-- 7 files changed, 19 insertions(+), 24 deletions(-) diff --git a/webstuff/frontend/content/module_sets/set_chart.html b/webstuff/frontend/content/module_sets/set_chart.html index c147621..86fb184 100644 --- a/webstuff/frontend/content/module_sets/set_chart.html +++ b/webstuff/frontend/content/module_sets/set_chart.html @@ -1,4 +1,3 @@ -

› Diagram - Ansicht ‹

Zeigt den Verlauf eines Wertes als Diagram an.

@@ -6,4 +5,3 @@
{content:addChart:only}
-
diff --git a/webstuff/frontend/content/module_sets/set_full.html b/webstuff/frontend/content/module_sets/set_full.html index 13c2d8a..faab0ee 100644 --- a/webstuff/frontend/content/module_sets/set_full.html +++ b/webstuff/frontend/content/module_sets/set_full.html @@ -1,4 +1,3 @@ -

› Detail - Ansicht ‹

Hier werden alle werte aller Sensoren ausführlich dargestellt.

@@ -15,4 +14,3 @@
{content:addModule:rain_3}
-
diff --git a/webstuff/frontend/content/module_sets/set_report.html b/webstuff/frontend/content/module_sets/set_report.html index 1fcc01b..a1c2b07 100644 --- a/webstuff/frontend/content/module_sets/set_report.html +++ b/webstuff/frontend/content/module_sets/set_report.html @@ -1,9 +1,7 @@ -

› Report - Ansicht ‹

Hier werden die ausgewählten Messwerte eines mestimmten Zeitraumes in tabellarischer Form angezeigt.

{content:addReport:standard} -
-
+ \ No newline at end of file diff --git a/webstuff/frontend/content/module_sets/set_small.html b/webstuff/frontend/content/module_sets/set_small.html index 2a05ef7..b835085 100644 --- a/webstuff/frontend/content/module_sets/set_small.html +++ b/webstuff/frontend/content/module_sets/set_small.html @@ -1,4 +1,3 @@ -

› Kurzübersicht ‹

Dies ist eine Kurzübersicht der gemessenen Werte der Wetterstation

@@ -11,4 +10,3 @@ {content:addModule:windsSmall_2} {content:addModule:regenSmall_3}
-
diff --git a/webstuff/frontend/css/example.css b/webstuff/frontend/css/example.css index 9bafc06..d0209ed 100644 --- a/webstuff/frontend/css/example.css +++ b/webstuff/frontend/css/example.css @@ -2,8 +2,10 @@ body { background: #FFFAF5; padding-bottom: 150px; font-family: serif; + text-align:center } + h2.set_head { margin-bottom: 20px; font-weight: 600; @@ -28,11 +30,8 @@ div.module { div.report { width:443px; -} - -div.report { - text-align:center; overflow:hidden; + margin: 0 auto; } div.module table tr td { @@ -85,10 +84,6 @@ div.module h4.mod_subhead { } div.module div.mod_subsec, div.report div.rpt_subsec { - border-color: #D0B080; - border-style: dotted; - border-width: 1px; - background: #FFEBBB; margin: 2px; margin-left: 10px; margin-right: 10px; @@ -98,11 +93,14 @@ div.module div.mod_subsec, div.report div.rpt_subsec { font-size: 10pt; } -div.module p.mod_description { +div.module p.mod_description, div.module div.mod_subsec, div.report div.rpt_subsec{ border-color: #D0B080; border-style: dotted; border-width: 1px; background: #FFEBBB; +} + +div.module p.mod_description { margin-left: 10px; margin-right: 10px; margin-bottom: 4px; @@ -153,15 +151,15 @@ div.module div.mod_subsec div.chart_link_div a.chart_link img.chart_link_prev { } div.back_link_div { + margin-top: 15px; + margin-left: auto; + margin-right: auto; background: #fafafa; border: 1px solid #aa8888; - position: relative; display:block; padding: 3px; - margin:5px; height:20px; width:80px; - margin-top:20px; } div.back_link_div a.back_link { @@ -212,6 +210,7 @@ div.report div.rpt_subsec table.report_table tr.report_line:hover { } div.small_set, div.set { + margin: 0 auto; border-color: #C0A070; border-style: dotted; border-width: 1px; @@ -384,7 +383,11 @@ div.small_set div.module#windsSmall_2 a.mod_small_link div.mod_footer span.mod_m } p#copyright { + margin-bottom:10px; + margin-right:10px; + padding-top: 20px; font-size:10px; color:#666666; font-weight:600; + text-align: right; } diff --git a/webstuff/frontend/index.php b/webstuff/frontend/index.php index d837791..010ec99 100644 --- a/webstuff/frontend/index.php +++ b/webstuff/frontend/index.php @@ -15,7 +15,7 @@ -

+

diff --git a/webstuff/frontend/php_inc/module_set.inc.php b/webstuff/frontend/php_inc/module_set.inc.php index b54d674..b41df2a 100644 --- a/webstuff/frontend/php_inc/module_set.inc.php +++ b/webstuff/frontend/php_inc/module_set.inc.php @@ -73,7 +73,7 @@ class ModuleSet{ } function getBackLink(){ - $buff = '
'; + $buff = ''; $buff .= '"; - $buff .= '
'; + $buff .= ''; return $buff; }