underoos 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. data/Gemfile +5 -0
  2. data/Gemfile.lock +21 -7
  3. data/README.md +85 -10
  4. data/Rakefile +36 -1
  5. data/app/assets/javascripts/docs.js +6 -0
  6. data/app/assets/javascripts/styleguide.coffee +162 -0
  7. data/app/assets/javascripts/underoos.js +0 -1
  8. data/app/assets/stylesheets/base/_base.sass +14 -0
  9. data/app/assets/stylesheets/base/_buttons.sass +68 -0
  10. data/app/assets/stylesheets/base/_forms.sass +313 -24
  11. data/app/assets/stylesheets/base/_helpers.sass +27 -13
  12. data/app/assets/stylesheets/base/_normalize.sass +17 -9
  13. data/app/assets/stylesheets/base/_scaffold.sass +85 -0
  14. data/app/assets/stylesheets/base/_tables.sass +77 -0
  15. data/app/assets/stylesheets/base/_transitions.sass +10 -2
  16. data/app/assets/stylesheets/base/_typography.sass +183 -21
  17. data/app/assets/stylesheets/components/_accordions.sass +38 -0
  18. data/app/assets/stylesheets/components/_breadcrumbs.sass +19 -5
  19. data/app/assets/stylesheets/components/_button-groups.sass +43 -0
  20. data/app/assets/stylesheets/components/_carets.sass +13 -2
  21. data/app/assets/stylesheets/components/_carousels.sass +32 -0
  22. data/app/assets/stylesheets/components/_close.sass +15 -2
  23. data/app/assets/stylesheets/components/_components.sass +28 -0
  24. data/app/assets/stylesheets/components/_decals.sass +14 -0
  25. data/app/assets/stylesheets/components/_dropdowns.sass +88 -4
  26. data/app/assets/stylesheets/components/_media.sass +36 -0
  27. data/app/assets/stylesheets/components/_modals.sass +29 -0
  28. data/app/assets/stylesheets/components/_nav-lists.sass +20 -0
  29. data/app/assets/stylesheets/components/_navbars.sass +64 -3
  30. data/app/assets/stylesheets/components/_notifications.sass +112 -16
  31. data/app/assets/stylesheets/components/_paddles.sass +26 -0
  32. data/app/assets/stylesheets/components/_pagination.sass +23 -3
  33. data/app/assets/stylesheets/components/_pills.sass +80 -0
  34. data/app/assets/stylesheets/components/_popovers.sass +28 -0
  35. data/app/assets/stylesheets/components/_progress-bars.sass +33 -1
  36. data/app/assets/stylesheets/components/_tabs.sass +79 -0
  37. data/app/assets/stylesheets/components/_tooltips.sass +26 -0
  38. data/app/assets/stylesheets/components/_wells.sass +9 -0
  39. data/app/assets/stylesheets/layouts/_containers.sass +12 -0
  40. data/app/assets/stylesheets/layouts/_layouts.sass +5 -0
  41. data/app/assets/stylesheets/layouts/_print.sass +5 -1
  42. data/app/assets/stylesheets/layouts/_queries.sass +18 -15
  43. data/app/assets/stylesheets/layouts/_upgrades.sass +51 -40
  44. data/app/assets/stylesheets/mixins/_arrows.sass +13 -1
  45. data/app/assets/stylesheets/mixins/_clearfixins.sass +18 -4
  46. data/app/assets/stylesheets/mixins/_coloring.sass +10 -1
  47. data/app/assets/stylesheets/mixins/_columns.sass +16 -3
  48. data/app/assets/stylesheets/mixins/_conversions.sass +18 -6
  49. data/app/assets/stylesheets/mixins/_font-size.sass +16 -1
  50. data/app/assets/stylesheets/mixins/_image-tools.sass +12 -1
  51. data/app/assets/stylesheets/mixins/_inline-block.sass +21 -0
  52. data/app/assets/stylesheets/mixins/_ir.sass +14 -1
  53. data/app/assets/stylesheets/mixins/_mixins.sass +6 -0
  54. data/app/assets/stylesheets/mixins/_responsive.sass +16 -0
  55. data/app/assets/stylesheets/mixins/_sticky-footer.sass +52 -0
  56. data/app/assets/stylesheets/mixins/_tab-focus.sass +8 -1
  57. data/app/assets/stylesheets/mixins/_timing-equations.sass +34 -1
  58. data/app/assets/stylesheets/mixins/_visibility.sass +18 -5
  59. data/app/assets/stylesheets/polyfills/_box-shadow.sass +10 -0
  60. data/app/assets/stylesheets/polyfills/_box-sizing.sass +10 -1
  61. data/app/assets/stylesheets/polyfills/_functions.sass +14 -1
  62. data/app/assets/stylesheets/polyfills/_opacity.sass +10 -1
  63. data/app/assets/stylesheets/polyfills/_polyfills.sass +9 -2
  64. data/app/assets/stylesheets/polyfills/_transition.sass +10 -0
  65. data/app/assets/stylesheets/polyfills/_user-select.sass +10 -0
  66. data/app/assets/stylesheets/settings/_config.sass +26 -0
  67. data/app/assets/stylesheets/settings/_settings.sass +7 -0
  68. data/app/assets/stylesheets/settings/_theme.sass +189 -0
  69. data/app/assets/stylesheets/{styleguide.sass → underoos-docs.sass} +20 -116
  70. data/app/assets/stylesheets/underoos.sass +5 -16
  71. data/config.ru +1 -3
  72. data/features/generator.feature +13 -4
  73. data/lib/generators/underoos/assets_generator.rb +4 -2
  74. data/lib/underoos/version.rb +1 -1
  75. data/public/images.html +157 -0
  76. data/public/index.html +149 -0
  77. data/public/sherpa.css +306 -0
  78. data/public/styles.html +5374 -0
  79. data/script/javascripts +0 -1
  80. data/sherpa/config.yml +96 -0
  81. data/sherpa/layouts/images.mustache +17 -0
  82. data/sherpa/layouts/layout.mustache +77 -0
  83. data/sherpa/layouts/overview.mustache +19 -0
  84. data/sherpa/layouts/raw.mustache +25 -0
  85. data/sherpa/layouts/section.mustache +67 -0
  86. data/underoos.gemspec +0 -2
  87. data/vendor/assets/javascripts/bootstrap-alert.js +28 -32
  88. data/vendor/assets/javascripts/bootstrap-button.js +29 -33
  89. data/vendor/assets/javascripts/bootstrap-collapse.js +45 -26
  90. data/vendor/assets/javascripts/bootstrap-dropdown.js +18 -10
  91. data/vendor/assets/javascripts/bootstrap-modal.js +25 -17
  92. data/vendor/assets/javascripts/bootstrap-popover.js +13 -10
  93. data/vendor/assets/javascripts/bootstrap-tab.js +12 -7
  94. data/vendor/assets/javascripts/bootstrap-tooltip.js +40 -35
  95. data/vendor/assets/javascripts/bootstrap-transition.js +30 -20
  96. data/vendor/assets/javascripts/bootstrap-typeahead.js +24 -10
  97. data/vendor/assets/javascripts/sherpa.coffee +78 -0
  98. metadata +34 -75
  99. data/app/assets/javascripts/styleguide.js +0 -132
  100. data/app/assets/stylesheets/base/_elements.sass +0 -61
  101. data/app/assets/stylesheets/polyfills/_inline-block.sass +0 -8
  102. data/app/assets/stylesheets/themes/_default.sass +0 -119
  103. data/app/controllers/underoos/styleguides_controller.rb +0 -79
  104. data/app/views/shared/_upgrades.html.haml +0 -12
  105. data/app/views/underoos/styleguides/_assets.haml +0 -42
  106. data/app/views/underoos/styleguides/_components.haml +0 -42
  107. data/app/views/underoos/styleguides/_elements.haml +0 -242
  108. data/app/views/underoos/styleguides/_forms.haml +0 -305
  109. data/app/views/underoos/styleguides/_layouts.haml +0 -76
  110. data/app/views/underoos/styleguides/_palettes.haml +0 -18
  111. data/app/views/underoos/styleguides/_resources.haml +0 -27
  112. data/app/views/underoos/styleguides/_tables.haml +0 -124
  113. data/app/views/underoos/styleguides/_typography.haml +0 -284
  114. data/app/views/underoos/styleguides/_utilities.haml +0 -270
  115. data/app/views/underoos/styleguides/components/_accordions.haml +0 -83
  116. data/app/views/underoos/styleguides/components/_breadcrumbs.haml +0 -42
  117. data/app/views/underoos/styleguides/components/_button-groups.haml +0 -162
  118. data/app/views/underoos/styleguides/components/_carets.haml +0 -28
  119. data/app/views/underoos/styleguides/components/_close.haml +0 -20
  120. data/app/views/underoos/styleguides/components/_decals.haml +0 -40
  121. data/app/views/underoos/styleguides/components/_dropdowns.haml +0 -189
  122. data/app/views/underoos/styleguides/components/_media.haml +0 -78
  123. data/app/views/underoos/styleguides/components/_modals.haml +0 -42
  124. data/app/views/underoos/styleguides/components/_nav-lists.haml +0 -52
  125. data/app/views/underoos/styleguides/components/_navbars.haml +0 -144
  126. data/app/views/underoos/styleguides/components/_navs-showcase.haml +0 -27
  127. data/app/views/underoos/styleguides/components/_notifications.haml +0 -169
  128. data/app/views/underoos/styleguides/components/_paddles.haml +0 -68
  129. data/app/views/underoos/styleguides/components/_pagination.haml +0 -64
  130. data/app/views/underoos/styleguides/components/_popovers.haml +0 -33
  131. data/app/views/underoos/styleguides/components/_progress-bars.haml +0 -72
  132. data/app/views/underoos/styleguides/components/_tabs-pills.haml +0 -241
  133. data/app/views/underoos/styleguides/components/_tooltips.haml +0 -37
  134. data/app/views/underoos/styleguides/components/_wells.haml +0 -29
  135. data/app/views/underoos/styleguides/index.html.haml +0 -259
  136. data/app/views/underoos/styleguides/partials/_form-template.haml +0 -171
  137. data/app/views/underoos/styleguides/partials/_table-data.haml +0 -33
  138. data/app/views/underoos/styleguides/partials/_transitions.haml +0 -136
  139. data/config/routes.rb +0 -3
  140. data/vendor/assets/javascripts/bootstrap-scrollspy.js +0 -125
