Commit 4be9657d authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

do not hardcode table width.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26825 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ba3f3e4b
......@@ -141,8 +141,8 @@
.main_content ol.indent {padding:0 20px 0 70px !important /*Non-IE6*/; padding:0 20px 0 80px /*IE6*/;}\n
\n
/* TABLE (1-Column / 2-Column) */\n
.main_content table {clear:both; width:400px; margin:2.0em 0 0.2em 20px; table-layout:fixed; border-collapse:collapse; empty-cells:show; background-color:rgb(233,232,244);}\n
.content-2col-nobox-leftcolumn table, .content-2col-nobox-rightcolumn table, .content-2col-box-leftcolumn table, .content-2col-box-rightcolumn table {clear:both; width:290px; margin:2.0em 0 0.2em 20px; table-layout:fixed; border-collapse:collapse; empty-cells:show; background-color:rgb(233,232,244);}\n
.main_content table {clear:both; width:<tal:block tal:replace="python:main_content_width-40"/>px; margin:2.0em 0 0.2em 20px; table-layout:fixed; border-collapse:collapse; empty-cells:show; background-color:rgb(233,232,244);}\n
.content-2col-nobox-leftcolumn table, .content-2col-nobox-rightcolumn table, .content-2col-box-leftcolumn table, .content-2col-box-rightcolumn table {clear:both; width:<tal:block tal:replace="python:main_content_width/2-41"/>px; margin:2.0em 0 0.2em 20px; table-layout:fixed; border-collapse:collapse; empty-cells:show; background-color:rgb(233,232,244);}\n
\n
.main_content table th.top {height:3.5em; padding:0 7px 0 7px; empty-cells:show; background-color:rgb(175,175,175); text-align:left; color:rgb(255,255,255); font-weight:bold; font-size:120% !important /*Non-IE6*/; font-size:110% /*IE6*/;}\n
.main_content table th {height:3.0em; padding:2px 20px 2px 7px; border:solid 2px rgb(245,245,245); background-color:rgb(225,225,225); text-align:left; color:rgb(80,80,80); font-weight:bold; font-size:120% !important /*Non-IE6*/; font-size:110% /*IE6*/;}\n
......@@ -241,7 +241,7 @@
.subcontent ol.indent {padding:0 20px 0 70px !important /*Non-IE6*/; padding:0 20px 0 80px /*IE6*/;}\n
\n
/* TABLE */\n
.subcontent table {clear:both; width:230px; margin:2.0em 0 0.2em 20px; table-layout: fixed; border-collapse:collapse; empty-cells:show; background-color:rgb(233,232,244);}\n
.subcontent table {clear:both; width:<tal:block tal:replace="python:right_column_width-40"/>px; margin:2.0em 0 0.2em 20px; table-layout: fixed; border-collapse:collapse; empty-cells:show; background-color:rgb(233,232,244);}\n
.subcontent table th.top {height:3.5em; padding:0 7px 0 7px; empty-cells:show; background-color:rgb(175,175,175); text-align:left; color:rgb(255,255,255); font-weight:bold; font-size:120% !important /*Non-IE6*/; font-size:110% /*IE6*/;}\n
.subcontent table th {height:3.0em; padding:2px 20px 2px 7px; border:solid 2px rgb(245,245,245); background-color:rgb(225,225,225); text-align:left; color:rgb(80,80,80); font-weight:bold; font-size:120% !important /*Non-IE6*/; font-size:110% /*IE6*/;}\n
.subcontent table td {height:3.0em; padding:2px 7px 2px 7px; border:solid 2px rgb(245,245,245); background-color:rgb(225,225,225); text-align:left; font-weight:normal; color:rgb(80,80,80); font-size:120% !important /*Non-IE6*/; font-size:110% /*IE6*/;}\n
......
......@@ -192,8 +192,8 @@
\n
/* CONTAINER (NO BOXES) */\n
.content-1col-nobox {width:<tal:block tal:replace="main_content_width"/>px; background-color:rgb(255,255,255);}\n
.content-2col-nobox-leftcolumn {display:inline; float:left; width:337px; border-right:solid 1px rgb(215,215,215) /*Use this statement if left column is longer than the right column. Activate by removing "xx_" from property name*/; background-color:rgb(255,255,255);}\n
.content-2col-nobox-rightcolumn {display:inline; float:right; width:337px; border-left:solid 1px rgb(215,215,215)/*Use this statement if right columnn is longer than the left column. De-activate by adding "xx_" to propery name*/; background-color:rgb(255,255,255);}\n
.content-2col-nobox-leftcolumn {display:inline; float:left; width:<tal:block tal:replace="python:main_content_width/2-1"/>px; border-right:solid 1px rgb(215,215,215) /*Use this statement if left column is longer than the right column. Activate by removing "xx_" from property name*/; background-color:rgb(255,255,255);}\n
.content-2col-nobox-rightcolumn {display:inline; float:right; width:<tal:block tal:replace="python:main_content_width/2-1"/>px; border-left:solid 1px rgb(215,215,215)/*Use this statement if right columnn is longer than the left column. De-activate by adding "xx_" to propery name*/; background-color:rgb(255,255,255);}\n
\n
/* CONTAINER (BOXES) */\n
.content-1col-box {width:<tal:block tal:replace="main_content_width"/>px; background-color:transparent;}\n
......@@ -246,7 +246,7 @@
/**************/\n
/* To avoid that some layouts may break during printing */\n
/* we remove one vertical border-line for the columns */ \n
@media print {.content-2col-nobox-rightcolumn {display:inline; float:right; width:337px; border-left:none; background-color:rgb(255,255,255);}}\n
@media print {.content-2col-nobox-rightcolumn {display:inline; float:right; width:<tal:block tal:replace="python:main_content_width/2-1"/>px; border-left:none; background-color:rgb(255,255,255);}}\n
\n
/********************************************/\n
/* USED ONLY FOR DEMO PAGE FOR GRID SETUP */\n
......
77
\ No newline at end of file
78
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment