compass-aurora 3.0.6 → 3.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aurora.rb +2 -2
- data/stylesheets/_aurora.scss +5 -3
- data/stylesheets/drupal/_system.scss +19 -0
- data/stylesheets/drupal/_vertical-tabs.scss +196 -0
- data/templates/corona/maintenance.scss +1 -1
- data/templates/corona/manifest.rb +2 -2
- data/templates/corona/partials/{base/_base.scss → _base.scss} +0 -0
- data/templates/corona/partials/{base/_variables.scss → _variables.scss} +0 -0
- data/templates/corona/partials/design/_design.scss +1 -0
- data/templates/corona/print.scss +1 -1
- data/templates/corona/style.scss +1 -1
- data/templates/polaris/partials/styleguide/_style-guide.scss +3 -3
- data/templates/project/partials/styleguide/_style-guide.scss +3 -3
- data/templates/shared/config.rb.erb +6 -0
- data/templates/shared/template.php.erb +1 -7
- metadata +10 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
SHA512:
|
3
|
-
data.tar.gz: eac4d99ad165451fe3a07766fca3898c935ee67ba6691bd960751299246843479fd6a1ba986df2cba41388b7d43eb8aff164fba1671e0a6835180eb91da43b2b
|
4
|
-
metadata.gz: 675d3da0a6327e872d8e18d75d46e2706544f8c003b48024a570279c626d90091c07e5cab51e6d8a97d62fd450308f7f13740030ea012e305e755d1f64cde4ab
|
5
2
|
SHA1:
|
6
|
-
|
7
|
-
|
3
|
+
metadata.gz: 9bdeb8192f6992c256bd415752fc735f55312d05
|
4
|
+
data.tar.gz: e78723046000a9a6702328b354b63e5211c3a2e8
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e65876c6e70b560b197a012c1133c09f89632c3f79700255f9b7b9be3170ff8b74ded5ef53f5abaa47079d2a898e298e253888ecb5b3aaaaef8288d74bf720bb
|
7
|
+
data.tar.gz: 6afa0a0a4b35de8cb6c37af5081f35957c9133f93aa843f5dd7007ac43ca80d39cd59180e630e3f6674b9a932fb2b155de6bd1691344c52a987e0782caec9b5e
|
data/lib/aurora.rb
CHANGED
data/stylesheets/_aurora.scss
CHANGED
@@ -0,0 +1,19 @@
|
|
1
|
+
@import "toolkit/clearfix";
|
2
|
+
|
3
|
+
.element-invisible {
|
4
|
+
position: absolute !important;
|
5
|
+
overflow: hidden;
|
6
|
+
height: 1px;
|
7
|
+
|
8
|
+
&.element-focusable:active,
|
9
|
+
&.element-focusable:focus {
|
10
|
+
position: static !important;
|
11
|
+
clip: auto;
|
12
|
+
overflow: visible;
|
13
|
+
height: auto;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
.clearfix {
|
18
|
+
@include clearfix($extend: true);
|
19
|
+
}
|
@@ -0,0 +1,196 @@
|
|
1
|
+
@import "toolkit/box-sizing";
|
2
|
+
@import "toolkit/colors";
|
3
|
+
@import "toolkit/equal-height-columns";
|
4
|
+
@import "breakpoint";
|
5
|
+
|
6
|
+
@mixin vertical-tabs($tab-bkg: #f2f2f2, $tab-width: 240px, $main-bkg: #fff, $break: 735px, $border: 1px solid #ccc) {
|
7
|
+
|
8
|
+
$bkpt: 'min-width' $break;
|
9
|
+
$widths: $tab-width, 100%;
|
10
|
+
$colors: $tab-bkg, $main-bkg;
|
11
|
+
|
12
|
+
.vertical-tabs {
|
13
|
+
@include box-sizing('border-box');
|
14
|
+
|
15
|
+
background: $main-bkg;
|
16
|
+
@include breakpoint($bkpt) {
|
17
|
+
[dir="ltr"] & {
|
18
|
+
@include equal-height-columns($widths, $colors);
|
19
|
+
}
|
20
|
+
[dir="rtl"] & {
|
21
|
+
@include equal-height-columns($widths, $colors, right);
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
|
26
|
+
border: $border;
|
27
|
+
margin: 0;
|
28
|
+
position: relative;
|
29
|
+
|
30
|
+
* {
|
31
|
+
@include box-sizing('border-box');
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
.vertical-tabs-pane {
|
36
|
+
border: 0;
|
37
|
+
padding: 0;
|
38
|
+
margin: 0;
|
39
|
+
|
40
|
+
@include breakpoint($bkpt) {
|
41
|
+
width: 100%;
|
42
|
+
clear: both;
|
43
|
+
}
|
44
|
+
|
45
|
+
|
46
|
+
legend {
|
47
|
+
display: none;
|
48
|
+
}
|
49
|
+
|
50
|
+
fieldset legend {
|
51
|
+
display: block;
|
52
|
+
}
|
53
|
+
|
54
|
+
.fieldset-wrapper {
|
55
|
+
padding-top: 0.3125em;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
.vertical-tabs-list {
|
60
|
+
[dir="ltr"] & {
|
61
|
+
float: left;
|
62
|
+
}
|
63
|
+
[dir="rtl"] & {
|
64
|
+
float: right;
|
65
|
+
}
|
66
|
+
|
67
|
+
font-size: 1em;
|
68
|
+
line-height: 1;
|
69
|
+
|
70
|
+
width: 100%;
|
71
|
+
background: $tab-bkg;
|
72
|
+
@include breakpoint($bkpt) {
|
73
|
+
width: $tab-width;
|
74
|
+
|
75
|
+
}
|
76
|
+
|
77
|
+
|
78
|
+
.vertical-tabs & {
|
79
|
+
margin: 0;
|
80
|
+
padding: 10px;
|
81
|
+
border-bottom: $border;
|
82
|
+
|
83
|
+
@include breakpoint($bkpt) {
|
84
|
+
padding: 0;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
.vertical-tabs-panes {
|
90
|
+
@include breakpoint($bkpt) {
|
91
|
+
[dir="ltr"] & {
|
92
|
+
border-left: $border;
|
93
|
+
margin-left: $tab-width - 1px;
|
94
|
+
}
|
95
|
+
|
96
|
+
[dir="rtl"] & {
|
97
|
+
border-right: $border;
|
98
|
+
margin-right: $tab-width - 1px;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
|
103
|
+
input {
|
104
|
+
max-width: 100%;
|
105
|
+
}
|
106
|
+
|
107
|
+
// padding: 10px 15px 10px 0;
|
108
|
+
}
|
109
|
+
|
110
|
+
.vertical-tab-button {
|
111
|
+
list-style: none;
|
112
|
+
list-style-image: none;
|
113
|
+
|
114
|
+
margin-right: 5px;
|
115
|
+
margin-bottom: 5px;
|
116
|
+
display: inline-block;
|
117
|
+
|
118
|
+
@include breakpoint($bkpt) {
|
119
|
+
margin: 0;
|
120
|
+
display: block;
|
121
|
+
border-bottom: $border;
|
122
|
+
}
|
123
|
+
|
124
|
+
&.last a {
|
125
|
+
margin-bottom: 0;
|
126
|
+
}
|
127
|
+
|
128
|
+
@include breakpoint($bkpt) {
|
129
|
+
[dir="ltr"] & {
|
130
|
+
border-right: $border;
|
131
|
+
}
|
132
|
+
|
133
|
+
[dir="rtl"] & {
|
134
|
+
border-left: $border;
|
135
|
+
}
|
136
|
+
}
|
137
|
+
|
138
|
+
&.selected {
|
139
|
+
[dir="ltr"] & {
|
140
|
+
border-right-color: $main-bkg;
|
141
|
+
}
|
142
|
+
|
143
|
+
[dir="rtl"] & {
|
144
|
+
border-left-color: $main-bkg;
|
145
|
+
}
|
146
|
+
|
147
|
+
a {
|
148
|
+
background: $main-bkg;
|
149
|
+
|
150
|
+
&:hover,
|
151
|
+
a:focus {
|
152
|
+
background: $main-bkg;
|
153
|
+
}
|
154
|
+
}
|
155
|
+
}
|
156
|
+
|
157
|
+
a {
|
158
|
+
display: block;
|
159
|
+
line-height: 1;
|
160
|
+
|
161
|
+
padding: 5px 10px;
|
162
|
+
border-radius: 5px;
|
163
|
+
|
164
|
+
margin-bottom: 5px;
|
165
|
+
|
166
|
+
background: shade($tab-bkg, 11%);
|
167
|
+
|
168
|
+
@include breakpoint($bkpt) {
|
169
|
+
padding: 10px;
|
170
|
+
border-radius: 0;
|
171
|
+
margin-bottom: 0;
|
172
|
+
background: transparent;
|
173
|
+
}
|
174
|
+
|
175
|
+
|
176
|
+
&:hover,
|
177
|
+
&:focus {
|
178
|
+
background: shade($tab-bkg, 21%);
|
179
|
+
|
180
|
+
@include breakpoint($bkpt) {
|
181
|
+
background: shade($tab-bkg, 11%);
|
182
|
+
}
|
183
|
+
|
184
|
+
text-decoration: none;
|
185
|
+
outline: 0;
|
186
|
+
}
|
187
|
+
}
|
188
|
+
|
189
|
+
.summary {
|
190
|
+
color: #666;
|
191
|
+
display: block;
|
192
|
+
font-size: 0.846em;
|
193
|
+
margin-top: 0.4em;
|
194
|
+
}
|
195
|
+
}
|
196
|
+
}
|
@@ -17,8 +17,8 @@ file '../shared/template.php.erb', :to => "template.php", :erb => true
|
|
17
17
|
# Stylesheets
|
18
18
|
discover :stylesheets
|
19
19
|
|
20
|
-
file '../shared/_functions.scss', :like => :stylesheet, :to => 'partials/
|
21
|
-
file '../shared/_mixins.scss', :like => :stylesheet, :to => 'partials/
|
20
|
+
file '../shared/_functions.scss', :like => :stylesheet, :to => 'partials/_functions.scss'
|
21
|
+
file '../shared/_mixins.scss', :like => :stylesheet, :to => 'partials/_mixins.scss'
|
22
22
|
|
23
23
|
file '../shared/_extendables.scss', :like => :stylesheet, :to => 'partials/global/_extendables.scss'
|
24
24
|
|
File without changes
|
File without changes
|
data/templates/corona/print.scss
CHANGED
data/templates/corona/style.scss
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
//
|
14
14
|
// Choose your CSS Reset method:
|
15
15
|
// If you'd like a hard reset, uncomment `compass/reset`.
|
16
|
-
// If you'd prefer a soft reset, uncomment `
|
16
|
+
// If you'd prefer a soft reset, uncomment `normalize`
|
17
17
|
//////////////////////////////
|
18
|
-
// @import 'compass/
|
19
|
-
// @import '
|
18
|
+
// @import 'compass/reset';
|
19
|
+
// @import 'normalize';
|
@@ -12,7 +12,7 @@
|
|
12
12
|
//
|
13
13
|
// Choose your CSS Reset method:
|
14
14
|
// If you'd like a hard reset, uncomment `compass/reset`.
|
15
|
-
// If you'd prefer a soft reset, uncomment `
|
15
|
+
// If you'd prefer a soft reset, uncomment `normalize`
|
16
16
|
//////////////////////////////
|
17
|
-
// @import 'compass/
|
18
|
-
// @import '
|
17
|
+
// @import 'compass/reset';
|
18
|
+
// @import 'normalize';
|
@@ -9,6 +9,11 @@ images_dir = "<%= project_img %>"
|
|
9
9
|
javascripts_dir = "<%= project_js %>"
|
10
10
|
fonts_dir = "<%= project_fonts %>"
|
11
11
|
|
12
|
+
# Change this to :production when ready to deploy the CSS to the live server.
|
13
|
+
# Note: If you are using grunt.js, these variables will be overriden.
|
14
|
+
environment = :development
|
15
|
+
#environment = :production
|
16
|
+
|
12
17
|
# To enable relative paths to assets via compass helper functions. Since Drupal themes can be installed in multiple locations, we shouldn't need to worry about the absolute path to the theme from the server root.
|
13
18
|
relative_assets = true
|
14
19
|
|
@@ -18,6 +23,7 @@ line_comments = false
|
|
18
23
|
# In development, we can turn on the debug_info to use with FireSass or Chrome Web Inspector. Uncomment:
|
19
24
|
# debug = true
|
20
25
|
|
26
|
+
|
21
27
|
##############################
|
22
28
|
## You probably don't need to edit anything below this.
|
23
29
|
##############################
|
@@ -27,15 +27,9 @@ function <%= project_name %>_preprocess_maintenance_page(&$vars, $hook) {
|
|
27
27
|
* @return
|
28
28
|
* An array to be output as yepnope testObjects.
|
29
29
|
*/
|
30
|
+
/* -- Delete this line if you want to use this function
|
30
31
|
function <%= project_name %>_modernizr_load_alter(&$load) {
|
31
32
|
|
32
|
-
// We will check for touch events, and if we do load the hammer.js script.
|
33
|
-
$load[] = array(
|
34
|
-
'test' => 'Modernizr.touch',
|
35
|
-
'yep' => array('/'. drupal_get_path('theme','<%= project_name %>') . '/<%= project_js %>/hammer.js'),
|
36
|
-
);
|
37
|
-
|
38
|
-
return $load;
|
39
33
|
}
|
40
34
|
|
41
35
|
/**
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass-aurora
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Richard
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-07-02 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: compass
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
requirements:
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
32
|
+
version: 1.2.2
|
33
33
|
type: :runtime
|
34
34
|
version_requirements: *id002
|
35
35
|
- !ruby/object:Gem::Dependency
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
requirements:
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.
|
42
|
+
version: 0.2.0
|
43
43
|
type: :runtime
|
44
44
|
version_requirements: *id003
|
45
45
|
- !ruby/object:Gem::Dependency
|
@@ -88,6 +88,8 @@ files:
|
|
88
88
|
- stylesheets/aurora/_singularity-grid.scss
|
89
89
|
- stylesheets/aurora/_susy-grid.scss
|
90
90
|
- stylesheets/aurora/_system.scss
|
91
|
+
- stylesheets/drupal/_system.scss
|
92
|
+
- stylesheets/drupal/_vertical-tabs.scss
|
91
93
|
- templates/bower/manifest.rb
|
92
94
|
- templates/box-sizing/behaviors/box-sizing/boxsizing.htc
|
93
95
|
- templates/box-sizing/behaviors/box-sizing/boxsizing.php
|
@@ -95,8 +97,8 @@ files:
|
|
95
97
|
- templates/box-sizing/README-behaviors.md
|
96
98
|
- templates/corona/maintenance.scss
|
97
99
|
- templates/corona/manifest.rb
|
98
|
-
- templates/corona/partials/
|
99
|
-
- templates/corona/partials/
|
100
|
+
- templates/corona/partials/_base.scss
|
101
|
+
- templates/corona/partials/_variables.scss
|
100
102
|
- templates/corona/partials/design/_design.scss
|
101
103
|
- templates/corona/partials/global/_defaults.scss
|
102
104
|
- templates/corona/partials/global/_forms.scss
|
@@ -139,8 +141,8 @@ files:
|
|
139
141
|
- templates/shared/README-templates.md
|
140
142
|
- templates/shared/template.php.erb
|
141
143
|
homepage: http://drupal.org/project/aurora
|
142
|
-
licenses:
|
143
|
-
|
144
|
+
licenses:
|
145
|
+
- GPL
|
144
146
|
metadata: {}
|
145
147
|
|
146
148
|
post_install_message:
|