sb-styleguide 0.0.9 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (163) hide show
  1. data/.codoopts +10 -0
  2. data/.env +1 -0
  3. data/.gitignore +1 -0
  4. data/.ruby-version +1 -0
  5. data/Gemfile +10 -3
  6. data/Gemfile.lock +134 -94
  7. data/Procfile +1 -0
  8. data/README.md +3 -5
  9. data/Rakefile +3 -0
  10. data/app/assets/images/layouts/basic-marketing-site.png +0 -0
  11. data/app/assets/images/layouts/jumbotron-site.png +0 -0
  12. data/app/assets/javascripts/base.js.coffee +3 -0
  13. data/app/assets/javascripts/grids.js.coffee +3 -0
  14. data/app/assets/javascripts/javascript.js.coffee +3 -0
  15. data/app/assets/javascripts/modules.js.coffee +3 -0
  16. data/app/assets/stylesheets/application-old-ie.css.scss +11 -0
  17. data/app/assets/stylesheets/application.css.scss +33 -30
  18. data/app/assets/stylesheets/base/_all.scss +6 -0
  19. data/app/assets/stylesheets/base/_reset.css.scss +16 -0
  20. data/app/assets/stylesheets/base/_type.scss +16 -0
  21. data/app/assets/stylesheets/{coderay_githubish.css.scss → modules/_coderay.css.scss} +40 -0
  22. data/app/assets/stylesheets/modules/_layout_examples.css.scss +13 -0
  23. data/app/assets/stylesheets/modules/_webfont_table.css.scss +47 -0
  24. data/app/assets/stylesheets/vanilla-normal-old-ie.css.scss +11 -0
  25. data/app/assets/stylesheets/vanilla-normal.css.scss +33 -0
  26. data/app/controllers/application_controller.rb +2 -0
  27. data/app/controllers/base_controller.rb +52 -0
  28. data/app/controllers/grids_controller.rb +48 -0
  29. data/app/controllers/javascript_controller.rb +20 -0
  30. data/app/controllers/modules_controller.rb +43 -0
  31. data/app/helpers/styleguide_helper.rb +33 -0
  32. data/app/views/base/_webfonts_social_standard.html +429 -0
  33. data/app/views/base/_webfonts_ss_standard.html +2413 -0
  34. data/app/views/base/buttons.html.haml +20 -0
  35. data/app/views/base/forms.html.haml +40 -0
  36. data/app/views/base/images.html.haml +1 -0
  37. data/app/views/base/index.html.haml +68 -0
  38. data/app/views/base/labels.html.haml +22 -0
  39. data/app/views/base/lists.html.haml +20 -0
  40. data/app/views/base/webfonts.html.haml +17 -0
  41. data/app/views/grids/index.html.haml +73 -0
  42. data/app/views/grids/layouts.html.haml +9 -0
  43. data/app/views/grids/layouts/basic-marketing-site.haml +69 -0
  44. data/app/views/grids/layouts/jumbotron-site.haml +92 -0
  45. data/app/views/layouts/_main_nav.html.haml +6 -6
  46. data/app/views/layouts/application.html.haml +6 -32
  47. data/app/views/modules/alerts.html.haml +12 -0
  48. data/app/views/modules/footer.html.haml +2 -0
  49. data/app/views/modules/index.html.haml +5 -0
  50. data/app/views/modules/nav.html.haml +12 -0
  51. data/app/views/modules/panels.html.haml +3 -0
  52. data/app/views/modules/tabs.html.haml +58 -0
  53. data/app/views/old_javascript/close.html.haml +2 -0
  54. data/app/views/old_javascript/forms.html.haml +2 -0
  55. data/app/views/old_javascript/ga_events.html.haml +2 -0
  56. data/app/views/old_javascript/index.html.haml +2 -0
  57. data/app/views/old_javascript/responsive_resize.html.haml +2 -0
  58. data/app/views/old_javascript/switch.html.haml +2 -0
  59. data/app/views/parts/base/_button.haml +3 -0
  60. data/app/views/parts/base/_button_colours.haml +4 -0
  61. data/app/views/parts/base/_button_group.haml +4 -0
  62. data/app/views/parts/base/_button_sizing.haml +3 -0
  63. data/app/views/parts/base/_button_states.haml +3 -0
  64. data/app/views/parts/base/_form_example.haml +26 -0
  65. data/app/views/parts/base/_form_example_horizontal.haml +26 -0
  66. data/app/views/parts/base/_form_group.haml +10 -0
  67. data/app/views/parts/base/_form_location.haml +3 -0
  68. data/app/views/parts/base/_labels.haml +5 -0
  69. data/app/views/parts/base/_labels_sizing.haml +3 -0
  70. data/app/views/parts/base/_list.haml +10 -0
  71. data/app/views/parts/base/_list_action.haml +5 -0
  72. data/app/views/parts/base/_list_nav.haml +12 -0
  73. data/app/views/parts/base/_list_unset.haml +10 -0
  74. data/app/views/parts/base/_type_body.haml +2 -0
  75. data/app/views/parts/base/_type_headings.haml +5 -0
  76. data/app/views/parts/base/_type_helpers.haml +3 -0
  77. data/app/views/parts/base/_type_links.haml +9 -0
  78. data/app/views/parts/base/_type_shouts.haml +4 -0
  79. data/app/views/parts/grids/_example_layout_1.haml +10 -0
  80. data/app/views/parts/grids/_live_grid.haml +29 -0
  81. data/app/views/parts/modules/_alerts.haml +11 -0
  82. data/app/views/parts/modules/_nav_footer.haml +34 -0
  83. data/app/views/parts/modules/_nav_header.haml +18 -0
  84. data/app/views/parts/modules/_panels.haml +9 -0
  85. data/app/views/parts/modules/_tabs_minimal.haml +11 -0
  86. data/app/views/parts/modules/_tabs_simple_group.haml +11 -0
  87. data/app/views/parts/modules/_tabs_simple_group_toggle.haml +11 -0
  88. data/app/views/parts/modules/_tabs_toggle.haml +5 -0
  89. data/app/views/parts/modules/_tabs_traditional.haml +11 -0
  90. data/app/views/shared/_title.html.haml +8 -0
  91. data/app/views/shared/_ui_nav.html.haml +5 -0
  92. data/app/views/ui/typography.html.haml +86 -96
  93. data/lib/sb-styleguide.rb +1 -1
  94. data/lib/sb-styleguide/version.rb +1 -1
  95. data/lib/templates/haml/scaffold/_form.html.haml +8 -0
  96. data/public/javascripts/LICENSE.html +158 -0
  97. data/public/javascripts/README.md.html +164 -0
  98. data/public/javascripts/assets/codo.css +1 -0
  99. data/public/javascripts/assets/codo.js +21 -0
  100. data/public/javascripts/assets/search_data.js +1 -0
  101. data/public/javascripts/class_index.html +215 -0
  102. data/public/javascripts/class_list.html +58 -0
  103. data/public/javascripts/classes/Close.html +259 -0
  104. data/public/javascripts/classes/GAEvent.html +231 -0
  105. data/public/javascripts/classes/ResizeHandler.html +225 -0
  106. data/public/javascripts/classes/Switch.html +318 -0
  107. data/public/javascripts/classes/TBGForm.html +373 -0
  108. data/public/javascripts/extra_list.html +36 -0
  109. data/public/javascripts/file_list.html +74 -0
  110. data/public/javascripts/files/styleguide/plugins/tbg-close.js.coffee.html +160 -0
  111. data/public/javascripts/files/styleguide/plugins/tbg-forms.js.coffee.html +160 -0
  112. data/public/javascripts/files/styleguide/plugins/tbg-ga-events.js.coffee.html +160 -0
  113. data/public/javascripts/files/styleguide/plugins/tbg-respinsiveresize.js.coffee.html +160 -0
  114. data/public/javascripts/files/styleguide/plugins/tbg-switch.js.coffee.html +160 -0
  115. data/public/javascripts/index.html +14 -0
  116. data/public/javascripts/method_list.html +187 -0
  117. data/public/javascripts/mixin_list.html +28 -0
  118. data/vendor/assets/javascripts/styleguide/plugins/doc/assets/codo.css +1 -0
  119. data/vendor/assets/javascripts/styleguide/plugins/doc/assets/codo.js +21 -0
  120. data/vendor/assets/javascripts/styleguide/plugins/doc/assets/search_data.js +1 -0
  121. data/vendor/assets/javascripts/styleguide/plugins/doc/class_index.html +194 -0
  122. data/vendor/assets/javascripts/styleguide/plugins/doc/class_list.html +58 -0
  123. data/vendor/assets/javascripts/styleguide/plugins/doc/classes/Close.html +215 -0
  124. data/vendor/assets/javascripts/styleguide/plugins/doc/classes/GAEvent.html +235 -0
  125. data/vendor/assets/javascripts/styleguide/plugins/doc/classes/ResizeHandler.html +192 -0
  126. data/vendor/assets/javascripts/styleguide/plugins/doc/classes/Switch.html +233 -0
  127. data/vendor/assets/javascripts/styleguide/plugins/doc/classes/TBGForm.html +318 -0
  128. data/vendor/assets/javascripts/styleguide/plugins/doc/extra_list.html +30 -0
  129. data/vendor/assets/javascripts/styleguide/plugins/doc/file_list.html +58 -0
  130. data/vendor/assets/javascripts/styleguide/plugins/doc/files/tbg-close.js.coffee.html +154 -0
  131. data/vendor/assets/javascripts/styleguide/plugins/doc/files/tbg-forms.js.coffee.html +154 -0
  132. data/vendor/assets/javascripts/styleguide/plugins/doc/files/tbg-ga-events.js.coffee.html +154 -0
  133. data/vendor/assets/javascripts/styleguide/plugins/doc/files/tbg-respinsiveresize.js.coffee.html +154 -0
  134. data/vendor/assets/javascripts/styleguide/plugins/doc/files/tbg-switch.js.coffee.html +154 -0
  135. data/vendor/assets/javascripts/styleguide/plugins/doc/index.html +14 -0
  136. data/vendor/assets/javascripts/styleguide/plugins/doc/method_list.html +163 -0
  137. data/vendor/assets/javascripts/styleguide/plugins/doc/mixin_list.html +28 -0
  138. data/vendor/assets/javascripts/styleguide/plugins/tbg-close.js.coffee +28 -4
  139. data/vendor/assets/javascripts/styleguide/plugins/tbg-forms.js.coffee +52 -5
  140. data/vendor/assets/javascripts/styleguide/plugins/tbg-ga-events.js.coffee +28 -8
  141. data/vendor/assets/javascripts/styleguide/plugins/tbg-respinsiveresize.js.coffee +21 -2
  142. data/vendor/assets/javascripts/styleguide/plugins/tbg-switch.js.coffee +37 -2
  143. data/vendor/assets/stylesheets/_mixins.css.scss +128 -35
  144. data/vendor/assets/stylesheets/_settings.css.scss +7 -4
  145. data/vendor/assets/stylesheets/styleguide/base/_labels.css.scss +22 -6
  146. data/vendor/assets/stylesheets/styleguide/base/_lists.css.scss +23 -18
  147. data/vendor/assets/stylesheets/styleguide/base/_type.css.scss +11 -5
  148. data/vendor/assets/stylesheets/styleguide/grid/_grid.css.scss +9 -9
  149. data/vendor/assets/stylesheets/styleguide/modules/_switch.css.scss +32 -16
  150. metadata +134 -18
  151. data/.rvmrc +0 -1
  152. data/app/helpers/application_helper.rb +0 -13
  153. data/app/helpers/javascripts_helper.rb +0 -2
  154. data/app/helpers/ui_helper.rb +0 -2
  155. data/app/mailers/.gitkeep +0 -0
  156. data/app/models/.gitkeep +0 -0
  157. data/app/views/javascripts/_js_nav.html.haml +0 -5
  158. data/app/views/javascripts/index.html.haml +0 -45
  159. data/app/views/type/_headings.haml +0 -6
  160. data/app/views/type/_paragraphs.haml +0 -4
  161. data/app/views/ui/_ui_nav.html.haml +0 -13
  162. data/vendor/assets/stylesheets/styleguide/layout/_all.css.scss +0 -5
  163. data/vendor/plugins/.gitkeep +0 -0
