compass-pattern-primer 0.3.beta → 0.4.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +2 -1
- data/README.md +121 -80
- data/lib/compass-pattern-primer.rb +2 -2
- data/stylesheets/compass-pattern-primer.scss +1 -7
- data/stylesheets/compass-pattern-primer/_partials.scss +1 -3
- data/stylesheets/compass-pattern-primer/partials/_extendables.scss +1 -188
- data/stylesheets/compass-pattern-primer/partials/_mixins.scss +0 -1
- data/templates/adactio/manifest.rb +29 -4
- data/templates/project/manifest.rb +65 -51
- data/templates/shared/patterns/01_a_header.html +1 -0
- data/templates/shared/patterns/02_a_header.html +1 -0
- data/templates/shared/patterns/03_a_header.html +1 -0
- data/templates/shared/patterns/04_a_header.html +1 -0
- data/templates/shared/sass/_config-adactio.scss +65 -0
- data/templates/shared/sass/{partials/variables/theme/_overrides.scss → _config.scss} +9 -4
- data/{stylesheets/compass-pattern-primer/base → templates/shared/sass/base/buttons}/_buttons.scss +11 -1
- data/templates/shared/sass/base/buttons/_buttons_extendables.scss +75 -0
- data/{stylesheets/compass-pattern-primer/partials/variables/base/_buttons.scss → templates/shared/sass/base/buttons/_buttons_variables.scss} +4 -0
- data/{stylesheets/compass-pattern-primer/base → templates/shared/sass/base/forms}/_forms.scss +7 -0
- data/templates/shared/sass/base/forms/_forms_extendables.scss +16 -0
- data/{stylesheets/compass-pattern-primer/partials/variables/base/_forms.scss → templates/shared/sass/base/forms/_forms_variables.scss} +4 -0
- data/{stylesheets/compass-pattern-primer/base → templates/shared/sass/base/links}/_links.scss +6 -0
- data/{stylesheets/compass-pattern-primer/partials/variables/base/_links.scss → templates/shared/sass/base/links/_links_variables.scss} +4 -0
- data/{stylesheets/compass-pattern-primer/base → templates/shared/sass/base/page}/_page.scss +6 -0
- data/{stylesheets/compass-pattern-primer/partials/variables/base/_page.scss → templates/shared/sass/base/page/_page_variables.scss} +4 -0
- data/{stylesheets/compass-pattern-primer/base → templates/shared/sass/base/search}/_search.scss +6 -0
- data/{stylesheets/compass-pattern-primer/partials/variables/base/_search.scss → templates/shared/sass/base/search/_search_variables.scss} +4 -0
- data/{stylesheets/compass-pattern-primer/base → templates/shared/sass/base/typography}/_typography.scss +6 -0
- data/{stylesheets/compass-pattern-primer/partials/variables/base/_typography.scss → templates/shared/sass/base/typography/_typography_variables.scss} +4 -0
- data/templates/shared/sass/global-adactio.scss +40 -17
- data/templates/shared/sass/global.scss +16 -26
- data/templates/shared/sass/layout/{_page.scss → page/_page.scss} +0 -0
- data/templates/shared/sass/modules/controls/_controls.scss +10 -0
- data/templates/shared/sass/modules/controls/_controls_extendables.scss +26 -0
- data/{stylesheets/compass-pattern-primer/partials/variables/modules/_control.scss → templates/shared/sass/modules/controls/_controls_variables.scss} +4 -0
- data/templates/shared/sass/modules/feedback/_feedback.scss +16 -0
- data/templates/shared/sass/modules/feedback/_feedback_extendables.scss +35 -0
- data/{stylesheets/compass-pattern-primer/partials/variables/modules/_feedback.scss → templates/shared/sass/modules/feedback/_feedback_variables.scss} +4 -0
- data/templates/shared/sass/modules/options/_options.scss +10 -0
- data/templates/shared/sass/modules/options/_options_extendables.scss +22 -0
- data/{stylesheets/compass-pattern-primer/partials/variables/modules/_options.scss → templates/shared/sass/modules/options/_options_variables.scss} +4 -0
- data/templates/shared/sass/modules/pagination/_pagination.scss +10 -0
- data/templates/shared/sass/modules/pagination/_pagination_extendables.scss +35 -0
- data/{stylesheets/compass-pattern-primer/partials/variables/modules/_pagination.scss → templates/shared/sass/modules/pagination/_pagination_variables.scss} +4 -0
- data/templates/shared/sass/partials/_colors.scss +20 -20
- data/templates/shared/sass/pattern-primer-static.scss +18 -0
- data/templates/shared/sass/pattern-primer.scss +1 -0
- data/templates/shared/sass/state/{_header.scss → header/_header.scss} +0 -0
- data/templates/shared/sass/theme/{_page.scss → page/_page.scss} +0 -0
- data/templates/static/manifest.rb +32 -23
- metadata +38 -47
- data/stylesheets/compass-pattern-primer/_base.scss +0 -12
- data/stylesheets/compass-pattern-primer/_modules.scss +0 -10
- data/stylesheets/compass-pattern-primer/modules/_control.scss +0 -3
- data/stylesheets/compass-pattern-primer/modules/_feedback.scss +0 -9
- data/stylesheets/compass-pattern-primer/modules/_options.scss +0 -3
- data/stylesheets/compass-pattern-primer/modules/_pagination.scss +0 -3
- data/stylesheets/compass-pattern-primer/partials/_colors.scss +0 -27
- data/stylesheets/compass-pattern-primer/partials/_variables.scss +0 -14
- data/stylesheets/compass-pattern-primer/partials/variables/base/_colors.scss +0 -1
- data/templates/shared/sass/base/_page.scss +0 -10
- data/templates/shared/sass/modules/_footer.scss +0 -7
- data/templates/shared/sass/modules/_header.scss +0 -7
- data/templates/shared/sass/partials/_variables-adactio.scss +0 -3
- data/templates/shared/sass/partials/_variables.scss +0 -17
- data/templates/shared/sass/partials/variables/base/_page.scss +0 -3
- data/templates/shared/sass/partials/variables/layout/_breakpoints.scss +0 -3
- data/templates/shared/sass/partials/variables/layout/_page.scss +0 -3
- data/templates/shared/sass/partials/variables/modules/_footer.scss +0 -3
- data/templates/shared/sass/partials/variables/modules/_header.scss +0 -3
- data/templates/shared/sass/partials/variables/state/_footer.scss +0 -3
- data/templates/shared/sass/partials/variables/state/_header.scss +0 -3
- data/templates/shared/sass/partials/variables/state/_page.scss +0 -3
- data/templates/shared/sass/partials/variables/theme/_page.scss +0 -3
- data/templates/shared/sass/state/_footer.scss +0 -3
- data/templates/shared/sass/state/_page.scss +0 -3
@@ -9,14 +9,39 @@ file '../shared/sass/global-adactio.scss', :like => :stylesheet, :to => 'global.
|
|
9
9
|
|
10
10
|
# Partials
|
11
11
|
file '../shared/sass/partials/_browsers.scss', :like => :stylesheet, :to => 'partials/_browsers.scss'
|
12
|
-
file '../shared/sass/partials/_colors.scss', :like => :stylesheet, :to => 'partials/_colors.scss'
|
13
12
|
file '../shared/sass/partials/_extendables.scss', :like => :stylesheet, :to => 'partials/_extendables.scss'
|
14
13
|
file '../shared/sass/partials/_functions.scss', :like => :stylesheet, :to => 'partials/_functions.scss'
|
15
14
|
file '../shared/sass/partials/_mixins.scss', :like => :stylesheet, :to => 'partials/_mixins.scss'
|
16
|
-
file '../shared/sass/partials/
|
15
|
+
file '../shared/sass/partials/_colors.scss', :like => :stylesheet, :to => 'partials/_colors.scss'
|
16
|
+
file '../shared/sass/_config-adactio.scss', :like => :stylesheet, :to => '_config.scss'
|
17
17
|
|
18
|
-
#
|
19
|
-
file '../shared/sass/
|
18
|
+
# Chunks
|
19
|
+
file '../shared/sass/base/buttons/_buttons.scss', :like => :stylesheet, :to => 'buttons/_buttons.scss'
|
20
|
+
file '../shared/sass/base/buttons/_buttons_extendables.scss', :like => :stylesheet, :to => 'buttons/_buttons_extendables.scss'
|
21
|
+
file '../shared/sass/base/buttons/_buttons_variables.scss', :like => :stylesheet, :to => 'buttons/_buttons_variables.scss'
|
22
|
+
file '../shared/sass/base/forms/_forms.scss', :like => :stylesheet, :to => 'forms/_forms.scss'
|
23
|
+
file '../shared/sass/base/forms/_forms_extendables.scss', :like => :stylesheet, :to => 'forms/_forms_extendables.scss'
|
24
|
+
file '../shared/sass/base/forms/_forms_variables.scss', :like => :stylesheet, :to => 'forms/_forms_variables.scss'
|
25
|
+
file '../shared/sass/base/links/_links.scss', :like => :stylesheet, :to => 'links/_links.scss'
|
26
|
+
file '../shared/sass/base/links/_links_variables.scss', :like => :stylesheet, :to => 'links/_links_variables.scss'
|
27
|
+
file '../shared/sass/base/page/_page.scss', :like => :stylesheet, :to => 'page/_page.scss'
|
28
|
+
file '../shared/sass/base/page/_page_variables.scss', :like => :stylesheet, :to => 'page/_page_variables.scss'
|
29
|
+
file '../shared/sass/base/search/_search.scss', :like => :stylesheet, :to => 'search/_search.scss'
|
30
|
+
file '../shared/sass/base/search/_search_variables.scss', :like => :stylesheet, :to => 'search/_search_variables.scss'
|
31
|
+
file '../shared/sass/base/typography/_typography.scss', :like => :stylesheet, :to => 'typography/_typography.scss'
|
32
|
+
file '../shared/sass/base/typography/_typography_variables.scss', :like => :stylesheet, :to => 'typography/_typography_variables.scss'
|
33
|
+
file '../shared/sass/modules/controls/_controls.scss', :like => :stylesheet, :to => 'controls/_controls.scss'
|
34
|
+
file '../shared/sass/modules/controls/_controls_extendables.scss', :like => :stylesheet, :to => 'controls/_controls_extendables.scss'
|
35
|
+
file '../shared/sass/modules/controls/_controls_variables.scss', :like => :stylesheet, :to => 'controls/_controls_variables.scss'
|
36
|
+
file '../shared/sass/modules/feedback/_feedback.scss', :like => :stylesheet, :to => 'feedback/_feedback.scss'
|
37
|
+
file '../shared/sass/modules/feedback/_feedback_extendables.scss', :like => :stylesheet, :to => 'feedback/_feedback_extendables.scss'
|
38
|
+
file '../shared/sass/modules/feedback/_feedback_variables.scss', :like => :stylesheet, :to => 'feedback/_feedback_variables.scss'
|
39
|
+
file '../shared/sass/modules/options/_options.scss', :like => :stylesheet, :to => 'options/_options.scss'
|
40
|
+
file '../shared/sass/modules/options/_options_extendables.scss', :like => :stylesheet, :to => 'options/_options_extendables.scss'
|
41
|
+
file '../shared/sass/modules/options/_options_variables.scss', :like => :stylesheet, :to => 'options/_options_variables.scss'
|
42
|
+
file '../shared/sass/modules/pagination/_pagination.scss', :like => :stylesheet, :to => 'pagination/_pagination.scss'
|
43
|
+
file '../shared/sass/modules/pagination/_pagination_extendables.scss', :like => :stylesheet, :to => 'pagination/_pagination_extendables.scss'
|
44
|
+
file '../shared/sass/modules/pagination/_pagination_variables.scss', :like => :stylesheet, :to => 'pagination/_pagination_variables.scss'
|
20
45
|
|
21
46
|
# Javascript Import
|
22
47
|
# file 'scripts.js', :like => :javascript, :to => 'scripts.js'
|
@@ -11,68 +11,82 @@ file '../shared/sass/pattern-primer.scss', :like => :stylesheet, :to => 'pattern
|
|
11
11
|
|
12
12
|
# Partials
|
13
13
|
file '../shared/sass/partials/_browsers.scss', :like => :stylesheet, :to => 'partials/_browsers.scss'
|
14
|
-
file '../shared/sass/partials/_colors.scss', :like => :stylesheet, :to => 'partials/_colors.scss'
|
15
14
|
file '../shared/sass/partials/_extendables.scss', :like => :stylesheet, :to => 'partials/_extendables.scss'
|
16
15
|
file '../shared/sass/partials/_functions.scss', :like => :stylesheet, :to => 'partials/_functions.scss'
|
17
16
|
file '../shared/sass/partials/_mixins.scss', :like => :stylesheet, :to => 'partials/_mixins.scss'
|
18
|
-
file '../shared/sass/partials/
|
17
|
+
file '../shared/sass/partials/_colors.scss', :like => :stylesheet, :to => 'partials/_colors.scss'
|
18
|
+
file '../shared/sass/_config.scss', :like => :stylesheet, :to => '_config.scss'
|
19
19
|
|
20
|
-
# Variables
|
21
|
-
file '../shared/sass/partials/variables/base/_page.scss', :like => :stylesheet, :to => 'partials/variables/base/_page.scss'
|
22
|
-
file '../shared/sass/partials/variables/modules/_header.scss', :like => :stylesheet, :to => 'partials/variables/modules/_header.scss'
|
23
|
-
file '../shared/sass/partials/variables/modules/_footer.scss', :like => :stylesheet, :to => 'partials/variables/modules/_footer.scss'
|
24
|
-
file '../shared/sass/partials/variables/layout/_breakpoints.scss', :like => :stylesheet, :to => 'partials/variables/layout/_breakpoints.scss'
|
25
|
-
file '../shared/sass/partials/variables/layout/_page.scss', :like => :stylesheet, :to => 'partials/variables/layout/_page.scss'
|
26
|
-
file '../shared/sass/partials/variables/state/_page.scss', :like => :stylesheet, :to => 'partials/variables/state/_page.scss'
|
27
|
-
file '../shared/sass/partials/variables/state/_header.scss', :like => :stylesheet, :to => 'partials/variables/state/_header.scss'
|
28
|
-
file '../shared/sass/partials/variables/state/_footer.scss', :like => :stylesheet, :to => 'partials/variables/state/_footer.scss'
|
29
|
-
file '../shared/sass/partials/variables/theme/_page.scss', :like => :stylesheet, :to => 'partials/variables/theme/_page.scss'
|
30
|
-
file '../shared/sass/partials/variables/theme/_overrides.scss', :like => :stylesheet, :to => 'partials/variables/theme/_overrides.scss'
|
31
20
|
|
32
21
|
# SMACSS
|
33
|
-
file '../shared/sass/base/
|
34
|
-
file '../shared/sass/
|
35
|
-
file '../shared/sass/
|
36
|
-
file '../shared/sass/
|
37
|
-
file '../shared/sass/
|
38
|
-
file '../shared/sass/
|
39
|
-
file '../shared/sass/
|
40
|
-
file '../shared/sass/
|
22
|
+
file '../shared/sass/base/buttons/_buttons.scss' , :like => :stylesheet, :to => 'base/buttons/_buttons.scss'
|
23
|
+
file '../shared/sass/base/buttons/_buttons_extendables.scss' , :like => :stylesheet, :to => 'base/buttons/_buttons_extendables.scss'
|
24
|
+
file '../shared/sass/base/buttons/_buttons_variables.scss' , :like => :stylesheet, :to => 'base/buttons/_buttons_variables.scss'
|
25
|
+
file '../shared/sass/base/forms/_forms.scss' , :like => :stylesheet, :to => 'base/forms/_forms.scss'
|
26
|
+
file '../shared/sass/base/forms/_forms_extendables.scss' , :like => :stylesheet, :to => 'base/forms/_forms_extendables.scss'
|
27
|
+
file '../shared/sass/base/forms/_forms_variables.scss' , :like => :stylesheet, :to => 'base/forms/_forms_variables.scss'
|
28
|
+
file '../shared/sass/base/links/_links.scss' , :like => :stylesheet, :to => 'base/links/_links.scss'
|
29
|
+
file '../shared/sass/base/links/_links_variables.scss' , :like => :stylesheet, :to => 'base/links/_links_variables.scss'
|
30
|
+
file '../shared/sass/base/page/_page.scss' , :like => :stylesheet, :to => 'base/page/_page.scss'
|
31
|
+
file '../shared/sass/base/page/_page_variables.scss' , :like => :stylesheet, :to => 'base/page/_page_variables.scss'
|
32
|
+
file '../shared/sass/base/search/_search.scss' , :like => :stylesheet, :to => 'base/search/_search.scss'
|
33
|
+
file '../shared/sass/base/search/_search_variables.scss' , :like => :stylesheet, :to => 'base/search/_search_variables.scss'
|
34
|
+
file '../shared/sass/base/typography/_typography.scss' , :like => :stylesheet, :to => 'base/typography/_typography.scss'
|
35
|
+
file '../shared/sass/base/typography/_typography_variables.scss' , :like => :stylesheet, :to => 'base/typography/_typography_variables.scss'
|
36
|
+
file '../shared/sass/modules/controls/_controls.scss' , :like => :stylesheet, :to => 'modules/controls/_controls.scss'
|
37
|
+
file '../shared/sass/modules/controls/_controls_extendables.scss' , :like => :stylesheet, :to => 'modules/controls/_controls_extendables.scss'
|
38
|
+
file '../shared/sass/modules/controls/_controls_variables.scss' , :like => :stylesheet, :to => 'modules/controls/_controls_variables.scss'
|
39
|
+
file '../shared/sass/modules/feedback/_feedback.scss' , :like => :stylesheet, :to => 'modules/feedback/_feedback.scss'
|
40
|
+
file '../shared/sass/modules/feedback/_feedback_extendables.scss' , :like => :stylesheet, :to => 'modules/feedback/_feedback_extendables.scss'
|
41
|
+
file '../shared/sass/modules/feedback/_feedback_variables.scss' , :like => :stylesheet, :to => 'modules/feedback/_feedback_variables.scss'
|
42
|
+
file '../shared/sass/modules/options/_options.scss' , :like => :stylesheet, :to => 'modules/options/_options.scss'
|
43
|
+
file '../shared/sass/modules/options/_options_extendables.scss' , :like => :stylesheet, :to => 'modules/options/_options_extendables.scss'
|
44
|
+
file '../shared/sass/modules/options/_options_variables.scss' , :like => :stylesheet, :to => 'modules/options/_options_variables.scss'
|
45
|
+
file '../shared/sass/modules/pagination/_pagination.scss' , :like => :stylesheet, :to => 'modules/pagination/_pagination.scss'
|
46
|
+
file '../shared/sass/modules/pagination/_pagination_extendables.scss' , :like => :stylesheet, :to => 'modules/pagination/_pagination_extendables.scss'
|
47
|
+
file '../shared/sass/modules/pagination/_pagination_variables.scss' , :like => :stylesheet, :to => 'modules/pagination/_pagination_variables.scss'
|
48
|
+
file '../shared/sass/layout/page/_page.scss', :like => :stylesheet, :to => 'layout/page/_page.scss'
|
49
|
+
file '../shared/sass/state/header/_header.scss', :like => :stylesheet, :to => 'state/header/_header.scss'
|
50
|
+
file '../shared/sass/theme/page/_page.scss', :like => :stylesheet, :to => 'theme/page/_page.scss'
|
41
51
|
|
42
52
|
# Javascript Import
|
43
53
|
# file 'scripts.js', :like => :javascript, :to => 'scripts.js'
|
44
54
|
|
45
55
|
# HTML Import
|
46
|
-
file "../shared/patterns/blockquote.html" , :like => :html, :to => "patterns/
|
47
|
-
file "../shared/patterns/colorguide.html" , :like => :html, :to => "patterns/
|
48
|
-
file "../shared/patterns/feedback-error-new.html" , :like => :html, :to => "patterns/
|
49
|
-
file "../shared/patterns/feedback-warning.html" , :like => :html, :to => "patterns/
|
50
|
-
file "../shared/patterns/feedback-new.html" , :like => :html, :to => "patterns/
|
51
|
-
file "../shared/patterns/form-buttons-active.html" , :like => :html, :to => "patterns/
|
52
|
-
file "../shared/patterns/form-buttons-all.html" , :like => :html, :to => "patterns/
|
53
|
-
file "../shared/patterns/form-buttons-cancel.html" , :like => :html, :to => "patterns/
|
54
|
-
file "../shared/patterns/form-buttons-disabled.html" , :like => :html, :to => "patterns/
|
55
|
-
file "../shared/patterns/form-buttons-new.html" , :like => :html, :to => "patterns/
|
56
|
-
file "../shared/patterns/form-checkbox.html" , :like => :html, :to => "patterns/
|
57
|
-
file "../shared/patterns/form-email.html" , :like => :html, :to => "patterns/
|
58
|
-
file "../shared/patterns/form-number.html" , :like => :html, :to => "patterns/
|
59
|
-
file "../shared/patterns/form-select.html" , :like => :html, :to => "patterns/
|
60
|
-
file "../shared/patterns/form-text.html" , :like => :html, :to => "patterns/
|
61
|
-
file "../shared/patterns/form-textarea.html" , :like => :html, :to => "patterns/
|
62
|
-
file "../shared/patterns/form-url.html" , :like => :html, :to => "patterns/
|
63
|
-
file "../shared/patterns/headers.html" , :like => :html, :to => "patterns/
|
64
|
-
file "../shared/patterns/heading-1-p.html" , :like => :html, :to => "patterns/
|
65
|
-
file "../shared/patterns/heading-2-p.html" , :like => :html, :to => "patterns/
|
66
|
-
file "../shared/patterns/heading-3-p.html" , :like => :html, :to => "patterns/
|
67
|
-
file "../shared/patterns/heading-4-p.html" , :like => :html, :to => "patterns/
|
68
|
-
file "../shared/patterns/heading-5-p.html" , :like => :html, :to => "patterns/
|
69
|
-
file "../shared/patterns/heading-6-p.html" , :like => :html, :to => "patterns/
|
70
|
-
file "../shared/patterns/list-ordered.html" , :like => :html, :to => "patterns/
|
71
|
-
file "../shared/patterns/list-unordered.html" , :like => :html, :to => "patterns/
|
72
|
-
file "../shared/patterns/pagination-first.html" , :like => :html, :to => "patterns/
|
73
|
-
file "../shared/patterns/pagination-last.html" , :like => :html, :to => "patterns/
|
74
|
-
file "../shared/patterns/pagination.html" , :like => :html, :to => "patterns/
|
75
|
-
file "../shared/patterns/text-new.html" , :like => :html, :to => "patterns/
|
56
|
+
file "../shared/patterns/blockquote.html" , :like => :html, :to => "patterns/01_blockquote.html"
|
57
|
+
file "../shared/patterns/colorguide.html" , :like => :html, :to => "patterns/04_colorguide.html"
|
58
|
+
file "../shared/patterns/feedback-error-new.html" , :like => :html, :to => "patterns/03_feedback-error.html"
|
59
|
+
file "../shared/patterns/feedback-warning.html" , :like => :html, :to => "patterns/03_feedback-warning.html"
|
60
|
+
file "../shared/patterns/feedback-new.html" , :like => :html, :to => "patterns/03_feedback.html"
|
61
|
+
file "../shared/patterns/form-buttons-active.html" , :like => :html, :to => "patterns/02_form-buttons-active.html"
|
62
|
+
file "../shared/patterns/form-buttons-all.html" , :like => :html, :to => "patterns/02_form-buttons-all.html"
|
63
|
+
file "../shared/patterns/form-buttons-cancel.html" , :like => :html, :to => "patterns/02_form-buttons-cancel.html"
|
64
|
+
file "../shared/patterns/form-buttons-disabled.html" , :like => :html, :to => "patterns/02_form-buttons-disabled.html"
|
65
|
+
file "../shared/patterns/form-buttons-new.html" , :like => :html, :to => "patterns/02_form-buttons.html"
|
66
|
+
file "../shared/patterns/form-checkbox.html" , :like => :html, :to => "patterns/02_form-checkbox.html"
|
67
|
+
file "../shared/patterns/form-email.html" , :like => :html, :to => "patterns/02_form-email.html"
|
68
|
+
file "../shared/patterns/form-number.html" , :like => :html, :to => "patterns/02_form-number.html"
|
69
|
+
file "../shared/patterns/form-select.html" , :like => :html, :to => "patterns/02_form-select.html"
|
70
|
+
file "../shared/patterns/form-text.html" , :like => :html, :to => "patterns/02_form-text.html"
|
71
|
+
file "../shared/patterns/form-textarea.html" , :like => :html, :to => "patterns/02_form-textarea.html"
|
72
|
+
file "../shared/patterns/form-url.html" , :like => :html, :to => "patterns/02_form-url.html"
|
73
|
+
file "../shared/patterns/headers.html" , :like => :html, :to => "patterns/01_headers.html"
|
74
|
+
file "../shared/patterns/heading-1-p.html" , :like => :html, :to => "patterns/01_heading-1-p.html"
|
75
|
+
file "../shared/patterns/heading-2-p.html" , :like => :html, :to => "patterns/01_heading-2-p.html"
|
76
|
+
file "../shared/patterns/heading-3-p.html" , :like => :html, :to => "patterns/01_heading-3-p.html"
|
77
|
+
file "../shared/patterns/heading-4-p.html" , :like => :html, :to => "patterns/01_heading-4-p.html"
|
78
|
+
file "../shared/patterns/heading-5-p.html" , :like => :html, :to => "patterns/01_heading-5-p.html"
|
79
|
+
file "../shared/patterns/heading-6-p.html" , :like => :html, :to => "patterns/01_heading-6-p.html"
|
80
|
+
file "../shared/patterns/list-ordered.html" , :like => :html, :to => "patterns/01_list-ordered.html"
|
81
|
+
file "../shared/patterns/list-unordered.html" , :like => :html, :to => "patterns/01_list-unordered.html"
|
82
|
+
file "../shared/patterns/pagination-first.html" , :like => :html, :to => "patterns/03_pagination-first.html"
|
83
|
+
file "../shared/patterns/pagination-last.html" , :like => :html, :to => "patterns/03_pagination-last.html"
|
84
|
+
file "../shared/patterns/pagination.html" , :like => :html, :to => "patterns/03_pagination.html"
|
85
|
+
file "../shared/patterns/text-new.html" , :like => :html, :to => "patterns/01_text.html"
|
86
|
+
file "../shared/patterns/01_a_header.html" , :like => :html, :to => "patterns/01_a_header.html"
|
87
|
+
file "../shared/patterns/02_a_header.html" , :like => :html, :to => "patterns/02_a_header.html"
|
88
|
+
file "../shared/patterns/03_a_header.html" , :like => :html, :to => "patterns/03_a_header.html"
|
89
|
+
file "../shared/patterns/04_a_header.html" , :like => :html, :to => "patterns/04_a_header.html"
|
76
90
|
|
77
91
|
# General File Import
|
78
92
|
# file 'README.md', :to => "README.md"
|
@@ -0,0 +1 @@
|
|
1
|
+
<h3>Typographic Elements</h3>
|
@@ -0,0 +1 @@
|
|
1
|
+
<h3>From Elements</h3>
|
@@ -0,0 +1 @@
|
|
1
|
+
<h3>Messaging and Pagers</h3>
|
@@ -0,0 +1 @@
|
|
1
|
+
<h3>Color Guide</h3>
|
@@ -0,0 +1,65 @@
|
|
1
|
+
//////////////////////////////
|
2
|
+
// VARIABLES: Theme overides for Pattern-Primer default styles
|
3
|
+
//////////////////////////////
|
4
|
+
|
5
|
+
// Some example overrides
|
6
|
+
|
7
|
+
// // Fonts
|
8
|
+
// $body-font-family: Calibri, 'Helvetica Neue', Arial, sans-serif;
|
9
|
+
// $secondary-font: $body-font-family;
|
10
|
+
// $header-font-family: $body-font-family;
|
11
|
+
// $blockquote-font-family: $body-font-family;
|
12
|
+
|
13
|
+
// // Colors
|
14
|
+
// $primary-color: #369;
|
15
|
+
|
16
|
+
// // body
|
17
|
+
// $body-background-color: nth($black , 6);
|
18
|
+
// $body-background-rgba: rgba($body-background-color, 1);
|
19
|
+
// $body-border-width: false;
|
20
|
+
//
|
21
|
+
// $body-margin: 0;
|
22
|
+
// $body-padding: 0;
|
23
|
+
//
|
24
|
+
// $html-border-width: false;
|
25
|
+
// $html-background-color: lighten($body-background-color, 10%);
|
26
|
+
|
27
|
+
// // Links
|
28
|
+
// $link-color: nth($primary, 1);
|
29
|
+
// $link-text-decoration: none;
|
30
|
+
// $link-border-width: false;
|
31
|
+
//
|
32
|
+
///// Visited
|
33
|
+
// $link-visited-link-color: nth($primary, 2);
|
34
|
+
// $link-visited-border-width: $link-border-width;
|
35
|
+
///// Hover
|
36
|
+
// $link-hover-link-color: lighten($link-color, 10%);
|
37
|
+
// $link-text-decoration: none;
|
38
|
+
// $link-hover-border-width: $link-border-width;
|
39
|
+
///// Active
|
40
|
+
// $link-active-link-color: $link-color;
|
41
|
+
//
|
42
|
+
//
|
43
|
+
// $h1-margin-pos: none;
|
44
|
+
// $h1-border-width: false;
|
45
|
+
// $h2-border-width: false;
|
46
|
+
// $h3-border-width: false;
|
47
|
+
//
|
48
|
+
// $button-padding: 0.33em .66em;
|
49
|
+
// $button-border-color: nth($black, 3);
|
50
|
+
// $button-border-radius: .5em;
|
51
|
+
// $button-color: nth($black, 1);
|
52
|
+
// $button-text-shadow: 0 -1px 0 rgba(#fff, 0.25);
|
53
|
+
//
|
54
|
+
// $button-gradient-stop-1: nth($black, 6);
|
55
|
+
// $button-gradient-stop-2: nth($black, 5);
|
56
|
+
//
|
57
|
+
// $button-hover-color: $button-color;
|
58
|
+
// $button-hover-gradient-stop-1: nth($black, 4);
|
59
|
+
// $button-hover-gradient-stop-2: nth($black, 5);
|
60
|
+
//
|
61
|
+
// $button-active-color: $button-color;
|
62
|
+
// $button-active-gradient-stop-1: nth($black, 3);
|
63
|
+
// $button-active-gradient-stop-2: nth($black, 4);
|
64
|
+
//
|
65
|
+
// $forms-input-width: auto;
|
@@ -4,12 +4,16 @@
|
|
4
4
|
|
5
5
|
// Some example overrides
|
6
6
|
|
7
|
+
// // Fonts
|
7
8
|
// $body-font-family: Calibri, 'Helvetica Neue', Arial, sans-serif;
|
8
9
|
// $secondary-font: $body-font-family;
|
9
10
|
// $header-font-family: $body-font-family;
|
10
11
|
// $blockquote-font-family: $body-font-family;
|
11
|
-
|
12
|
-
|
12
|
+
|
13
|
+
// // Colors
|
14
|
+
// $primary-color: #369;
|
15
|
+
|
16
|
+
// // body
|
13
17
|
// $body-background-color: nth($black , 6);
|
14
18
|
// $body-background-rgba: rgba($body-background-color, 1);
|
15
19
|
// $body-border-width: false;
|
@@ -19,7 +23,8 @@
|
|
19
23
|
//
|
20
24
|
// $html-border-width: false;
|
21
25
|
// $html-background-color: lighten($body-background-color, 10%);
|
22
|
-
|
26
|
+
|
27
|
+
// // Links
|
23
28
|
// $link-color: nth($primary, 1);
|
24
29
|
// $link-text-decoration: none;
|
25
30
|
// $link-border-width: false;
|
@@ -62,7 +67,7 @@
|
|
62
67
|
//
|
63
68
|
// $button-action-hover-gradient-stop-1: nth($primary, 1);
|
64
69
|
// $button-action-hover-gradient-stop-2: nth($primary, 2);
|
65
|
-
// $button-action-active-gradient-stop-1: nth($
|
70
|
+
// $button-action-active-gradient-stop-1: darken(nth($primary, 1), 20%);
|
66
71
|
// $button-action-active-gradient-stop-2: nth($primary, 1);
|
67
72
|
//
|
68
73
|
// $forms-input-width: auto;
|
data/{stylesheets/compass-pattern-primer/base → templates/shared/sass/base/buttons}/_buttons.scss
RENAMED
@@ -1,3 +1,10 @@
|
|
1
|
+
//////////////////////////////
|
2
|
+
// BASE: Base element styles
|
3
|
+
//////////////////////////////
|
4
|
+
|
5
|
+
@import "_buttons_variables";
|
6
|
+
@import "_buttons_extendables";
|
7
|
+
|
1
8
|
button,
|
2
9
|
input[type="button"],
|
3
10
|
input[type="submit"] {
|
@@ -19,6 +26,9 @@ input[type="submit"][value="Cancel"] {
|
|
19
26
|
|
20
27
|
button[disabled="disabled"],
|
21
28
|
input[type="button"][disabled="disabled"],
|
22
|
-
input[type="submit"][disabled="disabled"]
|
29
|
+
input[type="submit"][disabled="disabled"],
|
30
|
+
button[disabled="disabled"].active,
|
31
|
+
input[type="button"][disabled="disabled"].active,
|
32
|
+
input[type="submit"][disabled="disabled"].active {
|
23
33
|
@extend %button-disabled;
|
24
34
|
}
|
@@ -0,0 +1,75 @@
|
|
1
|
+
//////////////////////////////
|
2
|
+
// EXTENDABLES: For Base styles
|
3
|
+
//////////////////////////////
|
4
|
+
|
5
|
+
%btn-all {
|
6
|
+
width: auto;
|
7
|
+
text-align: center;
|
8
|
+
font-family: $button-font-family;
|
9
|
+
font-size: inherit;
|
10
|
+
font-weight: normal;
|
11
|
+
font-style: normal;
|
12
|
+
@include border-outline(border, $button-border-width, $button-border-style, $button-border-color);
|
13
|
+
cursor: pointer;
|
14
|
+
@include margin-padding(padding, $button-padding);
|
15
|
+
line-height: 1;
|
16
|
+
@include border-radius($button-border-radius);
|
17
|
+
}
|
18
|
+
|
19
|
+
%button {
|
20
|
+
@extend %btn-all;
|
21
|
+
@include simple-background-gradient($button-color, $button-gradient-pos, $button-gradient-stop-1, $button-gradient-stop-2);
|
22
|
+
@include text-shadow($button-text-shadow);
|
23
|
+
&:hover,
|
24
|
+
&:focus {
|
25
|
+
@include text-shadow($button-hover-text-shadow);
|
26
|
+
@include simple-background-gradient($button-hover-color, $button-hover-gradient-pos, $button-hover-gradient-stop-1, $button-hover-gradient-stop-2);
|
27
|
+
}
|
28
|
+
&:active {
|
29
|
+
@include text-shadow($button-active-text-shadow);
|
30
|
+
@include simple-background-gradient($button-active-color, $button-active-gradient-pos, $button-active-gradient-stop-1, $button-active-gradient-stop-2);
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
%button-active {
|
35
|
+
@extend %btn-all;
|
36
|
+
@include text-shadow($button-action-text-shadow);
|
37
|
+
@include simple-background-gradient($button-action-color, $button-action-gradient-pos, $button-action-gradient-stop-1, $button-action-gradient-stop-2);
|
38
|
+
&:hover,
|
39
|
+
&:focus {
|
40
|
+
@include text-shadow($button-action-hover-text-shadow);
|
41
|
+
@include simple-background-gradient($button-action-hover-color, $button-action-hover-gradient-pos, $button-action-hover-gradient-stop-1, $button-action-hover-gradient-stop-2);
|
42
|
+
}
|
43
|
+
&:active {
|
44
|
+
@include text-shadow($button-action-active-text-shadow);
|
45
|
+
@include simple-background-gradient($button-action-active-color, $button-action-active-gradient-pos, $button-action-active-gradient-stop-1, $button-action-active-gradient-stop-2);
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
%button-cancel {
|
50
|
+
@extend %btn-all;
|
51
|
+
@include text-shadow($button-cancel-text-shadow);
|
52
|
+
@include simple-background-gradient($button-cancel-color, $button-cancel-gradient-pos, $button-cancel-gradient-stop-1, $button-cancel-gradient-stop-2);
|
53
|
+
&:hover,
|
54
|
+
&:focus {
|
55
|
+
@include text-shadow($button-cancel-hover-text-shadow);
|
56
|
+
@include simple-background-gradient($button-cancel-hover-color, $button-cancel-hover-gradient-pos, $button-cancel-hover-gradient-stop-1, $button-cancel-hover-gradient-stop-2);
|
57
|
+
}
|
58
|
+
&:active {
|
59
|
+
@include text-shadow($button-cancel-active-text-shadow);
|
60
|
+
@include simple-background-gradient($button-cancel-active-color, $button-cancel-active-gradient-pos, $button-cancel-active-gradient-stop-1, $button-cancel-active-gradient-stop-2);
|
61
|
+
}
|
62
|
+
}
|
63
|
+
|
64
|
+
%button-disabled {
|
65
|
+
@extend %btn-all;
|
66
|
+
@include text-shadow($button-disabled-text-shadow);
|
67
|
+
opacity: $button-disabled-opacity;
|
68
|
+
@include simple-background-gradient($button-disabled-color, $button-disabled-gradient-pos, $button-disabled-gradient-stop-1, $button-disabled-gradient-stop-2);
|
69
|
+
&:hover,
|
70
|
+
&:focus,
|
71
|
+
&:active {
|
72
|
+
@include text-shadow($button-disabled-text-shadow);
|
73
|
+
@extend %button-disabled;
|
74
|
+
}
|
75
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
//////////////////////////////
|
2
|
+
// EXTENDABLES: For Base styles
|
3
|
+
//////////////////////////////
|
4
|
+
|
5
|
+
%formstyle {
|
6
|
+
background-color: $forms-background-color;
|
7
|
+
width: $forms-input-width;
|
8
|
+
font-family: inherit;
|
9
|
+
font-size: inherit;
|
10
|
+
@include margin-padding(padding, $forms-padding);
|
11
|
+
@include border-outline(border, $forms-border-width, $forms-border-style, $forms-border-color);
|
12
|
+
@include border-radius($forms-border-radius);
|
13
|
+
&:focus {
|
14
|
+
border-color: $forms-focus-border-color;
|
15
|
+
}
|
16
|
+
}
|