themepile-abstractio 1.0.4 → 4.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +8 -8
  2. data/.gitignore +1 -0
  3. data/CONTRIBUTING.md +7 -7
  4. data/Gemfile.lock +19 -0
  5. data/Gruntfile.js +27 -0
  6. data/README.md +38 -38
  7. data/abstractio.gemspec +20 -18
  8. data/docs/CHANGELOG.md +275 -0
  9. data/docs/Capfile +4 -0
  10. data/docs/Gemfile +13 -0
  11. data/docs/Gemfile.lock +45 -0
  12. data/docs/Procfile +2 -0
  13. data/docs/README.md +1 -0
  14. data/docs/_sidebar-components.html.erb +115 -0
  15. data/docs/_sidebar.html.erb +115 -0
  16. data/docs/changelog.html.erb +33 -0
  17. data/docs/compile.rb +34 -0
  18. data/docs/components/alert-boxes.html.erb +204 -0
  19. data/docs/components/block-grid.html.erb +132 -0
  20. data/docs/components/breadcrumbs.html.erb +156 -0
  21. data/docs/components/button-groups.html.erb +230 -0
  22. data/docs/components/buttons.html.erb +222 -0
  23. data/docs/components/clearing.html.erb +152 -0
  24. data/docs/components/custom-forms.html.erb +309 -0
  25. data/docs/components/dropdown-buttons.html.erb +235 -0
  26. data/docs/components/dropdown.html.erb +188 -0
  27. data/docs/components/flex-video.html.erb +95 -0
  28. data/docs/components/forms.html.erb +477 -0
  29. data/docs/components/global.html.erb +92 -0
  30. data/docs/components/grid.html.erb +366 -0
  31. data/docs/components/inline-lists.html.erb +91 -0
  32. data/docs/components/joyride.html.erb +183 -0
  33. data/docs/components/keystrokes.html.erb +76 -0
  34. data/docs/components/kitchen-sink.html.erb +870 -0
  35. data/docs/components/labels.html.erb +102 -0
  36. data/docs/components/magellan.html.erb +86 -0
  37. data/docs/components/orbit.html.erb +276 -0
  38. data/docs/components/pagination.html.erb +183 -0
  39. data/docs/components/panels.html.erb +123 -0
  40. data/docs/components/pricing-tables.html.erb +156 -0
  41. data/docs/components/progress-bars.html.erb +123 -0
  42. data/docs/components/reveal.html.erb +162 -0
  43. data/docs/components/section.html.erb +1023 -0
  44. data/docs/components/side-nav.html.erb +124 -0
  45. data/docs/components/split-buttons.html.erb +220 -0
  46. data/docs/components/sub-nav.html.erb +122 -0
  47. data/docs/components/switch.html.erb +290 -0
  48. data/docs/components/tables.html.erb +125 -0
  49. data/docs/components/thumbnails.html.erb +89 -0
  50. data/docs/components/tooltips.html.erb +76 -0
  51. data/docs/components/top-bar.html.erb +300 -0
  52. data/docs/components/type.html.erb +396 -0
  53. data/docs/components/visibility.html.erb +110 -0
  54. data/docs/config.ru +12 -0
  55. data/docs/config/deploy.rb +36 -0
  56. data/docs/controller.rb +49 -0
  57. data/docs/css/_coderay.scss +116 -0
  58. data/docs/css/_settings.scss +1 -0
  59. data/docs/css/docs.scss +239 -0
  60. data/docs/css/normalize.scss +396 -0
  61. data/docs/css/qunit-composite.css +13 -0
  62. data/docs/css/qunit.css +235 -0
  63. data/docs/faq.html.erb +63 -0
  64. data/docs/img/demos/demo1-th.jpg +0 -0
  65. data/docs/img/demos/demo1.jpg +0 -0
  66. data/docs/img/demos/demo2-th.jpg +0 -0
  67. data/docs/img/demos/demo2.jpg +0 -0
  68. data/docs/img/demos/demo3-th.jpg +0 -0
  69. data/docs/img/demos/demo3.jpg +0 -0
  70. data/docs/img/demos/demo4-th.jpg +0 -0
  71. data/docs/img/demos/demo4.jpg +0 -0
  72. data/docs/img/demos/demo5-th.jpg +0 -0
  73. data/docs/img/demos/demo5.jpg +0 -0
  74. data/docs/index.html.erb +298 -0
  75. data/docs/javascript.html.erb +138 -0
  76. data/docs/js/docs.js +3 -0
  77. data/docs/js/qunit-composite.js +105 -0
  78. data/docs/js/qunit.js +1977 -0
  79. data/docs/js/tests/tabs/simple_tabs.html +57 -0
  80. data/docs/js/tests/tabs/simple_tabs.js +54 -0
  81. data/docs/js/tests/tooltips/tooltips.html +39 -0
  82. data/docs/js/tests/tooltips/tooltips.js +11 -0
  83. data/docs/layout.html.erb +128 -0
  84. data/docs/media-queries.html.erb +96 -0
  85. data/docs/rails.html.erb +76 -0
  86. data/docs/rtl.html.erb +53 -0
  87. data/docs/sass.html.erb +1297 -0
  88. data/docs/support.html.erb +143 -0
  89. data/js/{foundation/foundation.alerts.js → abstractio/abstractio.alerts.js} +2 -2
  90. data/js/{foundation/foundation.clearing.js → abstractio/abstractio.clearing.js} +6 -6
  91. data/js/{foundation/foundation.cookie.js → abstractio/abstractio.cookie.js} +1 -1
  92. data/js/{foundation/foundation.dropdown.js → abstractio/abstractio.dropdown.js} +5 -5
  93. data/js/{foundation/foundation.forms.js → abstractio/abstractio.forms.js} +7 -7
  94. data/js/{foundation/foundation.joyride.js → abstractio/abstractio.joyride.js} +5 -5
  95. data/js/{foundation/foundation.js → abstractio/abstractio.js} +13 -13
  96. data/js/{foundation/foundation.magellan.js → abstractio/abstractio.magellan.js} +3 -3
  97. data/js/{foundation/foundation.orbit.js → abstractio/abstractio.orbit.js} +6 -6
  98. data/js/{foundation/foundation.placeholder.js → abstractio/abstractio.placeholder.js} +1 -1
  99. data/js/{foundation/foundation.reveal.js → abstractio/abstractio.reveal.js} +3 -3
  100. data/js/{foundation/foundation.section.js → abstractio/abstractio.section.js} +5 -5
  101. data/js/{foundation/foundation.tooltips.js → abstractio/abstractio.tooltips.js} +6 -6
  102. data/js/{foundation/foundation.topbar.js → abstractio/abstractio.topbar.js} +3 -3
  103. data/js/abstractio/index.js +16 -0
  104. data/js/vendor/jquery.js +3 -3
  105. data/lib/abstractio/generators/USAGE +1 -1
  106. data/lib/abstractio/version.rb +1 -1
  107. data/package.json +15 -0
  108. data/scss/abstractio.scss +37 -37
  109. data/scss/abstractio/_variables.scss +1 -1
  110. data/scss/abstractio/components/_alert-boxes.scss +1 -1
  111. data/scss/abstractio/components/_block-grid.scss +2 -2
  112. data/scss/abstractio/components/_dropdown.scss +1 -1
  113. data/scss/abstractio/components/_global.scss +2 -2
  114. data/scss/abstractio/components/_joyride.scss +1 -1
  115. data/scss/abstractio/components/_pagination.scss +1 -1
  116. data/scss/abstractio/components/_switch.scss +1 -1
  117. data/scss/abstractio/components/_visibility.scss +2 -2
  118. data/templates/project/.gitignore +1 -1
  119. data/templates/project/MIT-LICENSE.txt +1 -1
  120. data/templates/project/config.rb +1 -1
  121. data/templates/project/humans.txt +2 -2
  122. data/templates/project/index.html +11 -11
  123. data/templates/project/manifest.rb +1 -1
  124. data/templates/project/scss/app.scss +38 -38
  125. data/templates/upgrade/manifest.rb +2 -2
  126. metadata +104 -22
  127. data/Gemfile +0 -4
  128. data/Rakefile +0 -2
  129. data/js/foundation/index.js +0 -16
  130. data/lib/abstractio.rb +0 -17
