compass-sass

Sass / Compass Font Awesome issues (displaying odd glyphs instead of icons?)

会有一股神秘感。 提交于 2020-02-21 12:55:52
问题 Sass 3.4.9 Compass 1.0.1 Font Awesome 4.2 I'm compiling Font Awesome 4.2 (as Sass) with Compass. Instead of intended icons, I get random glpyhs. I'm new to Sass/Compass. This is also my first post ever on StackOverflow (so cool, but I hope I'm asking my question right and what not!). I've googled and searched here until my stack overflowed to no avail. Cannot seem to find anyone else with this same problem. Directory structure: [public_html] ../config.rb ..[assets] ....[fonts] ......

sass-rails asset pipeline: generating image paths incorrectly; `url(/images/blah.png)` instead of `url(/assets/blah.png)`

折月煮酒 提交于 2020-02-13 04:15:12
问题 In section 2.2.2, "CSS and Sass", I'm told to put image-url('delete.png') in my sass. And so I have. However, it is generating CSS like background-image: url(/images/delete.png) instead of the thing that I'm told everywhere it should be generating, the correct and obvious thing, background-image: url(/assets/delete.png) What. The heck. I have spent literal days trying to figure out where this is coming from. Here's a gist of relevant settings that are resulting in this behavior. Here's a gist

compass sprite is not working in ie8 and ie7

大城市里の小女人 提交于 2020-02-06 07:54:12
问题 I am using compass to make image sprites. It successfully works on modern browser but its not working in ie 8 and ie7. I am really new to compass I just used some simple mixin to display the sprite. @include spr-sprite("arrow-step"); height:30px; width:30px; Is there anything am missing with it. Thanks in advance for the repliers. 回答1: Oh god. I was using sprite under the selectors like h1:not(#foo) which is not supported in ie 8 and ie 7. Its solved. 来源: https://stackoverflow.com/questions

Why don't my floats in my Singularity grid fill all the columns?

喜你入骨 提交于 2020-02-05 08:14:18
问题 Here is the SassMeister. It's a four column sub-layout with floated menu items and i'd like them to fill the columns, but instead they cluster in the first three because the margins are too big. http://sassmeister.com/gist/b45986bb5bcbc464b3aa Any insights into why this might be happening? 回答1: Wow, that's some messy Drupal markup! You should've cleaned it up and post a reduced demo of your problem rather than just copy-pasting all the mess. The float-span mixin sets a right margin for an

Errno::ECONNREFUSED No connection could be made because

可紊 提交于 2020-01-24 14:26:51
问题 I'm having trouble installing ruby gems. When I run gem install compass I get the following error ERROR: Could not find a valid gem 'compass' (>= 0), here is why: Unable to download data from https://rubygems.org/ - no such name (https://rubygems.org/latest_specs.4.8.gz) Having tried to find the answer to this particular problem I can to the conclusion (with the help of google) that the fact I'm behind a corporate proxy is blocking the connection to Rubygems.org So with a bit more googling I

Errno::ECONNREFUSED No connection could be made because

血红的双手。 提交于 2020-01-24 14:23:08
问题 I'm having trouble installing ruby gems. When I run gem install compass I get the following error ERROR: Could not find a valid gem 'compass' (>= 0), here is why: Unable to download data from https://rubygems.org/ - no such name (https://rubygems.org/latest_specs.4.8.gz) Having tried to find the answer to this particular problem I can to the conclusion (with the help of google) that the fact I'm behind a corporate proxy is blocking the connection to Rubygems.org So with a bit more googling I

Errno::ECONNREFUSED No connection could be made because

大憨熊 提交于 2020-01-24 14:22:59
问题 I'm having trouble installing ruby gems. When I run gem install compass I get the following error ERROR: Could not find a valid gem 'compass' (>= 0), here is why: Unable to download data from https://rubygems.org/ - no such name (https://rubygems.org/latest_specs.4.8.gz) Having tried to find the answer to this particular problem I can to the conclusion (with the help of google) that the fact I'm behind a corporate proxy is blocking the connection to Rubygems.org So with a bit more googling I

@import “foundation”; error in foundation5

淺唱寂寞╮ 提交于 2020-01-24 05:30:32
问题 i am using foundation5 for my project and done all settings as defined in its site and also in http://thesassway.com1 but when i am importing using @import "foundation"; or @import "foundation/components/topbar"; i am getting following error error sass/screen.scss (Line 7: File to import not found or unreadable: foundation. Load paths: /media/oem/Python/Self programs/mycache/mycache/templates/mycss/sass /usr/share/compass/frameworks/blueprint/stylesheets /usr/share/compass/frameworks/compass

Sass, Compass, compile all CSS file to one [duplicate]

大憨熊 提交于 2020-01-20 03:25:07
问题 This question already has answers here : Import regular CSS file in SCSS file? (13 answers) Closed 4 years ago . Now, while I am developing my project I have three files, "main.css", "about.css" and "news.css" (for example). Is it possible to compile them into one "final.css" for production? 回答1: The SASS import directive is used to import the contents of one file into another, so you could create a file final.scss whose contents are: @import 'main'; @import 'about'; @import 'news'; You'd

IE9 border-radius and background gradient bleeding

时光毁灭记忆、已成空白 提交于 2020-01-18 05:46:52
问题 IE9 is apparently able to handle rounded corners by using the CSS3 standard definition of border-radius . What about support for border radius and background gradient? Yes IE9 is to support them both separately, but if you mix the two the gradient bleeds out of the rounded corner. I am also seeing strangeness with shadows showing as a solid black line under a box with rounded corners. Here are the images shown in IE9: How can I work around this problem? 回答1: Here's one solution that adds a