@@ -6,14 +6,33 @@
6
6
  // Settings grids
7
7
  // ======================================================
8
8
 
9
- $baby: 'baby-', 2, 10px, "max-width: 655px";
10
- $sister: 'sister-', 4, 15px, "max-width: 785px";
11
- $mother: 'mother-', 12, 20px;
9
+ // Max container width
10
+ $container-width: 800px;
11
+
12
+ $baby: 'baby-', 2, 10px;
13
+ $sister: 'sister-', 4, 15px, "min", 655px;
14
+ $mother: 'mother-', 8, 20px, "min", $container-width;
12
15
  // Declare grid
13
- $grids : $mother, $sister, $baby;
16
+ $grids : $baby, $sister, $mother;
14
17
 
15
- // Max container width
16
- $container-width: 980px;
18
+
19
+
20
+ // Module scale
21
+ $baseFontSize: 14px !default;
22
+ $importantModNum: 300px !default;
23
+ $base-size: $baseFontSize $importantModNum;
24
+
25
+ $base-font-family: "Helvetica Neue", helvetica, arial, sans-serif !default;
26
+ $base-line-height: 1.57;
27
+ $base-line-height-px: 22px;
28
+
29
+
30
+ $header-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif !default;
31
+ $header-font-weight: bold !default;
32
+ $header-font-color: #222 !default;
33
+ $body-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif !default;
34
+ $body-font-weight: normal !default;
35
+ $body-font-color: $txt-color !default;
17
36
 