@@ -0,0 +1,4 @@
1
+ load 'deploy'
2
+ # Uncomment if you are using Rails' asset pipeline
3
+ # load 'deploy/assets'
4
+ load 'config/deploy' # remove this line to skip loading any of the default tasks
@@ -0,0 +1,13 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'redcarpet'
4
+ gem 'sprockets'
5
+ gem 'foreman'
6
+ gem 'stasis'
7
+ gem 'sass', :require => false
8
+ gem 'coderay'
9
+ gem 'uglifier'
10
+
11
+ group :production do
12
+ gem 'therubyracer'
13
+ end
@@ -0,0 +1,45 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ coderay (1.0.9)
5
+ directory_watcher (1.4.1)
6
+ execjs (1.4.0)
7
+ multi_json (~> 1.0)
8
+ foreman (0.61.0)
9
+ thor (>= 0.13.6)
10
+ hike (1.2.1)
11
+ libv8 (3.3.10.4)
12
+ multi_json (1.6.1)
13
+ rack (1.5.2)
14
+ redcarpet (2.2.2)
15
+ sass (3.2.6)
16
+ slop (3.3.2)
17
+ sprockets (2.9.0)
18
+ hike (~> 1.2)
19
+ multi_json (~> 1.0)
20
+ rack (~> 1.0)
21
+ tilt (~> 1.1, != 1.3.0)
22
+ stasis (0.2.0)
23
+ directory_watcher (= 1.4.1)
24
+ slop (= 3.3.2)
25
+ tilt (= 1.3.3)
26
+ therubyracer (0.10.2)
27
+ libv8 (~> 3.3.10)
28
+ thor (0.17.0)
29
+ tilt (1.3.3)
30
+ uglifier (1.3.0)
31
+ execjs (>= 0.3.0)
32
+ multi_json (~> 1.0, >= 1.0.2)
33
+
34
+ PLATFORMS
35
+ ruby
36
+
37
+ DEPENDENCIES
38
+ coderay
39
+ foreman
40
+ redcarpet
41
+ sass
42
+ sprockets
43
+ stasis
44
+ therubyracer
45
+ uglifier
@@ -0,0 +1,2 @@
1
+ web: bundle exec rackup -p 4001
2
+ stasis: bundle exec stasis -d 4000
@@ -0,0 +1 @@
1
+ From within the docs/ directory run `bundle install`. To get the docs to compile during development you'll want to run `bundle exec foreman start`. At that point you can access the docs by going to `http://localhost:4000`.
@@ -0,0 +1,115 @@
1
+ <div class="docs section-container accordion" data-section data-options="one_up: false">
2
+ <section class="section <%= @side_nav == 'using' ? 'active': '' %>">
3
+ <p class="title"><a href="#">Using Abstractio</a></p>
4
+ <div class="content">
5
+ <ul class="side-nav">
6
+ <li><a href="../">Get Started</a></li>
7
+ <li><a href="../javascript.html">Javascript</a></li>
8
+ <li><a href="../sass.html">Sass</a></li>
9
+ <li><a href="../rails.html">Rails</a></li>
10
+ <li><a href="../media-queries.html">Media Queries</a></li>
11
+ <li><a class="<%= @page_title == 'Visibility Classes' ? 'active': '' %>" href="visibility.html">Visibility Classes</a></li>
12
+ <li><a href="../rtl.html">Right-to-Left Support</a></li>
13
+ </ul>
14
+ </div>
15
+ </section>
16
+ <section class="section <%= @side_nav == 'grid' ? 'active': '' %>">
17
+ <p class="title"><a href="#">Grid</a></p>
18
+ <div class="content">
19
+ <ul class="side-nav">
20
+ <li><a class="<%= @page_title == 'Grid' ? 'active': '' %>" href="grid.html">Grid</a></li>
21
+ <li><a class="<%= @page_title == 'Block Grid' ? 'active': '' %>" href="block-grid.html">Block Grid</a></li>
22
+ </ul>
23
+ </div>
24
+ </section>
25
+ <section class="section <%= @side_nav == 'nav' ? 'active': '' %>">
26
+ <p class="title"><a href="#">Navigation</a></p>
27
+ <div class="content">
28
+ <ul class="side-nav">
29
+ <li><a class="<%= @page_title == 'Pagination' ? 'active': '' %>" href="pagination.html">Pagination</a></li>
30
+ <li><a class="<%= @page_title == 'Side Nav' ? 'active': '' %>" href="side-nav.html">Side Nav</a></li>
31
+ <li><a class="<%= @page_title == 'Sub Nav' ? 'active': '' %>" href="sub-nav.html">Sub Nav</a></li>
32
+ <li><a class="<%= @page_title == 'Top Bar' ? 'active': '' %>" href="top-bar.html">Top Bar</a></li>
33
+ <li><a class="<%= @page_title == 'Breadcrumbs' ? 'active': '' %>" href="breadcrumbs.html">Breadcrumbs</a></li>
34
+ </ul>
35
+ </div>
36
+ </section>
37
+ <section class="section <%= @side_nav == 'buttons' ? 'active': '' %>">
38
+ <p class="title"><a href="#">Buttons</a></p>
39
+ <div class="content">
40
+ <ul class="side-nav">
41
+ <li><a class="<%= @page_title == 'Buttons' ? 'active': '' %>" href="buttons.html">Buttons</a></li>
42
+ <li><a class="<%= @page_title == 'Button Groups' ? 'active': '' %>" href="button-groups.html">Button Groups</a></li>
43
+ <li><a class="<%= @page_title == 'Dropdown Buttons' ? 'active': '' %>" href="dropdown-buttons.html">Dropdown Buttons</a></li>
44
+ <li><a class="<%= @page_title == 'Split Buttons' ? 'active': '' %>" href="split-buttons.html">Split Buttons</a></li>
45
+ </ul>
46
+ </div>
47
+ </section>
48
+ <section class="section <%= @side_nav == 'forms' ? 'active': '' %>">
49
+ <p class="title"><a href="#">Forms</a></p>
50
+ <div class="content">
51
+ <ul class="side-nav">
52
+ <li><a class="<%= @page_title == 'Forms' ? 'active': '' %>" href="forms.html">Forms</a></li>
53
+ <li><a class="<%= @page_title == 'Custom Forms' ? 'active': '' %>" href="custom-forms.html">Custom Forms</a></li>
54
+ <li><a class="<%= @page_title == 'Switch' ? 'active': '' %>" href="switch.html">Switch</a></li>
55
+ </ul>
56
+ </div>
57
+ </section>
58
+ <section class="section <%= @side_nav == 'type' ? 'active': '' %>">
59
+ <p class="title"><a href="#">Typography</a></p>
60
+ <div class="content">
61
+ <ul class="side-nav">
62
+ <li><a class="<%= @page_title == 'Typography' ? 'active': '' %>" href="type.html">Type</a></li>
63
+ <li><a class="<%= @page_title == 'Inline Lists' ? 'active': '' %>" href="inline-lists.html">Inline Lists</a></li>
64
+ <li><a class="<%= @page_title == 'Labels' ? 'active': '' %>" href="labels.html">Labels</a></li>
65
+ <li><a class="<%= @page_title == 'Keystrokes' ? 'active': '' %>" href="keystrokes.html">Keystrokes</a></li>
66
+ </ul>
67
+ </div>
68
+ </section>
69
+ <section class="section <%= @side_nav == 'css' ? 'active': '' %>">
70
+ <p class="title"><a href="#">CSS Components</a></p>
71
+ <div class="content">
72
+ <ul class="side-nav">
73
+ <li><a class="<%= @page_title == 'Global' ? 'active': '' %>" href="global.html">Global Styles</a></li>
74
+ <li><a class="<%= @page_title == 'Alert Boxes' ? 'active': '' %>" href="alert-boxes.html">Alert Boxes</a></li>
75
+ <li><a class="<%= @page_title == 'Panels' ? 'active': '' %>" href="panels.html">Panels</a></li>
76
+ <li><a class="<%= @page_title == 'Pricing Tables' ? 'active': '' %>" href="pricing-tables.html">Pricing Tables</a></li>
77
+ <li><a class="<%= @page_title == 'Progress Bars' ? 'active': '' %>" href="progress-bars.html">Progress Bars</a></li>
78
+ <li><a class="<%= @page_title == 'Tables' ? 'active': '' %>" href="tables.html">Tables</a></li>
79
+ <li><a class="<%= @page_title == 'Thumbnails' ? 'active': '' %>" href="thumbnails.html">Thumbnails</a></li>
80
+ <li><a class="<%= @page_title == 'Flex Video' ? 'active': '' %>" href="flex-video.html">Flex Video</a></li>
81
+ <li class="divider"></li>
82
+ <li><a target="_blank" style="font-style: italic" class="<%= @page_title == 'Kitchen Sink' ? 'active': '' %>" href="kitchen-sink.html">Kitchen Sink</a></li>
83
+ </ul>
84
+ </div>
85
+ </section>
86
+ <section class="section <%= @side_nav == 'js' ? 'active': '' %>">
87
+ <p class="title"><a href="#">Javascript</a></p>
88
+ <div class="content">
89
+ <ul class="side-nav">
90
+ <li><a class="<%= @page_title == 'Clearing' ? 'active': '' %>" href="clearing.html">Clearing</a></li>
91
+ <li><a class="<%= @page_title == 'Dropdown' ? 'active': '' %>" href="dropdown.html">Dropdown</a></li>
92
+ <li><a class="<%= @page_title == 'Joyride' ? 'active': '' %>" href="joyride.html">Joyride</a></li>
93
+ <li><a class="<%= @page_title == 'Magellan' ? 'active': '' %>" href="magellan.html">Magellan</a></li>
94
+ <li><a class="<%= @page_title == 'Orbit' ? 'active': '' %>" href="orbit.html">Orbit</a></li>
95
+ <li><a class="<%= @page_title == 'Reveal' ? 'active': '' %>" href="reveal.html">Reveal</a></li>
96
+ <li><a class="<%= @page_title == 'Sections' ? 'active': '' %>" href="section.html">Section</a></li>
97
+ <li><a class="<%= @page_title == 'Tooltips' ? 'active': '' %>" href="tooltips.html">Tooltips</a></li>
98
+ </ul>
99
+ </div>
100
+ </section>
101
+ <section class="section <%= @page_title == 'FAQ' ? 'active': '' %>">
102
+ <p class="title"><a href="../faq.html">FAQ</a></p>
103
+ </section>
104
+ <section class="section <%= @page_title == 'Support' ? 'active': '' %>">
105
+ <p class="title"><a href="../support.html">Support</a></p>
106
+ </section>
107
+ </div>
108
+
109
+ <p><a href="http://abstractio.themepile.co.uk/download.php" class="button expand" style="margin-bottom: 0;">Download Abstractio 4</a></p>
110
+
111
+ <div class="jobs hide-for-small">
112
+ <h5>Awesome product jobs:</h5>
113
+ <script type="text/javascript" src="http://www.themepile.co.uk/jobs/widgets/jobs.js?limit=3&variation=abstractio-sidebar"></script>
114
+ <a id="via" href="http://themepilejobs.com">via&nbsp;<span class="jobs-link">ZURBjobs</span></a>
115
+ </div>
@@ -0,0 +1,115 @@
1
+ <div class="docs section-container accordion" data-section data-options="one_up: false">
2
+ <section class="section <%= @side_nav == 'using' ? 'active': '' %>">
3
+ <p class="title"><a href="#">Using Abstractio</a></p>
4
+ <div class="content">
5
+ <ul class="side-nav">
6
+ <li><a class="<%= @page_title == 'Getting Started' ? 'active': '' %>" href="index.html">Get Started</a></li>
7
+ <li><a class="<%= @page_title == 'Javascript' ? 'active': '' %>" href="javascript.html">Javascript</a></li>
8
+ <li><a class="<%= @page_title == 'Sass' ? 'active': '' %>" href="sass.html">Sass</a></li>
9
+ <li><a class="<%= @page_title == 'Rails' ? 'active': '' %>" href="rails.html">Rails</a></li>
10
+ <li><a class="<%= @page_title == 'Media Queries' ? 'active': '' %>" href="media-queries.html">Media Queries</a></li>
11
+ <li><a href="components/visibility.html">Visibility Classes</a></li>
12
+ <li><a class="<%= @page_title == 'Right-to-Left Support' ? 'active': '' %>" href="rtl.html">Right-to-Left Support</a></li>
13
+ </ul>
14
+ </div>
15
+ </section>
16
+ <section class="section">
17
+ <p class="title"><a href="#">Grid</a></p>
18
+ <div class="content">
19
+ <ul class="side-nav">
20
+ <li><a href="components/grid.html">Grid</a></li>
21
+ <li><a href="components/block-grid.html">Block Grid</a></li>
22
+ </ul>
23
+ </div>
24
+ </section>
25
+ <section class="section">
26
+ <p class="title"><a href="#">Navigation</a></p>
27
+ <div class="content">
28
+ <ul class="side-nav">
29
+ <li><a href="components/pagination.html">Pagination</a></li>
30
+ <li><a href="components/side-nav.html">Side Nav</a></li>
31
+ <li><a href="components/sub-nav.html">Sub Nav</a></li>
32
+ <li><a href="components/top-bar.html">Top Bar</a></li>
33
+ <li><a href="components/breadcrumbs.html">Breadcrumbs</a></li>
34
+ </ul>
35
+ </div>
36
+ </section>
37
+ <section class="section">
38
+ <p class="title"><a href="#">Buttons</a></p>
39
+ <div class="content">
40
+ <ul class="side-nav">
41
+ <li><a href="components/buttons.html">Buttons</a></li>
42
+ <li><a href="components/button-groups.html">Button Groups</a></li>
43
+ <li><a href="components/dropdown-buttons.html">Dropdown Buttons</a></li>
44
+ <li><a href="components/split-buttons.html">Split Buttons</a></li>
45
+ </ul>
46
+ </div>
47
+ </section>
48
+ <section class="section">
49
+ <p class="title"><a href="#">Forms</a></p>
50
+ <div class="content">
51
+ <ul class="side-nav">
52
+ <li><a href="components/forms.html">Forms</a></li>
53
+ <li><a href="components/custom-forms.html">Custom Forms</a></li>
54
+ <li><a href="components/switch.html">Switch</a></li>
55
+ </ul>
56
+ </div>
57
+ </section>
58
+ <section class="section">
59
+ <p class="title"><a href="#">Typography</a></p>
60
+ <div class="content">
61
+ <ul class="side-nav">
62
+ <li><a href="components/type.html">Type</a></li>
63
+ <li><a href="components/inline-lists.html">Inline Lists</a></li>
64
+ <li><a href="components/labels.html">Labels</a></li>
65
+ <li><a href="components/keystrokes.html">Keystrokes</a></li>
66
+ </ul>
67
+ </div>
68
+ </section>
69
+ <section class="section">
70
+ <p class="title"><a href="#">CSS Components</a></p>
71
+ <div class="content">
72
+ <ul class="side-nav">
73
+ <li><a href="components/global.html">Global Styles</a></li>
74
+ <li><a href="components/alert-boxes.html">Alert Boxes</a></li>
75
+ <li><a href="components/panels.html">Panels</a></li>
76
+ <li><a href="components/pricing-tables.html">Pricing Tables</a></li>
77
+ <li><a href="components/progress-bars.html">Progress Bars</a></li>
78
+ <li><a href="components/tables.html">Tables</a></li>
79
+ <li><a href="components/thumbnails.html">Thumbnails</a></li>
80
+ <li><a href="components/flex-video.html">Flex Video</a></li>
81
+ <li class="divider"></li>
82
+ <li><a target="_blank" style="font-style: italic" href="components/kitchen-sink.html">Kitchen Sink</a></li>
83
+ </ul>
84
+ </div>
85
+ </section>
86
+ <section class="section">
87
+ <p class="title"><a href="#">Javascript</a></p>
88
+ <div class="content">
89
+ <ul class="side-nav">
90
+ <li><a href="components/clearing.html">Clearing</a></li>
91
+ <li><a href="components/dropdown.html">Dropdown</a></li>
92
+ <li><a href="components/joyride.html">Joyride</a></li>
93
+ <li><a href="components/magellan.html">Magellan</a></li>
94
+ <li><a href="components/orbit.html">Orbit</a></li>
95
+ <li><a href="components/reveal.html">Reveal</a></li>
96
+ <li><a href="components/section.html">Section</a></li>
97
+ <li><a href="components/tooltips.html">Tooltips</a></li>
98
+ </ul>
99
+ </div>
100
+ </section>
101
+ <section class="section <%= @page_title == 'FAQ' ? 'active': '' %>">
102
+ <p class="title"><a href="faq.html">FAQ</a></p>
103
+ </section>
104
+ <section class="section <%= @page_title == 'Support' ? 'active': '' %>">
105
+ <p class="title"><a href="support.html">Support</a></p>
106
+ </section>
107
+ </div>
108
+
109
+ <p><a href="http://abstractio.themepile.co.uk/download.php" class="button expand" style="margin-bottom: 0;">Download Abstractio 4</a></p>
110
+
111
+ <div class="jobs hide-for-small">
112
+ <h5>Awesome product jobs:</h5>
113
+ <script type="text/javascript" src="http://www.themepile.co.uk/jobs/widgets/jobs.js?limit=3&variation=abstractio-sidebar"></script>
114
+ <a id="via" href="http://themepilejobs.com">via&nbsp;<span class="jobs-link">ZURBjobs</span></a>
115
+ </div>
@@ -0,0 +1,33 @@
1
+ <div class="row">
2
+ <div class="large-3 columns">
3
+ <%= render "_sidebar.html.erb" %>
4
+ </div>
5
+
6
+ <div class="large-9 columns">
7
+
8
+ <% @page_title = "Changelog" %>
9
+ <h2><%= @page_title %></h2>
10
+
11
+ <h4 class="subheader">We'll keep you up to date with what we've released so you at least have a gist of what goes into each update. For the most part, we'll try to list things out as detailed as we see necessary.</h4>
12
+
13
+ <%= render 'CHANGELOG.md' %>
14
+
15
+ <hr>
16
+
17
+ <div class="panel">
18
+ <h3>Where Does Abstractio Work?</h3>
19
+ <h5 class="subheader">Abstractio is the most advanced front-end framework in existence. We've ditched IE7 so that we can do more awesome things and push the web to where it needs to be.</h5>
20
+ <a class="button" href="support.html">Browser Support &raquo;</a> <a class="secondary button" href="faq.html">Frequently Asked Questions &raquo;</a>
21
+ </div>
22
+
23
+
24
+ </div>
25
+ </div>
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+
@@ -0,0 +1,34 @@
1
+ require 'bundler'
2
+ Bundler.require
3
+ require 'fileutils'
4
+
5
+ class AbstractioAssets
6
+
7
+ BUNDLES = [
8
+ "vendor/custom.modernizr.js", "vendor/zepto.js", "vendor/jquery.js",
9
+ "docs.js", "docs.css", "normalize.css"
10
+ ]
11
+
12
+ def initialize
13
+ @env = Sprockets::Environment.new
14
+ @env.append_path File.expand_path('../../scss', __FILE__)
15
+ @env.append_path File.expand_path('../css', __FILE__)
16
+ @env.append_path File.expand_path('../../js', __FILE__)
17
+ @env.append_path File.expand_path('../js', __FILE__)
18
+ end
19
+
20
+ def compile
21
+ assets_path = "public/assets"
22
+ FileUtils.mkdir_p("#{assets_path}/vendor")
23
+ BUNDLES.each do |bundle|
24
+ pth = "#{assets_path}/#{bundle}"
25
+ File.delete(pth) if File.exists?(pth)
26
+ code = @env[bundle].to_s
27
+ File.open(pth, "w") {|f| f.puts code}
28
+ end
29
+ end
30
+ end
31
+
32
+ Stasis.new(File.expand_path('.'), File.expand_path('./public'), {:asset_path => "http://abstractio.themepile.co.uk/docs/assets"}).render
33
+ assets = AbstractioAssets.new
34
+ assets.compile
@@ -0,0 +1,204 @@
1
+ <% @side_nav = "css" %>
2
+
3
+ <div class="row">
4
+ <div class="large-9 push-3 columns">
5
+ <div class="row">
6
+ <div class="large-12 columns">
7
+ <% @page_title = "Alert Boxes" %>
8
+ <h2><%= @page_title %></h2>
9
+ <h4 class="subheader">Alerts are a handy element you can drop into a form or inline on a page to communicate success, warnings, failure or just information. They'll conform to 100% of the container width you put them in.</h4>
10
+ </div>
11
+ </div>
12
+
13
+ <div class="row">
14
+ <div class="large-12 columns">
15
+ <div data-alert class="alert-box radius">
16
+ This is a standard alert (div.alert-box).
17
+ <a href="" class="close">&times;</a>
18
+ </div>
19
+
20
+ <div data-alert class="alert-box success">
21
+ This is a success alert (div.alert-box.success).
22
+ <a href="" class="close">&times;</a>
23
+ </div>
24
+
25
+ <div data-alert class="alert-box alert round">
26
+ This is an alert (div.alert-box.alert.round).
27
+ <a href="" class="close">&times;</a>
28
+ </div>
29
+
30
+ <div data-alert class="alert-box secondary">
31
+ This is a secondary alert (div.alert-box.secondary).
32
+ <a href="" class="close">&times;</a>
33
+ </div>
34
+
35
+ <hr>
36
+
37
+ <h3>Build With Predefined HTML Classes</h3>
38
+ <p>There are two ways to build alerts in Abstractio 4: with our predefined HTML classes or with our structure and mixins. Building an alert using our predefined class is super-easy, you only need a block-level element with a class of <code>.alert-box</code> (we usually use a <code>&lt;div&gt;</code>). You may also include an anchor with a class of <code>.close</code> to create a close box. Here is the markup you'll need:</p>
39
+
40
+ <%= code_example '
41
+ <div data-alert class="alert-box">
42
+ <!-- Your content goes here -->
43
+ <a href="#" class="close">&times;</a>
44
+ </div>', :html %>
45
+
46
+ <p>For these styles to come across, make sure you have the <strong>default Abstractio CSS package</strong> or that you've selected <strong>alerts from a custom package</strong>. These should be linked up following our default <a href="#getting-started">HTML page structure</a>.</p>
47
+
48
+ <hr>
49
+
50
+ <h3>Build with Mixins</h3>
51
+ <p>We've included SCSS mixins used to style alert boxes. To use these mixins, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/themepile/abstractio/blob/master/scss/abstractio/_abstractio-global.scss">_abstractio-global.scss</a>, <a href="https://github.com/themepile/abstractio/blob/master/scss/abstractio/components/_global.scss">_global.scss</a> and <a href="https://github.com/themepile/abstractio/blob/master/scss/abstractio/components/_alert-boxes.scss">_alert-boxes.scss</a> from Github and throw them into a Abstractio folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
52
+
53
+ <%= code_example '
54
+ @import "abstractio/abstractio-global", "abstractio/components/global", "abstractio/components/alerts";
55
+ ', :css %>
56
+
57
+ <p>If you are using the mixins, you may include the styles on whatever class or ID you'd like, just make sure you follow our markup structure:</p>
58
+
59
+ <%= code_example '
60
+ <div data-alert class="your-class-name">
61
+ <!-- Your content goes here -->
62
+ <a href="#" class="close">&times;</a>
63
+ </div>', :html %>
64
+
65
+
66
+ <h5>Quick Mixin</h5>
67
+ <p>You can build your alert using our global mixin by including it on your custom class or ID in your stylesheet. The mixin contains options for changing the background color, which also controls the border and text color. The rest of the defaults can be modified using the available variables. The global mixin looks like this:</p>
68
+
69
+ <%= code_example '
70
+ /* Using the default styles */
71
+ .your-class-name { @include alert; }
72
+
73
+ /* Using the available options */
74
+ .your-class-name { @include alert(#ff6c3c); }
75
+ ', :css %>
76
+
77
+ <div data-alert class="alert-box">
78
+ This is a default alert.
79
+ <a href="#" class="close">&times;</a>
80
+ </div>
81
+
82
+ <div data-alert class="alert-base custom-bg">
83
+ This is an alert with a custom background set.
84
+ <a href="#" class="close">&times;</a>
85
+ </div>
86
+
87
+ <h5>Base Mixin</h5>
88
+ <p>Use this mixin to create the base styles for alert boxes. This will include styles that create the basic structure of an alert box.</p>
89
+
90
+
91
+ <%= code_example '
92
+ .your-class-name { @include alert-base; }
93
+ ', :css %>
94
+
95
+ <div class="alert-base">This is the base mixin.</div>
96
+
97
+ <h5>Background Mixin</h5>
98
+ <p>You can control the background, border and text styles for the alert using this mixin. We base the border and text style on the background color you choose using some sweet Sass logic.</p>
99
+
100
+ <%= code_example '
101
+ .your-class-name {
102
+ @include alert-base;
103
+ @include alert-style($bg);
104
+ }', :css %>
105
+
106
+ <div data-alert class="alert-base bg">This is base and bg mixins.</div>
107
+
108
+ <p>You can set <code>$bg</code> color to any of our predefined color variables or any hexadecimal color of your choosing. To set this value to something other than our default, use <code>@include alert-bg(#hexcolor);</code></p>
109
+
110
+ <h5>Close Box Mixin</h5>
111
+ <p>You can include a close box with each of the alert boxes by adding an anchor right before the closing <code>&lt;/div&gt;</code>. This anchor should have a class of <code>.close</code> in order to work with <strong>abstractio.alerts.js</strong>, which contains the interaction for closing.</p>
112
+
113
+ <%= code_example '
114
+ .your-class-name {
115
+ @include alert-base;
116
+ @include alert-style;
117
+ .close { @include alert-close; }
118
+ }', :css %>
119
+
120
+ <div data-alert class="alert-base bg">
121
+ This is base, bg and close mixins.
122
+ <a href="" class="close">&times;</a>
123
+ </div>
124
+
125
+ <h5>Radius Mixin</h5>
126
+ <p>We've also created a global radius mixin that you can use to add border-radius to any element you'd like.</p>
127
+
128
+ <%= code_example '
129
+ .your-class-name {
130
+ @include alert-base;
131
+ @include alert-style($success-color);
132
+ @include radius($radius);
133
+ }', :css %>
134
+
135
+ <div data-alert class="alert-base bg radius success">
136
+ This is base, bg and radius mixins.
137
+ <a href="" class="close">&times;</a>
138
+ </div>
139
+
140
+ <h5>Default SCSS Variables</h5>
141
+ <%= code_example '
142
+ /* We use this to control alert padding. */
143
+ $alert-padding-top: emCalc(11px);
144
+ $alert-padding-left: $alert-padding-top;
145
+ $alert-padding-right: $alert-padding-top + emCalc(10px);
146
+ $alert-padding-bottom: $alert-padding-top + emCalc(1px);
147
+
148
+ /* We use these to control text style. */
149
+ $alert-font-weight: bold;
150
+ $alert-font-size: emCalc(14px);
151
+ $alert-font-color: #fff;
152
+ $alert-font-color-alt: darken($secondary-color, 60%);
153
+
154
+ /* We use this for close hover effect. */
155
+ $alert-function-factor: 10%;
156
+
157
+ /* We use these to control border styles. */
158
+ $alert-border-style: solid;
159
+ $alert-border-width: 1px;
160
+ $alert-border-color: darken($primary-color, $alert-function-factor);
161
+ $alert-bottom-margin: emCalc(20px);
162
+
163
+ /* We use these to style the close buttons */
164
+ $alert-close-color: #333;
165
+ $alert-close-position: emCalc(5px);
166
+ $alert-close-font-size: emCalc(22px);
167
+ $alert-close-opacity: 0.3;
168
+ $alert-close-opacity-hover: 0.5;
169
+ $alert-close-padding: 5px 4px 4px;
170
+
171
+ /* We use this to control border radius */
172
+ $alert-radius: $global-radius;
173
+ ', :css %>
174
+
175
+ <p><strong>Note:</strong> <code>emCalc();</code> is a function we wrote to convert <code>px</code> to <code>em</code>.</p>
176
+
177
+ <hr>
178
+
179
+ <h3>Using the JavaScript</h3>
180
+ <p>You don't need ths JS to create alert boxes with Abstractio. The only reason you'll need to include <code>abstractio.alerts.js</code> is if you want to add the ability to close an alert. You'll also need to make sure to include <code>zepto.js</code> and <code>abstractio.js</code> above the alert plugin. Above your closing <code>&lt;/body&gt;</code> tag include the following line of code and make sure you have the JS in your directory:</p>
181
+
182
+ <p><a href="../javascript.html" title="How to install Abstractio JavaScript">Read how to install Abstractio JavaScript</a></p>
183
+
184
+ <p>Required Abstractio Library: <code>abstractio.alerts.js</code></p>
185
+
186
+ <p>Then, you'll need to add a data-attribute to make the JS work properly on that element. That looks like:</p>
187
+
188
+ <%= code_example '
189
+ <div data-alert class="alert-box">
190
+ <!-- Your content goes here -->
191
+ <a href="#" class="close">&times;</a>
192
+ </div>
193
+ ', :html %>
194
+ </div>
195
+ </div>
196
+
197
+ </div>
198
+
199
+ <div class="large-3 pull-9 columns">
200
+ <%= render "_sidebar-components.html.erb" %>
201
+ </div>
202
+
203
+ </div>
204
+