data/config.ru CHANGED
@@ -7,7 +7,6 @@ require 'underoos'
7
7
  require 'action_controller/railtie'
8
8
  require 'sass-rails'
9
9
  require 'sprockets/railtie'
10
- require 'haml-rails'
11
10
  require 'jquery-rails'
12
11
 
13
12
  # Set up a dummy app for development
@@ -31,8 +30,7 @@ end
31
30
  Underoos::Application.initialize!
32
31
 
33
32
  Underoos::Application.routes.draw do
34
- match '/' => redirect('/styleguide')
35
- mount Underoos::Engine => "/styleguide"
33
+ mount Underoos::Engine => '/'
36
34
  end
37
35
 
38
36
  run Underoos::Application
@@ -9,9 +9,13 @@ Feature: Generating the Underoos SASS files into an app
9
9
  When I successfully run `bundle exec rails generate underoos:assets --trace`
10
10
  Then the following files should exist:
11
11
  | app/assets/javascripts/underoos.js |
12
+ | app/assets/javascripts/docs.js |
13
+ | app/assets/javascripts/styleguide.coffee |
12
14
  | app/assets/stylesheets/underoos.sass |
15
+ | app/assets/stylesheets/underoos-docs.sass |
16
+ | app/assets/stylesheets/base/_base.sass |
13
17
  | app/assets/stylesheets/base/_button-btn-mixin.sass |
14
- | app/assets/stylesheets/base/_elements.sass |
18
+ | app/assets/stylesheets/base/_buttons.sass |
15
19
  | app/assets/stylesheets/base/_forms.sass |
16
20
  | app/assets/stylesheets/base/_helpers.sass |
17
21
  | app/assets/stylesheets/base/_normalize.sass |