18
37
  // ======================================================
19
38
  // Stylguide
@@ -38,35 +57,19 @@ $container-width: 980px;
38
57
  @include create-column-sizes($grids);
39
58
 
40
59
  // ======================================================
41
- // Styleguide only styles
60
+ // Site Base Styles
42
61
  // ======================================================
43
62
 
44
- @import 'coderay_githubish';
45
-
63
+ @import 'base/all';
46
64
 
47
- //
48
- // Preview display list
49
- //
50
65
 
51
- .sg-example, .CodeRay {
52
- margin: $base-line-height-px 0;
53
- }
54
-
55
- .CodeRay {
56
- background-color: #F8F8F7;
57
- border-bottom: 3px solid $main-color;
66
+ // ======================================================
67
+ // Site modules
68
+ // ======================================================
58
69
 
59
- .line-numbers {
60
- margin-right: $column-gutter*2;
61
- }
62
- }
70
+ @import 'modules/coderay';
71
+ @import 'modules/webfont_table';
72
+ @import 'modules/layout_examples';
63
73
 
64
74
 
65
- hr {
66
- margin: $base-line-height-px*2 0 $base-line-height-px;
67
- height: 1px;
68
- border: none;
69
- color: mono(4);
70
- background-color: mono(4);
71
- }
72
75
 
