Giter VIP home page Giter VIP logo

magento-sass's Introduction

Salut, I'm Laurent Clouet

Director of Engineering at Westwing
I'm ๐Ÿ‡ซ๐Ÿ‡ท working for a ๐Ÿ‡ฉ๐Ÿ‡ช/๐Ÿ‡ต๐Ÿ‡ฑ company.

Top Langs

Linkedin Badge Twitter Badge My Badge

magento-sass's People

Contributors

laurent35240 avatar sergeycherepanov avatar vinai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

magento-sass's Issues

Incomplete css

Hi, I installed the extension and I have uploaded my scss file.
I see that in the new generated css not all the classes are there. Actually it was weird that the css was too small and indeed, i didn't compile the whole scss.
What could be happening here? any ideas of how can I solve it?

best regards,
luardo

Adding file through AddCss does not include anything

I have no idea what I'm doing wrong here, I've been fiddling with it for ages. Got some prewritten SASS thats been set up but when I try to call the file as either .css.scss or .scss the actual link href for the file on frontend goes blank. SASS and Compass has been installed on server.

option to merge scss files before compiling?

we have multiple themes for our site, and i'd like to include a common scss file that has global site vars, and then individual scss files.

is it possible to first collect all scss files in a page, and then compile them, instead of compiling each scss file individually?

css image urls has not been overwritten

The generated css file under media/sass/ directory contains the same url as it was in the skin folder. For example:

nav { background: url(../images/menu.gif); }

It should be overwritten to the absolute skin path. See the Magento CSS compressor how it works.

beforeMergeCss() in Mage_Core_Model_Design_Package

Merge CSS files

It's not working with Magento's css merging. Simply the generated css file is not part of the merged file, but it's neither included separately.

Thanks for this extension btw

Multi-site not working

When using multi-site the CSS is not always compiled with the correct store used leading to cross-domain errors when one domain uses HTTPS and one does not.

E.g. my main site (https://:www.sconch.com) is suffering repeated cross-domain errors as another store on my setup (pos.sconch.com) seems to overwrite the compiled CSS with links to http://pos.sconch.com files)

See attached screenshot.
screenshot 2016-09-13 23 10 28
screenshot 2016-09-13 23 10 35
screenshot 2016-09-13 23 10 40

Css file isn't updated when scss was changed

While developing the store, I disabled all caches and indexes.

Before Sass module, this resulted in quick workflow:

  • change css
  • refresh the browser to see the result

But with Sass module, changing scss doesn't result in css file refresh.
I have to manually flush Magento cache or delete css file.

How can I make it update for every change?

Magento 1.9.1

PHP 7

Has anyone got this working with PHP 7?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.