@@ -25,6 +29,7 @@ Feature: Generating the Underoos SASS files into an app
25
29
  | app/assets/stylesheets/components/_carets.sass |
26
30
  | app/assets/stylesheets/components/_carousels.sass |
27
31
  | app/assets/stylesheets/components/_close.sass |
32
+ | app/assets/stylesheets/components/_components.sass |
28
33
  | app/assets/stylesheets/components/_decals.sass |
29
34
  | app/assets/stylesheets/components/_dropdowns.sass |
30
35
  | app/assets/stylesheets/components/_media.sass |
@@ -41,6 +46,7 @@ Feature: Generating the Underoos SASS files into an app
41
46
  | app/assets/stylesheets/components/_tooltips.sass |
42
47
  | app/assets/stylesheets/components/_wells.sass |
43
48
  | app/assets/stylesheets/layouts/_containers.sass |
49
+ | app/assets/stylesheets/layouts/_layouts.sass |
44
50
  | app/assets/stylesheets/layouts/_print.sass |
45
51
  | app/assets/stylesheets/layouts/_queries.sass |
46
52
  | app/assets/stylesheets/layouts/_upgrades.sass |
@@ -51,27 +57,30 @@ Feature: Generating the Underoos SASS files into an app
51
57
  | app/assets/stylesheets/mixins/_conversions.sass |
52
58
  | app/assets/stylesheets/mixins/_font-size.sass |
53
59
  | app/assets/stylesheets/mixins/_image-tools.sass |
60
+ | app/assets/stylesheets/mixins/_inline-block.sass |
54
61
  | app/assets/stylesheets/mixins/_ir.sass |
55
62
  | app/assets/stylesheets/mixins/_mixins.sass |
63
+ | app/assets/stylesheets/mixins/_responsive.sass |
64
+ | app/assets/stylesheets/mixins/_sticky-footer.sass |
56
65
  | app/assets/stylesheets/mixins/_tab-focus.sass |
57
66
  | app/assets/stylesheets/mixins/_timing-equations.sass |
58
67
  | app/assets/stylesheets/mixins/_visibility.sass |
59
68
  | app/assets/stylesheets/polyfills/_box-shadow.sass |
60
69
  | app/assets/stylesheets/polyfills/_box-sizing.sass |
61
70
  | app/assets/stylesheets/polyfills/_functions.sass |
62
- | app/assets/stylesheets/polyfills/_inline-block.sass |
63
71
  | app/assets/stylesheets/polyfills/_opacity.sass |
64
72
  | app/assets/stylesheets/polyfills/_polyfills.sass |
65
73
  | app/assets/stylesheets/polyfills/_transition.sass |
66
74
  | app/assets/stylesheets/polyfills/_user-select.sass |
67
- | app/assets/stylesheets/themes/_default.sass |
75
+ | app/assets/stylesheets/settings/_config.sass |
76
+ | app/assets/stylesheets/settings/_settings.sass |
77
+ | app/assets/stylesheets/settings/_theme.sass |
68
78
  | vendor/assets/javascripts/bootstrap-alert.js |
69
79
  | vendor/assets/javascripts/bootstrap-button.js |
70
80
  | vendor/assets/javascripts/bootstrap-collapse.js |
71
81
  | vendor/assets/javascripts/bootstrap-dropdown.js |
72
82
  | vendor/assets/javascripts/bootstrap-modal.js |
73
83
  | vendor/assets/javascripts/bootstrap-popover.js |
74
- | vendor/assets/javascripts/bootstrap-scrollspy.js |
75
84
  | vendor/assets/javascripts/bootstrap-tab.js |
76
85
  | vendor/assets/javascripts/bootstrap-tooltip.js |
77
86
  | vendor/assets/javascripts/bootstrap-transition.js |
@@ -4,6 +4,8 @@ class Underoos::AssetsGenerator < Rails::Generators::Base
4
4
 
5
5
  def copy_underoos_js_assets
6
6
  copy_file 'app/assets/javascripts/underoos.js', 'app/assets/javascripts/underoos.js'
7
+ copy_file 'app/assets/javascripts/docs.js', 'app/assets/javascripts/docs.js'
8
+ copy_file 'app/assets/javascripts/styleguide.coffee', 'app/assets/javascripts/styleguide.coffee'
7
9
  end
8
10
 
9
11
  def copy_vendored_js_assets
@@ -13,7 +15,6 @@ class Underoos::AssetsGenerator < Rails::Generators::Base
13
15
  copy_file 'vendor/assets/javascripts/bootstrap-dropdown.js'
14
16
  copy_file 'vendor/assets/javascripts/bootstrap-modal.js'
15
17
  copy_file 'vendor/assets/javascripts/bootstrap-popover.js'
16
- copy_file 'vendor/assets/javascripts/bootstrap-scrollspy.js'
17
18
  copy_file 'vendor/assets/javascripts/bootstrap-tab.js'
18
19
  copy_file 'vendor/assets/javascripts/bootstrap-tooltip.js'
19
20
  copy_file 'vendor/assets/javascripts/bootstrap-transition.js'
@@ -21,13 +22,14 @@ class Underoos::AssetsGenerator < Rails::Generators::Base
21
22
  end
22
23
 
23
24
  def copy_undeross_stylesheets
25
+ copy_file 'app/assets/stylesheets/underoos-docs.sass'
24
26
  copy_file 'app/assets/stylesheets/underoos.sass'
25
27
  directory 'app/assets/stylesheets/base'
26
28
  directory 'app/assets/stylesheets/components'
27
29
  directory 'app/assets/stylesheets/layouts'
28
30
  directory 'app/assets/stylesheets/mixins'
29
31
  directory 'app/assets/stylesheets/polyfills'
30
- directory 'app/assets/stylesheets/themes'
32
+ directory 'app/assets/stylesheets/settings'
31
33
  end
32
34
 
33
35
  end
@@ -1,3 +1,3 @@
1
1
  module Underoos
2
- VERSION = "1.0.0"
2
+ VERSION = "1.1.0"
3
3
  end
