jumpstart 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +1 -0
- data/Gemfile +2 -1
- data/VERSION +1 -1
- data/config/jumpstart_setup.yml +1 -0
- data/jumpstart.gemspec +15 -89
- data/jumpstart_templates/{i0n_rails_3/lib/generators/formtastic_erb/controller/templates/view.html.erb → .gitignore} +0 -0
- data/lib/jumpstart.rb +15 -39
- data/lib/jumpstart/base.rb +111 -111
- data/lib/jumpstart/filetools.rb +11 -7
- data/lib/jumpstart/stringtools.rb +41 -0
- data/test/helper.rb +12 -6
- data/test/jumpstart/test_base.rb +848 -106
- data/test/jumpstart/test_filetools.rb +42 -10
- data/test/jumpstart/test_stringutils.rb +67 -0
- data/test/test_jumpstart_templates/test_base/current_files_and_dirs_test_file.txt +1 -0
- data/{jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/controller/templates/view.html.haml → test/test_jumpstart_templates/test_fileutils/sort_contained_files_and_dirs_test/file_1.txt} +0 -0
- data/{jumpstart_templates/i0n_rails_3/lib/generators/haml/controller/templates/view.html.haml → test/test_jumpstart_templates/test_fileutils/sort_contained_files_and_dirs_test/file_2} +0 -0
- data/test/test_jumpstart_templates/test_fileutils/sort_contained_files_and_dirs_test/folder_1/file_3.txt +0 -0
- data/test/test_jumpstart_templates/test_fileutils/sort_contained_files_and_dirs_test/folder_1/folder_2/file_4.txt +0 -0
- data/test/test_jumpstart_templates/test_fileutils/sort_contained_files_and_dirs_test/folder_1/folder_2/folder_3/file_5.txt +0 -0
- data/test/test_jumpstart_templates/test_fileutils/sort_contained_files_and_dirs_test/folder_1/folder_2/folder_4/file_6.txt +0 -0
- data/test/test_jumpstart_templates/test_template_1/_20._test_line_file_without_extension +1 -1
- data/test/test_jumpstart_templates/test_template_2/jumpstart_config/test_template_2.yml +83 -1
- metadata +15 -89
- data/.bundle/config +0 -2
- data/jumpstart_templates/i0n_rails_3/.gitignore +0 -11
- data/jumpstart_templates/i0n_rails_3/_._Gemfile +0 -5
- data/jumpstart_templates/i0n_rails_3/app/views/home/index.haml +0 -4
- data/jumpstart_templates/i0n_rails_3/app/views/layouts/application.haml +0 -32
- data/jumpstart_templates/i0n_rails_3/config/_2._routes.rb +0 -1
- data/jumpstart_templates/i0n_rails_3/config/_L._database.yml +0 -1
- data/jumpstart_templates/i0n_rails_3/config/deploy.rb +0 -62
- data/jumpstart_templates/i0n_rails_3/config/environments/_18._development.rb +0 -5
- data/jumpstart_templates/i0n_rails_3/config/environments/_27._test.rb +0 -1
- data/jumpstart_templates/i0n_rails_3/config/environments/_41._production.rb +0 -3
- data/jumpstart_templates/i0n_rails_3/config/initializers/setup_mail.rb +0 -14
- data/jumpstart_templates/i0n_rails_3/jumpstart_config/i0n_rails_3.yml +0 -40
- data/jumpstart_templates/i0n_rails_3/jumpstart_config/nginx.local.conf +0 -11
- data/jumpstart_templates/i0n_rails_3/jumpstart_config/nginx.remote.conf +0 -37
- data/jumpstart_templates/i0n_rails_3/lib/development_mail_interceptor.rb +0 -8
- data/jumpstart_templates/i0n_rails_3/lib/generators/authlogic.rb +0 -11
- data/jumpstart_templates/i0n_rails_3/lib/generators/authlogic/session/session_generator.rb +0 -18
- data/jumpstart_templates/i0n_rails_3/lib/generators/authlogic/session/templates/session.rb +0 -2
- data/jumpstart_templates/i0n_rails_3/lib/generators/datamapper.rb +0 -80
- data/jumpstart_templates/i0n_rails_3/lib/generators/datamapper/migration/migration_generator.rb +0 -26
- data/jumpstart_templates/i0n_rails_3/lib/generators/datamapper/migration/templates/migration.rb +0 -21
- data/jumpstart_templates/i0n_rails_3/lib/generators/datamapper/model/model_generator.rb +0 -29
- data/jumpstart_templates/i0n_rails_3/lib/generators/datamapper/model/templates/migration.rb +0 -17
- data/jumpstart_templates/i0n_rails_3/lib/generators/datamapper/model/templates/model.rb +0 -10
- data/jumpstart_templates/i0n_rails_3/lib/generators/datamapper/observer/observer_generator.rb +0 -15
- data/jumpstart_templates/i0n_rails_3/lib/generators/datamapper/observer/templates/observer.rb +0 -5
- data/jumpstart_templates/i0n_rails_3/lib/generators/factory_girl.rb +0 -11
- data/jumpstart_templates/i0n_rails_3/lib/generators/factory_girl/model/model_generator.rb +0 -14
- data/jumpstart_templates/i0n_rails_3/lib/generators/factory_girl/model/templates/fixtures.rb +0 -7
- data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb.rb +0 -9
- data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/USAGE +0 -8
- data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/controller/controller_generator.rb +0 -24
- data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/scaffold/scaffold_generator.rb +0 -27
- data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/scaffold/templates/_form.html.erb +0 -12
- data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/scaffold/templates/edit.html.erb +0 -6
- data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/scaffold/templates/index.html.erb +0 -27
- data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/scaffold/templates/layout.html.erb +0 -16
- data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/scaffold/templates/new.html.erb +0 -5
- data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_erb/scaffold/templates/show.html.erb +0 -10
- data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml.rb +0 -9
- data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/USAGE +0 -8
- data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/controller/controller_generator.rb +0 -24
- data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/scaffold/scaffold_generator.rb +0 -23
- data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/scaffold/templates/_form.haml.erb +0 -9
- data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/scaffold/templates/edit.haml.erb +0 -7
- data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/scaffold/templates/index.haml.erb +0 -23
- data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/scaffold/templates/layout.haml.erb +0 -9
- data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/scaffold/templates/new.haml.erb +0 -5
- data/jumpstart_templates/i0n_rails_3/lib/generators/formtastic_haml/scaffold/templates/show.haml.erb +0 -9
- data/jumpstart_templates/i0n_rails_3/lib/generators/haml.rb +0 -9
- data/jumpstart_templates/i0n_rails_3/lib/generators/haml/controller/controller_generator.rb +0 -24
- data/jumpstart_templates/i0n_rails_3/lib/generators/haml/scaffold/scaffold_generator.rb +0 -26
- data/jumpstart_templates/i0n_rails_3/lib/generators/haml/scaffold/templates/_form.haml.erb +0 -9
- data/jumpstart_templates/i0n_rails_3/lib/generators/haml/scaffold/templates/edit.haml.erb +0 -7
- data/jumpstart_templates/i0n_rails_3/lib/generators/haml/scaffold/templates/index.haml.erb +0 -23
- data/jumpstart_templates/i0n_rails_3/lib/generators/haml/scaffold/templates/layout.haml.erb +0 -9
- data/jumpstart_templates/i0n_rails_3/lib/generators/haml/scaffold/templates/new.haml.erb +0 -5
- data/jumpstart_templates/i0n_rails_3/lib/generators/haml/scaffold/templates/show.haml.erb +0 -9
- data/jumpstart_templates/i0n_rails_3/lib/generators/machinist.rb +0 -11
- data/jumpstart_templates/i0n_rails_3/lib/generators/machinist/model/model_generator.rb +0 -19
- data/jumpstart_templates/i0n_rails_3/lib/generators/machinist/model/templates/blueprint.rb +0 -5
- data/jumpstart_templates/i0n_rails_3/lib/generators/machinist/model/templates/machinist_initializer.rb +0 -19
- data/jumpstart_templates/i0n_rails_3/lib/generators/mongomapper.rb +0 -80
- data/jumpstart_templates/i0n_rails_3/lib/generators/mongomapper/model/model_generator.rb +0 -29
- data/jumpstart_templates/i0n_rails_3/lib/generators/mongomapper/model/templates/model.rb +0 -24
- data/jumpstart_templates/i0n_rails_3/lib/generators/mongomapper/observer/observer_generator.rb +0 -15
- data/jumpstart_templates/i0n_rails_3/lib/generators/shoulda.rb +0 -11
- data/jumpstart_templates/i0n_rails_3/lib/generators/shoulda/controller/controller_generator.rb +0 -16
- data/jumpstart_templates/i0n_rails_3/lib/generators/shoulda/controller/templates/controller.rb +0 -84
- data/jumpstart_templates/i0n_rails_3/lib/generators/shoulda/model/model_generator.rb +0 -16
- data/jumpstart_templates/i0n_rails_3/lib/generators/shoulda/model/templates/model.rb +0 -7
- data/jumpstart_templates/i0n_rails_3/lib/tasks/populate.rake +0 -91
- data/jumpstart_templates/i0n_rails_3/public/javascripts/init.js +0 -6
- data/jumpstart_templates/i0n_rails_3/public/javascripts/jquery-1.4.2.min.js +0 -154
- data/jumpstart_templates/i0n_rails_3/public/javascripts/jquery-ui-1.8.custom.min.js +0 -404
- data/jumpstart_templates/i0n_rails_3/public/javascripts/rails.js +0 -126
- data/jumpstart_templates/i0n_rails_3/public/stylesheets/sass/_setup.sass +0 -86
- data/jumpstart_templates/i0n_rails_3/public/stylesheets/sass/global.sass +0 -58
- data/jumpstart_templates/i0n_rails_3/public/stylesheets/sass/handheld.sass +0 -7
- data/jumpstart_templates/i0n_rails_3/public/stylesheets/sass/ie.sass +0 -40
- data/jumpstart_templates/i0n_rails_3/public/stylesheets/sass/print.sass +0 -57
- data/jumpstart_templates/i0n_rails_3/public/stylesheets/sass/screen.sass +0 -170
@@ -1,126 +0,0 @@
|
|
1
|
-
jQuery(function ($) {
|
2
|
-
var csrf_token = $('meta[name=csrf-token]').attr('content'),
|
3
|
-
csrf_param = $('meta[name=csrf-param]').attr('content');
|
4
|
-
|
5
|
-
$.fn.extend({
|
6
|
-
/**
|
7
|
-
* Triggers a custom event on an element and returns the event result
|
8
|
-
* this is used to get around not being able to ensure callbacks are placed
|
9
|
-
* at the end of the chain.
|
10
|
-
*
|
11
|
-
* TODO: deprecate with jQuery 1.4.2 release, in favor of subscribing to our
|
12
|
-
* own events and placing ourselves at the end of the chain.
|
13
|
-
*/
|
14
|
-
triggerAndReturn: function (name, data) {
|
15
|
-
var event = new $.Event(name);
|
16
|
-
this.trigger(event, data);
|
17
|
-
|
18
|
-
return event.result !== false;
|
19
|
-
},
|
20
|
-
|
21
|
-
/**
|
22
|
-
* Handles execution of remote calls firing overridable events along the way
|
23
|
-
*/
|
24
|
-
callRemote: function () {
|
25
|
-
var el = this,
|
26
|
-
data = el.is('form') ? el.serializeArray() : [],
|
27
|
-
method = el.attr('method') || el.attr('data-method') || 'GET',
|
28
|
-
url = el.attr('action') || el.attr('href');
|
29
|
-
|
30
|
-
if (url === undefined) {
|
31
|
-
throw "No URL specified for remote call (action or href must be present).";
|
32
|
-
} else {
|
33
|
-
if (el.triggerAndReturn('ajax:before')) {
|
34
|
-
$.ajax({
|
35
|
-
url: url,
|
36
|
-
data: data,
|
37
|
-
dataType: 'script',
|
38
|
-
type: method.toUpperCase(),
|
39
|
-
beforeSend: function (xhr) {
|
40
|
-
el.trigger('ajax:loading', xhr);
|
41
|
-
},
|
42
|
-
success: function (data, status, xhr) {
|
43
|
-
el.trigger('ajax:success', [data, status, xhr]);
|
44
|
-
},
|
45
|
-
complete: function (xhr) {
|
46
|
-
el.trigger('ajax:complete', xhr);
|
47
|
-
},
|
48
|
-
error: function (xhr, status, error) {
|
49
|
-
el.trigger('ajax:failure', [xhr, status, error]);
|
50
|
-
}
|
51
|
-
});
|
52
|
-
}
|
53
|
-
|
54
|
-
el.trigger('ajax:after');
|
55
|
-
}
|
56
|
-
}
|
57
|
-
});
|
58
|
-
|
59
|
-
/**
|
60
|
-
* confirmation handler
|
61
|
-
*/
|
62
|
-
$('a[data-confirm],input[data-confirm]').live('click', function () {
|
63
|
-
var el = $(this);
|
64
|
-
if (el.triggerAndReturn('confirm')) {
|
65
|
-
if (!confirm(el.attr('data-confirm'))) {
|
66
|
-
return false;
|
67
|
-
}
|
68
|
-
}
|
69
|
-
});
|
70
|
-
|
71
|
-
|
72
|
-
/**
|
73
|
-
* remote handlers
|
74
|
-
*/
|
75
|
-
$('form[data-remote]').live('submit', function (e) {
|
76
|
-
$(this).callRemote();
|
77
|
-
e.preventDefault();
|
78
|
-
});
|
79
|
-
|
80
|
-
$('a[data-remote],input[data-remote]').live('click', function (e) {
|
81
|
-
$(this).callRemote();
|
82
|
-
e.preventDefault();
|
83
|
-
});
|
84
|
-
|
85
|
-
$('a[data-method]:not([data-remote])').live('click', function (e){
|
86
|
-
var link = $(this),
|
87
|
-
href = link.attr('href'),
|
88
|
-
method = link.attr('data-method'),
|
89
|
-
form = $('<form method="post" action="'+href+'"></form>'),
|
90
|
-
metadata_input = '<input name="_method" value="'+method+'" type="hidden" />';
|
91
|
-
|
92
|
-
if (csrf_param != null && csrf_token != null) {
|
93
|
-
metadata_input += '<input name="'+csrf_param+'" value="'+csrf_token+'" type="hidden" />';
|
94
|
-
}
|
95
|
-
|
96
|
-
form.hide()
|
97
|
-
.append(metadata_input)
|
98
|
-
.appendTo('body');
|
99
|
-
|
100
|
-
e.preventDefault();
|
101
|
-
form.submit();
|
102
|
-
});
|
103
|
-
|
104
|
-
/**
|
105
|
-
* disable-with handlers
|
106
|
-
*/
|
107
|
-
var disable_with_input_selector = 'input[data-disable-with]';
|
108
|
-
var disable_with_form_selector = 'form[data-remote]:has(' + disable_with_input_selector + ')';
|
109
|
-
|
110
|
-
$(disable_with_form_selector).live('ajax:before', function () {
|
111
|
-
$(this).find(disable_with_input_selector).each(function () {
|
112
|
-
var input = $(this);
|
113
|
-
input.data('enable-with', input.val())
|
114
|
-
.attr('value', input.attr('data-disable-with'))
|
115
|
-
.attr('disabled', 'disabled');
|
116
|
-
});
|
117
|
-
});
|
118
|
-
|
119
|
-
$(disable_with_form_selector).live('ajax:after', function () {
|
120
|
-
$(this).find(disable_with_input_selector).each(function () {
|
121
|
-
var input = $(this);
|
122
|
-
input.removeAttr('disabled')
|
123
|
-
.val(input.data('enable-with'));
|
124
|
-
});
|
125
|
-
});
|
126
|
-
});
|
@@ -1,86 +0,0 @@
|
|
1
|
-
// ****** VARIABLES **********
|
2
|
-
|
3
|
-
$global_font_size_in_pixels: 12
|
4
|
-
$global_line_height: 1.5em
|
5
|
-
$width_of_page: 79.5em
|
6
|
-
$col_width: (($width_of_page - 5 * $global_line_height) / 6)
|
7
|
-
|
8
|
-
$background_color: white
|
9
|
-
|
10
|
-
$text_color_normal: #333333
|
11
|
-
$text_color_bold: ($text_color_normal / 100)
|
12
|
-
$text_color_faint: $text_color_normal * 2
|
13
|
-
$text_color_faintest: $text_color_normal * 4
|
14
|
-
|
15
|
-
$link_color: #3300cc
|
16
|
-
$link_color_visited: #551a8b
|
17
|
-
|
18
|
-
$link_horizontal_padding: 0.166em
|
19
|
-
|
20
|
-
$line_padding_normal: 0 0 1.5em
|
21
|
-
|
22
|
-
$notice_text_color: #00b300
|
23
|
-
$notice_background_color: #d3ffd3
|
24
|
-
|
25
|
-
$error_text_color: #b31000
|
26
|
-
$error_background_color: #ffaaa1
|
27
|
-
|
28
|
-
// ****** MIXINS **********
|
29
|
-
|
30
|
-
=font_small($padding: 0 0 1.5em)
|
31
|
-
font-size: 1em
|
32
|
-
line-height: 1.5em
|
33
|
-
padding: $padding
|
34
|
-
|
35
|
-
=font_normal($padding: 0 0 1.5em)
|
36
|
-
font-size: 1em
|
37
|
-
line-height: 1.5em
|
38
|
-
padding: $padding
|
39
|
-
|
40
|
-
=font_large($padding: 0 0 1em)
|
41
|
-
font-size: 1.5em
|
42
|
-
line-height: 1em
|
43
|
-
padding: $padding
|
44
|
-
|
45
|
-
=font_largest($padding: 0 0 0.5em)
|
46
|
-
font-size: 3em
|
47
|
-
line-height: 1em
|
48
|
-
padding: $padding
|
49
|
-
|
50
|
-
=system_message($text_color: $notice_text_color, $background_color: $notice_background_color)
|
51
|
-
+font_large(1em)
|
52
|
-
background-color: $background_color
|
53
|
-
margin: 0 0 0.777em
|
54
|
-
color: $text_color
|
55
|
-
border: 0.113em solid #{$text_color}
|
56
|
-
border-radius: 0.333em
|
57
|
-
-moz-border-radius: 0.333em
|
58
|
-
-webkit-border-radius: 0.333em
|
59
|
-
|
60
|
-
=spacer($margin: 1.5em 0 0)
|
61
|
-
+font_normal(0 0 2.916em)
|
62
|
-
margin: $margin
|
63
|
-
border-top: 0.08400000000000001em solid #{$text_color_faintest}
|
64
|
-
|
65
|
-
=col($number_of_cols: 3, $minus_gutter: 0)
|
66
|
-
width: $col_width * $number_of_cols + $number_of_cols * $global_line_height - $global_line_height * $minus_gutter
|
67
|
-
float: left
|
68
|
-
|
69
|
-
// ****** MIXINS - Main Menu **********
|
70
|
-
|
71
|
-
=main_menu_selected
|
72
|
-
background: -moz-linear-gradient(100% 49% 90deg, #2d34aa, #00021f)
|
73
|
-
background: -webkit-gradient(linear, 0% 49%, 0% 0%, from(#2d34aa), to(#00021f))
|
74
|
-
background-color: #00021f
|
75
|
-
|
76
|
-
=main_menu_selected_shadow($shadow_size: 0.5em)
|
77
|
-
box-shadow: inset 0 0 $shadow_size black
|
78
|
-
-webkit-box-shadow: inset 0 0 $shadow_size black
|
79
|
-
-moz-box-shadow: inset 0 0 $shadow_size black
|
80
|
-
|
81
|
-
=main_menu_first_selected
|
82
|
-
border-top-left-radius: 0.499em
|
83
|
-
border-bottom-left-radius: 0.499em
|
84
|
-
-webkit-border-top-left-radius: 0.499em
|
85
|
-
-webkit-border-bottom-left-radius: 0.499em
|
86
|
-
-moz-border-radius: 0.499em 0 0 0.499em
|
@@ -1,58 +0,0 @@
|
|
1
|
-
@import setup.sass
|
2
|
-
|
3
|
-
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td
|
4
|
-
margin: 0
|
5
|
-
padding: 0
|
6
|
-
border: 0
|
7
|
-
font-weight: inherit
|
8
|
-
font-size: 100%
|
9
|
-
font-style: inherit
|
10
|
-
font-family: inherit
|
11
|
-
vertical-align: baseline
|
12
|
-
|
13
|
-
body
|
14
|
-
font-size: 75%
|
15
|
-
|
16
|
-
html>body
|
17
|
-
font-style: normal
|
18
|
-
font-weight: normal
|
19
|
-
font-family: Helvetica, Arial, sans-serif
|
20
|
-
font-size: #{$global_font_size_in_pixels}px
|
21
|
-
line-height: $global_line_height
|
22
|
-
background-color: $background_color
|
23
|
-
color: $text_color_normal
|
24
|
-
word-wrap: break-word
|
25
|
-
|
26
|
-
table
|
27
|
-
border-collapse: separate
|
28
|
-
border-spacing: 1px
|
29
|
-
|
30
|
-
caption, th, td
|
31
|
-
text-align: left
|
32
|
-
font-weight: normal
|
33
|
-
|
34
|
-
table, td, th
|
35
|
-
vertical-align: middle
|
36
|
-
padding: 0
|
37
|
-
|
38
|
-
blockquote
|
39
|
-
&:before, &:after
|
40
|
-
content: ""
|
41
|
-
|
42
|
-
q
|
43
|
-
&:before, &:after
|
44
|
-
content: ""
|
45
|
-
|
46
|
-
blockquote, q
|
47
|
-
quotes: "" ""
|
48
|
-
|
49
|
-
a
|
50
|
-
outline: none
|
51
|
-
border: none
|
52
|
-
|
53
|
-
img
|
54
|
-
border: none
|
55
|
-
|
56
|
-
li
|
57
|
-
list-style-position: inside
|
58
|
-
list-style-type: none
|
@@ -1,40 +0,0 @@
|
|
1
|
-
@import setup.sass
|
2
|
-
@import screen
|
3
|
-
|
4
|
-
body
|
5
|
-
text-align: center
|
6
|
-
|
7
|
-
.container
|
8
|
-
text-align: left
|
9
|
-
|
10
|
-
* html
|
11
|
-
.column
|
12
|
-
overflow-x: hidden
|
13
|
-
legend
|
14
|
-
margin: 0px -8px 16px 0
|
15
|
-
padding: 0
|
16
|
-
|
17
|
-
ol
|
18
|
-
margin-left: 2em
|
19
|
-
|
20
|
-
sup
|
21
|
-
vertical-align: text-top
|
22
|
-
|
23
|
-
sub
|
24
|
-
vertical-align: text-bottom
|
25
|
-
|
26
|
-
html>body p code
|
27
|
-
*white-space: normal
|
28
|
-
|
29
|
-
hr
|
30
|
-
margin: -8px auto 11px
|
31
|
-
|
32
|
-
.clearfix, .container
|
33
|
-
display: inline-block
|
34
|
-
|
35
|
-
* html
|
36
|
-
.clearfix, .container
|
37
|
-
height: 1%
|
38
|
-
|
39
|
-
fieldset
|
40
|
-
padding-top: 0
|
@@ -1,57 +0,0 @@
|
|
1
|
-
@import setup.sass
|
2
|
-
|
3
|
-
body
|
4
|
-
line-height: 1.5
|
5
|
-
font-family: Helvetica, Arial, Helvetica, sans-serif
|
6
|
-
color: black
|
7
|
-
background: none
|
8
|
-
font-size: 10pt
|
9
|
-
|
10
|
-
.container
|
11
|
-
background: none
|
12
|
-
|
13
|
-
hr
|
14
|
-
background: #cccccc
|
15
|
-
color: #cccccc
|
16
|
-
width: 100%
|
17
|
-
height: 2px
|
18
|
-
margin: 2em 0
|
19
|
-
padding: 0
|
20
|
-
border: none
|
21
|
-
&.space
|
22
|
-
background: white
|
23
|
-
color: white
|
24
|
-
|
25
|
-
h1, h2, h3, h4, h5, h6
|
26
|
-
font-family: Helvetica, Arial, "Lucida Grande", sans-serif
|
27
|
-
|
28
|
-
code
|
29
|
-
font: 0.9em "Courier New", Monaco, Courier, monospace
|
30
|
-
|
31
|
-
img
|
32
|
-
float: left
|
33
|
-
margin: 1.5em 1.5em 1.5em 0
|
34
|
-
|
35
|
-
a img
|
36
|
-
border: none
|
37
|
-
|
38
|
-
p img.top
|
39
|
-
margin-top: 0
|
40
|
-
|
41
|
-
blockquote
|
42
|
-
margin: 1.5em
|
43
|
-
padding: 1em
|
44
|
-
font-style: italic
|
45
|
-
font-size: 0.9em
|
46
|
-
|
47
|
-
.hide
|
48
|
-
display: none
|
49
|
-
|
50
|
-
a
|
51
|
-
&:link, &:visited
|
52
|
-
background: transparent
|
53
|
-
font-weight: 700
|
54
|
-
text-decoration: underline
|
55
|
-
&:link:after, &:visited:after
|
56
|
-
content: " (" attr(href) ")"
|
57
|
-
font-size: 90%
|
@@ -1,170 +0,0 @@
|
|
1
|
-
@import setup.sass
|
2
|
-
|
3
|
-
h1
|
4
|
-
+font_largest
|
5
|
-
color = !text_color_bold
|
6
|
-
|
7
|
-
h2, h3
|
8
|
-
+font_large
|
9
|
-
color: $text_color_bold
|
10
|
-
|
11
|
-
h4, h5, h6
|
12
|
-
+font_normal
|
13
|
-
color: $text_color_bold
|
14
|
-
|
15
|
-
p
|
16
|
-
+font_normal
|
17
|
-
|
18
|
-
a
|
19
|
-
color: $link_color
|
20
|
-
padding: 0 #{$link_horizontal_padding}
|
21
|
-
margin: 0 0 0 #{$link_horizontal_padding}
|
22
|
-
&:hover
|
23
|
-
color: $background_color
|
24
|
-
background-color: $link_color
|
25
|
-
text-decoration: none
|
26
|
-
padding: 0 #{$link_horizontal_padding}
|
27
|
-
margin: 0 0 0 #{$link_horizontal_padding}
|
28
|
-
border-radius: 0.25em
|
29
|
-
-moz-border-radius: 0.25em
|
30
|
-
-webkit-border-radius: 0.25em
|
31
|
-
&:visited
|
32
|
-
color: $background_color
|
33
|
-
background-color: $link_color_visited
|
34
|
-
&:visited
|
35
|
-
color: $link_color_visited
|
36
|
-
|
37
|
-
ul, ol
|
38
|
-
+font_normal
|
39
|
-
|
40
|
-
strong
|
41
|
-
font-weight: bold
|
42
|
-
|
43
|
-
em
|
44
|
-
font-style: italic
|
45
|
-
|
46
|
-
legend
|
47
|
-
+font_normal
|
48
|
-
|
49
|
-
.faint
|
50
|
-
color: $text_color_faint
|
51
|
-
|
52
|
-
.clear
|
53
|
-
clear: both
|
54
|
-
|
55
|
-
.container
|
56
|
-
width: $width_of_page
|
57
|
-
margin: 0 auto
|
58
|
-
position: relative
|
59
|
-
padding: 0
|
60
|
-
|
61
|
-
.col_1
|
62
|
-
+col(2, 1)
|
63
|
-
margin: 0 1.416em 0 0
|
64
|
-
border-right: 0.08400000000000001em solid #{$text_color_faintest}
|
65
|
-
|
66
|
-
.col_2
|
67
|
-
+col(4, 1)
|
68
|
-
|
69
|
-
.spacer1
|
70
|
-
+spacer
|
71
|
-
|
72
|
-
.spacer2
|
73
|
-
+spacer(3em 0 0)
|
74
|
-
|
75
|
-
p.flash_notice
|
76
|
-
+system_message
|
77
|
-
|
78
|
-
p.flash_error
|
79
|
-
+system_message($error_text_color, $error_background_color)
|
80
|
-
|
81
|
-
.errorExplanation
|
82
|
-
color: $error_text_color
|
83
|
-
background-color: $error_background_color
|
84
|
-
padding: 1.333em 1.166em
|
85
|
-
border: 0.167em solid #{$error_text_color}
|
86
|
-
margin: 0 0 1.5em
|
87
|
-
border-radius: 0.499em
|
88
|
-
-moz-border-radius: 0.499em
|
89
|
-
-webkit-border-radius: 0.499em
|
90
|
-
h2
|
91
|
-
color: $error_text_color
|
92
|
-
|
93
|
-
// ******** HEADER SECTION **********
|
94
|
-
|
95
|
-
.header
|
96
|
-
margin: 1.5em 0 0
|
97
|
-
|
98
|
-
.header_links
|
99
|
-
margin: 0 0 1.5em
|
100
|
-
span
|
101
|
-
float: right
|
102
|
-
|
103
|
-
// ******** NEW LAYOUT SECTION **********
|
104
|
-
|
105
|
-
.col_1_of_3
|
106
|
-
+col(2, 0)
|
107
|
-
|
108
|
-
.col_2_of_3
|
109
|
-
+col(2, 0)
|
110
|
-
|
111
|
-
.col_3_of_3
|
112
|
-
+col(2, 1)
|
113
|
-
|
114
|
-
.highlighted_col
|
115
|
-
background: #dddddd
|
116
|
-
|
117
|
-
.red_highlight
|
118
|
-
color: red
|
119
|
-
|
120
|
-
.green_highlight
|
121
|
-
color: green
|
122
|
-
|
123
|
-
// ******** Main Menu SECTION **********
|
124
|
-
|
125
|
-
#main_menu
|
126
|
-
+font_large(0)
|
127
|
-
width: 100%
|
128
|
-
height: 3em
|
129
|
-
border-radius: 0.499em
|
130
|
-
-moz-border-radius: 0.499em
|
131
|
-
-webkit-border-radius: 0.499em
|
132
|
-
background-color: #6c72ce
|
133
|
-
background: -webkit-gradient(linear, 0% 15%, 0% 86%, from(#d4d6fe), to(#6c72ce), color-stop(0.3, #aaaeff))
|
134
|
-
background: -moz-linear-gradient(15% 75% 90deg, #6c72ce, #aaaeff, #d4d6fe 86%)
|
135
|
-
margin: 0 0 3em
|
136
|
-
box-shadow: 2px 2px 2px #666666
|
137
|
-
-moz-box-shadow: 2px 2px 2px #666666
|
138
|
-
-webkit-box-shadow: 2px 2px 2px #666666
|
139
|
-
-webkit-box-reflect: below 3px -webkit-gradient(linear, 0% 45%, 0% 100%, from(transparent), to(rgba(255, 255, 255, 0.3)))
|
140
|
-
li
|
141
|
-
width: 8em
|
142
|
-
height: 3em
|
143
|
-
float: left
|
144
|
-
margin: 0
|
145
|
-
a
|
146
|
-
display: block
|
147
|
-
line-height: 1em
|
148
|
-
padding: 1em 0 1em
|
149
|
-
border-radius: 0
|
150
|
-
-moz-border-radius: 0
|
151
|
-
-webkit-border-radius: 0
|
152
|
-
text-decoration: none
|
153
|
-
color: #00021f
|
154
|
-
text-align: center
|
155
|
-
margin: 0
|
156
|
-
&:hover
|
157
|
-
+main_menu_selected
|
158
|
-
color: #d4d6fe
|
159
|
-
&:active
|
160
|
-
+main_menu_selected
|
161
|
-
color: #00021f
|
162
|
-
+main_menu_selected_shadow(1.5em)
|
163
|
-
&.selected
|
164
|
-
+main_menu_selected
|
165
|
-
color: #aaaeff
|
166
|
-
+main_menu_selected_shadow
|
167
|
-
.first
|
168
|
-
a:hover, a.selected
|
169
|
-
+main_menu_first_selected
|
170
|
-
|