less

Open a file in Visual Studio's CSS Source Editor

I am using Phil Haack's T4CSS T4 template based on .less One bad thing about Phil's solution is that visual studio opens the .less files as plain text files rather than as css files. (Thus no intellisense.) How can I get VS to open a .less file in the CSS Source Editor? I've tried: Right Click > Open With, but the CSS Source Editor ...

arrow keys stop working for less

Sometimes, when I am using less within a screen tab, the arrow keys display ^[OA, ^[OB, ^[OC, and ^[OD instead of doing what I want them to do. Is there something I can do to fix this and gain control of less again? ...

Pipe less to emacs

When viewing piped output to Less, sometimes I'd like to be able to view it in Emacs in order to get syntax highlighting and use emacs commands for searching, marking, copying, etc. I see that Less has a v command that can be used to open the currently viewed file in $EDITOR. Unfortunately this doesn't work when viewing piped input. A...

Is there a JavaScript implementation of LESS for CSS?

I have a need to do variable substitution at least in CSS from JavaScript (let's ignore whether that's client or server side for the moment). Ideally, I'd use the LESS syntax which offers more features than just variable substitution. Has anyone found a JS implementation of LESS? ...

CSS compilers and converting IE hacks to conditional css

Skip to bottom for question, but first, a little context. So I have been looking into CSS compilers (like Sass & Less) for a while, and have been really interested in them, not because they help me understand anything easier (I've been doing css for a couple of years now) but rather they cut down on cruft and help me see things easier. ...

Use any CSS compiler (Sass, Less) to generate the selector

So I've recently been playing around with CSS compilers, but I have no idea how (or if it's possible) to dynamically generate pieces of a selector. For instance, let's say I wanted to make mixins to get display: inline-block; to work cross browser. I would have to do the styles, yeah, but I would have to do the IE6/7 selector hacks ...

Can I get Visual Studio to provide Intellisense and syntax coloring for Less Css ?

I am experimenting with Less Css, and I am using Visual Studio 2010. It would be nice if the editor provided support for syntax highlighting and Intellisense for Less, for instance coloring and suggesting variables. What are my options to get that to work ? Do I need to write a plugin for it, or how would one go about adding this to VS ...

Ruby LESS gem equivalent in Python

The Ruby LESS gem looks awesome - and I am working on a Python/Pylons web project where it would be highly useful. CSS is, as someone we're all familiar with recently wrote about, clunky in some important ways. So I'd like to make it easier on myself. Is there an existing Python module or library that provides parallel functionality? ...

Equivalent to unix "less" command within R console

Is there an equivalent to the unix less command that can be used within the R console? ...

How to output one screen at a time in perl

When executing a perl script from the command line how can I ensure that my output doesn't scroll off the screen? In others words, how do I mimic the functionality of the unix "more" or "less" commands? ...

LESS CSS on Windows

Trying to set up LESS for css (see http://lesscss.org/index.html) on my Windows box, and I've installed ruby and rubygems and I've followed the instructions here (http://lesscss.org/docs) exactly. I have a file 'teststyle.less' in C:\ and in command when I type lessc teststyle.less to compile into a .css file, I get the error "The f...

Nodes set of the same type with if-test. Make it less.

How to make the code more beautiful (compact)? <xsl:template match="part"> <table class="part"> <xsl:if test="name != ''"> <tr> <td>Название</td><td><xsl:value-of select="name"/></td> </tr> </xsl:if> <xsl:if test="model != ''"> <tr> <td>Модел...

How to make .less files to have .css syntax highlight in Vim?

I've been using LESS and I find it very useful I would like to have CSS syntax highlight in Vim with all .less files. Any suggestions? ...

Is there a way of showing LESS CSS code (.less) in Firebug?

I've been using LESS CSS and I find it great. The only drawback is that the code is not shown on firebug's inspector. IS there a way of dealing with this problem? ...

Enabling --watch in LESS (Less CSS) makes Vim display read-only warning in the current .less file.

Everytime I enable --watch: lessc style.less --watch Vim displays the following message every time I try to save something in the style.less file: E505 "...style.less is read-only" (add ! to override) So everytime I want to save the file I have to type :w! Any suggestions to eliminate the read-only? ...

Do you recommend against javascript based LESS?

After I watched this NetTUTs video, I'm very interested in trying out the LESS.js method shown. Other than the obvious, "What if the user doesn't have javascript enabled?", or "There's going to be a small performance hit"... is there a reason this cannot be used in production? LESS essentially looks like what CSS should be... ...

LESS or SASS (SCSS) when doing non-ruby projects?

I'm working on a Python-based project. I want to use some CSS preprocessor language which is based on CSS like LESS or Sass (SCSS), but which one should I use when doing a non-Ruby project? Sass seem to have a more features, but it is also tightly integrated with Haml package (and rails?). Are those features worth it? Are both mature...

Load less.js rules dynamically

Hi, I'm looking at using less.js (looks great), but our site requires that some styles be loaded dynamically after initial page load. It seems, however, that all LESS stylesheets must be loaded prior to the less.js script load. i.e. this works <link rel="stylesheet/less" href="/static/less/style.less"/> <script src="http://lesscss.goo...

Add syntax highlighting to .less-files in NetBeans

Hello! I want to have files with a .less extension use the CSS syntax highlighting in NetBeans, and I don't have any clue how to do this. I found a rather time consuming way to do this (http://netbeans.dzone.com/tips/quickstart-guide-language-supp), but it hit me that it must be easier way to do this. Anyone knows? ...

less.js lazy sheet load

I'm wondering if there is a way to load a single less sheet sometime after a page load. This question has an answer that explains how to reload all the sheets, but for my use-case existing sheets never have dependencies on newly loaded sheets, and it would be good to just add the sheet lazily. I'm thinking something like less.sheets.pu...