@@ -0,0 +1,157 @@
1
+
2
+ <!doctype html>
3
+ <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
4
+ <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
5
+ <!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
6
+ <!--[if gt IE 8]><!--> <html lang="en"> <!--<![endif]-->
7
+ <head>
8
+ <meta http-equiv="content-type" content="text/html;charset=utf-8">
9
+ <title>underoos images</title>
10
+ <meta name="imagetoolbar" content="no" />
11
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
12
+ <meta name="apple-touch-fullscreen" content="YES" />
13
+ <meta name="apple-mobile-web-app-capable" content="YES" />
14
+ <meta name="apple-mobile-web-app-status-bar-style" content="black" />
15
+ <!--[if lt IE 9]>
16
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
17
+ <![endif]-->
18
+ <link rel="stylesheet" href="/assets/underoos.css" type="text/css">
19
+ <link rel="stylesheet" href="sherpa.css" type="text/css">
20
+ <link rel="stylesheet" href="/assets/underoos-docs.css" type="text/css">
21
+ </head>
22
+
23
+ <body id="images">
24
+ <aside class="sherpa-sidebar">
25
+ <nav>
26
+ <a class="sherpa-brand" href="/">underoos</a>
27
+ <ul class="sherpa-dox-nav sherpa-nav-list">
28
+ <li class="sherpa-nav-header">Documentation</li>
29
+ <li><a href='index.html'>Overview</a></li><li><a href='styles.html'>Styles</a></li><li><a href='images.html'>Images</a></li>
30
+ </ul>
31
+
32
+ <ul class="sherpa-anchor-nav sherpa-nav-list">
33
+ <li class='sherpa-nav-header'>Public</li><li><a href='#public-apple-touch-icon-114x114-precomposed'>apple touch icon 114x114 precomposed</a></li><li><a href='#public-apple-touch-icon-57x57-precomposed'>apple touch icon 57x57 precomposed</a></li><li><a href='#public-apple-touch-icon-72x72-precomposed'>apple touch icon 72x72 precomposed</a></li><li><a href='#public-apple-touch-icon-precomposed'>apple touch icon precomposed</a></li><li><a href='#public-apple-touch-icon'>apple touch icon</a></li><li><a href='#public-favicon'>favicon</a></li>
34
+ </ul>
35
+ </nav>
36
+ </aside>
37
+
38
+ <section class="sherpa-wrapper sherpa-container sherpa-clearfix">
39
+
40
+ <section class="sherpa-section sherpa-clearfix">
41
+ <h1 class="sherpa-page-heading">images</h1>
42
+ </section>
43
+
44
+
45
+ <section class="sherpa-section sherpa-clearfix" id="public-apple-touch-icon-114x114-precomposed">
46
+
47
+ <div class="sherpa-filepath sherpa-imagepath sherpa-clearfix">
48
+ <a href="https://github.com/modeset/underoos/blob/master/public/apple-touch-icon-114x114-precomposed.png" target="_blank">public/apple-touch-icon-114x114-precomposed.png</a>
49
+ </div>
50
+
51
+ <div class="sherpa-imageview sherpa-clearfix">
52
+ <p><img src="/apple-touch-icon-114x114-precomposed.png" alt="apple touch icon 114x114 precomposed" title="apple touch icon 114x114 precomposed"></p>
53
+
54
+ </div>
55
+
56
+ </section>
57
+
58
+
59
+ <section class="sherpa-section sherpa-clearfix" id="public-apple-touch-icon-57x57-precomposed">
60
+
61
+ <div class="sherpa-filepath sherpa-imagepath sherpa-clearfix">
62
+ <a href="https://github.com/modeset/underoos/blob/master/public/apple-touch-icon-57x57-precomposed.png" target="_blank">public/apple-touch-icon-57x57-precomposed.png</a>
63
+ </div>
64
+
65
+ <div class="sherpa-imageview sherpa-clearfix">
66
+ <p><img src="/apple-touch-icon-57x57-precomposed.png" alt="apple touch icon 57x57 precomposed" title="apple touch icon 57x57 precomposed"></p>
67
+
68
+ </div>
69
+
70
+ </section>
71
+
72
+
73
+ <section class="sherpa-section sherpa-clearfix" id="public-apple-touch-icon-72x72-precomposed">
74
+
75
+ <div class="sherpa-filepath sherpa-imagepath sherpa-clearfix">
76
+ <a href="https://github.com/modeset/underoos/blob/master/public/apple-touch-icon-72x72-precomposed.png" target="_blank">public/apple-touch-icon-72x72-precomposed.png</a>
77
+ </div>
78
+
79
+ <div class="sherpa-imageview sherpa-clearfix">
80
+ <p><img src="/apple-touch-icon-72x72-precomposed.png" alt="apple touch icon 72x72 precomposed" title="apple touch icon 72x72 precomposed"></p>
81
+
82
+ </div>
83
+
84
+ </section>
85
+
86
+
87
+ <section class="sherpa-section sherpa-clearfix" id="public-apple-touch-icon-precomposed">
88
+
89
+ <div class="sherpa-filepath sherpa-imagepath sherpa-clearfix">
90
+ <a href="https://github.com/modeset/underoos/blob/master/public/apple-touch-icon-precomposed.png" target="_blank">public/apple-touch-icon-precomposed.png</a>
91
+ </div>
92
+
93
+ <div class="sherpa-imageview sherpa-clearfix">
94
+ <p><img src="/apple-touch-icon-precomposed.png" alt="apple touch icon precomposed" title="apple touch icon precomposed"></p>
95
+
96
+ </div>
97
+
98
+ </section>
99
+
100
+
101
+ <section class="sherpa-section sherpa-clearfix" id="public-apple-touch-icon">
102
+
103
+ <div class="sherpa-filepath sherpa-imagepath sherpa-clearfix">
104
+ <a href="https://github.com/modeset/underoos/blob/master/public/apple-touch-icon.png" target="_blank">public/apple-touch-icon.png</a>
105
+ </div>
106
+
107
+ <div class="sherpa-imageview sherpa-clearfix">
108
+ <p><img src="/apple-touch-icon.png" alt="apple touch icon" title="apple touch icon"></p>
109
+
110
+ </div>
111
+
112
+ </section>
113
+
114
+
115
+ <section class="sherpa-section sherpa-clearfix" id="public-favicon">
116
+
117
+ <div class="sherpa-filepath sherpa-imagepath sherpa-clearfix">
118
+ <a href="https://github.com/modeset/underoos/blob/master/public/favicon.ico" target="_blank">public/favicon.ico</a>
119
+ </div>
120
+
121
+ <div class="sherpa-imageview sherpa-clearfix">
122
+ <p><img src="/favicon.ico" alt="favicon" title="favicon"></p>
123
+
124
+ </div>
125
+
126
+ </section>
127
+
128
+
129
+ </section>
130
+
131
+ <footer class="sherpa-footer sherpa-container sherpa-clearfix">
132
+ <p>&raquo; Hand crafted by <a href="http://www.modeset.com/">Mode Set</a> and <a href="https://raw.github.com/modeset/underoos/master/LICENSE">licensed MIT</a> style for your pleasure</p>
133
+ <p>&raquo; Fork and fix me at <a href="https://github.com/modeset/underoos/">Github</a></p>
134
+ <p>&raquo; See where it's headed on <a href="https://www.pivotaltracker.com/projects/485221">Pivotal Tracker</a></p>
135
+ <p>&raquo; Documentation generated by <a href="https://github.com/modeset/sherpa">sherpa</a></p>
136
+ </footer>
137
+
138
+ <section class="upgrade-notifications">
139
+ <a class="upgrade-close" data-dismiss="alert" href="#">×</a>
140
+ <section class="upgrade-notification">
141
+ <article class="lt-ie8-msg upgrade-container">
142
+ <p>
143
+ Please upgrade to the <a href="http://windows.microsoft.com/en-US/internet-explorer/downloads/ie-9/worldwide-languages">latest version of Internet Explorer</a> or use one of the following browsers:
144
+ <a href="http://www.google.com/chrome/">Google Chrome</a>, <a href="http://www.apple.com/safari/download/">Apple Safari</a>, or <a href="http://www.mozilla.org/en-US/firefox/new/">Mozilla Firefox</a>
145
+ </p>
146
+ </article>
147
+ <article class="no-js-msg upgrade-container">
148
+ <p>For full functionality of this site it is necessary to enable <a href="http://www.enable-javascript.com/" target="_blank">JavaScript</a>.</p>
149
+ </article>
150
+ </section>
151
+ </section>
152
+
153
+ <script src="/assets/underoos.js"></script>
154
+ <script src="/assets/docs.js"></script>
155
+ </body>
156
+ </html>
157
+
@@ -0,0 +1,149 @@
1
+
2
+ <!doctype html>
3
+ <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
4
+ <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
5
+ <!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
6
+ <!--[if gt IE 8]><!--> <html lang="en"> <!--<![endif]-->
7
+ <head>
8
+ <meta http-equiv="content-type" content="text/html;charset=utf-8">
9
+ <title>underoos overview</title>
10
+ <meta name="imagetoolbar" content="no" />
11
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
12
+ <meta name="apple-touch-fullscreen" content="YES" />
13
+ <meta name="apple-mobile-web-app-capable" content="YES" />
14
+ <meta name="apple-mobile-web-app-status-bar-style" content="black" />
15
+ <!--[if lt IE 9]>
16
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
17
+ <![endif]-->
18
+ <link rel="stylesheet" href="/assets/underoos.css" type="text/css">
19
+ <link rel="stylesheet" href="sherpa.css" type="text/css">
20
+ <link rel="stylesheet" href="/assets/underoos-docs.css" type="text/css">
21
+ </head>
22
+
23
+ <body id="overview">
24
+ <aside class="sherpa-sidebar">
25
+ <nav>
26
+ <a class="sherpa-brand" href="/">underoos</a>
27
+ <ul class="sherpa-dox-nav sherpa-nav-list">
28
+ <li class="sherpa-nav-header">Documentation</li>
29
+ <li><a href='index.html'>Overview</a></li><li><a href='styles.html'>Styles</a></li><li><a href='images.html'>Images</a></li>
30
+ </ul>
31
+
32
+ <ul class="sherpa-anchor-nav sherpa-nav-list">
33
+ <li class='sherpa-nav-header'>.</li><li><a href='#readme'>Readme</a></li>
34
+ </ul>
35
+ </nav>
36
+ </aside>
37
+
38
+ <section class="sherpa-wrapper sherpa-container sherpa-clearfix">
39
+
40
+ <section class="sherpa-section sherpa-clearfix">
41
+ <h1 class="sherpa-page-heading">overview</h1>
42
+ </section>
43
+
44
+
45
+ <section class="sherpa-section sherpa-clearfix" id="readme">
46
+
47
+ <div class="sherpa-filepath sherpa-clearfix">
48
+ <a href="https://github.com/modeset/underoos/blob/master/README.md" target="_blank">README.md</a>
49
+ </div>
50
+
51
+ <div class="sherpa-description sherpa-clearfix">
52
+ <h2>underoos</h2>
53
+ <br /><p>Base styles, component and layout structures for a projects foundation.</p>
54
+ <br /><ol>
55
+ <li>Crafted in <a href="http://sass-lang.com/">Sass</a> - the actual <code>.sass</code> version</li>
56
+ <li>Tuned for responsiveness with <code>ems</code> and <code>percentages</code> instead of pixel measurements</li>
57
+ <li>Structured, consistent markup allowing a common language between front and back end development teams</li>
58
+ <li>Minimal styles for quick prototypes, and allowing development teams to move forward while still in design phase</li>
59
+ <li>Built to work with <a href="http://compass-style.org/">Compass</a> or <a href="http://thoughtbot.com/bourbon/">Bourbon</a> out of the box (though not a requirement by any means)</li>
60
+ </ol>
61
+ <br /><p>Underoos is meant as the starting point for an application. All of the <code>.sass</code> files are meant to be tweaked to the design, the important part is maintaining the structure of the markup as close as possible. This allows back end developers, front end developers and design teams to work simultaneously across an application. Underoos is the fancy stuff under the pants.</p>
62
+ <br /><p>For more details around Underoos and how it works, take a look at the <a href="http://underoos.modeset.com/docs/style.html">interactive docs</a>.</p>
63
+ <br /><p>Underoos is still under continuous development. It&#39;s stable, but is subject to some changes.</p>
64
+ <br /><h3>Browser support</h3>
65
+ <br /><ul>
66
+ <li>Modern browsers (Chrome, Safari, Firefox, Internet Explorer 9+)</li>
67
+ <li>Mobile/Tablet browsers (The Webkits)</li>
68
+ <li>Internet Explorer 8</li>
69
+ <li>Internet Explorer 7 (This needs to be enabled)</li>
70
+ </ul>
71
+ <br /><h3>Requirements</h3>
72
+ <br /><ul>
73
+ <li>Sass 3.1+ (files can easily be converted to <code>scss</code> by using the <code>sass-convert</code> tool)</li>
74
+ </ul>
75
+ <br /><h3>Installation</h3>
76
+ <br /><p>Within a Rails environment:</p>
77
+ <br /><p>Include underoos in your Gemfile</p>
78
+ <br /><pre><code>gem &#39;underoos&#39;
79
+ </code></pre>
80
+ <br /><p>Then run the generator</p>
81
+ <br /><pre><code>rails g underoos:assets
82
+ </code></pre>
83
+ <br /><p>Currently in other environments, it&#39;s a manual operation, but it&#39;s on our short list to automate this.</p>
84
+ <br /><ol>
85
+ <li>Clone or download the repository</li>
86
+ <li>Copy over the <code>.sass</code> files from within <code>underoos/app/assets/stylesheets/</code></li>
87
+ <li>Copy over the <code>javascripts</code> files from within <code>underoos/app/assets/javascripts/</code></li>
88
+ <li>Copy over the <code>javascripts</code> files from within <code>underoos/vendor/assets/javascripts/</code></li>
89
+ <li>Optionally copy over the <code>./script/javascripts</code> for pulling down the latest vendor javascripts</li>
90
+ </ol>
91
+ <br /><p>We know this sort of sucks ATM, but we&#39;ll get something better in place, promise.</p>
92
+ <br /><h3>What&#39;s with all the comments?</h3>
93
+ <br /><p>Underoos utilizes <a href="https://github.com/modeset/sherpa">sherpa</a> for documentation generation. This means the comments actually generate a <a href="http://underoos.modeset.com/docs/style.html">living styleguide</a>. As long as the structure doesn&#39;t change, the styleguide will be updated as you change style configurations. This allows documentation to be portable across applications. If you&#39;re like us, you hate documenting, so creating an automated task is a bonus all around. We will most likely move the inline documentation to external files in the very near future. Stay tuned.</p>
94
+ <br /><p>See the <a href="https://github.com/modeset/sherpa">sherpa</a> project for more details. </p>
95
+ <br /><h3>Inspirations</h3>
96
+ <br /><p>Underoos is heavily inspired by the fabulous <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap</a> library. In fact, we are using most of the JavaScript files contained within Bootstrap. We literally built underoos and it&#39;s documentation on the backs of giants. Let us give credit where credit is due. There are some key differences between underoos and bootstrap, so don&#39;t think of it as a pure clone.</p>
97
+ <br /><p>If you don&#39;t mind dealing with the <a href="http://lesscss.org/">less library</a>, you should be using Twitter&#39;s Bootstrap.</p>
98
+ <br /><h3>Road Map</h3>
99
+ <br /><p>Feature updates are currently being run through a <a href="https://www.pivotaltracker.com/projects/485221">Pivotal Tracker project</a>.</p>
100
+ <br /><h3>Contributing</h3>
101
+ <br /><p>We are happy to take pull requests and bug fixes, but please follow these simple rules.</p>
102
+ <br /><ol>
103
+ <li>Needs to pass in all supported browsers (ie7 doesn&#39;t necessarily need to be perfect!)</li>
104
+ <li>Documentation needs to reflect changes or additions</li>
105
+ </ol>
106
+ <br /><p>Feel free to check in with us before working on anything just to make sure we haven&#39;t started down the path already.</p>
107
+ <br /><p>To work with the repository, clone and run the following:</p>
108
+ <br /><pre><code>bundle
109
+ rake sherpa:html
110
+ </code></pre>
111
+ <br /><p>Anytime you alter documentation, you&#39;ll need to run <code>rake sherpa:html</code> to regenerate it. If you are only tweaking styles, there is no need to rerun this command, just hit refresh.</p>
112
+ <br /><h3>Licensing</h3>
113
+ <br /><p>Underoos is <a href="https://raw.github.com/modeset/underoos/master/LICENSE">MIT licensed</a>, so do what you want with these files. We built them for us, but hopefully this makes somebody&#39;s life easier too. If you use underoos in a project, like us on Facebook... just kidding, don&#39;t do that, that is just lame. Seriously though, let us know how it goes.</p>
114
+
115
+ </div>
116
+
117
+
118
+ </section>
119
+
120
+
121
+ </section>
122
+
123
+ <footer class="sherpa-footer sherpa-container sherpa-clearfix">
124
+ <p>&raquo; Hand crafted by <a href="http://www.modeset.com/">Mode Set</a> and <a href="https://raw.github.com/modeset/underoos/master/LICENSE">licensed MIT</a> style for your pleasure</p>
125
+ <p>&raquo; Fork and fix me at <a href="https://github.com/modeset/underoos/">Github</a></p>
126
+ <p>&raquo; See where it's headed on <a href="https://www.pivotaltracker.com/projects/485221">Pivotal Tracker</a></p>
127
+ <p>&raquo; Documentation generated by <a href="https://github.com/modeset/sherpa">sherpa</a></p>
128
+ </footer>
129
+
130
+ <section class="upgrade-notifications">
131
+ <a class="upgrade-close" data-dismiss="alert" href="#">×</a>
132
+ <section class="upgrade-notification">
133
+ <article class="lt-ie8-msg upgrade-container">
134
+ <p>
135
+ Please upgrade to the <a href="http://windows.microsoft.com/en-US/internet-explorer/downloads/ie-9/worldwide-languages">latest version of Internet Explorer</a> or use one of the following browsers:
136
+ <a href="http://www.google.com/chrome/">Google Chrome</a>, <a href="http://www.apple.com/safari/download/">Apple Safari</a>, or <a href="http://www.mozilla.org/en-US/firefox/new/">Mozilla Firefox</a>
137
+ </p>
138
+ </article>
139
+ <article class="no-js-msg upgrade-container">
140
+ <p>For full functionality of this site it is necessary to enable <a href="http://www.enable-javascript.com/" target="_blank">JavaScript</a>.</p>
141
+ </article>
142
+ </section>
143
+ </section>
144
+
145
+ <script src="/assets/underoos.js"></script>
146
+ <script src="/assets/docs.js"></script>
147
+ </body>
148
+ </html>
149
+
@@ -0,0 +1,306 @@
1
+
2
+ /*~
3
+ sherpa.css
4
+ */
5
+
6
+
7
+ /* Helpers */
8
+ .sherpa-clearfix {
9
+ *zoom: 1;
10
+ }
11
+ .sherpa-clearfix:before,
12
+ .sherpa-clearfix:after {
13
+ content: "";
14
+ display: table;
15
+ }
16
+ .sherpa-clearfix:after {
17
+ clear: both;
18
+ }
19
+
20
+ /* Aside Navigation */
21
+ .sherpa-sidebar {
22
+ background-color: #fafafa;
23
+ border-right: 1px solid #ccc;
24
+ font-family: "HelveticaNeue", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
25
+ font-size: 14px;
26
+ font-size: 0.875rem;
27
+ line-height: 1.2;
28
+ overflow-x: hidden;
29
+ overflow-y: auto;
30
+ -webkit-overflow-scrolling: touch;
31
+ position: fixed;
32
+ top: 0;
33
+ left: 0;
34
+ bottom: 0;
35
+ width: 20%;
36
+ }
37
+
38
+ .sherpa-sidebar a,
39
+ .sherpa-sidebar a:hover {
40
+ text-decoration: none;
41
+ }
42
+
43
+ .sherpa-brand {
44
+ color: #ccc !important;
45
+ display: block;
46
+ font-weight: bold;
47
+ text-shadow: 0 1px 0 white;
48
+ padding: 1em 0.5em;
49
+ }
50
+
51
+ .sherpa-nav-list {
52
+ list-style: none;
53
+ }
54
+ .sherpa-nav-list > li > a {
55
+ border-left: 3px solid transparent;
56
+ color: #777;
57
+ display: block;
58
+ padding: 0.3em 0.75em;
59
+ }
60
+ .sherpa-nav-list > li > a:hover {
61
+ background-color: #f3f3f3;
62
+ color: #555;
63
+ }
64
+ .sherpa-nav-list > li > a:active,
65
+ .sherpa-nav-list .active > a,
66
+ .sherpa-nav-list .active > a:hover {
67
+ background-color: #eee;
68
+ border-left-color: #b22222;
69
+ color: #333;
70
+ cursor: default;
71
+ }
72
+ .sherpa-nav-list .sherpa-subnav {
73
+ text-indent: 0.5em;
74
+ margin-top: -0.3em;
75
+ }
76
+ .sherpa-dox-nav > li > a:active,
77
+ .sherpa-dox-nav .active > a,
78
+ .sherpa-dox-nav .active > a:hover {
79
+ border-left-color: #268bd2;
80
+ }
81
+
82
+ .sherpa-nav-header {
83
+ background-color: #e5e5e5;
84
+ border-top: 1px solid #ccc;
85
+ border-bottom: 1px solid #ccc;
86
+ color: #777;
87
+ font-weight: bold;
88
+ padding: 0.3em 0.5em;
89
+ text-shadow: 0 1px 0 white;
90
+ }
91
+ .sherpa-dox-nav .sherpa-nav-header {
92
+ background-color: #d5d5d5;
93
+ border-top: 1px solid #bbb;
94
+ }
95
+
96
+ .sherpa-dox-nav + .sherpa-anchor-nav {
97
+ margin-top: 2em;
98
+ }
99
+ .sherpa-anchor-nav li + .sherpa-nav-header {
100
+ margin-top: 1em;
101
+ }
102
+
103
+ .sherpa-page-heading {
104
+ font-size: 48px;
105
+ font-size: 3rem;
106
+ text-transform: capitalize;
107
+ border-bottom: 1px solid #aaa;
108
+ }
109
+
110
+ /* Section Containers */
111
+ .sherpa-container {
112
+ -webkit-box-sizing: border-box;
113
+ -moz-box-sizing: border-box;
114
+ box-sizing: border-box;
115
+ margin-left: 20%;
116
+ margin-right: 10%;
117
+ }
118
+
119
+ .sherpa-section {
120
+ padding: 0.5em 0;
121
+ margin: 0.5em 0 0.5em 2%;
122
+ }
123
+ .sherpa-section + .sherpa-section {
124
+ margin-top: 2em;
125
+ }
126
+
127
+ .sherpa-filepath {
128
+ float: right;
129
+ font-family: "HelveticaNeue", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
130
+ font-size: 85%;
131
+ font-weight: bold;
132
+ margin-top: 1.6em;
133
+ }
134
+ .sherpa-filepath a,
135
+ .sherpa-filepath a:visited,
136
+ .sherpa-filepath a:hover,
137
+ .sherpa-filepath a:active {
138
+ color: #aaa;
139
+ text-decoration: none;
140
+ }
141
+ .sherpa-filepath a:hover,
142
+ .sherpa-filepath a:active {
143
+ color: #999;
144
+ }
145
+ .sherpa-filepath.sherpa-imagepath {
146
+ float: none;
147
+ margin-bottom: 0.5em;
148
+ margin-left: 1em;
149
+ }
150
+
151
+ .sherpa-overview,
152
+ .sherpa-imageview {
153
+ -webkit-box-sizing: border-box;
154
+ -moz-box-sizing: border-box;
155
+ box-sizing: border-box;
156
+ border: 1px solid #ccc;
157
+ border-radius: 0.4em;
158
+ margin-bottom: 1.25em;
159
+ padding: 2em;
160
+ }
161
+ .sherpa-overview {
162
+ background-color: #eaeaea;
163
+ }
164
+
165
+ .sherpa-summary > h2 {
166
+ border-bottom: 1px solid #aaa;
167
+ line-height: 1.2;
168
+ margin-bottom: 0;
169
+ }
170
+
171
+ .sherpa-summary > table thead {
172
+ background-color: #e1e1e1;
173
+ }
174
+ .sherpa-summary > table tr {
175
+ border: 1px solid #ccc;
176
+ }
177
+ .sherpa-summary > table tbody tr:nth-child(even) {
178
+ background-color: #eee;
179
+ }
180
+
181
+ .sherpa-description > h4 {
182
+ margin-bottom: 0;
183
+ line-height: 1.5;
184
+ }
185
+ .sherpa-description > h4 + br {
186
+ display: none;
187
+ }
188
+ .sherpa-summary,
189
+ .sherpa-description {
190
+ margin-bottom: 2em;
191
+ }
192
+
193
+ .sherpa-notes + .sherpa-notes {
194
+ margin-top: -3.5em;
195
+ }
196
+ .sherpa-notes > h4 {
197
+ display: none;
198
+ }
199
+ .sherpa-notes ul {
200
+ list-style: none;
201
+ }
202
+ .sherpa-notes li {
203
+ background-color: #cee6f6;
204
+ border: 1px solid #78b9e6;
205
+ border-radius: 0.4em;
206
+ color: #268bd2;
207
+ position: relative;
208
+ padding: 0.75em;
209
+ margin: 1em 0;
210
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
211
+ }
212
+ .sherpa-notes.sherpa-warnings li {
213
+ background-color: #ffe9a6;
214
+ border-color: #ffd040;
215
+ color: #c09100;
216
+ }
217
+ .sherpa-notes.sherpa-alerts li {
218
+ background-color: #f0b0b0;
219
+ border-color: #e05a5a;
220
+ color: #b22222;
221
+ }
222
+ .sherpa-notes li a {
223
+ text-decoration: underline;
224
+ }
225
+
226
+ .sherpa-showcase {
227
+ -webkit-box-sizing: border-box;
228
+ -moz-box-sizing: border-box;
229
+ box-sizing: border-box;
230
+ border: 1px solid #ccc;
231
+ border-radius: 0.4em;
232
+ background-color: transparent;
233
+ margin-bottom: 1.25em;
234
+ padding: 2em;
235
+ }
236
+ .sherpa-footer {
237
+ border-top: 1px solid #aaa;
238
+ font-size: 85%;
239
+ margin-left: 21%;
240
+ padding: 2em 0;
241
+ }
242
+
243
+ .sherpa-hidden {
244
+ display: none;
245
+ }
246
+
247
+ .sherpa-togglable {
248
+ border-radius: 0.4em;
249
+ cursor: pointer;
250
+ padding: 0 0.5em 0 40px;
251
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAPCAYAAAD6Ud/mAAACJUlEQVR42sVUO4saURT2B2xhOb4HHygquorYKD5R8f2IgnZqYZNmFSEgCEKwdUCwsNoyZWAJGIUQFsEtUoisYDlIii22mA1bbLHF2XuGXAizwk4RkuIr5t7vnO+c75y5CgD4J/j/QiqVitVoNJen7nQ63YXRaASDwfCZniGXYRilbCEkkwQju90OTqcTTgWFQiE+EAjAZDK5omfIJTEPWMSbQoTUtNlsD36/HxKJBITD4VdCJpOJJUKQSqXgcDi8+0Mc4vE4+Hw+sFgsPOkw8koID81m89br9UIsFoN8Pg+NRuN5Op3yUqFoNDrEIvr9/j0AnNHz4XB4Vy6XIZvNigW63W4g9n7HEYhCLMteulwuwIoymQzU6/Xn+XzOC4LwlRCaUiFSCI/dzGazK8ndh/1+/6PX6wmlUgnS6TSgvQ6HA/R6/YUCW8VAvGy1Wk+73e76t8CZHNskMBNwq9XqFh0pFoviCDweDyi63e59pVKBarUKuVwOgsHgL6vVOlKr1Uq5tlFotVol6WBEeI+FQgFqtRqgnYPB4A4JH7GCdrv9hF1hIlwGXApcDjm2SRcpmUyKAphzuVzeoq2UGCT4hLPBGWFnJKk4ULm2IRdjMJbOGXNi7lP/UZPn+W/j8VjcoEgkAnJtQy46wnHcT7pIb70MDLa62Wy2nU5HkGMbArnH4/EGAN7TQuS+decEHP1eLBZf1uv1ltp2Ashl/sajeo6QVCsbL4u35XfiltG+AAAAAElFTkSuQmCC);
252
+ background-repeat: no-repeat;
253
+ background-position: 8px 8px;
254
+ }
255
+ .sherpa-togglable:hover {
256
+ color: #268bd2;
257
+ background-color: #f3f3f3;
258
+ }
259
+
260
+ .sherpa-swatch {
261
+ background-color: #268bd2;
262
+ border-radius: 0.4em;
263
+ display: inline-block;
264
+ vertical-align: middle;
265
+ width: 30px;
266
+ height: 20px;
267
+ }
268
+
269
+ /* Break down sizing for mobile */
270
+ @media (max-width: 480px) {
271
+ .sherpa-sidebar {
272
+ background-color: #e5e5e5;
273
+ border-bottom: 1px solid #ccc;
274
+ border-right: none;
275
+ position: static;
276
+ width: 100%;
277
+ }
278
+ .sherpa-nav-header,
279
+ .sherpa-anchor-nav {
280
+ display: none;
281
+ }
282
+ .sherpa-dox-nav {
283
+ margin: 1em 2%;
284
+ }
285
+ .sherpa-dox-nav > li {
286
+ float: left;
287
+ }
288
+ .sherpa-brand,
289
+ .sherpa-dox-nav > li > a {
290
+ padding: 0.3em 0.5em;
291
+ }
292
+ .sherpa-brand {
293
+ float: right;
294
+ color: #999 !important;
295
+ }
296
+ .sherpa-dox-nav > li > a {
297
+ border-radius: 0.25em 0.25em 0 0;
298
+ font-weight: bold;
299
+ border: 0;
300
+ }
301
+ .sherpa-container {
302
+ margin-left: 2%;
303
+ margin-right: 2%;
304
+ }
305
+ }
306
+