compass 0.10.5 → 0.10.6.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +2 -2
- data/examples/compass/bootstrap.rb +2 -1
- data/examples/susy/bootstrap.rb +1 -1
- data/features/command_line.feature +1 -0
- data/frameworks/blueprint/stylesheets/blueprint/_fancy-type.scss +23 -22
- data/frameworks/blueprint/templates/project/partials/_base.sass +1 -1
- data/frameworks/blueprint/templates/semantic/partials/_base.sass +4 -4
- data/frameworks/compass/stylesheets/compass/_support.scss +25 -0
- data/frameworks/compass/stylesheets/compass/css3/_font-face.scss +1 -0
- data/frameworks/compass/stylesheets/compass/css3/_gradient.scss +2 -2
- data/frameworks/compass/stylesheets/compass/css3/_inline-block.scss +6 -2
- data/frameworks/compass/stylesheets/compass/css3/_shared.scss +1 -10
- data/frameworks/compass/stylesheets/compass/reset/_utilities.scss +3 -1
- data/frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss +25 -14
- data/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss +12 -7
- data/lib/compass/app_integration/rails/installer.rb +2 -2
- data/lib/compass/commands/create_project.rb +1 -1
- data/lib/compass/commands/imports.rb +6 -0
- data/lib/compass/commands/unpack_extension.rb +3 -0
- data/lib/compass/configuration/data.rb +11 -1
- data/lib/compass/exec/helpers.rb +4 -2
- data/lib/compass/exec/switch_ui.rb +5 -0
- data/test/fixtures/stylesheets/compass/css/box.css +1 -0
- data/test/fixtures/stylesheets/compass/css/fonts.css +1 -0
- data/test/fixtures/stylesheets/compass/css/gradients.css +1 -0
- data/test/fixtures/stylesheets/compass/css/lists.css +21 -6
- data/test/fixtures/stylesheets/compass/sass/lists.scss +1 -0
- data/test/fixtures/stylesheets/image_urls/config.rb +3 -1
- data/test/fixtures/stylesheets/image_urls/css/screen.css +1 -1
- metadata +14 -9
data/VERSION.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
1
|
require File.join(File.dirname(__FILE__), '..', 'downloader')
|
2
2
|
|
3
|
-
install_from_github('chriseppstein', 'yui-compass-plugin', 'yui')
|
3
|
+
install_from_github('chriseppstein', 'yui-compass-plugin', 'yui')
|
4
|
+
install_from_github('chriseppstein', 'Compass-Layouts', 'compass-layouts')
|
data/examples/susy/bootstrap.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
@import "typography";
|
2
2
|
|
3
3
|
$alternate-text-font : "Warnock Pro", "Goudy Old Style", "Palatino", "Book Antiqua", Georgia, serif !default;
|
4
|
-
// To install the fancy type plugin:
|
5
|
-
// 1. import the fancy_type module: @import blueprint/fancy_type
|
6
|
-
// 2. mixin +fancy-type to your project's body or at the top level of your stylesheet:
|
7
|
-
// body
|
8
|
-
// +fancy-type
|
9
4
|
|
5
|
+
// To install the fancy type plugin:
|
6
|
+
//
|
7
|
+
// 1. Import the fancy_type module: `@import "blueprint/fancy_type"`
|
8
|
+
// 2. Mix in `fancy-type` to your project's body or at the top level of your stylesheet:<br>
|
9
|
+
// `body { @include fancy-type; }`
|
10
10
|
@mixin fancy-type {
|
11
11
|
@include fancy-paragraphs;
|
12
12
|
.caps { @include caps; }
|
@@ -14,16 +14,8 @@ $alternate-text-font : "Warnock Pro", "Goudy Old Style", "Palatino", "Book Antiq
|
|
14
14
|
.alt { @include alt; }
|
15
15
|
}
|
16
16
|
|
17
|
-
// Indentation instead of line shifts for sibling paragraphs. Mixin to a style like p + p
|
18
|
-
@mixin sibling-indentation {
|
19
|
-
text-indent: 2em;
|
20
|
-
margin-top: -1.5em;
|
21
|
-
/* Don't want this in forms. */
|
22
|
-
form & { text-indent: 0; }
|
23
|
-
}
|
24
|
-
|
25
17
|
// For great looking type, use this code instead of asdf:
|
26
|
-
//
|
18
|
+
// `<span class="alt">asdf</span>`
|
27
19
|
// Best used on prepositions and ampersands.
|
28
20
|
|
29
21
|
@mixin alt {
|
@@ -34,16 +26,15 @@ $alternate-text-font : "Warnock Pro", "Goudy Old Style", "Palatino", "Book Antiq
|
|
34
26
|
}
|
35
27
|
|
36
28
|
// For great looking quote marks in titles, replace "asdf" with:
|
37
|
-
//
|
29
|
+
// `<span class="dquo">“</span>asdf”`
|
38
30
|
// (That is, when the title starts with a quote mark).
|
39
|
-
//
|
31
|
+
// Note: you may have to change this value depending on your font size.
|
40
32
|
|
41
33
|
@mixin dquo($offset: 0.5em) {
|
42
34
|
margin-left: -$offset;
|
43
35
|
}
|
44
36
|
|
45
|
-
// Reduced size type with incremental leading
|
46
|
-
// (http://www.markboulton.co.uk/journal/comments/incremental_leading/)
|
37
|
+
// Reduced size type with [incremental leading](http://www.markboulton.co.uk/journal/comments/incremental_leading/)
|
47
38
|
//
|
48
39
|
// This could be used for side notes. For smaller type, you don't necessarily want to
|
49
40
|
// follow the 1.5x vertical rhythm -- the line-height is too much.
|
@@ -52,9 +43,9 @@ $alternate-text-font : "Warnock Pro", "Goudy Old Style", "Palatino", "Book Antiq
|
|
52
43
|
// every four lines of normal sized type, there is five lines of the sidenote. eg:
|
53
44
|
//
|
54
45
|
// Arguments:
|
55
|
-
//
|
56
|
-
//
|
57
|
-
//
|
46
|
+
// * `$font-size` - The desired font size in pixels. This will be converted to ems for you. Defaults to 10px.
|
47
|
+
// * `$base-font-size` - The base font size in pixels. Defaults to 12px
|
48
|
+
// * `$old-line-height` - The old line height. Defaults to 1.5 times the base-font-size
|
58
49
|
|
59
50
|
@mixin incr(
|
60
51
|
$font-size: 10px,
|
@@ -67,7 +58,7 @@ $alternate-text-font : "Warnock Pro", "Goudy Old Style", "Palatino", "Book Antiq
|
|
67
58
|
}
|
68
59
|
|
69
60
|
// Surround uppercase words and abbreviations with this class.
|
70
|
-
// Based on work by Jørgen Arnor Gårdsø Lom
|
61
|
+
// Based on work by [Jørgen Arnor Gårdsø Lom](http://twistedintellect.com/)
|
71
62
|
|
72
63
|
@mixin caps {
|
73
64
|
font-variant: small-caps;
|
@@ -79,8 +70,18 @@ $alternate-text-font : "Warnock Pro", "Goudy Old Style", "Palatino", "Book Antiq
|
|
79
70
|
padding: 0 2px;
|
80
71
|
}
|
81
72
|
|
73
|
+
// This mixin is automatically included when you include `fancy-type`
|
82
74
|
@mixin fancy-paragraphs {
|
83
75
|
p + p { @include sibling-indentation; }
|
84
76
|
p.incr,
|
85
77
|
.incr p { @include incr; }
|
86
78
|
}
|
79
|
+
|
80
|
+
// Indentation instead of line shifts for sibling paragraphs. Mixin to a selector like `p + p`
|
81
|
+
@mixin sibling-indentation {
|
82
|
+
text-indent: 2em;
|
83
|
+
margin-top: -1.5em;
|
84
|
+
/* Don't want this in forms. */
|
85
|
+
form & { text-indent: 0; }
|
86
|
+
}
|
87
|
+
|
@@ -6,6 +6,6 @@ $blueprint-container-size : 950px
|
|
6
6
|
$blueprint-grid-margin : 10px
|
7
7
|
|
8
8
|
// Use this to calculate the width based on the total width.
|
9
|
-
// Or you can set
|
9
|
+
// Or you can set $blueprint-grid-width to a fixed value and unset $blueprint-container-size -- it will be calculated for you.
|
10
10
|
$blueprint-grid-width: ($blueprint-container-size + $blueprint-grid-margin) / $blueprint-grid-columns - $blueprint-grid-margin
|
11
11
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
// Here is where you can define your constants for your application and to configure the blueprint framework.
|
2
2
|
// Feel free to delete these if you want keep the defaults:
|
3
3
|
|
4
|
-
$blueprint-grid-columns: 24
|
5
|
-
$blueprint-container-size: 950px
|
6
|
-
$blueprint-grid-margin: 10px
|
4
|
+
$blueprint-grid-columns : 24
|
5
|
+
$blueprint-container-size : 950px
|
6
|
+
$blueprint-grid-margin : 10px
|
7
7
|
|
8
8
|
// Use this to calculate the width based on the total width.
|
9
|
-
// Or you can set
|
9
|
+
// Or you can set $blueprint-grid-width to a fixed value and unset $blueprint-container-size -- it will be calculated for you.
|
10
10
|
$blueprint-grid-width: ($blueprint-container-size + $blueprint-grid-margin) / $blueprint-grid-columns - $blueprint-grid-margin
|
@@ -0,0 +1,25 @@
|
|
1
|
+
// Usually compass hacks apply to both ie6 & 7 -- set this to false to disable support for both.
|
2
|
+
$legacy-support-for-ie: true !default;
|
3
|
+
|
4
|
+
// Setting this to false will result in smaller output, but no support for ie6
|
5
|
+
$legacy-support-for-ie6: $legacy-support-for-ie !default;
|
6
|
+
|
7
|
+
// Setting this to false will result in smaller output, but no support for ie7
|
8
|
+
$legacy-support-for-ie7: $legacy-support-for-ie !default;
|
9
|
+
|
10
|
+
// @private
|
11
|
+
// The user can simply set $legacy-support-for-ie and 6 & 7 will be set accordingly,
|
12
|
+
// But in case the user set either of those explicitly, we need to sync the value of
|
13
|
+
// this combined variable.
|
14
|
+
$legacy-support-for-ie: $legacy-support-for-ie6 or $legacy-support-for-ie7;
|
15
|
+
|
16
|
+
// Support for mozilla in experimental css3 properties.
|
17
|
+
$experimental-support-for-mozilla : true !default;
|
18
|
+
// Support for webkit in experimental css3 properties.
|
19
|
+
$experimental-support-for-webkit : true !default;
|
20
|
+
// Support for opera in experimental css3 properties.
|
21
|
+
$experimental-support-for-opera : true !default;
|
22
|
+
// Support for microsoft in experimental css3 properties.
|
23
|
+
$experimental-support-for-microsoft : true !default;
|
24
|
+
// Support for khtml in experimental css3 properties.
|
25
|
+
$experimental-support-for-khtml : true !default;
|
@@ -44,7 +44,7 @@
|
|
44
44
|
@if $experimental-support-for-mozilla {
|
45
45
|
background-image: #{$background}-moz-linear-gradient($start, $color-stops);
|
46
46
|
}
|
47
|
-
background-image: linear-gradient($start, $color-stops);
|
47
|
+
background-image: #{$background}linear-gradient($start, $color-stops);
|
48
48
|
}
|
49
49
|
|
50
50
|
// Due to limitation's of webkit, the radial gradient mixin works best if you use
|
@@ -78,5 +78,5 @@
|
|
78
78
|
@if $experimental-support-for-mozilla {
|
79
79
|
background-image: #{$background}-moz-radial-gradient($center-position, circle, $color-stops);
|
80
80
|
}
|
81
|
-
background-image: radial-gradient($center-position, circle, $color-stops);
|
81
|
+
background-image: #{$background}radial-gradient($center-position, circle, $color-stops);
|
82
82
|
}
|
@@ -3,10 +3,14 @@
|
|
3
3
|
// Provides a cross-browser method to implement `display: inline-block;`
|
4
4
|
|
5
5
|
@mixin inline-block {
|
6
|
+
@if $legacy-support-for-ie {
|
7
|
+
& { *display: inline; }
|
8
|
+
}
|
6
9
|
display: -moz-inline-box;
|
7
10
|
-moz-box-orient: vertical;
|
8
11
|
display: inline-block;
|
9
12
|
vertical-align: middle;
|
10
|
-
|
11
|
-
|
13
|
+
@if $legacy-support-for-ie {
|
14
|
+
*vertical-align: auto;
|
15
|
+
}
|
12
16
|
}
|
@@ -1,13 +1,4 @@
|
|
1
|
-
|
2
|
-
$experimental-support-for-mozilla : true !default;
|
3
|
-
// Support for webkit in experimental css3 properties.
|
4
|
-
$experimental-support-for-webkit : true !default;
|
5
|
-
// Support for opera in experimental css3 properties.
|
6
|
-
$experimental-support-for-opera : true !default;
|
7
|
-
// Support for microsoft in experimental css3 properties.
|
8
|
-
$experimental-support-for-microsoft : true !default;
|
9
|
-
// Support for khtml in experimental css3 properties.
|
10
|
-
$experimental-support-for-khtml : true !default;
|
1
|
+
@import "compass/support";
|
11
2
|
|
12
3
|
// This mixin provides basic support for CSS3 properties and
|
13
4
|
// their corresponding experimental CSS2 properties when
|
@@ -102,9 +102,11 @@
|
|
102
102
|
|
103
103
|
// Unrecognized elements are displayed inline.
|
104
104
|
// This reset provides a basic reset for html5 elements
|
105
|
-
// so they are rendered correctly in browsers that don't recognize them
|
105
|
+
// so they are rendered correctly in browsers that don't recognize them
|
106
|
+
// and reset in browsers that have default styles for them.
|
106
107
|
@mixin reset-html5 {
|
107
108
|
article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
|
109
|
+
@include reset-box-model;
|
108
110
|
display: block; } }
|
109
111
|
|
110
112
|
// Resets the display of inline and block elements to their default display
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@import "compass/support";
|
2
|
+
|
1
3
|
// The `zoom` approach generates less CSS but does not validate.
|
2
4
|
// Set this to `block` to use the display-property to hack the
|
3
5
|
// element to gain layout.
|
@@ -7,29 +9,38 @@ $default-has-layout-approach: zoom !default;
|
|
7
9
|
// to gain the "hasLayout" property in internet explorer.
|
8
10
|
// More information on [hasLayout](http://reference.sitepoint.com/css/haslayout).
|
9
11
|
@mixin has-layout($using: $default-has-layout-approach) {
|
10
|
-
@if $
|
11
|
-
@
|
12
|
-
|
13
|
-
@
|
14
|
-
|
15
|
-
@
|
16
|
-
|
12
|
+
@if $legacy-support-for-ie {
|
13
|
+
@if $using == zoom {
|
14
|
+
@include has-layout-zoom;
|
15
|
+
} @else if $using == block {
|
16
|
+
@include has-layout-block;
|
17
|
+
} @else {
|
18
|
+
@warn "Unknown has-layout approach: #{$using}";
|
19
|
+
@include has-layout-zoom;
|
20
|
+
}
|
17
21
|
}
|
18
22
|
}
|
19
23
|
|
20
24
|
@mixin has-layout-zoom {
|
21
|
-
|
25
|
+
@if $legacy-support-for-ie {
|
26
|
+
*zoom: 1;
|
27
|
+
}
|
22
28
|
}
|
23
29
|
|
24
30
|
@mixin has-layout-block {
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
31
|
+
@if $legacy-support-for-ie {
|
32
|
+
// This makes ie6 get layout
|
33
|
+
display: inline-block;
|
34
|
+
// and this puts it back to block
|
35
|
+
& { display: block; }
|
36
|
+
}
|
29
37
|
}
|
30
38
|
|
31
39
|
// A hack to supply IE6 (and below) with a different property value.
|
32
40
|
// [Read more](http://www.cssportal.com/css-hacks/#in_css-important).
|
33
41
|
@mixin bang-hack($property, $value, $ie6-value) {
|
34
|
-
|
35
|
-
|
42
|
+
@if $legacy-support-for-ie6 {
|
43
|
+
#{$property}: #{$value} !important;
|
44
|
+
#{$property}: #{$ie6-value};
|
45
|
+
}
|
46
|
+
}
|
@@ -31,21 +31,26 @@
|
|
31
31
|
//
|
32
32
|
// :last-child is not fully supported
|
33
33
|
// see http://www.quirksmode.org/css/contents.html#t29 for the support matrix
|
34
|
-
|
34
|
+
//
|
35
|
+
// Setting `$padding` to `false` disables the padding between list elements
|
35
36
|
@mixin horizontal-list-item($padding: 4px, $direction: left) {
|
36
37
|
@include no-bullet;
|
37
38
|
white-space: nowrap;
|
38
39
|
@include float($direction);
|
39
|
-
padding
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
40
|
+
@if $padding {
|
41
|
+
padding: {
|
42
|
+
left: $padding;
|
43
|
+
right: $padding;
|
44
|
+
}
|
45
|
+
&:first-child, &.first { padding-#{$direction}: 0; }
|
46
|
+
&:last-child, &.last { padding-#{opposite-position($direction)}: 0; }
|
47
|
+
}
|
45
48
|
}
|
46
49
|
|
47
50
|
// A list(ol,ul) that is layed out such that the elements are floated left and won't wrap.
|
48
51
|
// This is not an inline list.
|
52
|
+
//
|
53
|
+
// Setting `$padding` to `false` disables the padding between list elements
|
49
54
|
@mixin horizontal-list($padding: 4px, $direction: left) {
|
50
55
|
@include horizontal-list-container;
|
51
56
|
li {
|
@@ -38,7 +38,7 @@ module Compass
|
|
38
38
|
Congratulations! Your rails project has been configured to use Compass.
|
39
39
|
Just one more thing left to do: Register the compass gem.
|
40
40
|
|
41
|
-
In Rails 2.2 & 2.3, add the following to your
|
41
|
+
In Rails 2.2 & 2.3, add the following to your environment.rb:
|
42
42
|
|
43
43
|
config.gem "compass", :version => ">= #{Compass::VERSION}"
|
44
44
|
|
@@ -122,7 +122,7 @@ NEXTSTEPS
|
|
122
122
|
manifest.each_stylesheet do |stylesheet|
|
123
123
|
# Skip partials.
|
124
124
|
next if File.basename(stylesheet.from)[0..0] == "_"
|
125
|
-
ss_line = " = stylesheet_link_tag '#{stylesheet_prefix}#{stylesheet.to.sub(/\.
|
125
|
+
ss_line = " = stylesheet_link_tag '#{stylesheet_prefix}#{stylesheet.to.sub(/\.s[ac]ss$/,'.css')}'"
|
126
126
|
if stylesheet.options[:media]
|
127
127
|
ss_line += ", :media => '#{stylesheet.options[:media]}'"
|
128
128
|
end
|
@@ -33,7 +33,7 @@ module Compass
|
|
33
33
|
}.split("\n").map{|l| l.gsub(/^ */,'')}.join("\n").strip
|
34
34
|
end
|
35
35
|
|
36
|
-
opts.on("--using
|
36
|
+
opts.on("--using PATTERN", "A framework's pattern to use when creating the project.") do |framework|
|
37
37
|
framework = framework.split('/', 2)
|
38
38
|
self.options[:framework] = framework[0]
|
39
39
|
self.options[:pattern] = framework[1]
|
@@ -16,6 +16,12 @@ module Compass
|
|
16
16
|
def description(command)
|
17
17
|
"Emit an imports suitable for passing to the sass command-line."
|
18
18
|
end
|
19
|
+
def usage
|
20
|
+
"Usage: compass imports\n\n" +
|
21
|
+
"Prints out the imports known to compass.\n"+
|
22
|
+
"Useful for passing imports to the sass command line:\n" +
|
23
|
+
" sass -r compass `compass imports` a_file_using_compass.sass"
|
24
|
+
end
|
19
25
|
def parse!(arguments)
|
20
26
|
if arguments.join("").strip.size > 0
|
21
27
|
raise OptionParser::ParseError, "This command takes no options or arguments."
|
@@ -34,6 +34,9 @@ module Compass
|
|
34
34
|
|
35
35
|
def perform
|
36
36
|
framework = Compass::Frameworks[options[:framework]]
|
37
|
+
unless framework
|
38
|
+
raise Compass::Error, "No extension named \"#{options[:framework]}\" was found."
|
39
|
+
end
|
37
40
|
files = Dir["#{framework.path}/**/*"]
|
38
41
|
extension_dir = File.join(Compass.configuration.extensions_path, framework.name)
|
39
42
|
FileUtils.rm_rf extension_dir
|
@@ -77,9 +77,19 @@ module Compass
|
|
77
77
|
# If the block accepts two arguments, it will also be passed a File object
|
78
78
|
# that points to the asset on disk -- which may or may not exist.
|
79
79
|
# When called without a block, returns the block that was previously set.
|
80
|
-
|
80
|
+
#
|
81
|
+
# To disable the asset cache buster:
|
82
|
+
#
|
83
|
+
# asset_cache_buster :none
|
84
|
+
def asset_cache_buster(simple = nil, &block)
|
81
85
|
if block_given?
|
82
86
|
@asset_cache_buster = block
|
87
|
+
elsif !simple.nil?
|
88
|
+
if simple == :none
|
89
|
+
@asset_cache_buster = Proc.new {|_,_| nil}
|
90
|
+
else
|
91
|
+
raise ArgumentError, "Unexpected argument: #{simple.inspect}"
|
92
|
+
end
|
83
93
|
else
|
84
94
|
if @asset_cache_buster
|
85
95
|
@asset_cache_buster
|
data/lib/compass/exec/helpers.rb
CHANGED
@@ -5,8 +5,10 @@ module Compass::Exec
|
|
5
5
|
if Compass::Commands.command_exists? arguments.first
|
6
6
|
SubCommandUI
|
7
7
|
else
|
8
|
-
|
9
|
-
|
8
|
+
unless arguments.include?("-h") || arguments.include?("--help")
|
9
|
+
Compass::Logger.new.red do
|
10
|
+
Haml::Util.haml_warn "WARNING: This interface is deprecated. Please use the new subcommand interface.\nSee `compass help` for more information.\n"
|
11
|
+
end
|
10
12
|
end
|
11
13
|
SwitchUI
|
12
14
|
end
|
@@ -89,6 +89,11 @@ END
|
|
89
89
|
self.options[:pattern] = pattern
|
90
90
|
end
|
91
91
|
|
92
|
+
opts.on('-h', '--help') do
|
93
|
+
self.options[:command] = :help
|
94
|
+
self.options[:help_command] = :help
|
95
|
+
end
|
96
|
+
|
92
97
|
opts.on('--write-configuration', "Write the current configuration to the configuration file.") do
|
93
98
|
self.options[:command] = :write_configuration
|
94
99
|
end
|
@@ -15,9 +15,9 @@ ul.horizontal {
|
|
15
15
|
padding-left: 4px;
|
16
16
|
padding-right: 4px; }
|
17
17
|
ul.horizontal li:first-child, ul.horizontal li.first {
|
18
|
-
padding-left:
|
18
|
+
padding-left: 0; }
|
19
19
|
ul.horizontal li:last-child, ul.horizontal li.last {
|
20
|
-
padding-right:
|
20
|
+
padding-right: 0; }
|
21
21
|
|
22
22
|
ul.wide-horizontal {
|
23
23
|
margin: 0;
|
@@ -36,9 +36,9 @@ ul.wide-horizontal {
|
|
36
36
|
padding-left: 10px;
|
37
37
|
padding-right: 10px; }
|
38
38
|
ul.wide-horizontal li:first-child, ul.wide-horizontal li.first {
|
39
|
-
padding-left:
|
39
|
+
padding-left: 0; }
|
40
40
|
ul.wide-horizontal li:last-child, ul.wide-horizontal li.last {
|
41
|
-
padding-right:
|
41
|
+
padding-right: 0; }
|
42
42
|
|
43
43
|
ul.right-horizontal {
|
44
44
|
margin: 0;
|
@@ -57,9 +57,24 @@ ul.right-horizontal {
|
|
57
57
|
padding-left: 4px;
|
58
58
|
padding-right: 4px; }
|
59
59
|
ul.right-horizontal li:first-child, ul.right-horizontal li.first {
|
60
|
-
padding-right:
|
60
|
+
padding-right: 0; }
|
61
61
|
ul.right-horizontal li:last-child, ul.right-horizontal li.last {
|
62
|
-
padding-left:
|
62
|
+
padding-left: 0; }
|
63
|
+
|
64
|
+
ul.no-padding {
|
65
|
+
margin: 0;
|
66
|
+
padding: 0;
|
67
|
+
border: 0;
|
68
|
+
outline: 0;
|
69
|
+
overflow: hidden;
|
70
|
+
*zoom: 1; }
|
71
|
+
ul.no-padding li {
|
72
|
+
list-style-image: none;
|
73
|
+
list-style-type: none;
|
74
|
+
margin-left: 0px;
|
75
|
+
white-space: nowrap;
|
76
|
+
display: inline;
|
77
|
+
float: left; }
|
63
78
|
|
64
79
|
ul.inline-block {
|
65
80
|
margin: 0;
|
@@ -3,6 +3,7 @@
|
|
3
3
|
ul.horizontal { @include horizontal-list; }
|
4
4
|
ul.wide-horizontal { @include horizontal-list(10px); }
|
5
5
|
ul.right-horizontal { @include horizontal-list(4px, right); }
|
6
|
+
ul.no-padding { @include horizontal-list(false); }
|
6
7
|
ul.inline-block { @include inline-block-list; }
|
7
8
|
ul.wide-inline-block { @include inline-block-list(10px); }
|
8
9
|
ul.inline { @include inline-list; }
|
@@ -7,11 +7,13 @@ output_style = :compact
|
|
7
7
|
# To enable relative image paths using the images_url() function:
|
8
8
|
# http_images_path = :relative
|
9
9
|
http_images_path = "/images"
|
10
|
+
line_comments = false
|
10
11
|
|
11
12
|
asset_cache_buster do |path, file|
|
12
13
|
"busted=true"
|
13
14
|
end
|
14
15
|
|
16
|
+
|
15
17
|
asset_host do |path|
|
16
|
-
"http://assets%d.example.com" % (path.
|
18
|
+
"http://assets%d.example.com" % (path.size % 4)
|
17
19
|
end
|
@@ -1,3 +1,3 @@
|
|
1
|
-
.showgrid { background-image: url('http://
|
1
|
+
.showgrid { background-image: url('http://assets0.example.com/images/grid.png?busted=true'); }
|
2
2
|
|
3
3
|
.inlinegrid { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAUEAYAAACv1qP4AAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAZ0lEQVRYw+3QwQ2AIBAFUTEUwI3+uzN7gDscsIgxEuO8An52J11X73OudfxMraXkzHfO3Y98nQEhA0IGhAwIGRAyIGRAyICQASEDQgaEDAgZEDIgZEDIgJABoZzSGK3tPuN9ERFP7Nw4fg+c5g8V1wAAAABJRU5ErkJggg=='); }
|
metadata
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 1923831867
|
5
|
+
prerelease: true
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 10
|
9
|
-
-
|
10
|
-
|
9
|
+
- 6
|
10
|
+
- pre
|
11
|
+
- 1
|
12
|
+
version: 0.10.6.pre.1
|
11
13
|
platform: ruby
|
12
14
|
authors:
|
13
15
|
- Chris Eppstein
|
@@ -17,7 +19,7 @@ autorequire:
|
|
17
19
|
bindir: bin
|
18
20
|
cert_chain: []
|
19
21
|
|
20
|
-
date: 2010-
|
22
|
+
date: 2010-10-11 00:00:00 -07:00
|
21
23
|
default_executable: compass
|
22
24
|
dependencies:
|
23
25
|
- !ruby/object:Gem::Dependency
|
@@ -302,6 +304,7 @@ files:
|
|
302
304
|
- frameworks/compass/stylesheets/compass/_css3.scss
|
303
305
|
- frameworks/compass/stylesheets/compass/_layout.scss
|
304
306
|
- frameworks/compass/stylesheets/compass/_reset.scss
|
307
|
+
- frameworks/compass/stylesheets/compass/_support.scss
|
305
308
|
- frameworks/compass/stylesheets/compass/_utilities.scss
|
306
309
|
- frameworks/compass/stylesheets/compass/css3/_background-clip.scss
|
307
310
|
- frameworks/compass/stylesheets/compass/css3/_background-origin.scss
|
@@ -585,12 +588,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
585
588
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
586
589
|
none: false
|
587
590
|
requirements:
|
588
|
-
- - "
|
591
|
+
- - ">"
|
589
592
|
- !ruby/object:Gem::Version
|
590
|
-
hash:
|
593
|
+
hash: 25
|
591
594
|
segments:
|
592
|
-
-
|
593
|
-
|
595
|
+
- 1
|
596
|
+
- 3
|
597
|
+
- 1
|
598
|
+
version: 1.3.1
|
594
599
|
requirements: []
|
595
600
|
|
596
601
|
rubyforge_project:
|