Yes I am!

This is nice.

It is just in case there is more menu entry than expect sometime, since I
show differents things depending of the role of the user and I don't always
take a look how the page are rendered for all the user when I make changes.
I would avoid at least they can't works with the system.

So, the solution you suggest seems really appropriate and your help is very
appreciated!

:)

Richard

On Tue, Oct 2, 2012 at 5:21 PM, Paolo Caruccio
<paolo.carucci...@gmail.com>wrote:

> Richard, are you the author of this message
> https://groups.google.com/d/msg/web2py-developers/qKO_hLh2W9U/_UcR5GEp1ToJ
> ?
>
> If yes, in welcome app we have adopted the following solution:
>
> body {height:auto;}
> #header (margin-top:60px;}
>
> without any body top padding.
>
> In other words, you could set a top margin on first container in place of
> a top padding on the body.
>
> Only one note: in responsive design at small size viewport you will have
> extra top margin when top navbar becomes static but this can be corrected
> through media queries.
>
>
> Il giorno martedì 2 ottobre 2012 22:49:05 UTC+2, Richard ha scritto:
>>
>> Solved
>>
>> Thanks Paolo, it was driving me nuts.
>>
>> Richard
>>
>> On Tue, Oct 2, 2012 at 4:39 PM, Richard Vézina <ml.richa...@gmail.com>wrote:
>>
>>> Thanks Paolo,
>>>
>>> It works for welcome.
>>>
>>> Still have difficulties with my app but I made many little changes maybe
>>> I broke something somewhere.
>>>
>>> Richard
>>>
>>>
>>> On Tue, Oct 2, 2012 at 4:27 PM, Paolo Caruccio <paolo.ca...@gmail.com>wrote:
>>>
>>>> Richard,
>>>>
>>>> the issue has been corrected some time ago. Please check the trunk
>>>> version.
>>>>
>>>> Anyway, you could replace
>>>>
>>>> .icon-white{background-image:u**rl("../images/glyphicons-**
>>>> halflings-white.png");} /* right folder for bootstrap white
>>>> images/icons */
>>>>
>>>> with
>>>>
>>>> /* right folder for bootstrap white images/icons */
>>>> .icon-white,
>>>> .nav-tabs > .active > a > [class^="icon-"],
>>>> .nav-tabs > .active > a > [class*=" icon-"],
>>>> .nav-pills > .active > a > [class^="icon-"],
>>>> .nav-pills > .active > a > [class*=" icon-"],
>>>> .nav-list > .active > a > [class^="icon-"],
>>>> .nav-list > .active > a > [class*=" icon-"],
>>>> .navbar-inverse .nav > .active > a > [class^="icon-"],
>>>> .navbar-inverse .nav > .active > a > [class*=" icon-"],
>>>> .dropdown-menu > li > a:hover > [class^="icon-"],
>>>> .dropdown-menu > li > a:hover > [class*=" icon-"],
>>>> .dropdown-menu > .active > a > [class^="icon-"],
>>>> .dropdown-menu > .active > a > [class*=" icon-"] {
>>>>   background-image:url("../**images/glyphicons-halflings-**white.png");
>>>> }
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Il giorno martedì 2 ottobre 2012 22:09:01 UTC+2, Richard ha scritto:
>>>>>
>>>>> I found an other little issue using last version of bootstrap with
>>>>> web2py 2.0.9
>>>>>
>>>>> The icons disapears on rollover, only the blue highligth remain and
>>>>> the inversed white texte of the a tag, but the <i
>>>>> class"icon-something"></i> don't follow...
>>>>>
>>>>> Can't find why...
>>>>>
>>>>> These lines from web2py_bootstrap.css :
>>>>>
>>>>> [class^="icon-"],[class*=" icon-"]{background-image:url("****
>>>>> ../images/glyphicons-**halflings**.png")} /* right folder for
>>>>> bootstrap black images/icons */
>>>>> .icon-white{background-image:**u**rl("../images/glyphicons-**halfl**ings-white.png");}
>>>>> /* right folder for bootstrap white images/icons */
>>>>>
>>>>> Could be in cause.
>>>>>
>>>>> It likes if the icons never get the icon-white class setup by
>>>>> bootstrap.js (I am not sure how bootstrap works exactly), it can find the
>>>>> glypicons white file...
>>>>>
>>>>> Richard
>>>>>
>>>>> On Wed, Aug 22, 2012 at 5:34 PM, Niphlod <nip...@gmail.com> wrote:
>>>>>
>>>>>> Yeah, seems also that doesn't break anything (except for the navbar
>>>>>> default color that now is gray (.navbar-inverse does the job)). Seems 
>>>>>> also
>>>>>> to not break web2py styles.
>>>>>> However, affix has an issue: try resizing the Components page of the
>>>>>> documentation a lot on the y side (try something like 900px*500px).... 
>>>>>> you
>>>>>> need to scroll to the end of the page to access the last links. Bummer.
>>>>>>
>>>>>>
>>>>>> On Wednesday, August 22, 2012 10:37:42 PM UTC+2, Limedrop wrote:
>>>>>>>
>>>>>>> Bootstrap would now seem to provide sufficient support for web2py
>>>>>>> menus:
>>>>>>>
>>>>>>> - Submenu support on dropdowns.
>>>>>>> - Disabled states on navs and dropdowns.
>>>>>>>
>>>>>>> And the Affix JavaScript plugin is cool.
>>>>>>>
>>>>>>> On Wednesday, August 22, 2012 11:27:03 PM UTC+12, Khalil KHAMLICHI
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> Awesome!
>>>>>>>>
>>>>>>>> On Wed, Aug 22, 2012 at 11:10 AM, Alec Taylor 
>>>>>>>> <alec.t...@gmail.com>wrote:
>>>>>>>>
>>>>>>>>> There's a new version of bootstrap available.
>>>>>>>>>
>>>>>>>>> Might be worth upgrading: https://github.com/web2py/**web2****
>>>>>>>>> py/pull/27 <https://github.com/web2py/web2py/pull/27>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>  --
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>  --
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>  --
>
>
>
>

-- 



Reply via email to