On Tuesday, 17 January 2017 12:01:52 UTC+8, Aubrey Moore wrote:
>
> Hi,
>
> I am a noob using web2py for the first time.
>
> When I use SQLFORM.grid, all the buttons appear as black rectangles which 
> I find kind of ugly (see attached screen shot). What is the best way of 
> restyling these buttons?
>
> - Aubrey
>

Simply add the following inline CSS in the header of the apps layout.html:

    <!-- Provides buttons with rounded corners -->
>     <style>
>       .button, .btn, .buttontext {border-radius:8px;}
>     </style>
>  
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to