[web2py] Re: changing class of a custom form not working

2013-06-09 Thread Anthony
On Saturday, June 8, 2013 8:06:55 PM UTC-4, Massimo Di Pierro wrote: This the code currently in web2py.css. input[type=text],input[type=password],select{width:300px; margin-right:5px} How do you propose we change it? Discussed details here:

[web2py] Re: changing class of a custom form not working

2013-06-09 Thread Massimo Di Pierro
Thanks! In trunk. On Sunday, 9 June 2013 07:06:25 UTC-5, Anthony wrote: On Saturday, June 8, 2013 8:06:55 PM UTC-4, Massimo Di Pierro wrote: This the code currently in web2py.css. input[type=text],input[type=password],select{width:300px; margin-right:5px} How do you propose we change it?

[web2py] Re: changing class of a custom form not working

2013-06-09 Thread André Kablu
This works fine for defining another class like: input id=test class=input-small type=text value= name=test But not for defining size manually like: input id=test size=30 type=text value= name=test Anyway we can change fields using classes now! Thanks!!! Em domingo, 9 de junho de 2013

[web2py] Re: changing class of a custom form not working

2013-06-09 Thread Anthony
This works fine for defining another class like: input id=test class=input-small type=text value= name=test But not for defining size manually like: input id=test size=30 type=text value= name=test I think any CSS rule will take precedence over the size attribute, so that's not going to

[web2py] Re: changing class of a custom form not working

2013-06-08 Thread Niphlod
any css rule is hardly a bug. it's just the css included in the scaffolding app. you can use your own or override it with your css, making sure that is appended AFTER web2py.css. On Friday, June 7, 2013 10:09:33 PM UTC+2, André Kablu wrote: found, in web2py.css there is a code:

[web2py] Re: changing class of a custom form not working

2013-06-08 Thread Anthony
On the other hand, maybe we could make it so web2py.css doesn't prevent usage of standard Bootstrap classes: https://groups.google.com/d/msg/web2py-developers/WaHw-83DT1w/zbs2fh-tWRoJ Anthony On Saturday, June 8, 2013 9:48:50 AM UTC-4, Niphlod wrote: any css rule is hardly a bug. it's just

[web2py] Re: changing class of a custom form not working

2013-06-08 Thread Massimo Di Pierro
This the code currently in web2py.css. input[type=text],input[type=password],select{width:300px; margin-right:5px} How do you propose we change it? On Saturday, 8 June 2013 12:17:21 UTC-5, Anthony wrote: On the other hand, maybe we could make it so web2py.css doesn't prevent usage of

[web2py] Re: changing class of a custom form not working

2013-06-07 Thread André Kablu
one more information... if I put on my html file a html code like this: input id=test class=input-small type=text value= name=test it also does not change the css effect to the correct class input-small Em sexta-feira, 7 de junho de 2013 16h51min36s UTC-3, André Kablu escreveu: Hi all, I am

[web2py] Re: changing class of a custom form not working

2013-06-07 Thread André Kablu
found, in web2py.css there is a code: input[type=text], input[type=password], select { margin-right: 5px; width: 300px; } now the question is: if we want to customize fields size do we need to remove this from web2py.css. Is it a bug or the correct behavior of web2py.css? Thanks!