You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by George Ludwig <ge...@gmail.com> on 2013/03/02 00:07:43 UTC

Re: How to disable bootstrap label/button hover behavior?

Thanks for the info!


On Wed, Feb 20, 2013 at 11:56 PM, Ivan Khalopik <ik...@gmail.com> wrote:

> // Hover/focus state, but only for links
> a {
>   &.label:hover,
>   &.label:focus,
>   &.badge:hover,
>   &.badge:focus {
>     color: @white;
>     text-decoration: none;
>     cursor: pointer;
>   }
>
> }
>
> This lines are from the latest bootstrap sources. It adds hover behaviour
> only for links with label/badge class.
> Hover behaviour was fixed by this commit starting from version 2.0.3:
>
>
> https://github.com/twitter/bootstrap/commit/d7af2714c66ce19ba63e0871837f35dac73ecf66#less/labels-badges.less
>
> So, you can try to upgrade your bootstrap css.
>
> On Thu, Feb 21, 2013 at 1:20 AM, George Ludwig <georgeludwig@gmail.com
> >wrote:
>
> > What approach did you take to the over ride? AFAIK, I would need to over
> > ride a lot of CSS in order to remove that functionality for all the badge
> > and label types.
> >
> > For now, I did my over ride in the page CSS, but it's only. Thankfully,
> I'm
> > only using one badge and one label....for now at least.
> >
> >
> > On Wed, Feb 20, 2013 at 5:37 AM, trsvax <tr...@gmail.com> wrote:
> >
> > > I think the hover behavior was added in a latter version of 2.x
> bootstrap
> > > than is included by default in the bootstrap module. I usually just
> > include
> > > the latest css and then override the parts I want to change in the
> > > layout.tml file.
> > >
> > >
> > >
> > > --
> > > View this message in context:
> > >
> >
> http://tapestry.1045711.n5.nabble.com/How-to-disable-bootstrap-label-button-hover-behavior-tp5720108p5720120.html
> > > Sent from the Tapestry - User mailing list archive at Nabble.com.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > > For additional commands, e-mail: users-help@tapestry.apache.org
> > >
> > >
> >
>
>
>
> --
> BR
> Ivan
>