Richard,

the issue has been corrected some time ago. Please check the trunk version.

Anyway, you could replace

.icon-white{background-image:url("../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:url("../images/glyphicons-halflings-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 
> <javascript:>>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/**web2py/pull/27<https://github.com/web2py/web2py/pull/27>
>>>>>
>>>>> --
>>>>>
>>>>>
>>>>>
>>>>>
>>>>  -- 
>>  
>>  
>>  
>>
>
>

-- 



Reply via email to