Questions tagged [libsass]

Libsass is a SASS pre-processing language for CSS compiled in C instead of Ruby. It allows you to write cleaner style-sheets and makes collaboration on your CSS a breeze. Libsass is know faster, but its development is a bit delayed.

Sass is a pre-processing language for CSS. It allows you to write cleaner style-sheets and makes collaboration on your CSS a breeze.

131 questions
2
votes
0 answers

I got an error during deploying my Django application in redhat Openshift

I have an application written in python using Django framework. I created proper requirements.txt (packages for the django application), and it works well in local machine. When i deployed (pushed to Openshift) this application, console gives an…
Navajyoth M S
  • 426
  • 3
  • 11
2
votes
1 answer

Compiling libsass in Docker container

So I have the following Dockerfile: ############################################################ # Based on Ubuntu ############################################################ FROM ubuntu:trusty MAINTAINER OTIS WRIGHT # Add extra software…
Otis Wright
  • 1,980
  • 8
  • 31
  • 53
2
votes
1 answer

Gulp sass (libsass) extremely slow when using return

I'm new to Gulp (and not very comfortable with js). When I use gulp.task('sass', function () { gulp .src('myfile.scss') .pipe(sourcemaps.init()) .pipe(sass(myoptions)) .pipe(sourcemaps.write('./')) .pipe(gulp.dest('mypath')) …
Chuck Norris
  • 1,125
  • 1
  • 12
  • 28
2
votes
2 answers

sassc-rails assets changes not being compiled

I am trying to convert from sass-rails to sassc-rails. I am using rails 4.2.2. When I use sassc-rails, changes to my scss files are not being reflected in the view, even if I stop and restart the server (I have turned off spring). If I stop the…
Obromios
  • 15,408
  • 15
  • 72
  • 127
2
votes
0 answers

Sass/SCSS: Overwrite and only render the overwritten props

In SCSS, this ... body { color: red; font-size: 1em; } body { color: blue; } ... will be compiled into the exact same code: body { color: red; font-size: 1em; } body { color: blue; } However, is it possible to render the values of overwritten…
headacheCoder
  • 4,503
  • 8
  • 30
  • 33
2
votes
1 answer

Dart libsass compiles correctly but will not run

I've follow the instructions for dart libsass at: https://github.com/oddrationale/dart_libsass The compile step completes correctly. However - when i try and execute sassd.dart i get the following: dart bin/sassd.dart…
Jack Murphy
  • 2,952
  • 1
  • 30
  • 49
2
votes
0 answers

django_libsass failed to install in openshift

django_libsass package is failed to install in openshift and the error is given below.Any solution for this ? error: command 'gcc' failed with exit status 1
Navajyoth M S
  • 426
  • 3
  • 11
2
votes
1 answer

webpack sass-loader doesnt recognize scss method

"name": "sass-loader", "version": "2.0.1", "description": "Sass loader for webpack" sass-loader doesn't compile scss built in method - selector-parse…
yaara4
  • 304
  • 3
  • 8
2
votes
0 answers

Cannot Import Bootstrap SASS in Visual Studio 2015

The Situation I'm working on a website on a remote server using FTP in Visual Studio 2015 (with Web Compiler and Web Essentials), and I cannot figure out how to import _bootstrap.scss to my own .scss file. My files on the remote server are set up…
2
votes
0 answers

How do I do base64 encoding in LibSass?

I have a bunch of SVGs that get color and parameter adaptations in Sass and then when called to be background-image. That's done using something like: this @function(@params) dostuff.. @return url('data:image/svg+xml;base64,'+…
Sailor
  • 91
  • 5
2
votes
2 answers

Sass/Scss - Rounding down with decimal places

I have the following Sass rule: $multiplier: 1/3*100; .ratio_1x0-5{ padding-bottom: 0.5%*$multiplier; } Which outputs the following css: .ratio_1x0-5{ padding-bottom: 16.6666666667% } Instead - I need this rule to be the following (the…
calumbrodie
  • 4,722
  • 5
  • 35
  • 63
2
votes
1 answer

SASS Invalid top level expression on @-ms-keyframes

I have a basic scss file that contains (among other things) this: @keyframes fade{ 0% { opacity: 0; } 100% { opacity: 1; } } @-moz-keyframes fade{ 0% { opacity: 0; } 100% { opacity: 1; } } @-webkit-keyframes fade{ 0% {…
Jake Wilson
  • 88,616
  • 93
  • 252
  • 370
2
votes
0 answers

Debugging libsass segfault in Ember app

I took a working project under Ember CLI 0.1.15 and pushed it to 0.2.2 and started getting a segmentation fault. By installing node-segfault-handler I was able to get some visibility into what was going on but not being very adept at reading these…
ken
  • 8,763
  • 11
  • 72
  • 133
2
votes
2 answers

Problems with grunt-sass-globbing plug-in structure

I'm attempting to use Dennis Becker's grunt-sass-globbing plug-in with libsass since libsass doesn't support sass-globbing. https://github.com/DennisBecker/grunt-sass-globbing I've tried setting up a libsass project using the documentation that the…
dlahay
  • 31
  • 4
2
votes
1 answer

How to execute a CLI program (libsass sassc) with Gulp.js -> create a stream, capture stdout and stderr

This is a setup for running the libsass "sassc" binary directly (shown below) using Gulp.js, for which I am currently using the plugin gulp-run. This was after much tinkering, as I'm not a node or gulp expert at all, and it still has a few…
lunelson
  • 561
  • 6
  • 11
1 2
3
8 9