Several CSS fixes for quite better look
authorRoland Häder <roland@mxchange.org>
Sun, 26 Jul 2009 14:14:43 +0000 (14:14 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 26 Jul 2009 14:14:43 +0000 (14:14 +0000)
templates/de/html/copyright.tpl
templates/de/html/copyright_backlink.tpl
templates/de/html/show_timings.tpl
theme/business/css/general.css
theme/default/css/general.css
theme/desert/css/general.css

index eb0cef1..eb5c0ab 100644 (file)
@@ -1,14 +1,14 @@
 <div align="center">
-<div class="footer_box">
-<div class="footer_lines" style="float:left">
+<ul class="copyright_box">
+<li class="copyright_lines"><span class="copyright_lines">
        {!TITLE!}
        v{!FULL_VERSION!} R{!CURR_SVN_REVISION!}<br />
        {!COPY!}
-</div>
+</span></li>
 
-<div class="footer_lines" style="float:right">
+<li class="copyright_lines"><span class="copyright_lines">
        This website&#39;s engine is free software which is released under the GNU
        GPL either version 2 of the License.
-</div>
-</div>
+</span></li>
+</ul>
 </div>
index e02e396..26e3f78 100644 (file)
@@ -1,15 +1,15 @@
 <div align="center">
-<div class="footer_box">
-<div class="footer_lines" style="float:left">
+<ul class="copyright_box">
+<li class="copyright_lines"><span class="copyright_lines">
        [<a href="{!SERVER_URL!}/" title="{!TITLE!}" target="_blank" rel="external">{!TITLE!}</a>]
        v{!FULL_VERSION!} R{!CURR_SVN_REVISION!}<br />
        {!COPY!}
-</div>
+</span></li>
 
-<div class="footer_lines" style="float:right">
+<li class="copyright_lines"><span class="copyright_lines">
        This website&#39;s engine is free software which is released under the
        [<a href="http://www.gnu.org" rel="external" target="_blank"
         title="GNU is Not Unix">GNU</a>] GPL either version 2 of the License.
-</div>
-</div>
+</span></li>
+</ul>
 </div>
index 188484d..71ee3df 100644 (file)
@@ -1,11 +1,13 @@
-<div id="show_timings_block">
-       <div class="show_timings_column" style="float: left; margin-left: 2px">
+<div align="center">
+<ul class="show_timings_block">
+       <li class="show_timings_column" style="margin-left: 2px"><span class="show_timings_column">
                {--SHOW_TIMINGS_RUNTIME--}&nbsp;<span class="show_timings_data">$content[runtime]</span>&nbsp;{--SHOW_TIMINGS_SECS--}
-       </div>
-       <div class="show_timings_column" style="float: left; margin-left: 2px">
+       </span></li>
+       <li class="show_timings_column"" style="margin-left: 2px"><span class="show_timings_column">
                {--SHOW_TIMINGS_SQL_QUERIES--}&nbsp;<span class="show_timings_data">$content[numSQLs]</span>
-       </div>
-       <div class="show_timings_column" style="float:right; margin-right: 2px">
+       </span></li>
+       <li class="show_timings_column"" style="margin-right: 2px"><span class="show_timings_column">
                {--SHOW_TIMINGS_NUM_TEMPLATES--}&nbsp;<span class="show_timings_data">$content[numTemplates]</span>
-       </div>
+       </span></li>
+</ul>
 </div>
index f3a0c50..4449ba6 100644 (file)
@@ -349,20 +349,28 @@ DIV.admin_note {
        text-align: center;
 }
 
-.footer_lines {
+li.copyright_lines {
+       display:inline;
+}
+
+span.copyright_lines {
        vertical-align: bottom;
        font-size: 10px;
        width: 380px;
        vertical-align: middle;
        background-color: #FFFFFF;
-       height: 30px;
-       padding-top: 5px;
-       padding-bottom: 5px;
+       height: 26px;
+       padding-top: 7px;
+       padding-bottom: 7px;
+       display:inline-block;
 }
 
-.footer_box {
+ul.copyright_box {
        text-align: center;
        width: 760px;
+       list-style: none inside;
+       padding-left:0px;
+       margin-bottom: 5px;
 }
 
 .dashed {
@@ -671,14 +679,13 @@ DIV.admin_note {
        padding-bottom: 15px;
 }
 
-#show_timings_block {
-       float: left;
+ul.show_timings_block {
        border: solid 1px #000000;
        background-color: #EEEEFF;
        font-size: 10px;
-       vertical-align: middle;
-       width: 465px;
+       width: 475px;
        height: 20px;
+       list-style: none inside;
 }
 
 .show_timings_column {
@@ -689,7 +696,15 @@ DIV.admin_note {
        height: 14px;
 }
 
-.show_timings_data {
+span.show_timings_column {
+       display: inline-block;
+}
+
+li.show_timings_column {
+       display: inline;
+}
+
+span.show_timings_data {
        font-weight: bold;
 }
 
index d9a48f8..979f811 100644 (file)
@@ -351,19 +351,27 @@ DIV.admin_note {
        text-align: center;
 }
 
-.footer_lines {
+li.copyright_lines {
+       display:inline;
+}
+
+span.copyright_lines {
        font-size: 10px;
        width: 380px;
-       height: 30px;
+       height: 26px;
        vertical-align: middle;
        background-color: #E5EFE5;
-       padding-top: 5px;
-       padding-bottom: 5px;
+       padding-top: 7px;
+       padding-bottom: 7px;
+       display:inline-block;
 }
 
-.footer_box {
+ul.copyright_box {
        text-align: center;
-       width: 760px;
+       width: 780px;
+       list-style: none inside;
+       padding-left:0px;
+       margin-bottom: 5px;
 }
 
 .dashed {
@@ -695,14 +703,13 @@ DIV.admin_note {
        padding-bottom: 5px;
 }
 
-#show_timings_block {
-       float: left;
+ul.show_timings_block {
        border: solid 1px #AA0044;
        background-color: #ddeedd;
-       font-size: 10px;
-       vertical-align: middle;
-       width: 465px;
+       width: 475px;
        height: 20px;
+       list-style: none inside;
+       padding-left:0px;
 }
 
 .show_timings_column {
@@ -711,6 +718,15 @@ DIV.admin_note {
        width: 150px;
        border: solid 1px #009900;
        height: 14px;
+       font-size: 10px;
+}
+
+span.show_timings_column {
+       display: inline-block;
+}
+
+li.show_timings_column {
+       display: inline;
 }
 
 .show_timings_data {
index d7fccc2..0979b51 100644 (file)
@@ -323,18 +323,28 @@ DIV.admin_note {
        text-align: center;
 }
 
-.footer_lines {
+li.copyright_lines {
+       display:inline;
+}
+
+span.copyright_lines {
        vertical-align: bottom;
        font-size: 10px;
        width: 380px;
        vertical-align: middle;
        background-color: #FFFFCC;
-       height: 40px;
+       height: 26px;
+       display: inline-block;
+       padding-top: 7px;
+       padding-bottom: 7px;
 }
 
-.footer_box {
+ul.copyright_box {
        text-align: center;
        width: 760px;
+       list-style: none inside;
+       padding-left:0px;
+       margin-bottom: 5px;
 }
 
 .dashed {
@@ -665,14 +675,13 @@ DIV.admin_note {
        margin-bottom: 15px;
 }
 
-#show_timings_block {
-       float: left;
+ul.show_timings_block {
        border: solid 1px #880000;
        background-color: #DDDDAA;
        font-size: 10px;
-       vertical-align: middle;
-       width: 465px;
+       width: 475px;
        height: 20px;
+       list-style: none inside;
 }
 
 .show_timings_column {
@@ -683,7 +692,16 @@ DIV.admin_note {
        height: 14px;
 }
 
-.show_timings_data {
+span.show_timings_column {
+       display: inline-block;
+}
+
+li.show_timings_column {
+       display: inline;
+}
+
+
+span.show_timings_data {
        font-weight: bold;
 }