Commit d7a34783 authored by Fabien Morin's avatar Fabien Morin

improve button displaying

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23706 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f39afa4c
......@@ -238,8 +238,8 @@ div#main_content input, textarea {\n
padding: 1px;\n
}\n
\n
div#main_content input.button, input[type="submit"] {\n
/* XXX Is this case happend in current web implementation ? */\n
div#main_content input.button, input[type="submit"],\n
button.nextStep{\n
background: #fff url(erp5-website-button.png) bottom repeat-x;\n
}\n
\n
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="Image" module="OFS.Image"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts21751180.59</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>reload.png</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="base64">iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBI
WXMAAAsNAAALDQHtB8AsAAAAB3RJTUUH0wkJEjkJQJyr2gAABvpJREFUeNrFl1tsHFcZx38zZ2cv
trNex87VSeNcmxACjjdECmkDqQiRqkhAxEMkAjSFSOQBCYkqL0hIETwildIHGlkkXPJgeHCrgtKK
NgSl9AKtN41N66qJHTuOvb6t974zszNzDg+z3vXGSVZESBzpr93V+S7/851vv/N98H9e2n8j3HPm
xmZQh0F2A90oucSGGkTJQaRzdWvmhduxWMzt7e1V/xMCPWdunAKeAQ6BAiToQdDDvoC0wLOWqryD
dC/F1W8u5PN5t6+vz3skAj1nbuxF059HyS+hCwjGILiSYCjCxmiOL2xIA1Cw4MrYJkyrDPYcWClQ
DqBMPOu5OL//bT6ft+9HRGtw6gsARNYSbFnN9/ZPsmdLCzs2NBEO6st0Judt3hv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2b4zy4kkTqXy1X/29g9fe
HnsogaKtMAQYwo+AaVVeY88eARw/NtK5ihBQTqHrtUT6OLuFa0N5Du1ZUUfibz+BT28nKZbsSvI9
eI1M2X7mL65yqvKZThDB0gG2Zl64DbyDOYehOUQCNfzi9TA3J61lhndsXtfQ+WIEFm0ZmgPmHEh3
KB756zhg6gCxWMxFupdQDrnMPG1hsw4/7y8zeNts6KxgLm/97s47VTu5zLx//27hDaAImAIgkUhw
rEcbSurxr7h2YUNHW5RYxCMcqCEx6jA6VWB1LEDsns5oNuNw+f0cF6+UGJ0qsP/xZgDGZmyufezr
m7YkOTXhn177wy+BGSCz1JKDZ51FRK6NjE/yxOdWYYj6Sji1AL2v+3fYHNKqIV5cK0K+zI/OT7C6
NUDRVqwIgeNpjIzPVYpJ8iVCZIAM4FS7h0QioY7FA8mk+mzak/rR+YzNtvVBgobAENoyKPwG/X57
TSG9uqfj8vZgmpLlQDn9fNx45QqQBDK9vb3evd2DG+d35/HMs/lSmTcH0ji2ScjQHwmObfLmQJp8
qew7F3/qr4Q+DbjLesJEIkE8HvfWc+NGUu3OOlIc+XTSwpE6G9t1jIBOQKchNOUycKvEux9lcFy5
1HkSmAXMxanpvlX69OnTOtA04H7zywRj59BET8jQeWxtE7vXS1aubEUIo07H8xwWFrJ8NKVzZ7qE
7UiQ7hBW8qV46PL1yslngVJvb69sOJhUSISBtgF18llE+Dia6F7cjwSho9XP4fmsi7l03JDuEG7h
jbj446uVZJuvhN1a6rzhaHb8+HG9vb1dAM1AbMB+ehdG60H04E50YxtK1fSVM4Jnj1BOJypFpghk
U6mUrBCw+vv75SMNpydOnBCe50U8z2sF2pRSbUqp6KpVqyZqDxoScAALMFOplBBCZIUQ5sOG0/8A
ud6VuhCOmTMAAAAASUVORK5CYII=</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>32</int> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <long>1901</long> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>32</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -618,21 +618,29 @@ fieldset.register_informations{\n
margin:1em;\n
}\n
\n
.field .input .big_button{\n
.field .input .big_button,\n
.field .input .next_step{\n
float:left;\n
height: 2em;\n
width: 20%;\n
background:#FF6633;\n
text-decoration: underline;\n
color:white;\n
font-size:2em;\n
margin-left: 20%;\n
margin-top: 2em;\n
border: 1px solid black;\n
font-weight:bold;\n
cursor:pointer;\n
}\n
\n
.field .input .next_step{\n
margin: 1em;\n
}\n
\n
.field .input .big_button{\n
width: 20%;\n
margin-left: 20%;\n
margin-top: 2em;\n
}\n
\n
.white_background .big_button .input{\n
margin:0 !important;\n
padding: 0 !important;\n
......
......@@ -81,22 +81,19 @@ Description:\n
tal:attributes="value request/actions" />\n
<input type="hidden" name="current_action" value="" \n
tal:attributes="value request/current_action" />-->\n
<div class="onright">\n
<div>\n
<div class="erp5_captcha">\n
<img src="Captcha_getCaptchaFile?display=thumbnail&amp;format=&amp;resolution=75" alt="captcha"/>\n
<input class="captcha_text" type="text" size="6" name="captcha_text"/>\n
</div>\n
<button class="nextStep" title="Refresh"\n
OnClick="javascript:window.history.go(0)" \n
i18n:attributes="title" i18n:domain="ui">\n
<span class="image"></span>\n
<span class="description"> <tal:block i18n:translate="" i18n:domain="ui">Refresh</tal:block></span>\n
</button>\n
<button class="nextStep" title="Next Step >>" name="EGov_register:method" \n
i18n:attributes="title" i18n:domain="ui">\n
<span class="image"></span>\n
<span class="description"> <tal:block i18n:translate="" i18n:domain="ui">Next Step</tal:block> >></span>\n
</button>\n
<a class="onright" href="" OnClick="javascript:window.history.go(0)">\n
<img src="img/reload.png" alt="Refresh"/>\n
</a>\n
<div class="clear">\n
</div>\n
<div class="input onright">\n
<input class="hidden_label inline next_step" type="submit" tal:attributes="value python:context.getPortalObject().Base_translateString(\'Next Step >>\')" value="Next Step >>" name="EGov_register:method" src=""/>\n
</div>\n
<div class="clear">\n
</div>\n
</div>\n
......
......@@ -59,34 +59,19 @@
CAPTCHA python: 60;\n
">\n
\n
\n
div.next_step_action button.nextStep {\n
height: <tal:block replace="python: (\'%s%s\') % (HEIGHT_button, unit)"/>;\n
width: 11em;\n
background: #FF6633;\n
text-decoration: underline;\n
/*color: #637dc1;*/\n
color: white;\n
font-weight: bold;\n
font-size: 200%;\n
border: 1px solid black;\n
vertical-align: middle;\n
text-align: center;\n
display:inline;\n
}\n
\n
div.next_step_action{ \n
height: <tal:block replace="python: (\'%s%s\') % (HEIGHT_button+MARGIN+(here.portal_membership.isAnonymousUser() and CAPTCHA or 0), unit)"/>;\n
z-index:300;\n
}\n
\n
div.next_step_action .erp5_captcha{\n
margin-bottom: 10px;\n
float:right;\n
margin-right:4em;\n
}\n
\n
div.next_step_action img,\n
div.next_step_action .captcha_text{\n
font-size: 250%;\n
font-size: 260%;\n
vertical-align:middle;\n
}\n
\n
......
......@@ -67,11 +67,9 @@
\n
</span>\n
<div class="onright">\n
<button type="submit" class="nextStep" title="Next Step >>" name="EGov_Base_editAndNextStep:method" \n
i18n:attributes="title" i18n:domain="ui">\n
<span class="image"></span>\n
<span class="description"> <tal:block i18n:translate="" i18n:domain="ui">Next Step</tal:block>>></span>\n
</button>\n
<div class="input">\n
<input class="hidden_label inline next_step" type="submit" tal:attributes="value python:context.getPortalObject().Base_translateString(\'Next Step >>\')" value="Next Step >>" name="EGov_Base_editAndNextStep:method" src=""/>\n
</div>\n
</div>\n
<div class="clear">\n
</div>\n
......
324
\ No newline at end of file
327
\ 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