Giter Site home page Giter Site logo

compass-960-plugin's People

Contributors

chriseppstein avatar elliottcable avatar gabrielmansour avatar jlecour avatar nextmat avatar rmm5t avatar shpakvel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar

compass-960-plugin's Issues

@import compass/utilities/general/reset.sass throwing an error

Same as a previous error, that line isn't happy.

File to import not found or unreadable: compass/utilities/general/reset.sass.

Any idea what could cause that? Sorry if I haven't included useful information, what would you like?

Rails 2.3.4 using haml 2.2.20, compass 0.8.17 and the compass-960-plugin

Option --using doesn't exist

The readme (and then github's project homepage) recommend to run compass using the '--using' parameter, but it doesn't exist in latest stable compass version. Any update on the docs?

Here's a run's output for you to evaluate.

$ gem list compass

*** LOCAL GEMS ***

compass (0.8.17)
compass-960-plugin (0.9.11)
$ compass create -r ninesixty my_project --using 960
/home/diego/.rvm/rubies/ree-1.8.7-2010.01/lib/ruby/1.8/optparse.rb:1450:in `complete': invalid option: --using (OptionParser::InvalidOption)

.clear/.clearfix missing?

There's some clearing code that is included in the 960 css files that I can't seem to find in the sass files in this plugin. Is it tucked in a partial somewhere or was it left out?

sc

Compass 960 plugin require blows out when used with Middleman

I posted this on the (Middleman)[http://github.com/tdreyno/middleman] but I think its the compass-960-plugin that is giving the dependency error with compass versions.

I've setup the mm project and its working.
By default its using compass with blueprint.
But I tried to use compass-960-plugin by requiring it in top of init.rb as require 'ninesixty'
Now when I start the mm-server, it blows up with dependency runtime problem.
How can I fix this?

    ree-1.8.7-2010.02@middleman [~/staticsites/middleman-demo (master)] ➔ mm-server 
    /Users/millisami/.rvm/gems/ree-1.8.7-2010.02@middleman/gems/middleman-0.13.1/bin/../lib/middleman/base.rb:163: /Users/millisami/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems.rb:233:in `activate': can't activate compass (>= 0.10.0, runtime) for ["compass-960-plugin-0.10.0.beta.0"], already activated compass-0.10.0.pre5 for [] (Gem::LoadError)
        from /Users/millisami/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems.rb:249:in `activate'
        from /Users/millisami/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems.rb:248:in `each'
        from /Users/millisami/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems.rb:248:in `activate'
        from /Users/millisami/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:35:in `require'
        from (eval):2
        from /Users/millisami/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from /Users/millisami/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from /Users/millisami/.rvm/gems/ree-1.8.7-2010.02@middleman/gems/middleman-0.13.1/bin/../lib/middleman.rb:5
        from /Users/millisami/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from /Users/millisami/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from /Users/millisami/.rvm/gems/ree-1.8.7-2010.02@middleman/gems/middleman-0.13.1/bin/mm-server:23
        from /Users/millisami/.rvm/gems/ree-1.8.7-2010.02@middleman/bin/mm-server:19:in `load'
        from /Users/millisami/.rvm/gems/ree-1.8.7-2010.02@middleman/bin/mm-server:19
    ree-1.8.7-2010.02@middleman [~/staticsites/middleman-demo (master)⚡] ➔ 

MM gem's dependency is s.add_dependency(%q<compass>, [">= 0.10.0.rc3"]) and 960-plugin's is s.add_dependency(%q<compass>, [">= 0.10.0"]). I think you should update the gemspec file, I might be wrong coz I don't hav much experience with ruby!

Is there a mixin for the 960 text reset?

Firstly, thanks for providing this plugin ;-) I'm refactoring a php app to use compass and sass. Is there a mixin to use the 960 resets? You seem to be using the default compass reset in the wiki. Offering the scss syntax in the docs would be useful too!

Alpha, Omega

Alpha & Omega mixins only remove left or right margin and they do not add left or right margin width to column width.

is this correct? @import compass/utilities/general/reset.sass

This throws an error for me

@import compass/utilities/general/reset.sass
+global-reset

However this works fine

@import compass/reset.sass
+global-reset

I'm using 0.9.7 and compass 0.8.10

Here is the error
Fri Aug 21 21:50:41 -0700 2009: Read error: #<Sass::SyntaxError: File to import not found or unreadable: compass/utilities/general/reset.sass.>

Provide option to use "grid-1" naming style instead of "grid_1"

grid-system() creates class names with "_". I want to use "-" instead. It would great if the separator character string is configurable so I can conform to our naming convention. To be clear, I want instead of:

.grid_1, grid_2,,,,,,.prefix_1, .prefix_2

to be:

.grid-1, grid-2,,,,,,.prefix-1, .prefix-2

Releasing gem

Can't find this gem on gemcutter. Are you planning to publish the gem?

Error when using +grid-system(n) mixin

I'm using Compass and the 960 plugin in a Staticmatic project and I get the following error if I try to use the +grid-system(16) mixin:

Fri Sep 25 16:03:56 +1000 2009: Read error: #<NoMethodError: private method `gsub' called for nil:NilClass>
(haml):17:in `render'

Doesn't happen with any of the other grid-mixins, just the container definition. Any ideas or is it likely a Staticmatic conflict of some sort?

Cheers,
Max

no such file to load -- ninesixty (LoadError)

after installing the plugin I get the error...

.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require': no such file to load -- ninesixty (LoadError)

require "ninesixty" is in config/compass.rb
gem "compass", ">= 0.10.6" is in my gemfile
rails 3.0.3

feature request: add pull, push classes

=grid-push(!n, !cols = !ninesixty_columns)
:left= (!ninesixty_grid_width / !cols) * !n

=grid-pushs(!cols = !ninesixty_columns)
@for !n from 1 through !cols - 1
.push_#{!n}
+grid-push(!n, !cols)

=grid-pull(!n, !cols = !ninesixty_columns)
:left= -(!ninesixty_grid_width / !cols) * !n

=grid-pulls(!cols = !ninesixty_columns)
@for !n from 1 through !cols - 1
.pull_#{!n}
+grid-pull(!n, !cols)

Wrong Variable Format on Fresh Compass Project

I just started using compass and noticed the following issue when building a project.

I issued the following command after creating a new rails project {Doesn't give me the prompt to answer any questions!}

compass init rails . --syntax sass --using 960

All my directories get setup and everything compiles fine. I see no errors but when i go into grid.sass the following line gives an error when viewing a default template.

!ninesixty-columns = 16

Now i maybe a newbie but changing the variable to the following works fine.

$ninesixty-columns: 16

I just thought that once setup it should work out of the box fine with no changes to the variables.

Thanks and I really appreciate the plugin it allows beginning developers a chance to start off on the right root.
Oh and if possible can you implement support for 960.gs right out of the box just like blueprint.

reset.css of 960gs

Compass gem doesn't have good reset.css file applying reset for html 5 elements which contains in grid.sass. May be it possible to include reset.css of default 960-grid-system distribution?

invalid property value

When using the 24 grid system, it generates invalid property values in the CSS for the grids:
.container_24 .grid_1,..., .container_24 .grid_24 {
display: inline;
float: left;
margin-left: 5;
margin-right: 5;
}

Missing the px units.

problem installing

i tried with the instructions provided but i couldn't install.

Instead using the command:

sudo gem install chriseppstein-compass --source=http://gems.github.com/

i had no problem!

no such file to load -- ninesixty

I see that other people have had this issue on ubuntu, but I haven't seen a clear way to resolve it.

Basically, when I run compass watch, it throws back a fun error message:
LoadError on line 105 of /usr/lib/ruby/1.8/compass/configuration/data.rb: no such file to load -- ninesixty
Run with --trace to see the full backtrace

So, if anyone has any suggestions on how to magically get 960 to work in my environment, I would be eternally grateful.

pgorley@gut1:/var/www/wgu$ ruby -v
ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]

pgorley@gut1:/var/www/wgu$ gem -v
1.3.7

pgorley@gut1:/var/www/wgu$ compass version
Compass 0.10.6
Copyright (c) 2008-2009 Chris Eppstein
Released under the MIT License.

pgorley@gut1:/var/www/wgu$ cat config.rb
require 'ninesixty'

Require any additional compass plugins here.

Set this to the root of your project when deployed:

http_path = "/"
css_dir = "css"
sass_dir = "src"
images_dir = "images"
javascripts_dir = "js"

To enable relative paths to assets via compass helper functions. Uncomment:

relative_assets = true

pgorley@gut1:/var/www/wgu$ compass --list frameworks
WARNING: This interface is deprecated. Please use the new subcommand interface.
See compass help for more information.

Available Frameworks & Patterns:

  • blueprint
    • blueprint/semantic - The blueprint framework for use with semantic markup.
    • blueprint/link_icons - Icons for common types of links
    • blueprint/basic - A basic blueprint install that mimics the actual blueprint css.
    • blueprint/buttons - Button Plugin
    • blueprint/project - The blueprint framework.
  • compass
    • compass/ellipsis - Plugin for cross-browser ellipsis truncated text.
    • compass/extension - Generate a compass extension.
    • compass/project - The default project layout.

Cheers!

Ubuntu Oneiric nonfunctional 960 plugin

I'm keen to use the plugin, but it doesn't appear to work on Oneiric.

I have:

  • Compass 0.11.5 (Antares)
  • Ruby 1.8.7
  • Gem 1.7.2
  • Compass-960-plugin 0.10.4

Available Frameworks & Patterns:

* blueprint
    - blueprint/project    - The blueprint framework.
    - blueprint/basic      - A basic blueprint install that mimics the actual blueprint css.
    - blueprint/semantic   - The blueprint framework for use with semantic markup.
    - blueprint/buttons    - Button Plugin
    - blueprint/link_icons - Icons for common types of links
* compass
    - compass/project      - The default project layout.
    - compass/ellipsis     - Plugin for cross-browser ellipsis truncated text.
    - compass/extension    - Generate a compass extension.
    - compass/pie          - Integration with http://css3pie.com/
* 960
    - 960/project          - The 960 Grid System.

In the config.rb I have

require 'ninesixty'

And in the top of my page.scss I have

@import 'compass/reset';
@import '960/grid';

However, whilst it imports the reset correctly, the grid is never loaded and no grid-related content is included in page.css. There are no outputted error messages. Why is this the case?

I realise I may have found the issue, does one also require:

.container_12 {
    @include grid-system(12); }

To make the system work?
Thanks

J

Where is clearfix??

I used this extention in my new project. Very helpful.

I found there is no clearfix declation in this plugin which exists on original 960 grid css stylesheet source.
The code is as follows:

/* http://www.yuiblog.com/blog/2010/09/27/clearfix-reloaded-overflowhidden-demystified */

.clearfix:before,
.clearfix:after,
.container_12:before,
.container_12:after,
.container_16:before,
.container_16:after {
content: '.';
display: block;
overflow: hidden;
visibility: hidden;
font-size: 0;
line-height: 0;
width: 0;
height: 0;
}

.clearfix:after,
.container_12:after,
.container_16:after {
clear: both;
}

/*
The following zoom:1 rule is specifically for IE6 + IE7.
Move to separate stylesheet if invalid CSS is a problem.
*/

.clearfix,
.container_12,
.container_16 {
zoom: 1;
}

My question. Where is this clearfix in this compass-960-plugin??
How can I use this clearfix technique??

Thank you in advance.

Rails 3.1

Hey I just cant get this working with rails 3.1

Could you add a set in the readme or something to get this to work.
The error I'm getting is
File to import not found or unreadable: ninesixty/grid

my gemfile is:
gem 'compass', "~> 0.12.alpha.0"
gem 'compass-960-plugin', '>0.10.4',:require => 'ninesixty'

No such framework: "960"

hello,

i installed the plugin.
''sudo gem install compass-960-plugin
Successfully installed compass-960-plugin-0.10.0''

While command line 'compass -f blueprint test' works fine,
'rm -Rf test; compass -f 960 test' fails :
No such framework: "960"

what could be wrong ?

File to import not found or unreadable

When I try to make compass watch my project, I get the following error:

renato-carvalhos-macbook-pro-2:views renatocarvalho$ compass --watch static --trace

Compiling all stylesheets.
Sass::SyntaxError on line 80 of /opt/local/lib/ruby/gems/1.8/gems/haml-edge-2.1.24/lib/sass/files.rb: File to import not found or unreadable: 960/grid.sass.
/opt/local/lib/ruby/gems/1.8/gems/haml-edge-2.1.24/lib/sass/plugin.rb:204:in dependencies' /opt/local/lib/ruby/gems/1.8/gems/haml-edge-2.1.24/lib/sass/plugin.rb:203:inmap'
/opt/local/lib/ruby/gems/1.8/gems/haml-edge-2.1.24/lib/sass/plugin.rb:203:in dependencies' /opt/local/lib/ruby/gems/1.8/gems/haml-edge-2.1.24/lib/sass/plugin.rb:202:inmap'
/opt/local/lib/ruby/gems/1.8/gems/haml-edge-2.1.24/lib/sass/plugin.rb:202:in dependencies' /opt/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.6.15/lib/sass_extensions.rb:62:inexact_stylesheet_needs_update?'
/opt/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.6.15/lib/compass/actions.rb:60:in compile' /opt/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.6.15/lib/compass/compiler.rb:38:inrun'
/opt/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.6.15/lib/compass/compiler.rb:37:in each' /opt/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.6.15/lib/compass/compiler.rb:37:inrun'
/opt/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.6.15/lib/compass/commands/update_project.rb:19:in perform' /opt/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.6.15/lib/compass/commands/watch_project.rb:14:inperform'
/opt/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.6.15/lib/compass/commands/base.rb:15:in execute' /opt/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.6.15/lib/compass/commands/project_base.rb:19:inexecute'
/opt/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.6.15/lib/compass/exec.rb:197:in do_command' /opt/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.6.15/lib/compass/exec.rb:57:inperform!'
/opt/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.6.15/lib/compass/exec.rb:40:in run!' /opt/local/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.6.15/bin/compass:8 /opt/local/bin/compass:19:inload'
/opt/local/bin/compass:19

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.