Commit afff20b9 authored by Fabien Morin's avatar Fabien Morin

use class instead of id for fieldsets

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34742 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6125d625
No related merge requests found
......@@ -80,18 +80,18 @@
.main_content h3 {font-size:120% !important; color:#FF0000;}\n
div.portal_status_message h3 {margin:0px;}\n
\n
#fieldset_left {padding:10px;}\n
#fieldset_left div.field {margin-top:5px; margin-bottom: 10px;}\n
#fieldset_left label {width: 135px !important; font-size: 120% !important; color:#505050; float:left; width: <tal:block tal:replace="python: main_content_width / 5"/>px;}\n
#fieldset_left label a {display:none;}\n
#fieldset_right {padding:10px;}\n
#fieldset_right div.field {margin-top:5px; margin-bottom: 10px;}\n
#fieldset_right label {width: 135px !important; font-size: 120% !important; color:#505050; float:left; width:<tal:block tal:replace="python: main_content_width / 5"/>px;}\n
#fieldset_right label a {display:none;}\n
#fieldset_center {padding:10px;}\n
#fieldset_center div.field {margin-top:5px; margin-bottom: 10px;}\n
#fieldset_center label {font-size: 120% !important; color:#505050; float:left; width:<tal:block tal:replace="python: main_content_width / 5"/>px;}\n
#fieldset_center label a {display:none;}\n
fieldset.left {padding:10px;}\n
fieldset.left div.field {margin-top:5px; margin-bottom: 10px;}\n
fieldset.left label {width: 135px !important; font-size: 120% !important; color:#505050; float:left; width: <tal:block tal:replace="python: main_content_width / 5"/>px;}\n
fieldset.left label a {display:none;}\n
fieldset.right {padding:10px;}\n
fieldset.right div.field {margin-top:5px; margin-bottom: 10px;}\n
fieldset.right label {width: 135px !important; font-size: 120% !important; color:#505050; float:left; width:<tal:block tal:replace="python: main_content_width / 5"/>px;}\n
fieldset.right label a {display:none;}\n
fieldset.center {padding:10px;}\n
fieldset.center div.field {margin-top:5px; margin-bottom: 10px;}\n
fieldset.center label {font-size: 120% !important; color:#505050; float:left; width:<tal:block tal:replace="python: main_content_width / 5"/>px;}\n
fieldset.center label a {display:none;}\n
\n
div.subcontent-box.cartbox fieldset.widget div.field label {display: none;}\n
div.subcontent-box.cartbox h1.group_title {background: url(./mf54_image/icon_celltitle_cart.png) no-repeat; background-position:229px 5px;}\n
......@@ -208,7 +208,8 @@ fieldset.editable div.input {padding:0px;}\n
.main_content table tr.shopping_cart_end_lines td.used {border-bottom:solid 1px #CCC;}\n
\n
\n
</tal:block>
</tal:block>\n
]]></string> </value>
</item>
......
251
\ No newline at end of file
252
\ No newline at end of file
......@@ -449,7 +449,7 @@ div#main_content > fieldset.webcontent {\n
/* TODO: redo webcontent header spacing policy because lack of consistency\n
(not tested with huge titles) */\n
\n
div#main_content > fieldset#fieldset_webcontent {padding: 2em}\n
div#main_content > fieldset.webcontent {padding: 2em}\n
\n
div#main_content > fieldset.header {\n
padding-bottom: 1em;\n
......
......@@ -382,7 +382,7 @@ div#main_content > fieldset.webcontent {\n
/* TODO: redo webcontent header spacing policy because lack of consistency\n
(not tested with huge titles) */\n
\n
div#main_content > fieldset#fieldset_webcontent {padding: 2em}\n
div#main_content > fieldset.webcontent {padding: 2em}\n
\n
div#main_content > fieldset.header {\n
padding-bottom: 1em;\n
......@@ -418,7 +418,8 @@ div#main_content fieldset.webcontent span.headline {\n
text-shadow: .1em .1em .1em #eee;\n
line-height: 140%;\n
text-align: left;\n
}
}\n
]]></string> </value>
</item>
......
......@@ -529,14 +529,14 @@ div#main_content fieldset {\n
border:none;\n
}\n
\n
.content #fieldset_center,\n
.content #fieldset_left,\n
.content #fieldset_bottom{\n
.content fieldset.center,\n
.content fieldset.left,\n
.content fieldset.bottom{\n
margin-left: 3em;\n
margin-right: 3em;\n
}\n
\n
.content #fieldset_left{\n
.content fieldset.left{\n
margin-top: 3em;\n
}\n
\n
......@@ -653,12 +653,12 @@ fieldset.register_informations{\n
}\n
\n
\n
#main_form #main_content #fieldset_bottom .input .ListSummary{\n
#main_form #main_content fieldset.bottom .input .ListSummary{\n
margin-top: 100px;\n
}\n
\n
#main_form #main_content #fieldset_bottom .input .ListSummary,\n
#main_form #main_content #fieldset_bottom .input .ListContent{\n
#main_form #main_content fieldset.bottom .input .ListSummary,\n
#main_form #main_content fieldset.bottom .input .ListContent{\n
margin-right: 10%;\n
margin-left: 10%;\n
}\n
......
461
\ No newline at end of file
462
\ No newline at end of file
......@@ -1176,22 +1176,23 @@ body {\n
font-weight: bold;\n
}\n
\n
#fieldset_left,\n
#fieldset_right,\n
#fieldset_center,\n
#fieldset_bottom {\n
fieldset.left,\n
fieldset.right,\n
fieldset.center,\n
fieldset.bottom {\n
border-width: 1px;\n
border-style: solid;\n
}\n
\n
#fieldset_left legend,\n
#fieldset_right legend,\n
#fieldset_center legend,\n
#fieldset_bottom legend {\n
fieldset.left legend,\n
fieldset.right legend,\n
fieldset.center legend,\n
fieldset.bottom legend {\n
display: none;\n
}\n
\n
</dtml-let>
</dtml-let>\n
]]></string> </value>
</item>
......
......@@ -107,8 +107,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
<tal:block tal:repeat="group group_list">\n
<tal:block tal:define="gid group/gid">\n
<fieldset tal:condition="python: \'hidden\' not in gid and \'bottom\' not in gid"\n
tal:attributes="class gid;\n
id python: \'fieldset_\' + gid.replace(\' \', \'_\');"\n
tal:attributes="class gid;"\n
tal:define="gtitle group/gtitle">\n
<legend tal:condition="python: gtitle != \'bottom\' and gtitle != \'left\' and gtitle != \'right\' and gtitle != \'center\'" tal:content="group/gtitle" class="group_title"/>\n
<tal:block tal:repeat="field python: form.get_fields_in_group(group[\'goid\'])">\n
......
......@@ -96,8 +96,7 @@ It is possible to specify a group id and a group title by naming a group followi
<tal:block tal:repeat="group group_list">\n
<tal:block tal:define="gid group/gid;">\n
<fieldset tal:condition="python: gid.find(\'hidden\') < 0"\n
tal:attributes="class gid;\n
id python: \'fieldset_%s\' % (gid.replace(\' \', \'_\'), );"\n
tal:attributes="class gid;"\n
tal:define="gtitle group/gtitle"\n
class="border">\n
<legend tal:condition="python: gtitle != \'bottom\' and gtitle != \'left\' and gtitle != \'right\' and gtitle != \'center\'" tal:content="group/gtitle" class="group_title"/>\n
......@@ -115,7 +114,8 @@ It is possible to specify a group id and a group title by naming a group followi
<a class="link_white" tal:attributes="href python: \'%s%s%s%s\' % (context.REQUEST.URL0,\'?\', context.REQUEST.QUERY_STRING,\'#TOP\')" i18n:translate="" i18n:domain="ui">////////// Top of page \\\\\\\\\\\\\\\\\\\\</a>\n
</div>\n
</tal:block>\n
</tal:block>
</tal:block>\n
]]></string> </value>
</item>
......
......@@ -89,7 +89,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
type="hidden" name="came_from"\n
tal:attributes="value request/came_from" />\n
\n
<fieldset id="fieldset_left" class="fielset_login">\n
<fieldset class="left fielset_login">\n
<div class="field">\n
<label for="name" class="required" i18n:translate="" i18n:domain="ui">Name</label>\n
<div class="input"><input type="text" name="__ac_name" id="name" tal:attributes="value python: request.get(\'__ac_name\') or \'\'"/></div>\n
......@@ -132,7 +132,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
</div>\n
</tal:block>\n
</tal:block>\n
</tal:block>
</tal:block>\n
]]></string> </value>
</item>
......
55
\ No newline at end of file
56
\ 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