Module: Compass::Configuration::Defaults

Defined in:
lib/resgrid.rb

Instance Method Summary collapse

Instance Method Details

#default_gridObject



22
23
24
25
26
27
28
29
30
31
# File 'lib/resgrid.rb', line 22

def default_grid
    {
        :measure => :px,
        :columns => 12,
        :type => :static,
        :width => "100%",
        :min => nil,
        :max => nil,
    }
end

#default_resolutionsObject



33
34
35
36
37
38
39
40
41
# File 'lib/resgrid.rb', line 33

def default_resolutions
    {
        :tiny => { :max => 480, :type => :fluid },
        :small => { :min => 481, :max => 767, :type => :fluid },
        :medium => { :min => 768, :max => 979, :width => 740 },
        :large => { :min => 980, :max => 1199, :width => 960 },
        :huge => { :min => 1200, :width => 1170 }
    }
end