compass-aurora 3.0.0.alpha.1 → 3.0.0.alpha.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/aurora.rb +2 -2
- data/templates/corona/_base.scss +17 -9
- data/templates/corona/_type.scss +5 -20
- data/templates/corona/_variables.scss +21 -31
- data/templates/corona/manifest.rb +1 -1
- metadata +3 -3
data/lib/aurora.rb
CHANGED
@@ -7,6 +7,6 @@ extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
|
|
7
7
|
Compass::Frameworks.register('aurora', :path => extension_path)
|
8
8
|
|
9
9
|
module Aurora
|
10
|
-
VERSION = "3.0.0.alpha.
|
11
|
-
DATE = "2013-04-
|
10
|
+
VERSION = "3.0.0.alpha.2"
|
11
|
+
DATE = "2013-04-26"
|
12
12
|
end
|
data/templates/corona/_base.scss
CHANGED
@@ -1,22 +1,30 @@
|
|
1
|
+
////////////////////////
|
1
2
|
// Base Partials
|
2
3
|
//
|
3
|
-
// These files will be shared across all three of your output
|
4
|
-
// Generally included here are only Compass Extension
|
5
|
-
// for variables, functions, mixins, and extendables.
|
4
|
+
// These files will be shared across all three of your output
|
5
|
+
// CSS files. Generally included here are only Compass Extension
|
6
|
+
// imports and imports for variables, functions, mixins, and extendables.
|
7
|
+
//
|
8
|
+
// Toolkit imports all of Compass, so there is no need to import it separately.
|
9
|
+
////////////////////////
|
6
10
|
|
11
|
+
////////////////////////
|
7
12
|
// Compass Extensions
|
8
13
|
//
|
9
|
-
//
|
10
|
-
//
|
11
|
-
|
12
|
-
@import '
|
13
|
-
|
14
|
+
// Note: normalize.css is imported in partials/global/_global.scss. We do this
|
15
|
+
// so that it pulls in the variables set within the variables partial.
|
16
|
+
////////////////////////
|
17
|
+
@import 'singularitygs';
|
18
|
+
@import 'toolkit';
|
19
|
+
@import 'sassy-buttons';
|
14
20
|
|
15
21
|
|
22
|
+
////////////////////////
|
16
23
|
// Private Imports
|
17
24
|
//
|
18
25
|
// Any other imports to add. Normally, these do not include any css, but just
|
19
|
-
//
|
26
|
+
// functions, variables, etc. to be used by other files.
|
27
|
+
////////////////////////
|
20
28
|
|
21
29
|
@import 'variables';
|
22
30
|
@import 'functions';
|
data/templates/corona/_type.scss
CHANGED
@@ -22,42 +22,27 @@ body {
|
|
22
22
|
}
|
23
23
|
|
24
24
|
h1 {
|
25
|
-
// Sets the font-size and line-height while keeping a proper vertical rhythm.
|
26
|
-
@include adjust-font-size-to( $h1-font-size );
|
27
25
|
|
28
|
-
// Sets 1 unit of vertical rhythm on the top and bottom margins.
|
29
|
-
@include leader(1, $h1-font-size);
|
30
|
-
@include trailer(1, $h1-font-size);
|
31
26
|
}
|
32
27
|
|
33
28
|
h2 {
|
34
|
-
|
35
|
-
@include leader(1, $h2-font-size);
|
36
|
-
@include trailer(1, $h2-font-size);
|
29
|
+
|
37
30
|
}
|
38
31
|
|
39
32
|
h3 {
|
40
|
-
|
41
|
-
@include leader(1, $h3-font-size);
|
42
|
-
@include trailer(1, $h3-font-size);
|
33
|
+
|
43
34
|
}
|
44
35
|
|
45
36
|
h4 {
|
46
|
-
|
47
|
-
@include leader(1, $h4-font-size);
|
48
|
-
@include trailer(1, $h4-font-size);
|
37
|
+
|
49
38
|
}
|
50
39
|
|
51
40
|
h5 {
|
52
|
-
|
53
|
-
@include leader(1, $h5-font-size);
|
54
|
-
@include trailer(1, $h5-font-size);
|
41
|
+
|
55
42
|
}
|
56
43
|
|
57
44
|
h6 {
|
58
|
-
|
59
|
-
@include leader(1, $h6-font-size);
|
60
|
-
@include trailer(1, $h6-font-size);
|
45
|
+
|
61
46
|
}
|
62
47
|
|
63
48
|
|
@@ -19,23 +19,9 @@ $legacy-support-for-ie8: true;
|
|
19
19
|
|
20
20
|
|
21
21
|
// Font faces, stacks and sizes.
|
22
|
-
//
|
23
|
-
// Compass' vertical_rhythm extension is a powerful tool to set up a vertical
|
24
|
-
// rhythm for your entire page. You can see some of its mixins and functions in
|
25
|
-
// use in the normalize.scss file.
|
26
|
-
// @see http://compass-style.org/reference/compass/typography/vertical_rhythm/
|
27
|
-
|
28
|
-
$base-font-size: 16px; // The font size set on the root html element.
|
29
|
-
$base-line-height: 24px; // This line-height determines the basic unit of vertical rhythm.
|
30
|
-
|
31
|
-
$h1-font-size: 2 * $base-font-size;
|
32
|
-
$h2-font-size: 1.5 * $base-font-size;
|
33
|
-
$h3-font-size: 1.17 * $base-font-size;
|
34
|
-
$h4-font-size: 1 * $base-font-size;
|
35
|
-
$h5-font-size: 0.83 * $base-font-size;
|
36
|
-
$h6-font-size: 0.75 * $base-font-size;
|
37
|
-
|
38
22
|
|
23
|
+
$base-font-size: 16px;
|
24
|
+
$base-line-height: 24px;
|
39
25
|
|
40
26
|
// The following font family declarations are based on the Microsoft core web
|
41
27
|
// fonts which are common fonts available on most computer systems. The DejaVu
|
@@ -107,41 +93,45 @@ $selection : $white;
|
|
107
93
|
$indent-amount: 2em;
|
108
94
|
|
109
95
|
|
110
|
-
// Add
|
96
|
+
// Add Singularity responsive layout settings.
|
111
97
|
//
|
112
|
-
//
|
113
|
-
//
|
114
|
-
//
|
98
|
+
// Singularity allows the creation of responsive grids within your site's layout
|
99
|
+
// Go to the singularity github wiki for full implementation, and how to
|
100
|
+
// integrate it with breakpoint as well.
|
115
101
|
//
|
116
|
-
// @see
|
102
|
+
// @see https://github.com/Team-Sass/Singularity/wiki
|
117
103
|
|
118
|
-
$
|
119
|
-
$
|
120
|
-
$
|
121
|
-
$grid-padding : $gutter-width;
|
104
|
+
$mobile-first : true;
|
105
|
+
$include-border-box : false;
|
106
|
+
$include-clearfix : false;
|
122
107
|
|
123
|
-
$
|
108
|
+
$grids : 12;
|
109
|
+
$gutters : 1/3;
|
124
110
|
|
125
111
|
|
126
112
|
|
127
|
-
|
113
|
+
|
114
|
+
// Add breakpoint settings.
|
128
115
|
//
|
129
|
-
//
|
116
|
+
// Breakpoint allows us to embed media queries directly into each rule that
|
130
117
|
// needs it, rather than forcing a developer to place rules for a single
|
131
118
|
// component in multiple places depending on the media query they want to
|
132
119
|
// affect.
|
133
120
|
//
|
134
|
-
// @see https://github.com/
|
121
|
+
// @see https://github.com/Team-Sass/breakpoint/wiki
|
135
122
|
//
|
136
123
|
// Listed here are named breakpoints. They can vary in complexity, allowing you to
|
137
124
|
// get rid of the cognitive load behind typing and remembering media queries.
|
138
125
|
//
|
139
|
-
// @see https://github.com/
|
140
|
-
// @see https://github.com/canarymason/breakpoint/blob/master/README.markdown
|
126
|
+
// @see https://github.com/Team-Sass/breakpoint/wiki/Respond-To
|
141
127
|
|
142
128
|
// $sample-breakpoints: "small-ish" (300px),
|
143
129
|
// "medium-ish" (460px),
|
144
130
|
// "large-ish" (770px),
|
145
131
|
// "extra-large-ish" (1000px);
|
146
132
|
|
133
|
+
|
134
|
+
$breakpoint-no-query-fallbacks: true;
|
135
|
+
$breakpoint-to-ems: true;
|
136
|
+
|
147
137
|
$breakpoints: '';
|
metadata
CHANGED
@@ -7,8 +7,8 @@ version: !ruby/object:Gem::Version
|
|
7
7
|
- 0
|
8
8
|
- 0
|
9
9
|
- alpha
|
10
|
-
-
|
11
|
-
version: 3.0.0.alpha.
|
10
|
+
- 2
|
11
|
+
version: 3.0.0.alpha.2
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Sam Richard
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2013-04-
|
20
|
+
date: 2013-04-26 00:00:00 -04:00
|
21
21
|
default_executable:
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|