From: <dai...@us...> - 2012-07-21 05:53:15
|
Revision: 5523 http://web-erp.svn.sourceforge.net/web-erp/?rev=5523&view=rev Author: daintree Date: 2012-07-21 05:53:07 +0000 (Sat, 21 Jul 2012) Log Message: ----------- Modified Paths: -------------- trunk/css/aguapop/default.css trunk/css/aguapop/images/body_bg.png trunk/css/aguapop/images/top_bg.png trunk/css/default/default.css trunk/css/fresh/default.css trunk/css/gel/default.css trunk/css/jelly/default.css trunk/css/professional/default.css trunk/css/professional-rtl/default.css trunk/css/silverwolf/default.css trunk/doc/Change.log trunk/includes/Z_POSDataCreation.php trunk/includes/footer.inc trunk/includes/header.inc trunk/index.php Modified: trunk/css/aguapop/default.css =================================================================== --- trunk/css/aguapop/default.css 2012-07-21 03:41:52 UTC (rev 5522) +++ trunk/css/aguapop/default.css 2012-07-21 05:53:07 UTC (rev 5523) @@ -1,714 +1,692 @@ -/*--------------------------------------------------\ -| | | default.css | -|---------------------------------------------------| -| For use with: | -| Web-ERP - http://web-erp.sourceforge.net | -| by Logic Works Ltd | -|---------------------------------------------------| -| Developer: | -| Shane Barnaby | -| Steve Kaill | -| Modified by: | -| Fred Schuettler Sept.17, 2011 | -|---------------------------------------------------| -| Note: | -| Changes can be made to this CSS that will be | -| reflected throughout Web-ERP. | -| -\--------------------------------------------------*/ - -/* $Id: default.css 4218 2010-12-22 14:34:48Z tim_schofield $*/ - -body { - background: url(images/top_bg.png) top left no-repeat silver; - width: 960px; - position: absolute; - left: 0px; - top: 0px; - margin: 0px auto; - padding: 36px 0px 0px 0px;/*fred: limiting the body will keep the elements from wandering on full page views and distorting the looks. It should still work on netbooks with 1024x600 resolution.*/ - font-family: Arial, Verdana, Helvetica, sans-serif; - font-size: 9px; - - -} - -img { - border: none; -} - -/*links before selection */ -a { - font-family: Arial, Verdana, Helvetica, sans-serif; - font-size: 9px; - font-weight: bold; - text-decoration: none; - color: black; -} - -/*links on any screen when mouse is hovering over them */ -a:hover { - color: seagreen; - text-decoration: none; -} - -table { - background-color: steelblue; - margin: 0 auto; -} - -.dpTbl { - border: solid navy 1px; -} - -div.centre { - background: lightsteelblue; - max-width: 932px; - margin: 0 auto; - margin-bottom: 0px; - padding: 6px 0px 6px 0px; - text-align: center; -} - -/*table detail items default format */ -td { - font-family: Arial, Verdana, Helvetica, sans-serif; - text-align: left; -} - -td.select { - background-color: whitesmoke; -} - -table.selection { - background-color: whitesmoke; - width: 90%;/*fred: this keeps the table from growing to full size*/ - outline: 1px solid; - margin-bottom: 5px; -} - -.dpTD { - border: 0; - width: 20px; - background-color: whitesmoke; - text-align: right; - cursor: pointer; -} - -.dpDayHighlight { - border: 0; - width: 20px; - background-color: yellow; - text-align: right; - cursor: pointer; -} - -.dpTDHover { - border: 0; - width: 20px; - background-color: gainsboro; - text-align: right; - cursor: pointer; -} - -td.number { - text-align: right; -} - -.EvenTableRows { - background-color: gainsboro; -} - -.OddTableRows { - background-color: whitesmoke; -} - -th { - font-weight: normal; - background-color: skyblue; - color: white; -} - -th.number { - text-align: right; - font-weight: normal; - background-color: skyblue; - color: white; -} - -div.error { - background-color: mistyrose; - width: 98%; - margin: 5px auto; - color: red; - border: 1px solid red; -} - -div.warn { - background-color: pink; - width: 98%; - margin: 5px auto; - color: maroon; - border: 1px solid maroon; -} - -div.success { - background-color: aquamarine; - width: 98%; - margin: 5px auto; - color: green; - border: 1px solid green; -} - -div.info { - background-color: lightskyblue; - width: 98%; - margin: 5px auto; - color:navy; - border: 1px solid navy; -} - -input { /*specifies the input field text characteristics*/ - font-family: Arial, Verdana, Helvetica, sans-serif; - font-size: 9px; - font-style: italic; -} - -input.number{ - text-align: right; -} - -input.image { - border-width: 0px; - background-color: transparent; -} - -input:hover{ -} - -select { - font-family: Arial, Verdana, Helvetica, sans-serif; - font-size: 11px; -} - -p.good { - font-weight: bold; - color: green; -} - -p.bad { - font-weight: bold; - color:red; -} - -#topMenu { - width: 100%; - color: black; - background-color: whitesmoke; - border: none; - border-bottom: 1px solid gray; -} - -#trim { - background: gainsboro; -} - -#page { - width: 100%; - color: black; - font-size: 10px; - white-space: nowrap; - border: 0px; -} - -#menuImg { - vertical-align: top; - text-align: center; - margin: 0px; - padding: 10px; -} - -#mainMenu { - width: 100%; - color: white; - background-color: whitesmoke; - border: none; - margin: 0px; - padding: 0px; -} - -.header { - background-image: url(""); - background-repeat: no-repeat; - background-attachment: fixed; - border: none; - margin: 0px; - padding: 0px; -} - -.login { - background-color: white; - border: none; -} - -textarea { - font-family: Arial, Verdana, Helvetica, sans-serif; - font-size: 10px; -} - -textarea:hover { -} -/* Table type is used for UI tables type 1 */ -.table1 { - width:90%; - background: whitesmoke; - border: 1px solid darkslategray; - margin: 0 auto; -} - -input.address3 { - text-transform: uppercase; -} - -div.csv { - background: silver; - color: black; - border: 1px solid black; - padding-left: 3px; - z-index: 1; - width: 50%; - float: none; - visibility: visible; - margin: 0 auto; - position: static; - font-family: Arial, Verdana, Helvetica, sans-serif; - padding-top: 1px; - padding-bottom: 1px; - font-weight: normal; - font-size: 10px; - text-align: center; -} - -.callout_main { - font-family: Arial, Verdana, Helvetica, sans-serif; - background: url(images/body_bg.png)left silver; - width: 960px; - margin: 0 auto; - padding: 0px; -} - -.main_page { - background: lightsteelblue; - border: none; - width: 932px; - margin: 0 auto; - padding: 0px; - font-size: 10px; -} - -/* Main page heading with quick menu within */ -.quick_menu { - width: 100%; - background: transparent; - margin-top: -20px; - border: 0px; - padding: 0 0 0 6px; -} - -#quick_menu{ -} - -/*The main page heading left part before quick menu */ -.quick_menu_left { - font-family: Arial, Verdana, Helvetica, sans-serif; - font-size: 9px; - color: white; - white-space: nowrap; - border: 0px; - margin: 0px; - padding: 5px; - padding-bottom: 1px; - text-align: left; - vertical-align: bottom; -} - -/*the Select Customer / Item / Supplier Menu tabs */ -.quick_menu_tabs { - background-color: transparent; - white-space: nowrap; - border: 0px; - margin: 0px; - padding-right: 4px; - padding-bottom: 1px; - vertical-align: bottom; -} - -.quick_menu_tab{/*borders will work here*/ - background: url(images/tab_bg.png) top left no-repeat steelblue; - white-space: nowrap; - padding: 6px; - padding-top: 4px; - padding-bottom: 0px; -} - -.quick_menu_tab a{ - color: white; - font-size: 12px; - text-decoration: none; -} - -.quick_menu_left a{ - color: white; -} - -.quick_menu_tab a:hover{ - color: lightsteelblue; - text-decoration: none; - font-weight: bold; -} - -.quick_menu_left a:hover{ - color: lightsteelblue; - text-decoration: none; -} - -.quick_menu_tab:hover{ - color: red; -} -/*the Select Customer / Item / Supplier Menu tabs */ -.system_menu_tabs { - background-color: white; - white-space: nowrap; - border: none; - margin:0 6px 0 6px; - padding: 0px; - text-align: center; -} - -.system_menu_tabs a { - font-size: 10px; - color: black; -} - -.system_menu_tabs a:hover { - font-size: 10px; - color: black; -} - -.main_area { - width: 100%; - background-color: white; -} - -.main_menu { - background-color: white; - margin: 2px 0 0 6px; - font-weight: normal; - width: 110px; -} - -.main_menu table { - border-top: 0px; - width: 100%; - margin: 2px; -} - -.main_menu_unselected { - background-color: steelblue; - padding: 2px; - border-bottom: 2px; - font-weight: normal; - position: relative; - top: 0px; - text-align: left; - white-space: nowrap; - -} - -.main_menu_unselected:hover{ -} -.main_menu_selected:hover{ -} - -.main_menu_unselected a{ -} - -.main_menu_unselected a:hover{ -} - -.main_menu_selected { - background: url(images/tab_bg.png)right no-repeat steelblue; - padding: 3px; - padding-right: 0px; - font-weight: normal; - position: relative; - text-align: right; - white-space: nowrap; -} - -.main_menu_selected a{ - -} - -.main_menu_selected a:hover{ - -} - -span.main_menu_nolink { - font-family: Arial, Verdana, Helvetica, sans-serif; - font-size: 10px; - font-weight: bold; - color: gray; - text-decoration: none; - white-space: nowrap; -} - -.main_menu a { - color: white; - font-weight: bold; - font-size: 11px; - text-decoration: none; - white-space: nowrap; -} - -.main_menu a:hover { - color: lightsteelblue; -} - -.menu_group_img { - background-color: gainsboro; - text-align: center; - width: 90px; - position: relative; - left: 3px; -} - -.menu_group_img img{ - position: relative; - top: 10px; -} - -.menu_group_area { - font-family: Arial, Verdana, Helvetica, sans-serif; - font-size: 11px; - font-weight: bold; - border-top: 0px; - margin-top: 0px; - padding-top: 0px; /*this creates the border*/ - color: seagreen; -} - -.blank_area table { - border: 0px; - width: 100%; -} - -.menu_group_headers { - border: 2px outset lightsteelblue; - width: 25%; - margin-top: 0px; -} - -.menu_group_headers table{ - } - -.menu_group_headers_text { - font-family: Arial, Verdana, Helvetica, sans-serif; - font-size: 12px; - font-weight: bold; - color: white; -} - -.menu_group_items { - vertical-align: top; - background-color: white; - font-weight: bold; - padding: 15px; - border: 1px inset steelblue; -} - -.menu_group_item { - background-color: white; - padding-top: 2px; - padding-bottom: 2px; -} - -.menu_group_item p { - color: steelblue; /* This is the color for bullets, I like it to be the same as the anchor color, but it's up to you */ - text-indent: -12px; /* this makes the bullet to appear as the li tag previously used */ - margin: 0 0 0 12px; /* One thing that I didn´t like of the li was that it had no left margin applied */ -} - -.page_title_text { - font-family: Arial, Verdana, Helvetica, sans-serif; - width: 90%; - margin: 0 auto; - padding: 2px; - font-weight: bold; - font-size: 10px; - color: black; - text-align:center; -} - -DIV.page_help_text { - background: lightgrey url(images/help.png) top left no-repeat; - border: maroon 1px solid; - padding-top:2px; - padding-bottom: 2px; - padding-left: 10px; - z-index: 1; - width: 80%; - float: none; - visibility: visible; - margin: 0 auto; - position: static; - font-family: Arial, Verdana, Helvetica, sans-serif; - font-weight: normal; - font-size: 10px; - color: black; - text-align:center; -} - -DIV.system_check { - border: 1px solid maroon; - padding-left: 3px; - z-index: 1; - width: 40%; - float: none; - visibility: visible; - margin: 0 auto; - position: static; - background: silver; - font-family: Arial, Verdana, Helvetica, sans-serif; - padding-top: 1px; - padding-bottom: 1px; - font-weight: normal; - font-size: 10px; - color: black; - text-align:left; -} - -span.menu_group_nolink { - font-family: Arial, Verdana, Helvetica, sans-serif; - font-size: 10px; - font-weight: normal; - color: gray; - text-decoration: none; -} - -.menu_group_item a { - font-size: 11px; - font-weight: normal; -} - -.menu_group_items a:hover { - color: navy; - text-decoration: underline; -} - -#footer { - background: url(images/footer.png) bottom no-repeat; - width: 960px; - margin-left: 0px; - padding-bottom: 13px; -} - -a.footer { - font-family: Arial, Verdana, Helvetica, sans-serif; - color: black; - font-weight: normal; - font-size: 8px; -} - -.footer { - font-family: Arial, Verdana, Helvetica, sans-serif; - color: gainsboro; - font-weight: normal; - font-size: 9px; - text-align: center; -} - -.legal { - font-family: Arial, Verdana, Helvetica, sans-serif; - font-size: 9px; - color: dimgray; -} - -.box1 { - border-color: gainsboro dimgray dimgray gainsboro; - border-width: medium; - border-style: ridge; -} - -.promo { - font-family: Arial, Verdana, Helvetica, sans-serif; - color: red; -} - -.titlebar { - font-family: Arial, Verdana, Helvetica, sans-serif; - font-size: 9px; - color: white; - background-color: silver; -} - -.dingbat { - font-family: Arial, Verdana, Helvetica, sans-serif; - background-color: darkseagreen; - color: seagreen; - font-weight: bolder; - font-size: medium; -} - -input.big { - width: 100px; -} - -input.small { - width: 50px; -} - -input.inputerror { - background-color: mistyrose; -} - -textarea.texterror { - background-color: mistyrose; -} - -select.selecterror { - background-color: mistyrose; -} - -.tableheader { - font-weight: normal; - background-color: skyblue; - color: white; -} - -.notavailable { - font-weight: lighter; - font-style: italic; - color: gray; -} - -.label { - font-weight: bold; - font-style: normal; - font-size: 11px; - color: black; - background-color: gainsboro; -} - -.OsRow { - background-color: midnightblue; - color: white; -} - -.table_index { - background-color: aliceblue; -} - -li { - list-style-image: url(bullet.gif); -} +/*** hj aquapop new ***/ +body { + background: silver; +} +#CanvasDiv { + background: none; + font-family: Arial, Verdana, Helvetica, sans-serif; + font-size: 9px; + margin-left: auto; + margin-right: auto; + width: 960px; +} +/*** HEADER ************************************************************/ +#HeaderDiv { + background: url(images/top_bg.png) top no-repeat silver; +} +.HeaderTbl { + padding-top:12px; + width:99%; +} +/*** BODY **************************************************************/ +#BodyDiv { + background:url("images/body_bg.png") repeat-y scroll center center silver; + text-align:center; +} + +.BodyTbl { + background:none repeat scroll 0 0 steelblue; + width:932px; +} +/*** eof BodyDiv *** + +/*** FOOTER ************************************************************/ +#FooterDiv { + background: url(images/footer.png) bottom no-repeat silver; + padding-top: 10px; + padding-bottom: 18px; +} + +.FooterTbl { + width:838px; +} +/************************************************************************/ + +img { + border: none; + vertical-align:middle; +} + +/*links before selection */ +a { + font-family: Arial, Verdana, Helvetica, sans-serif; + font-size: 9px; + font-weight: bold; + text-decoration: none; + color: black; +} + +/*links on any screen when mouse is hovering over them */ +a:hover { + color: seagreen; + text-decoration: none; +} + +table { + background-color: none; + margin: 0 auto; + width:90% +} + +.dpTbl { + border: solid navy 1px; +} + +div.centre { + /*padding-bottom:10px;*/ + text-align:center; +} + +/*table detail items default format */ +td { + font-family: Arial, Verdana, Helvetica, sans-serif; + text-align: left; +} + +td.select { + background-color: whitesmoke; + padding:3px; +} + +table.selection { + background:none repeat scroll 0 0 lightsteelblue; + border:2px outset steelblue; + padding:0; + width:90%; +} + +.dpTD { + border: 0; + width: 20px; + background-color: whitesmoke; + text-align: right; + cursor: pointer; +} + +.dpDayHighlight { + border: 0; + width: 20px; + background-color: yellow; + text-align: right; + cursor: pointer; +} + +.dpTDHover { + border: 0; + width: 20px; + background-color: gainsboro; + text-align: right; + cursor: pointer; +} + +td.number { + text-align: right; +} + +.EvenTableRows { + background-color: gainsboro; +} + +.OddTableRows { + background-color: whitesmoke; +} + +th { + background-color:skyblue; + color:black; + font-weight:normal; + padding:3px; +} + +th.number { + text-align: right; + font-weight: normal; + background-color: skyblue; + color: white; +} + +div.error { + background-color: mistyrose; + width: 98%; + margin: 5px auto; + color: red; + border: 1px solid red; +} + +div.warn { + background-color: pink; + width: 98%; + margin: 5px auto; + color: maroon; + border: 1px solid maroon; +} + +div.success { + background-color: aquamarine; + width: 98%; + margin: 5px auto; + color: green; + border: 1px solid green; +} + +div.info { + background-color: lightskyblue; + width: 98%; + margin: 5px auto; + color:navy; + border: 1px solid navy; +} + +input { /*specifies the input field text characteristics*/ + font-family: Arial, Verdana, Helvetica, sans-serif; + font-size: 9px; + font-style: italic; +} + +input.number{ + text-align: right; +} + +input.image { + border-width: 0px; + background-color: transparent; +} + +input:hover{ +} + +select { + font-family: Arial, Verdana, Helvetica, sans-serif; + font-size: 11px; +} + +p.good { + font-weight: bold; + color: green; +} + +p.bad { + font-weight: bold; + color:red; +} + +#topMenu { + width: 100%; + color: black; + background-color: whitesmoke; + border: none; + border-bottom: 1px solid gray; +} + +#trim { + background: gainsboro; +} + +#page { + width: 100%; + color: black; + font-size: 10px; + white-space: nowrap; + border: 0px; +} + +#menuImg { + vertical-align: top; + text-align: center; + margin: 0px; + padding: 10px; +} + +#mainMenu { + width: 100%; + color: white; + background-color: whitesmoke; + border: none; + margin: 0px; + padding: 0px; +} + +.header { + background-image: url(""); + background-repeat: no-repeat; + background-attachment: fixed; + border: none; + margin: 0px; + padding: 0px; +} + +.login { + background-color: white; + border: none; +} + +textarea { + font-family: Arial, Verdana, Helvetica, sans-serif; + font-size: 10px; +} + +textarea:hover { +} +/* Table type is used for UI tables type 1 */ +.table1 { + width:90%; + background: whitesmoke; + border: 1px solid darkslategray; + margin: 0 auto; +} + +input.address3 { + text-transform: uppercase; +} + +div.csv { + background: silver; + color: black; + border: 1px solid black; + padding-left: 3px; + z-index: 1; + width: 50%; + float: none; + visibility: visible; + margin: 0 auto; + position: static; + font-family: Arial, Verdana, Helvetica, sans-serif; + padding-top: 1px; + padding-bottom: 1px; + font-weight: normal; + font-size: 10px; + text-align: center; +} + +.callout_main { +} + +.main_page { + background: lightsteelblue; + border: none; + width: 932px; + margin: 0 auto; + padding: 0px; + font-size: 10px; +} + +/* Main page heading with quick menu within */ +.quick_menu { + width:930px; +} + +#quick_menu{ +} + +/*The main page heading left part before quick menu */ +.quick_menu_left { + color: white; + white-space: nowrap; +} + +/*the Select Customer / Item / Supplier Menu tabs */ +.quick_menu_tabs { + white-space: nowrap; + vertical-align: bottom; +} + +.quick_menu_tab{/*borders will work here*/ + background: url(images/tab_bg.png) top left no-repeat steelblue; + white-space: nowrap; + padding: 6px; + padding-top: 4px; + padding-bottom: 0px; +} + +.quick_menu_tab a{ + color: white; + font-size: 12px; + text-decoration: none; +} + +.quick_menu_left a{ + color: white; +} + +.quick_menu_tab a:hover{ + color: lightsteelblue; + text-decoration: none; + font-weight: bold; +} + +.quick_menu_left a:hover{ + color: lightsteelblue; + text-decoration: none; +} + +.quick_menu_tab:hover{ + color: red; +} +/*the Select Customer / Item / Supplier Menu tabs */ +.system_menu_tabs { + background-color: white; + white-space: nowrap; + border: none; + margin:0 6px 0 6px; + padding: 0px; + text-align: center; +} + +.system_menu_tabs a { + font-size: 10px; + color: black; +} + +.system_menu_tabs a:hover { + font-size: 10px; + color: black; +} + +.main_area { + width: 100%; + background-color: white; +} + +.main_menu { + background-color: white; + margin: 2px 0 0 6px; + font-weight: normal; + width: 110px; +} + +.main_menu table { + border-top: 0px; + width: 100%; + margin: 2px; +} + +.main_menu_unselected { + background-color: steelblue; + padding: 2px; + border-bottom: 2px; + font-weight: normal; + position: relative; + top: 0px; + text-align: left; + white-space: nowrap; + +} + +.main_menu_unselected:hover{ +} +.main_menu_selected:hover{ +} + +.main_menu_unselected a{ +} + +.main_menu_unselected a:hover{ +} + +.main_menu_selected { + background: url(images/tab_bg.png)right no-repeat steelblue; + padding: 3px; + padding-right: 0px; + font-weight: normal; + position: relative; + text-align: right; + white-space: nowrap; +} + +.main_menu_selected a{ + +} + +.main_menu_selected a:hover{ + +} + +span.main_menu_nolink { + font-family: Arial, Verdana, Helvetica, sans-serif; + font-size: 10px; + font-weight: bold; + color: gray; + text-decoration: none; + white-space: nowrap; +} + +.main_menu a { + color: white; + font-weight: bold; + font-size: 11px; + text-decoration: none; + white-space: nowrap; +} + +.main_menu a:hover { + color: lightsteelblue; +} + +.menu_group_img { + background-color: gainsboro; + text-align: center; + width: 90px; + position: relative; + left: 3px; +} + +.menu_group_img img{ + position: relative; + top: 10px; +} + +.menu_group_area { + font-family: Arial, Verdana, Helvetica, sans-serif; + font-size: 11px; + font-weight: bold; + border-top: 0px; + margin-top: 0px; + padding-top: 0px; /*this creates the border*/ + color: seagreen; +} + +.blank_area table { + border: 0px; + width: 100%; +} + +.menu_group_headers { + background:lightsteelblue; +} + +.menu_group_headers table{ + } + +.menu_group_headers_text { + font-family: Arial, Verdana, Helvetica, sans-serif; + font-size: 12px; + font-weight: bold; + color: white; +} + +.menu_group_items { + vertical-align: top; + background-color: white; + font-weight: bold; + padding: 15px; + border: 1px inset steelblue; +} + +.menu_group_item { + background-color: white; + padding-top: 2px; + padding-bottom: 2px; +} + +.menu_group_item p { + color: steelblue; /* This is the color for bullets, I like it to be the same as the anchor color, but it's up to you */ + text-indent: -12px; /* this makes the bullet to appear as the li tag previously used */ + margin: 0 0 0 12px; +} + +.page_title_text { + font-weight:bold; + margin-top:0; + padding-bottom:5px; + padding-top:5px; +} + +DIV.page_help_text { + background: lightgrey url(images/help.png) top left no-repeat; + border: maroon 1px solid; + padding-top:2px; + padding-bottom: 2px; + padding-left: 10px; + z-index: 1; + width: 80%; + float: none; + visibility: visible; + margin: 0 auto; + position: static; + font-family: Arial, Verdana, Helvetica, sans-serif; + font-weight: normal; + font-size: 10px; + color: black; + text-align:center; +} + +DIV.system_check { + border: 1px solid maroon; + padding-left: 3px; + z-index: 1; + width: 40%; + float: none; + visibility: visible; + margin: 0 auto; + position: static; + background: silver; + font-family: Arial, Verdana, Helvetica, sans-serif; + padding-top: 1px; + padding-bottom: 1px; + font-weight: normal; + font-size: 10px; + color: black; + text-align:left; +} + +span.menu_group_nolink { + font-family: Arial, Verdana, Helvetica, sans-serif; + font-size: 10px; + font-weight: normal; + color: gray; + text-decoration: none; +} + +.menu_group_item a { + font-size: 11px; + font-weight: normal; +} + +.menu_group_items a:hover { + color: navy; + text-decoration: underline; +} + +#footer { + +} + +a.footer { + font-family: Arial, Verdana, Helvetica, sans-serif; + color: black; + font-weight: normal; + font-size: 8px; +} + +.footer { + font-family: Arial, Verdana, Helvetica, sans-serif; + color: gainsboro; + font-weight: normal; + font-size: 9px; + text-align: center; +} + +.legal { + font-family: Arial, Verdana, Helvetica, sans-serif; + font-size: 9px; + color: dimgray; +} + +.box1 { + border-color: gainsboro dimgray dimgray gainsboro; + border-width: medium; + border-style: ridge; +} + +.promo { + font-family: Arial, Verdana, Helvetica, sans-serif; + color: red; +} + +.titlebar { + font-family: Arial, Verdana, Helvetica, sans-serif; + font-size: 9px; + color: white; + background-color: silver; +} + +.dingbat { + font-family: Arial, Verdana, Helvetica, sans-serif; + background-color: darkseagreen; + color: seagreen; + font-weight: bolder; + font-size: medium; +} + +input.big { + width: 100px; +} + +input.small { + width: 50px; +} + +input.inputerror { + background-color: mistyrose; +} + +textarea.texterror { + background-color: mistyrose; +} + +select.selecterror { + background-color: mistyrose; +} + +.tableheader { + font-weight: normal; + background-color: skyblue; + color: white; +} + +.notavailable { + font-weight: lighter; + font-style: italic; + color: gray; +} + +.label { + font-weight: bold; + font-style: normal; + font-size: 11px; + color: black; + background-color: gainsboro; +} + +.OsRow { + background-color: midnightblue; + color: white; +} + +.table_index { + background-color: aliceblue; +} + +li { + list-style-image: url(bullet.gif); +} Modified: trunk/css/aguapop/images/body_bg.png =================================================================== (Binary files differ) Modified: trunk/css/aguapop/images/top_bg.png =================================================================== (Binary files differ) Modified: trunk/css/default/default.css =================================================================== --- trunk/css/default/default.css 2012-07-21 03:41:52 UTC (rev 5522) +++ trunk/css/default/default.css 2012-07-21 05:53:07 UTC (rev 5523) @@ -41,6 +41,7 @@ table { background-color: #587BA6; margin: 0 auto; + width: 100%; } .dpTbl { Modified: trunk/css/fresh/default.css =================================================================== --- trunk/css/fresh/default.css 2012-07-21 03:41:52 UTC (rev 5522) +++ trunk/css/fresh/default.css 2012-07-21 05:53:07 UTC (rev 5523) @@ -49,6 +49,7 @@ table { background-color: #ffffff; margin: 0 auto; + width: 95%; } .dpTbl { Modified: trunk/css/gel/default.css =================================================================== --- trunk/css/gel/default.css 2012-07-21 03:41:52 UTC (rev 5522) +++ trunk/css/gel/default.css 2012-07-21 05:53:07 UTC (rev 5523) @@ -70,6 +70,7 @@ border: 0px 0px 2px 2px #222 solid; background: #eee; margin: 0 auto; + width: 95%; } .dpTbl { Modified: trunk/css/jelly/default.css =================================================================== --- trunk/css/jelly/default.css 2012-07-21 03:41:52 UTC (rev 5522) +++ trunk/css/jelly/default.css 2012-07-21 05:53:07 UTC (rev 5523) @@ -52,6 +52,7 @@ background: #eee; border: 0px 0px 2px 2px #222 solid; margin: 0 auto; + width: 95%; } .dpTbl { Modified: trunk/css/professional/default.css =================================================================== --- trunk/css/professional/default.css 2012-07-21 03:41:52 UTC (rev 5522) +++ trunk/css/professional/default.css 2012-07-21 05:53:07 UTC (rev 5523) @@ -49,6 +49,7 @@ table { background-color: #EEEEFF; margin: 0 auto; + width: 95%; } .dpTbl { Modified: trunk/css/professional-rtl/default.css =================================================================== --- trunk/css/professional-rtl/default.css 2012-07-21 03:41:52 UTC (rev 5522) +++ trunk/css/professional-rtl/default.css 2012-07-21 05:53:07 UTC (rev 5523) @@ -51,6 +51,7 @@ table { background-color: #EEEEFF; margin: 0 auto; + width: 95%; } .dpTbl { Modified: trunk/css/silverwolf/default.css =================================================================== --- trunk/css/silverwolf/default.css 2012-07-21 03:41:52 UTC (rev 5522) +++ trunk/css/silverwolf/default.css 2012-07-21 05:53:07 UTC (rev 5523) @@ -55,7 +55,7 @@ table { background-color: #fff; - margin: 0 auto; + width: 100%; } th { Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-07-21 03:41:52 UTC (rev 5522) +++ trunk/doc/Change.log 2012-07-21 05:53:07 UTC (rev 5523) @@ -1,4 +1,8 @@ webERP Change Log + +21/7/2012 Hindra: Fix Aguapop theme and table and div nesting of index.php header.inc and footer.inc - and other themes table style width: 95%; +21/7/2012 Phil: Fix api function for POS prices includes/Z_POSDataCreation.php +21/7/2012 Ricard: sorting products by discontinued then stockid to ensure obsolete items at the end of the list 20/7/2012 Tim: Added scripts to inquire on and to print General Ledger Journals 20/7/2012 Exson: Fixed that delete or editing new serial items will lead to hyper-link changed as select credit items instead of back to credit invoice in scripts InputSerialItemsKeyed.php. Report by UK-Steven from webERP Chinese Community QQ group 15/7/12 Gilberto Dos Santos Alves: updated pt_BR.utf8 translation Modified: trunk/includes/Z_POSDataCreation.php =================================================================== --- trunk/includes/Z_POSDataCreation.php 2012-07-21 03:41:52 UTC (rev 5522) +++ trunk/includes/Z_POSDataCreation.php 2012-07-21 05:53:07 UTC (rev 5523) @@ -1,7 +1,7 @@ <?php function Create_POS_Data_Full ($POSDebtorNo, $POSBranchCode, $PathPrefix, $db) { - + set_time_limit(1800); ini_set('max_execution_time',1800); @@ -21,12 +21,12 @@ } $CurrCode = $CustomerRow['currcode']; $SalesType = $CustomerRow['salestype']; - - + + $FileHandle = fopen($PathPrefix . $ReportDir . '/POS.sql','w'); if ($FileHandle == false){ - return 'cant open file ' . $PathPrefix . $ReportDir . '/POS.sql'; + return 'Cannot open file ' . $PathPrefix . $ReportDir . '/POS.sql'; } fwrite($FileHandle,"DELETE FROM currencies;\n"); @@ -110,7 +110,6 @@ fwrite($FileHandle,"DELETE FROM taxauthrates;\n"); $result = DB_query("SELECT taxauthority, dispatchtaxprovince, taxcatid, taxrate FROM taxauthrates",$db); while ($myrow = DB_fetch_array($result)) { - fwrite($FileHandle,"INSERT INTO taxauthrates VALUES ('" . $myrow['taxauthority'] . "', '" . $myrow['dispatchtaxprovince'] . "', '" . $myrow['taxcatid'] . "', '" . $myrow['taxrate'] . "');\n"); } @@ -119,9 +118,9 @@ while ($myrow = DB_fetch_array($result)) { fwrite($FileHandle,"INSERT INTO stockmaster VALUES ('" . SQLite_Escape ($myrow['stockid']) . "', '" . SQLite_Escape ($myrow['categoryid']) . "', '" . SQLite_Escape ($myrow['description']) . "', '" . SQLite_Escape (str_replace("\n", '', $myrow['longdescription'])) . "', '" . SQLite_Escape ($myrow['units']) . "', '" . SQLite_Escape ($myrow['barcode']) . "', '" . $myrow['taxcatid'] . "', '" . $myrow['decimalplaces'] . "');\n"); - + fwrite($FileHandle,"DELETE FROM prices WHERE stockid='" . $myrow['stockid'] . "';\n"); - + $Price = GetPriceQuick ($myrow['stockid'], $POSDebtorNo, $POSBranchCode, $DefaultPriceList, $db); if ($Price!=0) { fwrite($FileHandle,"INSERT INTO prices (stockid, currabrev, typeabbrev, price) VALUES('" . $myrow['stockid'] . "', '" . $CurrCode . "', '" . $SalesType . "', '" . $Price . "');\n"); @@ -170,12 +169,12 @@ } function Delete_POS_Data($PathPrefix, $db){ - + $result = DB_query("SELECT confvalue FROM config WHERE confname='reports_dir'",$db); $ReportDirRow = DB_fetch_row($result); $ReportDir = $ReportDirRow[0]; - - + + $Success = true; if (file_exists($PathPrefix . $ReportDir . '/POS.sql.zip')){ $Success = unlink($PathPrefix . $ReportDir . '/POS.sql.zip'); @@ -200,8 +199,8 @@ AND prices.stockid = '" . $StockID . "' AND (prices.debtorno=debtorsmaster.debtorno OR prices.debtorno='') AND (prices.branchcode='" . $BranchCode . "' OR prices.branchcode='') - AND prices.startdate <='" . Date('Y-m-d') . "' - AND (prices.enddate >='" . Date('Y-m-d') . "' OR prices.enddate='0000-00-00')"; + AND prices.startdate <='" . Date('Y-m-d:23.59') . "' + AND (prices.enddate >='" . Date('Y-m-d:23.59') . "' OR prices.enddate='0000-00-00')"; $ErrMsg = _('There is a problem in retrieving the pricing information for part') . ' ' . $StockID . ' ' . _('and for Customer') . ' ' . $DebtorNo . ' ' . _('the error message returned by the SQL server was'); $result = DB_query($sql, $db,$ErrMsg); @@ -217,21 +216,21 @@ $Prices[$i]['BranchCode'] = $myrow['branchcode']; $Prices[$i]['EndDate'] = $myrow['enddate']; if ($myrow['debtorno']==$DebtorNo AND $myrow['branchcode']==$BranchCode AND $myrow['enddate']!='0000-00-00') { - $Rank[$i] = 1; + $RankArray[$i] = 1; } elseif ($myrow['debtorno']==$DebtorNo AND $myrow['branchcode']==$BranchCode) { - $Rank[$i] = 2; + $RankArray[$i] = 2; } elseif ($myrow['debtorno']==$DebtorNo AND $myrow['branchcode']=='' AND $myrow['enddate']!='0000-00-00'){ - $Rank[$i] = 3; + $RankArray[$i] = 3; } elseif ($myrow['debtorno']==$DebtorNo AND $myrow['branchcode']=='' ){ - $Rank[$i] = 4; + $RankArray[$i] = 4; } elseif ($myrow['debtorno']=='' AND $myrow['branchcode']=='' AND $myrow['typeabbrev']!=$DefaultPriceList AND $myrow['enddate']!='0000-00-00'){ - $Rank[$i] = 5; + $RankArray[$i] = 5; } elseif ($myrow['debtorno']=='' AND $myrow['branchcode']=='' AND $myrow['typeabbrev']!=$DefaultPriceList){ - $Rank[$i] = 6; + $RankArray[$i] = 6; } elseif ($myrow['debtorno']=='' AND $myrow['branchcode']=='' AND $myrow['enddate']!='0000-00-00'){ - $Rank[$i] = 7; + $RankArray[$i] = 7; } elseif ($myrow['debtorno']=='' AND $myrow['branchcode']==''){ - $Rank[$i] = 8; + $RankArray[$i] = 8; } $i++; } Modified: trunk/includes/footer.inc =================================================================== --- trunk/includes/footer.inc 2012-07-21 03:41:52 UTC (rev 5522) +++ trunk/includes/footer.inc 2012-07-21 05:53:07 UTC (rev 5523) @@ -1,9 +1,10 @@ <?php /* $Id$*/ +echo '</div>'; //end of BODY div +echo '<div id="FooterDiv">'; //start of FOOTER div -echo '<table width="100%" id="footer">'; - +echo '<table class="FooterTbl">'; echo '<tr>'; echo '<td style="width:33%"></td><td class="footer">'; echo '<img src="'. $rootpath . '/' . $_SESSION['LogoFile'] . '" width="120" alt="webERP" title="webERP ' . _('Copyright') . ' © weberp.org - ' . date('Y') . '" /></td>'; @@ -18,8 +19,11 @@ echo '</table>'; -echo '</div>'; -echo '</body>'; -echo '</html>'; +echo '</div>'; //end of FOOTER div +echo '</div>'; //end of CANVAS div + +echo '</body> + </html>'; + ?> Modified: trunk/includes/header.inc =================================================================== --- trunk/includes/header.inc 2012-07-21 03:41:52 UTC (rev 5522) +++ trunk/includes/header.inc 2012-07-21 05:53:07 UTC (rev 5523) @@ -41,8 +41,11 @@ echo '</head>'; echo '<body>'; - echo '<div id="canvas">'; - echo '<table class="callout_main" cellpadding="0" cellspacing="0">'; + + echo '<div id="CanvasDiv">'; //start of CANVAS div + echo '<div id="HeaderDiv">'; //start of HEADER div + + echo '<table class="HeaderTbl">'; echo '<tr>'; echo '<td colspan="2" rowspan="2">'; @@ -90,5 +93,6 @@ echo '</td>'; echo '</tr>'; echo '</table>'; - +echo '</div>'; //end of HEADER div +echo '<div id="BodyDiv">'; //start of BODY div - contains left menu, three columns menu, forms, data, etc ?> Modified: trunk/index.php =================================================================== --- trunk/index.php 2012-07-21 03:41:52 UTC (rev 5522) +++ trunk/index.php 2012-07-21 05:53:07 UTC (rev 5523) @@ -54,7 +54,7 @@ $_SESSION['Module'] = $_GET['Application']; } -echo '<table width="99%"> +echo '<table class="BodyTbl"> <tr> <td style="width:10%" valign="top">'; echo '<table class="main_menu" width="100%" cellspacing="0" cellpadding="0" border="0">'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |