Re: [web2py] btn-default

2018-03-29 Thread andfae
Ok...now there is web2py-bootstrap4 in the last version. But, doesn't
matter, here I cannot modify nothing because thisi is a jquery instruction
to addClass. This is not the definition of the class itself.


2018-03-28 21:01 GMT+02:00 Dave S :

>
>
> On Wednesday, March 28, 2018 at 11:43:00 AM UTC-7, Andrea Fae' wrote:
>>
>> Yes...I know this, but in web2py application I need to change the style.
>> Where is the definition of this class in the files css? Inside the web
>> application I mean...
>>
>>
> grep btn-default */static/js/*.js tells me it is the app's static
> folder.  For instance:
>
> welcome/static/js/web2py-bootstrap3.js:$('form
> input[type="submit"]:not([class^="btn"]), form 
> input[type="button"]:not([class^="btn"])',
> target).addClass('btn btn-default');
>
>  /dps
>
>
>> Il giorno mercoledì 28 marzo 2018 16:50:15 UTC+2, Richard ha scritto:
>>>
>>> Bootstrap : https://getbootstrap.com/
>>>
>>> On Tue, Mar 27, 2018 at 4:02 PM, Andrea Fae'  wrote:
>>>
 Where is the definition btn-default in any welcome clone application? I
 need to change the style...thanks

 --
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 ---
 You received this message because you are subscribed to the Google
 Groups "web2py-users" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to web2py+un...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

>>>
>>> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/web2py/wtxeZUsysLI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] btn-default

2018-03-28 Thread Richard Vézina
Or :

touch /static/css/myapp.css
Then add :

.btn-default {YOUR WANTED STYLE}

Then modify the /views/layout.html and add a new :


response.files.append(URL('static', 'css/myapp.css'))

You don't really want to customize the bootstrap css class or you should
learn "sass" and add another level of abstraction as you have to convert
the sass file into css ...

If you want to go down that road here a starter :
https://www.sitepoint.com/bootstrap-sass-installation-and-customisation/

Richard

On Wed, Mar 28, 2018 at 3:01 PM, Dave S  wrote:

>
>
> On Wednesday, March 28, 2018 at 11:43:00 AM UTC-7, Andrea Fae' wrote:
>>
>> Yes...I know this, but in web2py application I need to change the style.
>> Where is the definition of this class in the files css? Inside the web
>> application I mean...
>>
>>
> grep btn-default */static/js/*.js tells me it is the app's static
> folder.  For instance:
>
> welcome/static/js/web2py-bootstrap3.js:$('form
> input[type="submit"]:not([class^="btn"]), form 
> input[type="button"]:not([class^="btn"])',
> target).addClass('btn btn-default');
>
>  /dps
>
>
>> Il giorno mercoledì 28 marzo 2018 16:50:15 UTC+2, Richard ha scritto:
>>>
>>> Bootstrap : https://getbootstrap.com/
>>>
>>> On Tue, Mar 27, 2018 at 4:02 PM, Andrea Fae'  wrote:
>>>
 Where is the definition btn-default in any welcome clone application? I
 need to change the style...thanks

 --
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source code)
 - https://code.google.com/p/web2py/issues/list (Report Issues)
 ---
 You received this message because you are subscribed to the Google
 Groups "web2py-users" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to web2py+un...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

>>>
>>> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] btn-default

2018-03-28 Thread Dave S


On Wednesday, March 28, 2018 at 11:43:00 AM UTC-7, Andrea Fae' wrote:
>
> Yes...I know this, but in web2py application I need to change the style. 
> Where is the definition of this class in the files css? Inside the web 
> application I mean...
>
>
grep btn-default */static/js/*.js tells me it is the app's static folder.  
For instance:

welcome/static/js/web2py-bootstrap3.js:$('form 
input[type="submit"]:not([class^="btn"]), form 
input[type="button"]:not([class^="btn"])', target).addClass('btn 
btn-default');

 /dps


> Il giorno mercoledì 28 marzo 2018 16:50:15 UTC+2, Richard ha scritto:
>>
>> Bootstrap : https://getbootstrap.com/
>>
>> On Tue, Mar 27, 2018 at 4:02 PM, Andrea Fae'  wrote:
>>
>>> Where is the definition btn-default in any welcome clone application? I 
>>> need to change the style...thanks
>>>
>>> -- 
>>> Resources:
>>> - http://web2py.com
>>> - http://web2py.com/book (Documentation)
>>> - http://github.com/web2py/web2py (Source code)
>>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "web2py-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to web2py+un...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] btn-default

2018-03-28 Thread Andrea Fae'
Yes...I know this, but in web2py application I need to change the style. 
Where is the definition of this class in the files css? Inside the web 
application I mean...


Il giorno mercoledì 28 marzo 2018 16:50:15 UTC+2, Richard ha scritto:
>
> Bootstrap : https://getbootstrap.com/
>
> On Tue, Mar 27, 2018 at 4:02 PM, Andrea Fae'  > wrote:
>
>> Where is the definition btn-default in any welcome clone application? I 
>> need to change the style...thanks
>>
>> -- 
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to web2py+un...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] btn-default

2018-03-28 Thread Richard Vézina
Bootstrap : https://getbootstrap.com/

On Tue, Mar 27, 2018 at 4:02 PM, Andrea Fae'  wrote:

> Where is the definition btn-default in any welcome clone application? I
> need to change the style...thanks
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] btn-default

2018-03-27 Thread Andrea Fae'
Where is the definition btn-default in any welcome clone application? I 
need to change the style...thanks

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.