compass 0.10.2 → 0.10.3.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +2 -1
- data/frameworks/blueprint/stylesheets/blueprint/_colors.scss +1 -0
- data/frameworks/blueprint/stylesheets/blueprint/_form.scss +3 -1
- data/frameworks/blueprint/stylesheets/blueprint/_liquid.scss +1 -0
- data/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss +1 -0
- data/frameworks/blueprint/stylesheets/blueprint/_typography.scss +3 -3
- data/frameworks/compass/stylesheets/compass/css3/_border-radius.scss +63 -3
- data/frameworks/compass/stylesheets/compass/css3/_box-shadow.scss +19 -7
- data/frameworks/compass/stylesheets/compass/css3/_font-face.scss +11 -12
- data/frameworks/compass/stylesheets/compass/css3/_gradient.scss +3 -1
- data/frameworks/compass/stylesheets/compass/css3/_opacity.scss +1 -9
- data/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss +1 -4
- data/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss +10 -9
- data/frameworks/compass/stylesheets/compass/utilities/lists/_inline-list.scss +10 -10
- data/frameworks/rails/stylesheets/_rails.scss +1 -0
- data/frameworks/rails/stylesheets/rails/_pagination.scss +1 -0
- data/frameworks/rails/stylesheets/rails/_scaffolding.scss +56 -0
- data/lib/compass/app_integration/rails.rb +7 -0
- data/lib/compass/app_integration/rails/installer.rb +13 -16
- data/lib/compass/commands/create_project.rb +5 -0
- data/lib/compass/commands/project_stats.rb +3 -2
- data/lib/compass/commands/stamp_pattern.rb +1 -1
- data/lib/compass/exec/project_options_parser.rb +4 -4
- data/lib/compass/installers/base.rb +16 -3
- data/lib/compass/installers/manifest.rb +1 -0
- data/lib/compass/installers/manifest_installer.rb +5 -3
- data/lib/compass/sass_extensions/functions.rb +7 -1
- data/lib/compass/sass_extensions/functions/constants.rb +17 -0
- data/lib/compass/sass_extensions/functions/gradient_support.rb +0 -16
- data/lib/compass/sass_extensions/functions/inline_image.rb +3 -5
- data/lib/compass/sass_extensions/functions/lists.rb +9 -0
- data/lib/compass/sass_extensions/functions/urls.rb +6 -2
- data/test/fixtures/stylesheets/blueprint/config.rb +5 -0
- data/test/fixtures/stylesheets/blueprint/css/screen.css +5 -5
- data/test/fixtures/stylesheets/blueprint/css/single-imports/buttons.css +56 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/colors.css +80 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/debug.css +2 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/fancy-type.css +30 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/form.css +40 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/grid.css +437 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/ie.css +60 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/interaction.css +43 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/link-icons.css +40 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/liquid.css +653 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/print.css +60 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/reset-utilities.css +116 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/reset.css +66 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/rtl.css +439 -0
- data/test/fixtures/stylesheets/blueprint/css/single-imports/scaffolding.css +45 -0
- data/test/fixtures/stylesheets/blueprint/css/{typography.css → single-imports/typography.css} +0 -0
- data/test/fixtures/stylesheets/blueprint/images/link_icons/doc.png +0 -0
- data/test/fixtures/stylesheets/blueprint/images/link_icons/email.png +0 -0
- data/test/fixtures/stylesheets/blueprint/images/link_icons/external.png +0 -0
- data/test/fixtures/stylesheets/blueprint/images/link_icons/feed.png +0 -0
- data/test/fixtures/stylesheets/blueprint/images/link_icons/im.png +0 -0
- data/test/fixtures/stylesheets/blueprint/images/link_icons/pdf.png +0 -0
- data/test/fixtures/stylesheets/blueprint/images/link_icons/visited.png +0 -0
- data/test/fixtures/stylesheets/blueprint/images/link_icons/xls.png +0 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/buttons.scss +4 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/colors.scss +34 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/debug.scss +3 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/fancy-type.scss +3 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/form.scss +5 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/grid.scss +3 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/ie.scss +3 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/interaction.scss +3 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/link-icons.scss +13 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/liquid.scss +3 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/print.scss +5 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/reset-utilities.scss +5 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/reset.scss +1 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/rtl.scss +3 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/scaffolding.scss +5 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/typography.scss +3 -0
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/utilities.scss +3 -0
- data/test/fixtures/stylesheets/compass/config.rb +5 -0
- data/test/fixtures/stylesheets/compass/css/border_radius.css +23 -0
- data/test/fixtures/stylesheets/compass/css/gradients.css +38 -19
- data/test/fixtures/stylesheets/compass/css/images.css +8 -0
- data/test/fixtures/stylesheets/compass/css/lists.css +100 -0
- data/test/fixtures/stylesheets/compass/css/utilities.css +1 -1
- data/test/fixtures/stylesheets/compass/images/4x6.png +0 -0
- data/test/fixtures/stylesheets/compass/sass/border_radius.scss +5 -0
- data/test/fixtures/stylesheets/compass/sass/images.scss +9 -0
- data/test/fixtures/stylesheets/compass/sass/lists.scss +9 -0
- metadata +112 -13
- data/test/fixtures/stylesheets/blueprint/sass/single-imports/utilities.sass +0 -3
- data/test/fixtures/stylesheets/blueprint/sass/typography.sass +0 -3
data/VERSION.yml
CHANGED
@@ -3,6 +3,7 @@ $quiet_color: $font_color + #333333 !default;
|
|
3
3
|
$loud_color: $font_color - #222222 !default;
|
4
4
|
$header_color: $font_color - #111111 !default;
|
5
5
|
$alt_text_color: #666666 !default;
|
6
|
+
$blueprint_background_color: #eeeeee !default;
|
6
7
|
|
7
8
|
$link_color: #000099 !default;
|
8
9
|
$link_hover_color: black !default;
|
@@ -21,6 +21,7 @@
|
|
21
21
|
input {
|
22
22
|
&.text,
|
23
23
|
&.title,
|
24
|
+
&[type=email],
|
24
25
|
&[type=text],
|
25
26
|
&[type=password] { margin: 0.5em 0; background-color: white; padding: 5px; }
|
26
27
|
&.title { font-size: 1.5em; }
|
@@ -42,6 +43,7 @@
|
|
42
43
|
input {
|
43
44
|
&.text,
|
44
45
|
&.title,
|
46
|
+
&[type=email],
|
45
47
|
&[type=text],
|
46
48
|
&[type=password] { width: $input_width; }
|
47
49
|
}
|
@@ -56,7 +58,7 @@
|
|
56
58
|
) {
|
57
59
|
fieldset {
|
58
60
|
border: 1px solid $fieldset_border_color; }
|
59
|
-
input.text, input.title, input[type=text], input[type=password],
|
61
|
+
input.text, input.title, input[type=email], input[type=text], input[type=password],
|
60
62
|
textarea, select {
|
61
63
|
border: 1px solid $unfocused_border_color;
|
62
64
|
&:focus {
|
@@ -31,6 +31,7 @@
|
|
31
31
|
// @import blueprint/liquid
|
32
32
|
// -------------------------------------------------------------------
|
33
33
|
|
34
|
+
@import "compass/utilities/general/clearfix";
|
34
35
|
@import "compass/utilities/general/float";
|
35
36
|
|
36
37
|
// Main layout grid, override these constants to build your grid and container sizes.
|
@@ -75,14 +75,14 @@ $blueprint-font-size: 12px !default;
|
|
75
75
|
img.right { @include float-right; margin: 1.5em 0 1.5em 1.5em; padding: 0; }
|
76
76
|
}
|
77
77
|
a { text-decoration: underline; @include link-colors($link-color, $link-hover-color, $link-active-color, $link-visited-color, $link-focus-color); }
|
78
|
-
blockquote { margin: 1.5em; color:
|
78
|
+
blockquote { margin: 1.5em; color: $alt_text_color; font-style: italic; }
|
79
79
|
strong { font-weight: bold; }
|
80
80
|
em { font-style: italic; }
|
81
81
|
dfn { font-style: italic; font-weight: bold; }
|
82
82
|
sup, sub { line-height: 0; }
|
83
83
|
abbr, acronym { border-bottom: 1px dotted #666666; }
|
84
84
|
address { margin: 0 0 1.5em; font-style: italic; }
|
85
|
-
del { color:
|
85
|
+
del { color: $alt_text_color; }
|
86
86
|
pre { margin: 1.5em 0; white-space: pre; }
|
87
87
|
pre, code, tt { @include fixed-width-text; }
|
88
88
|
li ul, li ol { margin: 0; }
|
@@ -98,7 +98,7 @@ $blueprint-font-size: 12px !default;
|
|
98
98
|
th, td, caption { padding: 4px 10px 4px 5px; }
|
99
99
|
tr.even td { background: $blueprint-table-stripe-color; }
|
100
100
|
tfoot { font-style: italic; }
|
101
|
-
caption { background:
|
101
|
+
caption { background: $blueprint_background_color; }
|
102
102
|
.quiet { @include quiet; }
|
103
103
|
.loud { @include loud; }
|
104
104
|
}
|
@@ -3,9 +3,69 @@
|
|
3
3
|
$default-border-radius: 5px !default;
|
4
4
|
|
5
5
|
// Round all corners by a specific amount, defaults to value of `$default-border-radius`.
|
6
|
-
|
7
|
-
|
8
|
-
|
6
|
+
//
|
7
|
+
// When two values are passed, the first is the horizontal radius
|
8
|
+
// and the second is the vertical radius.
|
9
|
+
//
|
10
|
+
// Note: webkit does not support shorthand syntax for several corners at once.
|
11
|
+
// So in the case where you pass several values only the first will be passed to webkit.
|
12
|
+
//
|
13
|
+
// Examples:
|
14
|
+
//
|
15
|
+
// .simple { @include border-radius(4px, 4px); }
|
16
|
+
// .compound { @include border-radius(2px 5px, 3px 6px); }
|
17
|
+
// .crazy { @include border-radius(1px 3px 5px 7px, 2px 4px 6px 8px)}
|
18
|
+
//
|
19
|
+
// Which generates:
|
20
|
+
// .simple {
|
21
|
+
// -webkit-border-radius: 4px 4px;
|
22
|
+
// -moz-border-radius: 4px / 4px;
|
23
|
+
// -o-border-radius: 4px / 4px;
|
24
|
+
// -ms-border-radius: 4px / 4px;
|
25
|
+
// -khtml-border-radius: 4px / 4px;
|
26
|
+
// border-radius: 4px / 4px; }
|
27
|
+
//
|
28
|
+
// .compound {
|
29
|
+
// -webkit-border-radius: 2px 3px;
|
30
|
+
// -moz-border-radius: 2px 5px / 3px 6px;
|
31
|
+
// -o-border-radius: 2px 5px / 3px 6px;
|
32
|
+
// -ms-border-radius: 2px 5px / 3px 6px;
|
33
|
+
// -khtml-border-radius: 2px 5px / 3px 6px;
|
34
|
+
// border-radius: 2px 5px / 3px 6px; }
|
35
|
+
//
|
36
|
+
// .crazy {
|
37
|
+
// -webkit-border-radius: 1px 2px;
|
38
|
+
// -moz-border-radius: 1px 3px 5px 7px / 2px 4px 6px 8px;
|
39
|
+
// -o-border-radius: 1px 3px 5px 7px / 2px 4px 6px 8px;
|
40
|
+
// -ms-border-radius: 1px 3px 5px 7px / 2px 4px 6px 8px;
|
41
|
+
// -khtml-border-radius: 1px 3px 5px 7px / 2px 4px 6px 8px;
|
42
|
+
// border-radius: 1px 3px 5px 7px / 2px 4px 6px 8px; }
|
43
|
+
|
44
|
+
@mixin border-radius($radius: $default-border-radius, $vertical-radius: false) {
|
45
|
+
|
46
|
+
@if $vertical-radius {
|
47
|
+
// Webkit doesn't understand the official shorthand syntax for specifying
|
48
|
+
// a vertical radius unless so in case there's several we only take the first.
|
49
|
+
@include experimental(border-radius, first-value-of($radius) first-value-of($vertical-radius),
|
50
|
+
not -moz,
|
51
|
+
-webkit,
|
52
|
+
not -o,
|
53
|
+
not -ms,
|
54
|
+
not -khtml,
|
55
|
+
not official
|
56
|
+
);
|
57
|
+
@include experimental("border-radius", $radius unquote("/") $vertical-radius,
|
58
|
+
-moz,
|
59
|
+
not -webkit,
|
60
|
+
-o,
|
61
|
+
-ms,
|
62
|
+
-khtml,
|
63
|
+
official
|
64
|
+
);
|
65
|
+
}
|
66
|
+
@else {
|
67
|
+
@include experimental(border-radius, $radius);
|
68
|
+
}
|
9
69
|
}
|
10
70
|
|
11
71
|
// Round radius at position by amount.
|
@@ -17,21 +17,33 @@ $default-box-shadow-v-offset: 1px !default;
|
|
17
17
|
// The default blur length.
|
18
18
|
$default-box-shadow-blur: 5px !default;
|
19
19
|
|
20
|
+
// The default spread length.
|
21
|
+
$default-box-shadow-spread : 0 !default;
|
22
|
+
|
23
|
+
// The default shadow instet: inset or false (for standard shadow).
|
24
|
+
$default-box-shadow-inset : false !default;
|
25
|
+
|
20
26
|
// Provides cross-browser CSS box shadows for Webkit, Gecko, and CSS3.
|
21
|
-
// Arguments are color, horizontal offset, vertical offset,
|
27
|
+
// Arguments are color, horizontal offset, vertical offset, blur length, spread length, and inset.
|
22
28
|
|
23
29
|
@mixin box-shadow(
|
24
|
-
$color: $default-box-shadow-color,
|
25
|
-
$hoff: $default-box-shadow-h-offset,
|
26
|
-
$voff: $default-box-shadow-v-offset,
|
27
|
-
$blur: $default-box-shadow-blur
|
30
|
+
$color : $default-box-shadow-color,
|
31
|
+
$hoff : $default-box-shadow-h-offset,
|
32
|
+
$voff : $default-box-shadow-v-offset,
|
33
|
+
$blur : $default-box-shadow-blur,
|
34
|
+
$spread : $default-box-shadow-spread,
|
35
|
+
$inset : $default-box-shadow-inset
|
28
36
|
) {
|
37
|
+
$full : $color $hoff $voff $blur $spread;
|
38
|
+
@if $inset {
|
39
|
+
$full: $full $inset;
|
40
|
+
}
|
29
41
|
@if $color == none {
|
30
42
|
@include experimental(box-shadow, none,
|
31
43
|
-moz, -webkit, -o, not -ms, not -khtml, official
|
32
44
|
);
|
33
|
-
} @else {
|
34
|
-
@include experimental(box-shadow, $
|
45
|
+
} @else {
|
46
|
+
@include experimental(box-shadow, $full,
|
35
47
|
-moz, -webkit, -o, not -ms, not -khtml, official
|
36
48
|
);
|
37
49
|
}
|
@@ -6,29 +6,28 @@
|
|
6
6
|
// * $font-files is required using font-files('relative/location', 'format').
|
7
7
|
// for best results use this order: woff, opentype/truetype, svg
|
8
8
|
// * $eot is required by IE, and is a relative location of the eot file.
|
9
|
-
// * postscript name is required by some browsers to look for local fonts.
|
10
9
|
|
11
10
|
@mixin font-face($name, $font-files, $eot: false, $postscript: false, $style: false) {
|
11
|
+
@if $postscript or $style {
|
12
|
+
@warn "The $postscript and $style variables have been deprecated in favor of the Paul Irish smiley bulletproof technique.";
|
13
|
+
}
|
12
14
|
@font-face {
|
13
|
-
font-family:
|
14
|
-
@if $style {
|
15
|
-
font-style: $style; }
|
15
|
+
font-family: quote($name);
|
16
16
|
@if $eot {
|
17
17
|
src: font-url($eot); }
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
src: local("#{$name}"), #{$font-files}; } } }
|
18
|
+
src: local("☺"), $font-files;
|
19
|
+
}
|
20
|
+
}
|
22
21
|
|
23
22
|
// EXAMPLE
|
24
|
-
// +font-face("this name", font-files("this.woff", "woff", "this.otf", "opentype"), "this.eot"
|
23
|
+
// +font-face("this name", font-files("this.woff", "woff", "this.otf", "opentype"), "this.eot")
|
25
24
|
//
|
26
25
|
// will generate:
|
27
26
|
//
|
28
27
|
// @font-face {
|
29
28
|
// font-family: 'this name';
|
30
29
|
// src: url('fonts/this.eot');
|
31
|
-
// src: local(
|
32
|
-
// url('this.otf') format('woff'),
|
33
|
-
// url('this.woff') format('opentype');
|
30
|
+
// src: local("☺"),
|
31
|
+
// url('fonts/this.otf') format('woff'),
|
32
|
+
// url('fonts/this.woff') format('opentype');
|
34
33
|
// }
|
@@ -37,13 +37,14 @@
|
|
37
37
|
$background: unquote("");
|
38
38
|
@if $image { $background : $image + unquote(", "); }
|
39
39
|
$start: unquote($start);
|
40
|
-
$end:
|
40
|
+
$end: opposite-position($start);
|
41
41
|
@if $experimental-support-for-webkit {
|
42
42
|
background-image: #{$background}-webkit-gradient(linear, grad-point($start), grad-point($end), grad-color-stops($color-stops));
|
43
43
|
}
|
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
48
|
}
|
48
49
|
|
49
50
|
// Due to limitation's of webkit, the radial gradient mixin works best if you use
|
@@ -77,4 +78,5 @@
|
|
77
78
|
@if $experimental-support-for-mozilla {
|
78
79
|
background-image: #{$background}-moz-radial-gradient($center-position, circle, $color-stops);
|
79
80
|
}
|
81
|
+
background-image: radial-gradient($center-position, circle, $color-stops);
|
80
82
|
}
|
@@ -6,15 +6,7 @@
|
|
6
6
|
// A number between 0 and 1, where 0 is transparent and 1 is opaque.
|
7
7
|
|
8
8
|
@mixin opacity($opacity) {
|
9
|
-
|
10
|
-
@include experimental(opacity, $opacity,
|
11
|
-
-moz,
|
12
|
-
-webkit,
|
13
|
-
-o,
|
14
|
-
not -ms, // microsoft uses the filters below instead
|
15
|
-
-khtml,
|
16
|
-
official
|
17
|
-
);
|
9
|
+
opacity: $opacity;
|
18
10
|
@if $experimental-support-for-microsoft {
|
19
11
|
$value: unquote("progid:DXImageTransform.Microsoft.Alpha(Opacity=#{round($opacity * 100)})");
|
20
12
|
@include experimental(filter, $value,
|
@@ -18,12 +18,9 @@
|
|
18
18
|
// [Easy Clearing](http://www.positioniseverything.net/easyclearing.html)
|
19
19
|
// has the advantage of allowing positioned elements to hang
|
20
20
|
// outside the bounds of the container at the expense of more tricky CSS.
|
21
|
-
//
|
22
|
-
// This method of clearing might cause a gap at the bottom of the page in
|
23
|
-
// some browsers when used on the last element of the page.
|
24
21
|
@mixin pie-clearfix {
|
25
22
|
&:after {
|
26
|
-
content : "
|
23
|
+
content : "\0020";
|
27
24
|
display : block;
|
28
25
|
height : 0;
|
29
26
|
clear : both;
|
@@ -16,6 +16,7 @@
|
|
16
16
|
// +horizontal-list-item
|
17
17
|
|
18
18
|
@import "bullets";
|
19
|
+
@import "compass/utilities/general/clearfix";
|
19
20
|
@import "compass/utilities/general/reset";
|
20
21
|
@import "compass/utilities/general/float";
|
21
22
|
|
@@ -31,21 +32,21 @@
|
|
31
32
|
// :last-child is not fully supported
|
32
33
|
// see http://www.quirksmode.org/css/contents.html#t29 for the support matrix
|
33
34
|
|
34
|
-
@mixin horizontal-list-item($padding: 4px) {
|
35
|
+
@mixin horizontal-list-item($padding: 4px, $direction: left) {
|
35
36
|
@include no-bullet;
|
36
37
|
white-space: nowrap;
|
37
|
-
@include float
|
38
|
+
@include float($direction);
|
38
39
|
padding: {
|
39
40
|
left: $padding;
|
40
|
-
right: $padding;
|
41
|
-
|
42
|
-
|
43
|
-
&:last-child, &.last {
|
44
|
-
|
41
|
+
right: $padding;
|
42
|
+
};
|
43
|
+
&:first-child, &.first { padding-#{$direction}: 0px; }
|
44
|
+
&:last-child, &.last { padding-#{opposite-position($direction)}: 0px; }
|
45
|
+
}
|
45
46
|
|
46
47
|
// A list(ol,ul) that is layed out such that the elements are floated left and won't wrap.
|
47
48
|
// This is not an inline list.
|
48
|
-
@mixin horizontal-list($padding: 4px) {
|
49
|
+
@mixin horizontal-list($padding: 4px, $direction: left) {
|
49
50
|
@include horizontal-list-container;
|
50
51
|
li {
|
51
|
-
@include horizontal-list-item($padding); } }
|
52
|
+
@include horizontal-list-item($padding, $direction); } }
|
@@ -2,18 +2,17 @@
|
|
2
2
|
|
3
3
|
@mixin inline-list {
|
4
4
|
list-style-type: none;
|
5
|
-
|
6
|
-
padding: 0px;
|
7
|
-
display: inline;
|
8
|
-
li {
|
5
|
+
&, & li {
|
9
6
|
margin: 0px;
|
10
7
|
padding: 0px;
|
11
|
-
display: inline;
|
8
|
+
display: inline;
|
9
|
+
}
|
10
|
+
}
|
12
11
|
|
13
12
|
// makes an inline list that is comma delimited.
|
14
13
|
// Please make note of the browser support issues before using this mixin.
|
15
14
|
//
|
16
|
-
// use of
|
15
|
+
// use of `content` and `:after` is not fully supported in all browsers.
|
17
16
|
// See quirksmode for the [support matrix](http://www.quirksmode.org/css/contents.html#t15)
|
18
17
|
//
|
19
18
|
// `:last-child` is not fully supported.
|
@@ -22,8 +21,9 @@
|
|
22
21
|
@mixin comma-delimited-list {
|
23
22
|
@include inline-list;
|
24
23
|
li {
|
25
|
-
&:after {
|
26
|
-
content: ", "; }
|
24
|
+
&:after { content: ", "; }
|
27
25
|
&:last-child, &.last {
|
28
|
-
&:after {
|
29
|
-
|
26
|
+
&:after { content: ""; }
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "rails/pagination";
|
@@ -0,0 +1 @@
|
|
1
|
+
// TODO
|
@@ -0,0 +1,56 @@
|
|
1
|
+
body { background-color: #fff; color: #333; }
|
2
|
+
|
3
|
+
body, p, ol, ul, td {
|
4
|
+
font-family: verdana, arial, helvetica, sans-serif;
|
5
|
+
font-size: 13px;
|
6
|
+
line-height: 18px;
|
7
|
+
}
|
8
|
+
|
9
|
+
pre {
|
10
|
+
background-color: #eee;
|
11
|
+
padding: 10px;
|
12
|
+
font-size: 11px;
|
13
|
+
}
|
14
|
+
|
15
|
+
a { color: #000; }
|
16
|
+
a:visited { color: #666; }
|
17
|
+
a:hover { color: #fff; background-color:#000; }
|
18
|
+
|
19
|
+
div.field, div.actions {
|
20
|
+
margin-bottom: 10px;
|
21
|
+
}
|
22
|
+
|
23
|
+
#notice {
|
24
|
+
color: green;
|
25
|
+
}
|
26
|
+
|
27
|
+
.field_with_errors {
|
28
|
+
padding: 2px;
|
29
|
+
background-color: red;
|
30
|
+
display: table;
|
31
|
+
}
|
32
|
+
|
33
|
+
#error_explanation {
|
34
|
+
width: 450px;
|
35
|
+
border: 2px solid red;
|
36
|
+
padding: 7px;
|
37
|
+
padding-bottom: 0;
|
38
|
+
margin-bottom: 20px;
|
39
|
+
background-color: #f0f0f0;
|
40
|
+
|
41
|
+
h2 {
|
42
|
+
text-align: left;
|
43
|
+
font-weight: bold;
|
44
|
+
padding: 5px 5px 5px 15px;
|
45
|
+
font-size: 12px;
|
46
|
+
margin: -7px;
|
47
|
+
margin-bottom: 0px;
|
48
|
+
background-color: #c00;
|
49
|
+
color: #fff;
|
50
|
+
}
|
51
|
+
|
52
|
+
ul li {
|
53
|
+
font-size: 12px;
|
54
|
+
list-style: square;
|
55
|
+
}
|
56
|
+
}
|
@@ -34,6 +34,13 @@ module Compass
|
|
34
34
|
end
|
35
35
|
end
|
36
36
|
|
37
|
+
def initialize!
|
38
|
+
rails_root = (defined?(Rails) ? Rails.root : RAILS_ROOT).to_s
|
39
|
+
Compass.add_project_configuration(File.join(root, "config", "compass.rb"))
|
40
|
+
Compass.discover_extensions!
|
41
|
+
Compass.configure_sass_plugin!
|
42
|
+
Compass.handle_configuration_change!
|
43
|
+
end
|
37
44
|
end
|
38
45
|
end
|
39
46
|
end
|