staple 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +8 -0
  3. data/Gemfile +13 -0
  4. data/LICENSE.md +23 -0
  5. data/README.md +51 -0
  6. data/Rakefile +0 -0
  7. data/config.rb +24 -0
  8. data/lib/snippet_helpers.rb +69 -0
  9. data/lib/staple/import_generator.rb +50 -0
  10. data/lib/staple/list_generator.rb +22 -0
  11. data/lib/staple.rb +2 -0
  12. data/source/CNAME +1 -0
  13. data/source/_accordion.html.erb +24 -0
  14. data/source/_accordion_tabs.html.erb +26 -0
  15. data/source/_accordion_tabs_minimal.html.erb +26 -0
  16. data/source/_badges.html.erb +7 -0
  17. data/source/_breadcrumbs.html.erb +7 -0
  18. data/source/_browser.html.erb +29 -0
  19. data/source/_button_group.html.erb +18 -0
  20. data/source/_cards.html.erb +59 -0
  21. data/source/_centered_navigation.html.erb +38 -0
  22. data/source/_code.html.erb +10 -0
  23. data/source/_comment.html.erb +21 -0
  24. data/source/_device.html.erb +10 -0
  25. data/source/_dropdown.html.erb +12 -0
  26. data/source/_expander.html.erb +6 -0
  27. data/source/_flashes.html.erb +15 -0
  28. data/source/_footer.html.erb +28 -0
  29. data/source/_footer_2.html.erb +33 -0
  30. data/source/_grid_items.html.erb +37 -0
  31. data/source/_grid_items_lines.html.erb +44 -0
  32. data/source/_hero.html.erb +11 -0
  33. data/source/_hover_tile_animation.html.erb +11 -0
  34. data/source/_icon_bullet_points.html.erb +30 -0
  35. data/source/_image_gradient_dynamic.html.erb +7 -0
  36. data/source/_intro_text.html.erb +6 -0
  37. data/source/_label_alerts.html.erb +5 -0
  38. data/source/_modal.html.erb +14 -0
  39. data/source/_navigation.html.erb +44 -0
  40. data/source/_pagination.html.erb +17 -0
  41. data/source/_progress_bar.html.erb +3 -0
  42. data/source/_progress_bar_indication.html.erb +5 -0
  43. data/source/_search_bar.html.erb +8 -0
  44. data/source/_search_tools.html.erb +58 -0
  45. data/source/_side_image.html.erb +10 -0
  46. data/source/_sliding_menu.html.erb +13 -0
  47. data/source/_snippet.html.erb +4 -0
  48. data/source/_switch.html.erb +4 -0
  49. data/source/_tables.html.erb +31 -0
  50. data/source/_tables_minimal.html.erb +31 -0
  51. data/source/_texture-legend.html.erb +24 -0
  52. data/source/_textures.html.erb +4 -0
  53. data/source/_tooltip.html.erb +6 -0
  54. data/source/_type_system_geometric.html.erb +18 -0
  55. data/source/_type_system_rounded.html.erb +18 -0
  56. data/source/_type_system_sans.html.erb +18 -0
  57. data/source/_type_system_serif.html.erb +19 -0
  58. data/source/_type_system_slab.html.erb +18 -0
  59. data/source/_type_system_traditional.html.erb +18 -0
  60. data/source/_vertical_tabs.html.erb +30 -0
  61. data/source/_video.html.erb +5 -0
  62. data/source/components.html.erb +174 -0
  63. data/source/index.html.erb +162 -0
  64. data/source/javascripts/all.js +11 -0
  65. data/source/javascripts/jquery.erToc.js +477 -0
  66. data/source/javascripts/jquery.glide.js +941 -0
  67. data/source/javascripts/staple/accordion.js +5 -0
  68. data/source/javascripts/staple/accordion_tabs.js +19 -0
  69. data/source/javascripts/staple/accordion_tabs_minimal.js +19 -0
  70. data/source/javascripts/staple/centered_navigation.js +14 -0
  71. data/source/javascripts/staple/dropdown.js +9 -0
  72. data/source/javascripts/staple/expander.js +53 -0
  73. data/source/javascripts/staple/navigation.js +23 -0
  74. data/source/javascripts/staple/search_tools.js +110 -0
  75. data/source/javascripts/staple/sliding_menu.js +13 -0
  76. data/source/javascripts/staple/vertical_tabs.js +32 -0
  77. data/source/layouts/layout.erb +1 -0
  78. data/source/refills-hero.html.erb +7 -0
  79. data/source/refills-menu.html.erb +5 -0
  80. data/source/refills-page-scripts.html.erb +66 -0
  81. data/source/stylesheets/_bourbon-nav.scss +86 -0
  82. data/source/stylesheets/_normalize.scss +425 -0
  83. data/source/stylesheets/_refills-nav.scss +102 -0
  84. data/source/stylesheets/_refills-styles.scss +543 -0
  85. data/source/stylesheets/all.scss +61 -0
  86. data/source/stylesheets/staple/_accordion-tabs-minimal.scss +60 -0
  87. data/source/stylesheets/staple/_accordion-tabs.scss +88 -0
  88. data/source/stylesheets/staple/_accordion.scss +55 -0
  89. data/source/stylesheets/staple/_badges.scss +44 -0
  90. data/source/stylesheets/staple/_breadcrumbs.scss +84 -0
  91. data/source/stylesheets/staple/_browser.scss +141 -0
  92. data/source/stylesheets/staple/_button-group.scss +81 -0
  93. data/source/stylesheets/staple/_cards.scss +132 -0
  94. data/source/stylesheets/staple/_centered-navigation.scss +251 -0
  95. data/source/stylesheets/staple/_comment.scss +60 -0
  96. data/source/stylesheets/staple/_device.scss +83 -0
  97. data/source/stylesheets/staple/_dropdown.scss +127 -0
  98. data/source/stylesheets/staple/_expander.scss +30 -0
  99. data/source/stylesheets/staple/_flashes.scss +29 -0
  100. data/source/stylesheets/staple/_footer-2.scss +117 -0
  101. data/source/stylesheets/staple/_footer.scss +76 -0
  102. data/source/stylesheets/staple/_grid-items-lines.scss +86 -0
  103. data/source/stylesheets/staple/_grid-items.scss +97 -0
  104. data/source/stylesheets/staple/_hero.scss +54 -0
  105. data/source/stylesheets/staple/_hover-tile-animation.scss +52 -0
  106. data/source/stylesheets/staple/_icon-bullet-points.scss +63 -0
  107. data/source/stylesheets/staple/_image-gradient-dynamic.scss +59 -0
  108. data/source/stylesheets/staple/_intro-text.scss +67 -0
  109. data/source/stylesheets/staple/_label-alerts.scss +11 -0
  110. data/source/stylesheets/staple/_modal.scss +147 -0
  111. data/source/stylesheets/staple/_navigation.scss +329 -0
  112. data/source/stylesheets/staple/_pagination.scss +51 -0
  113. data/source/stylesheets/staple/_progress-bar-indication.scss +39 -0
  114. data/source/stylesheets/staple/_progress-bar.scss +83 -0
  115. data/source/stylesheets/staple/_search-bar.scss +40 -0
  116. data/source/stylesheets/staple/_search-tools.scss +67 -0
  117. data/source/stylesheets/staple/_side-image.scss +59 -0
  118. data/source/stylesheets/staple/_sliding-menu.scss +63 -0
  119. data/source/stylesheets/staple/_switch.scss +77 -0
  120. data/source/stylesheets/staple/_tables-minimal.scss +60 -0
  121. data/source/stylesheets/staple/_tables.scss +88 -0
  122. data/source/stylesheets/staple/_texture-legend.scss +182 -0
  123. data/source/stylesheets/staple/_textures.scss +119 -0
  124. data/source/stylesheets/staple/_tooltip.scss +57 -0
  125. data/source/stylesheets/staple/_type-system-geometric.scss +103 -0
  126. data/source/stylesheets/staple/_type-system-rounded.scss +107 -0
  127. data/source/stylesheets/staple/_type-system-sans.scss +110 -0
  128. data/source/stylesheets/staple/_type-system-serif.scss +111 -0
  129. data/source/stylesheets/staple/_type-system-slab.scss +107 -0
  130. data/source/stylesheets/staple/_type-system-traditional.scss +114 -0
  131. data/source/stylesheets/staple/_vertical-tabs.scss +105 -0
  132. data/source/stylesheets/staple/_video.scss +21 -0
  133. data/source/type-systems.html.erb +67 -0
  134. data/source/vendor/javascripts/ZeroClipboard.min.js +9 -0
  135. data/source/vendor/javascripts/fixedsticky.js +185 -0
  136. data/source/vendor/javascripts/prism.js +13 -0
  137. data/source/vendor/javascripts/smooth-scroll.js +125 -0
  138. data/source/vendor/stylesheets/fixedsticky.css +22 -0
  139. data/source/vendor/stylesheets/prism.css +126 -0
  140. data/staple.gemspec +19 -0
  141. metadata +184 -0
