compass-aurora-os 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/aurora-os.rb +2 -2
- data/templates/arcturus/arcturus.info.erb +2 -2
- data/templates/arcturus/gitignore.txt +6 -0
- data/templates/arcturus/manifest.rb +7 -2
- data/templates/arcturus/partials/global/_base.scss +3 -3
- data/templates/arcturus/partials/global/_variables.scss +51 -0
- data/templates/arcturus/partials/layouts/_layouts.scss +45 -3
- data/templates/arcturus/partials/modules/_modules.scss +4 -3
- data/templates/arcturus/partials/states/_states.scss +4 -3
- data/templates/arcturus/partials/styleguide/_style-guide.scss +12 -5
- data/templates/arcturus/template.php.erb +119 -17
- data/templates/arcturus/tpls/field--field-slideshow-slide-body-text.tpl.php.txt +24 -0
- data/templates/arcturus/tpls/field--field-slideshow-slide-link.tpl.php.txt +24 -0
- data/templates/arcturus/tpls/field--field-slideshow-slide.tpl.php.txt +27 -0
- data/templates/arcturus/tpls/page.tpl.php.txt +109 -0
- data/templates/arcturus/tpls/views-view.tpl.php.txt +98 -0
- data/templates/bower/manifest.rb +1 -1
- data/templates/shared/_extendables.scss +4 -4
- data/templates/shared/{component.json.erb → bower.json.erb} +0 -0
- metadata +11 -4
data/lib/aurora-os.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
<% project_name = File.basename(Compass.configuration.project_path) %><% project_js = Compass.configuration.javascripts_dir %><% project_css = Compass.configuration.css_dir %>name = <%= project_name %>
|
2
|
-
description = <%= project_name %> theme based on the Aurora base theme.
|
1
|
+
<% project_name = File.basename(Compass.configuration.project_path) %><% project_js = Compass.configuration.javascripts_dir %><% project_css = Compass.configuration.css_dir %>name = <%= project_name.capitalize %>
|
2
|
+
description = <%= project_name.capitalize %> theme based on the Aurora base theme.
|
3
3
|
core = 7.x
|
4
4
|
base theme = aurora
|
5
5
|
|
@@ -14,10 +14,15 @@ file './arcturus.info.erb', :to => "#{options[:project_name] || File.basename(Co
|
|
14
14
|
|
15
15
|
file './template.php.erb', :to => "template.php", :erb => true
|
16
16
|
|
17
|
+
# Drupal templates
|
18
|
+
file './tpls/page.tpl.php.txt', :to => "templates/page.tpl.php"
|
19
|
+
file './tpls/field--field-slideshow-slide-body-text.tpl.php.txt', :to => "templates/field--field-slideshow-slide-body-text.tpl.php"
|
20
|
+
file './tpls/field--field-slideshow-slide-link.tpl.php.txt', :to => "templates/field--field-slideshow-slide-link.tpl.php"
|
21
|
+
file './tpls/field--field-slideshow-slide.tpl.php.txt', :to => "templates/field--field-slideshow-slide.tpl.php"
|
22
|
+
|
17
23
|
# Stylesheets
|
18
24
|
discover :stylesheets
|
19
25
|
|
20
|
-
file '../shared/_variables.scss', :like => :stylesheet, :to => 'partials/global/_variables.scss'
|
21
26
|
file '../shared/_functions.scss', :like => :stylesheet, :to => 'partials/global/_functions.scss'
|
22
27
|
file '../shared/_mixins.scss', :like => :stylesheet, :to => 'partials/global/_mixins.scss'
|
23
28
|
file '../shared/_extendables.scss', :like => :stylesheet, :to => 'partials/global/_extendables.scss'
|
@@ -25,7 +30,7 @@ file '../shared/_extendables.scss', :like => :stylesheet, :to => 'partials/globa
|
|
25
30
|
# Developer Consistency
|
26
31
|
file '../shared/Gemfile.txt', :to => 'Gemfile'
|
27
32
|
file '../shared/editorconfig.txt', :to => '.editorconfig'
|
28
|
-
file '
|
33
|
+
file './gitignore.txt', :to => ".gitignore"
|
29
34
|
|
30
35
|
help %Q{
|
31
36
|
@TODO Write some help text.
|
@@ -2,8 +2,8 @@
|
|
2
2
|
// Base Partials
|
3
3
|
//
|
4
4
|
// These files will be shared across all three of your output
|
5
|
-
//
|
6
|
-
//
|
5
|
+
// CSS files. Generally included here are only Compass Extension
|
6
|
+
// imports and imports for variables, functions, mixins, and extendables.
|
7
7
|
//
|
8
8
|
// Toolkit imports all of Compass, so there is no need to import it separately.
|
9
9
|
////////////////////////
|
@@ -21,4 +21,4 @@
|
|
21
21
|
@import 'variables';
|
22
22
|
@import 'functions';
|
23
23
|
@import 'mixins';
|
24
|
-
@import 'extendables';
|
24
|
+
@import 'extendables';
|
@@ -0,0 +1,51 @@
|
|
1
|
+
///////////////////////////////////////////////////////////////////////////////
|
2
|
+
// Variables Partials
|
3
|
+
//
|
4
|
+
// All of your variables should go in this file.
|
5
|
+
///////////////////////////////////////////////////////////////////////////////
|
6
|
+
|
7
|
+
////////////////////////
|
8
|
+
// Breakpoints
|
9
|
+
//
|
10
|
+
// Override Alphecca defaults here.
|
11
|
+
////////////////////////
|
12
|
+
//$small: 500px;
|
13
|
+
//$medium: 800px;
|
14
|
+
//$large: 1100px;
|
15
|
+
//$xlarge: 1400px;
|
16
|
+
|
17
|
+
// Old IE support
|
18
|
+
//$breakpoint-no-query-fallbacks: true;
|
19
|
+
//$no-query: '.lt-ie9';
|
20
|
+
|
21
|
+
////////////////////////
|
22
|
+
// Grids
|
23
|
+
//
|
24
|
+
// Override Alphecca defaults here.
|
25
|
+
////////////////////////
|
26
|
+
//$grids: add-grid(3);
|
27
|
+
//$grids: add-grid(6 at $small);
|
28
|
+
//$grids: add-grid(18 at $medium);
|
29
|
+
//$grids: add-grid(30 at $large);
|
30
|
+
|
31
|
+
//$gutters: add-gutter(1/5);
|
32
|
+
//$gutters: add-gutter(1/3 at $small);
|
33
|
+
//$gutters: add-gutter(1/2 at $medium);
|
34
|
+
//$gutters: add-gutter(1 at $large);
|
35
|
+
|
36
|
+
//$output: 'isolation';
|
37
|
+
|
38
|
+
// Grid color for debugging
|
39
|
+
//$background-grid-color: rgba(117, 125, 138, 1);
|
40
|
+
|
41
|
+
////////////////////////
|
42
|
+
// Layout
|
43
|
+
//
|
44
|
+
// Override Alphecca defaults here.
|
45
|
+
////////////////////////
|
46
|
+
//$container-width: 320px;
|
47
|
+
|
48
|
+
//$small-container-width: 480px;
|
49
|
+
//$medium-container-width: 720px;
|
50
|
+
//$large-container-width: 960px;
|
51
|
+
//$xlarge-container-width: 1200px;
|
@@ -1,6 +1,48 @@
|
|
1
|
-
|
1
|
+
////////////////////////////////////////////////////////////////////////////////
|
2
2
|
// Layouts Partials
|
3
3
|
//
|
4
4
|
// Your SMACSS Layouts go here
|
5
|
-
// Build sub folders and partials in this folder, with everything
|
6
|
-
|
5
|
+
// Build sub folders and partials in this folder, with everything
|
6
|
+
// being imported, in cascading order, into this file.
|
7
|
+
////////////////////////////////////////////////////////////////////////////////
|
8
|
+
|
9
|
+
////////////////////////
|
10
|
+
// Bedrock Grid Imports
|
11
|
+
////////////////////////
|
12
|
+
@import 'adakite/adakite';
|
13
|
+
@import 'andesite/andesite';
|
14
|
+
@import 'basalt/basalt';
|
15
|
+
@import 'coal/coal';
|
16
|
+
@import 'flint/flint';
|
17
|
+
@import 'granite/granite';
|
18
|
+
@import 'hawaiite/hawaiite';
|
19
|
+
@import 'obsidian/obsidian';
|
20
|
+
@import 'pumice/pumice';
|
21
|
+
@import 'quartz/quartz';
|
22
|
+
@import 'variolite/variolite';
|
23
|
+
|
24
|
+
////////////////////////
|
25
|
+
// Regions
|
26
|
+
////////////////////////
|
27
|
+
.header-container,
|
28
|
+
.main-container,
|
29
|
+
.footer-container {
|
30
|
+
margin: 0 auto;
|
31
|
+
min-width: $container-width;
|
32
|
+
|
33
|
+
@include breakpoint($small) {
|
34
|
+
width: $small-container-width;
|
35
|
+
}
|
36
|
+
|
37
|
+
@include breakpoint($medium) {
|
38
|
+
width: $medium-container-width;
|
39
|
+
}
|
40
|
+
|
41
|
+
@include breakpoint($large) {
|
42
|
+
width: $large-container-width;
|
43
|
+
}
|
44
|
+
|
45
|
+
@include breakpoint($xlarge) {
|
46
|
+
width: $xlarge-container-width;
|
47
|
+
}
|
48
|
+
}
|
@@ -1,6 +1,7 @@
|
|
1
|
-
|
1
|
+
////////////////////////////////////////////////////////////////////////////////
|
2
2
|
// Module Partials
|
3
3
|
//
|
4
4
|
// Your SMACSS Modules go here
|
5
|
-
// Build sub folders and partials in this folder,
|
6
|
-
|
5
|
+
// Build sub folders and partials in this folder,
|
6
|
+
// imported, in cascading order, into this file.
|
7
|
+
////////////////////////////////////////////////////////////////////////////////
|
@@ -1,6 +1,7 @@
|
|
1
|
-
|
1
|
+
////////////////////////////////////////////////////////////////////////////////
|
2
2
|
// States Partials
|
3
3
|
//
|
4
4
|
// Your SMACSS States go here
|
5
|
-
// Build sub folders and partials in this folder,
|
6
|
-
|
5
|
+
// Build sub folders and partials in this folder,
|
6
|
+
// with everything being imported, in cascading order, into this file.
|
7
|
+
////////////////////////////////////////////////////////////////////////////////
|
@@ -1,11 +1,13 @@
|
|
1
|
-
|
1
|
+
////////////////////////////////////////////////////////////////////////////////
|
2
2
|
// Style Guide Partials
|
3
3
|
//
|
4
4
|
// Your Style Guide
|
5
|
-
// Build sub folders and partials in this folder,
|
5
|
+
// Build sub folders and partials in this folder,
|
6
|
+
// with everything being imported, in cascading order, into this file.
|
6
7
|
//
|
7
|
-
// All Style Guide selectors should go in here, regardless of layout
|
8
|
-
|
8
|
+
// All Style Guide selectors should go in here, regardless of layout
|
9
|
+
// or design (but separating the two in here is a good idea).
|
10
|
+
////////////////////////////////////////////////////////////////////////////////
|
9
11
|
|
10
12
|
|
11
13
|
//////////////////////////////
|
@@ -16,4 +18,9 @@
|
|
16
18
|
// If you'd prefer a soft reset, uncomment `normalize`
|
17
19
|
//////////////////////////////
|
18
20
|
// @import 'compass/reset';
|
19
|
-
|
21
|
+
@import 'normalize';
|
22
|
+
|
23
|
+
////////////////////////
|
24
|
+
// Alphecca Style Import
|
25
|
+
////////////////////////
|
26
|
+
@import '../vendor/alphecca/sass/alphecca-style';
|
@@ -5,6 +5,12 @@
|
|
5
5
|
* Theme functions for the <%= project_name %> theme.
|
6
6
|
*/
|
7
7
|
|
8
|
+
|
9
|
+
/**
|
10
|
+
* Preprocess Functions
|
11
|
+
*/
|
12
|
+
|
13
|
+
|
8
14
|
/**
|
9
15
|
* Override or insert variables into the maintenance page template.
|
10
16
|
*
|
@@ -24,18 +30,6 @@ function <%= project_name %>_preprocess_maintenance_page(&$vars) {
|
|
24
30
|
// Also, check $vars['db_is_active'] before doing any db queries.
|
25
31
|
}
|
26
32
|
|
27
|
-
/**
|
28
|
-
* Implements hook_modernizr_load_alter().
|
29
|
-
*
|
30
|
-
* @return (array)
|
31
|
-
* An array to be output as yepnope testObjects.
|
32
|
-
*/
|
33
|
-
/* -- Delete this line if you want to use this function
|
34
|
-
function <%= project_name %>_modernizr_load_alter(&$load) {
|
35
|
-
|
36
|
-
}
|
37
|
-
*/
|
38
|
-
|
39
33
|
/**
|
40
34
|
* Implements hook_preprocess_html()
|
41
35
|
*
|
@@ -78,11 +72,10 @@ function <%= project_name %>_preprocess_region(&$vars) {
|
|
78
72
|
* @param (array) $vars
|
79
73
|
* An array of variables to pass to the theme template.
|
80
74
|
*/
|
81
|
-
/* -- Delete this line if you want to use this function
|
82
75
|
function <%= project_name %>_preprocess_block(&$vars) {
|
83
|
-
|
76
|
+
$vars['classes_array'][] = 'clearfix';
|
84
77
|
}
|
85
|
-
|
78
|
+
|
86
79
|
|
87
80
|
/**
|
88
81
|
* Override or insert variables into the entity template.
|
@@ -121,11 +114,24 @@ function <%= project_name %>_preprocess_node(&$vars) {
|
|
121
114
|
* @param (array) $vars
|
122
115
|
* An array of variables to pass to the theme template.
|
123
116
|
*/
|
124
|
-
/* -- Delete this line if you want to use this function
|
125
117
|
function <%= project_name %>_preprocess_field(&$vars) {
|
126
118
|
|
119
|
+
/* Uncomment this to enable the Foundation Orbit slider.
|
120
|
+
$element = $vars['element'];
|
121
|
+
switch ($element['#field_name']) {
|
122
|
+
case 'field_slideshow_slide':
|
123
|
+
drupal_add_js(drupal_get_path('theme', '<%= project_name %>') . '/vendor/alphecca/js/foundation.js', 'file');
|
124
|
+
drupal_add_js(drupal_get_path('theme', '<%= project_name %>') . '/vendor/alphecca/js/foundation.orbit.js', 'file');
|
125
|
+
drupal_add_js('jQuery(document).foundation();', array(
|
126
|
+
'type' => 'inline',
|
127
|
+
'scope' => 'footer',
|
128
|
+
'weight' => 10
|
129
|
+
));
|
130
|
+
break;
|
131
|
+
}
|
132
|
+
*/
|
133
|
+
|
127
134
|
}
|
128
|
-
*/
|
129
135
|
|
130
136
|
/**
|
131
137
|
* Override or insert variables into the comment template.
|
@@ -151,6 +157,27 @@ function <%= project_name %>_preprocess_views_view(&$vars) {
|
|
151
157
|
}
|
152
158
|
*/
|
153
159
|
|
160
|
+
/**
|
161
|
+
* Process Functions
|
162
|
+
*/
|
163
|
+
|
164
|
+
|
165
|
+
/**
|
166
|
+
* Alter Hooks
|
167
|
+
*/
|
168
|
+
|
169
|
+
|
170
|
+
/**
|
171
|
+
* Implements hook_modernizr_load_alter().
|
172
|
+
*
|
173
|
+
* @return (array)
|
174
|
+
* An array to be output as yepnope testObjects.
|
175
|
+
*/
|
176
|
+
/* -- Delete this line if you want to use this function
|
177
|
+
function <%= project_name %>_modernizr_load_alter(&$load) {
|
178
|
+
|
179
|
+
}
|
180
|
+
*/
|
154
181
|
|
155
182
|
/**
|
156
183
|
* Override or insert css on the site.
|
@@ -175,3 +202,78 @@ function <%= project_name %>_js_alter(&$js) {
|
|
175
202
|
|
176
203
|
}
|
177
204
|
*/
|
205
|
+
|
206
|
+
/**
|
207
|
+
* Implements hook_form_alter().
|
208
|
+
*/
|
209
|
+
function <%= project_name %>_form_alter(&$form, &$form_state, $form_id) {
|
210
|
+
switch ($form_id) {
|
211
|
+
case 'user_login_block':
|
212
|
+
$form['name']['#weight'] = 0;
|
213
|
+
$form['pass']['#weight'] = 0.001;
|
214
|
+
$form['actions']['#weight'] = 0.002;
|
215
|
+
break;
|
216
|
+
}
|
217
|
+
}
|
218
|
+
|
219
|
+
|
220
|
+
/**
|
221
|
+
* Theme Function Overrides.
|
222
|
+
*/
|
223
|
+
|
224
|
+
|
225
|
+
/**
|
226
|
+
* Returns HTML for a breadcrumb trail.
|
227
|
+
*
|
228
|
+
* @param (array) $variables
|
229
|
+
* An associative array containing:
|
230
|
+
* - breadcrumb: An array containing the breadcrumb links.
|
231
|
+
*/
|
232
|
+
function <%= project_name %>_breadcrumb($variables) {
|
233
|
+
$breadcrumb = $variables['breadcrumb'];
|
234
|
+
|
235
|
+
if (!empty($breadcrumb)) {
|
236
|
+
// Provide a navigational heading to give context for breadcrumb links to
|
237
|
+
// screen-reader users. Make the heading invisible with .element-invisible.
|
238
|
+
$output = '<h2 class="element-invisible">' . t('You are here') . '</h2>';
|
239
|
+
|
240
|
+
$output .= '<div class="breadcrumb">' . implode('', $breadcrumb) . '</div>';
|
241
|
+
return $output;
|
242
|
+
}
|
243
|
+
}
|
244
|
+
|
245
|
+
/**
|
246
|
+
* Returns HTML to wrap child elements in a container.
|
247
|
+
*
|
248
|
+
* Used for grouped form items. Can also be used as a #theme_wrapper for any
|
249
|
+
* renderable element, to surround it with a <div> and add attributes such as
|
250
|
+
* classes or an HTML id.
|
251
|
+
*
|
252
|
+
* @param (array) $variables
|
253
|
+
* An associative array containing:
|
254
|
+
* - element: An associative array containing the properties of the element.
|
255
|
+
* Properties used: #id, #attributes, #children.
|
256
|
+
*
|
257
|
+
* @ingroup themeable
|
258
|
+
*/
|
259
|
+
function <%= project_name %>_container($variables) {
|
260
|
+
$element = $variables['element'];
|
261
|
+
|
262
|
+
// Special handling for form elements.
|
263
|
+
if (isset($element['#array_parents'])) {
|
264
|
+
// Assign an html ID.
|
265
|
+
if (!isset($element['#attributes']['id'])) {
|
266
|
+
$element['#attributes']['id'] = $element['#id'];
|
267
|
+
}
|
268
|
+
// Add the 'form-wrapper' class.
|
269
|
+
$element['#attributes']['class'][] = 'form-wrapper';
|
270
|
+
|
271
|
+
// Add the 'button-group' & 'radius' classes to form actions.
|
272
|
+
if ($element['#id'] == 'edit-actions') {
|
273
|
+
$element['#attributes']['class'][] = 'button-group';
|
274
|
+
$element['#attributes']['class'][] = 'radius';
|
275
|
+
}
|
276
|
+
}
|
277
|
+
|
278
|
+
return '<div' . drupal_attributes($element['#attributes']) . '>' . $element['#children'] . '</div>';
|
279
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<?php
|
2
|
+
/**
|
3
|
+
* @file
|
4
|
+
* Modified field--fences-div.tpl.php for use with Foundation's Orbit Slider.
|
5
|
+
*
|
6
|
+
* @see http://foundation.zurb.com/docs/components/orbit.html
|
7
|
+
*/
|
8
|
+
?>
|
9
|
+
<div class="orbit-caption">
|
10
|
+
<?php if ($element['#label_display'] == 'inline'): ?>
|
11
|
+
<span class="field-label"<?php print $title_attributes; ?>>
|
12
|
+
<?php print $label; ?>:
|
13
|
+
</span>
|
14
|
+
<?php elseif ($element['#label_display'] == 'above'): ?>
|
15
|
+
<h3 class="field-label"<?php print $title_attributes; ?>>
|
16
|
+
<?php print $label; ?>
|
17
|
+
</h3>
|
18
|
+
<?php endif; ?>
|
19
|
+
|
20
|
+
<?php foreach ($items as $delta => $item): ?>
|
21
|
+
<div class="<?php print $classes; ?>"<?php print $attributes; ?>>
|
22
|
+
<?php print render($item); ?>
|
23
|
+
</div>
|
24
|
+
<?php endforeach; ?>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<?php
|
2
|
+
/**
|
3
|
+
* @file
|
4
|
+
* Modified field--fences-div.tpl.php for use with Foundation's Orbit Slider.
|
5
|
+
*
|
6
|
+
* @see http://foundation.zurb.com/docs/components/orbit.html
|
7
|
+
*/
|
8
|
+
?>
|
9
|
+
<?php if ($element['#label_display'] == 'inline'): ?>
|
10
|
+
<span class="field-label"<?php print $title_attributes; ?>>
|
11
|
+
<?php print $label; ?>:
|
12
|
+
</span>
|
13
|
+
<?php elseif ($element['#label_display'] == 'above'): ?>
|
14
|
+
<h3 class="field-label"<?php print $title_attributes; ?>>
|
15
|
+
<?php print $label; ?>
|
16
|
+
</h3>
|
17
|
+
<?php endif; ?>
|
18
|
+
|
19
|
+
<?php foreach ($items as $delta => $item): ?>
|
20
|
+
<div class="<?php print $classes; ?>"<?php print $attributes; ?>>
|
21
|
+
<?php print render($item); ?>
|
22
|
+
</div>
|
23
|
+
<?php endforeach; ?>
|
24
|
+
</div><!-- /.orbit-caption -->
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<?php
|
2
|
+
/**
|
3
|
+
* @file
|
4
|
+
* Modified field--fences-ul.tpl.php for use with Foundation's Orbit Slider.
|
5
|
+
*
|
6
|
+
* @see http://foundation.zurb.com/docs/components/orbit.html
|
7
|
+
*/
|
8
|
+
?>
|
9
|
+
<?php if ($element['#label_display'] == 'inline'): ?>
|
10
|
+
<span class="field-label"<?php print $title_attributes; ?>>
|
11
|
+
<?php print $label; ?>:
|
12
|
+
</span>
|
13
|
+
<?php elseif ($element['#label_display'] == 'above'): ?>
|
14
|
+
<h3 class="field-label"<?php print $title_attributes; ?>>
|
15
|
+
<?php print $label; ?>
|
16
|
+
</h3>
|
17
|
+
<?php endif; ?>
|
18
|
+
|
19
|
+
<ul class="<?php print $classes; ?>"<?php print $attributes; ?> data-orbit>
|
20
|
+
|
21
|
+
<?php foreach ($items as $delta => $item): ?>
|
22
|
+
<li<?php print $item_attributes[$delta]; ?>>
|
23
|
+
<?php print render($item); ?>
|
24
|
+
</li>
|
25
|
+
<?php endforeach; ?>
|
26
|
+
|
27
|
+
</ul>
|
@@ -0,0 +1,109 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
/**
|
4
|
+
* @file
|
5
|
+
* Default theme implementation to display a single Drupal page.
|
6
|
+
*
|
7
|
+
* Available variables:
|
8
|
+
*
|
9
|
+
* General utility variables:
|
10
|
+
* - $base_path: The base URL path of the Drupal installation. At the very
|
11
|
+
* least, this will always default to /.
|
12
|
+
* - $directory: The directory the template is located in, e.g. modules/system
|
13
|
+
* or themes/bartik.
|
14
|
+
* - $is_front: TRUE if the current page is the front page.
|
15
|
+
* - $logged_in: TRUE if the user is registered and signed in.
|
16
|
+
* - $is_admin: TRUE if the user has permission to access administration pages.
|
17
|
+
*
|
18
|
+
* Site identity:
|
19
|
+
* - $front_page: The URL of the front page. Use this instead of $base_path,
|
20
|
+
* when linking to the front page. This includes the language domain or
|
21
|
+
* prefix.
|
22
|
+
* - $logo: The path to the logo image, as defined in theme configuration.
|
23
|
+
* - $site_name: The name of the site, empty when display has been disabled
|
24
|
+
* in theme settings.
|
25
|
+
* - $site_slogan: The slogan of the site, empty when display has been disabled
|
26
|
+
* in theme settings.
|
27
|
+
*
|
28
|
+
* Navigation:
|
29
|
+
* - $main_menu (array): An array containing the Main menu links for the
|
30
|
+
* site, if they have been configured.
|
31
|
+
* - $secondary_menu (array): An array containing the Secondary menu links for
|
32
|
+
* the site, if they have been configured.
|
33
|
+
* - $breadcrumb: The breadcrumb trail for the current page.
|
34
|
+
*
|
35
|
+
* Page content (in order of occurrence in the default page.tpl.php):
|
36
|
+
* - $title_prefix (array): An array containing additional output populated by
|
37
|
+
* modules, intended to be displayed in front of the main title tag that
|
38
|
+
* appears in the template.
|
39
|
+
* - $title: The page title, for use in the actual HTML content.
|
40
|
+
* - $title_suffix (array): An array containing additional output populated by
|
41
|
+
* modules, intended to be displayed after the main title tag that appears in
|
42
|
+
* the template.
|
43
|
+
* - $messages: HTML for status and error messages. Should be displayed
|
44
|
+
* prominently.
|
45
|
+
* - $tabs (array): Tabs linking to any sub-pages beneath the current page
|
46
|
+
* (e.g., the view and edit tabs when displaying a node).
|
47
|
+
* - $action_links (array): Actions local to the page, such as 'Add menu' on the
|
48
|
+
* menu administration interface.
|
49
|
+
* - $feed_icons: A string of all feed icons for the current page.
|
50
|
+
* - $node: The node object, if there is an automatically-loaded node
|
51
|
+
* associated with the page, and the node ID is the second argument
|
52
|
+
* in the page's path (e.g. node/12345 and node/12345/revisions, but not
|
53
|
+
* comment/reply/12345).
|
54
|
+
*
|
55
|
+
* Regions:
|
56
|
+
* - $page['help']: Dynamic help text, mostly for admin pages.
|
57
|
+
* - $page['highlighted']: Items for the highlighted content region.
|
58
|
+
* - $page['content']: The main content of the current page.
|
59
|
+
* - $page['sidebar_first']: Items for the first sidebar.
|
60
|
+
* - $page['sidebar_second']: Items for the second sidebar.
|
61
|
+
* - $page['header']: Items for the header region.
|
62
|
+
* - $page['footer']: Items for the footer region.
|
63
|
+
*
|
64
|
+
* @see template_preprocess()
|
65
|
+
* @see template_preprocess_page()
|
66
|
+
* @see template_process()
|
67
|
+
*/
|
68
|
+
?>
|
69
|
+
|
70
|
+
<?php if ($page['header']): ?>
|
71
|
+
<div class="header-container">
|
72
|
+
<header id="header" role="banner">
|
73
|
+
<div class="header-inner clearfix">
|
74
|
+
<?php print render($page['header']); ?>
|
75
|
+
</div><!-- /.header-inner -->
|
76
|
+
</header>
|
77
|
+
</div><!-- /.header-container -->
|
78
|
+
<?php endif; ?>
|
79
|
+
|
80
|
+
<div class="main-container">
|
81
|
+
<?php if ($page['main_prefix']): ?>
|
82
|
+
<div class="main-prefix">
|
83
|
+
<?php print render($page['main_prefix']); ?>
|
84
|
+
</div>
|
85
|
+
<?php endif; ?>
|
86
|
+
|
87
|
+
<?php if ($page['content']): ?>
|
88
|
+
<main id="main" role="main">
|
89
|
+
<?php print render($page['content']); ?>
|
90
|
+
</main>
|
91
|
+
<?php endif; ?>
|
92
|
+
|
93
|
+
|
94
|
+
<?php if ($page['main_suffix']): ?>
|
95
|
+
<div class="main-suffix">
|
96
|
+
<?php print render($page['main_suffix']); ?>
|
97
|
+
</div>
|
98
|
+
<?php endif; ?>
|
99
|
+
</div><!-- /.main-container -->
|
100
|
+
|
101
|
+
<?php if ($page['footer']): ?>
|
102
|
+
<div class="footer-container">
|
103
|
+
<footer id="footer" role="contentinfo">
|
104
|
+
<div class="footer-inner clearfix">
|
105
|
+
<?php print render($page['footer']); ?>
|
106
|
+
</div><!-- /.footer-inner -->
|
107
|
+
</footer>
|
108
|
+
</div><!-- /.footer-container -->
|
109
|
+
<?php endif; ?>
|
@@ -0,0 +1,98 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
/**
|
4
|
+
* @file
|
5
|
+
* Main view template.
|
6
|
+
*
|
7
|
+
* Variables available:
|
8
|
+
* - $classes_array: An array of classes determined in
|
9
|
+
* template_preprocess_views_view(). Default classes are:
|
10
|
+
* .view
|
11
|
+
* .view-[css_name]
|
12
|
+
* .view-id-[view_name]
|
13
|
+
* .view-display-id-[display_name]
|
14
|
+
* .view-dom-id-[dom_id]
|
15
|
+
* - $classes: A string version of $classes_array for use in the class attribute
|
16
|
+
* - $css_name: A css-safe version of the view name.
|
17
|
+
* - $css_class: The user-specified classes names, if any
|
18
|
+
* - $header: The view header
|
19
|
+
* - $footer: The view footer
|
20
|
+
* - $rows: The results of the view query, if any
|
21
|
+
* - $empty: The empty text to display if the view is empty
|
22
|
+
* - $pager: The pager next/prev links to display, if any
|
23
|
+
* - $exposed: Exposed widget form/info to display
|
24
|
+
* - $feed_icon: Feed icon to display, if any
|
25
|
+
* - $more: A link to view more, if any
|
26
|
+
*
|
27
|
+
* @ingroup views_templates
|
28
|
+
*/
|
29
|
+
?>
|
30
|
+
<div class="<?php print $classes; ?>">
|
31
|
+
<?php print render($title_prefix); ?>
|
32
|
+
<?php if ($title): ?>
|
33
|
+
<?php print $title; ?>
|
34
|
+
<?php endif; ?>
|
35
|
+
<?php print render($title_suffix); ?>
|
36
|
+
<?php if ($header): ?>
|
37
|
+
<div class="view-header">
|
38
|
+
<?php print $header; ?>
|
39
|
+
</div>
|
40
|
+
<?php endif; ?>
|
41
|
+
|
42
|
+
<?php if ($exposed): ?>
|
43
|
+
<div class="view-filters">
|
44
|
+
<?php print $exposed; ?>
|
45
|
+
</div>
|
46
|
+
<?php endif; ?>
|
47
|
+
|
48
|
+
<?php if ($attachment_before): ?>
|
49
|
+
<div class="attachment attachment-before">
|
50
|
+
<?php print $attachment_before; ?>
|
51
|
+
</div>
|
52
|
+
<?php endif; ?>
|
53
|
+
|
54
|
+
<?php if ($pager): ?>
|
55
|
+
<div class="view-pager view-pager-top">
|
56
|
+
<?php print $pager; ?>
|
57
|
+
</div>
|
58
|
+
<?php endif; ?>
|
59
|
+
|
60
|
+
<?php if ($rows): ?>
|
61
|
+
<div class="view-content">
|
62
|
+
<?php print $rows; ?>
|
63
|
+
</div>
|
64
|
+
<?php elseif ($empty): ?>
|
65
|
+
<div class="view-empty">
|
66
|
+
<?php print $empty; ?>
|
67
|
+
</div>
|
68
|
+
<?php endif; ?>
|
69
|
+
|
70
|
+
<?php if ($pager): ?>
|
71
|
+
<div class="view-pager view-pager-bottom">
|
72
|
+
<?php print $pager; ?>
|
73
|
+
</div>
|
74
|
+
<?php endif; ?>
|
75
|
+
|
76
|
+
<?php if ($attachment_after): ?>
|
77
|
+
<div class="attachment attachment-after">
|
78
|
+
<?php print $attachment_after; ?>
|
79
|
+
</div>
|
80
|
+
<?php endif; ?>
|
81
|
+
|
82
|
+
<?php if ($more): ?>
|
83
|
+
<?php print $more; ?>
|
84
|
+
<?php endif; ?>
|
85
|
+
|
86
|
+
<?php if ($footer): ?>
|
87
|
+
<div class="view-footer">
|
88
|
+
<?php print $footer; ?>
|
89
|
+
</div>
|
90
|
+
<?php endif; ?>
|
91
|
+
|
92
|
+
<?php if ($feed_icon): ?>
|
93
|
+
<div class="feed-icon">
|
94
|
+
<?php print $feed_icon; ?>
|
95
|
+
</div>
|
96
|
+
<?php endif; ?>
|
97
|
+
|
98
|
+
</div><?php /* class view */ ?>
|
data/templates/bower/manifest.rb
CHANGED
@@ -3,7 +3,7 @@ no_configuration_file!
|
|
3
3
|
|
4
4
|
# Bower's for the Birds
|
5
5
|
file '../shared/bowerrc.txt', :to => '.bowerrc'
|
6
|
-
file '../shared/
|
6
|
+
file '../shared/bower.json.erb', :to => 'bower.json', :erb => true
|
7
7
|
|
8
8
|
help %Q{
|
9
9
|
Please contact Sam Richard with questions:
|
@@ -1,12 +1,12 @@
|
|
1
|
-
|
1
|
+
///////////////////////////////////////////////////////////////////////////////
|
2
2
|
// Extendables Partials
|
3
3
|
//
|
4
4
|
// All of your extendable classes, ids, and placeholder extendables
|
5
|
-
//
|
6
|
-
|
5
|
+
// should go in this file.
|
6
|
+
///////////////////////////////////////////////////////////////////////////////
|
7
7
|
|
8
8
|
.clearfix {
|
9
|
-
|
9
|
+
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
|
10
10
|
*zoom: 1;
|
11
11
|
}
|
12
12
|
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass-aurora-os
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2014-01-30 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: sass
|
@@ -167,13 +167,13 @@ files:
|
|
167
167
|
- templates/shared/_mixins.scss
|
168
168
|
- templates/shared/bowerrc.txt
|
169
169
|
- templates/shared/Gruntfile.js.erb
|
170
|
-
- templates/shared/component.json.erb
|
171
170
|
- templates/shared/template.php.erb
|
172
171
|
- templates/shared/README-Sass.md
|
173
172
|
- templates/shared/_variables.scss
|
174
173
|
- templates/shared/aurora.info.erb
|
175
174
|
- templates/shared/package.json.erb
|
176
175
|
- templates/shared/jshintrc.txt
|
176
|
+
- templates/shared/bower.json.erb
|
177
177
|
- templates/shared/README-Partials.md
|
178
178
|
- templates/shared/Gemfile.txt
|
179
179
|
- templates/shared/_extendables.scss
|
@@ -190,18 +190,25 @@ files:
|
|
190
190
|
- templates/corona/partials/design/_design.scss
|
191
191
|
- templates/corona/style.scss
|
192
192
|
- templates/corona/manifest.rb
|
193
|
+
- templates/arcturus/tpls/field--field-slideshow-slide.tpl.php.txt
|
194
|
+
- templates/arcturus/tpls/page.tpl.php.txt
|
195
|
+
- templates/arcturus/tpls/views-view.tpl.php.txt
|
196
|
+
- templates/arcturus/tpls/field--field-slideshow-slide-body-text.tpl.php.txt
|
197
|
+
- templates/arcturus/tpls/field--field-slideshow-slide-link.tpl.php.txt
|
198
|
+
- templates/arcturus/gitignore.txt
|
193
199
|
- templates/arcturus/print.scss
|
194
200
|
- templates/arcturus/arcturus.info.erb
|
195
201
|
- templates/arcturus/partials/states/_states.scss
|
196
202
|
- templates/arcturus/partials/styleguide/_style-guide.scss
|
197
203
|
- templates/arcturus/partials/global/_base.scss
|
204
|
+
- templates/arcturus/partials/global/_variables.scss
|
198
205
|
- templates/arcturus/partials/layouts/_layouts.scss
|
199
206
|
- templates/arcturus/partials/modules/_modules.scss
|
200
207
|
- templates/arcturus/template.php.erb
|
201
208
|
- templates/arcturus/style.scss
|
202
209
|
- templates/arcturus/manifest.rb
|
203
210
|
- templates/bower/manifest.rb
|
204
|
-
homepage:
|
211
|
+
homepage: http://opensourcery.com
|
205
212
|
licenses:
|
206
213
|
- GPL
|
207
214
|
post_install_message:
|