• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

less

  1. CMTV

    XF 2.0 LESS "when" is not working

    I have created my custom style variable questionthreads_isStylingBestAnswerUserBg. It has Boolean value type. It is set to true. Now in my LESS template I have this code: .container when (@xf-questionthreads_isStylingBestAnswerUserBg = true) { background: #000; } The problem is that this...
  2. katsulynx

    XF 2.0 Custom Style Properties

    Anyone can tell me how to bring the custom css style properties into a .less-template? I've scanned through various of the templates, but I'm still as clueless as from the beginning, tried @Name, @_name, but the less-compiler keeps throwing Unexpected input in anonymous-file [...].
  3. CyberAP

    Dynamic Avatar Styling 1.0.0

    This add-on lets you customize how default avatars should look like. By default it only adds a complimentary gradient, which can be changed in Style Properties → Avatars → Dynamic avatar gradient color function. If you want to further expand on customizations feel free to edit Avatar public...
  4. CyberAP

    Lack of interest XF 2 → Invoke LESS functions inside regular templates

    In XF 1.x.x we have built-in functions to do some operations with properties you'd expect only to be in CSS templates. For example: {xen:helper rgba ''}. It converts a color to an RGBA format. You can invoke these functions in any template. With XF 2 we get LESS, which has a lot of similar...