From: Vitaly S. <vsh...@so...> - 2015-03-09 19:38:49
|
Rafael, The only purpose for that div inside the form is to hold HTML tags that are not allowed in the form directly. It does not need any specific styling. It is only needed to pass XHTML validation. Vitaly On 3/8/2015 11:54 PM, Rafael Chacón wrote: > Hi, > > I created a division id. selector to tag the report block ('<div > id="Report">'). This could be used as a division id. selector for > reports to style them as What-You-See (on screen) is What-You-Get (on > printer) --e.g. look like the printed sheet of paper--. > > Also, I found a division without id. selector nor class selector (only > "<div>"). It is nested inside the form tag. The style is inherited > from other <div> before it. See "// div class=?" in GLBalanceSheet.php > and GLProfit_Loss.php code. > > Any of you use a style "form div {...}" or have a purpose for this <div> ? > > Best regards, Rafael. > > > > > ---------- Forwarded message ---------- > From: <rc...@us... <mailto:rc...@us...>> > Date: 2015-03-07 11:44 GMT-06:00 > Subject: [Web-erp-svn] SF.net SVN: web-erp:[7206] trunk > To: web...@li... > <mailto:web...@li...> > > > Revision: 7206 > http://sourceforge.net/p/web-erp/reponame/7206 > Author: rchacon > Date: 2015-03-07 17:44:35 +0000 (Sat, 07 Mar 2015) > Log Message: > ----------- > Deletes class="invoice" (it does not exist in css). Creates division > id="Report" to identify the report block. Moves full width style to > print.css (thanks Tim Schofield). > > Modified Paths: > -------------- > trunk/GLBalanceSheet.php > trunk/GLProfit_Loss.php > trunk/css/aguapop/default.css > trunk/css/default/default.css > trunk/css/fluid/default.css > trunk/css/fresh/default.css > trunk/css/gel/default.css > trunk/css/print.css > trunk/css/professional/default.css > trunk/css/professional-rtl/default.css > trunk/css/silverwolf/default.css > trunk/css/wood/default.css > trunk/css/xenos/default.css > trunk/doc/Change.log > > Modified: trunk/GLBalanceSheet.php > =================================================================== > --- trunk/GLBalanceSheet.php 2015-03-07 16:13:57 UTC (rev 7205) > +++ trunk/GLBalanceSheet.php 2015-03-07 17:44:35 UTC (rev 7206) > @@ -29,7 +29,7 @@ > . _('webERP is an "accrual" based system (not a "cash based" > system). Accrual systems include items when they are invoiced to the > customer, and when expenses are owed based on the supplier invoice > date.') . '</div>'; > > echo '<form method="post" action="' . > htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; > - echo '<div>'; > + echo '<div>';// div class=? > echo '<input type="hidden" name="FormID" value="' . > $_SESSION['FormID'] . '" />'; > echo '<table class="selection"> > <tr> > @@ -76,7 +76,8 @@ > <div class="centre"> > <input type="submit" name="PrintPDF" > value="'._('Produce PDF Report').'" /> > </div>'; > - echo '</div></form>'; > + echo '</div>';// div class=? > + echo '</form>'; > > /*Now do the posting while the user is thinking about the > period to select */ > include ('includes/GLPostings.inc'); > @@ -340,7 +341,7 @@ > } else { > include('includes/header.inc'); > echo '<form method="post" action="' . > htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; > - echo '<div>'; > + echo '<div>';// div class=? > echo '<input type="hidden" name="FormID" value="' . > $_SESSION['FormID'] . '" />'; > echo '<input type="hidden" name="BalancePeriodEnd" value="' . > $_POST['BalancePeriodEnd'] . '" />'; > > @@ -390,6 +391,7 @@ > > // Page title as IAS1 numerals 10 and 51: > include_once('includes/CurrenciesArray.php');// Array to retrieve > currency name. > + echo '<div id="Report">';// Division to identify the report block. > echo '<p class="page_title_text"><img alt="" class="noprint" > src="'.$RootPath.'/css/'.$Theme. > '/images/gl.png" title="' .// Icon image. > _('Statement of Financial Position') . '" /> ' .// > Icon title. > @@ -399,8 +401,7 @@ > _('as at') . ' ' . $BalanceDate . '<br />' .// Page > title, reporting period. > _('All amounts stated in').': '. > _($CurrencyName[$_SESSION['CompanyRecord']['currencydefault']]).'</p>';// > Page title, reporting presentation currency and level of rounding used. > > - echo '<div class="invoice"> > - <table class="selection" width="100%">'; > + echo '<table class="selection">'; > > if ($_POST['Detail']=='Detailed'){ > $TableHeader = '<tr> > @@ -706,18 +707,19 @@ > </tr>'; > /* echo '</tbody>';// See comment at the begin of the table.*/ > echo '</table>'; > - echo '</div>'; > + echo '</div>';// div id="Report". > echo '<br /> > <div class="centre noprint">'. > '<button onclick="javascript:window.print()" > type="button"><img alt="" src="'.$RootPath.'/css/'.$Theme. > '/images/printer.png" /> ' . _('Print > This') . '</button>'.// "Print This" button. > '<button name="SelectADifferentPeriod" > type="submit" value="'. _('Select A Different Period') .'"><img alt="" > src="'.$RootPath.'/css/'.$Theme. > '/images/gl.png" /> ' . _('Select A > Different Balance Date') . '</button>'.// "Select A Different Period" > button. > - '<button formaction="index.php" > type="submit"><img alt="" src="'.$RootPath.'/css/'.$Theme. > + '<button formaction="index.php?Application=GL" > type="submit"><img alt="" src="'.$RootPath.'/css/'.$Theme. > '/images/previous.png" /> ' . > _('Return') . '</button>'.// "Return" button. > '</div>'; > > - echo '</div></form>'; > + echo '</div>';// div class=? > + echo '</form>'; > } > > include('includes/footer.inc'); > > Modified: trunk/GLProfit_Loss.php > =================================================================== > --- trunk/GLProfit_Loss.php 2015-03-07 16:13:57 UTC (rev 7205) > +++ trunk/GLProfit_Loss.php 2015-03-07 17:44:35 UTC (rev 7206) > @@ -33,7 +33,7 @@ > . _('webERP is an "accrual" based system (not a "cash based" > system). Accrual systems include items when they are invoiced to the > customer, and when expenses are owed based on the supplier invoice > date.') . '</div>'; > > echo '<form method="post" action="' . > htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; > - echo '<div>'; > + echo '<div>';// div class=? > echo '<input type="hidden" name="FormID" value="' . > $_SESSION['FormID'] . '" />'; > > if (Date('m') > $_SESSION['YearEnd']){ > @@ -564,7 +564,7 @@ > > include('includes/header.inc'); > echo '<form method="post" action="' . > htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '">'; > - echo '<div>'; > + echo '<div>';// div class=? > echo '<input type="hidden" name="FormID" value="' . > $_SESSION['FormID'] . '" /> > <input type="hidden" name="FromPeriod" > value="' . $_POST['FromPeriod'] . '" /> > <input type="hidden" name="ToPeriod" value="' > . $_POST['ToPeriod'] . '" />'; > @@ -612,6 +612,7 @@ > > // Page title as IAS1 numerals 10 and 51: > include_once('includes/CurrenciesArray.php');// Array to retrieve > currency name. > + echo '<div id="Report">';// Division to identify the report block. > echo '<p class="page_title_text"><img alt="" class="noprint" > src="'.$RootPath.'/css/'.$Theme. > '/images/gl.png" title="' .// Icon image. > _('Statement of Comprehensive Income') . '" /> ' .// > Icon title. > @@ -619,13 +620,13 @@ > // _('Statement of Comprehensive Income') . '<br />' .// > Page title, reporting statement. > stripslashes($_SESSION['CompanyRecord']['coyname']) . '<br />' .// > Page title, reporting entity. > _('For') . ' ' . $NumberOfMonths . ' ' . _('months > to') . ' ' . $PeriodToDate . '<br />' .// Page title, reporting period. > -// _('From') . ' ' . $PeriodFromDate? . ' ' . _('to') . ' > ' . $PeriodToDate . '<br />' .// Page title, reporting period. ?????????? > +// _('From') . ' ' . $PeriodFromDate? . ' ' . _('to') . ' > ' . $PeriodToDate . '<br />' .// Page title, reporting period. ??? > _('All amounts stated in').': '. > _($CurrencyName[$_SESSION['CompanyRecord']['currencydefault']]).'</p>';// > Page title, reporting presentation currency and level of rounding used. > > /*show a table of the accounts info returned by the SQL > Account Code , Account Name , Month Actual, Month Budget, > Period Actual, Period Budget */ > > - echo '<table class="selection" width="100%">'; > + echo '<table class="selection">'; > > if ($_POST['Detail']=='Detailed'){ > $TableHeader = '<tr> > @@ -1303,17 +1304,18 @@ > </tr>'; > /* echo '</tbody>';// See comment at the begin of the table.*/ > echo '</table>'; > + echo '</div>';// div id="Report". > echo '<br /> > <div class="centre noprint">'. > '<button onclick="javascript:window.print()" > type="button"><img alt="" src="'.$RootPath.'/css/'.$Theme. > '/images/printer.png" /> ' . _('Print > This') . '</button>'.// "Print This" button. > '<button name="SelectADifferentPeriod" > type="submit" value="'. _('Select A Different Period') .'"><img alt="" > src="'.$RootPath.'/css/'.$Theme. > '/images/gl.png" /> ' . _('Select A > Different Period') . '</button>'.// "Select A Different Period" button. > - '<button formaction="index.php" > type="submit"><img alt="" src="'.$RootPath.'/css/'.$Theme. > + '<button formaction="index.php?Application=GL" > type="submit"><img alt="" src="'.$RootPath.'/css/'.$Theme. > '/images/previous.png" /> ' . > _('Return') . '</button>'.// "Return" button. > '</div>'; > } > -echo '</div>'; > +echo '</div>';// div class=? > echo '</form>'; > include('includes/footer.inc'); > > > Modified: trunk/css/aguapop/default.css > =================================================================== > --- trunk/css/aguapop/default.css 2015-03-07 16:13:57 UTC (rev 7205) > +++ trunk/css/aguapop/default.css 2015-03-07 17:44:35 UTC (rev 7206) > @@ -481,7 +481,12 @@ > #FooterTimeDiv{ > float:right; > margin-top:15px; > -} > +} > +#Report { > + /* Division id for reports. */} > +#Report table { > + /* Body of a report formatted with table tag. */ > +} > .centre { > text-align:center; > /* centre class (general). */ > > Modified: trunk/css/default/default.css > =================================================================== > --- trunk/css/default/default.css 2015-03-07 16:13:57 UTC (rev 7205) > +++ trunk/css/default/default.css 2015-03-07 17:44:35 UTC (rev 7206) > @@ -275,7 +275,7 @@ > /*** CANVAS ***/ > > #CanvasDiv{ > - background:#588BB6; > + background:#588BB6; > } > > /*** HEADER ***/ > @@ -344,11 +344,11 @@ > white-space:nowrap; > } > #MainMenuDiv ul{ > - margin:0; > + margin:0; > padding:0; > } > #MainMenuDiv li{ > - list-style:none; > + list-style:none; > } > > #MainMenuDiv li a{ > @@ -449,7 +449,12 @@ > float:right; > margin-top:15px; > } > +#Report { > + /* Division id for reports. */} > +#Report table { > + /* Body of a report formatted with table tag. */ > +} > .centre { > text-align:center; > /* centre class (general). */ > -} > +} > \ No newline at end of file > > Modified: trunk/css/fluid/default.css > =================================================================== > --- trunk/css/fluid/default.css 2015-03-07 16:13:57 UTC (rev 7205) > +++ trunk/css/fluid/default.css 2015-03-07 17:44:35 UTC (rev 7206) > @@ -1,5 +1,5 @@ > /* $Id: default.css 7166 2015-02-21 21:18:59Z Joshua $*/ > -/* > +/* > "Fluid Tabs" theme for webERP > > by Hindra Joshua > @@ -390,6 +390,11 @@ > } > #FooterVersionDiv{} > #FooterTimeDiv{} > +#Report { > + /* Division id for reports. */} > +#Report table { > + /* Body of a report formatted with table tag. */ > +} > .centre { > text-align:center; > /* centre class (general). */ > > Modified: trunk/css/fresh/default.css > =================================================================== > --- trunk/css/fresh/default.css 2015-03-07 16:13:57 UTC (rev 7205) > +++ trunk/css/fresh/default.css 2015-03-07 17:44:35 UTC (rev 7206) > @@ -1,5 +1,5 @@ > /* $Id$*/ > -/*** > +/*** > > New "Fresh" Theme for WebERP > > @@ -10,10 +10,10 @@ > Based from the previous theme "SilverWolf" > Credits to the original authors. > > -NOTE: > +NOTE: > This CSS is not yet optimized. Some styles maybe 'redundant' or 'unused', > but for the obvious one it will be cleaned up. > -To optimized the rest we should examined the whole codes! That would > be for > +To optimized the rest we should examined the whole codes! That would > be for > the next project. :) > > ***/ > @@ -330,14 +330,14 @@ > display:inline; /* items are inline */ > } > > -/*** links as buttons!!! clicking anywhere in the button will activate > +/*** links as buttons!!! clicking anywhere in the button will activate > the link!!! ***HJ***/ > - > + > #QuickMenuDiv li a{ > background:#B4BB86; > border:thin outset #5A5F00; > color:#5A5F00; > - padding:8px; > + padding:8px; > } > #QuickMenuDiv li a:hover{ > background:#B4BB86; > @@ -377,7 +377,7 @@ > #MainMenuDiv{ > float:left; /* REQUIRED: to the left side */ > white-space:nowrap; /* don't break text */ > - text-align:center; > + text-align:center; > width:11%; > background:#617C4F; > } > @@ -400,12 +400,12 @@ > text-decoration:none; > padding:3px; > border:thin inset #617C4F; > - background:#5A5F00; > + background:#5A5F00; > } > #MainMenuDiv .main_menu_selected a{ /* the selected button */ > - border:thin inset #5A5F00; > + border:thin inset #5A5F00; > background:#5A5F00; > - color:white; > + color:white; > } > > /*** BODY - SUB MENU ***/ > @@ -435,7 +435,7 @@ > #SubMenuDiv li{ > /*list-style:none;*/ /* REQUIRED: hide the bullets */ > padding:2px; > - background:#E0F3B1; > + background:#E0F3B1; > } > #SubMenuDiv li img{ > vertical-align:middle; /* verticall align icon with the text */ > @@ -468,7 +468,7 @@ > /* float:left;*/ > /* width:32.5%; > border:thin solid black;*/ > - > + > } > .menu_group_item p { > color: #00f; /* This is the color for bullets, I like it to be > the same as the anchor color, but it's up to you */ > @@ -480,14 +480,14 @@ > > #FooterDiv{ > clear:both; /* REQUIRED */ > - overflow:hidden; > + overflow:hidden; > background:#C9D392; > } > #FooterWrapDiv{ > overflow:hidden; > padding:3px; > } > -#FooterLogoDiv{ > +#FooterLogoDiv{ > float:right; /* right side */ > background:white; > border-radius:8px; > @@ -503,6 +503,11 @@ > #FooterTimeDiv{ > clear:left; /* below */ > } > +#Report { > + /* Division id for reports. */} > +#Report table { > + /* Body of a report formatted with table tag. */ > +} > .centre { > text-align:center; > /* centre class (general). */ > > Modified: trunk/css/gel/default.css > =================================================================== > --- trunk/css/gel/default.css 2015-03-07 16:13:57 UTC (rev 7205) > +++ trunk/css/gel/default.css 2015-03-07 17:44:35 UTC (rev 7206) > @@ -1,5 +1,5 @@ > /* $Id$*/ > -/*** > +/*** > > New "Gel" Theme for WebERP > > @@ -8,10 +8,10 @@ > Based from the previous theme "Gel" > Credits to the original authors. > > -NOTE: > +NOTE: > This CSS is not yet optimized. Some styles maybe 'redundant' or 'unused', > but for the obvious one it will be cleaned up. > -To optimized the rest we should examined the whole codes! That would > be for > +To optimized the rest we should examined the whole codes! That would > be for > the next project. :) > > ***/ > @@ -168,11 +168,11 @@ > div.error { /*** is this used??? ***/ > background-color:red; > color: white; > - font-style: italic; > + font-style: italic; > font-weight:bold; > border: 3px solid red; > } > -div.warn { > +div.warn { > background-color:#fa0; > color: black; > border: 1px solid black; > @@ -358,9 +358,9 @@ > display:inline; /* items are inline */ > } > > -/*** links as buttons!!! clicking anywhere in the button will activate > +/*** links as buttons!!! clicking anywhere in the button will activate > the link!!! ***HJ***/ > - > + > #QuickMenuDiv li a{ > padding:5px; /* links as button */ > border:2px outset transparent; /* un-pressed state */ > @@ -373,7 +373,7 @@ > border:2px inset steelblue; /* pressed state */ > text-decoration:none; /* no underline */ > color:whie; > - border-radius:15px; > + border-radius:15px; > } > > /*** BODY ***/ > @@ -400,7 +400,7 @@ > #MainMenuDiv{ > float:left; /* REQUIRED: to the left side */ > white-space:nowrap; /* don't break text */ > - text-align:center; > + text-align:center; > width:11%; > background:url(images/gelbluev.png) repeat-y blue; > background-size:contain; > @@ -408,7 +408,7 @@ > border-radius:20px; > margin-top:5px; > padding:3px; > - > + > } > #MainMenuDiv ul{ > list-style:none; /* REQUIRED: hide bullets */ > @@ -431,14 +431,14 @@ > text-decoration:none; > padding:3px; > border:2px inset steelblue; > - background:none; > + background:none; > border-radius:15px; > } > #MainMenuDiv .main_menu_selected a{ /* the selected button */ > text-decoration:none; > padding:3px; > border:2px inset steelblue; > - background:none; > + background:none; > border-radius:15px; > } > > @@ -455,7 +455,7 @@ > #SubMenuDiv ul{ > list-style-type:none; /* REQUIRED: hide bullets */ > padding:0; /* REQUIRED: remove extra gaps (ex-bullets) */ > - margin:0; > + margin:0; > border:thin solid black; > margin-left:3px; > } > @@ -495,10 +495,10 @@ > background:#bfd8ff; > } > #TransactionsDiv{ > - display:table-cell; > + display:table-cell; > } > #InquiriesDiv{ > - display:table-cell; > + display:table-cell; > } > #InquiriesDiv div{ /* default div, used for custom report header */ > background:#dddddd; > @@ -507,14 +507,14 @@ > /* border:thin outset silver;*/ > } > #MaintenanceDiv{ > - display:table-cell; > + display:table-cell; > } > > /*** FOOTER ***/ > > #FooterDiv{ > clear:both; /* REQUIRED */ > - overflow:hidden; > + overflow:hidden; > color:gray; > background:url(images/bar.png) repeat-x lightgray; > border:thin solid lightgray; > @@ -540,6 +540,11 @@ > line-height:2.8em; /* Center the text vertically. > [vertical-align has no effect on text alone] */ > } > +#Report { > + /* Division id for reports. */} > +#Report table { > + /* Body of a report formatted with table tag. */ > +} > .centre { > text-align:center; > /* centre class (general). */ > > Modified: trunk/css/print.css > =================================================================== > --- trunk/css/print.css 2015-03-07 16:13:57 UTC (rev 7205) > +++ trunk/css/print.css 2015-03-07 17:44:35 UTC (rev 7206) > @@ -100,4 +100,11 @@ > padding:0; > } > > +#Report { > + /* Division id for reports. */} > +#Report table { > + width:100%; > + /* Expands the body of the report to use the full width of the > page. */ > } > + > +} > > Modified: trunk/css/professional/default.css > =================================================================== > --- trunk/css/professional/default.css 2015-03-07 16:13:57 UTC (rev 7205) > +++ trunk/css/professional/default.css 2015-03-07 17:44:35 UTC (rev 7206) > @@ -1,5 +1,5 @@ > /* $Id$*/ > -/*** > +/*** > > New "Professional" Theme for WebERP > > @@ -10,10 +10,10 @@ > Based from the previous theme "SilverWolf" > Credits to the original authors. > > -NOTE: > +NOTE: > This CSS is not yet optimized. Some styles maybe 'redundant' or 'unused', > but for the obvious one it will be cleaned up. > -To optimized the rest we should examined the whole codes! That would > be for > +To optimized the rest we should examined the whole codes! That would > be for > the next project. :) > > ***/ > @@ -150,7 +150,7 @@ > > /* input as button or text */ > /* NOTE: input for button should have different class, one for > 'normal' and one for 'input button inside a table, > -which should have the same width as the column where it is located > +which should have the same width as the column where it is located > e.g.: class input_button, input_column_button, input_text */ > input { > } > @@ -374,9 +374,9 @@ > display:inline; /* items are inline */ > } > > -/*** links as buttons!!! clicking anywhere in the button will activate > +/*** links as buttons!!! clicking anywhere in the button will activate > the link!!! ***HJ***/ > - > + > #QuickMenuDiv li a{ > padding:3px; /* links as button */ > border:thin outset #ddd; /* un-pressed state */ > @@ -418,7 +418,7 @@ > #MainMenuDiv{ > float:left; /* REQUIRED: to the left side */ > white-space:nowrap; /* don't break text */ > - text-align:center; > + text-align:center; > width:11%; > background:#ddd; > } > @@ -441,12 +441,12 @@ > text-decoration:none; > padding:3px; > border:thin inset #ddd; > - background:#ddd; > + background:#ddd; > } > #MainMenuDiv .main_menu_selected a{ /* the selected button */ > - border:thin inset #ccc; > + border:thin inset #ccc; > background:#ccc; > - color:blue; > + color:blue; > text-decoration:none; > } > > @@ -460,7 +460,7 @@ > #SubMenuDiv ul{ > list-style-type:none; /* REQUIRED: hide bullets */ > padding:0; /* REQUIRED: remove extra gaps (ex-bullets) */ > - margin-top:0px; > + margin-top:0px; > margin-left:3px; > border:thin outset #ddd; > } > @@ -500,7 +500,7 @@ > /* float:left;*/ > /* width:32.5%; > border:thin solid black;*/ > - > + > } > .menu_group_item p { > color: #00f; /* This is the color for bullets, I like it to be > the same as the anchor color, but it's up to you */ > @@ -512,14 +512,14 @@ > > #FooterDiv{ > clear:both; /* REQUIRED */ > - overflow:hidden; > + overflow:hidden; > color:gray; > } > #FooterWrapDiv{ > overflow:hidden; > padding:3px; > } > -#FooterLogoDiv{ > +#FooterLogoDiv{ > float:right; /* right side */ > } > #FooterVersionDiv{ > @@ -528,6 +528,11 @@ > #FooterTimeDiv{ > clear:left; /* below */ > } > +#Report { > + /* Division id for reports. */} > +#Report table { > + /* Body of a report formatted with table tag. */ > +} > .centre { > text-align:center; > /* centre class (general). */ > > Modified: trunk/css/professional-rtl/default.css > =================================================================== > --- trunk/css/professional-rtl/default.css 2015-03-07 16:13:57 UTC > (rev 7205) > +++ trunk/css/professional-rtl/default.css 2015-03-07 17:44:35 UTC > (rev 7206) > @@ -1,5 +1,5 @@ > /* $Id$*/ > -/*** > +/*** > > New "Professional RTL" Theme for WebERP > For Right-To-Left Languages > @@ -11,10 +11,10 @@ > Based from the previous theme "SilverWolf" > Credits to the original authors. > > -NOTE: > +NOTE: > This CSS is not yet optimized. Some styles maybe 'redundant' or 'unused', > but for the obvious one it will be cleaned up. > -To optimized the rest we should examined the whole codes! That would > be for > +To optimized the rest we should examined the whole codes! That would > be for > the next project. :) > > ***/ > @@ -155,7 +155,7 @@ > > /* input as button or text */ > /* NOTE: input for button should have different class, one for > 'normal' and one for 'input button inside a table, > -which should have the same width as the column where it is located > +which should have the same width as the column where it is located > e.g.: class input_button, input_column_button, input_text */ > input { > font-family: Arial, Verdana, Helvetica; > @@ -394,9 +394,9 @@ > float:right; /* right to left */ > } > > -/*** links as buttons!!! clicking anywhere in the button will activate > +/*** links as buttons!!! clicking anywhere in the button will activate > the link!!! ***HJ***/ > - > + > #QuickMenuDiv li a{ > padding:3px; /* links as button */ > border:thin outset #ddd; /* un-pressed state */ > @@ -438,7 +438,7 @@ > #MainMenuDiv{ > float:right; /* REQUIRED: to the RIGHT side */ > white-space:nowrap; /* don't break text */ > - text-align:center; > + text-align:center; > width:11%; > background:#ddd; > } > @@ -461,12 +461,12 @@ > text-decoration:none; > padding:3px; > border:thin inset #ddd; > - background:#ddd; > + background:#ddd; > } > #MainMenuDiv .main_menu_selected a{ /* the selected button */ > - border:thin inset #ccc; > + border:thin inset #ccc; > background:#ccc; > - color:blue; > + color:blue; > text-decoration:none; > } > > @@ -480,7 +480,7 @@ > #SubMenuDiv ul{ > list-style-type:none; /* REQUIRED: hide bullets */ > padding:0; /* REQUIRED: remove extra gaps (ex-bullets) */ > - margin-top:0px; > + margin-top:0px; > margin-left:3px; > border:thin outset #ddd; > } > @@ -520,7 +520,7 @@ > /* float:left;*/ > /* width:32.5%; > border:thin solid black;*/ > - > + > } > .menu_group_item p { > color: #00f; /* This is the color for bullets, I like it to be > the same as the anchor color, but it's up to you */ > @@ -532,14 +532,14 @@ > > #FooterDiv{ > clear:both; /* REQUIRED */ > - overflow:hidden; > + overflow:hidden; > color:gray; > } > #FooterWrapDiv{ > overflow:hidden; > padding:3px; > } > -#FooterLogoDiv{ > +#FooterLogoDiv{ > float:left; /* right side */ > } > #FooterVersionDiv{ > @@ -548,6 +548,11 @@ > #FooterTimeDiv{ > clear:right; /* below */ > } > +#Report { > + /* Division id for reports. */} > +#Report table { > + /* Body of a report formatted with table tag. */ > +} > .centre { > text-align:center; > /* centre class (general). */ > > Modified: trunk/css/silverwolf/default.css > =================================================================== > --- trunk/css/silverwolf/default.css 2015-03-07 16:13:57 UTC (rev 7205) > +++ trunk/css/silverwolf/default.css 2015-03-07 17:44:35 UTC (rev 7206) > @@ -1,5 +1,5 @@ > /* $Id$*/ > -/*** > +/*** > > New "SilverWolf" Theme for WebERP > > @@ -11,7 +11,7 @@ > NOTE: > This CSS is not yet optimized. Some styles maybe 'redundant' or 'unused', > but for the obvious one it will be cleaned up. > -To optimized the rest we should examined the whole codes! That would > be for > +To optimized the rest we should examined the whole codes! That would > be for > the next project. :) > > ***/ > @@ -363,9 +363,9 @@ > display:inline; /* items are inline */ > } > > -/*** links as buttons!!! clicking anywhere in the button will activate > +/*** links as buttons!!! clicking anywhere in the button will activate > the link!!! ***HJ***/ > - > + > #QuickMenuDiv li a{ > padding:9px; /* links as button */ > border:thin outset lightgray; /* un-pressed state */ > @@ -394,7 +394,7 @@ > #MainMenuDiv{ > float:left; /* REQUIRED:to the left side */ > white-space:nowrap; /* don't break text */ > - text-align:center; > + text-align:center; > width:12%; > margin-top:3px; > } > @@ -501,6 +501,11 @@ > line-height:2.8em; /* Center the text vertically. > [vertical-align has no effect on text alone] */ > } > +#Report { > + /* Division id for reports. */} > +#Report table { > + /* Body of a report formatted with table tag. */ > +} > .centre { > text-align:center; > /* centre class (general). */ > > Modified: trunk/css/wood/default.css > =================================================================== > --- trunk/css/wood/default.css 2015-03-07 16:13:57 UTC (rev 7205) > +++ trunk/css/wood/default.css 2015-03-07 17:44:35 UTC (rev 7206) > @@ -571,10 +571,15 @@ > #FooterTimeDiv{ > float:right; > margin-top:17px; > +} > +#Report { > + /* Division id for reports. */} > +#Report table { > + /* Body of a report formatted with table tag. */ > +} > +.centre { > + text-align:center; > + /* centre class (general). */ > } > -.centre { > - text-align:center; > - /* centre class (general). */ > -} > > /* END */ > > Modified: trunk/css/xenos/default.css > =================================================================== > --- trunk/css/xenos/default.css 2015-03-07 16:13:57 UTC (rev 7205) > +++ trunk/css/xenos/default.css 2015-03-07 17:44:35 UTC (rev 7206) > @@ -1,12 +1,12 @@ > /* $Id: default.css 7166 2015-02-21 21:18:59Z Khwunchai $*/ > -/*** > +/*** > > Xenos Theme > by Khwunchai J. > > Xenos is a very clean and classy looking theme design for WebERP. > > -NOTE: > +NOTE: > This CSS is not yet fully optimized. Some styles maybe redundant and > not supported by some browser. > > ***/ > @@ -56,7 +56,7 @@ > width:100%; > /*border-collapse: collapse;*/ > border:thin outset #B3B3B3; > - > + > -webkit-border-radius: 4px; > -moz-border-radius: 4px; > border-radius: 4px; > @@ -173,7 +173,7 @@ > input[type='text'], input[type='tel'], input[type='password'], > input[type='email'] { > border:thin solid #C3C3C3; > padding:4px 8px; > - > + > -webkit-border-radius: 4px; > -moz-border-radius: 4px; > border-radius: 4px; > @@ -184,7 +184,7 @@ > input[type='text']:focus, input[type='tel']:focus, > input[type='password']:focus, input[type='email']:focus, > input[type='submit'], textarea:focus, select:focus, button:focus { > outline:none; > border-color:#2380CD; > - > + > -moz-box-shadow: 0px 0px 5px #55B1EA; > -webkit-box-shadow: 0px 0px 5px #55B1EA; > box-shadow: 0px 0px 5px #55B1EA; > @@ -197,7 +197,7 @@ > font-weight:bold; > color:#FFFFFF; > cursor: pointer; > - > + > -webkit-border-radius: 4px; > -moz-border-radius: 4px; > border-radius: 4px; > @@ -211,7 +211,7 @@ > textarea{ > border:thin solid #C3C3C3; > padding:4px 8px; > - > + > -webkit-border-radius: 4px; > -moz-border-radius: 4px; > border-radius: 4px; > @@ -411,9 +411,9 @@ > height:38px; > } > > -/*** links as buttons!!! clicking anywhere in the button will activate > +/*** links as buttons!!! clicking anywhere in the button will activate > the link!!! ***HJ***/ > - > + > #QuickMenuDiv li a{ > color:white; > font-weight:bold; > @@ -455,7 +455,7 @@ > width:auto; /* automatic width */ > margin:0 auto; > margin-bottom:10px; > - > + > -webkit-border-radius: 4px; > -moz-border-radius: 4px; > border-radius: 4px; > @@ -469,7 +469,7 @@ > background-color:white; > border:thin outset #D2D2D2; > padding:5px; > - > + > -webkit-border-radius: 4px; > -moz-border-radius: 4px; > border-radius: 4px; > @@ -491,7 +491,7 @@ > width:14%; > border:thin inset #5D5D5D; > background:#686868; > - > + > -webkit-border-radius: 4px; > -moz-border-radius: 4px; > border-radius: 4px; > @@ -528,7 +528,7 @@ > border-bottom:thin solid #444444; > } > #MainMenuDiv .main_menu_selected a{ /* the selected button */ > - /*border:thin inset #191919;*/ > + /*border:thin inset #191919;*/ > background:#2A2A2A; > border-bottom:thin solid #191919; > } > @@ -545,7 +545,7 @@ > border:thin outset #D2D2D2; > background-color:white; /* for custom reports */ > min-height:400px; > - > + > -webkit-border-radius: 4px; > -moz-border-radius: 4px; > border-radius: 4px; > @@ -609,7 +609,7 @@ > > #FooterDiv{ > clear:both; /* REQUIRED */ > - overflow:hidden; > + overflow:hidden; > color:#999999; > width: 98.6%; > margin: auto; > @@ -622,7 +622,7 @@ > overflow:hidden; > padding:3px; > } > -#FooterLogoDiv{ > +#FooterLogoDiv{ > float:right; /* right side */ > padding:2px; > } > @@ -636,6 +636,11 @@ > #FooterTimeDiv{ > clear:left; /* below */ > } > +#Report { > + /* Division id for reports. */} > +#Report table { > + /* Body of a report formatted with table tag. */ > +} > .centre { > text-align:center; > /* centre class (general). */ > > Modified: trunk/doc/Change.log > =================================================================== > --- trunk/doc/Change.log 2015-03-07 16:13:57 UTC (rev 7205) > +++ trunk/doc/Change.log 2015-03-07 17:44:35 UTC (rev 7206) > @@ -1,4 +1,6 @@ > webERP Change Log > + > +07/03/15 RChacon: Deletes class="invoice" (it does not exist in css). > Creates division id="Report" to identify the report block. Moves full > width style to print.css (thanks Tim Schofield). > 07/03/15 Exson: Fixed undefined index noise in ShipmentCosting.php. > 07/03/15 Exson: Fixed property ShiptCounter non defined bug in > DefineSuppTransClass.php. > 07/03/15 Exson: Fixed the undefine index OpenOrClose noise in > Shipt_Select.php. > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub > for all > things parallel software development, from weekly thought leadership > blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Web-erp-svn mailing list > Web...@li... > <mailto:Web...@li...> > https://lists.sourceforge.net/lists/listinfo/web-erp-svn > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > > > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > No virus found in this message. > Checked by AVG - www.avg.com <http://www.avg.com> > Version: 2015.0.5751 / Virus Database: 4299/9261 - Release Date: 03/09/15 > |