@@ -0,0 +1,126 @@
1
+ /**
2
+ * prism.js default theme for JavaScript, CSS and HTML
3
+ * Based on dabblet (http://dabblet.com)
4
+ * @author Lea Verou
5
+ */
6
+
7
+ code[class*="language-"],
8
+ pre[class*="language-"] {
9
+ color: black;
10
+ text-shadow: 0 1px white;
11
+ font-family: Consolas, Monaco, 'Andale Mono', monospace;
12
+ direction: ltr;
13
+ text-align: left;
14
+ white-space: pre;
15
+ word-spacing: normal;
16
+ word-break: normal;
17
+
18
+
19
+ -moz-tab-size: 4;
20
+ -o-tab-size: 4;
21
+ tab-size: 4;
22
+
23
+ -webkit-hyphens: none;
24
+ -moz-hyphens: none;
25
+ -ms-hyphens: none;
26
+ hyphens: none;
27
+ }
28
+
29
+ pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
30
+ code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
31
+ text-shadow: none;
32
+ background: #b3d4fc;
33
+ }
34
+
35
+ pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
36
+ code[class*="language-"]::selection, code[class*="language-"] ::selection {
37
+ text-shadow: none;
38
+ background: #b3d4fc;
39
+ }
40
+
41
+ @media print {
42
+ code[class*="language-"],
43
+ pre[class*="language-"] {
44
+ text-shadow: none;
45
+ }
46
+ }
47
+
48
+ /* Code blocks */
49
+ pre[class*="language-"] {
50
+ padding: 1em;
51
+ margin: .5em 0;
52
+ overflow: auto;
53
+ }
54
+
55
+ :not(pre) > code[class*="language-"],
56
+ pre[class*="language-"] {
57
+ background: #f5f2f0;
58
+ }
59
+
60
+ /* Inline code */
61
+ :not(pre) > code[class*="language-"] {
62
+ padding: .1em;
63
+ border-radius: .3em;
64
+ }
65
+
66
+ .token.comment,
67
+ .token.prolog,
68
+ .token.doctype,
69
+ .token.cdata {
70
+ color: slategray;
71
+ }
72
+
73
+ .token.punctuation {
74
+ color: #999;
75
+ }
76
+
77
+ .namespace {
78
+ opacity: .7;
79
+ }
80
+
81
+ .token.property,
82
+ .token.tag,
83
+ .token.boolean,
84
+ .token.number,
85
+ .token.constant,
86
+ .token.symbol {
87
+ color: #905;
88
+ }
89
+
90
+ .token.selector,
91
+ .token.attr-name,
92
+ .token.string,
93
+ .token.builtin {
94
+ color: #690;
95
+ }
96
+
97
+ .token.operator,
98
+ .token.entity,
99
+ .token.url,
100
+ .language-css .token.string,
101
+ .style .token.string,
102
+ .token.variable {
103
+ color: #a67f59;
104
+ background: hsla(0,0%,100%,.5);
105
+ }
106
+
107
+ .token.atrule,
108
+ .token.attr-value,
109
+ .token.keyword {
110
+ color: #07a;
111
+ }
112
+
113
+
114
+ .token.regex,
115
+ .token.important {
116
+ color: #e90;
117
+ }
118
+
119
+ .token.important {
120
+ font-weight: bold;
121
+ }
122
+
123
+ .token.entity {
124
+ cursor: help;
125
+ }
126
+
data/staple.gemspec ADDED
@@ -0,0 +1,19 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "staple"
7
+ spec.version = "0.0.2"
8
+ spec.summary = "a high level ui generator (COMING SOON)"
9
+ spec.description = "Does not work yet. Coming Soon. Built on top of foundation. In the spirit of thoughtbot/refills"
10
+ spec.authors = ["Ryan Helsing"]
11
+ spec.email = ["ryan.helsing@centerian.com"]
12
+ spec.homepage = "https://github.com/rhelsing/staple"
13
+ spec.license = "MIT"
14
+
15
+ spec.files = `git ls-files`.split($/)
16
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
+ spec.require_paths = ["lib"]
19
+ end
metadata ADDED
@@ -0,0 +1,184 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: staple
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - Ryan Helsing
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-11-09 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Does not work yet. Coming Soon. Built on top of foundation. In the spirit
14
+ of thoughtbot/refills
15
+ email:
16
+ - ryan.helsing@centerian.com
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - ".gitignore"
22
+ - Gemfile
23
+ - LICENSE.md
24
+ - README.md
25
+ - Rakefile
26
+ - config.rb
27
+ - lib/snippet_helpers.rb
28
+ - lib/staple.rb
29
+ - lib/staple/import_generator.rb
30
+ - lib/staple/list_generator.rb
31
+ - source/CNAME
32
+ - source/_accordion.html.erb
33
+ - source/_accordion_tabs.html.erb
34
+ - source/_accordion_tabs_minimal.html.erb
35
+ - source/_badges.html.erb
36
+ - source/_breadcrumbs.html.erb
37
+ - source/_browser.html.erb
38
+ - source/_button_group.html.erb
39
+ - source/_cards.html.erb
40
+ - source/_centered_navigation.html.erb
41
+ - source/_code.html.erb
42
+ - source/_comment.html.erb
43
+ - source/_device.html.erb
44
+ - source/_dropdown.html.erb
45
+ - source/_expander.html.erb
46
+ - source/_flashes.html.erb
47
+ - source/_footer.html.erb
48
+ - source/_footer_2.html.erb
49
+ - source/_grid_items.html.erb
50
+ - source/_grid_items_lines.html.erb
51
+ - source/_hero.html.erb
52
+ - source/_hover_tile_animation.html.erb
53
+ - source/_icon_bullet_points.html.erb
54
+ - source/_image_gradient_dynamic.html.erb
55
+ - source/_intro_text.html.erb
56
+ - source/_label_alerts.html.erb
57
+ - source/_modal.html.erb
58
+ - source/_navigation.html.erb
59
+ - source/_pagination.html.erb
60
+ - source/_progress_bar.html.erb
61
+ - source/_progress_bar_indication.html.erb
62
+ - source/_search_bar.html.erb
63
+ - source/_search_tools.html.erb
64
+ - source/_side_image.html.erb
65
+ - source/_sliding_menu.html.erb
66
+ - source/_snippet.html.erb
67
+ - source/_switch.html.erb
68
+ - source/_tables.html.erb
69
+ - source/_tables_minimal.html.erb
70
+ - source/_texture-legend.html.erb
71
+ - source/_textures.html.erb
72
+ - source/_tooltip.html.erb
73
+ - source/_type_system_geometric.html.erb
74
+ - source/_type_system_rounded.html.erb
75
+ - source/_type_system_sans.html.erb
76
+ - source/_type_system_serif.html.erb
77
+ - source/_type_system_slab.html.erb
78
+ - source/_type_system_traditional.html.erb
79
+ - source/_vertical_tabs.html.erb
80
+ - source/_video.html.erb
81
+ - source/components.html.erb
82
+ - source/index.html.erb
83
+ - source/javascripts/all.js
84
+ - source/javascripts/jquery.erToc.js
85
+ - source/javascripts/jquery.glide.js
86
+ - source/javascripts/staple/accordion.js
87
+ - source/javascripts/staple/accordion_tabs.js
88
+ - source/javascripts/staple/accordion_tabs_minimal.js
89
+ - source/javascripts/staple/centered_navigation.js
90
+ - source/javascripts/staple/dropdown.js
91
+ - source/javascripts/staple/expander.js
92
+ - source/javascripts/staple/navigation.js
93
+ - source/javascripts/staple/search_tools.js
94
+ - source/javascripts/staple/sliding_menu.js
95
+ - source/javascripts/staple/vertical_tabs.js
96
+ - source/layouts/layout.erb
97
+ - source/refills-hero.html.erb
98
+ - source/refills-menu.html.erb
99
+ - source/refills-page-scripts.html.erb
100
+ - source/stylesheets/_bourbon-nav.scss
101
+ - source/stylesheets/_normalize.scss
102
+ - source/stylesheets/_refills-nav.scss
103
+ - source/stylesheets/_refills-styles.scss
104
+ - source/stylesheets/all.scss
105
+ - source/stylesheets/staple/_accordion-tabs-minimal.scss
106
+ - source/stylesheets/staple/_accordion-tabs.scss
107
+ - source/stylesheets/staple/_accordion.scss
108
+ - source/stylesheets/staple/_badges.scss
109
+ - source/stylesheets/staple/_breadcrumbs.scss
110
+ - source/stylesheets/staple/_browser.scss
111
+ - source/stylesheets/staple/_button-group.scss
112
+ - source/stylesheets/staple/_cards.scss
113
+ - source/stylesheets/staple/_centered-navigation.scss
114
+ - source/stylesheets/staple/_comment.scss
115
+ - source/stylesheets/staple/_device.scss
116
+ - source/stylesheets/staple/_dropdown.scss
117
+ - source/stylesheets/staple/_expander.scss
118
+ - source/stylesheets/staple/_flashes.scss
119
+ - source/stylesheets/staple/_footer-2.scss
120
+ - source/stylesheets/staple/_footer.scss
121
+ - source/stylesheets/staple/_grid-items-lines.scss
122
+ - source/stylesheets/staple/_grid-items.scss
123
+ - source/stylesheets/staple/_hero.scss
124
+ - source/stylesheets/staple/_hover-tile-animation.scss
125
+ - source/stylesheets/staple/_icon-bullet-points.scss
126
+ - source/stylesheets/staple/_image-gradient-dynamic.scss
127
+ - source/stylesheets/staple/_intro-text.scss
128
+ - source/stylesheets/staple/_label-alerts.scss
129
+ - source/stylesheets/staple/_modal.scss
130
+ - source/stylesheets/staple/_navigation.scss
131
+ - source/stylesheets/staple/_pagination.scss
132
+ - source/stylesheets/staple/_progress-bar-indication.scss
133
+ - source/stylesheets/staple/_progress-bar.scss
134
+ - source/stylesheets/staple/_search-bar.scss
135
+ - source/stylesheets/staple/_search-tools.scss
136
+ - source/stylesheets/staple/_side-image.scss
137
+ - source/stylesheets/staple/_sliding-menu.scss
138
+ - source/stylesheets/staple/_switch.scss
139
+ - source/stylesheets/staple/_tables-minimal.scss
140
+ - source/stylesheets/staple/_tables.scss
141
+ - source/stylesheets/staple/_texture-legend.scss
142
+ - source/stylesheets/staple/_textures.scss
143
+ - source/stylesheets/staple/_tooltip.scss
144
+ - source/stylesheets/staple/_type-system-geometric.scss
145
+ - source/stylesheets/staple/_type-system-rounded.scss
146
+ - source/stylesheets/staple/_type-system-sans.scss
147
+ - source/stylesheets/staple/_type-system-serif.scss
148
+ - source/stylesheets/staple/_type-system-slab.scss
149
+ - source/stylesheets/staple/_type-system-traditional.scss
150
+ - source/stylesheets/staple/_vertical-tabs.scss
151
+ - source/stylesheets/staple/_video.scss
152
+ - source/type-systems.html.erb
153
+ - source/vendor/javascripts/ZeroClipboard.min.js
154
+ - source/vendor/javascripts/fixedsticky.js
155
+ - source/vendor/javascripts/prism.js
156
+ - source/vendor/javascripts/smooth-scroll.js
157
+ - source/vendor/stylesheets/fixedsticky.css
158
+ - source/vendor/stylesheets/prism.css
159
+ - staple.gemspec
160
+ homepage: https://github.com/rhelsing/staple
161
+ licenses:
162
+ - MIT
163
+ metadata: {}
164
+ post_install_message:
165
+ rdoc_options: []
166
+ require_paths:
167
+ - lib
168
+ required_ruby_version: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: '0'
173
+ required_rubygems_version: !ruby/object:Gem::Requirement
174
+ requirements:
175
+ - - ">="
176
+ - !ruby/object:Gem::Version
177
+ version: '0'
178
+ requirements: []
179
+ rubyforge_project:
180
+ rubygems_version: 2.4.2
181
+ signing_key:
182
+ specification_version: 4
183
+ summary: a high level ui generator (COMING SOON)
184
+ test_files: []