From: <rc...@us...> - 2015-11-15 00:02:27
|
Revision: 7386 http://sourceforge.net/p/web-erp/reponame/7386 Author: rchacon Date: 2015-11-15 00:02:25 +0000 (Sun, 15 Nov 2015) Log Message: ----------- In css/default/default.css, add sections to use with a cascading style sheet for a small device width, reagroup style for centre, number and text in tables. Modified Paths: -------------- trunk/css/default/default.css trunk/doc/Change.log Modified: trunk/css/default/default.css =================================================================== --- trunk/css/default/default.css 2015-11-11 08:03:20 UTC (rev 7385) +++ trunk/css/default/default.css 2015-11-15 00:02:25 UTC (rev 7386) @@ -50,10 +50,10 @@ table.selection{ padding-bottom:5px; } -th{ - font-weight:normal; +th { background-color:#B06161; color:white; + font-weight:normal; } th.ascending { cursor: s-resize; @@ -80,27 +80,9 @@ border-top: 4px solid #000; visibility: visible; } -th.number{ - background-color:#B06161; - color:white; - font-weight:normal; - text-align:right; -} -th.text{ - background-color:#B06161; - color:white; - font-weight:normal; - text-align:left; -} td { text-align:left; } -td.centre{ - text-align:center; -} -td.number{ - text-align:right; -} td.select{ background-color:#eee; } @@ -462,5 +444,29 @@ } .centre { text-align:center; - /* centre class (general). */ + /* Class selector to centre text horizontally in an element. */ } +.number { + text-align:right; + /* Class selector for horizontal alignment of a number (right) in an element. */ +} +.text { + text-align:left; + /* Class selector for horizontal alignment of a text (left) in an element. */ +} +/* END Style for all. ********************************************************/ + + +/* If you want to use a cascading style sheet for a small device width, uncomment line "<meta name="viewport" content="width=device-width, initial-scale=1" />" on includes/header.inc and use the following sections. */ + +@media only screen and (max-device-width:767px) { + /* Style for new browser in a device with a rendering width less than 768px. */ +} + +@media only screen and (min-device-width:768px) and (max-device-width:1023px) { + /* Style for new browser in a device with a rendering width between 768px and 1024px. */ +} + +@media only screen and (min-device-width:1024px) { + /* Style for new browser in a device with a rendering width greater than 1024px. */ +} Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2015-11-11 08:03:20 UTC (rev 7385) +++ trunk/doc/Change.log 2015-11-15 00:02:25 UTC (rev 7386) @@ -1,5 +1,7 @@ webERP Change Log +14/11/15 RChacon: In css/default/default.css, add sections to use with a cascading style sheet for a small device width, reagroup style for centre, number and text in tables. +11/11/15 Ricard: New feature GL accounts - users authority. 09/11/15 RChacon: In CustomerReceipt.php, minor changes (completes table columns, adds classes, etc.). 05/11/15 Exson: Tidy code up following Tim's suggestion. 3/11/15 RChacon: In GLAccountInquiry.php, add ViewTopic and BookMark, fix some colspan, and add thead and column classes. |