@@ -0,0 +1,6 @@
1
+ //
2
+ // Site base styles
3
+ // $author Ad Taylor
4
+
5
+ @import "reset";
6
+ @import "type";
@@ -0,0 +1,16 @@
1
+ //
2
+ // Site extra resets
3
+ // $author Ad Taylor
4
+
5
+ // ======================================================
6
+ // Default elements
7
+ // ======================================================
8
+
9
+ hr {
10
+ margin: $base-line-height-px*2 0 $base-line-height-px;
11
+ height: 1px;
12
+ border: none;
13
+ color: mono(3);
14
+ background-color: mono(3);
15
+ }
16
+
@@ -0,0 +1,16 @@
1
+ //
2
+ // Site Type
3
+ // $author Ad Taylor
4
+
5
+ // ======================================================
6
+ // Headings
7
+ // ======================================================
8
+
9
+ h1, .h1 {
10
+ color: $main-color;
11
+
12
+ small {
13
+ font-weight: normal;
14
+ }
15
+ }
16
+
@@ -1,3 +1,43 @@
1
+ //
2
+ // Coderay Example Module
3
+ // $author Ad Taylor
4
+
5
+ // ======================================================
6
+ // Add example block to coderay blocks
7
+ // ======================================================
8
+
9
+ .sg-example, .CodeRay {
10
+ margin: $base-line-height-px 0;
11
+ }
12
+
13
+ .example-highlight {
14
+ background-color: rgba(0,0,0,0.05);
15
+ font-weight: bold;
16
+ text-align: center;
17
+ }
18
+
19
+ .CodeRay, .sg-example, pre code {
20
+ font-size: 0.85em;
21
+ }
22
+
23
+ .CodeRay {
24
+ background-color: #F8F8F7;
25
+ border-bottom: 3px solid $main-color;
26
+
27
+ .line-numbers {
28
+ margin-right: $column-gutter*2;
29
+ }
30
+ }
31
+
32
+ .sg-example {
33
+ border: 1px dashed #ccc;
34
+ padding: 20px;
35
+ }
36
+
37
+ // ======================================================
38
+ // Styles to give coderay a more 'githubish' feel
39
+ // ======================================================
40
+
1
41
  .CodeRay {
2
42
  font-family: Monaco, "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace;
3
43
  color: #000;
@@ -0,0 +1,13 @@
1
+ //
2
+ // Layout Examples Module
3
+ // $author Ad Taylor
4
+
5
+ // ======================================================
6
+ // Layout example image shift
7
+ // ======================================================
8
+
9
+ .layout-example {
10
+ figure {
11
+ margin-left: -1.5em;
12
+ }
13
+ }
@@ -0,0 +1,47 @@
1
+ .webfonts-example {
2
+ width: 100%;
3
+ border-collapse:collapse;
4
+ border-spacing:0;
5
+
6
+ tr {
7
+ border-top:1px solid #e6eae8;
8
+ }
9
+
10
+ td {
11
+ padding-bottom:15px;padding-top:18px;vertical-align:top;
12
+ }
13
+
14
+ ul {
15
+ padding: 0;
16
+ list-style: none;
17
+ }
18
+
19
+ .set {
20
+ margin-bottom:84px;
21
+ }
22
+
23
+ .encode, .keyword {
24
+ width:41.667%;
25
+ }
26
+
27
+ .css, .keyword li {
28
+ white-space: nowrap;
29
+ }
30
+
31
+ .ss-icon {
32
+ padding-left:0;
33
+ width:16.667%;
34
+ font-size:32px;
35
+ }
36
+
37
+ .encode {
38
+ font-size:14px;
39
+ text-align:center;
40
+ padding-right:20px;
41
+ line-height:1.8;
42
+ }
43
+
44
+ .unicode {
45
+ color:#949FA2;
46
+ }
47
+ }
@@ -0,0 +1,11 @@
1
+ @charset "UTF-8";
2
+
3
+ // ======================================================
4
+ // Old IE!!
5
+ // ======================================================
6
+
7
+ $old-ie: true;
8
+ $fixed-mqs: true;
9
+
10
+
11
+ @import "vanilla-normal";
@@ -0,0 +1,33 @@
1
+ @charset "UTF-8";
2
+
3
+ @import "styleguide";
4
+
5
+ // ======================================================
6
+ // Settings grids
7
+ // ======================================================
8
+
9
+ // No settings changed - using defaults
10
+
11
+ // ======================================================
12
+ // Stylguide
13
+ // ======================================================
14
+
15
+ @import "styleguide/base/_all";
16
+ @import "styleguide/modules/_all-grid";
17
+ @import "styleguide/modules/_all-no-grid";
18
+
19
+
20
+ // ======================================================
21
+ // Default grids
22
+ // ======================================================
23
+
24
+ @import "styleguide/grid/_grid";
25
+
26
+
27
+ // ======================================================
28
+ // Build grid sizes
29
+ // ======================================================
30
+
31
+ @include create-column-sizes($grids);
32
+
33
+
@@ -1,3 +1,5 @@
1
1
  class ApplicationController < ActionController::Base
2
2
  protect_from_forgery
3
+
4
+ helper "Styleguide"
3
5
  end
@@ -0,0 +1,52 @@
1
+ class BaseController < ApplicationController
2
+ def index
3
+ @page_title = "Base <small>type</small>"
4
+ @page_description = "Arguably the most important section of the style guide, where the foundations of the site are set. All modules will be extended from these base styles."
5
+ @page_nav = base_nav
6
+ end
7
+
8
+ def lists
9
+ @page_title = "Base <small>lists</small>"
10
+ @page_nav = base_nav
11
+ end
12
+
13
+ def buttons
14
+ @page_title = "Base <small>Buttons</small>"
15
+ @page_nav = base_nav
16
+ end
17
+
18
+ def labels
19
+ @page_title = "Base <small>Labels</small>"
20
+ @page_nav = base_nav
21
+ end
22
+
23
+ def forms
24
+ @page_title = "Base <small>Forms</small>"
25
+ @page_nav = base_nav
26
+ end
27
+
28
+ def images
29
+ @page_title = "Base <small>Images</small>"
30
+ @page_nav = base_nav
31
+ end
32
+
33
+ def webfonts
34
+ @page_title = "Base <small>Web Fonts</small>"
35
+ @page_description = "These are the web fonts that we have at our disposal. When using these fonts you should be certain they are neccessary, when you use just 1 character the user must downloaded the full font."
36
+ @page_nav = base_nav
37
+ end
38
+
39
+ private
40
+ def base_nav
41
+ {
42
+ "Type" => base_path,
43
+ "Lists" => base_lists_path,
44
+ "Labels" => base_labels_path,
45
+ "Buttons" => base_buttons_path,
46
+ "Forms" => base_forms_path,
47
+ "Images" => base_images_path,
48
+ "Web Fonts" => base_webfonts_path
49
+ }
50
+ end
51
+
52
+ end
@@ -0,0 +1,48 @@
1
+ class GridsController < ApplicationController
2
+ def index
3
+ @page_title = "Grid System<small>(s)</small>"
4
+ @page_description = "This grid system is built to be flexible but still simple enough to read. It can scale up and down, it can fold up and it can be pushed around."
5
+ @page_nav = grids_nav
6
+ end
7
+
8
+ def show
9
+ if example_layouts.has_key? params[:id]
10
+ render_example_layout params[:id], params[:format]
11
+ else
12
+ raise ActionController::RoutingError.new("Can not find example layout named: #{params[:id]}")
13
+ end
14
+ end
15
+
16
+ def layouts
17
+ @page_title = "Example Layouts."
18
+ @page_description = "A few example layouts for experimentation"
19
+ @page_nav = grids_nav
20
+ @layouts = example_layouts
21
+ end
22
+
23
+ private
24
+ def grids_nav
25
+ {
26
+ "Grid Settings File" => grid_path + "#Setting-Grids" ,
27
+ "Grid Example" => grid_path + "#Live-Grid-Example" ,
28
+ "Layouts" => grid_layouts_path
29
+ }
30
+ end
31
+
32
+ def example_layouts
33
+ {
34
+ "basic-marketing-site" => "Basic Marketing Site",
35
+ "jumbotron-site" => "Jumbotron Site"
36
+ }
37
+ end
38
+
39
+ def render_example_layout( template, format )
40
+ case format
41
+ when "haml"
42
+ render :text => File.open(Rails.root.join("app/views/grids/layouts/#{template}.haml")).read
43
+ else
44
+ render :template => "grids/layouts/#{template}.haml", :layout => false
45
+ end
46
+ end
47
+
48
+ end
@@ -0,0 +1,20 @@
1
+ class JavascriptController < ApplicationController
2
+ def index
3
+
4
+ end
5
+
6
+ def close
7
+ end
8
+
9
+ def forms
10
+ end
11
+
12
+ def ga_events
13
+ end
14
+
15
+ def responsive_resize
16
+ end
17
+
18
+ def switch
19
+ end
20
+ end
@@ -0,0 +1,43 @@
1
+ class ModulesController < ApplicationController
2
+ def index
3
+ @page_title = "Modules"
4
+ @page_description = "On top of the grid and the base styles, a site is built up of modules of functionality. The modules within the style guide are common and reusable and should not be overly content specific."
5
+ @page_nav = modules_nav
6
+ end
7
+
8
+ def alerts
9
+ @page_title = "Alerts <small>Module</small>"
10
+ @page_nav = modules_nav
11
+ end
12
+
13
+ def footer
14
+ end
15
+
16
+ def nav
17
+ @page_title = "Alerts <small>Module</small>"
18
+ @page_nav = modules_nav
19
+ end
20
+
21
+ def panels
22
+ @page_title = "Panel <small>Module</small>"
23
+ @page_description = "Without doubt, the least exciting module we have."
24
+ @page_nav = modules_nav
25
+ end
26
+
27
+ def tabs
28
+ @page_title = "Tabs <small>Module</small>"
29
+ @page_nav = modules_nav
30
+ end
31
+
32
+ private
33
+ def modules_nav
34
+ {
35
+ "Alerts" => modules_alerts_path,
36
+ "Tabs" => modules_tabs_path,
37
+ "Navigation" => modules_nav_path,
38
+ "Panels" => modules_panels_path
39
+ }
40
+ end
41
+
42
+ end
43
+