bloodhound-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matevž Bradač <>
Subject Re: [Apache Bloodhound] #420: Improved styling for `inline code`
Date Sat, 02 Mar 2013 21:44:46 GMT

On 2. Mar, 2013, at 0:02, Ryan Ollos wrote:

> On Fri, Mar 1, 2013 at 2:28 PM, Matevž Bradač <> wrote:
>> On 1. Mar, 2013, at 21:47, Olemis Lang wrote:
>>> On 3/1/13, Gary Martin <> wrote:
>>> [...]
>>>> There are a lot of potential ways of doing this. I am not keen on
>>>> copying the CSS across if we want to be sticking to whatever bootstrap
>>>> provides. That leaves swapping tags, which itself can probably be done
>>>> in three or more ways, or copying the styles on the client side with js.
>>> I was initially thinking of introducing (overriding) these in
>>> bloodhound.css rather than modifying bootstrap.css
>> I think that's what Gary was referring to as well. But overriding things
>> in bloodhound.css quickly becomes quite cumbersome, as there is no way
>> to express "inheritance" of one tag's properties from another tag and
>> then overriding some of them (you have to copy and paste the whole style).
>> However - bootstrap is built with LESS (, which
>> extends
>> the CSS with variables etc. which would allow just that (via mixins).
> Oh, very cool, thank you for sharing that.
>> Maybe we could adopt using LESS for building our custom bootstrap.css in
>> the future?
> Do you mean, build bloodhound.css with LESS?

Yes, if it comes in handy. For example, if we ever want to change the default
styling, it may be easier to do it with LESS than changing the CSS. Especially
since there are some elements (e.g. date picker) which are not bootstrap-based,
but use a bootstrap-like styling (copy & pasted CSS).

View raw message