sass
How can I access Rails objects in Sass?
In a Rails 3.1.0 project, I have Companies with a few customizable attributes like background_color and link_color. I want to be able to set some Sass variables like so:[详细]
2023-04-05 01:48 分类:问答Alpha Compositing Algorithm (Blend Modes)
I\'m trying to implement blend modes from the PDF specification, for my own pleasure, in SASS. PDF Specification:[详细]
2023-04-05 00:42 分类:问答Use Rails 3.1 Asset Paths in a SCSS Partial
I have the following setup: app/assets/stylesheets/application.css.scss /* *= require_self *= require fancybox[详细]
2023-04-04 22:41 分类:问答Modifying SASS output
SASS prints css comments in a new line by default. There doesn\'t exist a option as far as I know that allows comments to appended to the line.[详细]
2023-04-04 18:53 分类:问答SASS, Rails 3.1: Loading stylesheets in vendor/assets
I\'m using SASS to load stylesheets in a Rails 3.1(sass-rails 3.1) app. For example, sass partials in app/assets/stylesheets are loaded using @import in application.sass -[详细]
2023-04-03 19:45 分类:问答Precompiling a .scss manifest file using Rails 3.1's asset pipeline
The release version of Rails 3.1 is having some weird issues with precompiling a sass manifest file with the extension scss. The weird thing is that the default manifest file application.scss compiles[详细]
2023-04-03 17:20 分类:问答Sass and combined child selector
I\'ve just discovered Sass, and I\'ve been so excited about it. In my website I imp开发者_运维技巧lement a tree-like navigation menu, styled using the child combinator (E > F).[详细]
2023-04-03 16:51 分类:问答Rails 3.1 SASS asset helpers not not including RAILS_RELATIVE_URL_ROOT / relative_url_root
I have been working on an upgrade to Rails 3.1 from 2.3.11. One of the main hurdles to clear is the conversion to the asset pipeline. In this process I decided to convert my css to sass (scss). In rai[详细]
2023-04-03 15:48 分类:问答Is there a valid Gemfile for Rails 3.1 together with Scss, Haml, Compass and HTML-Boilerplate in production mode?
I have a successful Rails 3.0.x project with the following subset of Gems in the Gemfile: gem \"compass\"[详细]
2023-04-03 15:23 分类:问答How to include SASS files and CSS files into version repository and developement cycle
I have a project that uses Subversion as versioning tool and a remote host for deploy working 开发者_JAVA技巧code (live stage is smth different). I use sass files to generate css files. My question is[详细]
2023-04-03 13:41 分类:问答