From: <tu...@us...> - 2014-03-02 23:15:42
|
Revision: 6594 http://sourceforge.net/p/web-erp/reponame/6594 Author: turbopt Date: 2014-03-02 23:15:39 +0000 (Sun, 02 Mar 2014) Log Message: ----------- Div swap in footer to simplify CSS for Gel and Silverwolf themes. Some other themes will see a basic position swap of the date and version info where these vertically appeared together at the far left end. Modified Paths: -------------- trunk/css/gel/default.css trunk/css/silverwolf/default.css trunk/doc/Change.log trunk/includes/footer.inc Modified: trunk/css/gel/default.css =================================================================== --- trunk/css/gel/default.css 2014-03-02 08:45:18 UTC (rev 6593) +++ trunk/css/gel/default.css 2014-03-02 23:15:39 UTC (rev 6594) @@ -523,23 +523,21 @@ padding:3px; } #FooterLogoDiv{ + background:white; + border-radius:8px; float:left; - background:white; - border-radius:8px 8px 8px 8px; - padding:3px; - margin-left:47%; /* to the center (approx) */ + padding:3px; + margin-left:44%; /* to the center (approx) */ } -#FooterLogoDiv img{ - vertical-align:middle; -} #FooterVersionDiv{ clear:both; /* below the logo */ - float:left; - margin-left:47%; /* to the center (approx) */ + text-align:center; } #FooterTimeDiv{ + display:block; float:right; - margin-top:-22px; /* go up to center */ + line-height:2.8em; /* Center the text vertically. + [vertical-align has no effect on text alone] */ } /*** END ***/ Modified: trunk/css/silverwolf/default.css =================================================================== --- trunk/css/silverwolf/default.css 2014-03-02 08:45:18 UTC (rev 6593) +++ trunk/css/silverwolf/default.css 2014-03-02 23:15:39 UTC (rev 6594) @@ -486,21 +486,19 @@ #FooterLogoDiv{ float:left; background:white; - border-radius:8px 8px 8px 8px; + border-radius:8px; padding:3px; - margin-left:47%; /* to the center (approx) */ + margin-left:44%; /* to the center (approx) */ } -#FooterLogoDiv img{ - vertical-align:middle; -} #FooterVersionDiv{ -clear:both; /* below the logo */ -float:left; -margin-left:47%; /* to the center (approx) */ + clear:both; /* below the logo */ + text-align:center; } #FooterTimeDiv{ + display:block; float:right; - margin-top:-22px; /* go up to center */ + line-height:2.8em; /* Center the text vertically. + [vertical-align has no effect on text alone] */ } /*** END ***/ Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2014-03-02 08:45:18 UTC (rev 6593) +++ trunk/doc/Change.log 2014-03-02 23:15:39 UTC (rev 6594) @@ -1,4 +1,5 @@ webERP Change Log +2/3/14 Paul T: Div swap in footer to simplify CSS for Gel and Silverwolf themes. Some other themes will see a basic position swap of the date and version info where these vertically appeared together at the far left end. 1/3/14 Paul T: Correct variable spelling error. [reported in forums by serakfalcon] 24/2/14 Exson: Make negative integer allowable in MiscFunctions.js and make negative integer inputable for PastDueDays in SystemParameters.php. 22/2/14 Exson: Fixed the wrong error messages displayed while input date data manually in MiscFunctions.js. Modified: trunk/includes/footer.inc =================================================================== --- trunk/includes/footer.inc 2014-03-02 08:45:18 UTC (rev 6593) +++ trunk/includes/footer.inc 2014-03-02 23:15:39 UTC (rev 6594) @@ -12,14 +12,14 @@ echo '<img src="'. $RootPath . '/' . $_SESSION['LogoFile'] . '" width="120" alt="webERP" title="webERP ' . _('Copyright') . ' © weberp.org - ' . date('Y') . '" />'; echo '</div>'; -echo '<div id="FooterVersionDiv">'; - echo 'webERP ' ._('version') .' ' . $_SESSION['VersionNumber'] . ' ' . _('Copyright') . ' © 2004 - ' . Date('Y'). ' <a target="_blank" href="http://www.weberp.org/weberp/doc/Manual/ManualContributors.html">weberp.org</a>'; -echo '</div>'; - echo '<div id="FooterTimeDiv">'; echo DisplayDateTime(); echo '</div>'; +echo '<div id="FooterVersionDiv">'; + echo 'webERP ' . _('version') . ' ' . $_SESSION['VersionNumber'] . ' ' . _('Copyright') . ' © 2004 - ' . Date('Y'). ' <a target="_blank" href="http://www.weberp.org/weberp/doc/Manual/ManualContributors.html">weberp.org</a>'; +echo '</div>'; + echo '</div>'; // FooterWrapDiv echo '</div>'; // FooterDiv echo '</div>'; // Canvas |